/* =========================================================
   Fernanda Ongaratto · Nutri Low Carb 40+
   Conceito: "Menos picos. Mais constância."
   Uma linha de energia que oscila e se estabiliza.
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  /* cor */
  /* paleta da marca (link da bio): verde-abacate, oliva escuro e off-white */
  --ink: #26301A;          /* oliva profundo: seções escuras */
  --ink-2: #333F23;
  --ink-3: #43512E;
  --paper: #F7F6F0;        /* off-white quente */
  --paper-2: #ECEBDC;
  --sage: #C9CFA0;
  --sage-deep: #7A845A;
  --accent: #B5BC4B;       /* verde-abacate: linha, botões e destaques */
  --accent-ink: #5E6B1E;   /* abacate escuro com contraste AA sobre o papel */
  --text: #26301A;
  --muted: #565D44;
  --on-ink: #F7F6F0;
  --on-ink-muted: #CDD3B4;
  --border: rgba(38, 48, 26, .14);
  --border-ink: rgba(247, 246, 240, .16);

  /* tipografia */
  --f-display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --f-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "DM Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --fs-mono: .75rem;
  --fs-body: 1.0625rem;
  --fs-lead: clamp(1.125rem, 1rem + .5vw, 1.3125rem);
  --fs-h3: clamp(1.25rem, 1.1rem + .5vw, 1.5rem);
  --fs-h2: clamp(2rem, 1.4rem + 2.6vw, 3.5rem);
  --fs-display: clamp(2.5rem, 1rem + 4.9vw, 6.25rem);

  /* espaço */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 144px;
  --section: clamp(80px, 6rem + 4vw, 168px);
  --gutter: 20px;
  --max: 1320px;

  /* forma */
  --radius: 999px;
  --radius-sm: 6px;

  /* movimento: chegar e assentar, como uma curva que estabiliza */
  --ease-settle: cubic-bezier(.22, 1.18, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --dur: .9s;

  --header-h: 68px;
}

@media (min-width: 768px) { :root { --gutter: 40px; --header-h: 76px; } }
@media (min-width: 1280px) { :root { --gutter: 64px; } }

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  background: var(--paper);
  color: var(--text);
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
em { font-style: normal; }
s { text-decoration-thickness: 2px; text-decoration-color: var(--accent); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: fixed; left: var(--space-4); top: -100px; z-index: 300;
  background: var(--ink); color: var(--on-ink);
  padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm);
  text-decoration: none; font-weight: 600;
}
.skip:focus { top: var(--space-4); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.mono {
  font-family: var(--f-mono);
  font-size: var(--fs-mono);
  letter-spacing: .04em;
  text-transform: lowercase;
}
.eyebrow { color: var(--muted); margin-bottom: var(--space-5); }
.section--ink .eyebrow, .final .eyebrow { color: var(--on-ink-muted); }

.h2 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: var(--fs-h2);
  line-height: 1.02;
  letter-spacing: -.025em;
  font-variation-settings: "opsz" 96;
  text-wrap: balance;
}
.h2 em, .hero__display em, .final__title em { color: var(--accent-ink); }
.section--ink .h2 em, .final__title em { color: var(--accent); }

.section { padding-block: var(--section); }
.section--ink { background: var(--ink); color: var(--on-ink); }
.section--sage { background: var(--paper-2); }

/* placeholders de texto pendente: visíveis, mas com cara de intenção */
.pendente {
  font-family: var(--f-mono);
  font-size: .85em;
  background: repeating-linear-gradient(-45deg, rgba(181, 188, 75, .08) 0 6px, transparent 6px 12px);
  outline: 1px dashed currentColor;
  outline-offset: 2px;
  padding: 0 .3em;
  border-radius: 2px;
  opacity: .85;
}
.pendente--block { display: inline-block; padding: var(--space-2) var(--space-3); line-height: 1.5; }

/* ---------- 3. Botões e links ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: var(--h);
  padding: 0 var(--space-6);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform .5s var(--ease-settle), color .3s;
}
.btn--primary { background: var(--accent); color: var(--ink); }
.btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform .45s var(--ease-out);
}
.btn--primary:hover { color: var(--paper); }
.btn--primary:hover::before { transform: translateY(0); }
.section--ink .btn--primary::before, .final .btn--primary::before { background: var(--paper); }
.section--ink .btn--primary:hover, .final .btn--primary:hover { color: var(--ink); }
.btn:active { transform: scale(.97); }
.btn--lg { --h: 60px; padding: 0 var(--space-7); font-size: 1.0625rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  min-height: 44px;
  font-weight: 600;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 10px) / 100% 1.5px no-repeat;
  transition: background-size .4s var(--ease-out);
}
.link-arrow:hover { background-size: 0 1.5px; background-position: 100% calc(100% - 10px); }
.link-arrow--light { color: var(--on-ink); }

/* ---------- 4. Abertura ---------- */
.intro { display: none; }
.js:not(.reduz) .intro {
  position: fixed; inset: 0; z-index: 200;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  padding: var(--space-5) var(--gutter);
  background: var(--ink);
  color: var(--on-ink);
  cursor: pointer;
  clip-path: inset(0 0 0 0);
  transition: clip-path 1s var(--ease-io);
}
.intro.is-done { clip-path: inset(0 0 100% 0); pointer-events: none; }
.intro.is-gone { display: none !important; }

.intro__top { display: flex; justify-content: space-between; color: var(--on-ink-muted); }
.intro__line { width: 100%; height: 100%; min-height: 0; }
.intro__bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-5); }
.intro__count {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(5.5rem, 3rem + 16vw, 15rem);
  line-height: .8;
  letter-spacing: -.05em;
  font-variant-numeric: tabular-nums;
  font-variation-settings: "opsz" 96;
}
.intro__pct { color: var(--accent); font-size: .45em; margin-left: .05em; vertical-align: top; }
.intro__status { display: flex; align-items: center; gap: var(--space-2); padding-bottom: .8em; color: var(--on-ink-muted); }
.intro__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: blink 1s steps(2) infinite; }
.intro.is-stable .intro__dot { background: var(--sage); animation: none; }
.intro__skip { position: absolute; left: 50%; bottom: var(--space-5); transform: translateX(-50%); color: var(--on-ink-muted); opacity: .6; display: none; }
@media (min-width: 768px) { .intro__skip { display: block; } }
@keyframes blink { 50% { opacity: .2; } }

/* ---------- 5. Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  transition: background-color .4s, box-shadow .4s, transform .5s var(--ease-out);
}
.header.is-scrolled { background: rgba(247, 246, 240, .94); box-shadow: 0 1px 0 var(--border); }
.header__inner {
  height: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-5);
}
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1.1; min-height: 44px; justify-content: center; }
.brand__name { font-family: var(--f-display); font-weight: 700; font-size: 1.125rem; letter-spacing: -.01em; }
.brand__tag { color: var(--accent-ink); }

.menu-btn {
  width: 48px; height: 48px; margin-right: -10px;
  display: grid; place-content: center; gap: 7px;
  position: relative; z-index: 2;
}
.menu-btn__line { display: block; width: 26px; height: 2px; background: currentColor; transition: transform .4s var(--ease-out); }
.menu-btn[aria-expanded="true"] { color: var(--on-ink); }
.menu-btn[aria-expanded="true"] .menu-btn__line:first-child { transform: translateY(4.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__line:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* menu mobile: painel berinjela de tela cheia */
.nav {
  position: fixed; inset: 0; z-index: 1;
  background: var(--ink); color: var(--on-ink);
  display: flex; flex-direction: column; justify-content: center; gap: var(--space-7);
  padding: var(--header-h) var(--gutter) var(--space-7);
  visibility: hidden;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .7s var(--ease-io), visibility 0s .7s;
}
.nav.is-open { visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path .7s var(--ease-io), visibility 0s; }
.nav__list a {
  display: block; padding: var(--space-2) 0;
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(2rem, 1.4rem + 4vw, 3rem); letter-spacing: -.02em;
  text-decoration: none;
}
.nav__list a[aria-current="true"] { color: var(--accent); }
.nav__cta { align-self: flex-start; }
.is-menu-open .brand { color: var(--on-ink); position: relative; z-index: 2; }
.is-menu-open .brand__tag { color: var(--accent); }

@media (min-width: 1024px) {
  .menu-btn { display: none; }
  .nav {
    position: static; visibility: visible; clip-path: none; transition: none;
    flex-direction: row; align-items: center; gap: var(--space-6);
    background: none; color: inherit; padding: 0;
  }
  .nav__list { display: flex; gap: var(--space-1); }
  .nav__list a {
    font-family: var(--f-body); font-weight: 500; font-size: .9375rem; letter-spacing: 0;
    padding: var(--space-3) var(--space-3); min-height: 44px; display: flex; align-items: center;
    position: relative;
  }
  .nav__list a::after {
    content: ""; position: absolute; left: var(--space-3); right: var(--space-3); bottom: 8px;
    height: 2px; background: var(--accent);
    transform: scaleX(0); transform-origin: left;
    transition: transform .4s var(--ease-out);
  }
  .nav__list a:hover::after, .nav__list a[aria-current="true"]::after { transform: scaleX(1); }
  .nav__list a[aria-current="true"] { color: inherit; }
  .nav__cta { --h: 46px; padding: 0 var(--space-5); font-size: .9375rem; }
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + var(--space-7));
  overflow: hidden;
}
.hero__grid { display: grid; gap: var(--space-7); position: relative; z-index: 1; }
.hero__kicker {
  display: block;
  font-family: var(--f-body); font-weight: 600;
  font-size: var(--fs-lead);
  letter-spacing: -.005em;
  color: var(--accent-ink);
  margin-bottom: var(--space-4);
}
.hero__display {
  display: block;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: var(--fs-display);
  line-height: .9;
  letter-spacing: -.045em;
  font-variation-settings: "opsz" 96;
}
.mask { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.12em; }
.mask > span { display: inline-block; }

/* "sanfona": sublinhado em zigue-zague que se acalma e vira uma linha reta */
.squiggle { position: relative; display: inline-block; color: var(--accent-ink); }
.squiggle__svg {
  position: absolute; left: 0; right: .3em; bottom: -.04em;
  width: calc(100% - .3em); height: .16em; overflow: visible;
}
.squiggle__svg path {
  fill: none; stroke: var(--accent); stroke-width: 3.5;
  stroke-linecap: round; stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.is-ready .squiggle__svg path {
  d: path("M2 12 L20 12 L38 12 L56 12 L74 12 L92 12 L110 12 L128 12 L146 12 L164 12 L182 12 L200 12 L218 12 L236 12 L254 12 L272 12 L298 12");
  transition: d 1.6s var(--ease-settle) 1.5s;
}
.reduz .squiggle__svg path { d: path("M2 12 L20 12 L38 12 L56 12 L74 12 L92 12 L110 12 L128 12 L146 12 L164 12 L182 12 L200 12 L218 12 L236 12 L254 12 L272 12 L298 12"); }
.hero__lead { max-width: 34ch; margin-top: var(--space-6); font-size: var(--fs-lead); color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) var(--space-6); margin-top: var(--space-6); }

/* entrada do hero: só depois que a abertura termina */
.js:not(.reduz) .hero__in { opacity: 0; transform: translateY(28px); }
.js:not(.reduz) .mask > .hero__in { opacity: 1; transform: translateY(105%); }
.is-ready .hero__in {
  opacity: 1 !important; transform: none !important;
  transition: opacity .8s var(--ease-out), transform 1.1s var(--ease-settle);
  transition-delay: calc(var(--d) * 90ms);
}

/* linha de energia interativa */
.pulse { position: relative; z-index: 2; height: 180px; margin-top: var(--space-5); touch-action: pan-y; pointer-events: none; }
.pulse__canvas { width: 100%; height: 100%; }
.pulse__axis {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 0;
  display: flex; justify-content: space-between; color: var(--muted); opacity: .8;
}
.pulse__state {
  position: absolute; left: var(--gutter); top: 0;
  display: flex; align-items: center; gap: var(--space-2);
  color: var(--muted);
}
.pulse__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sage-deep); transition: background-color .3s; }
.pulse.is-spiking .pulse__dot { background: var(--accent); }
.pulse.is-spiking .pulse__state { color: var(--accent-ink); }
.hero__hint { padding: var(--space-3) var(--gutter) var(--space-6); color: var(--muted); text-align: center; }
.hint-touch { display: none; }
@media (hover: none) { .hint-fine { display: none; } .hint-touch { display: inline; } }
.reduz .hero__hint { display: none; }

/* fotos e placeholders */
.photo { position: relative; overflow: hidden; background: var(--ink-2); border-radius: var(--radius-sm); }
.photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; position: relative; z-index: 1; }
.photo__ph {
  position: absolute; inset: 0; z-index: 0;
  display: grid; place-content: center; text-align: center;
  color: var(--on-ink-muted);
  background:
    radial-gradient(circle at 50% 38%, rgba(181, 188, 75, .22) 0 18%, transparent 18.5%),
    repeating-linear-gradient(0deg, rgba(247, 246, 240, .05) 0 1px, transparent 1px 24px),
    var(--ink-2);
  padding-top: 40%;
}
.photo.is-empty img { visibility: hidden; }
.photo__cap {
  position: absolute; left: var(--space-3); bottom: var(--space-3); z-index: 2;
  background: var(--paper); color: var(--ink);
  padding: var(--space-1) var(--space-2); border-radius: 3px;
}
.photo--hero { aspect-ratio: 1 / 1; max-width: 440px; width: 86%; justify-self: end; background: var(--paper-2); }
.photo--hero img { object-position: 50% 20%; }

@media (min-width: 768px) {
  .hero__grid { grid-template-columns: 1.35fr 1fr; align-items: end; }
  .photo--hero { width: 100%; margin-bottom: calc(var(--space-9) * -1); }
  .pulse { height: 220px; margin-top: 0; }
}
@media (min-width: 1024px) {
  .hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; }
  .hero__grid { grid-template-columns: 1.75fr 1fr; gap: var(--space-8); }
  .photo--hero { margin-bottom: calc(var(--space-10) * -1); }
  .pulse { height: 260px; }
}

/* ---------- 7. A curva ---------- */
.curve__head { max-width: 760px; }
.curve__intro { margin-top: var(--space-5); color: var(--on-ink-muted); font-size: var(--fs-lead); max-width: 52ch; }
.curve__box { margin-top: var(--space-8); display: grid; gap: var(--space-6); }

.seg {
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--ink-2);
  border: 1px solid var(--border-ink);
  border-radius: var(--radius);
  padding: 4px;
  max-width: 620px;
  position: relative;
}
.seg__btn {
  min-height: 48px; padding: var(--space-2) var(--space-4);
  border-radius: var(--radius);
  font-size: .875rem; font-weight: 600; line-height: 1.2;
  color: var(--on-ink-muted);
  transition: background-color .35s, color .35s;
}
.seg__btn[aria-pressed="true"] { background: var(--paper); color: var(--ink); }
.seg__btn:not([aria-pressed="true"]):hover { color: var(--on-ink); }

.chart { position: relative; }
.chart__plot { position: relative; height: 260px; cursor: crosshair; touch-action: pan-y; }
.chart__svg { width: 100%; height: 100%; overflow: visible; }
.chart__band { fill: rgba(201, 207, 160, .1); }
.chart__band-edge { stroke: rgba(201, 207, 160, .4); stroke-dasharray: 3 6; vector-effect: non-scaling-stroke; }
.chart__line { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.chart__meal { stroke: rgba(247, 246, 240, .2); stroke-dasharray: 2 5; vector-effect: non-scaling-stroke; }
.chart__labels span {
  position: absolute; top: -4px; transform: translateX(6px);
  color: var(--on-ink-muted); white-space: nowrap;
}
.chart__band-label { position: absolute; right: 0; color: var(--sage); transform: translateY(-120%); }
.chart__cursor { stroke: var(--paper); stroke-width: 1; vector-effect: non-scaling-stroke; opacity: 0; transition: opacity .2s; }
.chart__dot {
  position: absolute; left: 0; top: 0; width: 16px; height: 16px; margin: -8px 0 0 -8px;
  border-radius: 50%; background: var(--paper); border: 3px solid var(--accent);
  opacity: 0; transition: opacity .2s; pointer-events: none;
}
.chart.is-hover .chart__cursor, .chart.is-hover .chart__dot { opacity: 1; }
.chart__axis { display: flex; justify-content: space-between; color: var(--on-ink-muted); margin-top: var(--space-3); }
.chart__read { margin-top: var(--space-3); color: var(--on-ink-muted); min-height: 1.5em; }
.chart__read b { color: var(--accent); font-weight: 500; }

.curve__text { max-width: 60ch; }
.curve__label { color: var(--accent); margin-bottom: var(--space-3); font-size: .8125rem; }
.curve__panel p:not(.curve__label) { font-size: var(--fs-lead); line-height: 1.55; }
.curve__panel.is-in { animation: settle .7s var(--ease-settle); }
.curve__note { margin-top: var(--space-5); color: var(--on-ink-muted); text-transform: none; line-height: 1.6; }
@keyframes settle { from { opacity: 0; transform: translateY(14px); } }

@media (min-width: 1024px) {
  .curve__box { grid-template-columns: 1.6fr 1fr; grid-template-areas: "seg seg" "chart text"; column-gap: var(--space-8); align-items: start; }
  .seg { grid-area: seg; }
  .chart { grid-area: chart; }
  .curve__text { grid-area: text; padding-top: var(--space-5); }
  .chart__plot { height: 340px; }
}

/* ---------- 8. Para quem é ---------- */
.who__grid { display: grid; gap: var(--space-7); }
.who__big {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(7rem, 4rem + 18vw, 17rem);
  line-height: .78; letter-spacing: -.06em;
  color: var(--ink);
  margin-bottom: var(--space-6);
  font-variation-settings: "opsz" 96;
}
.who__big span { color: var(--accent); }
.who__list { border-top: 1px solid var(--border); counter-reset: none; }
.who__item {
  display: grid; grid-template-columns: 44px 1fr; gap: var(--space-4);
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--border);
  font-size: var(--fs-h3); line-height: 1.3; font-weight: 500;
  letter-spacing: -.01em;
  transition: padding-left .5s var(--ease-settle);
}
.who__n { color: var(--accent-ink); padding-top: .45em; }
@media (hover: hover) { .who__item:hover { padding-left: var(--space-3); } }
@media (min-width: 1024px) {
  .who__grid { grid-template-columns: 1fr 1.1fr; gap: var(--space-9); align-items: start; }
  .who__aside { position: sticky; top: calc(var(--header-h) + var(--space-6)); }
  .who__item { padding: var(--space-6) 0; }
}

/* ---------- 9. Abordagem ---------- */
.approach__title { font-size: clamp(2.6rem, 1.6rem + 5vw, 6rem); }
.approach__cols { display: grid; gap: var(--space-7); margin-top: var(--space-8); }
.approach__h { display: flex; align-items: center; gap: var(--space-3); color: var(--muted); margin-bottom: var(--space-5); font-weight: 400; }
.tag { display: inline-flex; align-items: center; min-height: 28px; padding: 0 var(--space-3); border-radius: var(--radius); font-weight: 500; }
.tag--yes { background: var(--ink); color: var(--paper); }
.tag--no { border: 1.5px solid var(--ink); color: var(--ink); }
.approach__list li {
  font-size: var(--fs-h3); line-height: 1.35; font-weight: 500; letter-spacing: -.01em;
  padding: var(--space-4) 0;
  border-top: 1px solid var(--border);
}
.approach__list--no li { color: var(--muted); }
@media (min-width: 768px) { .approach__cols { grid-template-columns: 1.2fr 1fr; gap: var(--space-8); } }

/* ---------- 10. Consulta ---------- */
.steps__head { max-width: 720px; }
.steps__format { margin-top: var(--space-5); color: var(--muted); }
.steps__list { margin-top: var(--space-8); display: grid; gap: var(--space-7); position: relative; padding-left: var(--space-7); }
.steps__list::before {
  content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px;
  background: var(--accent);
  transform-origin: top; transform: scaleY(var(--p, 1));
}
.js:not(.reduz) .steps__list::before { --p: 0; transition: transform 1.6s var(--ease-io); }
.js:not(.reduz) .steps__list.is-drawn::before { --p: 1; }
.step { position: relative; }
.step::before {
  content: ""; position: absolute; left: calc(var(--space-7) * -1); top: 4px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--accent);
}
.step__n { color: var(--accent-ink); display: block; margin-bottom: var(--space-2); }
.step__t { font-family: var(--f-display); font-weight: 700; font-size: var(--fs-h3); letter-spacing: -.015em; margin-bottom: var(--space-2); }
.step p { color: var(--muted); max-width: 36ch; }
/* local de atendimento */
.place {
  margin-top: var(--space-9);
  display: grid; gap: var(--space-6);
  padding-top: var(--space-6);
  border-top: 2px solid var(--ink);
}
.place__label { color: var(--accent-ink); margin-bottom: var(--space-3); }
.place__name { font-family: var(--f-display); font-weight: 700; font-size: var(--fs-h3); letter-spacing: -.015em; }
.place__addr { font-style: normal; color: var(--muted); margin-top: var(--space-2); }
.place__online { margin-top: var(--space-4); color: var(--muted); }
.place__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) var(--space-6); }
@media (min-width: 768px) {
  .place { grid-template-columns: 1fr auto; align-items: end; }
}

@media (min-width: 1024px) {
  .steps__list { grid-template-columns: repeat(4, 1fr); gap: var(--space-6); padding-left: 0; padding-top: var(--space-7); }
  .steps__list::before { left: 0; right: 0; top: 7px; bottom: auto; width: auto; height: 2px; transform-origin: left; transform: scaleX(var(--p, 1)); }
  .step::before { left: 0; top: calc(var(--space-7) * -1); }
}

/* ---------- 11. Sobre ---------- */
.about__grid { display: grid; gap: var(--space-7); }
.photo--about { aspect-ratio: 3 / 4; max-width: 460px; background: var(--ink-3); }
.about__role { color: var(--accent); margin-top: var(--space-4); }
.about__p { margin-top: var(--space-5); color: var(--on-ink-muted); font-size: var(--fs-lead); max-width: 52ch; }
.about__text .link-arrow { margin-top: var(--space-6); }

/* trajetória: também é uma linha, com pontos */
.timeline { margin-top: var(--space-7); position: relative; padding-left: var(--space-6); }
.timeline::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1.5px; background: var(--border-ink); }
.timeline li { position: relative; display: grid; gap: var(--space-1); padding-bottom: var(--space-5); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: calc(var(--space-6) * -1); top: 6px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--ink); border: 2px solid var(--sage);
}
.timeline li:last-child::before { background: var(--accent); border-color: var(--accent); }
.timeline__y { color: var(--accent); }
.timeline li > span:last-child { color: var(--on-ink); }
@media (min-width: 768px) {
  .timeline li { grid-template-columns: 96px 1fr; gap: var(--space-4); }
}

/* blockquote da abordagem */
.quote { margin-top: var(--space-7); max-width: 30ch; }
.quote p {
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.4rem);
  line-height: 1.15; letter-spacing: -.02em;
}
.quote footer { margin-top: var(--space-4); color: var(--accent-ink); }

/* ---------- Materiais ---------- */
.books__grid { display: grid; gap: var(--space-7); }
.books__intro { margin-top: var(--space-5); color: var(--muted); font-size: var(--fs-lead); max-width: 40ch; }
.books__list { border-top: 1px solid var(--border); }
.book__link {
  display: grid; grid-template-columns: 72px 1fr auto; align-items: center; gap: var(--space-4);
  min-height: 88px; padding: var(--space-4) 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  position: relative;
  isolation: isolate;
}
.book__link::before {
  content: ""; position: absolute; inset: 0 calc(var(--space-4) * -1); z-index: -1;
  background: var(--ink);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .45s var(--ease-out);
}
.book__n { color: var(--accent-ink); transition: color .3s; }
.book__t { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.4rem, 1rem + 1.8vw, 2.25rem); letter-spacing: -.02em; line-height: 1.1; transition: color .3s; }
.book__go { font-size: 1.5rem; transition: transform .45s var(--ease-settle), color .3s; }
.book__link:hover::before, .book__link:focus-visible::before { transform: scaleY(1); }
.book__link:hover .book__t, .book__link:focus-visible .book__t { color: var(--paper); }
.book__link:hover .book__n, .book__link:focus-visible .book__n,
.book__link:hover .book__go, .book__link:focus-visible .book__go { color: var(--accent); }
.book__link:hover .book__go { transform: translate(4px, -4px); }
@media (min-width: 1024px) { .books__grid { grid-template-columns: 1fr 1.3fr; gap: var(--space-9); align-items: start; } }
@media (min-width: 768px) {
  .about__grid { grid-template-columns: 1fr 1.2fr; gap: var(--space-8); align-items: center; }
}

/* ---------- 12. Dúvidas ---------- */
.faq__grid { display: grid; gap: var(--space-7); }
.faq__list { border-top: 1px solid var(--border); }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: var(--space-5);
  min-height: 64px; padding: var(--space-4) 0;
  font-weight: 600; font-size: 1.125rem; line-height: 1.35;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
  transition: transform .4s var(--ease-settle);
}
.faq__item[open] summary::after { transform: rotate(135deg); color: var(--accent-ink); }
.faq__a { overflow: hidden; }
.faq__a p { padding-bottom: var(--space-5); color: var(--muted); max-width: 60ch; }
@media (min-width: 1024px) { .faq__grid { grid-template-columns: 1fr 1.6fr; gap: var(--space-9); } }

/* ---------- 13. CTA final ---------- */
.final { position: relative; overflow: hidden; padding-top: var(--section); }
.final__inner { position: relative; z-index: 1; }
.final__title {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(2.6rem, 1.4rem + 6vw, 7rem);
  line-height: .95; letter-spacing: -.04em;
  max-width: 14ch;
  font-variation-settings: "opsz" 96;
}
.final__lead { margin-top: var(--space-5); color: var(--on-ink-muted); font-size: var(--fs-lead); max-width: 44ch; }
.final__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) var(--space-6); margin-top: var(--space-7); }
.pulse--final { height: 200px; margin-top: var(--space-6); }

/* ---------- 14. Rodapé ---------- */
.footer { background: var(--ink); color: var(--on-ink-muted); border-top: 1px solid var(--border-ink); padding-block: var(--space-7); font-size: .9375rem; }
.footer__inner { display: grid; gap: var(--space-6); }
.footer__name { font-family: var(--f-display); font-weight: 700; color: var(--on-ink); font-size: 1.25rem; }
.footer__meta { margin-top: var(--space-1); }
.footer__links { display: flex; flex-wrap: wrap; gap: 0 var(--space-5); }
.footer__links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.footer__links a:hover { color: var(--accent); }
.footer__legal { font-size: .8125rem; max-width: 70ch; }
@media (min-width: 1024px) {
  .footer__inner { grid-template-columns: 1fr auto; align-items: center; }
  .footer__legal { grid-column: 1 / -1; }
}

/* ---------- 15. Revelação no scroll ---------- */
.js:not(.reduz) .reveal { opacity: 0; transform: translateY(32px); }
.js:not(.reduz) .reveal.is-visible {
  opacity: 1; transform: none;
  transition: opacity .8s var(--ease-out), transform 1.1s var(--ease-settle);
  transition-delay: var(--rd, 0s);
}

/* ---------- 16. Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
