/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
    /* Colors */
    --primary-color: #E31C25;      /* Racing Red */
    --primary-hover: #C2131B;      /* Darker Red */
    --primary-glow: rgba(227, 28, 37, 0.5);
    
    --bg-dark-deep: #08090C;       /* Carbon Black */
    --bg-dark-card: #12141C;       /* Card Background */
    --bg-dark-nav: rgba(10, 11, 15, 0.75);
    
    --text-primary: #FFFFFF;       /* Pure White */
    --text-secondary: #9FA6B2;     /* Muted Grey */
    --text-muted: #626C7A;         /* Darker Muted Grey */
    
    /* Fonts */
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
    
    /* Layout */
    --max-width: 1280px;
    --header-height: 80px;
    --border-radius: 12px;
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

section[id] {
    scroll-margin-top: calc(var(--header-height) + 15px);
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark-deep);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* ==========================================================================
   BACKGROUND EFFECTS (Motorsport / Premium Theme)
   ========================================================================== */
.bg-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

/* Subtle Checkered Pattern (CSS Only) */
.bg-checkered {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(45deg, rgba(255, 255, 255, 0.015) 25%, transparent 25%), 
        linear-gradient(-45deg, rgba(255, 255, 255, 0.015) 25%, transparent 25%), 
        linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.015) 75%), 
        linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.015) 75%);
    background-size: 100px 100px;
    background-position: 0 0, 0 50px, 50px -50px, -50px 0px;
    opacity: 0.8;
}

/* Red Energy Glow */
.bg-glow-red {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(227, 28, 37, 0.12) 0%, transparent 70%);
    filter: blur(120px);
}

/* Dark Gradient Vignette */
.bg-glow-dark {
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(18, 20, 28, 0.4) 0%, transparent 80%);
    filter: blur(100px);
}

/* ==========================================================================
   HEADER NAVIGATION (Floating Glassmorphism)
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: var(--bg-dark-nav);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    z-index: 100;
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    height: 70px;
    background-color: rgba(6, 7, 9, 0.9);
    border-bottom-color: rgba(227, 28, 37, 0.15);
}

.nav-container {
    max-width: var(--max-width);
    height: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-links a {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition-smooth);
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-socials {
    display: flex;
    gap: 1.5rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.social-icon svg {
    width: 18px;
    height: 18px;
}

.social-icon:hover {
    color: var(--text-primary);
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px var(--primary-glow);
    transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.nav-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
}

.nav-menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    min-height: 100vh;
    padding-top: var(--header-height);
    display: flex;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-container {
    max-width: var(--max-width);
    width: 100%;
    margin: 0 auto;
    padding: 3rem 2rem;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

/* Left Column: Logo & Speedometer Graphic */
.hero-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 100%;
    max-width: 480px;
}

/* Speedometer SVG */
.speedometer-svg {
    width: 100%;
    max-width: 320px;
    filter: drop-shadow(0 0 15px rgba(227, 28, 37, 0.2));
}

.speedometer-ticks {
    opacity: 0.6;
}

.speedometer-redzone {
    opacity: 0.8;
}

/* Speedometer needle rotation origin & initial state */
.needle-group {
    transform-origin: 120px 130px;
    transform: rotate(-120deg);
    animation: needleSweep 2.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 0.6s;
}

@keyframes needleSweep {
    0% {
        transform: rotate(-120deg);
    }
    60% {
        transform: rotate(15deg); /* overshoot for classic speedometer feel */
    }
    80% {
        transform: rotate(-5deg); /* bounce back */
    }
    100% {
        transform: rotate(0deg); /* settles at default */
    }
}

/* Logo Text Design */
.logo-text {
    width: 100%;
    margin-top: -10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-sub {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 400;
    letter-spacing: 0.6em;
    color: var(--text-primary);
    margin-right: -0.6em; /* offset letter-spacing */
    opacity: 0.9;
}

.logo-main-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 100%;
}

.logo-main {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    font-style: italic;
    letter-spacing: -2px;
    color: var(--text-primary);
    line-height: 1;
    margin: 0.3rem 0;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    background: linear-gradient(180deg, #FFFFFF 30%, #D1D5DB 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-badge {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.03);
    margin-top: 0.2rem;
}

.badge-red {
    color: var(--primary-color);
    font-weight: 900;
}

/* Speedometer Needle bounce on logo hover */
.logo-wrapper:hover .needle-group {
    animation: needleWiggle 0.6s ease-in-out;
}

@keyframes needleWiggle {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(15deg); }
}


/* Right Column: Hero Content */
.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.content-badge {
    align-self: flex-start;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary-color);
    background-color: rgba(227, 28, 37, 0.1);
    border: 1px solid rgba(227, 28, 37, 0.2);
    padding: 6px 14px;
    border-radius: 30px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(227, 28, 37, 0.05);
}

.hero-title {
    font-family: var(--font-body);
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.hero-subtext {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    border-left: 3px solid var(--primary-color);
    padding-left: 1rem;
    margin-bottom: 2.5rem;
    letter-spacing: 0.5px;
}

/* Call to Action Button */
.hero-cta-wrapper {
    display: flex;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #B91017 100%);
    color: var(--text-primary);
    padding: 1.1rem 2.2rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 25px rgba(227, 28, 37, 0.3);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.btn-cta:hover::before {
    left: 100%;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(227, 28, 37, 0.5);
    background: linear-gradient(135deg, #FF2E38 0%, #D1141D 100%);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-cta:active {
    transform: translateY(-1px);
}

.btn-icon {
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
}

.btn-icon svg {
    width: 18px;
    height: 18px;
}

.btn-cta:hover .btn-icon {
    transform: translateX(4px);
}

/* ==========================================================================
   VALUES SECTION (Diferenciais)
   ========================================================================== */
.values-section {
    padding: 8rem 2rem;
    position: relative;
    z-index: 10;
}

.values-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.value-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 3.5rem 2.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: var(--transition-smooth);
}

.value-icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--primary-color);
    margin-bottom: 2rem;
    transition: var(--transition-smooth);
}

.value-icon-container svg {
    width: 36px;
    height: 36px;
    transition: var(--transition-smooth);
}

.value-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.2rem;
    letter-spacing: 1px;
}

.value-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 400;
}

/* Hover Effects */
.value-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(227, 28, 37, 0.25);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(227, 28, 37, 0.06);
}

.value-card:hover .value-icon-container {
    background-color: var(--primary-color);
    color: var(--text-primary);
    border-color: var(--primary-color);
    box-shadow: 0 0 25px var(--primary-glow);
    transform: scale(1.05);
}

.value-card:hover .value-icon-container svg {
    transform: rotate(10deg);
}

/* Scroll Reveal Base Classes */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   PRODUCTS CAROUSELS SECTION
   ========================================================================== */
.baterias-section {
    padding: 8rem 2rem;
    position: relative;
    z-index: 10;
    background-color: var(--bg-dark-deep);
}

.baterias-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4rem;
}

.bateria-column {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.bateria-column-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
}

.models-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: flex-start;
    gap: 0.6rem 0.8rem;
    margin-bottom: 2.5rem;
}

.bateria-column .carousel-container {
    margin-top: auto;
}

.model-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
    font-family: var(--font-body);
    cursor: pointer;
    user-select: none;
}

.model-badge:hover, .model-badge.active {
    border-color: rgba(227, 28, 37, 0.5);
    color: var(--text-primary);
    background: rgba(227, 28, 37, 0.1);
    transform: translateY(-2px);
}

.check-icon {
    width: 12px;
    height: 12px;
    color: var(--primary-color);
}

/* Carousel Container */
.carousel-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 1.75rem 3.5rem 2.75rem;
}

.slide-image-wrapper {
    width: 100%;
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.slide-img {
    max-width: 85%;
    max-height: 92%;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.6));
    transition: transform 0.3s ease;
}

.slide-img:hover {
    transform: scale(1.03);
}

.slide-overlay-text {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
    opacity: 0.9;
}

.slide-model-number {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.3;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

/* Arrows Navigation */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(11, 12, 16, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    z-index: 10;
}

.carousel-btn svg {
    width: 18px;
    height: 18px;
}

.carousel-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-primary);
    box-shadow: 0 0 15px var(--primary-glow);
}

.prev-btn {
    left: 1rem;
}

.next-btn {
    right: 1rem;
}

/* Dots Indicators */
.carousel-dots {
    position: absolute;
    bottom: 1.2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 85%;
    gap: 0.5rem;
    z-index: 10;
}

.carousel-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.carousel-dots .dot.active {
    background: var(--primary-color);
    width: 18px;
    border-radius: 4px;
    box-shadow: 0 0 8px var(--primary-glow);
}

/* Specifications Table Slide Design */
.spec-slide-layout {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    justify-content: center;
}

.spec-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 0.8rem;
}

.spec-mini-img {
    width: 60px;
    height: auto;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.5));
}

.spec-table {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    width: 100%;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 0.45rem 0.8rem;
    background: rgba(255, 255, 255, 0.015);
    border-radius: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.spec-row:nth-child(even) {
    background: rgba(255, 255, 255, 0.025);
}

.spec-label {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.spec-value {
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 600;
}

/* ==========================================================================
   INSTAGRAM / SOCIAL SECTION
   ========================================================================== */
.instagram-section {
    padding: 8rem 2rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--bg-dark-deep) 0%, #060709 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.02);
}

/* Speed Lines Background Effect */
.speed-lines-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.speed-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(227, 28, 37, 0.15), transparent);
    animation: speedLineAnim infinite linear;
}

.line-1 {
    top: 20%;
    width: 250px;
    animation-duration: 6s;
    animation-delay: 0s;
}

.line-2 {
    top: 45%;
    width: 180px;
    animation-duration: 8s;
    animation-delay: 2s;
}

.line-3 {
    top: 65%;
    width: 300px;
    animation-duration: 7s;
    animation-delay: 1s;
}

.line-4 {
    top: 85%;
    width: 220px;
    animation-duration: 9s;
    animation-delay: 3s;
}

@keyframes speedLineAnim {
    0% {
        left: -30%;
    }
    100% {
        left: 130%;
    }
}

.instagram-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Left Column: Phone Mockup */
.instagram-media {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup-wrapper {
    perspective: 1200px;
}

.phone-case {
    width: 290px;
    height: 580px;
    background-color: #0b0c10;
    border: 11px solid #1e2029;
    border-radius: 40px;
    box-shadow: 
        0 30px 60px -15px rgba(0, 0, 0, 0.8),
        0 0 40px rgba(227, 28, 37, 0.05),
        inset 0 0 10px rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    transition: transform 0.1s ease, box-shadow 0.3s ease;
}

.phone-speaker {
    width: 55px;
    height: 4px;
    background-color: #2b2e3a;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    z-index: 10;
}

.phone-camera {
    width: 7px;
    height: 7px;
    background-color: #171822;
    position: absolute;
    top: 9px;
    left: calc(50% + 38px);
    border-radius: 50%;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 29px;
    overflow: hidden;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-screenshot {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    background-color: #000;
    transition: transform 0.5s ease;
}

.phone-reflection {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, transparent 45%);
    pointer-events: none;
    z-index: 5;
}

/* Tilt effect hover */
.phone-case:hover {
    box-shadow: 
        0 35px 70px -10px rgba(0, 0, 0, 0.9),
        0 0 50px rgba(227, 28, 37, 0.1),
        inset 0 0 15px rgba(255, 255, 255, 0.08);
}

.phone-case:hover .phone-screenshot {
    transform: scale(1.02);
}

/* Right Column: Info */
.instagram-content {
    display: flex;
    flex-direction: column;
}

.insta-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.insta-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.insta-cta-box {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.insta-cta-tagline {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Instagram Button */
.btn-instagram {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    padding: 1.1rem 2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    border-radius: var(--border-radius);
    transition: var(--transition-smooth);
    width: 100%;
}

.insta-btn-icon {
    display: flex;
    align-items: center;
}

.insta-btn-icon svg {
    width: 18px;
    height: 18px;
}

.btn-instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: var(--text-primary);
    border-color: transparent;
    box-shadow: 0 10px 25px rgba(220, 39, 67, 0.35);
    transform: translateY(-3px);
}

/* ==========================================================================
   FACTORY SECTION (Seção 5)
   ========================================================================== */
.fabrica-section {
    padding: 8rem 2rem;
    position: relative;
    z-index: 10;
    background-color: #050608;
    background-image: linear-gradient(rgba(11, 12, 16, 0.85), rgba(11, 12, 16, 0.95)), url('assets/checkered_flag_bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.fabrica-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fabrica-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 3.5rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-align: center;
    position: relative;
}

.fabrica-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-glow);
}

.fabrica-carousel-wrapper {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 3.5rem;
}

#carousel-fabrica {
    width: 100%;
    aspect-ratio: 16/9;
}

#carousel-fabrica .carousel-slide {
    padding: 0;
}

.fabrica-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fabrica-text-container {
    width: 100%;
    max-width: 900px;
    background: rgba(11, 12, 16, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 3rem 4rem;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    margin-bottom: 3.5rem;
}

.fabrica-text-paragraph {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.85;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.fabrica-text-paragraph:last-child {
    margin-bottom: 0;
}

.fabrica-text-paragraph strong {
    color: var(--text-primary);
    font-weight: 600;
}

.fabrica-cta-wrapper {
    display: flex;
    justify-content: center;
}

.btn-comercial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #0b0c10;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    padding: 1.1rem 2.8rem;
    border-radius: 30px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.05);
    text-decoration: none;
}

.btn-comercial:hover {
    background: var(--primary-color);
    color: var(--text-primary);
    box-shadow: 0 10px 25px rgba(227, 28, 37, 0.4);
    transform: translateY(-3px);
}

/* ==========================================================================
   RESELLER SECTION (Seção 6)
   ========================================================================== */
.revenda-section {
    padding: 8rem 2rem;
    position: relative;
    z-index: 10;
    background-color: var(--bg-dark-deep);
}

.revenda-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.150fr 0.850fr;
    gap: 5rem;
    align-items: center;
}

.revenda-content {
    display: flex;
    flex-direction: column;
}

.revenda-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1.3;
    letter-spacing: 2px;
    margin-bottom: 2.5rem;
}

.revenda-title br {
    display: block;
}

.revenda-icon-wrapper {
    width: 80px;
    height: 80px;
    margin-bottom: 2rem;
}

.revenda-map-svg {
    width: 100%;
    height: 100%;
}

.revenda-description {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 540px;
}

.revenda-cta-wrapper {
    display: flex;
}

.btn-revenda {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    padding: 1.1rem 2.8rem;
    border-radius: 30px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 25px rgba(227, 28, 37, 0.35);
    text-decoration: none;
}

.btn-revenda:hover {
    background: #ffffff;
    color: #0b0c10;
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.revenda-media {
    display: flex;
    justify-content: center;
    align-items: center;
}

.map-wrapper {
    width: 100%;
    max-width: 450px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.brazil-map-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.map-wrapper:hover .brazil-map-img {
    transform: scale(1.04);
}

/* ==========================================================================
   FAQ SECTION (Seção 7)
   ========================================================================== */
.faq-section {
    padding: 8rem 2rem;
    position: relative;
    z-index: 10;
    background-color: var(--bg-dark-deep);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-header-wrapper {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 3.5rem;
}

.faq-accent-line {
    width: 5px;
    height: 32px;
    background: var(--primary-color);
    border-radius: 2px;
    box-shadow: 0 0 12px var(--primary-glow);
}

.faq-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 1px;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.015);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

/* Alternating borders */
.faq-item:nth-child(odd) {
    border: 1px solid var(--primary-color);
}

.faq-item:nth-child(even) {
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    user-select: none;
    transition: var(--transition-smooth);
}

.faq-toggle-icon {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Alternating toggle icon colors */
.faq-item:nth-child(odd) .faq-toggle-icon {
    color: var(--primary-color);
}

.faq-item:nth-child(even) .faq-toggle-icon {
    color: var(--text-secondary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1), padding 0.4s ease, background 0.4s ease;
    padding: 0 2rem;
    background: rgba(0, 0, 0, 0.2);
}

.faq-answer p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* Active FAQ Item state */
.faq-item.active .faq-answer {
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.faq-item.active .faq-toggle-icon {
    transform: rotate(45deg); /* Rotates the + to x */
}

.faq-item:nth-child(odd).active {
    box-shadow: 0 10px 25px rgba(227, 28, 37, 0.12);
}

.faq-item:nth-child(even).active {
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.03);
}

/* ==========================================================================
   DOWNLOAD SECTION (Seção 8)
   ========================================================================== */
.download-section {
    padding: 6rem 2rem;
    position: relative;
    z-index: 10;
    background-color: var(--primary-color);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.download-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.download-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--text-primary);
    letter-spacing: 2px;
    text-align: center;
}

.download-icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(11, 12, 16, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: var(--transition-smooth);
}

.download-icon-circle:hover {
    transform: scale(1.05);
    background: rgba(11, 12, 16, 0.35);
}

.download-arrow-icon {
    width: 32px;
    height: 32px;
}

.download-cta-wrapper {
    display: flex;
    width: 100%;
    justify-content: center;
}

.btn-download-catalog {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #3f4756; /* Charcoal grey background */
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    padding: 1.1rem 2.8rem;
    border-radius: 6px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: var(--transition-smooth);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.btn-download-catalog:hover {
    background: #ffffff;
    color: #0b0c10;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* ==========================================================================
   FOOTER SECTION (Seção 9)
   ========================================================================== */
.main-footer {
    background: #07080a;
    border-top: 4px solid var(--primary-color);
    padding: 6rem 2rem 2.5rem;
    position: relative;
    z-index: 10;
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.250fr 1fr 1fr 1fr;
    gap: 4rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.footer-speedometer {
    width: 90px;
    height: auto;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
}

.footer-logo-sub {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 0.4em;
    color: var(--text-secondary);
}

.footer-logo-main {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--text-primary);
    margin: 0;
}

.footer-description {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 280px;
}

.footer-seal-wrapper {
    width: 75px;
    height: 75px;
}

.advanced-seal-svg {
    width: 100%;
    height: 100%;
}

.footer-col-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 2rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.footer-contact-list, .footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.footer-contact-icon {
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.footer-contact-icon svg {
    width: 18px;
    height: 18px;
}

.footer-contact-link {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-contact-link:hover {
    color: var(--text-primary);
}

.footer-links-list a {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
    letter-spacing: 0.5px;
}

.footer-links-list a:hover {
    color: var(--primary-color);
    padding-left: 4px;
}

.footer-address-wrapper {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 2.5rem;
}

.footer-address-icon {
    color: var(--primary-color);
    display: flex;
    align-items: flex-start;
    margin-top: 0.2rem;
}

.footer-address-icon svg {
    width: 18px;
    height: 18px;
}

.footer-address-text {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.footer-address-text strong {
    color: var(--text-primary);
}

.footer-social-circles {
    display: flex;
    gap: 1rem;
}

.footer-social-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(227, 28, 37, 0.08);
    border: 1px solid rgba(227, 28, 37, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: var(--transition-smooth);
}

.footer-social-circle svg {
    width: 18px;
    height: 18px;
}

.footer-social-circle:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-primary);
    transform: translateY(-3px);
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 5rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-bottom p {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   RESPONSIVE STYLES
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3.5rem;
        text-align: center;
    }
    
    .hero-logo-container {
        order: -1; /* Keep logo at the top in smaller screens */
    }
    
    .content-badge {
        align-self: center;
    }
    
    .hero-subtext {
        border-left: none;
        border-bottom: 2px solid var(--primary-color);
        padding-left: 0;
        padding-bottom: 0.8rem;
        display: inline-block;
        margin: 0 auto 2.5rem;
    }
    
    .hero-cta-wrapper {
        justify-content: center;
    }
    
    .values-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    /* Instagram Section Responsive */
    .instagram-container {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }

    .instagram-content {
        align-items: center;
    }

    /* Baterias Section Responsive */
    .baterias-container {
        grid-template-columns: 1fr;
        gap: 4.5rem;
    }

    /* Fábrica Section Responsive */
    .fabrica-section {
        padding: 5rem 1.5rem;
    }
    
    .fabrica-title {
        font-size: 1.8rem;
        margin-bottom: 2.5rem;
    }
    
    .fabrica-carousel-wrapper {
        margin-bottom: 2.5rem;
    }
    
    .fabrica-text-container {
        padding: 2rem 2rem;
        margin-bottom: 2.5rem;
    }
    
    .fabrica-text-paragraph {
        font-size: 1rem;
    }
    
    /* Revenda Section Responsive */
    .revenda-section {
        padding: 5rem 1.5rem;
    }
    
    .revenda-container {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }
    
    .revenda-content {
        align-items: center;
    }
    
    .revenda-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .revenda-icon-wrapper {
        margin-bottom: 1.5rem;
    }
    
    .revenda-description {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }
    
    .revenda-cta-wrapper {
        justify-content: center;
        width: 100%;
    }

    /* FAQ Section Responsive */
    .faq-section {
        padding: 5rem 1.5rem;
    }
    
    .faq-header-wrapper {
        margin-bottom: 2.5rem;
    }
    
    .faq-title {
        font-size: 1.5rem;
    }
    
    .faq-accent-line {
        height: 26px;
    }
    
    .faq-question {
        padding: 1.25rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 1.25rem 1.5rem;
    }

    /* Download Section Responsive */
    .download-section {
        padding: 5rem 1.5rem;
    }
    
    .download-title {
        font-size: 1.8rem;
    }
    
    /* Footer Section Responsive */
    .main-footer {
        padding: 5rem 1.5rem 2rem;
    }
    
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 3.5rem;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    /* Navigation Menu Mobile */
    .nav-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: #0B0C10;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2.5rem;
        transition: var(--transition-smooth);
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links a {
        font-size: 1.3rem;
    }
    
    .nav-container {
        padding: 0 1.5rem;
    }
    
    /* Toggle active state animation */
    .nav-menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .nav-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    /* Hero */
    .logo-main {
        font-size: 2.8rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    /* Values Section Mobile */
    .values-section {
        padding: 5rem 1.5rem;
    }
    
    .values-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .value-card {
        padding: 2.5rem 1.5rem;
    }

    .instagram-section {
        padding: 5rem 1.5rem;
    }

    .insta-title {
        font-size: 1.8rem;
    }

    .insta-cta-box {
        padding: 1.8rem 1.5rem;
        width: 100%;
    }

    .baterias-section {
        padding: 5rem 1.5rem;
    }

    .bateria-column-title {
        font-size: 1.4rem;
    }

    .carousel-container {
        aspect-ratio: 1/1;
    }

    .carousel-slide {
        padding: 1.5rem 2rem;
    }

    .spec-slide-layout {
        padding: 0.5rem 0;
    }

    .btn-comercial, .btn-revenda {
        width: 100%;
        padding: 1rem 1.8rem;
        justify-content: center;
    }

    .btn-download-catalog {
        width: 100%;
        padding: 1rem 1.8rem;
        justify-content: center;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .footer-logo-wrapper {
        justify-content: center;
    }
    
    .footer-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-seal-wrapper {
        margin: 0 auto;
    }
    
    .footer-contact-list li {
        justify-content: center;
    }
    
    .footer-address-wrapper {
        justify-content: center;
    }
    
    .footer-social-circles {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .logo-main {
        font-size: 2.2rem;
    }
    
    .logo-sub {
        font-size: 1rem;
        letter-spacing: 0.5em;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .btn-cta {
        width: 100%;
        justify-content: center;
        padding: 1rem 1.8rem;
    }

    .insta-title {
        font-size: 1.5rem;
    }

    .phone-case {
        width: 260px;
        height: 520px;
        border-width: 9px;
    }

    .btn-instagram {
        padding: 1rem 1.5rem;
        font-size: 0.8rem;
    }

    .bateria-column-title {
        font-size: 1.25rem;
    }

    .models-grid {
        justify-content: center;
    }

    .spec-header {
        gap: 1rem;
        margin-bottom: 1rem;
    }

    .spec-row {
        padding: 0.4rem 0.6rem;
    }

    .spec-label, .spec-value {
        font-size: 0.75rem;
    }
}
