/* MommyCare — site. Um dia do bebê: cada secção é uma hora do dia. As cores são
   as do app (DESIGN.md); cada faixa usa um par fundo/destaque da paleta.
   Visual acolhedor e brincalhão: bordas de mantinha, blobs suaves e adesivos. */

:root {
  /* Paleta do app (DESIGN.md) */
  --violeta: #A78BFA;
  --violeta-strong: #7C3AED;
  --violeta-light: #F3E8FF;
  --rose-strong: #BE185D;
  --rose-light: #FCE7F3;
  --mint-strong: #047857;
  --mint-light: #ECFDF5;
  --sky-strong: #2563EB;
  --sky-light: #EFF6FF;
  --sun-strong: #B45309;
  --sun-light: #FEF3C7;
  --ink: #1F2937;
  --white: #FFFFFF;
  --night: #16121E;
  --night-card: #221D2E;
  --night-ink: #F1EFF7;

  /* Valores da faixa atual (cada .band redefine-os) */
  --bg: var(--violeta-light);
  --fg: var(--ink);
  --accent: var(--violeta-strong);
  --line: rgb(31 41 55 / .14);
  --btn-bg: var(--violeta-strong);
  --btn-fg: var(--white);
  --btn-edge: rgb(76 29 149 / .9);
  --blob: var(--white);
  --soft: rgb(124 58 237 / .18);

  --display: "Bricolage Grotesque", "Atkinson Hyperlegible Next", system-ui, sans-serif;
  --texto: "Atkinson Hyperlegible Next", system-ui, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --bounce: cubic-bezier(.34, 1.56, .64, 1);
  --scallop: 22px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--violeta-light);
  color: var(--ink);
  font: 400 clamp(17px, 1.1vw + 12px, 20px)/1.6 var(--texto);
  font-variant-numeric: tabular-nums;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

::selection { background: var(--violeta-strong); color: var(--white); }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; border-radius: 10px; }
h1, h2 { font-family: var(--display); font-weight: 800; letter-spacing: -.03em; line-height: 1.02; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; max-width: 62ch; text-wrap: pretty; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; position: relative; z-index: 2; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }

/* ── Topo: pílula de vidro ────────────────────────────────────────────── */
.top {
  position: absolute; top: 16px; left: 50%; transform: translateX(-50%); z-index: 10;
  width: min(100% - 2 * var(--gutter), 1240px);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 8px 8px 14px; border-radius: 999px;
  background: rgb(255 255 255 / .62);
  border: 1px solid rgb(255 255 255 / .9);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 14px 40px -22px rgb(124 58 237 / .45);
}
.mark { display: inline-flex; align-items: center; gap: 10px; font: 800 21px/1 var(--display); letter-spacing: -.02em; text-decoration: none; }
.mark__badge {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--violeta-strong); color: var(--white);
  transition: transform .5s var(--bounce);
}
.mark:hover .mark__badge { transform: rotate(180deg); }
.mark svg { width: 24px; height: 24px; }
.top nav { display: flex; align-items: center; gap: 4px; font-weight: 600; font-size: 16px; }
.top nav a:not(.btn) { text-decoration: none; padding: 10px 16px; border-radius: 999px; transition: background-color .25s var(--ease), color .25s var(--ease); }
.top nav a:not(.btn):hover { background: var(--violeta-light); color: var(--violeta-strong); }
.top nav .btn { margin-left: 6px; }
@media (max-width: 640px) { .top nav a:not(.btn) { display: none; } }

/* ── Botões: pílulas com "degrau" macio ───────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 56px;
  padding: 0 30px; border-radius: 999px; font: 700 18px/1 var(--texto); text-decoration: none;
  transition: transform .3s var(--bounce), box-shadow .3s var(--ease), background-color .3s var(--ease);
}
.btn--ink {
  background: var(--btn-bg); color: var(--btn-fg);
  box-shadow: 0 5px 0 var(--btn-edge), 0 18px 30px -14px var(--btn-edge);
}
.btn--ink:hover { transform: translateY(-3px); box-shadow: 0 8px 0 var(--btn-edge), 0 24px 36px -16px var(--btn-edge); }
.btn--ink:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--btn-edge), 0 8px 16px -10px var(--btn-edge); }
.btn--sm { min-height: 44px; padding: 0 22px; font-size: 16px; box-shadow: 0 3px 0 var(--btn-edge); }
.btn--sm:hover { box-shadow: 0 5px 0 var(--btn-edge); transform: translateY(-2px); }
.btn--lg { min-height: 66px; padding: 0 40px; font-size: 21px; }

.link { font-weight: 700; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; padding: 6px 0; border-bottom: 2px solid currentColor; }
.link svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--bounce); }
.link:hover svg { transform: translateX(5px); }

/* ── Faixas (horas do dia) com borda de mantinha ──────────────────────── */
.band { position: relative; padding-block: clamp(84px, 11vw, 150px); background: var(--bg); color: var(--fg); overflow-x: clip; }
.band:not(.hero)::before, .foot::before {
  content: ""; position: absolute; left: 0; right: 0; top: calc(1px - var(--scallop)); height: var(--scallop);
  background: var(--bg);
  -webkit-mask: radial-gradient(circle at 50% 100%, #000 calc(var(--scallop) - .5px), transparent var(--scallop)) 0 0 / calc(var(--scallop) * 2) var(--scallop) repeat-x;
          mask: radial-gradient(circle at 50% 100%, #000 calc(var(--scallop) - .5px), transparent var(--scallop)) 0 0 / calc(var(--scallop) * 2) var(--scallop) repeat-x;
  z-index: 3; pointer-events: none;
}
/* 06:00 — lilás do app */
.band--sol { --bg: var(--violeta-light); --accent: var(--violeta-strong); }
/* 09:15 — céu */
.band--ceu { --bg: var(--sky-light); --accent: var(--sky-strong); --blob: var(--white); --soft: rgb(37 99 235 / .2); }
/* 10:40 — a prova: o violeta forte do cartão "O dia" do app */
.band--manha { --bg: var(--violeta-strong); --fg: var(--white); --accent: var(--violeta-light); --line: rgb(255 255 255 / .22); --btn-bg: var(--white); --btn-fg: var(--violeta-strong); --blob: var(--violeta); --soft: rgb(255 255 255 / .35); }
/* 14:00 — rosa da área "Para você" */
.band--pessego { --bg: var(--rose-light); --accent: var(--rose-strong); --btn-bg: var(--rose-strong); --btn-edge: rgb(131 24 67 / .9); --blob: var(--white); --soft: rgb(190 24 93 / .22); }
/* 19:30 — menta */
.band--entardecer { --bg: var(--mint-light); --accent: var(--mint-strong); --soft: rgb(4 120 87 / .2); }
/* 03:00 — o modo escuro do app */
.band--noite { --bg: var(--night); --fg: var(--night-ink); --accent: var(--violeta); --line: rgb(241 239 247 / .14); --btn-bg: var(--violeta); --btn-fg: var(--night); --blob: var(--night-card); --soft: rgb(167 139 250 / .3); }
/* 06:00 de novo — manhã */
.closing { --bg: var(--sun-light); --accent: var(--sun-strong); --btn-edge: rgb(76 29 149 / .9); }
.band--noite + .band--noite { padding-top: 0; }
.band--noite + .band--noite::before, .promise::before { display: none; }
.promise { padding-top: clamp(24px, 4vw, 60px); }

/* ── Decoração: blobs e adesivos ──────────────────────────────────────── */
.deco { position: absolute; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }
.blob { position: absolute; border-radius: 46% 54% 62% 38% / 52% 40% 60% 48%; }
.blob--a { width: 46vw; height: 46vw; max-width: 640px; max-height: 640px; right: -8vw; top: 6%; background: var(--rose-light); }
.blob--b { width: 30vw; height: 30vw; max-width: 420px; max-height: 420px; left: -10vw; bottom: -6vw; background: rgb(255 255 255 / .55); border-radius: 58% 42% 40% 60% / 45% 60% 40% 55%; }
.blob--c { width: 16vw; height: 16vw; max-width: 220px; max-height: 220px; left: 34%; bottom: 6%; background: var(--sun-light); border-radius: 40% 60% 55% 45% / 60% 40% 60% 40%; }
.blob--m { width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; left: -18vw; top: -14vw; background: rgb(167 139 250 / .35); }
.blob--e { width: 40vw; height: 40vw; max-width: 520px; max-height: 520px; right: -10vw; bottom: -12vw; background: var(--white); opacity: .8; }

.stk { position: absolute; width: 34px; height: 34px; z-index: 2; }
.stk--star { fill: var(--violeta); }
.stk--sparkle { fill: var(--sun-strong); }
.stk--heart { fill: var(--rose-strong); opacity: .85; }
.stk--cloud { fill: var(--white); width: 64px; height: 64px; filter: drop-shadow(0 8px 14px rgb(124 58 237 / .14)); }
.stk--moon { fill: var(--sun-light); }
.stk--sm { width: 22px; height: 22px; }

.stk--h1 { left: 6%; top: 24%; width: 30px; height: 30px; }
.stk--h2 { left: 46%; top: 18%; width: 26px; height: 26px; }
.stk--h3 { right: 8%; top: 16%; }
.stk--h4 { left: 51%; bottom: 14%; width: 26px; height: 26px; }
.stk--h5 { right: 4%; bottom: 22%; width: 22px; height: 22px; fill: var(--violeta-strong); }
.stk--h6 { left: 2%; bottom: 12%; width: 52px; height: 52px; }

.stk--e1 { right: 12%; top: 14%; fill: var(--mint-strong); width: 26px; height: 26px; }
.stk--e2 { left: 48%; bottom: 14%; fill: var(--mint-strong); width: 24px; height: 24px; }

@media (prefers-reduced-motion: no-preference) {
  .blob { animation: morph 16s ease-in-out infinite alternate; }
  .blob--b { animation-duration: 20s; animation-delay: -6s; }
  .blob--c { animation-duration: 12s; }
  .stk { animation: floaty 7s ease-in-out infinite; }
  .stk:nth-of-type(2n) { animation-duration: 9s; animation-delay: -3s; }
  .stk:nth-of-type(3n) { animation-duration: 6s; animation-delay: -1.5s; }
  .stk--sparkle { animation-name: twinkle; animation-duration: 3.2s; }
}
@keyframes morph {
  0%   { border-radius: 46% 54% 62% 38% / 52% 40% 60% 48%; transform: rotate(0) scale(1); }
  50%  { border-radius: 60% 40% 38% 62% / 42% 58% 42% 58%; transform: rotate(8deg) scale(1.04); }
  100% { border-radius: 38% 62% 52% 48% / 60% 44% 56% 40%; transform: rotate(-6deg) scale(.98); }
}
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(8deg); } }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(.6) rotate(45deg); opacity: .55; } }

/* ── Entradas suaves ao rolar ─────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .js [data-reveal="2"] { transition-delay: .12s; }
  .js [data-reveal="3"] { transition-delay: .24s; }
  .js [data-reveal="4"] { transition-delay: .36s; }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}

/* ── 06:00 Hero ───────────────────────────────────────────────────────── */
.hero { padding-top: clamp(130px, 14vw, 180px); padding-bottom: clamp(96px, 12vw, 160px); }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 { font-size: clamp(46px, 6.4vw, 96px); color: var(--ink); }
.hl { position: relative; display: inline-block; color: var(--violeta-strong); white-space: nowrap; }
.squiggle { position: absolute; left: -2%; bottom: -.16em; width: 104%; height: .26em; overflow: visible; }
.squiggle path { fill: none; stroke: var(--rose-strong); stroke-width: 7; stroke-linecap: round; }
@media (prefers-reduced-motion: no-preference) {
  .js .squiggle path { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .js .is-in .squiggle path { animation: draw 1.1s var(--ease) .7s forwards; }
}
.lead { font-size: clamp(19px, 1.3vw + 12px, 23px); margin-top: 30px; max-width: 34ch; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 30px; margin: 36px 0 26px; }
.fine { font-size: 15px; opacity: .85; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; opacity: 1; }
.chips span {
  padding: 7px 14px; border-radius: 999px; font-weight: 600; font-size: 14px;
  background: rgb(255 255 255 / .75); border: 1px solid rgb(124 58 237 / .16); color: var(--violeta-strong);
}
.chips span:nth-of-type(2) { color: var(--rose-strong); border-color: rgb(190 24 93 / .2); }
.chips span:nth-of-type(3) { color: var(--mint-strong); border-color: rgb(4 120 87 / .2); }
.chips span:nth-of-type(4) { color: var(--sky-strong); border-color: rgb(37 99 235 / .2); }
.chips i { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.dial { margin: 0; position: relative; }
.dial > svg { width: 100%; max-width: 520px; display: block; margin-inline: auto; overflow: visible; padding: 0 34px; }
.dial__plate { fill: var(--white); filter: drop-shadow(0 30px 50px rgb(124 58 237 / .22)); }
.dial__inner { fill: none; stroke: rgb(124 58 237 / .18); stroke-width: 2; stroke-dasharray: 2 10; stroke-linecap: round; }
.dial__track { fill: none; stroke: var(--violeta-light); stroke-width: 34; }
.dial__sleep { fill: none; stroke: var(--violeta-strong); stroke-width: 34; stroke-linecap: round; }
.dial__next { fill: none; stroke: var(--rose-strong); stroke-width: 34; stroke-linecap: round; }
.dial__ticks text { font: 700 15px/1 var(--texto); fill: rgb(31 41 55 / .75); text-anchor: middle; }
.dial__moon circle { fill: var(--white); }
.dial__moon use { fill: var(--sun-strong); }
.dial__now circle { fill: var(--white); stroke: var(--ink); stroke-width: 5; }
.dial__now .dial__pulse { fill: var(--rose-strong); stroke: none; opacity: 0; transform-box: fill-box; transform-origin: center; }
.dial__now text { font: 700 15px/1 var(--texto); fill: var(--ink); }
.dial__card {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -54%);
  width: min(52%, 250px); text-align: center; display: grid; gap: 6px; justify-items: center;
}
.dial__label {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px;
  padding: 5px 12px; border-radius: 999px; background: var(--rose-light); color: var(--rose-strong);
}
.dial__label svg { width: 15px; height: 15px; fill: currentColor; }
.dial__time { font: 800 clamp(28px, 3.4vw, 44px)/1.05 var(--display); letter-spacing: -.02em; color: var(--violeta-strong); }
.dial__why { font-size: 14px; line-height: 1.4; color: rgb(31 41 55 / .85); }
.note { font-size: 13px; text-align: center; margin: 18px auto 0; opacity: .8; }

/* O dia desenha-se e a janela da soneca acende. */
@media (prefers-reduced-motion: no-preference) {
  .js .dial__sleep, .js .dial__next { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .js .dial.is-on .dial__sleep { animation: draw 1.4s var(--ease) forwards; }
  .js .dial.is-on .dial__sleep + .dial__sleep { animation-delay: .5s; }
  .js .dial.is-on .dial__next { animation: draw .7s var(--ease) 1.3s forwards; }
  .js .dial__now, .js .dial__moon { opacity: 0; transition: opacity .6s var(--ease) 1.1s; }
  .js .dial.is-on .dial__now, .js .dial.is-on .dial__moon { opacity: 1; }
  .js .dial.is-on .dial__pulse { animation: pulse 2.4s ease-out 2s infinite; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pulse { 0% { opacity: .45; transform: scale(1); } 100% { opacity: 0; transform: scale(2.8); } }

/* ── Momentos ─────────────────────────────────────────────────────────── */
.moment__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(36px, 7vw, 110px); align-items: center; }
.moment--flip .moment__copy { order: 2; }
.moment--text .moment__grid { grid-template-columns: 1.1fr .9fr; }
.moment h2 { font-size: clamp(36px, 4.6vw, 68px); margin-bottom: 30px; }
.moment h2 time {
  display: flex; width: fit-content; align-items: center; gap: 10px;
  font-size: .44em; letter-spacing: -.01em; margin-bottom: 20px;
  padding: 10px 20px 10px 12px; border-radius: 999px;
  background: var(--white); color: var(--accent);
  box-shadow: 0 10px 24px -14px var(--soft), inset 0 0 0 2px var(--soft);
}
.moment h2 time svg {
  width: 1.5em; height: 1.5em; padding: .28em; border-radius: 50%;
  background: var(--accent); fill: var(--white); stroke: none;
}
.band--manha h2 time { background: rgb(255 255 255 / .14); color: var(--white); box-shadow: inset 0 0 0 2px rgb(255 255 255 / .28); }
.band--manha h2 time svg { background: var(--white); fill: var(--violeta-strong); }
.band--entardecer h2 time svg { fill: none; stroke: var(--white); stroke-width: 2.4; stroke-linecap: round; }
.band--noite h2 time { background: var(--night-card); color: var(--violeta); box-shadow: inset 0 0 0 2px rgb(167 139 250 / .25); }
.band--noite h2 time svg { background: var(--violeta); fill: var(--night); }
.moment p { font-size: clamp(18px, .6vw + 15px, 21px); }
.moment em { font-style: normal; color: var(--accent); font-weight: 700; }

.callout {
  position: relative; padding: 22px 24px 22px 26px; border-radius: 24px;
  background: var(--white); box-shadow: 0 18px 40px -28px rgb(190 24 93 / .55);
  border-left: 6px solid var(--rose-strong);
}

/* Telemóveis com blob e anel */
.phone { margin: 0; justify-self: center; width: min(100%, 330px); position: relative; }
.phone img {
  position: relative; z-index: 2;
  width: 100%; border-radius: 40px; border: 10px solid var(--ink);
  box-shadow: 0 40px 60px -30px rgb(31 41 55 / .5);
  transform: rotate(-2.5deg);
  transition: transform .6s var(--bounce);
}
.moment--flip .phone img { transform: rotate(2.5deg); }
.phone:hover img { transform: rotate(0) translateY(-8px); }
.phone__blob {
  position: absolute; z-index: 0; inset: 10% -22% 4% -22%;
  background: var(--blob); border-radius: 46% 54% 60% 40% / 52% 42% 58% 48%;
}
.phone__ring {
  position: absolute; z-index: 1; width: 128%; aspect-ratio: 1; left: -14%; top: 50%; translate: 0 -50%;
  border-radius: 50%; border: 2px dashed var(--soft);
}
.phone .stk { z-index: 3; }
.stk--p1 { right: -14%; top: 8%; width: 48px; height: 48px; }
.stk--p2 { left: -12%; bottom: 18%; width: 30px; height: 30px; }
.stk--p3 { left: -6%; top: 14%; width: 24px; height: 24px; }
.band--ceu .stk--p2 { fill: var(--sky-strong); }
.band--ceu .stk--cloud { width: 78px; height: 78px; filter: drop-shadow(0 10px 18px rgb(37 99 235 / .2)); }
.band--manha .stk--star { fill: var(--sun-light); }
.band--manha .stk--sparkle { fill: var(--white); }
.band--pessego .stk--p1 { width: 44px; height: 44px; }
.band--pessego .stk--sparkle { fill: var(--violeta-strong); }
.band--manha .phone img { box-shadow: 0 40px 60px -26px rgb(0 0 0 / .5); }
.phone--night img { border-color: var(--night-card); box-shadow: 0 30px 80px -30px rgb(167 139 250 / .6); }
.phone--night .stk--star { fill: var(--sun-light); }
.phone--night .stk--sparkle { fill: var(--violeta); }
@media (prefers-reduced-motion: no-preference) {
  .phone__blob { animation: morph 14s ease-in-out infinite alternate; }
  .phone__ring { animation: spin 40s linear infinite; }
}
@keyframes spin { to { rotate: 360deg; } }

/* Como funciona: cartões de vidro */
.how { margin: 34px 0 0; display: grid; gap: 14px; }
.how > div {
  padding: 18px 22px; border-radius: 24px;
  background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .2);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: transform .4s var(--bounce), background-color .3s var(--ease);
}
.how > div:hover { transform: translateX(6px); background: rgb(255 255 255 / .16); }
.how dt { font-weight: 700; font-size: 19px; display: flex; align-items: center; gap: 12px; }
.how dd { margin: 6px 0 0 52px; max-width: 52ch; opacity: .92; }
.ico {
  flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 14px;
  background: var(--white); color: var(--violeta-strong);
}
.ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Registos em família: cartão tipo conversa */
.log {
  list-style: none; margin: 0; padding: 14px; font-size: 18px;
  background: var(--white); border-radius: 32px;
  box-shadow: 0 30px 60px -36px rgb(4 120 87 / .55), inset 0 0 0 1px rgb(4 120 87 / .08);
  position: relative;
}
.log li {
  display: grid; grid-template-columns: 4em 1fr auto; gap: 12px; align-items: center;
  padding: 14px 14px; border-radius: 20px; position: relative;
  transition: background-color .3s var(--ease), transform .4s var(--bounce);
}
.log li + li { margin-top: 4px; }
.log li:hover { background: var(--mint-light); transform: scale(1.02); }
.log time {
  font-weight: 700; color: var(--mint-strong); font-size: 15px;
  padding: 6px 0; border-radius: 999px; background: var(--mint-light); text-align: center;
}
.log li:hover time { background: var(--white); }
.who { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; }
.who::before {
  content: attr(data-who); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  font: 800 14px/1 var(--display); color: var(--white);
}
.who--ana::before { background: var(--rose-strong); }
.who--pedro::before { background: var(--sky-strong); }

/* ── Madrugada: céu estrelado ─────────────────────────────────────────── */
.stars { position: absolute; left: 0; top: 0; width: 4px; height: 4px; border-radius: 50%; background: transparent; }
.stars--a {
  box-shadow:
    6vw 80px #F1EFF7, 18vw 220px #A78BFA, 31vw 60px #F1EFF7, 44vw 300px #F1EFF7, 57vw 120px #A78BFA,
    69vw 40px #F1EFF7, 82vw 200px #F1EFF7, 93vw 90px #A78BFA, 12vw 460px #F1EFF7, 38vw 520px #A78BFA,
    63vw 470px #F1EFF7, 88vw 560px #F1EFF7, 24vw 700px #F1EFF7, 75vw 680px #A78BFA;
}
.stars--b {
  width: 3px; height: 3px;
  box-shadow:
    3vw 300px #F1EFF7, 15vw 140px #F1EFF7, 27vw 380px #F1EFF7, 50vw 30px #A78BFA, 52vw 620px #F1EFF7,
    66vw 260px #F1EFF7, 78vw 420px #A78BFA, 96vw 330px #F1EFF7, 8vw 600px #A78BFA, 46vw 760px #F1EFF7;
}
.stars--c {
  box-shadow:
    4vw 120px #F1EFF7, 22vw 40px #A78BFA, 36vw 260px #F1EFF7, 58vw 90px #F1EFF7, 72vw 300px #A78BFA,
    90vw 60px #F1EFF7, 14vw 420px #F1EFF7, 84vw 480px #F1EFF7, 48vw 520px #A78BFA;
}
.moon {
  position: absolute; right: 9%; top: 10%; width: 90px; height: 90px; border-radius: 50%;
  box-shadow: -20px 12px 0 0 var(--sun-light);
  filter: drop-shadow(0 0 26px rgb(254 243 199 / .35));
}
.moment--flip.band--noite .moon { right: auto; left: 7%; }
@media (prefers-reduced-motion: no-preference) {
  .stars--a { animation: glimmer 4s ease-in-out infinite alternate; }
  .stars--b { animation: glimmer 3s ease-in-out -1.5s infinite alternate; }
  .stars--c { animation: glimmer 5s ease-in-out infinite alternate; }
}
@keyframes glimmer { from { opacity: 1; } to { opacity: .35; } }

/* ── Privacidade e dúvidas (madrugada) ────────────────────────────────── */
.promise h2, .faq h2 { font-size: clamp(34px, 4.2vw, 60px); }
.promise h2 { max-width: 18ch; }
.promise__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 48px 0 0; }
.promise__list > div {
  padding: 28px 30px 30px; border-radius: 30px;
  background: var(--night-card); border: 1px solid rgb(167 139 250 / .14);
  transition: transform .45s var(--bounce), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.promise__list > div:hover { transform: translateY(-6px) rotate(-.6deg); border-color: rgb(167 139 250 / .4); box-shadow: 0 30px 50px -30px rgb(167 139 250 / .5); }
.promise__list dt { font: 800 clamp(22px, 1.6vw + 12px, 30px)/1.15 var(--display); color: var(--night-ink); display: grid; gap: 18px; justify-items: start; }
.promise__list .ico { width: 56px; height: 56px; border-radius: 18px; background: rgb(167 139 250 / .16); color: var(--violeta); }
.promise__list .ico svg { width: 28px; height: 28px; }
.promise__list .ico--rose { background: rgb(252 231 243 / .12); color: var(--rose-light); }
.promise__list .ico--mint { background: rgb(236 253 245 / .12); color: var(--mint-light); }
.promise__list .ico--sky { background: rgb(239 246 255 / .12); color: var(--sky-light); }
.promise__list dd { margin: 10px 0 0; max-width: 44ch; opacity: .85; }

.faq { padding-top: clamp(80px, 10vw, 130px) !important; }
.faq__grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(28px, 6vw, 90px); align-items: start; }
.faq__head { position: sticky; top: 40px; }
.faq__moon { display: block; width: 64px; height: 64px; margin-top: 24px; fill: var(--violeta); opacity: .9; }
@media (prefers-reduced-motion: no-preference) { .faq__moon { animation: floaty 8s ease-in-out infinite; } }
.faq__list { display: grid; gap: 12px; }
.faq details {
  border-radius: 24px; background: var(--night-card); border: 1px solid rgb(167 139 250 / .12);
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.faq details:hover { border-color: rgb(167 139 250 / .35); }
.faq details[open] { border-color: rgb(167 139 250 / .45); background: #29233A; }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 76px 22px 26px; position: relative;
  font-weight: 700; font-size: clamp(18px, .5vw + 15px, 21px); border-radius: 24px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 38px; height: 38px; margin-top: -19px; border-radius: 50%;
  background:
    linear-gradient(var(--violeta), var(--violeta)) center / 14px 2.5px no-repeat,
    linear-gradient(var(--violeta), var(--violeta)) center / 2.5px 14px no-repeat,
    rgb(167 139 250 / .14);
  transition: transform .45s var(--bounce), background-color .3s var(--ease);
}
.faq details[open] summary::after {
  transform: rotate(135deg);
  background:
    linear-gradient(var(--night), var(--night)) center / 14px 2.5px no-repeat,
    linear-gradient(var(--night), var(--night)) center / 2.5px 14px no-repeat,
    var(--violeta);
}
.faq details p { margin: 0; padding: 0 26px 24px; opacity: .88; }

/* ── 06:00 de novo: o sol nasce ───────────────────────────────────────── */
.closing { text-align: center; padding-bottom: clamp(200px, 24vw, 300px); }
.closing h2 { font-size: clamp(38px, 5.4vw, 80px); max-width: 16ch; margin: 0 auto 44px; }
.closing .fine { margin: 22px auto 0; }
.sunrise { position: absolute; left: 50%; bottom: 0; width: min(720px, 120vw); aspect-ratio: 1; translate: -50% 56%; }
.sunrise__disc { position: absolute; inset: 22%; border-radius: 50%; background: #FDE68A; box-shadow: 0 0 0 28px rgb(253 230 138 / .45), 0 0 0 64px rgb(253 230 138 / .22); }
.sunrise__rays {
  position: absolute; inset: 0; border-radius: 50%;
  background: repeating-conic-gradient(rgb(180 83 9 / .1) 0deg 6deg, transparent 6deg 20deg);
  -webkit-mask: radial-gradient(circle, transparent 36%, #000 37%, #000 68%, transparent 70%);
          mask: radial-gradient(circle, transparent 36%, #000 37%, #000 68%, transparent 70%);
}
@media (prefers-reduced-motion: no-preference) { .sunrise__rays { animation: spin 60s linear infinite; } }
.stk--c1 { left: 8%; top: 22%; width: 90px; height: 90px; filter: drop-shadow(0 10px 18px rgb(180 83 9 / .14)); }
.stk--c2 { right: 10%; top: 48%; width: 70px; height: 70px; filter: drop-shadow(0 10px 18px rgb(180 83 9 / .14)); }
.stk--c3 { right: 18%; top: 16%; width: 28px; height: 28px; }
.stk--c4 { left: 16%; bottom: 26%; width: 30px; height: 30px; }

.foot { position: relative; background: var(--night); color: var(--night-ink); padding: 48px 0 120px; font-size: 15px; --bg: var(--night); }
.foot__grid { display: grid; gap: 4px; }
.foot p { margin: 0; opacity: .8; }
.foot p:first-child { font-weight: 700; opacity: 1; }

/* ── Relógio fixo: mostra a hora da secção e mantém a ação à mão ─────── */
.dock {
  position: fixed; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 20;
  transform: translate(-50%, 160%); transition: transform .6s var(--bounce);
  display: flex; align-items: center; gap: 14px; padding: 7px 7px 7px 20px;
  background: rgb(255 255 255 / .82); color: var(--ink); border-radius: 999px;
  border: 1px solid rgb(255 255 255 / .9);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 16px 40px -14px rgb(31 41 55 / .45);
}
.dock::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--rose-strong); box-shadow: 0 0 0 4px var(--rose-light); }
.dock.is-on { transform: translate(-50%, 0); }
.dock__time { font: 800 22px/1 var(--display); letter-spacing: -.01em; min-width: 3.1em; }
.dock { --btn-bg: var(--violeta-strong); --btn-fg: var(--white); --btn-edge: rgb(76 29 149 / .9); }
@media (prefers-reduced-motion: reduce) { .dock { transition: none; } }

/* ── Telas pequenas ───────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero__grid, .moment__grid, .moment--text .moment__grid, .faq__grid { grid-template-columns: 1fr; }
  .moment--flip .moment__copy { order: 0; }
  .dial > svg { max-width: 440px; }
  .promise__list { grid-template-columns: 1fr; }
  .phone { width: min(78%, 290px); margin-top: 20px; }
  .faq__head { position: static; display: flex; align-items: center; justify-content: space-between; }
  .faq__moon { margin: 0; width: 48px; height: 48px; }
  .blob--a { width: 80vw; height: 80vw; top: 40%; }
  .stk--h2, .stk--h4 { display: none; }
  .stk--h3 { top: auto; bottom: 46%; right: 4%; width: 52px; height: 52px; }
  .stk--h1 { top: 21%; left: auto; right: 5%; }
  .blob--c { display: none; }
  .moment--flip.band--noite .moon, .moon { left: auto; right: 6%; }
  .stk--c1 { top: 4%; left: 4%; width: 56px; height: 56px; }
  .stk--c2 { top: auto; bottom: 16%; right: 4%; width: 48px; height: 48px; }
  .stk--c3 { top: 5%; right: 10%; }
  .closing { padding-top: 120px; }
  .moon { width: 60px; height: 60px; box-shadow: -14px 8px 0 0 var(--sun-light); top: 4%; }
}
@media (max-width: 420px) {
  :root { --scallop: 16px; }
  .dial__why { display: none; }
  .actions .btn { width: 100%; }
  .top { padding-left: 10px; }
  .mark { font-size: 19px; }
  .how dd { margin-left: 0; }
  .log { padding: 8px; font-size: 16px; }
  .log li { grid-template-columns: 3.6em 1fr auto; gap: 8px; padding: 12px 8px; }
  .who { font-size: 13px; gap: 6px; }
  .who::before { width: 26px; height: 26px; font-size: 12px; }
  .stk--c1 { width: 60px; height: 60px; }
}
