/* =========================================================================
   PAGES.CSS — Estilos específicos de sobre.html e contato.html
   Reutiliza design tokens e utilitários do blog.css
   ========================================================================= */

/* =========================================================================
   VARIÁVEIS (espelhando blog.css — sem redeclarar :root)
   ========================================================================= */
:root {
  --color-navy:       #071E35;
  --color-navy-dark:  #051628;
  --color-navy-mid:   #0D2B49;
  --color-gold:       #B88934;
  --color-gold-light: #D6B56A;
  --color-offwhite:   #F8F7F3;
  --color-muted:      #8A9BB0;
  --color-border:     rgba(184, 137, 52, 0.18);
  --radius-card:      12px;
  --shadow-card:      0 4px 32px rgba(7,30,53,0.10);
  --transition:       0.3s cubic-bezier(.4,0,.2,1);
}

/* =========================================================================
   SOBRE — PAGE HERO (imagem de fundo com overlay)
   ========================================================================= */
.page-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-top: 80px; /* header offset */
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(7,30,53,0.45) 0%,
    rgba(5,22,40,0.82) 60%,
    rgba(5,22,40,0.96) 100%
  );
}

.page-hero-content {
  position: relative;
  z-index: 1;
  padding-top: 80px;
  padding-bottom: 64px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.page-hero-text .eyebrow {
  display: block;
  margin-bottom: 14px;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
}

.page-hero-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: #fff;
  line-height: 1.15;
  margin: 0 0 20px;
  max-width: 700px;
}

.page-hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  max-width: 560px;
  line-height: 1.7;
  margin: 0;
}

/* Stats bar */
.page-hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-gold-light);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
}

/* =========================================================================
   SOBRE — MANIFESTO
   ========================================================================= */
.section-manifesto {
  padding: 100px 0;
  background: var(--color-offwhite);
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.manifesto-text .eyebrow {
  display: block;
  margin-bottom: 16px;
}

.manifesto-title {
  font-size: clamp(1.7rem, 2.8vw, 2.5rem);
  color: var(--color-navy);
  line-height: 1.2;
  margin: 0 0 24px;
}

.manifesto-body {
  font-size: 1rem;
  color: #4A5568;
  line-height: 1.75;
  margin: 0 0 16px;
}

.manifesto-image-wrap {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.manifesto-image {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.manifesto-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(7,30,53,0.92);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 12px 20px;
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.manifesto-badge-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.06em;
}

.manifesto-badge-sub {
  font-size: 0.72rem;
  color: var(--color-gold-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* =========================================================================
   SOBRE — VALUES / PILARES
   ========================================================================= */
.section-values {
  padding: 100px 0;
  background: #fff;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}

.section-header .eyebrow {
  display: block;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  color: var(--color-navy);
  line-height: 1.2;
  margin: 0 0 16px;
}

.section-subtitle {
  font-size: 1rem;
  color: #4A5568;
  line-height: 1.7;
  margin: 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.value-card {
  background: var(--color-offwhite);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 40px 32px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: var(--color-gold);
}

.value-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-mid) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--color-gold-light);
}

.value-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0 0 12px;
  line-height: 1.3;
}

.value-desc {
  font-size: 0.92rem;
  color: #4A5568;
  line-height: 1.7;
  margin: 0;
}

/* =========================================================================
   SOBRE — TEAM
   ========================================================================= */
.section-team {
  padding: 100px 0;
  background: var(--color-offwhite);
}

.team-grid {
  display: flex;
  justify-content: center;
}

.team-card {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 56px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  max-width: 900px;
  width: 100%;
}

.team-photo-wrap {
  height: 100%;
  min-height: 420px;
}

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}

.team-info {
  padding: 48px 48px 48px 0;
  display: flex;
  flex-direction: column;
}

.team-oab {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-gold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.team-name {
  font-size: 2rem;
  color: var(--color-navy);
  margin: 0 0 6px;
  line-height: 1.15;
}

.team-role {
  font-size: 0.88rem;
  color: var(--color-muted);
  font-weight: 500;
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
}

.team-bio {
  font-size: 0.95rem;
  color: #4A5568;
  line-height: 1.75;
  margin: 0 0 24px;
}

.team-areas {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.team-area-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-navy);
  background: var(--color-offwhite);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 4px 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* =========================================================================
   SOBRE — CREDENTIALS
   ========================================================================= */
.section-credentials {
  padding: 100px 0;
  background: var(--color-navy);
}

.credentials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.credentials-title {
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  color: #fff;
  line-height: 1.25;
  margin: 0 0 20px;
}

.credentials-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.75;
  margin: 0;
}

.credential-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.credential-item:last-child {
  border-bottom: none;
}

.credential-icon {
  width: 36px;
  height: 36px;
  background: rgba(184,137,52,0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold-light);
  flex-shrink: 0;
}

.credential-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.credential-detail {
  display: block;
  font-size: 0.87rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

/* =========================================================================
   SOBRE — CTA PAGE
   ========================================================================= */
.section-cta-page {
  padding: 100px 0;
  background: var(--color-navy-dark);
  background: linear-gradient(135deg, #051628 0%, var(--color-navy-mid) 100%);
}

.cta-page-box {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.cta-page-box .eyebrow {
  display: block;
  margin-bottom: 16px;
}

.cta-page-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: #fff;
  margin: 0 0 20px;
  line-height: 1.2;
}

.cta-page-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  margin: 0 0 40px;
}

.cta-page-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =========================================================================
   CONTATO — HERO SIMPLES
   ========================================================================= */
.contact-hero {
  background: var(--color-navy);
  padding: 120px 0 60px;
}

.contact-hero-inner {
  max-width: 700px;
}

.contact-hero .eyebrow {
  display: block;
  margin-bottom: 14px;
  letter-spacing: 0.18em;
  color: var(--color-gold-light);
  font-size: 0.72rem;
}

.contact-hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
  margin: 0 0 20px;
  line-height: 1.15;
}

.contact-hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
  margin: 0 0 32px;
  max-width: 560px;
}

.contact-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}

.trust-badge svg {
  color: var(--color-gold-light);
  flex-shrink: 0;
}

/* =========================================================================
   CONTATO — MAIN (formulário + aside)
   ========================================================================= */
.contact-main {
  padding: 80px 0 100px;
  background: var(--color-offwhite);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: start;
}

/* --- Formulário --- */
.contact-form-wrap {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 52px 48px;
  box-shadow: var(--shadow-card);
}

.contact-form-title {
  font-size: 1.8rem;
  color: var(--color-navy);
  margin: 0 0 8px;
}

.contact-form-subtitle {
  font-size: 0.93rem;
  color: #6B7280;
  line-height: 1.6;
  margin: 0 0 36px;
}

.contact-form-header {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 36px;
}

/* Form rows */
.form-row {
  display: grid;
  gap: 20px;
  margin-bottom: 20px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.form-group:last-of-type {
  margin-bottom: 0;
}

.form-row .form-group {
  margin-bottom: 0;
}

.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-navy);
  letter-spacing: 0.04em;
}

.form-required {
  color: var(--color-gold);
}

.form-input {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #D1D5DB;
  border-radius: 8px;
  font-size: 0.93rem;
  color: var(--color-navy);
  background: #fff;
  font-family: 'Inter', sans-serif;
  transition: border-color var(--transition), box-shadow var(--transition);
  box-sizing: border-box;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-input::placeholder {
  color: #9CA3AF;
}

.form-input:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(184,137,52,0.12);
}

.form-input:valid:not(:placeholder-shown) {
  border-color: #10B981;
}

.form-input.form-input-error {
  border-color: #DC2626 !important;
  box-shadow: 0 0 0 3px rgba(220,38,38,0.1);
}

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

/* Select */
.form-select-wrap {
  position: relative;
}

.form-select {
  cursor: pointer;
  padding-right: 40px;
}

.form-select-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--color-muted);
}

.form-hint {
  font-size: 0.78rem;
  color: #9CA3AF;
  margin-top: 4px;
  display: block;
}

/* Checkbox */
.form-group-check {
  margin-bottom: 28px;
}

.form-check-label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
  font-size: 0.88rem;
  color: #4A5568;
  line-height: 1.55;
}

.form-check {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
  border: 1.5px solid #D1D5DB;
  border-radius: 4px;
  cursor: pointer;
  accent-color: var(--color-navy);
}

.form-check-link {
  color: var(--color-gold);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

/* Submit button */
.contact-submit-btn {
  width: 100%;
  justify-content: center;
  padding: 16px 24px;
  font-size: 1rem;
  border-radius: 8px;
  gap: 10px;
}

/* Form feedback */
.form-feedback {
  margin-top: 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #F0FDF4;
  border: 1.5px solid #10B981;
  border-radius: 10px;
  padding: 18px 20px;
  color: #065F46;
}

.form-feedback svg {
  color: #10B981;
  flex-shrink: 0;
  margin-top: 2px;
}

.form-feedback p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
}

/* --- Info aside --- */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
}

.contact-info-title {
  font-size: 1.4rem;
  color: var(--color-navy);
  margin: 0 0 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
}

.contact-info-group {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid rgba(7,30,53,0.07);
}

.contact-info-item:last-child {
  border-bottom: none;
}

.contact-info-icon {
  width: 38px;
  height: 38px;
  background: var(--color-offwhite);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-navy);
  flex-shrink: 0;
}

.contact-info-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.contact-info-value {
  font-size: 0.93rem;
  color: var(--color-navy);
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  display: block;
}

a.contact-info-value:hover {
  color: var(--color-gold);
}

.contact-info-value small {
  font-size: 0.82rem;
  color: var(--color-muted);
  font-weight: 400;
}

.contact-info-social {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

.contact-info-social .contact-info-label {
  margin-bottom: 12px;
  display: block;
}

.contact-social-links {
  display: flex;
  gap: 10px;
}

/* Commitment card */
.contact-commitment-card {
  background: var(--color-navy);
  border-radius: 16px;
  padding: 32px 28px;
  text-align: center;
}

.commitment-icon {
  width: 56px;
  height: 56px;
  background: rgba(184,137,52,0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold-light);
  margin: 0 auto 20px;
}

.commitment-title {
  font-size: 1.15rem;
  color: #fff;
  margin: 0 0 14px;
  line-height: 1.3;
}

.commitment-desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin: 0;
}

/* =========================================================================
   CONTATO — FAQ
   ========================================================================= */
.section-faq {
  padding: 100px 0;
  background: #fff;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 960px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-offwhite);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 36px 32px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.faq-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.faq-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.7;
}

.faq-question {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0 0 12px;
  line-height: 1.35;
}

.faq-answer {
  font-size: 0.92rem;
  color: #4A5568;
  line-height: 1.7;
  margin: 0;
}

/* =========================================================================
   MOBILE RESPONSIVE — ≤768px
   ========================================================================= */
@media (max-width: 768px) {

  /* Hero */
  .page-hero {
    min-height: 420px;
    padding-top: 72px;
  }

  .page-hero-content {
    padding-top: 48px;
    padding-bottom: 48px;
    gap: 28px;
  }

  .page-hero-title {
    font-size: 1.8rem;
  }

  .page-hero-stats {
    gap: 20px;
  }

  .hero-stat-number { font-size: 1.7rem; }
  .hero-stat-divider { height: 36px; }

  /* Manifesto */
  .section-manifesto { padding: 64px 0; }

  .manifesto-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .manifesto-image-wrap { order: -1; }
  .manifesto-image { height: 280px; }
  .manifesto-title { font-size: 1.5rem; }

  /* Values */
  .section-values { padding: 64px 0; }
  .values-grid { grid-template-columns: 1fr; gap: 20px; }
  .value-card { padding: 28px 24px; }

  /* Team */
  .section-team { padding: 64px 0; }

  .team-card {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 100%;
  }

  .team-photo-wrap { min-height: 280px; }
  .team-photo { height: 280px; }

  .team-info {
    padding: 32px 24px;
  }

  /* Credentials */
  .section-credentials { padding: 64px 0; }

  .credentials-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .credentials-title { font-size: 1.5rem; }

  /* CTA */
  .section-cta-page { padding: 64px 0; }
  .cta-page-title { font-size: 1.8rem; }
  .cta-page-actions { flex-direction: column; align-items: center; }

  /* Contact hero */
  .contact-hero { padding: 100px 0 48px; }
  .contact-hero-title { font-size: 1.8rem; }
  .contact-trust-badges { gap: 8px; }
  .trust-badge { font-size: 0.77rem; padding: 5px 12px; }

  /* Contact main */
  .contact-main { padding: 48px 0 64px; }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-form-wrap { padding: 32px 24px; }
  .contact-form-title { font-size: 1.4rem; }
  .form-row-2 { grid-template-columns: 1fr; }

  .contact-info-card { padding: 28px 22px; }

  /* FAQ */
  .section-faq { padding: 64px 0; }
  .faq-grid { grid-template-columns: 1fr; gap: 20px; }
  .faq-item { padding: 28px 24px; }
}

@media (max-width: 480px) {
  .page-hero-title { font-size: 1.5rem; }
  .contact-hero-title { font-size: 1.5rem; }
  .hero-stat-number { font-size: 1.5rem; }
  .hero-stat-divider { display: none; }
  .page-hero-stats { flex-direction: row; }
}
