/* O Explica front page at / (site-5, João 16 Nov 17:00: the layout of work/mockups/site-2026-11-16, built as it is).
   Only the front page loads this file; the other site pages keep /site/site.css and the app keeps /styles.css.
   Local fonts, no inline style or script (SITE_CSP), transform and opacity only, nothing moves with reduced motion. */
@font-face { font-family:"Fredoka"; font-weight:300 700; font-display:swap; src:url(/fonts/fredoka-latin.woff2) format("woff2"); }
@font-face { font-family:"Lexend"; font-weight:100 900; font-display:swap; src:url(/fonts/lexend-latin.woff2) format("woff2"); }
:root {
  color-scheme: light;
  --paper:#fff8fb; --lilac:#efe6fb; --mintbg:#e2f5ec; --card:#fffdfe;
  --ink:#2a1a3d; --ink-2:#4a3a5e; --muted:#625174; --line:#e4d8f2; --line-2:#d6c6ec;
  --accent:#6a3fb5; --plum:#2a1a3e; --plum-2:#3b2856; --on-plum:#f7f1fd; --on-plum-2:#d6c8e8;
  --mint:#bfeedd; --mint-deep:#9fe2cb; --fold:#fff0d4; --fold-2:#f6dfb4; --teal:#123f4a;
  --cta:linear-gradient(115deg,#ffb5d8 0%,#d3b9f5 55%,#aee9d7 100%); --cta-ink:#2b173f;
  --wash:radial-gradient(60% 55% at 0% 0%,#ffe0ef 0%,transparent 70%),radial-gradient(50% 60% at 100% 10%,#ece0ff 0%,transparent 70%),radial-gradient(55% 50% at 30% 100%,#d9f5ea 0%,transparent 70%);
  --lift:0 1px 2px #2a1a3e14,0 10px 24px -12px #4a2a7a40;
  --deep:0 1px 1px #2a1a3e1f,0 16px 32px -14px #2a1a3e59,0 48px 90px -36px #6a3fb566;
  --sec:88px; --gap:32px; --gut:16px; --max:1200px; --sheet-r:40px;
}
* { box-sizing:border-box; }
[hidden] { display:none !important; } /* what /site/site.js hides inside the Android app stays hidden */
/* Android app: the same markers and rules as /site/site.css (/site/android-mode.js marks <html> before the first paint) */
.android [data-sales], .android a[href="/planos"], .android a[href^="/planos?"] { display:none !important; }
.android [data-web-only] { display:none !important; }
.app-only { display:none; }
.android .app-only { display:inline; }
html { scroll-behavior:smooth; scroll-padding-top:76px; -webkit-text-size-adjust:100%; }
/* The page's end (João, 18 Nov 19:01, iPhone: a pale band under the footer "as i scroll down"). Below and above the
   page, iOS Safari and Brave paint the root background (rubber-band scroll, the toolbar sliding away), and that was
   the body's pale pink. The root now has its own colour: the page's at the top, the footer's once the reader is in
   the lower half (/site/site.js sets html.ends-dark), so the edge beyond the page always continues what is there. */
html { background-color:var(--paper); }
html.ends-dark { background-color:var(--plum); }
/* João (7 Nov): no double-tap zoom on fast taps; two-finger pinch zoom stays (as /site/site.css). */
html,a,button,summary,label { touch-action:manipulation; }
body { margin:0; background:var(--wash) top / 100% 1100px no-repeat, var(--paper); color:var(--ink); font:16px/1.65 "Lexend",system-ui,-apple-system,"Segoe UI",sans-serif; overflow-x:hidden; }
img { display:block; max-width:100%; height:auto; }
h1,h2,h3,.num,.btn,.price b,.stop,.tap { font-family:"Fredoka","Lexend",system-ui,sans-serif; }
h1,h2,h3 { margin:0; color:var(--ink); font-weight:600; letter-spacing:-.022em; }
p { margin:0; }
a { color:var(--accent); text-underline-offset:.22em; text-decoration-thickness:1.5px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline:3px solid var(--accent); outline-offset:3px; border-radius:12px; }
.wrap { width:100%; max-width:var(--max); margin:0 auto; padding:0 max(var(--gut),env(safe-area-inset-left)) 0 max(var(--gut),env(safe-area-inset-right)); }
.skip { position:fixed; left:8px; top:-80px; z-index:70; background:var(--card); padding:12px 16px; border-radius:12px; }
.skip:focus { top:8px; }

/* Links and buttons: every tap target at least 44 px */
.btn { display:inline-flex; align-items:center; justify-content:center; min-height:56px; padding:0 28px; border-radius:18px; border:0;
  font-size:1.15rem; font-weight:600; letter-spacing:-.005em; text-decoration:none; color:var(--cta-ink); background:var(--cta);
  box-shadow:inset 0 1px 0 #ffffffb0, inset 0 -2px 0 #6a3fb51f, 0 10px 22px -10px #b27ad8aa; transition:transform .16s ease-out, box-shadow .16s ease-out; }
.btn:active { transform:translateY(1px); }
@media (hover:hover) { .btn:hover { transform:translateY(-2px); box-shadow:inset 0 1px 0 #ffffffb0, inset 0 -2px 0 #6a3fb51f, 0 16px 28px -12px #b27ad8cc; } }
.btn:focus-visible { transform:translateY(-2px); }
.more { display:inline-flex; align-items:center; gap:8px; min-height:44px; font-weight:500; text-decoration:none; color:var(--accent); }
.more span { text-decoration:underline; text-underline-offset:.22em; text-decoration-thickness:1.5px; }
.more svg { width:18px; height:18px; flex:none; }

/* build-a header start (João, 17 Nov 12:33 and 12:56; reader round 2): the same header and phone menu on every
   public page: logo, sections, «Entrar» as a text link, «Criar conta» as a button, the menu. This block is the same
   text in /site/home.css and /site/site.css (tests/test_site_4.py compares them), with its own colours. */
.top { position:sticky; top:0; z-index:40; padding:env(safe-area-inset-top) 0 0; background:transparent; backdrop-filter:saturate(1.3) blur(14px); -webkit-backdrop-filter:saturate(1.3) blur(14px);
  border-bottom:1px solid transparent; transition:border-color .2s ease-out, box-shadow .2s ease-out; }
.top.is-scrolled, .top.scrolled { background:#fff8fbeb; border-color:#e4d8f2; box-shadow:0 8px 24px -16px #4a2a7a55; }
.top .wrap { display:flex; align-items:center; justify-content:space-between; gap:8px; min-height:64px; width:100%; max-width:1200px; margin:0 auto;
  padding:0 max(16px,env(safe-area-inset-right)) 0 max(16px,env(safe-area-inset-left)); }
.top .logo { display:inline-flex; align-items:center; min-height:44px; }
.top .logo img { display:block; height:24px; width:auto; }
.top .nav { display:none; }
.top .acts { display:flex; align-items:center; gap:2px; }
.top .top-in { display:inline-flex; align-items:center; min-height:44px; padding:0 10px; border-radius:14px; text-decoration:none; color:#6a3fb5; font-weight:600; white-space:nowrap; }
.top .top-cta { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:0 14px; border:0; border-radius:14px; background:linear-gradient(115deg,#ffb5d8 0%,#d3b9f5 55%,#aee9d7 100%);
  color:#2b173f; font-family:"Fredoka","Lexend",system-ui,sans-serif; font-weight:600; font-size:1rem; line-height:1.2; text-decoration:none; white-space:nowrap; box-shadow:inset 0 1px 0 #ffffffb0; }
.top .menu-btn, .drawer .menu-btn { width:44px; height:44px; display:inline-grid; place-items:center; border:0; padding:0; background:transparent; border-radius:14px; color:#2a1a3d; cursor:pointer; }
.top .menu-btn svg, .drawer .menu-btn svg { width:24px; height:24px; }
@media (max-width:374px) { .top .logo img { height:22px; } .top .top-in { padding:0 8px; } .top .top-cta { padding:0 12px; } }
.drawer { position:fixed; inset:0; z-index:60; background:#2a1a3e66; display:none; }
.drawer.open { display:block; }
.drawer-panel { position:absolute; right:0; top:0; bottom:0; width:min(320px,86vw); background:#fff8fb; padding:calc(10px + env(safe-area-inset-top)) 14px 24px;
  display:flex; flex-direction:column; gap:8px; box-shadow:0 1px 1px #2a1a3e1f,0 16px 32px -14px #2a1a3e59,0 48px 90px -36px #6a3fb566; border-radius:28px 0 0 28px; overflow-y:auto; }
.drawer-close { align-self:flex-end; }
/* Menu rows (reader round 2: "more like entrar", with life): the app's own picture for each place on a tile in one of
   the site's colours, a row as round as the buttons, a chevron, and a lift on hover and a press. */
.mi { display:flex; align-items:center; gap:12px; min-height:56px; padding:0 12px 0 8px; border-radius:18px; background:#fffdfe; border:1px solid #e4d8f2; color:#2a1a3d;
  font-family:"Fredoka","Lexend",system-ui,sans-serif; font-weight:600; font-size:1.06rem; text-decoration:none; box-shadow:0 1px 2px #2a1a3e0d, 0 8px 16px -12px #4a2a7a40;
  transition:transform .14s ease-out, border-color .14s ease-out, background-color .14s ease-out; }
.mi .ico { width:40px; height:40px; border-radius:14px; display:grid; place-items:center; flex:none; font-size:22px; line-height:1; }
.mi .t-mint { background:#e2f5ec; } .mi .t-sun { background:#fff0d4; } .mi .t-pink { background:#ffe3f0; } .mi .t-lilac { background:#efe6fb; }
.mi .mi-label { flex:1; }
.mi svg { width:18px; height:18px; flex:none; color:#6a3fb5; }
.mi[aria-current="page"] { border-color:#6a3fb5; }
@media (hover:hover) { .mi:hover { border-color:#c9b2f0; background:#fffaff; transform:translateY(-1px); } }
.mi:active { transform:translateY(1px); background:#f6f0fd; border-color:#c9b2f0; }
.mi:focus-visible, .in-btn:focus-visible, .top .top-in:focus-visible, .top .top-cta:focus-visible { outline:3px solid #6a3fb5; outline-offset:3px; }
/* The menu's «Entrar» (João, 12:56): purple with the small stars, the word centred on the button by itself, Plico in
   front on the right. Same height and corner as «Criar conta da família» (56 px, 18 px). */
.in-btn, .drawer-panel .btn { box-sizing:border-box; display:flex; align-items:center; justify-content:center; width:100%; height:56px; min-height:56px; border-radius:18px; text-decoration:none;
  font-family:"Fredoka","Lexend",system-ui,sans-serif; font-weight:600; font-size:1.15rem; letter-spacing:-.005em; }
.in-btn { position:relative; margin-top:10px; padding:0 64px; background:#6a3fb5; color:#fff; box-shadow:inset 0 1px 0 #ffffff40, 0 10px 22px -12px #6a3fb5cc; }
.in-label { position:relative; z-index:1; }
.in-plico { position:absolute; right:0; top:50%; width:70px; height:70px; transform:translateY(-50%) rotate(4deg); z-index:2; pointer-events:none; filter:drop-shadow(0 4px 6px #2a1a3e40); }
.in-btn .spk { position:absolute; display:block; pointer-events:none; }
.in-btn .spk svg { display:block; width:100%; height:100%; }
.in-btn .spk.a { width:12px; height:12px; right:70px; top:9px; fill:#FFD36E; }
.in-btn .spk.b { width:8px; height:8px; left:20px; bottom:12px; fill:#FFB5D8; }
.drawer-panel .btn { margin-top:4px; padding:0 16px; border:0; background:linear-gradient(115deg,#ffb5d8 0%,#d3b9f5 55%,#aee9d7 100%); color:#2b173f; box-shadow:inset 0 1px 0 #ffffffb0, 0 10px 22px -10px #b27ad8aa; }
@media (prefers-reduced-motion: reduce) { .mi { transition:none; } .mi:hover, .mi:active { transform:none; } }
@media (forced-colors:active) { .top .top-cta, .in-btn, .drawer-panel .btn, .mi { border:1px solid ButtonText; } }
/* 1024 and up: the sections in the bar, centred between the logo and the actions (two equal side columns). */
@media (min-width:1024px) {
  .top .wrap { display:grid; grid-template-columns:1fr auto 1fr; min-height:72px; }
  .top .logo { justify-self:start; }
  .top .acts { justify-self:end; }
  .top .logo img { height:30px; }
  .top .nav { display:flex; gap:2px; }
  .top .nav a { display:inline-flex; align-items:center; min-height:44px; padding:0 12px; border-radius:12px; color:#2a1a3d; text-decoration:none; font-size:.98rem; white-space:nowrap; }
  .top .nav a:hover { background:#efe6fb; }
  .top .nav a[aria-current="page"] { color:#6a3fb5; font-weight:600; }
  .top .menu-btn { display:none; }
}
/* build-a header end */

/* Sheets: every section is a page laid over the one before, with a rounded top edge.
   Three key sheets also carry Plico's folded corner (hero card, parents, closing). */
.sheet { position:relative; margin-top:calc(var(--sheet-r) * -1); border-radius:var(--sheet-r) var(--sheet-r) 0 0; padding:calc(var(--sec) + 8px) 0 calc(var(--sec) + var(--sheet-r));
  box-shadow:0 -1px 0 #ffffffcc inset, 0 -20px 40px -30px #4a2a7a59; }
.s-paper { background:var(--paper); }
.s-lilac { background:var(--lilac); }
.s-mint { background:var(--mintbg); }
.s-plum { background:var(--plum); color:var(--on-plum); }
.folded { --f:72px; clip-path:polygon(0 0, calc(100% - var(--f)) 0, 100% var(--f), 100% 100%, 0 100%); }
.folded::before { content:""; position:absolute; right:0; top:0; width:var(--f); height:var(--f); border-bottom-left-radius:calc(var(--f) * .28);
  background:linear-gradient(225deg, transparent 50%, var(--fold) 50%, var(--fold-2) 100%); filter:drop-shadow(-6px 6px 8px #2a1a3e30); z-index:2; }
/* A fold on a sheet's top edge shows the sheet above it (João, 18 Nov 18:53: "The part on the right should probably be
   green still"). The sheets overlap by only --sheet-r, so below that the cut corner showed the page's pink. The sheet
   before a top-edge fold now runs on under the next sheet, deeper than any fold, in its own colour (background:inherit),
   at every width; nothing moves. Top-edge folds: .sheet.folded, or a wrapper with one (.parents-wrap, .folded-host). */
.sheet:has(+ .sheet.folded, + .parents-wrap, + .folded-host)::after { content:""; position:absolute; left:0; right:0; top:calc(100% - 2px);
  height:var(--under-fold, 160px); background:inherit; pointer-events:none; } /* -2px: covers the sheet's 1px inset light line */
.head { display:grid; gap:14px; max-width:680px; margin-bottom:var(--gap); }
.sheet h2 { font-size:2.05rem; line-height:1.06; text-wrap:balance; }
.head p { color:var(--ink-2); font-size:1.08rem; font-weight:350; max-width:52ch; }

/* Device: one shape everywhere (screens taken at 390 x 800) */
.device { position:relative; border-radius:46px; padding:11px; background:linear-gradient(150deg,#45305f 0%,#2a1a3e 45%,#1a0f2a 100%);
  box-shadow:inset 0 0 0 1px #ffffff17, inset 0 1.5px 0 #ffffff2e, var(--deep); }
.device::before { content:""; position:absolute; right:-3px; top:22%; width:3px; height:64px; border-radius:0 3px 3px 0; background:#3a2752; }
.device::after { content:""; position:absolute; left:-3px; top:17%; width:3px; height:38px; border-radius:3px 0 0 3px; background:#3a2752; box-shadow:0 52px 0 #3a2752; }
.device .screen { border-radius:36px; overflow:hidden; aspect-ratio:390 / 800; background:#fbf3ff; }
.device .screen img { width:100%; height:100%; object-fit:cover; object-position:top; }
.device.fade { -webkit-mask-image:linear-gradient(to bottom,#000 58%,transparent 94%); mask-image:linear-gradient(to bottom,#000 58%,transparent 94%); }

/* Hero */
.hero { position:relative; padding:20px 0 calc(64px + var(--sheet-r)); overflow:hidden; }
.hero-grid { display:grid; gap:24px; }
.hero h1 { font-size:2.5rem; line-height:1.02; letter-spacing:-.03em; max-width:15ch; text-wrap:balance; }
.lead { font-size:1.12rem; line-height:1.55; font-weight:350; color:var(--ink-2); margin-top:14px; max-width:38ch; }
.lead .l-long { display:none; }
.hero .btn { margin-top:22px; width:100%; }
.note { font-size:.92rem; color:var(--muted); margin-top:10px; }
.trust { display:none; list-style:none; padding:0; margin:24px 0 0; gap:8px 22px; flex-wrap:wrap; font-size:.94rem; color:var(--ink-2); }
.trust li { display:flex; align-items:center; gap:8px; }
.trust svg { flex:none; width:18px; height:18px; color:#1d7a59; }
.stage { position:relative; height:420px; max-width:420px; width:100%; margin:0 auto; }
.paper { position:absolute; left:2%; right:-3%; top:44px; bottom:-10px; background:var(--mint); border-radius:30px; transform:rotate(-2.5deg); }
.paper.folded { --f:56px; }
.paper-wrap { position:absolute; inset:0; filter:drop-shadow(0 18px 24px #2a1a3e1f); }
.stage .device { position:absolute; right:10%; top:0; width:min(60%,250px); }
/* build A: the Level 3 Plico (public/brand/plico-l3.svg, a 108 box with room around the art) */
.stage .plico { position:absolute; left:-4%; top:170px; width:44%; filter:drop-shadow(0 12px 14px #2a1a3e33); z-index:3; }

/* How it works: three stops on one trail */
.beats { list-style:none; margin:0; padding:0; display:grid; gap:56px; }
.beat { display:grid; gap:24px; position:relative; }
.beat-text { display:grid; grid-template-columns:52px 1fr; gap:4px 16px; align-items:start; }
.stop { grid-row:span 2; width:52px; height:52px; border-radius:50%; display:grid; place-items:center; background:var(--card); color:var(--accent); font-weight:600; font-size:1.4rem;
  box-shadow:0 0 0 6px var(--lilac), var(--lift); position:relative; z-index:1; }
.beat h3 { font-size:1.4rem; line-height:1.15; padding-top:10px; }
.beat p { color:var(--ink-2); }
.beat .device { width:min(74%,290px); margin:0 auto; }
.beats-wrap { position:relative; }
/* The dashed trail (João, 17 Nov 12:56: "the previous line looks better and it should lose opacity when is about to
   end, before the phone"): from dot to dot, then past dot 3 it fades to nothing and ends before the third phone. */
.beat-text { position:relative; }
.beat:not(:last-child)::before { content:""; position:absolute; left:25px; top:26px; bottom:-82px; border-left:2px dashed #b9a2e0; } /* to the next dot: 56 px gap + 26 px */
.beat:last-child .beat-text::after { content:""; position:absolute; left:25px; top:26px; bottom:-12px; border-left:2px dashed #b9a2e0;
  -webkit-mask-image:linear-gradient(to bottom,#000 0,#000 25%,transparent 100%); mask-image:linear-gradient(to bottom,#000 0,#000 25%,transparent 100%); }

/* Não percebi: the same idea, twice */
#como { padding-bottom:calc(var(--sec) * .55 + var(--sheet-r)); }
#como .device.fade { margin-bottom:-60px; }
.np { position:relative; }
.np .head { max-width:none; }
.np-stage { display:grid; gap:28px; margin-top:24px; }
.np-card { position:relative; margin:0; }
.np-card .lift { filter:drop-shadow(0 2px 2px #2a1a3e14) drop-shadow(0 22px 30px #4a2a7a33); }
.np-card .sheet-card { position:relative; background:var(--card); border-radius:28px; padding:22px 18px 18px; }
.np-card .sheet-card.folded { --f:44px; border-top-right-radius:0; }
.np-card .sheet-card img { border-radius:10px; }
.np-card .pose { position:absolute; top:-64px; left:-6px; width:96px; z-index:3; filter:drop-shadow(0 10px 12px #2a1a3e2e); }
.np-card figcaption { margin-top:14px; color:var(--muted); font-size:.95rem; padding-left:6px; }
.np-card.b { margin-left:18px; }
.np-card.a { margin-right:18px; margin-top:58px; }
.tap { justify-self:start; display:inline-flex; align-items:center; gap:10px; min-height:48px; padding:0 20px; border-radius:999px; background:#e9dcfb; color:var(--accent); font-weight:600; font-size:1.1rem; box-shadow:inset 0 0 0 2px var(--accent), var(--lift); } /* build A: the soft button's border, drawn inside so nothing moves */
.tap svg { width:20px; height:20px; transform:rotate(90deg); }

/* Coverage */
.nums { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; padding:24px 0; border-top:1px solid #c7e7d8; border-bottom:1px solid #c7e7d8; }
.num { display:block; font-size:2.3rem; line-height:1; font-weight:600; letter-spacing:-.03em; color:var(--teal); font-variant-numeric:tabular-nums; }
.nums span:last-child { display:block; margin-top:6px; font-size:.95rem; color:var(--ink-2); }
.cycles { list-style:none; margin:8px 0 0; padding:0; }
.cycles li { display:grid; gap:4px; padding:20px 0; border-bottom:1px solid #c7e7d8; }
.cycles b { font-family:"Fredoka",sans-serif; font-weight:600; font-size:1.25rem; color:var(--ink); letter-spacing:-.01em; }
.cycles b small { font-family:"Lexend",sans-serif; font-weight:400; font-size:.92rem; color:var(--muted); margin-left:8px; letter-spacing:0; }
.cycles span { color:var(--ink-2); }
.cov-foot { margin-top:20px; display:flex; flex-wrap:wrap; align-items:center; gap:4px 16px; color:var(--muted); font-size:.98rem; }

/* Parents: the one dark sheet */
.parents-wrap { position:relative; margin-top:calc(var(--sheet-r) * -1); filter:drop-shadow(0 -14px 22px #2a1a3e33); }
.parents-wrap .sheet { margin-top:0; box-shadow:none; }
.parents.folded { --f:96px; }
.parents.folded::before { background:linear-gradient(225deg, transparent 50%, #4c3570 50%, #5d4484 100%); filter:drop-shadow(-8px 8px 10px #00000055); }
.parents h2 { color:var(--on-plum); }
.parents .head p { color:var(--on-plum-2); }
.parents-grid { display:grid; gap:44px; align-items:center; }
.parents .device { width:min(70%,290px); margin:0 auto; background:linear-gradient(150deg,#5a4380 0%,#3a2752 50%,#22153a 100%); }
.ticks { list-style:none; padding:0; margin:0; display:grid; gap:16px; }
.ticks li { display:grid; grid-template-columns:28px 1fr; gap:12px; align-items:start; color:var(--on-plum); }
.ticks svg { width:28px; height:28px; color:var(--mint-deep); }
.ticks b { font-weight:600; }
.parents .more { color:var(--mint); margin-top:20px; }

/* Price */
.soon { display:flex; gap:12px; align-items:flex-start; padding:16px 18px; border-radius:20px; background:#fff1d1; color:#5a4310; font-size:1rem; max-width:680px; }
.soon svg { flex:none; width:24px; height:24px; margin-top:1px; color:#a5750f; }
.week { margin-top:16px; color:var(--ink-2); max-width:62ch; font-size:1.02rem; }
.week strong { color:var(--ink); font-weight:600; }
.plans { display:grid; gap:14px; margin-top:32px; }
/* build A (João, 17 Nov: plans "that can be tapped and lead to the right step"): each card is one link; the action
   sits on its own row at the bottom with a chevron, as in the approved sketch (section 2). */
.plan { position:relative; display:flex; flex-direction:column; background:var(--card); border:1px solid var(--line); border-radius:24px; color:var(--ink); text-decoration:none; box-shadow:var(--lift); overflow:hidden; transition:transform .16s ease-out, box-shadow .16s ease-out; }
.plan-top { display:flex; justify-content:space-between; align-items:baseline; gap:12px; padding:20px 22px 0; }
.plan h3 { font-size:1.3rem; }
.price { text-align:right; white-space:nowrap; color:var(--ink); }
.price b { font-size:1.7rem; font-weight:600; letter-spacing:-.02em; }
.price span { font-size:.9rem; color:var(--muted); }
.plan-line { color:var(--ink-2); font-size:.97rem; margin:6px 0 0; padding:0 22px 18px; text-wrap:balance; flex:1; } /* no lone word on a card line */
.plan-go { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:52px; padding:0 22px; border-top:1px solid var(--line); color:var(--accent); font-family:"Fredoka","Lexend",system-ui,sans-serif; font-weight:600; font-size:1.08rem; }
.plan-go svg { width:20px; height:20px; flex:none; }
.plan.free { background:#ecf9f3; border-color:#c7ecdc; }
.plan.free .plan-go { color:#17694b; border-color:#c7ecdc; }
@media (hover:hover) { .plan:hover { transform:translateY(-3px); box-shadow:0 1px 2px #2a1a3e14,0 16px 30px -14px #4a2a7a55; } }
.plan:focus-visible { outline:3px solid var(--accent); outline-offset:3px; border-radius:24px; }
.price-foot { margin-top:22px; color:var(--muted); font-size:.98rem; max-width:64ch; }

/* FAQ */
.faq-grid { display:grid; gap:28px; }
.faq-side p { color:var(--ink-2); margin-top:14px; }
.faq-side .more { margin-top:4px; }
.faq details { border-bottom:1px solid var(--line-2); }
.faq summary { list-style:none; cursor:pointer; display:flex; justify-content:space-between; align-items:center; gap:16px; min-height:64px; padding:14px 0; font-family:"Fredoka",sans-serif; font-weight:600; font-size:1.18rem; color:var(--ink); letter-spacing:-.01em; }
.faq summary::-webkit-details-marker { display:none; }
.faq summary::after { content:""; flex:none; width:11px; height:11px; border-right:2.5px solid var(--accent); border-bottom:2.5px solid var(--accent); transform:rotate(45deg) translate(-3px,-3px); transition:transform .2s ease-out; }
.faq details[open] summary::after { transform:rotate(-135deg) translate(-3px,-3px); }
.faq details p { padding:0 0 22px; color:var(--ink-2); max-width:60ch; }

/* Blog */
.posts { list-style:none; padding:0; margin:0; display:grid; gap:14px; }
.post { display:grid; grid-template-columns:88px 1fr; gap:16px; align-items:center; text-decoration:none; color:var(--ink); background:var(--card); border:1px solid var(--line); border-radius:22px; padding:12px; min-height:112px; box-shadow:var(--lift); transition:transform .2s ease-out; }
.post .thumb { width:88px; height:88px; border-radius:16px; background:#f3ecfc; display:grid; place-items:center; overflow:hidden; }
.post .thumb img { width:100%; height:100%; object-fit:cover; }
.post .thumb.svg img { width:80%; height:auto; object-fit:contain; }
.post b { display:block; font-weight:500; line-height:1.35; }
.post small { display:block; margin-top:6px; color:var(--muted); font-size:.9rem; }
@media (hover:hover) { .post:hover { transform:translateY(-3px); } }
.post:focus-visible { transform:translateY(-3px); }
.blog-more { margin-top:18px; }

/* Closing sheet */
.close { position:relative; margin-top:calc(var(--sheet-r) * -1); filter:drop-shadow(0 -14px 22px #2a1a3e1f); }
.close .sheet { margin-top:0; box-shadow:none; text-align:center; }
.close.folded-host .sheet { --f:88px; }
.close .amigos { width:min(100%,440px); margin:0 auto; }
.close h2 { font-size:2.3rem; line-height:1.04; margin-top:22px; color:var(--teal); }
.close .btn { margin-top:24px; width:100%; max-width:380px; }
.close .again { margin-top:8px; color:#22545c; }
.close .again a { display:inline-flex; align-items:center; min-height:44px; padding:0 6px; color:var(--teal); font-weight:600; }
.where { margin-top:6px; font-size:.94rem; color:#22545c; }

/* Footer */
.foot { position:relative; margin-top:calc(var(--sheet-r) * -1); border-radius:var(--sheet-r) var(--sheet-r) 0 0; background:var(--plum); color:var(--on-plum-2); padding:64px 0 calc(28px + env(safe-area-inset-bottom)); overflow:hidden; }
.foot::after { content:none; position:absolute; right:-80px; bottom:-120px; width:360px; height:360px; border-radius:60px; background:#ffffff08; transform:rotate(14deg); pointer-events:none; }
.foot-top { display:grid; gap:20px; padding-bottom:36px; border-bottom:1px solid #ffffff1f; }
.foot-logo { display:flex; align-items:center; gap:12px; }
.foot-logo img:first-child { width:56px; height:56px; border-radius:14px; }
.foot-logo img:last-child { height:28px; width:auto; }
.mail { justify-self:start; display:inline-flex; align-items:center; gap:10px; min-height:48px; padding:0 18px; border-radius:16px; background:#ffffff12; color:var(--on-plum); text-decoration:none; font-weight:500; }
.mail svg { width:20px; height:20px; color:var(--mint); }
.foot-cols { display:grid; grid-template-columns:1fr 1fr; gap:28px 20px; padding:32px 0; }
.foot h2 { font-family:"Lexend",sans-serif; font-size:.92rem; font-weight:600; color:var(--mint); margin:0 0 4px; letter-spacing:.01em; }
.foot nav a { display:flex; align-items:center; min-height:44px; color:var(--on-plum-2); text-decoration:none; }
@media (hover:hover) { .foot nav a:hover { color:var(--on-plum); text-decoration:underline; } }
.foot .col { grid-column:1 / -1; display:flex; flex-direction:column; align-items:flex-start; }
.foot .col .mail { margin-top:6px; } /* João, 18 Nov 19:01: the support email under «Apoio ao cliente» */
.foot .col p { color:var(--on-plum-2); }
.lre { display:inline-flex !important; align-items:center; border:1px solid #ffffff40; border-radius:12px; padding:10px 14px; margin-top:10px; min-height:44px; }
.lre img { width:121px; height:22px; }
.foot-base { display:flex; flex-wrap:wrap; align-items:center; gap:0 18px; padding-top:20px; border-top:1px solid #ffffff1f; font-size:.92rem; }
.foot-base a { display:inline-flex; align-items:center; min-height:44px; color:var(--on-plum-2); }

/* Load moment: one orchestrated entrance, hero only (from the first paint, no script needed) */
@media (prefers-reduced-motion: no-preference) {
  .stage .device { animation:rise .6s cubic-bezier(.2,.8,.2,1) both; }
  .stage .plico { animation:pop .5s cubic-bezier(.3,1.4,.5,1) .35s both; }
  @keyframes rise { from { opacity:0; transform:translateY(18px); } to { opacity:1; transform:none; } }
  @keyframes pop { from { opacity:0; transform:translateY(10px) scale(.92); } to { opacity:1; transform:none; } }
  @keyframes fade { from { opacity:0; transform:translateY(4px); } to { opacity:1; transform:none; } }
}
@media (prefers-reduced-motion: reduce) { * { animation:none !important; transition:none !important; } html { scroll-behavior:auto; } }
@media (forced-colors: active) { .btn, .tap, .mail, .lre { border:1px solid ButtonText; } }

/* 560 and up */
@media (min-width:560px) {
  :root { --gut:24px; }
  .hero .btn, .close .btn { width:auto; }
  .plans { grid-template-columns:1fr 1fr; }
  .lead .l-short { display:none; } .lead .l-long { display:inline; }
  .trust { display:flex; }
}
/* 720 and up: tablet gets its own layout */
@media (min-width:720px) {
  :root { --gut:32px; --sec:112px; --gap:44px; --sheet-r:48px; }
  .hero { padding:44px 0 calc(88px + var(--sheet-r)); }
  .hero-grid { grid-template-columns:1.05fr .95fr; align-items:center; gap:24px; }
  .hero h1 { font-size:3rem; }
  .stage { height:520px; max-width:none; }
  .stage .device { width:min(64%,290px); right:8%; }
  .paper { left:0; right:-4%; top:60px; bottom:10px; }
  .stage .plico { width:38%; top:auto; bottom:24px; left:-3%; }
  .sheet h2 { font-size:2.6rem; }
  .beats { grid-template-columns:repeat(3,1fr); grid-template-rows:auto auto; gap:0 24px; }
  .beat { grid-row:span 2; grid-template-rows:subgrid; gap:32px; }
  .beat .device { width:100%; max-width:290px; }
  .beat:not(:last-child)::before { left:26px; right:-50px; top:26px; bottom:auto; border-left:0; border-top:2px dashed #b9a2e0; } /* 24 px gap + 26 px */
  /* reader round 2: a short tail after dot 3, about as long as the phone's, gone well before the column ends */
  .beat:last-child .beat-text::after { left:26px; right:auto; width:110px; top:26px; bottom:auto; border-left:0; border-top:2px dashed #b9a2e0;
    -webkit-mask-image:linear-gradient(to right,#000 0,#000 35%,transparent 100%); mask-image:linear-gradient(to right,#000 0,#000 35%,transparent 100%); }
  .beat-text { grid-template-columns:1fr; gap:6px; align-content:start; }
  .stop { grid-row:auto; margin-bottom:14px; }
  .beat h3 { padding-top:0; }
  .np-stage { grid-template-columns:1fr auto 1fr; align-items:center; gap:24px; }
  .np-card.a { margin:0; }
  .np-card.b { margin:110px 0 0; }
  .tap { justify-self:center; }
  .tap svg { transform:none; }
  .nums { gap:24px; }
  .num { font-size:3.4rem; }
  .cycles li { grid-template-columns:220px 1fr; gap:24px; align-items:baseline; }
  .parents-grid { grid-template-columns:.85fr 1.15fr; gap:56px; }
  .parents-grid .device-col { order:-1; }
  .posts { grid-template-columns:repeat(3,1fr); }
  .post { grid-template-columns:1fr; align-content:start; padding:12px 12px 20px; }
  .post .thumb { width:100%; height:150px; }
  .post .thumb.svg img { width:auto; height:80%; }
  .post b, .post small { padding:0 8px; }
  .foot-top { grid-template-columns:1fr auto; align-items:end; }
  .foot-cols { grid-template-columns:repeat(3,1fr); }
  .foot::after { content:""; }
  .foot .col { grid-column:auto; }
}
/* 1024 and up */
@media (min-width:1024px) {
  :root { --sec:120px; --gap:56px; }
  .hero { padding:36px 0 calc(96px + var(--sheet-r)); }
  .hero-grid { grid-template-columns:1fr 480px; gap:32px; }
  .hero h1 { font-size:3.6rem; }
  .lead { font-size:1.25rem; }
  .stage { height:700px; }
  .stage .device { width:300px; right:40px; left:auto; top:8px; }
  .paper { left:30px; right:-24px; top:96px; bottom:20px; }
  .paper.folded { --f:84px; }
  .stage .plico { width:190px; left:-10px; bottom:50px; top:auto; }
  .sheet h2 { font-size:3.25rem; line-height:1.02; }
  .head p { font-size:1.2rem; }
  .np .head { justify-items:center; text-align:center; margin:0 auto var(--gap); max-width:900px; }
  .np-stage { max-width:1060px; margin:72px auto 0; }
  .np-card .pose { width:118px; top:-84px; left:-26px; }
  .np-stage { gap:36px; }
  .plans { grid-template-columns:repeat(4,1fr); }
  .plan-top { flex-direction:column; align-items:flex-start; gap:10px; padding:26px 24px 0; }
  .price { text-align:left; }
  .plan-line { padding:0 24px 20px; }
  .plan-go { padding:0 24px; }
  .faq-grid { grid-template-columns:.8fr 1.2fr; gap:72px; }
  .close .sheet { text-align:left; }
  .close-grid { display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:48px; }
  .close .amigos { order:2; width:100%; max-width:480px; }
  .close h2 { font-size:3.4rem; margin-top:0; }
  .np-card.b { margin-top:150px; }
}
/* 1280 and up */
@media (min-width:1280px) {
  .hero h1 { font-size:4.75rem; }
  .hero-grid { grid-template-columns:1fr 620px; gap:40px; }
  .stage { height:820px; }
  .stage .device { width:376px; right:96px; }
  .paper { left:36px; right:-10px; top:110px; bottom:24px; }
  .stage .plico { width:250px; bottom:60px; left:-20px; }
  .sheet h2 { font-size:3.5rem; }
}
