/* Visual do site PB Truck Center (estilo "Cais"): escuro com seções claras, tela dividida, fotos grandes. */
:root {
	--bg: #0c0a09;
	--s1: #161210;
	--s2: #1f1915;
	--line: #2e251f;
	--hl: #e0601a;
	--btn: #b94a0c;
	--btn-h: #7a2f06;
	--tx: #ffffff;
	--tx-soft: #e9e2dc;
	--tx-2: #b5a99f;
	--ease: cubic-bezier(.2, .7, .2, 1);
	--gut: clamp(16px, 4vw, 56px);
	color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.cais { margin: 0; background: var(--bg); color: var(--tx-soft); font: 400 17px/1.65 'Work Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; overflow-x: clip; }
.cais img { max-width: 100%; height: auto; display: block; }
.cais a { color: var(--tx); text-decoration-color: var(--hl); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.cais a:hover { color: var(--hl); }
.cais :focus-visible { outline: 2px solid var(--hl); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 50; background: var(--btn); color: #fff; padding: 8px 14px; border-radius: 999px; }

/* Títulos */
.cais h1, .cais h2, .cais h3 { font-family: 'Big Shoulders Display', 'Arial Narrow', sans-serif; text-transform: uppercase; line-height: .86; color: var(--tx); margin: 0; letter-spacing: .005em; }
.cais h1 { font-weight: 900; font-size: clamp(56px, 8.4vw, 124px); margin-bottom: 28px; }
.cais h2 { font-weight: 900; font-size: clamp(46px, 6.4vw, 92px); margin-bottom: 28px; }
.cais h3 { font-weight: 700; font-size: clamp(28px, 2.6vw, 38px); line-height: .95; margin-bottom: 12px; }
.cais h1 em, .cais h2 em { font-style: normal; color: var(--hl); }
.kicker { display: flex; align-items: center; gap: 14px; margin: 0 0 22px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .22em; color: var(--hl); }
.kicker::before { content: ""; width: 36px; height: 1px; background: var(--hl); flex: none; }
.lead { font-size: 19px; color: var(--tx-soft); max-width: 34em; }
.c-text p { max-width: 36em; }

/* Botões pílula */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cais .pill { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; background: var(--btn); color: #fff; font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid var(--btn); transition: background .2s, border-color .2s; }
.cais .pill span { display: inline-block; transition: transform .25s var(--ease); }
.cais .pill:hover { background: var(--btn-h); border-color: var(--btn-h); color: #fff; }
.cais .pill:hover span { transform: translateX(4px); }
.cais .pill.ghost { background: transparent; border-color: var(--tx-2); }
.cais .pill.ghost:hover { border-color: var(--hl); background: transparent; color: var(--tx); }

/* Topo */
.c-top { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 18px var(--gut); border-bottom: 1px solid var(--line); }
.c-logo img { height: 40px; width: auto; }
.c-top nav.main { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 22px; font-size: 15px; font-weight: 500; }
.c-top nav.main a { color: var(--tx-soft); text-decoration: none; }
.c-top nav.main a:hover, .c-top nav.main a[aria-current='page'] { color: var(--hl); }
.c-top nav.main a.cta { color: var(--hl); text-decoration: underline; text-decoration-color: var(--hl); }

/* Tela dividida */
.c-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.c-split > .c-text { padding: clamp(56px, 8vw, 112px) var(--gut); align-self: center; }
.c-hero > .c-text { padding-bottom: 120px; }
.c-hero { min-height: max(640px, calc(100svh - 77px)); border-bottom: 1px solid var(--line); }
.c-flip > .c-media { order: -1; }
.c-flip { border-top: 1px solid var(--line); min-height: 640px; }

/* Mídia (foto ou placeholder) */
.c-media { position: relative; margin: 0; overflow: hidden; background: var(--s2); min-height: 300px; }
.c-media > img, .c-media > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.c-media::after { content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(90deg, rgba(12,10,9,.4), rgba(12,10,9,0) 22%), linear-gradient(0deg, rgba(12,10,9,.5), rgba(12,10,9,0) 28%); }
.c-flip > .c-media::after { background: linear-gradient(0deg, rgba(12,10,9,.5), rgba(12,10,9,0) 28%); }
.c-media figcaption { position: absolute; right: 18px; bottom: 16px; z-index: 2; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.6); text-align: right; }
/* Placeholder enquanto as fotos reais não chegam */
.ph { background:
	repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 1px, transparent 1px 22px),
	radial-gradient(120% 90% at 70% 30%, #2a211b 0%, var(--s2) 45%, var(--bg) 100%); }
.ph[data-n]::after { content: attr(data-n); position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-family: 'Big Shoulders Display', sans-serif; font-weight: 900; font-size: clamp(160px, 22vw, 340px); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(224,96,26,.35); }
.stage .slide:nth-child(even) .ph, .step:nth-child(even) .ph { background: repeating-linear-gradient(45deg, rgba(255,255,255,.025) 0 1px, transparent 1px 22px), radial-gradient(120% 90% at 30% 70%, #2b1d14 0%, var(--s2) 45%, var(--bg) 100%); }
.ph::before { content: "Foto a enviar · " attr(data-foto); position: absolute; top: 18px; right: 18px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--tx-2); border: 1px dashed var(--line); padding: 6px 10px; border-radius: 999px; max-width: calc(100% - 36px); }

/* Rolagem guiada */
.c-steps { border-bottom: 1px solid var(--line); }
.c-steps-head { padding: clamp(64px, 9vw, 120px) var(--gut) 0; }
.c-steps-head h2 { max-width: 12em; }
.steps { list-style: none; margin: 0; padding-top: 24px !important; padding-bottom: 24px !important; }
.step { min-height: 72svh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; border-top: 1px solid var(--line); opacity: .45; transition: opacity .4s; }
.step:first-child { border-top: 0; }
.step.is-active { opacity: 1; }
.num { font-family: 'Big Shoulders Display', sans-serif; font-weight: 900; font-size: 54px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--hl); display: block; margin-bottom: 14px; }
.step p { margin: 0; color: var(--tx-soft); }
.step-media { display: none; }
.stage-col { position: relative; }
.stage { position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--s2); }
.stage .slide { position: absolute; inset: 0; min-height: 0; clip-path: inset(0 0 0 100%); }
.stage .slide.is-on { clip-path: inset(0 0 0 0); }
.stage .slide.curtain { animation: cortina .9s var(--ease) both; }
@keyframes cortina { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }

/* Listas em linhas finas */
.lines { list-style: none; padding: 0; margin: 18px 0 0; border-top: 1px solid var(--line); max-width: 36em; }
.lines li { padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 500; color: var(--tx); display: flex; align-items: center; gap: 14px; }
.lines li::before { content: ""; width: 8px; height: 8px; border: 1.5px solid var(--hl); border-radius: 50%; flex: none; }
.lines.cols2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 32px; margin-top: 0; }

/* Faixas de largura total */
.c-wrap { max-width: 1280px; margin: 0 auto; padding: clamp(64px, 9vw, 120px) var(--gut); }
.c-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px clamp(32px, 6vw, 96px); align-items: start; }
.c-band { border-top: 1px solid var(--line); }
.c-band .c-two > div:last-child { padding-top: clamp(0px, 4vw, 64px); }
.c-yms { background: var(--s1); border-top: 2px solid var(--hl); }
.c-yms h3 { margin-bottom: 8px; }
.outline { list-style: none; padding: 0; margin: 12px 0 0; border-top: 1px solid var(--line); }
.outline li { display: grid; grid-template-columns: 76px 1fr; align-items: center; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.outline .num { margin: 0; }
.outline p { margin: 0; }

/* Rodapé (mesmo conteúdo do site) */
.cais footer.bottom { border-top: 1px solid var(--line); color: var(--tx-2); font-size: 15px; padding: 48px var(--gut) 120px; }
.cais footer.bottom .wrap { max-width: 1280px; margin: 0 auto; }
.cais footer.bottom .cols { display: grid; gap: 0 32px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.cais footer.bottom .cols > div { border-top: 1px solid var(--line); padding-top: 14px; }
.cais footer.bottom h3 { font-size: 22px; margin-bottom: 10px; }
.cais footer.bottom a { color: var(--tx-soft); }
.cais footer.bottom a:hover { color: var(--hl); }

/* Títulos longos (home e artigo) */
.cais h1.h1-long { font-size: clamp(48px, 5.8vw, 96px); }

/* Blocos da home */
.c-gap-top { margin-top: clamp(40px, 5vw, 72px); align-items: center; }
.notice { border-left: 2px solid var(--hl); background: var(--s1); padding: 20px 24px; max-width: 60em; }
.notice p { margin: 0; }
.notice strong { color: var(--tx); }
.video { position: relative; aspect-ratio: 16 / 9; background: #000; border: 1px solid var(--line); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
table.tarifas { width: 100%; border-collapse: collapse; margin-top: 8px; font-variant-numeric: tabular-nums; border-top: 1px solid var(--line); }
table.tarifas td { padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--tx); font-weight: 500; vertical-align: baseline; }
table.tarifas td:last-child { text-align: right; white-space: nowrap; font-family: 'Big Shoulders Display', sans-serif; font-weight: 900; font-size: clamp(34px, 3.4vw, 48px); line-height: 1; color: var(--hl); }
.note { color: var(--tx-2); font-size: 15px; margin-top: 16px; }
.c-push { padding-top: clamp(0px, 9vw, 150px); }
.c-side { border-left: 1px solid var(--line); }
.c-flip > .c-photo { display: grid; place-items: center; padding: clamp(24px, 4vw, 56px); background: var(--s1); }
.c-flip > .c-photo::after { display: none; }
.c-photo > img { position: static; width: 100%; height: auto; border: 1px solid var(--line); }
.c-photo figcaption { position: static; grid-row: 2; justify-self: end; margin-top: 12px; color: var(--tx-2); }
.c-contato { border-top: 1px solid var(--line); min-height: 560px; }
.c-map { min-height: 420px; }
.c-map::after { display: none; }
.c-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: invert(.92) hue-rotate(180deg) saturate(.6) brightness(.9); }

/* Artigo */
.c-hero-post { min-height: 560px; }
.meta { color: var(--tx-2); font-size: 15px; margin-top: 8px; }
.post { max-width: 760px; margin: 0 auto; padding: clamp(48px, 7vw, 96px) 16px 64px; font-size: 18px; }
.post > p:first-child { font-size: 20px; color: var(--tx); }
.cais .post h2 { font-size: clamp(36px, 4vw, 56px); margin: 1.6em 0 .5em; }
.cais .post h3 { font-size: clamp(24px, 2.2vw, 30px); margin: 1.4em 0 .3em; color: var(--hl); }
.post ul { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.post li { padding: 14px 0 14px 22px; border-bottom: 1px solid var(--line); position: relative; }
.post li::before { content: ""; position: absolute; left: 0; top: 24px; width: 8px; height: 8px; border: 1.5px solid var(--hl); border-radius: 50%; }
.post strong { color: var(--tx); }

/* Seções claras: alternam com as escuras para a página respirar */
.light { --bg: #f6f1ec; --s1: #ece4dc; --s2: #e4dad0; --line: #ddd2c7; --hl: #a8430f;
	--tx: #1a1410; --tx-soft: #3b322b; --tx-2: #62574e; background: var(--bg); color: var(--tx-soft); color-scheme: light; }
.light.c-yms { background: var(--s1); }
.light .c-map iframe { filter: none; }
.light .video { border-color: var(--line); }

.light .pill.ghost { color: var(--tx); }
.light .pill.ghost:hover { color: var(--hl); }

/* Assinatura BrainCargo (parceiro de tecnologia) */
.cais .bc-lockup { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; margin-bottom: 6px; }
.bc-lockup img { height: 44px; width: auto; }
.bc-lockup span { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 30px; letter-spacing: -.03em; line-height: 1; }
.bc-lockup b { font-weight: 800; color: #ff9800; }
.cais .bc-lockup:hover { color: #fff; opacity: .85; }
.bc-lockup.sm img { height: 28px; }
.bc-lockup.sm span { font-size: 20px; }
.bc-cta { margin-top: 28px; padding: 22px 24px; background: var(--s2); border: 1px solid var(--line); border-left: 2px solid #ff9800; }
.bc-cta p { margin: 0 0 16px; color: var(--tx); font-weight: 500; }
.bc-cta .pill { background: #ff9800; border-color: #ff9800; color: #1a1410; }
.cais .bc-cta .pill:hover { background: #ffb13d; border-color: #ffb13d; color: #1a1410; }

/* Dock flutuante */
.dock { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 40; max-width: calc(100% - 32px);
	background: rgba(22,18,16,.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 18px 40px rgba(0,0,0,.5); padding: 6px; }
.js .dock { opacity: 0; pointer-events: none; transform: translate(-50%, 24px); transition: opacity .35s, transform .35s var(--ease); }
.js .dock.is-shown, .js .dock:focus-within { opacity: 1; pointer-events: auto; transform: translateX(-50%); }
.dock-in { position: relative; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; border-radius: 999px; }
.dock-in::-webkit-scrollbar { display: none; }
.dock-ind { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 999px; background: var(--btn); opacity: 0; transition: transform .5s var(--ease), width .5s var(--ease), opacity .3s; }
.cais .dock a { position: relative; z-index: 1; flex: none; padding: 10px 18px; border-radius: 999px; color: var(--tx-soft); text-decoration: none; font-size: 14px; font-weight: 600; white-space: nowrap; }
.cais .dock a:hover, .cais .dock a[aria-current] { color: #fff; }

/* Animação de entrada (só com JS ligado) */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .on .rv, .js .rv-group.on > .rv { opacity: 1; transform: none; }

/* Celular */
@media (max-width: 860px) {
	body.cais { font-size: 16px; }
	.c-top { flex-direction: column; align-items: flex-start; padding: 14px 16px; }
	.c-top nav.main { justify-content: flex-start; gap: 4px 16px; font-size: 14px; }
	.c-split, .c-two { grid-template-columns: minmax(0, 1fr); }
	.c-split > .c-text, .c-hero > .c-text { padding: 40px 16px 56px; }
	.c-hero { min-height: 0; }
	.c-hero > .c-media, .c-flip > .c-media { order: -1; min-height: 300px; height: 75vw; }
	.c-flip { min-height: 0; }
	.c-media::after, .c-flip > .c-media::after { background: linear-gradient(0deg, rgba(12,10,9,.45), rgba(12,10,9,0) 40%); }
	.c-steps-head { padding: 56px 16px 0; }
	.c-guided > .c-text { padding: 8px 16px 40px; }
	.stage-col { display: none; }
	.step { min-height: 0; opacity: 1; padding: 32px 0; }
	.step-media { display: block; min-height: 300px; height: 75vw; margin-bottom: 20px; }
	.c-wrap { padding: 56px 16px; }
	.c-band .c-two > div:last-child { padding-top: 0; }
	.lines.cols2 { column-gap: 20px; }
	.outline li { grid-template-columns: 60px 1fr; }
	.cais footer.bottom { padding: 40px 16px 112px; }
	.c-push { padding-top: 0; }
	.c-side { border-left: 0; padding-top: 0 !important; }
	.c-flip > .c-photo { height: auto; min-height: 0; padding: 16px; }
	.c-contato { min-height: 0; }
	.c-map { order: 0 !important; height: 340px; }
	.c-hero-post { min-height: 0; }
	.post { font-size: 17px; }

	.dock { padding: 5px; }
	.cais .dock a { padding: 9px 14px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.js .rv { opacity: 1; transform: none; transition: none; }
	.stage .slide.curtain { animation: none; }
	.cais .pill span, .dock-ind, .step { transition: none; }
}
