/* TEMA 49 — GUINCHO: "socorro na estrada". Preto asfalto, amarelo de alta visibilidade, âmbar de giroflex, verde de placa
   de rodovia. Fonte Archivo. */
:root {
  --c49-asfalto: #141414; --c49-asfalto2: #1f1f1f; --c49-amarelo: #ffd400; --c49-ambar: #ff9f00; --c49-verde: #0b6b3a; --c49-branco: #f6f6f6;
  --c49-txt: #f2f2f2; --c49-txt2: #b5b5b5;
  --cn-cor: #ffd400; --cn-cor-txt: #141414; --cn-midia-prop: 72%;
  --c49-zebra: repeating-linear-gradient(-45deg, var(--c49-amarelo) 0 14px, var(--c49-asfalto) 14px 28px);
}
html { scroll-behavior: smooth; }
body.c49-corpo { margin: 0; background: #0b0b0b; color: var(--c49-txt); font-family: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body.c49-corpo.c49-com-barra { padding-bottom: 82px; }
.c49 { max-width: 560px; margin: 0 auto; background: var(--c49-asfalto) radial-gradient(rgba(255,255,255,.03) 1px, transparent 1px) 0 0 / 6px 6px; min-height: 100vh; box-shadow: 0 0 50px rgba(0,0,0,.6); overflow: hidden; }
.c49 a { color: inherit; }

/* TOPO: giroflex + faixas refletivas */
.c49-giroflex { display: flex; height: 16px; background: #222; }
.c49-giroflex i { flex: 1; background: #5a3b00; animation: c49Pisca 1s steps(1) infinite; }
.c49-giroflex i:nth-child(2), .c49-giroflex i:nth-child(4) { animation-delay: .5s; }
@keyframes c49Pisca { 0% { background: var(--c49-ambar); box-shadow: 0 0 22px 6px rgba(255,159,0,.7); } 50% { background: #5a3b00; box-shadow: none; } }
.c49-capa { position: relative; background: #000; }
.c49-capa .cn-midia { border-radius: 0; }
.c49-capa-img { display: block; width: 100%; height: auto; aspect-ratio: 9 / 7; object-fit: cover; }
.c49-refletiva { height: 18px; background: repeating-linear-gradient(90deg, #e53935 0 30px, #fff 30px 60px); box-shadow: 0 2px 0 rgba(0,0,0,.4); }
.c49-id { text-align: center; padding: 0 20px 6px; }
.c49-placa-adv { width: 120px; height: 120px; margin: -64px auto 14px; padding: 7px; box-sizing: border-box; background: var(--c49-asfalto); transform: rotate(45deg); border-radius: 12px; box-shadow: 0 12px 24px rgba(0,0,0,.6); position: relative; z-index: 4; }
.c49-placa-in { width: 100%; height: 100%; border-radius: 8px; background: var(--c49-amarelo); display: flex; align-items: center; justify-content: center; overflow: hidden; box-shadow: inset 0 0 0 4px var(--c49-asfalto), inset 0 0 0 7px var(--c49-amarelo); }
.c49-placa-in img, .c49-placa-in span { transform: rotate(-45deg); }
.c49-placa-in img { width: 74%; height: 74%; object-fit: contain; }
.c49-placa-in span { font: 900 32px 'Archivo', sans-serif; color: var(--c49-asfalto); }
.c49-id h1 { margin: 0; font: 900 31px/1.02 'Archivo', sans-serif; text-transform: uppercase; color: #fff; word-break: break-word; }
.c49-id h1.c49-longo { font-size: 25px; }
.c49-id p { margin: 6px auto 0; max-width: 420px; color: var(--c49-amarelo); font-size: 15px; font-weight: 600; }
.c49-chips { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.c49-chip { background: var(--c49-asfalto2); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 10px; display: inline-flex; gap: 6px; align-items: center; }
.c49-chip a { color: #fff; }

/* TÍTULOS */
.c49-bloco { padding: 26px 18px 8px; }
.c49-tit { margin: 0 0 16px; font: 900 24px/1 'Archivo', sans-serif; text-transform: uppercase; color: var(--c49-asfalto); }
.c49-tit span { display: inline-block; padding: 8px 16px 8px 14px; background: var(--c49-amarelo); box-shadow: 6px 0 0 var(--c49-asfalto), 12px 0 0 var(--c49-amarelo); }

/* CONTATOS: botões grandes de emergência */
.c49-botoes { display: grid; gap: 10px; }
.c49-botao { display: flex; align-items: center; gap: 14px; min-height: 58px; padding: 10px 16px; border-radius: 12px; background: var(--c49-asfalto2); color: #fff !important; text-decoration: none !important; font-weight: 700; font-size: 15px; word-break: break-word; box-shadow: inset 0 0 0 2px #333, 0 4px 0 #000; transition: transform .1s; }
.c49-botao:active { transform: translateY(3px); box-shadow: inset 0 0 0 2px #333; }
.c49-botao i { width: 40px; height: 40px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--c49-amarelo); color: var(--c49-asfalto); font-size: 17px; }
.c49-botao span { flex: 1; min-width: 0; }
.c49-botao b { color: var(--c49-amarelo); font-size: 13px; }
.c49-botao:first-child { min-height: 70px; background: var(--c49-amarelo); color: var(--c49-asfalto) !important; font-size: 18px; font-weight: 900; text-transform: uppercase; box-shadow: 0 5px 0 #b39500, 0 0 30px rgba(255,212,0,.25); animation: c49Pulso 2.2s ease-in-out infinite; }
.c49-botao:first-child i { background: var(--c49-asfalto); color: var(--c49-amarelo); width: 48px; height: 48px; font-size: 22px; }
.c49-botao:first-child b { color: var(--c49-asfalto); }
.c49-b-whatsapp:not(:first-child) i { background: #25d366; color: #fff; }
@keyframes c49Pulso { 0%, 100% { box-shadow: 0 5px 0 #b39500, 0 0 0 0 rgba(255,212,0,.5); } 50% { box-shadow: 0 5px 0 #b39500, 0 0 0 10px rgba(255,212,0,0); } }

/* AVALIAÇÕES */
.c49-trilho { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 12px; scrollbar-width: none; }
.c49-trilho::-webkit-scrollbar { display: none; }
.c49-depo { flex: 0 0 84%; scroll-snap-align: start; margin: 0; background: var(--c49-asfalto2); padding: 16px; border-radius: 10px; border-top: 5px solid var(--c49-amarelo); }
.c49-estrelas { color: var(--c49-amarelo); letter-spacing: 2px; }
.c49-depo blockquote { margin: 8px 0 12px; color: var(--c49-txt2); font-style: italic; }
.c49-depo figcaption { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.c49-depo img, .c49-ini { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.c49-ini { display: flex; align-items: center; justify-content: center; background: var(--c49-amarelo); color: var(--c49-asfalto); font-weight: 900; }
.c49-setas { display: flex; justify-content: flex-end; gap: 8px; }
.c49-setas button { width: 40px; height: 40px; border: 0; border-radius: 8px; background: var(--c49-amarelo); color: var(--c49-asfalto); cursor: pointer; }

/* BOTÕES */
.c49-acoes { display: flex; gap: 10px; flex-wrap: wrap; padding: 18px 18px 6px; }
.c49-btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 16px; border-radius: 10px; border: 2px solid transparent; font: 800 15px 'Archivo', sans-serif; text-transform: uppercase; text-decoration: none !important; cursor: pointer; }
.c49-btn-amarelo { background: var(--c49-amarelo); color: var(--c49-asfalto) !important; box-shadow: 0 4px 0 #b39500; }
.c49-btn-linha { background: transparent; color: var(--c49-amarelo) !important; border-color: var(--c49-amarelo); }
.c49-btn:hover { filter: brightness(1.06); }

/* A EMPRESA: placa verde de rodovia */
.c49-rodovia { padding: 16px 18px 18px; border-radius: 12px; background: var(--c49-verde); box-shadow: inset 0 0 0 4px var(--c49-verde), inset 0 0 0 7px #fff, 0 10px 22px rgba(0,0,0,.5); }
.c49-rodovia-tit { margin: 0 0 10px; font: 800 22px/1.1 'Archivo', sans-serif; color: #fff; display: flex; align-items: center; gap: 10px; }
.c49-texto { color: #e6f3eb; font-size: 15px; }
.c49-texto p { margin: 0 0 8px; }
.c49-texto .cn-leia { color: var(--c49-amarelo); }
.c49-postes { display: flex; justify-content: space-around; height: 22px; padding: 0 20%; }
.c49-postes i { width: 8px; background: linear-gradient(90deg, #8a8f96, #d4d8dd, #8a8f96); }

/* SERVIÇOS: pista com faixa tracejada e marco de KM */
.c49-pista { position: relative; display: grid; gap: 16px; padding: 0 0 0 54px; }
.c49-pista::before { content: ""; position: absolute; left: 20px; top: 0; bottom: 0; width: 6px; background: repeating-linear-gradient(180deg, var(--c49-amarelo) 0 22px, transparent 22px 40px); animation: c49Anda 1.2s linear infinite; }
@keyframes c49Anda { to { background-position: 0 40px; } }
.c49-servico { position: relative; display: grid; grid-template-columns: 42% 1fr; background: var(--c49-asfalto2); border-radius: 10px; cursor: pointer; overflow: visible; box-shadow: inset 0 0 0 1px #333; }
.c49-marco { position: absolute; left: -52px; top: 50%; width: 40px; height: 52px; margin-top: -26px; border-radius: 20px 20px 4px 4px; background: #fff; color: var(--c49-asfalto); display: flex; flex-direction: column; align-items: center; justify-content: center; font: 900 16px/1 'Archivo', sans-serif; box-shadow: 0 3px 6px rgba(0,0,0,.5); border-top: 10px solid var(--c49-amarelo); box-sizing: border-box; }
.c49-marco small { font-size: 9px; font-weight: 700; }
.c49-servico-img { min-height: 120px; background: #333 center / cover no-repeat; border-radius: 10px 0 0 10px; }
.c49-servico-txt { padding: 12px 14px; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.c49-servico-txt h3 { margin: 0; font: 800 18px/1.1 'Archivo', sans-serif; text-transform: uppercase; color: #fff; }
.c49-ver { font-size: 12.5px; font-weight: 700; color: var(--c49-amarelo); }

/* GALERIA: zebrado */
.c49-fotos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; background: var(--c49-zebra); border-radius: 10px; }
.c49-foto { aspect-ratio: 4 / 3; border: 0; padding: 0; border-radius: 6px; background: #333 center / cover no-repeat; cursor: zoom-in; box-shadow: 0 0 0 3px var(--c49-asfalto); }

/* PRODUTOS */
.c49-busca { display: flex; align-items: center; gap: 8px; background: var(--c49-asfalto2); border: 2px solid var(--c49-amarelo); border-radius: 10px; padding: 0 12px; margin: 0 0 14px; }
.c49-busca input { flex: 1; border: 0; outline: none; padding: 12px 0; font: inherit; background: transparent; color: var(--c49-txt); }
.c49-grade { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.c49-prod { background: var(--c49-asfalto2); border-radius: 10px; overflow: hidden; cursor: pointer; display: flex; flex-direction: column; }
.c49-prod-img { height: 130px; background: #333 center / cover no-repeat; display: flex; align-items: center; justify-content: center; color: #666; font-size: 30px; }
.c49-prod-txt { padding: 10px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.c49-prod-txt h3 { margin: 0; font: 800 15px/1.2 'Archivo', sans-serif; color: #fff; }
.c49-prod-ver { margin-top: auto; color: var(--c49-amarelo); font-weight: 700; font-size: 13px; }
.c49-nada { grid-column: 1 / -1; text-align: center; }
.c49-carrinho { width: 100%; margin-top: 14px; }

/* QR e FORMULÁRIO */
.c49-qr { text-align: center; } .c49-qr .code { display: flex; justify-content: center; margin-bottom: 12px; }
.c49-qr .code canvas, .c49-qr .code img { width: 200px !important; height: 200px !important; background: #fff; padding: 10px; border-radius: 10px; box-sizing: content-box; box-shadow: 0 0 0 5px var(--c49-amarelo); }
.c49-form { display: grid; gap: 10px; padding: 16px; border-radius: 12px; background: var(--c49-asfalto2); border: 6px solid; border-image: var(--c49-zebra) 6; }
.c49-form input, .c49-form textarea { width: 100%; box-sizing: border-box; border: 2px solid #333; border-radius: 8px; padding: 12px; font: inherit; background: #0f0f0f; color: var(--c49-txt); }
.c49-form input::placeholder, .c49-form textarea::placeholder { color: #8a8a8a; }
.c49-form input:focus, .c49-form textarea:focus { outline: none; border-color: var(--c49-amarelo); }
.c49-duas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.c49-form .result { color: #fff; }

/* BARRA FIXA */
.c49-barra { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9000; display: flex; max-width: 560px; margin: 0 auto; background: var(--c49-asfalto); border-top: 4px solid; border-image: var(--c49-zebra) 4; padding-bottom: env(safe-area-inset-bottom); }
.c49-barra a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 4px 10px; color: #fff !important; text-decoration: none !important; font: 800 12.5px 'Archivo', sans-serif; text-transform: uppercase; }
.c49-barra a i { font-size: 20px; color: var(--c49-amarelo); }
.c49-barra a.c49-barra-zap { background: var(--c49-amarelo); color: var(--c49-asfalto) !important; flex: 1.5; }
.c49-barra a.c49-barra-zap i { color: var(--c49-asfalto); }
.c49-com-barra .radio-float { bottom: 92px !important; }

.c49-corpo .creditos-cartaodigital { max-width: 560px; margin: 0 auto !important; background: #0b0b0b; }
.c49-corpo .modal { color: #222; }
@media (min-width: 600px) { .c49 { margin: 18px auto; border-radius: 12px; } .c49-depo { flex-basis: 68%; } }
@media (max-width: 360px) { .c49-id h1 { font-size: 25px; } .c49-servico { grid-template-columns: 1fr; } .c49-servico-img { border-radius: 10px 10px 0 0; } }
@media (prefers-reduced-motion: reduce) { .c49-giroflex i, .c49-botao:first-child, .c49-pista::before { animation: none; } }
