/* ESAQ – Estamos Sempre AQui · Protegendo Vidas
   Tokens do manual da marca (lib/pdf/assets/esaq/manual/README.md) */
:root {
  --preto: #111111;
  --grafite: #1E1E22;
  --magenta: #E5007D;
  --magenta-hover: #B80064;
  --coral: #F43F5E;
  --laranja: #FF7A00;
  --branco: #FFFFFF;
  --texto: #4A4A4F;
  --fundo-claro: #F4F4F2;
  --linha: #E2E2DE;
  --cinza-escuro: #C9C9CE;
  --degrade: linear-gradient(90deg, #E5007D 0%, #F43F5E 50%, #FF7A00 100%);
  --raio: 12px;
  --raio-lg: 20px;
  --sombra: 0 10px 30px rgba(17, 17, 17, .08);
  --largura: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Poppins", Arial, sans-serif;
  color: var(--texto);
  background: var(--branco);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--magenta); text-decoration: none; }
a:hover { color: var(--magenta-hover); }
h1, h2, h3, h4 { color: var(--preto); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -.01em; }
h3 { font-size: 1.15rem; }
p + p { margin-top: .9em; }
.wrap { width: min(var(--largura), 100% - 40px); margin-inline: auto; }
.destaque { color: var(--magenta); }
.escuro .destaque { color: var(--laranja); }

/* filete em degradê */
.filete { height: 5px; background: var(--degrade); }
.filete-curto { width: 64px; height: 4px; background: var(--degrade); border-radius: 4px; margin: 16px 0 22px; }
.center .filete-curto { margin-inline: auto; }

/* rótulo de seção (Poppins Light, maiúsculas espaçadas) */
.rotulo {
  display: inline-block;
  font-size: .78rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--magenta); margin-bottom: 10px;
}
.escuro .rotulo { color: var(--laranja); }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: var(--raio);
  font-weight: 600; font-size: .98rem; transition: .2s; border: 2px solid transparent; cursor: pointer;
}
.btn-primario { background: var(--magenta); color: var(--branco); }
.btn-primario:hover { background: var(--magenta-hover); color: var(--branco); }
.btn-laranja { background: var(--laranja); color: var(--preto); }
.btn-laranja:hover { filter: brightness(1.08); color: var(--preto); }
.btn-contorno { border-color: rgba(255,255,255,.55); color: var(--branco); }
.btn-contorno:hover { border-color: var(--branco); background: rgba(255,255,255,.08); color: var(--branco); }
.btn-contorno-escuro { border-color: var(--preto); color: var(--preto); }
.btn-contorno-escuro:hover { background: var(--preto); color: var(--branco); }
.btn svg { width: 20px; height: 20px; }

/* ---------- cabeçalho ---------- */
header.site { position: sticky; top: 0; z-index: 50; background: var(--branco); border-bottom: 1px solid var(--linha); }
html, body { overflow-x: hidden; }
header.site .bar { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 24px; }
.brand img { height: 46px; width: auto; }
nav.main { display: flex; align-items: center; gap: 4px; }
nav.main > a, .dd > button {
  font: inherit; background: none; border: 0; cursor: pointer;
  padding: 10px 14px; border-radius: 10px; color: var(--preto); font-weight: 500; font-size: .95rem;
}
nav.main > a:hover, .dd > button:hover, nav.main > a.ativo { color: var(--magenta); }
.dd { position: relative; }
.dd > button::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); }
.dd-menu {
  position: absolute; top: calc(100% + 8px); left: -10px; min-width: 300px;
  background: var(--branco); border-radius: var(--raio); box-shadow: var(--sombra); border: 1px solid var(--linha);
  padding: 10px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s;
}
.dd:hover .dd-menu, .dd:focus-within .dd-menu { opacity: 1; visibility: visible; transform: none; }
.dd-menu a { display: block; padding: 10px 14px; border-radius: 8px; color: var(--preto); font-size: .93rem; }
.dd-menu a small { display: block; color: var(--texto); font-size: .78rem; }
.dd-menu a:hover { background: var(--fundo-claro); color: var(--magenta); }
.header-cta { display: flex; gap: 10px; align-items: center; }
.header-cta .btn { padding: 11px 20px; font-size: .92rem; }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 26px; height: 2px; background: var(--preto); margin: 6px 0; transition: .2s; }

/* ---------- hero ---------- */
.hero { position: relative; color: var(--branco); background: var(--preto); overflow: hidden; }
.hero .foto { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .55; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,17,17,.96) 0%, rgba(17,17,17,.75) 48%, rgba(17,17,17,.25) 100%); }
.hero .wrap { position: relative; z-index: 2; padding: 120px 0 110px; max-width: var(--largura); }
.hero .conteudo { max-width: 660px; }
.hero h1 { color: var(--branco); margin: 6px 0 22px; }
.hero h1 .destaque { color: var(--laranja); }
.hero p.lead { font-size: 1.15rem; color: var(--cinza-escuro); max-width: 560px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero .assinatura { font-weight: 300; letter-spacing: .3em; text-transform: uppercase; font-size: .8rem; color: var(--cinza-escuro); }
.hero.pagina .wrap { padding: 90px 0 80px; }
.hero.pagina h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.migalha { font-size: .85rem; color: var(--cinza-escuro); margin-bottom: 14px; }
.migalha a { color: var(--cinza-escuro); }
.migalha a:hover { color: var(--branco); }

/* faixa de garantias logo abaixo do hero */
.trustbar { background: var(--grafite); color: var(--branco); }
.trustbar .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.trustbar .item { display: flex; gap: 14px; align-items: center; padding: 26px 22px; border-right: 1px solid rgba(255,255,255,.08); }
.trustbar .item:last-child { border-right: 0; }
.trustbar .num { font-size: 1.5rem; font-weight: 700; color: var(--laranja); min-width: 40px; }
.trustbar strong { display: block; color: var(--branco); font-size: .98rem; }
.trustbar span { font-size: .84rem; color: var(--cinza-escuro); }

/* ---------- seções ---------- */
section { padding: 96px 0; }
section.alt { background: var(--fundo-claro); }
section.escuro { background: var(--preto); color: var(--cinza-escuro); }
section.escuro h2, section.escuro h3 { color: var(--branco); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { font-size: 1.05rem; }

/* cartões das frentes */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: var(--branco); border: 1px solid var(--linha); border-radius: var(--raio-lg); overflow: hidden;
  display: flex; flex-direction: column; transition: .25s; color: var(--texto);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--sombra); color: var(--texto); }
.service-card .thumb { aspect-ratio: 16 / 10; background-size: cover; background-position: center; position: relative; }
.service-card .thumb::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--degrade); }
.service-card .body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.service-card .nr { font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--magenta); }
.service-card h3 { font-size: 1.2rem; }
.service-card p { font-size: .94rem; }
.service-card .mais { margin-top: auto; padding-top: 8px; font-weight: 600; color: var(--magenta); font-size: .92rem; }

/* blocos foto + texto */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.split .imgs { position: relative; }
.split .imgs img { border-radius: var(--raio-lg); width: 100%; height: 460px; object-fit: cover; box-shadow: var(--sombra); }
.split .imgs .menor { position: absolute; width: 46%; height: 220px; right: -24px; bottom: -32px; border: 6px solid var(--branco); }
.alt .split .imgs .menor { border-color: var(--fundo-claro); }
.lista { list-style: none; margin: 22px 0 28px; display: grid; gap: 12px; }
.lista li { position: relative; padding-left: 30px; color: var(--texto); }
.lista li::before { content: ""; position: absolute; left: 0; top: 9px; width: 16px; height: 4px; border-radius: 2px; background: var(--degrade); }
.escuro .lista li { color: var(--cinza-escuro); }

/* por que a ESAQ */
.diferenciais { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.diferencial { background: var(--grafite); border-radius: var(--raio-lg); padding: 30px 26px; border-top: 4px solid transparent; border-image: var(--degrade) 1; border-image-slice: 1; }
.diferencial .num { font-size: 2.2rem; font-weight: 700; color: var(--laranja); line-height: 1; }
.diferencial h3 { margin: 14px 0 8px; color: var(--branco); }
.diferencial p { font-size: .93rem; color: var(--cinza-escuro); }

/* como trabalhamos (etapas) */
.etapas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: etapa; }
.etapa { background: var(--branco); border: 1px solid var(--linha); border-radius: var(--raio-lg); padding: 28px 24px; position: relative; }
.etapa::before { counter-increment: etapa; content: "0" counter(etapa); font-size: 2rem; font-weight: 700; background: var(--degrade); -webkit-background-clip: text; background-clip: text; color: transparent; }
.etapa h3 { margin: 10px 0 6px; }
.etapa p { font-size: .93rem; }

/* galeria de trabalhos */
.galeria { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; grid-auto-flow: dense; gap: 14px; }
.galeria figure { position: relative; overflow: hidden; border-radius: var(--raio); background: var(--grafite); }
.galeria figure.alto { grid-row: span 2; }
.galeria figure.largo { grid-column: span 2; }
.galeria img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.galeria figure:hover img { transform: scale(1.04); }
.galeria figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 12px;
  background: linear-gradient(0deg, rgba(17,17,17,.85), transparent); color: var(--branco); font-size: .85rem; font-weight: 500;
}

/* cobertura / atendimento */
.coverage { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.coverage .card-info { background: var(--branco); border-radius: var(--raio-lg); padding: 34px; box-shadow: var(--sombra); }
.coverage .row { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--linha); }
.coverage .row:last-child { border-bottom: 0; }
.coverage .row strong { color: var(--preto); display: block; }
.coverage .ico { width: 42px; height: 42px; flex: none; border-radius: 10px; background: var(--fundo-claro); display: grid; place-items: center; color: var(--magenta); }
.coverage .ico svg { width: 22px; height: 22px; }

/* faixa de chamada */
.cta-band { background: var(--preto); color: var(--branco); position: relative; overflow: hidden; padding: 80px 0; }
.cta-band::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--degrade); }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: var(--branco); max-width: 640px; }
.cta-band p { color: var(--cinza-escuro); margin-top: 10px; }
.cta-band .actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-band .simbolo { position: absolute; right: -60px; bottom: -80px; width: 320px; opacity: .06; }

/* perguntas frequentes */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: var(--branco); border: 1px solid var(--linha); border-radius: var(--raio); padding: 18px 22px; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--preto); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--magenta); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 12px; font-size: .95rem; }

/* contato */
.contato-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.contato-card { background: var(--branco); border: 1px solid var(--linha); border-radius: var(--raio-lg); padding: 30px; display: flex; flex-direction: column; gap: 8px; }
.contato-card h3 { display: flex; align-items: center; gap: 10px; }
.contato-card .big { font-size: 1.25rem; font-weight: 600; color: var(--preto); word-break: break-word; }
.contato-card .btn { align-self: flex-start; margin-top: 10px; }
.mapa { border-radius: var(--raio-lg); overflow: hidden; border: 1px solid var(--linha); height: 380px; }
.mapa iframe { width: 100%; height: 100%; border: 0; }

/* rodapé */
footer.site { background: var(--preto); color: var(--cinza-escuro); padding: 70px 0 0; font-size: .93rem; position: relative; }
footer.site::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--degrade); }
footer.site .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
footer.site h4 { color: var(--branco); font-size: .95rem; margin-bottom: 16px; letter-spacing: .04em; }
footer.site a { color: var(--cinza-escuro); display: block; padding: 4px 0; }
footer.site a:hover { color: var(--laranja); }
footer.site .logo { height: 44px; width: auto; margin-bottom: 18px; }
footer.site .slogan { font-weight: 300; letter-spacing: .28em; text-transform: uppercase; font-size: .74rem; margin-top: 14px; }
footer.site .bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; font-size: .82rem; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* WhatsApp flutuante */
.wpp-flutuante {
  position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.25); transition: .2s;
}
.wpp-flutuante:hover { transform: scale(1.06); }
.wpp-flutuante svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- responsivo ---------- */
@media (max-width: 1060px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .diferenciais, .etapas { grid-template-columns: repeat(2, 1fr); }
  .trustbar .wrap { grid-template-columns: repeat(2, 1fr); }
  .trustbar .item:nth-child(2) { border-right: 0; }
  footer.site .cols { grid-template-columns: 1fr 1fr; }
  .galeria { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .menu-toggle { display: block; }
  nav.main {
    position: fixed; inset: 78px 0 0 0; background: var(--branco); flex-direction: column; align-items: stretch;
    padding: 20px; gap: 0; overflow-y: auto; transform: translateX(100%); transition: .25s;
  }
  body.menu-aberto nav.main { transform: none; }
  nav.main > a, .dd > button { padding: 14px 8px; border-bottom: 1px solid var(--linha); text-align: left; width: 100%; font-size: 1.02rem; }
  .dd-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px 12px; min-width: 0; }
  .header-cta .btn-texto { display: none; }
  .split, .coverage, .contato-grid { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse > :first-child { order: 0; }
  .split .imgs img { height: 340px; }
  .split .imgs .menor { display: none; }
  section { padding: 72px 0; }
  .hero .wrap { padding: 80px 0 76px; }
}
@media (max-width: 600px) {
  .services-grid, .diferenciais, .etapas, .trustbar .wrap { grid-template-columns: 1fr; }
  .trustbar .item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  footer.site .cols { grid-template-columns: 1fr; }
  .galeria { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .galeria figure.alto, .galeria figure.largo { grid-row: auto; grid-column: auto; }
  .brand img { height: 38px; }
  .header-cta .btn { padding: 10px 14px; }
}
