/* ==========================================================================
   Premium aesthetic CSS variables & Resets
   ========================================================================== */
:root {
    /* Color Palette - Black & Gold Theme */
    --c-black: #FFFFFF; /* Inverting: Used to be dark text, now it is white text */
    --c-black-light: #E0E0E0;
    --c-offwhite: #111111; /* Used to be light background, now charcoal dark */
    --c-white: #050505; /* Used to be main white background, now pure luxury black */
    --c-turquoise: #D4AF37; /* Changed turquoise brand accents to Gold */
    --c-gold: #C29A6B; /* Soft classic gold */
    --c-gray: #E0E0E0;
    --c-gray-dark: #CCCCCC;
    --c-glass: rgba(255, 255, 255, 0.05);

    /* Typography */
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --font-script: 'Pinyon Script', cursive;
    
    /* Spacing */
    --section-pad: 80px 0; /* Reduced from 140px to fix 'vago enorme' */
    --container-width: 1280px;
    --container-pad: 40px;
    
    /* Transitions */
    --trans-smooth: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    --trans-fast: all 0.2s ease;
}

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

html {
    scroll-behavior: auto; /* Handled by smooth scroll script if possible, or native smooth */
    font-size: 16px;
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
    font-family: var(--font-sans);
    background-color: var(--c-white);
    color: var(--c-gray); /* Was var(--c-black) */
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background-color: var(--c-gold);
    color: var(--c-black); /* Now #FFF */
}

/* ==========================================================================
   9. Video Modal & Overlays
   ========================================================================== */
.play-icon {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 60px; height: 60px;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.3);
    transition: var(--trans-smooth);
    opacity: 0.8;
}
.case-img-wrap:hover .play-icon {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
    background: var(--c-gold);
    border-color: var(--c-gold);
}
.video-trigger { cursor: pointer; }

.video-modal {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.video-modal.active {
    opacity: 1;
    pointer-events: auto;
}
.modal-backdrop {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(15px);
}
.modal-content {
    position: relative;
    z-index: 1;
    width: 90%;
    max-width: 450px; /* IG Reel ratio approx */
    height: 85vh; /* Prevent it from being taller than the screen */
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    aspect-ratio: 9/16;
}
.close-modal {
    position: absolute;
    top: 10px; right: 10px;
    background: rgba(0,0,0,0.5);
    border: none;
    color: #fff;
    font-size: 2rem;
    width: 40px; height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}
.close-modal:hover { background: rgba(0,0,0,0.8); }
.video-container {
    width: 100%; height: 100%;
}
.video-container video {
    width: 100%; height: 100%;
    object-fit: cover;
    border: none;
    outline: none;
}

.offwhite-bg { background-color: var(--c-offwhite); }
.dark-section { background-color: #000000; color: var(--c-black); }
.turquoise-bg { background-color: var(--c-turquoise) !important; }

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
.section-title {
    font-family: var(--font-serif);
    font-size: 4rem;
    font-weight: 400;
    line-height: 1.1;
    color: var(--c-black); /* Now #FFF */
    letter-spacing: -1px;
    margin-bottom: 0.2rem; /* Tight fit for metrics */
}
.section-title span {
    font-family: var(--font-script);
    font-size: 5rem;
    color: var(--c-gold);
    margin-left: -10px;
    font-weight: 400;
}
.section-title i {
    font-style: italic;
    color: var(--c-gold);
}
.section-title.light {
    color: var(--c-black); /* Now #FFF */
}

.section-subtitle {
    font-family: var(--font-sans);
    font-size: 1.125rem;
    color: var(--c-gray); /* Darkened to light gray for dark theme */
    max-width: 500px;
    margin-top: 1.5rem;
    font-weight: 300;
}

.small-title {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    color: var(--c-gold); /* Was dark gray, now gold for visibility */
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 2rem;
    font-weight: 500;
}

.decorative-line {
    width: 60px;
    height: 1px;
    background-color: var(--c-gold);
    margin-bottom: 0.5rem; /* Drastically reduced to bring numbers closer */
}

.mt-2 { margin-top: 1.5rem; } /* Reduced from 2rem */
.mt-3 { margin-top: 2rem; } /* Reduced from 3rem */
.mt-4 { margin-top: 3rem; } /* Reduced from 4rem */
.mt-s5 { margin-top: 4rem; } /* Reduced from 5rem */
.mb-4 { margin-bottom: 4rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }
.display-flex-between { display: flex; justify-content: space-between; align-items: flex-end; }
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-pad);
}

/* Animations & Scroll Reveals */
.fade-up { opacity: 0; transform: translateY(40px); transition: var(--trans-smooth); }
.fade-right { opacity: 0; transform: translateX(-40px); transition: var(--trans-smooth); }
.fade-left { opacity: 0; transform: translateX(40px); transition: var(--trans-smooth); }
.fade-in { opacity: 0; transition: var(--trans-smooth); }

.visible {
    opacity: 1;
    transform: translate(0, 0);
}

.hover-scale { transition: var(--trans-smooth); }
.hover-scale:hover { transform: scale(1.03); }

.shadow-premium {
    box-shadow: 0 30px 60px rgba(0,0,0,0.08); /* Soft diffuse shadow */
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), 
                background-color 0.3s ease, 
                color 0.3s ease, 
                border-color 0.3s ease,
                box-shadow 0.4s ease;
    border: 1px solid transparent;
    cursor: pointer;
    border-radius: 0;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn:active {
    transform: translateY(-2px);
}

.btn-primary {
    background-color: var(--c-black);
    color: var(--c-white);
    border: 1px solid var(--c-black);
}
.btn-primary:hover {
    background-color: var(--c-gold);
    color: var(--c-white);
    border-color: var(--c-gold);
}
.btn-turquoise { background-color: var(--c-turquoise); color: var(--c-white); }
.btn-turquoise:hover {
    background-color: var(--c-turquoise-dark);
    border-color: var(--c-turquoise-dark);
}

.btn-success {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
    color: white !important;
}
.btn-primary span { margin-left: 10px; font-size: 1rem; transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1); }
.btn-primary:hover span { transform: translateY(-2px); }

.btn-turquoise:hover { background-color: var(--c-white); color: var(--c-black); }

.btn-link {
    background-color: transparent;
    color: var(--c-black); /* Now #FFF */
    border-bottom: 1px solid var(--c-black);
    padding: 0.5rem 0;
}
.btn-link:hover {
    color: var(--c-gold);
    border-color: var(--c-gold);
}

.btn-outline {
    background-color: transparent;
    color: var(--c-black); /* Now #FFF */
    border: 1px solid var(--c-black);
}
.btn-outline.light-border {
    color: var(--c-black); /* Changed from var(--c-white) to fix visibility */
    border-color: rgba(255,255,255,0.4);
}
.btn-outline.light-border:hover {
    border-color: var(--c-gold);
    background: var(--c-gold);
    color: var(--c-black); /* Keep text white (var(--c-black)) on gold */
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 2rem 0;
    transition: var(--trans-smooth);
    background: transparent; /* Initial state fully transparent */
}
.navbar.scrolled {
    padding: 1.5rem 0;
    background: rgba(5, 5, 5, 0.7); /* Dark glass effect */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); /* Subtle border */
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-pad);
    display: flex;
    justify-content: flex-start; /* Links next to logo */
    align-items: center;
    gap: 4rem; /* Gap between logo and INÍCIO */
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.nav-logo-img {
    height: 60px; /* Increased for better proportions */
    width: auto;
    object-fit: contain;
    transition: var(--trans-smooth);
}

.navbar.scrolled .nav-logo-img {
    height: 45px; /* Increased for better proportions */
}

.logo-lm {
    display: none; /* Hiding the old text logo styles if they persist */
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}
.nav-links li a {
    text-decoration: none;
    color: var(--c-black); /* Now #FFF */
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    padding: 0.5rem 0;
}
.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    background: var(--c-gold);
    bottom: 0px;
    left: 0;
    transition: width 0.3s ease;
}
.nav-links li a:hover::after,
.nav-links li a.active::after { width: 100%; }
.nav-links li a.active { color: var(--c-gold); }

.menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}
.menu-toggle .bar {
    width: 25px;
    height: 1px;
    background-color: var(--c-black); /* Now #FFF */
    transition: var(--trans-smooth);
}

.whatsapp-float {
    position: fixed;
    bottom: 2.5rem;
    right: 2.5rem;
    width: 55px;
    height: 55px;
    background-color: var(--c-black);
    color: var(--c-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 99;
    animation: whatsapp-vibrate 5s ease-in-out infinite;
    border: 1px solid rgba(194, 154, 107, 0.3); /* Subtle gold border */
}

@keyframes whatsapp-vibrate {
    0%, 90%, 100% { transform: scale(1) rotate(0); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2); }
    92% { transform: scale(1.1) rotate(5deg); box-shadow: 0 15px 50px rgba(194, 154, 107, 0.4); }
    94% { transform: scale(1.1) rotate(-5deg); box-shadow: 0 15px 50px rgba(194, 154, 107, 0.4); }
    96% { transform: scale(1.1) rotate(5deg); box-shadow: 0 15px 50px rgba(194, 154, 107, 0.4); }
    98% { transform: scale(1.1) rotate(-5deg); box-shadow: 0 15px 50px rgba(194, 154, 107, 0.4); }
}

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

/* ==========================================================================
   1. Hero Section (Image Top, Text Bottom Layout)
   ========================================================================== */
.hero {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Push content to the bottom */
    background-color: var(--c-white);
}

.hero-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    position: relative;
}

.hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 0%; /* Changed to 0% to ensure the head is never cut at the top */
}

.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(5,5,5,0) 0%, rgba(5,5,5,0.2) 50%, var(--c-white) 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    padding: 60vh var(--container-pad) 10vh; /* Better mobile spacing */
    text-align: center;
    position: relative;
    z-index: 3;
}

/* Premium Split Strategy for Desktop (mimics high-end Media Kits) */
@media screen and (min-width: 1024px) {
    .hero {
        min-height: 100vh; /* Taller as requested */
        height: auto;
        display: flex;
        flex-direction: row;
        align-items: stretch;
        justify-content: flex-start;
        background-color: #050505;
        overflow: visible; /* Important: do not clip buttons */
    }
    
    .hero-image-wrapper {
        position: relative;
        flex: 1.2;
        height: 100%;
        order: 2;
        display: flex;
        justify-content: center;
        align-items: flex-start;
        overflow: hidden; /* Needed for the scale fix */
    }
    
    .hero-image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover !important;
        object-position: center 5% !important; /* Balanced framing */
        transform: scale(1.05); /* Subtle scale to "lift" the subject higher */
        transform-origin: top center;
    }
    
    .hero-inner {
        flex: 1;
        order: 1;
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
        padding-left: 5%;
        z-index: 10;
        background: #050505;
        min-height: 100vh;
        height: auto;
    }
    
    .hero-content {
        text-align: left;
        padding: 160px 0 100px 0; /* More balanced, 'extensive' bottom gap */
        max-width: 650px;
        margin: 0;
    }

    .hero-buttons {
        flex-direction: row;
        flex-wrap: wrap; /* Safety for narrower screens */
        align-items: center;
        justify-content: flex-start;
        margin-top: 2rem;
        gap: 1.5rem;
        width: 100%;
        max-width: 600px;
    }
    
    .hero-buttons .btn {
        width: auto;
        min-width: 200px;
        padding: 1.1rem 1.5rem;
        text-align: center;
        justify-content: center;
        background-color: var(--c-black); /* White bg */
        color: var(--c-gold); /* Gold text */
        border: 1px solid var(--c-gold);
        font-size: 0.75rem;
        font-weight: 600;
        letter-spacing: 2px;
    }

    .hero-buttons .btn:hover {
        background-color: var(--c-gold);
        color: var(--c-white); /* Back to luxury black text */
        border-color: var(--c-gold);
        box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
    }
    
    .btn-outline {
        border-color: var(--c-gold) !important;
        color: var(--c-gold) !important;
        background: transparent !important;
    }
    
    .hero-buttons .btn.btn-outline {
        background-color: transparent !important;
        color: var(--c-gold) !important;
        border: 1px solid var(--c-gold) !important;
    }
    
    .hero-buttons .btn.btn-outline:hover {
        background-color: var(--c-gold) !important;
        color: var(--c-white) !important;
    }

    .hero-gradient-overlay {
        background: linear-gradient(to left, rgba(5,5,5,0) 0%, rgba(5,5,5,1) 95%);
        width: 30%;
        left: 0;
        height: 100%;
    }
    
    .hero-title {
        font-size: 4.5rem; /* Slightly smaller to fit better */
        margin-left: -5px;
    }
}

.hero-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    position: relative;
}

.label {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--c-gold);
    display: inline-block;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 6rem;
    font-weight: 400;
    color: var(--c-gold);
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -2px;
}
.hero-title i {
    color: var(--c-gold);
}

.hero-subtitle {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    color: var(--c-gray); /* Now light gray */
    margin-bottom: 2.5rem;
    font-weight: 500; /* Increased weight for visibility */
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 1; /* Removed opacity for better contrast */
    text-shadow: 0 2px 4px rgba(0,0,0,0.8); /* Added shadow for readability on complex backgrounds */
}

.hero-text {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--c-black); /* Now white */
    margin-bottom: 3.5rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}


/* ==========================================================================
   2. Sobre Section
   ========================================================================== */
.about {
    padding: var(--section-pad);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 2fr 2fr; /* 3 columns: Title, Text, Images */
    gap: 3rem;
    align-items: flex-start;
    margin-top: 2rem;
}

.about-title-col {
    position: sticky;
    top: 150px;
}

.about-desc {
    font-family: var(--font-serif);
    font-size: 1.25rem; /* Smaller for better fit in 3 cols */
    line-height: 1.6;
    color: var(--c-black);
    margin-bottom: 2rem;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-images-col {
    position: relative;
    height: 550px; /* Reduced to fit better */
    width: 100%;
    margin: 0;
}

.img-main {
    position: absolute;
    top: 0;
    right: 0;
    width: 75%;
    height: 80%;
    z-index: 1;
    background: transparent !important;
    border: none !important;
    overflow: hidden;
    box-shadow: none !important;
}

.img-sub {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 55%;
    height: 55%;
    z-index: 2;
    border: none !important;
    background: transparent !important;
    overflow: hidden;
    box-shadow: none !important;
}

.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: none !important;
}

/* ==========================================================================
   3. Audiência Section
   ========================================================================== */
.audience {
    position: relative;
    padding: var(--section-pad);
    overflow: hidden;
}
.audience-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    height: 80vw;
    background: radial-gradient(circle, rgba(28,202,216,0.05) 0%, rgba(5,5,5,0) 70%);
    z-index: 0;
    pointer-events: none;
}
.full-height-center {
    position: relative;
    z-index: 1;
}

.audience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem; 
    align-items: center;
    max-width: 850px; /* Even tighter for proximity */
    margin: 0 auto;
}

.audience-grid.reverse {
    grid-template-columns: 1.2fr 1fr;
}
.audience-grid.reverse .audience-mockup {
    order: 2;
}
.audience-grid.reverse .audience-stats {
    order: 1;
}

.smartphone-frame {
    width: 300px; /* Reduced from 340px for better fit */
    height: 620px; /* Reduced from 700px for consistency */
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 40px;
    padding: 10px;
    margin: 0 auto;
    position: relative;
    background: #000; /* True black frame */
    box-shadow: 0 40px 100px rgba(0,0,0,0.5);
}

.double-phone {
    position: relative;
    height: 650px;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}
.double-phone .smartphone-frame {
    position: absolute;
    width: 280px;
    height: 580px;
    margin: 0;
    transition: all 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.double-phone .smartphone-frame:nth-child(1) {
    top: 0;
    left: 0;
    z-index: 1;
    transform: scale(0.9);
    opacity: 0.6;
}
.double-phone .smartphone-frame:nth-child(2) {
    bottom: 0;
    right: 0;
    z-index: 2;
    transform: scale(1);
    opacity: 1;
    box-shadow: -20px -20px 50px rgba(0,0,0,0.5);
}

.double-phone.swapped .smartphone-frame:nth-child(1) {
    z-index: 3;
    transform: scale(1);
    opacity: 1;
    box-shadow: 20px 20px 50px rgba(0,0,0,0.5);
}
.double-phone.swapped .smartphone-frame:nth-child(2) {
    z-index: 1;
    transform: scale(0.9);
    opacity: 0.6;
    box-shadow: none;
}

.smartphone-frame::before {
    content: '';
    position: absolute;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 24px;
    background: var(--c-black);
    border-radius: 12px;
    z-index: 2;
}
.smartphone-frame img {
    width: 100%;
    height: 100%;
    border-radius: 28px;
    object-fit: cover;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem 2rem;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 3.5rem; /* Reduced from 4.5rem for better balance */
    line-height: 1;
    color: var(--c-gold);
    display: flex;
    align-items: baseline;
    margin-bottom: 0.5rem;
}
.stat-number small {
    font-family: var(--font-sans);
    font-size: 1.2rem; /* Consistent reduction */
    font-weight: 300;
    margin-left: 2px;
}

.stat-label {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: var(--c-gray);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.stat-demographics {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem; /* Reduced from 3rem */
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}
.demo-val {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--c-black); /* inverted variable, this pulls #FFFFFF */
    display: block;
    margin-bottom: 5px;
}
.demo-text {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    color: var(--c-turquoise);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   4. Nichos e Marcas Section
   ========================================================================== */
.niches-brands {
    padding: var(--section-pad);
}

.niches-grid {
    position: relative;
    width: 100%;
    height: 350px;
    margin-bottom: 3rem;
}

.niche-card {
    padding: 0.8rem 1.8rem; /* Reduced from 1.2rem 2.5rem */
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 100px;
    background-color: transparent;
    transition: background-color 0.4s ease, border-color 0.4s ease; /* No transform transition for smooth JS frame rendering */
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    cursor: default;
}
.niche-card span {
    position: relative;
    z-index: 1;
    font-family: var(--font-sans);
    font-size: 0.65rem; /* Reduced from 0.8rem */
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--c-black); /* Now #FFF */
    transition: var(--trans-smooth);
}
.niche-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: var(--c-black); /* Now #FFF */
    transform: translateY(100%);
    transition: var(--trans-smooth);
    z-index: 0;
}
.niche-card:hover::before { transform: translateY(0); }
.niche-card:hover span { color: var(--c-black); }

.niche-text {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-style: italic;
    color: var(--c-black); /* Now #FFF */
    max-width: 600px;
}

.brands-text {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    color: var(--c-gray);
    max-width: 600px;
}

.brands-marquee-wrap {
    overflow: hidden;
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 4.5rem 0;
    background: var(--c-turquoise); /* Gold background */
    color: var(--c-black); /* White text on Gold */
    transform: rotate(-1.5deg);
    margin-top: 4rem;
    margin-bottom: 4rem;
    box-shadow: 0 15px 35px rgba(212,175,55,0.3); /* Updated shadow to gold */
}
.brands-marquee-wrap::before, .brands-marquee-wrap::after {
    display: none; /* Removed fades since background is solid */
}
.brands-marquee {
    display: flex;
    width: max-content;
    animation: marquee 35s linear infinite;
    align-items: center;
}
.brands-marquee:hover { animation-play-state: paused; }
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.brand-item {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 2.8rem;
    color: var(--c-black); /* Now #FFF */
    margin: 0 3rem;
    transition: var(--trans-fast);
    cursor: default;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.brand-item::after {
    content: '✦';
    font-size: 1.5rem;
    color: rgba(255,255,255,0.5);
}
.brand-item:hover {
    color: var(--c-turquoise);
    transform: scale(1.05);
}

/* ==========================================================================
   5. Portfólio Section
   ========================================================================== */
.portfolio {
    padding: var(--section-pad);
    background: var(--c-white);
    overflow: hidden;
}

.carousel-controls {
    display: flex;
    gap: 1.5rem; /* More breathing room */
}
.carousel-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--c-black);
    color: var(--c-black);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--trans-fast);
}
.carousel-btn:hover {
    background: var(--c-black);
    color: var(--c-white);
}

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

.portfolio-carousel-wrap {
    margin-top: 4rem; /* Tighter spacing */
    padding-left: calc((100vw - var(--container-width)) / 2 + var(--container-pad));
    padding-bottom: 3rem;
}

.portfolio-carousel {
    display: flex;
    gap: 4rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding-right: var(--container-pad);
}
.portfolio-carousel::-webkit-scrollbar { display: none; }

.portfolio-case {
    flex: 0 0 350px; /* Standardized width for desktop */
}

.case-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    height: auto;
    overflow: hidden;
}
.case-img-wrap img, 
.case-img-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}
.portfolio-case:hover img,
.portfolio-case:hover video { 
    transform: scale(1.08); /* Slightly more zoom for static feedback */
    filter: brightness(0.7); /* Darken to make play icon pop */
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px; /* Control size better */
    height: 60px;
    background: rgba(194, 154, 107, 0.5); /* Gold-ish tinted translucent */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--c-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    pointer-events: none;
}
.portfolio-case:hover .play-icon {
    transform: translate(-50%, -50%) scale(1.2);
    background: var(--c-gold);
    border-color: var(--c-white);
}
.play-icon svg {
    margin-left: 2px; /* Adjust for visual center */
    fill: var(--c-white);
    width: 24px;
    height: 24px;
}

.glass-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem 1.5rem 1.2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
    z-index: 2;
    opacity: 0;
    transition: var(--trans-smooth);
    pointer-events: none;
}
.portfolio-case:hover .glass-overlay {
    opacity: 1;
}

.case-client {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--c-white);
    margin: 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* Playing State for In-Place Playback */
.portfolio-case.playing .play-icon,
.portfolio-case.playing .glass-overlay {
    opacity: 0 !important;
    visibility: hidden;
}

.portfolio-case.playing video {
    transform: none !important;
    filter: none !important;
}

/* ==========================================================================
   Categories Showcase Section
   ========================================================================== */
.categories-section {
    padding-top: 4rem; /* Reduce top padding if it's too much after Selo Autoral */
}

.category-tabs-container {
    margin-top: 3rem;
    overflow-x: auto;
    scrollbar-width: none;
}
.category-tabs-container::-webkit-scrollbar { display: none; }

.category-tabs {
    display: flex;
    gap: 1rem;
    padding-bottom: 1rem;
}

.category-tab {
    padding: 1rem 1.8rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--c-gray);
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: var(--trans-smooth);
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px; /* Standardize height */
    box-sizing: border-box;
}

.category-tab:hover {
    background: rgba(194, 154, 107, 0.1);
    border-color: var(--c-gold);
    color: var(--c-gold);
}

.category-tab.active {
    background: var(--c-gold);
    border-color: var(--c-gold);
    color: var(--c-black); /* Changed from var(--c-white) to use white text on gold */
}

.categories-section .portfolio-carousel-wrap {
    margin-top: 3rem;
}

/* Pagination Dots */
.carousel-pagination {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 2.5rem;
    padding: 10px 0;
}

.carousel-pagination .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.carousel-pagination .dot:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.2);
}

.carousel-pagination .dot.active {
    background: var(--c-gold);
    border-color: var(--c-gold);
    width: 25px; /* Pill shape for active dot */
    border-radius: 5px;
    transform: scale(1);
}

@media (max-width: 768px) {
    .carousel-pagination {
        margin-top: 1.5rem;
    }
    .carousel-pagination .dot {
        width: 8px;
        height: 8px;
    }
    .carousel-pagination .dot.active {
        width: 20px;
    }
}

/* ==========================================================================
   6. Lifestyle Section
   ========================================================================== */
.lifestyle {
    padding: var(--section-pad);
    overflow: hidden;
}

.lifestyle-gallery-wrap {
    margin-top: 5rem;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    padding-bottom: 2rem;
}

.lifestyle-gallery {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: galleryMarquee 45s linear infinite;
}
.lifestyle-gallery:hover {
    animation-play-state: paused;
}

@keyframes galleryMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 1rem)); } /* -50% to scroll halfway through the duplicated items, -1rem for half the gap */
}

.gallery-item {
    height: 70vh; /* Responsive height */
    min-height: 400px;
    max-height: 600px;
    aspect-ratio: 9 / 16; /* Enforce vertical stories format */
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 8px; /* Slight rounding for a premium feel */
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    transform-origin: center;
}
.gallery-item:hover img { transform: scale(1.05); }

/* ==========================================================================
   7. Depoimentos Section
   ========================================================================== */
.feedbacks {
    padding: var(--section-pad);
    background: var(--c-offwhite); /* Truly off-black/dark charcoal */
}

.feedback-carousel {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.feedback-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.feedback-card {
    min-width: 100%;
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.feedback-img-card {
    padding: 1rem;
}

.feedback-screenshot {
    max-width: 100%;
    max-height: 450px;
    height: auto;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.4s ease;
}
.feedback-img-card:hover .feedback-screenshot {
    transform: scale(1.02);
}

.quote-mark {
    font-family: var(--font-serif);
    font-size: 5rem;
    color: var(--c-gold);
    line-height: 0;
    display: block;
    margin-bottom: 3rem;
    margin-top: 2rem;
}

.feedback-text {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    line-height: 1.4;
    color: var(--c-black); /* Now #FFF */
    margin-bottom: 3rem;
}

.feedback-author {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--c-gold);
}

.feedback-dots {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 2rem;
}
.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--c-gray);
    transition: var(--trans-fast);
}
.dot.active {
    background: var(--c-gold);
    transform: scale(1.5);
}
.feedback-dots {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 2rem;
    padding-bottom: 2rem; /* Safety buffer */
}

/* ==========================================================================
   8. Contato Section
   ========================================================================== */
.contact {
    padding: var(--section-pad);
}

.contact-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 3rem;
}
.contact-content {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-title {
    font-family: var(--font-serif);
    font-size: 5rem;
    line-height: 1.1;
    letter-spacing: -1px;
}
.contact-title i { color: var(--c-gold); font-weight: 300; }

.contact-desc {
    font-size: 1.2rem;
    color: var(--c-gray);
    margin-bottom: 4rem;
    max-width: 450px;
    font-weight: 400; /* Improved visibility */
}

.contact-actions {
    display: flex;
    gap: 1.5rem;
}

.contact-info {
    display: flex;
    gap: 4rem;
}
.contact-info p {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--c-gray);
}
.contact-info span {
    display: block;
    margin-top: 10px;
    font-family: var(--font-sans);
    font-size: 1.2rem;
    color: var(--c-white);
    letter-spacing: 1px;
    text-transform: none;
}

.img-frame-accent {
    height: 850px;
    width: 100%;
    position: relative;
    background: var(--c-black-light);
}
.contact-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: var(--c-white); /* Match the main black theme */
    color: var(--c-gray);
    padding: 4rem 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-logo {
    display: block;
    margin-bottom: 2rem;
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-style: italic;
    color: var(--c-black);
}

.footer-cta {
    display: inline-block;
    margin-bottom: 3rem;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    color: var(--c-gold);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0.8rem 1.8rem;
    border: 1px solid rgba(194, 154, 107, 0.3);
    border-radius: 50px;
    transition: var(--trans-smooth);
}
.footer-cta:hover {
    background: var(--c-gold);
    color: var(--c-white);
    border-color: var(--c-gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(194, 154, 107, 0.2);
}

.copyright-text {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    opacity: 0.5;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 2rem;
}

.footer p {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media screen and (max-width: 1200px) {
    .section-title { font-size: 3.5rem; }
    .hero-title { font-size: 4.5rem; }
    
    .hero-image-wrapper { height: 50vh; min-height: 400px; }
    .hero-content { padding-top: 0; margin-top: -2rem; }
    
    .about-grid, .audience-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    /* Audience grid specific for split sections < 1200px */
    .audience-grid.split-mobile {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    .audience-grid.split-mobile.reverse {
        grid-template-columns: 1fr 1fr;
    }
    
    .about-images-col { height: 600px; margin-top: 2rem; width: 100%; max-width: 500px; margin-left: auto; margin-right: auto; }
    
    .portfolio-case { flex: 0 0 350px; }
    .case-img-wrap { height: 500px; }
    
    .gallery-item { height: 500px; width: 350px; }
    
    .contact-image-wrap { height: 600px; }
}

@media screen and (max-width: 768px) {
    :root {
        --section-pad: 70px 0;
        --container-pad: 20px;
    }
    
    .section-title { font-size: 2.6rem; }
    .section-title span { font-size: 3.2rem; display: block; margin-top: -10px; }
    .hero { min-height: 100vh; padding-top: 0; height: auto; }
    .hero-image-wrapper { height: 100vh; min-height: 100vh; }
    .hero-content { padding: 75vh var(--container-pad) 15vh; margin-top: 0; }
    .hero-title { font-size: 3.5rem; }
    .hero-subtitle { font-size: 0.85rem; line-height: 1.4; margin-bottom: 1.5rem; }
    .hero-text { font-size: 1rem; margin-bottom: 2.5rem; opacity: 0.9; }
    .hero-buttons { flex-direction: column; width: 100%; gap: 1rem; }
    .hero-buttons .btn { width: 100%; text-align: center; justify-content: center; background-color: var(--c-black); color: var(--c-gold); border: 1px solid var(--c-gold);}
    
    .about-images-col { height: 450px; max-width: 100%; }

    .nav-container {
        width: 100%;
        justify-content: space-between;
        gap: 0;
    }

    .menu-toggle { display: flex; z-index: 1001; }
    .nav-links {
        position: fixed;
        top: 0; left: 0; width: 100%; height: 100vh;
        background: var(--c-black);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateY(-100%);
        transition: var(--trans-smooth);
        gap: 2.5rem;
        visibility: hidden;
        pointer-events: none;
    }
    .nav-links.active { 
        transform: translateY(0); 
        visibility: visible;
        pointer-events: auto;
    }
    .nav-links li a { color: var(--c-white); font-size: 1.3rem; }
    .menu-toggle.active .bar { background-color: var(--c-white); }
    
    .stats-grid { grid-template-columns: 1fr; gap: 2rem; }
    .stat-number { font-size: 3.5rem; }
    .stat-number small { font-size: 1.2rem; }
    
    .smartphone-frame { width: 100%; max-width: 300px; height: 620px; }
    
    .double-phone {
        height: 480px;
        max-width: 240px;
    }
    .double-phone .smartphone-frame {
        width: 180px;
        height: 380px;
    }
    
    .contact-actions { flex-direction: column; width: 100%; }
    .contact-actions .btn { width: 100%; text-align: center; }
    .contact-info { flex-direction: column; gap: 2rem; }
    
    .carousel-controls { display: none; }
    .portfolio-carousel-wrap { margin-top: 3rem; padding-left: var(--container-pad); }
    .portfolio-case { flex: 0 0 300px; }
    .case-img-wrap { width: 100%; aspect-ratio: 9/16; height: auto; border-radius: 12px;}
    
    .lifestyle-gallery-wrap { padding-left: var(--container-pad); }
    .gallery-item { height: 450px; width: 75vw; }
    
    .feedback-text { font-size: 1.3rem; }
    .quote-mark { font-size: 4rem; margin-bottom: 1.5rem; }
    
    .brands-marquee-wrap { transform: rotate(-2deg); margin-top: 2rem; }
    .brand-item { font-size: 2.2rem; margin: 0 2rem; }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 1.5rem;
        right: 1.5rem;
    }

    .navbar {
        padding: 1.5rem 0;
    }
}

/* ==========================================================================
   UX Improvements: Cursor & Back to Top & Magnetic
   ========================================================================== */
.back-to-top {
    position: fixed;
    bottom: 2.5rem;
    left: 2.5rem;
    width: 60px;
    height: 60px;
    background-color: var(--c-white);
    color: var(--c-black);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 98;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}
.back-to-top svg {
    transition: transform 0.3s;
}
.back-to-top:hover svg {
    transform: translateY(-3px);
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background-color: var(--c-black);
    color: var(--c-white);
    transform: translateY(-5px);
}

@media screen and (max-width: 768px) {
    .back-to-top {
        width: 50px;
        height: 50px;
        bottom: 1.5rem;
        left: 1.5rem;
    }
}

@media screen and (max-width: 1023px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .about-title-col {
        position: static;
    }
    .about-desc {
        font-size: 1.5rem;
    }
    .about-images-col {
        height: 600px;
    }
    
    .hero-buttons {
        flex-direction: column !important;
        align-items: center;
        width: 100%;
        max-width: 100%;
    }
    .hero-buttons .btn {
        width: 100%;
        max-width: 320px;
    }
}

@media (pointer: fine) {
    body { cursor: none; }
    a, button, .cursor-drag, .magnetic-btn { cursor: none; }

    .custom-cursor {
        position: fixed;
        width: 8px;
        height: 8px;
        background-color: var(--c-turquoise);
        border-radius: 50%;
        top: 0;
        left: 0;
        pointer-events: none;
        z-index: 9999;
    }

    .custom-cursor-follower {
        position: fixed;
        width: 40px;
        height: 40px;
        border: 1px solid rgba(28, 202, 216, 0.5);
        border-radius: 50%;
        top: 0;
        left: 0;
        pointer-events: none;
        z-index: 9998;
        transition: width 0.3s, height 0.3s, background-color 0.3s, border-color 0.3s;
    }

    .custom-cursor-follower.hover-state {
        width: 70px;
        height: 70px;
        background-color: rgba(28, 202, 216, 0.1);
        border-color: transparent;
    }
    
    .custom-cursor-follower.drag-state {
        width: 60px;
        height: 60px;
        border-color: var(--c-turquoise);
        background-color: transparent;
    }
}

.magnetic-btn {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1), background-color 0.3s, color 0.3s;
}
.magnetic-btn:hover {
    transition: transform 0.1s; /* Faster response when moving */
}

/* ==========================================================================
   Video Modal
   ========================================================================== */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: all 0.4s ease;
}
.video-modal.active {
    visibility: visible;
    opacity: 1;
}
.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.modal-content {
    position: relative;
    width: 90%;
    max-width: 450px;
    height: 80vh;
    background: #000;
    border-radius: 24px;
    overflow: hidden;
    transform: scale(0.9);
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 2001;
}
.video-modal.active .modal-content {
    transform: scale(1);
}
.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    z-index: 2002;
    display: flex;
    align-items: center;
    justify-content: center;
}
.video-container {
    width: 100%;
    height: 100%;
}
.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   Responsive & UX Improvements for Categorical Carousel
   ========================================================================== */
.categories-section .portfolio-carousel {
    scroll-snap-type: x mandatory;
    scroll-padding: 0 var(--container-pad);
}

.categories-section .portfolio-case {
    scroll-snap-align: start;
}

/* Custom Scrollbar for the Vitrine */
#category-track::-webkit-scrollbar {
    display: block;
    height: 3px;
}
#category-track::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}
#category-track::-webkit-scrollbar-thumb {
    background: var(--c-gold);
    border-radius: 10px;
}

@media screen and (max-width: 768px) {
    .categories-section .portfolio-case {
        flex: 0 0 280px;
    }
    
    .category-tabs {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
        padding: 0 1rem;
    }
    
    .category-tab {
        padding: 1rem 0.5rem;
        font-size: 0.65rem;
        text-align: center;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
    }

    .category-tabs-container {
        overflow-x: hidden; /* Prevent horizontal scroll on container */
        margin-top: 2rem;
    }

    .categories-section .portfolio-carousel-wrap {
        padding-left: 20px;
        margin-top: 2.5rem;
    }
}
