/* ============ Eletroli — estilos do site público ============ */
:root {
  /* ===== Cores da marca ELETROLI (extraídas da logo oficial) ===== */
  --blue: #0495fd;         /* azul elétrico — cor principal */
  --blue-dark: #0277cc;    /* hover/estados ativos */
  --blue-rgb: 4, 149, 253; /* para sombras/opacidade */
  --red: #dc0d0d;          /* vermelho do "LI" — destaque */
  --red-dark: #b80a0a;
  --green: #09a634;        /* verde (bandeira italiana) — acento */

  --navy: #0a2540;         /* azul-marinho profundo (header, rodapé, seções escuras) */
  --navy-light: #12395a;
  --whatsapp: #25d366;
  --whatsapp-dark: #1ebe5b;
  --bg: #f8fafc;
  --text: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(10, 37, 64, 0.08);
  --shadow-lg: 0 20px 50px rgba(10, 37, 64, 0.18);

  /* Compatibilidade: o site foi feito usando --orange como cor de ação.
     Agora essa cor passa a ser o azul da marca — assim todo o site se
     ajusta automaticamente. Use --blue/--red em código novo. */
  --orange: var(--blue);
  --orange-dark: var(--blue-dark);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-laranja { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(var(--blue-rgb),.35); }
.btn-laranja:hover { background: var(--orange-dark); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; box-shadow: 0 8px 20px rgba(37,211,102,.35); }
.btn-whatsapp:hover { background: var(--whatsapp-dark); }
.btn-outline { background: transparent; border: 2px solid rgba(255,255,255,.4); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.1); }
.btn-sm { padding: 9px 18px; font-size: .85rem; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- Header ---------- */
.header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.15);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 38px; width: auto; display: block; }
.nav-desktop { display: none; align-items: center; gap: 28px; }
.nav-desktop a { color: #cbd5e1; font-weight: 600; font-size: .95rem; transition: color .15s; }
.nav-desktop a:hover { color: #fff; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  background: none; border: none; color: #fff; font-size: 1.6rem; cursor: pointer;
  display: flex; align-items: center; padding: 4px;
}
.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--navy-light);
  padding: 10px 20px 18px;
}
.nav-mobile.aberto { display: flex; }
.nav-mobile a { color: #e2e8f0; font-weight: 600; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.08); }

@media (min-width: 860px) {
  .nav-desktop { display: flex; }
  .nav-toggle { display: none; }
  .nav-mobile { display: none !important; }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1c3a56 100%);
  color: #fff;
  padding: 64px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(var(--blue-rgb),.15); border: 1px solid rgba(var(--blue-rgb),.4);
  color: #8ecbff; font-size: .82rem; font-weight: 700;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 {
  font-size: 2.1rem; font-weight: 900; line-height: 1.2; margin-bottom: 16px; letter-spacing: -.02em;
}
.hero h1 em { color: var(--red); font-style: normal; }
.hero p { color: #cbd5e1; font-size: 1.05rem; margin-bottom: 28px; max-width: 520px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 28px; margin-top: 36px; flex-wrap: wrap; }
.hero-stat strong { display: block; font-size: 1.6rem; font-weight: 900; color: var(--orange); }
.hero-stat span { color: #94a3b8; font-size: .82rem; }
.hero-visual {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px; padding: 32px; text-align: center;
}
.hero-visual .icon-row { display: flex; justify-content: center; gap: 24px; font-size: 3rem; margin-bottom: 12px; }

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.1fr .9fr; }
  .hero h1 { font-size: 2.7rem; }
}

/* ---------- Seções gerais ---------- */
.section { padding: 64px 0; }
.section-bg { background: #fff; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-eyebrow {
  color: var(--orange); font-weight: 800; font-size: .8rem;
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; display: block;
}
.section-head h2 { font-size: 1.7rem; font-weight: 900; color: var(--navy); margin-bottom: 12px; }
.section-head p { color: var(--text-muted); }

/* ---------- Cards de serviço ---------- */
.grid-servicos { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid-servicos { grid-template-columns: repeat(2, 1fr); } }

.card-servico {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.card-servico:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-servico .ic {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 16px;
}
.card-servico h3 { font-size: 1.1rem; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.card-servico p { color: var(--text-muted); font-size: .92rem; margin-bottom: 16px; }

/* ---------- Diferenciais ---------- */
.grid-diferenciais { display: grid; gap: 24px; grid-template-columns: 1fr; text-align: center; }
@media (min-width: 700px) { .grid-diferenciais { grid-template-columns: repeat(4, 1fr); } }
.diferencial .ic { font-size: 2.2rem; margin-bottom: 10px; }
.diferencial h4 { font-weight: 800; color: var(--navy); margin-bottom: 6px; font-size: .98rem; }
.diferencial p { color: var(--text-muted); font-size: .85rem; }

/* ---------- Vitrine ---------- */
.filtros-categoria { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 36px; }
.filtro-btn {
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--border);
  background: #fff; color: var(--text-muted); font-weight: 700; font-size: .85rem; cursor: pointer;
}
.filtro-btn.ativo, .filtro-btn:hover { background: var(--navy); border-color: var(--navy); color: #fff; }

.grid-vitrine { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .grid-vitrine { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-vitrine { grid-template-columns: repeat(3, 1fr); } }

.card-item {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.card-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-item .card-item-img {
  aspect-ratio: 4/3; background: linear-gradient(135deg, #eef2f7, #e2e8f0);
  display: flex; align-items: center; justify-content: center; color: #94a3b8; font-size: 2.4rem;
  overflow: hidden;
}
.card-item .card-item-img img { width: 100%; height: 100%; object-fit: cover; }
.card-item-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.badge-categoria {
  display: inline-block; align-self: flex-start; background: #fdeaea; color: var(--red);
  font-size: .72rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; margin-bottom: 10px;
  text-transform: uppercase; letter-spacing: .03em;
}
.badge-categoria.servico { background: #e7f3ff; color: var(--blue-dark); }
.card-item h3 { font-size: 1.02rem; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.card-item p { color: var(--text-muted); font-size: .88rem; margin-bottom: 18px; flex: 1; }

/* Preço em box azul centralizado */
.preco {
  width: fit-content;
  margin: 0 auto 14px;
  text-align: center;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  font-weight: 900;
  font-size: 1.2rem;
  letter-spacing: .02em;
  padding: 9px 24px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(var(--blue-rgb), .35);
}

/* Tags como etiquetas coloridas, centralizadas (cor alterna por etiqueta) */
.tags { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; margin-bottom: 14px; }
.tag {
  font-size: .72rem; font-weight: 800; padding: 4px 12px; border-radius: 999px;
  border: 1px solid transparent; background: #e7f1ff; color: #0277cc;
  transition: filter .12s, box-shadow .12s, transform .12s;
}
a.tag { cursor: pointer; }
a.tag:hover { filter: brightness(.96); box-shadow: 0 3px 8px rgba(10,37,64,.12); transform: translateY(-1px); }
.tag:nth-child(6n+2) { background: #fdecec; color: #d51015; }
.tag:nth-child(6n+3) { background: #e4f6ea; color: #08843a; }
.tag:nth-child(6n+4) { background: #fff3e0; color: #c2660a; }
.tag:nth-child(6n+5) { background: #f1eafe; color: #7a3ff0; }
.tag:nth-child(6n+6) { background: #e2f6f4; color: #0d8b7e; }

.aviso-sem-itens { text-align: center; color: var(--text-muted); padding: 40px 0; }

/* Banner de consentimento de cookies (LGPD) */
.cookie-consent {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 300;
  background: var(--navy); color: #e2e8f0;
  padding: 14px 20px; box-shadow: 0 -4px 20px rgba(0,0,0,.25);
  display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap;
}
.cookie-consent p { font-size: .85rem; margin: 0; max-width: 620px; line-height: 1.5; }
.cookie-consent a { color: #8ecbff; font-weight: 600; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.tem-cookie-banner .whatsapp-float { bottom: 92px; }

/* Páginas de texto (política de privacidade, termos) */
.conteudo-legal h3 { color: var(--navy); font-size: 1.08rem; margin: 26px 0 8px; }
.conteudo-legal p { color: #475569; margin-bottom: 12px; }
.conteudo-legal ul { list-style: disc; padding-left: 22px; margin-bottom: 14px; color: #475569; }
.conteudo-legal li { margin-bottom: 6px; }
.conteudo-legal a { color: var(--blue); font-weight: 600; }

/* ---------- Localização ---------- */
.localizacao-grid { display: grid; gap: 28px; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 860px) { .localizacao-grid { grid-template-columns: 1fr 1.2fr; } }
.localizacao-info {
  background: var(--navy); color: #fff; border-radius: var(--radius); padding: 32px;
  display: flex; flex-direction: column; gap: 18px; justify-content: center;
}
.localizacao-item { display: flex; gap: 14px; align-items: flex-start; }
.localizacao-item .ic { font-size: 1.3rem; flex-shrink: 0; width: 28px; text-align: center; }
.localizacao-item strong { display: block; font-size: .82rem; color: #94a3b8; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 2px; }
.localizacao-mapa { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); min-height: 280px; }
.localizacao-mapa iframe { width: 100%; height: 100%; min-height: 280px; border: 0; }

/* ---------- CTA final ---------- */
.cta-final {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: #fff; text-align: center; padding: 56px 0; border-radius: var(--radius);
  margin: 0 20px 64px;
}
.cta-final h2 { font-size: 1.6rem; font-weight: 900; margin-bottom: 10px; }
.cta-final p { opacity: .9; margin-bottom: 26px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #94a3b8; padding: 48px 0 24px; font-size: .88rem; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr; margin-bottom: 32px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.footer h5 { color: #fff; font-size: .95rem; margin-bottom: 14px; font-weight: 800; }
.footer a { color: #94a3b8; }
.footer a:hover { color: #fff; }
.footer-item { margin-bottom: 8px; }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); }

/* ---------- WhatsApp flutuante ---------- */
.whatsapp-float {
  position: fixed; bottom: 22px; right: 22px; z-index: 200;
  background: var(--whatsapp); color: #fff; border-radius: 999px;
  width: 58px; height: 58px; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(37,211,102,.5); font-size: 1.6rem;
}
.whatsapp-float:hover { background: var(--whatsapp-dark); }

/* ---------- Página de item ---------- */
.item-detalhe { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .item-detalhe { grid-template-columns: .9fr 1.1fr; } }
.item-detalhe-img {
  background: linear-gradient(135deg, #eef2f7, #e2e8f0); border-radius: var(--radius);
  aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: #94a3b8; overflow: hidden;
}
.item-detalhe-img img { width: 100%; height: 100%; object-fit: cover; }
.breadcrumb { font-size: .85rem; color: var(--text-muted); margin-bottom: 24px; }
.breadcrumb a { color: var(--navy); font-weight: 600; }

/* ---------- Utilitários ---------- */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
