/* ==========================================================================
   Sosten Energia Solar — identidade própria
   Tema escuro · tipografia ultraleve (Poppins 200/300) · números em mono
   Cores: petróleo profundo + teal luminoso + sol amarelo
   ========================================================================== */

:root {
  color-scheme: dark;

  --sun: #F5C518;
  --sun-soft: rgba(245, 197, 24, .12);
  --teal: #35C2CE;
  --teal-2: #1E8E99;
  --teal-soft: rgba(53, 194, 206, .12);

  --bg: #05171A;
  --bg-2: #071F23;
  --surface: #0B282D;
  --surface-2: #0F3238;
  --ink: #EDF6F6;
  --txt: #93AFB3;
  --dim: #86A2A7;
  --on-accent: #04171A;
  --on-ink: #04171A;     /* texto por cima de um preenchimento em --ink */
  --hair: rgba(255, 255, 255, .08);
  --hair-2: rgba(255, 255, 255, .16);

  /* tokens que mudam entre claro e escuro */
  --accent-ink: var(--sun);          /* amarelo quando usado como TEXTO */
  --teal-ink: var(--teal);           /* teal quando usado como TEXTO */
  --hdr-bg: rgba(5, 23, 26, .6);
  --hdr-bg-solid: rgba(5, 23, 26, .93);
  --menu-bg: rgba(5, 23, 26, .98);
  --footer-bg: #030F11;
  --stroke: rgba(237, 246, 246, .42); /* traço dos ícones SVG */
  --stroke-soft: rgba(237, 246, 246, .5);
  --fill-soft: rgba(237, 246, 246, .07);
  --grid-line: rgba(237, 246, 246, .09);
  --shine: rgba(255, 255, 255, .22);  /* brilho que cruza o botão */
  --shadow-card: 0 30px 70px rgba(0, 0, 0, .45);
  --shadow-soft: none;                 /* no escuro os cards se separam pela cor */
  --footer-ink: var(--ink);
  --footer-dim: var(--dim);
  --sun-corona: rgba(255, 222, 120, .22);
  --sun-corona-2: rgba(255, 240, 190, .20);
  --sun-halo: rgba(255, 206, 60, .34);
  --orbit: rgba(53, 194, 206, .2);
  --danger: #E4756F;

  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --shell: 1240px;
  --ease: cubic-bezier(.22, .8, .28, 1);
}

/* ---------------- Tema claro ---------------- */
:root[data-theme="light"] {
  color-scheme: light;

  --teal: #12919D;
  --teal-soft: rgba(18, 145, 157, .10);

  /* tons escalonados: o fundo é levemente cinza para o branco dos cards saltar */
  --bg: #EAF2F2;
  --bg-2: #D9E6E6;
  --surface: #FFFFFF;
  --surface-2: #F7FBFB;

  --ink: #062126;
  --txt: #45636A;
  --dim: #4E6A6F;
  --hair: rgba(6, 33, 38, .13);
  --hair-2: rgba(6, 33, 38, .22);

  --on-ink: #EDF6F6;
  --accent-ink: #6E5303;
  --teal-ink: #0B6C76;
  --hdr-bg: rgba(234, 242, 242, .76);
  --hdr-bg-solid: rgba(234, 242, 242, .96);
  --menu-bg: rgba(234, 242, 242, .98);

  /* rodapé escuro também no claro: fecha a página e sustenta a marca */
  --footer-bg: #072026;
  --footer-ink: #EDF6F6;
  --footer-dim: #92AFB4;

  --stroke: rgba(6, 33, 38, .5);
  --stroke-soft: rgba(6, 33, 38, .62);
  --fill-soft: rgba(6, 33, 38, .08);
  --grid-line: rgba(6, 33, 38, .10);
  --shine: rgba(255, 255, 255, .55);
  --shadow-card: 0 24px 60px rgba(6, 33, 38, .16);
  --shadow-soft: 0 1px 2px rgba(6, 33, 38, .05), 0 10px 26px rgba(6, 33, 38, .07);

  /* o sol precisa de tons quentes mais fortes para aparecer sobre claro */
  --sun-corona: rgba(235, 165, 15, .30);
  --sun-corona-2: rgba(245, 190, 60, .26);
  --sun-halo: rgba(240, 170, 20, .30);
  --orbit: rgba(18, 145, 157, .32);

  --danger: #C0392F;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--txt);
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-weight: 300;
  line-height: 1.72;
  letter-spacing: .002em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3 { color: var(--ink); font-weight: 200; line-height: 1.16; letter-spacing: -.03em; margin: 0 0 .55em; }
h2 { font-size: clamp(1.9rem, 3.9vw, 3.1rem); }
h3 { font-size: 1.12rem; font-weight: 400; letter-spacing: -.01em; }
p { margin: 0 0 1rem; }
b, strong { font-weight: 400; color: var(--ink); }
em { font-style: normal; }
a { color: var(--teal-ink); text-decoration: none; }
code { font-family: var(--mono); font-size: .85em; color: var(--accent-ink); }

.shell { width: min(100% - 2.6rem, var(--shell)); margin-inline: auto; }
.shell-tight { width: min(100% - 2.6rem, 860px); }

.skip { position: absolute; left: -9999px; top: 0; z-index: 999; background: var(--surface); color: var(--ink); padding: .8rem 1.2rem; }
.skip:focus { left: 0; }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; }
::selection { background: rgba(245,197,24,.35); color: var(--ink); }

.progress {
  position: fixed; inset: 0 0 auto; height: 2px; z-index: 999;
  background: linear-gradient(90deg, var(--sun), var(--teal));
  transform: scaleX(0); transform-origin: 0 50%; will-change: transform;
}

/* ---------------- Botões ---------------- */
.bt {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .95rem 1.9rem;
  border: 1px solid transparent; border-radius: 2px;
  font-size: .82rem; font-weight: 400; letter-spacing: .13em; text-transform: uppercase;
  cursor: pointer; position: relative; overflow: hidden;
  transition: color .3s var(--ease), border-color .3s var(--ease), background-color .3s var(--ease);
}
.bt::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .35s var(--ease);
}
.bt:hover::before { transform: scaleY(1); }
.bt-solid { background: var(--teal); color: var(--on-accent); }
.bt-solid::before { background: var(--sun); }
.bt-solid:hover { color: var(--on-accent); }
.bt-line { border-color: var(--hair-2); color: var(--ink); }
.bt-line::before { background: var(--ink); }
.bt-line:hover { color: var(--on-ink); border-color: var(--ink); }
.bt-yellow { background: var(--sun); color: var(--on-accent); }
.bt-yellow::before { background: var(--teal); }
.bt-wide { width: 100%; }

/* ---------------- Header ---------------- */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 100;
  background: var(--hdr-bg);
  backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: background-color .3s ease, border-color .3s ease;
}
.hdr.stuck { background: var(--hdr-bg-solid); border-bottom-color: var(--hair); }
.hdr-in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 78px; }

.logo { display: inline-flex; align-items: center; gap: .6rem; }
.logo-sun { width: 30px; height: 30px; display: block; animation: spin 26s linear infinite; }
.logo-txt { font-size: 1.02rem; font-weight: 300; letter-spacing: .26em; text-transform: uppercase; color: var(--ink); }
.logo-txt em { color: var(--teal-ink); }

.menu { display: flex; align-items: center; gap: 1.9rem; }
.menu a { color: var(--txt); font-size: .84rem; font-weight: 300; letter-spacing: .04em; position: relative; transition: color .25s ease; }
.menu a i { font-family: var(--mono); font-style: normal; font-size: .62rem; color: var(--dim); margin-right: .35rem; transition: color .25s ease; }
.menu a:hover, .menu a.active { color: var(--ink); }
.menu a:hover i, .menu a.active i { color: var(--accent-ink); }
.menu a:not(.menu-cta)::after { content: ""; position: absolute; left: 0; bottom: -7px; height: 1px; width: 0; background: var(--sun); transition: width .3s var(--ease); }
.menu a:not(.menu-cta):hover::after, .menu a.active::after { width: 100%; }
.menu-cta { border: 1px solid var(--hair-2); padding: .6rem 1.1rem; border-radius: 2px; color: var(--ink) !important; font-size: .74rem !important; letter-spacing: .12em; text-transform: uppercase; transition: background-color .3s ease, color .3s ease; }
.menu-cta:hover { background: var(--sun); color: var(--on-accent) !important; border-color: var(--sun); }

/* --- Alternador de tema --- */
.hdr-tools { display: flex; align-items: center; gap: .9rem; }
.theme-tg {
  width: 38px; height: 38px; flex: 0 0 auto;
  display: grid; place-items: center;
  background: transparent; color: var(--txt);
  border: 1px solid var(--hair-2); border-radius: 50%;
  cursor: pointer; padding: 0;
  transition: color .25s ease, border-color .25s ease, background-color .25s ease, transform .3s var(--ease);
}
.theme-tg:hover { color: var(--accent-ink); border-color: var(--accent-ink); background: var(--sun-soft); transform: rotate(18deg); }
.theme-tg .ic { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.theme-tg .ic-moon { fill: currentColor; stroke: none; }
/* mostra o ícone do tema para o qual o clique vai levar */
:root[data-theme="dark"] .theme-tg .ic-moon,
:root[data-theme="light"] .theme-tg .ic-sun { display: none; }

.burger { display: none; flex-direction: column; gap: 6px; background: none; border: 0; padding: .6rem 0; cursor: pointer; }
.burger span { width: 26px; height: 1px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------------- Hero ---------------- */
.hero { position: relative; padding-top: 168px; overflow: hidden; background: radial-gradient(900px 620px at 78% 8%, rgba(53,194,206,.10), transparent 62%), var(--bg); }
.hero-glow { position: absolute; width: 620px; height: 620px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(245,197,24,.16), transparent 62%); filter: blur(30px); pointer-events: none; }
.hero-in {
  position: relative; z-index: 2;
  padding-bottom: clamp(3rem, 6vw, 5rem);
  display: grid; grid-template-columns: 1.05fr .8fr;
  gap: clamp(2rem, 4vw, 4.5rem); align-items: center;
}
.hero-copy { min-width: 0; }
.hero-form { min-width: 0; }
.hero-form .form { box-shadow: var(--shadow-card); }

.tag { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--mono); font-size: .7rem; font-weight: 300; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); margin: 0 0 2.4rem; }
.tag-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px rgba(245,197,24,.13); animation: pulse 2.4s infinite; }

.hero-h1 { font-size: clamp(2.3rem, 4.6vw, 4.1rem); line-height: 1.04; letter-spacing: -.045em; font-weight: 200; margin: 0; max-width: 15ch; }
/* Cada linha é recortada para a animação de entrada. A caixa da linha é mais
   curta que os glifos, então sem folga o recorte corta a perna do "g"/"j".
   Damos folga embaixo (compensada por margem negativa, layout intacto) e
   soltamos o recorte quando a animação acaba — assim nada fica cortado depois. */
.hero-h1 .ln { display: block; overflow: hidden; padding-bottom: .16em; margin-bottom: -.16em; }
.hero-h1 .ln > span { display: block; transform: translateY(135%); animation: riseIn 1s var(--ease) forwards; }
.hero-h1.done .ln { overflow: visible; }
.hero-h1 .ln:nth-child(2) > span { animation-delay: .12s; }
.hero-h1 .ln:nth-child(3) > span { animation-delay: .24s; }
.hero-h1 .ln:nth-child(4) > span { animation-delay: .36s; }
.hero-h1 .accent > span { color: var(--accent-ink); font-weight: 300; }

.hero-lead { max-width: 42ch; font-size: 1.12rem; color: var(--ink); font-weight: 300; margin: clamp(1.5rem, 3vw, 2.2rem) 0 1.1rem; }
.hero-sobre {
  max-width: 52ch; font-size: .93rem; color: var(--dim);
  padding-left: 1rem; border-left: 1px solid var(--hair-2);
  margin: 0 0 clamp(1.6rem, 3vw, 2.2rem);
}
.hero-act { display: flex; gap: .75rem; flex-wrap: wrap; }

/* ---------- Sol ---------- */
.sunstage { position: absolute; right: -155px; top: -135px; width: 440px; height: 440px; pointer-events: none; z-index: -1; }
.sunstage > * { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }

/* halo externo difuso */
.sun-bloom {
  width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, var(--sun-halo) 0%, rgba(245,197,24,.14) 38%, rgba(245,197,24,.04) 58%, transparent 72%);
  filter: blur(18px);
  animation: bloomPulse 6.5s ease-in-out infinite;
}

/* coroa de raios girando */
.sun-corona {
  width: 300px; height: 300px; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, var(--sun-corona) 0deg 2.2deg, transparent 2.2deg 11deg);
  -webkit-mask: radial-gradient(circle, transparent 34%, #000 44%, rgba(0,0,0,.35) 66%, transparent 80%);
          mask: radial-gradient(circle, transparent 34%, #000 44%, rgba(0,0,0,.35) 66%, transparent 80%);
  animation: coronaSpin 44s linear infinite;
  opacity: .8;
}
.sun-corona.c2 {
  width: 250px; height: 250px;
  background: repeating-conic-gradient(from 12deg, var(--sun-corona-2) 0deg 1.2deg, transparent 1.2deg 7deg);
  animation-duration: 30s; animation-direction: reverse;
  opacity: .55;
}

/* disco */
.sun-disc {
  width: 132px; height: 132px; border-radius: 50%;
  overflow: hidden; isolation: isolate;
  background: radial-gradient(circle at 36% 31%, #FFF8D4 0%, #FFE887 20%, #F8CC2A 48%, #E5A709 74%, #B87A05 100%);
  box-shadow:
    0 0 40px rgba(255,205,60,.5),
    0 0 110px rgba(245,197,24,.28),
    0 0 200px rgba(245,197,24,.12),
    inset -10px -12px 34px rgba(140,72,0,.38),
    inset 8px 9px 26px rgba(255,255,255,.30);
  animation: discBreathe 6s ease-in-out infinite;
}

/* plasma girando por baixo da superfície */
.sun-plasma {
  position: absolute; inset: -25%; border-radius: 50%;
  background:
    radial-gradient(ellipse 55% 45% at 28% 68%, rgba(255,124,0,.5), transparent 60%),
    radial-gradient(ellipse 45% 40% at 72% 30%, rgba(255,255,214,.55), transparent 58%);
  filter: blur(9px);
  mix-blend-mode: overlay;
  animation: plasma 15s ease-in-out infinite alternate;
}
.sun-plasma.p2 {
  background:
    radial-gradient(ellipse 50% 40% at 70% 72%, rgba(255,160,20,.45), transparent 58%),
    radial-gradient(ellipse 40% 35% at 26% 26%, rgba(255,246,200,.45), transparent 55%);
  animation: plasma2 21s ease-in-out infinite alternate;
}

/* borda quente e brilho especular */
.sun-limb {
  position: absolute; inset: 0; border-radius: 50%;
  box-shadow: inset 0 0 16px rgba(255,150,0,.45), inset 0 0 3px rgba(255,235,150,.9);
}
.sun-shine {
  position: absolute; left: 15%; top: 11%; width: 42%; height: 30%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.6), transparent 68%);
  filter: blur(7px);
  animation: shineDrift 9s ease-in-out infinite alternate;
}

/* ondas saindo do disco */
.sun-ring {
  border-radius: 50%; border: 1px solid rgba(255,214,90,.3);
  animation: ripple 5s ease-out infinite;
}
.sun-ring.r2 { animation-delay: 1.7s; }
.sun-ring.r3 { animation-delay: 3.4s; }

/* órbitas pontilhadas */
.sun-rays { width: 100%; height: 100%; }
.sun-rays .orbit { fill: none; stroke: var(--orbit); stroke-width: 1; stroke-dasharray: 3 9; animation: spin 60s linear infinite; transform-origin: 200px 200px; }
.sun-rays .orbit.faint { stroke: rgba(245,197,24,.13); animation-duration: 90s; animation-direction: reverse; }

/* partículas percorrendo as órbitas */
.sun-orbiter { width: 300px; height: 300px; animation: orbitSpin 22s linear infinite; }
.sun-orbiter i { position: absolute; left: 50%; top: -3px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 12px rgba(53,194,206,.9); }
.sun-orbiter.o2 { width: 370px; height: 370px; animation-duration: 34s; animation-direction: reverse; }
.sun-orbiter.o2 i { width: 4px; height: 4px; margin-left: -2px; background: var(--sun); box-shadow: 0 0 10px rgba(245,197,24,.9); }

/* Barra de números */
.hero-rail { border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); background: rgba(255,255,255,.012); }
.rail-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.rail-item { padding: 2rem 1.6rem 2rem 0; border-right: 1px solid var(--hair); }
.rail-item:last-child { border-right: 0; }
.rail-item + .rail-item { padding-left: 1.6rem; }
.rail-item b { display: block; font-family: var(--mono); font-weight: 300; font-size: clamp(1.7rem, 3vw, 2.5rem); color: var(--ink); line-height: 1; letter-spacing: -.03em; }
.rail-item sup { font-family: "Poppins", sans-serif; font-size: .5em; color: var(--teal-ink); margin-left: .3rem; top: -.6em; letter-spacing: .04em; }
.rail-item span { display: block; margin-top: .6rem; font-size: .8rem; color: var(--dim); }

/* ---------------- Marquee ---------------- */
.mq { overflow: hidden; padding: 1.5rem 0; border-bottom: 1px solid var(--hair); background: var(--bg-2); }
.mq-track { display: flex; align-items: center; gap: 2.6rem; width: max-content; animation: slide 42s linear infinite; }
.mq-track span { font-size: 1.1rem; font-weight: 200; letter-spacing: .04em; color: var(--dim); white-space: nowrap; }
.mq-track i { color: var(--accent-ink); font-style: normal; font-size: .6rem; opacity: .6; }
.mq:hover .mq-track { animation-play-state: paused; }

/* ---------------- Seções ---------------- */
.sec { padding: clamp(4.5rem, 9vw, 8rem) 0; position: relative; }
.sec-band { background: var(--bg-2); border-block: 1px solid var(--hair); }
.sec-head { max-width: 780px; margin-bottom: clamp(2.8rem, 5vw, 4.5rem); }
.idx { font-family: var(--mono); font-size: .72rem; font-weight: 400; letter-spacing: .22em; color: var(--accent-ink); text-transform: uppercase; margin: 0 0 1.4rem; }
.idx span { color: var(--dim); letter-spacing: .12em; }
.sec-lead { font-size: 1.02rem; max-width: 60ch; margin: 1.2rem 0 0; }

/* ---------------- 01 Simulador ---------------- */
.sim { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 4vw, 4rem); align-items: start; }

.sim-ctrl { border: 1px solid var(--hair); background: var(--surface); box-shadow: var(--shadow-soft); padding: clamp(1.8rem, 3vw, 2.6rem); border-radius: 3px; position: relative; overflow: hidden; }
.sim-ctrl::after { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, var(--sun), transparent 70%); }
.sim-ctrl label { display: block; font-family: var(--mono); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
.sim-out { display: block; font-family: var(--mono); font-weight: 300; font-size: clamp(2.6rem, 5.5vw, 3.9rem); color: var(--ink); line-height: 1.1; letter-spacing: -.04em; margin: .5rem 0 1.6rem; }

input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 2px; background: var(--hair-2); outline: none; cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--sun); border: 4px solid var(--surface); box-shadow: 0 0 0 1px var(--sun), 0 0 22px rgba(245,197,24,.5); cursor: grab; transition: transform .2s var(--ease); }
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.18); }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--sun); border: 3px solid var(--surface); box-shadow: 0 0 0 1px var(--sun); cursor: grab; }
input[type="range"]::-moz-range-track { height: 2px; background: var(--hair-2); }

.sim-scale { display: flex; justify-content: space-between; font-family: var(--mono); font-size: .66rem; color: var(--dim); margin-top: .9rem; letter-spacing: .08em; }

.sim-type { display: flex; gap: .5rem; margin-top: 2.2rem; flex-wrap: wrap; }
.chip { background: transparent; border: 1px solid var(--hair-2); color: var(--txt); font: inherit; font-size: .78rem; font-weight: 300; padding: .5rem 1rem; border-radius: 999px; cursor: pointer; transition: all .25s var(--ease); }
.chip:hover { border-color: var(--teal); color: var(--ink); }
.chip.on { background: var(--teal-soft); border-color: var(--teal); color: var(--teal-ink); }

.sim-res { display: grid; gap: 1rem; }
.sim-box { border: 1px solid var(--hair); background: var(--surface); box-shadow: var(--shadow-soft); padding: 1.7rem 1.8rem; border-radius: 3px; position: relative; overflow: hidden; }
.sim-box.hi { background: linear-gradient(135deg, var(--surface-2), var(--surface)); border-color: rgba(53,194,206,.32); }
.sim-box.hi::after { content: ""; position: absolute; width: 200px; height: 200px; right: -90px; bottom: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(53,194,206,.14), transparent 65%); }
.sim-lbl { font-family: var(--mono); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); margin: 0 0 .5rem; }
.sim-big { font-family: var(--mono); font-weight: 300; font-size: clamp(2rem, 4.4vw, 3.1rem); line-height: 1.05; letter-spacing: -.045em; color: var(--teal-ink); margin: 0; position: relative; z-index: 1; }
.sim-big.red { color: var(--danger); }
.sim-note { font-size: .76rem; color: var(--dim); margin: .7rem 0 0; position: relative; z-index: 1; }

.sim-mini { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--hair); background: var(--surface); box-shadow: var(--shadow-soft); border-radius: 3px; overflow: hidden; }
.sim-mini div { padding: 1.1rem 1.2rem; border-right: 1px solid var(--hair); }
.sim-mini div:last-child { border-right: 0; }
.sim-mini span { display: block; font-size: .7rem; color: var(--dim); line-height: 1.4; }
.sim-mini b { display: block; margin-top: .45rem; font-family: var(--mono); font-weight: 300; font-size: 1.12rem; color: var(--ink); letter-spacing: -.02em; }

/* ---------------- 02 Fluxo ---------------- */
.flow { position: relative; }

/* barramento de energia — linha CSS, escala em qualquer largura */
.flow-bus {
  position: relative; height: 2px; margin-bottom: clamp(2rem, 4vw, 3.2rem);
  background: rgba(255,255,255,.09); border-radius: 2px;
}
.flow-bus .bus-live {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, var(--sun) 0 6px, transparent 6px 18px);
  -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  animation: busFlow 1.4s linear infinite;
  opacity: .75;
}
.flow-bus .bus-spark {
  position: absolute; top: 50%; left: 0;
  width: 8px; height: 8px; margin-top: -4px; border-radius: 50%;
  background: var(--sun); box-shadow: 0 0 12px 2px rgba(245,197,24,.75);
  animation: busTravel 4.4s linear infinite;
}
.flow-bus .bus-spark.s2 { width: 6px; height: 6px; margin-top: -3px; background: var(--teal); box-shadow: 0 0 12px 2px rgba(53,194,206,.7); animation-delay: 1.5s; }
.flow-bus .bus-spark.s3 { width: 6px; height: 6px; margin-top: -3px; background: var(--teal); box-shadow: 0 0 12px 2px rgba(53,194,206,.7); animation-delay: 3s; }

/* ícone de cada etapa */
.fs-art { width: clamp(78px, 8vw, 100px); margin-bottom: 1.3rem; }
.fs-art svg { width: 100%; height: auto; overflow: visible; display: block; }

/* traços dos equipamentos */
.flow .fline, .flow .fbox {
  fill: none; stroke: var(--stroke); stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.flow .fline.dim { stroke: var(--hair); }
.flow .fscreen { fill: rgba(53,194,206,.14); stroke: rgba(53,194,206,.45); stroke-width: 1.5; animation: screenGlow 3.2s ease-in-out infinite; }

/* sol */
.flow .fsun-c { fill: var(--sun); transform-box: fill-box; transform-origin: center; animation: breathe 4s ease-in-out infinite; }
.flow .fsun-r path { fill: none; stroke: var(--sun); stroke-width: 2.2; stroke-linecap: round; }
.flow .fsun-r { transform-box: fill-box; transform-origin: center; opacity: .75; animation: spin 18s linear infinite; }
.flow .beam { fill: none; stroke: var(--sun); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 3 7; opacity: .55; animation: dashFlow 1s linear infinite; }

/* módulos carregando em onda */
.flow .fpnl { fill: rgba(53,194,206,.12); stroke: var(--teal); stroke-width: 1.6; animation: pnlCharge 3.6s ease-in-out infinite; }
.flow .fpnl:nth-child(2) { animation-delay: .3s; }
.flow .fpnl:nth-child(3) { animation-delay: .6s; }

/* inversor, casa e rede */
.flow .fled { fill: #2ED47F; animation: ledBlink 1.8s ease-in-out infinite; }
.flow .fwin { fill: var(--fill-soft); animation: winGlow 5s ease-in-out infinite; }
.flow .fwin:nth-of-type(2) { animation-delay: 1.8s; }
.flow .fdot { fill: var(--teal); opacity: .5; animation: breathe 2.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.flow .fdot.d2 { animation-delay: 1.3s; }
.flow .arc { fill: none; stroke: var(--teal); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 2 5; opacity: 0; animation: arcZap 3.4s ease-in-out infinite; }

.flow-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.flow-steps li { border-top: 1px solid var(--hair-2); padding-top: 1.6rem; position: relative; transition: border-color .35s ease; }
.flow-steps li::before { content: ""; position: absolute; left: 0; top: -1px; width: 0; height: 1px; background: var(--sun); transition: width .6s var(--ease); }
.flow-steps li.visible::before { width: 100%; }
.fs-n { font-family: var(--mono); font-size: .68rem; letter-spacing: .18em; color: var(--accent-ink); display: block; margin-bottom: .9rem; }
.flow-steps p { font-size: .9rem; margin: 0; }

/* ---------------- 03 Soluções ---------------- */
.rows { border-top: 1px solid var(--hair); }
.row {
  display: grid; grid-template-columns: 132px 1fr 220px; gap: 2rem; align-items: center;
  padding: clamp(1.8rem, 3.4vw, 2.9rem) 1.2rem;
  border-bottom: 1px solid var(--hair);
  position: relative; transition: padding-left .4s var(--ease);
}
.row::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--teal-soft), transparent 55%); opacity: 0; transition: opacity .4s ease; pointer-events: none; }
.row::after {
  content: ""; position: absolute; left: 0; top: 50%; width: 2px; height: 0;
  background: linear-gradient(180deg, var(--sun), var(--teal));
  transform: translateY(-50%); transition: height .45s var(--ease);
}
.row:hover { padding-left: 2.2rem; }
.row:hover::before { opacity: 1; }
.row:hover::after { height: 68%; }

/* --- Ilustração animada --- */
.row-art { position: relative; z-index: 1; transition: transform .5s var(--ease); }
.row-art svg { width: 100%; height: auto; overflow: visible; }
.row:hover .row-art { transform: translateY(-5px); }

/* traço que se desenha quando a linha entra na tela */
.row-art .draw {
  fill: none; stroke: var(--hair-2); stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 400; stroke-dashoffset: 400;
  transition: stroke-dashoffset 1.4s var(--ease), stroke .4s ease;
}
.row.visible .row-art .draw { stroke-dashoffset: 0; }
.row:hover .row-art .draw { stroke: var(--stroke-soft); }
.row-art .ground { stroke: var(--hair); }

/* módulos: onda de carga percorrendo o array, em loop */
.row-art .pnl {
  fill: rgba(53,194,206,.10); stroke: var(--teal); stroke-width: 1.4;
  transition: fill .4s var(--ease), stroke .4s ease, filter .4s ease;
}
.row.visible .row-art .pnl { animation: pnlCharge 3.6s ease-in-out infinite; }
.row.visible .row-art .pnl:nth-child(2) { animation-delay: .28s; }
.row.visible .row-art .pnl:nth-child(3) { animation-delay: .56s; }
.row.visible .row-art .pnl:nth-child(4) { animation-delay: .84s; }
/* no hover, o array inteiro acende de uma vez */
.row:hover .row-art .pnl {
  animation-play-state: paused;
  fill: var(--sun); stroke: var(--sun); filter: drop-shadow(0 0 6px rgba(245,197,24,.65));
}

/* janelas piscando devagar, como casa habitada */
.row-art .win { fill: var(--fill-soft); transition: fill .45s var(--ease); }
.row.visible .row-art .win { animation: winGlow 5s ease-in-out infinite; }
.row.visible .row-art .win:nth-of-type(2) { animation-delay: 1.6s; }
.row:hover .row-art .win { animation-play-state: paused; fill: rgba(245,197,24,.8); }

/* sol sempre girando e respirando */
.row-art .sun-c {
  fill: var(--sun); opacity: .8;
  transform-box: fill-box; transform-origin: center;
  animation: breathe 4.5s ease-in-out infinite;
  transition: opacity .45s ease;
}
.row:hover .row-art .sun-c { opacity: 1; }
.row-art .sun-r path { fill: none; stroke: var(--sun); stroke-width: 2; stroke-linecap: round; }
.row-art .sun-r {
  opacity: .55; transform-box: fill-box; transform-origin: center;
  animation: spin 16s linear infinite;
  transition: opacity .45s ease;
}
.row:hover .row-art .sun-r { opacity: .95; }

/* energia descendo dos módulos, sempre correndo */
.row-art .flow {
  fill: none; stroke: var(--sun); stroke-width: 2; stroke-linecap: round;
  stroke-dasharray: 2 6; opacity: .75;
  animation: dashFlow 1.1s linear infinite;
  transition: opacity .35s ease;
}
.row:hover .row-art .flow { opacity: 1; }

.row-main { position: relative; z-index: 1; }
.row-main h3 { font-size: clamp(1.3rem, 2.4vw, 1.9rem); font-weight: 200; letter-spacing: -.025em; margin-bottom: .4rem; transition: color .35s ease; }
.row:hover .row-main h3 { color: var(--accent-ink); }
.row-main p { margin: 0; font-size: .95rem; max-width: 62ch; }
.row-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; justify-content: flex-end; position: relative; z-index: 1; }
.row-tags li {
  font-family: var(--mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--dim); border: 1px solid var(--hair); padding: .3rem .6rem; border-radius: 999px;
  transition: transform .4s var(--ease), border-color .35s ease, color .35s ease;
}
.row:hover .row-tags li { transform: translateY(-3px); color: var(--teal-ink); border-color: rgba(53,194,206,.35); }
.row:hover .row-tags li:nth-child(2) { transition-delay: .06s; }
.row:hover .row-tags li:nth-child(3) { transition-delay: .12s; }

/* ---------------- 04 Timeline ---------------- */
.tl { position: relative; padding-left: 3.4rem; }
.tl-line { position: absolute; left: 11px; top: 8px; bottom: 8px; width: 1px; background: var(--hair-2); }
.tl-line i { position: absolute; inset: 0 0 auto; width: 1px; height: 0; background: linear-gradient(180deg, var(--sun), var(--teal)); transition: height .1s linear; }
.tl-items { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(2rem, 4vw, 3.2rem); }
.tl-items li { position: relative; }
.tl-items li::before {
  content: ""; position: absolute; left: -3.4rem; top: .55rem;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--bg-2); border: 1px solid var(--hair-2);
  transform: translateX(7px); transition: background-color .4s ease, border-color .4s ease, box-shadow .4s ease;
}
.tl-items li.visible::before { background: var(--sun); border-color: var(--sun); box-shadow: 0 0 0 5px rgba(245,197,24,.12); }
.tl-items h3 { margin-bottom: .35rem; }
.tl-items p { margin: 0; font-size: .95rem; max-width: 62ch; }
.tl-when { display: inline-block; margin-top: .7rem; font-family: var(--mono); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-ink); }

/* ---------------- 05 Obras · carrossel ---------------- */
.carousel { position: relative; }

.car-viewport {
  display: flex; gap: 1.1rem;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding-bottom: .5rem;
  scrollbar-width: none;
}
.car-viewport::-webkit-scrollbar { display: none; }
.car-viewport:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 6px; }

.car-item {
  position: relative; margin: 0;
  flex: 0 0 calc((100% - 2.2rem) / 3);
  scroll-snap-align: start;
  border: 1px solid var(--hair); border-radius: 3px;
  overflow: hidden; background: var(--surface); box-shadow: var(--shadow-soft);
}
.car-item img {
  width: 100%; height: 300px; object-fit: cover; display: block;
  transition: transform .7s var(--ease);
}
.car-item:hover img { transform: scale(1.05); }
.car-item figcaption {
  position: absolute; inset: auto 0 0; z-index: 1;
  padding: 2.4rem 1.1rem .95rem;
  font-family: var(--mono); font-size: .68rem; font-weight: 400;
  letter-spacing: .16em; text-transform: uppercase; color: #EDF6F6;
  background: linear-gradient(180deg, transparent, rgba(2, 12, 14, .9));
}

/* setas */
.car-nav {
  position: absolute; top: 150px; transform: translateY(-50%); box-shadow: var(--shadow-soft);
  width: 46px; height: 46px; display: grid; place-items: center;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--hair-2); border-radius: 50%;
  cursor: pointer; padding: 0; z-index: 3;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, opacity .25s ease;
}
.car-nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.car-nav:hover { background: var(--sun); color: var(--on-accent); border-color: var(--sun); }
.car-nav[disabled] { opacity: .25; cursor: default; }
.car-nav[disabled]:hover { background: var(--surface); color: var(--ink); border-color: var(--hair-2); }
.car-prev { left: 12px; }
.car-next { right: 12px; }
/* só joga as setas para fora do conteúdo quando há margem sobrando na tela */
@media (min-width: 1340px) {
  .car-prev { left: -23px; }
  .car-next { right: -23px; }
}

/* rodapé do carrossel: pontos + pausar */
.car-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: 1.6rem; flex-wrap: wrap; }
.car-dots { display: flex; gap: .5rem; flex-wrap: wrap; }
.car-dots button {
  width: 26px; height: 3px; padding: 0; border: 0; border-radius: 2px;
  background: var(--hair-2); cursor: pointer;
  transition: background-color .3s ease, width .3s var(--ease);
}
.car-dots button[aria-selected="true"] { background: var(--sun); width: 40px; }

.car-play {
  display: inline-flex; align-items: center; gap: .55rem;
  background: none; border: 0; padding: .3rem 0; cursor: pointer;
  font: inherit; font-size: .68rem; font-family: var(--mono);
  letter-spacing: .16em; text-transform: uppercase; color: var(--dim);
  transition: color .25s ease;
}
.car-play:hover { color: var(--accent-ink); }
.car-play-ic { width: 9px; height: 11px; background: currentColor; }
.car-play[aria-pressed="true"] .car-play-ic { clip-path: polygon(0 0, 35% 0, 35% 100%, 0 100%, 0 0, 65% 0, 100% 0, 100% 100%, 65% 100%, 65% 0); }
.car-play[aria-pressed="false"] .car-play-ic { clip-path: polygon(0 0, 100% 50%, 0 100%); }

/* ---------------- 06 Dúvidas ---------------- */
.qa details { border-bottom: 1px solid var(--hair); }
.qa summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.5rem 0;
  font-size: clamp(1.05rem, 2vw, 1.35rem); font-weight: 200; letter-spacing: -.02em; color: var(--ink);
  transition: color .25s ease;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--accent-ink); }
.qa summary::after { content: ""; width: 12px; height: 12px; flex: 0 0 auto; background: linear-gradient(var(--teal), var(--teal)) center/100% 1px no-repeat, linear-gradient(var(--teal), var(--teal)) center/1px 100% no-repeat; transition: transform .35s var(--ease); }
.qa details[open] summary::after { transform: rotate(135deg); }
.qa details > div { overflow: hidden; }
.qa details p { margin: 0 0 1.6rem; font-size: .96rem; max-width: 68ch; }

/* ---------------- Contato ---------------- */
.contato {
  position: relative; overflow: hidden;
  padding: clamp(4.5rem, 9vw, 8rem) 0;
  background: radial-gradient(760px 420px at 12% 20%, rgba(53,194,206,.10), transparent 60%), var(--bg);
  border-top: 1px solid var(--hair);
}
.contato-in { display: grid; grid-template-columns: 1fr .85fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
.contato h2 { font-size: clamp(2.2rem, 5vw, 4rem); }
.contato h2 em { color: var(--accent-ink); }
.contato-list { list-style: none; margin: 2.8rem 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--hair); }
.contato-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem; padding: .95rem 0; border-bottom: 1px solid var(--hair); }
.contato-list span { font-family: var(--mono); font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }
.contato-list b, .contato-list a { font-weight: 300; font-size: 1rem; color: var(--ink); }
.contato-list a:hover { color: var(--accent-ink); }

.form { border: 1px solid var(--hair); background: var(--surface); box-shadow: var(--shadow-soft); padding: clamp(1.8rem, 3vw, 2.5rem); border-radius: 3px; position: relative; }
.form::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, var(--sun), var(--teal) 60%, transparent); }
.form-top { font-family: var(--mono); font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-ink); margin: 0 0 1.8rem; }
.fld { margin-bottom: 1.15rem; }
.fld-2 { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.fld label { display: block; font-family: var(--mono); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin-bottom: .5rem; }
.fld input, .fld select {
  width: 100%; padding: .85rem 0; background: transparent;
  border: 0; border-bottom: 1px solid var(--hair-2); border-radius: 0;
  font: inherit; font-weight: 300; font-size: .98rem; color: var(--ink);
  transition: border-color .25s ease;
}
.fld input::placeholder { color: #4E6A6E; }
.fld input:focus, .fld select:focus { outline: none; border-bottom-color: var(--sun); }
.fld select option { background: var(--surface); color: var(--ink); }
.fld.bad input { border-bottom-color: var(--danger); }
.fld .err { font-size: .74rem; color: var(--danger); margin: .4rem 0 0; }
.form .bt { margin-top: 1rem; }
.form-note { font-size: .74rem; color: var(--dim); text-align: center; margin: 1rem 0 0; }

/* ---------------- Rodapé ---------------- */
/* o padding-right extra reserva a faixa do botão flutuante de WhatsApp,
   para que nenhum link do rodapé fique escondido atrás dele */
.ft { border-top: 1px solid var(--hair); background: var(--footer-bg); padding: 2.8rem 0; }
.ft-in { padding-right: 92px; }
.ft-brand { display: grid; gap: .55rem; max-width: 440px; }
.ft .logo-txt { color: var(--footer-ink); }
.ft .logo-txt em { color: var(--sun); }
.ft-tagline { margin: .2rem 0 0; color: var(--footer-ink); font-size: clamp(1.05rem, 2.2vw, 1.38rem); line-height: 1.45; font-weight: 500; max-width: 360px; }
.ft-subtagline { margin: 0; color: var(--footer-dim); font-size: .88rem; line-height: 1.6; }
.ft-in { display: grid; grid-template-columns: minmax(260px, 1fr) auto; align-items: end; gap: 1.8rem 3rem; }
.ft-copy { margin: 0; font-size: .78rem; color: var(--footer-dim); }
.ft-links { grid-column: 2; margin: 0; display: flex; gap: 1.6rem; justify-content: flex-end; }
.ft-links a { font-size: .78rem; color: var(--footer-dim); transition: color .25s ease; }
.ft-links a:hover { color: var(--sun); }

/* ---------------- WhatsApp flutuante ---------------- */
.wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 200;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25D366; color: #04171A;
  display: grid; place-items: center;
  box-shadow: 0 12px 34px rgba(37,211,102,.26);
  transition: transform .25s var(--ease);
}
.wa::before { content: ""; position: absolute; inset: -6px; border: 1px solid rgba(37,211,102,.6); border-radius: inherit; animation: ping 2.6s ease-out infinite; }
.wa:hover { transform: scale(1.09); }

/* ---------------- Reveal ---------------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.visible { opacity: 1; transform: none; }

/* ---------------- Animações ---------------- */
@keyframes riseIn { to { transform: translateY(0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 50% { transform: scale(1.07); } }
@keyframes ripple { 0% { width: 140px; height: 140px; opacity: .55; } 100% { width: 430px; height: 430px; opacity: 0; } }

/* o sol é centralizado com translate(-50%,-50%); as keyframes precisam repeti-lo,
   senão a animação sobrescreve a centralização */
@keyframes bloomPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1);    opacity: .85; }
  50%      { transform: translate(-50%, -50%) scale(1.09); opacity: 1; }
}
@keyframes coronaSpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes discBreathe {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50%      { transform: translate(-50%, -50%) scale(1.045); }
}
@keyframes orbitSpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes plasma {
  from { transform: translate(-5%, 4%) rotate(0deg) scale(1); }
  to   { transform: translate(6%, -5%) rotate(22deg) scale(1.14); }
}
@keyframes plasma2 {
  from { transform: translate(4%, -3%) rotate(0deg) scale(1.08); }
  to   { transform: translate(-6%, 5%) rotate(-26deg) scale(1); }
}
@keyframes shineDrift {
  from { transform: translate(0, 0) scale(1); opacity: .85; }
  to   { transform: translate(9%, 6%) scale(1.12); opacity: 1; }
}
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(245,197,24,0); } }
@keyframes slide { to { transform: translateX(-50%); } }
@keyframes ping { 0% { transform: scale(.9); opacity: .7; } 70%, 100% { transform: scale(1.4); opacity: 0; } }
@keyframes dashFlow { to { stroke-dashoffset: -16; } }
@keyframes pnlCharge {
  0%, 52%, 100% { fill: rgba(53,194,206,.10); stroke: var(--teal); filter: none; }
  16%, 34%      { fill: var(--sun); stroke: var(--sun); filter: drop-shadow(0 0 6px rgba(245,197,24,.6)); }
}
@keyframes busFlow { to { background-position: 18px 0; } }
@keyframes busTravel {
  0%   { left: 0;    opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}
@keyframes ledBlink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes screenGlow { 0%, 100% { fill: rgba(53,194,206,.10); } 50% { fill: rgba(53,194,206,.30); } }
@keyframes arcZap { 0%, 82%, 100% { opacity: 0; } 86%, 94% { opacity: .9; } }
@keyframes winGlow {
  0%, 100% { fill: var(--fill-soft); }
  45%, 65% { fill: rgba(245,197,24,.62); }
}

/* ---------------- Responsivo ---------------- */
@media (max-width: 1080px) {
  .sunstage { right: -150px; transform: scale(.74); transform-origin: center; opacity: .55; }
  .row { grid-template-columns: 110px 1fr; }
  .row-tags { grid-column: 2; justify-content: flex-start; margin-top: .4rem; }
}

@media (max-width: 900px) {
  .burger { display: flex; }
  .menu {
    position: fixed; inset: 78px 0 auto; flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--menu-bg); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--hair);
    padding: 1rem 1.3rem 2rem; display: none;
  }
  .menu.open { display: flex; }
  .menu a { width: 100%; padding: 1rem 0; border-bottom: 1px solid var(--hair); font-size: 1rem; }
  .menu a::after { display: none; }
  .menu-cta { margin-top: 1.4rem; text-align: center; justify-content: center; display: flex; }

  .hero { padding-top: 122px; }
  .hero-in { grid-template-columns: 1fr; gap: 2.6rem; }
  .sunstage { top: -170px; right: -190px; }
  .sim { grid-template-columns: 1fr; }
  .flow-steps { grid-template-columns: repeat(2, 1fr); }
  .rail-in { grid-template-columns: repeat(2, 1fr); }
  .rail-item { border-right: 0; padding: 1.5rem 1rem 1.5rem 0; border-bottom: 1px solid var(--hair); }
  .rail-item + .rail-item { padding-left: 0; }
  .rail-item:nth-child(odd) { border-right: 1px solid var(--hair); }
  .rail-item:nth-child(even) { padding-left: 1.4rem; }
  .contato-in { grid-template-columns: 1fr; }
  .car-item { flex: 0 0 calc((100% - 1.1rem) / 2); }
  .car-item img { height: 250px; }
  .car-nav { top: 125px; }
  .car-prev { left: 6px; }
  .car-next { right: 6px; }
}

@media (max-width: 620px) {
  .hero-h1 { font-size: clamp(2.3rem, 11vw, 3.4rem); max-width: none; }
  .hero-act { flex-direction: column; align-items: stretch; }
  .bt { width: 100%; }
  .sim-mini { grid-template-columns: 1fr; }
  .sim-mini div { border-right: 0; border-bottom: 1px solid var(--hair); }
  .sim-mini div:last-child { border-bottom: 0; }
  .flow-steps { grid-template-columns: 1fr; }
  .car-item { flex: 0 0 86%; }
  .car-item img { height: 230px; }
  .car-nav { top: 115px; width: 40px; height: 40px; }
  .car-bottom { justify-content: center; }
  .car-dots button { width: 18px; }
  .car-dots button[aria-selected="true"] { width: 28px; }
  .fld-2 { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; gap: .8rem; padding-inline: 0; }
  .row:hover { padding-left: .8rem; }
  .row-art { max-width: 118px; }
  .row-tags { grid-column: auto; margin-top: .2rem; }
  .ft-in { grid-template-columns: 1fr; align-items: flex-start; }
  .ft-links { grid-column: 1; flex-direction: column; gap: .75rem; justify-content: flex-start; }
  .contato-list li { flex-direction: column; gap: .2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .hero-h1 .ln > span { transform: none; animation: none; }
  .mq-track { animation: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
