/* Concertina & Cia — todo o visual do site. Sem build: edite e aumente o ?v= no index.html.
   Cores: vermelho #bf0202, verde dos botões #00b551 → #006d38, títulos #323643, texto #747a87,
   cinza escuro #383838 (portfólio) e #333 (rodapé).
   Telas: menu de celular até 900px; banner usa imagens de celular até 767px. */

@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("../fonts/roboto-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font: 400 18px/30px "Roboto", Arial, sans-serif; color: #747a87; background: #fff; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: #bf0202; text-decoration: none; }
h1, h2, h3, h4 { font-family: "Montserrat", Arial, sans-serif; color: #323643; margin: 0; }
svg { width: 1em; height: 1em; flex: none; }
button { font: inherit; cursor: pointer; }
.pular { position: absolute; left: -999px; top: 0; z-index: 100; background: #fff; padding: 8px 14px; }
.pular:focus { left: 8px; }
::selection { background: #bf0202; color: #fff; }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 2px;
  font: 400 14px/17px "Montserrat", Arial, sans-serif; letter-spacing: 2px; padding: 13px 29px; transition: filter .2s, background .2s, color .2s; }
.btn svg { font-size: 16px; }
.btn-verde { color: #fff; background: linear-gradient(#00b551, #006d38); }
.btn-verde:hover { filter: brightness(1.12); }
.btn-branco { color: #1f1f27; background: #fff; }
.btn-branco:hover { background: #e9e9e9; }
.btn-contorno { color: rgba(255,255,255,.6); background: transparent; border: 1px solid #fff; border-radius: 0; font-size: 12px; padding: 9px 20px; }
.btn-contorno:hover { color: #fff; }
/* botão com o ícone separado por uma linha (seção "Quer receber uma ligação") */
.btn-icone { padding: 0 29px 0 0; align-items: stretch; gap: 0; line-height: 43px; }
.btn-icone .btn-ic { display: flex; align-items: center; padding: 0 16px; margin-right: 22px; border-right: 1px solid rgba(255,255,255,.5); }

/* ---------- Topo ---------- */
.topo { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s; }
.topo.rolou { background: rgba(23,23,23,.92); }
.topo-in { display: flex; align-items: center; justify-content: space-between; padding: 13px 82px 13px; }
.logo img { width: 250px; transition: width .3s; }
.topo.rolou .logo img { width: 170px; }
.topo.rolou .topo-in { padding-top: 6px; padding-bottom: 6px; }
.menu { display: flex; align-items: center; gap: 0; }
.menu a { color: #d8d8d8; font: 400 13px/13px "Montserrat", Arial, sans-serif; letter-spacing: 1px; padding: 32px 22px; transition: color .2s; }
.menu a:hover, .menu a.atual { color: #fff; }
.menu .btn-fone { display: flex; align-items: stretch; padding: 0; margin-left: 20px; color: #fff; border-radius: 2px;
  background: linear-gradient(#00b551, #006d38); }
.btn-fone svg { box-sizing: content-box; padding: 13px 14px; font-size: 14px; border-right: 1px solid rgba(255,255,255,.35); }
.btn-fone span { padding: 14px 26px 0 22px; letter-spacing: 1px; }
.btn-fone:hover { filter: brightness(1.12); }
.menu-btn { display: none; background: none; border: 0; padding: 10px; }
.menu-btn span { display: block; width: 28px; height: 4px; margin: 5px 0; background: #fff; border-radius: 2px; transition: transform .25s, opacity .25s; }

/* ---------- Banner ---------- */
.hero { position: relative; height: 100vh; min-height: 560px; overflow: hidden; background: #111; }
.hero-trilho { display: flex; height: 100%; transition: transform .6s ease; }
.slide { flex: 0 0 100%; height: 100%; background: #111 center / cover no-repeat; display: flex; align-items: center; justify-content: center; }
.slide-texto { max-width: 800px; padding: 140px 20px 0; text-align: center; color: #fff; }
.slide h1, .slide h2 { color: #fff; font-weight: 500; font-size: 60px; line-height: 1.2; }
.slide-sub { margin: 18px 0 22px; font: 300 19px/30px "Montserrat", Arial, sans-serif; letter-spacing: 2px; }
.slide-sub-normal { font-weight: 400; font-size: 20px; letter-spacing: 0; }
.slide .btn-contorno { margin-left: auto; display: flex; width: fit-content; }
.hero-seta { position: absolute; top: 50%; z-index: 2; width: 63px; height: 63px; margin-top: -31px; border: 0; color: #fff;
  background: rgba(0,0,0,.5); font-size: 25px; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.hero-seta:hover { background: rgba(0,0,0,.8); }
.hero-ant { left: 0; }
.hero-prox { right: 0; }
.hero-prox svg, .car-prox svg, .lb-prox svg { transform: scaleX(-1); }

/* ---------- Ligação ---------- */
.ligacao { text-align: center; padding: 50px 20px 55px; }
.ligacao h2 { font-weight: 500; font-size: 60px; line-height: 70px; max-width: 1170px; margin: 0 auto; }
.divisor-p { margin: 20px auto 18px; }
.ligacao p { margin: 0 0 20px; }

/* ---------- Sobre (fundo fixo) ---------- */
.sobre { position: relative; text-align: center; color: #fff; padding: 5% 20px 140px; background: #2c2c2c center / cover no-repeat fixed; }
.sobre::before { content: ""; position: absolute; top: 0; left: 50%; margin-left: -22px; border: 22px solid transparent; border-top-color: #fff; border-bottom: 0; }
.sobre-logo { margin: 0 auto 20px; }
.sobre h2 { color: #fff; font-weight: 700; font-size: 30px; line-height: 45px; }
.sobre p { margin: 30px 0 50px; text-transform: uppercase; }
.sobre-desce { display: block; width: 40px; margin: 50px auto 0; color: #fff; font-size: 40px; line-height: 1; }
.sobre-desce svg { width: 40px; height: 40px; }
.divisor { position: absolute; left: 0; width: 100%; height: auto; pointer-events: none; }
.divisor-baixo { bottom: -2px; z-index: 1; } /* 2px sobre a seção de baixo: a última linha da imagem é semitransparente */

/* ---------- Produtos ---------- */
.titulo { text-align: center; font-weight: 700; font-size: 42px; line-height: 63px; }
.linha { width: 170px; margin: 30px auto 50px; border: 0; border-top: 3px solid #e0dede; }
.linha-larga { width: 90%; max-width: 1200px; border-top-width: 1px; }
.produtos { position: relative; padding: 80px 20px 80px; }
.produtos-grade { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 40px; max-width: 1080px; margin: 0 auto; text-align: center; }
.produto img { width: 150px; margin: 0 auto 30px; border-radius: 50%; }
.produto h3 { font-weight: 400; font-size: 16px; line-height: 24px; letter-spacing: 1px; }
.traco { display: block; width: 40px; height: 3px; margin: 16px auto 22px; background: #bf0202; }
.produto p { margin: 0; font-size: 15px; line-height: 26px; }
.produto strong { color: #5b606b; }

/* ---------- Portfólio ---------- */
.portfolio { position: relative; background: #383838; padding: 0 0 150px; }
.divisor-topo { position: relative; top: -2px; z-index: 1; display: block; width: 100%; height: auto; margin-bottom: 28px; pointer-events: none; } /* sobe 2px sobre a seção de cima: a 1ª linha da imagem é semitransparente */
.portfolio h2 { color: #fff; text-align: center; font-weight: 700; font-size: 42px; line-height: 63px; padding: 0 20px; margin-bottom: 40px; }
.carrossel { position: relative; }
.car-janela { overflow: hidden; margin: 0 50px; }
.car-trilho { display: flex; list-style: none; margin: 0; padding: 0; transition: transform .5s ease; }
.car-trilho li { flex: 0 0 20%; padding: 0 22px; }
.car-trilho button { display: block; width: 100%; padding: 0; border: 0; background: none; }
.car-trilho img { width: 100%; aspect-ratio: 320 / 202; object-fit: cover; transition: opacity .2s; }
.car-trilho button:hover img { opacity: .8; }
.car-seta { position: absolute; top: 50%; z-index: 2; width: 30px; height: 60px; margin-top: -30px; border: 0; color: #fff;
  background: rgba(0,0,0,.55); font-size: 16px; display: flex; align-items: center; justify-content: center; }
.car-ant { left: 0; }
.car-prox { right: 0; }

/* ---------- Contato ---------- */
.contato { padding: 60px 0 60px; }
.contato-grade { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 60px; max-width: 1366px; margin: 0 auto; padding: 0 0 0 30px; }
.contato h3 { text-align: center; font-weight: 700; font-size: 30px; line-height: 45px; margin-bottom: 40px; }
.contato-grade > div:last-child h3 { margin-bottom: 0; }
.contato-grade > div:first-child { max-width: 610px; }
form label { display: block; font-size: 16px; color: #747a87; margin-bottom: 22px; }
form input, form textarea { display: block; width: 100%; margin-top: 12px; border: 1px solid #e8e8e8; border-radius: 6px;
  font: 400 16px "Roboto", Arial, sans-serif; color: #444; padding: 0 15px; height: 60px; background: #fff; }
form textarea { height: auto; padding: 12px 15px; resize: vertical; }
form input:focus, form textarea:focus { outline: none; border-color: #bf0202; }
.form-duas { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.form-orcamento .btn { display: flex; margin: 10px auto 0; }
.pote { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin: 0; font-size: 15px; line-height: 22px; text-align: center; }
.form-msg:empty { display: none; }
.form-msg.ok { color: #12813f; }
.form-msg.erro { color: #bf0202; }
.contato .divisor-p { margin: 12px auto 4px; }
.faq { border-bottom: 1px solid #e0dede; }
.faq summary { list-style: none; cursor: pointer; display: flex; gap: 12px; align-items: flex-start; padding: 10px 0;
  font: 700 18px/26px "Montserrat", Arial, sans-serif; color: #bf0202; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+"; flex: none; width: 22px; height: 22px; margin-top: 2px; background: #333; color: #fff;
  font: 700 16px/22px Arial, sans-serif; text-align: center; }
.faq[open] summary::before { content: "−"; background: #bf0202; }
.faq p { margin: 0 0 20px 34px; }
.faq-nota { margin: 24px 0 0; }

/* ---------- Mapa ---------- */
.mapa { height: 450px; background: #e5e3df; }
.mapa iframe { display: block; width: 100%; height: 100%; border: 0; }

/* ---------- Rodapé ---------- */
.rodape { background: #333; color: #ddd; font-size: 16px; line-height: 26px; }
.rodape-in { max-width: 1160px; margin: 0 auto; padding: 50px 30px 96px; } /* 96px: sobra para os botões flutuantes */
.rodape-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.rodape-cta h2 { color: #fff; font-weight: 700; font-size: 28px; line-height: 36px; }
.rodape-cta p { margin: 6px 0 0; color: #bbb; }
.btn-whats { display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px; border-radius: 999px; background: #25d366; color: #fff;
  font: 700 16px/20px "Montserrat", Arial, sans-serif; transition: filter .2s; }
.btn-whats svg { width: 22px; height: 22px; }
.btn-whats:hover, .btn-whats:focus-visible { filter: brightness(1.08); }
.btn-whats:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.rodape-cartoes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.rodape-cartao { background: #3d3d3d; border-radius: 10px; padding: 24px 28px; }
.rodape-cartao h3 { display: flex; align-items: center; gap: 10px; color: #00b551; font-size: 18px; line-height: 24px; font-weight: 700; margin-bottom: 14px; }
.rodape-cartao h3 svg { width: 20px; height: 20px; }
.rodape-cartao ul { list-style: none; margin: 0; padding: 0; }
.rodape-cartao li { padding: 4px 0; color: #fff; }
.rodape-cartao li span { color: #aaa; }
.rodape-cartao a { color: #fff; font-weight: 700; }
.rodape-cartao a:hover { color: #00b551; }
.rodape-base { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap;
  margin-top: 36px; padding-top: 24px; border-top: 1px solid #4a4a4a; }
.rodape-base p { margin: 0; color: #bbb; font-size: 14px; line-height: 22px; }
.rodape-base p a { color: #fff; font-weight: 700; }
.rodape-base p a:hover { text-decoration: underline; }
.redes { display: flex; gap: 12px; }
.redes a { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%;
  background: #fff; color: #be0101; font-size: 16px; transition: transform .2s; }
.redes a:hover { transform: scale(1.1); }

/* ---------- Ir ao topo ---------- */
.ao-topo { position: fixed; left: 24px; bottom: 24px; z-index: 40; width: 44px; height: 44px; display: flex; align-items: center;
  justify-content: center; background: #333; color: #fff; border-radius: 4px; opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s, background .2s; }
.ao-topo svg { width: 18px; height: 18px; }
.ao-topo.ver { opacity: 1; visibility: visible; }
.ao-topo:hover, .ao-topo:focus-visible { background: #00b551; }
.ao-topo:focus-visible { outline: 2px solid #333; outline-offset: 2px; }

/* ---------- Botão flutuante de contato ---------- */
.fala { position: fixed; right: 20px; bottom: 20px; z-index: 60; font-family: "Segoe UI", Arial, sans-serif; }
.fala-btn { position: relative; width: 56px; height: 56px; border: 0; border-radius: 50%; background: #d50000; color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 10px rgba(0,0,0,.3); }
.fala-btn::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid #d50000; animation: pulsa 2s infinite; }
.fala-btn svg { font-size: 24px; }
@keyframes pulsa { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.fala-balao { position: absolute; right: 70px; bottom: 8px; display: flex; align-items: center; white-space: nowrap; background: #fff;
  color: #555; font-size: 14px; padding: 8px 14px; border-radius: 4px; box-shadow: 0 2px 10px rgba(0,0,0,.2);
  opacity: 0; transform: translateX(10px); transition: opacity .3s, transform .3s; pointer-events: none; }
.fala-balao.ver { opacity: 1; transform: none; pointer-events: auto; }
.fala-x { margin-left: 8px; border: 0; background: none; color: #999; font-size: 18px; line-height: 1; padding: 0; }
.fala-menu, .fala-ligacao { position: absolute; right: 0; bottom: 72px; width: 290px; background: #fff; border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,.25); padding: 10px 0; }
.fala-item { display: flex; align-items: center; gap: 14px; width: 100%; padding: 8px 20px; border: 0; background: none;
  color: #333; font-size: 15px; text-align: left; }
.fala-item:hover { background: #f2f2f2; }
.fala-item span { width: 40px; height: 40px; border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.fala-ligacao { padding: 24px 20px 20px; color: #d50000; text-align: center; }
.fala-ligacao p { margin: 0 0 12px; font-size: 16px; line-height: 22px; }
.fala-ligacao input { margin: 0 0 12px; height: 44px; }
.fala-ligacao button[type=submit] { width: 100%; border: 0; border-radius: 4px; padding: 11px; background: #d50000; color: #fff; font-size: 14px; }
.fala-ligacao .form-msg { margin-top: 10px; }
.fala-ligacao-x { position: absolute; top: 6px; right: 8px; border: 0; background: none; color: #d50000; font-size: 22px; line-height: 1; }

/* ---------- Popups ---------- */
.popup { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0,0,0,.71); }
.popup[hidden] { display: none; }
.popup-caixa { position: relative; width: 100%; background: #fff; max-height: calc(100vh - 32px); overflow: auto; }
.popup-x { position: absolute; top: 6px; right: 8px; z-index: 2; width: 30px; height: 30px; border: 0; border-radius: 50%; background: #bf0202; color: #fff; font-size: 20px; line-height: 30px; padding: 0; }
.popup-online { max-width: 450px; padding: 34px 28px 30px; text-align: center; font-family: Georgia, "Times New Roman", serif; animation: tada .9s; }
.online-titulo { margin: 0 0 22px; color: #1a8a55; font-weight: 700; font-size: 18px; }
.popup-online p:not(.online-titulo) { margin: 0 0 22px; color: #333; font-weight: 700; font-size: 15px; }
.online-btn { display: block; padding: 8px; background: #3f8a63; color: #fff; font-weight: 700; font-size: 17px; }
.online-btn:hover { background: #2f7351; }
@keyframes tada { 0% { transform: scale(1); } 10%, 20% { transform: scale(.9) rotate(-3deg); } 30%, 50%, 70%, 90% { transform: scale(1.1) rotate(3deg); }
  40%, 60%, 80% { transform: scale(1.1) rotate(-3deg); } 100% { transform: scale(1); } }
.popup-form { max-width: 760px; padding: 40px 30px 30px; }
.popup-escuro { background: rgba(0,0,0,.9); }
.lb-caixa { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.lb-conteudo img { max-width: calc(100vw - 140px); max-height: calc(100vh - 60px); width: auto; }
.lb-conteudo iframe { display: block; width: min(1000px, calc(100vw - 32px)); aspect-ratio: 16 / 9; border: 0; }
.lb-x { top: 0; right: 0; }
.lb-seta { position: absolute; top: 50%; margin-top: -30px; width: 44px; height: 60px; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 22px;
  display: flex; align-items: center; justify-content: center; }
.lb-ant { left: 0; }
.lb-prox { right: 0; }
.lb-caixa.video .lb-seta { display: none; }

/* ---------- Telas menores ---------- */
@media (max-width: 1200px) {
  .topo-in { padding-left: 30px; padding-right: 30px; }
  .menu a { padding-left: 14px; padding-right: 14px; }
  .car-trilho li { flex-basis: 25%; }
}
@media (max-width: 900px) {
  html { scroll-padding-top: 70px; }
  .topo { background: #000; }
  .topo-in { padding: 10px 20px; }
  .logo img, .topo.rolou .logo img { width: 160px; }
  .menu-btn { display: block; }
  .menu { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #111; padding: 6px 0 16px; }
  .menu.aberto { display: flex; }
  .menu a { padding: 16px 24px; border-bottom: 1px solid #222; font-size: 14px; }
  .menu .btn-fone { margin: 14px 24px 0; justify-content: center; border: 0; }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
  .hero { height: 86vh; margin-top: 104px; min-height: 460px; }
  .slide-texto { padding-top: 0; }
  .slide h1, .slide h2 { font-size: 30px; }
  .slide-sub { font-size: 16px; line-height: 26px; }
  .slide .btn-contorno { margin: 0 auto; }
  .ligacao h2 { font-size: 34px; line-height: 44px; }
  .sobre { background-attachment: scroll; padding-top: 60px; }
  .titulo, .portfolio h2 { font-size: 30px; line-height: 42px; padding: 0 20px; }
  .produtos-grade { grid-template-columns: 1fr; gap: 50px; max-width: 420px; }
  .car-trilho li { flex-basis: 50%; padding: 0 10px; }
  .contato-grade { grid-template-columns: 1fr; padding: 0 20px; }
  .contato-grade > div:first-child { max-width: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; line-height: 27px; }
  .form-duas { grid-template-columns: 1fr; }
  .ligacao h2 { font-size: 28px; line-height: 38px; }
  .sobre h2 { font-size: 24px; line-height: 36px; }
  .car-trilho li { flex-basis: 100%; padding: 0 6px; }
  .btn { letter-spacing: 1px; padding-left: 20px; padding-right: 20px; }
  .btn-icone { padding-left: 0; }
  .hero-seta { width: 40px; height: 50px; margin-top: -25px; font-size: 18px; }
  .lb-conteudo img { max-width: calc(100vw - 20px); }
  .ao-topo { left: 16px; bottom: 16px; }
  .rodape-in { padding: 40px 20px 96px; }
  .rodape-cta h2 { font-size: 24px; line-height: 32px; }
  .rodape-cartoes { grid-template-columns: 1fr; gap: 16px; }
  .rodape-cartao { padding: 20px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
