/* ==========================================================================
   CONFIGURAÇÕES GERAIS E DESIGN SYSTEM
   ========================================================================== */

/* Fontes MMC Office */
@font-face {
    font-family: 'MMC Office';
    src: url('assets/font/MMCOFFICE-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'MMC Office';
    src: url('assets/font/MMCOFFICE-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Cores Principais */
    --color-primary: #E60012;       /* Vermelho Mitsubishi */
    --color-primary-hover: #b8000e;
    --color-whatsapp: #25D366;      /* Verde do WhatsApp */
    --color-whatsapp-hover: #20ba5a;
    --color-dark: #111111;          /* Preto Carbono */
    --color-dark-gray: #1a1a1a;     /* Cinza Escuro */
    --color-medium-gray: #2d2d2d;   /* Cinza Médio */
    --color-light-gray: #f8f9fa;    /* Cinza Claro Suave */
    --color-border: #e0e0e0;
    --color-border-dark: #333333;
    --color-text-dark: #111111;
    --color-text-light: #ffffff;
    --color-text-muted: #595959;
    --color-text-muted-dark: #a0a0a0;

    /* Tipografia */
    --font-brand: 'MMC Office', sans-serif;
    --font-body: 'MMC Office', sans-serif;
    
    /* Sombras e Bordas */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 8px 16px rgba(0,0,0,0.15);
    --shadow-lg: 0 16px 32px rgba(0,0,0,0.2);
    
    /* Transições */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);

    /* Alturas */
    --header-height: 80px;
    --header-height-mobile: 70px;
}

/* Reset de Elementos */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1.5;
}

button, input, select, textarea, option {
    line-height: 1.5;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-light-gray);
    color: var(--color-text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

button {
    font-family: var(--font-brand);
    cursor: pointer;
    border: none;
    background: none;
    outline: none;
    line-height: 1.5;
    transition: var(--transition-fast);
}

/* Utilitários de Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section-dark {
    background-color: var(--color-dark);
    color: var(--color-text-light);
}

.section-gray {
    background-color: #f0f2f5;
}

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--color-primary);
}

/* Títulos */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-brand);
    font-weight: 700;
    line-height: 1.5;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Componente Botão Premium */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    line-height: 1.5;
    border-radius: 0;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,0.1);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-normal);
    z-index: -1;
}

.btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-primary {
    background-color: var(--color-whatsapp);
    color: var(--color-text-light);
    box-shadow: none;
}

.btn-primary:hover {
    background-color: var(--color-whatsapp-hover);
    box-shadow: none;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-text-light);
    border: 2px solid var(--color-text-light);
}

.btn-secondary:hover {
    background-color: var(--color-text-light);
    color: var(--color-dark);
    transform: translateY(-2px);
}

.btn-dark {
    background-color: var(--color-dark);
    color: var(--color-text-light);
    box-shadow: none;
}

.btn-dark:hover {
    background-color: #000000;
    transform: translateY(-2px);
    box-shadow: none;
}

.btn-outline-dark {
    background-color: transparent;
    color: var(--color-dark);
    border: 2px solid var(--color-dark);
}

.btn-outline-dark:hover {
    background-color: var(--color-dark);
    color: var(--color-text-light);
    transform: translateY(-2px);
}

/* ==========================================================================
   HEADER / NAVEGAÇÃO
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(17, 17, 17, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform var(--transition-normal), opacity var(--transition-normal), background-color var(--transition-normal);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.header.visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.header.scrolled {
    height: 70px;
    background-color: rgba(17, 17, 17, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    border-bottom-color: rgba(255, 255, 255, 0.12);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 42px;
    width: auto;
    transition: height var(--transition-normal);
}

.header.scrolled .logo img {
    height: 36px;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 32px;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.5;
    color: #e0e0e0;
    padding: 8px 0;
    position: relative;
    letter-spacing: 1px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-normal);
}

.nav-link:hover {
    color: var(--color-primary);
}

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

.header-cta .btn {
    padding: 10px 20px;
    font-size: 0.8rem;
}

/* Menu Hambúrguer (Mobile) */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 20px;
}

.menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--color-text-light);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    height: 100vh;
    height: 100dvh;
    min-height: -webkit-fill-available;
    padding-top: var(--header-height);
    background-color: var(--color-dark);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(17, 17, 17, 0.5) 0%, rgba(17, 17, 17, 0.7) 65%, var(--color-dark) 100%);
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 5;
}

.hero-content {
    color: var(--color-text-light);
    max-width: 1000px;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.hero-header-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.hero-brand-logo-wrapper {
    margin-bottom: 20px;
    display: flex;
    justify-content: flex-start;
}

.hero-brand-logo {
    height: 55px;
    width: auto;
}

.hero-title-row {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 12px;
    flex-wrap: nowrap;
}

.hero-seal-floating {
    display: flex;
    align-items: center;
    animation: float 4s ease-in-out infinite;
}

.hero-seal-img {
    height: 160px;
    width: auto;
    object-fit: contain;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    line-height: 0.95;
    letter-spacing: 1px;
    font-weight: 400;
    margin-bottom: 0;
    text-transform: uppercase;
}

.hero h1 .title-regular {
    font-weight: 400;
    display: block;
    line-height: 0.95;
}

.hero h1 .title-bold {
    font-weight: 700;
    font-size: 1.18em;
    display: block;
    line-height: 0.95;
}

.hero h2 {
    font-size: clamp(1.05rem, 1.8vw, 1.35rem);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
    font-weight: 400;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

/* Card de Oferta */
.offer-box {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 24px;
    margin-bottom: 18px;
    border-radius: var(--border-radius-md);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    max-width: 580px;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.8s 0.2s forwards cubic-bezier(0.25, 0.8, 0.25, 1);
}

.offer-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
}

.offer-price {
    font-size: 1rem;
    margin-bottom: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
}

.offer-price span.price-old {
    text-decoration: line-through;
    color: rgba(255, 255, 255, 0.5);
    margin-right: 12px;
}

.offer-price span.price-new {
    font-size: clamp(2.2rem, 4.5vw, 3rem);
    font-weight: 700;
    color: var(--color-text-light);
    display: block;
    margin-top: 4px;
}

.offer-benefits {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}

.offer-benefits span {
    background-color: transparent;
    border: none;
    padding: 0;
    border-radius: 0;
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.offer-benefits span::before {
    content: '+';
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.3rem;
    line-height: 1;
}



.hero-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

@keyframes fadeInUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ==========================================================================
   SEÇÃO MANIFESTO / INTRODUÇÃO
   ========================================================================== */
/* Especificações Rápidas */
.specs-strip {
    background-color: var(--color-dark-gray);
    border-top: 1px solid var(--color-border-dark);
    border-bottom: 1px solid var(--color-border-dark);
    padding: 30px 0;
    color: var(--color-text-light);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.spec-icon {
    width: 32px;
    height: 32px;
    background-color: transparent;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: none;
    transition: all var(--transition-fast);
}

.spec-item:hover .spec-icon {
    color: var(--color-primary-hover);
    background-color: transparent;
    box-shadow: none;
    transform: scale(1.1);
}

.spec-icon svg {
    width: 28px;
    height: 28px;
}

.spec-text {
    display: flex;
    flex-direction: column;
}

.spec-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-muted-dark);
    font-weight: 700;
    margin-bottom: 2px;
}

.spec-value {
    font-family: var(--font-brand);
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-text-light);
    line-height: 1.2;
}

.spec-desc {
    font-size: 0.8rem;
    color: var(--color-text-muted-dark);
    margin-top: 2px;
}

/* Bleed Layouts (Imagens Sangradas) */
.bleed-section {
    padding: 0 !important;
    overflow: hidden;
}

.bleed-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 580px;
}

.bleed-text-wrapper {
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 100px;
}

.bleed-section:not(.bleed-left) .bleed-text-wrapper {
    padding-left: max(24px, calc((100vw - 1200px) / 2 + 24px));
    padding-right: 60px;
}

.bleed-section.bleed-left .bleed-text-wrapper {
    padding-right: max(24px, calc((100vw - 1200px) / 2 + 24px));
    padding-left: 60px;
    grid-column: 2;
}

.bleed-section.bleed-left .bleed-image-wrapper {
    grid-column: 1;
    grid-row: 1;
}

.bleed-text-content {
    max-width: 520px;
}

.bleed-text-content h2 {
    font-size: 2.2rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 16px;
}

.bleed-text-content h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background-color: var(--color-primary);
}

.bleed-text-content p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.bleed-text-content p.lead {
    font-size: 1.25rem;
    color: var(--color-text-dark);
    font-weight: 700;
}

.bleed-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 450px;
}

.bleed-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   SEÇÃO OUTROS MODELOS ZERO KM
   ========================================================================== */
.section-other-models {
    background-color: #ffffff;
    padding: 100px 0;
}

.models-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
}

.models-text-pane {
    max-width: 320px;
}

.models-subtitle {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 8px;
}

.models-text-pane h2 {
    font-size: 2.2rem;
    line-height: 1.3;
    margin-bottom: 20px;
}

.models-desc {
    font-size: 1rem;
    color: var(--color-text-muted);
}

.models-cards-pane {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.model-vehicle-card {
    background-color: var(--color-light-gray);
    border: 1px solid var(--color-border);
    transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.model-vehicle-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
}

.model-vehicle-link {
    display: block;
}

.model-vehicle-img-wrapper {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--color-border);
}

.model-vehicle-img-wrapper img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: transform var(--transition-normal);
}

.model-vehicle-card:hover .model-vehicle-img-wrapper img {
    transform: scale(1.05);
}

.model-vehicle-card img[src*="select-eclipse"] {
    transform: scale(1.15);
}

.model-vehicle-card:hover img[src*="select-eclipse"] {
    transform: scale(1.20);
}

.model-vehicle-info {
    padding: 24px;
}

.model-vehicle-info h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--color-text-dark);
}

.model-vehicle-cta {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-primary);
    letter-spacing: 0.5px;
    display: inline-block;
    transition: transform var(--transition-fast);
}

.model-vehicle-card:hover .model-vehicle-cta {
    transform: translateX(4px);
}

/* ==========================================================================
   SEÇÃO DESTAQUES TÉCNICOS (GRID)
   ========================================================================== */
.section-header {
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

.sticky-showcase-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    position: relative;
}

.showcase-visual-pane {
    position: sticky;
    top: 120px;
    height: 520px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.showcase-img-container {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: var(--color-dark);
}

.showcase-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.08) translateZ(0);
    filter: blur(10px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), 
                transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1),
                filter 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.showcase-img.active {
    opacity: 1;
    transform: scale(1) translateZ(0);
    filter: blur(0);
    z-index: 2;
}

.showcase-text-pane {
    display: flex;
    flex-direction: column;
    gap: 120px;
    padding: 60px 0;
}

.showcase-item {
    opacity: 0.25;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.showcase-item.active {
    opacity: 1;
    transform: translateY(0);
}

.showcase-number {
    font-family: var(--font-brand);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-primary);
    display: block;
    line-height: 1;
    margin-bottom: 12px;
}

.showcase-item h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
    color: var(--color-text-dark);
}

.showcase-item p {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.showcase-mobile-img {
    display: none;
    width: 100%;
    height: 240px;
    margin: 16px 0;
    overflow: hidden;
}

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

.highlights-cta {
    margin-top: 20px;
}

/* ==========================================================================
   GALERIA DE IMAGENS (CARROSSEL)
   ========================================================================== */
/* ==========================================================================
   GALERIA DE IMAGENS (GRID MASONRY)
   ========================================================================== */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.gallery-filter-btn {
    padding: 12px 28px;
    font-family: var(--font-brand);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid var(--color-border);
    border-radius: 0;
    background-color: transparent;
    color: var(--color-text-dark);
    transition: all var(--transition-fast);
}

.gallery-filters .gallery-filter-btn.active,
.gallery-filters .gallery-filter-btn:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-text-light);
    box-shadow: 0 4px 15px rgba(230, 0, 18, 0.2);
}

.deck-gallery-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    height: 680px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    perspective: 1500px;
}

.deck-track {
    position: relative;
    width: 100%;
    height: 580px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
}

.deck-card {
    position: absolute;
    width: 800px;
    height: 540px;
    border-radius: 0;
    overflow: hidden;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.6s ease, z-index 0.6s ease;
    cursor: pointer;
    box-shadow: none;
    opacity: 0;
    pointer-events: none;
    transform: translate3d(0, 0, -500px) rotateY(0);
}

.deck-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.deck-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(0deg, rgba(17,17,17,0.95) 0%, rgba(17,17,17,0) 100%);
    padding: 24px;
    color: var(--color-text-light);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.deck-card.active:hover .deck-overlay {
    opacity: 1;
}

.deck-overlay h4 {
    font-size: 1.2rem;
    margin-bottom: 4px;
    color: var(--color-text-light);
    font-family: var(--font-brand);
    text-transform: uppercase;
}

.deck-overlay span {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--color-primary);
    font-weight: 700;
    letter-spacing: 1px;
}

/* 3D states */
.deck-card.active {
    opacity: 1;
    pointer-events: all;
    z-index: 10;
    transform: translate3d(0, 0, 0) rotateY(0);
}

.deck-card.prev {
    opacity: 0.6;
    pointer-events: all;
    z-index: 5;
    transform: translate3d(-240px, 0, -200px) rotateY(15deg);
}

.deck-card.next {
    opacity: 0.6;
    pointer-events: all;
    z-index: 5;
    transform: translate3d(240px, 0, -200px) rotateY(-15deg);
}

.deck-card.far-prev {
    opacity: 0.2;
    pointer-events: none;
    z-index: 2;
    transform: translate3d(-400px, 0, -350px) rotateY(30deg);
}

.deck-card.far-next {
    opacity: 0.2;
    pointer-events: none;
    z-index: 2;
    transform: translate3d(400px, 0, -350px) rotateY(-30deg);
}

.deck-card.hidden {
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    transform: translate3d(0, 0, -450px) rotateY(0);
}

.deck-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    z-index: 15;
}

.deck-nav-btn {
    width: 48px;
    height: 48px;
    background-color: var(--color-dark-gray);
    border: 1px solid var(--color-border-dark);
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    border-radius: 0;
}

.deck-nav-btn:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.deck-dots {
    display: flex;
    gap: 8px;
}

.deck-dot {
    width: 8px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all var(--transition-fast);
    border-radius: 0;
}

.deck-dot.active {
    background-color: var(--color-primary);
    width: 20px;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 11, 11, 0.98);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 85%;
    max-height: 80%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 70vh;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.05);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    color: var(--color-text-light);
    cursor: pointer;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--transition-fast);
}

.lightbox-close:hover {
    color: var(--color-primary);
}

.lightbox-caption {
    color: var(--color-text-muted-dark);
    text-align: center;
    margin-top: 20px;
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: 700;
}

/* Navegação do Lightbox */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-family: var(--font-brand);
    cursor: pointer;
    transition: all var(--transition-fast);
    z-index: 10;
}

.lightbox-nav:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: 0 0 15px rgba(230, 0, 18, 0.4);
}

.lightbox-prev {
    left: -80px;
}

.lightbox-next {
    right: -80px;
}

/* ==========================================================================
   TECNOLOGIA E SEGURANÇA INTEGRADA
   ========================================================================== */
.tech-safety-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

.tech-safety-card {
    background-color: var(--color-dark-gray);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 1px solid var(--color-border-dark);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-normal);
}

.tech-safety-card:hover {
    transform: translateY(-5px);
    border-color: rgba(230, 0, 18, 0.3);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.tech-safety-img {
    height: 250px;
    overflow: hidden;
}

.tech-safety-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.tech-safety-card:hover .tech-safety-img img {
    transform: scale(1.05);
}

.tech-safety-info {
    padding: 36px;
    flex-grow: 1;
}

.tech-safety-info h3 {
    font-size: 1.3rem;
    color: var(--color-text-light);
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-border-dark);
}

.tech-safety-info h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 40px;
    height: 2px;
    background-color: var(--color-primary);
}

.tech-safety-list {
    list-style: none;
}

.tech-safety-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 16px;
    font-size: 0.95rem;
    color: var(--color-text-muted-dark);
    line-height: 1.5;
}

.tech-safety-list li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 5px;
    width: 6px;
    height: 10px;
    border: solid var(--color-primary);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.tech-safety-list li strong {
    color: var(--color-text-light);
}

.tech-safety-cta {
    margin-top: 40px;
}

/* Diferenciais Mito no Bleed */
.mito-details-wrapper {
    margin-top: 30px;
    border-top: 1px solid var(--color-border-dark);
    padding-top: 24px;
}

.mito-benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

/* ==========================================================================
   MODAL DE CONTATO (POPUP)
   ========================================================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-container {
    width: 100%;
    max-width: 550px;
    background-color: var(--color-text-light);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    transform: translateY(30px) scale(0.95);
    transition: transform var(--transition-normal);
}

.modal.active .modal-container {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--color-text-muted-dark);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--transition-fast);
}

.modal-close:hover {
    color: var(--color-primary);
}

.modal-header {
    background-color: var(--color-dark);
    padding: 32px 40px;
    color: var(--color-text-light);
    position: relative;
}

.modal-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--color-primary);
}

.modal-header h3 {
    font-size: 1.4rem;
    margin-bottom: 6px;
}

.modal-header p {
    color: var(--color-text-muted-dark);
    font-size: 0.85rem;
}

.modal-body {
    padding: 40px;
}

/* Formulário */
.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.5;
    margin-bottom: 8px;
    color: var(--color-text-dark);
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.5;
    border: 1px solid var(--color-border);
    background-color: var(--color-light-gray);
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-fast);
    color: var(--color-text-dark);
}

.form-control:focus {
    border-color: var(--color-primary);
    background-color: var(--color-text-light);
    outline: none;
    box-shadow: 0 0 0 3px rgba(230, 0, 18, 0.15);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23111111' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 18px) center;
}

.form-submit-btn {
    width: 100%;
    margin-top: 12px;
}

/* Sucesso do Form */
.form-success-state {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 0;
}

.success-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(76, 217, 100, 0.15);
    color: #4cd964;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 24px;
}

.form-success-state h4 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--color-text-dark);
}

.form-success-state p {
    color: var(--color-text-muted);
    font-size: 1rem;
    margin-bottom: 24px;
}

/* Spinner de Carregamento */
.spinner {
    display: none;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin-left: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   FOOTER (RODAPÉ)
   ========================================================================== */
.footer {
    background-color: #f8f9fa;
    color: var(--color-text-dark);
    padding: 80px 0 30px;
    border-top: 3px solid var(--color-primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-info-logo {
    height: 48px;
    width: auto;
    margin-bottom: 24px;
}

.footer-info-text {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 320px;
}

.footer-title {
    font-size: 1rem;
    margin-bottom: 24px;
    color: var(--color-text-dark);
    position: relative;
    padding-bottom: 8px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--color-primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--color-primary);
    padding-left: 4px;
}

.footer-contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.footer-contact-icon {
    color: var(--color-primary);
    font-weight: 700;
}

.footer-contact-text strong {
    color: var(--color-text-dark);
    display: block;
    margin-bottom: 2px;
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding-top: 30px;
}

.footer-disclaimer {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}

.footer-copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-text-muted);
    font-size: 0.8rem;
    flex-wrap: wrap;
    gap: 16px;
}

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

/* ==========================================================================
   ANIMAÇÕES DE SCROLL REVEAL
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* Botão Flutuante Whatsapp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
    z-index: 9999;
    transition: transform var(--transition-fast), background-color var(--transition-fast);
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    background-color: #20ba5a;
    color: #ffffff;
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }
    70% {
        box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVIDADE)
   ========================================================================== */

@media (max-width: 1024px) {
    .intro-grid, .tech-container, .safety-grid, .mito-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .intro-image, .tech-showcase-wrapper, .safety-visual {
        order: -1; /* Joga a imagem para cima no mobile */
    }
    
    .safety-visual {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1.2fr;
    }
    
    .footer-grid > div:first-child {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: var(--header-height-mobile);
    }
    
    .section {
        padding: 60px 0;
    }
    
    /* Menu Hamburguer */
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height-mobile);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height-mobile));
        background-color: var(--color-dark);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: left var(--transition-normal);
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        font-size: 1.1rem;
        color: #ffffff;
    }
    
    .header-cta {
        display: none; /* Esconde cta do header no mobile */
    }
    
    .hero {
        height: 100vh;
        height: 100dvh;
        text-align: left;
        justify-content: flex-start;
        align-items: center;
    }
    
    .hero-content {
        margin: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        position: relative;
        justify-content: center;
    }
    
    .offer-box {
        position: relative;
        text-align: left;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: var(--border-radius-md);
        width: 100%;
        padding: 16px 20px;
        margin-bottom: 12px;
    }
    
    .hero-actions {
        flex-direction: row !important;
        width: 100%;
        gap: 10px !important;
    }
    
    .hero-actions .btn {
        padding: 12px 10px !important;
        font-size: 0.8rem !important;
        justify-content: center;
        align-items: center;
    }
    
    .hero-actions .btn:first-child {
        flex: 1.45 !important;
        white-space: nowrap !important;
    }
    
    .hero-actions .btn:last-child {
        flex: 0.85 !important;
        white-space: nowrap !important;
    }
    
    .hero-brand-logo-wrapper {
        justify-content: flex-start;
        margin-bottom: 15px;
    }
    
    .hero-brand-logo {
        height: 40px !important;
    }

    .hero h1 {
        font-size: 1.8rem !important;
        line-height: 1.1 !important;
    }
    
    .hero h1 .title-bold {
        font-size: 1.1em !important;
        margin-bottom: 8px !important;
    }
    
    .hero h2 {
        font-size: 0.95rem !important;
        margin-bottom: 12px !important;
        line-height: 1.3 !important;
    }

    .offer-discount {
        font-size: 1.3rem !important;
        margin-bottom: 6px !important;
    }
    
    .offer-price span.price-new {
        font-size: 1.8rem !important;
    }

    .hero-disclaimer {
        margin-top: 8px !important;
        font-size: 0.65rem !important;
        line-height: 1.2 !important;
    }
    
    .hero-title-row {
        display: block;
        width: 100%;
    }

    .hero-seal-floating {
        position: absolute;
        top: -105px;
        right: 0;
        z-index: 10;
        margin: 0;
        animation: float 4s ease-in-out infinite;
    }

    .hero-seal-img {
        height: 100px !important;
        width: auto !important;
    }
    
    /* Barra de Especificações Mobile - 3 colunas horizontais */
    .specs-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        padding: 0 8px;
    }
    
    .spec-item {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .spec-icon {
        width: 28px;
        height: 28px;
    }
    
    .spec-icon svg {
        width: 22px;
        height: 22px;
    }
    
    .spec-value {
        font-size: 0.95rem;
    }
    
    .spec-label {
        font-size: 0.65rem;
    }
    
    .spec-desc {
        display: none;
    }

    /* Bleed Section Mobile (Manifesto e Diferenciais) */
    .bleed-container {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .bleed-image-wrapper {
        height: 260px;
        min-height: auto;
        order: -1;
    }
    
    .bleed-text-wrapper {
        padding: 40px 24px !important;
    }

    .bleed-section.bleed-left .bleed-text-wrapper {
        grid-column: auto;
        grid-row: auto;
        padding: 40px 24px !important;
    }
    
    .bleed-section.bleed-left .bleed-image-wrapper {
        grid-column: auto;
        grid-row: auto;
        order: -1;
    }

    /* Destaques da Nova Triton Mobile (Narrativa Scroll-Sticky) */
    .sticky-showcase-wrapper {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .showcase-visual-pane {
        display: block;
        position: sticky;
        top: var(--header-height-mobile);
        height: 260px;
        width: 100%;
        z-index: 10;
        border: 1px solid rgba(255, 255, 255, 0.08);
    }
    
    .showcase-text-pane {
        display: flex;
        flex-direction: column;
        gap: 150px;
        padding: 40px 16px 120px 16px;
        position: relative;
        height: auto;
        width: 100%;
    }
    
    .showcase-item {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        opacity: 0.25;
        pointer-events: all;
        transform: translateY(20px);
        transition: opacity 0.5s ease, transform 0.5s ease;
    }
    
    .showcase-item.active {
        opacity: 1;
        pointer-events: all;
        transform: translateY(0);
    }
    
    .showcase-mobile-img {
        display: none !important;
    }
    
    .showcase-item h3 {
        font-size: 1.5rem;
    }

    .showcase-controls-mobile {
        display: none !important;
    }

    /* Galeria Filtros Mobile */
    .gallery-filters {
        gap: 8px;
        margin-bottom: 24px;
    }
    
    .gallery-filter-btn {
        padding: 8px 16px;
        font-size: 0.75rem;
        letter-spacing: 0.5px;
    }
    
    /* Carrossel 3D Galeria Mobile */
    .deck-gallery-container {
        height: 380px;
        overflow: hidden;
    }
    
    .deck-track {
        height: 300px;
    }
    
    .deck-card {
        width: 85%;
        height: 260px;
    }
    
    .deck-card.prev {
        transform: translate3d(-50px, 0, -100px) rotateY(10deg);
        opacity: 0.4;
    }
    
    .deck-card.next {
        transform: translate3d(50px, 0, -100px) rotateY(-10deg);
        opacity: 0.4;
    }
    
    .deck-card.far-prev, .deck-card.far-next {
        opacity: 0;
        display: none;
    }

    /* Tecnologia e Segurança Mobile (Exibição Integral) */
    .tech-safety-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    #tech-column-content, #safety-column-content {
        display: block !important;
        opacity: 1 !important;
        transform: none !important;
    }
    
    .safety-visual {
        grid-template-columns: 1fr;
    }
    
    .mito-benefits {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-grid > div:first-child {
        grid-column: span 1;
    }
    
    .footer-copyright {
        flex-direction: column;
        text-align: center;
    }
    
    /* Menu Hamburguer Animação */
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .modal-container {
        max-width: 90%;
    }
    
    .modal-body {
        padding: 30px 24px;
    }

    /* Seção Outros Modelos Mobile */
    .section-other-models {
        padding: 60px 0;
    }
    
    .models-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: left;
    }
    
    .models-text-pane {
        max-width: 100%;
    }
    
    .models-text-pane h2 {
        font-size: 1.8rem;
    }
    
    .models-cards-pane {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    
    .model-vehicle-img-wrapper {
        height: 120px;
    }
    
    .model-vehicle-info {
        padding: 16px;
    }
    
    .model-vehicle-info h3 {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }

    .whatsapp-float {
        bottom: 24px;
        right: 24px;
        width: 54px;
        height: 54px;
    }
    
    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
}
