/* Lauriano Automóveis — HTML e CSS, sem dependências. */
:root {
    --blue: #1648eb;
    --navy: #101c36;
    --ink: #17233b;
    --muted: #59657b;
    --line: #dce2ec;
    --paper: #f3f5f9;
    --accent: #dcf76a;
    --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: #fff; color: var(--ink); font-family: Arial, Helvetica, sans-serif; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input { font: inherit; }
:focus-visible { outline: 3px solid #ec8e17; outline-offset: 5px; }
.container { width: min(1240px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: absolute; top: -100px; left: 20px; z-index: 50; background: white; padding: 12px; }
.skip:focus { top: 10px; }
.topbar { background: var(--navy); color: #dce5f8; font-size: 12px; padding: 8px 0; }
.topbar .container { display: flex; justify-content: space-between; gap: 16px; }
.header { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.logo { width: 210px; flex-shrink: 0; }
nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 600; }
nav a:hover { color: var(--blue); }
.button { display: inline-flex; min-height: 48px; padding: 12px 23px; border: 1px solid transparent; border-radius: 8px; align-items: center; justify-content: center; gap: 18px; background: var(--blue); color: #fff; font-weight: 700; font-size: 14px; transition: transform .2s, background .2s; }
.button:hover { background: #1038bd; transform: translateY(-2px); }
.button.light { background: var(--accent); color: var(--navy); }
.button.light:hover { background: #c6e650; }
.button.outline { background: transparent; border-color: #a7b6d3; color: inherit; }
.button.outline:hover { background: #eaf0ff; color: var(--navy); }
.menu { display: none; }
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: .9fr 1.1fr; min-height: 590px; align-items: center; gap: 48px; padding-block: 64px; }
.eyebrow { display: block; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 20px; }
.hero .eyebrow { color: var(--accent); }
h1 { font-size: clamp(40px, 4.6vw, 66px); line-height: 1.04; letter-spacing: -3px; margin: 0 0 24px; font-weight: 800; }
h1 em { color: var(--accent); font-style: normal; }
.hero-copy > p { color: #bdc9de; max-width: 390px; margin-bottom: 28px; font-size: 17px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-caption { margin-top: 36px; display: flex; align-items: center; gap: 12px; font-size: 12px; color: #bdc9de; }
.hero-caption span { color: var(--accent); font-size: 22px; }
.hero-visual { position: relative; padding-bottom: 35px; }
.hero-visual > img { width: 100%; aspect-ratio: 1.3; object-fit: cover; border-radius: 110px 18px 18px 18px; }
.hero-label { position: absolute; top: 22px; right: 20px; color: #fff; background: #101c36; border-radius: 30px; padding: 6px 13px; font-size: 11px; letter-spacing: 1px; }
.hero-offer { position: absolute; bottom: 0; left: 22px; right: 22px; background: white; color: var(--ink); padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 15px; border-radius: 12px; box-shadow: 0 12px 30px #0002; }
.hero-offer small { color: var(--muted); font-size: 11px; display: block; }
.hero-offer strong { font-size: 22px; }
.arrow { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: white; flex-shrink: 0; }
.ribbon { border-bottom: 1px solid var(--line); }
.ribbon .container { display: grid; grid-template-columns: repeat(3, 1fr); }
.ribbon p { padding: 22px 0; margin: 0; font-size: 13px; text-align: center; }
.ribbon p + p { border-left: 1px solid var(--line); }
.ribbon b { color: var(--blue); margin-right: 12px; }
.section { padding-block: 88px; }
.catalog { background: var(--paper); }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 30px; }
h2 { font-size: clamp(30px, 3vw, 42px); line-height: 1.15; letter-spacing: -1.3px; margin: 0; }
.section-heading p { color: var(--muted); max-width: 340px; margin: 0; font-size: 14px; }
.filter { position: absolute; opacity: 0; width: 1px; height: 1px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0; }
.filters label { cursor: pointer; border: 1px solid #d2dae8; padding: 11px 22px; border-radius: 30px; background: #fff; font-size: 13px; font-weight: 700; }
#todos:checked ~ .filters label[for="todos"],
#picapes:checked ~ .filters label[for="picapes"],
#suvs:checked ~ .filters label[for="suvs"],
#carros:checked ~ .filters label[for="carros"],
#motos:checked ~ .filters label[for="motos"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.filter:focus-visible ~ .filters { outline: 3px solid var(--blue); outline-offset: 5px; }
#picapes:checked ~ .vehicle-grid .vehicle:not(.picapes),
#suvs:checked ~ .vehicle-grid .vehicle:not(.suvs),
#carros:checked ~ .vehicle-grid .vehicle:not(.carros),
#motos:checked ~ .vehicle-grid .vehicle:not(.motos) { display: none; }
.vehicle-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; }
.vehicle { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid #e3e8f0; transition: transform .2s, box-shadow .2s; }
.vehicle:hover { transform: translateY(-5px); box-shadow: 0 16px 30px #162c4e12; }
.vehicle-photo { position: relative; display: block; overflow: hidden; background: #e4e8ed; }
.vehicle-photo img { width: 100%; aspect-ratio: 280 / 230; object-fit: contain; }
.tag { position: absolute; top: 14px; left: 14px; background: #fff; border-radius: 5px; font-size: 10px; padding: 5px 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .7px; }
.vehicle-body { padding: 22px; }
.vehicle h3 { font-size: 21px; line-height: 1.2; margin: 0 0 8px; letter-spacing: -.5px; }
.description { font-size: 11px; line-height: 1.5; color: var(--muted); min-height: 34px; margin: 0 0 16px; text-transform: uppercase; }
.specs { display: flex; gap: 8px; flex-wrap: wrap; font-size: 11px; color: var(--muted); }
.specs span { background: var(--paper); padding: 5px 9px; border-radius: 4px; }
.vehicle-bottom { border-top: 1px solid var(--line); padding-top: 17px; margin-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price { font-size: 22px; font-weight: 800; letter-spacing: -.6px; }
.vehicle-bottom a { color: var(--blue); font-size: 12px; font-weight: 700; white-space: nowrap; }
.notice { font-size: 12px; color: var(--muted); margin-top: 25px; }
.trade { background: var(--blue); color: white; border-radius: 24px; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; }
.trade-copy { padding: 58px; }
.trade .eyebrow { color: var(--accent); }
.trade p { color: #e0e7ff; margin: 25px 0; }
.trade-photo { position: relative; }
.trade-photo img { width: 100%; height: 100%; object-fit: cover; }
.trade-photo span { position: absolute; bottom: 20px; left: 22px; color: white; background: var(--navy); border-radius: 7px; padding: 8px 14px; font-size: 12px; }
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding-top: 88px; }
.about p { color: var(--muted); margin: 0 0 20px; }
.about a { color: var(--blue); font-weight: 700; }
.contact { background: var(--paper); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
.contact-card { border-top: 2px solid var(--blue); background: white; border-radius: 0 0 12px 12px; padding: 28px; }
.contact-card h3 { font-size: 20px; margin: 8px 0 16px; }
.contact-card p { color: var(--muted); font-size: 14px; }
.contact-card a { color: var(--blue); font-weight: 700; font-size: 14px; }
footer { padding-block: 35px; background: var(--navy); color: #c1cce0; font-size: 12px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; }
.footer-brand { font-size: 19px; font-weight: 800; color: #fff; }
.floating { position: fixed; right: 22px; bottom: 22px; z-index: 30; display: flex; align-items: center; gap: 9px; border: 3px solid white; background: #14783d; color: white; padding: 12px 18px; border-radius: 40px; box-shadow: 0 5px 18px #0003; font-size: 13px; font-weight: 700; }
.breadcrumb { margin-bottom: 25px; font-size: 13px; color: var(--muted); }
.detail { display: grid; grid-template-columns: 1.3fr 1fr; align-items: start; gap: 45px; }
.detail h1 { font-size: 45px; letter-spacing: -1.7px; }
.detail-photo { border-radius: 18px; width: 100%; background: var(--paper); }
.detail-info { padding: 24px 0; }
.detail-info .price { font-size: 36px; margin: 24px 0; }
dl { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; border-block: 1px solid var(--line); padding-block: 24px; }
dt { font-size: 12px; color: var(--muted); }
dd { margin: 0; font-weight: 700; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.gallery img { border-radius: 8px; width: 100%; }
.photo-modal { position: fixed; inset: 0; z-index: 60; background: #0b1429f2; display: none; align-items: center; justify-content: center; padding: 60px 20px 20px; }
.photo-modal:target { display: flex; }
.photo-modal img { max-height: 85vh; width: auto; max-width: 100%; object-fit: contain; }
.photo-modal .close { position: absolute; right: 25px; top: 15px; padding: 8px 20px; color: white; border: 1px solid #fff; border-radius: 8px; }
@media (max-width: 1000px) {
    nav { gap: 16px; }
    .header-inner > .button { display: none; }
    .hero-grid { gap: 28px; min-height: auto; }
    h1 { letter-spacing: -2px; }
    .hero-offer { padding: 16px; left: 10px; right: 10px; }
    .hero-offer strong { font-size: 18px; }
    .vehicle-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .trade-copy { padding: 38px; }
    .about { gap: 40px; }
    .contact-grid { grid-template-columns: 1fr 1fr; }
    .contact-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
    .container { width: calc(100% - 36px); }
    .topbar .container { justify-content: center; font-size: 10px; }
    .topbar span:last-child { display: none; }
    .header-inner { min-height: 80px; flex-wrap: wrap; gap: 0; }
    .logo { width: 175px; }
    .desktop-nav { display: none; }
    .menu { display: block; margin-left: auto; }
    .menu summary { cursor: pointer; padding: 12px; border: 1px solid var(--line); border-radius: 6px; font-size: 13px; list-style: none; }
    .menu nav { position: absolute; top: 80px; left: 0; right: 0; padding: 18px; background: white; box-shadow: 0 10px 15px #0001; flex-direction: column; align-items: stretch; gap: 0; }
    .menu nav a { padding: 12px 18px; }
    .hero-grid { grid-template-columns: 1fr; padding-block: 40px; gap: 36px; }
    h1 { font-size: clamp(39px, 11vw, 58px); }
    .hero-copy > p { font-size: 15px; }
    .hero-caption { margin-top: 24px; }
    .hero-visual > img { border-top-left-radius: 70px; }
    .hero-offer strong { font-size: 19px; }
    .hero-offer small { font-size: 10px; }
    .hero-offer { gap: 8px; }
    .hero-offer .arrow { width: 38px; height: 38px; }
    .ribbon .container { grid-template-columns: 1fr; }
    .ribbon p { padding: 12px 0; text-align: left; }
    .ribbon p + p { border-left: 0; border-top: 1px solid var(--line); }
    .section { padding-block: 55px; }
    .section-heading { align-items: start; flex-direction: column; gap: 18px; }
    .eyebrow { font-size: 10px; margin-bottom: 14px; }
    .filters { gap: 8px; }
    .filters label { padding: 12px 16px; font-size: 12px; }
    .vehicle-grid { grid-template-columns: 1fr; gap: 22px; }
    .vehicle-photo img { aspect-ratio: 280 / 230; }
    .trade { grid-template-columns: 1fr; }
    .trade-copy { padding: 32px 25px; }
    .trade-photo { height: 280px; }
    .about { grid-template-columns: 1fr; gap: 22px; padding-top: 55px; }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-card:last-child { grid-column: auto; }
    .footer-inner { flex-direction: column; align-items: start; padding-bottom: 65px; }
    .floating { right: 14px; bottom: 14px; }
    .detail { grid-template-columns: 1fr; gap: 15px; }
    .detail h1 { font-size: 36px; }
    .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}
