/* ------------------------------------------------------------ */
/* Custom Design Tokens & CSS Variables (Dynamically changed)   */
/* ------------------------------------------------------------ */
:root {
    /* Theme variables - set to Mário Neto defaults initially */
    --body-bg: #07080c; /* Deep Charcoal/Black */
    --text-color: #ffffff;
    --primary-color: #0b1c3d; /* Dark Blue of Logo */
    --secondary-color: #192e62; /* Logo Blue */
    --accent-color: #213567; /* Sapphire Blue */
    --glow-color: rgba(33, 53, 103, 0.4);
    
    --card-bg: rgba(255, 255, 255, 0.02);
    --card-border: rgba(255, 255, 255, 0.06);
    --card-text: #ffffff;
    --card-text-secondary: rgba(255, 255, 255, 0.65);
    
    --navbar-bg: rgba(7, 8, 12, 0.7);
    --nav-link-color: rgba(255, 255, 255, 0.75);
    --footer-bg: #040508;
    --title-color: #ffffff;
    
    --font-family: 'Montserrat', sans-serif;
    --title-font: 'Montserrat', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Mário Neto - Luxury Theme overrides */
body.mario-neto-theme {
    --title-font: 'Playfair Display', serif;
    --body-bg: #091326; /* Fundo azul-safira oficial */
    --primary-color: #0b1a36;
    --secondary-color: #192e62;
    --accent-color: #213567;
    --glow-color: rgba(33, 53, 103, 0.55);
    --navbar-bg: rgba(9, 19, 38, 0.85);
    --footer-bg: #050a14;
}

body.mario-neto-theme .hero-title {
    letter-spacing: -0.5px;
    font-weight: 800;
}

body.mario-neto-theme .btn {
    border-radius: 4px; /* Sharp luxury edges */
}

body.mario-neto-theme .hero-card-badge {
    border-radius: 4px;
}

body.mario-neto-theme .glass-card {
    border-radius: 6px;
}

/* Conceição - Modern Tech Theme overrides */
body.conceicao-theme {
    --title-font: 'Montserrat', sans-serif;
    --body-bg: #ffffff;
}

body.conceicao-theme .btn {
    border-radius: 35px; /* Friendly rounded tech edges */
}

body.conceicao-theme .hero-card-badge {
    border-radius: 20px;
}

body.conceicao-theme .glass-card {
    border-radius: 24px;
}

/* ------------------------------------------------------------ */
/* Base Resets & Global Styles                                  */
/* ------------------------------------------------------------ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--body-bg);
    transition: background-color 0.5s ease;
}

h1, h2, h3, h4, h5, h6, .hero-tagline, .stat-box h3, .badge-num, .obrigado-title, .faq-title {
    font-family: var(--title-font);
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--body-bg);
    background-image: radial-gradient(circle 600px at var(--cursor-x, 50vw) var(--cursor-y, 50vh), rgba(33, 53, 103, 0.15) 0%, transparent 100%);
    background-attachment: fixed;
    transition: background-color 0.5s ease, color 0.5s ease;
}

body.mario-neto-theme {
    background-image: radial-gradient(circle 800px at var(--cursor-x, 50vw) var(--cursor-y, 50vh), #102042 0%, #091326 100%) !important;
}

body.light-theme {
    background-image: radial-gradient(circle 600px at var(--cursor-x, 50vw) var(--cursor-y, 50vh), #f0f4f8 0%, #ffffff 100%) !important;
}


/* loading transition */
body.loading {
    opacity: 0;
}

body:not(.loading) {
    opacity: 1;
    transition: opacity 0.8s ease;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ------------------------------------------------------------ */
/* Background Canvas                                            */
/* ------------------------------------------------------------ */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

/* ------------------------------------------------------------ */
/* Dev Switcher Style (local testing)                          */
/* ------------------------------------------------------------ */
.dev-switcher {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 15px;
    border-radius: 30px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #fff;
}

.btn-switch {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 11px;
    transition: var(--transition-smooth);
}

.btn-switch.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #ffffff;
}

/* ------------------------------------------------------------ */
/* Header & Navbar                                              */
/* ------------------------------------------------------------ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: var(--navbar-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--card-border);
    transition: var(--transition-smooth);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.nav-logo-container {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-logo {
    max-height: 55px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-link {
    color: var(--nav-link-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
    padding: 8px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition-smooth);
}

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

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.nav-toggle .bar {
    width: 25px;
    height: 2px;
    background-color: var(--text-color);
    transition: var(--transition-smooth);
}

/* ------------------------------------------------------------ */
/* Hero Section                                                 */
/* ------------------------------------------------------------ */
.hero-section {
    position: relative;
    padding: 200px 0 120px 0;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-glow {
    position: absolute;
    top: 15%;
    left: 5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
    opacity: 0.25;
    filter: blur(80px);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    align-items: center;
    gap: 80px;
}

.hero-tagline {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--accent-color);
    display: inline-block;
    margin-bottom: 20px;
    position: relative;
}

.hero-title {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 25px;
    letter-spacing: -2px;
    color: var(--title-color);
}

.accent-text {
    color: var(--accent-color);
    background: linear-gradient(135deg, var(--text-color) 30%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 19px;
    color: var(--card-text-secondary);
    margin-bottom: 40px;
    font-weight: 350;
    line-height: 1.6;
}

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

/* ------------------------------------------------------------ */
/* Laser & Lens Refraction Animation System                    */
/* ------------------------------------------------------------ */
.laser-lens-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.optical-lens {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.02) 60%, rgba(33, 53, 103, 0.15) 90%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 0 40px rgba(33, 53, 103, 0.3), inset 0 0 25px rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 5;
    animation: float-lens 6s ease-in-out infinite;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.glass-reflection {
    position: absolute;
    top: 15%;
    left: 15%;
    width: 30%;
    height: 30%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.5) 0%, transparent 80%);
    border-radius: 50%;
    transform: rotate(-30deg);
}

.laser-beam {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color));
    box-shadow: 0 0 8px var(--accent-color), 0 0 15px var(--accent-color);
    width: 50%;
    left: 0;
    z-index: 2;
}

.laser-1 {
    top: 42%;
    animation: beam-shoot 5s infinite linear;
}

.laser-2 {
    top: 58%;
    animation: beam-shoot 5s infinite linear 2.5s;
}

.laser-beam-refracted {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
    box-shadow: 0 0 8px var(--accent-color), 0 0 15px var(--accent-color);
    width: 50%;
    right: 0;
    z-index: 2;
}

.laser-1-ref {
    top: 47%;
    transform: rotate(12deg);
    transform-origin: left center;
    animation: beam-refract 5s infinite linear;
}

.laser-2-ref {
    top: 53%;
    transform: rotate(-12deg);
    transform-origin: left center;
    animation: beam-refract 5s infinite linear 2.5s;
}

@keyframes float-lens {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-12px) scale(1.03); }
}

@keyframes beam-shoot {
    0% { transform: scaleX(0); transform-origin: left center; opacity: 0; }
    30% { transform: scaleX(1); transform-origin: left center; opacity: 1; }
    50% { transform: translateX(100%) scaleX(0); transform-origin: right center; opacity: 1; }
    100% { transform: translateX(100%) scaleX(0); transform-origin: right center; opacity: 0; }
}

@keyframes beam-refract {
    0%, 48% { transform: scaleX(0); opacity: 0; }
    50% { transform: scaleX(1); opacity: 1; }
    80% { transform: translateX(100%) scaleX(0); opacity: 1; }
    100% { transform: translateX(100%) scaleX(0); opacity: 0; }
}

/* ------------------------------------------------------------ */
/* Buttons & UI Elements                                        */
/* ------------------------------------------------------------ */
.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    font-family: var(--font-family);
    transition: var(--transition-smooth);
    text-align: center;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent-color);
    color: #ffffff;
    box-shadow: 0 4px 20px var(--glow-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px var(--glow-color);
    border-color: rgba(255, 255, 255, 0.25);
}

.btn-secondary {
    background: rgba(120, 120, 120, 0.04);
    border: 1px solid var(--card-border);
    color: var(--text-color);
}

.btn-secondary:hover {
    background: rgba(120, 120, 120, 0.08);
    border-color: var(--accent-color);
    transform: translateY(-3px);
}

/* Glassmorphism Card Style */
.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 20px;
    padding: 35px;
    transition: var(--transition-smooth);
    color: var(--card-text);
}

.glass-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-6px);
    box-shadow: 0 15px 35px var(--glow-color);
}

/* Hero card visual mockup */
.hero-card {
    position: relative;
    width: 100%;
    aspect-ratio: 1.1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0.15) 100%);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

body:not(.light-theme) .hero-card {
    background: radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.03) 0%, rgba(0,0,0,0.5) 100%);
    box-shadow: 0 25px 65px rgba(0, 0, 0, 0.5);
}

.hero-card-badge {
    position: absolute;
    bottom: -15px;
    left: -15px;
    background: var(--body-bg);
    border: 1px solid var(--accent-color);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    padding: 15px 30px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition-smooth);
}

body:not(.light-theme) .hero-card-badge {
    box-shadow: 0 12px 30px rgba(0,0,0,0.6);
}

.badge-num {
    font-size: 32px;
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1;
}

.badge-txt {
    font-size: 10px;
    font-weight: 600;
    color: var(--card-text-secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 6px;
}

/* ------------------------------------------------------------ */
/* Bento Grid Section                                           */
/* ------------------------------------------------------------ */
.unidades-section, .sobre-section, .diferenciais-section, .marcas-section {
    padding: 120px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 900;
    margin-bottom: 18px;
    color: var(--title-color);
    letter-spacing: -1.5px;
}

.section-header p {
    font-size: 17px;
    color: var(--card-text-secondary);
    font-weight: 350;
}

/* Bento Grid Layout */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: minmax(190px, auto);
    gap: 24px;
}

/* Bento grid card configurations */
.bento-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

/* Mouse light tracker layer on bento card */
.bento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    background: radial-gradient(350px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(255, 255, 255, 0.08), transparent 45%);
    z-index: -1;
    pointer-events: none;
    transition: opacity 0.5s ease;
    opacity: 0;
}

body:not(.light-theme) .bento-card::before {
    background: radial-gradient(350px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(33, 53, 103, 0.22), transparent 45%);
}

.bento-card:hover::before {
    opacity: 1;
}

/* Matriz / Centro: Highlight card */
.bento-size-large {
    grid-column: span 3;
    grid-row: span 2;
    background: radial-gradient(circle at 100% 0%, rgba(33, 53, 103, 0.08) 0%, var(--card-bg) 70%);
    border-color: rgba(33, 53, 103, 0.3);
}

body:not(.light-theme) .bento-size-large {
    background: radial-gradient(circle at 100% 0%, rgba(33, 53, 103, 0.12) 0%, var(--card-bg) 70%);
    border-color: rgba(33, 53, 103, 0.4);
}

.bento-size-medium {
    grid-column: span 3;
    grid-row: span 1;
}

.bento-size-small {
    grid-column: span 2;
    grid-row: span 1;
}

.bento-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--title-color);
}

.bento-card h3::before {
    content: '📍';
    font-size: 19px;
}

.bento-card p {
    font-size: 15px;
    color: var(--card-text-secondary);
    font-weight: 350;
    margin-bottom: 20px;
}

.bento-card .address-details {
    margin-bottom: 20px;
}

.bento-card .phone-link {
    display: block;
    color: var(--card-text-secondary);
    text-decoration: none;
    font-size: 14px;
    margin-top: 6px;
    transition: var(--transition-smooth);
}

.bento-card .phone-link:hover {
    color: var(--accent-color);
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #25d366;
    color: #ffffff !important;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    align-self: flex-start;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
    transition: var(--transition-smooth);
    border: none;
}

.btn-whatsapp:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp .icon {
    font-size: 16px;
}

/* ------------------------------------------------------------ */
/* Sobre Nós Layout                                             */
/* ------------------------------------------------------------ */
.sobre-card {
    background: radial-gradient(circle at 0% 100%, rgba(33, 53, 103, 0.08) 0%, var(--card-bg) 60%);
    padding: 60px;
}

.sobre-layout {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 60px;
    align-items: center;
}

.sobre-text h2 {
    font-size: 36px;
    margin-bottom: 22px;
    color: var(--title-color);
}

.sobre-text p {
    font-size: 17px;
    color: var(--card-text-secondary);
    margin-bottom: 18px;
    font-weight: 350;
    line-height: 1.65;
}

.sobre-stats {
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

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

.stat-box h3 {
    font-size: 48px;
    font-weight: 800;
    color: var(--accent-color);
}

.stat-box p {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--card-text-secondary);
    margin-top: 6px;
}

/* ------------------------------------------------------------ */
/* Diferenciais Layout                                          */
/* ------------------------------------------------------------ */
.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
}

.diferencial-card {
    text-align: center;
    padding: 40px 30px;
}

.card-icon {
    font-size: 44px;
    margin-bottom: 24px;
    display: inline-block;
}

.diferencial-card h3 {
    font-size: 22px;
    margin-bottom: 18px;
    color: var(--title-color);
}

.diferencial-card p {
    font-size: 15px;
    color: var(--card-text-secondary);
    font-weight: 350;
}

/* ------------------------------------------------------------ */
/* Marcas Section Layout                                       */
/* ------------------------------------------------------------ */
.marcas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    align-items: center;
    justify-content: center;
}

.marca-item {
    background: rgba(120, 120, 120, 0.02);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    color: var(--nav-link-color);
    letter-spacing: 2px;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.marca-item:hover {
    color: var(--accent-color);
    background: rgba(33, 53, 103, 0.06);
    border-color: var(--accent-color);
    transform: scale(1.04);
}

/* ------------------------------------------------------------ */
/* Footer Layout                                                */
/* ------------------------------------------------------------ */
.footer {
    background: var(--footer-bg);
    border-top: 1px solid var(--card-border);
    padding: 80px 0 40px 0;
    transition: background-color 0.5s ease;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-logo {
    max-height: 45px;
    width: auto;
    object-fit: contain;
}

.footer-brand p {
    font-size: 13px;
    color: var(--card-text-secondary);
}

.footer-links ul {
    display: flex;
    list-style: none;
    gap: 35px;
}

.footer-links a {
    color: var(--nav-link-color);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid var(--card-border);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    color: var(--card-text-secondary);
}

/* ------------------------------------------------------------ */
/* Responsive Configurations (Media Queries)                  */
/* ------------------------------------------------------------ */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
        padding-top: 40px;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-visual {
        max-width: 420px;
        margin: 0 auto;
    }
    
    .bento-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .bento-size-large {
        grid-column: span 4;
        grid-row: span 2;
    }
    
    .bento-size-medium {
        grid-column: span 4;
        grid-row: span 1;
    }
    
    .bento-size-small {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .sobre-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .sobre-stats {
        justify-content: center;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        height: 80px;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--body-bg);
        transition: var(--transition-smooth);
        z-index: 99;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        padding-top: 50px;
        gap: 40px;
    }
    
    .nav-link {
        font-size: 18px;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-title {
        font-size: 34px;
    }
    
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: minmax(170px, auto);
    }
    
    .bento-size-large {
        grid-column: span 2;
        grid-row: span 2;
    }
    
    .bento-size-medium {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .bento-size-small {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .footer-links ul {
        flex-direction: column;
        gap: 20px;
    }
}

/* ------------------------------------------------------------ */
/* Scroll Animation Classes (UX/UI Smooth Entrance)            */
/* ------------------------------------------------------------ */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(32px);
    filter: blur(8px);
    letter-spacing: 2px;
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), filter 1s cubic-bezier(0.16, 1, 0.3, 1), letter-spacing 1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform, filter, letter-spacing;
}

.reveal-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
    letter-spacing: normal;
}

/* Cascaded delays for grid structures */
.bento-card:nth-child(2) { transition-delay: 0.08s; }
.bento-card:nth-child(3) { transition-delay: 0.16s; }
.bento-card:nth-child(4) { transition-delay: 0.24s; }
.bento-card:nth-child(5) { transition-delay: 0.32s; }

.diferencial-card:nth-child(2) { transition-delay: 0.12s; }
.diferencial-card:nth-child(3) { transition-delay: 0.24s; }

.marca-item:nth-child(2) { transition-delay: 0.08s; }
.marca-item:nth-child(3) { transition-delay: 0.16s; }
.marca-item:nth-child(4) { transition-delay: 0.24s; }

/* ------------------------------------------------------------ */
/* Image Card & Hover Zoom Effects                             */
/* ------------------------------------------------------------ */
.img-card {
    padding: 0 !important;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

body:not(.light-theme) .img-card {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.img-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
}

.img-card:hover .hero-img {
    transform: scale(1.08); /* Smooth zooming transition */
}

.img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 65%, rgba(0, 0, 0, 0.5));
    pointer-events: none;
}

body.light-theme .img-overlay {
    background: linear-gradient(to bottom, transparent 65%, rgba(255, 255, 255, 0.25));
}

/* ------------------------------------------------------------ */
/* Custom Magnetic Cursor & 3D Tilt Layout                     */
/* ------------------------------------------------------------ */
@media (hover: hover) and (pointer: fine) {
    body, a, button, select, input, .marca-item, .bento-card, .btn {
        cursor: none !important;
    }
}

.custom-cursor-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    pointer-events: none;
    display: none;
}

@media (hover: hover) and (pointer: fine) {
    .custom-cursor-container {
        display: block;
    }
}

.cursor-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: var(--accent-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 10000;
    transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease;
}

body.mario-neto-theme .cursor-dot {
    background-color: #3b82f6; /* Bright cyan dot for Mario Neto */
}

.cursor-ring {
    position: absolute;
    width: 32px;
    height: 32px;
    border: 1px solid var(--accent-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    will-change: width, height, transform, border-color, background-color;
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), height 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, background-color 0.3s ease;
}

body.mario-neto-theme .cursor-ring {
    border-color: rgba(59, 130, 246, 0.4);
}

.custom-cursor-container.hovering .cursor-ring {
    width: 48px;
    height: 48px;
    border-color: transparent;
    background-color: rgba(33, 53, 103, 0.15);
}

body.mario-neto-theme .custom-cursor-container.hovering .cursor-ring {
    background-color: rgba(59, 130, 246, 0.12);
}

.custom-cursor-container.hovering .cursor-dot {
    width: 10px;
    height: 10px;
}

/* 3D Tilt Container rules */
.glass-card, .marca-item, .bento-card {
    transform-style: preserve-3d;
    transform: perspective(1000px);
    will-change: transform;
    transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.1s ease;
}

/* ------------------------------------------------------------ */
/* 3D Eyeglasses Viewer & Simulator Styles                     */
/* ------------------------------------------------------------ */
.visual-3d-card {
    position: relative;
    width: 100%;
    aspect-ratio: 1.1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 24px !important;
    background: radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.04) 0%, rgba(0, 0, 0, 0.12) 100%);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

body:not(.light-theme) .visual-3d-card {
    background: radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.02) 0%, rgba(0,0,0,0.45) 100%);
    box-shadow: 0 25px 65px rgba(0, 0, 0, 0.45);
}

.glasses-3d-container {
    width: 100%;
    flex-grow: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 80%;
    outline: none;
}

.glasses-3d-container canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
    outline: none;
}

.lens-customizer {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 10;
    border-top: 1px solid var(--card-border);
    padding-top: 16px;
    margin-top: 5px;
}

.customizer-label {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--card-text-secondary);
    margin-bottom: 4px;
}

.customizer-buttons {
    display: flex;
    gap: 12px;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-lens {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    color: var(--text-color);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
    cursor: pointer;
    font-family: var(--font-family);
    outline: none;
}

body.light-theme .btn-lens {
    background: rgba(33, 53, 103, 0.03);
}

.btn-lens:hover {
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.07);
}

body.light-theme .btn-lens:hover {
    background: rgba(33, 53, 103, 0.06);
}

.btn-lens.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #ffffff !important;
    box-shadow: 0 4px 14px var(--glow-color);
}

.lens-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.ar-dot { background-color: #00ffcc; box-shadow: 0 0 6px #00ffcc; }
.blue-dot { background-color: #00d2ff; box-shadow: 0 0 6px #00d2ff; }
.solar-dot { background-color: #222222; border: 1px solid rgba(255, 255, 255, 0.35); }

/* ------------------------------------------------------------ */
/* Infinite Horizontal Marquee Carousel                       */
/* ------------------------------------------------------------ */
.marquee-container {
    width: 100vw;
    margin-left: calc(-50vw + 50%); /* Fullscreen width escape */
    overflow: hidden;
    padding: 24px 0;
    position: relative;
    background: rgba(255, 255, 255, 0.015);
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
}

body.light-theme .marquee-container {
    background: rgba(33, 53, 103, 0.015);
}

.marquee-content {
    display: flex;
    white-space: nowrap;
    gap: 48px;
    animation: marquee-scroll 24s linear infinite;
    width: max-content;
}

.marquee-content span {
    font-family: var(--title-font);
    font-size: 26px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--text-color);
    opacity: 0.2;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.marquee-container:hover .marquee-content span {
    opacity: 0.5;
}

@keyframes marquee-scroll {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* ------------------------------------------------------------ */
/* Editorial Mixed Typography & Outlines                       */
/* ------------------------------------------------------------ */
.hero-title em {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
    text-transform: none;
    color: var(--accent-color);
    padding-right: 4px;
}

body.mario-neto-theme .hero-title em {
    color: #3b82f6; /* Cyan glowing italics for Mario */
}

.outline-text {
    color: transparent !important;
    -webkit-text-stroke: 1.5px var(--accent-color);
    font-weight: 900;
}

body.mario-neto-theme .outline-text {
    -webkit-text-stroke: 1.5px #3b82f6;
}




