:root {
  --escuro: #0C0E10;
  --escuro-2: #16191C;
  --claro: #F4F5F3;
  --texto: #1C2024;
  --texto-2: #5E646A;
  --borda: #E2E4E1;
  --ambar: #E8A800;
  --zap: #1FAF55;
  --g: 'Geologica', system-ui, sans-serif;
  --h: 'Hanken Grotesk', system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--h); background: var(--claro); color: var(--texto); line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }

/* topo */
.hero { position: relative; min-height: min(100vh, 860px); min-height: min(100svh, 860px); display: flex; flex-direction: column; background: var(--escuro); color: #fff; overflow: hidden; }
.hero::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 68%;
  background: url('img/caminhao.webp') 62% center / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%); mask-image: linear-gradient(90deg, transparent 0%, #000 30%); }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(12,14,16,.75) 0%, rgba(12,14,16,0) 30%), linear-gradient(180deg, rgba(12,14,16,.7) 0%, rgba(12,14,16,0) 18%); }
.hero > * { position: relative; z-index: 1; }
.topo { display: flex; align-items: center; justify-content: space-between; padding: 22px 5vw; }
.marca { font: 700 20px var(--g); letter-spacing: .02em; text-decoration: none; }
.marca img { height: 40px; width: auto; display: block; }
.rod-logo { width: 260px; height: auto; margin-bottom: 10px; }
@media (max-width: 700px) { .marca img { height: 32px; } }
.tel { font: 600 15px var(--h); text-decoration: none; display: flex; align-items: center; gap: 8px; }
.tel em { font-style: normal; }
.tel span { width: 8px; height: 8px; border-radius: 50%; background: #2BD46B; box-shadow: 0 0 0 4px rgba(43,212,107,.25); }
.miolo { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 0 5vw 9vh; max-width: 760px; }
.selo { display: inline-flex; align-self: flex-start; gap: 8px; background: rgba(232,168,0,.14); border: 1px solid rgba(232,168,0,.5); color: #FFD35C; font-size: 13.5px; font-weight: 600; padding: 7px 12px; border-radius: 999px; margin-bottom: 22px; }
h1 { font: 700 clamp(40px, 6.2vw, 76px)/1.02 var(--g); letter-spacing: -.02em; }
h1 em { font-style: normal; color: var(--ambar); }
.sub { font-size: clamp(17px, 1.6vw, 20px); color: #D8DBDE; margin: 20px 0 30px; max-width: 540px; }
.botoes { display: flex; gap: 12px; flex-wrap: wrap; }
.b { display: inline-flex; align-items: center; justify-content: center; height: 58px; padding: 0 26px; border-radius: 14px; font: 600 17px var(--h); text-decoration: none; transition: transform .15s; }
.b:active { transform: translateY(1px); }
.b:focus-visible, .barra-fixa a:focus-visible, summary:focus-visible { outline: 3px solid #FFD35C; outline-offset: 3px; }
.b.lig { background: var(--ambar); color: #16181A; }
.b.zap { background: var(--zap); color: #fff; }
.prova { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 34px; font-size: 14px; color: #C5C9CC; }
.prova b { display: block; font: 500 21px var(--g); color: #fff; }

/* seções */
main { max-width: 1120px; margin: 0 auto; padding: 0 5vw; }
.sec { padding: 72px 0 0; }
.sec h2 { font: 700 clamp(28px, 3.4vw, 40px)/1.1 var(--g); letter-spacing: -.01em; margin-bottom: 26px; }
.sec > p { color: var(--texto-2); font-size: 17px; max-width: 620px; margin: -12px 0 22px; }

.passos ol { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: passo; }
.passos li { counter-increment: passo; background: #fff; border: 1px solid var(--borda); border-radius: 20px; padding: 24px 22px; }
.passos li::before { content: counter(passo); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--escuro); color: var(--ambar); font: 700 18px var(--g); margin-bottom: 16px; }
.passos b, .cards b { display: block; font: 500 19px var(--g); margin-bottom: 6px; }
.passos span, .cards span { color: var(--texto-2); }

.cards { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cards li { background: #fff; border: 1px solid var(--borda); border-left: 4px solid var(--ambar); border-radius: 16px; padding: 18px 20px; }

.foto { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.foto img { border-radius: 22px; box-shadow: 0 18px 40px rgba(0,0,0,.14); }
.lista { list-style: none; padding: 0; display: grid; gap: 14px; }
.lista li { padding-left: 30px; position: relative; color: var(--texto-2); }
.lista li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--zap); color: #fff; font-size: 12px; display: grid; place-items: center; font-weight: 700; }
.lista b { color: var(--texto); }

.galeria { overflow: hidden; }
.fotos { margin: 0 -5vw; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.trilho { list-style: none; padding: 0; margin: 0; display: flex; gap: 12px; width: max-content; animation: carrossel 70s linear infinite; }
.fotos:hover .trilho, .fotos:active .trilho { animation-play-state: paused; }
.trilho li { flex: none; width: var(--w); height: 260px; border-radius: 16px; overflow: hidden; background: #E2E4E1; }
.trilho img { width: 100%; height: 100%; object-fit: cover; }
@keyframes carrossel { to { transform: translateX(-50%); } }
@media (max-width: 700px) { .trilho li { height: 200px; width: calc(var(--w) * .77); } }
@media (prefers-reduced-motion: reduce) { .fotos { overflow-x: auto; } .trilho { animation: none; } }
.bairros { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.bairros li { background: #fff; border: 1px solid var(--borda); border-radius: 999px; padding: 7px 14px; font-size: 14.5px; font-weight: 500; }

.faq details { background: #fff; border: 1px solid var(--borda); border-radius: 16px; margin-bottom: 10px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 20px; font: 500 17px var(--g); display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ambar); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 20px 18px; color: var(--texto-2); }

.chamada { margin: 72px 0 0; padding: 44px 36px; border-radius: 24px; background: var(--escuro); color: #fff; text-align: left; }
.chamada h2 { margin-bottom: 8px; }
.chamada > p { color: #C5C9CC; margin: 0 0 24px; }

.rod { margin-top: 64px; padding: 28px 5vw 100px; background: var(--escuro-2); color: #9AA0A6; font-size: 13.5px; display: grid; gap: 6px; }
.rod b { color: #fff; font-weight: 600; }

.barra-fixa { display: none; }
@media (max-width: 860px) {
  .barra-fixa { display: grid; grid-template-columns: 1fr 1.3fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(12,14,16,.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    transform: translateY(110%); transition: transform .25s ease; box-shadow: 0 -6px 20px rgba(0,0,0,.25); }
  .barra-fixa.vis { transform: none; }
  .barra-fixa a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 54px; border-radius: 14px; font: 600 17px var(--h); text-decoration: none; }
  .bf-lig { background: var(--ambar); color: #16181A; }
  .bf-zap { background: var(--zap); color: #fff; }
  .rod { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { .barra-fixa { transition: none; } }

@media (max-width: 860px) {
  .passos ol, .cards { grid-template-columns: 1fr; }
  .foto { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 700px) {
  .hero::before { width: 100%; height: min(46vh, 400px); bottom: auto; background-size: auto 112%; background-position: 58% 72%;
    -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 28%); mask-image: linear-gradient(0deg, transparent 0%, #000 28%); }
  .hero::after { background: linear-gradient(180deg, rgba(12,14,16,.65) 0%, rgba(12,14,16,0) 14%); }
  .tel em { display: none; }
  .tel span { width: 10px; height: 10px; }
  .miolo { justify-content: flex-start; padding-top: min(36vh, 310px); padding-bottom: 32px; }
  .selo { font-size: 12.5px; margin-bottom: 16px; }
  .sub { margin: 14px 0 22px; }
  .b { flex: 1 1 100%; }
  .prova { gap: 20px; margin-top: 24px; }
  .sec { padding-top: 56px; }
  .chamada { padding: 32px 22px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .b { transition: none; } }
