/* Fernando Junior · DNA (preto, grafite, um acento raro) + liquid glass.
   Vidro e polimento adaptados do site da Solutec e das skills
   make-interfaces-feel-better / anti-ai-slop-writing. */

:root {
  --ink: #0a0a0a;
  --surface: #141416;
  --raised: #1c1c1e;
  --fg: #f4f4f5;
  --fg-85: rgb(244 244 245 / 0.85);
  --muted: #a1a1aa;
  --dim: #71717a;
  --line: rgb(255 255 255 / 0.08);

  /* Liquid glass (tokens no padrão Solutec, tema escuro) */
  --glass-bg: rgb(28 28 32 / 0.5);
  --glass-border: rgb(255 255 255 / 0.09);
  --glass-edge: rgb(255 255 255 / 0.16);
  --glass-sheen: rgb(255 255 255 / 0.06);
  --glass-shadow: 0 1px 1px rgb(0 0 0 / 0.25), 0 18px 48px -10px rgb(0 0 0 / 0.6);

  --f-display: "General Sans", "Inter", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1160px;
}

:root {
  --brand: #0a84ff; --brand-hover: #3b9dff; --brand-ink: #ffffff;
  --brand-soft: rgb(10 132 255 / 0.22);
  --mesh-1: rgb(10 132 255 / 0.16); --mesh-2: rgb(90 90 110 / 0.16); --mesh-3: rgb(10 70 160 / 0.2);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--fg-85); font: 400 16px/1.6 var(--f-body); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--fg); margin: 0; font-family: var(--f-display); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.mono { font-family: var(--f-mono); font-weight: 500; letter-spacing: .3px; }
.num { font-variant-numeric: tabular-nums; }
.accent { color: var(--brand); }
.muted { color: var(--dim); font-size: 13px; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.ico { width: 16px; height: 16px; flex: none; }

/* Malha de gradientes que o vidro refrata */
.bg-mesh {
  background-color: var(--ink);
  background-image:
    radial-gradient(60vw 50vh at 0% 0%, var(--mesh-1), transparent 70%),
    radial-gradient(50vw 60vh at 100% 15%, var(--mesh-3), transparent 70%),
    radial-gradient(70vw 50vh at 55% 100%, var(--mesh-2), transparent 70%);
  background-attachment: fixed;
}

/* ---------- liquid glass ---------- */
.glass {
  position: relative;
  background: linear-gradient(160deg, var(--glass-sheen), transparent 45%), var(--glass-bg);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  box-shadow:
    0 0 0 1px var(--glass-border),
    inset 0 1px 0 0 var(--glass-edge),
    inset 0 -1px 0 0 rgb(255 255 255 / 0.04),
    var(--glass-shadow);
}
/* sobre fotos: vidro claro independente do tema */
.glass-dark {
  background: linear-gradient(160deg, rgb(255 255 255 / 0.16), rgb(255 255 255 / 0.04));
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  box-shadow:
    0 0 0 1px rgb(255 255 255 / 0.16),
    inset 0 1px 0 rgb(255 255 255 / 0.28),
    0 10px 30px -10px rgb(0 0 0 / 0.45);
}
.inner { background: rgb(0 0 0 / 0.28); border-radius: 14px; box-shadow: 0 0 0 1px var(--line); }

/* ---------- eyebrow ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 12px/1.4 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; }

/* ---------- nav ---------- */
.nav-wrap { position: fixed; top: 12px; left: 0; right: 0; z-index: 50; padding: 0 var(--gutter); }
.nav { max-width: 980px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 6px 6px 18px; border-radius: 999px; }
.nav-brand { display: flex; align-items: center; min-height: 40px; }
.nav-brand img, .nav-brand .sig-svg { width: 96px; }
.sig-svg { display: block; height: auto; }
.nav-links { display: flex; gap: 2px; }
.nav-links a { padding: 8px 12px; border-radius: 999px; font-size: 14px; color: var(--muted); transition-property: color, background-color; transition-duration: .15s; transition-timing-function: ease-out; }
.nav-links a:hover, .nav-links a.active { color: var(--fg); background: rgb(255 255 255 / 0.07); }


/* ---------- botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 999px; font: 500 15px/1 var(--f-body);
  transition-property: background-color, box-shadow, scale; transition-duration: .15s; transition-timing-function: ease-out; }
.btn:active { scale: .96; }
.btn .ico { transition: translate .2s var(--ease); }
.btn:hover .ico { translate: 2px 0; }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn-primary { color: var(--brand-ink); background: var(--brand); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.25), 0 10px 28px -10px var(--brand); }
.btn-primary:hover { background: var(--brand-hover); }
.btn-glass { color: var(--fg); }
.btn-glass:hover { background-color: rgb(255 255 255 / 0.1); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

/* ---------- tipografia (escala menor) ---------- */
.h1 { font-size: clamp(34px, 4.4vw, 58px); line-height: 1.04; letter-spacing: -0.03em; font-weight: 600; }
.h2 { font-size: clamp(26px, 3vw, 40px); line-height: 1.1; letter-spacing: -0.02em; font-weight: 600; }
h3 { font-size: 17px; line-height: 1.35; font-weight: 600; letter-spacing: -0.01em; }
.lead { font-size: 17px; color: var(--muted); max-width: 500px; }
.sub { margin-top: 16px; font-size: 16px; color: var(--muted); max-width: 620px; }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; min-height: min(100svh, 860px); display: flex; align-items: center; overflow: hidden; }
.hero-photo, .hero-chips { position: absolute; inset: 0 0 0 auto; width: 56%; z-index: -1; }
.hero-chips { z-index: 1; pointer-events: none; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
/* máscara em vez de overlay: a foto se dissolve no fundo em malha sem deixar borda */
.hero-photo { -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 42%); mask-image: linear-gradient(90deg, transparent 0%, #000 42%); }
.hero-photo img { -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 26%); mask-image: linear-gradient(0deg, transparent 0%, #000 26%); }
.hero-inner { padding-top: 110px; padding-bottom: 72px; }
.hero-copy { max-width: 600px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-size: 13px; color: var(--fg-85); margin-bottom: 24px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 10px var(--brand); }
.h1 .accent { display: block; }
.hero .lead { margin-top: 20px; }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-meta { margin-top: 24px; font-size: 12px; color: var(--dim); }
.hero-chip { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; max-width: 250px; padding: 12px 16px; border-radius: 16px; font-size: 13px; line-height: 1.35; color: #fff; }
.hero-chip .num { font-size: 24px; font-weight: 500; line-height: 1; }
.hero-chip .ico { width: 20px; height: 20px; color: var(--brand); }
.chip-a { left: 22%; bottom: 14%; }
.chip-b { right: 6%; top: 26%; }
/* assinatura escrita sobre o blazer, canto inferior direito da foto */
.hero-sig { position: absolute; z-index: 2; right: 5%; bottom: 9%; width: 46%; max-width: 420px; filter: drop-shadow(0 2px 10px rgb(0 0 0 / 0.55)); }

/* ---------- marquee ---------- */
.marquee-wrap { overflow: hidden; padding: 8px 0 40px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee { list-style: none; margin: 0; padding: 4px 0; display: flex; gap: 12px; width: max-content; animation: marquee 36s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.marquee li { height: 46px; display: flex; align-items: center; padding: 0 22px; border-radius: 999px; font: 600 15px var(--f-display); color: var(--muted); white-space: nowrap; }
@keyframes marquee { to { transform: translateX(calc(-50% - 6px)); } }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; padding: 6px; border-radius: 24px; }
.stat { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 6px; }
.stat + .stat { box-shadow: -1px 0 0 var(--line); }
.stat-k { font-size: 11px; letter-spacing: .16em; color: var(--brand); }
.stat .num { display: flex; align-items: baseline; font: 600 clamp(40px, 4.4vw, 60px)/1 var(--f-display); letter-spacing: -0.04em; color: var(--fg); font-variant-numeric: tabular-nums; margin: 4px 0 2px; }
.stat .plus { color: var(--brand); margin-left: 2px; }
.stat b { font: 600 15px/1.35 var(--f-display); color: var(--fg); text-wrap: balance; }
.stat-p { font-size: 13px; line-height: 1.45; color: var(--muted); text-wrap: pretty; }
.stat-big { border-radius: 18px; background: radial-gradient(120% 120% at 0% 0%, var(--brand-soft), transparent 65%); }
.stat-big .num { font-size: clamp(52px, 6vw, 84px); }

/* ---------- seções ---------- */
.section { padding-top: clamp(72px, 9vw, 120px); }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head .btn { margin-top: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

.card { padding: 24px; border-radius: 20px; }
.card-num { color: var(--brand); font-size: 12px; }
.card h3 { margin: 14px 0 8px; }
.card p, .step p, .pillar p, .principles p { color: var(--muted); font-size: 15px; }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.split.rev { grid-template-columns: .8fr 1.2fr; align-items: center; }
.sticky { position: sticky; top: 110px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.step { display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 22px; border-radius: 20px; }
.step-n { font-size: 20px; color: var(--brand); line-height: 1.2; }
.step h3 { margin-bottom: 6px; }
.hl { color: var(--brand); }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pillar { padding: 22px; border-radius: 20px; display: flex; flex-direction: column; gap: 8px; transition: translate .2s var(--ease); }
.pillar:hover { translate: 0 -2px; }
.tag { font-size: 11px; color: var(--brand); letter-spacing: .15em; }

/* ---------- materiais ---------- */
.materials { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.material { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: 22px; transition-property: translate, background-color; transition-duration: .2s; transition-timing-function: var(--ease); }
.material:hover { translate: 0 -2px; background-color: rgb(255 255 255 / 0.04); }
.material:active { scale: .99; }
.m-big { grid-row: span 2; justify-content: flex-end; min-height: 320px;
  background: radial-gradient(120% 90% at 100% 0%, var(--brand-soft), transparent 60%), linear-gradient(160deg, var(--glass-sheen), transparent 45%), var(--glass-bg); }
.m-big h3 { font-size: 24px; letter-spacing: -0.02em; }
.m-ico { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--brand-soft); color: var(--brand); margin-bottom: auto; }
.m-big .m-ico { margin-bottom: auto; }
.m-ico .ico { width: 20px; height: 20px; }
.material:not(.m-big) .m-ico { margin-bottom: 8px; }
.material p { color: var(--muted); font-size: 15px; }
.m-agents { display: flex; flex-wrap: wrap; gap: 6px; margin: 20px 0 auto; }
.m-agents span { padding: 6px 12px; border-radius: 999px; font-size: 12px; color: var(--fg-85); background: rgb(255 255 255 / 0.06); box-shadow: 0 0 0 1px var(--line); }
.m-big .m-ico { margin-bottom: 0; }
.m-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 14px; font-weight: 500; color: var(--brand); }
.m-go .ico { transition: translate .2s var(--ease); }
.material:hover .m-go .ico { translate: 2px -2px; }

.footer-links { display: inline-flex; gap: 16px; }

/* ---------- modelos ---------- */
.models { padding: 8px; border-radius: 24px; } /* 16 + 8 */
.tabs { display: flex; gap: 4px; padding: 4px; background: rgb(0 0 0 / 0.25); border-radius: 16px; overflow-x: auto; scrollbar-width: none; } /* 12 + 4 */
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: 1 0 auto; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 48px; padding: 10px 16px; border: 0; border-radius: 12px; background: transparent;
  color: var(--muted); font: 600 14px/1.2 var(--f-display); cursor: pointer; text-align: left; transition-property: background-color, color; transition-duration: .15s; }
.tabs button .mono { font-size: 11px; color: var(--dim); }
.tabs button[aria-selected="true"] { background: rgb(255 255 255 / 0.08); color: var(--fg); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.12); }
.tabs button[aria-selected="true"] .mono { color: var(--brand); }
.panel { padding: clamp(18px, 3vw, 36px); }
.panel-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 4vw, 48px); align-items: center; }
.panel-text h3 { font-size: 19px; margin-bottom: 16px; }
.spec { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 12px; }
.spec li { display: grid; grid-template-columns: 56px 1fr; gap: 10px; font-size: 14px; }
.spec .mono { color: var(--brand); font-size: 12px; padding-top: 2px; }

.carousel { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 14px; scrollbar-width: thin; scrollbar-color: var(--brand-soft) transparent; }
.slide { position: relative; flex: 0 0 min(230px, 68%); aspect-ratio: 4/5; scroll-snap-align: start; border-radius: 10px; padding: 20px 18px;
  background: #0a0a0a; box-shadow: 0 0 0 1px var(--line); display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.s-hook { background: linear-gradient(180deg, rgb(10 10 10 / 0.1), #0a0a0a 72%), url("../img/fernando-hero-800.jpg") center 22% / cover; justify-content: flex-end; }
.s-handle { position: absolute; top: 12px; left: 14px; font-size: 10px; color: var(--dim); }
.s-idx { position: absolute; bottom: 10px; right: 12px; font-size: 10px; color: var(--dim); }
.s-big { font: 600 26px/1.02 var(--f-display); letter-spacing: -.02em; color: var(--fg); }
.s-mid { font: 600 17px/1.28 var(--f-display); color: var(--fg); }
.s-small { font-size: 12px; color: var(--fg-85); }
.s-cta .s-sig { width: 110px; margin-top: 14px; }

.timeline { padding: 4px 0; }
.tl-row { display: grid; grid-template-columns: 56px 1fr; gap: 10px; padding: 16px 20px; font-size: 14px; }
.tl-row + .tl-row { box-shadow: 0 -1px 0 var(--line); }
.tl-t { color: var(--brand); font-size: 12px; padding-top: 2px; }
.tl-row strong, .caption strong { color: var(--fg); font-weight: 600; }
.caption { padding: 22px; display: grid; gap: 12px; font-size: 14px; }

.stories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.story { position: relative; aspect-ratio: 9/16; border-radius: 14px; padding: 32px 14px 14px; display: flex; flex-direction: column; justify-content: center; gap: 12px;
  background: linear-gradient(180deg, var(--raised), #0a0a0a); box-shadow: 0 0 0 1px var(--line); font: 600 15px/1.3 var(--f-display); color: var(--fg); }
.s-bar { position: absolute; top: 10px; left: 10px; right: 10px; height: 2px; border-radius: 2px; background: rgb(255 255 255 / 0.25); }
.poll { display: grid; gap: 6px; }
.poll span { padding: 8px; border-radius: 10px; text-align: center; background: rgb(255 255 255 / 0.1); font: 500 13px var(--f-body); }

/* ---------- palco ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; gap: 14px; }
.g { margin: 0; padding: 6px; border-radius: 22px; overflow: hidden; } /* 16 + 6 */
.g img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; outline: 1px solid oklch(1 0 0 / 0.1); outline-offset: -1px; transition: scale .5s var(--ease); }
.g:hover img { scale: 1.02; }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }
.g img[src*="next-connect"] { object-position: 50% 30%; }
.g img[src*="quadro"] { object-position: 50% 25%; }
.g img[src*="palco-dna"] { object-position: 50% 30%; }
.g img[src*="palco-aberto"] { object-position: 50% 15%; }
.g figcaption { position: absolute; left: 16px; bottom: 16px; max-width: calc(100% - 32px); padding: 8px 12px; border-radius: 12px; font-size: 12px; color: #fff; display: flex; flex-direction: column; gap: 1px; }
.g figcaption .mono { color: #fff; opacity: .7; font-size: 10px; letter-spacing: .15em; }

/* ---------- trajetória ---------- */
.portrait { margin: 0; padding: 8px; border-radius: 28px; } /* 20 + 8 */
.portrait img { border-radius: 20px; aspect-ratio: 1/1; object-fit: cover; object-position: 50% 30%; width: 100%; outline: 1px solid oklch(1 0 0 / 0.1); outline-offset: -1px; }
.timeline-v { list-style: none; margin: 0; padding: 0 0 0 20px; box-shadow: inset 1px 0 0 var(--brand-soft); display: grid; gap: 24px; }
.timeline-v li { position: relative; display: grid; gap: 4px; font-size: 15px; }
.timeline-v li::before { content: ""; position: absolute; left: -24px; top: 5px; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 2px var(--brand); }
.timeline-v .mono { color: var(--brand); font-size: 12px; }

/* ---------- princípios ---------- */
.principles { padding: clamp(24px, 4vw, 44px); border-radius: 24px; }
.inner-grid { gap: 28px 40px; }
.principles h3 { margin-bottom: 6px; }

/* ---------- final ---------- */
.final { position: relative; isolation: isolate; overflow: hidden; border-radius: 32px; background: #0d0d10; padding: clamp(36px, 6vw, 72px) clamp(20px, 5vw, 64px); box-shadow: 0 0 0 1px var(--line); }
.final-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; opacity: .45; z-index: -2; }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(0 0 0 / 0.92), rgb(0 0 0 / 0.72) 55%, color-mix(in srgb, var(--brand) 30%, transparent)); }
.final-inner { max-width: 620px; }
.final .h2 .accent { display: block; }
.keywords { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.kw { display: inline-flex; gap: 8px; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; font-size: 13px; color: rgb(255 255 255 / 0.85); transition-property: background-color, scale; transition-duration: .15s; }
.kw:hover { background-color: rgb(255 255 255 / 0.18); }
.kw:active { scale: .96; }
.kw .mono { color: var(--brand); font-size: 12px; }
.final-sig { width: 180px; margin-top: 40px; opacity: .9; }

.footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 56px; padding-bottom: 36px; font-size: 13px; color: var(--dim); }
.footer a { color: var(--muted); transition: color .15s; }
.footer a:hover { color: var(--brand); }

/* ---------- entrada: fade + 16px, em sequência de 90ms ---------- */
.js [data-reveal], .js [data-stagger] > * { opacity: 0; translate: 0 16px; transition: opacity .5s var(--ease), translate .5s var(--ease); transition-delay: var(--d, 0s); }
.js .in[data-reveal], .js [data-stagger].in > * { opacity: 1; translate: 0 0; }

/* ---------- responsivo ---------- */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .hero { flex-direction: column; align-items: stretch; min-height: auto; }
  .hero-photo { position: relative; inset: auto; width: 100%; height: min(78svh, 640px); }
  .hero-chips { width: 100%; height: min(78svh, 640px); }
  .hero-photo { -webkit-mask-image: none; mask-image: none; }
  .hero-photo img { -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 45%); mask-image: linear-gradient(0deg, transparent 0%, #000 45%); }
  .hero-inner { margin-top: -120px; padding-top: 0; padding-bottom: 48px; position: relative; }
  .chip-a { display: none; }
  .chip-b { right: 16px; top: 96px; }
  .hero-sig { right: 16px; bottom: 150px; width: 55%; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stat-big { grid-column: 1 / -1; }
  .stat + .stat { box-shadow: none; }
  .stat:nth-child(n+2) { box-shadow: 0 -1px 0 var(--line); }
  .stat:nth-child(n+3) { box-shadow: 0 -1px 0 var(--line), -1px 0 0 var(--line); }
  .pillars { grid-template-columns: 1fr 1fr; }
  .split, .split.rev { grid-template-columns: 1fr; }
  .sticky { position: static; }
  .panel-grid { grid-template-columns: 1fr; }
  .materials { grid-template-columns: 1fr; }
  .m-big { grid-row: auto; min-height: 260px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .portrait { max-width: 420px; }
}
@media (max-width: 600px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { grid-column: 1 / -1; }
  .stat:nth-child(3) { box-shadow: 0 -1px 0 var(--line); }
  .stat:nth-child(4) { box-shadow: 0 -1px 0 var(--line), -1px 0 0 var(--line); }
  .nav { padding-left: 14px; }
  .nav-brand img, .nav-brand .sig-svg { width: 80px; }
  .hero-chip { max-width: 190px; padding: 10px 12px; font-size: 12px; }
  .hero-chip .num { font-size: 20px; }
  .grid-2, .pillars { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 280px; }
  .g-tall { grid-row: span 1; }
  .g-wide { grid-column: span 1; }
  .stories { gap: 6px; }
  .story { font-size: 12px; padding: 26px 8px 8px; }
  .ctas .btn { flex: 1 1 100%; }
}
/* Celular: blur é o que mais pesa na página (lição da Solutec) */
@media (max-width: 767px) {
  .bg-mesh { background-attachment: scroll; }
  .glass { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
  .glass-dark { -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
}
@media (prefers-reduced-transparency: reduce) {
  .glass, .glass-dark { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--surface); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee { animation: none; }
  .js [data-reveal], .js [data-stagger] > * { opacity: 1; translate: none; transition: none; }
}
