/* ==========================================================================
   MWEKO · Folha de estilos principal
   Estrutura: 1. Tokens  2. Base  3. Layout  4. Componentes  5. Secções
              6. Páginas de iniciativa  7. Animações  8. Responsivo
   ========================================================================== */

/* 1. TOKENS ---------------------------------------------------------------- */
:root {
  /* Marca */
  --ink: #0B2A21;          /* verde-floresta profundo, base escura */
  --ink-deep: #071C16;     /* rodapé */
  --blue: #0A5592;         /* azul do logótipo */
  --blue-deep: #08355C;
  --leaf: #4E7A27;         /* verde do logótipo */
  --green: #3E6620;
  --green-deep: #2C4A15;
  --amber: #B4621A;
  --amber-text: #9A5214;   /* âmbar com contraste AA sobre branco */
  --mint: #CFE3C2;
  --sage: #A9CF93;

  /* Espectro da fita (usar só como acento) */
  --spectrum: linear-gradient(90deg, #2F62C9, #7A4DB8, #E35D9B, #F29A3E, #E9D24A, #3DB54A);

  /* Neutros */
  --paper: #F5F4EF;
  --sand: #ECEBE4;
  --white: #FFFFFF;
  --line: #D9D6CB;
  --line-soft: #E2E0D7;
  --text: #12201B;
  --body: #3F4B46;
  --muted: #55615C;

  /* Acento por página (as iniciativas redefinem) */
  --accent: var(--blue);
  --accent-text: var(--blue);
  --accent-deep: var(--blue-deep);
  --accent-soft: #CFE0F2;

  /* Tipografia */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Espaçamento e forma */
  --container: 1280px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(80px, 10vw, 136px);
  --radius: 4px;
  --radius-lg: 6px;
  --header-h: 96px;
}

/* 2. BASE ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-text); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4, p, ul, blockquote, figure { margin: 0; }
ul { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid #E9A23B; outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }

/* 3. LAYOUT ---------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--white { background: var(--white); border-block: 1px solid var(--line-soft); }
.section--sand { background: var(--sand); }
.section--dark { background: var(--ink); color: #fff; }
.section--accent { background: var(--accent); color: #fff; }
.section--accent-deep { background: var(--accent-deep); color: #fff; }

.split { display: flex; flex-wrap: wrap; gap: clamp(40px, 6vw, 72px); }
.split__aside { flex: 1 1 340px; max-width: 440px; }
.split__aside .h2 { font-size: clamp(32px, 3.2vw, 44px); }
.split__main.grid { align-items: start; align-content: start; }
.split__main { flex: 999 1 520px; min-width: 0; }
.split--center { align-items: center; }

.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 48px; margin-bottom: clamp(40px, 5vw, 64px); }
.head-row > p { max-width: 420px; }

.grid { display: grid; gap: 16px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.grid--6 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); }
.grid--hairline { gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.grid--hairline > * { background: var(--white); }
.grid--services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .grid--services { grid-template-columns: 1fr; } }

/* 4. COMPONENTES ----------------------------------------------------------- */

/* Tipografia */
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--leaf); }
.section--dark .eyebrow, .section--accent .eyebrow, .section--accent-deep .eyebrow { color: var(--sage); }
.section--accent .eyebrow, .section--accent-deep .eyebrow { color: var(--accent-soft); }
.spectrum-rule { width: 48px; height: 3px; margin-top: 18px; background: var(--spectrum); }
.display { font-family: var(--font-display); font-weight: 300; letter-spacing: -.02em; line-height: 1.02; }
.h1 { font-family: var(--font-display); font-weight: 300; font-size: clamp(48px, 7.4vw, 108px); line-height: .99; letter-spacing: -.025em; }
.h2 { font-family: var(--font-display); font-weight: 300; font-size: clamp(34px, 4vw, 54px); line-height: 1.1; letter-spacing: -.01em; margin-top: 18px; }
.h3 { font-size: 22px; font-weight: 600; line-height: 1.3; }
.statement { font-family: var(--font-display); font-weight: 300; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.22; letter-spacing: -.01em; }
.statement em, .h1 em, .h2 em { font-style: italic; }
.lead { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.65; color: var(--body); }
.section--dark .lead, .section--accent .lead, .section--accent-deep .lead, .hero .lead { color: rgba(255,255,255,.86); }
.text { font-size: 16px; line-height: 1.75; color: var(--body); }
.small { font-size: 14px; color: var(--muted); }
.tag-accent { color: var(--accent-text); }
.hl-blue { color: var(--blue); }
.hl-mint { color: var(--mint); font-style: italic; }
.num { font-family: var(--font-display); font-weight: 300; line-height: 1; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 28px; border-radius: 2px; font-size: 15px; font-weight: 600; letter-spacing: .01em; border: 1px solid transparent; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s; white-space: nowrap; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--sm { min-height: 44px; padding: 0 22px; font-size: 14px; font-weight: 600; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #154236; color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--mint); color: var(--ink); }
.btn--ghost { border-color: rgba(255,255,255,.5); color: #fff; font-weight: 600; }
.btn--ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-deep); color: #fff; }
.btn--whatsapp { background: #25D366; color: var(--ink); }
.btn--whatsapp:hover { background: #3be07a; color: var(--ink); }
.link-arrow { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }

/* Pílulas e etiquetas */
.pill { display: inline-flex; align-items: center; padding: 8px 16px; border-radius: 2px; font-size: 13px; border: 1px solid rgba(255,255,255,.35); }
.badge { display: inline-block; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.15); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }

/* Cabeçalho */
.site-header { position: sticky; top: 0; z-index: 50; transition: box-shadow .4s ease; background: rgba(245,244,239,.94); backdrop-filter: saturate(150%) blur(10px); -webkit-backdrop-filter: saturate(150%) blur(10px); border-bottom: 1px solid var(--line-soft); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: var(--header-h); transition: min-height .4s ease; }
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(11,42,33,.06); }
.site-header.is-scrolled .site-header__inner { min-height: 72px; }
.site-header.is-scrolled .brand img { height: 38px; }
.brand { display: flex; align-items: center; gap: 18px; }
.brand img { height: 50px; width: auto; transition: height .4s ease; }
.brand__divider { width: 1px; height: 28px; background: #CFCBBF; }
.brand__sub { font-family: var(--font-display); font-size: 22px; color: var(--accent-text); }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a { position: relative; color: var(--text); font-size: 15px; font-weight: 500; padding-block: 6px; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.nav a:hover::after { transform: scaleX(1); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent-text); text-decoration: none; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.lang { font-size: 13px; font-weight: 600; letter-spacing: .04em; display: flex; gap: 6px; align-items: center; }
.lang [aria-current="true"] { border-bottom: 2px solid var(--leaf); padding-bottom: 2px; }
.lang a { color: var(--muted); }
.lang__sep { color: #8A938F; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 2px; background: transparent; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 2px; background: var(--text); position: relative; transition: transform .25s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* Rodapé */
.site-footer { background: var(--ink-deep); color: rgba(255,255,255,.75); font-size: 14px; }
.site-footer a { color: rgba(255,255,255,.82); }
.site-footer a:hover { color: #fff; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; padding-block: 64px 48px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-cols { display: flex; flex-wrap: wrap; gap: 56px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col strong { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-block: 28px; font-size: 13px; }
.footer-compact { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-block: 40px; font-size: 13px; }
.footer-compact img { height: 36px; width: auto; }

/* Cartões e listas */
.card { background: var(--white); border-radius: var(--radius); padding: clamp(28px, 3vw, 40px); }
.card--top { border-top: 3px solid var(--accent); }
.card--dark { background: var(--ink); color: #fff; }
.card--dark p { color: rgba(255,255,255,.84); }
.card .h3 + p, .card p.text { margin-top: 12px; }
.bullets li { padding-top: 10px; margin-top: 10px; border-top: 1px solid #ECEAE3; font-size: 14px; }
.rows > li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 26px 0; border-top: 1px solid var(--line); }
.rows > li:last-child { border-bottom: 1px solid var(--line); }
.rows__title { font-family: var(--font-display); font-size: clamp(21px, 2vw, 26px); }

.placeholder { display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px; border: 1px dashed #BDB9AC; color: #6B7570; font-size: 13px; border-radius: var(--radius); }

/* Estatísticas */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); border-top: 1px solid var(--line); margin-top: clamp(56px, 7vw, 96px); }
.stats > div { padding: 32px 24px 0 0; }
.stats .num { font-size: clamp(48px, 5vw, 64px); color: var(--ink); }
.stats p { font-size: 14px; color: var(--muted); margin-top: 12px; }

/* Faixa de números com divisores */
.strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.strip > div { padding: 32px 28px; border-right: 1px solid var(--line-soft); }
.strip > div:first-child { padding-left: 0; }
.strip > div:last-child { border-right: 0; }
.strip__n { font-family: var(--font-display); font-size: 15px; color: var(--blue); }
.strip__t { font-weight: 700; margin-top: 8px; }

/* Formulários */
.form { background: var(--white); color: var(--text); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; gap: 20px; }
.form__row { display: flex; flex-wrap: wrap; gap: 16px; }
.form__row > * { flex: 1 1 200px; min-width: 0; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 600; }
.field input, .field textarea, .field select { width: 100%; min-width: 0; min-height: 48px; border: 1px solid #CFCBBF; border-radius: var(--radius); padding: 0 14px; font-size: 15px; font-weight: 400; background: #FAFAF7; }
.field textarea { padding: 12px 14px; resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus { border-color: var(--accent); outline: 2px solid color-mix(in srgb, var(--accent) 25%, transparent); outline-offset: 0; }
.chips { border: 0; margin: 0; padding: 0; }
.chips legend { font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.chips__list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 2px; border: 1px solid #CFCBBF; font-size: 14px; font-weight: 600; color: var(--body); background: #fff; transition: all .2s; }
.chip input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid #E9A23B; outline-offset: 2px; }
.form__note { font-size: 12px; color: var(--muted); }
.form__status { font-size: 14px; font-weight: 600; color: var(--leaf); }

/* Separadores (tabs) */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tabs { gap: 4px 28px; }
.tab { min-height: 44px; padding: 0 2px; font-size: 15px; font-weight: 600; cursor: pointer; background: none; color: var(--muted); border: 0; border-bottom: 2px solid transparent; border-radius: 0; transition: color .25s, border-color .25s; }
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { color: var(--text); border-bottom-color: var(--accent); }
.on-dark .tab { color: rgba(255,255,255,.7); }
.on-dark .tab:hover { color: #fff; }
.on-dark .tab[aria-selected="true"] { color: #fff; border-bottom-color: #fff; }
[role="tabpanel"][hidden] { display: none; }

/* Barra de fase */
.stage__label { font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.stage { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.stage i { height: 4px; background: var(--line); }
.stage i.on { background: var(--c, var(--accent)); }

/* 5. SECÇÕES --------------------------------------------------------------- */

/* Hero principal */
.hero { position: relative; min-height: min(86vh, 780px); display: flex; align-items: flex-end; background: var(--ink); color: #fff; overflow: hidden; }
.hero__img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(8,32,25,.92) 0%, rgba(8,32,25,.72) 42%, rgba(8,32,25,.15) 75%, rgba(8,32,25,.05) 100%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 260px; z-index: 1; background: linear-gradient(0deg, rgba(8,32,25,.85), rgba(8,32,25,0)); }
.hero__ribbon { position: absolute; z-index: 2; right: 6%; top: 80px; width: clamp(140px, 16vw, 230px); opacity: .92; }
.hero__content { position: relative; z-index: 3; padding-block: 120px 72px; }
.hero .eyebrow { color: var(--mint); letter-spacing: .22em; }
.hero h1 { margin-top: 28px; max-width: 900px; font-size: clamp(42px, 6.4vw, 92px); }
.hero .lead { max-width: 560px; margin: 32px 0 40px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Método */
.method__line { height: 2px; margin-top: clamp(48px, 6vw, 72px); background: var(--spectrum); }
.method__steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 32px; margin-top: -9px; }
.method__dot { width: 16px; height: 16px; border-radius: 50%; border: 4px solid var(--ink); box-sizing: content-box; }
.method__n { font-family: var(--font-display); font-size: 15px; color: var(--sage); margin-top: 24px; }
.method__steps h3 { font-size: 21px; font-weight: 600; margin: 10px 0 12px; }
.method__steps p { font-size: 15px; line-height: 1.7; color: rgba(255,255,255,.75); }

/* Serviços */
.service { padding: clamp(32px, 3.5vw, 44px) clamp(28px, 3vw, 40px); }
.service__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.service__head span { font-family: var(--font-display); color: var(--blue); }
.service > p { font-size: 15px; line-height: 1.7; color: #4A5651; margin: 16px 0 24px; }

/* Cartões de iniciativa */
.initiative { display: flex; flex-direction: column; background: #fff; color: var(--text); border-radius: var(--radius); overflow: hidden; transition: transform .35s ease, box-shadow .35s ease; }
.initiative:hover { text-decoration: none; transform: translateY(-6px); box-shadow: 0 24px 48px rgba(11,42,33,.14); }
.initiative__cover { position: relative; overflow: hidden; min-height: 200px; padding: 36px 32px; display: flex; flex-direction: column; justify-content: space-between; color: #fff; background: var(--c); }
.initiative__cover small { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: rgba(255,255,255,.88); position: relative; }
.initiative__cover strong { font-family: var(--font-display); font-weight: 300; font-size: 64px; line-height: 1; position: relative; }
.initiative__cover strong.is-long { font-size: 44px; line-height: 1.05; }
.initiative__body { padding: 32px; flex: 1; display: flex; flex-direction: column; }
.initiative__body p { font-size: 15px; line-height: 1.65; color: #4A5651; margin: 12px 0 28px; flex: 1; }
.initiative__more { margin-top: 28px; font-weight: 700; font-size: 15px; color: var(--ct, var(--c)); }
.deco-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); }
.deco-leaf { position: absolute; border-radius: 0 60% 0 60%; border: 1px solid rgba(255,255,255,.25); }
.deco-bars { position: absolute; right: 28px; bottom: 28px; display: flex; gap: 8px; align-items: flex-end; opacity: .35; }
.deco-bars i { width: 14px; background: #fff; }

/* Agricultura */
.agri { background: var(--green-deep); color: #fff; }
.agri .eyebrow { color: var(--mint); }
.agri .lead { color: rgba(255,255,255,.84); }
.agri__media { flex: 1 1 420px; min-height: 440px; border-radius: var(--radius); background: #3B5E20; border: 1px dashed rgba(255,255,255,.4); color: rgba(255,255,255,.85); }
.mini-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px; margin-top: 36px; }
.mini-cols > div { border-top: 1px solid rgba(255,255,255,.3); padding-top: 16px; }
.mini-cols span { display: block; font-size: 14px; color: rgba(255,255,255,.75); margin-top: 6px; }

/* Fundadora (bloco na home) */
.portrait { position: relative; flex: 1 1 340px; max-width: 460px; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; border-radius: var(--radius); background: var(--line-soft); }
.portrait::after { content: ""; position: absolute; left: -18px; bottom: -18px; width: 120px; height: 120px; border-left: 3px solid var(--leaf); border-bottom: 3px solid var(--leaf); }
.quote { font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: clamp(22px, 2.2vw, 26px); line-height: 1.45; color: var(--ink); }

/* Artigos e redes */
.article__img { aspect-ratio: 16 / 10; border-radius: var(--radius); }
.article__kicker { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin: 22px 0 10px; }
.article h3 { font-family: var(--font-display); font-weight: 400; font-size: 24px; line-height: 1.25; }
.article h3 a { color: var(--text); }
.post { border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 20px; background: #fff; }
.post__head { display: flex; gap: 10px; align-items: center; }
.post__avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--blue); }
.post__media { aspect-ratio: 16 / 9; background: var(--sand); margin-top: 14px; border-radius: 2px; }

/* Contacto */
.contact__item { display: flex; flex-direction: column; }
.contact__item small { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.65); }
.contact__item a, .contact__item span { font-size: 20px; font-weight: 500; color: #fff; }

/* Página da fundadora */
.profile-hero { background: var(--ink); color: #fff; overflow: hidden; }
.profile-hero__inner { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-end; padding-top: clamp(64px, 8vw, 96px); }
.profile-hero__text { flex: 999 1 520px; min-width: 0; padding-bottom: clamp(56px, 8vw, 96px); }
.profile-hero h1 { font-family: var(--font-display); font-weight: 300; font-size: clamp(64px, 9vw, 140px); line-height: .92; letter-spacing: -.03em; margin-top: 28px; }
.profile-hero__photo { flex: 1 1 340px; max-width: 480px; position: relative; }
.profile-hero__photo img.photo { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; border-radius: var(--radius) var(--radius) 0 0; }
.profile-hero__photo .ribbon { position: absolute; left: -90px; top: 40px; width: 220px; z-index: 0; }
.chips-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }

.timeline__nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); margin-top: 56px; }
.timeline__btn { position: relative; text-align: left; background: transparent; border: 0; border-top: 2px solid rgba(255,255,255,.2); color: rgba(255,255,255,.65); padding: 0 16px 8px 0; cursor: pointer; min-height: 44px; transition: color .2s, border-color .2s; }
.timeline__btn::before { content: ""; position: absolute; top: -8px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); border: 2px solid rgba(255,255,255,.4); transition: all .2s; }
.timeline__btn b { display: block; font-family: var(--font-display); font-size: 34px; font-weight: 300; margin-top: 22px; }
.timeline__btn span { display: block; font-size: 13px; margin-top: 6px; }
.timeline__btn[aria-selected="true"] { color: #fff; border-top-color: var(--mint); }
.timeline__btn[aria-selected="true"]::before { background: #E35D9B; border-color: var(--mint); }
.timeline__panel { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 48px; padding: clamp(28px, 4vw, 48px); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); }
.timeline__year { flex: 1 1 220px; font-family: var(--font-display); font-size: clamp(56px, 6vw, 80px); font-weight: 300; line-height: 1; color: var(--mint); }
.timeline__body { flex: 999 1 420px; min-width: 0; }
.timeline__body h3 { font-size: 26px; font-weight: 600; margin-bottom: 16px; }
.timeline__body p { font-size: 17px; line-height: 1.75; color: rgba(255,255,255,.82); }

.area { display: flex; gap: 24px; padding: 28px 0; border-top: 1px solid var(--line); }
.area > span { font-family: var(--font-display); color: var(--blue); font-size: 18px; }
.area h3 { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.area p { font-size: 15px; line-height: 1.65; color: #4A5651; }
.areas { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); column-gap: 48px; border-bottom: 1px solid var(--line); }

.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile { border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; background: #E4E2D9; transition: transform .35s ease; }
.tile:hover { transform: scale(1.015); }
.tile--wide { grid-column: span 2; }
.tile--full { grid-column: 1 / -1; }
.tile--tall { min-height: 420px; justify-content: space-between; }
.tile--ink { background: #1D3A30; color: #fff; }
.tile--blue { background: var(--blue); color: #fff; }
.tile--green { background: var(--green); color: #fff; }
.tile small { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; opacity: .85; }
.tile h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; margin-top: 10px; }
.tile p { font-size: 15px; line-height: 1.6; opacity: .85; margin-top: 10px; max-width: 560px; }
.tile__ph { font-size: 13px; opacity: .7; }

.honour { padding: 32px; }
.honour strong { display: block; font-family: var(--font-display); font-size: 26px; font-weight: 400; }
.honour span { display: block; font-size: 14px; color: var(--muted); margin-top: 8px; }

.press { border-top: 2px solid var(--ink); padding-top: 22px; }
.press small { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.press h3 { font-family: var(--font-display); font-weight: 400; font-size: 23px; line-height: 1.3; margin: 12px 0; }

.download { display: flex; justify-content: space-between; align-items: center; gap: 16px; background: #fff; padding: 22px 24px; border-radius: var(--radius); color: var(--text); }
.download:hover { text-decoration: none; box-shadow: 0 10px 24px rgba(11,42,33,.08); }
.download b { display: block; }
.download small { font-size: 13px; color: var(--muted); }
.download i { color: var(--blue); font-style: normal; font-size: 20px; }

/* Origem do nome */
.origin { position: relative; background: #EFEDE6; overflow: hidden; }
.origin__grid { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(48px, 7vw, 112px); }
.origin__visual { flex: 1 1 320px; max-width: 460px; position: relative; }
.origin__visual svg { width: 100%; height: auto; display: block; overflow: visible; }
.origin__visual figcaption { margin-top: 20px; font-size: 13px; color: var(--muted); max-width: 320px; }
.origin__text { flex: 999 1 480px; min-width: 0; }
.origin__word { font-family: var(--font-display); font-weight: 300; font-size: clamp(64px, 9vw, 132px); line-height: .9; letter-spacing: -.03em; color: var(--ink); margin-top: 18px; }
.origin__meaning { font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: clamp(22px, 2.2vw, 28px); color: var(--leaf); margin-top: 18px; }
.origin__text .statement { margin-top: 40px; }
.origin__text .text { margin-top: 28px; max-width: 600px; }

/* Movimento (aplicado pelo main.js só quando o GSAP está disponível) */
.line-mask { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.line-mask > span { display: inline-block; will-change: transform; }
.js-motion .clip-reveal { clip-path: inset(100% 0 0 0); }
.js-motion .reveal { transition: none; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* 6. PÁGINAS DE INICIATIVA ------------------------------------------------- */
.theme-mma  { --accent: #0A5592; --accent-text: #0A5592; --accent-deep: #08355C; --accent-soft: #CFE0F2; }
.theme-mcri { --accent: #3E6620; --accent-text: #3E6620; --accent-deep: #2C4A15; --accent-soft: #DDEBD0; }
.theme-ei   { --accent: #B4621A; --accent-text: #9A5214; --accent-deep: #0B2A21; --accent-soft: #F6DFC6; }

.i-hero { position: relative; overflow: hidden; background: var(--accent-deep); color: #fff; }
.theme-mma .i-hero { background: var(--accent); }
.i-hero__content { position: relative; z-index: 2; padding-block: clamp(80px, 10vw, 120px) clamp(88px, 10vw, 130px); }
.i-hero__meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-soft); }
.i-hero h1 { margin-top: 32px; max-width: 900px; }
.i-hero h1 em { color: var(--accent-soft); }
.theme-ei .i-hero h1 em { color: #F6B97A; }
.i-hero__tagline { font-size: clamp(18px, 1.8vw, 22px); font-weight: 500; margin-top: 28px; color: var(--accent-soft); }
.i-hero .lead { max-width: 600px; margin: 24px 0 40px; color: rgba(255,255,255,.88); }
.i-hero__art { position: absolute; inset: 0; z-index: 1; pointer-events: none; }

.datum .num { font-size: clamp(44px, 4.4vw, 54px); color: var(--accent-text); }
.datum p { font-size: 15px; line-height: 1.6; color: var(--body); margin: 16px 0 14px; }
.datum small { font-size: 12px; color: var(--muted); }

.step__head { display: flex; align-items: center; gap: 16px; }
.step__n { width: 56px; height: 56px; flex: none; border-radius: 50%; border: 1px solid var(--accent); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 20px; color: var(--accent-text); }
.step__n--fill { background: var(--accent); color: #fff; }
.step p { margin-top: 20px; }

.corridor { display: flex; flex-wrap: wrap; gap: 32px; }
.corridor__map { flex: 1 1 400px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 40px); }
.corridor__map small, .corridor__info small { display: block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-soft); }
.node { display: flex; align-items: center; gap: 16px; }
.node i { width: 18px; height: 18px; flex: none; border-radius: 50%; }
.node--port i { background: #F29A3E; }
.node--prov i { border: 2px solid #fff; }
.node--hint i { border: 2px solid var(--accent-soft); border-radius: 4px; }
.node--port span { font-family: var(--font-display); font-size: 28px; }
.node span { font-size: 18px; }
.edge { margin-left: 8px; width: 2px; height: 48px; background: rgba(255,255,255,.35); }
.corridor__info { flex: 1 1 360px; display: flex; flex-direction: column; gap: 24px; }
.corridor__info .sectors { font-family: var(--font-display); font-size: clamp(24px, 2.6vw, 30px); line-height: 1.3; margin-top: 10px; }

.roadmap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; margin-top: 32px; }
.roadmap > div { border-top: 4px solid var(--line); padding-top: 20px; }
.roadmap > div.done { border-top-color: var(--accent); }
.roadmap small { font-size: 13px; font-weight: 700; color: var(--muted); }
.roadmap .done small { color: var(--accent-text); }
.roadmap b { display: block; font-size: 20px; font-weight: 600; margin-top: 6px; }
.roadmap span { display: block; font-size: 14px; color: var(--muted); margin-top: 6px; }

.quiz { display: flex; flex-direction: column; gap: 12px; }
.quiz__q { margin: 0; min-width: 0; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-lg); padding: 24px 28px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.quiz__q small { font-size: 12px; color: var(--accent-soft); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.quiz__text { flex: 1 1 320px; font-size: 17px; line-height: 1.5; margin-top: 6px; }
.quiz__opts { display: flex; gap: 8px; }
.quiz__opts label { position: relative; }
.quiz__opts input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.quiz__opts span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 2px; border: 1px solid rgba(255,255,255,.4); font-size: 14px; font-weight: 600; }
.quiz__opts input:checked + span { background: #fff; color: var(--accent-deep); border-color: #fff; }
.quiz__opts input:focus-visible + span { outline: 3px solid #E9A23B; outline-offset: 2px; }
.result { background: #fff; color: var(--text); border-radius: var(--radius-lg); padding: 32px; margin-top: 40px; }
.result__score { display: flex; align-items: baseline; gap: 8px; margin-top: 10px; }
.result__score b { font-family: var(--font-display); font-weight: 300; font-size: 72px; line-height: 1; color: var(--accent-text); }
.result__bars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin: 18px 0; }
.result__bars i { height: 6px; border-radius: 3px; background: var(--line-soft); transition: background .3s; }
.result__bars i.on { background: var(--accent); }
.result h3 { font-size: 19px; font-weight: 700; }
.result p { font-size: 15px; line-height: 1.6; color: var(--body); margin: 8px 0 12px; }

.kpi { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 28px; }
.kpi h3 { font-size: 14px; font-weight: 600; color: var(--body); }
.kpi .num { font-size: 48px; margin: 18px 0 8px; }
.kpi__spark { display: flex; gap: 4px; align-items: flex-end; height: 40px; margin: 22px 0 16px; }
.kpi__spark i { flex: 1; background: #F1E3D3; }
.kpi__spark i:last-child { background: var(--accent); }
.kpi footer { font-size: 12px; color: var(--muted); border-top: 1px solid #ECEAE3; padding-top: 12px; }

.flow { display: flex; flex-wrap: wrap; gap: 16px; align-items: stretch; }
.flow > .card { flex: 1 1 260px; background: var(--paper); }
.flow > .card--accent { background: var(--accent); color: #fff; }
.flow > .card--accent p { color: rgba(255,255,255,.92); }
.flow__arrow { display: flex; align-items: center; font-size: 28px; color: var(--accent); }

.subscribe { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; flex: 1 1 440px; }
.subscribe .field { flex: 1 1 260px; }
.subscribe input { min-height: 52px; border: 0; border-radius: 2px; padding: 0 20px; font-size: 15px; background: #fff; color: var(--text); }

/* 7. ANIMAÇÕES ------------------------------------------------------------- */
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.draw path { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 2.4s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* 8. RESPONSIVO ------------------------------------------------------------ */
@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line-soft); padding: 8px var(--gutter) 24px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .25s; }
  .nav a { display: flex; align-items: center; width: 100%; min-height: 52px; font-size: 18px; border-bottom: 1px solid var(--line-soft); }
  .nav-open .nav { transform: none; opacity: 1; visibility: visible; }
  .mosaic { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  :root { --header-h: 72px; }
  .brand img { height: 34px; }
  .site-header.is-scrolled .brand img { height: 30px; }
  .site-header.is-scrolled .site-header__inner { min-height: 64px; }
  .header-actions .btn, .lang { display: none; }
  .header-actions .btn--keep { display: inline-flex; }
  .strip > div { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .hero__ribbon, .hide-sm { display: none; }
  .hero::before { background: linear-gradient(180deg, rgba(8,32,25,.55) 0%, rgba(8,32,25,.82) 55%, rgba(8,32,25,.92) 100%); }
  .mosaic { grid-template-columns: 1fr; }
  .tile--wide { grid-column: auto; }
  .profile-hero__photo .ribbon { display: none; }
  .flow__arrow { display: none; }
  .stats > div { padding-right: 0; }
}
