@import url('https://fonts.googleapis.com/css2?family=Google+Sans+Flex:ital,opsz,wght@0,8..144,100..900;1,8..144,100..900&display=swap');

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Crednor Veículos — tema claro + paleta marca */
    --gold: #fe7608;
    --luxury-gold: #fe7608;
    --gold-light: #ff8f3a;
    --gold-dark: #c85d06;
    --gold-glow: rgba(254, 118, 8, 0.32);
    --silver: #4463a8;
    --silver-muted: #5a6ea8;
    --white: #ffffff;
    --off-white: #eef1f8;
    --light-gray: #d5d5d1;
    --mid-gray: rgba(0, 0, 0, 0.1);
    --dark-gray: #ececea;
    --bg-void: #f1f1ef;
    --bg-surface: #e7e7e3;
    --bg-elevated: #dfdfdb;
    --bg-card: #fafaf8;
    --text-dark: #1f47a6;
    --text-muted: #5a6ea8;
    --price-color: #05695b;
    --price-muted: rgba(5, 105, 91, 0.62);
    --header-height: 76px;
    /* Larguras de conteúdo — sobem em 2K / 4K para não “encolher” no centro da tela */
    --layout-max: 1200px;
    --layout-max-tight: 1100px;
    --layout-max-lux: 960px;
    --layout-max-narrow: 900px;
    --hero-text-max: 720px;
    --hero-fallback-max: 700px;
}

@media (min-width: 1600px) {
    :root {
        --layout-max: 1400px;
        --layout-max-tight: 1280px;
        --layout-max-lux: 1100px;
        --layout-max-narrow: 1020px;
        --hero-text-max: 820px;
        --hero-fallback-max: 780px;
    }
}

@media (min-width: 1920px) {
    :root {
        --layout-max: 1520px;
        --layout-max-tight: 1380px;
        --layout-max-lux: 1180px;
        --layout-max-narrow: 1100px;
        --hero-text-max: 880px;
        --hero-fallback-max: 820px;
    }
}

@media (min-width: 2560px) {
    :root {
        --layout-max: 1680px;
        --layout-max-tight: 1520px;
        --layout-max-lux: 1280px;
        --layout-max-narrow: 1200px;
        --hero-text-max: 960px;
        --hero-fallback-max: 880px;
    }
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Base fluida: leve ganho em telas grandes (2K/4K) sem estourar em mobile */
    font-size: clamp(16px, 0.22vw + 14.75px, 20px);
}

/* Tente aplicar em ambos para garantir */
html, body {
  scroll-behavior: smooth !important;
}

body {
    font-family: 'Google Sans Flex', system-ui, sans-serif;
    background-color: var(--bg-void);
    color: var(--text-dark);
    line-height: 1.65;
    font-size: 1rem;
    text-rendering: optimizeLegibility;
    font-optical-sizing: auto;
}

/* Rodapé colado ao fim da viewport (site público) */
body.site-body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-main-grow {
    flex: 1 0 auto;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ── HEADER ─────────────────────────────── */
.site-header {
    background: rgba(247, 247, 245, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: none;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0 1.5rem;
    transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.header-inner {
    max-width: var(--layout-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.header-logo {
    display: flex;
    align-items: center;
    transition: opacity 0.25s ease;
}

.header-logo:hover {
    opacity: 0.88;
}

.header-logo img {
    height: clamp(80px, 2.5vw, 52px);
    width: auto;
    opacity: 1;
    object-fit: contain;
    margin-bottom: 5px;
}

.site-nav {
    display: flex;
    align-items: center;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: none; /* sem contorno */
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.035);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    transition: background 0.25s ease, opacity 0.25s ease;
}

.menu-toggle:hover {
    background: rgba(0, 0, 0, 0.07);
}

.menu-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: rgba(31, 71, 166, 0.9);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.header-nav {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.header-nav a {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: none;
    color: rgba(31, 71, 166, 0.88);
    position: relative;
    padding: 0.35rem 0;
    transition: color 0.3s ease;
}

.header-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform 0.35s ease;
}

.header-nav a:hover {
    color: var(--text-dark);
}

.header-nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left center;
}

/* ── BUSCA DE VEÍCULOS (home) ───────────────────────────────── */
.vehicle-search-strip {
    background: linear-gradient(180deg, rgba(252, 252, 250, 0.98) 0%, rgba(241, 241, 239, 0.96) 100%);
    border-bottom: none;
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(0, 0, 0, 0.04);
    padding: 1rem 1.5rem 1.15rem;
}

.vehicle-search-inner {
    max-width: var(--layout-max);
    margin: 0 auto;
}

.vehicle-search-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.vehicle-search-field {
    position: relative;
    display: flex;
    align-items: center;
}

.vehicle-search-icon {
    position: absolute;
    left: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    color: rgba(254, 118, 8, 0.55);
    pointer-events: none;
    z-index: 1;
    transition: color 0.25s ease;
}

.vehicle-search-input {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    padding: 0.85rem 1rem 0.85rem 3.15rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.04);
    color: var(--text-dark);
    font-family: 'Google Sans Flex', system-ui, sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    outline: none;
    box-shadow:
        0 2px 16px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.55);
    transition:
        border-color 0.28s ease,
        background 0.28s ease,
        box-shadow 0.28s ease;
}

.vehicle-search-input::placeholder {
    color: rgba(31, 71, 166, 0.45);
    font-weight: 400;
}

.vehicle-search-field:focus-within .vehicle-search-icon {
    color: rgba(254, 118, 8, 0.88);
}

.vehicle-search-input:hover {
    border-color: rgba(254, 118, 8, 0.22);
    background: rgba(0, 0, 0, 0.05);
}

.vehicle-search-input:focus {
    border-color: rgba(254, 118, 8, 0.45);
    background: rgba(0, 0, 0, 0.055);
    box-shadow:
        0 0 0 1px rgba(254, 118, 8, 0.12),
        0 8px 32px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.vehicle-search-empty {
    grid-column: 1 / -1;
    text-align: center;
    font-family: 'Google Sans Flex', system-ui, sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-muted);
    padding: 2.5rem 1rem 1rem;
    margin: 0;
    letter-spacing: 0.04em;
}

/* Busca embutida na seção Showroom (entre subtítulo e grade) */
#colecao .section-subtitle {
    margin-bottom: 1.15rem;
}

.vehicle-search-strip--section {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0 0 2.25rem;
    margin: 4% auto 0;
}

.vehicle-search-strip--section .vehicle-search-inner {
    max-width: min(100%, var(--layout-max));
}

@media (max-width: 640px) {
    /* Smartphones: aumenta o espaçamento do subtítulo até a caixa de busca */
    #colecao .section-subtitle {
        margin-bottom: 2.3rem; /* dobro de 1.15rem */
    }

    /* Smartphones: aproxima subtítulos em relação ao título acima */
    #colecao .section-title,
    #localizacao .section-title {
        margin-bottom: 0.455rem; /* 30% menor que 0.65rem */
    }
}

/* ── HERO ────────────────────────────────── */
.hero {
    background:
        radial-gradient(ellipse 120% 80% at 50% 0%, rgba(254, 118, 8, 0.12) 0%, transparent 55%),
        linear-gradient(165deg, #f7f7f5 0%, #ebebe7 45%, #f1f1ef 100%);
    min-height: 72vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 100%, rgba(254, 118, 8, 0.08) 0%, transparent 55%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: var(--hero-fallback-max);
}

.hero-logo {
    height: clamp(100px, 18vw, 160px);
    margin: 0 auto 2rem;
    opacity: 0.98;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.12));
}

.hero-tagline {
    font-family: 'Google Sans Flex', system-ui, sans-serif;
    font-size: clamp(2rem, 5.5vw, 3.5rem);
    color: var(--text-dark);
    font-weight: 500;
    letter-spacing: 0.06em;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.hero-sub {
    color: var(--silver);
    font-size: 0.82rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    font-weight: 500;
}

.gold-divider {
    width: 72px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), var(--gold-light), transparent);
    margin: 1.75rem auto;
}

/* ── SECTION ─────────────────────────────── */
.section {
    padding: 5.5rem 1.5rem;
    background: var(--bg-surface);
    position: relative;
}

.section-title {
    font-family: 'Google Sans Flex', system-ui, sans-serif;
    font-size: clamp(1.85rem, 3.5vw, 2.75rem);
    font-weight: 500;
    text-align: center;
    margin-bottom: 0.65rem;
    color: var(--text-dark);
    letter-spacing: 0.04em;
}

.section-subtitle {
    text-align: center;
    color: var(--gold-light);
    font-size: 0.72rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 3.5rem;
    margin-top: -1%;
}

/* ── LOCATION ─────────────────────────────── */
.location-inner {
    max-width: var(--layout-max);
    margin: 0 auto;
}

.location-section {
    padding: 5.5rem 1.5rem;
    background: linear-gradient(180deg, var(--bg-void) 0%, #dcdcd6 100%);
}

.location-card {
    max-width: none;
    margin: 0;
    background: var(--bg-elevated);
    border: 1px solid rgba(254, 118, 8, 0.2);
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.04) inset,
        0 24px 64px rgba(0, 0, 0, 0.08);
    padding: 0;
    border-radius: 4px;
    text-align: left;
    overflow: hidden;
}

.location-photo-wrap {
    width: 100%;
    aspect-ratio: 16 / 9; /* menos recorte vertical (mantém topo do prédio) */
    background: rgba(0, 0, 0, 0.04);
    position: relative;
}

.location-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
    display: block;
}

.location-overlay {
    position: absolute;
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1.25rem;
    z-index: 3;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
}

.location-pill-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.location-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.05rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.11);
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: rgba(31, 71, 166, 0.92);
    font-weight: 700;
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.location-pill svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: block;
}

.location-pill-brand {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.12));
}

.location-pill:hover .location-pill-brand {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.16));
}

.location-pill:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 0, 0, 0.14);
    background: rgba(255, 255, 255, 0.88);
}

.location-card-content {
    padding: 2rem 2.25rem 2.25rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.1rem;
}

.location-actions {
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
}

.location-social {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.6rem;
}

.btn-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.05rem;
    border-radius: 2px;
    border: 1px solid rgba(0, 0, 0, 0.09);
    background: rgba(0, 0, 0, 0.04);
    color: rgba(31, 71, 166, 0.94);
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.btn-social:hover {
    transform: translateY(-2px);
    border-color: rgba(254, 118, 8, 0.55);
    background: rgba(254, 118, 8, 0.10);
}

.location-address {
    font-size: 1.02rem;
    color: rgba(31, 71, 166, 0.92);
    line-height: 1.95;
    margin-bottom: 1.85rem;
}

.location-dealer-name {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.08em;
}

.btn-maps {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border-radius: 2px;
    border: 1px solid rgba(0, 0, 0, 0.09);
    box-shadow: 0 4px 24px var(--gold-glow);
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.btn-maps:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 36px var(--gold-glow);
    filter: brightness(1.08);
}

/* ── PRODUCT GRID ────────────────────────── */
/* Mobile: 1 por linha; tablet/desktop: 3 colunas */
.product-grid {
    max-width: var(--layout-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.product-card {
    background: var(--bg-card);
    border: 1px solid rgba(0, 0, 0, 0.07);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease, border-color 0.35s ease;
    cursor: pointer;
    overflow: hidden;
    border-radius: 2px;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 24px 56px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(254, 118, 8, 0.25);
    border-color: rgba(254, 118, 8, 0.35);
}

.product-card:hover .product-card-overlay {
    opacity: 1;
}

.product-card-img-wrap {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(145deg, #e4e4e0 0%, #f0f0ec 100%);
}

.product-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.5s ease;
}

.product-card:hover .product-card-img-wrap img {
    transform: scale(1.05);
}

.product-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(241, 241, 239, 0.15) 0%, rgba(18, 18, 20, 0.45) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card-overlay span {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    padding: 0.75rem 1.75rem;
    border-radius: 2px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #e2e2de 0%, #f2f2f0 100%);
}

.placeholder-img svg {
    width: 52px;
    height: 52px;
    opacity: 0.25;
    color: var(--gold-light);
}

.product-card-body {
    padding: 1.5rem 1.5rem 1.65rem;
    border-top: 1px solid rgba(0, 0, 0, 0.055);
    background: linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg-card) 100%);
}

.product-card-name {
    font-family: 'Google Sans Flex', system-ui, sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.45rem;
    line-height: 1.25;
}

.product-card-cta {
    font-size: 0.68rem;
    color: var(--gold-light);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.product-card-cta::after {
    content: '→';
    transition: transform 0.2s;
}

.product-card:hover .product-card-cta::after {
    transform: translateX(4px);
}

.no-products {
    text-align: center;
    color: var(--text-muted);
    padding: 4rem 0;
    font-family: 'Google Sans Flex', system-ui, sans-serif;
    font-size: 1.35rem;
    grid-column: 1 / -1;
}

/* ── PRODUCT PAGE ────────────────────────── */
.product-page {
    max-width: var(--layout-max-tight);
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.breadcrumb {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.breadcrumb a {
    color: var(--gold-light);
    transition: color 0.25s ease;
}

.breadcrumb a:hover { color: var(--text-dark); }
.breadcrumb span { margin: 0 0.5rem; }

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.product-main-img-wrap {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--light-gray);
    border: 1px solid var(--mid-gray);
}

.product-main-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-main-img-wrap:hover img {
    transform: scale(1.03);
}

.product-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.gallery-thumb {
    aspect-ratio: 1;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    background: var(--light-gray);
    transition: border-color 0.2s;
}

.gallery-thumb.active,
.gallery-thumb:hover {
    border-color: var(--gold);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding-top: 0.5rem;
}

.product-title {
    font-family: 'Google Sans Flex', system-ui, sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.product-divider {
    width: 50px;
    height: 2px;
    background: var(--gold);
    margin-bottom: 1.5rem;
}

.product-description {
    color: var(--text-muted);
    line-height: 1.9;
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

/* WhatsApp Button */
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: #25D366;
    color: #ffffff;
    padding: 1rem 2rem;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    width: 100%;
    justify-content: center;
    text-align: center;
    margin-bottom: 1rem;
    margin-top: -5rem;
}

.btn-whatsapp:hover {
    background: #1a9e4a;
    transform: translateY(-2px);
}

.btn-whatsapp svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gold-light);
    font-size: 0.78rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 700;
    transition: color 0.25s ease, opacity 0.25s ease;
}

.btn-back:hover { opacity: 0.85; color: var(--text-dark); }

/* ── FOOTER ──────────────────────────────── */
.site-footer {
    background: linear-gradient(180deg, #f7f7f5 0%, #ececea 100%);
    color: rgba(31, 71, 166, 0.78);
    padding: 3.5rem 1.5rem 2rem;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    border-top: none;
    box-shadow: 0 -12px 48px rgba(0, 0, 0, 0.06);
}

@media (min-width: 1024px) {
    .site-footer {
        margin-top: 0 !important;
    }
}

.footer-inner {
    max-width: var(--layout-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: left;
}

@media (min-width: 768px) {
    .footer-inner {
        grid-template-columns: 1.2fr 1fr 1fr;
        gap: 3rem;
        align-items: start;
    }
}

.footer-brand .footer-tagline {
    font-size: 0.8rem;
    line-height: 1.65;
    color: var(--text-muted);
    max-width: 22rem;
}

/* Computadores / Desktop */
@media (min-width: 1025px) {
    .footer-col {
        margin-left: 28%;
    }
}

.footer-col h3 {
    font-family: 'Google Sans Flex', system-ui, sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-dark);
    margin-bottom: 1.1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li + li {
    margin-top: 0.65rem;
}

.footer-col a {
    color: rgba(31, 71, 166, 0.76);
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    transition: color 0.25s ease;
}

.footer-col a:hover {
    color: var(--gold-light);
}

.footer-bottom {
    max-width: var(--layout-max);
    margin: 2.5rem auto 0;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(0, 0, 0, 0.055);
    text-align: center;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    color: var(--silver-muted);
}

@media (max-width: 767px) {
    .footer-inner {
        text-align: center;
    }

    .footer-brand .footer-tagline {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-col ul {
        padding: 0;
    }
}

/* Link só no tamanho do logo */
.site-footer .footer-logo-link {
    display: inline-block;
    width: max-content;
    max-width: 100%;
    line-height: 0;
    text-decoration: none;
    cursor: pointer;
    vertical-align: top;
}

.site-footer .footer-logo {
    height: clamp(100px, 5vw, 56px);
    width: auto;
    max-width: 100%;
    margin: 0 0 0;
    opacity: 1;
    object-fit: contain;
}

@media (max-width: 767px) {
    .site-footer .footer-logo {
        height: clamp(88px, 10vw, 112px);
        margin-bottom: 0.75rem;
    }
}

.site-footer .footer-logo-link:hover .footer-logo {
    opacity: 0.88;
}

.site-footer a {
    color: var(--gold-light);
    transition: color 0.25s ease;
}

.site-footer a:hover {
    color: var(--text-dark);
}

.site-footer .footer-col a {
    color: rgba(31, 71, 166, 0.76);
}

.site-footer .footer-col a:hover {
    color: var(--gold-light);
}

/* WhatsApp Fixed Button (mobile) */
.whatsapp-fab {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    background: #25D366;
    color: #ffffff;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 8px 28px rgba(0, 0, 0, 0.12); /* remove contorno dourado */
    z-index: 999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-fab:hover {
    transform: scale(1.06);
    box-shadow:
        0 12px 36px rgba(37, 211, 102, 0.28);
}

.whatsapp-fab svg {
    width: 28px;
    height: 28px;
}

/* ── ADMIN ───────────────────────────────── */
.admin-body {
    background: var(--bg-void);
    min-height: 100vh;
    font-family: 'Google Sans Flex', system-ui, sans-serif;
    color: var(--text-dark);
}

.admin-login-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(135deg, #e8e8e0 0%, #d4d4c8 100%);
}

.admin-login-box {
    background: var(--bg-card);
    padding: 3rem 2.5rem;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 24px 72px rgba(0,0,0,0.1);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.admin-login-logo-link {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.admin-login-logo-link:hover {
    opacity: 0.88;
}

.admin-login-logo {
    display: block;
    height: auto;
    width: auto;
    max-width: 100%;
    max-height: 120px;
    margin: 0 auto;
    object-fit: contain;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(31, 71, 166, 0.82);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.11);
    background: rgba(0, 0, 0, 0.055);
    font-family: 'Google Sans Flex', system-ui, sans-serif;
    font-size: 0.95rem;
    color: var(--text-dark);
    outline: none;
    transition: border-color 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(31, 71, 166, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--gold);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.btn-primary {
    width: 100%;
    padding: 1rem;
    background: var(--gold);
    color: #ffffff;
    border: none;
    font-family: 'Google Sans Flex', system-ui, sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.btn-primary:hover {
    background: var(--gold-dark);
    transform: translateY(-1px);
}

.btn-secondary {
    padding: 0.6rem 1.2rem;
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
    font-family: 'Google Sans Flex', system-ui, sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--gold);
    color: #ffffff;
}

.btn-danger {
    padding: 0.6rem 1.2rem;
    background: transparent;
    color: #c0392b;
    border: 1px solid #c0392b;
    font-family: 'Google Sans Flex', system-ui, sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-danger:hover {
    background: #c0392b;
    color: #ffffff;
}

.alert {
    padding: 0.9rem 1.2rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    border-left: 3px solid;
}

.alert-error {
    background: rgba(192, 57, 43, 0.14);
    border-color: rgba(192, 57, 43, 0.55);
    color: #ffb3ad;
}

.alert-success {
    background: rgba(39, 174, 96, 0.14);
    border-color: rgba(39, 174, 96, 0.55);
    color: #000000;
}

/* Admin Layout */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 240px;
    background: linear-gradient(180deg, #ebebe7 0%, #deded8 100%);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(254, 118, 8, 0.12);
}

.admin-sidebar-logo {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.07);
}

.admin-sidebar-logo img {
    height: 80px;
    width: auto;
    max-width: 100%;
    margin: 0 auto;
    object-fit: contain;
}

.admin-sidebar-logo-link {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(254, 118, 8, 0.2);
    transition: opacity 0.2s ease;
}

.admin-sidebar-logo-link:hover,
.admin-sidebar-logo-link:focus-visible {
    opacity: 0.88;
    outline: none;
}

.admin-sidebar-logo-link:focus-visible {
    box-shadow: 0 0 0 2px rgba(254, 118, 8, 0.45);
    border-radius: 4px;
}

.admin-nav {
    padding: 1.5rem 0;
    flex: 1;
}

.admin-nav a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.5rem;
    color: rgba(18,18,20,0.58);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.2s;
    border-left: 2px solid transparent;
}

.admin-nav a:hover,
.admin-nav a.active {
    color: #1f47a6;
    background: rgba(254, 118, 8, 0.12);
    border-left-color: var(--gold);
}

.admin-nav a svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    opacity: 0.7;
}

.admin-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 0;
}

.admin-topbar {
    background: rgba(252, 252, 250, 0.95);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 0 2rem;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.admin-topbar h1 {
    font-family: 'Google Sans Flex', system-ui, sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-dark);
}

.admin-topbar-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-content {
    flex: 1;
    padding: 2rem;
    overflow-y: auto;
    overflow-x: auto;
    min-width: 0;
}

/* Product Table */
.admin-card {
    background: var(--bg-card);
    border: 1px solid rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* Permite menus suspensos na tabela (dropdown de ações) sem recorte */
.admin-card--overflow-visible {
    overflow: visible;
}

/* Dashboard: lista em cards — sem rolagem horizontal no painel */
.admin-card-dashboard-scroll {
    max-width: 100%;
    overflow-x: visible;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
}

.admin-dashboard-fixed-width {
    min-width: 0;
    width: 100%;
    max-width: 100%;
}

/* Rolagem horizontal genérica para tabelas no admin */
.table-responsive {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
}

/* Evita barra dupla: o painel do dashboard já rola em .admin-card-dashboard-scroll */
.table-responsive--dashboard {
    overflow-x: visible;
}

/*
 * Dashboard — veículos em grade de cards (igual tablet em todas as larguras).
 * Reverter: backup-dashboard-cards-desktop-2026-05-09/style.css
 */
.product-table-mobile-stack {
    display: block;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.product-table-mobile-stack thead {
    display: none;
}

.product-table-mobile-stack tbody {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.65rem 0.5rem;
    width: 100%;
}

/* Tablet: três cards por linha */
@media (max-width: 1024px) {
    .product-table-mobile-stack tbody {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Celular: dois cards por linha */
@media (max-width: 767px) {
    .product-table-mobile-stack tbody {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.product-table-mobile-stack tbody tr {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0.55rem 0.45rem;
    border: 1px solid var(--mid-gray);
    border-radius: 8px;
    background: var(--bg-card);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.product-table-mobile-stack tbody td {
    display: block;
    width: 100%;
    border: 0;
    padding: 0.22rem 0;
}

.product-table-mobile-stack tbody td.col-drag {
    padding-bottom: 0.35rem;
    border-bottom: 1px solid var(--light-gray);
    margin-bottom: 0.25rem;
}

.product-table-mobile-stack tbody td.col-product-actions {
    order: 10;
}

.product-table-mobile-stack tbody .drag-handle {
    width: 100%;
    max-width: 100%;
    min-height: 44px;
    height: auto;
}

.product-table-mobile-stack tbody td.col-drag[data-label]::before {
    display: none;
}

/* Só o botão “Ações”; evita repetir o rótulo do ::before (data-label) */
.product-table-mobile-stack td[data-label="Ações"]::before {
    display: none;
}

.product-table-mobile-stack td[data-label]::before {
    content: attr(data-label) ": ";
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(31, 71, 166, 0.68);
}

.product-table-mobile-stack td[data-label="Imagem"]::before {
    display: block;
    margin-bottom: 0.35rem;
}

.product-table-mobile-stack .table-thumb,
.product-table-mobile-stack .table-thumb-placeholder {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.product-table-mobile-stack .table-thumb-placeholder {
    min-height: 88px;
}

.product-table-mobile-stack tbody td[data-label="Nome"] strong {
    font-size: 0.8rem;
    line-height: 1.25;
}

.product-table-mobile-stack .table-actions {
    flex-direction: column;
    align-items: stretch;
    margin-top: 0.35rem;
}

.product-table-mobile-stack .table-actions .table-action-dropdown {
    width: 100%;
}

.product-table-mobile-stack .table-actions .table-action-dropdown__toggle {
    width: 100%;
    justify-content: center;
    min-height: 44px;
    font-size: 0.68rem;
}

.product-table-mobile-stack .table-actions .table-action-dropdown__menu {
    left: 0;
    right: 0;
    min-width: 0;
}

.admin-card-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--mid-gray);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.admin-card-title {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(31, 71, 166, 0.76);
}

.product-table {
    width: 100%;
    border-collapse: collapse;
}

.product-table th {
    padding: 0.75rem 1.5rem;
    text-align: left;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(31, 71, 166, 0.68);
    border-bottom: 1px solid var(--mid-gray);
    background: rgba(0, 0, 0, 0.055);
}

.product-table td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--light-gray);
    font-size: 0.9rem;
    vertical-align: middle;
}

.product-table tr:last-child td {
    border-bottom: none;
}

.product-table tr:hover td {
    background: rgba(0, 0, 0, 0.035);
}

.table-thumb {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border: 1px solid var(--mid-gray);
}

.table-thumb-placeholder {
    width: 52px;
    height: 52px;
    background: var(--light-gray);
    border: 1px solid var(--mid-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}

.table-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

/* Menu de ações (dashboard — um botão, três opções) */
.table-action-dropdown {
    position: relative;
    display: inline-block;
}

.table-action-dropdown__toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding-left: 0.75rem;
    padding-right: 0.65rem;
}

.table-action-dropdown__caret {
    flex-shrink: 0;
    opacity: 0.85;
    transition: transform 0.2s ease;
}

.table-action-dropdown.is-open .table-action-dropdown__caret {
    transform: rotate(180deg);
}

.table-action-dropdown__menu {
    position: absolute;
    right: 0;
    bottom: calc(100% + 0.35rem);
    top: auto;
    min-width: 11rem;
    z-index: 100;
    background: rgba(252, 252, 250, 0.98);
    border: 1px solid rgba(0, 0, 0, 0.09);
    border-radius: 6px;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.1);
    padding: 0.35rem 0;
}

.table-action-dropdown__item {
    display: block;
    padding: 0.55rem 1rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(31, 71, 166, 0.92);
    text-decoration: none;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
}

.table-action-dropdown__item:hover {
    background: rgba(254, 118, 8, 0.12);
    color: var(--gold);
}

.table-action-dropdown__item--danger {
    color: #e07070 !important;
}

.table-action-dropdown__item--danger:hover {
    color: #ffb4b4 !important;
    background: rgba(176, 51, 51, 0.15) !important;
}

/* Ordenação por arrastar (dashboard) */
.admin-hint-tight {
    margin: 0.4rem 0 0;
    max-width: 28rem;
    line-height: 1.45;
}

.admin-header-actions-stack {
    flex-direction: column;
    align-items: flex-end;
    gap: 0.35rem;
}

.order-save-status {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--gold);
    min-height: 1.25em;
}

.order-save-status--error {
    color: #b33;
}

.product-table .col-drag {
    width: 56px;
    text-align: center;
    vertical-align: middle;
}

.product-table .col-product-actions {
    white-space: nowrap;
    vertical-align: middle;
}

.drag-handle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    margin: 0;
    border: 1px solid var(--mid-gray);
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.055);
    color: rgba(31, 71, 166, 0.72);
    cursor: grab;
    vertical-align: middle;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
    /* Touch / long-press: não delegar gesto ao navegador (scroll, callout, seleção) */
    touch-action: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}

.drag-handle:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(254, 118, 8, 0.10);
}

.drag-handle:active {
    cursor: grabbing;
}

.sortable-ghost {
    opacity: 0.5;
    background: rgba(0, 0, 0, 0.055) !important;
}

.sortable-ghost td {
    background: transparent !important;
}

.sortable-chosen {
    background: rgba(0, 0, 0, 0.04);
}

.sortable-chosen .drag-handle {
    cursor: grabbing;
    touch-action: none;
}

/* Evita menu nativo ao manter pressionado imagens dentro do cartão (dashboard) */
#product-sortable .table-thumb {
    -webkit-touch-callout: none;
    -webkit-user-drag: none;
    user-select: none;
    pointer-events: none;
}

#product-sortable .table-thumb-placeholder {
    -webkit-touch-callout: none;
    user-select: none;
}

.sortable-drag {
    opacity: 0.98;
}

/* Upload area */
.upload-area {
    border: 2px dashed var(--mid-gray);
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    background: rgba(0, 0, 0, 0.045);
}

.upload-area:hover,
.upload-area.drag-over {
    border-color: var(--gold);
    background: rgba(254, 118, 8, 0.10);
}

.upload-area-text {
    font-size: 0.85rem;
    color: rgba(31, 71, 166, 0.68);
}

.upload-area-icon {
    width: 36px;
    height: 36px;
    margin: 0 auto 0.75rem;
    opacity: 0.4;
    color: var(--gold);
}

.img-preview-wrap {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.img-preview {
    position: relative;
    width: 90px;
    height: 90px;
    border: 1px solid var(--mid-gray);
    overflow: hidden;
}

.img-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-preview-remove {
    position: absolute;
    top: 2px;
    right: 2px;
    background: rgba(40, 40, 42, 0.75);
    color: white;
    border: none;
    width: 18px;
    height: 18px;
    cursor: pointer;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    line-height: 1;
}

/* Stats cards */
.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: rgba(0, 0, 0, 0.025);
    border: 1px solid rgba(0, 0, 0, 0.09);
    padding: 1.5rem;
    border-top: 3px solid var(--gold);
}

.stat-value {
    font-family: 'Google Sans Flex', system-ui, sans-serif;
    font-size: 2.2rem;
    font-weight: 400;
    color: var(--text-dark);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
    .header-inner {
        height: var(--header-height);
    }

    .menu-toggle {
        display: inline-flex;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 1rem;
        right: 1rem;
        background: rgba(252, 252, 250, 0.98);
        border: none;
        box-shadow: 0 24px 48px rgba(0, 0, 0, 0.09);
        padding: 0.75rem 1rem;
        border-radius: 4px;
    }

    .site-nav.open {
        display: block;
    }

    .product-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-gallery {
        grid-template-columns: repeat(4, 1fr);
    }

    .admin-layout {
        flex-direction: column;
    }

    .admin-sidebar {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .admin-sidebar-logo {
        width: 100%;
        text-align: center;
    }

    .admin-nav {
        display: flex;
        flex-wrap: wrap;
        padding: 0.5rem;
    }

    .admin-nav a {
        border-left: none;
        border-bottom: 2px solid transparent;
        padding: 0.6rem 1rem;
    }

    .admin-nav a.active,
    .admin-nav a:hover {
        border-left-color: transparent;
        border-bottom-color: var(--gold);
    }

    .header-nav {
        display: flex;
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .header-nav li + li {
        border-top: 1px solid var(--mid-gray);
    }

    .header-nav a {
        display: block;
        padding: 0.85rem 0.1rem;
        text-align: left;
    }

    .location-section {
        padding: 4rem 1.25rem;
    }

    .location-card {
        padding: 0;
    }

    .location-photo-wrap {
        aspect-ratio: 16 / 9;
    }

    .location-card-content {
        padding: 1.25rem 1.25rem 1.5rem;
    }

    .location-overlay {
        left: 1rem;
        right: 1rem;
        bottom: 0.9rem;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0.55rem;
        flex-wrap: nowrap;
    }

    .location-pill-group {
        justify-content: flex-end;
        gap: 0.55rem;
    }

    .location-pill {
        padding: 0.45rem 0.6rem;
        font-size: 0.56rem;
        letter-spacing: 0.1em;
        white-space: nowrap;
        flex: 0 1 auto;
    }

    .location-pill svg {
        width: 18px;
        height: 18px;
    }

    .btn-maps {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .location-overlay {
        gap: 0.4rem;
    }

    .location-pill-group {
        gap: 0.4rem;
    }

    .location-pill {
        padding: 0.4rem 0.5rem;
        font-size: 0.52rem;
        letter-spacing: 0.08em;
    }

    .location-pill svg {
        width: 17px;
        height: 17px;
    }
}

/* ── PRICING (listing + product) ─────────────────── */
.price-line {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.88rem;
}

.price-old {
    text-decoration: line-through;
    color: var(--price-muted);
    font-weight: 400;
}

.price-sep {
    text-transform: lowercase;
    font-size: 0.75rem;
    color: var(--price-muted);
    margin: 0 0.2rem;
}

.price-new {
    color: var(--price-color);
    font-weight: 800;
    letter-spacing: 0.04em;
}

.price-single {
    color: var(--price-color);
    font-weight: 700;
    letter-spacing: 0.04em;
}

.price-consult {
    color: var(--price-color);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.product-card-price {
    margin: 0.4rem 0 0.35rem;
    font-size: 0.82rem;
    color: var(--price-color);
}

/* ── HERO CAROUSEL (luxury) - autoplay via assets/js/hero-carousel.js ─ */
.hero-carousel {
    position: relative;
    width: 100%;
    min-height: 78vh;
    overflow: hidden;
    background: var(--bg-void);
}

.hero-carousel-track {
    position: relative;
    width: 100%;
    min-height: inherit;
}

.hero-carousel .hero-slide {
    position: absolute;
    inset: 0;
    overflow: hidden;
    opacity: 0;
    z-index: 0;
    pointer-events: none;
    transition: opacity 0.75s ease;
}

.hero-carousel .hero-slide.is-active {
    opacity: 1;
    z-index: 2;
    pointer-events: auto;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform-origin: center center;
    will-change: transform;
}

.hero-carousel .hero-slide.is-active .hero-slide-bg {
    animation: hero-bg-kenburns 14s ease-in-out infinite;
}

@keyframes hero-bg-kenburns {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.07); }
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    /* Branco uniforme entre a foto e o texto (sem degradê); 50% para a foto aparecer */
    background: rgba(255, 255, 255, 0.75);
}

.hero-slide-inner {
    position: relative;
    z-index: 2;
    max-width: var(--hero-text-max);
    margin: 0 auto;
    min-height: 78vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    /* Espaço extra inferior: setas/bolinhas ficam sobre o banner; o conteúdo não deve invadir essa faixa */
    padding: 6rem 1.75rem 7.75rem;
    color: var(--text-dark);
}

/* Caixa escura por bloco de texto (inline, quebra de linha clonada) */
.hero-text-chip {
    display: inline;
    /* padding: 0.28em 0.55em; */
    /* background: rgba(0, 0, 0, 0.82); */
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    line-height: 1.55;
}

.hero-slide-eyebrow .hero-text-chip {
    color: rgba(31, 71, 166, 0.88);
}

.hero-slide-title .hero-text-chip {
    color: var(--text-dark);
}

.hero-slide-cta.hero-text-chip {
    display: inline-flex;
    align-items: center;
    margin-top: 0;
    padding: 0.85rem 1.75rem;
    box-decoration-break: slice;
    -webkit-box-decoration-break: slice;
}

.hero-slide-eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: rgba(31, 71, 166, 0.58);
    margin-bottom: 1rem;
    /* Legibilidade: halo escuro discreto */
    text-shadow:
        0 0.08em 0.2em rgba(255, 255, 255, 0.85),
        0 0.02em 0.06em rgba(255, 255, 255, 0.9);
}

.hero-slide-title {
    font-family: 'Google Sans Flex', system-ui, sans-serif;
    /* ~20% menor que o tamanho anterior (clamp 2.15–3.5rem) para caber com nomes longos */
    font-size: clamp(1.72rem, 4vw, 2.8rem);
    font-weight: 500;
    line-height: 1.12;
    margin-bottom: 1rem;
    letter-spacing: 0.03em;
    max-width: 100%;
    /* Título: profundidade premium sem pesar o layout */
    text-shadow:
        0 0.04em 0.08em rgba(255, 255, 255, 0.75),
        0 0.12em 0.35em rgba(255, 255, 255, 0.55),
        0 0 0.5em rgba(255, 255, 255, 0.35);
}

.hero-slide-price {
    font-size: 1rem;
    margin-bottom: 1.75rem;
    text-shadow:
        0 0.06em 0.15em rgba(255, 255, 255, 0.7),
        0 0.1em 0.28em rgba(255, 255, 255, 0.5);
}

.hero-slide-price .price-old {
    color: var(--price-muted);
}

.hero-slide-price .price-sep {
    color: var(--price-muted);
}

.hero-slide-price .price-new {
    color: var(--price-color);
}

.hero-slide-price .price-single {
    color: var(--price-color);
}

.hero-slide-price .price-consult {
    color: var(--price-color);
    font-weight: 700;
}

.hero-slide-cta {
    display: inline-flex;
    align-items: center;
    padding: 0.9rem 1.85rem;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    border: 1px solid rgba(0, 0, 0, 0.12);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    border-radius: 2px;
    box-shadow: 0 6px 28px var(--gold-glow);
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.hero-slide-cta:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
    box-shadow: 0 10px 40px var(--gold-glow);
}

.hero-carousel-nav {
    position: absolute;
    top: auto;
    bottom: 1.35rem;
    transform: none;
    z-index: 5;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(254, 118, 8, 0.45);
    background: rgba(247, 247, 245, 0.88);
    color: var(--gold-light);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.hero-carousel-nav:hover {
    background: rgba(254, 118, 8, 0.18);
    border-color: var(--gold);
    transform: scale(1.05);
}

.hero-carousel-prev { left: 1rem; }
.hero-carousel-next { right: 1rem; }

/* ── PRODUCT PAGE (luxury layout) ───────────────── */
.product-page-lux {
    max-width: var(--layout-max-lux);
    margin: 0 auto;
    padding: 3rem 1.5rem 4rem;
    background: var(--bg-void);
}

.product-visual-lux {
    margin-bottom: 2.5rem;
}

/* Desktop/tablet: galeria principal + miniaturas; smartphone: ver .product-lux-mobile-stack */
.product-lux-desktop {
    display: block;
}

.product-lux-mobile-stack {
    display: none;
    flex-direction: column;
    gap: 0.85rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.product-main-lux-wrap {
    position: relative;
    width: 100%;
    max-height: min(78vh, 640px);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 2px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.07);
}

.product-lux-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 46px;
    height: 46px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(254, 118, 8, 0.45);
    background: rgba(247, 247, 245, 0.92);
    color: var(--gold-light);
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.product-lux-arrow:hover {
    background: rgba(254, 118, 8, 0.18);
    border-color: var(--gold);
    transform: translateY(-50%) scale(1.05);
}

.product-lux-arrow--prev {
    left: 0.65rem;
}

.product-lux-arrow--next {
    right: 0.65rem;
}

.product-lux-mobile-stack-item {
    margin: 0;
    padding: 0;
    background: var(--bg-card);
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.07);
}

.product-lux-mobile-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    vertical-align: middle;
}

@media (max-width: 767px) {
    .product-lux-desktop {
        display: none !important;
    }

    .product-lux-mobile-stack {
        display: flex;
    }
}

.product-main-lux-img {
    width: 100%;
    height: 100%;
    max-height: min(78vh, 640px);
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: opacity 0.35s ease;
}

.product-main-lux-img--placeholder {
    object-fit: cover;
}

.product-main-zoomable {
    cursor: zoom-in;
}

.product-main-lux-img.is-fading {
    opacity: 0.35;
}

/* Visualizador da imagem principal em tela cheia */
.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(248, 248, 246, 0.97);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 4rem 1rem 1rem;
}

.image-lightbox.is-open {
    display: flex;
}

.image-lightbox-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-lightbox-content img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.image-lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.2);
    background: rgba(240, 240, 236, 0.85);
    color: var(--text-dark);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.7rem 0.9rem;
    cursor: pointer;
}

.image-lightbox-close:hover {
    background: rgba(254, 118, 8, 0.85);
    border-color: rgba(254, 118, 8, 0.95);
    color: #ffffff;
}

.product-main-placeholder {
    min-height: 320px;
}

.product-gallery-lux {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
    justify-content: center;
    margin-top: 4rem;
}

.gallery-thumb-lux {
    width: 72px;
    height: 72px;
    padding: 0;
    border: 2px solid transparent;
    cursor: pointer;
    background: var(--bg-card);
    overflow: hidden;
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.gallery-thumb-lux img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumb-lux:hover,
.gallery-thumb-lux.active {
    border-color: var(--gold);
    transform: translateY(-2px);
}

.product-content-lux {
    text-align: center;
    /* max-width: 640px; */
    margin: 0 auto;
}

.product-title-lux {
    font-family: 'Google Sans Flex', system-ui, sans-serif;
    font-size: clamp(1.85rem, 4vw, 2.55rem);
    font-weight: 500;
    margin-bottom: 0.75rem;
    margin-top: 4.5rem;
    color: var(--text-dark);
}

.product-price-lux {
    font-size: 1.05rem;
    margin-bottom: 1rem;
    color: var(--price-color);
}

/* Página do veículo (lux): preço único no mesmo padrão visual do preço promocional */
.product-price-lux .price-single {
    color: var(--price-color);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.product-divider-lux {
    width: 48px;
    height: 2px;
    background: var(--luxury-gold);
    margin: 0 auto 1.5rem;
}

.product-description-lux {
    color: rgba(31, 71, 166, 0.82);
    line-height: 1.95;
    font-size: 0.98rem;
    font-weight: 400;
    text-align: left;
    margin-bottom: 8rem;
    margin-top: 5rem;
}

.btn-whatsapp-lux {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.6rem; /* ~10% menor que .btn-whatsapp (0.85rem) */
    white-space: normal;
    text-transform: none;
    flex-wrap: wrap;
}

.btn-whatsapp-lux svg {
    width: 40px;
    height: 40px;
}

.btn-back-lux {
    justify-content: center;
    width: 100%;
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .hero-slide-inner {
        padding-top: 5rem;
        padding-bottom: 7.25rem;
        min-height: 70vh;
    }
    .hero-carousel,
    .hero-carousel-track {
        min-height: 70vh;
    }
    .gallery-thumb-lux {
        width: 64px;
        height: 64px;
    }
}

/* ── ADMIN: formulário e galeria ─────────────────── */
.form-row-admin {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group-inline {
    margin-bottom: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    cursor: pointer;
}

.checkbox-label input {
    width: auto;
}

.admin-form-padded {
    padding: 2rem;
}

.admin-card-wide {
    max-width: 920px;
}

.admin-hint {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.admin-current-thumb {
    margin-bottom: 1rem;
}

.admin-current-thumb img {
    max-height: 140px;
    max-width: 220px;
    object-fit: cover;
    border: 1px solid var(--mid-gray);
}

.image-manager-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.image-manager-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
    padding: 0.75rem;
    border: 1px solid var(--mid-gray);
    background: var(--off-white);
}

.image-manager-thumb img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border: 1px solid var(--mid-gray);
}

.image-manager-meta {
    flex: 1;
    min-width: 120px;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.image-manager-badge {
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
}

.image-manager-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
}

.inline-form {
    display: inline;
}

.btn-compact {
    padding: 0.55rem 0.75rem;
    font-size: 0.68rem;
    min-height: 40px;
}

.admin-card-header-wrap {
    flex-wrap: wrap;
    gap: 0.75rem;
}

.admin-header-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

/* ── ADMIN mobile / touch ───────────────────────── */
@media (max-width: 900px) {
    .admin-layout {
        flex-direction: column;
        min-height: 100vh;
    }

    .admin-sidebar {
        width: 100%;
        flex-direction: column;
    }

    .admin-nav {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        padding: 0.5rem 0.75rem 1rem;
        gap: 0.25rem;
    }

    .admin-nav a {
        flex: 1 1 calc(50% - 0.5rem);
        min-width: 140px;
        justify-content: center;
        border-left: none;
        border-bottom: 2px solid transparent;
        padding: 0.75rem 0.5rem;
        min-height: 48px;
    }

    .admin-nav a.active,
    .admin-nav a:hover {
        border-left-color: transparent;
        border-bottom-color: var(--gold);
    }

    .admin-topbar {
        height: auto;
        min-height: 56px;
        padding: 0.75rem 1rem;
        flex-wrap: wrap;
    }

    .admin-content {
        padding: 1rem;
        overflow-x: auto;
        min-width: 0;
    }

    .admin-card-header {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-card-header .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .admin-header-actions-stack {
        align-items: stretch;
        width: 100%;
    }

    .order-save-status {
        text-align: center;
    }

    .form-row-admin {
        grid-template-columns: 1fr;
    }

    .table-responsive {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
    }
}

/* SEO: H1 visível para buscadores, compacto na tela */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.sobre-prose {
    max-width: 42rem;
    margin: 0 auto;
    line-height: 1.65;
    color: var(--text-dark, #1a1a1a);
}

.sobre-prose p {
    margin-bottom: 1.1rem;
}

.sobre-prose p:last-child {
    margin-bottom: 0;
}