/* ==========================================================================
   Kassia Dias — design system
   Shared by / and /brasileiras-exterior.

   Palette and typography are lifted from the reference site's Elementor
   globals, so this matches the existing brand rather than inventing one:
     --e-global-color-primary   #F6F6F6   → --sand
     --e-global-color-secondary #776154   → --brown
     --e-global-color-accent    #694E3F   → --brown-dark
                                #EDE0D4   → --sand-warm
                                #BD8464   → --terracotta
                                #293B45   → --slate
   Fonts: Karla (body) + Barlow Condensed (headings), self-hosted below.

   Fonts are self-hosted rather than pulled from fonts.googleapis.com: a
   third-party connection on the critical path of a paid-traffic landing
   page costs real conversion, and the reference site self-hosts too.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Fonts. font-display:swap so text paints immediately in the fallback and
   never blocks the hero — the tracking scripts run in <head> regardless.
   Karla ships as a variable font, so one file covers 400–700.
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/karla-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/karla-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal; font-weight: 500; font-display: swap;
  src: url('fonts/barlow-condensed-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal; font-weight: 500; font-display: swap;
  src: url('fonts/barlow-condensed-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal; font-weight: 600; font-display: swap;
  src: url('fonts/barlow-condensed-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal; font-weight: 600; font-display: swap;
  src: url('fonts/barlow-condensed-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal; font-weight: 700; font-display: swap;
  src: url('fonts/barlow-condensed-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal; font-weight: 700; font-display: swap;
  src: url('fonts/barlow-condensed-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --------------------------------------------------------------------------
   Tokens
   -------------------------------------------------------------------------- */
:root {
  --sand:        #F6F6F6;
  --sand-warm:   #EDE0D4;
  --terracotta:  #BD8464;
  --brown:       #776154;
  --brown-dark:  #694E3F;
  --slate:       #293B45;
  --slate-2:     #354E5B;

  --ink:         #3A3029;
  --ink-soft:    #6B6058;
  --ink-mute:    #A1A1A1;
  --line:        #E4DAD0;
  --white:       #FFFFFF;

  --serif-alt:   'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body:        'Karla', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius:      6px;
  --radius-lg:   14px;
  --shadow:      0 2px 8px rgba(58, 48, 41, .06), 0 12px 32px rgba(58, 48, 41, .07);
  --shadow-cta:  0 2px 6px rgba(105, 78, 63, .22), 0 10px 24px rgba(105, 78, 63, .20);

  --wrap:        68rem;
  --wrap-narrow: 46rem;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--serif-alt);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: .005em;
  color: var(--brown-dark);
  margin: 0 0 1rem;
  text-wrap: balance;
}

h1 { font-size: clamp(2.25rem, 5.4vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); }

p { margin: 0 0 1.15rem; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; color: var(--ink); }
em { font-style: italic; }

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 1.5rem; }
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); position: relative; }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--sand { background: var(--sand-warm); }
.section--white { background: var(--white); }

/* Interstício escuro — mesma cor sólida da seção "O que a terapia faz" */
.section--linen {
  background: var(--mauve);
  color: var(--white);
}
.section--linen h2, .section--linen h3 { color: var(--white); }
.section--linen h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }

.center { text-align: center; }
.center .lead, .center p { margin-inline: auto; }

.eyebrow {
  font-family: var(--serif-alt);
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin: 0 0 1rem;
}
.section--linen .eyebrow { color: var(--sand-warm); }

.lead { font-size: 1.125rem; color: var(--ink-soft); max-width: 40rem; }
.note { font-size: .9375rem; color: var(--ink-mute); font-style: italic; }

.badge {
  display: inline-block;
  font-family: var(--serif-alt);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brown);
  background: var(--sand-warm);
  border-radius: 999px;
  padding: .5rem 1.125rem;
}

/* --------------------------------------------------------------------------
   Header / footer
   -------------------------------------------------------------------------- */
.site-header {
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--line);
  background: var(--sand);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand {
  font-family: var(--serif-alt);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--brown-dark);
  text-decoration: none;
}
.brand span { display: block; font-size: .75rem; font-weight: 500; letter-spacing: .2em; color: var(--terracotta); }

.site-footer {
  background: var(--slate);
  color: rgba(255,255,255,.72);
  padding-block: 2.5rem;
  font-size: .9375rem;
}
.site-footer a { color: var(--sand-warm); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: .75rem 2rem; align-items: center; justify-content: space-between; }
/* Crédito da agência — força quebra pra linha própria (flex-basis:100%),
   abaixo de um fio separador, discreto em relação ao resto do rodapé. */
.site-footer__credit {
  flex-basis: 100%; align-self: stretch;
  text-align: center;
  font-size: .8125rem;
  color: rgba(255,255,255,.45);
  padding-top: 1rem; margin-top: .25rem;
  border-top: 1px solid rgba(255,255,255,.12);
}
.site-footer__credit a { color: rgba(255,255,255,.65); text-decoration: underline; text-underline-offset: 2px; }
.site-footer__credit a:hover, .site-footer__credit a:focus-visible { color: var(--sand-warm); }

/* --------------------------------------------------------------------------
   CTA button
   Brand brown rather than WhatsApp green: the glyph plus the explicit label
   already signal the destination, and the reference site is brand-led.
   -------------------------------------------------------------------------- */
.btn-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .625rem;
  font-family: var(--serif-alt);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
  background: linear-gradient(180deg, var(--brown) 0%, var(--brown-dark) 100%);
  border: 0;
  border-radius: var(--radius);
  padding: 1rem 1.875rem;
  box-shadow: var(--shadow-cta);
  cursor: pointer;
  transition: transform .08s ease, filter .18s ease, box-shadow .18s ease;
  text-align: center;
}
.btn-wa:hover { filter: brightness(1.07); box-shadow: 0 4px 10px rgba(105,78,63,.26), 0 14px 30px rgba(105,78,63,.24); }
.btn-wa:active { transform: translateY(1px); }
.btn-wa:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 3px; }
.btn-wa svg { width: 1.25rem; height: 1.25rem; fill: currentColor; flex: none; }

.section--linen .btn-wa {
  background: linear-gradient(180deg, var(--sand-warm) 0%, #DFCDBB 100%);
  color: var(--brown-dark);
}

.cta-stack { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
/* Cobre os dois usos no site: .center como ancestral, e como classe
   combinada no próprio elemento (<div class="cta-stack center">). */
.center .cta-stack, .cta-stack.center { align-items: center; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero { padding-block: clamp(3rem, 7vw, 5.5rem); }
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero__media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  width: 100%;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   Media + text rows (alternating)
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; }

/* --------------------------------------------------------------------------
   Lists and cards
   -------------------------------------------------------------------------- */
.ticks { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: .875rem; }
.ticks li { position: relative; padding-left: 2rem; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: .6em;
  width: .625rem; height: .625rem;
  border-radius: 999px;
  background: var(--terracotta);
}
.section--linen .ticks li::before { background: var(--sand-warm); }

.cards { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}
.card h3 { margin-bottom: .5rem; font-size: 1.25rem; color: var(--brown-dark); }
.card p { color: var(--ink-soft); font-size: 1rem; margin: 0; }

/* Feature trio (how the session works) */
.features { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.feature {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: 0 1px 1px rgba(58,48,41,.05), 0 10px 28px rgba(58,48,41,.07);
}
.feature__icon {
  display: flex; align-items: center; justify-content: center;
  width: 4.5rem; height: 4.5rem;
  margin: 0 auto 1.25rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--terracotta);
}
.feature__icon svg {
  width: 2.375rem; height: 2.375rem;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.feature h3 { font-size: 1.2rem; margin-bottom: .375rem; }
.feature p { font-size: 1rem; color: var(--ink-soft); margin: 0; }

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.about__photo img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; }
.creds { list-style: none; margin: 0 0 1.25rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.creds li {
  font-family: var(--serif-alt);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brown);
  background: var(--sand-warm);
  border-radius: 999px;
  padding: .375rem 1rem;
}

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */
.section--testimonials {
  background: var(--sand-warm) url('depo-bg.webp') center / cover no-repeat;
}
.quotes { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.quote {
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(2px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.quote p { font-size: 1rem; color: var(--ink-soft); margin: 0; }
.quote cite {
  font-family: var(--serif-alt);
  font-style: normal;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .875rem;
  color: var(--brown);
}

/* --------------------------------------------------------------------------
   FAQ — native <details>, so it needs no JavaScript and can never interfere
   with the tracking path.
   -------------------------------------------------------------------------- */
.faq { display: grid; gap: .75rem; }
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.125rem 3rem 1.125rem 1.5rem;
  font-family: var(--serif-alt);
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--brown-dark);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 1.5rem; top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--terracotta);
  transition: transform .18s ease;
}
.faq details[open] summary::after { content: "–"; }
.faq summary:focus-visible { outline: 3px solid var(--terracotta); outline-offset: -3px; }
.faq .faq__body { padding: 0 1.5rem 1.375rem; color: var(--ink-soft); font-size: 1rem; }

/* --------------------------------------------------------------------------
   Closing CTA band
   -------------------------------------------------------------------------- */
.closing { text-align: center; }
.closing .ticks { justify-items: center; display: inline-grid; text-align: left; margin-bottom: 2rem; }

.logo-mark { width: 8rem; margin: 0 auto 1.5rem; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 880px) {
  .hero__grid, .split, .about { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .hero__media, .split__media { max-width: 32rem; margin-inline: auto; }
  .about__photo { max-width: 20rem; margin-inline: auto; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .btn-wa { width: 100%; }
  .cta-stack { align-items: stretch; }
  .card, .quote { padding: 1.375rem; }
  .site-footer .wrap { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ==========================================================================
   PRISMO LAYER — layout, navegação e efeitos adaptados do template OriginKit
   "Prismo". Recriado em CSS limpo (sem o runtime Framer).

   Valores extraídos do export do Prismo:
     nav       container 1200px → 1050px + blur ao rolar
     entrada   translateY(80px) scale(.9) opacity 0 → identidade
     easing    cubic-bezier(.16, 1, .3, 1)   (Framer tween)
     hover     cubic-bezier(.44, 0, .56, 1)
     eyebrow   pill radius 100px, borda 1px, fundo translúcido
     ruído     mix-blend-mode overlay, opacity .07
     gradiente 4 cores (#ff2f2f #ef7b16 #8a43e1 #d511fd) como círculos de
               207px com blur(200px), espelhados nos dois lados do hero
     faixas    24 blocos verticais, backdrop-blur(25px), border-right 1px
               rgba(255,255,255,.1), linear-gradient(270deg,#f2f0ee33,#f2f0ee00)

   Todas as cores acima foram reescritas na paleta da marca.
   Para reverter: apague daqui até o fim do arquivo.
   ========================================================================== */

/* --- Noto Sans italic 300 (self-hosted, first-party) --------------------- */
@font-face {
  font-family: 'Noto Sans';
  font-style: italic; font-weight: 300; font-display: swap;
  src: url('fonts/noto-sans-300-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Noto Sans';
  font-style: italic; font-weight: 300; font-display: swap;
  src: url('fonts/noto-sans-300-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
                 U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
                 U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --title:  'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --nav-h:  4.5rem;
  --ease-prismo: cubic-bezier(.16, 1, .3, 1);
  --ease-hover:  cubic-bezier(.44, 0, .56, 1);
  --grad-brand: linear-gradient(90deg,
                  #BD8464 0%, #D9A882 35.9%, #776154 69.9%, #293B45 100%);
  --mauve: #877064; /* #967D6F escurecido em 10% — fundo compartilhado entre seções */
}

/* --- Títulos: Noto Sans, italic, 300 ------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--title);
  font-style: italic;
  font-weight: 300;
  letter-spacing: -.005em;
  line-height: 1.16;
}
h1 { font-weight: 300; }

/* --- Navegação flutuante ------------------------------------------------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding-block: .75rem;
  border-bottom: 0;
  background: transparent;
  transition: padding-block .4s var(--ease-prismo);
}
.site-header .wrap {
  position: relative;
  max-width: 75rem;
  border-radius: 999px;
  padding: .4rem .5rem .4rem 1rem;
  border: 1px solid transparent;
  background: transparent;
  gap: 1rem;
  transition:
    max-width .4s var(--ease-prismo), background .4s var(--ease-prismo),
    border-color .4s var(--ease-prismo), box-shadow .4s var(--ease-prismo),
    backdrop-filter .4s var(--ease-prismo);
}
.site-header.is-scrolled { padding-block: .5rem; }
.site-header.is-scrolled .wrap {
  max-width: 65.625rem;
  background: rgba(246, 246, 246, .74);
  border-color: var(--line);
  box-shadow: 0 1px 2px rgba(58,48,41,.04), 0 8px 24px rgba(58,48,41,.07);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
          backdrop-filter: blur(14px) saturate(140%);
}
.site-header.is-scrolled .wrap::before {
  content: "";
  position: absolute; left: 12%; right: 12%; top: -1px; height: 1px;
  background: var(--grad-brand); opacity: .55; border-radius: 999px;
}

.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 2.25rem; width: auto; }

.nav-links { display: flex; align-items: center; gap: .125rem; }
.nav-links a:not(.btn-wa) {
  font-family: var(--serif-alt);
  font-size: .9375rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; color: var(--ink-soft);
  padding: .5rem .6875rem; border-radius: 8px;
  white-space: nowrap;
  transition: color .4s var(--ease-hover), background .4s var(--ease-hover);
}
.nav-links a:not(.btn-wa):hover,
.nav-links a:not(.btn-wa):focus-visible { color: var(--brown-dark); background: rgba(189,132,100,.1); }
.nav-links a:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 2px; }
.nav-cta { margin-left: .5rem; padding: .625rem 1.125rem; font-size: .875rem; border-radius: 999px; }

/* Nav sobre hero escuro (Brasileiras no Exterior): texto e hambúrguer claros
   enquanto a nav está no estado flutuante (não rolada) sobre o mauve. Assim
   que rola e o fundo da pill vira claro/blur, volta ao esquema padrão —
   por isso escopado com :not(.is-scrolled). */
body.theme-dark-hero .site-header:not(.is-scrolled) .nav-links a:not(.btn-wa) {
  color: #FFFFFF;
}
body.theme-dark-hero .site-header:not(.is-scrolled) .nav-links a:not(.btn-wa):hover,
body.theme-dark-hero .site-header:not(.is-scrolled) .nav-links a:not(.btn-wa):focus-visible {
  color: #FFFFFF;
  background: rgba(255,255,255,.16);
}
body.theme-dark-hero .site-header:not(.is-scrolled) .nav-toggle {
  border-color: rgba(255,255,255,.4);
}
body.theme-dark-hero .site-header:not(.is-scrolled) .nav-toggle span {
  background: #FFFFFF;
}

.nav-toggle {
  display: none; flex: none; width: 2.75rem; height: 2.75rem;
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line);
  border-radius: 999px; cursor: pointer; padding: 0;
}
.nav-toggle span {
  display: block; width: 1.125rem; height: 2px; border-radius: 2px;
  background: var(--brown-dark);
  transition: transform .3s var(--ease-prismo), opacity .2s linear;
}
.nav-toggle span + span { margin-top: 4px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --- Gradiente da marca no CTA (mecânica do Prismo: glow no hover) ------- */
.btn-wa { position: relative; overflow: hidden; isolation: isolate; }
.btn-wa::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--grad-brand); opacity: 0;
  transition: opacity .45s var(--ease-hover);
}
.btn-wa:hover::before, .btn-wa:focus-visible::before { opacity: .85; }

/* --- Hero ---------------------------------------------------------------- */
.hero {
  padding-top: calc(var(--nav-h) + clamp(2rem, 5vw, 4rem));
  padding-bottom: clamp(2.5rem, 6vw, 5rem);
  position: relative; isolation: isolate; overflow: hidden;
}
.hero::after {           /* textura de ruído, SVG inline (sem asset externo) */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='128' height='128'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='128' height='128' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Fundo do hero — reconstrução do "Background" do Prismo.
   Os círculos borrados viram radial-gradients: mesmo resultado visual,
   sem o custo de filter:blur(200px) em 8 elementos. */
.hero__bg {
  position: absolute;
  top: 0; left: -7.5rem; right: -7.5rem; height: 64rem;
  z-index: -2; pointer-events: none;
  background-color: var(--sand);
  background-image:
    radial-gradient(circle at 7%   6%, rgba(217,168,130,.62) 0, transparent 42%),
    radial-gradient(circle at 2%  20%, rgba(189,132,100,.58) 0, transparent 42%),
    radial-gradient(circle at 0%  42%, rgba(119,97,84,.42)   0, transparent 42%),
    radial-gradient(circle at 5%  62%, rgba(41,59,69,.34)    0, transparent 42%),
    radial-gradient(circle at 93%  6%, rgba(217,168,130,.62) 0, transparent 42%),
    radial-gradient(circle at 98% 20%, rgba(189,132,100,.58) 0, transparent 42%),
    radial-gradient(circle at 100% 42%,rgba(119,97,84,.42)   0, transparent 42%),
    radial-gradient(circle at 95% 62%, rgba(41,59,69,.34)    0, transparent 42%);
  -webkit-mask: linear-gradient(0deg, transparent 0%, #000 37%);
          mask: linear-gradient(0deg, transparent 0%, #000 37%);
}
/* 24 faixas verticais, replicadas num único gradiente repetido */
.hero__bg::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.30) 0 1px, transparent 1px),
    linear-gradient(270deg, rgba(246,246,246,.24), rgba(246,246,246,0));
  background-size: calc(100% / 24) 100%;
  background-repeat: repeat-x;
  -webkit-backdrop-filter: blur(25px);
          backdrop-filter: blur(25px);
}
/* Scrim do topo — a camada "BG" do Prismo, que limpa a área da nav */
.hero__bg::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 26rem;
  background: linear-gradient(180deg, var(--sand) 0%, rgba(246,246,246,0) 100%);
}

.hero__grid {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: clamp(1.75rem, 4vw, 2.5rem);
  max-width: 77.5rem; margin-inline: auto;
}
.hero__copy { max-width: 56.25rem; margin-inline: auto; }
.hero__copy p { max-width: 44rem; margin-inline: auto; }
.hero .cta-stack { align-items: center; }
/* Contraste: --ink-mute (#A1A1A1) reprovava em WCAG sobre o fundo claro */
.hero .note  { color: var(--ink-soft); }
.hero .badge { color: var(--brown-dark); }

.hero__copy strong {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  font-weight: 700;
}

/* Eyebrow: apenas texto — sem pill, sem marcador */
.hero .eyebrow {
  display: block;
  margin-bottom: 1.25rem;
  letter-spacing: .18em;
}

/* "Atendimento 100% online": caixa com fios superior e inferior */
.badge {
  display: block;
  align-self: stretch;
  width: 100%;
  background: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: .875rem 1rem;
  text-align: center;
  color: var(--terracotta);
  letter-spacing: .22em;
}
.section--linen .badge { border-color: rgba(255,255,255,.28); color: var(--sand-warm); }

/* Kassia.png já traz moldura e fundo transparente — sem raio nem sombra */
.split__media--framed img { border-radius: 0; box-shadow: none; }

/* Efeitos de scroll na imagem — zoom e deslocamento horizontal combinados
   num único transform, para não brigarem entre si. */
[data-zoom], [data-shift] {
  transform: translateX(var(--shift, 0px)) scale(var(--zoom, 1));
  transform-origin: center center;
  will-change: transform;
}

/* --- Entrada em cascata (appear) ----------------------------------------- */
.js [data-appear] {
  opacity: 0; transform: translateY(80px) scale(.9);
  transition:
    opacity 1.6s var(--ease-prismo) var(--appear-delay, 0s),
    transform 1.6s var(--ease-prismo) var(--appear-delay, 0s);
  will-change: opacity, transform;
}
.js [data-appear].is-in { opacity: 1; transform: none; }

[id] { scroll-margin-top: calc(var(--nav-h) + 1.5rem); }

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */
@media (max-width: 64rem) {
  .nav-toggle { display: flex; flex-direction: column; }
  .nav-links {
    position: absolute; top: calc(100% + .5rem); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: .25rem;
    background: rgba(246,246,246,.97);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
            backdrop-filter: blur(14px) saturate(140%);
    border: 1px solid var(--line); border-radius: var(--radius-lg);
    box-shadow: var(--shadow); padding: .75rem;
    opacity: 0; visibility: hidden; transform: translateY(-.5rem);
    transition: opacity .3s var(--ease-prismo), transform .3s var(--ease-prismo), visibility .3s;
  }
  .nav-links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a:not(.btn-wa) { padding: .75rem 1rem; font-size: 1rem; text-align: left; }
  .nav-cta { margin-left: 0; margin-top: .5rem; width: 100%; }

  /* O painel mobile sempre tem fundo claro, opaco, independente do scroll —
     então o texto do menu fica sempre escuro aqui, mesmo sobre hero escuro. */
  body.theme-dark-hero .site-header:not(.is-scrolled) .nav-links a:not(.btn-wa) {
    color: var(--ink-soft);
  }
  body.theme-dark-hero .site-header:not(.is-scrolled) .nav-links a:not(.btn-wa):hover,
  body.theme-dark-hero .site-header:not(.is-scrolled) .nav-links a:not(.btn-wa):focus-visible {
    color: var(--brown-dark);
    background: rgba(189,132,100,.1);
  }
}

@media (max-width: 40rem) {
  :root { --nav-h: 4rem; }
  .wrap { padding-inline: 1rem; }
  .site-header .wrap { padding: .375rem .375rem .375rem .75rem; }
  .brand img { height: 1.75rem; }

  .hero { padding-top: calc(var(--nav-h) + 1.75rem); }

  /* Mobile: o campo de 8 blobs do desktop (incluindo as manchas escuras de
     slate e brown) fecha atrás do texto numa viewport estreita e derruba a
     legibilidade. Aqui sobra só um brilho quente e suave nos cantos
     superiores, já dissolvido bem antes do corpo do texto. */
  .hero__bg {
    left: -2rem; right: -2rem; height: 44rem;
    background-image:
      radial-gradient(circle at -5% -8%,  rgba(217,168,130,.30) 0, transparent 50%),
      radial-gradient(circle at 6% 14%,   rgba(189,132,100,.16) 0, transparent 46%),
      radial-gradient(circle at 105% -8%, rgba(217,168,130,.30) 0, transparent 50%),
      radial-gradient(circle at 94% 14%,  rgba(189,132,100,.16) 0, transparent 46%);
    -webkit-mask: linear-gradient(0deg, transparent 0%, #000 58%);
            mask: linear-gradient(0deg, transparent 0%, #000 58%);
  }
  .hero__bg::before {
    background-size: calc(100% / 10) 100%;
    -webkit-backdrop-filter: blur(14px);
            backdrop-filter: blur(14px);
  }
  .hero__bg::after { height: 18rem; }
  .hero__copy p { font-size: 1rem; }
  .hero .eyebrow { font-size: .8125rem; letter-spacing: .1em; padding: .3125rem .75rem; }
  .hero .cta-stack { width: 100%; }
  .hero .cta-stack .btn-wa { width: 100%; padding-inline: 1rem; font-size: .9375rem; }

  .split, .about { grid-template-columns: 1fr; display: block; }
  .split__media, .about__photo { margin-bottom: 1.5rem; }
  .cards, .features, .quotes { grid-template-columns: 1fr; }

  h1 { font-size: clamp(1.875rem, 8vw, 2.5rem); }
  h2 { font-size: clamp(1.625rem, 6.5vw, 2.125rem); }

  .site-footer .wrap { flex-direction: column; align-items: flex-start; gap: .5rem; }

  /* Mobile: o deslocamento na imagem vira vertical em vez de horizontal —
     não há espaço lateral sobrando numa coluna única. */
  [data-shift] { transform: translateY(var(--shift, 0px)) scale(var(--zoom, 1)); }
}

@media (prefers-reduced-motion: reduce) {
  .js [data-appear] { opacity: 1; transform: none; transition: none; }
  .site-header, .site-header .wrap, .nav-links { transition: none; }
  [data-zoom], [data-shift] { transform: none; }
}

/* --------------------------------------------------------------------------
   Showcase — réplica da seção #features ("Task Management") do Prismo.

   Prismo:  wrapper flex row, gap 60px, max-width 1240px
            coluna esquerda flex:1, column, gap 40px
            cartões flex:1, padding 16px 0, SEM borda e SEM fundo
            separadores: fios de 1px em #ded8d3  (aqui: var(--line) #E4DAD0)
            imagem flex:1, radius 20px, box-shadow 0 1px 1px #0000001a,
                   0 3px 8px #0000000d, will-change:transform
   -------------------------------------------------------------------------- */
.wrap--wide { max-width: 77.5rem; }

.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 3.75rem;
  row-gap: 2.5rem;
  align-items: center;
}
.showcase__body { display: flex; flex-direction: column; gap: 2.5rem; }
.showcase__body > * { margin: 0; }

/* Texto adicional: ocupa a largura das duas colunas */
.showcase__note { grid-column: 1 / -1; margin: 0; }

.showcase__media { position: relative; }
.showcase__media img {
  width: 100%; height: auto; display: block;
  border-radius: 20px;
  box-shadow: 0 1px 1px rgba(0,0,0,.10), 0 3px 8px rgba(0,0,0,.05);
}
/* Kassia.png já traz moldura e fundo transparente */
.showcase__media--framed img { border-radius: 0; box-shadow: none; }

/* Cartões: sem borda, sem fundo — separados por fios, como no template */
.keycards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 1.875rem;
  row-gap: 1.5rem;
}
.keycard { padding: 0; }
/* Só a divisória vertical, como no template — sem fios horizontais entre
   linhas; o espaçamento de linha vem do row-gap acima. */
.keycard:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 1.875rem; }
.keycard h3 {
  font-size: 1.0625rem;
  font-style: normal;
  font-family: var(--serif-alt);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--brown-dark);
  margin: 0 0 .375rem;
}
.keycard p { font-size: .9375rem; line-height: 1.6; color: var(--ink-soft); margin: 0; }

@media (max-width: 40rem) {
  .showcase { grid-template-columns: 1fr; }
  .showcase__media { max-width: 32rem; margin-inline: auto; }
  .keycards { grid-template-columns: 1fr; }
  .keycard { padding: 1rem 0; }
  .keycards { row-gap: 0; }
  .keycard:nth-child(odd) { border-right: 0; padding-right: 0; }
  .keycard:nth-child(n+2) { border-top: 1px solid var(--line); padding-top: 1.25rem; margin-top: 1.25rem; }
}

/* --------------------------------------------------------------------------
   Insights — réplica da seção "Industry Insights" do Prismo (#insights).

   Prismo:  card branco, borda 1px #E4DFDC, radius 16px
            tab bar: cada aba flex:1, radius 8px; inativa bg #F6F5F4 opacity .6;
                     ativa: borda em gradiente (técnica dois-fundos) + opacity 1
            painel:  coluna esquerda largura fixa (título), direita flexível
            fundo:   mesmos blobs radiais do hero, aqui mais discretos
   -------------------------------------------------------------------------- */
.wrap--insights { max-width: 62.5rem; }

.insights { position: relative; isolation: isolate; }

.insights__card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 1px 1px rgba(0,0,0,.06), 0 8px 24px rgba(58,48,41,.06);
  overflow: hidden;
}

/* Abas — clicáveis no desktop */
.insights__tabs {
  display: flex;
  gap: .625rem;
  padding: .75rem;
  border-bottom: 1px solid var(--line);
}
.insights__tab {
  flex: 1 0 0;
  padding: .8125rem .625rem;
  border: 2px solid transparent;
  border-radius: 10px;
  background: var(--sand) padding-box;
  font-family: var(--serif-alt);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-align: center;
  cursor: pointer;
  opacity: .6;
  transition: opacity .3s var(--ease-hover), background .3s var(--ease-hover), color .3s var(--ease-hover);
}
.insights__tab:hover { opacity: .85; }
.insights__tab:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 2px; }
.insights__tab.is-active {
  opacity: 1;
  color: var(--brown-dark);
  background: linear-gradient(var(--white), var(--white)) padding-box, var(--grad-brand) border-box;
}

/* Painel ativo — destaque à esquerda, texto explicativo à direita */
.insights__panels { position: relative; }
.insights__panel {
  display: none;
  gap: 2.5rem;
  padding: 2.25rem 2rem;
}
.insights__panel.is-active { display: flex; align-items: flex-start; }
.insights__highlight { flex: 0 0 16rem; }
.insights__highlight h3 { margin: 0; font-size: 1.3125rem; font-weight: 700; }
.insights__body { flex: 1; padding-top: .375rem; }
.insights__body p { margin: 0; color: var(--ink-soft); }

/* Mobile: sem abas — cada situação vira um cartão empilhado, com a aba
   original reaparecendo como rótulo no topo do cartão. */
@media (max-width: 48rem) {
  .insights__tabs { display: none; }
  .insights__card {
    background: transparent; border: 0; border-radius: 0; box-shadow: none;
  }
  .insights__panels { display: flex; flex-direction: column; gap: 1.25rem; }
  .insights__panel {
    display: flex !important;
    flex-direction: column;
    gap: .75rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 1px 1px rgba(0,0,0,.06), 0 8px 24px rgba(58,48,41,.06);
    padding: 1.5rem;
  }
  .insights__panel::before {
    content: attr(data-label);
    font-family: var(--serif-alt);
    font-size: .8125rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--terracotta);
  }
  .insights__highlight { flex: none; }
  .insights__body { padding-top: 0; }
}

/* Espaçamento da introdução do bloco Insights: o .section padrão deixa o
   mesmo vão em cima e embaixo, mas aqui o vão ANTES do H2 estava maior que
   o vão entre o H2 e o card — em ambos os breakpoints. Reduz só o topo e
   aumenta o vão abaixo do título com uma escala responsiva.
   Sobrescreve a forma física E a lógica juntas (!important) para não
   depender da ordem de cascata entre padding-top e padding-block-start. */
.section--tight-top {
  padding-top: clamp(1.25rem, 3vw, 2rem) !important;
  padding-block-start: clamp(1.25rem, 3vw, 2rem) !important;
}
.insights-lead { margin-bottom: clamp(3rem, 7vw, 4.5rem) !important; }

/* --------------------------------------------------------------------------
   Seção "O que a terapia faz por você" — imagem deslocada negativamente,
   sobrepondo a seção anterior, seguida de conteúdo centrado sobre fundo
   sólido na cor da marca.
   -------------------------------------------------------------------------- */
.section--mauve { background: var(--mauve); color: #FFFFFF; }
.section--mauve h2, .section--mauve h3 { color: #FFFFFF; }
.section--mauve strong { color: #FFFFFF; }
/* .88 dava 4.01:1 — abaixo do AA pra texto de corpo (o mauve escurecido
   tem teto de 4.63:1 mesmo com branco puro). Corrigido na raiz. */
.section--mauve p { color: rgba(255, 255, 255, .97); }

/* A imagem fica FORA do .wrap, para poder subir livremente por cima da
   seção anterior sem herdar o padding-inline do container de texto. */
/* Espaço extra no fim da seção anterior — dá "chão" claro para a imagem
   sobrepor de fato, em vez de só cancelar o padding-top da seção mauve. */
.section--bleed-bottom { padding-bottom: clamp(5rem, 11vw, 7.5rem) !important; }

.overlap-media {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 30rem;
  margin: 0 auto;
  /* deslocamento negativo — sobe e sobrepõe a seção de cima. Combinado com
     .section--tight-top na seção mauve (reduz o padding-top dela), a maior
     parte deste valor vira sobreposição visível, não é absorvida pelo
     espaçamento padrão da seção. */
  margin-top: clamp(-10rem, -16vw, -6rem);
  margin-bottom: clamp(1rem, 3vw, 2rem);
  pointer-events: none; /* puramente decorativa */
}
.overlap-media img {
  display: block;
  width: 45%;               /* 50% - 10% */
  margin-inline: auto;
  border-radius: 0;        /* remove a "caixa" (radius + sombra do .split__media) */
  box-shadow: none;
}

@media (max-width: 40rem) {
  /* No mobile a sobreposição ainda ficava discreta demais — reforça
     mais uma vez o puxão para cima. */
  .overlap-media { margin-top: clamp(-11rem, -30vw, -7rem); }
  .overlap-media img { width: 56%; }  /* 62% - 10% */

  /* O puxão acima já ultrapassa os ~5rem de bleed-bottom padrão da seção
     Insights, invadindo o card branco. Dá mais "chão" claro no mobile
     para a imagem sobrepor só o fundo, não o card. */
  .section--bleed-bottom { padding-bottom: clamp(8rem, 22vw, 10rem) !important; }
}

/* --------------------------------------------------------------------------
   CTA final — todo o conteúdo dentro de um cartão, como na referência.
   -------------------------------------------------------------------------- */
.closing-card {
  max-width: 34rem;
  margin-inline: auto;
  background: var(--sand);
  border: 3px solid var(--terracotta);
  border-radius: 20px;
  padding: clamp(2rem, 6vw, 3rem) clamp(1.5rem, 5vw, 3rem);
  text-align: center;
  box-shadow: 0 2px 4px rgba(58,48,41,.08), 0 20px 40px rgba(58,48,41,.12);
}
.closing-card h2 {
  font-size: clamp(1.5rem, 3.6vw, 2.125rem);
  margin-bottom: 1.5rem;
}

/* "Últimos horários esse mês" — rótulo simples entre dois fios, no lugar
   do badge em pílula usado em outros pontos do site. */
.closing-card .badge {
  display: block;
  background: none;
  border-radius: 0;
  padding: .875rem 0;
  margin: 0 0 1.75rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* Checklist: marca de visto no lugar do ponto, com fio fino entre os itens */
.closing-card .ticks {
  max-width: 21rem;
  margin: 0 auto 2rem;
  gap: 0;
  text-align: left;
}
.closing-card .ticks li {
  padding: .75rem 0 .75rem 1.75rem;
  border-bottom: 1px solid var(--line);
}
.closing-card .ticks li:last-child { border-bottom: 0; }
.closing-card .ticks li::before {
  top: .95em;
  width: .75rem; height: .4375rem;
  border-radius: 0;
  background: none;
  border-left: 2px solid var(--terracotta);
  border-bottom: 2px solid var(--terracotta);
  transform: rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Depoimentos — avatar acima do nome, no rodapé do card.
   -------------------------------------------------------------------------- */
.quote__author {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: auto;
}
.quote__author img {
  width: 2.75rem; height: 2.75rem;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}

/* ==========================================================================
   OUTSTAND HERO — layout e efeitos do template OriginKit "Outstand",
   recriados em CSS/JS limpo (sem React/Framer Motion), na paleta da marca.

   Escopado inteiramente sob .outstand-hero — não toca em .hero (usado na
   index.html), então os dois heroes convivem sem colisão.

   Valores extraídos do export do Outstand:
     badge     pill com ícone, altura ~44px
     título    peso 700, upright (o hero padrão do site é itálico 300 —
               aqui é uma exceção deliberada, para casar com o template)
     revelação uma <span> por palavra, fade+translateY em cascata
     fundo     padrão pinstripe vertical + duas manchas de luz suaves,
               mascarado para sumir perto do rodapé do hero
   ========================================================================== */
.outstand-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: calc(var(--nav-h) + clamp(3rem, 8vw, 5.5rem));
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
  overflow: hidden;
  background: var(--mauve);
  color: #FFFFFF;
}

/* Fundo: pinstripe + duas manchas suaves — mesma mecânica do .hero__bg,
   com máscara vertical em vez de lateral (o padrão do Outstand desvanece
   para baixo, não para os lados). Recalibrado para o fundo mauve escuro:
   pinstripe claro em vez de escuro, manchas com mais opacidade. */
.outstand-hero__bg {
  position: absolute;
  top: 0; left: -7.5rem; right: -7.5rem; height: 46rem;
  z-index: -2; pointer-events: none;
  background-color: var(--mauve);
  background-image:
    radial-gradient(circle at 14% 8%,  rgba(217,168,130,.38) 0, transparent 44%),
    radial-gradient(circle at 86% 10%, rgba(41,59,69,.30)    0, transparent 44%);
  -webkit-mask: linear-gradient(180deg, #000 0%, #000 52%, transparent 92%);
          mask: linear-gradient(180deg, #000 0%, #000 52%, transparent 92%);
}
.outstand-hero__bg::before {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(90deg, rgba(255,255,255,.09) 0 1px, transparent 1px);
  background-size: calc(100% / 48) 100%;
  background-repeat: repeat-x;
}

.outstand-hero__container {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  gap: 1.25rem;
  width: 100%; max-width: var(--wrap);
  padding-inline: 1.5rem;
}

.outstand-hero__intro {
  display: flex; flex-direction: column; align-items: center;
  gap: 2.5rem;
  width: 100%;
}

.outstand-hero__heading-block {
  display: flex; flex-direction: column; align-items: center;
  gap: .875rem;
  width: 100%;
}

/* Badge em pill, com ícone — no lugar do "Rated 4.8 of 5" do template */
/* Eyebrow como texto puro, sem caixa nem ícone — sand-warm (3.58:1 sobre o
   mauve) reprova AA para texto normal, então usa branco, como o resto do
   texto secundário deste hero. */
.outstand-hero__badge {
  display: block;
  margin: 0;
  font-family: var(--serif-alt);
  font-size: .875rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: #FFFFFF;
}

.outstand-hero__text {
  display: flex; flex-direction: column; align-items: center; gap: 1.25rem;
  width: 53rem; max-width: 100%;
}

.outstand-hero__heading {
  font-family: var(--title);
  font-style: italic; font-weight: 300;
  font-size: clamp(2.25rem, 4.4vw, 3.625rem);
  line-height: 1.16;
  letter-spacing: -.005em;
  text-align: center;
  color: #FFFFFF;
  margin: 0;
}
/* Uma palavra por <span>, revelada em cascata (JS envolve as palavras) */
.js .outstand-hero__heading .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(.5em);
  transition: opacity .6s var(--ease-hover), transform .6s var(--ease-hover);
  transition-delay: var(--word-delay, 0s);
}
.js .outstand-hero__heading.is-in .word { opacity: 1; transform: none; }

/* rgba(255,255,255,.88) cairia para 4.01:1 — abaixo do AA para texto de
   corpo. O mauve escurecido já é o teto de contraste (4.63:1 com branco
   puro), então o texto secundário aqui precisa ficar quase sólido. */
.outstand-hero__subheading { text-align: center; color: rgba(255,255,255,.97); }
.outstand-hero__subheading p { max-width: 40rem; margin-inline: auto; }
.outstand-hero__subheading strong { color: #FFFFFF; }

.outstand-hero__cta-block {
  display: flex; flex-direction: column; align-items: center; gap: 1.125rem;
  width: 100%;
}
.outstand-hero__note {
  display: flex; align-items: center; justify-content: center; gap: .375rem;
  font-family: var(--serif-alt);
  font-size: 1rem; font-weight: 500;
  color: rgba(255,255,255,.97);
  text-align: center;
}
.outstand-hero__note svg { width: 1.125rem; height: 1.125rem; color: var(--sand-warm); flex: none; }

/* "Agende agora seu atendimento..." — o .badge já é uma caixa sem fundo,
   só com fios em cima/embaixo (regra global). Aqui só o texto precisa
   de contraste sobre o mauve. */
.outstand-hero .badge { color: #FFFFFF; }

@media (max-width: 40rem) {
  .outstand-hero { padding-top: calc(var(--nav-h) + 2rem); }
  .outstand-hero__intro { gap: 1.875rem; }
  .outstand-hero__heading { font-size: clamp(1.875rem, 7.5vw, 2.25rem); }
  .outstand-hero__badge { font-size: .8125rem; }
}

@media (prefers-reduced-motion: reduce) {
  .js .outstand-hero__heading .word { opacity: 1; transform: none; transition: none; }
}

/* --------------------------------------------------------------------------
   "Desafios" — grade no formato Outstand: sem caixa em cada item, fios
   pontilhados separando colunas/linhas, sobre fundo mauve sólido.
   No mobile vira cards empilhados, cada um com sua própria caixa.
   -------------------------------------------------------------------------- */
.challenge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 2rem;
}
.challenge { text-align: center; padding: 2rem 1.25rem; }
.challenge:not(:nth-child(3n)) { border-right: 1px dashed rgba(255,255,255,.2); }
.challenge:nth-child(n+4) { border-top: 1px dashed rgba(255,255,255,.2); }

.challenge__icon {
  display: flex; align-items: center; justify-content: center;
  width: 5.3125rem; height: 5.3125rem;
  margin: 0 auto 1.25rem;
  border: 1px solid #cc9a7e;
  border-radius: 15px;
  background: #EDE0D4;
}
/* Ícones ilustrados (arquivo próprio, na cor original enviada — #cc9a7e) */
.challenge__icon img { width: 2.65625rem; height: 2.65625rem; display: block; }
.challenge h3 { font-size: 1.1875rem; margin-bottom: .5rem; }
.challenge p { font-size: .9375rem; margin: 0; }

@media (max-width: 40rem) {
  .challenge-grid { grid-template-columns: 1fr; row-gap: 1.25rem; }
  .challenge {
    border: 1px solid rgba(255,255,255,.2) !important;
    border-radius: 16px;
    background: rgba(255,255,255,.05);
    padding: 1.75rem 1.5rem;
  }
}

/* --------------------------------------------------------------------------
   Expertise cards — "Atendimento individual" (brasileiras-exterior.html)
   Adaptado da seção "Our Expertise" do modelo Outstand: cartão com imagem
   de um lado e um painel (ícone + título + texto) do outro, alternando o
   lado da imagem a cada linha. A versão Outstand original também traz uma
   barra de estatísticas sob o texto — omitida aqui por não termos números
   reais para mostrar.
   -------------------------------------------------------------------------- */
.expertise-cards { display: flex; flex-direction: column; gap: 1.5rem; }

.expertise-card {
  display: grid;
  grid-template-columns: minmax(0, 28.5%) 1fr;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}
.expertise-card--reverse { grid-template-columns: 1fr minmax(0, 28.5%); }
.expertise-card--reverse .expertise-card__media { order: 2; }

.expertise-card__media { position: relative; min-height: 16rem; }
.expertise-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.expertise-card__body {
  display: flex; flex-direction: column; justify-content: center;
  gap: .625rem;
  padding: clamp(1.75rem, 3vw, 2.75rem);
}
.expertise-card__heading {
  display: flex; align-items: center;
  gap: .875rem;
}
.expertise-card__icon {
  display: flex; align-items: center; justify-content: center;
  width: 3.25rem; height: 3.25rem;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--terracotta);
}
.expertise-card__icon svg {
  width: 1.5rem; height: 1.5rem;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.expertise-card h3 { font-size: 1.25rem; margin: 0; }
.expertise-card p { margin: 0; color: var(--ink-soft); }

@media (max-width: 40rem) {
  .expertise-card, .expertise-card--reverse { grid-template-columns: 1fr; }
  .expertise-card--reverse .expertise-card__media { order: 0; }
  .expertise-card__media { min-height: 13rem; }
}

/* --------------------------------------------------------------------------
   Blog (/artigos) — listing grid + article pages.
   -------------------------------------------------------------------------- */

/* The fixed nav needs a page's first section to clear its height — .hero
   and .outstand-hero already do this locally; blog pages reuse the same
   fix on whichever section opens the page. */
.section--nav-offset {
  padding-top: calc(var(--nav-h) + clamp(2.5rem, 6vw, 4rem)) !important;
}
.section--mauve h1 { color: #FFFFFF; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}
.blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transition: transform .18s var(--ease-hover), box-shadow .18s ease;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 14px rgba(58,48,41,.10), 0 20px 40px rgba(58,48,41,.12);
}
.blog-card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.blog-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card__body {
  display: flex; flex-direction: column; gap: .625rem;
  flex: 1;
  padding: 1.5rem 1.75rem 1.75rem;
}
.blog-card__meta {
  font-family: var(--serif-alt);
  font-size: .8125rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--terracotta);
}
.blog-card h3 { font-size: 1.3rem; margin: 0; }
.blog-card p { flex: 1; margin: 0; color: var(--ink-soft); font-size: .9375rem; }
.blog-card__link {
  margin-top: .5rem;
  font-family: var(--serif-alt);
  font-size: .9375rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--brown-dark);
}

@media (max-width: 48rem) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* Article page */
.article-cover { margin-bottom: clamp(2rem, 5vw, 3rem); }
.article-cover img {
  width: 100%; max-height: 28rem; object-fit: cover; display: block;
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.article { max-width: var(--wrap-narrow); margin-inline: auto; }
.article h2 { font-size: clamp(1.4rem, 2.6vw, 1.75rem); margin-top: 2.5rem; }
.article h3 { font-size: 1.2rem; margin-top: 1.75rem; }
.article p { margin-bottom: 1.15rem; line-height: 1.75; }
.article ul { margin: 0 0 1.5rem; padding-left: 1.25rem; display: grid; gap: .625rem; }
.article li { line-height: 1.65; }
.article li::marker { color: var(--terracotta); }
.article-back {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--serif-alt);
  font-size: .9375rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--brown-dark); text-decoration: none;
}
.article-back:hover { color: var(--terracotta); }

/* ==========================================================================
   LOADER — overlay de carregamento (usado só na home; o markup e o script
   de saída ficam em index.html). A cor do overlay é o fundo do próprio
   ícone (#F0EFEB), então as bordas do PNG somem e sobra só a marca "KD"
   com um pulso suave e um anel girando. Puramente visual: some no
   window.load (ou por timeout de segurança) e não toca no tracking.
   ========================================================================== */
#page-loader {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  background: #F0EFEB;
  opacity: 1; transition: opacity .5s var(--ease-prismo);
}
#page-loader.is-done { opacity: 0; pointer-events: none; }
.page-loader__mark {
  position: relative; width: 84px; height: 84px;
  animation: loader-pulse 1.5s ease-in-out infinite;
}
.page-loader__mark img { display: block; width: 100%; height: 100%; }
.page-loader__mark::after {
  content: ""; position: absolute; inset: -15px;
  border-radius: 50%;
  border: 2px solid rgba(189, 132, 100, .18);
  border-top-color: var(--terracotta);
  animation: loader-spin .9s linear infinite;
}
@keyframes loader-spin { to { transform: rotate(360deg); } }
@keyframes loader-pulse {
  0%, 100% { transform: scale(1);   opacity: 1;   }
  50%      { transform: scale(.9);  opacity: .75; }
}
@media (prefers-reduced-motion: reduce) {
  .page-loader__mark, .page-loader__mark::after { animation: none; }
}
