/* Instituto 29 — estilos do site (tokens do design system Instituto 29) */
:root {
  color-scheme: only light;
  --amarelo-100: #FFC400; --amarelo-70: #FFDA4D; --amarelo-40: #FFE799; --amarelo-20: #FFF3CC;
  --grafite: #292B29; --branco: #FFFFFF; --cinza: #808080;
  --surface: #FFFFFF; --surface-soft: #FFF3CC; --ink: #292B29; --ink-muted: rgba(41,43,41,.75);
  --highlight: #FFC400; --action: #292B29; --on-action: #FFFFFF; --line: #292B29; --focus: #292B29;
  --font-display: Montserrat, Arial, sans-serif; --font-body: Montserrat, Arial, sans-serif;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-6: 24px; --space-8: 32px;
  --space-12: 48px; --space-20: 80px; --space-30: 120px;
  --radius-sm: 8px; --radius-md: 16px; --radius-lg: 24px; --radius-pill: 999px;
  --ease: cubic-bezier(.2,.7,.2,1);
}
[data-theme="amarelo"] { --surface: #FFC400; --surface-soft: #FFE799; --ink: #292B29; --ink-muted: rgba(41,43,41,.75); --highlight: #FFFFFF; --action: #292B29; --on-action: #FFFFFF; --line: #292B29; --focus: #292B29; }
[data-theme="grafite"] { --surface: #292B29; --surface-soft: #FFF3CC; --ink: #FFFFFF; --ink-muted: rgba(255,255,255,.75); --highlight: #FFC400; --action: #FFC400; --on-action: #292B29; --line: #FFFFFF; --focus: #FFC400; }

html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--surface); -webkit-font-smoothing: antialiased; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
img { max-width: 100%; display: block; }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--ink); text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

.page { width: 100%; min-width: 0; background: var(--surface); color: var(--ink); overflow-x: clip; }
.band { background: var(--surface); color: var(--ink); position: relative; }
.band-soft { background: var(--surface-soft); color: var(--grafite); }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: clamp(20px, 6vw, 80px); }
.section { padding-block: clamp(56px, 9vw, 112px); }
.stack { display: flex; flex-direction: column; gap: var(--space-4); }
.row { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }

/* Tipografia */
.caption { font-family: var(--font-display); font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin: 0; color: var(--ink); }
.display { font-family: var(--font-display); font-weight: 800; font-size: clamp(40px, 7.2vw, 88px); line-height: 1.0; letter-spacing: -.02em; margin: 0; }
.h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(32px, 4.6vw, 48px); line-height: 1.05; margin: 0; letter-spacing: -.01em; }
.h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 3vw, 32px); line-height: 1.2; margin: 0; }
.h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(19px, 2vw, 24px); line-height: 1.2; margin: 0; }
.lead { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.6; margin: 0; max-width: 62ch; }
.body { font-size: 16px; line-height: 1.6; margin: 0; max-width: 68ch; }
.muted { color: var(--ink-muted); }
.small { font-size: 14px; line-height: 1.5; margin: 0; }
.num { font-variant-numeric: tabular-nums; }
.sec-head { display: flex; flex-direction: column; gap: var(--space-3); margin-bottom: clamp(32px, 5vw, 56px); }

/* Grades */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: var(--space-6); }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: var(--space-6); }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(32px, 5vw, 64px); align-items: center; }
.grid-6 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: var(--space-4); }

/* Cartões com o canto da pétala */
.card { background: var(--surface); color: var(--ink); border: 2px solid var(--line); border-radius: var(--radius-lg) var(--radius-lg) 0 var(--radius-lg); padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-3); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 0 0 var(--amarelo-100); }
.card-soft { background: var(--amarelo-20); color: var(--grafite); border-color: transparent; }
.card-yellow { background: var(--amarelo-100); color: var(--grafite); border-color: transparent; }
.card a { color: inherit; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: var(--space-6); }
.stat-grid .i29-stat { max-width: none; min-width: 0; }
.stat-grid .i29-stat-value { font-size: clamp(44px, 5vw, 72px); white-space: nowrap; }
.h1, .h2, .h3, .display { overflow-wrap: break-word; }

/* Placeholder de foto real */
.photo { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-lg) var(--radius-lg) 0 var(--radius-lg); background: var(--amarelo-20); border: 2px dashed rgba(41,43,41,.45); display: flex; align-items: flex-end; padding: var(--space-4); overflow: hidden; color: var(--grafite); }
.photo span { font-size: 13px; font-weight: 600; line-height: 1.4; background: var(--branco); padding: 6px 10px; border-radius: var(--radius-sm); }
.photo-wide { aspect-ratio: 16 / 9; }

/* Foto com legenda */
.figure { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg) var(--radius-lg) 0 var(--radius-lg); transition: transform .6s var(--ease); }
.figure:hover img { transform: scale(1.015); }
.figure figcaption { font-size: 13px; line-height: 1.5; color: var(--ink-muted); max-width: 60ch; }

/* Cartazes de eventos */
.poster, .photo.poster-slot { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; border-radius: var(--radius-lg) var(--radius-lg) 0 var(--radius-lg); background: var(--amarelo-20); display: block; }

/* Próximos eventos */
.next-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: var(--space-6); }
.next-card { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: var(--space-6); align-items: start; background: var(--branco); border-radius: var(--radius-lg) var(--radius-lg) 0 var(--radius-lg); padding: clamp(18px, 2.4vw, 28px); }
.next-poster { width: 100%; height: auto; display: block; border-radius: var(--radius-md); box-shadow: 0 8px 0 0 var(--amarelo-100); }

/* Projetos: cartão escolhido + destaque abaixo */
.proj-card[data-selected="true"] { background: var(--amarelo-20); box-shadow: 0 8px 0 0 var(--amarelo-100); }
.proj-pick { align-self: flex-start; margin-top: auto; font: inherit; font-weight: 700; font-size: 15px; color: var(--grafite); background: transparent; border: 2px solid var(--grafite); border-radius: 999px; padding: 8px 18px; cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease); }
.proj-pick:hover { background: var(--amarelo-100); }
.proj-pick[aria-pressed="true"] { background: var(--grafite); color: #fff; cursor: default; }
.proj-feature { margin-top: 56px; padding-top: 56px; border-top: 2px solid rgba(41,43,41,.15); scroll-margin-top: 96px; }


/* WhatsApp */
.wa-ico { width: 22px; height: 22px; flex: none; }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px; border-radius: 999px; background: var(--grafite, #292B29); color: #fff; font-weight: 700; font-size: 15px; text-decoration: none; box-shadow: 0 6px 0 0 #FFC400; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 9px 0 0 #FFC400; }
.wa-float:focus-visible { outline: 3px solid #FFC400; outline-offset: 3px; }
.wa-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: inherit; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form [aria-invalid="true"] { border-color: #B3261E; }
.form-err-txt { color: #B3261E; }
@media (max-width: 600px) { .wa-float span { display: none; } .wa-float { padding: 14px; right: 16px; bottom: 16px; } .wa-float .wa-ico { width: 26px; height: 26px; } }

@media (max-width: 560px) { .next-card { grid-template-columns: minmax(0, 1fr); } .next-poster { max-width: 240px; margin-inline: auto; } }

/* Política de privacidade */
.policy { max-width: 760px; display: flex; flex-direction: column; gap: 16px; }
.policy h2 { margin-top: 40px; }
.policy h3 { margin-top: 16px; }
.policy ul { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 8px; }
.table-box { overflow-x: auto; border: 2px solid var(--grafite); border-radius: var(--radius-md) var(--radius-md) 0 var(--radius-md); }
.table-box table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; min-width: 480px; }
.table-box th { text-align: left; background: var(--amarelo-20); font-weight: 700; padding: 12px 14px; border-bottom: 2px solid var(--grafite); }
.table-box td { padding: 12px 14px; border-top: 1px solid rgba(41,43,41,.2); vertical-align: top; }
.policy-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px; }
.policy-steps .step { background: var(--amarelo-20); }

/* Cabeçalho */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(41,43,41,.12); }
.hdr-in { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 76px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--grafite); font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: -.01em; min-height: 44px; }
.brand img { width: 44px; height: 44px; transition: transform .8s var(--ease); }
.brand:hover img { transform: rotate(45deg); }
.nav { display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); flex-wrap: wrap; }
.navlink { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--grafite); text-decoration: none; padding: 10px 2px; position: relative; }
.navlink::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 3px; border-radius: 3px; background: var(--amarelo-100); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.navlink:hover::after, .navlink[aria-current="page"]::after { transform: scaleX(1); }
.burger { display: none; width: 48px; height: 48px; border: 2px solid var(--grafite); border-radius: var(--radius-pill); background: transparent; color: var(--grafite); align-items: center; justify-content: center; cursor: pointer; }
@media (max-width: 900px) {
  .burger { display: inline-flex; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: var(--space-4); }
  .nav.is-open { display: flex; animation: drop .35s var(--ease) both; }
  .navlink { padding: 14px 0; border-bottom: 1px solid rgba(41,43,41,.12); font-size: 17px; }
  .navlink::after { display: none; }
  .nav .i29-btn { margin-top: var(--space-4); justify-content: center; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--amarelo-100); color: var(--grafite); }
.hero-in { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(24px, 4vw, 72px); align-items: center; padding-block: clamp(28px, 7vh, 96px); position: relative; z-index: 1; }
/* A abertura cabe na primeira tela: altura da janela menos o cabeçalho */
.hero-first { min-height: calc(100svh - var(--top-offset, 77px)); display: flex; align-items: center; }
.hero-first > .wrap { width: 100%; }
.hero-first .display { font-size: clamp(34px, min(6vw, 8.2vh), 80px); }
.hero-first .lead { font-size: clamp(16px, min(1.5vw, 2.3vh), 19px); }
.hero-first .hero-copy { gap: clamp(14px, 2.6vh, 24px); }
.hero-first .flower { width: min(100%, 440px, 56svh); }
@media (max-width: 900px) {
  .hero-first .hero-in { grid-template-columns: minmax(0, 1fr); padding-block: clamp(16px, 3.5vh, 48px); gap: clamp(12px, 2.5vh, 32px); }
  .hero-first .flower { order: -1; width: min(30vw, 180px, 17svh); margin-inline: 0; }
  .hero-first .display { font-size: clamp(28px, min(8.4vw, 5.4vh), 52px); }
  .hero-first .hero-copy { gap: clamp(10px, 2vh, 20px); }
  .hero-first .row .i29-btn { min-height: 46px; padding: 0 18px; font-size: 15px; }
}
.hero-copy { display: flex; flex-direction: column; gap: var(--space-6); }
.hero-copy > * { animation: rise .9s var(--ease) both; }
.hero-copy > *:nth-child(2) { animation-delay: .12s; }
.hero-copy > *:nth-child(3) { animation-delay: .24s; }
.hero-copy > *:nth-child(4) { animation-delay: .36s; }
.hero-deco { position: absolute; right: -18vw; top: -22vw; width: 70vw; max-width: 980px; aspect-ratio: 1; opacity: .35; pointer-events: none; animation: spin 90s linear infinite; }
.hero-deco { opacity: .22; }

/* Símbolo animado: os tons da flor se abrem em camadas, depois o I29 é carimbado */
.flower { position: relative; width: min(100%, 440px, 56svh); aspect-ratio: 1; margin-inline: auto; --scroll: 0; }
.flower svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.fl-spin, .fl-breathe, .fl-l, .fl-mark { transform-box: view-box; transform-origin: 50% 50%; }
.fl-spin { transform: rotate(calc(var(--scroll) * 1deg)); transition: transform .6s var(--ease); }
.flower:hover .fl-spin { transform: rotate(calc(45deg + var(--scroll) * 1deg)); }
.fl-l { animation: petal-in 1.1s var(--ease) both; }
.fl-l1 { animation-delay: .05s; } .fl-l2 { animation-delay: .22s; } .fl-l3 { animation-delay: .39s; }
.fl-l4 { animation-delay: .56s; } .fl-l5 { animation-delay: .73s; }
.fl-breathe { animation: breathe 10s ease-in-out 2.2s infinite; }
.fl-mark { animation: stamp .7s cubic-bezier(.3,1.4,.5,1) 1.25s both; }
@keyframes petal-in { from { opacity: 0; transform: rotate(-60deg) scale(.35); } 70% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes stamp { 0% { opacity: 0; transform: scale(1.35); } 60% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes breathe { 0%, 100% { transform: rotate(0deg) scale(1); } 50% { transform: rotate(6deg) scale(1.02); } }
@keyframes sway { 0%,100% { transform: rotate(0deg); } 50% { transform: rotate(8deg); } }
@keyframes markin { from { opacity: 0; } to { opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Divisor-pétala que gira com a rolagem */
.petal-div { display: flex; justify-content: center; padding-block: var(--space-6); }
.petal-div svg { width: 56px; height: 56px; }

/* Revelação ao rolar (navegadores com scroll-driven animations) */
@supports (animation-timeline: view()) {
  html:not(.js) .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 45%; }
  html:not(.js) .petal-div svg { animation: spin linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
  html:not(.js) .bar-fill { animation: grow linear both; animation-timeline: view(); animation-range: entry 10% cover 40%; }
}
/* Com JavaScript (site publicado): funciona igual em Chrome, Safari e celulares */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .grid-3 > .reveal:nth-child(2), .js .grid-4 > .reveal:nth-child(2), .js .stat-grid > .reveal:nth-child(2), .js .next-grid > .reveal:nth-child(2), .js .steps > .reveal:nth-child(2) { transition-delay: .1s; }
.js .grid-3 > .reveal:nth-child(3), .js .grid-4 > .reveal:nth-child(3), .js .stat-grid > .reveal:nth-child(3), .js .steps > .reveal:nth-child(3) { transition-delay: .2s; }
.js .grid-4 > .reveal:nth-child(4), .js .steps > .reveal:nth-child(4) { transition-delay: .3s; }
.js .steps > .reveal:nth-child(5) { transition-delay: .4s; } .js .steps > .reveal:nth-child(6) { transition-delay: .5s; }
.next-card { transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.next-card:hover { transform: translateY(-4px); box-shadow: 0 8px 0 0 var(--amarelo-100); }
.next-card:hover .next-poster { transform: rotate(-1.5deg); }
.next-poster { transition: transform .5s var(--ease); }
.js .bar-fill { transform: scaleX(0); transition: transform 1.2s var(--ease) .15s; }
.js .bar-fill.in { transform: scaleX(1); }
.js .petal-div svg { transition: transform .1s linear; }
.bar { height: 14px; background: var(--amarelo-20); border-radius: var(--radius-pill); overflow: hidden; }
.bar-fill { height: 100%; background: var(--amarelo-100); border-radius: var(--radius-pill); transform-origin: left; }

/* Filtro de fases */
.filters { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-8); }
.chip { font-family: var(--font-display); font-weight: 700; font-size: 14px; min-height: 44px; padding: 0 18px; border-radius: var(--radius-pill); border: 2px solid var(--grafite); background: transparent; color: var(--grafite); cursor: pointer; transition: background .25s, color .25s, transform .25s var(--ease); }
.chip:hover { transform: translateY(-2px); }
.chip[aria-pressed="true"] { background: var(--grafite); color: var(--branco); }
.fade-in { animation: rise .5s var(--ease) both; }
.empty { border: 2px dashed rgba(41,43,41,.4); border-radius: var(--radius-lg); padding: var(--space-8); }

/* Fatos do projeto */
.facts { display: flex; flex-wrap: wrap; gap: var(--space-4) var(--space-6); }
.fact { flex: 1 1 150px; display: flex; flex-direction: column; gap: 4px; border-top: 3px solid var(--grafite); padding-top: var(--space-3); }
.fact b { font-family: var(--font-display); font-size: clamp(20px, 2.2vw, 28px); font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.1; white-space: nowrap; }
.fact span { font-size: 14px; line-height: 1.4; }

/* Jornada */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); gap: var(--space-4); counter-reset: s; }
.step { position: relative; padding: var(--space-6) var(--space-4) var(--space-4); background: var(--branco); border-radius: var(--radius-lg) var(--radius-lg) 0 var(--radius-lg); display: flex; flex-direction: column; gap: 6px; color: var(--grafite); }
.step-n { width: 44px; height: 44px; border-radius: var(--radius-pill) 0 var(--radius-pill) var(--radius-pill); background: var(--amarelo-100); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 18px; margin-bottom: 6px; transition: transform .5s var(--ease); }
.step:hover .step-n { transform: rotate(-45deg); }

/* Pessoas (equipe técnica do projeto e governança): só nome e função */
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: var(--space-4); }
.person { padding: var(--space-4) 0; border-top: 2px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.person b { font-family: var(--font-display); font-weight: 700; font-size: 17px; }
.person span { font-size: 14px; color: var(--ink-muted); }

/* Orçamento */
.budget { display: flex; flex-direction: column; gap: var(--space-4); }
.budget-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px var(--space-4); align-items: end; }
.budget-row .bar { grid-column: 1 / -1; }

/* Indicador de turmas: 8 pétalas */
.turmas { display: block; width: 220px; height: 220px; max-width: 100%; flex: none; }
.turmas .p { fill: none; stroke: var(--grafite); stroke-width: 2; }
.turmas .p.on { fill: var(--amarelo-100); }

/* Formulário */
.form { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: var(--space-4); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-display); font-weight: 600; font-size: 14px; }
.field input, .field textarea, .field select { font: inherit; font-size: 16px; min-height: 48px; padding: 12px 14px; border: 2px solid var(--grafite); border-radius: var(--radius-sm); background: var(--branco); color: var(--grafite); }
.field textarea { min-height: 120px; resize: vertical; }

/* Seletor empresa / pessoa física */
.seg { display: inline-flex; padding: 4px; border-radius: var(--radius-pill); background: var(--branco); border: 2px solid var(--grafite); gap: 4px; flex-wrap: wrap; }
.seg button { font-family: var(--font-display); font-weight: 700; font-size: 15px; min-height: 44px; padding: 0 20px; border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--grafite); cursor: pointer; transition: background .3s var(--ease), color .3s; }
.seg button[aria-pressed="true"] { background: var(--grafite); color: var(--branco); }

/* Lista de documentos */
.docs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.docs li { display: flex; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; padding: 14px 0; border-bottom: 1px solid currentColor; }
.press { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.press li { padding: 14px 0; border-bottom: 1px solid rgba(41,43,41,.25); display: flex; justify-content: space-between; gap: 4px var(--space-4); flex-wrap: wrap; }
.press li > :last-child { margin-left: auto; white-space: nowrap; }

/* Rodapé */
.ftr { background: var(--grafite); color: var(--branco); }
.ftr a { color: var(--branco); }
.ftr-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: var(--space-8); padding-block: clamp(48px, 7vw, 80px); }
.ftr-bottom { border-top: 1px solid rgba(255,255,255,.25); padding-block: var(--space-6); display: flex; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; font-size: 13px; }

.badge { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: var(--radius-pill); background: var(--branco); color: var(--grafite); border: 2px solid var(--grafite); }
.mark-slot { border: 2px dashed rgba(41,43,41,.45); border-radius: var(--radius-sm); padding: 10px 14px; font-size: 13px; font-weight: 600; }

/* Ajustes de celular */
@media (max-width: 640px) {
  .section { padding-block: 48px; }
  .sec-head { margin-bottom: 28px; }
  .stat-grid { gap: 12px; }
  .stat-grid .i29-stat { padding: 20px 24px 24px; gap: 4px; }
  .stat-grid .i29-stat-value { font-size: 44px; }
  .stat-grid .i29-stat-text { font-size: 15px; line-height: 1.5; }
  .filters { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; margin-inline: calc(-1 * clamp(20px, 6vw, 80px)); padding-inline: clamp(20px, 6vw, 80px); padding-bottom: 6px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .chip { flex: none; scroll-snap-align: start; }
  .swipe { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: calc(-1 * clamp(20px, 6vw, 80px)); padding: 0 clamp(20px, 6vw, 80px) 8px; scrollbar-width: none; }
  .swipe::-webkit-scrollbar { display: none; }
  .swipe > * { flex: 0 0 82%; scroll-snap-align: center; min-width: 0; }
  .swipe .photo:not(.poster-slot) { aspect-ratio: 16 / 9; }
  .swipe-hint { display: block; }
  .seg { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .seg button { padding: 0 10px; font-size: 14px; }
  .card { padding: 20px; }
  .people { gap: 0 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.swipe-hint { display: none; font-size: 13px; color: var(--ink-muted); margin: 8px 0 0; }

/* Reduzir movimento: sem giros nem deslocamentos, mas com aparições suaves */
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-deco, .petal-div svg, .fl-l, .fl-breathe, .hero-copy > * { animation: none !important; }
  .fl-spin, .flower:hover .fl-spin { transform: none; }
  .fl-mark { animation: fadein .8s ease .2s both !important; }
  .js .reveal { transform: none; transition: opacity .8s ease; }
  .js .bar-fill { transition: transform .6s ease; }
  .card:hover, .next-card:hover, .chip:hover, .step:hover .step-n, .brand:hover img, .figure:hover img, .next-card:hover .next-poster { transform: none; }
}

span.num { white-space: nowrap; }

600;700;800&display=swap");
body { margin: 0; font-family: var(--font-body); background: var(--surface); color: var(--ink); }
.i29-row { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; padding: var(--space-4); }
.i29-btn { font-family: var(--font-display); font-size: 16px; font-weight: 700; line-height: 1; min-height: 48px; padding: 0 var(--space-6); border-radius: var(--radius-pill); border: 2px solid var(--action); cursor: pointer; display: inline-flex; align-items: center; gap: var(--space-2); text-decoration: none; }
.i29-btn-primary { background: var(--action); color: var(--on-action); }
.i29-btn-secondary { background: transparent; color: var(--ink); border-color: var(--line); }
.i29-btn:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--focus); }
.i29-btn[disabled] { opacity: .5; cursor: not-allowed; }
.i29-tag { display: inline-flex; align-items: center; font-family: var(--font-display); font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: var(--space-2) var(--space-4); border-radius: var(--radius-pill) 0 var(--radius-pill) 0; }
.i29-tag-highlight { background: var(--highlight); color: var(--grafite); }
.i29-tag-ink { background: var(--ink); color: var(--surface); }
.i29-tag-outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.i29-stat { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-8); background: var(--highlight); color: var(--grafite); border-radius: var(--radius-md) var(--radius-md) 0 var(--radius-md); clip-path: polygon(0 0, 100% 0, 100% 78%, 86% 100%, 0 100%); max-width: 360px; box-sizing: border-box; }
.i29-stat-soft { background: var(--surface-soft); }
.i29-stat-label { font-family: var(--font-display); font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.i29-stat-value { font-family: var(--font-display); font-size: 72px; line-height: 1; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.i29-stat-text { font-family: var(--font-body); font-size: 16px; line-height: 1.6; margin: 0; }
.i29-stat-source { font-family: var(--font-body); font-size: 12px; line-height: 16px; margin: 0; }
