/* =========================================================================
   RESOLVE ELÉTRICA — azul-cobalto + laranja sinal, tema claro
   ========================================================================= */
:root {
  --ink: #0F172A;
  --ink-2: #334155;
  --muted: #5B6B82;
  --bg: #FFFFFF;
  --bg-alt: #F3F6FB;
  --line: #E2E8F0;
  --blue: #1D4ED8;
  --blue-d: #1E3A8A;
  --blue-dd: #172554;
  --blue-l: #DBEAFE;
  --orange: #F97316;
  --orange-d: #EA580C;
  --orange-l: #FFEDD5;
  --red: #DC2626;
  --ok: #16A34A;
  --display: 'Archivo', 'Arial Black', system-ui, sans-serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 14px;
  --r-lg: 22px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px rgba(15, 23, 42, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 76px; /* espaço da barra fixa no celular */
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; margin: 0; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 6px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 24px;
  font-family: var(--sans); font-weight: 700; font-size: 1rem; text-decoration: none;
  border-radius: 12px; border: 2px solid transparent;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--orange); color: var(--ink); box-shadow: 0 6px 18px rgba(249, 115, 22, .35); }
.btn--primary:hover { background: #FB8A3C; }
.btn--ghost { background: #fff; color: var(--blue-d); border-color: var(--blue-l); }
.btn--ghost:hover { border-color: var(--blue); }
.btn--light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn--light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

/* ---------- faixa 24h ---------- */
.topbar {
  background: var(--blue-dd); color: #DCE6FF;
  font-size: .82rem; font-weight: 600; text-align: center;
  padding: 8px 16px; display: flex; align-items: center; justify-content: center; gap: 8px;
}
.live { width: 8px; height: 8px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 0 rgba(74, 222, 128, .7); animation: pulse 1.8s infinite; flex: none; }
.topbar__more { display: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header__in { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 44px; height: 44px; }
.brand__txt { display: flex; flex-direction: column; line-height: 1; }
.brand__txt b { font-family: var(--display); font-weight: 800; font-size: 1.32rem; letter-spacing: -.02em; color: var(--ink); }
.brand__txt i { font-style: normal; font-family: var(--display); font-weight: 700; font-size: .66rem; letter-spacing: .34em; color: var(--blue); margin-top: 4px; }
.brand--light .brand__txt b { color: #fff; }
.brand--light .brand__txt i { color: #93B4FF; }
.nav { display: none; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink-2); padding: 8px 0; }
.nav a:hover { color: var(--blue); }
.header__tel { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-height: 44px; }
.header__tel svg { width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: var(--blue-l); color: var(--blue); }
.header__tel span { display: none; font-weight: 800; font-family: var(--display); font-size: 1.05rem; line-height: 1.1; }
.header__tel small { display: block; font-family: var(--sans); font-weight: 600; font-size: .72rem; color: var(--muted); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(29, 78, 216, .12), transparent 60%),
    radial-gradient(600px 300px at -10% 110%, rgba(249, 115, 22, .10), transparent 60%),
    var(--bg-alt);
  padding: 40px 0 48px;
}
.hero__grid { display: grid; gap: 32px; align-items: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--orange-l); color: #9A3412;
  font-weight: 700; font-size: .82rem; padding: 6px 12px 6px 8px; border-radius: 100px; margin-bottom: 16px;
}
.kicker svg { width: 16px; height: 16px; color: var(--orange-d); }
.hero h1 { font-size: 2.1rem; font-weight: 800; color: var(--ink); }
.hero h1 em { font-style: normal; color: var(--blue); display: block; }
.hero__lead { font-size: 1.06rem; color: var(--ink-2); margin-top: 16px; max-width: 560px; }
.hero__lead strong { color: var(--ink); }
.hero__list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.hero__list li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); }
.hero__list svg { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--blue); color: #fff; flex: none; }
.hero__cta { display: grid; gap: 12px; margin-top: 26px; }

/* cartão "chamado" */
.ticket { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.ticket__head { display: flex; align-items: center; gap: 10px; padding: 16px 20px; background: var(--blue); color: #fff; font-weight: 700; }
.ticket__head b { margin-left: auto; font-family: var(--display); background: rgba(255, 255, 255, .16); padding: 2px 10px; border-radius: 100px; font-size: .9rem; }
.ticket__dot { width: 10px; height: 10px; border-radius: 50%; background: #4ADE80; animation: pulse 1.8s infinite; }
.ticket__steps { list-style: none; margin: 0; padding: 10px 20px 4px; }
.ticket__steps li { display: flex; gap: 14px; padding: 12px 0; position: relative; }
.ticket__steps li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 46px; bottom: -6px; width: 2px; background: var(--line); }
.ticket__steps li.done:not(:last-child)::after { background: var(--blue); }
.ticket__steps span {
  width: 32px; height: 32px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-weight: 800; font-size: .9rem;
  background: var(--bg-alt); color: var(--muted); border: 2px solid var(--line);
}
.ticket__steps li.done span { background: var(--blue); color: #fff; border-color: var(--blue); }
.ticket__steps li.now span { background: var(--orange); color: var(--ink); border-color: var(--orange); box-shadow: 0 0 0 5px var(--orange-l); }
.ticket__steps b { display: block; font-size: .98rem; }
.ticket__steps small { color: var(--muted); font-size: .86rem; }
.ticket__foot { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.ticket__foot div { padding: 14px 8px; text-align: center; }
.ticket__foot div + div { border-left: 1px solid var(--line); }
.ticket__foot b { display: block; font-family: var(--display); font-size: 1.2rem; color: var(--blue-d); }
.ticket__foot small { font-size: .74rem; color: var(--muted); font-weight: 600; }

/* ---------- seções ---------- */
.section { padding: 56px 0; }
.section--alt { background: var(--bg-alt); }
.section--blue { background: linear-gradient(160deg, var(--blue-d), var(--blue-dd)); color: #fff; }
.head { max-width: 640px; margin-bottom: 28px; }
.eyebrow { font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-d); margin-bottom: 10px; }
.head h2, .region h2 { font-size: 1.75rem; font-weight: 800; }
.sub { color: var(--muted); margin-top: 12px; font-size: 1.02rem; }
.head--light .eyebrow { color: #FDBA74; }

/* problemas */
.probs { display: grid; gap: 12px; }
.prob {
  position: relative; display: grid; grid-template-columns: 48px 1fr 24px; align-items: center; column-gap: 14px;
  padding: 16px 18px; border-radius: var(--r); background: #fff; border: 1.5px solid var(--line);
  text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s;
}
.prob:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-2px); }
.prob__ic { grid-row: span 2; width: 48px; height: 48px; border-radius: 12px; background: var(--blue-l); color: var(--blue); display: grid; place-items: center; }
.prob__ic svg { width: 26px; height: 26px; }
.prob b { font-size: 1.02rem; font-weight: 700; }
.prob small { grid-column: 2; color: var(--muted); font-size: .88rem; }
.prob__go { grid-column: 3; grid-row: 1 / span 2; width: 22px; height: 22px; color: var(--blue); }
.prob--urgent { border-color: #FECACA; background: #FFF7F7; }
.prob--urgent .prob__ic { background: #FEE2E2; color: var(--red); }
.prob--urgent .prob__go { color: var(--red); }

/* segurança */
.safety { background: var(--orange-l); border-top: 1px solid #FED7AA; border-bottom: 1px solid #FED7AA; padding: 28px 0; }
.safety__in { display: grid; gap: 16px; }
.safety__title { display: flex; align-items: center; gap: 12px; }
.safety__title h2 { font-size: 1.3rem; color: #7C2D12; }
.safety__badge { width: 34px; height: 34px; border-radius: 50%; background: var(--orange); color: var(--ink); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 1.2rem; flex: none; }
.safety__list { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: #7C2D12; }
.safety__list b { color: #431407; }

/* serviços */
.svcs { display: grid; gap: 14px; }
.svc { background: #fff; border-radius: var(--r); padding: 22px; border: 1px solid var(--line); border-top: 4px solid var(--blue); }
.svc__n { font-family: var(--display); font-weight: 800; color: var(--orange-d); font-size: .95rem; }
.svc h3 { font-size: 1.2rem; margin: 8px 0 8px; }
.svc p { color: var(--muted); }
.svcs__more { margin-top: 24px; display: grid; gap: 14px; align-items: center; }
.svcs__more p { color: var(--ink-2); font-weight: 500; }

/* garantias */
.promises { display: grid; gap: 14px; }
.promise { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--r); padding: 22px; }
.promise svg { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--orange); color: var(--ink); margin-bottom: 14px; }
.promise h3 { font-size: 1.12rem; margin-bottom: 6px; }
.promise p { color: #C7D4F5; font-size: .96rem; }

/* região */
.region { display: grid; gap: 24px; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; align-content: flex-start; }
.chips li { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 100px; padding: 7px 14px; font-weight: 600; font-size: .9rem; color: var(--ink-2); }
.chips li:nth-last-child(-n+2) { background: var(--blue-l); border-color: #BFD3FE; color: var(--blue-d); }

/* faq */
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; font-weight: 700; position: relative;
  min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 20px 18px; color: var(--ink-2); }

/* cta final */
.final { background: var(--ink); color: #fff; padding: 44px 0; }
.final__in { display: grid; gap: 20px; }
.final h2 { font-size: 1.7rem; }
.final p { color: #CBD5E1; margin-top: 6px; }
.final__cta { display: grid; gap: 12px; }

/* rodapé */
.footer { background: #0B1222; color: #94A3B8; padding: 44px 0 0; font-size: .94rem; }
.footer__in { display: grid; gap: 28px; }
.footer h3 { color: #fff; font-family: var(--sans); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.footer p + p { margin-top: 6px; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }
.footer__brand p { margin-top: 14px; max-width: 360px; }
.footer__bottom { border-top: 1px solid #1E293B; margin-top: 36px; padding-top: 18px; padding-bottom: 22px; font-size: .82rem; color: #64748B; }

/* barra fixa (celular) */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: grid; grid-template-columns: 1fr 2fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(15, 23, 42, .08);
}
.dock a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 12px; font-weight: 700; text-decoration: none; }
.dock svg { width: 20px; height: 20px; }
.dock__call { background: var(--blue-l); color: var(--blue-d); }
.dock__wa { background: var(--orange); color: var(--ink); }

/* ---------- telas maiores ---------- */
@media (min-width: 600px) {
  .hero__cta, .final__cta { grid-auto-flow: column; justify-content: start; }
  .probs { grid-template-columns: repeat(2, 1fr); }
  .svcs, .promises { grid-template-columns: repeat(2, 1fr); }
  .header__tel span { display: block; }
  .topbar__more { display: inline; }
}

@media (min-width: 960px) {
  body { padding-bottom: 0; }
  .dock { display: none; }
  .nav { display: flex; }
  .header__tel { margin-left: 8px; }
  .hero { padding: 72px 0 84px; }
  .hero__grid { grid-template-columns: 1.15fr .85fr; gap: 56px; }
  .hero h1 { font-size: 3.1rem; }
  .hero__lead { font-size: 1.15rem; }
  .section { padding: 88px 0; }
  .head h2, .region h2 { font-size: 2.3rem; }
  .probs { grid-template-columns: repeat(3, 1fr); }
  .svcs, .promises { grid-template-columns: repeat(4, 1fr); }
  .svcs__more { grid-template-columns: 1fr auto; }
  .safety__in { grid-template-columns: auto 1fr; gap: 36px; align-items: center; }
  .safety__list { grid-template-columns: repeat(3, 1fr); gap: 24px; padding-left: 18px; }
  .region { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
  .faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
  .final__in { grid-template-columns: 1fr auto; align-items: center; }
  .final h2 { font-size: 2.2rem; }
  .footer__in { grid-template-columns: 1.6fr 1fr 1fr; }
}
