/* ============================================================
   Sollarseg — Energia Solar · Landing Page
   Layout inspirado fielmente na referência (Solence)
   Base azul + branco · verde do logo como acento discreto
   ============================================================ */

:root {
  --navy: #1B3A8C;
  --navy-d: #13286A;
  --blue: #2563C9;
  --blue-l: #3B82E0;
  --lime: #8DC63F;
  --lime-d: #74B22E;
  --green: #5A9216;

  --text: #14213D;
  --muted: #6A7689;
  --faint: #A7B2C2;
  --bg: #FFFFFF;
  --soft: #F4F7FB;
  --surface: #FFFFFF;
  --line: #E6ECF4;
  --line-2: #D7E0EC;

  --gold: var(--lime);
  --gold-ink: #133108;
  --whatsapp: #25D366;

  --r-sm: 12px;
  --r: 18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --shadow: 0 22px 55px rgba(20, 40, 90, .10);
  --shadow-sm: 0 10px 30px rgba(20, 40, 90, .07);

  --maxw: 1200px;
  --header-h: 78px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: 'Poppins', sans-serif; line-height: 1.12; letter-spacing: -.02em; color: var(--text); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.container-narrow { max-width: 840px; }

/* eyebrow / kicker */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 600; letter-spacing: .04em;
  color: var(--blue); text-transform: uppercase;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }

/* título "duas cores" como na ref */
.statement {
  font-weight: 600;
  font-size: clamp(1.7rem, 3.6vw, 2.9rem);
  line-height: 1.18;
  letter-spacing: -.02em;
}
.statement .muted { color: var(--green); }
.benefits-title span {
  color: var(--green);
  background: none;
}

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: .98rem; line-height: 1;
  padding: 14px 24px; border: 1.5px solid transparent; border-radius: 100px;
  cursor: pointer; white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn .ic-bolt { fill: currentColor; stroke: none; }

.btn-primary { background: var(--lime); color: #15310a; box-shadow: 0 10px 22px rgba(141, 198, 63, .28); }
.btn-primary:hover { background: var(--lime-d); transform: translateY(-2px); }

.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-d); transform: translateY(-2px); }

/* botão branco minimalista (estilo "Get a Quote" da ref) */
.btn-light { background: #fff; color: var(--navy); box-shadow: 0 12px 30px rgba(8, 17, 44, .16); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(8, 17, 44, .24); }
.btn-light svg { stroke: var(--lime-d); }

/* botão WhatsApp — minimalista (ghost com contorno verde) */
.btn-whatsapp { background: transparent; color: var(--whatsapp); border-color: rgba(37, 211, 102, .5); }
.btn-whatsapp:hover { background: var(--whatsapp); color: #fff; border-color: var(--whatsapp); transform: translateY(-2px); }
.btn-whatsapp svg { fill: currentColor; stroke: none; width: 18px; height: 18px; }
/* sobre fundo escuro (hero/header transparente): contorno mais visível */
.on-dark .btn-whatsapp, .hero .btn-whatsapp { color: #fff; border-color: rgba(255, 255, 255, .5); }
.on-dark .btn-whatsapp:hover, .hero .btn-whatsapp:hover { background: var(--whatsapp); border-color: var(--whatsapp); color: #fff; }

/* par de botões [Agendar visita] [WhatsApp] reutilizável */
.cta-pair { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 24px; }
.cta-pair.center { justify-content: center; }
.hero-actions { margin-top: 0; }

/* outline claro (estilo "Contact Us" da ref) */
.btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn-outline:hover { background: rgba(255, 255, 255, .12); }

.btn-lg { padding: 16px 30px; font-size: 1.04rem; }
.btn-block { width: 100%; }

/* ============================================================
   HEADER  (logo · nav central · botão outline — como na ref)
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center;
  background: transparent; border-bottom: 1px solid transparent;
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, .96); backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 6px 24px rgba(20, 40, 90, .08); border-bottom-color: var(--line);
}
.header-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; }
/* drawer transparente no desktop: nav + ações comportam-se como filhos diretos da barra */
.nav-drawer { display: contents; }
/* hamburguer (só mobile) */
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0; background: transparent; border: none; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; margin: 0 auto; transition: transform .25s ease, opacity .2s ease, background .25s ease; }
.site-header.scrolled .nav-toggle span { background: var(--navy); }
.site-header.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.logo { display: inline-flex; align-items: center; }
.logo-img { height: 42px; width: auto; filter: drop-shadow(0 2px 8px rgba(8, 17, 44, .45)); transition: filter .25s ease; }
.site-header.scrolled .logo-img { filter: none; }

/* Troca de logos no cabeçalho */
.logo-dark-bg { display: inline-block; }
.logo-light-bg { display: none; }
.site-header.scrolled .logo-dark-bg { display: none; }
.site-header.scrolled .logo-light-bg { display: inline-block; }

.main-nav { display: flex; align-items: center; gap: 6px; margin-right: auto; margin-left: 32px; }
.main-nav a {
  font-size: .94rem; font-weight: 500; color: #fff; padding: 8px 16px; border-radius: 100px;
  text-shadow: 0 1px 8px rgba(8, 17, 44, .35); transition: background .15s ease, color .15s ease;
}
.main-nav a:hover { background: rgba(255, 255, 255, 0.16); }
.site-header.scrolled .main-nav a { color: var(--text); text-shadow: none; }
.site-header.scrolled .main-nav a:hover { background: var(--soft); color: var(--navy); }

/* Ações do header: Agendar visita (principal) + WhatsApp */
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn { padding: 11px 20px; font-size: .92rem; }
.header-cta { padding: 11px 22px; }
.site-header.scrolled .header-cta { background: var(--lime); color: #15310a; border-color: var(--lime); }
.site-header.scrolled .header-cta:hover { background: var(--lime-d); border-color: var(--lime-d); }
/* WhatsApp no header: claro sobre o hero, verde quando rola */
.site-header .btn-whatsapp { color: #fff; border-color: rgba(255, 255, 255, .5); }
.site-header .btn-whatsapp:hover { background: var(--whatsapp); border-color: var(--whatsapp); color: #fff; }
.site-header.scrolled .btn-whatsapp { color: var(--whatsapp); border-color: rgba(37, 211, 102, .55); }
.site-header.scrolled .btn-whatsapp:hover { color: #fff; }

/* ============================================================
   HERO  (wordmark gigante + link inf-esq + pitch/botão inf-dir)
   ============================================================ */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: stretch;
  padding-top: calc(var(--header-h) + 18px); padding-bottom: 40px; color: #fff;
  background:
    linear-gradient(108deg, rgba(11, 34, 92, .86) 0%, rgba(20, 74, 158, .6) 45%, rgba(33, 116, 198, .42) 100%),
    linear-gradient(120deg, var(--navy), var(--blue));
  background-size: cover; background-position: center;
}
.hero.has-photo {
  background:
    linear-gradient(108deg, rgba(27, 58, 140, 0.72) 0%, rgba(37, 99, 201, 0.55) 42%, rgba(59, 130, 224, 0.35) 75%, rgba(75, 168, 234, 0.15) 100%),
    url("../assets/hero-sollarseg.jpg?v=3");
  background-size: cover; background-position: center 42%;
}
.hero-inner { width: 100%; display: flex; flex-direction: column; position: relative; }
.hero-title-group {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  position: relative; z-index: 1; text-align: center;
}
.hero-title-wrapper {
  position: relative;
  display: inline-block;
}
.hero-word {
  color: #fff; font-weight: 300;
  font-size: clamp(4.5rem, 20vw, 17rem); line-height: 0.85;
  letter-spacing: -0.02em; text-align: center;
  text-shadow: 0 6px 60px rgba(6, 14, 38, .35);
}
.hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.75rem, 1.8vw, 0.95rem);
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.05em;
  text-transform: none;
  margin-top: 10px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .6), 0 2px 16px rgba(6, 14, 38, .75);
  text-align: left;
}
.hero-subtitle span {
  color: #a6e15a;
  font-weight: 700;
  text-shadow: 0 0 2px rgba(8, 22, 4, .9), 0 1px 3px rgba(0, 0, 0, .75), 0 2px 14px rgba(6, 14, 38, .55);
}
@media (min-width: 621px) {
  .hero-title-group {
    transform: translateY(-2vw);
  }
  .hero-subtitle {
    position: absolute;
    left: auto;
    right: 18%;
    top: 100%;
    bottom: auto;
    transform: none;
    margin-left: 0;
    margin-top: 0.4vw;
    white-space: nowrap;
    text-align: right;
  }
}
/* Camada das placas recortadas (PNG transparente, alinhado com a foto de fundo),
   renderizada NA FRENTE do título. */
.hero-foreground-panel { display: none; }
.hero-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; position: relative; z-index: 3; }
.hero-link {
  display: inline-flex; align-items: center; gap: 11px; color: #fff; font-weight: 500; font-size: .98rem;
  text-decoration: underline; text-underline-offset: 5px; text-decoration-color: rgba(255, 255, 255, .45);
  transition: text-decoration-color .15s ease;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}
.hero-link:hover { text-decoration-color: #fff; }
.hero-link-ic { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); }
.hero-link-ic svg { width: 17px; height: 17px; fill: var(--lime); }
.hero-pitch { display: flex; flex-direction: column; align-items: flex-start; text-align: left; max-width: 340px; }
.hero-pitch p { color: #fff; font-size: 1.04rem; margin-bottom: 16px; text-shadow: 0 1px 2px rgba(0, 0, 0, .6), 0 2px 16px rgba(6, 14, 38, .75); text-wrap: balance; }
.hero-pitch p strong { color: #a6e15a; font-weight: 700; text-shadow: 0 0 2px rgba(8, 22, 4, .9), 0 1px 3px rgba(0, 0, 0, .75), 0 2px 14px rgba(6, 14, 38, .55); }

/* ============================================================
   SOBRE — conteúdo centralizado, sem card
   ============================================================ */
.about {
  position: relative; overflow: hidden; padding: 112px 0 104px;
  background: radial-gradient(circle at 50% 0%, rgba(37, 99, 201, .07), transparent 36%), var(--bg);
}
.about::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: min(760px, 80vw); height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2), transparent); transform: translateX(-50%);
}
.about-row { position: relative; z-index: 1; max-width: 980px; margin-inline: auto; }
.about-text { text-align: center; }
.about-text .eyebrow { justify-content: center; margin-bottom: 20px; }
.about-text .statement { max-width: 960px; margin-inline: auto; font-size: clamp(2rem, 4.4vw, 3.7rem); line-height: 1.1; text-wrap: balance; }
.about-text .statement .muted {
  display: block; max-width: 820px; margin: 22px auto 0;
  font-size: .58em; line-height: 1.28; letter-spacing: -.015em;
}
.about-proofs {
  display: grid; grid-template-columns: repeat(3, 1fr); max-width: 820px; margin: 42px auto 0;
  padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.about-proof { display: grid; gap: 2px; padding: 0 24px; }
.about-proof + .about-proof { border-left: 1px solid var(--line); }
.about-proof strong { font-family: 'Poppins', sans-serif; color: var(--navy); font-size: 1.05rem; line-height: 1.25; }
.about-proof span { color: var(--muted); font-size: .86rem; }
.about-text .cta-pair { margin-top: 32px; }

@media (max-width: 620px) {
  .about { padding: 76px 0 70px; }
  .about-text .statement { font-size: clamp(1.85rem, 8vw, 2.45rem); line-height: 1.14; }
  .about-text .statement .muted { margin-top: 18px; font-size: .66em; }
  .about-proofs { grid-template-columns: 1fr; gap: 0; margin-top: 32px; padding: 0; }
  .about-proof { padding: 15px 8px; }
  .about-proof + .about-proof { border-left: 0; border-top: 1px solid var(--line); }
}

/* ============================================================
   SEÇÕES GENÉRICAS
   ============================================================ */
.sec { padding: 90px 0; }
.sec-soft { background: var(--soft); }
.sec-head { max-width: 760px; margin-bottom: 46px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head .eyebrow { margin-bottom: 16px; }

/* ============================================================
   BENEFÍCIOS  (título 2 cores + 2 cards com foto — como na ref)
   ============================================================ */
.benefit-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.benefits-cta { margin-top: 30px; }
.benefit-card {
  position: relative; min-height: 360px; border-radius: var(--r-lg); overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 28px; color: #fff; box-shadow: var(--shadow-sm);
  background: var(--navy);
}
.benefit-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(11, 34, 92, .05) 0%, rgba(11, 34, 92, .50) 55%, rgba(8, 20, 55, .92) 100%);
}
.benefit-card-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.benefit-card > *:not(.benefit-card-img) { position: relative; z-index: 1; }
.benefit-card .b-label { display: inline-flex; align-items: center; gap: 9px; align-self: flex-start; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3); padding: 8px 15px; border-radius: 100px; font-weight: 600; font-size: .9rem; backdrop-filter: blur(4px); }
.benefit-card .b-label svg { width: 16px; height: 16px; fill: none; stroke: var(--lime); stroke-width: 2; }
.benefit-card h3 { color: #fff; font-size: 1.5rem; margin-bottom: 8px; }
.benefit-card p { color: rgba(255, 255, 255, .9); font-size: 1rem; }

/* ============================================================
   PROCESSO  (painel à esquerda + accordion à direita — como na ref)
   ============================================================ */
.process-row { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: start; }
.process-aside {
  background: linear-gradient(160deg, var(--navy), var(--blue)); color: #fff;
  border-radius: var(--r-lg); padding: 40px; position: sticky; top: 100px;
}
.process-aside .eyebrow { color: var(--lime); }
.process-aside h2 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin: 14px 0 14px; }
.process-aside p { color: rgba(255, 255, 255, .85); margin-bottom: 24px; }

.accordion { display: grid; gap: 0; }
.accordion details { border-bottom: 1px solid var(--line-2); }
.accordion summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 18px;
  padding: 24px 4px; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 1.15rem;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion .ac-num { font-size: .95rem; color: var(--faint); font-weight: 700; width: 28px; }
.accordion summary .ac-arrow { margin-left: auto; width: 22px; height: 22px; fill: none; stroke: var(--lime-d); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.accordion details[open] summary .ac-arrow { transform: rotate(90deg); }
.accordion details p { padding: 0 4px 24px 62px; color: var(--muted); }

/* ============================================================
   GARANTIAS
   ============================================================ */
.warranty-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.warranty { position: relative; overflow: hidden; text-align: center; background: linear-gradient(160deg, var(--navy), var(--navy-d)); color: #fff; border-radius: var(--r-lg); padding: 34px 22px; box-shadow: var(--shadow); transition: transform .35s ease, box-shadow .35s ease; }
.warranty::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--lime), var(--lime-d)); }
.warranty:hover { transform: translateY(-6px); box-shadow: 0 30px 60px rgba(20, 40, 90, .22); }
.warranty-ic { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-bottom: 16px; border-radius: 50%; background: rgba(141, 198, 63, .15); }
.warranty-ic svg { width: 26px; height: 26px; fill: var(--lime); }
.warranty strong { display: block; font-family: 'Poppins', sans-serif; font-size: 3.1rem; font-weight: 700; line-height: 1; }
.warranty strong em { font-style: normal; font-size: 1.05rem; font-weight: 500; color: var(--lime); display: block; margin-top: 4px; }
.warranty .warranty-label { display: block; margin-top: 12px; font-size: .95rem; color: rgba(255, 255, 255, .82); }

/* ============================================================
   AGRICULTOR / FINAME
   ============================================================ */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 44px; box-shadow: var(--shadow); }
.finame-section { position: relative; background: #0b1739 url("../assets/agri.jpg") center / cover no-repeat; }
.finame-section::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 17, 44, .60), rgba(8, 17, 44, .80)); }
.finame-section > .container { position: relative; z-index: 1; }
.finame { display: grid; grid-template-columns: 1.4fr .8fr; gap: 40px; align-items: center; overflow: hidden; }
.finame-content, .about-text, .panel-split > div, .process-aside, .hero-pitch { min-width: 0; }
.finame .eyebrow { color: var(--green); margin-bottom: 12px; }
.finame-content h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.finame-content > p { margin: 14px 0 22px; color: var(--muted); }
.finame-content .hl { color: var(--lime-d); }
.check-list { display: grid; gap: 12px; margin-bottom: 26px; }
.check-list li { display: flex; align-items: flex-start; gap: 11px; font-weight: 500; }
.check-list .ck { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--lime); position: relative; margin-top: 1px; }
.check-list .ck::after { content: ""; position: absolute; left: 7px; top: 4px; width: 5px; height: 9px; border: solid #15310a; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.finame-aside { display: grid; place-items: center; }
.finame-photo { position: relative; width: 100%; max-width: 360px; margin: 0; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 24px 55px rgba(8, 17, 44, .45); }
.finame-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 38% center; display: block; filter: saturate(.78) brightness(1.03) contrast(.97); }
.finame-badge { position: absolute; left: 14px; right: 14px; bottom: 14px; margin: 0; display: flex; align-items: center; gap: 9px; padding: 11px 14px; border-radius: 999px; background: rgba(19, 40, 106, .82); backdrop-filter: blur(6px); color: #fff; font-size: .92rem; }
.finame-badge svg { width: 18px; height: 18px; fill: var(--lime); flex-shrink: 0; }
.finame-badge strong { font-family: 'Poppins', sans-serif; font-weight: 700; }

/* ============================================================
   NOSSOS PROJETOS
   ============================================================ */
.sec-sub { margin-top: 12px; color: var(--muted); font-size: 1rem; }
.project-carousel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.project-carousel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}
.project-carousel-head p { color: var(--muted); font-size: .95rem; }
.project-controls { display: flex; gap: 10px; flex: none; }
.project-nav,
.project-lightbox-nav,
.project-lightbox-close {
  display: grid;
  place-items: center;
  border: none;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}
.project-nav {
  width: 42px;
  height: 42px;
  color: var(--navy);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 50%;
}
.project-nav:hover { background: var(--navy); color: #fff; transform: translateY(-1px); }
.project-nav svg,
.project-lightbox-nav svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.project-viewport { overflow: hidden; padding: 22px; }
.project-track {
  display: flex;
  gap: 18px;
  transition: transform .45s ease;
  will-change: transform;
}
.project-slide {
  position: relative;
  flex: 0 0 calc((100% - 36px) / 3);
  min-height: 320px;
  overflow: hidden;
  padding: 0;
  border: none;
  border-radius: var(--r);
  background: var(--navy);
  box-shadow: var(--shadow-sm);
  cursor: zoom-in;
}
.project-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(8, 17, 44, .6));
  opacity: .75;
  transition: opacity .18s ease;
}
.project-slide:hover::after { opacity: .45; }
.project-slide img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  transition: transform .35s ease;
}
.project-slide:hover img { transform: scale(1.035); }
.project-slide span {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 1;
  display: inline-flex;
  padding: 7px 12px;
  color: #15310a;
  background: var(--lime);
  border-radius: 100px;
  font-weight: 700;
  font-size: .82rem;
}
.project-lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(8, 17, 44, .88);
  backdrop-filter: blur(8px);
}
.project-lightbox[hidden] { display: none; }
.project-lightbox img {
  max-width: min(1120px, 92vw);
  max-height: 86vh;
  object-fit: contain;
  border-radius: var(--r);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .35);
}
.project-lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border-radius: 50%;
  font-size: 2rem;
  line-height: 1;
}
.project-lightbox-close:hover,
.project-lightbox-nav:hover { background: #fff; color: var(--navy); transform: scale(1.04); }
.project-lightbox-nav {
  position: fixed;
  top: 50%;
  width: 50px;
  height: 50px;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border-radius: 50%;
}
.project-lightbox-nav.prev { left: 24px; }
.project-lightbox-nav.next { right: 24px; }

/* ============================================================
   PRODUTOS
   ============================================================ */
.panel-split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 44px; align-items: center; }
.panel-split .eyebrow { color: var(--green); margin-bottom: 12px; }
.panel-split h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.panel-split > div > p { margin: 14px 0 22px; color: var(--muted); }
.prod-list { display: grid; gap: 14px; }
.prod { display: flex; align-items: center; gap: 16px; background: var(--soft); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; }
.prod-ic { flex: none; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); }
.prod-ic svg { width: 24px; height: 24px; fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.prod strong { display: block; font-family: 'Poppins', sans-serif; }
.prod span { font-size: .9rem; color: var(--muted); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { display: grid; gap: 14px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 4px 24px; box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 1.05rem; padding: 18px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; font-weight: 400; color: var(--lime-d); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 20px; color: var(--muted); }

/* ============================================================
   OPTIMIZATION — CTA final (fundo céu azul, como na ref)
   ============================================================ */
.opt-cta {
  position: relative; overflow: hidden; text-align: center; color: #fff;
  padding: 96px 24px; border-radius: var(--r-xl); margin: 0 24px;
  background: linear-gradient(180deg, #1E63C9 0%, #2C82E0 55%, #4BA8EA 100%);
}
.opt-cta::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 120px; background: radial-gradient(60% 100% at 30% 100%, rgba(255,255,255,.5), transparent 70%), radial-gradient(50% 100% at 75% 100%, rgba(255,255,255,.4), transparent 70%); filter: blur(8px); }
.opt-cta .inner { position: relative; z-index: 2; max-width: 760px; margin-inline: auto; }
.opt-cta .eyebrow { color: #fff; opacity: .85; justify-content: center; }
.opt-cta h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 600; margin: 16px 0 14px; }
.opt-cta p { color: rgba(255, 255, 255, .9); margin-bottom: 28px; font-size: 1.1rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #0E1B3A; color: rgba(255, 255, 255, .72); padding: 60px 0 28px; margin-top: 90px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; }
.footer-logo { height: 46px; margin-bottom: 16px; }
.footer-brand p { font-size: .95rem; max-width: 34ch; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-col a, .footer-addr { display: block; color: rgba(255, 255, 255, .72); font-size: .94rem; margin-bottom: 10px; transition: color .15s ease; }
.footer-col a:hover { color: var(--lime); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .85rem; }
.footer-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 18px; }
.footer-credit { display: inline-flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, .58); transition: color .18s ease, opacity .18s ease; }
.footer-credit span { font-size: .68rem; line-height: 1.2; letter-spacing: .08em; text-transform: uppercase; }
.footer-credit img { display: block; width: 113px; height: 32px; object-fit: contain; opacity: .88; transition: opacity .18s ease; }
.footer-credit:hover { color: #fff; }
.footer-credit:hover img { opacity: 1; }

/* ---------- Balão flutuante ---------- */
.float-cta { position: fixed; right: 20px; bottom: 20px; z-index: 45; display: inline-flex; align-items: center; gap: 10px; padding: 13px 20px 13px 16px; background: var(--whatsapp); color: #fff; border: none; border-radius: 100px; cursor: pointer; font-family: 'Poppins', sans-serif; font-weight: 600; box-shadow: 0 14px 34px rgba(37, 211, 102, .4); transition: transform .18s ease, opacity .25s ease, visibility .25s ease; }
.float-cta:hover { transform: translateY(-3px) scale(1.02); }
.float-cta svg { fill: #fff; }
.float-cta.hidden-top { opacity: 0; visibility: hidden; transform: translateY(20px); pointer-events: none; }

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: rgba(8, 17, 44, .55); backdrop-filter: blur(4px); padding: 20px; }
.modal-overlay[hidden] { display: none; }
.modal { position: relative; width: 100%; max-width: 460px; background: var(--surface); border-radius: var(--r-lg); padding: 38px 34px; box-shadow: 0 40px 90px rgba(8, 17, 44, .4); animation: pop .25s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-close { position: absolute; top: 16px; right: 18px; width: 36px; height: 36px; border: none; background: var(--soft); border-radius: 50%; font-size: 1.5rem; line-height: 1; color: var(--muted); cursor: pointer; }
.modal-close:hover { background: var(--line-2); }
.modal-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--green); font-weight: 600; font-size: .85rem; margin-bottom: 8px; }
.modal-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
.modal h2 { font-size: 1.6rem; margin-bottom: 8px; }
.modal-sub { color: var(--muted); font-size: .96rem; margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 7px; }
.field input { width: 100%; padding: 13px 15px; border: 1.5px solid var(--line-2); border-radius: var(--r-sm); font-size: 1rem; font-family: inherit; color: var(--text); transition: border-color .15s ease, box-shadow .15s ease; }
.field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37, 99, 201, .15); }
.field input.invalid { border-color: #E5484D; }
.phone-control { display: flex; align-items: stretch; }
.phone-prefix { flex: none; display: inline-flex; align-items: center; gap: 5px; padding: 0 13px; color: var(--navy); background: var(--soft); border: 1.5px solid var(--line-2); border-right: 0; border-radius: var(--r-sm) 0 0 var(--r-sm); }
.phone-prefix strong { font-size: .95rem; }
.phone-prefix small { font-size: .68rem; font-weight: 700; letter-spacing: .04em; color: var(--muted); }
.phone-control input { min-width: 0; border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.phone-control:focus-within .phone-prefix { border-color: var(--blue); }
.phone-control:has(input.invalid) .phone-prefix { border-color: #E5484D; }
.field-hint { display: block; color: var(--muted); font-size: .78rem; line-height: 1.4; margin-top: 6px; }
.error { display: block; color: #E5484D; font-size: .82rem; margin-top: 5px; }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.consent input { margin-top: 3px; accent-color: var(--lime-d); }
.modal-foot { text-align: center; font-size: .8rem; color: var(--muted); margin-top: 12px; }

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 940px) {
  .nav-toggle { display: flex; }
  /* header sólido quando o menu abre */
  .site-header.menu-open { background: rgba(255, 255, 255, .98); backdrop-filter: saturate(160%) blur(14px); border-bottom-color: var(--line); }
  .site-header.menu-open .nav-toggle span { background: var(--navy); }
  .site-header.menu-open .logo-dark-bg { display: none; }
  .site-header.menu-open .logo-light-bg { display: inline-block; }
  /* drawer: vira painel deslizante */
  .nav-drawer {
    display: flex; flex-direction: column; gap: 16px; align-items: stretch;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff;
    padding: 20px 22px 26px; box-shadow: 0 18px 40px rgba(20, 40, 90, .14);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .site-header.menu-open .nav-drawer { transform: none; opacity: 1; visibility: visible; pointer-events: auto; }
  .main-nav { display: flex; flex-direction: column; gap: 2px; margin: 0; }
  .main-nav a { color: var(--text); font-size: 1.05rem; padding: 12px 10px; border-radius: 10px; text-shadow: none; }
  .main-nav a:hover { background: var(--soft); color: var(--navy); }
  .header-actions { width: 100%; gap: 12px; padding-top: 6px; border-top: 1px solid var(--line); }
  .header-actions .btn { flex: 1; }
  .header-cta { display: inline-flex; }
  /* dentro do drawer (fundo branco): WhatsApp verde e Orçamento navy (visíveis) */
  .nav-drawer .btn-whatsapp { color: var(--whatsapp); border-color: rgba(37, 211, 102, .55); }
  .nav-drawer .btn-whatsapp:hover { color: #fff; }
  .nav-drawer .header-cta { color: var(--navy); border-color: var(--line-2); }
  .nav-drawer .header-cta:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
  .process-row, .finame, .panel-split { grid-template-columns: 1fr; }
  .benefit-cards, .warranty-grid { grid-template-columns: 1fr 1fr; }
  .project-slide { flex-basis: calc((100% - 18px) / 2); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process-aside { position: static; }
}
@media (max-width: 620px) {
  .btn { white-space: normal; text-align: center; }
  .sec { padding: 60px 0; }
  .panel { padding: 28px 22px; }
  .benefit-cards, .warranty-grid, .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom, .footer-meta { align-items: flex-start; flex-direction: column; }
  .project-carousel-head { align-items: flex-start; flex-direction: column; }
  .project-controls { width: 100%; justify-content: flex-end; }
  .project-viewport { padding: 14px; }
  .project-slide { flex-basis: 100%; min-height: 340px; }
  .project-slide img { min-height: 340px; }
  .project-lightbox { padding: 16px; }
  .project-lightbox-nav { width: 44px; height: 44px; top: auto; bottom: 18px; }
  .project-lightbox-nav.prev { left: 18px; }
  .project-lightbox-nav.next { right: 18px; }
  /* HERO mobile: wordmark menor, "g" sobre as placas, sem vão */
  .hero { min-height: 88vh; }
  .hero-word { font-size: clamp(2.6rem, 15vw, 5rem); font-weight: 300; }
  .hero-title-group { transform: translateY(15vh); }
  .hero-subtitle { margin-top: 8px; margin-left: 0; text-align: center; letter-spacing: 0.04em; }
  .hero-bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
  .hero-pitch { align-items: flex-start; text-align: left; max-width: 100%; }
  .hero-pitch p { margin-bottom: 12px; }
  /* pares de botões: largos para toque */
  .cta-pair { width: 100%; }
  .cta-pair .btn { flex: 1 1 0; }
  .cta-pair.center { justify-content: stretch; }
  .opt-cta { padding: 64px 22px; margin: 0 16px; }
  .float-cta { display: none; }
}
