/* ============================================================
   ARTSOL · hi-fi · 3 temas visuais
   Estrutura A (Calculator-first) · Desktop + Mobile responsive
   ============================================================ */

/* ── tokens ── */
:root {
  /* ARTSOL brand */
  --brand-red: #E94A2E;
  --brand-red-2: #C9381F;
  --brand-yellow: #F9B922;
  --brand-yellow-2: #E59E0E;

  /* default = THEME 1 (Athena · Clean Light) */
  --bg:        #ffffff;
  --bg-soft:   #f8f6f1;
  --bg-2:      #efece4;
  --bg-dark:   #0e0d10;
  --fg:        #14130f;
  --fg-2:      #4a4842;
  --fg-3:      #8f8b80;
  --fg-inv:    #fafaf7;
  --border:    rgba(20,19,15,.10);
  --border-2:  rgba(20,19,15,.18);
  --accent:    var(--brand-red);
  --accent-2:  var(--brand-yellow);
  --accent-soft: rgba(233,74,46,.08);
  --shadow-sm: 0 1px 0 rgba(20,19,15,.04), 0 1px 2px rgba(20,19,15,.06);
  --shadow-md: 0 4px 16px rgba(20,19,15,.08), 0 1px 0 rgba(20,19,15,.04);
  --shadow-lg: 0 24px 60px -20px rgba(20,19,15,.18), 0 12px 28px -10px rgba(20,19,15,.10);

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --font-display: "Sora", ui-sans-serif, system-ui, sans-serif;
  --font-body:    "Sora", ui-sans-serif, system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, monospace;

  --max:       1240px;
  --pad:       28px;
  --grid-line: rgba(20,19,15,.06);
}

/* ── THEME 2 · EDITORIAL (warm cream + heavier display) ── */
.theme-editorial {
  --bg:        #f6efe2;
  --bg-soft:   #efe6d3;
  --bg-2:      #e5d9bf;
  --bg-dark:   #1b1812;
  --fg:        #1b1812;
  --fg-2:      #5a5246;
  --fg-3:      #8b8270;
  --fg-inv:    #f6efe2;
  --border:    rgba(27,24,18,.14);
  --border-2:  rgba(27,24,18,.22);
  --accent:    #C9381F;
  --accent-2:  #D88A12;
  --accent-soft: rgba(201,56,31,.10);
  --grid-line: rgba(27,24,18,.08);
}

/* ── THEME 3 · NOCTURNAL (dark premium) ── */
.theme-nocturnal {
  --bg:        #0a0a0f;
  --bg-soft:   #131319;
  --bg-2:      #1c1c25;
  --bg-dark:   #06060a;
  --fg:        #f5f4ef;
  --fg-2:      #c8c6c2;
  --fg-3:      #8a8884;
  /* fg-inv stays LIGHT in nocturnal — it's used as text on dark surfaces
     (footer, etc.), not as a literal "inverse of fg". */
  --fg-inv:    #f5f4ef;
  --border:    rgba(245,244,239,.10);
  --border-2:  rgba(245,244,239,.20);
  --accent:    #F9B922;
  --accent-2:  #E94A2E;
  --accent-soft: rgba(249,185,34,.10);
  --grid-line: rgba(245,244,239,.06);
}

/* ── reset / base ── */
* { box-sizing: border-box; }
html { background: var(--bg); }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
#root {
  background: var(--bg);
  color: var(--fg);
  min-height: 100vh;
  transition: background .35s ease, color .35s ease;
}
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* ── typography ── */
.h-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--fg-2);
  font-weight: 500;
}
.h-eyebrow .dot { color: var(--accent); }

.h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 5.5vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}
.h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.06;
  letter-spacing: -0.022em;
  margin: 0;
  text-wrap: balance;
}
.h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(20px, 1.7vw, 24px);
  line-height: 1.18;
  letter-spacing: -0.012em;
  margin: 0;
}
.subhead {
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.55;
  color: var(--fg-2);
  max-width: 56ch;
  text-wrap: pretty;
}
.h1 .accent, .h2 .accent { color: var(--accent); }

/* underline highlight */
.uline {
  position: relative;
  display: inline;
  background-image: linear-gradient(to top, color-mix(in srgb, var(--accent) 22%, transparent) 0%, color-mix(in srgb, var(--accent) 22%, transparent) 0.42em, transparent 0.42em);
  background-repeat: no-repeat;
  background-position: 0 calc(100% - 0.06em);
  background-size: 100% 100%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  border-radius: 1px;
}
.uline::after { content: none; }
.theme-nocturnal .uline {
  background-image: linear-gradient(to top, color-mix(in srgb, var(--accent) 35%, transparent) 0%, color-mix(in srgb, var(--accent) 35%, transparent) 0.42em, transparent 0.42em);
}

/* ── layout ── */
.wrap {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

section { padding-block: clamp(72px, 8vw, 120px); }
section.tight { padding-block: clamp(48px, 5vw, 80px); }

.row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.between { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }

/* ── buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: all .18s ease;
  white-space: nowrap;
}
.btn .arr { transition: transform .18s ease; }
.btn:hover .arr { transform: translateX(3px); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, var(--shadow-md);
}
.btn-primary:hover { background: var(--brand-red-2); transform: translateY(-1px); box-shadow: var(--shadow-lg); }

.btn-secondary {
  background: transparent;
  color: var(--fg);
  border-color: var(--border-2);
}
.btn-secondary:hover { background: var(--bg-soft); border-color: var(--fg); }

.btn-dark {
  background: var(--fg);
  color: var(--bg);
}
.btn-dark:hover { background: var(--bg-dark); }

.btn-sm { height: 38px; padding: 0 16px; font-size: 13px; }
.btn-lg { height: 58px; padding: 0 28px; font-size: 16px; }

/* ── nav ── */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max);
  margin-inline: auto;
  padding: 16px var(--pad);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
}
.nav-logo img { height: 104px; width: auto; display: block; }
.theme-nocturnal .nav-logo img { filter: brightness(1.05); }

.nav-links {
  display: flex; gap: 4px; justify-content: center;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-2);
  transition: all .15s ease;
  /* sem encolher: se faltar espaço tem que estourar visivelmente, não quebrar
     "Como funciona" em duas linhas silenciosamente */
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-links a:hover { color: var(--fg); background: var(--bg-soft); }

/* dropdown de soluções — CSS puro, abre no hover e no foco de teclado */
.nav-drop { position: relative; display: flex; }
.nav-drop > a { display: inline-flex; align-items: center; gap: 5px; }
.nav-drop-caret { transition: transform .18s ease; }
.nav-drop:hover .nav-drop-caret,
.nav-drop:focus-within .nav-drop-caret { transform: rotate(180deg); }

.nav-drop-menu {
  position: absolute;
  top: 100%; left: 0;
  min-width: 232px;
  display: flex; flex-direction: column; gap: 2px;
  /* padding-top = ponte de hover: evita perder o foco ao descer o mouse.
     O fundo visível fica no ::before, recuado por esses mesmos 10px. */
  padding: 10px 6px 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav-drop:hover .nav-drop-menu,
.nav-drop:focus-within .nav-drop-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
/* fundo sólido do painel — sem ele o texto lê sobre o conteúdo da página.
   O transform acima cria stacking context, então o z-index:-1 fica contido. */
.nav-drop-menu::before {
  content: "";
  position: absolute;
  inset: 10px 0 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  z-index: -1;
}
.nav-drop-menu > a {
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 14px;
  white-space: nowrap;
}
.nav-drop-menu > a:first-of-type { margin-top: 6px; }

.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-phone {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 500;
  color: var(--fg);
}

.nav-burger { display: none; }
/* o drawer só existe dentro do media query — sem isso, redimensionar de mobile
   pra desktop com o menu aberto deixa um bloco solto empurrando a página */
.nav-mobile { display: none; }

/* theme toggle (sun/moon) */
.theme-toggle {
  position: relative;
  width: 40px; height: 40px;
  border-radius: 999px;
  border: 1px solid var(--border-2);
  background: transparent;
  color: var(--fg);
  display: inline-grid; place-items: center;
  cursor: pointer;
  overflow: hidden;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.theme-toggle:hover { background: var(--bg-soft); border-color: var(--fg); }
.theme-toggle .ic-sun,
.theme-toggle .ic-moon {
  position: absolute;
  inset: 0;
  margin: auto;
  transition: transform .4s cubic-bezier(.22,1,.36,1), opacity .25s ease;
}
.theme-toggle .ic-sun  { transform: rotate(0deg)   scale(1);   opacity: 1; }
.theme-toggle .ic-moon { transform: rotate(-90deg) scale(.4); opacity: 0; }
.theme-toggle.is-dark .ic-sun  { transform: rotate(90deg)  scale(.4); opacity: 0; }
.theme-toggle.is-dark .ic-moon { transform: rotate(0deg)   scale(1);  opacity: 1; }
.theme-toggle.is-dark { color: var(--accent); }

/* ── HERO ── */
.hero {
  position: relative;
  isolation: isolate;
  padding: clamp(48px, 6vw, 88px) 0 clamp(64px, 7vw, 110px);
  overflow: hidden;
}
/* camada 1 · malha de linhas — textura sob o H1.
   z-index 1 (acima do véu): o véu é opaco nos 34% da esquerda,
   que é justamente onde a malha precisa aparecer. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 22% 30%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 75% 65% at 22% 30%, #000 0%, transparent 72%);
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 5px;
  border: 1px solid var(--border-2);
  border-radius: 999px;
  background: var(--bg-soft);
  margin-bottom: 22px;
}
.hero-eyebrow .pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 70%, transparent);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent); }
  60%  { box-shadow: 0 0 0 8px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

.hero-trust {
  display: flex; gap: 24px; align-items: center;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px dashed var(--border-2);
}
.avatars { display: flex; }
.avatars > span,
.avatars > img {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  background: linear-gradient(135deg, var(--bg-2), var(--fg-3));
  margin-left: -10px;
  object-fit: cover;
  display: block;
}
.avatars > span:first-child,
.avatars > img:first-child { margin-left: 0; }
.stars { color: var(--accent-2); letter-spacing: 2px; font-size: 14px; }

/* camada 2 · foto de fundo + véu */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: right center;
  filter: saturate(.95);
  transform-origin: 70% 50%;
  animation: kenburns 28s ease-in-out infinite alternate;
}
.theme-editorial .hero-bg img { filter: sepia(.12) saturate(.95); }
.theme-nocturnal .hero-bg img { filter: brightness(.6) saturate(.85); }
@keyframes kenburns { to { transform: scale(1.06); } }

/* véu: horizontal (protege o H1) + fade inferior (emenda com .stats).
   color-mix sobre --bg faz o véu seguir o tema sozinho:
   clareia no athena/editorial, escurece no nocturnal. */
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg,
      var(--bg) 0%,
      var(--bg) 34%,
      color-mix(in srgb, var(--bg) 88%, transparent) 52%,
      color-mix(in srgb, var(--bg) 55%, transparent) 78%,
      color-mix(in srgb, var(--bg) 40%, transparent) 100%),
    linear-gradient(to bottom,
      transparent 55%,
      var(--bg) 100%);
}

/* camada 3 · glow solar ambiente */
.hero-orna {
  position: absolute;
  pointer-events: none;
  right: -12%; top: -18%;
  width: 860px; height: 860px;
  border-radius: 50%;
  background: radial-gradient(circle,
    color-mix(in srgb, var(--accent-2) 26%, transparent) 0%,
    color-mix(in srgb, var(--accent) 10%, transparent) 38%,
    transparent 68%);
  z-index: 1;
  opacity: 0;
  animation: fadeIn .8s ease forwards;
}
.theme-nocturnal .hero-orna { opacity: 1; }
@keyframes fadeIn { to { opacity: 1; } }

/* ── CALCULATOR ── */
.calc {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.theme-nocturnal .calc { background: var(--bg-soft); }
.theme-editorial .calc { background: #fff; }

.calc::before {
  /* subtle sun gradient corner */
  content: "";
  position: absolute;
  top: -50px; right: -50px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-2) 0%, transparent 60%);
  opacity: .25;
  pointer-events: none;
}
.calc-head {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 22px;
  position: relative;
}
.calc-head .icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  display: grid; place-items: center;
  font-size: 18px;
  box-shadow: var(--shadow-sm);
}
.calc-head h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.012em;
}
.calc-head .live {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fg-3);
  display: inline-flex; align-items: center; gap: 6px;
}
.calc-head .live::before {
  content: ""; width: 6px; height: 6px;
  border-radius: 50%;
  background: #2da765;
  animation: pulse 1.6s ease-in-out infinite;
}

.calc-field { margin-bottom: 18px; }
.calc-field-label {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 13px;
  color: var(--fg-2);
  margin-bottom: 8px;
}
.calc-field-label .v {
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--accent);
  font-size: 14px;
}

input[type="range"] {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: var(--bg-2);
  border-radius: 999px;
  outline: none;
  margin: 0;
}
input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-sm);
  cursor: grab;
  transition: transform .15s ease;
}
input[type="range"]::-webkit-slider-thumb:active { transform: scale(1.15); cursor: grabbing; }
input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 1px var(--accent);
  cursor: grab;
}

.seg {
  display: grid;
  /* acompanha a quantidade de botões: 3 na fotovoltaica, 2 no banho */
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}
.seg button {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-2);
  transition: all .15s ease;
}
.seg button.is-on {
  background: var(--bg);
  color: var(--fg);
  box-shadow: var(--shadow-sm);
}
.theme-nocturnal .seg button.is-on { background: var(--bg-2); color: var(--fg); }

.stepper {
  display: inline-flex; align-items: center; gap: 0;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-soft);
  padding: 3px;
}
.stepper button {
  width: 30px; height: 30px;
  border: 0; background: var(--bg);
  border-radius: 50%;
  font-size: 16px;
  font-weight: 600;
  color: var(--fg);
  box-shadow: var(--shadow-sm);
  display: grid; place-items: center;
}
.stepper button:hover { background: var(--accent); color: #fff; }
.stepper button:disabled { opacity: 0.3; cursor: not-allowed; pointer-events: none; }
.stepper .v {
  font-family: var(--font-mono);
  font-weight: 500;
  min-width: 36px;
  text-align: center;
  padding: 0 8px;
}

.calc-divider {
  height: 1px;
  background: var(--border);
  margin: 22px 0 20px;
}

.calc-out {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}
.calc-out .cell {
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--bg-soft);
  border: 1px solid var(--border);
}
.calc-out .cell.primary {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}
.theme-nocturnal .calc-out .cell.primary { background: var(--accent); color: #1a1612; border-color: var(--accent); }
.calc-out .label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .65;
  display: block;
  margin-bottom: 4px;
}
.calc-out .num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 28px;
  letter-spacing: -0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.calc-out .num small { font-size: 14px; font-weight: 500; opacity: .7; margin-left: 2px; }

.calc-25 {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  margin-bottom: 18px;
}
.calc-25 .l {
  font-size: 12px;
  color: var(--fg-2);
}
.calc-25 .v {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.calc-sys {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px;
  border-radius: var(--radius);
  border: 1px dashed var(--border-2);
  margin-bottom: 18px;
  font-size: 13px;
  color: var(--fg-2);
}
.calc-sys b {
  color: var(--fg);
  font-family: var(--font-display);
  font-weight: 600;
}

.calc-cta {
  display: flex; gap: 10px;
  flex-direction: column;
}
.calc-foot {
  text-align: center;
  font-size: 11px;
  color: var(--fg-3);
  margin-top: 12px;
}

/* ── STATS strip ── */
.stats {
  border-block: 1px solid var(--border);
  background: var(--bg-soft);
}
.theme-nocturnal .stats { background: var(--bg-soft); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stats .cell {
  padding: 44px 28px;
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 6px;
}
.stats .cell:last-child { border-right: 0; }
.stats .n {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.stats .n .suf { color: var(--accent); }
.stats .l {
  font-size: 13px;
  color: var(--fg-2);
  max-width: 220px;
}

/* ── SOLUTIONS ── */
.sec-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 48px;
}
.sec-head .title-block .h-eyebrow { display: block; margin-bottom: 12px; }

.sols-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.sol {
  display: flex; flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .25s ease;
  position: relative;
}
.sol:hover {
  transform: translateY(-2px);
  border-color: var(--border-2);
  box-shadow: var(--shadow-lg);
}
.sol-img {
  aspect-ratio: 5 / 4;
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
}
.sol-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s cubic-bezier(.22,1,.36,1);
}
.sol:hover .sol-img img { transform: scale(1.04); }
.sol-body {
  padding: 22px 22px 26px;
  display: flex; flex-direction: column; gap: 8px;
  flex: 1;
}
.sol-body h3 { margin-top: 4px; }
.sol-body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-2);
  flex: 1;
}
.sol .more {
  margin-top: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}
.sol .more .arr { transition: transform .2s ease; }
.sol:hover .more .arr { transform: translateX(4px); }

.badge-new {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: var(--accent);
  color: #fff;
  padding: 4px 10px 3px;
  border-radius: 999px;
  font-weight: 600;
}

/* photo placeholder (styled, premium feel — until real photos arrive) */
.ph {
  width: 100%; height: 100%;
  position: relative;
  display: grid; place-items: center;
  background:
    linear-gradient(135deg, var(--bg-2) 0%, var(--bg-soft) 50%, var(--bg-2) 100%);
  overflow: hidden;
}
.ph::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(90deg, transparent 0 49%, var(--grid-line) 49% 51%, transparent 51%),
    linear-gradient(0deg,  transparent 0 49%, var(--grid-line) 49% 51%, transparent 51%);
  background-size: 32px 32px;
  opacity: .5;
}
.ph .ph-tag {
  position: relative;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fg-3);
  padding: 6px 12px;
  border: 1px solid var(--border-2);
  background: var(--bg);
  border-radius: 999px;
  z-index: 1;
}

/* sun-burst illustration for solar placeholders */
.ph.sun .ph-art {
  position: absolute; inset: 0;
  display: grid; place-items: center;
}
.ph.sun .ph-art::before {
  content: "";
  width: 38%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-2) 0%, transparent 70%);
  opacity: .6;
}

/* ── ABOUT / DIFFERENTIATORS ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.about-img {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
}
.about-img > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* no mobile o container vira 4/3 e corta 44% da altura. Este valor é casado
     com a foto atual: mantém 26%–82% dela, ou seja, cabeças e tablet dentro.
     Trocou a foto? recalcule — centralizado corta cabeça ou corta as mãos. */
  object-position: center 60%;
  display: block;
}
.about-img .ph { border-radius: inherit; }
.about-img .floating-stat {
  position: absolute; bottom: 24px; left: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
}
.about-img .floating-stat .n {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.02em;
  line-height: 1;
}
.about-img .floating-stat .l {
  font-size: 12px;
  color: var(--fg-2);
  margin-top: 4px;
}

.pillars {
  display: grid;
  gap: 16px;
  margin-top: 36px;
}
.pillar {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px 0;
  border-top: 1px solid var(--border);
}
.pillar:first-child { border-top: 0; padding-top: 0; }
.pillar .ic {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
  font-size: 20px;
}
.pillar h4 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
}
.pillar p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-2);
}
/* ── PROCESS ── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg);
  overflow: hidden;
}
.step {
  padding: 32px 26px 28px;
  border-right: 1px solid var(--border);
  position: relative;
  display: flex; flex-direction: column; gap: 12px;
}
.step:last-child { border-right: 0; }
.step .num {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--fg-3);
}
.step .num::before {
  content: ""; width: 26px; height: 1px; background: var(--accent);
}
.step .big-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 40px;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--accent);
}
.step h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
}
.step p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--fg-2); }

/* ── TESTIMONIALS ── */
.tst-head .h-eyebrow { display: block; margin-bottom: 10px; }
.tsts {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 18px;
}
.tst {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex; flex-direction: column; gap: 14px;
}
.tst.feature {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}
.theme-nocturnal .tst.feature { background: var(--accent); color: #1a1612; border-color: var(--accent); }
.tst .quote {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -0.012em;
  flex: 1;
}
.tst.feature .quote { font-size: 24px; font-weight: 600; line-height: 1.3; }
.tst .meta {
  display: flex; align-items: center; gap: 12px;
  padding-top: 14px;
  border-top: 1px solid color-mix(in srgb, currentColor 12%, transparent);
}
.tst .avt {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg-2), var(--fg-3));
}
.tst .name {
  font-weight: 600;
  font-size: 14px;
}
.tst .sub {
  font-size: 12px;
  opacity: .65;
}

/* ── FAQ ── */
.faq-grid {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 56px;
}
.faq-list {
  border-top: 1px solid var(--border);
}
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}
.faq-q {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.012em;
  cursor: pointer;
  user-select: none;
}
.faq-q .plus {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border-2);
  display: grid; place-items: center;
  font-size: 16px; font-weight: 400;
  color: var(--fg-2);
  flex-shrink: 0;
  transition: all .2s ease;
}
.faq-item.open .plus {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, margin-top .3s ease;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--fg-2);
  margin-top: 0;
}
.faq-item.open .faq-a {
  max-height: 240px;
  margin-top: 12px;
}

/* ── FINAL CTA ── */
.final-cta {
  position: relative;
  border-radius: var(--radius-xl);
  background: var(--fg);
  color: var(--bg);
  overflow: hidden;
  padding: clamp(48px, 6vw, 88px) clamp(36px, 5vw, 72px);
}
.theme-nocturnal .final-cta { background: var(--accent); color: #1a1612; }
.final-cta::before {
  content: "";
  position: absolute;
  right: -180px; top: -180px;
  width: 540px; height: 540px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent) 0%, transparent 60%);
  opacity: .55;
}
.theme-nocturnal .final-cta::before { background: radial-gradient(circle, #fff 0%, transparent 60%); opacity: .2; }
.final-cta .inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 36px;
  align-items: center;
}
.final-cta .h2 { color: inherit; }
.final-cta .btn-primary { background: var(--bg); color: var(--fg); }
.final-cta .btn-primary:hover { background: var(--accent); color: #fff; }
.theme-nocturnal .final-cta .btn-primary:hover { background: #1a1612; color: var(--accent); }
.final-cta .btn-secondary { color: var(--bg); border-color: color-mix(in srgb, var(--bg) 30%, transparent); }
.final-cta .btn-secondary:hover { background: color-mix(in srgb, var(--bg) 10%, transparent); border-color: var(--bg); }

/* ── FOOTER ── */
.footer {
  background: var(--bg-dark);
  color: var(--fg-inv);
  padding-block: 64px 32px;
  margin-top: clamp(60px, 7vw, 100px);
}
.footer .wrap { color: inherit; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 16px;
}
.footer-logo img { height: 96px; width: auto; filter: brightness(1.1); display: block; }
.footer p { color: color-mix(in srgb, var(--fg-inv) 78%, transparent); font-size: 14px; margin: 4px 0; }
.footer h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 0 0 14px;
  color: color-mix(in srgb, var(--fg-inv) 70%, transparent);
  font-weight: 500;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer ul a { font-size: 14px; color: color-mix(in srgb, var(--fg-inv) 88%, transparent); }
.footer ul a:hover { color: var(--accent-2); }
.footer-legal a {
  font-size: 13px;
  color: color-mix(in srgb, var(--fg-inv) 60%, transparent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-legal a:hover { color: var(--accent-2); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  padding-top: 24px;
  border-top: 1px solid color-mix(in srgb, var(--fg-inv) 16%, transparent);
  font-size: 12px;
  color: color-mix(in srgb, var(--fg-inv) 68%, transparent);
}

/* ── floating WhatsApp ── */
.wa {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 35;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 12px 30px -10px rgba(37,211,102,.7), 0 2px 6px rgba(0,0,0,.2);
  text-decoration: none;
  transition: transform .2s ease;
  border: 2px solid #fff;
}
.wa:hover { transform: scale(1.06); }
.wa svg { width: 28px; height: 28px; }

/* ── voltar ao topo ── */
/* empilha logo acima do .wa (22 + 56 + 12) e fica atrás dele no z-index */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 90px;
  z-index: 34;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border-2);
  background: var(--bg);
  color: var(--fg);
  display: grid; place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s,
              background .18s ease, color .18s ease, border-color .18s ease;
}
.to-top.is-on { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ── .reveal class is a no-op now (entry animation removed for screenshot
   compatibility — page is fully visible on load). We keep the class on
   elements so we can re-enable animations later if needed. ── */
/* ── entry animations ── */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(22px);
}
.reveal.is-visible {
  animation: fadeSlideUp 0.55s ease-out forwards;
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.is-visible { animation: none; opacity: 1; transform: none; }
  .hero-bg img { animation: none; }
}

/* ── nav compacta: de 1081 a 1200px os 6 links ainda cabem, mas só sem o
   telefone e com o logo menor. O número já aparece no rodapé, no float do
   WhatsApp e no CTA final, então some aqui sem prejuízo. ── */
@media (max-width: 1200px) and (min-width: 1081px) {
  .nav-phone { display: none; }
  .nav-links a { padding: 8px 11px; }
  .nav-logo img { height: 76px; }
}

/* ── nav: burger assume em 1080px ──
   Abaixo disso os 6 links não cabem sem quebrar linha. O breakpoint da nav é
   separado do de layout (980px) de propósito — mover o 980 arrastaria junto
   as regras de hero e --pad. */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-burger {
    display: inline-flex;
    width: 40px; height: 40px;
    align-items: center; justify-content: center;
    border-radius: 999px;
    border: 1px solid var(--border-2);
    background: transparent;
  }
  .nav-phone { display: none; }
  .nav-inner { grid-template-columns: auto auto; gap: 8px; justify-content: space-between; }
  .nav-cta { gap: 6px; }
  .nav-cta .btn { display: none; }

  /* mobile menu overlay */
  .nav-mobile {
    position: fixed; inset: 0; z-index: 99;
    background: color-mix(in srgb, var(--bg) 96%, transparent);
    backdrop-filter: blur(8px);
    transform: translateX(100%);
    transition: transform 0.25s ease;
    display: flex; align-items: flex-start; justify-content: flex-end;
  }
  .nav-mobile.is-open { transform: translateX(0); }
  .nav-mobile-inner {
    width: min(320px, 88vw);
    height: 100%;
    background: var(--bg);
    border-left: 1px solid var(--border);
    padding: 80px 28px 40px;
    display: flex; flex-direction: column; gap: 4px;
  }
  .nav-mobile-inner a {
    display: block;
    padding: 13px 16px;
    border-radius: 10px;
    font-size: 16px; font-weight: 500;
    color: var(--fg-2);
    transition: all .15s ease;
  }
  .nav-mobile-inner a:hover,
  .nav-mobile-inner a.is-active { color: var(--fg); background: var(--bg-soft); }
  /* soluções como sub-itens sempre visíveis — sem acordeão, tudo à vista */
  .nav-mobile-inner a.is-sub {
    margin-left: 14px;
    padding: 10px 16px;
    font-size: 14.5px;
    color: var(--fg-3);
    border-left: 1px solid var(--border-2);
    border-radius: 0 10px 10px 0;
  }
  .nav-mobile-inner .btn {
    display: flex; justify-content: center;
    margin-top: 12px;
  }
}

/* ── responsive: tablet / mobile ── */
@media (max-width: 980px) {
  :root { --pad: 22px; }

  .hero { padding-block: 40px 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  /* 1 coluna: o texto ocupa a largura toda — véu vira vertical e mais denso */
  .hero-bg img { object-position: 72% center; animation: none; }
  .hero-bg::after {
    background: linear-gradient(to bottom,
      var(--bg) 0%,
      var(--bg) 50%,
      color-mix(in srgb, var(--bg) 78%, transparent) 72%,
      var(--bg) 100%);
  }
  .hero-orna { width: 520px; height: 520px; right: -30%; top: -14%; }
  .hero-cta .btn { flex: 1 1 auto; justify-content: center; }
  .hero-trust { flex-direction: column; align-items: flex-start; gap: 14px; }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stats .cell { padding: 28px 20px; }
  .stats .cell:nth-child(2n) { border-right: 0; }
  .stats .cell:nth-child(-n+2) { border-bottom: 1px solid var(--border); }

  .sec-head { grid-template-columns: 1fr; gap: 12px; }
  .sols-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-img { aspect-ratio: 4 / 3; max-height: 480px; }

  .steps { grid-template-columns: 1fr 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--border); }
  .step:nth-child(2n) { border-right: 0; }
  .step:nth-child(2n-1) { border-right: 1px solid var(--border); }
  .step:nth-last-child(-n+2) { border-bottom: 0; }

  .tsts { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; gap: 28px; }
  .final-cta .inner { grid-template-columns: 1fr; gap: 24px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-logo { grid-column: span 2; }
}

@media (max-width: 580px) {
  .h1 { font-size: 40px; line-height: 1.04; }
  .h2 { font-size: 28px; }
  .sols-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0 !important; border-bottom: 1px solid var(--border); padding: 24px 20px; }
  .step:last-child { border-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-logo { grid-column: auto; }
  .calc-out { grid-template-columns: 1fr; }
}

/* ====================================================================
   SOLUTION DETAIL PAGES
   ==================================================================== */

/* active link in nav */
.nav-links a.is-active {
  color: var(--fg);
  background: var(--accent-soft);
}
.theme-nocturnal .nav-links a.is-active { color: var(--accent); }

/* ── HERO ── */
.sol-hero {
  padding-top: clamp(40px, 6vw, 80px);
  padding-bottom: clamp(36px, 5vw, 60px);
  position: relative;
}
.sol-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.sol-crumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 18px;
}
.sol-crumb a {
  color: var(--fg-2);
  text-decoration: none;
  transition: color .15s ease;
}
.sol-crumb a:hover { color: var(--accent); }
.sol-crumb-current { color: var(--fg); font-weight: 500; }
.sol-crumb > span[aria-hidden] { opacity: .5; }

.sol-eyebrow {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 5px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--border-2);
  margin-bottom: 24px;
}
.sol-eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}
.sol-h1 {
  margin-bottom: 22px;
  max-width: 18ch;
}
.sol-hero-cta { margin-top: 32px; gap: 12px; }

.sol-hero-media {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 560px;
}
.sol-hero-img {
  position: absolute; inset: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-soft);
  box-shadow: var(--shadow-lg);
}
.sol-hero-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.sol-hero-badge {
  position: absolute; top: 18px; left: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: var(--accent);
  color: #fff;
  padding: 6px 12px 5px;
  border-radius: 999px;
  font-weight: 600;
  z-index: 2;
}
.sol-hero-tag {
  position: absolute; right: -18px; bottom: 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column;
  font-family: var(--font-mono);
  z-index: 2;
}
.sol-hero-tag .lbl {
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 2px;
}
.sol-hero-tag .val {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
}
.sol-hero-tag .val small { font-size: 13px; color: var(--fg-3); font-weight: 500; }

/* ── quick spec strip ── */
.sol-quickspecs {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--bg-soft);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
}
.qs-cell {
  padding: 24px 24px;
  border-right: 1px solid var(--border);
}
.qs-cell:last-child { border-right: 0; }
.qs-n {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 3vw, 38px);
  letter-spacing: -0.018em;
  color: var(--fg);
  line-height: 1;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.qs-l {
  font-size: 13px;
  color: var(--fg-2);
  line-height: 1.45;
  max-width: 24ch;
}

/* ── BENEFITS ── */
.sol-benefits { padding-top: clamp(60px, 7vw, 100px); }
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.benefit {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex; flex-direction: column;
  gap: 12px;
  transition: border-color .2s ease, transform .2s ease;
}
.benefit:hover {
  border-color: var(--border-2);
  transform: translateY(-2px);
}
.benefit-ic {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: grid; place-items: center;
}
.benefit .h3 { font-size: 20px; }
.benefit p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-2);
}

/* ── SPECS TABLE ── */
.sol-specs { padding-top: clamp(60px, 7vw, 100px); }
.sol-specs-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
}
.specs-list {
  margin: 0;
  border-top: 1px solid var(--border);
}
.specs-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}
.specs-row dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.specs-row dd {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  color: var(--fg);
  letter-spacing: -0.005em;
}

/* ── single testimonial section ── */
.sol-tst-wrap { padding-top: clamp(60px, 7vw, 100px); }
.sol-tst {
  background: var(--fg);
  color: var(--bg);
  border-radius: var(--radius-xl);
  padding: clamp(36px, 5vw, 56px) clamp(36px, 5vw, 64px);
  display: flex; flex-direction: column;
  gap: 22px;
  max-width: 920px;
  margin-inline: auto;
  position: relative;
  overflow: hidden;
}
.theme-nocturnal .sol-tst { background: var(--bg-soft); color: var(--fg); border: 1px solid var(--border); }
.sol-tst::before {
  content: "\201C";
  position: absolute;
  top: -40px;
  left: 24px;
  font-family: var(--font-display);
  font-size: 260px;
  font-weight: 700;
  color: var(--accent);
  opacity: .35;
  line-height: 1;
  pointer-events: none;
}
.sol-tst .stars {
  color: var(--accent-2);
  font-size: 18px;
  letter-spacing: 3px;
  position: relative;
}
.sol-tst blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.4;
  letter-spacing: -0.01em;
  text-wrap: pretty;
  position: relative;
}
.sol-tst .meta {
  display: flex; align-items: center; gap: 14px;
  padding-top: 18px;
  border-top: 1px solid color-mix(in srgb, currentColor 14%, transparent);
}
.sol-tst .avt {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.sol-tst .name { font-weight: 600; font-size: 15px; }
.sol-tst .sub { font-size: 13px; opacity: .7; margin-top: 2px; }

/* ── simulador na página de solução ── */
/* o cartão .calc já traz o próprio estilo — aqui só a grade e a coluna de texto */
.sol-sim { padding-top: clamp(60px, 7vw, 100px); }
.sol-sim-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
.sol-sim-text p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--fg-2);
  margin: 0 0 18px;
}
.sol-sim-text b { color: var(--fg); font-weight: 600; }
.sol-sim-note {
  padding-left: 16px;
  border-left: 2px solid var(--accent);
  font-size: 14.5px !important;
  margin-bottom: 0 !important;
}

/* ── related solutions ── */
.sol-related { padding-top: clamp(60px, 7vw, 100px); }
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.related-card {
  display: flex; flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.related-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-2);
  box-shadow: var(--shadow-lg);
}
.related-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-soft);
}
.related-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.related-card:hover .related-img img { transform: scale(1.04); }
.related-body {
  padding: 22px;
  display: flex; flex-direction: column;
  gap: 8px;
}
.related-body .h-eyebrow { font-size: 10px; }
.related-body .h3 { font-size: 19px; margin-top: 4px; }
.related-body .more {
  margin-top: 10px;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  font-weight: 600;
  text-transform: uppercase;
}

/* ── responsive ── */
@media (max-width: 960px) {
  .sol-hero-grid { grid-template-columns: 1fr; }
  .sol-hero-media { aspect-ratio: 16 / 11; max-height: 420px; max-width: 640px; margin-inline: auto; width: 100%; }
  .sol-hero-tag { right: 16px; bottom: 16px; }
  .sol-quickspecs { grid-template-columns: 1fr 1fr; }
  .qs-cell:nth-child(2) { border-right: 0; }
  .qs-cell:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .benefits-grid { grid-template-columns: 1fr; }
  .sol-specs-grid { grid-template-columns: 1fr; gap: 28px; }
  .sol-sim-grid { grid-template-columns: 1fr; gap: 28px; }
  .related-grid { grid-template-columns: 1fr; }
}

@media (max-width: 580px) {
  .sol-h1 { font-size: 36px; }
  .sol-quickspecs { grid-template-columns: 1fr; }
  .qs-cell { border-right: 0 !important; border-bottom: 1px solid var(--border); }
  .qs-cell:last-child { border-bottom: 0; }
  .specs-row { grid-template-columns: 1fr; gap: 4px; padding: 14px 0; }
  .sol-tst { padding: 28px; border-radius: var(--radius-lg); }
  .sol-tst::before { font-size: 180px; top: -28px; }
}

/* ── Lead capture form (calc) ── */
.calc-lead {
  display: flex;
  flex-direction: column;
  gap: 8px;
  animation: fadeSlideDown 0.18s ease;
}
@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.calc-lead-head {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-1);
  margin: 0 0 4px;
}
.calc-lead-field {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.calc-lead input {
  width: 100%;
  box-sizing: border-box;
  padding: 9px 12px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: var(--bg-surface);
  color: var(--fg-1);
  font-family: var(--font-sans);
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s;
}
.calc-lead input:focus {
  border-color: var(--accent);
}
.calc-lead-field.has-error input {
  border-color: #e55;
}
.calc-lead-err {
  font-size: 11.5px;
  color: #e55;
}
.calc-lead-cancel {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--fg-3);
  font-size: 12px;
  padding: 4px 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.calc-lead-cancel:hover { color: var(--fg-2); }
