:root {

  --ink:        #0c1f17;
  --ink-soft:   #1f2d25;
  --bg:         #faf7f0;
  --bg-2:       #f1ece0;
  --line:       #1f2d2522;
  --line-strong:#1f2d2544;

  --green-deep: #141414;
  --green:      #1d1d1d;
  --green-2:    #000000;
  --yellow:     #f6c20a;
  --yellow-soft:#fde375;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  --max: 1280px;
  --pad: clamp(20px, 4vw, 56px);

  --display: "Bricolage Grotesque", "Plus Jakarta Sans", system-ui, sans-serif;
  --sans:    "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, monospace;
}


body[data-brand="empresa"] {
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 12px;
}
body[data-brand="empresa"] .btn { border-radius: 8px; }
body[data-brand="empresa"] .pill { border-radius: 8px; }
body[data-brand="empresa"] .tabs,
body[data-brand="empresa"] .tabs button { border-radius: 8px; }

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

::selection { background: var(--yellow); color: var(--green-deep); }


.display {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 0.96;
  text-wrap: balance;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-2);
}
.lede { font-size: clamp(16px, 1.4vw, 19px); color: var(--ink-soft); text-wrap: pretty; }


.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tight { padding: clamp(40px, 6vw, 80px) 0; }


.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-2); }
.btn-yellow { background: var(--yellow); color: var(--green-deep); }
.btn-yellow:hover { background: var(--yellow-soft); }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn-ghost-light { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--green-deep); }
.btn img { display: block; object-fit: contain; }


.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  font-size: 12px; font-weight: 500;
  background: var(--bg);
}
.pill .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--green); }

.card {
  background: #fff;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  overflow: hidden;
}


.imgph {
  position: relative; overflow: hidden;
  background:
    repeating-linear-gradient(135deg,
      rgba(6,69,52,.06) 0 6px,
      rgba(6,69,52,.03) 6px 14px),
    linear-gradient(180deg, #e7e0cf, #d9d1bd);
  color: var(--green-deep);
  border-radius: var(--r-md);
}


@keyframes marquee { to { transform: translateX(-50%); } }
.marquee { display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 56px; animation: marquee 40s linear infinite; padding-right: 56px; }
.brand-chip { display: flex; align-items: center; gap: 8px; color: var(--ink-soft); font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: -.02em; white-space: nowrap; }
.brand-chip span { width: 10px; height: 10px; border-radius: 2px; background: var(--green); }


.num-mono { font-variant-numeric: tabular-nums; }


.tabs { display: inline-flex; padding: 4px; border-radius: var(--r-pill); background: var(--bg-2); border: 1px solid var(--line); }
.tabs button {
  border: 0; background: transparent; padding: 9px 18px; border-radius: var(--r-pill);
  font-weight: 600; font-size: 14px; color: var(--ink-soft);
}
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--bg); }


details.faq {
  border-top: 1px solid var(--line-strong);
  padding: 22px 0;
}
details.faq:last-of-type { border-bottom: 1px solid var(--line-strong); }
details.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  font-family: var(--display); font-weight: 600; font-size: clamp(18px, 1.5vw, 22px);
  letter-spacing: -.01em;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary .plus {
  flex: 0 0 36px; width: 36px; height: 36px; border-radius: 999px;
  border: 1px solid var(--line-strong); display: grid; place-items: center;
  transition: transform .25s ease, background .2s ease, color .2s ease;
  font-size: 18px; line-height: 1;
}
details.faq[open] summary .plus { transform: rotate(45deg); background: var(--green-deep); color: var(--yellow); border-color: var(--green-deep); }
details.faq .faq-body { margin-top: 14px; color: var(--ink-soft); max-width: 70ch; }


.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12px; color: var(--ink-soft); font-weight: 600; letter-spacing: .02em; text-transform: uppercase; font-family: var(--mono); }
.field input, .field textarea, .field select {
  font: inherit; color: var(--ink);
  border: 1px solid var(--line-strong);
  background: #fff;
  border-radius: var(--r-sm);
  padding: 12px 14px;
  width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(0,0,0,.14);
}


.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 50;
  width: 64px; height: 64px; border-radius: 999px;
  background: #fff;
  display: grid; place-items: center;
  box-shadow: 0 12px 32px rgba(20,80,40,.32);
  border: 1px solid rgba(0,0,0,.06);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.06) rotate(-4deg); }
.wa-float img { width: 42px; height: 42px; object-fit: contain; }
.wa-tooltip {
  position: absolute; right: 72px; top: 50%; transform: translateY(-50%);
  background: var(--ink); color: var(--bg);
  padding: 8px 12px; border-radius: 8px;
  font-size: 13px; font-weight: 500;
  white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.wa-float:hover .wa-tooltip { opacity: 1; }


.nav {
  position: sticky; top: 0; z-index: 40;
  background: #000000;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.nav-inner { display: flex; align-items: center; gap: 24px; padding: 14px 0; flex-wrap: wrap; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { font-size: 14px; font-weight: 500; color: rgba(255,255,255,.72); }
.nav-links a:hover { color: #fff; }
@media (max-width: 1080px) { .nav-links { display: none; } }

.mode-toggle {
  display: inline-flex; align-items: center; gap: 2px;
  padding: 3px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
}
.mode-toggle button {
  border: 0; background: transparent;
  color: rgba(255,255,255,.66);
  padding: 7px 15px; border-radius: var(--r-pill);
  font-size: 13px; font-weight: 600; white-space: nowrap;
  transition: background .2s ease, color .2s ease;
}
.mode-toggle button[aria-pressed="true"] { background: var(--yellow); color: #16170c; }
.mode-toggle button:not([aria-pressed="true"]):hover { color: #fff; }
@media (max-width: 600px) {
  .mode-toggle button { padding: 7px 11px; font-size: 12px; }
  .nav-inner { gap: 12px; }
  .nav-cta { display: none; }
  .hero .hl { white-space: normal; }

  .nav-inner { justify-content: space-between; }
  .nav-inner .mode-toggle { margin-left: 0; }
}
@media (max-width: 1080px) { .mode-toggle { margin-left: auto; } }


.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 700;
  font-size: 20px; letter-spacing: -.02em;
}
.logo-mark { display: flex; flex-shrink: 0; }
.logo-mark img { height: 34px; width: auto; display: block; }
.logo small { display: block; font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--green-2); font-family: var(--mono); margin-top: 2px; }


.hero { position: relative; overflow: hidden; color: var(--bg);
  min-height: calc(100svh - 65px); display: flex; align-items: center;
  padding-top: clamp(28px, 4vh, 56px); padding-bottom: clamp(28px, 4vh, 56px); }
.hero-photo { position: absolute; inset: 0; background-image: url("../images/equipe.jpg"); background-size: cover; background-position: 72% 35%; }
body[data-brand="empresa"] .hero-photo { background-image: url("../images/hero-solar.jpg"); background-position: 50% 50%; }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(98deg,
      rgba(8,10,12,.92) 0%,
      rgba(8,10,12,.74) 34%,
      rgba(8,10,12,.36) 64%,
      rgba(8,10,12,.08) 100%),
    linear-gradient(0deg,
      rgba(0,0,0,.62) 0%,
      transparent 44%);
}
.hero-grain {
  position: absolute; inset: 0; opacity: .055; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero .eyebrow { color: var(--yellow); }
.hero .lede { color: rgba(255,255,255,.82); }

.hl { display: inline-block; white-space: nowrap; }
@media (max-width: 900px) { .hero h1 .hl { display: inline; white-space: normal; } }


.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .faq-aside { position: static !important; top: auto !important; }
}


.conexao-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: stretch; gap: 8px; }
.conexao-step { height: 100%; }
.conexao-arrow { display: grid; place-items: center; color: var(--green-2); padding: 0 6px; }
@media (max-width: 900px) {
  .conexao-flow { grid-template-columns: 1fr; }
  .conexao-arrow { padding: 10px 0; transform: rotate(90deg); }
}


.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.stack { display: flex; flex-direction: column; }
.gap-md { gap: 16px; }
.mt-md { margin-top: 16px; } .mt-lg { margin-top: 32px; } .mt-xl { margin-top: 56px; }
.center { text-align: center; }
.muted { color: var(--ink-soft); }
