/* O Explica public pages (site-2, 19 Oct). Local fonts, no scripts needed to read anything, transform and opacity only. */
@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;
  --bg:#fff6fb; --card:#fff; --ink:#36244a; --muted:#6a587d; --line:#eadcf7; --primary:#7144b9; --soft:#f0e7fc;
  --mint:#c9f1e1; --mint-ink:#155a40; --pink:#ffd3e8; --sun:#fff2cf;
  --cta:linear-gradient(120deg,#ffb5d8,#ceb6f4 58%,#ade9d7); --cta-ink:#2b173f;
  --shadow:0 10px 30px #7144b914,0 2px 4px #7144b90a; --radius:26px;
}
* { box-sizing:border-box; }
[hidden] { display:none !important; } /* site-4 part 5: what site.js hides inside the Android app stays hidden */
/* site-4b (round 8b, R8S-L1/L3): /site/android-mode.js marks <html> before the first paint inside the Android app. */
.android [data-sales], .android a[href="/planos"], .android a[href^="/planos?"] { display:none !important; }
.android [data-web-only] { display:none !important; } /* site-4c: the "coming to the stores" note */
.app-only { display:none; }
.android .app-only { display:inline; }
html { scroll-behavior:smooth; scroll-padding-top:76px; }
/* 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(--bg); }
html.ends-dark { background-color:#2b173f; } /* the .foot colour */
/* João (7 Nov): no double-tap zoom on fast taps; two-finger pinch zoom stays (viewport keeps user scaling). */
html,a,button,input,select,textarea,label,summary,[role="button"],[role="tab"],[role="checkbox"],[role="radio"],[role="switch"],[role="option"],[role="menuitem"] { touch-action:manipulation; }
body {
  margin:0; color:var(--ink); font:16px/1.6 "Lexend",system-ui,-apple-system,"Segoe UI",sans-serif;
  background:var(--bg);
  background-image:radial-gradient(ellipse at 0% 0%,#ffe1f0,transparent 50%),radial-gradient(ellipse at 100% 15%,#e9ddff,transparent 50%),radial-gradient(ellipse at 20% 70%,#d6f5ea,transparent 45%);
  overflow-x:hidden;
}
h1,h2,h3,.eyebrow,.btn,.price b { font-family:"Fredoka","Lexend",system-ui,sans-serif; }
h1 { font-size:clamp(2.1rem,7vw,3.6rem); line-height:1.08; margin:.2em 0 .35em; font-weight:650; }
h2 { font-size:clamp(1.6rem,5vw,2.3rem); line-height:1.15; margin:.2em 0 .4em; font-weight:600; }
h3 { font-size:1.15rem; margin:.2em 0 .25em; font-weight:600; }
p { margin:.4em 0 .8em; }
a { color:var(--primary); text-underline-offset:.2em; }
a:focus-visible,summary:focus-visible { outline:3px solid var(--primary); outline-offset:3px; border-radius:6px; }
.skip, .skip-link { position:fixed; top:-100px; left:8px; z-index:50; padding:12px; background:var(--card); }
.skip:focus, .skip-link:focus { top:8px; }
.small { font-size:.85rem; color:var(--muted); }
.eyebrow { display:inline-block; font-weight:600; font-size:.95rem; color:var(--primary); background:var(--soft); padding:4px 12px; border-radius:999px; margin:0; }
.hl { background:linear-gradient(transparent 62%,#ffd3e8 62%); padding:0 .08em; }

/* 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 */

/* O2 (7 Nov): «Do blog» on the front page, with the blog's own cards (blog.css is not loaded here). */
.home-blog .blog-list { list-style:none; padding:0; margin:14px 0 10px; display:grid; gap:14px; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); }
.home-blog .blog-card { display:grid; grid-template-columns:72px 1fr; gap:12px; align-items:center; padding:12px; height:100%;
  background:var(--card); border:1px solid var(--line); border-radius:22px; text-decoration:none; color:var(--ink); box-shadow:var(--shadow); }
.home-blog .blog-card img { width:72px; height:72px; object-fit:cover; border-radius:16px; background:var(--soft); }
.home-blog .blog-card h3 { margin:0 0 4px; font-size:1.05rem; line-height:1.25; }
.home-blog .blog-card p { margin:0; color:var(--muted); font-size:.88rem; }

/* Buttons */
.ctas { display:flex; flex-wrap:wrap; gap:12px; margin:18px 0 8px; }
.ctas.center { justify-content:center; }
.btn, .button { display:inline-flex; align-items:center; justify-content:center; min-height:52px; padding:12px 24px; border-radius:18px;
  background:var(--cta); color:var(--cta-ink); font-weight:600; font-size:1.08rem; text-decoration:none; box-shadow:var(--shadow);
  transition:transform .15s ease; }
.btn:hover, .button.primary:hover { transform:translateY(-2px); }
.btn:active, .button:active { transform:translateY(1px); }
.btn.ghost, .button { background:var(--card); color:var(--primary); border:2px solid var(--primary); box-shadow:none; } /* build A: border in the label's purple */
.button.primary { background:var(--cta); color:var(--cta-ink); border-color:transparent; box-shadow:var(--shadow); }

/* Layout */
main { max-width:1120px; margin:0 auto; padding:0 16px; }
.sec { position:relative; max-width:720px; margin:0 auto; padding:56px 0; }
@media (min-width:1100px) { main.has-buddy { padding-right:280px; } .has-buddy .sec { margin:0; } }

/* Hero */
.hero { display:grid; gap:8px; padding-top:28px; max-width:none; }
.hero-plico { position:relative; justify-self:center; width:min(260px,70vw); order:-1; }
.hero-plico img { width:100%; height:auto; display:block; }
.hero-bubble { position:absolute; right:-6px; top:4px; }
.spark { position:absolute; color:#ceb6f4; font-size:22px; }
.s1 { left:4%; top:18%; } .s2 { right:8%; bottom:22%; color:#ffb5d8; font-size:16px; } .s3 { left:16%; bottom:8%; color:#ade9d7; font-size:12px; }
.lead { font-size:1.12rem; }
@media (min-width:760px) {
  .hero { grid-template-columns:1.25fr .9fr; align-items:center; padding-top:56px; }
  .hero-plico { order:0; width:100%; max-width:320px; }
}
@media (min-width:1100px) { .hero { grid-template-columns:1fr; max-width:680px; } .hero-plico { display:none; } }

/* Speech bubble */
.bubble { margin:0; background:var(--card); border:2px solid var(--ink); border-radius:18px; padding:8px 12px; font-family:"Fredoka",sans-serif;
  font-weight:500; font-size:.98rem; line-height:1.3; box-shadow:3px 3px 0 var(--ink); max-width:210px; }

/* Per-section Plico (phones and tablets) */
.sec-plico { display:block; width:112px; height:auto; margin:0 0 4px -6px; }
.sec-plico.big { width:160px; margin:0 auto; }
.duo-pics { display:flex; align-items:center; gap:6px; }
.duo-pics .sec-plico { width:96px; margin:0; }
.arrow { font-size:28px; color:var(--primary); font-weight:700; }

@media (min-width:1100px) { .sec-plico, .duo-pics, .duo-pics .sec-plico { display:none; } }

/* Desktop companion */
.buddy { display:none; }
@media (min-width:1100px) {
  .buddy { display:flex; flex-direction:column; align-items:center; gap:10px; position:fixed; right:max(24px,calc((100vw - 1120px)/2 + 24px)); top:30vh; width:240px; z-index:5; pointer-events:none; }
  .buddy img { width:220px; height:auto; animation:bob 3.2s ease-in-out 3; }  /* audit-fix-1 (LA-L31): three runs, then still */
  /* site-4d: the bubble never moves or fades; only its words change (site.js). */
  .buddy .bubble { align-self:flex-start; }
}

/* Cards */
.steps,.cards3 { display:grid; gap:14px; margin-top:18px; }
@media (min-width:640px) { .steps,.cards3 { grid-template-columns:repeat(3,1fr); } }
.step,.mini { background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:18px; box-shadow:var(--shadow); }
.step p,.mini p { margin:0; color:var(--muted); font-size:.95rem; }
.n { display:inline-grid; place-items:center; width:34px; height:34px; border-radius:12px; background:var(--mint); color:var(--mint-ink); font-weight:700; font-family:"Fredoka",sans-serif; }
.ico { font-size:28px; }
.chips { list-style:none; padding:0; display:flex; flex-wrap:wrap; gap:10px; margin:16px 0; }
.chips li { background:var(--card); border:2px solid var(--line); border-radius:16px; padding:10px 16px; font-family:"Fredoka",sans-serif; font-weight:600; font-size:1.05rem; }
.chips small { display:block; font-family:"Lexend",sans-serif; font-weight:400; font-size:.8rem; color:var(--muted); }
.more, .related-links a { display:inline-flex; align-items:center; gap:8px; min-height:48px; padding:10px 20px; border-radius:999px; background:var(--soft); color:var(--primary); font-weight:600; text-decoration:none; transition:transform .15s ease; }
.more::after, .related-links a::after { content:"→"; font-weight:700; }
.more:hover, .related-links a:hover { background:#e6d8fb; color:#5a2f9f; transform:translateY(-1px); }
.more:active, .related-links a:active { background:#dccbf7; transform:translateY(1px); }
.more:focus-visible, .related-links a:focus-visible { outline:3px solid var(--primary); outline-offset:3px; }
/* build A (João, 17 Nov 12:39: "this buttons need borders as well, all of them"): every soft (lilac) button carries a
   2 px border in its label's colour, the weight of the outlined buttons; drawn inside (inset) so nothing moves. */
.more, .related-links a { box-shadow:inset 0 0 0 2px currentColor; }
.more { display:flex; width:fit-content; margin:20px auto 0; }
.ticks { list-style:none; padding:0; margin:12px 0; display:grid; gap:10px; }
.ticks li { background:var(--card); border:1px solid var(--line); border-radius:18px; padding:12px 14px 12px 46px; position:relative; }
.ticks li::before { content:"✓"; position:absolute; left:14px; top:11px; width:22px; height:22px; border-radius:8px; background:var(--mint); color:var(--mint-ink); display:grid; place-items:center; font-weight:700; font-size:.85rem; }

/* Plans */
.plans { max-width:none; }
@media (min-width:1100px) { .plans { max-width:840px; } }
.plan-grid { display:grid; gap:14px; margin:18px 0; }
@media (min-width:560px) { .plan-grid { grid-template-columns:repeat(2,1fr); } }
@media (min-width:880px) and (max-width:1099px) { .plan-grid { grid-template-columns:repeat(4,1fr); } }
.plan { position:relative; background:var(--card); border:2px solid var(--line); border-radius:var(--radius); padding:20px 18px; box-shadow:var(--shadow); transition:transform .2s ease; }
.plan:hover { transform:translateY(-3px); }
.plan.star { border-color:#ceb6f4; background:linear-gradient(180deg,#fbf6ff,#fff); }
.ribbon { position:absolute; top:-13px; left:16px; margin:0; background:var(--cta); color:var(--cta-ink); font-size:.8rem; font-weight:600; padding:3px 12px; border-radius:999px; }
.price { margin:.3em 0 0; color:var(--muted); }
.price b { font-size:2rem; color:var(--ink); font-weight:650; }
.alt { margin:0 0 .6em; color:var(--muted); font-size:.92rem; }
.plan ul { padding-left:1.1em; margin:.4em 0 0; }
.plan li { margin:.2em 0; text-wrap:balance; } /* explorador second pass: no lone word in a card line */

/* site-4: /planos monthly or annual prices. A real radio group, CSS only; the radios sit before the cards. */
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
.plans-lead { text-align:center; margin:.6em 0 .2em; }
/* site-4g: while paid plans are closed (PAID_PLANS_OPEN in tools/build_site.py), one calm line at the top. */
.soon-banner { margin:10px 0 6px; padding:12px 16px; border-radius:18px; background:var(--sun); text-align:center; font-weight:600; }
.billing { position:relative; border:0; margin:0; padding:0; min-width:0; }
.period-input { position:absolute; top:12px; left:50%; width:1px; height:1px; margin:0; opacity:0; }
.period-switch { display:flex; justify-content:center; margin:12px 0 4px; }
.period-switch label { display:inline-flex; align-items:center; gap:8px; min-height:48px; padding:10px 20px; background:var(--soft); color:var(--primary);
  border:2px solid var(--primary); font-family:"Fredoka","Lexend",system-ui,sans-serif; font-weight:600; font-size:1.05rem; cursor:pointer; } /* build A: border in the label's purple */
.period-switch label:first-child { border-radius:999px 0 0 999px; }
.period-switch label:last-child { border-radius:0 999px 999px 0; }
.period-switch label:hover { background:#e6d8fb; }
/* site-4b (round 8b, R8S-L2): the chosen period is filled with the primary colour (white text about 6:1, about 5:1
   against the track), and a system outline marks it in forced-colours mode. */
#periodo-mensal:checked ~ .period-switch [for="periodo-mensal"],
#periodo-anual:checked ~ .period-switch [for="periodo-anual"] { background:var(--primary); color:#fff; border-color:var(--primary); box-shadow:var(--shadow); }
@media (forced-colors: active) {
  #periodo-mensal:checked ~ .period-switch [for="periodo-mensal"],
  #periodo-anual:checked ~ .period-switch [for="periodo-anual"] { outline:3px solid Highlight; }
}
/* site-4b (round 8b, R8S-I1): what «-20%» compares, in annual mode only; its line is kept so the cards never move. */
.period-note { margin:6px 0 0; text-align:center; font-size:.88rem; color:var(--muted); visibility:hidden; }
#periodo-anual:checked ~ .period-note { visibility:visible; }
#periodo-mensal:focus-visible ~ .period-switch [for="periodo-mensal"],
#periodo-anual:focus-visible ~ .period-switch [for="periodo-anual"] { outline:3px solid var(--primary); outline-offset:3px; position:relative; z-index:1; }
.save { display:inline-block; padding:1px 8px; border-radius:999px; background:var(--mint); color:var(--mint-ink); font-family:"Lexend",system-ui,sans-serif;
  font-weight:700; font-size:.85rem; line-height:1.5; vertical-align:middle; }
.price-box { display:grid; perspective:640px; }
.face { grid-area:1 / 1; backface-visibility:hidden; transition:transform .45s ease, opacity .3s ease, visibility .45s; }
.per-year { opacity:0; visibility:hidden; transform:rotateX(-90deg); }
#periodo-anual:checked ~ .plan-grid .per-month { opacity:0; visibility:hidden; transform:rotateX(90deg); }
#periodo-anual:checked ~ .plan-grid .per-year { opacity:1; visibility:visible; transform:none; }
/* Equal-height cards with the buttons on one line at the bottom; on a phone they stack at their own height. */
.plan { display:flex; flex-direction:column; }
.plan ul { margin-bottom:14px; }
.plan .small-btn { margin-top:auto; }
.plan.star .small-btn { border:2px solid transparent; }
@media (min-width:560px) { .plan-grid { grid-auto-rows:1fr; } }
.note { background:var(--sun); border-radius:var(--radius); padding:16px 18px; }
.note p { margin:0; font-size:.95rem; }
details { background:var(--card); border:1px solid var(--line); border-radius:18px; padding:4px 16px; margin:12px 0; }
summary { cursor:pointer; font-weight:600; min-height:48px; display:flex; align-items:center; }
.faq h2 { margin-bottom:.6em; }
.final { text-align:center; padding-bottom:72px; }

/* Footer */
.foot { background:#2b173f; color:#f1e9fb; padding:40px max(16px,env(safe-area-inset-left)) 24px; margin-top:24px; }
.foot a { color:#f1e9fb; text-decoration:none; }
.foot a:hover,.foot a:focus-visible { text-decoration:underline; }
.foot-in { max-width:1120px; margin:0 auto; display:grid; gap:28px; }
@media (min-width:760px) { .foot-in { grid-template-columns:1.4fr 1fr 1fr 1.2fr; } }
.foot-brand { display:flex; gap:12px; align-items:flex-start; }
.foot-brand img { width:56px; height:auto; flex-shrink:0; }
.foot-brand p { margin:0; color:#d9c9ee; font-size:.95rem; }
.foot-brand b { color:#fff; font-family:"Fredoka",sans-serif; font-size:1.2rem; }
.foot-col h2 { font-size:1rem; margin:0 0 8px; color:#fff; }
.foot-col a { display:flex; align-items:center; min-height:44px; color:#d9c9ee; }  /* audit-fix-1 (LA-L33): 44 px targets */
.foot-col p { margin:0 0 8px; color:#d9c9ee; font-size:.95rem; }
.foot .lre { display:inline-flex; padding:8px 10px; border:1px solid #ffffff33; border-radius:10px; min-height:44px; }
.foot .lre:hover { background:#ffffff14; }
.foot-base { max-width:1120px; margin:28px auto 0; padding-top:16px; border-top:1px solid #ffffff22; font-size:.85rem; color:#bfaedb; }
.foot-base a { text-decoration:underline; }

/* Years: tap a cycle to see its subjects */
.years { display:grid; gap:10px; margin:16px 0 8px; }
@media (min-width:640px) { .years { grid-template-columns:repeat(2,1fr); align-items:start; } }
.year { background:var(--card); border:2px solid var(--line); border-radius:20px; padding:0 16px; margin:0; box-shadow:var(--shadow); }
.year[open] { border-color:#ceb6f4; }
.year summary { list-style:none; display:grid; grid-template-columns:1fr auto; grid-template-rows:auto auto; column-gap:12px; padding:12px 0; min-height:64px; }
.year summary::-webkit-details-marker { display:none; }
.y-name { font-family:"Fredoka",sans-serif; font-weight:600; font-size:1.15rem; }
.y-span { grid-row:2; color:var(--muted); font-size:.88rem; font-weight:400; }
.chev { grid-row:1 / span 2; grid-column:2; align-self:center; width:32px; height:32px; border-radius:12px; background:var(--soft); position:relative; }
.chev::before { content:""; position:absolute; left:11px; top:9px; width:8px; height:8px; border-right:2.5px solid var(--primary); border-bottom:2.5px solid var(--primary); transform:rotate(45deg); transition:transform .2s; }
.year[open] .chev::before { transform:translate(0,4px) rotate(225deg); }
.subj { list-style:none; padding:0 0 14px; margin:0; display:flex; flex-wrap:wrap; gap:6px; }
.subj li { background:var(--soft); color:var(--ink); border-radius:999px; padding:4px 12px; font-size:.9rem; }
.subj small { color:var(--muted); }

/* site-4c/4d: "coming to the stores" card at the end of the front page, centred; two store-style pills with our own
   neutral glyphs (no store badges or logos until the listings exist). */
.sec.stores { padding:0 0 40px; text-align:center; }
.stores-card { max-width:560px; margin:0 auto; background:var(--card); border:1px solid var(--line); border-radius:var(--radius);
  padding:16px 18px; box-shadow:var(--shadow); }
.stores-title { margin:0 0 4px; font-family:"Fredoka","Lexend",system-ui,sans-serif; font-weight:600; font-size:1.08rem; }
.stores-card .small { margin:0; }
.store-pills { list-style:none; padding:0; margin:12px 0; display:flex; flex-wrap:wrap; justify-content:center; gap:10px; }
.store-pill { display:inline-flex; align-items:center; gap:10px; min-height:48px; padding:8px 18px 8px 12px; border-radius:14px;
  background:var(--ink); color:#fff; text-align:left; }
.store-pill b { display:block; font-family:"Fredoka","Lexend",system-ui,sans-serif; font-weight:600; font-size:1.02rem; line-height:1.2; }
.store-pill small { display:block; font-size:.8rem; line-height:1.2; color:#e6dcf5; }
.store-glyph { flex-shrink:0; }

/* Teaser, plans page bits */
.teaser { text-align:left; }
.h1-sm { font-size:clamp(1.9rem,6vw,2.8rem); }
.h3 { font-size:1.15rem; margin:.2em 0 .25em; font-weight:600; font-family:"Fredoka",sans-serif; }
.small-btn { min-height:48px; padding:10px 16px; font-size:1rem; margin-top:14px; width:100%; }

/* Motion: transform and opacity only; nothing moves with reduced motion. */
.hero .pop, .js .sec .pop { opacity:0; transform:scale(.6) rotate(-6deg); }
.in .pop, .hero .pop { animation:popin .55s cubic-bezier(.2,1.4,.4,1) forwards; }
.in .pop.late { animation-delay:.35s; }
.wave { animation:popin .6s cubic-bezier(.2,1.4,.4,1) forwards, bob 3.2s ease-in-out .6s 3 !important; }
.spark { animation:twinkle 2.4s ease-in-out 3; }
.s2 { animation-delay:.8s; } .s3 { animation-delay:1.4s; }
@keyframes popin { to { opacity:1; transform:none; } }
@keyframes bob { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-8px); } }
@keyframes twinkle { 0%,100% { opacity:.3; transform:scale(.8); } 50% { opacity:1; transform:scale(1.15); } }
@media (prefers-reduced-motion:reduce) {
  .chev::before { transition:none; }
  html { scroll-behavior:auto; }
  .hero .pop, .js .sec .pop, .pop { opacity:1; transform:none; }
  .pop,.wave,.spark,.buddy img { animation:none !important; }
  .btn,.button,.plan,.buddy .bubble,.face { transition:none; }
  .btn:hover,.button:hover,.plan:hover,.more:hover,.related-links a:hover,.more:active,.related-links a:active { transform:none; }
  .more,.related-links a { transition:none; }
}

/* Text pages (seguranca, anos e disciplinas, apoio ao estudo) and tables from the approved copy. */
.doc { max-width:760px; padding-top:12px; padding-bottom:24px; }
.doc section { padding-block:28px; } /* build A: no divider between sections (decorative rules are banned) */
/* site-4f: the legal texts as site pages (version line, table of contents, headings, lists, tables). */
.legal { padding-block:12px 28px; }
.legal h1 { font-size:clamp(1.8rem,5.5vw,2.5rem); }
.legal h2 { font-size:1.35rem; margin:1.4em 0 .4em; }
.legal h3 { margin-top:1.1em; }
.legal ul { padding-left:1.2em; }
.legal li { margin:.25em 0; }
.legal code { padding:0 4px; border-radius:6px; background:var(--soft); font-size:.9em; overflow-wrap:anywhere; }
.legal hr { border:0; border-top:1px solid var(--line); margin:24px 0; }
.toc { margin:16px 0 8px; padding:12px 18px; background:var(--card); border:1px solid var(--line); border-radius:18px; }
.toc h2 { margin:.2em 0 .3em; font-size:1.1rem; }
.toc ul { list-style:none; margin:0; padding:0; }
.toc li { margin:0; padding:5px 0; border-top:1px solid var(--line); }
.toc li:first-child { border-top:0; }
/* site-4e: questions and long details open on tap (+ / −); /seguranca starts with a chat picture and six cards. */
.doc details > summary::after { content:"+"; margin-left:auto; padding-left:12px; color:var(--primary); font-weight:700; font-size:1.2rem; }
.doc details[open] > summary::after { content:"−"; }
.doc .detail-section { padding-block:4px; border-bottom:0; }
.detail { margin:8px 0; }
.detail > summary h2 { margin:0; font-size:1.15rem; }
.glance h2 { margin-bottom:.5em; }
.chat-mock { margin:8px 0 20px; }
.chat-phone { max-width:270px; margin:0 auto; background:var(--card); border:2px solid var(--line); border-radius:28px; padding:12px;
  box-shadow:var(--shadow); }
.chat-head { margin:0; padding:2px 6px 8px; border-bottom:1px solid var(--line); font-family:"Fredoka","Lexend",system-ui,sans-serif; font-weight:600; }
.chat-msgs { display:grid; gap:6px; padding:10px 2px; }
.msg { margin:0; padding:6px 10px; border-radius:14px; font-size:.9rem; line-height:1.3; max-width:85%; }
.msg.in { justify-self:start; background:var(--soft); }
.msg.out { justify-self:end; background:var(--mint); color:var(--mint-ink); }
.msg.emoji { background:none; padding:0 4px; font-size:1.4rem; }
.chat-picker { display:flex; flex-wrap:wrap; gap:6px; padding-top:8px; border-top:1px solid var(--line); }
.chip { padding:4px 9px; border-radius:999px; background:var(--soft); color:var(--primary); font-size:.8rem; font-weight:600; }
.emo { font-size:1.1rem; }
.chat-mock figcaption { margin-top:10px; text-align:center; color:var(--muted); font-size:.92rem; }
/* 20261125a round 3c: the friends area as one card (it replaced the chat picture, .chat-* above) */
.friends-now { max-width:420px; margin:8px auto 20px; background:var(--card); border:2px solid var(--line); border-radius:20px;
  padding:14px 16px; box-shadow:var(--shadow); }
.friends-head { margin:0 0 6px; font-family:"Fredoka","Lexend",system-ui,sans-serif; font-weight:600; }
.friends-now ul { margin:0; padding-left:1.2em; display:grid; gap:6px; color:var(--muted); font-size:.95rem; line-height:1.35; }
.safety-cards { list-style:none; padding:0; margin:0; display:grid; gap:12px; }
@media (min-width:560px) { .safety-cards { grid-template-columns:repeat(2,1fr); } }
.safety-card { display:grid; grid-template-columns:32px 1fr; grid-template-rows:auto 1fr auto; column-gap:10px; row-gap:2px;
  padding:14px 16px 6px; background:var(--card); border:1px solid var(--line); border-radius:18px; }
.safety-card .ico { grid-row:1 / span 3; font-size:24px; line-height:1.2; }
.safety-card h3 { margin:0; font-size:1.02rem; }
.safety-card p { margin:0; color:var(--muted); font-size:.95rem; }
.safety-card a { justify-self:start; display:inline-flex; align-items:center; min-height:44px; font-weight:600; }
.intro > p:first-of-type { font-size:1.12rem; }
.doc p { max-width:70ch; }
.actions { display:grid; gap:12px; margin-top:20px; }
.actions .button { width:100%; }
.related-links { display:flex; flex-wrap:wrap; justify-content:center; gap:12px; margin-top:16px; }
/* site-4: the heading right above a centred row of soft buttons, and the closing call to action, centred on every page. */
.links-head { text-align:center; }
.doc-cta { text-align:center; }
.doc-cta .ctas, .doc-cta .actions { display:flex; flex-wrap:wrap; justify-content:center; gap:12px; margin:20px 0 4px; }
.doc-cta .actions .button { width:auto; min-width:10rem; }
.fine p { font-size:.92rem; color:var(--muted); }
.faq details p { margin:0 0 .8em; }
.faq .related-links { margin:0 0 8px; }
.sec table, .doc table { width:100%; border-collapse:collapse; margin-block:18px; font-size:.95rem; }
thead {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  overflow:hidden;
  clip-path:inset(50%);
  white-space:nowrap;
}
tbody, tr, td, th { display: block; text-align: left; }
tbody { display: grid; gap: 12px; }
tr { border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; background: var(--card); }
th { font-weight: 650; }
td { padding-top: .5rem; }
td::before { content: attr(data-label); display: block; font-size: .9rem; font-weight: 600; color: var(--muted); }
@media (min-width: 560px) {
  .actions { display: flex; flex-wrap: wrap; }
  .actions .button { width: auto; min-width: 10rem; }
}
@media (min-width: 880px) {
  thead { position: static; display: table-header-group; width: auto; height: auto; overflow: visible; clip-path: none; white-space: normal; }
  tbody { display: table-row-group; }
  tr { display: table-row; border-radius: 0; padding: 0; border: 0; background: transparent; }
  td, th { display: table-cell; padding: 12px 14px; border: 1px solid var(--line); vertical-align: top; background: var(--card); }
  td, th { overflow-wrap: break-word; }
  th[scope="row"] { white-space: nowrap; }
  thead th { background: var(--soft); }
  td::before { display: none; }
}
@media (min-width: 1280px) {
  .doc section { padding-block: 36px; }
}
