:root {
    --bg-dark: #080a0f;
    --primary: #0284c7;
    --primary-dark: #034b82;
    --primary-glow: rgba(2, 132, 199, 0.45);
    --secondary: #003366;
    --accent-blue: #38bdf8;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --glass-bg: rgba(8, 18, 36, 0.78);
    --glass-border: rgba(56, 189, 248, 0.18);
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --header-height: 80px;
}

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

html {
    scroll-padding-top: calc(var(--header-height) + 20px);
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
}

body {
    overflow-x: hidden;
    position: relative;
}

/* WebGL Container */
#webgl-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
}

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    max-width: 400px;
    width: 90%;
}

.brand-logo {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 900;
    letter-spacing: 2px;
    padding: 20px;
    color: #fff;
    display: flex;
    justify-content: center;
    /* Centraliza horizontalmente */
    align-items: center;
    /* Centraliza verticalmente se houver altura definida */
    width: 100%;
}

.brand-logo span,
.highlight,
.logo .dot {
    color: var(--primary);
}

.loader-subtitle {
    margin-top: 10px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.progress-bar-bg {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 99px;
    margin: 20px 0 10px;
    overflow: hidden;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    transition: width 0.2s ease;
    box-shadow: 0 0 12px var(--primary-glow);
}

.progress-text {
    font-family: var(--font-heading);
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 700;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.2rem 2.5rem;
    backdrop-filter: blur(12px);
    background: rgba(8, 10, 15, 0.4);
    border-bottom: 1px solid var(--glass-border);
}

.header-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-img {
    height: 38px;
    width: auto;
    object-fit: contain;
    display: block;
}

.nav-menu {
    display: flex;
    gap: 1.8rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--text-main);
}

/* Submenu Dropdown */
.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.dropdown-trigger {
    background: none;
    border: none;
    color: var(--text-muted);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.dropdown-trigger:hover,
.nav-dropdown:hover .dropdown-trigger {
    color: var(--text-main);
}

.dropdown-arrow {
    font-size: 0.65rem;
    transition: transform 0.25s ease;
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(8, 14, 28, 0.95);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 0.6rem 0;
    min-width: 220px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 15px rgba(56, 189, 248, 0.12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s;
    z-index: 120;
    overflow: hidden;
}

/* Ponte invisível no container pai para o cursor nunca perder o hover */
.nav-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: -20px;
    right: -20px;
    height: 25px;
    display: block;
    z-index: 110;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(4px);
}

.nav-dropdown-menu a {
    display: block;
    position: relative;
    padding: 0.65rem 1.2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    white-space: nowrap;
    transition: background 0.25s ease, color 0.25s ease, padding-left 0.25s ease;
}

.nav-dropdown-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-blue) 0%, rgba(56, 189, 248, 0.4) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-dropdown-menu a:hover {
    background: rgba(56, 189, 248, 0.12);
    color: #fff;
    padding-left: 1.45rem;
}

.nav-dropdown-menu a:hover::after {
    transform: scaleX(1);
}

.btn-whatsapp-nav,
.btn-primary {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 50%, #004b87 100%);
    color: #ffffff;
    padding: 0.75rem 1.6rem;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.9rem;
    border: 1px solid rgba(56, 189, 248, 0.4);
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: inline-block;
}

.btn-whatsapp-nav:hover,
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--primary-glow);
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 50%, #0369a1 100%);
    color: #ffffff;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 0.75rem 1.6rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--glass-border);
    transition: all 0.2s ease;
    display: inline-block;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* Scroll Container */
/* Scroll Container Track */
.scroll-container {
    position: relative;
    z-index: 10;
}

.stage-section {
    min-height: 250vh;
    display: flex;
    align-items: center;
    padding: 4rem 8%;
    position: relative;
    pointer-events: none;
}

.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

#retrovisores {
    scroll-margin-top: 100vh;
    /* Aumenta a distância percorrida pelo scroll */
}

#cronotacografo {
    scroll-margin-top: 50vh;
    /* Aumenta a distância percorrida pelo scroll */
}

#iluminacao {
    scroll-margin-top: 50vh;
}

#contato {
    scroll-margin-top: -10vh;
    /* Aumenta a distância percorrida pelo scroll */
}

/* Modals pinned in viewport overlay */
#cronotacografo .content-box,
#retrovisores .content-box,
#iluminacao .content-box,
#acessorios .content-box {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 25;
    pointer-events: auto;
    opacity: 0;
    visibility: hidden;
}

#cronotacografo .content-box,
#acessorios .content-box {
    left: 8%;
}

#cronotacografo .content-box {
    top: 50%;
}

#retrovisores .content-box,
#iluminacao .content-box {
    right: 8%;
    left: auto;
}

.content-box {
    max-width: 540px;
    pointer-events: auto;
    background: transparent;
    transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.hero-section .content-box {
    padding: 1.5rem 0;
    border-radius: 16px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    font-weight: 900;
    line-height: 1.1;
    margin: 1.2rem 0;
}

.hero-desc {
    color: var(--text-muted);
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.35rem 0.85rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: none;
    border-radius: 0 4px 4px 0;
    border-left: 3px solid #f59e0b;
    background: linear-gradient(90deg, rgba(245, 158, 11, 0.16) 0%, rgba(245, 158, 11, 0.02) 100%);
    color: #fbbf24;
}

.badge::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: currentColor;
    box-shadow: 0 0 8px currentColor;
}

.badge-tech {
    border-left-color: #38bdf8;
    background: linear-gradient(90deg, rgba(56, 189, 248, 0.16) 0%, rgba(56, 189, 248, 0.02) 100%);
    color: #38bdf8;
}

.badge-accent {
    border-left-color: #f43f5e;
    background: linear-gradient(90deg, rgba(244, 63, 94, 0.16) 0%, rgba(244, 63, 94, 0.02) 100%);
    color: #fb7185;
}

.badge-success {
    border-left-color: #10b981;
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.16) 0%, rgba(16, 185, 129, 0.02) 100%);
    color: #34d399;
}

/* Cards & Glassmorphism */
.card-glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.card-glass h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    margin: 1rem 0;
    line-height: 1.25;
}

.card-glass p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    margin-bottom: 2rem;
}

.feature-list li {
    color: #e5e7eb;
    margin-bottom: 0.6rem;
    font-weight: 500;
    font-size: 0.95rem;
}

.right-aligned {
    margin-left: auto;
}

/* Scroll Indicator */
.scroll-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 2rem;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--primary);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--primary);
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 4px;
    animation: scrollAnim 1.6s infinite ease-in-out;
}

@keyframes scrollAnim {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 15px);
        opacity: 0;
    }
}

.scroll-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Footer Section */
.stage-footer-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0;
    position: relative;
    width: 100%;
}

.footer-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    pointer-events: auto;
    position: relative;
    z-index: 2;
    padding: 0 0 0;
}

.site-footer {
    width: 100%;
    border: none;
    border-top: 1px solid var(--glass-border);
    padding: 2.2rem 2.5rem 1.2rem;
    background: rgba(8, 14, 28, 0.55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 0;
    box-shadow: none;
    position: relative;
    z-index: 20;
}

/* ========================================================
   SEÇÃO COMO NOS ENCONTRAR & FORMULÁRIO DE CONTATO
   ======================================================== */
.contact-section {
    max-width: 1200px;
    margin: 0 auto 2.5rem auto;
    padding: 2.5rem;
}

.contact-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 2.2rem;
}

.contact-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 800;
    margin: 0.8rem 0;
    letter-spacing: 0.5px;
}

.contact-header p {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.6;
}

.contact-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

/* Tabs de Unidades */
.location-tabs {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}

.loc-tab {
    flex: 1;
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.loc-tab:hover {
    color: #fff;
    border-color: rgba(56, 189, 248, 0.4);
    background: rgba(2, 132, 199, 0.15);
}

.loc-tab.active {
    background: linear-gradient(135deg, #0284c7 0%, #034b82 100%);
    border-color: #38bdf8;
    color: #fff;
    box-shadow: 0 4px 16px rgba(2, 132, 199, 0.35);
}

/* Mapas */
.maps-wrapper {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    margin-bottom: 1.4rem;
}

.map-frame iframe {
    display: block;
    width: 100%;
}

/* Card de Informações da Unidade */
.location-info-card {
    background: rgba(8, 14, 28, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.info-row {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.info-row-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

.info-icon {
    font-size: 1.2rem;
    line-height: 1;
    margin-top: 2px;
}

.info-text small {
    display: block;
    color: var(--text-muted);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 2px;
}

.info-text div,
.info-text a {
    color: var(--text-main);
    font-size: 0.88rem;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.info-text a:hover {
    color: var(--accent-blue);
}

/* Formulário de Contato */
.contact-form-wrapper {
    background: rgba(8, 14, 28, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    padding: 1.8rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.form-group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #e5e7eb;
    letter-spacing: 0.3px;
}

.form-group input,
.form-group textarea {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.92rem;
    transition: all 0.25s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #38bdf8;
    background: rgba(15, 23, 42, 1);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

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

.captcha-box {
    margin-bottom: 1.2rem;
    overflow-x: auto;
}

.form-feedback {
    padding: 0.8rem 1rem;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.form-feedback.success {
    background: rgba(16, 185, 129, 0.18);
    border: 1px solid #10b981;
    color: #34d399;
}

.form-feedback.error {
    background: rgba(239, 68, 68, 0.18);
    border: 1px solid #ef4444;
    color: #f87171;
}

@media (max-width: 900px) {
    .contact-body {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }

    .contact-section {
        padding: 1.5rem;
    }

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

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

.footer-cols {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-cols h4 {
    color: #fff;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.footer-cols a {
    color: var(--text-muted);
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    padding-top: 1rem;
    border-top: none;
}

@media (max-width: 1200px) {
    .hero-section .content-box {
        background: rgba(8, 10, 15, 0.65);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: 1px solid var(--glass-border);
        padding: 2rem;
    }
}

/* Botão mobile oculto em desktop */
.btn-mobile-toggle {
    display: none;
}

@media (max-width: 900px) {
    :root {
        --header-height: 60px;
    }

    /* Header & Mobile Toggle */
    .header {
        padding: 0.8rem 1.2rem;
    }

    .header-actions {
        display: flex;
        align-items: center;
        gap: 0.8rem;
    }

    .btn-mobile-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 32px;
        height: 22px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 150;
    }

    .btn-mobile-toggle .bar {
        width: 100%;
        height: 2.5px;
        background: #fff;
        border-radius: 4px;
        transition: all 0.3s ease;
    }

    .btn-mobile-toggle.active .bar:nth-child(1) {
        transform: translateY(9.5px) rotate(45deg);
    }

    .btn-mobile-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .btn-mobile-toggle.active .bar:nth-child(3) {
        transform: translateY(-9.5px) rotate(-45deg);
    }

    /* Menu Drawer Mobile */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 82%;
        max-width: 320px;
        height: 100vh;
        background: rgba(8, 14, 28, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-left: 1px solid var(--glass-border);
        flex-direction: column;
        align-items: flex-start;
        padding: calc(var(--header-height) + 2rem) 1.8rem 2rem;
        gap: 1.2rem;
        transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 140;
        overflow-y: auto;
    }

    .nav-menu.mobile-open {
        right: 0;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
    }

    .nav-dropdown {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-dropdown-menu {
        position: static;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        background: transparent;
        border: none;
        box-shadow: none;
        padding-left: 1rem;
        margin-top: 0.3rem;
        min-width: 100%;
    }

    .nav-dropdown::after {
        display: none;
    }

    /* Hero Section Mobile Topo */
    .hero-section {
        min-height: 100vh !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        padding-top: 90px !important;
        padding-left: 1.2rem !important;
        padding-right: 1.2rem !important;
    }

    .hero-section .content-box {
        margin-top: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .hero-title {
        font-size: 1.95rem !important;
        line-height: 1.2 !important;
        margin: 0.8rem 0 !important;
    }

    .hero-desc {
        display: none;
    }

    .stage-section {
        padding: 2rem 5%;
    }

    /* Pinned cards on mobile: Bottom Sheet Card pattern */
    #cronotacografo .content-box,
    #retrovisores .content-box,
    #iluminacao .content-box,
    #acessorios .content-box {
        top: auto !important;
        bottom: 24px !important;
        left: 16px !important;
        right: 16px !important;
        width: auto !important;
        max-width: calc(100vw - 32px) !important;
        transform: none !important;
        padding: 1.5rem !important;
    }

    .card-glass {
        padding: 1.5rem !important;
        border-radius: 14px !important;
        background: rgba(8, 14, 28, 0.88) !important;
        box-shadow: 0 12px 36px rgba(0, 0, 0, 0.75) !important;
    }

    .card-glass h2 {
        font-size: 1.35rem !important;
        margin: 0.6rem 0 !important;
    }

    .card-glass p {
        font-size: 0.9rem !important;
        line-height: 1.45 !important;
        margin-bottom: 0.8rem !important;
    }

    .feature-list {
        margin-bottom: 1.2rem !important;
    }

    .feature-list li {
        font-size: 0.82rem !important;
        margin-bottom: 0.4rem !important;
    }

    .card-glass .btn-primary {
        width: 100%;
        text-align: center;
        padding: 0.7rem 1.2rem;
    }

    /* Footer Mobile Elegante: 1 coluna, espaçamento e leitura confortável */
    .site-footer {
        padding: 2.2rem 1.5rem 1.8rem !important;
        background: rgba(8, 14, 28, 0.92) !important;
        border-top: 1px solid var(--glass-border) !important;
    }

    .footer-cols {
        grid-template-columns: 1fr !important;
        gap: 1.8rem !important;
        margin-bottom: 1.8rem !important;
    }

    .footer-cols .col {
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        padding-bottom: 1.2rem;
    }

    .footer-cols .col:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .footer-cols h4 {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
        color: var(--accent-blue);
    }

    .footer-cols p {
        font-size: 0.92rem;
        line-height: 1.7;
        margin-bottom: 0.4rem;
    }

    .footer-bottom {
        padding-top: 1.2rem !important;
        font-size: 0.8rem !important;
        line-height: 1.5;
    }
}

/* ========================================================
   ESTILOS PARA PÁGINAS INTERNAS (PRODUTOS & SERVIÇOS)
   ======================================================== */
.internal-page {
    padding-top: calc(var(--header-height) + 2rem);
    min-height: 100vh;
    position: relative;
    z-index: 10;
    background: linear-gradient(180deg, rgba(8, 14, 28, 0.72) 0%, rgba(8, 14, 28, 0.90) 40%, rgba(8, 14, 28, 0.96) 100%);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

.page-hero {
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
}

.page-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    font-weight: 800;
    margin: 1rem 0;
    letter-spacing: 0.5px;
}

.page-hero p.lead {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.6;
}

.page-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
    margin-bottom: 3.5rem;
}

.page-content-text {
    color: #e5e7eb;
    font-size: 1rem;
    line-height: 1.7;
}

.page-content-text h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 1rem;
}

.page-content-text p {
    margin-bottom: 1.2rem;
    color: var(--text-muted);
}

.page-media-box {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
    background: rgba(8, 14, 28, 0.6);
}

.page-media-box img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.page-media-box:hover img {
    transform: scale(1.03);
}

/* Banner de destaque grande (largura total) */
.page-banner-wide {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 3rem auto;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--primary-dark);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    /*background: #ffffff;*/
    display: flex;
    justify-content: center;
    align-items: center;
    /*padding: 1.5rem;*/
}

.page-banner-wide img {
    max-width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: contain;
    display: block;
    border-radius: 12px;
}

.page-section-full {
    margin-bottom: 3.5rem;
}

/* Grids de cards para listas de produtos/funcionalidades */
.product-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.8rem;
    margin-bottom: 4rem;
}

.product-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    padding: 1.8rem;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-blue);
    box-shadow: 0 12px 30px rgba(2, 132, 199, 0.25);
}

.product-card h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: #fff;
    margin: 0.8rem 0 0.5rem;
}

.product-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.5;
    margin-bottom: 1.2rem;
}

.product-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 0.8rem;
}

.cta-banner {
    text-align: center;
    padding: 3rem 2rem;
    border-radius: 16px;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.15) 0%, rgba(8, 14, 28, 0.8) 100%);
    border: 1px solid rgba(56, 189, 248, 0.25);
}

.cta-banner h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
}

.cta-banner p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 1.8rem;
}

@media (max-width: 900px) {
    .page-content-grid {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }

    .internal-page {
        padding-top: calc(var(--header-height) + 1.2rem);
    }
}

/* Lightbox Modal (Full-screen image preview) */
.page-media-box img,
.page-banner-wide img,
.product-card img {
    cursor: zoom-in;
}

.lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(4, 7, 15, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    padding: 2rem;
    cursor: zoom-out;
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content-wrapper {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: default;
}

.lightbox-image {
    max-width: 90vw;
    max-height: 82vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(56, 189, 248, 0.25);
    transform: scale(0.95);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-overlay.active .lightbox-image {
    transform: scale(1);
}

.lightbox-caption {
    margin-top: 1rem;
    color: #e2e8f0;
    font-family: var(--font-heading);
    font-size: 1rem;
    letter-spacing: 0.5px;
    text-align: center;
    background: rgba(15, 23, 42, 0.7);
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.8rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--glass-border);
    color: #fff;
    font-size: 1.6rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    z-index: 100000;
}

.lightbox-close:hover {
    background: var(--primary);
    transform: scale(1.1);
}