/* ============================================================
   Carvalho & Viana Advocacia — Fase 2 | Design System
   Paleta: White, Cold White, Ice Gray, Graphite Blue,
           Institutional Petro Blue, Gray Text, Soft Gray,
           Discreet Gold
   Fontes: Manrope (títulos), Inter (corpo),
           Libre Baskerville (detalhes editoriais)
   ============================================================ */

/* --- Variáveis --- */
:root {
  /* Cores */
  --white:          #FFFFFF;
  --cold-white:     #F6F8FA;
  --ice-gray:       #EEF2F5;
  --graphite-blue:  #17212B;
  --petro-blue:     #243447;
  --gray-text:      #4B5563;
  --soft-gray:      #D8DEE5;
  --gold:           #B08A45;

  /* Derivadas */
  --gold-light:     #C9A55A;
  --gold-pale:      rgba(176, 138, 69, 0.12);
  --gold-border:    rgba(176, 138, 69, 0.30);
  --border-light:   rgba(23, 33, 43, 0.08);
  --border-card:    rgba(23, 33, 43, 0.10);
  --shadow-sm:      0 8px 30px rgba(23, 33, 43, 0.06);
  --shadow-md:      0 18px 50px rgba(23, 33, 43, 0.10);
  --shadow-lg:      0 28px 70px rgba(23, 33, 43, 0.14);
  --shadow-btn:     0 18px 40px rgba(23, 33, 43, 0.20);
  --radius-sm:      12px;
  --radius-md:      18px;
  --radius-lg:      24px;
  --radius-xl:      32px;
  --container:      1180px;
  --font-head:      "Manrope", system-ui, -apple-system, sans-serif;
  --font-body:      "Inter", system-ui, -apple-system, sans-serif;
  --font-editorial: "Libre Baskerville", Georgia, serif;
  --header-h:       80px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--graphite-blue);
  background: var(--white);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, iframe { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, h4 { margin-top: 0; }
ul { padding: 0; margin: 0; list-style: none; }

::selection {
  background: var(--gold-pale);
  color: var(--graphite-blue);
}

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 9999;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--graphite-blue);
  color: var(--white);
  font-weight: 700;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

/* --- Container --- */
.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

/* --- Seções --- */
.section { padding: clamp(72px, 8vw, 128px) 0; }

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 12px 36px rgba(23, 33, 43, 0.06);
  background: rgba(255, 255, 255, 0.94);
}

.nav-shell {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.brand-logo {
  width: 200px;
  height: auto;
  display: block;
}

/* --- Navegação --- */
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--gray-text);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.25s ease;
}
.main-nav a:hover,
.main-nav a:focus-visible { color: var(--graphite-blue); }
.main-nav a:hover::after,
.main-nav a:focus-visible::after { width: 100%; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--graphite-blue);
  color: var(--white);
  font-weight: 700;
  font-size: 0.88rem;
  white-space: nowrap;
  box-shadow: 0 14px 30px rgba(23, 33, 43, 0.16);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(23, 33, 43, 0.22);
}
.nav-cta:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.menu-toggle { display: none; }

/* --- Hero --- */
.hero {
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 18% 20%, rgba(176, 138, 69, 0.10), transparent 34%),
    radial-gradient(circle at 80% 80%, rgba(36, 52, 71, 0.05), transparent 40%),
    linear-gradient(135deg, var(--white) 0%, var(--cold-white) 44%, var(--ice-gray) 100%);
  isolation: isolate;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero-accent {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(176, 138, 69, 0.08), transparent 70%);
  top: -120px;
  right: -80px;
}

.hero-line {
  position: absolute;
  border: 1px solid rgba(23, 33, 43, 0.06);
  border-radius: 40px;
}
.hero-line-1 {
  width: 500px;
  height: 500px;
  right: -100px;
  top: 60px;
  transform: rotate(-12deg);
}
.hero-line-2 {
  width: 300px;
  height: 300px;
  border-radius: 999px;
  left: -100px;
  bottom: 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.72fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  padding: clamp(60px, 8vw, 110px) 0;
}

/* --- Eyebrow --- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.20em;
  font-weight: 700;
  font-size: 0.76rem;
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}

/* --- Tipografia --- */
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.02em; }

h1 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  max-width: 900px;
  margin-bottom: 22px;
}

h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.8vw, 3.4rem);
  margin-bottom: 20px;
}

h3 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  max-width: 680px;
  color: var(--gray-text);
  margin-bottom: 30px;
  line-height: 1.6;
}

/* --- Botões --- */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn {
  position: relative;
  isolation: isolate;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  overflow: hidden;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-120%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.30), transparent);
  z-index: -1;
  transition: transform 0.7s ease;
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--graphite-blue);
  color: var(--white);
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover {
  background: var(--petro-blue);
  box-shadow: 0 24px 50px rgba(23, 33, 43, 0.26);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.70);
  border-color: var(--border-card);
  color: var(--graphite-blue);
  box-shadow: 0 10px 30px rgba(23, 33, 43, 0.06);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.90);
  box-shadow: 0 16px 40px rgba(23, 33, 43, 0.12);
}

.btn-light {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.20);
  color: var(--white);
}
.btn-light:hover {
  background: rgba(255, 255, 255, 0.20);
  box-shadow: 0 16px 40px rgba(23, 33, 43, 0.16);
}

.btn-large {
  min-height: 56px;
  padding: 0 32px;
  font-size: 1.02rem;
}

/* --- Hero Visual Card --- */
.hero-visual-card {
  position: relative;
  padding: clamp(28px, 4vw, 40px);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.80);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
}
.hero-visual-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(176, 138, 69, 0.08), transparent 45%);
  pointer-events: none;
}
.hero-visual-line {
  width: 100px;
  height: 3px;
  border-radius: 999px;
  background: var(--gold);
  margin-bottom: 24px;
}
.hero-visual-label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.70rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 6px;
}
.hero-visual-text {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--graphite-blue);
  margin-bottom: 18px;
  line-height: 1.4;
}
.hero-visual-divider {
  width: 100%;
  height: 1px;
  background: var(--soft-gray);
  margin-bottom: 18px;
}

/* --- Hero Note --- */
.hero-note {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  max-width: 600px;
  color: var(--gray-text);
}
.hero-note-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--gold-pale);
  position: relative;
}
.hero-note-icon::after {
  content: "";
  position: absolute;
  inset: 11px;
  border-radius: 999px;
  background: var(--gold);
}
.hero-note p { margin: 0; font-size: 0.96rem; }

/* --- Trust Strip --- */
.trust-strip { background: var(--graphite-blue); color: var(--white); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
}
.trust-grid > div {
  padding: 28px;
  background: var(--graphite-blue);
  min-height: 130px;
}
.trust-grid span {
  color: var(--gold);
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
}
.trust-grid strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 4px;
}
.trust-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
}

/* --- Split Layout --- */
.split-layout {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: clamp(40px, 7vw, 90px);
  align-items: start;
}

.section-heading { max-width: 720px; }
.section-heading.centered { text-align: center; margin-inline: auto; }
.section-heading.centered .eyebrow { justify-content: center; }
.section-heading p { color: var(--gray-text); font-size: 1.02rem; }

.large-text {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  line-height: 1.4;
  color: var(--graphite-blue);
  font-family: var(--font-editorial);
  font-weight: 400;
}
.content-column p:not(.large-text) { color: var(--gray-text); }

/* --- Pilares --- */
.pillars-section {
  background: linear-gradient(180deg, var(--white) 0%, var(--cold-white) 100%);
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 40px;
}

.pillar-card,
.area-card,
.step-card,
.partner-card,
.contact-card,
.map-card {
  border: 1px solid var(--border-card);
  background: rgba(255, 255, 255, 0.80);
  box-shadow: var(--shadow-sm);
}

.pillar-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}
.pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-border);
}
.pillar-num {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 18px;
}
.pillar-card h3 { font-size: 1.15rem; }
.pillar-card p { color: var(--gray-text); margin: 0; }

.pillars-cta,
.areas-cta,
.faq-cta {
  margin-top: 36px;
  text-align: center;
}

/* --- Áreas --- */
.areas-section {
  background: var(--graphite-blue);
  color: var(--white);
}
.areas-section .section-heading p { color: rgba(255, 255, 255, 0.65); }
.areas-section .eyebrow { color: var(--gold); }

.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.area-card {
  position: relative;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  overflow: hidden;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    background 0.28s ease;
}
.area-card::after {
  content: "";
  position: absolute;
  inset: auto 16px 16px auto;
  width: 80px;
  height: 80px;
  border: 1px solid rgba(176, 138, 69, 0.25);
  border-radius: 999px;
  opacity: 0.30;
  transition: transform 0.28s ease, opacity 0.28s ease;
  pointer-events: none;
}
.area-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.20);
  border-color: var(--gold-border);
  background: rgba(255, 255, 255, 0.10);
}
.area-card:hover::after {
  transform: scale(1.20);
  opacity: 0.55;
}
.area-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.area-num {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(176, 138, 69, 0.15);
  color: var(--gold);
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}
.area-card h3 {
  font-size: 1.05rem;
  color: var(--white);
  margin: 0;
}
.area-card p {
  color: rgba(255, 255, 255, 0.70);
  font-size: 0.94rem;
  margin: 0;
}

/* --- Método --- */
.method-section { background: var(--white); }
.method-grid {
  display: grid;
  grid-template-columns: 0.86fr 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}
.sticky-heading { position: sticky; top: 118px; }

.steps-stack { display: grid; gap: 16px; }

.step-card {
  padding: 26px;
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 20px;
  align-items: start;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
}
.step-card:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
}
.step-num {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--graphite-blue);
  color: var(--gold);
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
}
.step-card h3 { margin-bottom: 6px; }
.step-card p { color: var(--gray-text); margin: 0; }

/* --- Fit Section --- */
.fit-section { background: var(--cold-white); }
.fit-card {
  border-radius: var(--radius-xl);
  padding: clamp(32px, 5vw, 60px);
  background: linear-gradient(135deg, var(--graphite-blue), var(--petro-blue));
  color: var(--white);
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(32px, 5vw, 68px);
  box-shadow: 0 28px 80px rgba(23, 33, 43, 0.22);
  position: relative;
  overflow: hidden;
}
.fit-card::after {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  border: 1px solid rgba(176, 138, 69, 0.15);
  right: -120px;
  top: -140px;
  pointer-events: none;
}
.fit-card h2 { color: var(--white); }
.fit-list {
  display: grid;
  gap: 14px;
  position: relative;
  z-index: 1;
}
.fit-list p {
  margin: 0;
  padding: 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.78);
}

/* --- Sócios --- */
.partners-section { background: var(--white); }
.partners-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.partner-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--cold-white);
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  min-height: 400px;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
}
.partner-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.partner-photo {
  min-height: 400px;
  overflow: hidden;
  background: var(--ice-gray);
}
.partner-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.4s ease;
}
.partner-card:hover .partner-photo img {
  transform: scale(1.04);
}

.partner-content {
  padding: clamp(26px, 4vw, 40px);
  align-self: center;
}
.partner-role {
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.partner-content h3 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  margin-bottom: 4px;
}
.partner-content h3 a {
  border-bottom: 1px solid var(--gold-border);
  transition: border-color 0.2s ease;
}
.partner-content h3 a:hover {
  border-color: var(--gold);
}
.oab {
  color: var(--gray-text);
  font-weight: 600;
  margin-bottom: 20px;
  font-size: 0.92rem;
}
.partner-content p:last-child { color: var(--gray-text); margin: 0; }

/* --- FAQ --- */
.faq-section {
  background: var(--cold-white);
}
.faq-list {
  max-width: 780px;
  margin: 40px auto 0;
  display: grid;
  gap: 10px;
}

.faq-item {
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--border-card);
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}
.faq-item[open] {
  box-shadow: var(--shadow-sm);
  border-color: var(--gold-border);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  color: var(--graphite-blue);
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question:hover { color: var(--gold); }

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  position: relative;
  transition: transform 0.3s ease;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--gray-text);
  border-radius: 2px;
  transition: background 0.2s ease, transform 0.3s ease;
}
.faq-icon::before {
  width: 14px;
  height: 2px;
  top: 11px;
  left: 5px;
}
.faq-icon::after {
  width: 2px;
  height: 14px;
  top: 5px;
  left: 11px;
}
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-item[open] .faq-icon::before,
.faq-item[open] .faq-icon::after { background: var(--gold); }

.faq-answer {
  padding: 0 22px 18px;
  color: var(--gray-text);
  font-size: 0.95rem;
  line-height: 1.6;
}
.faq-answer p { margin: 0; }

.faq-cta {
  text-align: center;
  margin-top: 36px;
}
.faq-cta p {
  color: var(--gray-text);
  margin-bottom: 16px;
}

/* --- CTA Band --- */
.cta-band { background: var(--cold-white); }
.cta-panel {
  position: relative;
  border-radius: var(--radius-xl);
  padding: clamp(34px, 6vw, 72px);
  background:
    radial-gradient(circle at 85% 10%, rgba(176, 138, 69, 0.15), transparent 24%),
    linear-gradient(135deg, var(--graphite-blue), var(--petro-blue));
  color: var(--white);
  box-shadow: 0 28px 90px rgba(23, 33, 43, 0.22);
  overflow: hidden;
}
.cta-panel h2 { color: var(--white); max-width: 800px; }
.cta-panel p:not(.eyebrow) { max-width: 680px; color: rgba(255, 255, 255, 0.74); }

/* --- Contato --- */
.contact-section { background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.contact-card,
.map-card { border-radius: var(--radius-xl); overflow: hidden; }
.contact-card {
  padding: clamp(32px, 5vw, 54px);
  background: var(--cold-white);
}
.contact-card address {
  font-style: normal;
  color: var(--gray-text);
  margin-bottom: 26px;
  line-height: 1.7;
}
.contact-actions { display: grid; gap: 12px; justify-items: start; }
.map-card { min-height: 400px; }
.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: 0;
  filter: saturate(0.80) contrast(0.92);
}

/* --- Footer --- */
.site-footer {
  background: var(--graphite-blue);
  color: rgba(255, 255, 255, 0.70);
  padding: 44px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr 0.4fr;
  gap: 28px;
  align-items: start;
}
.site-footer strong {
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
}
.site-footer p { margin: 6px 0 0; font-size: 0.90rem; }
.footer-links {
  display: grid;
  gap: 8px;
  justify-items: end;
}
.footer-links a {
  color: var(--gold);
  font-weight: 600;
  transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--gold-light); }

/* --- WhatsApp Flutuante --- */
.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 45;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  background: #1f8f5f;
  color: var(--white);
  font-weight: 700;
  font-size: 0.90rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 16px 40px rgba(31, 143, 95, 0.30);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.floating-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 55px rgba(31, 143, 95, 0.36);
}
.floating-whatsapp:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.60s ease, transform 0.60s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   Responsivo — Tablet (≤1080px)
   ============================================================ */
@media (max-width: 1080px) {
  .main-nav { gap: 18px; }
  .nav-cta { display: none; }

  .hero-grid,
  .method-grid,
  .split-layout,
  .fit-card,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .sticky-heading { position: static; }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-card { grid-template-columns: 1fr; }
  .partner-photo { min-height: 340px; }
  .partner-photo img { max-height: 340px; }
}

/* ============================================================
   Responsivo — Mobile (≤820px)
   ============================================================ */
@media (max-width: 820px) {
  :root { --header-h: 70px; }

  .container { width: min(calc(100% - 28px), var(--container)); }
  .nav-shell { min-height: var(--header-h); }
  .brand { min-width: auto; }
  .brand-logo { width: 160px; }

  /* Menu Toggle */
  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 55;
  }
  .menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--graphite-blue);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .menu-toggle em {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .main-nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    z-index: 50;
  }
  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
  }
  .main-nav a {
    font-size: 1.4rem;
    font-weight: 600;
  }

  .hero-grid { padding: clamp(40px, 8vw, 80px) 0; }
  .hero-visual { display: none; }

  .trust-grid { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-links { justify-items: start; }

  .fit-card { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr; }
  .map-card { min-height: 300px; }
  .map-card iframe { min-height: 300px; }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
    min-height: 46px;
    padding: 0 16px;
    font-size: 0.85rem;
  }
  .floating-whatsapp svg { width: 18px; height: 18px; }
}

/* ============================================================
   Responsivo — Mobile Pequeno (≤480px)
   ============================================================ */
@media (max-width: 480px) {
  .brand-logo { width: 140px; }
  h1 { font-size: clamp(1.8rem, 7vw, 2.4rem); }
  h2 { font-size: clamp(1.4rem, 5vw, 1.8rem); }
  .btn { min-height: 46px; font-size: 0.90rem; padding: 0 20px; }
  .btn-large { min-height: 50px; font-size: 0.95rem; padding: 0 24px; }
  .section { padding: clamp(48px, 10vw, 72px) 0; }
  .faq-question { font-size: 0.95rem; padding: 16px 18px; }
  .faq-answer { padding: 0 18px 16px; font-size: 0.90rem; }
}
