/* =========================================================
   NutriAli — site institucional
   Identidade visual baseada no app: verde #4c8466 / #276e58,
   fundo em malha suave, cartões de vidro e fonte Inter.
   ========================================================= */

:root {
  --brand-50: #f2f7f4;
  --brand-100: #e0eee6;
  --brand-200: #c2dfd1;
  --brand-300: #98c6b3;
  --brand-400: #6ca88f;
  --brand-500: #4c8466;
  --brand-600: #3f7559;
  --brand-700: #276e58;
  --brand-800: #1f5a48;
  --brand-900: #1c5341;
  --brand-950: #0b231c;

  --ink: #10201b;
  --text: #2b3a35;
  --muted: #56675f;
  --subtle: #8a9a94;
  --line: rgba(16, 32, 27, .08);
  --bg: #f3f9f6;

  --amber: #f59e0b;
  --violet: #8b5cf6;
  --blue: #3b82f6;
  --orange: #f97316;
  --rose: #f43f5e;
  --emerald: #10b981;

  --glass: rgba(255, 255, 255, .62);
  --glass-strong: rgba(255, 255, 255, .82);
  --glass-border: rgba(255, 255, 255, .75);

  --shadow-xs: 0 1px 2px rgba(16, 32, 27, .06);
  --shadow-sm: 0 2px 6px -1px rgba(16, 32, 27, .05), 0 10px 28px -14px rgba(16, 32, 27, .16);
  --shadow-md: 0 14px 36px -14px rgba(16, 32, 27, .22), 0 4px 12px -6px rgba(16, 32, 27, .08);
  --shadow-lg: 0 40px 90px -30px rgba(16, 32, 27, .35), 0 14px 30px -16px rgba(16, 32, 27, .16);

  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 36px;

  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Inter Tight', 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 8px);
}
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

/* Malha de cores suaves — a mesma do app */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(at 0% 0%, #e0f2f1 0%, transparent 50%),
    radial-gradient(at 100% 0%, #e3f2fd 0%, transparent 50%),
    radial-gradient(at 100% 100%, #f1f8e9 0%, transparent 50%),
    radial-gradient(at 0% 100%, #fff9c4 0%, transparent 50%),
    #f0f9ff;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -.03em;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--brand-200); color: var(--ink); }

.icon { width: 1em; height: 1em; flex: none; }

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

.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--brand-700);
  color: #fff;
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform .2s;
}
.skip-link:focus { transform: none; }

:focus-visible {
  outline: 3px solid rgba(76, 132, 102, .5);
  outline-offset: 3px;
  border-radius: 8px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: clamp(88px, 11vw, 148px);
}

/* ---------- Botões ---------- */
.btn {
  --h: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  height: var(--h);
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: -.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .25s var(--ease-out), box-shadow .25s, background-color .2s, color .2s, border-color .2s;
}
.btn .icon { width: 18px; height: 18px; }
.btn .i-arrow { transition: transform .25s var(--ease-out); }
.btn:hover .i-arrow { transform: translateX(3px); }

.btn--primary {
  background: var(--brand-500);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(76, 132, 102, .8), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.btn--primary:hover {
  background: var(--brand-700);
  transform: translateY(-1px);
  box-shadow: 0 16px 32px -12px rgba(39, 110, 88, .8), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.btn--ghost { color: var(--brand-700); }
.btn--ghost:hover { background: rgba(255, 255, 255, .65); }
.btn--glass {
  background: var(--glass);
  border-color: var(--glass-border);
  color: var(--ink);
  box-shadow: var(--shadow-xs);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.btn--glass:hover { background: #fff; transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn--glass .icon { color: var(--brand-500); }
.btn--light {
  background: #fff;
  color: var(--brand-800);
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .45);
}
.btn--light:hover { transform: translateY(-1px); background: var(--brand-50); }
.btn--lg { --h: 54px; padding: 0 26px; font-size: 1.02rem; border-radius: 14px; }

/* ---------- Selo / eyebrow ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-xs);
  color: var(--brand-800);
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.3;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.eyebrow .icon { width: 16px; height: 16px; color: var(--brand-500); }
.eyebrow--dark {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .12);
  color: #bfe6d3;
  box-shadow: none;
}
.eyebrow--dark .icon { color: #8fe0b9; }

/* ---------- Cabeçalho de seção ---------- */
.section-head {
  max-width: 780px;
  margin: 0 auto clamp(48px, 6vw, 80px);
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
}
.section-head h2 { font-size: clamp(2rem, 4.3vw, 3.4rem); font-weight: 800; }
.section-head p { max-width: 640px; color: var(--muted); font-size: clamp(1.02rem, 1.4vw, 1.18rem); }

/* ---------- Marca ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--brand-700);
}
.brand__mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 11px;
  background: var(--brand-500);
  color: #fff;
  box-shadow: 0 8px 18px -8px rgba(76, 132, 102, .9), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.brand__mark .icon { width: 22px; height: 22px; }
.brand__mark--sm { width: 30px; height: 30px; border-radius: 9px; }
.brand__mark--sm .icon { width: 17px; height: 17px; }
.brand__mark--lg { width: 64px; height: 64px; border-radius: 18px; }
.brand__mark--lg .icon { width: 34px; height: 34px; }
.brand__mark--xl { width: 120px; height: 120px; border-radius: 32px; }
.brand__mark--xl .icon { width: 64px; height: 64px; }

/* ---------- Navegação ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color .35s, border-color .35s, box-shadow .35s;
}
.nav.is-scrolled {
  background: rgba(246, 251, 248, .74);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -24px rgba(16, 32, 27, .35);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  backdrop-filter: saturate(1.6) blur(16px);
}
.nav__inner { height: 100%; display: flex; align-items: center; gap: 20px; }
.nav__links { display: flex; gap: 2px; margin-left: auto; }
.nav__links a {
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 500;
  transition: color .2s, background-color .2s;
}
.nav__links a:hover,
.nav__links a[aria-current="true"] { color: var(--ink); background: rgba(255, 255, 255, .7); }
.nav__actions { display: flex; align-items: center; gap: 8px; margin-left: 8px; }
.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  cursor: pointer;
}
.nav__toggle .icon { width: 22px; height: 22px; }
.nav__sheet {
  position: absolute;
  top: calc(var(--header-h) - 4px);
  left: 12px;
  right: 12px;
  display: grid;
  gap: 2px;
  padding: 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid #fff;
  box-shadow: var(--shadow-lg);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  animation: sheet-in .35s var(--ease-out);
}
.nav__sheet[hidden] { display: none; }
.nav__sheet a:not(.btn) {
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 600;
  color: var(--text);
}
.nav__sheet a:not(.btn):hover { background: var(--brand-50); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(-8px) scale(.98); } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  padding-top: calc(var(--header-h) + clamp(20px, 4vh, 56px));
  padding-bottom: clamp(56px, 9vh, 104px);
  overflow: clip;
}
.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero.is-ready .hero__canvas { opacity: 1; }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  align-items: center;
  gap: 24px;
  min-height: calc(100svh - var(--header-h) - 150px);
}
.hero__copy { display: grid; justify-items: start; gap: 26px; max-width: 640px; }
.hero__title {
  font-size: clamp(2.6rem, 5.6vw, 4.85rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.045em;
}
.hero__title .word { display: inline-block; will-change: transform; }
.hl {
  position: relative;
  z-index: 0;
  white-space: nowrap;
  color: var(--brand-700);
  background: linear-gradient(100deg, var(--brand-900) 0%, var(--brand-700) 35%, var(--brand-400) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hl svg {
  position: absolute;
  left: 0;
  bottom: -.1em;
  z-index: -1;
  width: 100%;
  height: .32em;
  color: var(--brand-200);
}
.hero__lead { max-width: 560px; color: var(--muted); font-size: clamp(1.05rem, 1.45vw, 1.22rem); }
.hero__lead strong { color: var(--brand-700); font-weight: 700; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: .92rem; font-weight: 500; }
.hero__proof li { display: inline-flex; align-items: center; gap: 6px; }
.hero__proof .icon { width: 18px; height: 18px; color: var(--brand-500); }
.hero__stage { position: relative; height: min(690px, 74svh); }
.hero__fallback { display: none; position: absolute; inset: 0; place-items: center; }
.hero.is-fallback .hero__fallback { display: grid; }
.hero.is-fallback .chip { display: none; }

.js:not(.intro-done) [data-intro],
.js:not(.intro-done) [data-split] { opacity: 0; }

/* Cartões flutuantes do hero, posicionados pelo 3D */
.chip {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 236px;
  padding: 10px 14px 10px 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .74);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: var(--shadow-md);
  font-size: .8rem;
  line-height: 1.35;
  color: var(--muted);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  will-change: transform, opacity;
  transition: opacity .7s var(--ease-out);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
}
.chip.is-visible { opacity: 1; visibility: visible; }
.chip strong { display: block; color: var(--ink); font-size: .78rem; font-weight: 700; }
.chip > span:last-child > span { display: block; }
.chip__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 10px;
}
.chip__icon .icon { width: 18px; height: 18px; }
.chip__icon--brand { background: var(--brand-100); color: var(--brand-700); }
.chip__icon--blue { background: #dbeafe; color: #2563eb; }
.chip__icon--orange { background: #ffedd5; color: #ea580c; }
.chip__bar { height: 5px; margin-top: 6px; overflow: hidden; border-radius: 99px; background: #e2e8f0; width: 120px; }
.chip__bar i { display: block; width: 75%; height: 100%; border-radius: inherit; background: var(--blue); }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  display: grid;
  justify-items: center;
  gap: 8px;
  color: var(--subtle);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  transform: translateX(-50%);
}
.scroll-cue__mouse {
  display: block;
  width: 22px;
  height: 34px;
  border: 2px solid currentColor;
  border-radius: 12px;
  position: relative;
}
.scroll-cue__mouse span {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 4px;
  height: 6px;
  margin-left: -2px;
  border-radius: 2px;
  background: currentColor;
  animation: scroll-dot 1.8s var(--ease-out) infinite;
}
@keyframes scroll-dot {
  0% { opacity: 0; transform: translateY(-2px); }
  30% { opacity: 1; }
  80%, 100% { opacity: 0; transform: translateY(10px); }
}

/* ---------- Números ---------- */
.stats { padding-block: clamp(32px, 5vw, 64px); }
.stats__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stat {
  padding: 26px 24px;
  border-radius: var(--r-md);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.stat__num {
  display: flex;
  align-items: baseline;
  gap: .12em;
  min-height: 1em;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.6vw, 3rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--brand-700);
  font-variant-numeric: tabular-nums;
}
.stat__icon { width: 1.1em; height: 1em; stroke-width: 2.4; }
.stat__label { margin-top: 12px; color: var(--muted); font-size: .95rem; line-height: 1.45; }

/* ---------- Ali (seção escura) ---------- */
.ali {
  margin-inline: clamp(8px, 1.6vw, 20px);
  border-radius: clamp(28px, 4vw, 48px);
  overflow: clip;
  color: #cfe3da;
  background:
    radial-gradient(900px 620px at 18% 28%, rgba(76, 132, 102, .42), transparent 62%),
    radial-gradient(700px 520px at 92% 85%, rgba(39, 110, 88, .38), transparent 60%),
    linear-gradient(180deg, #0d2a22 0%, #0a1d18 100%);
  isolation: isolate;
}
.ali::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 30% 35%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 30% 35%, #000 10%, transparent 75%);
}
.ali h2 { color: #f2fbf6; font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; }
.ali__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
}
.ali__stage { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 580px; justify-self: center; }
.ali__stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.ali__status {
  position: absolute;
  left: 50%;
  bottom: 4%;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  color: #d2ebdf;
  font-size: .85rem;
  font-weight: 500;
  white-space: nowrap;
  transform: translateX(-50%);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.wave { display: inline-flex; align-items: center; gap: 3px; height: 16px; }
.wave i {
  width: 3px;
  height: 100%;
  border-radius: 3px;
  background: #8fe0b9;
  transform: scaleY(.25);
  transition: transform .3s;
}
.wave[data-mode="speaking"] i,
.wave[data-mode="listening"] i { animation: wave 1s ease-in-out infinite; }
.wave[data-mode="listening"] i { background: #a5c8ff; animation-duration: 1.4s; }
.wave i:nth-child(2) { animation-delay: -.2s; }
.wave i:nth-child(3) { animation-delay: -.45s; }
.wave i:nth-child(4) { animation-delay: -.1s; }
.wave i:nth-child(5) { animation-delay: -.6s; }
.wave[data-mode="thinking"] i { animation: think 1.2s ease-in-out infinite; }
@keyframes wave { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }
@keyframes think { 0%, 100% { transform: scaleY(.25); opacity: .4; } 50% { transform: scaleY(.45); opacity: 1; } }

.ali__copy { display: grid; justify-items: start; gap: 22px; }
.ali__lead { color: #a9c7bb; font-size: clamp(1.02rem, 1.35vw, 1.15rem); max-width: 560px; }

.transcript {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  width: 100%;
  min-height: 316px;
  margin-top: 6px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 64px);
  mask-image: linear-gradient(to bottom, transparent 0, #000 64px);
}
.bubble {
  max-width: 88%;
  padding: 12px 16px;
  border-radius: 18px;
  font-size: .97rem;
  line-height: 1.5;
  animation: bubble-in .5s var(--ease-out) both;
}
.bubble.is-leaving { animation: bubble-out .4s ease both; }
@keyframes bubble-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
@keyframes bubble-out { to { opacity: 0; transform: translateY(-10px); } }
.bubble--patient {
  align-self: flex-end;
  border-bottom-right-radius: 6px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  color: #eef8f3;
}
.bubble--ali {
  align-self: flex-start;
  border-bottom-left-radius: 6px;
  background: linear-gradient(135deg, rgba(76, 132, 102, .62), rgba(39, 110, 88, .5));
  border: 1px solid rgba(152, 198, 179, .35);
  color: #fff;
}
.bubble__who {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 3px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .7;
}
.bubble__who .icon { width: 13px; height: 13px; }
.bubble__text:empty::after,
.bubble__text.is-typing::after {
  content: '';
  display: inline-block;
  width: 7px;
  height: 1em;
  margin-left: 2px;
  vertical-align: -2px;
  border-radius: 2px;
  background: currentColor;
  opacity: .6;
  animation: caret 1s steps(2) infinite;
}
@keyframes caret { 50% { opacity: 0; } }
.bubble__dots { display: inline-flex; gap: 4px; padding: 6px 0; }
.bubble__dots i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: currentColor;
  opacity: .5;
  animation: dots 1s ease-in-out infinite;
}
.bubble__dots i:nth-child(2) { animation-delay: .15s; }
.bubble__dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 0%, 100% { transform: translateY(0); opacity: .35; } 50% { transform: translateY(-4px); opacity: .9; } }
.bubble__action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(16, 185, 129, .18);
  border: 1px solid rgba(167, 243, 208, .28);
  color: #b7f5d8;
  font-size: .76rem;
  font-weight: 600;
  animation: bubble-in .4s var(--ease-out) both;
}
.bubble__action .icon { width: 14px; height: 14px; }

.abilities {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(56px, 7vw, 96px);
}
.ability {
  padding: 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .09);
  transition: background-color .3s, border-color .3s, transform .4s var(--ease-out);
}
.ability:hover { background: rgba(255, 255, 255, .07); border-color: rgba(152, 198, 179, .35); transform: translateY(-4px); }
.ability__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: rgba(108, 168, 143, .16);
  color: #9fe3c2;
}
.ability__icon .icon { width: 22px; height: 22px; }
.ability h3 { margin-bottom: 8px; color: #f2fbf6; font-size: 1.1rem; letter-spacing: -.02em; }
.ability q { display: block; color: #a9c7bb; font-size: .93rem; font-style: italic; }
.ability q::before { content: '“'; }
.ability q::after { content: '”'; }

.guardrails {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 32px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: #b8d4c8;
  font-size: .92rem;
}
.guardrails li { display: inline-flex; align-items: center; gap: 8px; }
.guardrails .icon { width: 18px; height: 18px; color: #8fe0b9; }

/* ---------- Tour do paciente ---------- */
.tour__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 80px);
}
.tour__step {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  min-height: 78vh;
  padding-block: 40px;
  opacity: .28;
  transition: opacity .6s var(--ease-out);
}
.tour__step.is-active { opacity: 1; }
.tour__step:last-child { min-height: 96vh; }
.tour__num {
  font-family: var(--font-display);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand-500);
}
.tour__step h3 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; }
.tour__step p { max-width: 520px; color: var(--muted); font-size: 1.08rem; }
.checklist { display: grid; gap: 10px; margin-top: 6px; }
.checklist li { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; color: var(--text); }
.checklist .icon { width: 20px; height: 20px; margin-top: 2px; color: var(--brand-500); }
.tour__stage { position: relative; }
.tour__sticky {
  position: sticky;
  top: calc(var(--header-h) + 8px);
  height: calc(100svh - var(--header-h) - 16px);
  max-height: 860px;
}
.tour__sticky canvas { width: 100%; height: 100%; }
.tour__dots {
  position: absolute;
  top: 50%;
  right: 0;
  display: grid;
  gap: 10px;
  transform: translateY(-50%);
}
.tour__dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(16, 32, 27, .16);
  cursor: pointer;
  transition: height .4s var(--ease-out), background-color .3s;
}
.tour__dots button.is-active { height: 30px; background: var(--brand-500); }

/* ---------- Painel do nutricionista ---------- */
.pro__stage {
  position: relative;
  max-width: 1120px;
  margin-inline: auto;
  perspective: 1800px;
  perspective-origin: 50% 0%;
}
.pro__scene {
  --rx: 0deg;
  --sc: 1;
  position: relative;
  transform-style: preserve-3d;
  transform-origin: 50% 0%;
  transform: rotateX(var(--rx)) scale(var(--sc));
}
.dash {
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, .58);
  border: 1px solid rgba(255, 255, 255, .85);
  box-shadow: var(--shadow-lg);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.dash__bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 42px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .65);
}
.dash__dots { display: flex; gap: 7px; }
.dash__dots i { width: 11px; height: 11px; border-radius: 50%; background: #fca5a5; }
.dash__dots i:nth-child(2) { background: #fcd34d; }
.dash__dots i:nth-child(3) { background: #86efac; }
.dash__title { color: var(--subtle); font-size: .78rem; font-weight: 600; }
.dash__body {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 16px;
  padding: 16px;
  background:
    radial-gradient(at 0% 0%, rgba(224, 242, 241, .9) 0%, transparent 50%),
    radial-gradient(at 100% 0%, rgba(227, 242, 253, .9) 0%, transparent 50%),
    radial-gradient(at 100% 100%, rgba(241, 248, 233, .9) 0%, transparent 50%),
    radial-gradient(at 0% 100%, rgba(255, 249, 196, .7) 0%, transparent 50%);
  font-family: var(--font-sans);
}
.dash__side {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 18px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .55);
  border: 1px solid rgba(255, 255, 255, .7);
}
.dash__brand {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-inline: 4px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -.02em;
  color: var(--brand-700);
}
.dash__nav { display: grid; gap: 4px; }
.dash__nav span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
  color: #475569;
  font-size: .8rem;
  font-weight: 600;
}
.dash__nav .icon { width: 17px; height: 17px; color: #64748b; }
.dash__nav .is-active {
  background: rgba(255, 255, 255, .75);
  border-color: rgba(255, 255, 255, .95);
  box-shadow: var(--shadow-xs);
  color: var(--brand-700);
}
.dash__nav .is-active .icon { color: var(--brand-700); }
.dash__me {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .6);
  border: 1px solid rgba(255, 255, 255, .8);
}
.dash__me strong { display: block; color: var(--ink); font-size: .78rem; }
.dash__me small { display: block; color: #64748b; font-size: .7rem; }
.dash__avatar {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 50%;
  background: var(--brand-100);
  color: var(--brand-700);
  font-weight: 700;
  font-size: .85rem;
}
.dash__main { display: grid; gap: 14px; min-width: 0; }
.dash__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dash__hello { display: block; color: var(--ink); font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; }
.dash__head small { color: #64748b; font-size: .8rem; }
.dash__row { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 14px; }
.dcard {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
  padding: 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .7);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: var(--shadow-xs);
}
.dcard h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
  font-family: var(--font-sans);
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: #1e293b;
}
.dcard h4 .icon { width: 17px; height: 17px; }
.c-amber { color: var(--amber); }
.c-brand { color: var(--brand-500); }
.alert {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 10px 9px 12px;
  border-radius: 10px;
  background: #fffbeb;
  border: 1px solid #fef3c7;
  color: #78350f;
  font-size: .76rem;
  font-weight: 500;
  line-height: 1.4;
}
.mini-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: none;
  height: 28px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: .72rem;
  font-weight: 600;
  white-space: nowrap;
}
.mini-btn .icon { width: 14px; height: 14px; }
.mini-btn--primary { height: 34px; padding: 0 14px; background: #059669; color: #fff; font-size: .78rem; box-shadow: var(--shadow-xs); }
.mini-btn--amber { color: #92400e; }
.mini-btn--amber-solid { background: #d97706; color: #fff; }
.mini-btn--outline { border: 1px solid #e2e8f0; background: rgba(255, 255, 255, .8); color: #334155; }
.dash__wide { width: 100%; height: 32px; margin-top: 2px; }
.appt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e2e8f0;
  font-size: .76rem;
}
.appt > span:nth-child(2) { flex: 1; min-width: 0; }
.appt b { display: block; color: #0f172a; font-weight: 600; }
.appt small { color: #64748b; }
.appt__icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; background: var(--brand-50); color: var(--brand-500); }
.appt__icon .icon { width: 15px; height: 15px; }
.dash__link { display: inline-flex; align-items: center; gap: 2px; margin-left: auto; color: #059669; font-size: .74rem; font-weight: 600; }
.dash__link .icon { width: 14px; height: 14px; }
.dtable { width: 100%; border-collapse: collapse; font-size: .76rem; }
.dtable th {
  padding: 8px 10px;
  background: #f8fafc;
  color: #64748b;
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-align: left;
  text-transform: uppercase;
}
.dtable th:first-child { border-radius: 8px 0 0 8px; }
.dtable th:last-child { border-radius: 0 8px 8px 0; }
.dtable td { padding: 9px 10px; border-bottom: 1px solid #f1f5f9; color: #475569; white-space: nowrap; }
.dtable tr:last-child td { border-bottom: 0; }
.dtable td:first-child { color: #0f172a; font-weight: 600; }
.dtable .link { color: #059669; font-weight: 600; }
.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 999px;
  border: 1px solid;
  font-size: .68rem;
  font-weight: 600;
  white-space: nowrap;
}
.badge--ok { background: var(--brand-100); border-color: var(--brand-200); color: var(--brand-800); }
.badge--warn { background: #fef3c7; border-color: #fde68a; color: #92400e; }
.badge--none { background: rgba(255, 255, 255, .7); border-color: #e2e8f0; color: #475569; }
.goals { display: grid; gap: 12px; }
.goal {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 8px;
  font-size: .74rem;
  color: #475569;
}
.goal b { color: #0f172a; }
.goal i {
  grid-column: 1 / -1;
  position: relative;
  height: 7px;
  border-radius: 99px;
  background: #eef2f6;
  overflow: hidden;
}
.goal i::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  border-radius: inherit;
  background: var(--c, var(--brand-500));
}

.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 290px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .86);
  border: 1px solid #fff;
  box-shadow: var(--shadow-lg);
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.4;
  transform: translateZ(70px);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.float-card strong { display: block; color: var(--ink); font-size: .86rem; }
.float-card small { display: block; font-size: .78rem; }
.float-card__icon { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 11px; }
.float-card__icon .icon { width: 19px; height: 19px; }
.float-card__icon--amber { background: #fef3c7; color: #b45309; }
.float-card__icon--green { background: var(--brand-100); color: var(--brand-700); }
.float-card__icon--violet { background: #ede9fe; color: #6d28d9; }
.float-card__actions { display: flex; gap: 6px; margin-top: 10px; }
.float-card--1 { top: 25%; right: -64px; width: 272px; }
.float-card--2 { bottom: 20%; left: -46px; width: 270px; }
.float-card--3 { bottom: -34px; right: 9%; width: 260px; transform: translateZ(110px); }
.spark { width: 100%; height: 30px; margin-top: 8px; color: #8b5cf6; }

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(72px, 9vw, 120px);
}
.feature {
  padding: 28px;
  border-radius: var(--r-md);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.feature h3 { margin-bottom: 8px; font-size: 1.14rem; letter-spacing: -.02em; }
.feature p { color: var(--muted); font-size: .96rem; }
.icon-box {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  margin-bottom: 18px;
  border-radius: 14px;
}
.icon-box .icon { width: 23px; height: 23px; }
.icon-box--brand { background: var(--brand-100); color: var(--brand-700); }
.icon-box--amber { background: #fef3c7; color: #b45309; }
.icon-box--blue { background: #dbeafe; color: #1d4ed8; }
.icon-box--violet { background: #ede9fe; color: #6d28d9; }
.icon-box--rose { background: #ffe4e6; color: #be123c; }
.icon-box--orange { background: #ffedd5; color: #c2410c; }

/* ---------- Como funciona ---------- */
.howto { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.howto__line {
  position: absolute;
  top: 44px;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--brand-200) 0 8px, transparent 8px 16px);
}
.howto__line span {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, var(--brand-500) 0 8px, transparent 8px 16px);
  transform: scaleX(var(--p, 1));
  transform-origin: left;
}
.howto__step {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 0 12px;
  text-align: center;
}
.howto__badge {
  position: relative;
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  margin-bottom: 8px;
  border-radius: 28px;
  background: linear-gradient(145deg, #fff, var(--brand-50));
  border: 1px solid #fff;
  box-shadow: var(--shadow-md);
  color: var(--brand-700);
}
.howto__badge .icon { width: 34px; height: 34px; }
.howto__badge b {
  position: absolute;
  top: -8px;
  right: -8px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--brand-500);
  border: 3px solid #f4faf7;
  color: #fff;
  font-size: .82rem;
}
.howto__step h3 { font-size: 1.3rem; letter-spacing: -.02em; }
.howto__step p { max-width: 340px; color: var(--muted); }

/* ---------- Segurança ---------- */
.trust__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.trust__card {
  display: flex;
  gap: 18px;
  padding: 24px;
  border-radius: var(--r-md);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.trust__card .icon-box { margin: 0; }
.trust__card h3 { margin-bottom: 6px; font-size: 1.06rem; letter-spacing: -.02em; }
.trust__card p { color: var(--muted); font-size: .94rem; }

/* ---------- A empresa ---------- */
.company__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
}
.company__stage {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--r-xl);
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 62%),
    linear-gradient(160deg, #e7f4ee 0%, #eaf3fd 55%, #f7f9e8 100%);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: var(--shadow-md);
}
.company__stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.company__copy { display: grid; justify-items: start; gap: 20px; }
.company__copy h2 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 800; }
.company__copy > p { color: var(--muted); font-size: 1.06rem; }
.values { display: grid; gap: 12px; width: 100%; margin-top: 10px; }
.value {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-xs);
}
.value .icon-box { margin: 0; width: 44px; height: 44px; border-radius: 12px; }
.value h3 { font-size: 1rem; letter-spacing: -.01em; }
.value p { color: var(--muted); font-size: .92rem; }

/* ---------- Preço ---------- */
.price-card {
  --rx: 0deg;
  --ry: 0deg;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  max-width: 960px;
  margin-inline: auto;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: rgba(255, 255, 255, .78);
  border: 1px solid #fff;
  box-shadow: var(--shadow-lg);
  transform: perspective(1400px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .7s var(--ease-out);
}
.price-card.is-tilting { transition: transform .12s linear; }
.price-card__main {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 10px;
  padding: clamp(28px, 4vw, 52px);
  background:
    radial-gradient(420px 300px at 0% 0%, rgba(152, 198, 179, .35), transparent 60%),
    linear-gradient(160deg, var(--brand-900), var(--brand-700));
  color: #d7ece2;
}
.price-card__tag {
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .2);
  color: #e4f6ed;
  font-size: .75rem;
  font-weight: 600;
}
.price-card__plan { margin-top: 10px; color: #a8dcc3; font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.price-card__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 6vw, 4.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
}
.price-card__price span { font-size: .42em; letter-spacing: -.01em; opacity: .9; }
.price-card__price small { width: 100%; color: #b9dccb; font-family: var(--font-sans); font-size: .95rem; font-weight: 500; letter-spacing: 0; }
.price-card__note { margin-bottom: 14px; color: #b9dccb; font-size: .92rem; }
.price-card__list { display: grid; align-content: center; gap: 16px; padding: clamp(28px, 4vw, 52px); }
.price-card__list li { display: flex; align-items: flex-start; gap: 12px; color: var(--text); font-weight: 500; }
.price-card__list .icon { width: 21px; height: 21px; margin-top: 1px; color: var(--brand-500); }
.glare {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(520px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .28), transparent 45%);
  transition: opacity .4s;
  mix-blend-mode: soft-light;
}
.price-card.is-tilting .glare { opacity: 1; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 820px; margin-inline: auto; }
.faq details {
  border-radius: 18px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: background-color .3s, box-shadow .3s;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.faq details[open] { background: rgba(255, 255, 255, .8); box-shadow: var(--shadow-sm); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px 20px 24px;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 650;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq__plus {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 10px;
  background: var(--brand-50);
  color: var(--brand-700);
  transition: transform .35s var(--ease-out), background-color .3s, color .3s;
}
.faq__plus .icon { width: 18px; height: 18px; }
.faq details[open] .faq__plus { transform: rotate(45deg); background: var(--brand-500); color: #fff; }
.faq__body { overflow: hidden; }
.faq__body p { padding: 0 24px 22px; color: var(--muted); }

/* ---------- CTA final ---------- */
.cta {
  position: relative;
  margin: 0 clamp(8px, 1.6vw, 20px);
  padding: clamp(80px, 11vw, 132px) 0;
  overflow: hidden;
  isolation: isolate;
  border-radius: clamp(28px, 4vw, 48px);
  background: linear-gradient(135deg, #133f32 0%, #1f5a48 45%, #3f7559 100%);
  color: #d7ece2;
  text-align: center;
}
.cta__glow {
  position: absolute;
  inset: -40%;
  z-index: -1;
  background:
    radial-gradient(circle at 30% 40%, rgba(152, 198, 179, .35), transparent 30%),
    radial-gradient(circle at 70% 65%, rgba(255, 249, 196, .16), transparent 28%);
  animation: glow-drift 18s ease-in-out infinite alternate;
}
@keyframes glow-drift { to { transform: translate3d(6%, -4%, 0) rotate(8deg); } }
.cta__inner { display: grid; justify-items: center; gap: 22px; }
.cta .brand__mark { background: rgba(255, 255, 255, .14); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25); }
.cta h2 { max-width: 760px; color: #fff; font-size: clamp(2rem, 4.6vw, 3.6rem); font-weight: 800; }
.cta p { font-size: 1.12rem; color: #b9dccb; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }

/* ---------- Rodapé ---------- */
.footer { padding: 72px 0 32px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.footer__brand { display: grid; align-content: start; gap: 14px; }
.footer__brand p { max-width: 320px; color: var(--muted); font-size: .94rem; }
.footer nav { display: grid; align-content: start; gap: 10px; }
.footer h4 { margin-bottom: 4px; font-family: var(--font-sans); font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.footer nav a { color: var(--muted); font-size: .94rem; transition: color .2s; }
.footer nav a:hover { color: var(--brand-700); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--subtle);
  font-size: .86rem;
}
.footer__safe { display: inline-flex; align-items: center; gap: 6px; }
.footer__safe .icon { width: 16px; height: 16px; color: var(--brand-500); }

/* ---------- Revelação ao rolar ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: var(--delay, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1120px) {
  .nav__links { display: none; }
  .nav__actions { margin-left: auto; }
  .nav__toggle { display: inline-grid; }
  .float-card--1 { right: -12px; }
  .float-card--2 { left: -12px; }
}

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; min-height: 0; gap: 8px; }
  .hero__copy { max-width: none; }
  .hero__stage { height: min(620px, 82vw + 120px); }
  .scroll-cue { display: none; }

  .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .ali__grid { grid-template-columns: 1fr; }
  .ali__stage { max-width: 440px; }
  .abilities { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .tour__grid { grid-template-columns: 1fr; gap: 0; }
  .tour__stage {
    order: -1;
    position: sticky;
    top: var(--header-h);
    z-index: 2;
    height: 54svh;
    margin-inline: calc(var(--gutter) * -1);
    background: linear-gradient(to bottom, rgba(243, 249, 246, .92) 80%, rgba(243, 249, 246, 0));
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }
  .tour__sticky { position: static; height: 100%; max-height: none; }
  .tour__dots { right: var(--gutter); }
  .tour__step { min-height: 64svh; justify-content: flex-start; padding-top: 32px; }

  .dash__body { grid-template-columns: 1fr; }
  .dash__side { display: none; }
  .dash__row { grid-template-columns: 1fr; }
  .float-card { position: relative; inset: auto; width: auto; transform: none; margin-top: 12px; }
  .float-card--3 { transform: none; }
  .pro__scene { display: grid; }

  .features, .trust__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .howto { grid-template-columns: 1fr; gap: 40px; }
  .howto__line { display: none; }

  .company__grid { grid-template-columns: 1fr; }
  .company__stage { max-width: 520px; width: 100%; justify-self: center; }

  .price-card { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .nav__actions .btn--primary { --h: 40px; padding: 0 14px; font-size: .88rem; }
  .brand { font-size: 1.2rem; }
  .brand__mark { width: 34px; height: 34px; }

  .hero__ctas { width: 100%; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__stage { height: min(620px, 136vw); }
  .chip { max-width: 158px; gap: 8px; padding: 7px 10px 7px 7px; border-radius: 13px; font-size: .66rem; }
  .chip strong { font-size: .68rem; }
  .chip__icon { width: 24px; height: 24px; border-radius: 7px; }
  .chip__icon .icon { width: 13px; height: 13px; }
  .chip__bar { width: 70px; height: 4px; margin-top: 4px; }
  .chip[data-chip="2"] { display: none; }

  .stats__grid { gap: 10px; }
  .stat { padding: 20px 18px; }
  .stat__label { font-size: .86rem; }

  .abilities, .features, .trust__grid { grid-template-columns: 1fr; }
  .bubble { max-width: 94%; font-size: .92rem; }
  .transcript { min-height: 300px; }

  .dash__head { flex-direction: column; align-items: flex-start; }
  .hide-sm { display: none; }
  .alert { flex-direction: column; align-items: flex-start; gap: 4px; }
  .alert .mini-btn { height: auto; padding: 0; }

  .trust__card { flex-direction: column; gap: 14px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

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