/* ==========================================================================
   Le Nord Clinic — Landing Page
   Identidade: #00141D (tinta) · #EDC588 (ouro) · #FFFFFF
   Tipografia: Cormorant Garamond (display) + Jost (interface e corpo)
   ========================================================================== */

/* ----- Tokens -------------------------------------------------------------- */
:root {
  /* Cor — base da IDV */
  --ink:        #00141D;
  --gold:       #EDC588;
  --white:      #FFFFFF;

  /* Derivadas: tintas de tinta e ouro para profundidade */
  --ink-900:    #000d14;
  --ink-800:    #041c26;
  --ink-700:    #0b2b37;
  --ink-600:    #14404f;
  /* O ouro da IDV sobre fundo claro dá 1,7:1 — reprova qualquer texto.
     --gold-700 é o bronze escuro usado SEMPRE que ouro precisa virar texto
     em superfície clara (≥4,7:1 sobre --cream e --white). Em fundo escuro
     usa-se --gold direto. --gold-line é só decoração, sem regra de contraste. */
  --gold-700:   #8a6728;
  --gold-line:  #d9b678;
  --gold-200:   #f7e6c9;

  /* Superfícies claras — off-white quente, puxado do ouro */
  --cream:      #faf6f0;
  --cream-deep: #f3ece1;
  --hairline:   #e4dbcd;

  /* Texto */
  --text-onLight:   #00141D;
  --text-onLight-2: #46555c;   /* 6.0:1 sobre --cream */
  --text-onDark:    #ffffff;
  --text-onDark-2:  #b9c6cc;   /* 9.4:1 sobre --ink */

  /* Tipografia */
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-sans:    "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Ritmo — escala de 4px */
  --sp-1: .25rem;  --sp-2: .5rem;   --sp-3: .75rem;  --sp-4: 1rem;
  --sp-5: 1.5rem;  --sp-6: 2rem;    --sp-7: 3rem;    --sp-8: 4rem;
  --sp-9: 6rem;    --sp-10: 8rem;

  /* Layout */
  --shell:   1200px;
  --shell-x: clamp(1.25rem, 5vw, 4rem);

  /* Movimento */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur:  .5s;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--text-onLight);
  font-family: var(--font-sans);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p, ul, ol, blockquote, figure { margin: 0; }
ul[role="list"] { padding: 0; list-style: none; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--gold-700);
  outline-offset: 3px;
  border-radius: 2px;
}
.section--ink :focus-visible,
.footer :focus-visible { outline-color: var(--gold); }

::selection { background: var(--gold); color: var(--ink); }

.skip-link {
  position: fixed;
  top: var(--sp-3);
  left: var(--sp-3);
  z-index: 200;
  padding: var(--sp-3) var(--sp-5);
  background: var(--ink);
  color: var(--gold);
  font-size: .875rem;
  letter-spacing: .06em;
  transform: translateY(-150%);
  transition: transform .2s var(--ease);
}
.skip-link:focus-visible { transform: translateY(0); }

/* ----- Primitivas de layout ---------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--shell-x);
}

.section {
  position: relative;
  padding-block: clamp(4.5rem, 10vw, 8.5rem);
}
.section--cream { background: var(--cream); }
.section--white { background: var(--white); }
.section--ink   { background: var(--ink); color: var(--text-onDark); }

.section__head { max-width: 46rem; margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__foot { margin-top: clamp(3rem, 6vw, 4.5rem); text-align: center; }

/* ----- Tipografia -------------------------------------------------------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
  color: var(--gold-700);
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .3em;
  line-height: 1;
  text-transform: uppercase;
}
.eyebrow--onDark { color: var(--gold); }
.eyebrow--center { justify-content: center; }
.eyebrow__rule {
  width: 2rem;
  height: 1px;
  background: var(--gold-line);
  flex: none;
}
.eyebrow--onDark .eyebrow__rule { background: var(--gold); opacity: .65; }

.h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.3rem + 3vw, 3.5rem);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -.015em;
  text-wrap: balance;
}
.h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-700);
}
.h2--onDark { color: var(--white); }
.h2--onDark em { color: var(--gold); }

.prose p + p { margin-top: var(--sp-5); }
.prose { color: var(--text-onLight-2); }

/* ----- Botões ------------------------------------------------------------ */
.btn {
  --btn-bg: var(--gold);
  --btn-fg: var(--ink);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  padding: 1rem 1.75rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border-radius: 100px;
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .12em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background .3s var(--ease), transform .3s var(--ease),
              box-shadow .3s var(--ease);
}
.btn--gold:hover,
.btn--gold:focus-visible {
  background: var(--gold-200);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -12px rgb(0 20 29 / .45);
}
.btn--sm { padding: .8125rem 1.375rem; font-size: .75rem; }
.btn--lg { padding: 1.125rem 2.25rem; }

.btn__arrow { transition: transform .3s var(--ease); }
.btn:hover .btn__arrow,
.btn:focus-visible .btn__arrow { transform: translateX(4px); }

/* ==========================================================================
   Wordmark — "Le Nord" em display + "Clinic" em caixa alta tracked,
   ecoando a estrutura da IDV (símbolo sobre "C L Í N I C A")
   ========================================================================== */
.wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: .1em;
  line-height: 1;
}
.wordmark__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: .04em;
  color: var(--gold);
}
.wordmark__kind {
  font-size: .625rem;
  font-weight: 400;
  letter-spacing: .42em;
  text-indent: .48em;   /* compensa o tracking à direita e recentra */
  text-transform: uppercase;
  color: var(--text-onDark-2);
}
.wordmark--footer .wordmark__name { font-size: 1.875rem; }

/* ----- Masthead ---------------------------------------------------------- */
.masthead {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  transition: background .4s var(--ease), box-shadow .4s var(--ease),
              backdrop-filter .4s var(--ease);
}
.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  padding-block: clamp(1rem, 2.4vw, 1.625rem);
  transition: padding .4s var(--ease);
}
.masthead[data-stuck] {
  background: rgb(0 20 29 / .88);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 rgb(237 197 136 / .16);
}
.masthead[data-stuck] .masthead__inner { padding-block: .8125rem; }

.nav { display: flex; align-items: center; gap: clamp(1.5rem, 3vw, 2.75rem); }
.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.4vw, 2.25rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav__list a {
  position: relative;
  color: var(--text-onDark);
  font-size: .8125rem;
  letter-spacing: .08em;
  transition: color .25s var(--ease);
}
.nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -.4em;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__list a:hover,
.nav__list a:focus-visible { color: var(--gold); }
.nav__list a:hover::after,
.nav__list a:focus-visible::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .375rem;
}
.nav-toggle__bar {
  width: 1.375rem;
  height: 1px;
  background: var(--gold);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:first-child {
  transform: translateY(3.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* ==========================================================================
   Arco — moldura de foto que ecoa as arestas em ponta do monograma
   ========================================================================== */
.arch {
  position: relative;
  overflow: hidden;
  border-radius: 999px 999px 4px 4px;
  background: var(--ink-800);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }

/* ----- 1. Hero ----------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding-block: clamp(8rem, 16vw, 11rem) clamp(4rem, 8vw, 6rem);
  background: var(--ink);
  color: var(--text-onDark);
  overflow: hidden;
}

/* Brilho quente atrás do retrato + vinheta, ambos em ouro velado */
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 60% at 78% 32%, rgb(237 197 136 / .16), transparent 68%),
    radial-gradient(60% 50% at 8% 88%, rgb(20 64 79 / .5), transparent 70%),
    linear-gradient(180deg, var(--ink-900), var(--ink) 42%, var(--ink-800));
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5.5rem);
}

/* Headline longa (19 palavras): a escala fica moderada de propósito para
   caber em ~5 linhas e não estourar a dobra. */
.hero__title {
  max-width: 24ch;
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 1.05rem + 2.7vw, 3.125rem);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -.015em;
  text-wrap: pretty;
}
.hero__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-5) var(--sp-6);
}
.hero__support {
  max-width: 22rem;
  color: var(--text-onDark-2);
  font-size: .9375rem;
  line-height: 1.6;
}

.hero__figure {
  position: relative;
  max-width: 27rem;
  margin-inline: auto;
}
.arch--hero {
  border-radius: 999px 999px 6px 6px;
  box-shadow: 0 40px 80px -40px rgb(0 0 0 / .7);
}
/* Fio de ouro acompanhando a curva do arco */
.arch--hero::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgb(237 197 136 / .3);
  border-radius: inherit;
  pointer-events: none;
}

.hero__caption {
  margin-top: var(--sp-5);
  text-align: center;
}
.hero__captionName {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--gold);
}
.hero__captionRole {
  display: block;
  margin-top: var(--sp-2);
  color: var(--text-onDark-2);
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-wrap: balance;
}
.hero__captionCrm {
  display: block;
  margin-top: var(--sp-1);
  color: var(--gold);   /* fundo escuro: ouro puro */
  font-size: .6875rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: clamp(1.25rem, 3vw, 2.25rem);
  translate: -50% 0;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
}
.hero__scrollLine {
  width: 1px;
  height: 2.25rem;
  background: linear-gradient(var(--gold), transparent);
  animation: scrollHint 2.2s var(--ease) infinite;
  transform-origin: top;
}
@keyframes scrollHint {
  0%, 100% { transform: scaleY(.35); opacity: .35; }
  50%      { transform: scaleY(1);   opacity: 1; }
}

/* ----- 2. Para quem é ---------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.signals {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 1px;
  margin-top: clamp(3.5rem, 7vw, 5.5rem);
  background: var(--hairline);
  border-block: 1px solid var(--hairline);
}
.signal {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-4);
  padding: var(--sp-6) var(--sp-5);
  background: var(--cream);
  color: var(--text-onLight);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  text-wrap: balance;
}
.signal__icon {
  width: 1.75rem;
  height: 1.75rem;
  flex: none;
  color: var(--gold-700);
}

/* ----- 3. Como funciona -------------------------------------------------- */
.steps {
  --g: clamp(2.5rem, 5vw, 3.5rem);
  display: grid;
  gap: var(--g);
  margin: 0;
  padding: 0;
  list-style: none;
}
.step {
  position: relative;
  padding-top: var(--sp-6);
  border-top: 1px solid rgb(237 197 136 / .28);
}
.step__num {
  display: block;
  margin-bottom: var(--sp-4);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1;
}
.step__title {
  margin-bottom: var(--sp-4);
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--white);
}
.step__text {
  color: var(--text-onDark-2);
  font-size: .9375rem;
  line-height: 1.75;
}

/* ----- 4. Equipe --------------------------------------------------------- */
.team {
  --g: clamp(2.5rem, 5vw, 3.5rem);
  display: grid;
  gap: var(--g);
}
.member { text-align: center; }

/* Domo raso (raio elíptico) em vez do semicírculo do hero: nos retratos da
   equipe a curva plena avançava sobre o cabelo. */
.member__photo {
  aspect-ratio: 4 / 5;
  margin-bottom: var(--sp-5);
  border-radius: 50% 50% 4px 4px / 26% 26% 4px 4px;
}
.member__photo img { transition: transform .7s var(--ease); }
.member:hover .member__photo img { transform: scale(1.035); }

/* Retrato pendente — placeholder deliberado, não um erro de imagem */
.member__photo--placeholder {
  display: grid;
  place-items: center;
  background:
    radial-gradient(70% 60% at 50% 28%, rgb(237 197 136 / .14), transparent 70%),
    linear-gradient(160deg, var(--ink-700), var(--ink));
}
.monogram {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 4.5rem);
  font-weight: 300;
  letter-spacing: .06em;
  color: var(--gold);
  opacity: .55;
}

.member__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.2;
}
.member__crm {
  margin-top: var(--sp-2);
  color: var(--gold-700);
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.member__field {
  margin-top: var(--sp-3);
  color: var(--text-onLight);
  font-size: .9375rem;
}
.member__bio {
  margin-top: var(--sp-4);
  color: var(--text-onLight-2);
  font-size: .9375rem;
  line-height: 1.7;
  text-align: left;
}

.areas {
  margin-top: clamp(4rem, 8vw, 6rem);
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  border-top: 1px solid var(--hairline);
  text-align: center;
}
.areas__label {
  margin-bottom: var(--sp-5);
  color: var(--gold-700);
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
}
.areas__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-3);
  margin: 0;
  padding: 0;
  list-style: none;
}
.areas__list li {
  padding: .5625rem 1.125rem;
  border: 1px solid var(--hairline);
  border-radius: 100px;
  color: var(--text-onLight);
  font-size: .8125rem;
  letter-spacing: .04em;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.areas__list li:hover {
  border-color: var(--gold);
  background: var(--gold-200);
}

/* ----- 5. Por que Le Nord ------------------------------------------------ */
.quotes {
  --g: clamp(1.25rem, 2.5vw, 1.75rem);
  display: grid;
  gap: var(--g);
}
.quote {
  display: flex;
  flex-direction: column;
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: 4px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.quote:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -28px rgb(0 20 29 / .3);
}
.quote__stars {
  margin-bottom: var(--sp-5);
  color: var(--gold-700);
  font-size: .875rem;
  letter-spacing: .22em;
}
.quote__text {
  flex: 1;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.45;
}
.quote__who {
  margin-top: var(--sp-5);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--hairline);
  color: var(--text-onLight-2);
  font-size: .75rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.reasons {
  margin-top: clamp(4rem, 8vw, 6rem);
  text-align: center;
}
.reasons__label {
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  font-weight: 300;
  text-wrap: balance;
}
.reasons__list {
  --g: clamp(2rem, 4vw, 3rem);
  display: grid;
  gap: var(--g);
  margin: 0;
  padding: 0;
  list-style: none;
}
.reason { padding-inline: var(--sp-2); }
.reason__icon {
  width: 2rem;
  height: 2rem;
  margin: 0 auto var(--sp-4);
  color: var(--gold-700);
}
.reason__title {
  margin-bottom: var(--sp-3);
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 500;
}
.reason__text {
  color: var(--text-onLight-2);
  font-size: .9375rem;
  line-height: 1.7;
  text-wrap: pretty;
}

/* ----- 6. CTA final ------------------------------------------------------ */
.closer { text-align: center; }
.closer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.closer__title { max-width: 30ch; }
.closer__text {
  max-width: 40rem;
  margin-top: var(--sp-5);
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--text-onDark-2);
  text-wrap: pretty;
}
.closer__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-4) var(--sp-7);
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 0;
  padding: 0;
  list-style: none;
}
.closer__meta li {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  color: var(--text-onDark-2);
  font-size: .875rem;
  text-align: left;
}
.closer__meta svg { width: 1.25rem; height: 1.25rem; flex: none; color: var(--gold); }
.closer__meta a { transition: color .25s var(--ease); }
.closer__meta a:hover { color: var(--gold); }

/* ----- Footer ------------------------------------------------------------ */
.footer {
  padding-block: clamp(3.5rem, 7vw, 5rem) var(--sp-6);
  background: var(--ink-900);
  color: var(--text-onDark-2);
  border-top: 1px solid rgb(237 197 136 / .14);
  font-size: .875rem;
}
.footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}
.footer__brand .wordmark { align-items: flex-start; }
.footer__tagline {
  max-width: 24rem;
  margin-top: var(--sp-5);
  line-height: 1.7;
}
.footer__label {
  margin-bottom: var(--sp-4);
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.footer__col ul { margin: 0; padding: 0; list-style: none; }
.footer__col li + li { margin-top: var(--sp-1); }
/* Área de toque: o texto sozinho dava 20px de altura, abaixo do mínimo
   de 24px. O padding entra e a margem entre itens recua, preservando o ritmo. */
.footer__col a {
  display: inline-block;
  padding-block: .5rem;
  transition: color .25s var(--ease);
}
.footer__col a:hover, .footer__col a:focus-visible { color: var(--gold); }

.footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--sp-3) var(--sp-6);
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: var(--sp-5);
  border-top: 1px solid rgb(255 255 255 / .1);
  font-size: .75rem;
  letter-spacing: .02em;
}
.footer__crm { color: #8fa0a8; }

/* ----- WhatsApp flutuante ----------------------------------------------- */
.wa-float {
  position: fixed;
  right: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 90;
  display: grid;
  place-items: center;
  width: 3.375rem;
  height: 3.375rem;
  background: var(--gold);
  color: var(--ink);
  border-radius: 100px;
  box-shadow: 0 12px 30px -10px rgb(0 20 29 / .55);
  opacity: 0;
  visibility: hidden;
  transform: translateY(1rem) scale(.9);
  transition: opacity .4s var(--ease), transform .4s var(--ease),
              visibility .4s var(--ease), background .3s var(--ease);
}
.wa-float[data-visible] { opacity: 1; visibility: visible; transform: none; }
.wa-float:hover { background: var(--gold-200); }
.wa-float svg { width: 1.75rem; height: 1.75rem; }

/* ==========================================================================
   Scroll reveal — a classe .reveal só ganha estado inicial se o JS assumir
   o controle (html[data-reveal]). Sem JS, o conteúdo aparece normalmente.
   ========================================================================== */
[data-reveal] .reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
[data-reveal] .reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Trios (passos, equipe, depoimentos, motivos)
   Colunas explícitas em vez de auto-fit: com auto-fit o terceiro item caía
   órfão à esquerda no tablet. Aqui ele é centralizado na largura de uma
   coluna — e `:last-child:nth-child(3)` garante que a regra só vale para
   grupos de exatamente três.
   ========================================================================== */
.steps, .team, .quotes, .reasons__list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1030px) {
  .steps, .team, .quotes, .reasons__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .steps  > :last-child:nth-child(3),
  .team   > :last-child:nth-child(3),
  .quotes > :last-child:nth-child(3),
  .reasons__list > :last-child:nth-child(3) {
    grid-column: 1 / -1;
    width: calc(50% - var(--g) / 2);
    margin-inline: auto;
  }
}

@media (max-width: 620px) {
  .steps, .team, .quotes, .reasons__list { grid-template-columns: 1fr; }
  .steps  > :last-child:nth-child(3),
  .team   > :last-child:nth-child(3),
  .quotes > :last-child:nth-child(3),
  .reasons__list > :last-child:nth-child(3) {
    grid-column: auto;
    width: auto;
  }
}

/* ==========================================================================
   Responsivo
   ========================================================================== */

/* Tablet largo — retrato do hero mais estreito */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

/* Tablet — hero e split empilham, nav vira gaveta */
@media (max-width: 860px) {
  html { scroll-padding-top: 5rem; }

  .hero {
    min-height: 0;
    padding-block: clamp(7rem, 20vw, 9rem) clamp(3.5rem, 9vw, 5rem);
  }
  .hero__inner { grid-template-columns: 1fr; gap: clamp(2.5rem, 8vw, 3.5rem); }
  .hero__title { max-width: 26ch; }
  /* Empilhado, a promessa e o botão vêm antes do retrato: com a foto
     primeiro o CTA caía abaixo da dobra. */
  .hero__figure { max-width: 22rem; margin-inline: auto; }
  .hero__scroll { display: none; }
  .hero__bg {
    background:
      radial-gradient(90% 40% at 50% 12%, rgb(237 197 136 / .16), transparent 70%),
      linear-gradient(180deg, var(--ink-900), var(--ink) 45%, var(--ink-800));
  }

  .split { grid-template-columns: 1fr; gap: var(--sp-5); }

  /* Gaveta de navegação */
  .nav-toggle { display: flex; }
  .nav {
    position: fixed;
    inset: 0 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 5.5rem var(--shell-x) var(--sp-7);
    background: rgb(0 13 20 / .97);
    backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-1rem);
    transition: opacity .35s var(--ease), transform .35s var(--ease),
                visibility .35s var(--ease);
  }
  .nav[data-open] { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list li + li { border-top: 1px solid rgb(237 197 136 / .14); }
  .nav__list a {
    display: block;
    padding-block: var(--sp-4);
    font-family: var(--font-display);
    font-size: 1.375rem;
    letter-spacing: .01em;
  }
  .nav__list a::after { display: none; }
  .nav__cta { margin-top: var(--sp-6); justify-content: center; }

  /* Marca e botão ficam acima da gaveta: a .nav é fixed e, sem isto,
     encobre o wordmark e o X. */
  .nav-toggle,
  .wordmark { position: relative; z-index: 1; }
  body[data-nav-open] { overflow: hidden; }
}

/* Mobile */
@media (max-width: 560px) {
  .signals { grid-template-columns: 1fr; }
  .member__bio { text-align: center; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__base { flex-direction: column; }
  .closer__meta { flex-direction: column; align-items: flex-start; }
  .closer__meta li { align-items: flex-start; text-align: left; }
  .hero__actions { gap: var(--sp-5); }
  .hero__support { max-width: none; }
  .btn { width: 100%; justify-content: center; }
  .nav__cta { width: 100%; }
}

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

/* ----- Impressão --------------------------------------------------------- */
@media print {
  .masthead, .wa-float, .hero__scroll { display: none; }
  body { background: #fff; color: #000; }
  .section--ink, .hero, .footer { background: #fff !important; color: #000 !important; }
  .h2--onDark, .step__title, .closer__title { color: #000 !important; }
}
