/* Reset, layout global, header, footer, botões, seções da home. Mobile-first. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body { margin: 0; font-family: var(--font-body); font-size: 1rem; color: var(--c-ink); background: var(--c-bg); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-style: italic; font-weight: 800; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(2rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.125rem); }
h3 { font-weight: 700; font-size: 1.125rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }

:focus-visible { outline: 3px solid var(--c-brand); outline-offset: 2px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: 44px; }
.section-alt { background: var(--c-surface); }
.prose { max-width: 70ch; }
.prose > * + * { margin-top: 1em; }

.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--c-ink); color: #fff; padding: 10px 14px; border-radius: 6px; }
.skip-link:focus { top: 8px; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 22px; border: 2px solid transparent; border-radius: var(--radius); font: inherit; font-weight: 600; letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--c-accent); color: var(--c-accent-ink); }
.btn-primary:hover { background: var(--c-accent-hover); }
.btn-wa { background: var(--c-wa); color: var(--c-wa-ink); }
.btn-wa:hover { background: var(--c-wa-hover); }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; background: transparent; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn-outline { border-color: var(--c-ink); color: var(--c-ink); background: transparent; }
.btn-outline:hover { background: var(--c-ink); color: #fff; }
.btn-lg { min-height: 54px; padding-inline: 28px; font-size: 1.05rem; }
.btn-block { display: flex; width: 100%; }
.btn-icon { padding: 0; width: 46px; flex: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-top: 3px solid var(--c-brand); border-bottom: 1px solid var(--c-line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 16px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand-logo { height: 46px; width: auto; }
.nav-toggle { display: inline-flex; background: none; border: 0; padding: 8px; margin-right: -8px; cursor: pointer; color: inherit; }
.nav-toggle-close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-close { display: inline; }

/* Menu mobile: gaveta tela cheia abaixo do header */
.site-nav { position: fixed; inset: calc(var(--header-h) + 3px) 0 0 0; background: var(--c-bg); padding: 24px var(--gutter); display: none; flex-direction: column; gap: 24px; overflow-y: auto; }
.site-nav.is-open { display: flex; }
.nav-list { list-style: none; display: flex; flex-direction: column; }
.nav-list a { display: block; padding: 16px 0; font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 1.5rem; text-decoration: none; border-bottom: 1px solid var(--c-line); }
.nav-wa { align-self: stretch; }
body.nav-open { overflow: hidden; }

@media (min-width: 900px) {
	.nav-toggle { display: none; }
	.site-nav { position: static; display: flex; flex-direction: row; align-items: center; padding: 0; gap: 28px; overflow: visible; background: none; }
	.nav-list { flex-direction: row; gap: 26px; }
	.nav-list a { padding: 8px 0; font-family: var(--font-body); font-style: normal; font-weight: 600; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; border: 0; position: relative; }
	.nav-list a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 2px; background: var(--c-brand); transition: right .2s; }
	.nav-list a:hover::after, .nav-list .current-menu-item > a::after { right: 0; }
	.nav-wa { align-self: auto; min-height: 42px; padding: 8px 18px; }
	.section { padding-block: 80px; }
	:root { --gutter: 24px; --header-h: 78px; }
	.brand-logo { height: 54px; }
}

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--c-dark); color: var(--c-dark-ink); padding-block: 56px 96px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), 0 100%); }
.hero-inner { position: relative; }
.hero-inner > * { max-width: 760px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: .18em; font-size: .85rem; font-weight: 600; opacity: .9; margin-bottom: 16px; }
.hero-kicker::before { content: ""; width: 28px; height: 3px; background: var(--c-brand); transform: skewX(-30deg); }
.hero-brand { margin: 0 0 18px; line-height: 0; }
.hero-brand.is-text { line-height: 1.1; font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 1.25rem; letter-spacing: .02em; text-transform: uppercase; opacity: .9; }
.hero-headline { margin: 0 0 14px; font-size: clamp(2.25rem, 7vw, 3.75rem); text-shadow: 0 2px 20px rgba(0, 0, 0, .35); max-width: 14ch; }
.hero-logo { width: min(100%, 300px); height: auto; filter: drop-shadow(0 2px 14px rgba(0, 0, 0, .4)); }
@media (min-width: 900px) { .hero-logo { width: 340px; } }
.hero-text { font-size: 1.2rem; max-width: 46ch; opacity: .92; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-actions .btn { flex: 1 1 100%; }
@media (min-width: 560px) { .hero-actions .btn { flex: 1 1 220px; } }
@media (min-width: 900px) { .hero { padding-block: 110px 150px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 56px), 0 100%); } .hero-actions .btn { flex: 0 0 auto; } }

/* Seções da home */
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 26px; }
.section-head h2 { margin: 0; display: flex; align-items: center; gap: 12px; }
.section-head h2::before, .prose h2::before { content: ""; flex: none; width: 10px; height: .9em; background: var(--c-brand); transform: skewX(-18deg); }
.prose h2 { display: flex; align-items: center; gap: 12px; }
.link-more { font-weight: 600; color: var(--c-accent); text-decoration: none; border-bottom: 2px solid currentColor; }
.diffs { list-style: none; display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.diffs li { position: relative; display: flex; flex-direction: column; gap: 6px; background: var(--c-bg); border-radius: var(--radius-lg); padding: 20px 18px; border: 1px solid var(--c-line); box-shadow: var(--shadow); }
.diffs strong { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 1.15rem; line-height: 1.2; }
.diff-desc { color: var(--c-muted); font-size: .9375rem; line-height: 1.45; }
.diff-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: var(--c-brand); color: #fff; transform: skewX(-10deg); margin-bottom: 6px; }
.diff-icon svg { transform: skewX(10deg); }
.section-sub { margin: 6px 0 0; color: var(--c-muted); }
@media (min-width: 900px) { .diffs { grid-template-columns: repeat(4, minmax(0, 1fr)); } .diffs li { padding: 24px 22px; } }

.cta-band { position: relative; background: var(--c-dark); color: var(--c-dark-ink); padding-block: 60px; text-align: center; border-top: 4px solid var(--c-brand); }
.cta-inner { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.cta-inner h2 { margin: 0; max-width: 20ch; }
.cta-sub { margin: -10px 0 0; opacity: .85; font-size: 1.1rem; }
.cta-band .btn-primary { background: var(--c-brand); color: #fff; }

/* Footer */
.site-footer { background: var(--c-dark); color: var(--c-dark-ink); padding-top: 52px; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.footer-logo { display: block; width: fit-content; margin: 0 auto 14px; }
.footer-logo-img { height: 64px; width: auto; }
.footer-title { font-family: var(--font-body); font-style: normal; font-size: .9rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; opacity: .7; margin-bottom: 12px; }
.footer-list { list-style: none; display: grid; gap: 8px; margin-bottom: 22px; }
.footer-address { font-style: normal; opacity: .9; margin-bottom: 8px; }
.site-footer a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .35); }
.site-footer a:hover { text-decoration-color: var(--c-brand); }
.footer-logo, .footer-logo:hover { text-decoration: none; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; margin-top: 36px; padding-block: 18px; border-top: 1px solid rgba(255, 255, 255, .14); opacity: .7; }

.empty { text-align: center; padding-block: 48px; display: flex; flex-direction: column; align-items: center; gap: 12px; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition: none !important; animation: none !important; }
}

/* Tabelas dentro de páginas de texto (ex.: Política de Privacidade) */
.prose { overflow-wrap: anywhere; }
.prose h1 { margin-bottom: .6em; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: .35em; }
.prose table { width: 100%; border-collapse: collapse; margin-block: 1em; font-size: .9375rem; }
.prose th, .prose td { border: 1px solid var(--c-line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--c-surface); font-weight: 600; }
@media (max-width: 599px) { .prose table, .prose thead, .prose tbody, .prose tr, .prose th, .prose td { display: block; } .prose thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .prose tr { border: 1px solid var(--c-line); border-radius: var(--radius); margin-bottom: 10px; } .prose td { border: 0; border-bottom: 1px solid var(--c-line); } .prose td:last-child { border-bottom: 0; } }
.prose .wp-block-table { margin: 0; }

.prose h2 { margin-top: 1.8em; }
.prose > :first-child { margin-top: 0; }

/* Banner da home com carrossel (troca com fade) */
.hero-copy { max-width: 760px; }
.hero-copy > * { max-width: 760px; }
.hero.has-carousel .hero-inner { display: grid; gap: 8px; align-items: center; grid-template-columns: minmax(0, 1fr); }
.hero-stage { position: relative; width: 100%; max-width: 560px; margin-inline: auto; }
.hero-track { display: grid; aspect-ratio: 3 / 2; }
.hero-track:focus-visible { outline: 3px solid var(--c-brand); outline-offset: 4px; border-radius: var(--radius-lg); }
.hero-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility 0s linear .8s; }
.hero-slide.is-active { opacity: 1; visibility: visible; transition: opacity .8s ease; }
.hero-slide-inner { position: relative; display: block; width: 100%; height: 100%; text-decoration: none; color: #fff; border-radius: var(--radius-lg); overflow: hidden; background: var(--c-dark-2); box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
.hero-slide-inner img { width: 100%; height: 100%; object-fit: cover; }
/* PNG/WebP recortado: o carro aparece inteiro, solto sobre o banner (sem moldura). */
.hero-slide.is-free .hero-slide-inner { background: transparent; box-shadow: none; overflow: visible; }
.hero-slide.is-free img { object-fit: contain; object-position: center bottom; filter: drop-shadow(0 18px 20px rgba(0, 0, 0, .4)); }
.hero-caption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; padding: 40px 16px 14px; background: linear-gradient(to top, rgba(0, 0, 0, .78), transparent); }
.hero-slide.is-free .hero-caption { background: none; padding: 0 4px; bottom: -4px; text-shadow: 0 2px 10px rgba(0, 0, 0, .7); }
.hero-caption strong { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 1.25rem; line-height: 1.15; }
.hero-caption-sub { font-size: .9375rem; opacity: .9; }
.hero-caption-price { margin-left: auto; font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 1.35rem; }
.hero-controls { display: flex; justify-content: center; margin-top: 30px; }
.hero-dots { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.hero-dots button { width: 12px; height: 12px; padding: 0; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .35); cursor: pointer; position: relative; }
.hero-dots button::after { content: ""; position: absolute; inset: -12px; } /* área de toque maior */
.hero-dots button[aria-current="true"] { background: var(--c-brand); width: 26px; border-radius: 999px; }
/* Telas pequenas (celular e tablet): sem os carros; o banner fica só com o texto e os botões. */
@media (max-width: 899px) {
	.hero-stage { display: none; }
}
@media (min-width: 900px) {
	.hero.has-carousel .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, calc((100vw - 1300px) / 4 + 48px), 96px); }
	/* Carros: coluna da direita, com folga do texto (48 px em telas médias, até 96 px em telas grandes) e até 620 px de largura. */
	.hero-stage { --shift: clamp(0px, calc((100vw - 1200px) / 2 + 16px), 80px); justify-self: end; margin-inline: 0; width: calc(100% + var(--shift)); max-width: 620px; margin-right: calc(-1 * var(--shift)); }
	.hero-caption strong { font-size: 1.5rem; }
}
