/* ==========================================================================
   VERDNORTE ENGENHARIA — Site institucional
   Estrutura: tokens → base → componentes → seções → responsivo → motion
   ========================================================================== */

/* Fontes auto-hospedadas (subset latin) */
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/barlow-condensed-700.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/barlow-condensed-800.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/ibm-plex-mono-500.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('../fonts/manrope-400-700.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* Paleta da marca */
  --forest-950: #03170e;
  --forest-900: #052a1a;
  --forest-800: #063b24;
  --forest-700: #0b5a35;
  --lime-600: #65b32e;
  --lime-400: #a5d64a;
  --lime-ink: #4e9a22;   /* verde vivo com contraste AA (texto grande) sobre fundo claro */
  --lime-ink-sm: #3a7a16; /* idem para texto pequeno */
  --paper: #f4f7ef;
  --paper-2: #eaf0e1;
  --white: #ffffff;
  --graphite: #1b211d;
  --muted: #5d6a61;
  --line-dark: rgba(255, 255, 255, .12);
  --line-light: rgba(6, 59, 36, .14);

  /* Tipografia */
  --f-display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  /* Espaçamento e forma */
  --gutter: clamp(16px, 4vw, 56px);
  --section-y: clamp(88px, 12vw, 180px);
  --radius-lg: clamp(20px, 2.4vw, 36px);
  --radius-md: 20px;
  --nav-h: 88px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: clamp(1rem, .95rem + .2vw, 1.0625rem);
  line-height: 1.65;
  color: var(--graphite);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure { margin: 0; }
address { font-style: normal; }
::selection { background: var(--lime-400); color: var(--forest-900); }
:focus-visible { outline: 2px solid var(--lime-400); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: 1480px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--dark { background: var(--forest-800); color: var(--white); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--lime-400); color: var(--forest-900); padding: 10px 16px; border-radius: 999px; font-weight: 700; transition: top .2s; }
.skip-link:focus { top: 16px; }

/* ---------- Tipografia utilitária ---------- */
.title {
  font-family: var(--f-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(2.9rem, 6.4vw, 6.6rem);
  line-height: .9;
  letter-spacing: -.005em;
}
.title--xl { font-size: clamp(3.1rem, 8vw, 8.4rem); }
.hl { color: var(--lime-ink); }
.section--dark .hl, .hero .hl, .cta .hl, .break .hl { color: var(--lime-400); }
.line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.line > span { display: inline-block; }

.label {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-mono); font-weight: 500;
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--forest-700); margin-bottom: 28px;
}
.label::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.section--dark .label, .clients .label { color: var(--lime-400); }
.label--mono { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--lime-ink-sm); }

/* ---------- Botões ---------- */
.btn {
  --bg: var(--lime-400); --fg: var(--forest-900);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .7em;
  padding: 1.05em 1.7em; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-family: var(--f-body); font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase;
  border: 1px solid transparent; cursor: pointer; overflow: hidden; isolation: isolate;
  transition: color .45s var(--ease-out), border-color .45s var(--ease-out), transform .45s var(--ease-out);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--white); transform: translateY(101%); transition: transform .5s var(--ease-out);
}
.btn:hover::before { transform: translateY(0); }
.btn__arrow { display: inline-block; transition: transform .45s var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(5px); }
.btn--lime:hover { color: var(--forest-900); }
.btn--ghost { --bg: transparent; --fg: var(--white); border-color: rgba(255, 255, 255, .45); backdrop-filter: blur(6px); }
.btn--ghost:hover { color: var(--forest-900); border-color: var(--white); }
.btn--dark { --bg: var(--forest-800); --fg: var(--white); }
.btn--dark::before { background: var(--lime-400); }
.btn--dark:hover { color: var(--forest-900); }
.btn--sm { padding: .85em 1.35em; font-size: .72rem; }
.btn--lg { padding: 1.25em 2.1em; font-size: .88rem; }
.ico-wa { width: 18px; height: 18px; fill: currentColor; }

.link-arrow {
  display: inline-flex; gap: .5em; align-items: center; margin-top: 22px;
  font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--forest-700);
  border-bottom: 1px solid currentColor; padding-bottom: 4px;
}
.link-arrow span { transition: transform .4s var(--ease-out); }
.link-arrow:hover span { transform: translateX(5px); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav-h);
  color: var(--white);
  transition: height .5s var(--ease-out), background-color .5s var(--ease-out), box-shadow .5s, transform .5s var(--ease-out);
}
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(5, 42, 26, .78); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  opacity: 0; transition: opacity .5s var(--ease-out);
  border-bottom: 1px solid var(--line-dark);
}
.nav.is-scrolled { --nav-h: 70px; }
.nav.is-scrolled::before { opacity: 1; }
.nav.is-hidden { transform: translateY(-100%); }
/* Páginas internas (sem Hero): header já com fundo e respiro sob a barra fixa */
.page-inner .nav::before { opacity: 1; }
.page-inner main > section:first-child { padding-top: calc(var(--section-y) + var(--nav-h)); }
.nav__inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.nav__logo img { width: clamp(150px, 13vw, 190px); height: auto; transition: width .5s var(--ease-out); }
.nav.is-scrolled .nav__logo img { width: clamp(140px, 11vw, 165px); }
.nav__menu { margin-left: auto; }
.nav__menu ul { display: flex; gap: clamp(14px, 1.8vw, 30px); }
.nav__menu a {
  position: relative; font-size: .84rem; font-weight: 600; letter-spacing: .01em; opacity: .86; padding-block: 6px;
  transition: opacity .3s;
}
.nav__menu a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--lime-400);
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out);
}
.nav__menu a:hover, .nav__menu a.is-current { opacity: 1; }
.nav__menu a:hover::after, .nav__menu a.is-current::after { transform: scaleX(1); transform-origin: left; }

.nav__burger { display: none; }

/* Menu mobile */
.mmenu {
  position: fixed; inset: 0; z-index: 90; background: var(--forest-900); color: var(--white);
  padding: calc(var(--nav-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease-io);
}
.mmenu[hidden] { display: flex; visibility: hidden; }
.mmenu.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
.mmenu__list li { overflow: hidden; border-bottom: 1px solid var(--line-dark); }
.mmenu__list a {
  display: flex; align-items: baseline; gap: 14px; padding: 12px 0;
  font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: clamp(2rem, 8.5vw, 3rem); line-height: 1;
  transform: translateY(110%); transition: transform .7s var(--ease-out), color .3s;
}
.mmenu__list small { font-family: var(--f-mono); font-size: .7rem; color: var(--lime-400); letter-spacing: .1em; }
.mmenu__list a:hover { color: var(--lime-400); }
.mmenu.is-open .mmenu__list a { transform: none; }
.mmenu.is-open .mmenu__list li:nth-child(1) a { transition-delay: .18s; }
.mmenu.is-open .mmenu__list li:nth-child(2) a { transition-delay: .23s; }
.mmenu.is-open .mmenu__list li:nth-child(3) a { transition-delay: .28s; }
.mmenu.is-open .mmenu__list li:nth-child(4) a { transition-delay: .33s; }
.mmenu.is-open .mmenu__list li:nth-child(5) a { transition-delay: .38s; }
.mmenu.is-open .mmenu__list li:nth-child(6) a { transition-delay: .43s; }
.mmenu.is-open .mmenu__list li:nth-child(7) a { transition-delay: .48s; }
.mmenu__foot { display: grid; gap: 8px; font-size: .9rem; opacity: .8; padding-top: 24px; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; color: var(--white);
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden; background: var(--forest-900); isolation: isolate;
}
.hero__media { position: absolute; inset: -6% 0 0; z-index: -3; will-change: transform; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero__overlay {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(3, 23, 14, .72) 0%, rgba(3, 23, 14, .15) 32%, rgba(3, 23, 14, .35) 58%, rgba(3, 23, 14, .94) 100%),
    linear-gradient(90deg, rgba(6, 59, 36, .85) 0%, rgba(6, 59, 36, .35) 55%, rgba(6, 59, 36, 0) 100%);
}
/* Grade técnica sutil — referência a prancha de engenharia */
.hero__grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 60%, transparent 100%);
}
.hero__content { padding-top: calc(var(--nav-h) + 48px); padding-bottom: clamp(110px, 13vh, 150px); }
.hero__eyebrow {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-bottom: clamp(20px, 3vh, 36px);
  font-family: var(--f-mono); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase;
}
.hero__eyebrow strong { font-weight: 500; color: var(--lime-400); }
.hero__eyebrow span:not(.dot) { opacity: .8; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime-400); box-shadow: 0 0 0 0 rgba(165, 214, 74, .6); animation: ping 2.4s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(165, 214, 74, .55); } 70%, 100% { box-shadow: 0 0 0 12px rgba(165, 214, 74, 0); } }

.hero__title {
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(3.4rem, min(10.6vw, 17vh), 11.8rem); line-height: .86; letter-spacing: -.01em;
}
@media (min-width: 768px) { .hero__title .line { white-space: nowrap; } }
.hero__title .hl { color: var(--lime-400); }
.hero__bottom {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 48px;
  margin-top: clamp(28px, 4.5vh, 52px); max-width: 1080px;
}
.hero__lead { max-width: 30rem; font-size: clamp(1.02rem, .95rem + .35vw, 1.22rem); line-height: 1.55; color: rgba(255, 255, 255, .86); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Selo circular giratório (inspirado em QClay) */
.hero__badge {
  position: absolute; right: var(--gutter); bottom: clamp(110px, 16vh, 170px);
  width: clamp(112px, 9vw, 140px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; color: var(--white);
  background: rgba(3, 23, 14, .35); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .18);
  transition: background-color .4s, color .4s;
}
.hero__badge svg { position: absolute; inset: 8%; width: 84%; height: 84%; animation: spin 18s linear infinite; }
.hero__badge text { fill: currentColor; font-family: var(--f-mono); font-size: 9.6px; letter-spacing: .22em; }
.hero__badge-arrow { font-size: 1.4rem; color: var(--lime-400); animation: bob 2.2s var(--ease-io) infinite; }
.hero__badge:hover { background: var(--lime-400); color: var(--forest-900); }
.hero__badge:hover .hero__badge-arrow { color: var(--forest-900); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 0%, 100% { transform: translateY(-3px); } 50% { transform: translateY(4px); } }

.hero__meta {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; gap: 32px; align-items: center; padding-block: 22px;
  border-top: 1px solid var(--line-dark);
  font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .62);
}
.hero__meta span { white-space: nowrap; }
.hero__scroll { margin-left: auto; display: inline-flex; gap: 10px; align-items: center; color: var(--white); }
.hero__scroll i { font-style: normal; color: var(--lime-400); animation: bob 2.2s var(--ease-io) infinite; }

/* ==========================================================================
   01 QUEM SOMOS
   ========================================================================== */
.statement {
  font-family: var(--f-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(2rem, 4.6vw, 4.6rem); line-height: 1; letter-spacing: -.005em;
  color: var(--forest-800); max-width: 22ch; margin-bottom: clamp(80px, 10vw, 150px);
}
.statement em { font-style: normal; color: var(--lime-ink); }
.statement .w { opacity: .14; transition: opacity .3s; }

.about__grid { display: grid; grid-template-columns: 60px minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); align-items: start; }
.about__label { position: sticky; top: 120px; }
.label--vertical { writing-mode: vertical-rl; transform: rotate(180deg); margin: 0; }
.label--vertical::before { width: 1px; height: 28px; }
.about__text .title { color: var(--forest-800); margin-bottom: clamp(28px, 3vw, 44px); font-size: clamp(2.8rem, 5.2vw, 5.6rem); }
.about__copy { display: grid; gap: 1.05em; color: #36423a; max-width: 36rem; }
.about__copy strong { color: var(--forest-800); }
.about__complement { color: var(--forest-800); font-weight: 600; padding-left: 18px; border-left: 2px solid var(--lime-600); }
.about__pillars { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 36px; }
.about__pillars li {
  font-size: .78rem; font-weight: 600; padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--line-light); color: var(--forest-700); background: rgba(255, 255, 255, .6);
}
.about__media { position: relative; padding-bottom: 80px; }
.about__img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5.4; background: var(--forest-800); }
.about__img picture { display: block; height: 100%; will-change: transform; }
.about__img img { width: 100%; height: 115%; object-fit: cover; }
.about__float {
  position: absolute; left: clamp(-60px, -4vw, -24px); bottom: 0; width: min(62%, 300px);
  background: var(--white); border-radius: var(--radius-md); padding: 10px 10px 18px;
  box-shadow: 0 30px 60px -20px rgba(6, 59, 36, .35);
}
.about__float img { border-radius: 14px; aspect-ratio: 16 / 11; object-fit: cover; width: 100%; }
.about__float figcaption { padding: 14px 8px 0; font-size: .86rem; line-height: 1.45; color: var(--forest-800); font-weight: 600; }
.about__float .label--mono { display: block; margin-bottom: 4px; }

/* ==========================================================================
   02 DIFERENCIAL
   ========================================================================== */
.diff { position: relative; overflow: hidden; }
.diff::before { /* textura de grade */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 80px 80px; mask-image: radial-gradient(ellipse at 80% 0%, #000 0%, transparent 60%);
}
.diff__head { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 110px); align-items: end; }
.diff__intro { display: grid; gap: 1em; color: rgba(255, 255, 255, .74); max-width: 34rem; }
.diff__lead { font-size: clamp(1.12rem, 1rem + .5vw, 1.4rem); line-height: 1.45; color: var(--white); }

.process { position: relative; margin: clamp(64px, 8vw, 110px) 0 clamp(48px, 6vw, 80px); }
.process ol { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.process li {
  position: relative; padding-top: 34px;
  font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: clamp(1.05rem, 1.6vw, 1.5rem); letter-spacing: .02em;
}
.process__n { display: block; font-family: var(--f-mono); font-weight: 500; font-size: .7rem; letter-spacing: .14em; color: var(--lime-400); margin-bottom: 4px; }
.process__dot {
  position: absolute; top: 0; left: 0; width: 13px; height: 13px; border-radius: 50%;
  background: var(--forest-800); border: 2px solid rgba(255, 255, 255, .35); transform: translateY(-6px);
  transition: background-color .4s, border-color .4s, box-shadow .4s;
}
.process li.is-on .process__dot { background: var(--lime-400); border-color: var(--lime-400); box-shadow: 0 0 0 6px rgba(165, 214, 74, .15); }
.process__track { position: absolute; top: 0; left: 0; right: 0; height: 1px; background: rgba(255, 255, 255, .18); }
.process__fill { position: absolute; inset: 0; background: var(--lime-400); transform-origin: left; transform: scaleX(0); }

.diff__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.dcard {
  position: relative; display: flex; flex-direction: column; min-height: 330px;
  padding: 26px 26px 30px; border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .035); border: 1px solid var(--line-dark);
  transition: background-color .5s var(--ease-out), border-color .5s var(--ease-out), transform .5s var(--ease-out);
  overflow: hidden;
}
.dcard::after { /* linha de destaque */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--lime-400);
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out);
}
.dcard:hover { background: rgba(255, 255, 255, .07); border-color: rgba(165, 214, 74, .4); transform: translateY(-4px); }
.dcard:hover::after { transform: scaleX(1); }
.dcard__top { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: clamp(40px, 5vw, 72px); }
.dcard__n { font-family: var(--f-display); font-weight: 700; font-size: 3rem; line-height: 1; color: rgba(255, 255, 255, .16); transition: color .5s; }
.dcard:hover .dcard__n { color: var(--lime-400); }
.dcard__icon {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(165, 214, 74, .12); color: var(--lime-400); transition: background-color .5s, color .5s, transform .6s var(--ease-out);
}
.dcard__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.dcard:hover .dcard__icon { background: var(--lime-400); color: var(--forest-900); transform: rotate(-12deg); }
.dcard h3 { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: 1.55rem; line-height: 1.02; margin-bottom: 12px; }
.dcard p { font-size: .92rem; line-height: 1.55; color: rgba(255, 255, 255, .66); }

/* ==========================================================================
   03 ENERGIA RENOVÁVEL — sticky scroll
   ========================================================================== */
.energy { background: var(--paper); transition: background-color .8s var(--ease-out); padding-block: var(--section-y); }
.energy[data-tone="1"] { background: #eef3e5; }
.energy[data-tone="2"] { background: #e9f0de; }
.energy[data-tone="3"] { background: #e6eee0; }
.energy[data-tone="4"] { background: #eef2e8; }
.energy__wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 120px); }
.energy__sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh; align-self: start;
  display: flex; flex-direction: column; justify-content: center; gap: clamp(28px, 5vh, 60px); padding-top: var(--nav-h);
}
.energy__head .title { color: var(--forest-800); }
.energy__counter { display: flex; align-items: baseline; gap: 10px; font-family: var(--f-display); font-weight: 800; line-height: .8; color: var(--forest-800); }
.energy__current { font-size: clamp(4.5rem, 8vw, 8rem); color: var(--lime-ink); display: inline-block; min-width: 1.1em; }
.energy__total { font-size: 1.6rem; color: var(--muted); }
.energy__progress { height: 2px; background: var(--line-light); margin: 18px 0 22px; max-width: 360px; }
.energy__progress span { display: block; height: 100%; background: var(--forest-800); transform-origin: left; transform: scaleX(.2); transition: transform .6s var(--ease-out); }
.energy__index { display: grid; gap: 6px; max-width: 360px; }
.energy__index li {
  font-size: .86rem; font-weight: 600; color: var(--muted); padding-left: 18px; position: relative;
  transition: color .4s, padding-left .5s var(--ease-out);
}
.energy__index li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 1px; background: currentColor; transition: width .5s var(--ease-out); }
.energy__index li.is-active { color: var(--forest-800); padding-left: 30px; }
.energy__index li.is-active::before { width: 20px; background: var(--lime-600); }

.energy__list { display: grid; gap: clamp(90px, 16vh, 180px); padding-block: 12vh 18vh; }
.svc { position: relative; transition: opacity .6s var(--ease-out); }
.svc__img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; margin-bottom: 28px; background: var(--forest-800); }
.svc__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1); transition: transform 1.2s var(--ease-out); }
.svc__n { font-family: var(--f-mono); font-size: .76rem; letter-spacing: .14em; color: var(--lime-ink-sm); }
.svc h3 { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.9rem, 3vw, 2.9rem); line-height: .95; color: var(--forest-800); margin: 8px 0 14px; max-width: 18ch; }
.svc p { max-width: 36rem; color: #3c4840; }

@media (min-width: 1024px) {
  .motion .svc { opacity: .32; }
  .motion .svc.is-active { opacity: 1; }
  .motion .svc.is-active .svc__img img { transform: scale(1.06); }
  .motion .svc p, .motion .svc .link-arrow { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
  .motion .svc.is-active p, .motion .svc.is-active .link-arrow { opacity: 1; transform: none; }
}

/* ==========================================================================
   BREAK VISUAL — tipografia cinética
   ========================================================================== */
.break {
  position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; background: var(--forest-900);
  display: grid; place-items: center; isolation: isolate;
}
.break__media { position: absolute; inset: -12% 0; z-index: -2; will-change: transform; }
.break__media img { width: 100%; height: 100%; object-fit: cover; }
.break::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(3, 23, 14, .45) 0%, rgba(3, 23, 14, .82) 100%); }
.break__rows { width: 100%; transform: rotate(-5deg) scale(1.08); display: grid; gap: .02em; }
.break__row {
  display: flex; gap: .35em; white-space: nowrap; will-change: transform;
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(4.2rem, 13.5vw, 15rem); line-height: .9; color: var(--white);
}
.break__row:nth-child(1) { transform: translateX(-8%); }
.break__row:nth-child(2) { transform: translateX(-30%); }
.break__row:nth-child(3) { transform: translateX(-12%); }
.break__row--lime { color: var(--lime-400); }
.break__row--outline { color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .85); }

/* ==========================================================================
   04 SOLUÇÕES AMBIENTAIS — grid assimétrico
   ========================================================================== */
.env { background: var(--white); }
.env__head { display: grid; grid-template-columns: 1fr; max-width: 900px; margin-bottom: clamp(56px, 7vw, 100px); }
.env__head .title { color: var(--forest-800); }
.env__intro { margin-top: 28px; max-width: 36rem; color: #3c4840; font-size: 1.08rem; }
.env__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(14px, 1.6vw, 24px); }
.ecard {
  position: relative; display: grid; gap: 0; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--paper); border: 1px solid transparent;
  transition: border-color .5s var(--ease-out), background-color .5s var(--ease-out);
}
.ecard:hover { border-color: var(--lime-600); background: #eef4e4; }
.ecard--wide { grid-column: span 7; grid-template-columns: 1.15fr 1fr; }
.ecard--tall { grid-column: span 5; grid-template-rows: auto 1fr; }
.ecard--rev .ecard__img { order: 2; }
.ecard__img { position: relative; overflow: hidden; min-height: 260px; background: var(--forest-800); }
.ecard--tall .ecard__img { aspect-ratio: 16 / 10; min-height: 0; }
.ecard__img picture, .ecard__img img { width: 100%; height: 100%; }
.ecard__img img { object-fit: cover; transition: transform 1s var(--ease-out); }
.ecard:hover .ecard__img img { transform: scale(1.05); }
.ecard__body { padding: clamp(24px, 2.6vw, 40px); display: flex; flex-direction: column; justify-content: flex-end; }
.ecard--tall .ecard__body { justify-content: flex-start; }
.ecard__n { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .14em; color: var(--lime-ink-sm); margin-bottom: 12px; }
.ecard--wide .ecard__n { margin-bottom: auto; padding-bottom: 32px; }
.ecard h3 { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; color: var(--forest-800); font-size: clamp(1.6rem, 2.3vw, 2.3rem); line-height: .95; margin-bottom: 14px; }
.ecard p { color: #3c4840; font-size: .95rem; line-height: 1.55; max-width: 32rem; }

/* ==========================================================================
   NÚMEROS + CLIENTES
   ========================================================================== */
.clients { background: var(--forest-900); overflow: hidden; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); margin-bottom: clamp(88px, 11vw, 160px); }
.stat { padding: clamp(28px, 3.5vw, 48px) clamp(16px, 2vw, 32px); border-left: 1px solid var(--line-dark); display: grid; gap: 10px; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num { display: flex; align-items: flex-start; font-family: var(--f-display); font-weight: 800; line-height: .85; font-size: clamp(3.6rem, 7vw, 7rem); color: var(--lime-400); font-variant-numeric: tabular-nums; }
.stat__num i { font-style: normal; font-size: .5em; margin-right: .08em; margin-top: .08em; }
.stat__num b[data-value=""] { color: rgba(255, 255, 255, .42); font-weight: 800; }
.stat__label { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }

.clients__head { margin-bottom: clamp(48px, 6vw, 80px); }
.clients__head .title { max-width: 16ch; }
.logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.logo-card {
  position: relative; display: grid; place-items: center; aspect-ratio: 16 / 8.5; padding: 12% 16%;
  border-radius: var(--radius-md); border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .025);
  transition: border-color .5s var(--ease-out), background-color .5s var(--ease-out), transform .5s var(--ease-out);
}
.logo-card img { max-height: 64px; width: auto; max-width: 100%; object-fit: contain; opacity: .55; transition: opacity .5s, transform .6s var(--ease-out); }
.logo-card:hover { border-color: var(--lime-400); background: rgba(165, 214, 74, .06); transform: translateY(-3px); }
.logo-card:hover img { opacity: 1; transform: scale(1.06); }

.marquee { margin-top: clamp(56px, 7vw, 100px); border-block: 1px solid var(--line-dark); padding-block: 26px; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; align-items: center; gap: 80px; width: max-content; animation: marquee 60s linear infinite; }
.marquee__track img { height: 38px; width: auto; opacity: .45; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta { background: var(--forest-900); padding: 0 var(--gutter) clamp(20px, 3vw, 40px); }
.cta__box {
  position: relative; max-width: 1480px; margin-inline: auto; border-radius: var(--radius-lg); overflow: hidden; isolation: isolate;
  min-height: min(88vh, 820px); display: flex; align-items: flex-end; color: var(--white);
}
.cta__media { position: absolute; inset: -10% 0; z-index: -2; will-change: transform; }
.cta__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; transform: scaleX(-1); }
.cta__box::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(3, 23, 14, .95) 0%, rgba(6, 59, 36, .65) 50%, rgba(6, 59, 36, .45) 100%); }
.cta__content { padding: clamp(28px, 6vw, 96px); max-width: 1100px; }
.cta__content p { max-width: 34rem; margin: 28px 0 36px; color: rgba(255, 255, 255, .85); font-size: clamp(1.02rem, .95rem + .3vw, 1.2rem); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ==========================================================================
   CONTATO
   ========================================================================== */
.contact { background: var(--paper); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.contact__info .title { color: var(--forest-800); margin-bottom: clamp(36px, 4vw, 56px); }
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.person, .address {
  display: grid; gap: 4px; align-content: start; padding: 22px; border-radius: var(--radius-md); background: var(--white); border: 1px solid var(--line-light);
  font-size: .92rem;
}
.person strong, .address strong { font-family: var(--f-display); font-weight: 700; font-size: 1.45rem; text-transform: uppercase; color: var(--forest-800); line-height: 1.1; margin-bottom: 6px; }
.person a { color: #36423a; transition: color .3s; overflow-wrap: anywhere; }
.person a:hover { color: var(--lime-600); }
.person__wa { margin-top: 8px; font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--forest-700) !important; }
.person__role { margin-bottom: 4px; }
.address { color: #36423a; line-height: 1.6; margin-bottom: 12px; }
.address .label--mono { margin-bottom: 4px; }

.map { border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 16 / 7; background: var(--forest-800); position: relative; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }
.map__load {
  position: absolute; inset: 0; width: 100%; border: 0; cursor: pointer; color: var(--white);
  display: grid; place-content: center; justify-items: center; gap: 6px; font-weight: 700; font-size: .9rem;
  background:
    linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px) 0 0 / 32px 32px,
    var(--forest-800);
}
.map__load small { font-family: var(--f-mono); font-weight: 500; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; opacity: .6; }
.map__pin { width: 18px; height: 18px; border-radius: 50% 50% 50% 0; background: var(--lime-400); transform: rotate(-45deg); margin-bottom: 8px; box-shadow: 0 0 0 8px rgba(165, 214, 74, .18); }
.map__load:hover .map__pin { box-shadow: 0 0 0 12px rgba(165, 214, 74, .22); }

.form {
  background: var(--white); border-radius: var(--radius-lg); padding: clamp(24px, 3.4vw, 52px);
  box-shadow: 0 40px 80px -40px rgba(6, 59, 36, .28); border: 1px solid var(--line-light);
  display: grid; gap: 18px;
}
.form__head h3 { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; color: var(--forest-800); font-size: clamp(1.9rem, 2.6vw, 2.5rem); line-height: 1; }
.form__head p { color: var(--muted); font-size: .92rem; margin-top: 6px; }
.chips { border: 0; padding: 0; margin: 6px 0 4px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; padding: 0; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span {
  display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-light);
  font-size: .84rem; font-weight: 600; color: var(--forest-800); background: var(--paper);
  transition: background-color .35s, border-color .35s, color .35s, transform .35s var(--ease-out);
}
.chips label:hover span { border-color: var(--forest-700); }
.chips input:checked + span { background: var(--forest-800); color: var(--white); border-color: var(--forest-800); }
.chips input:focus-visible + span { outline: 2px solid var(--lime-600); outline-offset: 2px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; border: 0; border-bottom: 1.5px solid var(--line-light); background: transparent; padding: 26px 0 10px; font-size: 1rem;
  outline: none; border-radius: 0; transition: border-color .35s; resize: vertical;
}
.field label {
  position: absolute; left: 0; top: 24px; color: var(--muted); font-size: 1rem; pointer-events: none;
  transform-origin: left; transition: transform .35s var(--ease-out), color .35s;
}
.field input:focus, .field textarea:focus { border-color: var(--lime-600); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-20px) scale(.78); color: var(--forest-700); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #c2412d; }
.chips.is-invalid legend { color: #c2412d; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 10px; }
.form__status { font-size: .9rem; color: var(--forest-700); font-weight: 600; }
.form__status.is-error { color: #c2412d; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--forest-950); color: rgba(255, 255, 255, .72); padding: clamp(72px, 9vw, 130px) 0 32px; font-size: .92rem; }
.footer__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(40px, 6vw, 80px); }
.footer__tag { font-family: var(--f-mono); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; line-height: 1.9; color: var(--lime-400); }
.footer__up { font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--white); border: 1px solid var(--line-dark); padding: 12px 20px; border-radius: 999px; transition: background-color .4s, color .4s; }
.footer__up:hover { background: var(--lime-400); color: var(--forest-900); }
.footer__logo { width: 100%; height: auto; opacity: .95; margin-bottom: clamp(48px, 6vw, 90px); }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding-top: 40px; border-top: 1px solid var(--line-dark); }
.footer__cols .label--mono { display: block; margin-bottom: 14px; color: var(--lime-400); }
.footer__cols ul { display: grid; gap: 6px; }
.footer__cols p + p { margin-top: 12px; }
.footer a { transition: color .3s; }
.footer a:hover { color: var(--lime-400); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: .8rem; color: rgba(255, 255, 255, .6); }

/* WhatsApp flutuante */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 80; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: var(--lime-400); color: var(--forest-900);
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .45);
  transform: translateY(120px); transition: transform .6s var(--ease-out), background-color .3s;
}
.wa-float svg { width: 26px; height: 26px; fill: currentColor; }
.wa-float.is-visible { transform: none; }
.wa-float:hover { background: var(--white); }

/* ==========================================================================
   CURSOR (desktop, ponteiro fino)
   ========================================================================== */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .has-cursor .cursor {
    display: grid; place-items: center; position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none;
    width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
    background: var(--lime-400); mix-blend-mode: normal;
    transition: width .4s var(--ease-out), height .4s var(--ease-out), margin .4s var(--ease-out), background-color .4s, opacity .3s;
  }
  .has-cursor .cursor.is-grow { width: 44px; height: 44px; margin: -22px 0 0 -22px; background: rgba(165, 214, 74, .28); }
  .has-cursor .cursor.is-more { width: 104px; height: 104px; margin: -52px 0 0 -52px; background: var(--lime-400); }
  .has-cursor .cursor.is-hidden { opacity: 0; }
  .cursor__label { font-family: var(--f-body); font-weight: 800; font-size: .66rem; letter-spacing: .1em; color: var(--forest-900); opacity: 0; transform: scale(.6); transition: opacity .3s, transform .4s var(--ease-out); white-space: nowrap; }
  .cursor.is-more .cursor__label { opacity: 1; transform: none; }
}

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */
@media (max-width: 1280px) {
  .about__float { left: 16px; }
  .people { grid-template-columns: 1fr; }
  .nav__menu ul { gap: 16px; }
  .nav__menu a { font-size: .78rem; }
  .diff__grid { grid-template-columns: repeat(2, 1fr); }
  .dcard { min-height: 280px; }
}

@media (max-width: 1100px) {
  :root { --nav-h: 76px; }
  .nav__menu, .nav__cta { display: none; }
  .nav__burger {
    display: grid; place-content: center; gap: 7px; margin-left: auto; width: 50px; height: 50px; border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .3); background: rgba(3, 23, 14, .25); cursor: pointer; position: relative; z-index: 110;
  }
  .nav__burger span { display: block; width: 20px; height: 1.5px; background: var(--white); transition: transform .5s var(--ease-out); }
  .nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
  .nav.menu-open { transform: none !important; }
}

@media (max-width: 1023px) {
  .about__grid { grid-template-columns: minmax(0, 1fr); }
  .about__label { position: static; }
  .label--vertical { writing-mode: horizontal-tb; transform: none; }
  .label--vertical::before { width: 28px; height: 1px; }
  .about__media { max-width: 560px; margin-left: auto; width: 88%; }
  .about__img { aspect-ratio: 4 / 4.6; }
  .diff__head { grid-template-columns: 1fr; }

  /* Energia: carrossel horizontal com snap no lugar do sticky */
  .energy__wrap { grid-template-columns: 1fr; padding-inline: 0; }
  .energy__sticky { position: static; height: auto; padding: 0 var(--gutter); gap: 24px; }
  .energy__meta { display: none; }
  .energy__list {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 36px var(--gutter) 12px;
    scroll-padding-inline: var(--gutter); scrollbar-width: none;
  }
  .energy__list::-webkit-scrollbar { display: none; }
  .svc { flex: 0 0 min(78vw, 420px); scroll-snap-align: start; background: var(--white); border-radius: var(--radius-lg); padding: 10px 10px 26px; }
  .svc__img { border-radius: calc(var(--radius-lg) - 8px); margin-bottom: 20px; }
  .svc > :not(.svc__img) { margin-inline: 14px; }
  .svc h3 { font-size: 1.7rem; }
  .svc p { font-size: .95rem; }

  .hero__meta-hide { display: none; }
  .ecard--wide, .ecard--tall { grid-column: span 12; }
  .ecard--wide { grid-template-columns: 1fr 1fr; }
  .ecard--tall { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .ecard--tall .ecard__img { aspect-ratio: auto; min-height: 260px; order: 2; }
  .ecard--tall:nth-of-type(4n+3) .ecard__img { order: -1; }

  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .logos { grid-template-columns: repeat(3, 1fr); }
  .contact__grid { grid-template-columns: 1fr; }
  .people { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  :root { --section-y: 88px; }
  .title, .title--xl { font-size: clamp(2.3rem, 11.4vw, 3.4rem); }
  .about__text .title { font-size: clamp(2.3rem, 11.4vw, 3.4rem); }
  .hero__content { padding-bottom: 104px; }
  .hero__meta span:nth-child(2) { display: none; }
  .hero__title { font-size: clamp(3.2rem, 15.5vw, 5.4rem); }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__badge { display: none; }
  .hero__meta { gap: 16px; font-size: .62rem; }
  .hero__meta-hide { display: none; }
  .hero__grid { background-size: 64px 64px; }

  .statement { font-size: clamp(1.9rem, 8.6vw, 2.6rem); }
  .about__media { width: 100%; padding-bottom: 60px; }
  .about__float { left: auto; right: 12px; width: 62%; }

  .process ol { grid-template-columns: 1fr; gap: 0; }
  .process li { padding: 0 0 22px 32px; font-size: 1.3rem; }
  .process li:last-child { padding-bottom: 0; }
  .process__dot { top: 4px; left: 0; transform: none; }
  .process__track { top: 8px; bottom: 8px; left: 6px; right: auto; width: 1px; height: auto; }
  .process__fill { transform-origin: top; transform: scaleY(0); }
  .process__n { display: inline; margin-right: 8px; }

  /* Diferenciais: carrossel horizontal no mobile */
  .diff__grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .diff__grid::-webkit-scrollbar { display: none; }
  .dcard { flex: 0 0 80vw; max-width: 340px; scroll-snap-align: start; min-height: 300px; }

  .break { min-height: 72svh; }
  .break__row { font-size: clamp(3.8rem, 20vw, 6rem); }

  .ecard--wide, .ecard--tall { grid-template-columns: 1fr; }
  .ecard .ecard__img, .ecard--tall .ecard__img { order: -1 !important; aspect-ratio: 16 / 10; min-height: 0; }
  .ecard__body { padding: 22px 22px 26px; }

  .stat { padding: 26px 0 26px 16px; }
  .stat:nth-child(odd) { padding-left: 0; }
  .logos { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .logo-card img { max-height: 44px; opacity: .75; }
  .marquee__track { gap: 48px; }
  .marquee__track img { height: 28px; }

  .cta { padding-inline: 10px; }
  .cta__box { min-height: 78svh; }
  .cta__actions .btn { flex: 1 1 100%; }

  .people { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .form__foot .btn { width: 100%; }
  .map { aspect-ratio: 4 / 3; }

  .footer__cols { grid-template-columns: 1fr; }
  .wa-float { right: 14px; bottom: 14px; width: 52px; height: 52px; }
}

@media (max-width: 380px) {
  .hero__eyebrow span:not(.dot):not(strong) { display: none; }
  .btn--lg { padding: 1.1em 1.5em; font-size: .8rem; }
}

@media (min-width: 1800px) {
  body { font-size: 1.125rem; }
  .hero__title { font-size: 12.5rem; }
}

/* ==========================================================================
   MOTION — estados iniciais só com JS e sem prefers-reduced-motion
   ========================================================================== */
  /* Hero: sequência de entrada */
  .motion .hero__media img { animation: heroZoom 2.6s var(--ease-out) both; }
  .motion .hero__eyebrow { animation: fadeUp 1s var(--ease-out) .35s both; }
  .motion .hero__title .line > span { animation: lineUp 1.15s var(--ease-out) both; }
  .motion .hero__title .line:nth-child(1) > span { animation-delay: .5s; }
  .motion .hero__title .line:nth-child(2) > span { animation-delay: .62s; }
  .motion .hero__title .line:nth-child(3) > span { animation-delay: .74s; }
  .motion .hero__lead { animation: fadeUp 1s var(--ease-out) 1.05s both; }
  .motion .hero__actions { animation: fadeUp 1s var(--ease-out) 1.18s both; }
  .motion .hero__badge, .motion .hero__meta { animation: fade 1.2s var(--ease-out) 1.4s both; }
  .motion .nav { animation: navIn 1s var(--ease-out) .2s both; }

  @keyframes heroZoom { from { transform: scale(1.14); } to { transform: scale(1.02); } }
  @keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
  @keyframes lineUp { from { transform: translateY(108%); } to { transform: none; } }
  @keyframes fade { from { opacity: 0; } to { opacity: 1; } }
  @keyframes navIn { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: none; } }

  /* Reveals no scroll */
  .motion [data-reveal]:not([data-reveal="lines"]) { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0s); }
  .motion [data-reveal].is-in:not([data-reveal="lines"]) { opacity: 1; transform: none; }
  .motion [data-reveal="lines"] .line > span { transform: translateY(108%); transition: transform 1.1s var(--ease-out); }
  .motion [data-reveal="lines"] .line:nth-child(2) > span { transition-delay: .08s; }
  .motion [data-reveal="lines"] .line:nth-child(3) > span { transition-delay: .16s; }
  .motion [data-reveal="lines"].is-in .line > span { transform: none; }

  /* Image reveal (cortina) */
  .motion .reveal-img { clip-path: inset(100% 0 0 0 round var(--radius-lg)); transition: clip-path 1.4s var(--ease-io); }
  .motion .reveal-img.is-in { clip-path: inset(0 0 0 0 round var(--radius-lg)); }
  .motion .ecard .reveal-img { clip-path: inset(0 0 100% 0); }
  .motion .ecard .reveal-img.is-in { clip-path: inset(0 0 0 0); }
  .motion .reveal-img img { transform: scale(1.18); transition: transform 1.8s var(--ease-out); }
  .motion .reveal-img.is-in img { transform: scale(1); }
  .motion .ecard:hover .reveal-img.is-in img { transform: scale(1.05); transition-duration: 1s; }

/* Sem .motion = prefers-reduced-motion ativo */
html:not(.motion) { scroll-behavior: auto; }
html:not(.motion) *, html:not(.motion) *::before, html:not(.motion) *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
html:not(.motion) .marquee { display: none; }
html:not(.motion) .statement .w { opacity: 1; }
