/* =========================================================
   Thaísa Oliver · Nutricionista — estilos da landing page
   Cores e fontes ficam todas nas variáveis abaixo (:root).
   ========================================================= */

:root {
  /* Paleta (identidade do Instagram dela) */
  --green-900: #094136;   /* verde profundo: botões, faixa de avaliações, rodapé */
  --green-800: #0f4d40;   /* hover do verde profundo */
  --sage-500: #768872;    /* sálvia da identidade: ícones e detalhes */
  --sage-ink: #4f624c;    /* sálvia escurecida: palavras em itálico (contraste AA) */
  --sage-300: #b9c5b1;    /* linhas e detalhes */
  --sage-200: #dce3d3;    /* painéis e faixa */
  --sage-100: #e6eadf;    /* painel suave */
  --ground: #eef0e8;      /* fundo da página */
  --white: #fbfcf8;
  --ink: #17251f;         /* texto principal */
  --ink-soft: #46544d;    /* texto secundário */
  --on-green: #eef0e8;
  --on-green-soft: #c6dcc4;
  --accent-light: #c9d8a8;/* itálico sobre o verde profundo */

  /* Tipografia */
  --font-sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Bodoni Moda", "Bodoni 72", Didot, Georgia, serif;

  /* Medidas */
  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 16px;
  --radius-lg: 28px;
  --section: clamp(84px, 11vw, 152px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
strong { font-weight: 600; }
em { font-style: normal; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--green-900); color: var(--on-green); }
:focus-visible { outline: 2px solid var(--green-900); outline-offset: 3px; border-radius: 6px; }
html { scrollbar-color: var(--sage-500) var(--ground); }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--ground); }
::-webkit-scrollbar-thumb { background: var(--sage-300); border: 3px solid var(--ground); border-radius: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.mt-l { margin-top: clamp(40px, 5vw, 64px); }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--green-900); color: var(--on-green); padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; }

.ico { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Tipografia ---------- */
/* Títulos em sans regular; a frase-chave vai em Bodoni itálico (<em>) */
.display, .title { font-weight: 400; letter-spacing: -0.028em; color: var(--ink); margin: 0; text-wrap: balance; }
.display { font-size: clamp(2.35rem, 1.2rem + 3.5vw, 4.15rem); line-height: 1.04; }
.title { font-size: clamp(1.9rem, 1.25rem + 1.9vw, 3rem); line-height: 1.1; }
.title-xl { font-size: clamp(2.6rem, 1.4rem + 4vw, 4.8rem); line-height: 1; }
.display em, .title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--sage-ink);
  font-size: 1.06em;
}
.lead { font-size: clamp(1.08rem, 1rem + .3vw, 1.22rem); line-height: 1.6; color: var(--ink-soft); max-width: 34em; }
.sub { font-size: 1.08rem; color: var(--ink-soft); max-width: 40em; text-wrap: pretty; }
.section-head .sub { margin: 22px auto 0; }

/* ---------- Botões ---------- */
.btn {
  --btn-bg: var(--green-900);
  display: inline-flex; align-items: center; gap: 14px;
  min-height: 56px; padding: 8px 8px 8px 26px;
  background: var(--btn-bg); color: var(--on-green);
  border-radius: 999px; text-decoration: none;
  font-weight: 600; font-size: 1rem; letter-spacing: .005em; line-height: 1.2;
  box-shadow: 0 10px 24px -14px rgba(9, 65, 54, .7);
  transition: background-color .25s var(--ease-out), transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.btn > .ico:first-child { margin-left: -6px; }
.btn:hover { --btn-bg: var(--green-800); transform: translateY(-2px); box-shadow: 0 16px 30px -16px rgba(9, 65, 54, .75); }
.btn:active { transform: translateY(0); }
.btn-chip {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent-light); color: var(--green-900); flex: none;
  transition: transform .35s var(--ease-out);
}
.btn-chip .ico { width: 18px; height: 18px; }
.btn:hover .btn-chip { transform: translateX(3px); }
.btn-sm { min-height: 44px; padding: 0 20px; gap: 10px; font-size: .95rem; box-shadow: none; }
.btn-ghost { --btn-bg: transparent; color: var(--green-900); box-shadow: inset 0 0 0 1.5px var(--green-900); }
.btn-ghost:hover { --btn-bg: var(--green-900); color: var(--on-green); }
.btn-ghost .btn-chip { background: var(--green-900); color: var(--on-green); }
.btn-ghost:hover .btn-chip { background: var(--accent-light); color: var(--green-900); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--ground) 0%, transparent);
  transition: background-color .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.site-header.is-stuck { background: color-mix(in srgb, var(--ground) 92%, transparent); box-shadow: 0 1px 0 var(--sage-200); backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px); }
.header-inner { display: flex; align-items: center; gap: 32px; min-height: var(--header-h); }
.brand { display: grid; text-decoration: none; line-height: 1.1; margin-right: auto; }
.brand-name { font-size: 1.4rem; font-weight: 500; letter-spacing: -0.02em; }
.brand-name em { font-family: var(--font-serif); font-style: italic; color: var(--green-900); }
.brand-role { font-size: .78rem; letter-spacing: .02em; color: var(--ink-soft); margin-top: 3px; }
.nav { display: flex; gap: 28px; font-size: .95rem; }
.nav a { text-decoration: none; color: var(--ink-soft); padding: 6px 0; background: linear-gradient(var(--green-900), var(--green-900)) no-repeat 0 100% / 0 1px; transition: color .2s, background-size .35s var(--ease-out); }
.nav a:hover { color: var(--ink); background-size: 100% 1px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(24px, 4vw, 56px) clamp(56px, 7vw, 96px); overflow: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.hero-copy .lead { margin-top: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 36px; }
.rating { display: flex; align-items: center; gap: 10px; font-size: .95rem; color: var(--ink-soft); }
.stars { display: inline-flex; gap: 2px; color: var(--green-900); }
.stars svg { width: 16px; height: 16px; }
.hero-where { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--sage-300); font-size: .92rem; color: var(--ink-soft); max-width: 34em; }

.hero-media { position: relative; justify-self: end; width: min(100%, 500px); }
.hero-glyph {
  position: absolute; z-index: 0; pointer-events: none; user-select: none;
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: clamp(24rem, 40vw, 38rem); line-height: .8;
  color: #d2dac8;
  left: -30%; top: -6%;
  will-change: transform;
}
.hero-photo {
  position: relative; z-index: 1;
  border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--sage-100);
  box-shadow: 0 40px 80px -48px rgba(9, 65, 54, .55);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.handle {
  position: absolute; z-index: 2; left: -40px; bottom: 44px;
  display: flex; align-items: center; gap: 12px;
  padding: 8px 18px 8px 8px; border-radius: 999px;
  background: var(--white); text-decoration: none; color: var(--ink);
  box-shadow: 0 18px 40px -22px rgba(9, 65, 54, .55);
  transition: transform .35s var(--ease-out);
}
.handle:hover { transform: translateY(-3px); }
.handle img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.handle span { display: grid; line-height: 1.2; }
.handle strong { font-size: .92rem; }
.handle small { font-size: .8rem; color: var(--ink-soft); }
.handle .ico { color: var(--green-900); margin-left: 4px; }

/* ---------- Faixa corrida ---------- */
.band { background: var(--sage-200); color: var(--green-900); overflow: hidden; border-block: 1px solid var(--sage-300); }
.band-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.band-list { display: flex; flex: none; }
.band-list li { display: flex; align-items: center; gap: 12px; padding: 18px 28px; white-space: nowrap; font-size: 1rem; font-weight: 500; }
.band-list svg { width: 20px; height: 20px; color: var(--sage-500); }
.band:hover .band-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .band-track { animation: none; width: auto; }
  .band-list { flex-wrap: wrap; justify-content: center; }
  .band-list[aria-hidden="true"] { display: none; }
}

/* ---------- Seções ---------- */
.section { padding-block: var(--section) 0; }
.section-tight { padding-top: calc(var(--section) * .8); }
.section-last { padding-bottom: var(--section); }
.section-head { max-width: 860px; margin-inline: auto; }

/* Passos */
.steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 20px; margin-top: clamp(48px, 6vw, 72px); }
.step {
  align-self: stretch;
  background: var(--sage-200); border-radius: var(--radius);
  padding: 30px 30px 34px;
  display: flex; flex-direction: column;
}
.step-n { font-family: var(--font-serif); font-style: normal; font-size: 3.6rem; line-height: .9; color: var(--green-900); }
.step h3 { margin: 28px 0 10px; font-size: 1.28rem; font-weight: 600; letter-spacing: -0.01em; }
.step p { color: var(--ink-soft); font-size: 1rem; }
.step-arrow { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--green-900); color: var(--on-green); }
.step-arrow svg { width: 18px; height: 18px; }

/* Sobre */
.about { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(36px, 7vw, 104px); align-items: center; }
.about-photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--sage-100); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; }
.facts { margin-top: 32px; display: grid; gap: 18px; }
.facts li { position: relative; padding-left: 26px; color: var(--ink-soft); max-width: 36em; }
.facts li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--sage-500); }
.facts strong { color: var(--ink); }
.pull { margin: 34px 0 36px; padding: 0; }
.pull p { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.35rem, 1.1rem + .8vw, 1.75rem); line-height: 1.35; color: var(--green-900); max-width: 24em; text-wrap: pretty; }

/* Avaliações */
.proof { background: var(--green-900); color: var(--on-green); border-radius: var(--radius-lg); padding: clamp(48px, 7vw, 88px) 0 clamp(44px, 6vw, 72px); text-align: center; overflow: hidden; }
.proof .title { color: var(--on-green); padding-inline: var(--gutter); }
.proof .title em { color: var(--accent-light); }
.proof .sub { color: var(--on-green-soft); margin: 18px auto 0; padding-inline: var(--gutter); }
.reviews { position: relative; margin-top: clamp(36px, 5vw, 56px); }
.rv-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 340px);
  gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: clamp(24px, 6vw, 72px);
  padding: 6px clamp(24px, 6vw, 72px) 22px;
  scrollbar-width: none; text-align: left;
}
.rv-track::-webkit-scrollbar { display: none; }
.rv-track:focus-visible { outline-color: var(--accent-light); outline-offset: -2px; }
.rv {
  scroll-snap-align: start;
  background: var(--white); color: var(--ink); border-radius: var(--radius);
  padding: 26px 26px 24px; display: flex; flex-direction: column; gap: 16px;
}
.rv p { font-size: 1rem; line-height: 1.55; color: var(--ink); flex: 1; }
.rv footer { display: grid; line-height: 1.25; padding-top: 14px; border-top: 1px solid var(--sage-200); }
.rv footer strong { font-size: 1rem; }
.rv footer small { font-size: .82rem; color: var(--ink-soft); }
.rv-controls { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 18px; padding-inline: var(--gutter); }
.rv-nav {
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; flex: none;
  display: grid; place-items: center;
  background: var(--accent-light); color: var(--green-900);
  transition: opacity .25s, transform .3s var(--ease-out), background-color .25s;
}
.rv-nav svg { width: 20px; height: 20px; }
.rv-nav:hover { transform: scale(1.06); background: var(--on-green); }
.rv-nav:disabled { opacity: .3; cursor: default; transform: none; background: var(--accent-light); }
.rv-prev svg { transform: rotate(180deg); }
.link-light { display: inline-block; color: var(--on-green); font-size: .95rem; text-decoration: underline; text-decoration-color: var(--on-green-soft); }
.link-light:hover { text-decoration-color: var(--on-green); }
.proof :focus-visible { outline-color: var(--accent-light); }

/* Protocolos */
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(36px, 7vw, 104px); align-items: center; }
.split-copy .sub { margin-top: 20px; }
.protocols { margin: 34px 0 38px; display: grid; gap: 0; border-top: 1px solid var(--sage-300); }
.protocols div { padding: 22px 0; border-bottom: 1px solid var(--sage-300); display: grid; grid-template-columns: 11rem 1fr; gap: 8px 28px; }
.protocols dt { font-family: var(--font-serif); font-style: italic; font-size: 1.45rem; line-height: 1.2; color: var(--green-900); }
.protocols dd { margin: 0; color: var(--ink-soft); }
.split-photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 5 / 6; background: var(--sage-100); }
.split-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 40%; }

/* Onde */
.where-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.where-head .sub { margin-top: 16px; }
.where { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 24px; margin-top: clamp(36px, 5vw, 56px); }
.where-info { display: grid; grid-template-columns: 1fr; gap: 22px; align-content: start; background: var(--white); border-radius: var(--radius-lg); padding: clamp(26px, 3.2vw, 40px); }
.info-row { display: grid; grid-template-columns: 26px 1fr; gap: 14px; }
.info-row svg { width: 24px; height: 24px; color: var(--sage-500); margin-top: 2px; }
.info-row p { color: var(--ink-soft); font-size: 1rem; }
.info-row strong { color: var(--ink); }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--green-900); font-weight: 600; text-decoration: none; }
.text-link svg { width: 18px; height: 18px; transition: transform .3s var(--ease-out); }
.text-link:hover svg { transform: translateX(3px); }
.text-link:hover { text-decoration: underline; }
.where-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 11; margin-top: 6px; }
.where-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 72%; }
.map { border-radius: var(--radius-lg); overflow: hidden; background: var(--sage-200); min-height: 420px; }
.map iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; filter: saturate(.75) contrast(1.02); }

/* Dúvidas */
.faq { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-intro .sub { margin-top: 18px; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { background: var(--sage-200); border-radius: var(--radius); transition: background-color .25s; }
.faq-list details[open] { background: var(--white); }
.faq-list summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 24px; font-weight: 500; font-size: 1.05rem; line-height: 1.35;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary svg { width: 22px; height: 22px; flex: none; color: var(--green-900); transition: transform .35s var(--ease-out); }
.faq-list details[open] summary svg { transform: rotate(45deg); }
.faq-list summary:focus-visible { outline-offset: -2px; border-radius: var(--radius); }
.faq-list details p { padding: 0 24px 22px; color: var(--ink-soft); max-width: 40em; }

/* Chamada final */
.closing {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: stretch;
  background: var(--sage-200); border-radius: var(--radius-lg); overflow: hidden;
}
.closing-copy { padding: clamp(40px, 6vw, 88px); align-self: center; }
.closing-copy .sub { margin: 22px 0 34px; max-width: 30em; }
.closing-phone { margin-top: 18px; font-size: .95rem; color: var(--ink-soft); letter-spacing: .02em; }
.closing-photo { min-height: 100%; }
.closing-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 30%; }

/* Rodapé */
.site-footer { background: var(--green-900); color: var(--on-green-soft); padding: 64px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 32px 48px; align-items: start; }
.brand-name.light { color: var(--on-green); font-size: 1.6rem; }
.brand-name.light em { color: var(--accent-light); }
.footer-role { margin-top: 8px; line-height: 1.5; }
.site-footer address { font-style: normal; line-height: 1.6; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { display: inline-flex; align-items: center; gap: 10px; color: var(--on-green); text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-links svg { width: 20px; height: 20px; color: var(--accent-light); }
.footer-base { margin-top: 48px; font-size: .85rem; }
.footer-base p { padding-top: 22px; border-top: 1px solid rgba(238, 240, 232, .16); }
.site-footer :focus-visible { outline-color: var(--accent-light); }

/* Barra fixa (celular) */
.dock { display: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .steps { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; justify-items: stretch; }
  .step-arrow { justify-self: center; transform: rotate(90deg); }
  .step { align-self: auto; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .hero { padding-top: 8px; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-media { order: -1; justify-self: stretch; width: 100%; margin-bottom: 34px; }
  .hero-glyph { display: none; }
  .hero-photo { aspect-ratio: 16 / 10; border-radius: 22px; }
  .hero-photo img { object-position: 50% 14%; }
  .handle { left: 14px; bottom: -22px; }
  .hero-copy { text-align: center; }
  .hero-copy .lead, .hero-where { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .about, .split, .faq { grid-template-columns: 1fr; }
  .about-photo { aspect-ratio: 5 / 4; }
  .split-photo { order: -1; aspect-ratio: 4 / 3; }
  .where { grid-template-columns: 1fr; }
  .map, .map iframe { min-height: 340px; }
  .closing { grid-template-columns: 1fr; }
  .closing-photo { order: -1; aspect-ratio: 4 / 3; }
  .closing-copy { text-align: center; }
  .closing-copy .sub { margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .hide-sm { display: none; }
  .display { font-size: 2.15rem; }
  .display em { white-space: nowrap; }
  .brand-name { font-size: 1.2rem; }
  .brand-role { font-size: .72rem; }
  .hero-photo { aspect-ratio: 4 / 3; }
  .handle img { width: 38px; height: 38px; }
  .hero-actions { flex-direction: column; gap: 16px; }
  .hero-actions .btn, .section .btn:not(.btn-sm) { width: 100%; justify-content: space-between; }
  .hero-actions .btn > span:first-child { flex: 1; text-align: center; }
  .btn { padding-left: 22px; }
  .rv-track { grid-auto-columns: 82%; }
  .rv-nav { display: none; }
  .protocols div { grid-template-columns: 1fr; }
  .where-head .btn { width: 100%; }
  .closing-copy { padding: 36px 20px 40px; }
  .faq-list summary { padding: 18px 20px; font-size: 1rem; }
  .faq-list details p { padding: 0 20px 20px; }

  /* Barra fixa com WhatsApp */
  .dock {
    display: block; position: fixed; z-index: 60; left: 0; right: 0; bottom: 0;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--ground) 94%, transparent);
    box-shadow: 0 -1px 0 var(--sage-200);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    transform: translateY(110%); transition: transform .45s var(--ease-out);
  }
  .dock.is-visible { transform: translateY(0); }
  .btn-dock { width: 100%; justify-content: center; padding: 8px 22px; }
  .site-footer { padding-bottom: 96px; }
}
