/* ============================================================
   Dra. Aline Letícia Pedrosa — Landing Page
   Perícia Médica Psiquiátrica & Medicina do Trabalho
   ============================================================ */

:root {
  /* Palette — Navy + Champagne (default) */
  --ink:        #0E1B2E;
  --ink-2:      #142A45;
  --ink-3:      #1F3658;
  --ink-line:   #2A4061;
  --gold:       #C8A96A;
  --gold-soft:  #DCC396;
  --gold-deep:  #A98A4A;
  --cream:      #F5F0E6;
  --cream-2:    #EBE3D2;
  --cream-3:    #DDD2BC;
  --graphite:  #1A1A1A;
  --muted:     #6E6B65;
  --line:      rgba(14,27,46,.12);
  --line-soft: rgba(14,27,46,.07);
  --line-gold: rgba(200,169,106,.35);

  /* CTA */
  --cta:        #1F8A4D;
  --cta-hover:  #176D3C;
  --cta-ring:   rgba(31,138,77,.22);

  /* Type */
  --font-display: 'Cormorant Garamond', 'Cormorant', Georgia, serif;
  --font-ui:      'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', 'IBM Plex Mono', ui-monospace, monospace;

  /* Spacing */
  --container:  1240px;
  --container-narrow: 980px;
  --pad-section: clamp(72px, 9vw, 140px);
  --pad-section-tight: clamp(48px, 6vw, 96px);

  /* Radii */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;

  /* Easing */
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* Reset / base ---------------------------------------------- */
*,*::before,*::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-ui);
  color: var(--ink);
  background: var(--cream);
  font-size: 17px;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  text-wrap: pretty;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--gold); color: var(--ink); }

/* Type system ---------------------------------------------- */
.display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.05;
  font-feature-settings: 'lnum', 'ss01';
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold-deep);
}
.eyebrow .roman {
  display: inline-block;
  margin-right: 12px;
  color: var(--gold);
  font-weight: 600;
}
.label-tiny {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Container ------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: clamp(20px, 4vw, 56px);
  padding-right: clamp(20px, 4vw, 56px);
}
.container-narrow { max-width: var(--container-narrow); }

/* Section ridge --------------------------------------------- */
section { position: relative; }
.section-ridge {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 28px;
}
.section-ridge .bar {
  width: 36px;
  height: 1px;
  background: var(--gold);
}
.dark .section-ridge { color: var(--gold-soft); }
.dark .section-ridge .bar { background: var(--gold); }

/* Buttons --------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.02em;
  border-radius: var(--r-sm);
  transition: transform .25s var(--ease), background-color .2s var(--ease), color .2s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--cta);
  color: #fff;
  box-shadow:
    0 1px 0 rgba(0,0,0,.04),
    0 8px 20px -10px var(--cta-ring);
}
.btn-primary:hover {
  background: var(--cta-hover);
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(0,0,0,.04),
    0 14px 28px -10px var(--cta-ring);
}
.btn-primary:active {
  transform: translateY(0);
  box-shadow:
    0 1px 0 rgba(0,0,0,.04),
    0 4px 10px -6px var(--cta-ring);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid rgba(14,27,46,.32);
  font-weight: 500;
  transition: border-color .2s var(--ease), color .2s var(--ease), background-color .2s var(--ease), transform .25s var(--ease);
}
.btn-ghost:hover {
  border-color: var(--ink);
  background: rgba(14,27,46,.04);
  transform: translateY(-1px);
}
.dark .btn-ghost { color: var(--cream); border-color: rgba(255,255,255,.32); }
.dark .btn-ghost:hover { border-color: var(--gold); color: var(--gold); background: rgba(200,169,106,.06); }

.btn-lg { padding: 17px 28px; font-size: 15px; }

.btn-subtext {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: .82;
  margin-left: 4px;
  font-weight: 500;
}

.btn .wa-icon { width: 16px; height: 16px; }

/* Premium WhatsApp CTA — clean unified */
.btn-wa-premium {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px 14px 18px;
  background: var(--cta);
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  box-shadow:
    0 1px 0 rgba(0,0,0,.04),
    0 8px 22px -10px var(--cta-ring);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .2s var(--ease);
  position: relative;
}
.btn-wa-premium:hover {
  background: var(--cta-hover);
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(0,0,0,.04),
    0 16px 32px -10px var(--cta-ring);
}
.btn-wa-premium:active {
  transform: translateY(0);
  box-shadow:
    0 1px 0 rgba(0,0,0,.04),
    0 6px 14px -8px var(--cta-ring);
}

.btn-wa-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: .95;
}
.btn-wa-icon svg { width: 20px; height: 20px; }

.btn-wa-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  line-height: 1.2;
}
.btn-wa-label {
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.005em;
}
.btn-wa-sub {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: .72;
  margin-top: 3px;
  font-weight: 400;
}

.btn-wa-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: 6px;
  transition: transform .35s var(--ease);
}
.btn-wa-arrow svg {
  width: 14px;
  height: 14px;
  opacity: .85;
}
.btn-wa-premium:hover .btn-wa-arrow {
  transform: translateX(4px);
}

/* Mobile shrink */
@media (max-width: 640px) {
  .btn-wa-premium {
    width: 100%;
    justify-content: center;
    padding: 14px 18px;
  }
  .btn-wa-label { font-size: 14.5px; }
  .btn-wa-sub { font-size: 9px; letter-spacing: 0.14em; }
}


/* Urgency banner -------------------------------------------- */
.urgency-bar {
  position: relative;
  background: var(--ink);
  color: var(--cream);
  font-size: 13px;
  letter-spacing: 0.02em;
  z-index: 60;
}
.urgency-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding-top: 10px;
  padding-bottom: 10px;
  text-align: center;
  flex-wrap: wrap;
}
.urgency-bar .pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 var(--gold);
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(200,169,106,.55); }
  70% { box-shadow: 0 0 0 9px rgba(200,169,106,0); }
  100% { box-shadow: 0 0 0 0 rgba(200,169,106,0); }
}
.urgency-bar strong { color: var(--gold); font-weight: 600; }

/* Nav ------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 27, 46, .92);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: box-shadow .25s var(--ease), background-color .25s var(--ease);
}
.nav.scrolled {
  background: rgba(14, 27, 46, .98);
  box-shadow: 0 1px 0 rgba(0,0,0,.18);
}
.nav .brand-mark { color: var(--cream); }
.nav .brand-sub { color: var(--gold); opacity: .85; }
.nav .nav-links a { color: var(--cream); opacity: .82; }
.nav .nav-links a:hover { opacity: 1; color: var(--gold-soft); }
.nav .nav-burger {
  color: var(--cream);
  border-color: rgba(255,255,255,.18);
}
.nav .nav-burger:hover { border-color: var(--gold); color: var(--gold); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  letter-spacing: 0;
}
.brand-mark {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--ink);
}
.brand-sub {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-top: 4px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 13.5px;
  font-weight: 450;
  color: var(--ink);
  opacity: .78;
  transition: opacity .2s var(--ease);
  position: relative;
}
.nav-links a:hover { opacity: 1; }
.nav-links a::after {
  content:'';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-burger { display: none; }
.nav-burger svg {
  width: 18px;
  height: 18px;
  display: block;
  flex-shrink: 0;
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-cta .btn-text { display: none; }

  /* WA button: force square, centered icon, remove asymmetric padding */
  .nav-cta .btn.btn-primary {
    width: 40px;
    height: 40px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    touch-action: manipulation;
  }
  .nav-cta .btn.btn-primary .wa-icon {
    width: 18px;
    height: 18px;
    display: block;
    flex-shrink: 0;
  }

  .nav-burger {
    display: inline-flex;
    width: 40px; height: 40px;
    align-items: center; justify-content: center;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background: none;
    padding: 0;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    touch-action: manipulation;
    flex-shrink: 0;
  }
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--ink);
  color: var(--cream);
  z-index: 70;
  transform: translateX(100%);
  transition: transform .35s var(--ease);
  display: flex;
  flex-direction: column;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-head {
  display: flex; align-items:center; justify-content:space-between;
  padding: 16px clamp(20px, 4vw, 32px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.mobile-menu-head .brand-mark { color: var(--cream); }
.mobile-menu-head .brand-sub { color: var(--gold-soft); }
.mobile-menu-close {
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--r-sm);
  display: inline-flex; align-items:center; justify-content:center;
  color: var(--cream);
}
.mobile-menu-close svg { width: 20px; height: 20px; display: block; color: var(--cream); }
.mobile-menu-list {
  padding: 32px clamp(20px, 4vw, 32px);
  display: flex; flex-direction: column; gap: 6px;
}
.mobile-menu-list a {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.mobile-menu-list a .num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gold);
  margin-right: 12px;
  vertical-align: middle;
}
.mobile-menu-foot {
  margin-top: auto;
  padding: 28px clamp(20px, 4vw, 32px) 36px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.mobile-menu-foot .btn-primary { width: 100%; justify-content:center; }

/* ===========================================================
   HERO
   =========================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(56px, 8vw, 100px);
  padding-bottom: clamp(56px, 8vw, 100px);
  background: var(--cream);
}
.hero .container { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  grid-template-areas:
    "top portrait"
    "bottom portrait";
  gap: clamp(28px, 5vw, 80px) clamp(28px, 5vw, 80px);
  align-items: start;
}
.hero-text-top { grid-area: top; max-width: 620px; }
.hero-text-bottom { grid-area: bottom; max-width: 620px; }
.hero-portrait-wrap { grid-area: portrait; align-self: center; }
.hero-text { max-width: 620px; }
.hero-meta {
  display: flex; align-items: center; gap: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 28px;
}
.hero-meta .bar { width: 36px; height: 1px; background: var(--gold); }

.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.012em;
  margin: 0 0 24px;
  color: var(--ink);
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-deep);
  position: relative;
  display: inline-block;
}
.hero h1 em::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 6px;
  height: 8px;
  background: linear-gradient(180deg, transparent 60%, rgba(200,169,106,.18) 60%);
  z-index: -1;
}
.hero-sub {
  font-size: 17.5px;
  line-height: 1.55;
  color: var(--ink);
  opacity: .82;
  max-width: 560px;
  margin: 0 0 36px;
}
.hero-actions {
  display: flex; align-items: center; gap: 14px;
  flex-wrap: wrap;
}
.hero-actions .btn-sub-line {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 12px;
  display: block;
}

.hero-credentials {
  display: flex; gap: 32px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-credentials .cred {
  flex: 1;
  min-width: 0;
}
.hero-credentials .cred-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.hero-credentials .cred-value {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.15;
  color: var(--ink);
  font-weight: 500;
}

/* Hero portrait — editorial frame */
.hero-portrait-wrap {
  position: relative;
  align-self: stretch;
  min-height: 480px;
}
.hero-portrait-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  transform: translate(22px, 22px);
  border: 1px solid var(--gold);
  z-index: 0;
  pointer-events: none;
}
.hero-portrait-wrap::after {
  content: '';
  position: absolute;
  left: -18px;
  top: 40px;
  width: 1px;
  height: 90px;
  background: var(--gold);
  z-index: 2;
}
.hero-portrait {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--ink-2);
  overflow: hidden;
  border-radius: 2px;
  z-index: 1;
  box-shadow: 0 30px 60px -28px rgba(14,27,46,.35);
}
.hero-portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 18%;
  filter: contrast(1.04) saturate(.95) brightness(.99);
  transition: transform 1.2s var(--ease);
}
.hero-portrait:hover img { transform: scale(1.02); }
.hero-portrait::after {
  content:'';
  position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(14,27,46,0) 55%, rgba(14,27,46,.22) 100%),
    radial-gradient(ellipse at 50% 30%, rgba(14,27,46,0) 60%, rgba(14,27,46,.18) 100%);
  pointer-events: none;
}
.hero-portrait-tag {
  position: absolute;
  left: -22px;
  bottom: 22px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  z-index: 3;
}

.hero-badge {
  position: absolute;
  left: -28px;
  bottom: 36px;
  background: var(--ink);
  color: var(--cream);
  padding: 22px 26px;
  display: flex; align-items: center; gap: 18px;
  border-left: 2px solid var(--gold);
  z-index: 3;
  max-width: 320px;
}
.hero-badge-num {
  font-family: var(--font-display);
  font-size: 44px;
  line-height: .9;
  color: var(--gold);
  font-weight: 500;
}
.hero-badge-text {
  font-size: 12px;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: var(--cream);
}
.hero-badge-text strong { color: var(--gold-soft); font-weight: 500; }

.hero-mark {
  position: absolute;
  right: -22px;
  top: 24px;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  display: flex; align-items:center; justify-content:center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-align: center;
  line-height: 1.1;
  transform: rotate(-8deg);
  z-index: 3;
  box-shadow: 0 14px 30px -10px rgba(14,27,46,.25);
}

/* Hero ornament */
.hero-grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .35;
}
.hero-grid-lines::before, .hero-grid-lines::after {
  content:'';
  position: absolute;
  background: var(--line);
}
.hero-grid-lines::before {
  left: 50%; top: 0; bottom: 0; width: 1px;
}
.hero-grid-lines::after {
  left: 0; right: 0; top: 50%; height: 1px;
}

@media (max-width: 980px) {
  .hero-grid {
    display: flex;
    flex-direction: column;
    grid-template-areas: none;
    gap: 28px;
  }
  .hero-text-top { order: 1; }
  .hero-portrait-wrap {
    order: 2;
    min-height: auto;
    max-width: 440px;
    margin: 12px auto 28px;
  }
  .hero-portrait-wrap::before { transform: translate(14px, 14px); }
  .hero-portrait-wrap::after { left: -10px; }
  .hero-text-bottom { order: 3; }
  .hero-credentials { flex-wrap: wrap; gap: 20px 32px; }
}

/* ===========================================================
   PAIN — Dark moment
   =========================================================== */
.pain {
  background: var(--ink);
  color: var(--cream);
  padding-top: var(--pad-section);
  padding-bottom: var(--pad-section);
  position: relative;
  overflow: hidden;
}
.pain::before {
  content:'';
  position:absolute;
  top:0;left:0;right:0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 40%, var(--gold) 60%, transparent);
  opacity: .35;
}
.pain .container { position: relative; z-index: 2; }

.pain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
}
.pain-lede {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.12;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--cream);
}
.pain-lede em {
  font-style: italic;
  color: var(--gold);
}
.pain-body p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(245,240,230,.82);
  margin: 0 0 18px;
}
.pain-body p:last-child { margin-bottom: 0; }

.pain-solutions {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.1);
}
.pain-solution {
  padding: 36px 32px 32px;
  border-right: 1px solid rgba(255,255,255,.1);
}
.pain-solution:last-child { border-right: none; }
.pain-solution .num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--gold);
  margin-bottom: 14px;
}
.pain-solution h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 14px;
  color: var(--cream);
}
.pain-solution p {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(245,240,230,.72);
  margin: 0;
}

@media (max-width: 860px) {
  .pain-grid { grid-template-columns: 1fr; }
  .pain-solutions { grid-template-columns: 1fr; }
  .pain-solution { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .pain-solution:last-child { border-bottom: none; }
}

/* ===========================================================
   ÁREAS DE ATUAÇÃO — Accordion + cards
   =========================================================== */
.areas {
  padding-top: var(--pad-section);
  padding-bottom: var(--pad-section);
  background: var(--cream);
}
.areas-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.areas-header h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 4.4vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.012em;
  margin: 0;
  color: var(--ink);
}
.areas-header h2 em {
  font-style: italic;
  color: var(--gold-deep);
}
.areas-header p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  opacity: .75;
  margin: 0;
  max-width: 480px;
}
@media (max-width: 860px) {
  .areas-header { grid-template-columns: 1fr; }
}

.areas-list {
  border-top: 1px solid var(--line);
}
.area-item {
  border-bottom: 1px solid var(--line);
  transition: background-color .35s var(--ease);
}
.area-item.open { background: rgba(255,255,255,.4); }

.area-head {
  display: grid;
  grid-template-columns: 60px 1fr auto 48px;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: padding .35s var(--ease);
}
.area-head .area-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--gold-deep);
  font-weight: 500;
}
.area-head .area-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.area-head .area-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.area-head .area-toggle {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: inline-flex; align-items:center; justify-content:center;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), transform .35s var(--ease);
}
.area-item.open .area-toggle {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
  transform: rotate(45deg);
}
.area-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s var(--ease);
}
.area-item.open .area-body { grid-template-rows: 1fr; }
.area-body > div { overflow: hidden; }
.area-body-inner {
  display: grid;
  grid-template-columns: 60px 1fr 1fr;
  gap: 24px;
  padding: 0 0 36px;
}
.area-body-inner > .spacer { /* mimics first col */ }
.area-body-inner p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  opacity: .85;
}
.area-body-inner ul {
  list-style: none;
  margin: 0; padding: 0;
}
.area-body-inner ul li {
  padding-left: 20px;
  position: relative;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink);
  opacity: .82;
  margin-bottom: 12px;
}
.area-body-inner ul li::before {
  content:'';
  position:absolute;
  left: 0; top: 10px;
  width: 10px; height: 1px;
  background: var(--gold);
}

@media (max-width: 760px) {
  .area-head {
    grid-template-columns: 40px 1fr 40px;
    gap: 14px;
    padding: 22px 0;
  }
  .area-head .area-tag { display: none; }
  .area-body-inner {
    grid-template-columns: 1fr;
    padding-left: 0;
    gap: 0;
  }
  .area-body-inner .spacer { display: none; }
}

/* ===========================================================
   SOBRE — About
   =========================================================== */
.about {
  background: var(--ink);
  color: var(--cream);
  padding-top: var(--pad-section);
  padding-bottom: var(--pad-section);
  position: relative;
  overflow: hidden;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}
.about-portrait-wrap {
  position: relative;
  align-self: stretch;
}
.about-portrait-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  transform: translate(-24px, -24px);
  border: 1px solid var(--gold);
  z-index: 0;
  pointer-events: none;
  opacity: .8;
}
.about-portrait-wrap::after {
  content: '';
  position: absolute;
  right: -18px;
  bottom: 40px;
  width: 1px;
  height: 90px;
  background: var(--gold);
  z-index: 3;
}
.about-portrait {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--ink-3);
  z-index: 1;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.5);
}
.about-portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 25%;
  filter: contrast(1.05) saturate(.92) brightness(.96);
  transition: transform 1.2s var(--ease);
}
.about-portrait:hover img { transform: scale(1.02); }
.about-portrait::after {
  content:'';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 45%, rgba(14,27,46,.5) 100%),
    radial-gradient(ellipse at 50% 30%, rgba(14,27,46,0) 65%, rgba(14,27,46,.18) 100%);
  pointer-events: none;
}
.about-frame-tag {
  position: absolute;
  bottom: 20px; left: 20px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-soft);
  z-index: 2;
}
.about-text h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(38px, 4.6vw, 64px);
  line-height: 1.18;
  letter-spacing: -0.012em;
  margin: 0 0 8px;
  color: var(--cream);
  padding-bottom: 18px;
}
.about-text h2 em { font-style: italic; color: var(--gold); }
.about-text .role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}
.about-text p {
  font-size: 16.5px;
  line-height: 1.7;
  color: rgba(245,240,230,.82);
  margin: 0 0 18px;
  max-width: 620px;
}
.about-credentials {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.about-credentials .row {
  display: contents;
}
.about-cred {
  padding: 20px 4px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.about-cred:nth-last-child(-n+2) { border-bottom: none; }
.about-cred .cred-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-soft);
  opacity: .75;
  margin-bottom: 6px;
}
.about-cred .cred-value {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  color: var(--cream);
  line-height: 1.2;
}

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-portrait-wrap { max-width: 440px; margin: 28px auto 12px; }
  .about-portrait-wrap::before { transform: translate(-14px, -14px); }
  .about-portrait-wrap::after { right: -10px; }
}

/* ===========================================================
   PROCESS
   =========================================================== */
.process {
  background: var(--cream);
  padding-top: var(--pad-section);
  padding-bottom: var(--pad-section);
}
.process-header {
  text-align: center;
  margin-bottom: clamp(56px, 6vw, 88px);
}
.process-header h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 1.06;
  margin: 0 auto 16px;
  max-width: 720px;
  color: var(--ink);
}
.process-header h2 em { font-style: italic; color: var(--gold-deep); }
.process-header p {
  font-size: 17px;
  opacity: .75;
  margin: 0 auto;
  max-width: 540px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.process-step {
  background: var(--cream);
  padding: 40px 36px 44px;
  position: relative;
  transition: background-color .25s var(--ease);
}
.process-step:hover { background: rgba(255,255,255,.6); }
.process-step .step-num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 52px;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 24px;
}
.process-step h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.15;
  margin: 0 0 14px;
  color: var(--ink);
}
.process-step p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  opacity: .78;
  margin: 0;
}
.process-step .step-arrow {
  position: absolute;
  right: -10px; top: 50%;
  transform: translateY(-50%);
  width: 20px; height: 20px;
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  z-index: 2;
}
.process-step:last-child .step-arrow { display: none; }

@media (max-width: 860px) {
  .process-steps { grid-template-columns: 1fr; }
  .process-step .step-arrow {
    right: 50%; top: auto; bottom: -10px;
    transform: translateX(50%) rotate(90deg);
  }
}

/* ===========================================================
   FINAL CTA — Cinematic
   =========================================================== */
.final-cta {
  position: relative;
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
}
.final-cta-img {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: min(680px, 62%);
  z-index: 0;
  opacity: 1;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.6) 18%, #000 38%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.6) 18%, #000 38%, #000 100%);
}
.final-cta-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 18%;
  filter: grayscale(.18) contrast(1.04) brightness(.92);
}
.final-cta::before {
  content:'';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, var(--ink) 0%, var(--ink) 32%, rgba(14,27,46,.55) 52%, rgba(14,27,46,.15) 75%, rgba(14,27,46,0) 100%);
}

@media (max-width: 760px) {
  .final-cta-img {
    width: 100%;
    opacity: .32;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .final-cta-img img { object-position: 65% 12%; }
  .final-cta::before {
    background: linear-gradient(180deg, rgba(14,27,46,.85) 0%, rgba(14,27,46,.7) 60%, rgba(14,27,46,.9) 100%);
  }
}
.final-cta .container {
  position: relative;
  z-index: 2;
  padding-top: clamp(96px, 12vw, 160px);
  padding-bottom: clamp(96px, 12vw, 160px);
}
.final-cta-inner {
  max-width: 720px;
}
.final-cta h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.012em;
  margin: 0 0 24px;
  color: var(--cream);
}
.final-cta h2 em { font-style: italic; color: var(--gold); }
.final-cta p {
  font-size: 18px;
  line-height: 1.6;
  margin: 0 0 36px;
  color: rgba(245,240,230,.85);
  max-width: 580px;
}
.final-cta .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===========================================================
   FOOTER
   =========================================================== */
.footer {
  background: #07101C;
  color: rgba(245,240,230,.7);
  padding-top: 72px;
  padding-bottom: 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .brand-mark { color: var(--cream); font-size: 26px; }
.footer-brand .brand-sub { color: var(--gold); }
.footer-brand p {
  margin: 20px 0 0;
  font-size: 14.5px;
  line-height: 1.6;
  max-width: 420px;
  color: rgba(245,240,230,.62);
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
  font-weight: 500;
}
.footer-col ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.footer-col a {
  font-size: 14.5px;
  color: rgba(245,240,230,.7);
  transition: color .2s var(--ease);
}
.footer-col a:hover { color: var(--gold); }
.footer-legal {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 28px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,240,230,.4);
}
.footer-legal .crm { color: var(--gold-soft); }

.footer-credit {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.05);
  display: flex;
  justify-content: center;
}
.footer-credit a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,240,230,.4);
  text-decoration: none;
  transition: color .25s var(--ease), letter-spacing .25s var(--ease);
}
.footer-credit a:hover {
  color: var(--gold);
}
.footer-credit a:hover .cred-arrow {
  transform: translate(2px, -2px);
}
.footer-credit .cred-prefix { opacity: .9; }
.footer-credit .cred-name {
  color: var(--gold-soft);
  font-weight: 600;
  letter-spacing: 0.14em;
}
.footer-credit a:hover .cred-name { color: var(--gold); }
.footer-credit .cred-arrow {
  display: inline-block;
  font-size: 12px;
  margin-left: 2px;
  transition: transform .25s var(--ease);
}

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr; gap: 36px; padding-bottom: 36px; }
}

/* ===========================================================
   Floating WhatsApp button — premium circle
   =========================================================== */
.fab-whatsapp {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--cta);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.32),
    inset 0 -1px 0 rgba(0,0,0,.18),
    0 1px 0 rgba(0,0,0,.06),
    0 14px 32px -10px var(--cta-ring),
    0 2px 6px rgba(0,0,0,.1);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s var(--ease);
}
.fab-whatsapp:hover {
  transform: translateY(-2px) scale(1.04);
  background: var(--cta-hover);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.4),
    inset 0 -1px 0 rgba(0,0,0,.2),
    0 1px 0 rgba(0,0,0,.06),
    0 22px 44px -12px var(--cta-ring),
    0 4px 10px rgba(0,0,0,.12);
}
.fab-whatsapp:active {
  transform: translateY(0) scale(1);
}
.fab-whatsapp::before {
  content:'';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(31,138,77,.5);
  animation: fab-pulse 2.4s ease-out infinite;
}
@keyframes fab-pulse {
  0% { box-shadow: 0 0 0 0 rgba(31,138,77,.45); }
  70% { box-shadow: 0 0 0 18px rgba(31,138,77,0); }
  100% { box-shadow: 0 0 0 0 rgba(31,138,77,0); }
}
.fab-whatsapp svg {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 1px 0 rgba(0,0,0,.18));
  position: relative;
  z-index: 2;
}
.fab-label {
  position: absolute;
  right: 72px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--ink);
  color: var(--cream);
  padding: 10px 14px;
  border-radius: var(--r-sm);
  font-size: 12.5px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.fab-whatsapp:hover .fab-label {
  opacity: 1;
  transform: translateY(-50%) translateX(-4px);
}
.fab-label::after {
  content:'';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-left: 6px solid var(--ink);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

@media (max-width: 480px) {
  .fab-whatsapp { width: 56px; height: 56px; right: 16px; bottom: 16px; }
}

/* ===========================================================
   Reveal-on-scroll
   =========================================================== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }

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

/* ===========================================================
   FAQ
   =========================================================== */
.faq {
  background: var(--cream-2);
  padding-top: var(--pad-section);
  padding-bottom: var(--pad-section);
  position: relative;
  overflow: hidden;
}
.faq::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 40%, var(--gold) 60%, transparent);
  opacity: .22;
}
.faq::after {
  content: 'FAQ';
  position: absolute;
  right: -24px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  font-family: var(--font-display);
  font-size: 200px;
  font-weight: 700;
  color: var(--ink);
  opacity: .025;
  letter-spacing: -0.04em;
  pointer-events: none;
  user-select: none;
}

.faq-header {
  margin-bottom: clamp(48px, 6vw, 80px);
}
.faq-header-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: end;
}
.faq-header h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.012em;
  margin: 0;
  color: var(--ink);
}
.faq-header h2 em {
  font-style: italic;
  color: var(--gold-deep);
}
.faq-header p {
  font-size: 17px;
  line-height: 1.58;
  color: var(--ink);
  opacity: .72;
  margin: 0;
  max-width: 480px;
}

@media (max-width: 860px) {
  .faq-header-grid { grid-template-columns: 1fr; }
}

/* ---- Accordion ---- */
.faq-list {
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background-color .4s var(--ease);
}
.faq-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--gold);
  opacity: 0;
  transform: scaleY(0);
  transform-origin: top;
  transition: opacity .35s var(--ease), transform .45s var(--ease);
}
.faq-item.open {
  background: rgba(255,255,255,.52);
}
.faq-item.open::before {
  opacity: 1;
  transform: scaleY(1);
}

.faq-head {
  display: grid;
  grid-template-columns: 52px 1fr 44px;
  align-items: center;
  gap: 20px;
  padding: 26px 0 26px 16px;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: padding .35s var(--ease);
}
.faq-item.open .faq-head {
  padding-bottom: 16px;
}

.faq-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--gold-deep);
  font-weight: 500;
  line-height: 1;
  transition: color .3s var(--ease);
}
.faq-item.open .faq-num {
  color: var(--gold);
}

.faq-question {
  font-family: var(--font-display);
  font-size: clamp(19px, 1.9vw, 27px);
  font-weight: 500;
  line-height: 1.22;
  color: var(--ink);
  letter-spacing: -0.005em;
  transition: color .3s var(--ease);
}
.faq-item.open .faq-question {
  color: var(--ink);
}

/* Pure-CSS plus/minus icon — no SVG sizing issues */
.faq-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(14,27,46,.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  justify-self: end;
  position: relative;
  transition: background .3s var(--ease), border-color .3s var(--ease);
  background: transparent;
}
.faq-item.open .faq-icon {
  background: var(--ink);
  border-color: var(--ink);
}

.faq-icon-bar {
  position: absolute;
  background: var(--ink);
  border-radius: 2px;
  transition: background .3s var(--ease), transform .4s var(--ease), opacity .3s var(--ease);
}
.faq-icon-h {
  width: 14px;
  height: 1.5px;
}
.faq-icon-v {
  width: 1.5px;
  height: 14px;
}
.faq-item.open .faq-icon-bar {
  background: var(--cream);
}
.faq-item.open .faq-icon-v {
  transform: rotate(90deg);
  opacity: 0;
}

/* ---- Body / Answer ---- */
.faq-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .48s var(--ease);
}
.faq-item.open .faq-body {
  grid-template-rows: 1fr;
}
.faq-body > div {
  overflow: hidden;
}

.faq-answer {
  padding: 0 0 32px 88px;
}
.faq-answer p {
  margin: 0;
  font-size: 16px;
  line-height: 1.76;
  color: var(--ink);
  opacity: .8;
  max-width: 680px;
}

/* ---- CTA bottom ---- */
.faq-cta {
  margin-top: clamp(52px, 7vw, 88px);
  padding-top: 40px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.faq-cta p {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  opacity: .7;
  margin: 0;
  font-style: italic;
}

@media (max-width: 760px) {
  .faq-head {
    grid-template-columns: 36px 1fr 40px;
    gap: 14px;
    padding: 22px 0 22px 12px;
  }
  .faq-answer { padding-left: 50px; }
  .faq-cta { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (max-width: 480px) {
  .faq-head {
    grid-template-columns: 28px 1fr 36px;
    gap: 12px;
    padding: 20px 0 20px 8px;
  }
  .faq-answer { padding-left: 40px; }
  .faq::after { display: none; }
}

/* ===========================================================
   PALETTE VARIANTS
   =========================================================== */
body[data-palette="charcoal"] {
  --ink:        #1A1A1A;
  --ink-2:      #242424;
  --ink-3:      #2E2E2E;
  --ink-line:   #3A3A3A;
  --gold:       #B07A4A;
  --gold-soft:  #C99670;
  --gold-deep:  #8C5F36;
  --cream:      #F2EDE6;
  --cream-2:    #E5DDD0;
  --line:       rgba(26,26,26,.12);
  --line-soft:  rgba(26,26,26,.07);
  --line-gold:  rgba(176,122,74,.35);
}
body[data-palette="indigo"] {
  --ink:        #1B1F3A;
  --ink-2:      #262B4B;
  --ink-3:      #313760;
  --ink-line:   #3E4670;
  --gold:       #BFAA80;
  --gold-soft:  #D2BF99;
  --gold-deep:  #9C8862;
  --cream:      #F5F2EC;
  --cream-2:    #E8E2D6;
  --line:       rgba(27,31,58,.12);
  --line-soft:  rgba(27,31,58,.07);
  --line-gold:  rgba(191,170,128,.35);
}

/* CTA color variants */
body[data-cta="gold"] {
  --cta:        var(--gold);
  --cta-hover:  var(--gold-deep);
  --cta-ring:   rgba(200,169,106,.3);
}
body[data-cta="gold"] .btn-primary { color: var(--ink); font-weight: 600; }
body[data-cta="gold"] .fab-whatsapp {
  color: var(--ink);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.4),
    inset 0 -1px 0 rgba(0,0,0,.16),
    0 1px 0 rgba(0,0,0,.04),
    0 14px 32px -10px rgba(200,169,106,.55),
    0 2px 6px rgba(0,0,0,.08);
}
body[data-cta="gold"] .fab-whatsapp:hover {
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.5),
    inset 0 -1px 0 rgba(0,0,0,.2),
    0 22px 44px -12px rgba(200,169,106,.6),
    0 4px 10px rgba(0,0,0,.1);
}
body[data-cta="gold"] .fab-whatsapp svg { filter: drop-shadow(0 1px 0 rgba(0,0,0,.1)); }
body[data-cta="gold"] .btn-wa-premium {
  color: var(--ink);
  background: var(--gold);
  border-color: rgba(0,0,0,.08);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.4),
    0 1px 0 rgba(0,0,0,.06),
    0 10px 24px -10px rgba(200,169,106,.5);
}
body[data-cta="gold"] .btn-wa-premium:hover {
  background: var(--gold-deep);
  color: #fff;
}
body[data-cta="gold"] .btn-wa-label { font-weight: 600; letter-spacing: 0.01em; }
body[data-cta="gold"] .btn-wa-sub { opacity: .85; color: var(--ink); font-weight: 500; }
body[data-cta="gold"] .btn-wa-premium:hover .btn-wa-sub { color: rgba(255,255,255,.85); }
body[data-cta="gold"] .btn-wa-icon { opacity: 1; }
body[data-cta="gold"] .btn-wa-arrow svg { opacity: 1; }
body[data-cta="gold"] .fab-whatsapp::before { box-shadow: 0 0 0 0 rgba(200,169,106,.55); animation-name: fab-pulse-gold; }
@keyframes fab-pulse-gold {
  0% { box-shadow: 0 0 0 0 rgba(200,169,106,.55); }
  70% { box-shadow: 0 0 0 18px rgba(200,169,106,0); }
  100% { box-shadow: 0 0 0 0 rgba(200,169,106,0); }
}
body[data-cta="ink"] {
  --cta:        var(--ink);
  --cta-hover:  var(--ink-2);
  --cta-ring:   rgba(14,27,46,.3);
}

/* Density */
body[data-density="dense"] {
  --pad-section: clamp(56px, 6vw, 100px);
  --pad-section-tight: clamp(40px, 5vw, 72px);
}

/* ===========================================================
   MOBILE — Comprehensive responsive pass
   =========================================================== */

/* Tablet (≤ 860px) — already partially handled inline */
@media (max-width: 860px) {
  :root {
    --pad-section: clamp(56px, 8vw, 96px);
  }
  .urgency-bar { font-size: 12px; }
  .urgency-bar .container {
    gap: 10px;
    padding-top: 9px;
    padding-bottom: 9px;
  }
}

/* Small phones / large phones (≤ 640px) */
@media (max-width: 640px) {
  :root {
    --container: 100%;
    --pad-section: 64px;
    --pad-section-tight: 44px;
  }
  body { font-size: 16px; }
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* Urgency bar */
  .urgency-bar {
    font-size: 11.5px;
    letter-spacing: 0;
  }
  .urgency-bar .container {
    flex-wrap: nowrap;
    text-align: left;
    align-items: flex-start;
    gap: 10px;
  }
  .urgency-bar .pulse-dot {
    margin-top: 6px;
    flex-shrink: 0;
  }

  /* Nav */
  .nav-inner { gap: 12px; padding-top: 14px; padding-bottom: 14px; align-items: center; }
  .brand-mark { font-size: 18px; }
  .brand-sub { display: none !important; }
  .nav .brand-sub {
    display: block !important;
    font-size: 8.5px !important;
    letter-spacing: 0.16em !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: clip !important;
    max-width: 90px !important;
  }
  .nav-cta .btn { padding: 12px 16px; font-size: 13px; }

  /* Mobile menu */
  .mobile-menu-list a { font-size: 26px; padding: 12px 0; }

  /* Hero */
  .hero { padding-top: 40px; padding-bottom: 56px; }
  .hero-grid { gap: 20px; }
  .hero h1 {
    font-size: clamp(32px, 8.6vw, 44px);
    line-height: 1.04;
    margin-bottom: 20px;
  }
  .hero h1 em::after { bottom: 4px; height: 6px; }
  .hero-sub {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 28px;
  }
  .hero-meta { font-size: 10px; letter-spacing: 0.18em; margin-bottom: 22px; }
  .hero-meta .bar { width: 24px; }
  .hero-actions { gap: 10px; flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .hero-actions .btn-lg { padding: 16px 20px; font-size: 14px; }
  /* Credentials — card premium mobile (Opção A) */
  .hero-credentials {
    flex-direction: column !important;
    gap: 0 !important;
    margin-top: 28px !important;
    padding: 0 !important;
    border-top: none !important;
    background: var(--cream) !important;
    border: 1px solid rgba(200, 169, 106, 0.25) !important;
    border-top: 2px solid var(--gold) !important;
    border-radius: 10px !important;
    overflow: hidden !important;
  }
  .hero-credentials .cred {
    flex: none !important;
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 12px !important;
    padding: 12px 16px !important;
    border-bottom: 1px solid rgba(200, 169, 106, 0.15) !important;
  }
  .hero-credentials .cred:last-child {
    border-bottom: none !important;
  }
  .hero-credentials .cred-label {
    font-size: 9px !important;
    font-weight: 600 !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
    color: var(--gold-deep) !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    padding-top: 2px !important;
  }
  .hero-credentials .cred-value {
    font-size: 13px !important;
    font-family: var(--font-ui) !important;
    font-weight: 500 !important;
    color: var(--ink) !important;
    text-align: right !important;
    line-height: 1.4 !important;
  }

  /* Texto primeiro, foto depois */
  .hero-text-top { order: 1 !important; }
  .hero-portrait-wrap { order: 2 !important; }
  .hero-text-bottom { order: 3 !important; }

  .hero-portrait-wrap {
    max-width: min(86%, 340px) !important;
    width: 100% !important;
    margin: 0 auto !important;
    overflow: hidden !important;
    min-height: 0 !important;
  }
  .hero-portrait-wrap::before { display: none !important; }
  .hero-portrait-wrap::after { display: none !important; }
  .hero-portrait {
    aspect-ratio: 3/4 !important;
    overflow: hidden !important;
    border-radius: 4px !important;
    min-height: 0 !important;
  }
  .hero-portrait img {
    object-fit: cover !important;
    object-position: center top !important;
    width: 100% !important;
    height: 100% !important;
  }
  /* Label vertical — ocultar */
  .hero-portrait-tag { display: none !important; }

  .hero-grid-lines { display: none; }

  /* Pain */
  .pain { padding-top: var(--pad-section); padding-bottom: var(--pad-section); }
  .pain-lede { font-size: clamp(26px, 6vw, 34px); }
  .pain-body p { font-size: 15px; }
  .pain-solutions {
    margin-top: 36px;
    border-top-width: 1px;
  }
  .pain-solution {
    padding: 28px 0 28px;
  }
  .pain-solution h3 { font-size: 22px; }
  .pain-solution .num { font-size: 10.5px; letter-spacing: 0.2em; }

  /* Section ridges on mobile */
  .section-ridge { font-size: 10.5px; gap: 10px; margin-bottom: 20px; }
  .section-ridge .bar { width: 24px; }

  /* Areas */
  .areas-header { margin-bottom: 40px; }
  .areas-header h2 { font-size: clamp(28px, 7vw, 40px); }
  .areas-header p { font-size: 15px; }

  .area-head {
    grid-template-columns: 32px 1fr 32px;
    gap: 12px;
    padding: 20px 0;
  }
  .area-num { font-size: 10.5px !important; }
  .area-title { font-size: clamp(20px, 5vw, 26px) !important; }
  .area-toggle {
    width: 32px !important;
    height: 32px !important;
  }
  .area-body-inner {
    grid-template-columns: 1fr !important;
    padding: 0 0 28px !important;
  }
  .area-body-inner .spacer { display: none; }
  .area-body-inner p { font-size: 15px; }
  .area-body-inner ul li { font-size: 14px; }

  /* About */
  .about-text h2 { font-size: clamp(32px, 8vw, 44px); }
  .about-text .role { font-size: 10.5px; margin-bottom: 24px; }
  .about-text p { font-size: 15.5px; line-height: 1.65; }
  .about-credentials { grid-template-columns: 1fr 1fr; }
  .about-cred .cred-value { font-size: 16px; }

  .about-portrait-wrap {
    max-width: min(78%, 320px);
    margin: 16px auto 0;
  }
  .about-portrait-wrap::before { transform: translate(-10px, -10px); }
  .about-portrait-wrap::after { display: none; }
  .about-portrait { aspect-ratio: 4/5; }
  .about-frame-tag { font-size: 9px; }

  /* Process */
  .process-header { margin-bottom: 40px; }
  .process-header h2 { font-size: clamp(28px, 7vw, 38px); }
  .process-header p { font-size: 15px; }
  .process-steps { grid-template-columns: 1fr; }
  .process-step { padding: 28px 24px 32px; }
  .process-step .step-num { font-size: 40px; margin-bottom: 16px; }
  .process-step h3 { font-size: 22px; }
  .process-step p { font-size: 14.5px; }
  .process-step .step-arrow {
    right: 50%; top: auto; bottom: -10px;
    transform: translateX(50%) rotate(90deg);
    width: 20px; height: 20px;
  }

  /* Final CTA */
  .final-cta .container {
    padding-top: 72px;
    padding-bottom: 72px;
  }
  .final-cta h2 { font-size: clamp(32px, 8.4vw, 44px); margin-bottom: 18px; }
  .final-cta p { font-size: 16px; margin-bottom: 28px; }
  .final-cta .actions { flex-direction: column; align-items: stretch; }
  .final-cta .actions .btn { justify-content: center; }

  /* Footer */
  .footer { padding-top: 56px; }
  .footer-grid { gap: 32px; padding-bottom: 32px; }
  .footer-brand p { font-size: 14px; }
  .footer-legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    font-size: 9.5px;
  }

  /* FAB — acima da barra do Safari iOS */
  .fab-whatsapp {
    right: 16px;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 80px);
    width: 54px;
    height: 54px;
  }
  .fab-whatsapp svg { width: 26px; height: 26px; }
  .fab-label { display: none; }
}

/* ── iPhone 14/15 Pro e phones modernos (≤ 430px) ── */
@media (max-width: 430px) {
  /* 1. NAVBAR — Uma linha */
  .nav-inner {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    align-items: center !important;
    min-height: 0 !important;
  }
  .brand { min-width: 0 !important; flex: 1 !important; overflow: hidden !important; }
  .brand-mark { font-size: 16px !important; white-space: nowrap !important; }
  .brand-sub { display: none !important; }
  .nav .brand-sub { display: block !important; }
  .nav-cta { flex-shrink: 0 !important; gap: 8px !important; }

  /* 2. FOTO HERO — enquadramento sem overflow */
  .hero-portrait-wrap {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto !important;
    overflow: hidden !important;
    border-radius: 4px !important;
    min-height: 0 !important;
  }
  .hero-portrait {
    aspect-ratio: 3/4 !important;
    width: 100% !important;
    overflow: hidden !important;
    min-height: 0 !important;
  }
  .hero-portrait img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
  }

  /* 3. LABEL VERTICAL */
  .hero-portrait-tag { display: none !important; }

  /* 4. GAP e ordem */
  .hero-grid { gap: 20px 0 !important; }
  .hero-sub { margin-bottom: 20px !important; }
  .hero-text-top { order: 1 !important; }
  .hero-portrait-wrap { order: 2 !important; }
  .hero-text-bottom { order: 3 !important; }
  .hero-credentials { margin-top: 20px !important; }
  .hero-credentials .cred { padding: 10px 14px !important; }

  /* 5. FAB — acima da barra do Safari iOS */
  .fab-whatsapp {
    bottom: calc(env(safe-area-inset-bottom, 0px) + 80px) !important;
    right: 14px !important;
    width: 52px !important;
    height: 52px !important;
  }
  .fab-whatsapp svg { width: 24px !important; height: 24px !important; }
}

/* Very small phones (≤ 380px) */
@media (max-width: 380px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .urgency-bar { font-size: 11px; }
  .urgency-bar strong { display: block; }
  .nav-inner { padding-top: 12px; padding-bottom: 12px; }
  .brand-mark { font-size: 16px; }
  .brand-sub { display: none; }
  .nav-cta .btn { padding: 10px 14px; font-size: 12.5px; }
  .nav-cta .btn .btn-text { display: none; }

  .hero h1 { font-size: 30px; }
  .hero-credentials { gap: 16px 20px; }
  .hero-credentials .cred { flex-basis: 100%; }

  .pain-lede { font-size: 24px; }
  .areas-header h2 { font-size: 26px; }
  .about-text h2 { font-size: 30px; }
  .about-credentials { grid-template-columns: 1fr; }
  .process-header h2 { font-size: 26px; }
  .final-cta h2 { font-size: 30px; }
}

/* Landscape phones — reduce vertical padding */
@media (max-width: 860px) and (orientation: landscape) and (max-height: 500px) {
  .hero { padding-top: 32px; padding-bottom: 48px; }
  :root { --pad-section: 52px; }
}

