/* =========================================================
   REDE ORGANIZE — Landing Page
   Estrutura:
   1. Tokens   2. Base   3. Utilitários   4. Botões
   5. Header   6. Hero   7. Marquee   8. Sobre   9. Missão
   10. Frentes + HUB   11. Impacto   12. Footer   13. Extras
   14. Reveal / animações   15. Responsivo   16. Reduced motion
   ========================================================= */

/* ---------- 1. TOKENS ---------- */
:root {
  --radius: 1rem;
  --background: oklch(0.985 0.005 300);
  --foreground: oklch(0.22 0.06 300);
  --card: oklch(1 0 0);
  --primary: oklch(0.48 0.2 300);
  --primary-foreground: oklch(0.99 0 0);
  --primary-soft: oklch(0.95 0.03 300);
  --plum: oklch(0.26 0.09 300);
  --secondary: oklch(0.96 0.015 300);
  --muted-foreground: oklch(0.5 0.04 300);
  --border: oklch(0.91 0.02 300);
  --orange: oklch(0.72 0.17 50);
  --pink: oklch(0.66 0.21 350);
  --sky: oklch(0.65 0.14 240);
  --leaf: oklch(0.66 0.15 150);

  --gradient-brand: linear-gradient(135deg, oklch(0.48 0.2 300), oklch(0.6 0.22 330));
  --gradient-ig: linear-gradient(45deg, oklch(0.8 0.17 80), oklch(0.65 0.24 20), oklch(0.55 0.25 340), oklch(0.5 0.22 290));
  --shadow-elegant: 0 20px 50px -20px color-mix(in oklab, var(--primary) 45%, transparent);

  --font-display: "Fraunces", Georgia, serif;
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

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

/* ---------- 2. BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; border-color: var(--border); }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; }
em { font-style: italic; }
::selection { background: var(--primary); color: #fff; }
:focus-visible { outline: 3px solid color-mix(in oklab, var(--primary) 70%, white); outline-offset: 3px; border-radius: 6px; }

/* ---------- 3. UTILITÁRIOS ---------- */
.container { width: 100%; max-width: 80rem; margin-inline: auto; padding-inline: 1.25rem; }
.container--narrow { max-width: 48rem; }
.icon { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.skip-link { position: fixed; top: -60px; left: 1rem; z-index: 200; background: var(--primary); color: #fff; padding: .6rem 1rem; border-radius: 999px; transition: top .2s; }
.skip-link:focus { top: 1rem; }

.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .25em; text-transform: uppercase; color: var(--primary); }
.eyebrow--orange { color: var(--orange); }

.section-head { max-width: 42rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-title { margin-top: .75rem; font-size: clamp(1.9rem, 4.2vw, 3rem); color: var(--plum); }

section { position: relative; }

/* ---------- 4. BOTÕES ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.5rem; border-radius: 999px; font-weight: 600;
  transition: transform .3s var(--ease-out), box-shadow .3s, background .3s, filter .3s;
  will-change: transform;
}
.btn--sm { padding: .6rem 1.25rem; font-size: .875rem; }
.btn--primary { background-image: var(--gradient-brand); color: var(--primary-foreground); box-shadow: var(--shadow-elegant); }
.btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease-out);
}
.btn--primary:hover::before { transform: translateX(120%); }
.btn--primary:hover { filter: brightness(1.08); box-shadow: 0 25px 55px -18px color-mix(in oklab, var(--primary) 70%, transparent); }
.btn--ghost { border: 1px solid color-mix(in oklab, var(--primary) 30%, transparent); background: var(--card); color: var(--primary); }
.btn--ghost:hover { background: var(--primary-soft); }
.btn--white { background: var(--card); color: var(--primary); }
.btn--white .icon { transition: transform .3s var(--ease-out); }
.btn--white:hover .icon, .btn--primary:hover .icon { transform: translateX(4px); }
.btn .icon { transition: transform .3s var(--ease-out); }

/* efeito ripple (criado via JS) */
.ripple { position: absolute; border-radius: 50%; background: rgba(255,255,255,.45); transform: scale(0); animation: ripple .65s ease-out forwards; pointer-events: none; z-index: -1; }
.btn--ghost .ripple { background: color-mix(in oklab, var(--primary) 25%, transparent); }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* ---------- 5. HEADER ---------- */
.header {
  position: sticky; top: 0; z-index: 90;
  border-bottom: 1px solid color-mix(in oklab, var(--border) 60%, transparent);
  background: color-mix(in oklab, var(--background) 80%, transparent);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transition: transform .45s var(--ease-out), box-shadow .3s, background .3s;
}
.header.is-scrolled { box-shadow: 0 10px 30px -18px color-mix(in oklab, var(--primary) 50%, transparent); }
.header.is-hidden { transform: translateY(-100%); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: .75rem; transition: padding .3s; }
.header.is-scrolled .header__inner { padding-block: .45rem; }

.logo { display: flex; align-items: center; gap: .75rem; }
.logo__img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; transition: transform .6s var(--ease-out); }
.logo:hover .logo__img { transform: rotate(360deg) scale(1.05); }
.logo__text { line-height: 1; }
.logo__top { display: block; font-size: 10px; font-weight: 600; letter-spacing: .3em; color: var(--muted-foreground); }
.logo__bottom { display: block; font-size: 1.125rem; font-weight: 700; letter-spacing: .08em; color: var(--primary); }

.nav { display: none; align-items: center; gap: 1.75rem; }
.nav__link { position: relative; font-size: .875rem; font-weight: 500; color: var(--muted-foreground); padding-block: .25rem; transition: color .25s; }
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px;
  background: var(--gradient-brand); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-out);
}
.nav__link:hover, .nav__link.is-active { color: var(--primary); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.header__cta { display: none; }

/* Burger */
.burger { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; }
.burger .icon { position: absolute; width: 1.5rem; height: 1.5rem; transition: transform .4s var(--ease-out), opacity .3s; }
.burger .icon--close { opacity: 0; transform: rotate(-90deg) scale(.5); }
.burger[aria-expanded="true"] .icon--open { opacity: 0; transform: rotate(90deg) scale(.5); }
.burger[aria-expanded="true"] .icon--close { opacity: 1; transform: none; }

/* Menu mobile */
.mobile-menu { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease-out); }
.mobile-menu__inner { overflow: hidden; display: flex; flex-direction: column; gap: 1rem; padding-inline: 1.25rem; }
.mobile-menu.is-open { grid-template-rows: 1fr; border-top: 1px solid var(--border); }
.mobile-menu.is-open .mobile-menu__inner { padding-block: 1.25rem; }
.mobile-menu a:not(.btn) { font-weight: 500; opacity: 0; transform: translateX(-16px); transition: opacity .4s, transform .5s var(--ease-out), color .2s; }
.mobile-menu a:not(.btn):hover { color: var(--primary); }
.mobile-menu .btn { opacity: 0; transform: translateY(10px); transition: opacity .4s .3s, transform .5s .3s var(--ease-out); }
.mobile-menu.is-open a:not(.btn), .mobile-menu.is-open .btn { opacity: 1; transform: none; }
.mobile-menu.is-open a:nth-child(1) { transition-delay: .05s; }
.mobile-menu.is-open a:nth-child(2) { transition-delay: .1s; }
.mobile-menu.is-open a:nth-child(3) { transition-delay: .15s; }
.mobile-menu.is-open a:nth-child(4) { transition-delay: .2s; }
.mobile-menu.is-open a:nth-child(5) { transition-delay: .25s; }

/* ---------- 6. HERO ---------- */
.hero { padding-top: 4rem; padding-bottom: 5rem; overflow: hidden; }
.hero__blob { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; will-change: transform; }
.hero__blob--1 { top: -10rem; right: -10rem; width: 31rem; height: 31rem; background: color-mix(in oklab, var(--primary) 18%, transparent); animation: blob 14s ease-in-out infinite; }
.hero__blob--2 { bottom: -8rem; left: -9rem; width: 26rem; height: 26rem; background: color-mix(in oklab, var(--pink) 16%, transparent); animation: blob 18s ease-in-out infinite reverse; }
.hero__blob--3 { top: 35%; left: 42%; width: 14rem; height: 14rem; background: color-mix(in oklab, var(--orange) 14%, transparent); animation: blob 11s ease-in-out infinite; }
@keyframes blob {
  0%, 100% { translate: 0 0; scale: 1; }
  33% { translate: 40px -30px; scale: 1.1; }
  66% { translate: -30px 30px; scale: .94; }
}

.hero__grid { position: relative; display: grid; gap: 3.5rem; align-items: center; }

.badge { display: inline-flex; align-items: center; gap: .5rem; padding: .375rem 1rem; border-radius: 999px; background: var(--primary-soft); color: var(--primary); font-size: .875rem; font-weight: 500; }
.badge__dot { position: relative; width: .5rem; height: .5rem; border-radius: 50%; background: var(--orange); }
.badge__dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--orange); animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3.2); opacity: 0; } }

.hero__title { margin-top: 1.5rem; font-size: clamp(2.35rem, 6.4vw, 3.9rem); line-height: 1.08; color: var(--plum); }
.hero__title em { color: var(--primary); background: var(--gradient-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; background-size: 200% 100%; animation: gradientShift 6s ease-in-out infinite; padding-right: .06em; }
@keyframes gradientShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* palavras animadas (JS) */

.hero__text { margin-top: 1.5rem; max-width: 36rem; font-size: 1.125rem; color: var(--muted-foreground); }
.hero__text strong { color: var(--foreground); }
.hero__actions { margin-top: 2rem; display: flex; flex-direction: column; gap: .75rem; }

.hero__visual { position: relative; perspective: 1200px; }
.hero__frame { position: relative; transform-style: preserve-3d; transition: transform .25s ease-out; will-change: transform; }
.hero__backplate { position: absolute; inset: -1rem; border-radius: 2.5rem; background: var(--gradient-brand); opacity: .2; transform: rotate(3deg); animation: sway 8s ease-in-out infinite; }
@keyframes sway { 0%, 100% { transform: rotate(3deg); } 50% { transform: rotate(-1.5deg) scale(1.02); } }
.hero__photo { position: relative; overflow: hidden; border-radius: 2rem; box-shadow: var(--shadow-elegant); aspect-ratio: 4 / 4.3; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover;  }
.hero__shine { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.28) 50%, transparent 65%); transform: translateX(-130%); animation: shine 6s ease-in-out 2s infinite; pointer-events: none; }
@keyframes shine { 0%, 55% { transform: translateX(-130%); } 100% { transform: translateX(130%); } }

.float-card { position: absolute; bottom: -1.5rem; left: -1rem; padding: 1rem; border-radius: 1rem; background: var(--card); box-shadow: var(--shadow-elegant); animation: floatY 5s ease-in-out infinite; transform: translateZ(60px); }
.float-card__num { font-family: var(--font-display); font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; font-size: 1.875rem; font-weight: 600; color: var(--primary); line-height: 1.1; }
.float-card__label { font-size: .875rem; color: var(--muted-foreground); }
@keyframes floatY { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }

.spark { position: absolute; color: var(--orange); animation: twinkle 3s ease-in-out infinite; }
.spark .icon { width: 100%; height: 100%; }
.spark--1 { top: -1.25rem; right: 1.5rem; width: 2.25rem; height: 2.25rem; }
.spark--2 { bottom: 28%; right: -1.25rem; width: 1.5rem; height: 1.5rem; color: var(--pink); animation-delay: 1.2s; }
@keyframes twinkle { 0%, 100% { opacity: .35; transform: scale(.8) rotate(0); } 50% { opacity: 1; transform: scale(1.15) rotate(20deg); } }

.orb { position: absolute; border-radius: 50%; animation: floatY 6s ease-in-out infinite; }
.orb--1 { top: 18%; left: -1.5rem; width: 1.1rem; height: 1.1rem; background: var(--pink); }
.orb--2 { bottom: 12%; right: 1rem; width: .8rem; height: .8rem; background: var(--sky); animation-delay: 1.5s; }

.scroll-hint { position: absolute; left: 50%; bottom: 1.25rem; translate: -50% 0; display: none; opacity: .7; }
.scroll-hint__mouse { display: block; width: 24px; height: 38px; border: 2px solid var(--primary); border-radius: 14px; position: relative; }
.scroll-hint__mouse span { position: absolute; top: 7px; left: 50%; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px; background: var(--primary); animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 80%, 100% { transform: translateY(14px); opacity: 0; } }

/* ---------- 7. MARQUEE ---------- */

/* ---------- 8. SOBRE ---------- */
.about { overflow: hidden; background: var(--plum); padding-block: 5rem; margin-top: 2rem; }
.about__inner { position: relative; max-width: 56rem; text-align: center; }

.about__emblem { position: relative; width: 6rem; height: 6rem; margin: 0 auto; display: grid; place-items: center; }
.about__emblem img { position: relative; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; box-shadow: var(--shadow-elegant); animation: floatY 5s ease-in-out infinite; }
.ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid color-mix(in oklab, var(--pink) 60%, transparent); animation: ringOut 3.6s ease-out infinite; }
.ring--2 { animation-delay: 1.2s; }
.ring--3 { animation-delay: 2.4s; }
@keyframes ringOut { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(2.6); opacity: 0; } }

.about .eyebrow { margin-top: 2rem; }
.about__title { margin-top: 1rem; font-size: clamp(2.25rem, 6.4vw, 3.75rem); line-height: 1.08; color: var(--primary-foreground); }
.about__title em { color: var(--pink); background: linear-gradient(90deg, var(--pink), var(--orange), var(--pink)); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: gradientShift 5s linear infinite; }
.about__text { margin: 2rem auto 0; max-width: 42rem; font-size: 1.125rem; color: color-mix(in oklab, var(--primary-foreground) 75%, transparent); }

/* ---------- 9. MISSÃO ---------- */
.mission { padding-block: 5rem; }

.tabs { position: relative; display: inline-flex; margin-top: 2rem; padding: .25rem; border-radius: 999px; background: var(--secondary); }
.tabs__indicator { position: absolute; top: .25rem; bottom: .25rem; left: 0; width: 0; border-radius: 999px; background-image: var(--gradient-brand); box-shadow: var(--shadow-elegant); transition: transform .5s var(--ease-out), width .5s var(--ease-out); }
.tabs__btn { position: relative; z-index: 1; padding: .5rem 1.5rem; border-radius: 999px; font-size: .875rem; font-weight: 600; color: var(--muted-foreground); transition: color .3s; }
.tabs__btn:hover { color: var(--primary); }
.tabs__btn.is-active { color: var(--primary-foreground); }
.tabs__panels { margin-top: 2rem; min-height: 11rem; }
.tabs__panel { font-size: 1.25rem; line-height: 1.7; color: color-mix(in oklab, var(--foreground) 80%, transparent); }
.tabs__panel.is-active { animation: panelIn .6s var(--ease-out); }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }

.grid { display: grid; gap: 1.25rem; }
.grid--values { margin-top: 4rem; grid-template-columns: 1fr; }

/* Cards (comuns) */
.card { position: relative; overflow: hidden; border-radius: 1rem; background: var(--card); border: 1px solid var(--border); padding: 1.5rem; transition: box-shadow .4s, border-color .4s; will-change: transform; }
.card:hover { box-shadow: var(--shadow-elegant); }
.card h3 { margin-top: 1.25rem; font-family: var(--font-sans); font-size: 1.125rem; font-weight: 600; color: var(--plum); line-height: 1.3; }
.card p { margin-top: .25rem; font-size: .875rem; color: var(--muted-foreground); }

.card__icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: .75rem; background: var(--primary-soft); color: var(--c, var(--primary)); transition: transform .5s var(--ease-out), background .3s, color .3s; }
.card__icon .icon { width: 1.5rem; height: 1.5rem; }
.card:hover .card__icon { transform: scale(1.12) rotate(-8deg); background: var(--c); color: #fff; }

/* Spotlight (brilho que segue o mouse) */
.spotlight::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), color-mix(in oklab, var(--c, var(--primary)) 18%, transparent), transparent 60%);
}
.spotlight:hover::before { opacity: 1; }
.spotlight > * { position: relative; }

/* ---------- 10. FRENTES + HUB ---------- */
.fronts { background: var(--secondary); padding-block: 5rem; }
.grid--fronts { margin-top: 3rem; grid-template-columns: 1fr; }
.card--front { border-radius: 1.5rem; border-color: transparent; padding: 1.75rem; }
.card--front .card__icon { border-radius: 1rem; background: var(--c); color: var(--primary-foreground); }
.card--front:hover .card__icon { background: var(--c); }
.card--front h3 { margin-top: 1.5rem; }
.card--front p { margin-top: .5rem; }
.card__blob { position: absolute !important; top: -2.5rem; right: -2.5rem; width: 7rem; height: 7rem; border-radius: 50%; background: var(--c); opacity: .15; transition: transform .7s var(--ease-out), opacity .4s; }
.card--front:hover .card__blob { transform: scale(3.2); opacity: .12; }

.hub { position: relative; overflow: hidden; margin-top: 2rem; padding: 2rem; border-radius: 1.5rem; color: var(--primary-foreground); background-image: linear-gradient(135deg, oklch(0.48 0.2 300), oklch(0.6 0.22 330), oklch(0.5 0.21 310), oklch(0.48 0.2 300)); background-size: 300% 300%; animation: gradientMove 12s ease-in-out infinite; }
@keyframes gradientMove { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.hub__shine { position: absolute; inset: 0; background: linear-gradient(110deg, transparent 40%, rgba(255,255,255,.14) 50%, transparent 60%); transform: translateX(-100%); animation: shine 7s ease-in-out 1s infinite; pointer-events: none; }
.hub__top { position: relative; display: grid; gap: 2rem; align-items: center; }
.hub__icon { display: grid; place-items: center; width: 4rem; height: 4rem; border-radius: 1rem; background: color-mix(in oklab, var(--primary-foreground) 15%, transparent); animation: floatY 4s ease-in-out infinite; }
.hub__icon .icon { width: 2rem; height: 2rem; }
.hub__eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .25em; text-transform: uppercase; opacity: .8; }
.hub__copy h3 { margin-top: .5rem; font-size: clamp(1.5rem, 3vw, 1.875rem); }
.hub__copy > p:last-child { margin-top: .5rem; opacity: .85; }
.hub__lead { position: relative; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid color-mix(in oklab, var(--primary-foreground) 20%, transparent); font-size: 1.125rem; font-weight: 500; line-height: 1.4; }
.hub__chips { position: relative; margin-top: 1.25rem; display: flex; flex-wrap: wrap; gap: .625rem; }
.hub__chips li { padding: .375rem 1rem; border-radius: 999px; font-size: .875rem; font-weight: 500; background: color-mix(in oklab, var(--primary-foreground) 15%, transparent); transition: transform .3s var(--ease-out), background .3s; cursor: default; }
.hub__chips li:hover { transform: translateY(-4px) scale(1.05); background: color-mix(in oklab, var(--primary-foreground) 28%, transparent); }

/* ---------- 11. IMPACTO ---------- */
.impact { padding-block: 5rem; }
.grid--impact { grid-template-columns: 1fr; gap: 1.5rem; }
.stat { position: relative; overflow: hidden; padding: 2rem; border-radius: 1.5rem; border: 1px solid var(--border); text-align: center; transition: box-shadow .4s; }
.stat:hover { box-shadow: var(--shadow-elegant); }
.stat__num { font-family: var(--font-display); font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; font-size: 3.75rem; font-weight: 600; line-height: 1.1; color: var(--c); }
.stat__label { margin-top: .75rem; color: var(--muted-foreground); }

/* ---------- 12. FOOTER ---------- */
.footer { position: relative; overflow: hidden; background: var(--plum); color: var(--primary-foreground); padding-top: 5rem; }
.footer__glow { position: absolute; top: -10rem; left: 50%; translate: -50% 0; width: 40rem; height: 22rem; border-radius: 50%; background: color-mix(in oklab, var(--pink) 30%, transparent); filter: blur(100px); animation: blob 14s ease-in-out infinite; pointer-events: none; }
.footer .container { position: relative; }
.footer__logo { width: fit-content; margin-inline: auto; padding: 1.5rem; border-radius: 2rem; background: #fff; box-shadow: var(--shadow-elegant); transition: transform .5s var(--ease-out); }
.footer__logo:hover { transform: rotate(-2deg) scale(1.04); }
.footer__logo img { width: 13rem; height: auto; }
.footer__cta { margin-top: 3rem; text-align: center; }
.footer__cta h2 { font-size: clamp(1.9rem, 4.6vw, 3rem); line-height: 1.12; }

.btn-ig { position: relative; display: inline-flex; align-items: center; gap: .75rem; margin-top: 2.5rem; padding: 1rem 2rem; border-radius: 999px; background-image: var(--gradient-ig); background-size: 200% 200%; animation: gradientMove 6s ease infinite; font-size: 1.125rem; font-weight: 700; box-shadow: var(--shadow-elegant); transition: transform .35s var(--ease-out); will-change: transform; }
.btn-ig::after { content: ""; position: absolute; inset: -6px; border-radius: inherit; border: 2px solid color-mix(in oklab, var(--pink) 70%, transparent); animation: ringPulse 2.4s ease-out infinite; pointer-events: none; }
@keyframes ringPulse { 0% { transform: scale(.96); opacity: .9; } 100% { transform: scale(1.18); opacity: 0; } }
.btn-ig:hover { transform: scale(1.06); }
.btn-ig .icon { width: 1.5rem; height: 1.5rem; }

.footer__mail { margin-top: 1.5rem; display: flex; align-items: center; justify-content: center; gap: .5rem; color: color-mix(in oklab, var(--primary-foreground) 75%, transparent); }
.footer__mail .icon { width: 1rem; height: 1rem; }
.footer__mail a { transition: color .2s; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease-out), color .2s; }
.footer__mail a:hover { color: var(--primary-foreground); background-size: 100% 1px; }

.footer__bottom { margin-top: 4rem; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.5rem; border-top: 1px solid color-mix(in oklab, var(--primary-foreground) 10%, transparent); font-size: .875rem; color: color-mix(in oklab, var(--primary-foreground) 60%, transparent); text-align: center; }
.footer__bottom p { display: flex; align-items: center; gap: .625rem; flex-wrap: wrap; justify-content: center; }
.footer__bottom img { width: 1.75rem; height: 1.75rem; border-radius: 50%; object-fit: cover; }
.footer__social { display: flex; gap: .75rem; }
.footer__social a { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: color-mix(in oklab, var(--primary-foreground) 10%, transparent); color: var(--primary-foreground); transition: background .3s, transform .4s var(--ease-out); }
.footer__social a:hover { background: var(--primary); transform: translateY(-4px) rotate(8deg); }
.footer__social .icon { width: 1rem; height: 1rem; }

/* ---------- 13. EXTRAS ---------- */
/* Barra de progresso */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 120; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--primary), var(--pink), var(--orange)); }

/* Brilho do cursor (somente mouse) */

/* Preloader */
@keyframes pop { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
@keyframes load { to { transform: scaleX(1); } }

/* Voltar ao topo */
.to-top { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 80; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--card); color: var(--primary); box-shadow: var(--shadow-elegant); opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none; transition: opacity .4s, transform .5s var(--ease-out); }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { transform: translateY(-4px); }
.to-top .icon { width: 1.1rem; height: 1.1rem; }
.to-top__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top__track { fill: none; stroke: var(--primary-soft); stroke-width: 3; }
.to-top__bar { fill: none; stroke: var(--primary); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 132; stroke-dashoffset: 132; }

/* Confete (criado via JS) */

/* ---------- 14. REVEAL ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease var(--d, 0s), transform .9s var(--ease-out) var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }
/* após a entrada, libera a transição rápida para o hover/tilt */
.js .card.reveal.is-visible, .js .stat.reveal.is-visible { transition: opacity .9s ease, box-shadow .4s, border-color .4s; }

/* ---------- 15. RESPONSIVO ---------- */
@media (min-width: 640px) {
  .hero__actions { flex-direction: row; }
  .float-card { left: -2rem; }
  .grid--values { grid-template-columns: repeat(2, 1fr); }
  .footer__logo { padding: 2rem; }
  .footer__logo img { width: 15rem; }
}
@media (min-width: 768px) {
  .hero { padding-top: 6rem; padding-bottom: 7rem; }
  .about, .mission, .fronts, .impact { padding-block: 7rem; }
  .grid--fronts { grid-template-columns: repeat(2, 1fr); }
  .grid--impact { grid-template-columns: repeat(3, 1fr); }
  .hub { padding: 3rem; }
  .hub__top { grid-template-columns: auto 1fr auto; }
  .hub__lead { font-size: 1.25rem; }
  .footer__bottom { flex-direction: row; }
  .about__emblem { width: 7rem; height: 7rem; }
  .scroll-hint { display: block; }
}
@media (min-width: 1024px) {
  .nav { display: flex; }
  .header__cta { display: inline-flex; }
  .burger, .mobile-menu { display: none; }
  .hero__grid { grid-template-columns: 1fr 1fr; }
  .grid--values { grid-template-columns: repeat(4, 1fr); }
  .grid--fronts { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- 16. MOVIMENTO REDUZIDO ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
}


/* ---------- 17. AJUSTES FINAIS (SEO, performance, a11y) ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.footer__tagline { margin-top: .75rem; max-width: 15rem; text-align: center; font-size: .8rem; line-height: 1.4; color: var(--primary); }
/* Entrada do hero via CSS: conteúdo visível sem esperar JavaScript (melhora o LCP) */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero__content > *, .hero__visual { animation: rise .8s var(--ease-out) both; }
.hero__content > :nth-child(2) { animation-delay: .08s; }
.hero__content > :nth-child(3) { animation-delay: .16s; }
.hero__content > :nth-child(4) { animation-delay: .24s; }
.hero__visual { animation-delay: .12s; }
@media (prefers-reduced-motion: reduce) { .hero__content > *, .hero__visual { animation: none; } }
/* Alvos de toque confortáveis no mobile */
.nav__link, .mobile-menu a, .btn, .burger, .footer__social a { min-height: 44px; }

/* Largura do conteúdo igual ao layout de referência (centralizado, com respiro lateral) */
.container { max-width: 72rem; }
@media (min-width: 768px) { .container { padding-inline: 2rem; } }
.container--narrow { max-width: 48rem; }
@media (min-width: 640px) { .btn { white-space: nowrap; } }
