/* ==========================================================
   CONTACT
========================================================== */

.contact-page {
    max-width: 900px;
    margin: 4rem auto;
}

.contact-header {
    margin-bottom: 2rem;
}

.contact-title {
    margin-bottom: .75rem;
}

.contact-description {
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ==========================================================
   CARD
========================================================== */

.contact-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
}

/* ==========================================================
   FORM
========================================================== */

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    animation: fadeUp .35s ease;
}

/* ==========================================================
   GRID
========================================================== */

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.full {
    grid-column: 1 / -1;
}

/* ==========================================================
   CAMPOS
========================================================== */

.form-group {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.form-group label {
    font-size: .95rem;
    font-weight: 600;
    color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: .9rem 1rem;
    font: inherit;
    color: var(--color-text);
    background: #fff;
    border: 1px solid #d9e2ec;
    border-radius: 10px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.form-group input,
.form-group select {
    height: 52px;
}

.form-group textarea {
    min-height: 200px;
    resize: vertical;
    line-height: 1.6;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: #b6c3d1;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
}

/* ==========================================================
   BOTÃO
========================================================== */

.contact-footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-top: .5rem;
}

.contact-footer button {
    min-width: 220px;
    height: 52px;
    padding: 0 2rem;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.contact-footer button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, .18);
}

.contact-footer button:disabled {
    opacity: .7;
    cursor: wait;
}

/* ==========================================================
   STATUS DO FORMULÁRIO
========================================================== */

.form-status {
    display: none;
    width: 100%;
    padding: .9rem 1rem;
    border-radius: 10px;
    font-size: .95rem;
    font-weight: 500;
}

.form-status.show {
    display: block;
}

.form-status.success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #10b981;
}

.form-status.error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

.form-status.loading {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #60a5fa;
}

/* ==========================================================
   SEGURANÇA
========================================================== */

.contact-security {
    font-size: .9rem;
    color: #64748b;
}

/* ==========================================================
   DIVISOR
========================================================== */

.contact-divider {
    margin: 3rem 0 2rem;
    border: none;
    border-top: 1px solid #e5e7eb;
}

/* ==========================================================
   OUTROS CANAIS
========================================================== */

.contact-info h2 {
    margin-bottom: 1rem;
}

.contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .9rem;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: .75rem;
    color: var(--color-text);
}

/* ==========================================================
   VALIDAÇÃO
========================================================== */

.required {
    color: #dc2626;
}

.errorlist {
    list-style: none;
    margin-top: .4rem;
    padding: 0;
    color: #dc2626;
    font-size: .875rem;
}

/* Campos inválidos */

.form-group input:invalid:not(:placeholder-shown),
.form-group select:invalid,
.form-group textarea:invalid:not(:placeholder-shown) {
    border-color: #ef4444;
}

/* ==========================================================
   RESPONSIVO
========================================================== */

@media (max-width: 768px) {

    .contact-card {
        padding: 2rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .full {
        grid-column: auto;
    }

    .contact-footer {
        align-items: stretch;
    }

    .contact-footer button {
        width: 100%;
        min-width: auto;
    }

    .contact-security {
        text-align: center;
    }

}

/* ==========================================================
   ANIMAÇÃO
========================================================== */

@keyframes fadeUp {

    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

/* ==================================================
HERO – CONTAINER PRINCIPAL (full-bleed)
================================================== */

.hero-full {
  position: relative;

  width: 100vw;

  height: 80vh;
  min-height: 480px;

  margin-left: 50%;
  transform: translateX(-50%);

  overflow: hidden;
}

/* ==================================================
PICTURE
================================================== */

.hero-full picture {
  display: block;
  width: 100%;
  height: 100%;
}

/* ==================================================
IMAGEM
================================================== */

.hero-full img {
  display: block;
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center top;
}

/* ==================================================
OVERLAY
================================================== */

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* ==================================================
DESKTOP
================================================== */

@media (min-width: 1024px) {
  .hero-full {
    height: 75vh;
    min-height: 600px;
    max-height: 900px;
  }

  .hero-full img {
    object-position: center;
  }
}

/* ==================================================
CONTEÚDO
================================================== */

.hero-content {
  position: absolute;
  top: 50%;
  left: 6%;
  transform: translateY(-50%);

  z-index: 3;

  max-width: 520px;
  padding: var(--space-xl) 2.5rem;

  background: rgba(2, 6, 23, 0.55);

  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  border-radius: var(--radius-lg);

  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);

  color: var(--color-bg);
}

/* ==================================================
MARCA
================================================== */

.hero-brand {
  display: flex;
  align-items: center;
  gap: 10px;

  margin-bottom: 20px;

  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  opacity: 0.9;
}

.hero-code {
  color: #9eff00;
  font-weight: var(--font-weight-bold);
}

.hero-brand-text {
  line-height: 1.2;
}

/* ==================================================
TÍTULO
================================================== */

.hero-title {
  font-size: 32px;
  line-height: 1.15;
  font-weight: var(--font-weight-bold);

  margin-bottom: var(--space-md);
}

.hero-title span {
  color: #9eff00;
}

/* ==================================================
SUBTÍTULO
================================================== */

.hero-subtitle {
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.9;
}

/* ==================================================
DESKTOP
================================================== */

@media (min-width: 1024px) {
  .hero-content {
    top: 25%;
    left: 10%;
    transform: none;
    max-width: 475px;
  }

  .hero-title {
    font-size: 48px;
  }

  .hero-subtitle {
    font-size: 18px;
  }
}

/* ==================================================
MOBILE PEQUENO
================================================== */

@media (max-width: 480px) {
  .hero-content {
    top: auto;
    bottom: 5%;
    left: 5%;
    right: 5%;

    transform: none;
    max-width: none;

    padding: var(--space-lg);
  }

  .hero-title {
    font-size: 28px;
  }
}

/* ==================================================
PERFORMANCE MOBILE
================================================== */

@media (max-width: 768px) {
  .hero-content {
    background: rgba(2, 6, 23, 0.7);
    backdrop-filter: blur(4px);
  }
}

/* =====================================================
   Cookie Banner (LGPD)
===================================================== */

.cookie-banner {
  position: fixed;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;

  max-width: 960px;
  width: calc(100% - 2rem);

  background-color: #0f172a;
  color: var(--color-bg);

  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);

  padding: var(--space-md) 1.25rem;

  transition:
    opacity var(--transition),
    transform var(--transition);
}

.cookie-banner.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(20px);
}

/* =====================================================
   Conteúdo
===================================================== */

.cookie-banner__content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md);
}

.cookie-banner__text {
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.4;
}

.cookie-banner__text a {
  color: #4ea1ff;
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: var(--space-sm);
}

/* =====================================================
   Botões
===================================================== */

.cookie-btn {
  border: none;
  border-radius: 6px;
  padding: 0.45rem 0.9rem;

  font-size: 0.85rem;
  cursor: pointer;
}

.cookie-btn--accept {
  background-color: #4ea1ff;
  color: #000;
}

.cookie-btn--decline {
  background-color: transparent;
  color: var(--color-bg);
  border: 1px solid #555;
}

/* =====================================================
   Mobile
===================================================== */

@media (max-width: 480px) {
  .cookie-banner__actions {
    width: 100%;
    justify-content: space-between;
  }

  .cookie-btn {
    flex: 1;
  }
}

@media (max-width: 640px) {
  .cookie-settings-btn {
    left: 50%;
    transform: translateX(calc(-50% + 1rem));
  }
}

/* =====================================================
   Botão flutuante
===================================================== */

.cookie-settings-btn {
  position: fixed;
  bottom: var(--space-lg);
  left: var(--space-lg);

  width: 48px;
  height: 48px;

  border-radius: var(--radius-full);
  border: none;

  background: transparent;
  color: #0f172a;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  z-index: 1000;
}

.cookie-settings-btn img {
  width: 50px;
  height: 50px;
  display: block;
}

@media (hover: hover) and (pointer: fine) {
  .cookie-settings-btn:hover {
    background-color: rgba(15, 23, 42, 0.9);
    color: var(--color-bg);
  }
}

.cookie-settings-btn:focus-visible {
  outline: 3px solid #0f172a;
  outline-offset: 3px;
}

/* =====================================================
   ABOUT PAGE — ISOLATED STYLES
===================================================== */

.about-page {
  max-width: 820px;
  margin: 0 auto;
  padding: var(--space-2xl) 1.25rem;
}

/* HERO */

.about-page__hero {
  text-align: center;
  padding-top: 3.5rem;
  margin-bottom: 4.5rem;
}

.about-page__avatar {
  width: 180px;
  height: 180px;

  margin-bottom: var(--space-lg);

  object-fit: cover;
  border-radius: var(--radius-full);

  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

.about-page__name {
  margin: 0.75rem 0 0.25rem;
  font-size: 2.4rem;
}

.about-page__role {
  color: #777;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* CONTENT */

.about-page__content h2 {
  margin-top: 2.5rem;
}

.about-page__content ul {
  margin-left: 1.2rem;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {
  .about-page {
    padding: 2.5rem 1.25rem;
  }

  .about-page__hero {
    padding-top: 2.5rem;
    margin-bottom: 3.5rem;
  }

  .about-page__avatar {
    width: 150px;
    height: 150px;
  }

  .about-page__name {
    font-size: 2.1rem;
  }
}

@media (max-width: 480px) {
  .about-page {
    padding: var(--space-xl) var(--space-md);
  }

  .about-page__hero {
    padding-top: var(--space-xl);
    margin-bottom: var(--space-2xl);
  }

  .about-page__avatar {
    width: 120px;
    height: 120px;
  }

  .about-page__name {
    font-size: 1.9rem;
  }

  .about-page__role,
  .about-page__content p,
  .about-page__content li {
    font-size: 0.95rem;
  }

  .about-page__content p,
  .about-page__content li {
    line-height: 1.65;
  }
}