/* ============================================================
   MAGNIFIKA — Landing page
   Editorial luxury · creme quente, serifada de alto contraste,
   rosa da marca (#EC268F) como único acento.
   ============================================================ */

:root {
  /* marca */
  --pink:       #EC268F;  /* rosa da logo — acentos, ícones, itálicos */
  --pink-cta:   #DB1F86;  /* fundo de botão (contraste AA com branco) */
  --pink-deep:  #BF1374;  /* hover / pressionado */
  --pink-soft:  #FDE4F1;
  --pink-mist:  #FFF2F8;
  --pink-glow:  #FF7DBE;  /* itálicos sobre fundo escuro */

  /* neutros quentes */
  --cream:      #FBF6F1;
  --cream-2:    #F4ECE5;
  --paper:      #FFFFFF;
  --ink:        #242424;  /* tinta da logo */
  --ink-2:      #5E5755;
  --ink-3:      #9A9290;
  --espresso:   #1B1817;
  --espresso-2: #24201E;

  /* etapas do cronograma (herdadas do app) */
  --h:    #5FB6C2; --h-bg: #E4F2F4; --h-tx: #347E89;
  --n:    #E0A24A; --n-bg: #FAEFDD; --n-tx: #A8761F;
  --r:    #C25C8A; --r-bg: #F6E4ED; --r-tx: #9C3F69;
  --rest-bg: #EFEAE7; --rest-tx: #8C8482;
  --ok: #4E9C7C; --ok-bg: #E3F1EA;

  /* tipografia */
  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans:  'Jost', 'Avenir Next', 'Futura', system-ui, sans-serif;

  /* forma */
  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
  --bezel-pad: 6px;

  /* movimento */
  --ease:   cubic-bezier(.32, .72, 0, 1);
  --spring: cubic-bezier(.34, 1.45, .64, 1);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(96px, 12vw, 168px);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
/* grão de papel — camada fixa, sem custo de repaint no scroll */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure { margin: 0; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--pink-soft); color: var(--ink); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.4;
  stroke-linecap: round; stroke-linejoin: round;
}

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

/* ---------- tipografia ---------- */
.display, .h2, .manifesto-text {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 30, "WONK" 0;
  color: var(--ink);
}
.display {
  font-size: clamp(3rem, 6.6vw, 6rem);
  font-weight: 360;
  line-height: .98;
  letter-spacing: -.035em;
}
.h2 {
  font-size: clamp(2.35rem, 4.6vw, 4rem);
  font-weight: 360;
  line-height: 1.02;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.display em, .h2 em, .manifesto-text em {
  font-style: italic;
  font-weight: 440;
  color: var(--pink);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.lead { font-size: clamp(1.06rem, 1.35vw, 1.2rem); line-height: 1.65; color: var(--ink-2); max-width: 34em; }
.body { font-size: 1.06rem; color: var(--ink-2); max-width: 32em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 12px;
  border-radius: 999px;
  font: 500 11px/1 var(--sans);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink-2);
  background: rgba(36, 30, 28, .04);
  box-shadow: inset 0 0 0 1px rgba(36, 30, 28, .07);
  margin-bottom: 28px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 3px rgba(236, 38, 143, .15); }
.eyebrow.dark { color: rgba(251, 246, 241, .72); background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09); }

.section-head { margin-bottom: clamp(48px, 6vw, 80px); }
.section-head .h2 { max-width: 15em; }
.section-head .body { margin-top: 24px; }
.section-head.center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.section-head.center .h2 { max-width: 14em; }

/* ---------- botões (ilha + ícone aninhado) ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 14px;
  padding: 7px 7px 7px 24px;
  border-radius: 999px;
  font: 500 15px/1 var(--sans);
  letter-spacing: .01em;
  white-space: nowrap;
  transition: transform .5s var(--ease), background-color .45s var(--ease), box-shadow .5s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn-icon {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  transition: transform .55s var(--spring), background-color .45s var(--ease);
}
.btn-icon .ic { width: 16px; height: 16px; stroke-width: 1.6; }
.btn:hover .btn-icon { transform: translate(2px, -1px) scale(1.06); }

.btn-pink { background: var(--pink-cta); color: #fff; box-shadow: 0 14px 32px -14px rgba(219, 31, 134, .7), inset 0 1px 0 rgba(255, 255, 255, .22); }
.btn-pink:hover { background: var(--pink-deep); }
.btn-pink .btn-icon { background: rgba(255, 255, 255, .17); }

.btn-ghost { color: var(--ink); box-shadow: inset 0 0 0 1px rgba(36, 30, 28, .14); }
.btn-ghost:hover { background: rgba(36, 30, 28, .04); }
.btn-ghost .btn-icon { background: rgba(36, 30, 28, .06); }

.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; }
.btn-ink .btn-icon { background: rgba(255, 255, 255, .14); }

.btn-sm { padding: 5px 5px 5px 18px; gap: 10px; font-size: 14px; }
.btn-sm .btn-icon { width: 30px; height: 30px; }
.btn-sm .btn-icon .ic { width: 14px; height: 14px; }

/* ---------- double-bezel (casca + núcleo) ---------- */
.bezel {
  padding: var(--bezel-pad);
  border-radius: var(--r-xl);
  background: rgba(36, 30, 28, .035);
  box-shadow: inset 0 0 0 1px rgba(36, 30, 28, .055);
}
.core {
  height: 100%;
  border-radius: calc(var(--r-xl) - var(--bezel-pad));
  background: var(--paper);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .9),
    0 1px 2px rgba(36, 24, 20, .04),
    0 22px 44px -28px rgba(60, 30, 30, .22);
}
.bezel.dark { background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.bezel.dark .core { background: var(--espresso-2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 40px 80px -40px rgba(0, 0, 0, .6); }

.ic-badge {
  width: 44px; height: 44px; border-radius: 14px;
  display: grid; place-items: center;
  color: var(--pink);
  background: var(--pink-mist);
  box-shadow: inset 0 0 0 1px rgba(236, 38, 143, .12);
}
.ic-badge .ic { width: 21px; height: 21px; }

/* ---------- NAV ---------- */
.nav-wrap {
  position: fixed; top: 14px; left: 0; right: 0;
  z-index: 40;
  display: flex; justify-content: center;
  padding-inline: 12px;
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  width: 100%; max-width: 1020px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 7px 7px 7px 20px;
  border-radius: 999px;
  background: rgba(251, 246, 241, .74);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: inset 0 0 0 1px rgba(36, 30, 28, .07), 0 18px 40px -24px rgba(60, 30, 30, .25);
}
.nav { transition: background-color .6s var(--ease), box-shadow .6s var(--ease); }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { height: 28px; width: auto; }
.brand-word { height: 21px; width: auto; margin-top: 3px; }
.nav-links { display: flex; gap: 4px; }
.nav-links a {
  display: block; padding: 9px 14px; border-radius: 999px;
  font-size: 14.5px; color: var(--ink-2);
  transition: color .4s var(--ease), background-color .4s var(--ease);
}
.nav-links a:hover { color: var(--ink); background: rgba(36, 30, 28, .05); }
.nav-actions { display: flex; align-items: center; gap: 8px; }

.lang { display: flex; padding: 3px; border-radius: 999px; background: rgba(36, 30, 28, .05); }
.lang button {
  padding: 6px 10px; border-radius: 999px;
  font: 500 12px/1 var(--sans); letter-spacing: .08em; color: var(--ink-3);
  transition: color .4s var(--ease), background-color .4s var(--ease), box-shadow .4s var(--ease);
}
.lang button[aria-pressed="true"] { color: var(--ink); background: var(--paper); box-shadow: 0 1px 3px rgba(36, 24, 20, .12); }

.burger { display: none; position: relative; width: 42px; height: 42px; border-radius: 50%; background: var(--ink); }
.burger span {
  position: absolute; left: 13px; right: 13px; height: 1.5px; border-radius: 2px; background: #fff;
  transition: transform .6s var(--ease), top .6s var(--ease);
}
.burger span:first-child { top: 17px; }
.burger span:last-child  { top: 24px; }
.menu-open .burger span:first-child { top: 20.25px; transform: rotate(45deg); }
.menu-open .burger span:last-child  { top: 20.25px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 30;
  display: grid; place-items: center;
  background: rgba(251, 246, 241, .86);
  -webkit-backdrop-filter: blur(28px);
  backdrop-filter: blur(28px);
  opacity: 0; visibility: hidden;
  transition: opacity .6s var(--ease), visibility 0s linear .6s;
}
.menu-open .menu { opacity: 1; visibility: visible; transition: opacity .6s var(--ease), visibility 0s; }
.menu-links { text-align: center; display: grid; gap: 6px; }
.menu-links a {
  display: inline-block; padding: 6px 12px;
  font-family: var(--serif); font-weight: 360; font-size: clamp(2rem, 9vw, 3rem); letter-spacing: -.02em;
}
.menu-links li { overflow: hidden; }
.menu-links li a { transform: translateY(110%); opacity: 0; transition: transform .8s var(--ease), opacity .8s var(--ease); }
.menu-open .menu-links li a { transform: none; opacity: 1; transition-delay: calc(120ms + var(--i) * 60ms); }
.menu-links li:last-child a { color: var(--pink); font-style: italic; font-variation-settings: "SOFT" 100, "WONK" 1; }

/* nav sobre seções escuras (IA, rodapé) */
body.nav-dark:not(.menu-open) .nav { background: rgba(27, 24, 23, .62); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09), 0 18px 40px -24px rgba(0, 0, 0, .5); }
body.nav-dark:not(.menu-open) .brand-word { filter: brightness(0) invert(1); }
body.nav-dark:not(.menu-open) .nav-links a { color: rgba(251, 246, 241, .72); }
body.nav-dark:not(.menu-open) .nav-links a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
body.nav-dark:not(.menu-open) .lang { background: rgba(255, 255, 255, .08); }
body.nav-dark:not(.menu-open) .lang button { color: rgba(251, 246, 241, .5); }
body.nav-dark:not(.menu-open) .lang button[aria-pressed="true"] { color: var(--ink); background: var(--cream); }
body.nav-dark:not(.menu-open) .nav-cta { background: var(--cream); color: var(--ink); }
body.nav-dark:not(.menu-open) .nav-cta .btn-icon { background: rgba(36, 30, 28, .08); }
body.nav-dark:not(.menu-open) .burger { background: var(--cream); }
body.nav-dark:not(.menu-open) .burger span { background: var(--ink); }

/* ---------- HERO ---------- */
.hero { position: relative; padding-top: clamp(128px, 16vw, 176px); padding-bottom: clamp(64px, 8vw, 120px); min-height: min(100dvh, 980px); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 55% at 78% 42%, rgba(236, 38, 143, .13), transparent 70%),
    radial-gradient(40% 40% at 10% 0%, rgba(224, 162, 74, .08), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(32px, 5vw, 72px); }
.hero-copy .display { margin-bottom: 28px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.hero-ctas.center { justify-content: center; }
.hero-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 48px; }
.cat-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 10px; border-radius: 999px;
  font-size: 14px; font-weight: 500;
}
.cat-chip .ic { width: 17px; height: 17px; }
.cat-chip.h { background: var(--h-bg); color: var(--h-tx); }
.cat-chip.n { background: var(--n-bg); color: var(--n-tx); }
.cat-chip.r { background: var(--r-bg); color: var(--r-tx); }

.hero-visual { position: relative; display: grid; place-items: center; padding-block: 24px; }

/* ---------- PHONE (tela Cronograma) ---------- */
.phone {
  position: relative;
  width: 304px; height: 628px;
  padding: 10px;
  border-radius: 54px;
  background: linear-gradient(150deg, #36302d 0%, #171413 55%, #2a2421 100%);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, .09),
    inset 0 0 0 4px rgba(0, 0, 0, .5),
    0 60px 100px -40px rgba(90, 20, 50, .45),
    0 30px 60px -30px rgba(0, 0, 0, .35);
  font-family: var(--sans);
  transform: rotate(-1.5deg);
}
.phone-screen {
  position: relative; height: 100%; overflow: hidden;
  border-radius: 44px;
  background: #FBF4EF;
  padding: 0 14px;
  color: var(--ink);
}
.ps-status { height: 46px; display: flex; align-items: center; justify-content: space-between; padding: 0 12px; font-size: 12.5px; font-weight: 600; }
.ps-island { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 88px; height: 25px; border-radius: 20px; background: #0d0b0a; }
.ps-sys { display: flex; gap: 3px; align-items: flex-end; }
.ps-sys i { display: block; width: 3px; border-radius: 1px; background: var(--ink); }
.ps-sys i:nth-child(1) { height: 5px; } .ps-sys i:nth-child(2) { height: 7px; } .ps-sys i:nth-child(3) { height: 9px; }

.ps-head { display: flex; align-items: center; justify-content: space-between; padding: 6px 2px 14px; }
.ps-date { font-size: 11px; color: var(--ink-3); letter-spacing: .02em; }
.ps-hello { font-size: 19px; font-weight: 600; letter-spacing: -.01em; line-height: 1.2; }
.ps-bell { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 4px 12px rgba(36, 24, 20, .06); }
.ps-bell .ic { width: 17px; height: 17px; }

.ps-today {
  border-radius: 22px; padding: 14px;
  background: linear-gradient(150deg, #2D2829, #1A1617);
  color: #fff;
  box-shadow: 0 14px 30px -14px rgba(26, 22, 23, .55);
}
.ps-today-top { display: flex; justify-content: space-between; align-items: center; }
.ps-pill { font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding: 4px 9px; border-radius: 99px; background: rgba(255, 255, 255, .1); }
.ps-streak { font-size: 11px; color: rgba(255, 255, 255, .75); }
.ps-today-main { display: flex; align-items: center; gap: 11px; margin: 14px 0; }
.ps-cat-ic { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: rgba(95, 182, 194, .2); color: #8fd6e0; }
.ps-cat-ic .ic { width: 22px; height: 22px; }
.ps-today-title { font-size: 18px; font-weight: 600; line-height: 1.15; }
.ps-today-sub { font-size: 11.5px; color: rgba(255, 255, 255, .62); }
.ps-done {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  height: 38px; border-radius: 99px;
  background: var(--pink-cta); color: #fff;
  font-size: 13px; font-weight: 500;
  box-shadow: 0 8px 18px -8px rgba(236, 38, 143, .8);
}
.ps-done .ic { width: 15px; height: 15px; stroke-width: 2; }

.ps-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin: 14px 0 16px; }
.ps-week .d { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 7px 0; border-radius: 13px; }
.ps-week .d span { font-size: 9.5px; color: var(--ink-3); }
.ps-week .d b { width: 25px; height: 25px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 600; }
.ps-week .h b { background: var(--h-bg); color: var(--h-tx); }
.ps-week .n b { background: var(--n-bg); color: var(--n-tx); }
.ps-week .r b { background: var(--r-bg); color: var(--r-tx); }
.ps-week .rest b { background: var(--rest-bg); color: var(--rest-tx); }
.ps-week .is-done b { background: var(--ok); color: #fff; }
.ps-week .is-today { background: #fff; box-shadow: 0 4px 12px rgba(36, 24, 20, .07), inset 0 0 0 1.5px var(--pink); }
.ps-week .is-today span { color: var(--pink); font-weight: 600; }

.ps-section { font-size: 13px; font-weight: 600; margin-bottom: 9px; }
.ps-products { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.ps-prod { background: #fff; border-radius: 18px; padding: 7px 7px 10px; box-shadow: 0 6px 16px -8px rgba(36, 24, 20, .12); }
.ps-prod p { font-size: 11px; font-weight: 500; line-height: 1.25; margin: 8px 3px 4px; min-height: 2.5em; }
.ps-prod > span { font-size: 11.5px; font-weight: 600; color: var(--pink); margin-left: 3px; }
.ps-prod-img { height: 68px; border-radius: 13px; display: grid; place-items: end center; padding-bottom: 10px; }
.ps-prod-img.a { background: linear-gradient(160deg, #D6EEF1, #B9E0E6); }
.ps-prod-img.b { background: linear-gradient(160deg, #FCE7F1, #F6CBE0); }

.bottle {
  position: relative; display: block;
  width: 30px; height: 36px; border-radius: 9px 9px 8px 8px;
  background: linear-gradient(90deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .7));
  box-shadow: 0 6px 12px -6px rgba(36, 24, 20, .25);
}
.bottle::before { content: ""; position: absolute; left: 50%; top: -9px; transform: translateX(-50%); width: 18px; height: 10px; border-radius: 4px 4px 2px 2px; background: var(--ink); }
.bottle::after { content: ""; position: absolute; left: 6px; right: 6px; top: 14px; height: 7px; border-radius: 2px; background: rgba(236, 38, 143, .35); }
.bottle.tall { width: 22px; height: 46px; border-radius: 8px; }
.bottle.tall::before { width: 10px; height: 12px; top: -11px; }

.ps-tabbar {
  position: absolute; left: 12px; right: 12px; bottom: 14px;
  display: grid; grid-template-columns: repeat(5, 1fr); align-items: center;
  height: 58px; padding: 0 4px; border-radius: 99px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 10px 26px -10px rgba(36, 24, 20, .2), inset 0 0 0 1px rgba(36, 24, 20, .05);
}
.ps-tabbar .t { display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--ink-3); }
.ps-tabbar .t .ic { width: 18px; height: 18px; }
.ps-tabbar .t small { font-size: 8px; letter-spacing: .01em; }
.ps-tabbar .t.is-active { color: var(--pink); }
.ps-tabbar .fab { justify-self: center; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--pink-cta); color: #fff; box-shadow: 0 8px 16px -6px rgba(236, 38, 143, .7); }
.ps-tabbar .fab .ic { width: 20px; height: 20px; stroke-width: 1.8; }

/* cartões flutuantes */
.float {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .9);
  box-shadow: inset 0 0 0 1px rgba(36, 24, 20, .05), 0 30px 60px -28px rgba(70, 30, 40, .35);
}
.float-notif { top: 0; left: -9%; max-width: 270px; transform: rotate(-3deg); }
.float-health { bottom: 9%; right: -6%; transform: rotate(2.5deg); padding-right: 20px; }
.fn-app { flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: #fff; box-shadow: inset 0 0 0 1px rgba(36, 24, 20, .08); }
.fn-app img { height: 22px; width: auto; }
.fn-meta { font-size: 10px; letter-spacing: .08em; color: var(--ink-3); }
.fn-meta span:first-child { font-weight: 600; letter-spacing: .14em; }
.fn-title { font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.fn-text { font-size: 12.5px; color: var(--ink-2); line-height: 1.35; }

.ring { width: 54px; height: 54px; transform: rotate(-90deg); flex: none; }
.ring circle { fill: none; stroke-width: 6; }
.ring-bg { stroke: var(--pink-soft); }
.ring-fg { stroke: var(--pink); stroke-linecap: round; stroke-dasharray: 163.36; stroke-dashoffset: calc(163.36 * (1 - var(--p) / 100)); }
.fh-num { font-family: var(--serif); font-size: 26px; font-weight: 450; line-height: 1; letter-spacing: -.02em; }
.fh-label { font-size: 12.5px; font-weight: 500; }
.fh-delta { display: flex; align-items: center; gap: 4px; font-size: 11.5px; color: var(--ok); }
.fh-delta .ic { width: 13px; height: 13px; stroke-width: 1.8; }

/* ---------- MANIFESTO ---------- */
.manifesto { padding-block: clamp(80px, 10vw, 140px) clamp(16px, 3vw, 40px); }
.manifesto-text {
  font-size: clamp(1.85rem, 3.7vw, 3.25rem);
  font-weight: 330;
  line-height: 1.16;
  letter-spacing: -.022em;
  max-width: 22em;
  text-wrap: pretty;
}
.manifesto-sub { margin-top: 40px; max-width: 36em; font-size: 1.15rem; color: var(--ink-2); }
.manifesto-sub strong { color: var(--ink); font-weight: 500; }

/* ---------- COMO FUNCIONA ---------- */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 112px); align-items: start; }
.sticky { position: sticky; top: 128px; }
.sticky .h2 { max-width: 9em; }
.sticky .body { margin-top: 24px; }
.steps { display: grid; gap: 16px; }
.step { padding: clamp(28px, 3.5vw, 40px); }
.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.step-num { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--pink); font-variation-settings: "SOFT" 100, "WONK" 1; }
.step h3, .card h3, .pillar h3, .model-card h3 { font-size: 1.32rem; font-weight: 500; letter-spacing: -.01em; line-height: 1.25; margin-bottom: 10px; }
.step p { color: var(--ink-2); max-width: 34em; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tags li { font-size: 13px; padding: 6px 12px; border-radius: 99px; background: var(--cream); box-shadow: inset 0 0 0 1px rgba(36, 30, 28, .07); color: var(--ink-2); }
.mix { display: flex; gap: 5px; height: 10px; margin-top: 24px; max-width: 360px; }
.mix-bar { flex: var(--w); border-radius: 99px; }
.mix-bar.h { background: var(--h); } .mix-bar.n { background: var(--n); } .mix-bar.r { background: var(--r); }

/* ---------- MÉTODO ---------- */
.method { background: linear-gradient(180deg, transparent, rgba(244, 236, 229, .7) 30%, rgba(244, 236, 229, .7) 70%, transparent); }
.ribbon { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; margin-bottom: 20px; }
.tile {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 22px 8px 18px;
  border-radius: 24px;
  text-align: center;
}
.tile-day { font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; opacity: .75; }
.tile b { font-family: var(--serif); font-style: italic; font-weight: 420; font-size: 44px; line-height: 1; font-variation-settings: "SOFT" 100, "WONK" 1; }
.tile .ic { width: 30px; height: 30px; margin-block: 7px; }
.tile-label { font-size: 12.5px; font-weight: 500; }
.tile.h { background: var(--h-bg); color: var(--h-tx); }
.tile.n { background: var(--n-bg); color: var(--n-tx); }
.tile.r { background: var(--r-bg); color: var(--r-tx); }
.tile.rest { background: var(--rest-bg); color: var(--rest-tx); }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.pillar { padding: 32px; }
.pillar-ic { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 26px; }
.pillar-ic .ic { width: 23px; height: 23px; }
.pillar.h .pillar-ic { background: var(--h-bg); color: var(--h-tx); }
.pillar.n .pillar-ic { background: var(--n-bg); color: var(--n-tx); }
.pillar.r .pillar-ic { background: var(--r-bg); color: var(--r-tx); }
.pillar-tag { font-family: var(--serif); font-style: italic; font-size: 1.1rem; margin-bottom: 14px; font-variation-settings: "SOFT" 100, "WONK" 1; }
.pillar.h .pillar-tag { color: var(--h-tx); } .pillar.n .pillar-tag { color: var(--n-tx); } .pillar.r .pillar-tag { color: var(--r-tx); }
.pillar p:last-child { color: var(--ink-2); font-size: 1rem; }

/* ---------- BENTO ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(0, auto); gap: 20px; }
.b-a { grid-column: span 7; grid-row: span 2; }
.b-b, .b-c { grid-column: span 5; }
.b-d, .b-e, .b-f { grid-column: span 4; }
.card { padding: clamp(26px, 3vw, 36px); display: flex; flex-direction: column; gap: 28px; overflow: hidden; }
.card-copy .ic-badge { margin-bottom: 22px; }
.card p { color: var(--ink-2); font-size: 1rem; }
.b-a .card { justify-content: flex-start; }
.b-a .quiz { flex: 1; display: flex; flex-direction: column; }
.b-a .quiz-step { margin-top: auto; padding-top: 28px; }
.levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.levels li { display: flex; flex-direction: column; gap: 3px; padding: 14px 16px; border-radius: 18px; background: var(--cream); box-shadow: inset 0 0 0 1px rgba(36, 30, 28, .06); }
.levels b { font-size: 15px; font-weight: 500; }
.levels span { font-size: 12.5px; color: var(--ink-3); }
.levels li.is-on { background: var(--ink); color: #fff; box-shadow: 0 14px 28px -16px rgba(36, 24, 20, .6); }
.levels li.is-on span { color: rgba(255, 255, 255, .6); }

.quiz { border-radius: 24px; padding: 24px; background: var(--cream); box-shadow: inset 0 0 0 1px rgba(36, 30, 28, .05); }
.quiz-progress { height: 5px; border-radius: 99px; background: rgba(36, 30, 28, .07); overflow: hidden; }
.quiz-progress span { display: block; height: 100%; width: 100%; border-radius: inherit; background: var(--pink); transform-origin: left; transform: scaleX(var(--p)); }
.quiz-prev { margin-top: 20px; padding-bottom: 20px; border-bottom: 1px dashed rgba(36, 30, 28, .12); }
.quiz-prev-label { display: flex; align-items: center; gap: 6px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ok) !important; margin-bottom: 12px; }
.quiz-prev-label .ic { width: 14px; height: 14px; stroke-width: 2; }
.hair-types { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.hair-types li { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px 10px; border-radius: 16px; background: #fff; font-size: 12.5px; color: var(--ink-2); box-shadow: inset 0 0 0 1px rgba(36, 30, 28, .06); }
.hair-types svg { width: 22px; height: 38px; fill: none; stroke: var(--ink-3); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.hair-types li.is-on { background: var(--pink-mist); color: #8e0f55; box-shadow: inset 0 0 0 1.5px var(--pink); }
.hair-types li.is-on svg { stroke: var(--pink); }
.quiz-step { margin-top: 18px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3) !important; }
.quiz-q { margin: 6px 0 18px; font-family: var(--serif); font-size: 1.6rem; font-weight: 380; letter-spacing: -.015em; color: var(--ink) !important; line-height: 1.2; }
.quiz-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quiz-opts li {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  min-height: 58px; padding: 12px 16px; border-radius: 18px;
  background: #fff; font-size: 14.5px; font-weight: 500; line-height: 1.3;
  box-shadow: inset 0 0 0 1px rgba(36, 30, 28, .07), 0 4px 12px -8px rgba(36, 24, 20, .15);
}
.quiz-opts li.is-on { background: var(--pink-mist); box-shadow: inset 0 0 0 1.5px var(--pink); color: #8e0f55; }
.quiz-opts li .ic { width: 18px; height: 18px; color: var(--pink); stroke-width: 2; }

.ba { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; height: 170px; border-radius: 20px; overflow: hidden; margin-top: auto; }
.ba-side { position: relative; overflow: hidden; }
.ba-side svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ba-side.before { background: linear-gradient(160deg, #EAD9CC, #D8C1AF); }
.ba-side.after { background: linear-gradient(160deg, #6B3F2A, #3C2216); }
.strands path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.strands.frizz path { stroke: rgba(122, 86, 62, .55); stroke-width: 1.6; }
.strands.smooth path { stroke: rgba(255, 214, 170, .55); stroke-width: 3; }
.ba figcaption { position: absolute; left: 10px; bottom: 10px; font-size: 11.5px; font-weight: 500; padding: 5px 10px; border-radius: 99px; background: rgba(255, 255, 255, .88); color: var(--ink); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 4px; transform: translateX(-50%); background: #fff; }
.ba-handle i { position: absolute; top: 50%; left: 50%; width: 30px; height: 30px; border-radius: 50%; transform: translate(-50%, -50%); background: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .2); }
.ba-handle i::before, .ba-handle i::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; border: 4px solid transparent; transform: translateY(-50%); }
.ba-handle i::before { left: 5px; border-right-color: var(--ink); }
.ba-handle i::after { right: 5px; border-left-color: var(--ink); }

.notifs { position: relative; display: grid; gap: 0; margin-top: auto; padding-bottom: 14px; }
.notif {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 20px;
  background: var(--cream); box-shadow: inset 0 0 0 1px rgba(36, 30, 28, .06), 0 14px 28px -18px rgba(60, 30, 30, .3);
}
.notif p { display: flex; flex-direction: column; font-size: 12px !important; line-height: 1.35; }
.notif b { font-weight: 600; font-size: 13.5px; color: var(--ink); }
.notif.back { z-index: 0; margin: -6px 18px 0; transform: scale(.97); opacity: .72; }

.b-d .card, .b-e .card, .b-f .card { justify-content: space-between; }
.health { position: relative; width: 112px; height: 112px; }
.ring.big { width: 112px; height: 112px; }
.ring.big circle { stroke-width: 5; }
.health-num { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-size: 38px; font-weight: 400; letter-spacing: -.03em; }
.streak-chip { display: inline-block; margin-top: 14px; padding: 6px 12px; border-radius: 99px; font-size: 13px !important; background: var(--n-bg); color: var(--n-tx) !important; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font-size: 12.5px; padding: 6px 12px; border-radius: 99px; box-shadow: inset 0 0 0 1px rgba(36, 30, 28, .1); color: var(--ink-2); }
.chips li.is-on { background: var(--ink); color: #fff; box-shadow: none; }
.find { display: flex; gap: 14px; align-items: center; padding: 10px; border-radius: 20px; background: var(--cream); box-shadow: inset 0 0 0 1px rgba(36, 30, 28, .05); }
.find-img { flex: none; width: 74px; height: 84px; border-radius: 14px; display: grid; place-items: end center; padding-bottom: 12px; background: linear-gradient(160deg, #FAEFDD, #F2D9AE); }
.find-name { font-size: 14px !important; font-weight: 500; color: var(--ink) !important; }
.find-why { font-family: var(--serif); font-style: italic; font-size: 13px !important; line-height: 1.35; margin: 2px 0 4px; }
.find-price { font-size: 13px !important; font-weight: 600; color: var(--pink) !important; }

.voice { display: flex; align-items: center; gap: 14px; padding: 12px 18px 12px 12px; border-radius: 99px; background: var(--cream); box-shadow: inset 0 0 0 1px rgba(36, 30, 28, .05); }
.voice-btn { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--pink-cta); color: #fff; box-shadow: 0 0 0 6px rgba(236, 38, 143, .12); }
.voice-btn .ic { width: 20px; height: 20px; stroke-width: 1.7; }
.wave { flex: 1; display: flex; align-items: center; gap: 3px; height: 34px; }
.wave i { flex: 1; height: 100%; border-radius: 3px; background: var(--pink); opacity: .55; transform-origin: center; transform: scaleY(.25); animation: wave 1.4s var(--ease) infinite; }
.wave i:nth-child(3n)   { animation-delay: -.3s; }
.wave i:nth-child(3n+1) { animation-delay: -.7s; }
.wave i:nth-child(4n)   { animation-duration: 1.1s; }
.wave i:nth-child(5n)   { animation-duration: 1.7s; }
@keyframes wave { 0%, 100% { transform: scaleY(.22); } 50% { transform: scaleY(.95); } }
.voice-time { font-size: 13px; font-variant-numeric: tabular-nums; color: var(--ink-2); }

/* ---------- IA ---------- */
.ai { padding-inline: clamp(8px, 1.4vw, 16px); }
.ai-slab {
  position: relative; overflow: hidden;
  border-radius: clamp(28px, 4vw, 48px);
  padding-block: var(--section);
  background:
    radial-gradient(50% 60% at 85% 20%, rgba(236, 38, 143, .22), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, rgba(224, 162, 74, .1), transparent 70%),
    var(--espresso);
  color: var(--cream);
}
.ai-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.ai .h2 { color: var(--cream); max-width: 12em; }
.ai .h2 em { color: var(--pink-glow); }
.ai .body { color: rgba(251, 246, 241, .66); margin-top: 24px; }
.caps { margin-top: 48px; display: grid; }
.caps li { display: flex; gap: 18px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .08); }
.caps li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .08); }
.cap-ic { flex: none; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; color: var(--pink-glow); background: rgba(236, 38, 143, .1); box-shadow: inset 0 0 0 1px rgba(236, 38, 143, .22); }
.caps h3 { font-size: 1.08rem; font-weight: 500; margin-bottom: 4px; }
.caps p { font-size: .97rem; color: rgba(251, 246, 241, .6); }

.ai-visual { position: relative; }
.chat { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 4px 4px 14px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.chat-avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; }
.chat-avatar img { height: 22px; width: auto; }
.chat-name { font-size: 14.5px; font-weight: 500; }
.chat-status { font-size: 12px; color: #7fd0a8; }
.chat-status::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: currentColor; vertical-align: 1px; }
.chat-body { display: flex; flex-direction: column; gap: 10px; padding: 6px 2px; }
.msg { max-width: 86%; padding: 12px 16px; border-radius: 20px; font-size: 14.5px; line-height: 1.5; }
.msg.me { align-self: flex-end; background: var(--pink-cta); color: #fff; border-bottom-right-radius: 6px; }
.msg.bot { align-self: flex-start; background: rgba(255, 255, 255, .06); color: rgba(251, 246, 241, .9); border-bottom-left-radius: 6px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05); }
.msg.bot b { color: #fff; font-weight: 600; }
.mini-week { display: flex; gap: 5px; margin-top: 12px; }
.mini-week span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 600; }
.mini-week .h { background: rgba(95, 182, 194, .22); color: #9ad8e0; }
.mini-week .n { background: rgba(224, 162, 74, .2); color: #f0c27e; }
.mini-week .r { background: rgba(194, 92, 138, .26); color: #ee9cc2; }
.mini-week .rest { background: rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .4); }
.quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.quick span { font-size: 13px; padding: 8px 14px; border-radius: 99px; color: var(--pink-glow); box-shadow: inset 0 0 0 1px rgba(255, 125, 190, .35); }
.chat-input { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 7px 7px 18px; border-radius: 99px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); font-size: 14px; color: rgba(251, 246, 241, .45); }
.chat-send { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--pink-cta); color: #fff; }
.chat-send .ic { width: 16px; height: 16px; stroke-width: 1.7; }

/* ---------- MODELO ---------- */
.model-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.model-card { padding: 30px; }
.model-card .ic-badge { margin-bottom: 40px; }
.model-card p { font-size: 1rem; color: var(--ink-2); }
.stack { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 56px; padding-top: 32px; border-top: 1px solid rgba(36, 30, 28, .08); }
.stack p { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); }
.stack ul { display: flex; flex-wrap: wrap; gap: 8px; }
.stack li { font-size: 14px; padding: 7px 14px; border-radius: 99px; background: var(--paper); box-shadow: inset 0 0 0 1px rgba(36, 30, 28, .07); color: var(--ink-2); }

/* ---------- CTA ---------- */
.cta { position: relative; padding-block: var(--section); text-align: center; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 50% 45%, rgba(236, 38, 143, .1), transparent 72%); }
.cta-inner { display: flex; flex-direction: column; align-items: center; }
.cta-logo { width: clamp(170px, 20vw, 230px); margin-bottom: 56px; }
.cta .h2 { max-width: 13em; }
.cta .body { margin-top: 24px; }

/* ---------- FOOTER ---------- */
.footer { background: var(--espresso); color: rgba(251, 246, 241, .66); padding-top: 72px; padding-bottom: 32px; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer-brand img { width: 150px; margin-bottom: 20px; }
.footer-brand p { font-size: 15px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 28px; font-size: 15px; }
.footer-links a { transition: color .4s var(--ease); }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: 13.5px; color: rgba(251, 246, 241, .45); }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
/* o celular mantém sua leve rotação depois de revelado */
.js .hero-visual.reveal { transform: translateY(48px); }
.js .hero-visual.reveal.in { transform: none; }

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .b-a { grid-column: span 2; grid-row: auto; }
  .b-b, .b-c, .b-d, .b-e { grid-column: span 1; }
  .b-f { grid-column: span 2; }
  .model-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .hero-grid, .ai-grid, .split { grid-template-columns: 1fr; }
  .hero-copy { text-align: left; }
  .hero-visual { margin-top: 24px; }
  .sticky { position: static; }
  .sticky .h2 { max-width: 13em; }
  .pillars { grid-template-columns: 1fr; gap: 14px; }
  .ai-visual { max-width: 520px; }
}

@media (max-width: 767px) {
  body { font-size: 16px; }
  .nav { padding-left: 16px; }
  .nav-cta { display: none; }
  .burger { display: block; }
  .brand-mark { height: 25px; }
  .brand-word { height: 18px; }

  /* sem rotações/sobreposições no mobile */
  .phone { transform: none; }
  /* cartões saem de cima do celular: um acima, outro abaixo */
  .hero-visual { display: flex; flex-direction: column; align-items: center; padding-block: 0; }
  .float { position: relative; inset: auto; transform: none; padding: 10px 14px 10px 10px; }
  .float-notif { order: -1; align-self: flex-start; max-width: 290px; margin-bottom: -26px; }
  .float-health { align-self: flex-end; margin-top: -22px; }
  .eyebrow { letter-spacing: .18em; }

  .ribbon { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .ribbon::-webkit-scrollbar { display: none; }
  .tile { flex: 0 0 96px; scroll-snap-align: start; }

  .bento, .model-grid { grid-template-columns: 1fr; gap: 14px; }
  .b-a, .b-b, .b-c, .b-d, .b-e, .b-f { grid-column: auto; }
  .quiz { padding: 18px; }
  .quiz-opts { grid-template-columns: 1fr; }
  .levels { grid-template-columns: 1fr; gap: 8px; }
  .levels li { flex-direction: row; justify-content: space-between; align-items: baseline; padding: 12px 16px; }

  .hero-ctas .btn { flex: 1 1 auto; justify-content: space-between; }
  .cta .hero-ctas { width: 100%; flex-direction: column; }
  .footer-grid { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 340px) {
  .phone { transform: scale(.9); margin-block: -31px; }
  .eyebrow { letter-spacing: .12em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .hero-visual.reveal { opacity: 1; transform: none; transition: none; }
  .wave i { animation: none; }
  .menu-links li a { transition: none; }
}
