/* =========================================================
   KINDNESS ATLAS™ · ATLAS DA BONDADE — styles.css
   Mobile first · HTML + CSS + JS puro
   ========================================================= */

:root {
  --blue: #2563EB;
  --blue-600: #1D4ED8;
  --blue-50: #EFF6FF;
  --blue-100: #DBEAFE;
  --green: #10B981;
  --green-600: #059669;
  --green-50: #ECFDF5;
  --gold: #FBBF24;
  --gold-50: #FFFBEB;
  --gold-700: #B45309;
  --rose: #F43F5E;
  --bg: #F8FAFC;
  --white: #FFFFFF;
  --ink: #0F172A;
  --body: #334155;
  --muted: #475569;
  --line: #E2E8F0;
  --night: #0A1428;
  --night-2: #111C33;

  --f-head: 'Poppins', system-ui, sans-serif;
  --f-body: 'Inter', system-ui, sans-serif;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-2xl: 40px;

  --sh-sm: 0 1px 2px rgba(15, 23, 42, .04), 0 2px 8px rgba(15, 23, 42, .04);
  --sh-md: 0 2px 4px rgba(15, 23, 42, .03), 0 12px 32px -8px rgba(15, 23, 42, .10);
  --sh-lg: 0 4px 8px rgba(15, 23, 42, .03), 0 32px 64px -16px rgba(15, 23, 42, .18);
  --sh-blue: 0 12px 32px -10px rgba(37, 99, 235, .55);

  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --container: 1240px;
  --header-h: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
section[id], main[id] { scroll-margin-top: calc(var(--header-h) + 8px); }

/* ---------- Utilidades ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; position: relative; }
.i { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.i--blue { color: var(--blue); }
.flag { width: 22px; height: 16px; flex: none; border-radius: 3px; display: inline-block; vertical-align: -3px; box-shadow: 0 0 0 1px rgba(15,23,42,.06); }
.flag--lg { width: 34px; height: 24px; border-radius: 5px; }
.muted { color: var(--muted); }
.lead { font-size: 1.125rem; line-height: 1.7; color: var(--body); }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.row-between.wrap { flex-wrap: wrap; }

.overline {
  font-family: var(--f-body);
  font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 16px;
}
.overline--light { color: var(--gold); }
.h2 {
  font-family: var(--f-head); color: var(--ink);
  font-size: clamp(1.85rem, 4.6vw, 3rem); line-height: 1.12; font-weight: 700; letter-spacing: -.03em;
}
.h3 {
  font-family: var(--f-head); color: var(--ink);
  font-size: clamp(1.25rem, 2.4vw, 1.7rem); line-height: 1.25; font-weight: 600; letter-spacing: -.02em;
}
.grad-text {
  background: linear-gradient(100deg, var(--blue) 0%, var(--green) 60%, #34D399 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sec-head { margin-bottom: 48px; max-width: 760px; }
.h2 + .muted, .h2 + .lead { margin-top: 18px; }
.sec-head--split { max-width: none; display: grid; gap: 16px; align-items: end; }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.tags > span {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px;
  border-radius: 999px; background: var(--white); border: 1px solid var(--line);
  font-size: .875rem; font-weight: 600; color: var(--ink);
}
.tags .i { color: var(--rose); }

/* Ícones em pílulas coloridas */
.ic--blue { background: var(--blue-50); color: var(--blue); }
.ic--green { background: var(--green-50); color: var(--green-600); }
.ic--gold { background: var(--gold-50); color: var(--gold-700); }
.ic--rose { background: #FFF1F2; color: #E11D48; }

/* ---------- Botões ---------- */
.btn {
  --bx: 0px; --by: 0px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-family: var(--f-head); font-weight: 600; font-size: .95rem; letter-spacing: -.005em;
  white-space: nowrap; position: relative; isolation: isolate;
  transform: translate(var(--bx), var(--by));
  transition: transform .35s var(--ease), background-color .25s ease, box-shadow .3s ease, color .25s ease, border-color .25s ease;
}
.btn .i { transition: transform .35s var(--ease); }
.btn:hover .i:last-child { transform: translateX(3px); }
.btn:active { transform: translate(var(--bx), var(--by)) scale(.97); }
.btn:disabled { opacity: .7; cursor: progress; }
.btn.is-loading .i { animation: spinArrow .8s linear infinite; }
@keyframes spinArrow { to { transform: rotate(360deg); } }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .875rem; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: var(--sh-blue); }
.btn--primary:hover { background: var(--blue-600); box-shadow: 0 18px 40px -12px rgba(37, 99, 235, .65); }
.btn--ghost { background: var(--white); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--sh-sm); }
.btn--ghost:hover { border-color: #CBD5E1; box-shadow: var(--sh-md); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #1E293B; }
.btn--gold { background: var(--gold); color: var(--ink); box-shadow: 0 12px 30px -12px rgba(251, 191, 36, .8); }
.btn--gold:hover { background: #F59E0B; }
.btn--white { background: #fff; color: var(--blue-600); }
.btn--white:hover { box-shadow: 0 18px 40px -12px rgba(0,0,0,.35); }
.btn--outline-white { color: #fff; border: 1.5px solid rgba(255,255,255,.55); }
.btn--outline-white:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn--text { min-height: 40px; padding: 0; color: var(--blue); font-size: .925rem; }
.btn--text:hover { color: var(--blue-600); }

/* ---------- Barra de progresso ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--blue), var(--green), var(--gold)); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  background: rgba(248, 250, 252, .78);
  -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease, background-color .3s ease;
}
.header.is-scrolled { border-bottom-color: rgba(226, 232, 240, .9); box-shadow: 0 8px 30px -18px rgba(15,23,42,.25); background: rgba(255,255,255,.85); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { width: 38px; height: 38px; flex: none; transition: transform .6s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.05); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { font-family: var(--f-head); font-weight: 700; font-size: 1rem; color: var(--ink); letter-spacing: -.02em; white-space: nowrap; }
.brand__text small { font-size: .72rem; color: var(--muted); font-weight: 500; }
.nav { display: none; gap: 4px; }
.nav a { padding: 8px 14px; border-radius: 999px; font-size: .9rem; font-weight: 500; color: var(--body); transition: background-color .2s ease, color .2s ease; }
.nav a:hover { background: rgba(37, 99, 235, .08); color: var(--blue); }
.header__actions { display: flex; align-items: center; gap: 8px; }
.header__cta { display: none; }
.lang { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); }
.lang__btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 999px; font-size: .75rem; font-weight: 700; color: var(--muted); transition: background-color .25s ease, color .25s ease; }
.lang__btn .flag { width: 18px; height: 13px; }
.lang__btn.is-active { background: var(--ink); color: #fff; }
.menu-btn { width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; background: var(--white); border: 1px solid var(--line); color: var(--ink); }
.menu-btn .i { width: 20px; height: 20px; }
.mobile-nav {
  position: absolute; top: calc(var(--header-h) - 4px); left: 12px; right: 12px;
  display: grid; gap: 4px; padding: 12px; border-radius: var(--r-lg);
  background: rgba(255,255,255,.97); border: 1px solid var(--line); box-shadow: var(--sh-lg);
  opacity: 0; transform: translateY(-8px) scale(.98); pointer-events: none; visibility: hidden;
  transition: opacity .3s ease, transform .35s var(--ease), visibility .3s;
}
.mobile-nav.is-open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
.mobile-nav a { padding: 14px 16px; border-radius: 14px; font-weight: 600; color: var(--ink); }
.mobile-nav a:hover { background: var(--blue-50); }
.mobile-nav .btn { margin-top: 6px; }

/* ---------- HERO ---------- */
.hero { position: relative; padding: calc(var(--header-h) + 40px) 0 72px; overflow: hidden; min-height: 100svh; display: flex; align-items: center; }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.orb--blue { width: 520px; height: 520px; background: #BFDBFE; top: -160px; right: -120px; }
.orb--green { width: 420px; height: 420px; background: #A7F3D0; bottom: -160px; left: -140px; animation-delay: -6s; }
.orb--gold { width: 260px; height: 260px; background: #FDE68A; top: 38%; right: 30%; opacity: .4; animation-delay: -12s; }
.hero__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(15,23,42,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(15,23,42,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
}
.hero__inner { display: grid; gap: 56px; align-items: center; }
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px;
  border-radius: 999px; background: rgba(255,255,255,.8); border: 1px solid var(--line); box-shadow: var(--sh-sm);
  font-size: .8rem; font-weight: 600; color: var(--ink); margin-bottom: 28px;
}
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); position: relative; flex: none; }
.dot-live::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--blue); animation: ping 2s var(--ease) infinite; }
.dot-live--g { background: var(--green); }
.dot-live--g::after { border-color: var(--green); }
.hero__title {
  font-family: var(--f-head); color: var(--ink); font-weight: 700;
  font-size: clamp(2.5rem, 10vw, 5.1rem); line-height: 1.02; letter-spacing: -.045em;
}
.line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.line > span { display: inline-block; transform: translateY(110%); animation: lineUp 1.15s var(--ease-out) var(--d, 0s) forwards; }
.hero__sub { margin-top: 26px; max-width: 520px; font-size: clamp(1.05rem, 2.2vw, 1.22rem); line-height: 1.65; color: var(--body); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__ctas .btn { flex: 1 1 220px; }
.hero__verbs { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 36px; }
.hero__verbs li { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; color: var(--ink); }
.hero__verbs .i { color: var(--green-600); }
.load-fade { opacity: 0; transform: translateY(14px); animation: fadeUp .9s var(--ease-out) var(--d, 0s) forwards; }

/* Mockup */
.hero__visual { position: relative; display: grid; place-items: center; padding: 20px 0; }
.halo { position: absolute; width: min(460px, 90vw); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(37,99,235,.22), rgba(16,185,129,.14) 45%, transparent 70%); filter: blur(10px); }
.phone-stage { --rx: 6deg; --ry: -14deg; position: relative; perspective: 1400px; }
.phone {
  position: relative; width: min(290px, 72vw); aspect-ratio: 9 / 19; border-radius: 48px; padding: 10px;
  background: linear-gradient(145deg, #1E293B, #0F172A 60%);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.12), 0 50px 80px -30px rgba(15,23,42,.55), 0 30px 40px -30px rgba(37,99,235,.5);
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d;
  transition: transform .8s var(--ease-out);
  animation: phoneIn 1.4s var(--ease-out) .3s both;
}
.phone__island { position: absolute; top: 20px; left: 50%; width: 86px; height: 24px; margin-left: -43px; border-radius: 20px; background: #000; z-index: 3; }
.phone__screen { height: 100%; border-radius: 39px; overflow: hidden; background: linear-gradient(180deg, #FFFFFF 0%, var(--bg) 40%); padding: 44px 13px 12px; display: flex; flex-direction: column; gap: 9px; position: relative; }
.ps-status { position: absolute; top: 18px; left: 26px; right: 24px; display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; color: var(--ink); }
.ps-status__icons { display: flex; gap: 3px; align-items: center; }
.ps-status__icons i { width: 12px; height: 8px; border-radius: 2px; background: var(--ink); }
.ps-status__icons i:nth-child(1) { width: 4px; height: 8px; } .ps-status__icons i:nth-child(2) { width: 8px; }
.ps-head { display: flex; justify-content: space-between; align-items: center; padding: 6px 4px 2px; }
.ps-head small { display: block; font-size: 12px; color: var(--muted); }
.ps-head strong { font-family: var(--f-head); font-size: 17px; color: var(--ink); letter-spacing: -.02em; }
.ps-logo { width: 30px; height: 30px; }
.ps-card { background: #fff; border-radius: 18px; padding: 12px; box-shadow: var(--sh-sm); border: 1px solid #EEF2F7; }
.ps-card p { font-family: var(--f-head); font-size: 13px; font-weight: 600; line-height: 1.35; color: var(--ink); }
.ps-card small { font-size: 12px; color: var(--muted); font-weight: 500; }
.ps-card--news { background: linear-gradient(160deg, #FFFBEB, #fff 70%); }
.ps-card--news p { margin: 8px 0 10px; }
.ps-reacts { display: flex; gap: 4px; }
.ps-reacts span { width: 26px; height: 26px; display: grid; place-items: center; font-size: 13px; border-radius: 50%; background: #fff; border: 1px solid #EEF2F7; }
.ps-card--mission, .ps-card--map { display: flex; gap: 10px; align-items: center; }
.ps-check { width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; flex: none; }
.ps-check .i { width: 16px; height: 16px; stroke-width: 3; }
.ps-card--map p { display: flex; align-items: center; gap: 6px; }
.ps-globe { width: 38px; height: 38px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, var(--blue-100)); border: 1px solid #BFDBFE; position: relative; flex: none; overflow: hidden; }
.ps-globe::before, .ps-globe::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid #93C5FD; transform: scaleX(.45); animation: spinX 4s linear infinite; }
.ps-globe::after { transform: scaleY(.4); animation: none; }
.ps-globe span { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); left: 56%; top: 52%; box-shadow: 0 0 0 4px rgba(37,99,235,.2); }
.ps-card--quote small { display: flex; align-items: center; gap: 6px; }
.ps-card--quote .flag { width: 16px; height: 12px; }
.ps-card--quote p { margin-top: 6px; }
.ps-tabbar { margin-top: auto; display: flex; justify-content: space-around; padding: 10px 6px 4px; border-top: 1px solid #EEF2F7; }
.ps-tabbar i { width: 20px; height: 20px; border-radius: 7px; background: #E2E8F0; }
.ps-tabbar i.on { background: var(--blue); }

.glass { background: rgba(255,255,255,.78); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%); border: 1px solid rgba(255,255,255,.7); box-shadow: var(--sh-md); }
.float { position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 18px; will-change: transform; animation: bob 6s ease-in-out infinite; }
.float strong { display: block; font-family: var(--f-head); font-size: .8rem; color: var(--ink); line-height: 1.2; }
.float small { display: block; font-size: .72rem; color: var(--muted); line-height: 1.3; }
.float__emoji { font-size: 1.2rem; }
.float--a { left: -14%; top: 22%; max-width: 190px; }
.float--b { right: -16%; top: 52%; animation-delay: -2s; }
.float--c { left: -4%; bottom: 8%; animation-delay: -4s; }
.float { transform: translate3d(var(--px, 0px), var(--py, 0px), 0); }

.scroll-cue { position: absolute; left: 50%; bottom: 22px; width: 26px; height: 42px; margin-left: -13px; border-radius: 20px; border: 1.5px solid #CBD5E1; display: none; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--blue); animation: cue 1.8s var(--ease) infinite; }

/* ---------- MISSÃO ---------- */
.mission { padding-top: 104px; }
.mission__quote {
  font-family: var(--f-head); font-weight: 600; color: var(--ink);
  font-size: clamp(1.75rem, 5.4vw, 4.1rem); line-height: 1.14; letter-spacing: -.035em; max-width: 1100px;
}
.mission__quote .w { transition: color .4s ease; }
.mission__body { display: grid; gap: 48px; margin-top: 56px; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pillar { padding: 22px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--sh-sm); transition: transform .4s var(--ease), box-shadow .4s ease; }
.pillar:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.pillar__ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; }
.pillar__ic .i { width: 22px; height: 22px; }
.pillar h3 { font-family: var(--f-head); font-size: 1.05rem; color: var(--ink); margin-bottom: 4px; }
.pillar p { font-size: .9rem; color: var(--muted); line-height: 1.5; }

/* ---------- MARQUEE ---------- */
.marquee { overflow: hidden; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); user-select: none; }
.marquee__track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 36px; padding-right: 36px; }
.marquee span { font-family: var(--f-head); font-weight: 700; font-size: clamp(2.6rem, 8vw, 6.5rem); letter-spacing: -.04em; line-height: 1; color: var(--ink); white-space: nowrap; }
.marquee span.o { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.marquee i { font-style: normal; color: var(--gold); font-size: clamp(1.5rem, 4vw, 3rem); }

/* ---------- Cards base ---------- */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--sh-sm); position: relative; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s ease, border-color .3s ease; }
.card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .02em; }
.chip .i { width: 14px; height: 14px; }
.chip--gold { background: #FEF3C7; color: #92400E; }
.chip--green { background: rgba(16,185,129,.15); color: #6EE7B7; }
.chip--premium { background: linear-gradient(135deg, #FDE68A, var(--gold)); color: #78350F; }
.meta { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--muted); }
.meta--light { color: #CBD5E1; }

/* ---------- HOJE (bento) ---------- */
.bento-today { display: grid; gap: 20px; }
.news-card { display: flex; flex-direction: column; }
.news-card__art { aspect-ratio: 16 / 8; overflow: hidden; background: #FFF8E7; }
.news-card__art svg { width: 100%; height: 100%; transition: transform 1.2s var(--ease-out); }
.news-card:hover .news-card__art svg { transform: scale(1.04); }
.news-card__body { padding: 26px; display: grid; gap: 16px; }
.mini-reacts { display: flex; }
.mini-reacts span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 2px solid var(--white); box-shadow: var(--sh-sm); margin-left: -6px; font-size: .95rem; }
.mini-reacts span:first-child { margin-left: 0; }
.pulse-line { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 3.2s var(--ease) infinite; }

.premium-fact { background: var(--night); color: #F8FAFC; border-color: #1E293B; padding: 28px; display: flex; flex-direction: column; gap: 18px; min-height: 380px; }
.premium-fact::before { content: ""; position: absolute; width: 340px; height: 340px; right: -120px; top: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(251,191,36,.35), transparent 65%); }
.premium-fact::after { content: ""; position: absolute; width: 300px; height: 300px; left: -120px; bottom: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(37,99,235,.45), transparent 65%); }
.premium-fact > * { position: relative; z-index: 1; }
.premium-fact .overline { margin: 18px 0 0; }
.premium-fact__text { font-family: var(--f-head); font-weight: 600; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.25; letter-spacing: -.02em; color: #fff; }
.premium-fact__foot { margin-top: auto; display: flex; gap: 10px; align-items: center; font-size: .9rem; color: #CBD5E1; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); }
.premium-fact__foot .i { color: var(--gold); }
.premium-fact__shine { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.10) 50%, transparent 65%); transform: translateX(-100%); animation: shine 6s ease-in-out infinite 1.5s; }

/* ---------- COMUNIDADE ---------- */
.quotes { display: grid; gap: 20px; }
.quote-card { margin: 0; padding: 32px; display: flex; flex-direction: column; gap: 20px; min-height: 300px; }
.quote-card__mark { position: absolute; right: 28px; top: 28px; width: 64px; height: 64px; fill: var(--blue-50); stroke: none; }
.quote-card--jp { background: linear-gradient(160deg, #fff 60%, #FFF1F2); }
.quote-card--jp::after { content: ""; position: absolute; right: -50px; top: -50px; width: 180px; height: 180px; border-radius: 50%; background: rgba(220, 38, 38, .07); }
.quote-card__country { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); font-size: .95rem; position: relative; z-index: 1; }
.quote-card blockquote { font-family: var(--f-head); font-weight: 600; color: var(--ink); font-size: clamp(1.5rem, 3.4vw, 2.2rem); line-height: 1.2; letter-spacing: -.025em; position: relative; z-index: 1; }
.quote-card__jp { font-size: 1rem; color: var(--muted); position: relative; z-index: 1; }
.quote-card__orig { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; color: var(--green-600); }

/* ---------- MISSÕES ---------- */
.missions { background: linear-gradient(180deg, var(--bg), var(--green-50) 140%); }
.mission-grid { display: grid; gap: 16px; }
.mission-card { text-align: left; padding: 28px; display: grid; gap: 10px; grid-template-columns: 1fr auto; align-items: start; }
.mission-card__num { font-family: var(--f-head); font-size: .85rem; font-weight: 700; color: var(--muted); }
.mission-card__check { grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; border: 2px dashed #CBD5E1; display: grid; place-items: center; color: transparent; transition: background-color .4s var(--ease), border-color .4s ease, color .3s ease, transform .5s var(--ease); }
.mission-card__check .i { width: 22px; height: 22px; stroke-width: 3; }
.mission-card__title { grid-column: 1 / -1; font-family: var(--f-head); font-weight: 600; font-size: 1.3rem; line-height: 1.3; color: var(--ink); letter-spacing: -.015em; margin-top: 18px; }
.mission-card__hint { grid-column: 1 / -1; color: var(--muted); font-size: .95rem; }
.mission-card.is-done { border-color: rgba(16,185,129,.45); background: linear-gradient(160deg, #fff, var(--green-50)); }
.mission-card.is-done .mission-card__check { background: var(--green); border: 2px solid var(--green); color: #fff; transform: rotate(-8deg) scale(1.06); }
.mission-status { margin-top: 28px; font-weight: 600; color: var(--green-600); display: flex; gap: 8px; align-items: center; min-height: 1.6em; }

/* ---------- HISTÓRIA ---------- */
.history-card { display: grid; gap: 28px; padding: 32px; border-radius: var(--r-2xl); background: var(--white); border: 1px solid var(--line); box-shadow: var(--sh-md); position: relative; overflow: hidden; }
.history-card::before { content: ""; position: absolute; inset: auto -10% -60% auto; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(251,191,36,.22), transparent 65%); }
.history-card__date { display: flex; flex-direction: column; position: relative; }
.history-card__month { font-family: var(--f-head); font-weight: 600; color: var(--gold-700); text-transform: uppercase; letter-spacing: .18em; font-size: .85rem; }
.history-card__year { font-family: var(--f-head); font-weight: 800; font-size: clamp(4.5rem, 16vw, 9rem); line-height: .9; letter-spacing: -.06em; background: linear-gradient(160deg, var(--gold) 10%, var(--blue) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.history-card__body { display: grid; gap: 18px; position: relative; align-content: center; }
.history-card__body .overline { margin: 0; }
.history-card__body .h2 { font-size: clamp(1.5rem, 3.4vw, 2.3rem); }
.history-card__body .btn { justify-self: start; }

/* ---------- FEED ---------- */
.bento-feed { display: grid; gap: 16px; }
.feed-card { padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.feed-card h3 { font-family: var(--f-head); font-weight: 600; color: var(--ink); font-size: 1.15rem; line-height: 1.35; letter-spacing: -.015em; }
.feed-card p { color: var(--muted); font-size: .95rem; }
.feed-card .btn--text { margin-top: auto; justify-self: start; align-self: flex-start; }
.feed-card__icon { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; transition: transform .5s var(--ease); }
.feed-card:hover .feed-card__icon { transform: rotate(-8deg) scale(1.08); }
.feed-card__icon .i { width: 24px; height: 24px; }
.cat { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.cat .i { width: 14px; height: 14px; }
.cat-med .cat { color: var(--blue); }
.cat-sci .feed-card__icon { background: #F5F3FF; color: #6D28D9; } .cat-sci .cat { color: #6D28D9; }
.cat-tech .feed-card__icon { background: var(--blue-50); color: var(--blue); } .cat-tech .cat { color: var(--blue); }
.cat-edu .feed-card__icon { background: var(--gold-50); color: var(--gold-700); } .cat-edu .cat { color: var(--gold-700); }
.cat-env .feed-card__icon { background: var(--green-50); color: var(--green-600); } .cat-env .cat { color: var(--green-600); }
.cat-kind .feed-card__icon { background: #FFF1F2; color: #E11D48; } .cat-kind .cat { color: #E11D48; }
.feed-card--xl { padding: 0; }
.feed-card--xl .feed-card__art { aspect-ratio: 2 / 1; overflow: hidden; }
.feed-card--xl .feed-card__art svg { width: 100%; height: 100%; transition: transform 1.2s var(--ease-out); }
.feed-card--xl:hover .feed-card__art svg { transform: scale(1.05); }
.feed-card__body { padding: 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.feed-card--xl h3 { font-size: clamp(1.3rem, 2.6vw, 1.9rem); line-height: 1.2; }

/* ---------- ARQUIVO ---------- */
.archive { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.archive__inner { display: grid; gap: 40px; }
.filters { display: grid; gap: 12px; margin-top: 32px; }
.select { display: grid; gap: 6px; }
.select > span { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.select select {
  appearance: none; -webkit-appearance: none; width: 100%; height: 50px; padding: 0 44px 0 16px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%230F172A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
  font-weight: 600; color: var(--ink); cursor: pointer; transition: border-color .2s ease, box-shadow .2s ease;
}
.select select:hover { border-color: #CBD5E1; }
.select select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37,99,235,.15); }
.archive__list { border-radius: var(--r-xl); background: var(--bg); border: 1px solid var(--line); padding: 10px; }
.archive__list ul { display: grid; gap: 6px; }
.archive__list li { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 16px; background: var(--white); border: 1px solid #EEF2F7; color: var(--ink); font-weight: 500; line-height: 1.45; animation: itemIn .5s var(--ease-out) both; }
.archive__list li[hidden] { display: none; }
.yr { flex: none; min-width: 64px; text-align: center; font-family: var(--f-head); font-size: .8rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--blue-50); color: var(--blue); }
.archive__empty { padding: 28px; text-align: center; color: var(--muted); }
.archive__note { padding: 12px 8px 4px; font-size: .8rem; color: var(--muted); }

/* ---------- MAPA ---------- */
.map-card { display: grid; gap: 24px; padding: 24px; border-radius: var(--r-2xl); background: linear-gradient(160deg, #fff, var(--blue-50)); border: 1px solid var(--line); box-shadow: var(--sh-md); overflow: hidden; }
.map-card__globe { position: relative; max-width: 420px; width: 100%; margin: 0 auto; }
.globe { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 30px 40px rgba(37,99,235,.18)); }
.mer { transform-box: fill-box; transform-origin: center; animation: spinX 9s linear infinite; }
.m2 { animation-delay: -3s; } .m3 { animation-delay: -6s; }
.pin__ring { fill: rgba(37,99,235,.2); transform-box: fill-box; transform-origin: center; animation: ring 2.4s var(--ease) infinite; }
.pin__ring--g { fill: rgba(16,185,129,.25); animation-delay: -.8s; }
.pin__ring--y { fill: rgba(251,191,36,.3); animation-delay: -1.6s; }
.map-card__label { position: absolute; left: 58%; top: 58%; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; font-size: .85rem; font-weight: 700; color: var(--ink); }
.map-card__content .h2 { margin-bottom: 14px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 18px; }
.tab { padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--body); background: var(--white); border: 1px solid var(--line); transition: background-color .25s ease, color .25s ease, border-color .25s ease; }
.tab:hover { border-color: #CBD5E1; }
.tab.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.tab-panels { display: grid; }
.tab-panel { grid-area: 1 / 1; display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: 20px; background: var(--white); border: 1px solid var(--line); opacity: 0; transform: translateY(10px); visibility: hidden; transition: opacity .45s ease, transform .5s var(--ease), visibility .45s; }
.tab-panel.is-active { opacity: 1; transform: none; visibility: visible; }
.tab-panel p { color: var(--ink); font-weight: 500; }
.tab-panel__ic { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; }

/* ---------- AJUDE AGORA ---------- */
.help { background: var(--night); color: #CBD5E1; overflow: hidden; padding: 104px 0; }
.help__glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(600px 400px at 85% 20%, rgba(37,99,235,.35), transparent 70%), radial-gradient(500px 400px at 5% 90%, rgba(16,185,129,.22), transparent 70%); }
.help__inner { position: relative; display: grid; gap: 48px; }
.help__title { font-family: var(--f-head); color: #fff; font-weight: 700; font-size: clamp(2rem, 5.4vw, 3.6rem); line-height: 1.06; letter-spacing: -.035em; }
.help__lead { margin-top: 20px; font-size: 1.1rem; color: #CBD5E1; max-width: 560px; }
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 32px; padding: 6px; border-radius: 20px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); max-width: 480px; }
.mode { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 6px; border-radius: 14px; color: #CBD5E1; font-weight: 600; font-size: .9rem; transition: background-color .3s ease, color .3s ease, transform .3s var(--ease); }
.mode__emoji { font-size: 1.4rem; line-height: 1; }
.mode:hover { color: #fff; }
.mode.is-active { background: #fff; color: var(--ink); box-shadow: 0 10px 24px -10px rgba(0,0,0,.5); }
.mode-desc { margin-top: 14px; min-height: 3.2em; color: #E2E8F0; font-size: .95rem; max-width: 480px; }
.help-features { display: grid; gap: 12px; margin-top: 24px; }
.help-features li { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 18px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); transition: background-color .3s ease, border-color .3s ease; }
.help-features li:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.16); }
.help-features strong { display: block; color: #fff; font-family: var(--f-head); font-weight: 600; }
.help-features small { color: #CBD5E1; font-size: .875rem; }
.hf__ic { width: 44px; height: 44px; flex: none; border-radius: 14px; display: grid; place-items: center; background: rgba(37,99,235,.2); color: #93C5FD; }
.hf__ic--red { background: rgba(239,68,68,.18); color: #FCA5A5; }

.sim { position: relative; padding: 20px; border-radius: var(--r-xl); background: linear-gradient(160deg, rgba(30,41,59,.9), rgba(15,23,42,.95)); border: 1px solid rgba(255,255,255,.1); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); display: grid; gap: 16px; }
.sim__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.sim__mode { font-size: .85rem; font-weight: 700; color: #fff; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.08); }
.sim__req { font-family: var(--f-head); color: #fff; font-weight: 600; font-size: 1.15rem; line-height: 1.35; }
.sim__map { border-radius: 18px; overflow: hidden; aspect-ratio: 32 / 15; border: 1px solid rgba(255,255,255,.08); }
.sim__map svg { width: 100%; height: 100%; }
.sim-pulse { transform-box: fill-box; transform-origin: center; animation: ring 2s var(--ease) infinite; }
.sim__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sim__stats div { padding: 12px; border-radius: 14px; background: rgba(255,255,255,.05); min-width: 0; }
.sim__stats small { display: block; font-size: .72rem; color: #CBD5E1; line-height: 1.3; }
.sim__stats strong { display: block; color: #fff; font-family: var(--f-head); font-size: .98rem; margin-top: 4px; transition: color .3s ease; }
.sim__stats strong.flash { color: #6EE7B7; }
.range { display: grid; gap: 10px; font-size: .9rem; color: #E2E8F0; }
.range > span { display: flex; justify-content: space-between; }
.range b { color: #fff; }
.range input { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--green) var(--fill, 0%), rgba(255,255,255,.15) var(--fill, 0%)); cursor: pointer; }
.range input::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(16,185,129,.35); }
.range input::-moz-range-thumb { width: 22px; height: 22px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(16,185,129,.35); }
.sim__chat { padding: 14px; border-radius: 18px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); display: grid; gap: 8px; }
.sim__chat-head { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; font-size: .9rem; }
.sim__timer { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--gold); font-variant-numeric: tabular-nums; }
.bubble { max-width: 85%; padding: 10px 14px; border-radius: 16px; font-size: .9rem; line-height: 1.4; }
.bubble--in { background: rgba(255,255,255,.1); color: #F1F5F9; border-bottom-left-radius: 4px; }
.bubble--out { justify-self: end; background: var(--blue); color: #fff; border-bottom-right-radius: 4px; }
.sos { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; border-radius: 16px; font-family: var(--f-head); font-weight: 700; color: #fff; background: linear-gradient(135deg, #EF4444, #DC2626); box-shadow: 0 14px 30px -12px rgba(239,68,68,.7); transition: transform .3s var(--ease), box-shadow .3s ease; position: relative; overflow: hidden; }
.sos:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -14px rgba(239,68,68,.85); }
.sos.is-pressed::after { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.25); animation: flashOut .8s ease forwards; }

/* ---------- SEGURANÇA ---------- */
.safety-card { padding: 28px; border-radius: var(--r-2xl); background: var(--white); border: 1px solid var(--line); box-shadow: var(--sh-md); position: relative; overflow: hidden; }
.safety-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: linear-gradient(90deg, var(--blue), var(--green), var(--gold)); }
.safety-card__badge { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), var(--green)); color: #fff; box-shadow: var(--sh-blue); margin-bottom: 24px; }
.safety-card__badge .i { width: 30px; height: 30px; }
.safety-card__grid { display: grid; gap: 32px; margin-top: 28px; }
.safety-card__text { display: grid; gap: 14px; align-content: start; }
.safety-card__text .lead { color: var(--ink); font-weight: 600; }
.roadmap { margin-top: 14px; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 18px; border-radius: 20px; background: var(--bg); border: 1px solid var(--line); }
.roadmap__step { display: grid; gap: 2px; }
.roadmap__step small { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.roadmap__step strong { font-family: var(--f-head); font-size: .92rem; color: var(--ink); line-height: 1.3; }
.roadmap__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--blue); margin-bottom: 6px; box-shadow: 0 0 0 4px rgba(37,99,235,.18); }
.roadmap__dot--g { background: var(--green); box-shadow: 0 0 0 4px rgba(16,185,129,.18); }
.roadmap__bar { height: 4px; border-radius: 4px; background: #E2E8F0; overflow: hidden; }
.roadmap__bar span { display: block; height: 100%; width: 38%; border-radius: 4px; background: linear-gradient(90deg, var(--blue), var(--green)); animation: road 3s var(--ease) infinite alternate; }
.checks { display: grid; gap: 10px; }
.checks li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); font-weight: 600; color: var(--ink); transition: transform .35s var(--ease), border-color .3s ease, background-color .3s ease; }
.checks li:hover { transform: translateX(4px); border-color: rgba(16,185,129,.4); background: var(--green-50); }
.checks__ic { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--white); color: var(--blue); box-shadow: var(--sh-sm); }
.checks__ok { margin-left: auto; color: var(--green); stroke-width: 3; }
.safety-card__quote { margin-top: 32px; display: flex; align-items: center; gap: 14px; padding: 22px 24px; border-radius: 20px; background: linear-gradient(120deg, var(--blue-50), var(--green-50)); font-family: var(--f-head); font-weight: 600; font-size: clamp(1.15rem, 2.6vw, 1.6rem); line-height: 1.3; color: var(--ink); letter-spacing: -.015em; }
.safety-card__quote .i { color: var(--blue); width: 28px; height: 28px; flex: none; }

/* ---------- PREMIUM ---------- */
.premium { background: linear-gradient(180deg, var(--bg), #FFFBEB 120%); }
.premium__inner { display: grid; gap: 40px; }
.premium__intro .btn { margin-top: 28px; }
.benefits { display: grid; gap: 12px; }
.benefit { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 20px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--sh-sm); font-weight: 600; color: var(--ink); transition: transform .4s var(--ease), box-shadow .4s ease; }
.benefit:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.benefit__ic { width: 42px; height: 42px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--gold-50); color: var(--gold-700); }
.benefit--hl { background: var(--night); color: #fff; border-color: var(--night); }
.benefit--hl .benefit__ic { background: var(--gold); color: var(--ink); }

/* ---------- REAÇÕES ---------- */
.react-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.react { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px 14px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--sh-sm); font-family: var(--f-head); font-weight: 600; color: var(--ink); transition: transform .4s var(--ease), box-shadow .3s ease, background-color .3s ease, border-color .3s ease; }
.react:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.react__emoji { font-size: 1.6rem; line-height: 1; transition: transform .5s var(--ease); }
.react.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.react.is-on .react__emoji { transform: scale(1.2) rotate(-8deg); }
.react.pop .react__emoji { animation: pop .6s var(--ease); }
.burst { position: absolute; left: 30px; top: 50%; font-size: 1rem; pointer-events: none; animation: burst .9s var(--ease-out) forwards; }
.no-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: 40px; }
.no-list li { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.no-list .i { color: var(--rose); }

/* ---------- PRINCÍPIOS ---------- */
.prin-grid { display: grid; gap: 14px; }
.prin { position: relative; padding: 28px; border-radius: var(--r-xl); background: var(--white); border: 1px solid var(--line); display: grid; gap: 18px; align-content: start; min-height: 180px; transition: transform .5s var(--ease), box-shadow .5s ease; overflow: hidden; }
.prin:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.prin__num { position: absolute; right: 22px; top: 16px; font-family: var(--f-head); font-weight: 800; font-size: 3rem; color: #F1F5F9; line-height: 1; }
.prin__ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; position: relative; transition: transform .5s var(--ease); }
.prin:hover .prin__ic { transform: rotate(-10deg) scale(1.06); }
.prin__ic .i { width: 26px; height: 26px; }
.prin h3 { font-family: var(--f-head); font-weight: 600; font-size: 1.2rem; line-height: 1.3; color: var(--ink); letter-spacing: -.015em; position: relative; }

/* ---------- CTA ---------- */
.cta { padding-top: 40px; }
.cta-card { position: relative; overflow: hidden; border-radius: var(--r-2xl); padding: 64px 24px; text-align: center; color: #fff; background: radial-gradient(600px 400px at 100% 100%, rgba(16,185,129,.55), transparent 60%), radial-gradient(500px 300px at 0% 0%, rgba(251,191,36,.25), transparent 60%), linear-gradient(140deg, #2563EB, #1D4ED8); box-shadow: 0 40px 80px -30px rgba(37,99,235,.6); }
.cta-card__rings { position: absolute; width: 900px; max-width: none; left: 50%; top: 50%; margin: -450px 0 0 -450px; animation: rotate 80s linear infinite; pointer-events: none; }
.cta-card__mark { position: relative; width: 64px; height: 64px; margin: 0 auto 28px; filter: drop-shadow(0 12px 20px rgba(0,0,0,.25)); }
.cta-card__title { position: relative; font-family: var(--f-head); font-weight: 700; font-size: clamp(1.9rem, 5vw, 3.6rem); line-height: 1.1; letter-spacing: -.035em; max-width: 900px; margin: 0 auto; }
.cta-card__btns { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }

/* ---------- FOOTER ---------- */
.footer { padding: 72px 0 32px; border-top: 1px solid var(--line); background: var(--white); margin-top: 88px; }
.footer__inner { display: grid; gap: 40px; }
.footer__tag { margin-top: 16px; color: var(--muted); }
.footer__quote { font-family: var(--f-head); font-weight: 500; font-size: 1.1rem; line-height: 1.45; color: var(--ink); max-width: 460px; }
.footer__mission .overline { margin-bottom: 10px; }
.footer__links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; align-content: start; }
.footer__links a { color: var(--body); font-weight: 500; transition: color .2s ease; }
.footer__links a:hover { color: var(--blue); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); }
.footer__bottom small { font-size: .82rem; }

/* ---------- MODAL ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; visibility: hidden; pointer-events: none; }
.modal.is-open { visibility: visible; pointer-events: auto; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, .5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity .4s ease; }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal__dialog { position: relative; width: 100%; max-width: 460px; max-height: calc(100svh - 32px); overflow-y: auto; padding: 32px 24px 28px; border-radius: var(--r-xl); background: var(--white); box-shadow: 0 40px 100px -20px rgba(15,23,42,.45); opacity: 0; transform: translateY(24px) scale(.96); transition: opacity .4s ease, transform .5s var(--ease-out); }
.modal.is-open .modal__dialog { opacity: 1; transform: none; }
.modal__close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); background: var(--bg); transition: background-color .2s ease, color .2s ease, transform .3s var(--ease); }
.modal__close:hover { background: var(--line); color: var(--ink); transform: rotate(90deg); }
.modal__mark { width: 52px; height: 52px; margin-bottom: 20px; }
.modal h3 { font-family: var(--f-head); font-size: 1.6rem; line-height: 1.2; letter-spacing: -.025em; color: var(--ink); margin-bottom: 8px; padding-right: 32px; }
.modal form { display: grid; gap: 16px; margin-top: 24px; }
.field { display: grid; gap: 8px; }
.field > span { font-size: .85rem; font-weight: 600; color: var(--ink); }
.field input { height: 54px; padding: 0 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg); font-size: 1rem; transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease; }
.field input:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(37,99,235,.15); }
.field input.is-invalid { border-color: #EF4444; }
.field__error { min-height: 1.2em; margin-top: -8px; font-size: .85rem; color: #DC2626; font-weight: 500; }
.platforms { display: grid; grid-template-columns: 1fr; gap: 8px; }
.platforms label { position: relative; }
.platforms input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.platforms span { display: grid; place-items: center; height: 46px; border-radius: 12px; border: 1.5px solid var(--line); font-weight: 600; color: var(--body); transition: border-color .2s ease, background-color .2s ease, color .2s ease; }
.platforms input:checked + span { border-color: var(--blue); background: var(--blue-50); color: var(--blue); }
.platforms input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.modal__fine { font-size: .8rem; color: var(--muted); text-align: center; }
.modal__success { text-align: center; display: grid; gap: 12px; justify-items: center; padding: 12px 0; }
.modal__success[hidden], .modal__form[hidden] { display: none; }
.modal__success h3 { padding-right: 0; }
.modal__success .btn { margin-top: 12px; }
.success-burst { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; box-shadow: 0 0 0 10px var(--green-50), 0 20px 40px -10px rgba(16,185,129,.6); animation: pop .7s var(--ease) both; margin-bottom: 8px; }
.success-burst .i { width: 36px; height: 36px; stroke-width: 3; }

/* ---------- TOAST ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 300; max-width: calc(100vw - 32px); padding: 14px 20px; border-radius: 16px; background: var(--ink); color: #fff; font-weight: 500; font-size: .92rem; box-shadow: var(--sh-lg); transform: translate(-50%, 140%); opacity: 0; transition: transform .5s var(--ease-out), opacity .4s ease; pointer-events: none; text-align: center; }
.toast.is-show { transform: translate(-50%, 0); opacity: 1; }

/* ---------- REVEAL (só quando JS está ativo) ---------- */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .card.reveal.is-in:hover { transform: translateY(-6px); transition-delay: 0s; }

/* ---------- KEYFRAMES ---------- */
@keyframes lineUp { to { transform: translateY(0); } }
@keyframes fadeUp { to { opacity: 1; transform: none; } }
@keyframes phoneIn { from { opacity: 0; transform: translateY(60px) rotateX(20deg) rotateY(-30deg) scale(.92); } }
@keyframes drift { to { transform: translate3d(40px, 30px, 0) scale(1.08); } }
@keyframes ping { 0% { transform: scale(.6); opacity: 1; } 80%, 100% { transform: scale(1.8); opacity: 0; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes draw { 0% { stroke-dashoffset: 600; } 55%, 100% { stroke-dashoffset: 0; } }
@keyframes shine { 0%, 60% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
@keyframes spinX { 0% { transform: scaleX(1); } 50% { transform: scaleX(.05); } 100% { transform: scaleX(1); } }
@keyframes ring { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes itemIn { from { opacity: 0; transform: translateY(8px); } }
@keyframes road { to { width: 92%; } }
@keyframes pop { 0% { transform: scale(.6); } 50% { transform: scale(1.25); } 100% { transform: scale(1); } }
@keyframes burst { 0% { transform: translate(0, -50%) scale(.6); opacity: 1; } 100% { transform: translate(var(--bx, 0), var(--by, -80px)) scale(1.2); opacity: 0; } }
@keyframes rotate { to { transform: rotate(360deg); } }
@keyframes flashOut { from { opacity: 1; } to { opacity: 0; } }

/* =========================================================
   BREAKPOINTS (mobile first)
   ========================================================= */
@media (min-width: 480px) {
  .filters { grid-template-columns: repeat(3, 1fr); }
  .benefits { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 640px) {
  .container { padding: 0 32px; }
  .header__cta { display: inline-flex; }
  .hero__ctas .btn { flex: 0 0 auto; }
  .pillars { grid-template-columns: repeat(4, 1fr); }
  .bento-feed { grid-template-columns: 1fr 1fr; }
  .feed-card--xl { grid-column: span 2; }
  .cat-kind { grid-column: span 2; }
  .prin-grid { grid-template-columns: 1fr 1fr; }
  .footer__links { grid-template-columns: 1fr 1fr; }
  .sim { padding: 26px; }
  .modal__dialog { padding: 40px 36px 32px; }
  .cta-card { padding: 88px 48px; }
  .safety-card { padding: 44px; }
  .map-card { padding: 40px; }
  .history-card { padding: 48px; }
}

@media (min-width: 768px) {
  .section { padding: 112px 0; }
  .quotes { grid-template-columns: 1fr 1fr; }
  .quote-card { padding: 40px; min-height: 340px; }
  .sec-head--split { grid-template-columns: 1.2fr 1fr; gap: 48px; }
  .sec-head--split .muted { padding-bottom: 6px; }
  .mission-grid { grid-template-columns: repeat(3, 1fr); }
  .footer__inner { grid-template-columns: 1.1fr 1.4fr 1fr; }
  .float--a { left: -20%; }
  .float--b { right: -22%; }
}

@media (min-width: 900px) {
  .map-card { grid-template-columns: 1fr 1.1fr; align-items: center; gap: 48px; padding: 56px; }
  .safety-card__grid { grid-template-columns: 1.1fr 1fr; gap: 48px; }
  .history-card { grid-template-columns: auto 1fr; gap: 56px; align-items: center; padding: 56px; }
}

@media (min-width: 1024px) {
  :root { --header-h: 80px; }
  .nav { display: flex; }
  .menu-btn, .mobile-nav { display: none; }
  .hero { padding-top: calc(var(--header-h) + 24px); }
  .hero__inner { grid-template-columns: 1.15fr .85fr; gap: 40px; }
  .hero__visual { padding: 40px 0; }
  .scroll-cue { display: block; }
  .float--a { left: -46%; top: 18%; }
  .float--b { right: -20%; top: 62%; }
  .float--c { left: -26%; bottom: 12%; }
  .mission__body { grid-template-columns: 1fr 1.2fr; align-items: start; gap: 64px; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .bento-today { grid-template-columns: 1.45fr 1fr; }
  .premium-fact { padding: 40px; }
  .news-card__body { padding: 32px 36px 36px; }
  .bento-feed { grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(250px, auto); }
  .feed-card--xl { grid-column: 1 / 3; grid-row: 1 / 3; }
  .cat-kind { grid-column: auto; }
  .archive__inner { grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: start; }
  .archive__intro { position: sticky; top: calc(var(--header-h) + 32px); }
  .filters { grid-template-columns: 1fr; max-width: 360px; }
  .help__inner { grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
  .help-features { grid-template-columns: 1fr 1fr; }
  .premium__inner { grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
  .prin-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .prin { min-height: 220px; padding: 32px; }
}

@media (min-width: 1280px) {
  .phone { width: 310px; }
}

/* Telas muito estreitas */
@media (max-width: 380px) {
  .brand__text small { display: none; }
  .lang__btn { padding: 6px 7px; }
  .lang__btn .flag { display: none; }
  .float--b { display: none; }
}
@media (max-width: 479px) {
  .roadmap { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .float--a { left: -2%; top: 6%; }
  .float--b { display: none; }
  .float--c { left: auto; right: -2%; bottom: 3%; }
  .float { padding: 8px 12px; }
  .brand__text strong { font-size: .92rem; }
  .brand__mark { width: 34px; height: 34px; }
}

/* Acessibilidade: menos movimento */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .line > span, .load-fade { transform: none; opacity: 1; }
  .marquee__track { animation: none; }
}
