/* ==========================================================================
   Dra. Marina Anselmo — Nutricionista | Design System & Componentes
   Paleta: Sage #4A7C59 / Light #88B04B · Peach #F4A261 / #E9C46A
   ========================================================================== */

:root {
  --sage: #4A7C59;
  --sage-light: #88B04B;
  --sage-600: #4A7C59;
  --sage-700: #3C6548;
  --peach: #F4A261;
  --peach-soft: #E9C46A;
  --ink: #264653;
  --cream: #FAF9F6;
  --sand: #F0EDE4;

  --radius: 22px;
  --radius-sm: 14px;
  --shadow-soft: 0 20px 60px -22px rgba(38, 70, 83, 0.28);
  --shadow-card: 0 14px 44px -18px rgba(74, 124, 89, 0.35);
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

::selection { background: rgba(136, 176, 75, 0.35); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.container--narrow { max-width: 880px; }

.section { padding: 88px 0; position: relative; }
.section--sand { background: var(--sand); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-title {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: clamp(1.9rem, 4.4vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 12px 0 0;
}
.section-sub { color: rgba(38, 70, 83, 0.72); margin-top: 16px; font-size: 1.04rem; line-height: 1.7; }

.text-sage { color: var(--sage); }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage-700);
}
.eyebrow--center { justify-content: center; }
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--sage-light);
  box-shadow: 0 0 0 4px rgba(136, 176, 75, 0.2);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  padding: 15px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid rgba(136, 176, 75, 0.55); outline-offset: 2px; }

.btn-primary { background: var(--sage); color: #fff; box-shadow: var(--shadow-card); }
.btn-primary:hover { background: var(--sage-700); box-shadow: 0 22px 50px -18px rgba(74, 124, 89, 0.6); }

.btn-outline { background: transparent; color: var(--sage-700); border-color: rgba(74, 124, 89, 0.35); }
.btn-outline:hover { border-color: var(--sage); background: rgba(74, 124, 89, 0.06); }

.btn-ghost { background: transparent; color: var(--ink); border-color: transparent; }
.btn-ghost:hover { background: rgba(38, 70, 83, 0.06); }

.btn-accent { background: var(--peach); color: #3a2416; box-shadow: 0 18px 44px -18px rgba(244, 162, 97, 0.75); }
.btn-accent:hover { background: #ef9350; }

.btn-sm { padding: 11px 18px; font-size: 0.86rem; }
.btn-lg { padding: 18px 32px; font-size: 1rem; }

.link { color: var(--sage-700); text-decoration: underline; text-underline-offset: 3px; background: none; border: none; cursor: pointer; font: inherit; padding: 0; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: transparent; border: 1.5px solid rgba(38, 70, 83, 0.14);
  color: var(--ink); cursor: pointer;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.icon-btn:hover { background: rgba(74, 124, 89, 0.08); border-color: rgba(74, 124, 89, 0.3); }
.icon-btn--round { background: #fff; box-shadow: 0 8px 24px -12px rgba(38, 70, 83, 0.4); }

.badge-crn {
  display: inline-flex; align-items: center;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em;
  color: var(--sage-700); background: rgba(136, 176, 75, 0.16);
  border: 1px solid rgba(136, 176, 75, 0.35);
  padding: 7px 13px; border-radius: 999px;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  background: rgba(250, 249, 246, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(250, 249, 246, 0.94);
  border-bottom-color: rgba(38, 70, 83, 0.08);
  box-shadow: 0 12px 34px -24px rgba(38, 70, 83, 0.5);
}

/* --- Header layout: nav truly centered, all items vertically aligned --- */
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: var(--header-h);
  padding-top: 10px;
  padding-bottom: 10px;
}
.header__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}
.header__brand-mark { display: grid; place-items: center; flex-shrink: 0; line-height: 0; }
.header__brand-text { display: flex; flex-direction: column; justify-content: center; gap: 2px; }
.header__brand-name {
  font-family: "Playfair Display", serif;
  font-size: 1.15rem; font-weight: 600; line-height: 1.1; color: var(--sage-700);
  white-space: nowrap;
}
.header__brand-sub {
  font-size: 0.6rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(38, 70, 83, 0.55); line-height: 1.1;
  white-space: nowrap; display: none;
}
.header__nav {
  display: none; align-items: center; gap: 20px;
  white-space: nowrap; justify-self: center;
}
.header__actions { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header__badge { display: none; white-space: nowrap; flex-shrink: 0; }
.header__cta { display: none; white-space: nowrap; flex-shrink: 0; }
.header__toggle { display: inline-flex; }
.header__mobile { display: flex; }
.header__mobile[hidden] { display: none; }

/* Subtitle appears from tablets up; CTA appears from small tablet up */
@media (min-width: 640px) {
  .header__cta { display: inline-flex; }
}
@media (min-width: 768px) {
  .header__brand-sub { display: block; }
}
/* Full desktop navigation: symmetric 3-column grid keeps the nav truly centered */
@media (min-width: 1280px) {
  .header__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 18px;
  }
  .header__brand { justify-self: start; }
  .header__nav { display: inline-flex; }
  .header__actions { justify-self: end; }
  .header__badge { display: inline-flex; }
  .header__toggle { display: none; }
  .header__mobile { display: none; }
}

.logo-mark { display: inline-flex; }

.nav-link {
  position: relative; text-decoration: none; color: rgba(38, 70, 83, 0.82);
  font-size: 0.92rem; font-weight: 500; padding: 6px 0;
  transition: color 0.3s var(--ease);
}
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--sage-light); border-radius: 2px; transition: width 0.35s var(--ease);
}
.nav-link:hover { color: var(--sage-700); }
.nav-link:hover::after, .nav-link.is-active::after { width: 100%; }

.mobile-nav {
  display: flex; flex-direction: column;
  padding: 8px 20px 22px;
  background: rgba(250, 249, 246, 0.98);
  border-top: 1px solid rgba(38, 70, 83, 0.06);
  box-shadow: 0 24px 40px -30px rgba(38, 70, 83, 0.6);
  animation: navDrop 0.4s var(--ease);
}
@keyframes navDrop { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
.mobile-nav__link {
  text-decoration: none; color: var(--ink); font-weight: 500;
  padding: 13px 4px; border-bottom: 1px solid rgba(38, 70, 83, 0.06);
}
.mobile-nav__link:hover { color: var(--sage-700); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 56px) 0 0;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.5; will-change: transform; }
.blob--1 { width: 460px; height: 460px; background: rgba(136, 176, 75, 0.35); top: -140px; right: -100px; }
.blob--2 { width: 360px; height: 360px; background: rgba(244, 162, 97, 0.3); bottom: -120px; left: -80px; }
.blob--3 { width: 300px; height: 300px; background: rgba(74, 124, 89, 0.18); top: 40%; left: 40%; }
.leaf { position: absolute; width: 120px; height: 120px; opacity: 0.35; will-change: transform;
  background: radial-gradient(circle at 30% 30%, rgba(136,176,75,.5), transparent 70%);
  border-radius: 0 60% 0 60%;
}
.leaf--a { top: 18%; left: 6%; }
.leaf--b { bottom: 10%; right: 10%; width: 90px; height: 90px; transform: rotate(120deg); }

.hero__grid {
  position: relative; z-index: 1;
  display: grid; gap: 48px;
  grid-template-columns: 1fr;
  align-items: center;
  padding-bottom: 64px;
}
.hero__title {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: clamp(2.3rem, 6vw, 4.1rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 18px 0 0;
}
.hero__title em { font-style: italic; color: var(--peach); }
.hero__sub { margin-top: 22px; font-size: 1.08rem; line-height: 1.75; color: rgba(38, 70, 83, 0.78); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__trust {
  list-style: none; display: flex; flex-wrap: wrap; gap: 26px;
  margin: 40px 0 0; padding: 0; font-size: 0.9rem; color: rgba(38, 70, 83, 0.7);
}
.hero__trust strong { display: block; font-family: "Playfair Display", serif; font-size: 1.5rem; color: var(--sage-700); }

.hero__media { position: relative; padding: 40px 0; }

/* --- Orbital wellness animation --- */
.orbit {
  position: relative; width: min(420px, 82vw); aspect-ratio: 1; margin: 0 auto;
  will-change: transform;
}
.orbit__glow {
  position: absolute; inset: -10%; border-radius: 50%; z-index: 0;
  background: radial-gradient(58% 58% at 50% 45%, rgba(136,176,75,.42), rgba(244,162,97,.22) 55%, transparent 74%);
  filter: blur(34px);
}
.orbit__svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.orbit__track {
  fill: none; stroke: rgba(38, 70, 83, 0.08); stroke-width: 2;
  stroke-dasharray: 4 10;
}
.orbit__progress {
  fill: none; stroke-width: 10; stroke-linecap: round;
  stroke-dasharray: 1055; stroke-dashoffset: 158;
  filter: drop-shadow(0 6px 14px rgba(74, 124, 89, 0.35));
  transition: stroke-dashoffset 1.2s var(--ease);
}
.js .orbit__progress { stroke-dashoffset: 1055; }
.orbit.is-filled .orbit__progress { stroke-dashoffset: 158; }
.orbit__inner { fill: none; stroke: rgba(136, 176, 75, 0.22); stroke-width: 1.5; }

.orbit__core {
  position: absolute; inset: 22%; z-index: 2;
  display: grid; place-items: center; align-content: center; gap: 8px; text-align: center;
  background: #fff; border-radius: 50%;
  box-shadow: var(--shadow-soft), inset 0 0 0 1px rgba(136,176,75,.14);
}
.orbit__core-leaf { display: grid; place-items: center; }
.orbit__core-text { font-family: "Playfair Display", serif; font-size: 1.32rem; font-weight: 600; line-height: 1.15; color: var(--sage-700); }
.orbit__core-crn { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(38,70,83,.55); }
.orbit__core-crn strong { color: var(--sage); }

.orbit__chip {
  position: absolute; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; padding: 9px 15px; border-radius: 999px;
  font-size: 0.8rem; font-weight: 600; color: var(--ink);
  box-shadow: 0 12px 28px -14px rgba(38, 70, 83, 0.5);
  will-change: transform;
}
.orbit__chip .dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.dot--sage { background: #4A7C59; }
.dot--peach { background: #F4A261; }
.dot--blue { background: #6cc0e5; }
.dot--yellow { background: #E9C46A; }
.orbit__chip--1 { top: 6%; left: 2%; }
.orbit__chip--2 { top: 30%; right: -4%; }
.orbit__chip--3 { bottom: 20%; left: -6%; }
.orbit__chip--4 { bottom: 3%; right: 8%; }

.hero__card {
  position: absolute; right: 0; bottom: -6px;
  display: flex; align-items: center; gap: 12px;
  background: #fff; padding: 14px 18px; border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft); max-width: 260px;
}
.hero__card-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(136,176,75,.18); color: var(--sage-700); flex-shrink: 0; }

.marquee { position: relative; z-index: 1; overflow: hidden; border-top: 1px solid rgba(38,70,83,.08); border-bottom: 1px solid rgba(38,70,83,.08); background: rgba(255,255,255,.5); padding: 16px 0; }
.marquee__track { display: flex; gap: 32px; white-space: nowrap; width: max-content; animation: marquee 32s linear infinite; }
.marquee__track span { font-family: "Playfair Display", serif; font-style: italic; font-size: 1.1rem; color: rgba(38,70,83,.55); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   TOOLS
   ========================================================================== */
.tools-grid { display: grid; gap: 28px; grid-template-columns: 1fr; margin-bottom: 40px; }

.tool-card {
  background: #fff; border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow-soft);
  border: 1px solid rgba(38, 70, 83, 0.05);
  display: flex; flex-direction: column;
}
.tool-card__head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.tool-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; flex-shrink: 0; }
.tool-icon--water { background: rgba(52, 152, 219, 0.14); color: #2b7cb0; }
.tool-icon--quiz { background: rgba(244, 162, 97, 0.18); color: #c9762f; }
.tool-card__title { font-family: "Playfair Display", serif; font-size: 1.35rem; font-weight: 600; }
.tool-card__hint { font-size: 0.88rem; color: rgba(38,70,83,.6); margin-top: 3px; }

.tool-form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 0.84rem; font-weight: 600; color: rgba(38,70,83,.8); }
.field input, .field select {
  font-family: inherit; font-size: 0.98rem; color: var(--ink);
  padding: 14px 16px; border-radius: 13px;
  border: 1.5px solid rgba(38, 70, 83, 0.14); background: var(--cream);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
  width: 100%;
}
.field input:focus, .field select:focus {
  outline: none; border-color: var(--sage-light);
  box-shadow: 0 0 0 4px rgba(136, 176, 75, 0.18); background: #fff;
}

.tool-result { margin-top: 26px; padding: 24px; border-radius: var(--radius-sm); background: linear-gradient(160deg, rgba(136,176,75,.12), rgba(244,162,97,.1)); }
.tool-result__hero { display: flex; align-items: baseline; gap: 12px; }
.tool-result__value { font-family: "Playfair Display", serif; font-size: 3rem; font-weight: 700; color: var(--sage-700); line-height: 1; }
.tool-result__value small { font-size: 1.2rem; margin-left: 2px; }
.tool-result__label { font-size: 0.9rem; color: rgba(38,70,83,.7); }
.water-bar { height: 10px; border-radius: 999px; background: rgba(38,70,83,.1); margin: 18px 0 12px; overflow: hidden; }
.water-bar__fill { height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, #6cc0e5, #2b7cb0); transition: width 0.7s var(--ease); }
.tool-result__meta { font-size: 0.9rem; color: rgba(38,70,83,.75); }
.tool-result__tip { margin-top: 14px; font-size: 0.92rem; line-height: 1.6; color: var(--sage-700); background: rgba(255,255,255,.7); padding: 14px 16px; border-radius: 12px; border-left: 3px solid var(--sage-light); }
.tool-result .btn { margin-top: 16px; }

/* Quiz */
.quiz { display: flex; flex-direction: column; flex: 1; }
.quiz__progress { height: 6px; border-radius: 999px; background: rgba(38,70,83,.1); overflow: hidden; margin-bottom: 12px; }
.quiz__progress span { display: block; height: 100%; width: 33.33%; background: linear-gradient(90deg, var(--sage-light), var(--sage)); border-radius: 999px; transition: width 0.5s var(--ease); }
.quiz__step-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(38,70,83,.55); margin-bottom: 16px; }
.quiz__step { border: none; padding: 0; margin: 0; }
.quiz__q { font-family: "Playfair Display", serif; font-size: 1.2rem; font-weight: 600; margin-bottom: 18px; padding: 0; }
.quiz__options { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
  display: inline-block; padding: 12px 18px; border-radius: 999px;
  border: 1.5px solid rgba(38,70,83,.16); background: var(--cream);
  font-size: 0.9rem; font-weight: 500;
  transition: all 0.3s var(--ease);
}
.chip input:checked + span { background: var(--sage); border-color: var(--sage); color: #fff; box-shadow: 0 10px 24px -12px rgba(74,124,89,.7); }
.chip input:focus-visible + span { outline: 3px solid rgba(136,176,75,.5); outline-offset: 2px; }
.chip:hover span { border-color: var(--sage-light); }

.quiz__nav { display: flex; align-items: center; margin-top: 26px; }
.quiz__result {
  margin-top: 8px; padding: 24px; border-radius: var(--radius-sm);
  background: linear-gradient(160deg, rgba(136,176,75,.14), rgba(244,162,97,.1));
  animation: fadeUp 0.5s var(--ease);
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.quiz__result-eyebrow { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage-700); }
.quiz__result-title { font-family: "Playfair Display", serif; font-size: 1.5rem; font-weight: 600; margin: 6px 0 10px; }
.quiz__result-text { font-size: 0.94rem; line-height: 1.65; color: rgba(38,70,83,.8); }
.quiz__result-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.quiz__result-list li { display: flex; gap: 10px; font-size: 0.9rem; align-items: flex-start; }
.quiz__result-list li::before { content: "✓"; color: var(--sage); font-weight: 700; }

/* Plate simulator */
.plate {
  display: grid; gap: 44px; align-items: center;
  background: #fff; border-radius: 28px; padding: 40px;
  box-shadow: var(--shadow-soft); grid-template-columns: 1fr;
}
.plate__controls { display: grid; gap: 20px; margin-top: 30px; }
.range-field { display: block; cursor: pointer; }
.range-field__label { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; font-weight: 600; margin-bottom: 10px; }
.range-field__label b { margin-left: auto; color: var(--sage-700); font-variant-numeric: tabular-nums; }
.swatch { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 999px;
  background: linear-gradient(90deg, var(--sage-light) 0%, var(--sage) 100%);
  background-size: 100% 100%; cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%;
  background: #fff; border: 4px solid var(--sage); cursor: pointer;
  box-shadow: 0 6px 16px -6px rgba(74,124,89,.8); transition: transform 0.2s var(--ease);
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 4px solid var(--sage); cursor: pointer; }
input[type="range"]::-moz-range-track { height: 8px; border-radius: 999px; background: var(--sand); }

.plate__controls-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 4px; }
.plate__total { font-family: "Playfair Display", serif; font-size: 1.3rem; font-weight: 700; color: var(--sage-700); }

.plate__visual { display: grid; place-items: center; gap: 24px; }
.plate__disc {
  position: relative; width: min(320px, 78vw); aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(#F4A261 0turn 0.25turn, #E9C46A 0.25turn 0.5turn, #88B04B 0.5turn 0.9turn, #4A7C59 0.9turn 1turn);
  box-shadow: var(--shadow-soft), inset 0 0 0 10px rgba(255,255,255,.85);
  transition: background 0.5s var(--ease), transform 0.4s var(--ease);
}
.plate__disc::after {
  content: ""; position: absolute; inset: 22%; border-radius: 50%;
  background: #fff; box-shadow: inset 0 4px 20px rgba(38,70,83,.1);
}
.plate__center { position: absolute; inset: 0; display: grid; place-items: center; z-index: 1; }
.plate__center span { font-family: "Playfair Display", serif; font-size: 1.15rem; font-weight: 600; text-align: center; color: var(--sage-700); line-height: 1.15; }
.plate__legend { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; width: 100%; max-width: 320px; }
.plate__legend li { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; }
.plate__legend i { width: 14px; height: 14px; border-radius: 4px; flex-shrink: 0; }
.plate__legend b { margin-left: auto; font-variant-numeric: tabular-nums; }

/* ==========================================================================
   TIMELINE
   ========================================================================== */
.timeline { position: relative; max-width: 900px; margin: 0 auto; padding: 20px 0; }
.timeline__line { position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 100%; height: 100%; z-index: 0; opacity: 0.55; }
.timeline__line path { stroke-dasharray: var(--dash-len, 3000); stroke-dashoffset: 0; }
.js .timeline__line path { stroke-dashoffset: var(--dash-len, 3000); }
.timeline__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 56px; position: relative; z-index: 1; }
.timeline__step { position: relative; display: grid; grid-template-columns: 1fr; gap: 0; padding-left: 58px; }
.timeline__marker {
  position: absolute; left: 0; top: 0;
  width: 46px; height: 46px; border-radius: 50%;
  background: #fff; border: 3px solid var(--sage-light); color: var(--sage-700);
  display: grid; place-items: center; font-family: "Playfair Display", serif;
  font-size: 1.2rem; font-weight: 700; box-shadow: 0 10px 24px -12px rgba(74,124,89,.6);
  z-index: 2;
}
.timeline__card {
  background: #fff; border-radius: var(--radius-sm); padding: 26px 28px;
  box-shadow: var(--shadow-card); border: 1px solid rgba(38,70,83,.04);
}
.timeline__card h3 { font-family: "Playfair Display", serif; font-size: 1.3rem; font-weight: 600; margin: 0 0 10px; }
.timeline__card p { font-size: 0.95rem; line-height: 1.7; color: rgba(38,70,83,.78); margin: 0; }
.timeline__meta { display: inline-block; margin-top: 14px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; color: var(--sage-700); background: rgba(136,176,75,.15); padding: 6px 12px; border-radius: 999px; }

/* ==========================================================================
   FLIP CARDS (Mitos e Verdades)
   ========================================================================== */
.myths-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
.flip { perspective: 1400px; background: none; border: none; padding: 0; cursor: pointer; height: 250px; }
.flip__inner { position: relative; width: 100%; height: 100%; transition: transform 0.75s var(--ease); transform-style: preserve-3d; display: block; }
.flip:hover .flip__inner, .flip[aria-pressed="true"] .flip__inner { transform: rotateY(180deg); }
.flip__face {
  position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  border-radius: var(--radius); padding: 28px; text-align: left;
  display: flex; flex-direction: column; justify-content: center; gap: 14px;
  box-shadow: var(--shadow-card);
}
.flip__face--front { background: linear-gradient(150deg, #fff, #F3F7F1); border: 1px solid rgba(74,124,89,.12); }
.flip__face--front strong { font-family: "Playfair Display", serif; font-size: 1.28rem; line-height: 1.3; font-weight: 600; color: var(--ink); }
.flip__face--back { background: linear-gradient(150deg, var(--sage), var(--sage-700)); color: #fff; transform: rotateY(180deg); }
.flip__face--back p { font-size: 0.93rem; line-height: 1.65; margin: 0; color: rgba(255,255,255,.92); }
.flip__tag { align-self: flex-start; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--peach); background: rgba(244,162,97,.14); padding: 5px 11px; border-radius: 999px; }
.flip__tag--truth { color: #e9f5df; background: rgba(255,255,255,.18); }
.flip__hint { font-size: 0.76rem; color: rgba(38,70,83,.45); margin-top: auto; }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about { display: grid; gap: 48px; grid-template-columns: 1fr; align-items: center; }
.about__media { position: relative; max-width: 520px; width: 100%; }

/* --- Impact / credentials panel (animated on scroll) --- */
.impact {
  position: relative; background: #fff; border-radius: 26px; padding: 34px;
  box-shadow: var(--shadow-soft); border: 1px solid rgba(38,70,83,.05);
  display: grid; gap: 28px; overflow: hidden;
}
.impact__glow {
  position: absolute; top: -90px; right: -80px; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(136,176,75,.35), transparent 70%); filter: blur(30px);
}
.impact__ring { position: relative; width: 190px; height: 190px; margin: 4px auto 0; }
.impact__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring__track { fill: none; stroke: rgba(38,70,83,.09); stroke-width: 11; }
.ring__progress {
  fill: none; stroke-width: 11; stroke-linecap: round;
  stroke-dasharray: 327; stroke-dashoffset: 13;
  transition: stroke-dashoffset 1.4s var(--ease);
}
/* Start empty only when JS is available to animate it */
.js .ring__progress { stroke-dashoffset: 327; }
.impact.is-drawn .ring__progress { stroke-dashoffset: 13; }
.impact__ring-center {
  position: absolute; inset: 16%; display: grid; place-items: center; align-content: center; gap: 4px;
  text-align: center;
}
.impact__ring-center strong { font-family: "Playfair Display", serif; font-size: 2.5rem; line-height: 1; color: var(--sage-700); }
.impact__ring-center small { font-size: 0.72rem; line-height: 1.35; color: rgba(38,70,83,.6); }
.impact__stats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.impact__stats li { display: grid; gap: 3px; }
.impact__stats strong { font-family: "Playfair Display", serif; font-size: 1.7rem; font-weight: 700; color: var(--sage-700); line-height: 1; }
.impact__stats span:last-child { font-size: 0.8rem; line-height: 1.35; color: rgba(38,70,83,.65); }
.impact__bars { display: grid; gap: 16px; }
.impact__bar { display: grid; gap: 8px; }
.impact__bar span { font-size: 0.84rem; font-weight: 600; color: rgba(38,70,83,.8); }
.impact__bar i {
  display: block; height: 9px; width: var(--bar, 100%); border-radius: 999px;
  background: linear-gradient(90deg, var(--sage-light), var(--sage));
  transition: width 1.1s var(--ease);
}
.js .impact__bar i { width: 0; }
.about__lead { font-size: 1.15rem; line-height: 1.7; color: var(--sage-700); font-weight: 500; margin-top: 18px; }
.about__text { line-height: 1.75; color: rgba(38,70,83,.78); margin-top: 14px; }
.about__list { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 12px; }
.about__list li { display: flex; gap: 12px; font-size: 0.95rem; line-height: 1.5; align-items: flex-start; }
.check { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(136,176,75,.2); color: var(--sage-700); font-size: 0.8rem; font-weight: 700; flex-shrink: 0; }
.about__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 8px; }

/* ==========================================================================
   RESULTS / COMPARE / TESTIMONIALS
   ========================================================================== */
.results-grid { display: grid; gap: 40px; grid-template-columns: 1fr; align-items: start; }

/* --- Evolution dashboard (scroll-driven) --- */
.evolution {
  background: #fff; border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow-soft); border: 1px solid rgba(38,70,83,.05);
  display: grid; gap: 24px;
}
.evolution__title { font-family: "Playfair Display", serif; font-size: 1.5rem; font-weight: 600; margin: 10px 0 0; }
.evolution__chart { position: relative; }
.evolution__chart svg { width: 100%; height: auto; display: block; }
.chart__grid line { stroke: rgba(38,70,83,.08); stroke-width: 1; stroke-dasharray: 3 7; }
.chart__area { fill: url(#evArea); opacity: 1; transition: opacity 0.8s var(--ease) 0.35s; }
.chart__line {
  fill: none; stroke: url(#evLine); stroke-width: 3.5; stroke-linecap: round;
  stroke-dasharray: var(--chart-len, 700); stroke-dashoffset: 0;
  transition: stroke-dashoffset 1.4s var(--ease);
}
.chart__dot { fill: #fff; stroke: var(--sage); stroke-width: 4; opacity: 1; transition: opacity 0.5s var(--ease) 1.1s; }
/* Start hidden only when JS is available to animate them */
.js .chart__area { opacity: 0; }
.js .chart__line { stroke-dashoffset: var(--chart-len, 700); }
.js .chart__dot { opacity: 0; }
.evolution.is-drawn .chart__line { stroke-dashoffset: 0; }
.evolution.is-drawn .chart__area { opacity: 1; }
.evolution.is-drawn .chart__dot { opacity: 1; }
.chart__axis { display: flex; justify-content: space-between; margin-top: 6px; font-size: 0.76rem; color: rgba(38,70,83,.5); }

.evolution__metrics { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.metric__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 9px; font-size: 0.92rem; }
.metric__head b { font-family: "Playfair Display", serif; font-size: 1.3rem; color: var(--sage-700); font-variant-numeric: tabular-nums; }
.metric__bar { height: 10px; border-radius: 999px; background: rgba(38,70,83,.09); overflow: hidden; }
.metric__bar i {
  display: block; height: 100%; width: var(--bar, 100%); border-radius: 999px;
  background: linear-gradient(90deg, var(--sage-light), var(--sage));
  transition: width 1.2s var(--ease);
}
.js .metric__bar i { width: 0; }
.metric__note { display: block; margin-top: 6px; font-size: 0.76rem; color: rgba(38,70,83,.5); }
.evolution__caption { font-size: 0.84rem; line-height: 1.6; color: rgba(38,70,83,.65); margin: 0; }

.testimonials { position: relative; }
.testimonials__viewport { position: relative; min-height: 260px; }
.testimonial {
  position: absolute; inset: 0; opacity: 0; transform: translateX(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); pointer-events: none;
  background: #fff; border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column;
}
.testimonial.is-active { opacity: 1; transform: translateX(0); pointer-events: auto; position: relative; }
.testimonial__stars { color: var(--peach-soft); font-size: 1.1rem; letter-spacing: 3px; }
.testimonial blockquote { font-family: "Playfair Display", serif; font-size: 1.2rem; line-height: 1.6; font-style: italic; margin: 18px 0 24px; color: var(--ink); }
.testimonial footer { margin-top: auto; display: flex; flex-direction: column; }
.testimonial footer strong { font-weight: 700; }
.testimonial footer span { font-size: 0.84rem; color: rgba(38,70,83,.6); }
.testimonials__nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 26px; }
.testimonials__dots { display: flex; gap: 8px; }
.testimonials__dots button { width: 9px; height: 9px; border-radius: 50%; border: none; background: rgba(38,70,83,.2); cursor: pointer; padding: 0; transition: all 0.3s var(--ease); }
.testimonials__dots button.is-active { background: var(--sage); width: 26px; border-radius: 999px; }

/* ==========================================================================
   LOCATION
   ========================================================================== */
.location { display: grid; gap: 34px; grid-template-columns: 1fr; }
.location__map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); min-height: 320px; }
.location__map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
.location__info { display: grid; gap: 22px; }
.info-block { display: flex; gap: 16px; align-items: flex-start; }
.info-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #fff; color: var(--sage-700); box-shadow: 0 8px 20px -12px rgba(38,70,83,.4); flex-shrink: 0; }
.info-block h3 { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(38,70,83,.55); margin: 2px 0 6px; }
.info-block p { font-size: 0.96rem; line-height: 1.6; color: rgba(38,70,83,.85); }
.location__actions { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; margin-top: 6px; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { display: grid; gap: 14px; }
.faq__item { background: #fff; border-radius: var(--radius-sm); border: 1px solid rgba(38,70,83,.07); overflow: hidden; box-shadow: 0 8px 26px -20px rgba(38,70,83,.5); transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease); }
.faq__item[open] { box-shadow: var(--shadow-card); border-color: rgba(136,176,75,.35); }
.faq__q {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px;
  padding: 22px 26px; font-weight: 600; font-size: 1.02rem; color: var(--ink);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__icon { position: relative; width: 22px; height: 22px; flex-shrink: 0; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; background: var(--sage); border-radius: 2px; transition: transform 0.4s var(--ease); }
.faq__icon::before { top: 10px; left: 0; width: 22px; height: 2px; }
.faq__icon::after { left: 10px; top: 0; width: 2px; height: 22px; }
.faq__item[open] .faq__icon::after { transform: scaleY(0); }
.faq__a { padding: 0 26px 24px; animation: faqOpen 0.4s var(--ease); }
.faq__a p { margin: 0; font-size: 0.96rem; line-height: 1.75; color: rgba(38,70,83,.78); }
@keyframes faqOpen { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
.faq__cta { text-align: center; margin-top: 44px; display: grid; gap: 18px; justify-items: center; }
.faq__cta p { font-family: "Playfair Display", serif; font-size: 1.3rem; }

/* ==========================================================================
   CTA FINAL
   ========================================================================== */
.cta-final {
  background: linear-gradient(135deg, var(--sage-700), var(--sage) 55%, var(--sage-light));
  padding: 90px 0; position: relative; overflow: hidden;
}
.cta-final::after {
  content: ""; position: absolute; width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(244,162,97,.35), transparent 68%);
  top: -180px; right: -120px;
}
.cta-final__inner { text-align: center; position: relative; z-index: 1; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: #1e3a44; color: #fff; padding: 66px 0 30px; }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
.footer-brand .logo-mark { margin-bottom: 6px; }
.footer-title { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 18px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer-links li { font-size: 0.92rem; color: rgba(255,255,255,.7); }
.footer-links a { color: rgba(255,255,255,.78); text-decoration: none; transition: color 0.3s var(--ease); }
.footer-links a:hover { color: var(--peach); }
.footer-bottom {
  margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,.55); margin: 0; }
.footer-legal { list-style: none; display: flex; flex-wrap: wrap; gap: 20px; padding: 0; margin: 0; }
.footer-legal a, .footer-legal .link { color: rgba(255,255,255,.62); font-size: 0.82rem; text-decoration: none; }
.footer-legal a:hover, .footer-legal .link:hover { color: var(--peach); text-decoration: underline; }

/* ==========================================================================
   WHATSAPP FLOAT
   ========================================================================== */
.whatsapp-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 70;
  display: inline-flex; align-items: center; gap: 10px;
  background: #25D366; color: #fff; text-decoration: none;
  padding: 15px 20px; border-radius: 999px; font-weight: 700; font-size: 0.92rem;
  box-shadow: 0 18px 40px -14px rgba(37, 211, 102, 0.8);
  transition: transform 0.35s var(--ease);
}
.whatsapp-float:hover { transform: translateY(-4px) scale(1.03); }
.whatsapp-float__pulse { position: absolute; inset: 0; border-radius: 999px; background: #25D366; z-index: -1; animation: waPulse 2.4s ease-out infinite; }
@keyframes waPulse { 0% { transform: scale(1); opacity: 0.7; } 70% { transform: scale(1.35); opacity: 0; } 100% { opacity: 0; } }

/* ==========================================================================
   COOKIES / MODAL
   ========================================================================== */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90;
  animation: cookieIn 0.6s var(--ease);
}
@keyframes cookieIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.cookie-banner__inner {
  max-width: 1080px; margin: 0 auto;
  background: rgba(255,255,255,.97); backdrop-filter: blur(12px);
  border: 1px solid rgba(38,70,83,.1); border-radius: 20px;
  padding: 20px 24px; box-shadow: var(--shadow-soft);
  display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between;
}
.cookie-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(136,176,75,.16); color: var(--sage-700); flex-shrink: 0; }
.cookie-link { color: var(--sage-700); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__overlay { position: absolute; inset: 0; background: rgba(38,70,83,.5); backdrop-filter: blur(4px); animation: fadeIn 0.3s var(--ease); }
.modal__panel {
  position: relative; background: #fff; border-radius: 22px; padding: 28px;
  width: 100%; box-shadow: var(--shadow-soft); animation: modalIn 0.4s var(--ease);
  max-height: 88vh; overflow-y: auto;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(20px) scale(0.98); } to { opacity: 1; transform: none; } }

.cookie-pref { display: flex; align-items: center; gap: 16px; justify-content: space-between; padding: 14px; border-radius: 14px; background: var(--cream); }
.cookie-pref__text { display: grid; gap: 3px; }
.cookie-pref__text strong { font-size: 0.95rem; }
.cookie-pref__text span { font-size: 0.8rem; color: rgba(38,70,83,.65); }
.switch { appearance: none; -webkit-appearance: none; width: 46px; height: 26px; border-radius: 999px; background: rgba(38,70,83,.2); position: relative; cursor: pointer; transition: background 0.3s var(--ease); flex-shrink: 0; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform 0.3s var(--ease); box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.switch:checked { background: var(--sage); }
.switch:checked::after { transform: translateX(20px); }
.switch:disabled { opacity: 0.6; cursor: not-allowed; }

/* ==========================================================================
   REVEAL ANIMATIONS (progressive enhancement via JS/GSAP)
   ========================================================================== */
/* Content is visible by default; only hidden when JS is available to reveal it */
.js [data-reveal] { opacity: 0; transform: translateY(38px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); will-change: opacity, transform; }
.js [data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   PRIVACY PAGE
   ========================================================================== */
.legal-page { padding: calc(var(--header-h) + 60px) 0 80px; }
.legal-page h1 { font-family: "Playfair Display", serif; font-size: clamp(2rem, 5vw, 3rem); font-weight: 600; }
.legal-page h2 { font-family: "Playfair Display", serif; font-size: 1.5rem; font-weight: 600; margin: 42px 0 12px; color: var(--sage-700); }
.legal-page h3 { font-weight: 700; margin: 22px 0 8px; }
.legal-page p, .legal-page li { line-height: 1.8; color: rgba(38,70,83,.85); }
.legal-page ul { padding-left: 22px; display: grid; gap: 6px; }
.legal-page a { color: var(--sage-700); }
.legal-meta { color: rgba(38,70,83,.55); font-size: 0.9rem; margin-top: 8px; }
.legal-nav { display: flex; gap: 16px; flex-wrap: wrap; margin: 26px 0 8px; }
.legal-card { background: #fff; border-radius: 18px; padding: 28px; box-shadow: var(--shadow-soft); margin-top: 30px; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (min-width: 768px) {
  .section { padding: 108px 0; }
  .tools-grid { grid-template-columns: 1fr 1fr; }
  .myths-grid { grid-template-columns: 1fr 1fr; }
  .location__actions { grid-template-columns: 1fr 1fr; }
  .results-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 2fr 1fr 1.2fr 1fr; }
}

@media (min-width: 992px) {
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; gap: 60px; }
  .about { grid-template-columns: 0.9fr 1.1fr; gap: 64px; }
  .location { grid-template-columns: 1.15fr 1fr; gap: 48px; }
  .plate { grid-template-columns: 1.1fr 0.9fr; padding: 52px; }
  .myths-grid { grid-template-columns: repeat(3, 1fr); }

  /* Timeline: alternating layout with center line */
  .timeline__steps { gap: 64px; }
  .timeline__step { grid-template-columns: 1fr 1fr; padding-left: 0; gap: 0; }
  .timeline__step .timeline__marker { left: 50%; transform: translateX(-50%); }
  .timeline__step .timeline__card { grid-column: 1; margin-right: 56px; text-align: right; }
  .timeline__step--right .timeline__card { grid-column: 2; margin-right: 0; margin-left: 56px; text-align: left; }
}

/* ==========================================================================
   ACCESSIBILITY / MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .timeline__line path { stroke-dashoffset: 0 !important; }
}
