/* ============================================================
   SULZ BATERIAS — LANDING PAGE VAREJO (B2C)
   Identidade: Manual de Marca v1.0
   Cores 70% azul / 20% branco / 10% dourado
   ============================================================ */

:root {
  /* Paleta institucional */
  --azul-sulz:    #131831;  /* base, textos e fundos */
  --azul-energia: #263881;  /* apoio e profundidade */
  --dourado:      #C7A02B;  /* destaques e raio */
  --dourado-luz:  #F0D46A;  /* gradientes e brilho */
  --branco:       #FFFFFF;
  --cinza:        #697080;  /* textos secundários */
  --cinza-claro:  #F4F5F8;  /* fundos claros de respiro */

  /* WhatsApp */
  --whats:        #25D366;
  --whats-dark:   #1da851;

  /* Tipografia */
  --font: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

  --maxw: 1140px;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(19,24,49,.12);
  --shadow-lg: 0 20px 50px rgba(19,24,49,.22);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--azul-sulz);
  background: var(--branco);
  line-height: 1.55;
  font-size: 17px;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 4.5vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.4rem); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(48px, 8vw, 90px) 0; }
.text-gold { color: var(--dourado); }
.center { text-align: center; }

/* ---------- BOTÕES ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 800; font-size: 1.05rem; line-height: 1;
  padding: 18px 30px; border-radius: 999px; border: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
  text-align: center;
}
.btn:active { transform: scale(.98); }
.btn-whats {
  background: var(--whats); color: #fff;
  box-shadow: 0 8px 22px rgba(37,211,102,.35);
}
.btn-whats:hover { background: var(--whats-dark); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(37,211,102,.45); }
.btn-gold {
  background: linear-gradient(135deg, var(--dourado-luz), var(--dourado));
  color: var(--azul-sulz);
  box-shadow: 0 8px 22px rgba(199,160,43,.4);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(199,160,43,.5); }
.btn-outline {
  background: transparent; color: var(--branco);
  border: 2px solid rgba(255,255,255,.4);
}
.btn-outline:hover { border-color: var(--dourado-luz); color: var(--dourado-luz); }
.btn-lg { padding: 20px 38px; font-size: 1.15rem; }
.btn-block { width: 100%; }
.btn svg { width: 22px; height: 22px; flex: none; }

/* ---------- HEADER ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(19,24,49,.96); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header .container { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; padding-bottom: 12px; }
.header__logo img { height: 40px; width: auto; }
.header__cta { display: flex; align-items: center; gap: 14px; }
.header__phone { color: #fff; font-weight: 800; font-size: 1.05rem; display: flex; align-items: center; gap: 8px; }
.header__phone svg { width: 18px; height: 18px; color: var(--dourado-luz); }
@media (max-width: 640px){
  .header__phone span { display: none; }
  .header__logo img { height: 34px; }
  .btn { padding: 14px 20px; font-size: .95rem; }
  .header__cta .btn { padding: 12px 16px; }
  /* CTAs do hero em largura total no mobile — melhor toque e sem overflow */
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative; color: #fff;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(38,56,129,.9), transparent 60%),
    radial-gradient(800px 400px at 10% 110%, rgba(199,160,43,.16), transparent 60%),
    linear-gradient(160deg, #0e1226 0%, var(--azul-sulz) 45%, #0b0f22 100%);
  overflow: hidden;
}
.hero::before{
  /* raio dourado decorativo */
  content:""; position:absolute; right:-8%; top:-10%; width:60%; height:120%;
  background: conic-gradient(from 200deg at 50% 50%, transparent, rgba(240,212,106,.10), transparent 40%);
  transform: rotate(12deg); pointer-events:none;
}
.hero .container { position: relative; z-index: 2; padding-top: clamp(40px, 7vw, 70px); padding-bottom: clamp(48px, 8vw, 80px); }
.hero__eyebrow {
  display:inline-flex; align-items:center; gap:8px;
  font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--dourado-luz); background: rgba(240,212,106,.1);
  border: 1px solid rgba(240,212,106,.25); padding: 8px 16px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { max-width: 15ch; margin-bottom: 18px; }
.hero h1 .hl { color: var(--dourado-luz); }
.hero__sub { font-size: clamp(1.05rem, 2.4vw, 1.3rem); color: #d7dbe8; max-width: 44ch; margin-bottom: 30px; font-weight: 500; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero__chip { display:flex; align-items:center; gap:9px; font-weight:700; font-size:.95rem; color:#e8ebf3; }
.hero__chip svg { width: 20px; height: 20px; color: var(--dourado-luz); flex:none; }

/* ---------- FAIXA DE CONFIANÇA ---------- */
.trustbar { background: var(--azul-energia); color: #fff; padding: 0; }
.trustbar__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trustbar__item { display:flex; align-items:center; gap:12px; padding: 22px 18px; justify-content:center; text-align:left; border-right: 1px solid rgba(255,255,255,.12); min-width: 0; }
.trustbar__item > div { min-width: 0; }
.trustbar__item:last-child { border-right: none; }
.trustbar__item svg { width: 30px; height: 30px; color: var(--dourado-luz); flex:none; }
.trustbar__item b { display:block; font-size:.98rem; }
.trustbar__item small { color: #c3c9dd; font-size:.8rem; }
@media (max-width: 800px){ .trustbar__grid { grid-template-columns: repeat(2,1fr); } .trustbar__item:nth-child(2n){border-right:none;} .trustbar__item:nth-child(-n+2){border-bottom:1px solid rgba(255,255,255,.12);} }
@media (max-width: 420px){ .trustbar__item { padding: 16px 12px; gap: 10px; } .trustbar__item svg { width: 26px; height: 26px; } }

/* ---------- SEÇÕES CLARAS ---------- */
.section--light { background: var(--cinza-claro); }
.section__head { max-width: 640px; margin: 0 auto 44px; text-align:center; }
.section__eyebrow { color: var(--dourado); font-weight: 800; letter-spacing:.1em; text-transform: uppercase; font-size:.82rem; display:block; margin-bottom:10px; }
.section__head p { color: var(--cinza); font-size: 1.08rem; margin-top: 12px; }

/* ---------- TIPOS DE BATERIA ---------- */
.types { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.type-card {
  background:#fff; border-radius: var(--radius); padding: 28px 22px; text-align:center;
  border: 1px solid #e7e9f1; box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease;
  display:flex; flex-direction:column; align-items:center;
}
.type-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.type-card__icon { width: 66px; height: 66px; display:grid; place-items:center; border-radius: 50%; background: linear-gradient(135deg, var(--azul-energia), var(--azul-sulz)); margin-bottom: 18px; }
.type-card__icon svg { width: 34px; height: 34px; color: var(--dourado-luz); }
.type-card h3 { margin-bottom: 6px; }
.type-card p { color: var(--cinza); font-size:.95rem; margin-bottom: 18px; flex:1; }
.type-card .btn { width: 100%; }
@media (max-width: 900px){ .types { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px){ .types { grid-template-columns: 1fr; } }

/* ---------- DIFERENCIAIS ---------- */
.why { display:grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items:center; }
.why__list { list-style:none; display:grid; gap: 22px; }
.why__list li { display:flex; gap:16px; }
.why__list .ico { width:48px; height:48px; flex:none; border-radius:12px; background: linear-gradient(135deg, var(--dourado-luz), var(--dourado)); display:grid; place-items:center; }
.why__list .ico svg { width:26px; height:26px; color: var(--azul-sulz); }
.why__list b { font-size:1.12rem; display:block; margin-bottom:2px; }
.why__list span { color: var(--cinza); font-size:.98rem; }
.why__card {
  background: linear-gradient(160deg, var(--azul-energia), var(--azul-sulz));
  color:#fff; border-radius: var(--radius); padding: 40px 34px; box-shadow: var(--shadow-lg);
}
.why__card h3 { color: var(--dourado-luz); font-size: 1.5rem; margin-bottom: 14px; }
.why__card p { color:#d7dbe8; margin-bottom: 26px; }
@media (max-width: 860px){ .why { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- COMO FUNCIONA ---------- */
.steps { display:grid; grid-template-columns: repeat(4,1fr); gap: 22px; counter-reset: step; }
.step { text-align:center; position:relative; }
.step__num {
  width:60px; height:60px; margin:0 auto 16px; border-radius:50%;
  background: var(--azul-sulz); color: var(--dourado-luz); font-weight:800; font-size:1.5rem;
  display:grid; place-items:center; border: 3px solid var(--dourado);
}
.step h3 { font-size:1.1rem; margin-bottom:6px; }
.step p { color: var(--cinza); font-size:.95rem; }
@media (max-width: 820px){ .steps { grid-template-columns: repeat(2,1fr); row-gap:34px; } }

/* ---------- PRODUTO / MARCA PRÓPRIA ---------- */
.brand { background: var(--azul-sulz); color:#fff; }
.brand__grid { display:grid; grid-template-columns: repeat(3,1fr); gap:22px; margin-top: 40px; }
.tech-card { background: rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 30px 26px; }
.tech-card .tag { display:inline-block; font-weight:800; color: var(--azul-sulz); background: var(--dourado-luz); font-size:.72rem; letter-spacing:.08em; padding:5px 12px; border-radius:999px; margin-bottom:14px; }
.tech-card h3 { margin-bottom:10px; }
.tech-card p { color:#c3c9dd; font-size:.95rem; }
@media (max-width: 860px){ .brand__grid { grid-template-columns: 1fr; } }

/* ---------- GARANTIA / CTA FAIXA ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--azul-energia), var(--azul-sulz));
  color:#fff; border-radius: var(--radius); padding: clamp(34px,5vw,56px); text-align:center;
  box-shadow: var(--shadow-lg); position:relative; overflow:hidden;
}
.cta-band::after{ content:""; position:absolute; inset:0; background: radial-gradient(600px 200px at 50% -20%, rgba(240,212,106,.18), transparent 70%); pointer-events:none; }
.cta-band h2 { position:relative; margin-bottom:14px; }
.cta-band p { position:relative; color:#d7dbe8; max-width: 48ch; margin: 0 auto 28px; }
.cta-band .btn { position:relative; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid #e4e6ef; }
.faq__q { width:100%; background:none; border:none; cursor:pointer; text-align:left;
  font-family:var(--font); font-weight:800; font-size:1.1rem; color:var(--azul-sulz);
  padding: 22px 44px 22px 0; position:relative; }
.faq__q::after { content:"+"; position:absolute; right:6px; top:50%; transform:translateY(-50%); font-size:1.6rem; color:var(--dourado); transition:transform .2s ease; }
.faq__item.open .faq__q::after { content:"–"; }
.faq__a { max-height:0; overflow:hidden; transition:max-height .3s ease; color:var(--cinza); }
.faq__a p { padding: 0 0 22px; }

/* ---------- RODAPÉ ---------- */
.footer { background: var(--azul-sulz); color:#fff; padding: 56px 0 30px; }
.footer__grid { display:grid; grid-template-columns: 1.4fr 1fr 1fr; gap:36px; margin-bottom: 40px; }
.footer__logo { height: 46px; margin-bottom:18px; }
.footer p, .footer li { color:#b9bfd4; font-size:.95rem; }
.footer h4 { color:#fff; font-size:1rem; margin-bottom:16px; letter-spacing:.04em; }
.footer ul { list-style:none; display:grid; gap:10px; }
.footer a:hover { color: var(--dourado-luz); }
.footer__contact a { display:flex; align-items:center; gap:10px; color:#fff; font-weight:700; margin-bottom:12px; }
.footer__contact svg { width:20px; height:20px; color: var(--dourado-luz); }
.footer__bottom { border-top:1px solid rgba(255,255,255,.1); padding-top:24px; text-align:center; color:#8b91a8; font-size:.85rem; }
.footer__slogan { color: var(--dourado-luz); font-weight:800; font-style:italic; margin-top:6px; }
@media (max-width: 780px){ .footer__grid { grid-template-columns: 1fr; gap:30px; } }
.footer__stores { list-style:none; display:grid; gap:12px; }
.footer__stores a { color:#fff; display:inline-flex; align-items:center; font-size:.95rem; }
.footer__stores b { color:#fff; font-weight:800; }
.footer__stores a:hover, .footer a[data-b2b]:hover { color: var(--dourado-luz); }

/* ---------- NOSSAS LOJAS (fachadas) ---------- */
.lojas { display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.loja-card { background:#fff; border:1px solid #e7e9f1; border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow); display:flex; flex-direction:column; transition: transform .18s ease, box-shadow .18s ease; }
.loja-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.loja-card__media { aspect-ratio: 4 / 3; background: var(--azul-sulz); overflow:hidden; }
.loja-card__media > img { width:100%; height:100%; object-fit: cover; display:block; }
.loja-card__ph { width:100%; height:100%; display:grid; place-items:center; background: linear-gradient(160deg, var(--azul-energia), var(--azul-sulz)); }
.loja-card__ph img { width:60%; max-width:180px; height:auto; opacity:.92; }
.loja-card__body { padding: 22px; text-align:center; display:flex; flex-direction:column; gap:6px; flex:1; }
.loja-card__body h3 { font-size:1.25rem; }
.loja-card__body p { color: var(--cinza); font-weight:700; margin-bottom:14px; }
.loja-card__body .btn { margin-top:auto; width:100%; }
@media (max-width: 900px){ .lojas { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 600px){ .lojas { grid-template-columns: 1fr; } }

/* ---------- LINK "SOU LOJISTA" (header) ---------- */
.header__lojista { color:#fff; font-weight:700; font-size:.92rem; opacity:.85; border-bottom:1px solid transparent; transition: opacity .2s ease, border-color .2s ease, color .2s ease; white-space:nowrap; }
.header__lojista:hover { opacity:1; color: var(--dourado-luz); border-color: var(--dourado-luz); }
@media (max-width: 720px){ .header__lojista { display:none; } }

/* ---------- BARRA DE SELEÇÃO DE LOJA ---------- */
.locbar { background: var(--cinza-claro); border-bottom:1px solid #e4e6ef; }
.locbar .container { display:flex; align-items:center; gap:12px 16px; padding-top:12px; padding-bottom:12px; flex-wrap:wrap; }
.locbar__label { display:inline-flex; align-items:center; gap:8px; font-weight:700; font-size:.92rem; color: var(--azul-sulz); }
.locbar__label svg { width:18px; height:18px; color: var(--dourado); flex:none; }
.locbar__chips { display:flex; gap:8px; flex-wrap:wrap; }
.loc-chip { font-family: var(--font); font-weight:700; font-size:.9rem; cursor:pointer; padding:8px 16px; border-radius:999px; border:1.5px solid #cfd3e0; background:#fff; color: var(--azul-sulz); transition: all .15s ease; }
.loc-chip:hover { border-color: var(--azul-energia); }
.loc-chip[aria-pressed="true"] { background: var(--azul-sulz); color:#fff; border-color: var(--azul-sulz); }
@media (max-width: 480px){ .locbar__label { font-size:.85rem; } .loc-chip { padding:7px 13px; font-size:.85rem; } }

/* ---------- CONVITE LOJISTA (→ B2B) ---------- */
.lojista__card { display:flex; align-items:center; justify-content:space-between; gap:30px; background: linear-gradient(120deg, var(--azul-sulz), var(--azul-energia)); border:1px solid rgba(240,212,106,.35); border-radius: var(--radius); padding: clamp(28px,4vw,44px); box-shadow: var(--shadow-lg); }
.lojista__text { color:#fff; }
.lojista__text h2 { color:#fff; margin:6px 0 10px; }
.lojista__text p { color:#d7dbe8; max-width:52ch; }
.lojista .btn { flex:none; }
@media (max-width: 760px){ .lojista__card { flex-direction:column; align-items:flex-start; text-align:left; } .lojista .btn { width:100%; } }

/* ---------- BOTÃO FLUTUANTE WHATSAPP ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 200;
  background: var(--whats); color:#fff; width: 62px; height: 62px; border-radius:50%;
  display:grid; place-items:center; box-shadow: 0 10px 26px rgba(37,211,102,.5);
  animation: wa-pulse 2.2s infinite; transition: transform .15s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 34px; height: 34px; }
@keyframes wa-pulse { 0%{ box-shadow:0 0 0 0 rgba(37,211,102,.5);} 70%{ box-shadow:0 0 0 16px rgba(37,211,102,0);} 100%{ box-shadow:0 0 0 0 rgba(37,211,102,0);} }
@media (min-width: 900px){ .wa-float { width:66px; height:66px; right:26px; bottom:26px; } }

/* ---------- UTILIDADES ---------- */
[hidden] { display: none !important; }
/* Reveal ao rolar — só esconde quando o JS está ativo (classe .js no <html>).
   Sem JS, ou se algo falhar, o conteúdo aparece normalmente. */
.reveal { transition: opacity .6s ease, transform .6s ease; }
.js .reveal { opacity: 0; transform: translateY(24px); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){
  *{ scroll-behavior:auto; }
  .js .reveal{ opacity:1 !important; transform:none !important; }
  .wa-float{ animation:none; }
}
