/* ==========================================================================
   Somu — landing page
   Tokens: SOMU_DESIGN_SYSTEM.md (somu_app). Tema claro, blocos escuros no
   hero, na colaboração e no CTA final.
   ========================================================================== */

:root {
  /* Marca */
  --lime: #b8f34b;
  --ink: #121214;
  --logo-ink: #1a231f;

  /* Semânticos (tema claro) */
  --bg: #f7f9f5;
  --surface: #ffffff;
  --surface-alt: #ededef;
  --text: #121214;
  --text-muted: #6b7280;
  --border: #e2e4e8;
  --nutrition: #4a85d4;
  --nutrition-text: #2f68b5;
  --nutrition-strong: #2f68b5;

  /* Ação: muda por contexto (claro = ink/lime, escuro = lime/ink) */
  --action: var(--ink);
  --action-fg: var(--lime);
  --focus: var(--ink);

  /* Gradientes (APP_GRADIENTS) */
  --grad-hero: linear-gradient(135deg, #121417 0%, #1e2329 100%);
  --grad-brand: linear-gradient(135deg, #142018 0%, #1c3324 100%);

  /* Tipografia */
  --font-display: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --maxw: 1200px;
  --pad: clamp(20px, 4vw, 48px);
  --header-h: 72px;
  --section-y: clamp(80px, 10vw, 128px);

  --r-control: 8px;
  --r-card: 12px;
  --r-tile: 12px;
  --r-pill: 999px;

  --shadow-float: 0 24px 48px -24px rgba(18, 18, 20, 0.35), 0 2px 6px rgba(18, 18, 20, 0.06);
}

/* Contextos escuros: o lime vira o fundo da ação */
.on-dark,
.hero,
.collab,
.final-cta {
  --action: var(--lime);
  --action-fg: var(--ink);
  --focus: var(--lime);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

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

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

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

.icon {
  width: 1em;
  height: 1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--r-control);
  background: var(--ink);
  color: var(--lime);
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--r-control);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}
.btn-sm { height: 38px; padding: 0 14px; font-size: 0.875rem; }
.btn-lg { height: 52px; padding: 0 26px; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--action); color: var(--action-fg); }
.btn-primary:hover { opacity: 0.9; }
.btn-primary:active { opacity: 0.85; }

.btn-outline { background: var(--surface); border-color: var(--border); color: var(--text); }
.btn-outline:hover { background: var(--surface-alt); }

.btn-outline-light { background: transparent; border-color: rgba(255, 255, 255, 0.32); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.5); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  color: #fff;
  --logo-pill: #f3f7f1;
  --logo-ring: #15181b;
  --action: var(--lime);
  --action-fg: var(--ink);
  --focus: var(--lime);
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.is-solid {
  color: var(--text);
  background: rgba(247, 249, 245, 0.92);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: inset 0 -1px 0 var(--border);
  --logo-pill: var(--logo-ink);
  --logo-ring: #f7f9f5;
  --action: var(--ink);
  --action-fg: var(--lime);
  --focus: var(--ink);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.brand-mark { width: 30px; height: 30px; }
.brand-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3125rem;
  letter-spacing: -0.02em;
}

.main-nav { flex: 1; }
.main-nav ul { display: flex; gap: 28px; }
.main-nav ul a {
  font-size: 0.9375rem;
  font-weight: 500;
  opacity: 0.78;
  transition: opacity 0.15s ease;
}
.main-nav ul a:hover { opacity: 1; }
.menu-actions { display: none; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}
.header-login {
  font-size: 0.9375rem;
  font-weight: 600;
}
.header-login:hover { text-decoration: underline; text-underline-offset: 4px; }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--r-control);
  background: transparent;
  font-size: 24px;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: clip;
  background: var(--grad-hero);
  color: #fff;
  padding-top: calc(var(--header-h) + clamp(40px, 6vw, 72px));
  padding-bottom: clamp(56px, 7vw, 96px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.hero-copy { max-width: 580px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 12px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.86);
}
.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(184, 243, 75, 0.18);
}

.hero-title {
  margin-top: 28px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.625rem, 1.55rem + 4.3vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.hero-title .line { display: block; }

.hero-lead {
  margin-top: 24px;
  max-width: 34em;
  font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.74);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero-note {
  margin-top: 16px;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.58);
}

.hero-visual {
  position: relative;
  height: clamp(560px, 50vw, 660px);
}

/* A foto do hero é uma pílula que sangra até a borda direita da tela,
   como as barras do logo. */
.hero-photo {
  position: absolute;
  top: 0;
  bottom: 96px;
  left: 150px;
  right: calc(-1 * (max(0px, (100vw - var(--maxw) - var(--pad) * 2) / 2) + var(--pad)));
  border-radius: var(--r-pill) 0 0 var(--r-pill);
  overflow: hidden;
  background: #1e2329;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% 12%;
}

.hero-phone {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  --w: clamp(244px, 20vw, 278px);
}

/* ---------- Mockup de celular (tela do app, tema escuro) ---------- */
.phone {
  width: var(--w, 272px);
  aspect-ratio: 272 / 584;
  padding: calc(var(--w, 272px) * 0.033);
  border-radius: calc(var(--w, 272px) * 0.17);
  background: #0a0a0b;
  box-shadow:
    inset 0 0 0 1.5px #3a3a42,
    0 40px 80px -28px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(255, 255, 255, 0.04);
}
.screen {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: calc(var(--w, 272px) * 0.14);
  background: #121214;
  color: #f7f9f5;
  font-family: var(--font-body);
  font-size: calc(var(--w, 272px) / 24.5);
  line-height: 1.3;
  --logo-pill: #f3f7f1;
  --logo-ring: #1b1f24;
}
.screen::before {
  content: "";
  position: absolute;
  top: 0.75em;
  left: 50%;
  width: 7.4em;
  height: 2em;
  transform: translateX(-50%);
  border-radius: var(--r-pill);
  background: #000;
  z-index: 3;
}
.app-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.05em 2em 0.5em 2.3em;
  font-weight: 700;
  font-size: 1em;
  background: #1a1d22;
}
.status-icons { display: inline-flex; gap: 0.3em; align-items: flex-end; }
.status-icons i { display: block; width: 0.35em; background: #f7f9f5; border-radius: 1px; }
.status-icons i:nth-child(1) { height: 0.5em; }
.status-icons i:nth-child(2) { height: 0.75em; }
.status-icons i:nth-child(3) { width: 1.7em; height: 0.85em; border-radius: 0.25em; }

.app-header {
  padding: 0.8em 1.4em 1.5em;
  border-radius: 0 0 2em 2em;
  background: linear-gradient(135deg, #1a1d22 0%, #22272e 100%);
}
.app-header-top { display: flex; justify-content: space-between; align-items: center; }
.app-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2em;
}
.app-logo { width: 1.5em; height: 1.5em; }
.app-header-actions { display: inline-flex; align-items: center; gap: 0.45em; }
.streak-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  padding: 0.35em 0.7em;
  border-radius: var(--r-pill);
  background: var(--nutrition);
  color: #fff;
  font-weight: 700;
  font-size: 0.85em;
}
.app-round {
  display: inline-grid;
  place-items: center;
  width: 2.3em;
  height: 2.3em;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}
.app-hello {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1em;
}
.app-greet { font-size: 0.95em; font-weight: 500; color: rgba(255, 255, 255, 0.72); }
.app-name {
  margin-top: 0.1em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.15em;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.app-avatar {
  width: 4.4em;
  height: 4.4em;
  padding: 0.16em;
  border: 0.17em solid var(--lime);
  border-radius: 50%;
}
.app-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #eef3ea;
  transform: scale(1);
}

.app-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75em;
  min-height: 0;
  padding: 1em 1em 0;
  overflow: hidden;
}
.app-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7em; }
.app-tile {
  padding: 0.85em 0.9em;
  border: 1px solid #2e2e35;
  border-radius: 1.1em;
  background: #18181b;
}
.app-tile .icon { font-size: 1.25em; }
.app-tile strong {
  display: block;
  margin-top: 0.45em;
  font-family: var(--font-display);
  font-size: 1.15em;
  letter-spacing: -0.01em;
}
.app-tile span { display: block; margin-top: 0.15em; font-size: 0.8em; color: #9ca3af; }
.lime { color: var(--lime); }

.app-card {
  padding: 0.95em 1em 0.4em;
  border: 1px solid #2e2e35;
  border-radius: 1.1em;
  background: #18181b;
}
.app-card-head { display: flex; justify-content: space-between; align-items: center; }
.app-kicker { font-size: 0.8em; font-weight: 700; color: var(--lime); }
.app-pill {
  padding: 0.2em 0.65em;
  border-radius: var(--r-pill);
  background: rgba(184, 243, 75, 0.16);
  color: var(--lime);
  font-size: 0.78em;
  font-weight: 700;
}
.app-card-title {
  margin-top: 0.5em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3em;
}
.app-card-sub { margin-top: 0.1em; font-size: 0.8em; color: #9ca3af; }
.app-progress {
  height: 0.35em;
  margin: 0.8em 0 0.3em;
  border-radius: var(--r-pill);
  background: #2e2e35;
  overflow: hidden;
}
.app-progress span { display: block; height: 100%; border-radius: inherit; background: var(--lime); }
.app-list li {
  display: flex;
  align-items: center;
  gap: 0.7em;
  padding: 0.6em 0;
  border-top: 1px solid #26262c;
}
.app-list li:first-child { border-top: 0; }
.app-check {
  display: grid;
  place-items: center;
  flex: none;
  width: 1.85em;
  height: 1.85em;
  border: 1px solid #3a3a42;
  border-radius: 0.55em;
  color: var(--ink);
  font-size: 1em;
}
.app-list .done .app-check { border-color: var(--lime); background: var(--lime); }
.app-list .done b { color: #9ca3af; }
.app-list .now .app-check { border: 0.14em solid var(--lime); }
.app-list b { display: block; font-size: 0.95em; font-weight: 600; }
.app-list small { display: block; margin-top: 0.1em; font-size: 0.78em; color: #9ca3af; }

.app-nav {
  display: flex;
  justify-content: space-around;
  margin: 0.6em 0.8em 1em;
  padding: 0.6em 0.4em;
  border: 1px solid #2e2e35;
  border-radius: 1.6em;
  background: #1c1c21;
}
.app-nav span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3em;
  font-size: 0.72em;
  font-weight: 600;
  color: #9ca3af;
}
.app-nav .icon { font-size: 1.55em; }
.app-nav .active { color: var(--lime); }

/* ---------- Fatos ---------- */
.facts {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.facts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.fact {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 16px;
  align-items: start;
  padding: 40px 32px;
  border-left: 1px solid var(--border);
}
.fact:first-child { padding-left: 0; border-left: 0; }
.fact-icon {
  grid-row: span 2;
  margin-top: 4px;
  font-size: 22px;
  color: var(--ink);
}
.fact-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.015em;
}
.fact-text {
  margin-top: 4px;
  max-width: 30ch;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* ---------- Seções ---------- */
.section { padding-block: var(--section-y); }

.section-head { max-width: 640px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 1.45rem + 2.1vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.section-lead {
  margin-top: 16px;
  max-width: 36em;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ---------- Como funciona ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  counter-reset: none;
}
.step {
  position: relative;
  padding-top: 40px;
}
/* trilho que liga os passos */
.step::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 0;
  right: -32px;
  height: 2px;
  background: var(--border);
}
.step:last-child::before { right: 0; }
.step-num {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  min-width: 56px;
  height: 36px;
  padding: 0 14px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--lime);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 0 0 6px var(--bg);
}
.step-title {
  margin-top: 28px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.375rem;
  letter-spacing: -0.02em;
}
.step-text {
  margin-top: 10px;
  max-width: 32ch;
  color: var(--text-muted);
}

/* ---------- Para quem é ---------- */
.audiences { background: var(--surface); }
.audiences .container { display: grid; gap: clamp(96px, 12vw, 160px); }

.audience {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: clamp(48px, 7vw, 96px);
  align-items: center;
}
.audience-reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); }
.audience-reverse .audience-media { order: 2; }

.audience-media { position: relative; }

.audience-photo {
  aspect-ratio: 5 / 4;
  overflow: hidden;
  background: var(--surface-alt);
}
.media-left .audience-photo { border-radius: var(--r-pill) var(--r-card) var(--r-card) var(--r-pill); }
.media-right .audience-photo { border-radius: var(--r-card) var(--r-pill) var(--r-pill) var(--r-card); }
.audience-photo img { width: 100%; height: 100%; object-fit: cover; }
#personal .audience-photo img { object-position: 55% 50%; }
#nutri .audience-photo img { object-position: 40% 50%; }
#alunos .audience-photo img { object-position: 30% 40%; }

.float-card {
  position: absolute;
  z-index: 2;
  width: min(300px, 70%);
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--surface);
  box-shadow: var(--shadow-float);
}
.media-left .float-card { right: -28px; bottom: -40px; }
.media-right .float-card { left: -28px; bottom: -40px; }

.audience-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
}
.tag-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  font-size: 17px;
}
.tag-training .tag-icon { background: var(--ink); color: var(--lime); }
.tag-nutrition { color: var(--nutrition-text); }
.tag-nutrition .tag-icon { background: var(--nutrition); color: #fff; }

.audience-title {
  margin-top: 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.875rem, 1.4rem + 1.7vw, 2.625rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.audience-lead {
  margin-top: 16px;
  max-width: 34em;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.checklist { display: grid; gap: 12px; margin-top: 28px; }
.checklist li {
  position: relative;
  padding-left: 34px;
  font-size: 1rem;
  line-height: 1.5;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--lime)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121214' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
    center / 14px no-repeat;
}
.checklist-nutrition li::before {
  background-color: rgba(74, 133, 212, 0.14);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f68b5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

/* Card de vídeo (personal) */
.video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-control);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(18, 18, 20, 0.05), rgba(18, 18, 20, 0.55)),
    url("assets/photos/personal-supino-800.jpg") 50% 40% / cover;
}
.video-play {
  position: absolute;
  inset: 50% auto auto 50%;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  font-size: 18px;
}
.video-play .icon { fill: currentColor; margin-left: 2px; }
.video-time {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(18, 18, 20, 0.7);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
}
.video-track {
  position: relative;
  height: 4px;
  margin: 14px 2px 0;
  border-radius: var(--r-pill);
  background: var(--border);
}
.video-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 47%;
  border-radius: inherit;
  background: var(--ink);
}
.video-marker {
  position: absolute;
  top: 50%;
  left: 47%;
  width: 14px;
  height: 14px;
  transform: translate(-50%, -50%);
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--lime);
}
.video-comment {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 14px;
}
.video-stamp {
  flex: none;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--lime);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
}
.video-comment p { font-size: 0.875rem; line-height: 1.45; }

/* Card do plano alimentar (nutri) */
.meal-head { display: flex; justify-content: space-between; align-items: center; }
.meal-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--nutrition-text);
}
.meal-time {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--nutrition-text);
}
.meal-items { margin-top: 10px; }
.meal-items li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
}
.meal-items li span:last-child { color: var(--text-muted); white-space: nowrap; }
.meal-adherence { margin-top: 10px; }
.meal-adherence-row { display: flex; justify-content: space-between; font-size: 0.8125rem; color: var(--text-muted); }
.meal-adherence-row b { color: var(--text); font-family: var(--font-display); }
.meal-bar { height: 6px; margin-top: 6px; border-radius: var(--r-pill); background: rgba(74, 133, 212, 0.16); overflow: hidden; }
.meal-bar span { display: block; height: 100%; border-radius: inherit; background: var(--nutrition); }
.meal-burn {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 8px 10px;
  border-radius: var(--r-control);
  background: rgba(184, 243, 75, 0.35);
  font-size: 0.8125rem;
  font-weight: 600;
}

/* Card de conquista (aluno) */
.badge-card {
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(290px, 72%);
}
.badge-mascot {
  width: 60px;
  height: 60px;
  flex: none;
  border: 3px solid var(--lime);
  border-radius: 50%;
  object-fit: cover;
  background: #eef3ea;
}
.badge-kicker { font-size: 0.8125rem; font-weight: 600; color: var(--text-muted); }
.badge-title {
  margin-top: 2px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.015em;
}

/* Selos das lojas */
.store-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 18px 0 14px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  transition: opacity 0.15s ease;
}
.store-badge:hover { opacity: 0.88; }
.store-icon { width: 26px; height: 26px; }
.store-badge span {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.1;
}
.store-badge small {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.6875rem;
  opacity: 0.8;
}
.store-badges-sm .store-badge { height: 44px; padding: 0 14px 0 12px; }
.store-badges-sm .store-icon { width: 22px; height: 22px; }
.store-badges-sm .store-badge span { font-size: 0.9375rem; }

/* ---------- Colaboração ---------- */
.collab {
  background: var(--grad-brand);
  color: #fff;
  padding-block: var(--section-y);
}
.collab-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(48px, 7vw, 96px);
  align-items: center;
}
.collab-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 1.35rem + 2.5vw, 3.25rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.collab-lead {
  margin-top: 20px;
  max-width: 32em;
  font-size: 1.125rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.74);
}

/* Diagrama de pílulas entrelaçadas, no desenho do logo */
.linkage {
  display: flex;
  flex-direction: column;
  padding: 8px 0;
}
.cap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 92px;
  padding: 18px 32px 18px 26px;
  border-radius: var(--r-pill);
  font-size: 26px;
}
.cap span { display: flex; flex-direction: column; font-size: 1rem; }
.cap b {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.375rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.cap small { font-size: 0.9375rem; font-weight: 500; opacity: 0.82; }
.cap-personal {
  width: 78%;
  background: #f3f7f1;
  color: var(--ink);
}
.cap-aluno {
  z-index: 2;
  width: 82%;
  margin: -14px 0 -14px 9%;
  background: var(--lime);
  color: var(--ink);
  box-shadow: 0 0 0 12px #18291f;
}
.cap-nutri {
  width: 78%;
  margin-left: auto;
  padding-left: 44px;
  background: var(--nutrition-strong);
  color: #fff;
}
.cap-personal { padding-bottom: 30px; }
.cap-nutri { padding-top: 30px; }

.collab-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  margin-top: clamp(64px, 8vw, 104px);
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.collab-point .icon { font-size: 24px; color: var(--lime); }
.collab-point h3 {
  margin-top: 16px;
  font-size: 1.125rem;
  font-weight: 700;
}
.collab-point p {
  margin-top: 8px;
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- Recursos ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 40px;
}
.feature {
  padding: 32px 0 40px;
  border-top: 1px solid var(--border);
}
.feature-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-tile);
  background: rgba(184, 243, 75, 0.45);
  color: var(--ink);
  font-size: 21px;
}
.feature-icon-nutrition { background: rgba(74, 133, 212, 0.14); color: var(--nutrition-text); }
.feature h3 {
  margin-top: 20px;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.005em;
}
.feature p {
  margin-top: 8px;
  max-width: 34ch;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* ---------- Planos ---------- */
.plans-section { background: var(--surface); }
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px 24px;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--surface);
}
.plan-featured {
  border: 2px solid var(--ink);
  padding: 27px 23px 23px;
}
.plan-badge {
  position: absolute;
  top: -13px;
  left: 22px;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--lime);
  font-size: 0.75rem;
  font-weight: 700;
}
.plan-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.015em;
}
.plan-for {
  margin-top: 4px;
  min-height: 3em;
  font-size: 0.9375rem;
  color: var(--text-muted);
}
.plan-cap {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-muted);
}
.plan-cap b {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.25rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
}
.plan-list { display: grid; gap: 10px; margin: 20px 0 28px; }
.plan-list li {
  position: relative;
  padding-left: 26px;
  font-size: 0.9375rem;
  line-height: 1.45;
}
.plan-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 17px;
  height: 17px;
  border-radius: 5px;
  background: var(--lime)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121214' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
    center / 11px no-repeat;
}
.plan .btn { margin-top: auto; }

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}
.faq-head { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon {
  font-size: 20px;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}
.faq-item[open] summary .icon { transform: rotate(45deg); color: var(--text); }
.faq-item summary:hover .icon { color: var(--text); }
.faq-item p {
  max-width: 60ch;
  padding: 0 40px 24px 0;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ---------- CTA final ---------- */
.final-cta {
  background: var(--grad-hero);
  color: #fff;
  padding-block: clamp(80px, 10vw, 120px);
  overflow: clip;
}
.final-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: 48px;
  align-items: center;
}
.final-title {
  max-width: 13em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.25rem, 1.45rem + 3.2vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.final-lead {
  margin-top: 20px;
  max-width: 32em;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.74);
}
.final-cta .hero-ctas { margin-top: 32px; }
.final-mascot {
  justify-self: end;
  width: min(300px, 100%);
  aspect-ratio: 3 / 4;
  border-radius: var(--r-pill);
  overflow: hidden;
  background: #eef3ea;
  box-shadow: 0 0 0 10px rgba(184, 243, 75, 0.12);
}
.final-mascot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  transform: scale(1.18);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--surface-alt);
  color: var(--text);
  --logo-pill: var(--logo-ink);
  --logo-ring: #ededef;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-block: 64px 48px;
}
.footer-tagline { margin-top: 14px; color: #5b616b; }
.footer-brand .store-badges { margin-top: 24px; }
.footer-col h2 { font-size: 0.9375rem; font-weight: 700; }
.footer-col ul { display: grid; gap: 10px; margin-top: 16px; }
.footer-col a { font-size: 0.9375rem; color: #5b616b; transition: color 0.15s ease; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  padding-block: 24px 32px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--pad);
  right: var(--pad);
  height: 1px;
  background: #d9dadd;
}

/* ---------- Entrada do hero (único momento animado) ---------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes photo-in {
  from { opacity: 0; clip-path: inset(0 0 0 30% round var(--r-pill) 0 0 var(--r-pill)); }
  to { opacity: 1; clip-path: inset(0 0 0 0 round var(--r-pill) 0 0 var(--r-pill)); }
}
@keyframes pop {
  0% { transform: scale(1); }
  45% { transform: scale(1.18); box-shadow: 0 0 0 0.5em rgba(74, 133, 212, 0.25); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(74, 133, 212, 0); }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-badge,
  .hero-title .line,
  .hero-lead,
  .hero-ctas,
  .hero-note { animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero-title .line:nth-child(1) { animation-delay: 0.08s; }
  .hero-title .line:nth-child(2) { animation-delay: 0.16s; }
  .hero-title .line:nth-child(3) { animation-delay: 0.24s; }
  .hero-lead { animation-delay: 0.34s; }
  .hero-ctas { animation-delay: 0.42s; }
  .hero-note { animation-delay: 0.48s; }
  .hero-photo { animation: photo-in 1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.1s both; }
  .hero-phone { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.4s both; }
  .hero-phone .streak-chip { animation: pop 0.6s ease-out 1.4s both; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

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

@media (max-width: 1100px) {
  .main-nav ul { gap: 22px; }
  .header-inner { gap: 28px; }
}

@media (max-width: 960px) {
  /* Header vira menu */
  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    display: none;
    padding: 8px var(--pad) 24px;
    background: var(--bg);
    color: var(--text);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 24px 40px -24px rgba(18, 18, 20, 0.3);
    --action: var(--ink);
    --action-fg: var(--lime);
    --focus: var(--ink);
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav li a {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    font-size: 1.0625rem;
    font-weight: 600;
    opacity: 1;
  }
  .menu-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
  .menu-actions .btn-outline-light { border-color: var(--border); color: var(--text); background: var(--surface); }
  .header-login { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-actions { gap: 8px; }

  /* Hero empilhado: o celular aparece cortado pela base do hero */
  .hero { padding-bottom: 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { max-width: 640px; }
  .hero-visual { height: auto; display: flex; flex-direction: column; }
  .hero-photo {
    position: relative;
    inset: auto;
    margin-left: 12%;
    margin-right: calc(-1 * var(--pad));
    aspect-ratio: 16 / 10;
    max-height: 440px;
    border-radius: var(--r-pill) 0 0 var(--r-pill);
  }
  .hero-phone {
    position: relative;
    left: auto;
    bottom: auto;
    margin: -112px 0 calc(var(--w) * -1.2) 0;
    --w: min(64vw, 280px);
  }

  .fact { padding: 32px 20px; }
  .fact-icon { grid-row: auto; margin: 0 0 12px; }
  .fact { grid-template-columns: 1fr; }

  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { padding: 0 0 40px 76px; min-height: 0; }
  .step::before { top: 36px; bottom: 0; left: 27px; right: auto; width: 2px; height: auto; }
  .step:last-child { padding-bottom: 0; }
  .step:last-child::before { display: none; }
  .step-title { margin-top: 4px; }

  .audience,
  .audience-reverse { grid-template-columns: 1fr; gap: 72px; }
  .audience-reverse .audience-media { order: 0; }
  .media-left .float-card { right: 16px; bottom: -48px; }
  .media-right .float-card { left: 16px; bottom: -48px; }

  .collab-grid { grid-template-columns: 1fr; }
  .collab-points { grid-template-columns: 1fr; gap: 32px; }

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

  .plans { grid-template-columns: 1fr; gap: 28px; max-width: 560px; }
  .plan-for { min-height: 0; }

  .faq-grid { grid-template-columns: 1fr; }
  .faq-head { position: static; }

  .final-grid { grid-template-columns: 1fr; }
  .final-mascot { justify-self: start; width: 200px; order: -1; }

  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .brand-mark { width: 26px; height: 26px; }
  .brand-word { font-size: 1.1875rem; }

  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-photo { margin-left: 8%; aspect-ratio: 4 / 3; }
  .hero-photo img { object-position: 50% 12%; }

  .audience-photo { aspect-ratio: 4 / 3; }
  .media-left .audience-photo { border-radius: 160px var(--r-card) var(--r-card) 160px; }
  .media-right .audience-photo { border-radius: var(--r-card) 160px 160px var(--r-card); }
  .float-card { position: relative; width: auto; margin: -56px 16px 0; }
  .media-left .float-card,
  .media-right .float-card { right: auto; left: auto; bottom: auto; }
  .badge-card { width: auto; }

  .cap { min-height: 80px; padding: 14px 22px 14px 20px; font-size: 22px; gap: 12px; }
  .cap b { font-size: 1.1875rem; }
  .cap small { font-size: 0.875rem; }
  .cap-personal,
  .cap-nutri { width: 88%; }
  .cap-aluno { width: 90%; margin-left: 5%; }
  .cap-personal { padding-bottom: 26px; }
  .cap-nutri { padding-top: 26px; padding-left: 30px; }

  .features { grid-template-columns: 1fr; }
  .feature { padding: 28px 0 32px; }

  .facts-grid { grid-template-columns: 1fr; }
  .fact { grid-template-columns: auto 1fr; padding: 24px 0; border-left: 0; border-top: 1px solid var(--border); }
  .fact-icon { grid-row: span 2; margin: 4px 0 0; }
  .fact:first-child { border-top: 0; padding-top: 32px; }
  .fact:last-child { padding-bottom: 32px; }
  .fact-text { max-width: 44ch; }


  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer-bottom { flex-direction: column; gap: 4px; }
}

@media (max-width: 400px) {
  .header-actions .btn-sm { display: none; }
}
