/* Site Concertina Líder – CSS puro, sem build.
   Cores: azul escuro #32399e (detalhes), azul do banner #0d0085, botões #03a9f4,
   texto #747474, títulos #333. Celular: até 800px. */

@font-face { font-family: "Keep Calm"; src: url(../fonts/keepcalm-medium.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "PT Sans"; src: url(../fonts/ptsans-400-latin.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "PT Sans"; src: url(../fonts/ptsans-700-latin.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Antic Slab"; src: url(../fonts/anticslab-latin.woff2) format("woff2"); font-display: swap; }

:root {
  --azul: #32399e;
  --azul-banner: #0d0085;
  --botao: #03a9f4;
  --texto: #747474;
  --titulo: #333;
  --titulos: "Keep Calm", "PT Sans", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 13px/1.5 "PT Sans", Arial, sans-serif; color: var(--texto); background: #fff; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--titulos); font-weight: 400; color: var(--titulo); margin: 0; }
p { margin: 0 0 20px; }
.ico { width: 1em; height: 1em; fill: currentColor; display: inline-block; vertical-align: middle; }
.centro { text-align: center; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

.btn {
  display: inline-block; background: var(--botao); color: #fff; text-decoration: none;
  font: 12px/14px "PT Sans", Arial, sans-serif; text-transform: uppercase;
  padding: 9px 20px; border: 0; border-radius: 2px; cursor: pointer; transition: background .2s;
}
.btn:hover, .btn:focus-visible { background: #0288d1; }
.btn-grande { font-size: 14px; padding: 13px 29px; }

/* ---------- Faixa do topo ---------- */
.topbar { border-top: 3px solid var(--azul); border-bottom: 1px solid #e5e5e5; font-size: 12px; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; padding: 0 30px; min-height: 44px; }
.topbar p { margin: 0; }
.topbar p a { text-decoration: none; }
.sociais { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; }
.sociais a { color: #bebdbd; font-size: 16px; display: block; line-height: 1; transition: color .2s; }
.sociais a:hover { color: var(--azul); }

/* ---------- Cabeçalho ---------- */
/* .header-lugar guarda o espaço do cabeçalho quando ele fica preso (fixed) ao rolar */
.header-lugar { height: 95px; }
.site-header { background: #fff; position: relative; z-index: 50; transition: box-shadow .2s; }
.header-in { display: flex; align-items: center; justify-content: space-between; padding: 0 30px; height: 95px; transition: height .25s; }
.logo { display: block; line-height: 0; }
.logo img { width: 200px; height: 93px; transition: width .25s, height .25s; }
.site-header.preso { position: fixed; top: 0; left: 0; right: 0; box-shadow: 0 1px 6px rgba(0,0,0,.12); }
.site-header.preso .header-in { height: 65px; }
.site-header.preso .logo img { width: 118px; height: 55px; }
.menu { display: flex; align-items: center; height: 100%; }
.menu > a:not(.btn) {
  font: 14px/1 "Antic Slab", Georgia, serif; color: var(--titulo); text-decoration: none; text-transform: uppercase;
  padding: 0 0 0 0; margin-left: 45px; height: 100%; display: flex; align-items: center;
  border-top: 3px solid transparent; transition: color .2s, border-color .2s;
}
.menu > a:not(.btn):hover, .menu > a.ativo { color: var(--azul); border-top-color: var(--azul); }
.btn-menu { margin-left: 45px; display: inline-flex; align-items: center; padding: 0 20px 0 0; height: 32px; line-height: 32px; }
.btn-ico { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin-right: 12px; border-right: 1px solid rgba(255,255,255,.35); font-size: 12px; }
.menu-btn { display: none; background: none; border: 0; color: #c4c4c4; font-size: 28px; cursor: pointer; padding: 6px; line-height: 1; }

/* ---------- Banner ---------- */
.hero { position: relative; height: calc(100vh - 143px); height: calc(100svh - 143px); min-height: 460px; background: var(--azul-banner); overflow: hidden; }
.slide { position: absolute; inset: 0; background: var(--azul-banner) center / cover no-repeat; opacity: 0; visibility: hidden; transition: opacity .8s, visibility .8s; }
.slide.is-active { opacity: 1; visibility: visible; }
/* Palco de 1280x720 (medidas do LayerSlider original). O site.js ajusta --escala na tela menor. */
.palco { position: absolute; left: 50%; top: 50%; width: 1280px; height: 720px; transform: translate(-50%, -50%) scale(var(--escala, 1)); }
.camada { position: absolute; margin: 0; color: #fff; }
.titulo { font: 700 80px/1.06 Helvetica, Arial, sans-serif; }
.sub { font: 400 35px/1.2 Helvetica, Arial, sans-serif; }
.hero-btn {
  font: 500 18px/1.2 Helvetica, Arial, sans-serif; text-decoration: none; background: var(--azul-banner);
  border: 2px solid #fff; padding: 10px 20px; transition: background .3s, color .3s;
}
.hero-btn:hover, .hero-btn:focus-visible { background: #fff; color: var(--azul-banner); }
.s1 .titulo { top: 226px; left: 145px; width: 990px; text-align: center; }
.s1 .hero-btn { top: 427px; left: 640px; transform: translateX(-50%); white-space: nowrap; }
.s2 .titulo { top: 211px; left: 20px; } /* no original ficava em -108px e o texto saía cortado na borda */
.s2 .sub { top: 337px; left: 20px; }
.s2 .hero-btn { top: 443px; left: 20px; }
.direita .titulo, .direita .sub { right: 0; text-align: right; font-size: 90px; }
.direita .sub { font-size: 35px; }
.s3 .titulo, .s5 .titulo { top: 78px; }
.s3 .sub, .s5 .sub { top: 423px; }
.s3 .hero-btn, .s5 .hero-btn { top: 570px; right: 0; }
.s4 .titulo { top: 217px; }
.s4 .sub { top: 346px; }
.s4 .hero-btn { top: 493px; right: 0; }
/* Caixas dos protetores: entram uma de cada vez (0s, 4s, 8s) e saem 3s depois */
.caixa { position: absolute; opacity: 0; max-width: none; }
.s3 .c1 { top: 254px; left: -36px; width: 334px; }
.s3 .c2 { top: 267px; left: -71px; width: 435px; }
.s3 .c3 { top: 264px; left: -2px; width: 288px; }
.s5 .c1 { top: 131px; left: -106px; width: 454px; }
.s5 .c2 { top: 138px; left: -104px; width: 435px; }
.s5 .c3 { top: 99px; left: -157px; width: 527px; }
.is-active .caixa { animation: caixa 3.9s ease both; }
.is-active .c2 { animation-delay: 4s; }
.is-active .c3 { animation-delay: 8s; }
@keyframes caixa {
  0% { opacity: 0; transform: translateX(-160px); }
  18%, 88% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateX(400px); }
}
/* Textos sobem ao entrar no slide */
.is-active .camada { animation: sobe .9s ease both; }
.is-active .sub { animation-delay: .4s; }
.is-active .hero-btn { animation-delay: 1s; }
@keyframes sobe { from { opacity: 0; translate: 0 40px; } to { opacity: 1; translate: 0 0; } }
@media (prefers-reduced-motion: reduce) {
  .is-active .camada, .is-active .caixa { animation: none; }
  .is-active .c1 { opacity: 1; }
  .slide { transition: none; }
}

/* ---------- Seções ---------- */
.titulo-secao { font-size: 34px; line-height: 1.4; text-align: center; }
.produtos { padding: 65px 30px 0; text-align: center; }
.produtos-grade { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 30px; }
.produto { padding: 0 15px 40px; }
.produto img { display: block; margin: 0 auto 20px; height: 45px; width: auto; }
.produto h2 { font-size: 18px; line-height: 1.5; margin-bottom: 20px; }
.produto p { margin-bottom: 20px; }
.divisor { display: block; margin: 0 auto; }

.sobre { max-width: 1100px; margin: 0 auto; padding: 32px 30px 60px; text-align: center; }
.sobre .titulo-secao { margin-bottom: 32px; }

.numeros { position: relative; background: #1a2a9b center / cover no-repeat; padding: 120px 30px 60px; color: #fff; }
.numeros-corte { position: absolute; top: 0; left: 0; width: 100%; height: 100px; fill: #fff; display: block; }
.numeros-in { position: relative; max-width: 1100px; margin: 0 auto; display: flex; gap: 40px; align-items: flex-start; }
.contadores { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.contador .ico { font-size: 50px; width: 1.25em; display: block; margin: 0 auto 4px; }
.contador .num { display: block; font-size: 50px; line-height: 1.2; }
.contador .rotulo { display: block; font-size: 25px; line-height: 1.5; }
.sanfona { width: 350px; flex: none; margin-top: 10px; }
.sanfona details { background: #fff; margin-bottom: 13px; }
.sanfona summary {
  list-style: none; cursor: pointer; padding: 15px 25px; font: 13px/22px var(--titulos); color: var(--titulo);
  display: flex; align-items: center; gap: 13px;
}
.sanfona summary::-webkit-details-marker { display: none; }
.sinal { width: 22px; height: 22px; background: var(--titulo); position: relative; flex: none; }
.sinal::before, .sinal::after { content: ""; position: absolute; background: #fff; left: 50%; top: 50%; translate: -50% -50%; }
.sinal::before { width: 9px; height: 2px; }
.sinal::after { width: 2px; height: 9px; }
details[open] .sinal { background: var(--azul); }
details[open] .sinal::after { display: none; }
.sanfona details p { padding: 0 25px 18px; margin: 0; color: var(--texto); }

.contato { padding: 62px 30px 40px; text-align: center; }
.contato .titulo-secao { margin-bottom: 30px; }
.faixa-ligacao { position: relative; background: #0d1a6b center bottom / cover no-repeat; padding: 41px 20px; text-align: center; }
/* setinhas brancas no meio, em cima e embaixo, como no original */
.faixa-ligacao::before, .faixa-ligacao::after { content: ""; position: absolute; left: 50%; translate: -50% 0; border: 25px solid transparent; }
.faixa-ligacao::before { top: 0; border-top: 25px solid #fff; border-bottom: 0; }
.faixa-ligacao::after { bottom: 0; border-bottom: 25px solid #fff; border-top: 0; }
.btn-contorno {
  display: inline-block; color: #fff; text-decoration: none; text-transform: uppercase; font-size: 13px;
  padding: 13px 29px; border: 2px solid #fff; transition: background .2s, color .2s;
}
.btn-contorno:hover, .btn-contorno:focus-visible { background: #fff; color: var(--azul); }

#mapa-gatilho { height: 1px; }
.mapa { height: 300px; background: #e9e5dc; }
.mapa iframe { width: 100%; height: 100%; border: 0; display: block; }

.rodape { background: #1c1e21; padding: 18px 30px 16px; text-align: center; color: #fff; font-size: 12px; }
.rodape .copy { margin: 0 0 14px; }
.rodape img { display: block; margin: 0 auto 18px; }
.rodape .sociais { justify-content: center; margin-bottom: 12px; }
.rodape .credito { margin: 0; color: #9a9a9a; }
.rodape .credito a { color: #fff; }

/* ---------- Voltar ao topo e conversa ---------- */
.to-top {
  position: fixed; left: 24px; bottom: 24px; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  background: #333; color: #fff; border-radius: 4px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; z-index: 40; font-size: 18px;
}
.to-top.show { opacity: .85; visibility: visible; }
.to-top:hover { opacity: 1; }

.chat { position: fixed; right: 10px; bottom: 10px; z-index: 45; display: flex; flex-direction: column; align-items: flex-end; }
.chat-btn { width: 50px; height: 50px; border-radius: 50%; border: 0; background: #008749; color: #fff; font-size: 22px; cursor: pointer; box-shadow: 0 0 0 0 rgba(0,135,73,.5); animation: pulso 2s infinite; }
.chat-btn .fecha { display: none; }
.chat.aberto .chat-btn .abre { display: none; }
.chat.aberto .chat-btn .fecha { display: inline-block; }
@keyframes pulso { 70% { box-shadow: 0 0 0 14px rgba(0,135,73,0); } 100% { box-shadow: 0 0 0 0 rgba(0,135,73,0); } }
@media (prefers-reduced-motion: reduce) { .chat-btn { animation: none; } }
.chat-balao {
  background: #fff; color: #555; font: 15px/1.35 Arial, sans-serif; padding: 12px 16px; border-radius: 8px; margin: 0 6px 12px 0;
  box-shadow: 0 2px 12px rgba(0,0,0,.18); max-width: 240px; position: relative; opacity: 0; transition: opacity .4s;
}
.chat-balao.show { opacity: 1; }
.chat-balao::after { content: ""; position: absolute; right: 16px; bottom: -8px; border: 8px solid transparent; border-top-color: #fff; border-bottom: 0; }
.chat-menu { background: #fff; border-radius: 8px; box-shadow: 0 2px 16px rgba(0,0,0,.2); margin-bottom: 12px; padding: 8px 0; min-width: 210px; }
.chat-menu a { display: flex; align-items: center; gap: 12px; padding: 8px 16px; text-decoration: none; color: #333; font-size: 14px; }
.chat-menu a:hover { background: #f3f3f3; }
.chat-ico { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 18px; }
.chat-ico.zap { background: #1ebea5; }
.chat-ico.fone { background: #008749; }
.chat.aberto .chat-balao { display: none; }

/* ---------- Janelas (modais) ---------- */
.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.7); z-index: 100; overflow-y: auto; padding: 60px 16px; display: flex; justify-content: center; align-items: flex-start; }
.modal-caixa { position: relative; background: #fff; width: 100%; max-width: 820px; padding: 28px; border-radius: 5px; font-size: 16px; color: #2d2d2d; }
.modal-pequena { padding-top: 34px; }
.modal-fechar {
  position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 50%; border: 0;
  background: #315b7c; color: #fff; font-size: 20px; line-height: 1; cursor: pointer;
}
.modal-titulo { font: 400 34px/1.1 "PT Sans", Arial, sans-serif; color: #315b7c; margin: 0 30px 24px 0; }
.modal-titulo-centro { font-size: 34px; text-align: center; margin-bottom: 20px; }
.produto-detalhe { text-align: center; }
.produto-detalhe .modal-titulo { text-align: left; }
.produto-detalhe img { display: block; margin: 0 auto 10px; width: 300px; }
.produto-detalhe h3 { font-size: 18px; line-height: 1.5; margin: 18px 0 10px; }
.produto-detalhe p { font-size: 13px; color: var(--texto); }
.aviso-verde { background: #dff0d8; border: 1px solid #5ca340; color: #5ca340 !important; padding: 25px; text-transform: uppercase; }
.tabela { overflow-x: auto; margin-bottom: 20px; }
.tabela table { width: 100%; border-collapse: collapse; text-align: left; font-size: 15px; }
.tabela th { background: var(--azul); color: #fff; font: 400 15px/1.3 var(--titulos); padding: 16px 20px; }
.tabela td { padding: 10px 20px; border-bottom: 1px solid #e5e4e3; }
.tabela td:first-child { font-weight: 700; }
.tabela tbody tr:nth-child(even) { background: #f9f9f9; }
.dist-texto p { font-size: 14px; color: var(--texto); }
.cadastre { font-size: 34px; text-align: center; padding-bottom: 20px; margin: 30px 0 26px; border-bottom: 3px solid var(--azul); }

/* Formulários */
.form-grade { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 24px; }
.form-contato label { display: block; text-align: center; font-size: 16px; color: #2d2d2d; }
.form-contato label input { margin-top: 8px; }
.form-contato input, .form-contato select {
  width: 100%; height: 32px; padding: 0 15px; border: 1px solid #d2d2d2; border-radius: 0; background: #fff;
  font: 13px "PT Sans", Arial, sans-serif; color: #333;
}
.form-contato input::placeholder { color: #aaa9a9; }
.form-contato input:focus, .form-contato select:focus { outline: 2px solid var(--botao); outline-offset: -1px; }
.form-contato p { margin: 0; }
.isca { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; }
.form-status { margin-top: 16px !important; padding: 12px 16px; background: #f3f7fb; border-left: 3px solid var(--botao); font-size: 14px; }

/* ---------- Celular ---------- */
@media (max-width: 800px) {
  html { scroll-padding-top: 0; }
  .topbar-in { flex-direction: column; padding: 0; min-height: 0; }
  .topbar p { font-size: 13px; padding: 8px 10px; text-align: center; width: 100%; border-bottom: 1px solid #e5e5e5; }
  .topbar .sociais { gap: 34px; padding: 10px 0; }
  .header-lugar { height: auto; }
  .site-header.preso { position: relative; box-shadow: none; }
  .header-in { height: auto; padding: 20px 30px; flex-wrap: wrap; }
  .site-header.preso .header-in { height: auto; }
  .logo img, .site-header.preso .logo img { width: 160px; height: auto; }
  .menu-btn { display: block; align-self: flex-start; }
  .menu { display: none; width: 100%; flex-direction: column; align-items: stretch; height: auto; margin-top: 16px; border-top: 1px solid #eee; }
  .menu.aberto { display: flex; }
  .menu > a:not(.btn) { margin: 0; padding: 14px 4px; border: 0; border-bottom: 1px solid #eee; height: auto; }
  .btn-menu { margin: 14px 0 6px; align-self: flex-start; }

  .hero { height: 600px; min-height: 0; }
  .palco { position: absolute; inset: 0; width: auto; height: auto; transform: none; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px; text-align: center; gap: 14px; }
  .camada { position: static; }
  .titulo, .direita .titulo { font-size: 32px; line-height: 1.15; width: auto; text-align: center; }
  .sub, .direita .sub { font-size: 16px; text-align: center; }
  .hero-btn { font-size: 12px; padding: 6px 12px; }
  .s1 .hero-btn { transform: none; }
  .caixas { display: none; }

  .titulo-secao { font-size: 26px; }
  .produtos { padding-top: 40px; }
  .produtos-grade { grid-template-columns: 1fr; }
  .produto p { font-size: 15px; }
  .btn { font-size: 14px; padding: 12px 22px; }
  .sobre p { font-size: 15px; }

  .numeros { padding: 80px 20px 40px; }
  .numeros-corte { height: 60px; }
  .numeros-in { flex-direction: column; align-items: stretch; gap: 30px; }
  .contadores { grid-template-columns: 1fr; gap: 26px; margin-top: 0; }
  .sanfona { width: auto; margin-top: 0; }

  .contato p { font-size: 15px; }
  .faixa-ligacao { padding: 70px 20px; }
  .btn-contorno { font-size: 16px; padding: 16px 28px; }

  .to-top { left: 16px; bottom: 16px; }
  .modal { padding: 20px 10px; }
  .modal-caixa { padding: 22px 16px; }
  .modal-titulo, .modal-titulo-centro, .cadastre { font-size: 26px; }
  .form-grade { grid-template-columns: 1fr; }
  .form-contato input, .form-contato select { height: 40px; font-size: 16px; }
}
