/* =========================================================
   Vitor Vieira — Nutricionista
   Sistema visual: editorial clínico (claro, verde profundo, areia)
   ========================================================= */

/* ---------- 1. Tokens ---------- */
/* Paleta do Vitor Vieira: azul marinho lidera, off-white dá espaço,
   sálvia humaniza, taupe organiza sem aparecer. */
:root {
  /* Superfícies */
  --canvas: #fcfaf7;
  --canvas-warm: #f6f3ee;
  --surface: #ffffff;

  /* Marca */
  --navy-900: #1e3a8a;
  --navy-800: #162d6b;
  --navy-700: #10245a;
  --cta: #1e3a8a;
  --cta-hover: #162d6b;

  /* Apoio — sálvia nunca é cor de ação */
  --sage: #8a9a5b;
  --sage-dark: #5d693d;   /* o tom que passa em AA sobre fundo claro */
  --sage-soft: #e8ecdf;
  --taupe: #a8a29e;

  /* Texto */
  --text: #172033;
  --text-soft: #4e5566;
  --text-on-dark: #fcfaf7;
  --text-on-dark-soft: rgba(252, 250, 247, 0.82);

  /* Traços */
  --border: #e8e5e2;
  --border-dark: rgba(252, 250, 247, 0.18);

  /* Formas */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 44px -30px rgba(30, 58, 138, 0.42);
  --shadow-lift: 0 26px 60px -34px rgba(30, 58, 138, 0.46);

  /* Métrica */
  --container: 1180px;
  --container-narrow: 860px;
  --section-space: clamp(56px, 7.2vw, 104px);
  --gutter: clamp(20px, 5vw, 48px);

  /* Tipografia */
  --font-display: "Libre Franklin", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-text: "Libre Franklin", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
figure { margin: 0; }   /* o navegador aplica 1em 40px por padrão */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 { font-size: clamp(1.95rem, 3.6vw, 3rem); letter-spacing: -0.028em; }
h2 { font-size: clamp(1.5rem, 2.85vw, 2.35rem); }
h3 {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  font-weight: 600;
  letter-spacing: -0.012em;
  text-wrap: wrap;            /* balance parte rótulo curto em duas linhas iguais */
}

p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--navy-900);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--section-space); position: relative; }
.section--canvas { background: var(--canvas); }
.section--warm { background: var(--canvas-warm); }
.section--green { background: var(--navy-900); color: var(--text-on-dark); }
.section--green h2,
.section--green h3 { color: var(--text-on-dark); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--navy-900);
  color: var(--text-on-dark);
  padding: 12px 20px;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 3. Elementos editoriais ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy-900);
  margin: 0 0 18px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--sage);
}
.section--green .eyebrow,
.faq__aside .eyebrow { color: var(--sage); }
.section--green .eyebrow::before,
.faq__aside .eyebrow::before { background: var(--sage); }

.lead {
  font-size: clamp(1.02rem, 1.4vw, 1.12rem);
  color: var(--text-soft);
  max-width: 58ch;
}
.section--green .lead { color: var(--text-on-dark-soft); }

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

/* ---------- 4. Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-text);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  padding: 17px 30px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.25s ease, color 0.25s ease,
    border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.btn--primary {
  background: var(--cta);
  color: var(--text-on-dark);
  box-shadow: var(--shadow-soft);
}
.btn--primary:hover {
  background: var(--cta-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

/* usado dentro das seções azuis */
.btn--light {
  background: var(--canvas);
  color: var(--navy-900);
}
.btn--light:hover { background: var(--sage-soft); transform: translateY(-2px); }

.btn--sm { padding: 12px 22px; font-size: 0.88rem; }

.btn__icon { width: 18px; height: 18px; flex: none; }

.cta-note {
  display: block;
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--text-soft);
}
.section--green .cta-note { color: var(--text-on-dark-soft); }

/* ---------- 5. Topbar + Header ---------- */
.topbar {
  background: var(--navy-900);
  color: var(--text-on-dark);
  text-align: center;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 13px var(--gutter);
  line-height: 1.5;
}

/* a quebra da barra superior só existe no celular */
.br-mobile { display: none; }
/* e as do título do hero, só no desktop */
.br-desktop { display: none; }
@media (min-width: 901px) { .br-desktop { display: inline; } }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 244, 237, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
.site-header.is-stuck {
  border-bottom-color: var(--border);
  background: rgba(248, 244, 237, 0.97);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 14px;
}

.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 42px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a {
  font-size: 0.92rem;
  text-decoration: none;
  color: var(--text-soft);
  position: relative;
  padding-block: 4px;
  transition: color 0.2s ease;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--navy-900);
  transition: width 0.25s ease;
}
.site-nav a:hover { color: var(--navy-800); }
.site-nav a:hover::after { width: 100%; }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(26px, 2.8vw, 40px) clamp(78px, 6.5vw, 94px);
  background: linear-gradient(180deg, var(--canvas) 0%, var(--canvas) 60%, var(--canvas-warm) 100%);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: clamp(32px, 4vw, 60px);
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero__logo { margin: 0 0 26px; }
.hero__logo img { height: 56px; width: auto; }

/* PROVISÓRIO: marca escrita no lugar do logo. Sai quando o arquivo chegar. */
.hero__wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.34rem, 2.1vw, 1.64rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--navy-900);
}
.hero__wordmark span {
  display: block;
  font-weight: 600;
  font-size: 0.46em;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-top: 7px;
}

.hero h1 {
  margin-bottom: 20px;
  text-wrap: wrap;          /* balance deixava 5 linhas curtas */
}
.hero h1 .mark {
  position: relative;
  display: inline;
  background-image: linear-gradient(var(--sage-soft), var(--sage-soft));
  background-repeat: no-repeat;
  background-size: 100% 0.32em;
  background-position: 0 88%;
  color: var(--navy-900);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.86rem;
  color: var(--text-soft);
}
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta svg { width: 15px; height: 15px; color: var(--sage); flex: none; }

/* Foto do hero */
.hero__figure { position: relative; margin: 0; }
.hero__photo {
  position: relative;
  z-index: 2;
  border-radius: 20px;
  overflow: hidden;
  background: var(--canvas-warm);
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lift);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__figure::before {
  content: "";
  position: absolute;
  inset: 26px -26px -26px 26px;
  border: 1px solid var(--sage);
  border-radius: 20px;
  opacity: 0.6;
  z-index: 1;
}

/* Ornamentos botânicos */
.ornament {
  position: absolute;
  color: var(--sage);
  opacity: 0.18;
  pointer-events: none;
  z-index: 1;
}
.ornament svg { width: 100%; height: auto; display: block; }
.ornament--hero-left { width: 230px; left: -74px; top: 8%; transform: rotate(-8deg); }
.ornament--hero-right { width: 300px; right: -96px; bottom: -46px; transform: scaleX(-1) rotate(6deg); }

/* ---------- 7. Prova social + sintomas ---------- */
.proof {
  position: relative;
  background: var(--canvas);
  padding-bottom: var(--section-space);
}

.proof-pill {
  position: relative;
  z-index: 3;
  margin: -46px auto 0;
  width: fit-content;
  max-width: 100%;
  background: var(--navy-900);
  color: var(--text-on-dark);
  border-radius: var(--radius-pill);
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  box-shadow: var(--shadow-lift);
}
.proof-pill p { font-size: 0.96rem; margin: 0; color: var(--text-on-dark-soft); }
.proof-pill strong { color: var(--text-on-dark); font-weight: 600; }

.symptoms {
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4.4vw, 58px);
  margin-top: 42px;
  box-shadow: var(--shadow-soft);
  position: relative;
  z-index: 2;
}
.symptoms__head { max-width: 46ch; margin-bottom: clamp(20px, 2.6vw, 34px); }
.symptoms__head h2 { margin-bottom: 0; }

.symptoms__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 330px));
  justify-content: center;
  gap: 18px;
}

.symptom {
  background: var(--canvas-warm);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 22px 20px;
  transition: transform 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}
.symptom:hover {
  transform: translateY(-4px);
  border-color: var(--sage);
  background: var(--surface);
}
.symptom__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--navy-900);
  display: block;
  margin-bottom: 10px;
}
.symptom p {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.42;
  margin: 0;
}

/* "A verdade é que…" — solta sobre o fundo da seção, sem cartão, para não
   disputar com o quadro de sintomas logo acima. O dourado aqui é o tom
   escuro, que é o que passa em AA sobre fundo claro. */
.truth {
  margin: clamp(30px, 4vw, 46px) auto 0;
  max-width: 46ch;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.015em;
  font-size: clamp(1.06rem, 1.7vw, 1.3rem);
  line-height: 1.45;
  color: var(--text);
  text-wrap: balance;
}
.truth__kicker {
  display: block;
  font-family: var(--font-text);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy-900);
  margin-bottom: 10px;
}

/* ---------- 8. Transformação ---------- */
.transform { overflow: hidden; }
.transform__grid {
  position: relative;
  z-index: 2;
  max-width: var(--container-narrow);
  margin-inline: auto;
  text-align: center;
}

.transform__body h2 { margin-bottom: 18px; }
.transform__body .lead { margin-inline: auto; }
.transform__body .btn { margin-top: 26px; }

.ornament--transform { width: 330px; right: -104px; top: -70px; color: var(--canvas); opacity: 0.1; }

/* ---------- 9. Autoridade / evidência ---------- */
.authority h2 { max-width: 24ch; margin-inline: auto; }
.authority .evidence {
  max-width: 700px;
  margin: clamp(30px, 4vw, 46px) auto 0;
}
/* sem cartao: o bloco branco competia com a imagem da materia */
.authority__close {
  margin: clamp(28px, 3.6vw, 40px) auto 0;
  max-width: 44ch;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  line-height: 1.5;
}

/* Sem cartão e sem arredondamento: o recorte já traz a própria moldura
   arredondada, e o raio daqui cortava os cantos dela. A sombra também saiu —
   a imagem é branca sobre fundo quase branco, então a sombra recriava a
   silhueta de um quadrado atrás dela. */
.evidence__slot {
  background: var(--canvas);
}
.evidence__slot img { width: 100%; height: auto; display: block; }

/* ---------- 10. Protocolo ---------- */
.protocol__head { max-width: 60ch; margin-inline: auto; text-align: center; margin-bottom: clamp(24px, 3.6vw, 44px); }

.h2-accent { color: var(--navy-900); font-size: 0.86em; letter-spacing: 0.02em; }

.protocol__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: clamp(26px, 3vw, 34px);
  display: flex;
  gap: 22px;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: var(--sage);
}
.step:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  justify-self: center;
  width: calc((100% - 20px) / 2);
}

.step__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-on-dark);
  background: var(--navy-900);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
}
.step h3 { margin-bottom: 8px; }
.step p { font-size: 0.96rem; color: var(--text-soft); margin: 0; }

.protocol__cta { margin-top: 34px; text-align: center; }
.authority__cta { margin-top: 30px; }
.testimonials__cta { margin-top: 32px; text-align: center; }

/* ---------- 11. Depoimentos ---------- */
.testimonials__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.testimonials__head h2 { margin-bottom: 8px; }
.testimonials__head p { margin: 0; color: var(--text-on-dark-soft); }

.carousel { position: relative; }
.carousel__track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }

.testimonial {
  flex: 0 0 calc((100% - 48px) / 3);
  scroll-snap-align: start;
  background: var(--surface);
  border-radius: 12px;
  padding: 2px;
}
.testimonial__slot {
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--canvas-warm);
}
.testimonial__slot img { width: 100%; height: auto; }
.testimonial__caption {
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--text-soft);
  line-height: 1.5;
}

.carousel__controls[hidden] { display: none; }
.carousel__controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
}
.carousel__btn {
  font-family: inherit;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border-dark);
  background: transparent;
  color: var(--text-on-dark);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
}
.carousel__btn:hover:not(:disabled) { background: rgba(252, 250, 247, 0.12); border-color: var(--text-on-dark); }
.carousel__btn:disabled { opacity: 0.3; cursor: default; }
.carousel__btn svg { width: 18px; height: 18px; }

/* ---------- 12. Benefícios ---------- */
.benefits__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
}
.benefit {
  flex: 0 0 420px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;                 /* a seção é centralizada; o card não */
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.benefit:hover { transform: translateY(-4px); border-color: var(--sage); }
.benefit__icon {
  width: 46px;
  height: 46px;
  flex: none;
  padding: 11px;
  border-radius: 12px;
  background: var(--sage-soft);
  color: var(--sage-dark);
}
.benefit h3 { font-size: 0.98rem; margin: 0; line-height: 1.34; }

.benefits__head h2 {
  max-width: 620px;
  margin-inline: auto;
  font-size: clamp(1.32rem, 2.2vw, 1.74rem);
}

.benefits__close { margin-top: 34px; text-align: center; }
.benefits__close p {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.015em;
  text-wrap: balance;
  font-size: clamp(1rem, 1.7vw, 1.26rem);
  line-height: 1.42;
  max-width: 34ch;
  margin: 0 auto 28px;
}

/* ---------- 13. FAQ ---------- */
.faq__grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(32px, 5vw, 70px);
  align-items: start;
}
.faq__list { display: grid; gap: 14px; }

.faq__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.faq__item[open] { border-color: var(--navy-900); background: var(--canvas); box-shadow: var(--shadow-soft); }

.faq__item summary {
  list-style: none;
  text-wrap: wrap;
  cursor: pointer;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.42;
  color: var(--navy-900);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::marker { content: ""; }

.faq__sign {
  position: relative;
  width: 20px;
  height: 20px;
  flex: none;
}
.faq__sign::before,
.faq__sign::after {
  content: "";
  position: absolute;
  background: var(--navy-900);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.faq__sign::before { top: 9px; left: 0; width: 20px; height: 2px; }
.faq__sign::after { left: 9px; top: 0; width: 2px; height: 20px; }
.faq__item[open] .faq__sign::after { transform: scaleY(0); opacity: 0; }

.faq__answer { padding: 0 26px 24px; }
.faq__answer p { font-size: 0.97rem; color: var(--text-soft); margin: 0; }

.faq__aside {
  background: var(--navy-900);
  color: var(--text-on-dark);
  border-radius: var(--radius-lg);
  padding: clamp(30px, 4vw, 42px);
  position: relative;
  overflow: hidden;
}
.faq__aside h2 { color: var(--text-on-dark); font-size: clamp(1.28rem, 2vw, 1.66rem); }
.faq__aside p { color: var(--text-on-dark-soft); font-size: 0.97rem; text-wrap: wrap; }
.faq__aside .btn { margin-top: 20px; }
.faq__aside > :not(.ornament) { position: relative; z-index: 2; }
.ornament--faq { width: 230px; right: -66px; bottom: -66px; color: var(--canvas); opacity: 0.1; z-index: 1; }

/* ---------- 14. Sobre ---------- */
.about { background: var(--canvas); position: relative; }
.about__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(34px, 5vw, 76px);
  align-items: center;
}
.about__figure { position: relative; margin: 0; }
.about__photo {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--canvas);
  box-shadow: var(--shadow-lift);
  position: relative;
  z-index: 2;
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__figure::before {
  content: "";
  position: absolute;
  inset: -24px 24px 24px -24px;
  border: 1px solid var(--sage);
  border-radius: 20px;
  opacity: 0.6;
  z-index: 1;
}
.about__body .btn { margin-top: 28px; }

/* ---------- 15. CTA final + rodapé ---------- */
.final-cta {
  background: var(--navy-900);
  color: var(--text-on-dark);
  position: relative;
  overflow: hidden;
}
.final-cta .container { position: relative; z-index: 2; }
.final-cta h2 { color: var(--text-on-dark); max-width: 22ch; margin-inline: auto; }
.ornament--cta-left { width: 250px; left: -84px; top: -44px; color: var(--canvas); opacity: 0.1; }
.ornament--cta-right { width: 250px; right: -84px; bottom: -64px; color: var(--canvas); opacity: 0.1; transform: scaleX(-1); }

.site-footer {
  background: var(--navy-700);
  color: var(--text-on-dark-soft);
  border-top: 1px solid var(--border-dark);
  padding-block: 42px;
  font-size: 0.88rem;
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.site-footer__brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-on-dark);
}
.site-footer__brand span {
  display: block;
  font-family: var(--font-text);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 5px;
  color: var(--text-on-dark-soft);
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer__social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  min-height: 44px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-pill);
  color: var(--text-on-dark);
  font-size: 0.86rem;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}
.site-footer__social svg { width: 19px; height: 19px; flex: none; }
.site-footer__social:hover {
  background: rgba(252, 250, 247, 0.1);
  border-color: var(--text-on-dark);
  color: var(--text-on-dark);
}
.site-footer a { text-decoration: none; transition: color 0.2s ease; }
.site-footer a:hover { color: var(--sage-soft); }
.site-footer__legal {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--border-dark);
  font-size: 0.78rem;
  line-height: 1.65;
  opacity: 0.82;
  max-width: 90ch;
}

/* Botão flutuante de WhatsApp */
.float-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  /* o botão é azul e as faixas fortes também: sem o anel ele desaparecia
     ao passar pelas seções azuis */
  box-shadow: 0 0 0 1px var(--canvas), 0 14px 32px -12px rgba(16, 36, 90, 0.55);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}
.float-cta.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* ---------- 16. Animação de entrada ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: 0.08s; }
.js .reveal[data-delay="2"] { transition-delay: 0.16s; }
.js .reveal[data-delay="3"] { transition-delay: 0.24s; }
.js .reveal[data-delay="4"] { transition-delay: 0.32s; }

/* ---------- 17. Responsivo ---------- */
@media (max-width: 1080px) {
  .testimonial { flex-basis: calc((100% - 24px) / 2); }
  /* em 2 colunas o texto disputa espaço com o selo: card mais enxuto */
  .benefit { flex-basis: calc((100% - 20px) / 2); padding: 14px; gap: 10px; }
  .benefit__icon { width: 42px; height: 42px; padding: 10px; }
  .benefit h3 { font-size: 0.94rem; }
  .ornament--hero-left { display: none; }
}

@media (max-width: 900px) {
  .site-nav { display: none; }

  .hero { padding-bottom: clamp(96px, 16vw, 140px); }
  /* em coluna única o h1 ocupa a largura toda e o preenchimento guloso
     deixava "vida." sozinha na última linha */
  .hero h1 { text-wrap: balance; }
  .hero__grid { grid-template-columns: 1fr; gap: 38px; }
  .hero__figure { max-width: 420px; margin-inline: auto; width: 100%; }
  .hero__figure::before { inset: 18px -18px -18px 18px; }
  .ornament--hero-right { width: 200px; right: -70px; bottom: -30px; }

  .proof-pill {
    text-align: center;
    padding: 18px 26px;
    margin-top: -40px;
  }

  .faq__grid,
  .about__grid { grid-template-columns: 1fr; }

  .protocol__grid { grid-template-columns: 1fr; }
  .step:last-child:nth-child(odd) { grid-column: auto; justify-self: stretch; width: auto; }

  .about__grid { gap: 40px; }
  .about__figure { max-width: 380px; margin-inline: auto; width: 100%; }
  .about__figure::before { inset: -16px 16px 16px -16px; }

  .ornament--transform { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .topbar { font-size: 0.78rem; letter-spacing: 0.1em; }
  .br-mobile { display: inline; }
  .hero__logo img { height: 42px; }
  /* "funcionamento" é longa e forçava uma linha de 10 caracteres */
  .hero h1 { font-size: 1.72rem; text-wrap: wrap; }

  .symptoms { width: auto; padding: 26px 20px; border-radius: var(--radius-md); }
  /* no celular o titulo sozinho abria um vao grande antes dos sintomas */
  .symptoms__head { margin-bottom: 16px; }
  .symptoms__grid { grid-template-columns: 1fr; gap: 12px; }
  .symptom { padding: 18px 16px; }
  .symptom p { font-size: 0.96rem; }
  .truth { margin-top: 26px; }

  /* respiro dos titulos de secao, um pouco mais curto que no desktop */
  .protocol__head { margin-bottom: 20px; }
  .testimonials__head { margin-bottom: 18px; }
  .benefits__grid { margin-top: 22px; }
  .benefits__close { margin-top: 24px; }
  .benefits__close p { margin-bottom: 20px; }

  .benefit { flex-basis: 100%; padding: 16px; gap: 12px; }   /* 1 coluna: cabe mais folga */
  .carousel__track { gap: 16px; }
  .testimonial { flex-basis: 78%; }

  .hero__actions .btn,
  .float-cta { width: auto; }
  .hero__actions { gap: 12px; }
  .hero__actions .btn--primary { flex: 1 1 100%; }

  /* o botao somava o respiro do texto (20px) ao proprio margin-top (26px):
     46px de vao. No celular os dois encolhem. */
  .transform { padding-block: 44px; }
  .transform__body h2 { margin-bottom: 14px; }
  .transform__body .lead { margin-bottom: 8px; }
  .transform__body .btn { margin-top: 16px; }

  .step { flex-direction: row; gap: 16px; padding: 22px 20px; }
  .step__num { width: 44px; height: 44px; font-size: 0.94rem; }

  /* em coluna unica os cartoes brancos viram um bloco so; os pares recebem
     o verde da marca para marcar onde um termina e o outro comeca */
  .step:nth-child(even) {
    background: var(--navy-800);
    border-color: var(--navy-800);
  }
  .step:nth-child(even) h3 { color: var(--text-on-dark); }
  .step:nth-child(even) p { color: var(--text-on-dark-soft); }

  .faq__item summary { padding: 18px 16px; gap: 10px; font-size: 0.97rem; }
  .faq__answer { padding: 0 16px 20px; }
  .faq__aside { padding: 26px 22px; }
  .faq__aside p { text-wrap: balance; }

  .site-footer__inner { flex-direction: column; align-items: flex-start; }
  .float-cta { right: 14px; bottom: 14px; }
  .ornament--hero-right,
  .ornament--faq { display: none; }
}

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

/* ---------- 18. Sobreposição editorial + parallax ---------- */
.ornament { transform: translateY(var(--parallax, 0px)); }
.ornament--hero-left { transform: translateY(var(--parallax, 0px)) rotate(-8deg); }
.ornament--hero-right { transform: translateY(var(--parallax, 0px)) scaleX(-1) rotate(6deg); }
.ornament--cta-right { transform: translateY(var(--parallax, 0px)) scaleX(-1); }

