/* ============================================================
   Spread Motors — Showroom Digital
   Design tokens, typography, layout
   ============================================================ */

:root {
    --primary: #0A0A0B;
    --accent: #E8380D;
    --accent-glow: rgba(232, 56, 13, 0.12);
    --surface-1: rgba(255, 255, 255, 0.03);
    --surface-2: rgba(255, 255, 255, 0.06);
    --border: rgba(255, 255, 255, 0.07);
    --text-main: #F0F0F0;
    --text-dim: #888;
    --text-muted: #555;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --space-section: 7rem;
    --max-w: 1440px;
    --font-display: 'Syne', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--primary);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.5;
    font-weight: 400;
}

h1, h2, h3, .logo, .card-model, .prefooter-heading {
    font-family: var(--font-display);
    font-weight: 700;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ============================================================
   NAVBAR
   ============================================================ */
nav {
    padding: 1.1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(20px);
    background: rgba(10, 10, 11, 0.9);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    gap: 2rem;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.2px;
    color: var(--text-main);
    line-height: 1;
    display: inline-block;
}
.logo span { color: var(--accent); }

.logo-btn {
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
}
.logo-btn:hover { opacity: 0.7; }
.logo-btn:active { transform: scale(0.97); }

.nav-links {
    display: flex;
    gap: 2.2rem;
    list-style: none;
    align-items: center;
}
.nav-links a {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding: 6px 0;
    transition: color 0.25s;
}
.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 1.5px;
    width: 0;
    background: var(--accent);
    transition: width 0.3s ease;
}
.nav-links a:hover {
    color: var(--text-main);
}
.nav-links a:hover::after {
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}
.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(232, 56, 13, 0.35);
    color: var(--accent);
    padding: 9px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: background 0.25s, border-color 0.25s, color 0.25s;
}
.nav-cta:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}
.city-tag {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-main);
    font-size: 1.4rem;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    transition: background 0.25s;
}
.nav-hamburger:hover { background: var(--surface-1); }

.nav-mobile-panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 10, 11, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 1.4rem 5% 1.8rem;
    flex-direction: column;
    gap: 1rem;
}
.nav-mobile-panel a {
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}
.nav-mobile-panel a:last-of-type { border-bottom: none; }
.nav-mobile-panel .nav-cta { margin-top: 0.6rem; justify-content: center; }

nav.nav-open .nav-mobile-panel { display: flex; }

/* ============================================================
   HERO SECTION (Showroom)
   ============================================================ */
.hero-header {
    padding: 7rem 5% 5rem;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}
.hero-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 65% 90% at 90% 50%, var(--accent-glow) 0%, transparent 70%),
        radial-gradient(ellipse 35% 50% at 100% 0%, rgba(232, 56, 13, 0.05) 0%, transparent 60%);
    pointer-events: none;
}
.hero-header::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
    background-size: 52px 52px;
    -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.6), transparent 85%);
    mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.6), transparent 85%);
    pointer-events: none;
}

.hero-content {
    max-width: var(--max-w);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 2.5rem;
    background: rgba(232, 56, 13, 0.07);
    border: 1px solid rgba(232, 56, 13, 0.22);
    padding: 7px 16px 7px 12px;
    border-radius: 100px;
    font-family: var(--font-body);
}
.hero-tag.static { padding: 7px 16px; }
.hero-tag-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
    animation: pulse-dot 2.2s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(232, 56, 13, 0.5); }
    50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(232, 56, 13, 0); }
}

.hero-header h1 {
    font-size: clamp(2.6rem, 5.2vw, 4.6rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -1.6px;
    margin-bottom: 1.8rem;
    max-width: 880px;
    color: var(--text-main);
    padding-bottom: 0.08em;
}
.hero-accent {
    color: var(--accent);
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: #b8b8b8;
    max-width: 520px;
    margin-bottom: 3.5rem;
    line-height: 1.7;
    font-weight: 400;
    letter-spacing: 0.1px;
}

.hero-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}
.badge-item {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #d0d0d0;
    background: var(--surface-1);
    border: 1px solid var(--border);
    padding: 9px 16px;
    border-radius: 100px;
    transition: border-color 0.3s, background 0.3s;
}
.badge-item:hover {
    border-color: rgba(232, 56, 13, 0.3);
    background: rgba(232, 56, 13, 0.05);
}
.badge-check {
    width: 15px;
    height: 15px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.5rem;
    font-weight: 900;
    color: white;
}

/* Stat bar */
.hero-stats {
    display: flex;
    gap: 0;
    border-top: 1px solid var(--border);
    padding-top: 2.5rem;
    max-width: 760px;
}
.stat-item {
    flex: 1;
    padding: 0 1.6rem;
    border-right: 1px solid var(--border);
}
.stat-item:first-child { padding-left: 0; }
.stat-item:last-child { border-right: none; padding-right: 0; }
.stat-number {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.6rem, 2.4vw, 2.1rem);
    color: var(--text-main);
    letter-spacing: -1px;
    line-height: 1;
    margin-bottom: 0.5rem;
}
.stat-label {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.72rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1.3px;
    line-height: 1.35;
}

/* ============================================================
   SOBRE (Quem Somos)
   ============================================================ */
.sobre {
    padding: var(--space-section) 5%;
    border-bottom: 1px solid var(--border);
    position: relative;
}
.sobre-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 6rem;
    align-items: center;
}
.sobre-left h2 {
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin: 1.5rem 0 1.5rem;
    max-width: 560px;
}
.sobre-accent {
    color: var(--accent);
    font-weight: 700;
}
.sobre-left p {
    color: var(--text-dim);
    font-size: 0.98rem;
    line-height: 1.75;
    max-width: 520px;
}

.sobre-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.diff-row {
    display: flex;
    gap: 2rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border);
    align-items: flex-start;
    transition: background 0.25s ease, padding 0.25s ease;
}
.diff-row:last-child { border-bottom: 1px solid var(--border); }
.diff-row:hover { background: rgba(232, 56, 13, 0.025); padding-left: 0.5rem; }
.diff-num {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--accent);
    letter-spacing: 1.5px;
    line-height: 1.4;
    flex-shrink: 0;
    min-width: 32px;
    padding-top: 4px;
}
.diff-body strong {
    display: block;
    font-family: var(--font-body);
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 6px;
    letter-spacing: -0.2px;
}
.diff-body span {
    font-size: 0.88rem;
    color: var(--text-dim);
    line-height: 1.65;
}

/* ============================================================
   SERVIÇOS (Anuncie / Busca personalizada)
   ============================================================ */
.servicos {
    padding: var(--space-section) 5%;
    border-bottom: 1px solid var(--border);
    position: relative;
}
.servicos-inner {
    max-width: var(--max-w);
    margin: 0 auto;
}
.servicos-header {
    max-width: 720px;
    margin-bottom: 3.5rem;
}
.servicos-header h2 {
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin: 1.5rem 0 1.25rem;
}
.servicos-header p {
    color: var(--text-dim);
    font-size: 0.98rem;
    line-height: 1.75;
    max-width: 620px;
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
}

.servico-card {
    position: relative;
    padding: 2.5rem 2.25rem;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--border);
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
    overflow: hidden;
}
.servico-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.servico-card:hover {
    border-color: rgba(232, 56, 13, 0.35);
    transform: translateY(-4px);
    background: rgba(232, 56, 13, 0.02);
}
.servico-card:hover::before { opacity: 1; }

.servico-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(232, 56, 13, 0.08);
    border: 1px solid rgba(232, 56, 13, 0.22);
    color: var(--accent);
    margin-bottom: 1.5rem;
}
.servico-tag {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--text-dim);
    margin-bottom: 0.8rem;
}
.servico-card h3 {
    font-size: clamp(1.2rem, 1.6vw, 1.45rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.8px;
    color: var(--text-main);
    margin-bottom: 1rem;
}
.servico-card > p {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
.servico-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}
.servico-list li {
    position: relative;
    padding-left: 1.6rem;
    font-size: 0.9rem;
    color: var(--text-main);
    line-height: 1.55;
}
.servico-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(232, 56, 13, 0.12);
}
.servico-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: auto;
    padding: 14px 22px;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.92rem;
    letter-spacing: 0.2px;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    align-self: flex-start;
}
.servico-cta:hover {
    background: #ff5722;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -12px rgba(232, 56, 13, 0.55);
}

/* ============================================================
   INVENTORY
   ============================================================ */
.inventory-container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: var(--space-section) 5%;
}

.inventory-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}
.inventory-header-left .overline {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 0.6rem;
}
.inventory-header-left h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -1.5px;
    line-height: 1.1;
}
.inventory-count {
    display: block;
    margin-top: 0.6rem;
    font-size: 0.78rem;
    color: var(--text-dim);
    letter-spacing: 0.5px;
}

.filter-bar {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    align-items: flex-end;
}
.filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-end;
}
.filter-pill {
    padding: 7px 16px;
    border-radius: 100px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-dim);
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.filter-pill:hover {
    border-color: rgba(232, 56, 13, 0.3);
    color: var(--text-main);
}
.filter-pill.active {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}
.filter-bar.disabled {
    pointer-events: none;
    opacity: 0.4;
}

.inventory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.car-card {
    background: var(--surface-1);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}
.car-card:hover {
    transform: translateY(-3px);
    border-color: rgba(232, 56, 13, 0.25);
    background: var(--surface-2);
}

.img-wrapper {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    position: relative;
    background: #0a0a0a;
}

.card-carousel { position: absolute; inset: 0; }
.card-carousel img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.card-carousel img.active { opacity: 1; }

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    background: rgba(10, 10, 11, 0.65);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
    opacity: 0;
    transition: opacity 0.25s, background 0.25s, border-color 0.25s;
    z-index: 4;
    padding: 0;
}
.carousel-arrow.prev { left: 10px; }
.carousel-arrow.next { right: 10px; }
.img-wrapper:hover .carousel-arrow,
.modal-gallery:hover .carousel-arrow { opacity: 1; }
.carousel-arrow:hover {
    background: var(--accent);
    border-color: var(--accent);
}
.carousel-arrow.large {
    width: 48px;
    height: 48px;
    font-size: 1.4rem;
    opacity: 0.85;
}
.carousel-arrow.large.prev { left: 24px; }
.carousel-arrow.large.next { right: 24px; }

.carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    z-index: 4;
    padding: 5px 9px;
    background: rgba(10, 10, 11, 0.55);
    backdrop-filter: blur(6px);
    border-radius: 100px;
}
.carousel-dots .dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transition: background 0.25s, width 0.3s;
    cursor: pointer;
}
.carousel-dots .dot.active {
    background: white;
    width: 16px;
    border-radius: 3px;
}

.carousel-counter {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(10, 10, 11, 0.7);
    backdrop-filter: blur(6px);
    color: white;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 100px;
    letter-spacing: 0.5px;
    z-index: 4;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-family: var(--font-body);
}

.price-tag {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: var(--accent);
    padding: 6px 14px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: -0.3px;
    box-shadow: 0 8px 15px rgba(232, 56, 13, 0.2);
    color: white;
}

.card-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.card-brand {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent);
    letter-spacing: 2px;
}
.card-model {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0.4rem 0 1.2rem;
    letter-spacing: -0.5px;
    line-height: 1.15;
}

.card-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    border-top: 1px solid var(--border);
    padding-top: 1.2rem;
    margin-top: auto;
}
.spec-unit {
    font-size: 0.7rem;
    color: var(--text-dim);
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.spec-unit b {
    color: var(--text-main);
    font-size: 0.85rem;
    font-weight: 600;
}

.card-footer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 6px;
}

#sentinel {
    padding: 4rem;
    text-align: center;
    color: var(--text-dim);
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ============================================================
   PRE-FOOTER CTA (Contato)
   ============================================================ */
.prefooter-cta {
    background: linear-gradient(135deg, rgba(232, 56, 13, 0.07) 0%, rgba(232, 56, 13, 0.02) 50%, transparent 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 5rem 5%;
}
.prefooter-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.prefooter-overline {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 0.6rem;
}
.prefooter-heading {
    font-size: clamp(1.6rem, 3vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -1.5px;
    line-height: 1.1;
}
.prefooter-trust {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-dim);
    letter-spacing: 0.3px;
}
.prefooter-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.prefooter-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #25D366;
    color: white;
    padding: 1rem 1.8rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: transform 0.25s, box-shadow 0.25s;
    flex-shrink: 0;
}
.prefooter-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(37, 211, 102, 0.25);
}
.prefooter-btn.ghost {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border);
}
.prefooter-btn.ghost:hover {
    background: var(--surface-2);
    border-color: var(--accent);
    box-shadow: none;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
    background: #050505;
    border-top: 1px solid var(--border);
}
.footer-main {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 5rem 5% 4rem;
    display: grid;
    grid-template-columns: 1.8fr 1.2fr 1fr 1fr;
    gap: 4rem;
}
.footer-brand p {
    color: var(--text-dim);
    font-size: 0.85rem;
    line-height: 1.8;
    max-width: 340px;
}
.footer-brand .logo { margin-bottom: 1.2rem; }

.footer-title {
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-dim);
    letter-spacing: 2.5px;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
    font-family: var(--font-body);
}

.footer-address {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.footer-address svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--accent);
}
.footer-address-lines {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.footer-address-lines span {
    color: var(--text-dim);
    font-size: 0.85rem;
    line-height: 1.5;
}
.footer-map-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.3px;
    transition: opacity 0.2s;
}
.footer-map-link:hover { opacity: 0.65; }

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-dim);
    font-size: 0.85rem;
    margin-bottom: 14px;
    transition: color 0.25s;
}
.footer-contact-item svg {
    color: var(--accent);
    flex-shrink: 0;
}
.footer-contact-item:hover { color: var(--text-main); }

.footer-hours {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.hours-row span {
    color: var(--text-dim);
    font-size: 0.8rem;
}
.hours-row b {
    color: var(--text-main);
    font-size: 0.8rem;
    font-weight: 600;
}
.hours-closed {
    color: var(--text-dim) !important;
    opacity: 0.5;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 2rem 5%;
}
.footer-bottom-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.72rem;
    color: var(--text-dim);
}
.platform-tag {
    color: var(--text-dim);
    transition: color 0.2s;
}
.platform-tag:hover { color: var(--text-main); }
.platform-tag b { color: var(--text-main); }

/* ============================================================
   MODAL
   ============================================================ */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(20px);
    display: none;
    z-index: 2000;
    overflow-y: auto;
}
.modal.open { display: block; }

.modal-content {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    min-height: 100vh;
}
.modal-gallery {
    position: sticky;
    top: 0;
    background: #000;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    width: 100%;
    height: 100%;
}
.track::-webkit-scrollbar { display: none; }
.track img {
    flex: 0 0 100%;
    scroll-snap-align: start;
    object-fit: contain;
}

.modal-info {
    padding: 4rem 3rem;
    background: #0c0c0c;
    border-left: 1px solid var(--border);
}
.modal-overline {
    color: var(--accent);
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.modal-info h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 700;
    margin: 10px 0 25px;
    letter-spacing: -1.5px;
    line-height: 1.1;
}
.modal-features { margin-bottom: 30px; }

.tech-tag {
    background: var(--surface-1);
    border: 1px solid var(--border);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
    margin: 0 8px 8px 0;
    color: var(--text-main);
}

.modal-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    background: rgba(255, 255, 255, 0.02);
    padding: 25px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    margin-bottom: 30px;
}
.modal-spec {
    font-size: 0.78rem;
    color: var(--text-dim);
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.modal-spec b {
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 600;
}

.modal-price {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -2px;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    border: none;
    padding: 1.2rem;
    border-radius: var(--radius-sm);
    font-weight: 800;
    font-family: var(--font-body);
    cursor: pointer;
    width: 100%;
    text-align: center;
    text-transform: uppercase;
    display: block;
    margin-top: 2rem;
    letter-spacing: 1px;
    font-size: 0.85rem;
    transition: transform 0.25s, box-shadow 0.25s;
}
.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 35px rgba(37, 211, 102, 0.25);
}

.close {
    position: fixed;
    top: 25px;
    right: 25px;
    z-index: 3000;
    background: var(--accent);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
    border: none;
    transition: transform 0.25s;
}
.close:hover { transform: scale(1.08); }


/* Modal sections — equipamentos & observações */
.modal-section { margin: 1.8rem 0; }
.modal-section-title {
    font-family: var(--font-body);
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--text-dim);
    margin-bottom: 1rem;
    padding-bottom: 0.7rem;
    border-bottom: 1px solid var(--border);
}
.modal-optionals {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
}
.optional-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    color: var(--text-main);
    line-height: 1.4;
}
.optional-item .check {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(232, 56, 13, 0.12);
    border: 1px solid rgba(232, 56, 13, 0.45);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.55rem;
    font-weight: 900;
    flex-shrink: 0;
}
.modal-description {
    font-size: 0.88rem;
    color: #c0c0c0;
    line-height: 1.8;
    white-space: pre-wrap;
    padding: 0.2rem 0 0.2rem 1rem;
    border-left: 2px solid var(--accent);
}

@media (max-width: 520px) {
    .modal-optionals { grid-template-columns: 1fr; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    .modal-content { grid-template-columns: 1fr; }
    .modal-gallery {
        height: 45vh;
        position: relative;
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-right .nav-cta,
    .nav-right .city-tag {
        display: none;
    }
    .nav-hamburger { display: inline-flex; }

    .hero-header { padding: 5rem 5% 4rem; }
    .hero-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 1.25rem;
        row-gap: 1.5rem;
        padding-top: 2rem;
    }
    .stat-item {
        padding: 0 0 1.2rem 0;
        border-right: none;
        border-bottom: 1px solid var(--border);
        align-self: stretch;
    }
    .stat-item:nth-last-child(-n+2) { border-bottom: none; padding-bottom: 0; }
    .stat-item:first-child { padding-left: 0; }

    .inventory-header { flex-direction: column; align-items: flex-start; }
    .filter-bar { align-items: flex-start; width: 100%; }
    .filter-group { justify-content: flex-start; }

    .sobre { padding: 5rem 5%; }
    .sobre-inner { grid-template-columns: 1fr; gap: 3rem; }

    .servicos { padding: 5rem 5%; }
    .servicos-grid { grid-template-columns: 1fr; gap: 1.25rem; }
    .servico-card { padding: 2rem 1.6rem; }
    .modal-info { padding: 2.5rem 1.5rem; }
}

@media (max-width: 640px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .prefooter-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .hero-header h1 { letter-spacing: -1px; }
}

@media (max-width: 480px) {
    .inventory-grid { grid-template-columns: 1fr; }
}
