/* ==========================================================================
   CSS Variables / Design System
   ========================================================================== */
   :root {
    /* Colors (Matching Logo) */
    --clr-primary: #0284c7; /* Sky Panel Blue */
    --clr-primary-dark: #0369a1;
    --clr-secondary: #f59e0b; /* Amber Sun */
    --clr-secondary-dark: #d97706;
    
    --clr-white: #ffffff;
    --clr-bg-light: #f8fafc;
    --clr-bg-dark: #1f2937;
    
    --clr-text-main: #374151;
    --clr-text-light: #6b7280;
    --clr-text-dark: #111827;
    
    --clr-alert: #ef4444;
    
    /* Gradients */
    --bg-gradient: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-dark));
    
    /* Typography */
    --font-heading: 'Bebas Neue', sans-serif;
    --font-body: 'Poppins', sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-float: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    /* Spacing */
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease-in-out;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Border Radius */
    --br-sm: 4px;
    --br-md: 8px;
    --br-lg: 16px;
    --br-xl: 24px;
    --br-full: 9999px;
}

/* --- Dark Theme Overrides --- */
.dark-theme {
    --clr-bg-light: #111827;
    --clr-white: #1f2937;
    --clr-text-main: #e5e7eb;
    --clr-text-light: #9ca3af;
    --clr-text-dark: #f9fafb;
}

.dark-theme body {
    background-color: #111827;
}

/* --- Custom Premium Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #0b0f19;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--clr-primary), var(--clr-secondary));
    border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--clr-secondary);
}

.dark-theme .glass-effect {
    background: rgba(31, 41, 55, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dark-theme .spa-section.bg-light {
    background-color: #0f172a;
}

.dark-theme .q-feature,
.dark-theme .rich-service-card,
.dark-theme .mvv-card,
.dark-theme .area-card {
    background: #1f2937;
    color: var(--clr-text-main);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.dark-theme .nav-link {
    color: #cbd5e1;
}

.dark-theme .nav-link:hover, 
.dark-theme .nav-link.active {
    color: var(--clr-primary);
}

.dark-theme header.scrolled {
    background-color: rgba(17, 24, 39, 0.85) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.dark-theme .form-control {
    background: rgba(31, 41, 55, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

.dark-theme .form-control:focus {
    border-color: var(--clr-primary);
}

.dark-theme .form-control::placeholder {
    color: #6b7280;
}

.dark-theme .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
}

.dark-theme h1, 
.dark-theme h2, 
.dark-theme h3, 
.dark-theme h4, 
.dark-theme h5, 
.dark-theme h6 {
    color: var(--clr-text-dark);
}

/* Dark mode text: targeted selectors instead of broad override */
.dark-theme .footer-col p,
.dark-theme .footer-col li,
.dark-theme label,
.dark-theme .hours-list li span,
.dark-theme .links-col h3,
.dark-theme .hours-col h3,
.dark-theme .social-links a {
    color: #e5e7eb;
}

.dark-theme .subtitle {
    color: var(--clr-text-light);
}

.dark-theme .mvv-card p,
.dark-theme .q-feature p,
.dark-theme .area-card p,
.dark-theme .rich-service-body p {
    color: var(--clr-text-main);
}

/* ==========================================================================
   Loading Screen (Premium Rotating Circle Style)
   ========================================================================== */
#loading-screen {
    position: fixed;
    inset: 0;
    background: #060913 !important; /* Fundo preto/azul escuro ultra premium estilo cinema (Netflix) */
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s cubic-bezier(0.7, 0, 0.3, 1), visibility 0.8s;
}

/* Garante o uso do logótipo com letras brancas no ecrã de carregamento escuro para contraste absoluto */
#loading-screen .logo-light {
    display: none !important;
}

#loading-screen .logo-dark {
    display: block !important;
}

body.loading {
    overflow: hidden;
}

#loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Wrapper principal do carregamento */
.loader-wrapper {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

/* Círculo do Logótipo transformado no efeito Netflix de Ondas Sonoras e Feixe Laser */
.loader-circle {
    position: absolute;
    width: 270px;
    height: 270px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

/* Onda Concêntrica 1 - Explosão de Energia Azul/Laranja */
.loader-circle::before {
    content: '';
    position: absolute;
    inset: 30px; /* Começa colado ao R */
    border: 4px solid transparent;
    border-top-color: var(--clr-primary);
    border-right-color: var(--clr-secondary);
    border-radius: 50%;
    animation: netflixRipple 2.2s cubic-bezier(0.7, 0, 0.3, 1) forwards;
}

/* Feixe de Luz Vertical Laser (Estilo Linhas de Espectro da Netflix) */
.loader-circle::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 100vh;
    background: linear-gradient(to bottom, transparent, var(--clr-primary), var(--clr-secondary), transparent);
    opacity: 0;
    border-radius: 99px;
    animation: netflixLaser 2.2s cubic-bezier(0.7, 0, 0.3, 1) forwards;
}

/* Logótipo em Zoom-Through Cinematográfico (Netflix Tudum) */
.loader-logo {
    width: 270px !important;
    height: auto !important;
    margin-top: -30px !important;
    margin-bottom: -30px !important;
    z-index: 2;
    transform: scale(0.7);
    opacity: 0;
    animation: netflixLogoIntro 2.2s cubic-bezier(0.7, 0, 0.3, 1) forwards;
}

/* 🎥 Animação 1: Logótipo aproximando-se e depois explodindo através da camera */
@keyframes netflixLogoIntro {
    0% {
        transform: scale(0.65);
        opacity: 0;
        filter: blur(5px) drop-shadow(0 0 0px transparent);
    }
    15% {
        transform: scale(1.03);
        opacity: 1;
        filter: blur(0px) drop-shadow(0 0 15px rgba(2, 132, 199, 0.3));
    }
    30% {
        transform: scale(1);
        filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.25));
    }
    /* Pequena pulsação dramática que prepara o zoom-through */
    65% {
        transform: scale(1.05);
        opacity: 1;
        filter: drop-shadow(0 0 25px var(--clr-primary));
    }
    /* O MOMENTO TUDUM: Zoom massivo penetrando a câmara */
    100% {
        transform: scale(18) rotate(4deg);
        opacity: 0;
        filter: blur(12px) drop-shadow(0 0 100px var(--clr-primary));
    }
}

/* 🎥 Animação 2: Ripple do círculo explodindo radialmente */
@keyframes netflixRipple {
    0% {
        transform: scale(0.1) rotate(0deg);
        opacity: 0;
        filter: blur(5px);
    }
    20% {
        opacity: 0.9;
        filter: blur(0px);
    }
    60% {
        transform: scale(1.2) rotate(180deg);
        opacity: 0.6;
    }
    /* Expansão e desintegração total */
    100% {
        transform: scale(7) rotate(360deg);
        opacity: 0;
        filter: blur(20px);
    }
}

/* 🎥 Animação 3: O Feixe Laser vertical estilo Netflix */
@keyframes netflixLaser {
    0% {
        transform: scaleY(0);
        opacity: 0;
        filter: blur(6px);
    }
    25% {
        transform: scaleY(1);
        opacity: 0.8;
        filter: blur(2px);
    }
    60% {
        transform: scaleY(1.05) scaleX(2.5);
        opacity: 0.5;
    }
    /* Expansão lateral massiva e fade out */
    100% {
        transform: scaleY(1.4) scaleX(30);
        opacity: 0;
        filter: blur(25px);
    }
}

/* Ocultação total e limpa da barra de progresso antiga */
.loader-bar {
    display: none !important;
}

.dark-theme .loader-bar {
    display: none !important;
}

.loader-bar::after {
    display: none !important;
}

@keyframes spinLoader {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulseLogo {
    0%, 100% { transform: scale(0.96); opacity: 0.9; }
    50% { transform: scale(1.04); opacity: 1; }
}

@keyframes loadingBar {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* ==========================================================================
   Logo & Brand Styles
   ========================================================================== */
.logo, .footer-logo, .loader-logo {
    display: block;
}

/* Logo Toggling between Light and Dark themes */
.logo-light {
    display: inline-block !important;
}
.logo-dark {
    display: none !important;
}

/* Footer Logo defaults (Dark/White logo is default because desktop footer is always dark) */
.footer-logo-light {
    display: none !important;
}
.footer-logo-dark {
    display: block !important;
}
.dark-theme .logo-light {
    display: none !important;
}
.dark-theme .logo-dark {
    display: inline-block !important;
}

.logo-renova { 
    font-family: var(--font-heading); 
    fill: var(--clr-text-dark); 
}

.logo-energy { 
    fill: #f59e0b; 
}

.logo-lda { 
    font-family: var(--font-body); 
    fill: var(--clr-text-light); 
}

.logo-slogan { 
    font-family: var(--font-body); 
    fill: var(--clr-text-light); 
}

.logo-sun {
    fill: #f59e0b;
}

.logo-panel {
    fill: #0284c7;
}

/* --- Dark Theme Logo Overrides --- */
.dark-theme .logo-renova { fill: #ffffff !important; }
.dark-theme .logo-energy { fill: #facc15 !important; }
.dark-theme .logo-lda { fill: #e5e7eb !important; }
.dark-theme .logo-slogan { fill: #9ca3af !important; }
.dark-theme .logo-panel { fill: #0ea5e9 !important; }
.dark-theme .logo-sun { fill: #facc15 !important; }

.dark-theme .hero-content h1,
.dark-theme .hero-content p {
    color: #ffffff !important;
    opacity: 1 !important;
}

/* --- Mobile Sticky CTA Styles --- */
.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 25px;
    left: 15px;
    right: 15px;
    z-index: 1000;
    transition: all 0.4s ease;
}

@media (max-width: 768px) {
    .mobile-sticky-cta {
        display: block;
    }
}

.mobile-sticky-cta .btn-full {
    width: 100%;
    margin: 0;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 12px;
}

/* --- Theme Toggle Button --- */
#theme-toggle {
    background: rgba(0, 0, 0, 0.05);
    border: none;
    color: var(--clr-text-main);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

@media (max-width: 768px) {
    .nav-actions {
        flex-direction: column;
        width: 100%;
        margin-top: 2rem;
    }
}

.dark-theme #theme-toggle {
    background: rgba(255, 255, 255, 0.1);
    color: #fbbf24; /* Amber sun icon */
}

#theme-toggle:hover {
    transform: scale(1.1);
    background: rgba(0,0,0,0.1);
}

.dark-theme #theme-toggle:hover {
    background: rgba(255,255,255,0.15);
}

/* --- Modal Styles (Blog) --- */
.blog-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.blog-modal.active {
    display: flex;
}

.modal-content {
    background: var(--clr-white);
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    border-radius: var(--br-lg);
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-float);
    animation: zoomIn 0.3s ease;
}

.dark-theme .modal-content {
    background: #111827;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--clr-text-light);
    transition: color 0.3s;
}

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

.modal-img {
    width: 100%;
    height: 350px;
    background-size: cover;
    background-position: center;
}

.modal-body {
    padding: 2.5rem;
}

@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* ==========================================================================
   Base Styles / Reset
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    color: var(--clr-text-main);
    background-color: var(--clr-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--clr-text-dark);
    line-height: 1.2;
    letter-spacing: 1px;
}

h1 { font-size: 4rem; }
h2 { font-size: 3rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

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

.img-fluid {
    width: 100%;
}

.rounded-lg { border-radius: var(--br-lg); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-sm { box-shadow: var(--shadow-sm); }

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

ul {
    list-style: none;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding { padding: var(--space-xl) 0; }
.text-center { text-align: center; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

.bg-light { background-color: var(--clr-bg-light); }
.bg-dark { background-color: var(--clr-bg-dark); color: var(--clr-white); }

.subtitle {
    font-size: 1.125rem;
    color: var(--clr-text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--br-md);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all var(--transition-smooth);
    text-align: center;
}

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

.btn-block {
    width: 100%;
    margin-bottom: 15px; /* Added spacing between form blocks */
}

.btn-primary {
    background: var(--bg-gradient);
    color: var(--clr-white);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    transition: none;
}

.btn-primary:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    opacity: 0.95;
    color: white;
}

.btn-primary:hover::after {
    left: 150%;
    transition: all 0.75s ease-in-out;
}

.btn-outline {
    background: transparent;
    color: var(--clr-primary);
    border: 2px solid var(--clr-primary);
    font-weight: 700;
}

.btn-outline:hover {
    background: var(--clr-primary);
    color: var(--clr-white);
    transform: translateY(-2px);
}

/* White variant — for use on gradient/dark backgrounds */
.btn-white {
    background: #ffffff;
    color: var(--clr-primary-dark);
    font-weight: 700;
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    background: #f0fdf9;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--clr-primary-dark);
}

.btn-outline-white {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255,255,255,0.7);
    font-weight: 700;
}

.btn-outline-white:hover {
    background: rgba(255,255,255,0.15);
    color: #ffffff;
    border-color: #ffffff;
    transform: translateY(-2px);
}

/* ==========================================================================
   SPA Navigation Logic
   ========================================================================== */
.spa-section {
    display: none;
    opacity: 0;
    animation: fadeIn var(--transition-smooth) forwards;
}

.spa-section.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.7) !important; /* Vidro claro translúcido */
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: var(--shadow-sm);
    transition: background-color var(--transition-smooth), padding var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
    padding: 0.4rem 0 !important; /* Muito mais compacto */
}

.dark-theme header {
    background-color: rgba(17, 24, 39, 0.7) !important; /* Vidro escuro translúcido */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

header.scrolled {
    padding: 0.15rem 0 !important; /* Ultra fino ao scrollar */
    box-shadow: var(--shadow-md);
    background-color: rgba(255, 255, 255, 0.85) !important; /* Mais opaco ao scrolled */
    border-bottom-color: rgba(255, 255, 255, 0.25) !important;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100% !important; /* Estende-se até os limites da tela */
    margin: 0 auto;
    width: 100%;
    padding: 0 5% !important; /* Espaçamento fluido e elegante nos cantos em qualquer tela de PC */
}

.logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    width: 270px;
    height: auto;
    overflow: visible;
}

/* Quando scrolled, encolhe ligeiramente */
header.scrolled .logo-link {
    width: 200px; /* Mais compacto ao scrollar */
}

.logo-link img {
    max-width: 270px !important;
    width: 100% !important;
    height: auto !important;
    margin-top: -34px !important; /* Corta o excesso de altura transparente */
    margin-bottom: -34px !important;
    display: block;
    transition: all var(--transition-smooth);
    animation: logoEntrance 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; /* Animação de entrada majestosa */
}

.logo-link:hover img {
    transform: translateY(-2px) scale(1.02) !important; /* Elevação física 3D super elegante no modo claro */
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.1)) !important; /* Sombra nítida e de alto contraste sob a luz diurna */
}

.dark-theme .logo-link:hover img {
    transform: scale(1.04) !important;
    filter: drop-shadow(0 0 15px rgba(245, 158, 11, 0.35)) !important; /* Brilho solar laranja/âmbar radiante no modo escuro */
}

header.scrolled .logo-link img {
    max-width: 200px !important;
    margin-top: -30px !important; /* Margens de recorte perfeitas */
    margin-bottom: -30px !important;
}

header.scrolled .logo-link:hover img {
    transform: scale(1.04) !important;
}

@keyframes logoEntrance {
    0% {
        opacity: 0;
        transform: translateX(-30px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* Generic transparent logo container (used in footer) */
.logo-sticker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    width: 270px;
    height: auto;
}

.logo-sticker img {
    max-width: 270px !important;
    width: 100% !important;
    height: auto !important;
    margin-top: -22px !important;
    margin-bottom: -22px !important;
    display: block;
}

nav {
    display: flex;
    align-items: center;
    gap: 3rem; /* Aumentado gap entre o bloco de links e as ações */
}

.nav-links {
    display: flex;
    gap: 2rem; /* Real respiro entre os itens do menu */
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem; /* Leve redução para maior elegância */
    letter-spacing: 0.5px; /* Evita que as letras colarem */
    color: var(--clr-text-main);
    position: relative;
    padding-bottom: 5px;
    opacity: 0;
    animation: navLinkFadeIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.nav-link:nth-child(1) { animation-delay: 0.1s; }
.nav-link:nth-child(2) { animation-delay: 0.2s; }
.nav-link:nth-child(3) { animation-delay: 0.3s; }
.nav-link:nth-child(4) { animation-delay: 0.4s; }
.nav-link:nth-child(5) { animation-delay: 0.5s; }
.nav-link:nth-child(6) { animation-delay: 0.6s; }

@keyframes navLinkFadeIn {
    0% {
        opacity: 0;
        transform: translateY(-8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--clr-primary);
    transition: width var(--transition-fast);
}

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

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

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--clr-text-dark);
}

/* ==========================================================================
   Home / Hero Slider Component
   ========================================================================== */
#main-content {
    margin-top: 80px;
}

.hero-slider-container {
    position: relative;
    height: calc(100vh - 80px);
    min-height: 700px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center; /* Center horizontally now that simulator is gone */
}

.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.slider-item {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    transform: scale(1.1); /* Slight zoom for effect */
}

.slider-item.active {
    opacity: 1;
    transform: scale(1); /* Zoom out animation during show */
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.9) 0%, rgba(2, 132, 199, 0.4) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    color: var(--clr-white);
    max-width: 800px;
    pointer-events: auto;
    text-align: center; /* Center text alignment */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--br-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--clr-secondary);
}

.text-gradient {
    background: linear-gradient(to right, #ffffff, var(--clr-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cursor {
    color: var(--clr-secondary);
    animation: blink 0.7s infinite;
    font-weight: 300;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 10px rgba(0,0,0,0.4);
    line-height: 1.1;
    color: var(--clr-white); /* Forced white for contrast against dark slider overlay */
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 650px;
    opacity: 0.95;
    line-height: 1.6;
    color: var(--clr-white); /* Forced white */
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center; /* Center buttons */
}

/* Quick Features Overlay */
.quick-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: -60px;
    position: relative;
    z-index: 20;
    padding-bottom: 40px;
}



.q-feature {
    background: var(--clr-white);
    padding: 2.5rem;
    border-radius: var(--br-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
    transition: all var(--transition-smooth);
    border-bottom: 4px solid transparent;
}

.q-feature:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--clr-primary);
}

.icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: var(--bg-gradient);
    color: var(--clr-white);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

/* Home Segments */
.segment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.segment-card {
    background: rgba(255, 255, 255, 0.45); /* Vidro claro translúcido */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 3rem 2rem;
    border-radius: var(--br-lg);
    text-align: center;
    transition: all var(--transition-smooth);
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.dark-theme .segment-card {
    background: rgba(31, 41, 55, 0.4); /* Vidro escuro translúcido */
    border-color: rgba(255, 255, 255, 0.08);
}

.segment-card:hover {
    background: rgba(255, 255, 255, 0.75);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
    border-color: rgba(2, 132, 199, 0.4);
}

.dark-theme .segment-card:hover {
    background: rgba(31, 41, 55, 0.7);
    border-color: rgba(2, 132, 199, 0.4);
}

.segment-card:hover .card-link-indicator {
    color: var(--clr-primary);
    gap: 0.75rem;
}

.card-link-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: #94a3b8;
    transition: all 0.3s ease;
}

.segment-icon {
    font-size: 3rem;
    color: var(--clr-primary);
    margin-bottom: 1.5rem;
}

/* --- Stats Bar --- */
.home-stats-bar {
    background: #0a1628;
    padding: 3.5rem 0;
    position: relative;
    z-index: 30;
    border-top: 1px solid rgba(16,185,129,0.2);
}

.stats-flex {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    text-align: center;
}

.stats-flex .stat-item {
    color: #fff;
    padding: 1rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Separator lines between stat items */
.stats-flex .stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255,255,255,0.1);
}

/* Number + suffix on same line */
.stats-flex .stat-number-row {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    justify-content: center;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stats-flex .stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--clr-primary);
    line-height: 1;
    display: inline;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--clr-primary);
    opacity: 0.8;
    display: inline;
}

.stats-flex .stat-label {
    display: block;
    font-size: 0.8rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}


/* --- Commitment Grid --- */
.commitment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.commit-card {
    background: var(--clr-white);
    padding: 2.5rem 2rem;
    border-radius: var(--br-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-smooth);
    border: 1px solid rgba(0,0,0,0.05);
}

.commit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--clr-primary);
}

.commit-number {
    position: absolute;
    top: -10px;
    right: 15px;
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 700;
    color: rgba(16,185,129,0.06);
    line-height: 1;
}

.commit-icon {
    font-size: 2.5rem;
    color: var(--clr-primary);
    margin-bottom: 1.5rem;
}

.commit-card h4 {
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

.commit-card p {
    position: relative;
    z-index: 1;
}

/* --- Clients Grid --- */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.client-card {
    background: var(--clr-bg-light);
    padding: 3rem 2rem;
    border-radius: var(--br-lg);
    text-align: center;
    transition: all var(--transition-smooth);
    border-bottom: 4px solid transparent;
}

.client-card:hover {
    background: var(--clr-white);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
    border-bottom-color: var(--clr-primary);
}

.client-icon {
    font-size: 3rem;
    color: var(--clr-primary);
    margin-bottom: 1.5rem;
}

/* Final CTA */
.home-final-cta {
    background: var(--bg-gradient);
    color: #fff;
}

.home-final-cta h3 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 1rem;
}

.home-final-cta p {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* --- Expanded Differentials Styles --- */
.expanded-differentials .diff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.diff-card {
    background: var(--clr-bg-light);
    padding: 2.5rem;
    border-radius: var(--br-lg);
    transition: all var(--transition-smooth);
    border: 1px solid transparent;
}

.diff-card:hover {
    background: var(--clr-white);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(16, 185, 129, 0.2);
}

.diff-icon {
    font-size: 2.5rem;
    color: var(--clr-primary);
    margin-bottom: 1.5rem;
}

.diff-card h4 {
    margin-bottom: 0.75rem;
}



/* --- Components Grid Styles --- */
.components-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

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

.comp-img-placeholder {
    width: 100px;
    height: 100px;
    background: var(--bg-gradient);
    color: #fff;
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-md);
}

.comp-item h4 {
    margin-bottom: 0.5rem;
}

/* --- Testimonials Styles --- */
.testimonials-slider {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: #fff;
    padding: 3rem;
    border-radius: var(--br-xl);
    box-shadow: var(--shadow-md);
    position: relative;
    border: 1px solid rgba(0,0,0,0.05);
}

.dark-theme .testimonial-card {
    background: #1e293b;
    border-color: rgba(255,255,255,0.05);
}

.t-quote {
    color: var(--clr-primary);
    font-size: 2rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.testimonial-card p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.t-author strong {
    display: block;
    font-size: 1.1rem;
    color: var(--clr-text-dark);
}

.t-author span {
    font-size: 0.9rem;
    color: var(--clr-text-light);
}

/* --- Contact Bar Styles --- */
.footer-contact-minimal {
    margin-top: 1.5rem;
    text-align: left;
}

.footer-contact-minimal p {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-contact-minimal i {
    color: var(--clr-primary);
    width: 15px;
}







/* --- Why Renova Detailed Style (Accordion) --- */
.why-accordion {
    margin-top: 2rem;
}

.why-accordion .accordion-item {
    background: #f8fafc;
    border-radius: var(--br-lg);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.03);
}

.dark-theme .why-accordion .accordion-item {
    background: #1e293b;
    border-color: rgba(255,255,255,0.03);
}

.why-accordion .accordion-header {
    width: 100%;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    color: var(--clr-text-dark);
    font-weight: 600;
    font-size: 1.1rem;
    transition: background 0.3s ease;
}

.why-accordion .accordion-header:hover {
    background: rgba(16, 185, 129, 0.05);
}

.why-accordion .accordion-header span {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.why-accordion .accordion-header i:first-child {
    color: var(--clr-primary);
    font-size: 1.25rem;
}

.why-accordion .toggle-icon {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.why-accordion .accordion-item.active .toggle-icon {
    transform: rotate(45deg); /* Transform plus to X or rotate */
    color: var(--clr-primary);
}

.why-accordion .accordion-panel {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 1.5rem;
    opacity: 0;
}

.why-accordion .accordion-item.active .accordion-panel {
    max-height: 200px;
    padding-bottom: 1.5rem;
    opacity: 1;
}

.why-accordion .accordion-panel p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
}

.why-img-wrapper {
    position: relative;
    padding: 1rem;
}

.why-img-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Floating badge - rectangular (used in Home: why-renova section) */
.floating-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--bg-gradient);
    color: #fff;
    padding: 1.5rem;
    border-radius: var(--br-xl);
    box-shadow: var(--shadow-float);
    text-align: center;
    min-width: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: bounce 3s infinite ease-in-out;
}

.fb-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.fb-text {
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0.9;
    text-transform: uppercase;
}

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

@media (max-width: 1024px) {
    .hero-slider-container {
        height: auto;
        min-height: auto;
        flex-direction: column;
        padding: 6rem 1.5rem;
    }
    
    .hero-content h1 { font-size: 3.5rem; }
    
    .segment-grid, .quick-features,
    .commitment-grid, .clients-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stats-flex {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .why-renova-detailed .row {
        flex-direction: column-reverse;
    }

    .why-img-wrapper {
        margin-top: 3rem;
    }

    .floating-badge {
        right: 0;
        bottom: 0;
    }

    .home-final-cta h3 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .stats-flex {
        grid-template-columns: 1fr 1fr;
    }

    .stat-number {
        font-size: 3rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
}


/* ==========================================================================
   Sobre Nos / A Empresa & MVV
   ========================================================================== */
.section-badge {
    display: inline-block;
    padding: 0.25rem 1rem;
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--clr-primary);
    border-radius: var(--br-full);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

/* ==========================================================================
   Sobre Nós / Empresa (Redesenho)
   ========================================================================== */
.sobre-hero-header {
    background: linear-gradient(to bottom, var(--clr-bg-light), transparent);
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

.founder-quote {
    font-size: 1.35rem;
    font-style: italic;
    color: var(--clr-primary-dark);
    border-left: 4px solid var(--clr-secondary);
    padding-left: 1.5rem;
    margin: 2rem 0;
    line-height: 1.6;
}

.founder-quote span {
    display: block;
    font-size: 0.9rem;
    font-style: normal;
    font-weight: 600;
    color: var(--clr-text-light);
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sobre-pills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.s-pill {
    background: var(--clr-bg-light);
    border: 1px solid rgba(0,0,0,0.05);
    padding: 1rem;
    border-radius: var(--br-md);
    color: var(--clr-text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all var(--transition-fast);
}

.s-pill i {
    color: var(--clr-secondary);
    font-size: 1.25rem;
}

.s-pill:hover {
    background: var(--bg-gradient);
    color: var(--clr-white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.s-pill:hover i {
    color: var(--clr-white);
}

.sobre-image-container { position: relative; }

/* Floating badge - circular (used in Sobre section) */
.floating-badge--circle {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: var(--bg-gradient);
    color: var(--clr-white);
    padding: 2rem;
    border-radius: 50%;
    width: 150px;
    height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-float);
    animation: bounce 3s infinite ease-in-out;
}

/* Missão, Visão e Valores (Glassmorphism) */
.mvv-glass-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    position: relative;
    padding: 3rem;
    border-radius: var(--br-xl);
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.05) 0%, rgba(15, 23, 42, 0.85) 100%);
}

.mvv-glass-grid::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../imagens/image-38.jpg') center/cover;
    opacity: 0.15;
    z-index: -1;
    border-radius: inherit;
}

.glass-mvv-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 2.5rem;
    border-radius: var(--br-lg);
    text-align: center;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--clr-white);
}

.glass-mvv-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

.glass-mvv-card h3 {
    color: inherit;
}

.glass-mvv-card p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.mvv-icon {
    font-size: 2.5rem;
    color: var(--clr-secondary);
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.4));
}

/* ==========================================================================
   Servicos de Ponta (Imagens)
   ========================================================================== */
.expandable-services-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.expandable-service-card {
    background: rgba(255, 255, 255, 0.45); /* Vidro claro translúcido */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--br-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-smooth);
}

.dark-theme .expandable-service-card {
    background: rgba(31, 41, 55, 0.4); /* Vidro escuro translúcido */
    border-color: rgba(255, 255, 255, 0.08);
}

.expandable-service-card:hover {
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.6);
}

.dark-theme .expandable-service-card:hover {
    background: rgba(31, 41, 55, 0.55);
}

.expandable-service-card.expanded {
    background: rgba(255, 255, 255, 0.85) !important;
    box-shadow: var(--shadow-lg);
    margin: 1rem 0;
    border-color: var(--clr-primary) !important;
}

.dark-theme .expandable-service-card.expanded {
    background: rgba(31, 41, 55, 0.85) !important;
    border-color: var(--clr-primary) !important;
}

.service-head {
    position: relative;
    padding: 2rem;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    align-items: center;
    transition: padding var(--transition-fast);
}

.expandable-service-card.expanded .service-head {
    padding: 2.5rem 2rem;
}

.s-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.expandable-service-card:hover .s-bg {
    transform: scale(1.05);
}

.s-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(17,24,39,0.95) 0%, rgba(17,24,39,0.7) 100%);
    transition: background 0.3s;
}

.expandable-service-card.expanded .s-overlay {
    background: linear-gradient(to right, rgba(2,132,199,0.9) 0%, rgba(17,24,39,0.8) 100%);
}

.s-title-row {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    width: 100%;
    color: var(--clr-white);
    gap: 1.5rem;
}

.s-icon {
    font-size: 2rem;
    color: var(--clr-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.s-title-row h3 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--clr-white);
    flex: 1;
    text-align: left;
}

.s-toggle-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    flex-shrink: 0;
}

.expandable-service-card:hover .s-toggle-btn {
    background: var(--clr-primary);
}

.expandable-service-card.expanded .s-toggle-btn {
    transform: rotate(180deg);
    background: var(--clr-secondary);
    color: var(--clr-white);
}

.service-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: var(--clr-white);
}

.service-body-content {
    padding: 2.5rem;
    text-align: left;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.service-body-content p {
    color: var(--clr-text-main);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Pulse animation for service linking */
.service-highlight {
    animation: serviceGlow 2.5s ease-out;
}

@keyframes serviceGlow {
    0% {
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        transform: scale(1);
    }
    15% {
        box-shadow: 0 0 30px var(--clr-secondary);
        transform: scale(1.02);
    }
    100% {
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        transform: scale(1);
    }
}

/* ==========================================================================
   Galeria de Imagens
   ========================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-auto-rows: 250px;
    gap: 1.5rem;
    grid-auto-flow: dense;
}

.g-item {
    position: relative;
    border-radius: var(--br-md);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.g-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    transition: transform 0.6s ease;
}

.g-overlay {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.g-overlay i {
    font-size: 3rem;
    color: var(--clr-white);
    transform: scale(0.5);
    transition: transform 0.4s ease;
}

.g-item:hover .g-img {
    transform: scale(1.08);
}

.g-item:hover .g-overlay {
    opacity: 1;
}

.g-item:hover .g-overlay i {
    transform: scale(1);
}

.span-col-2 {
    grid-column: span 2;
}

/* ==========================================================================
   Numeros (Stats) & Atuacao
   ========================================================================== */
.parallax-section {
    position: relative;
    color: var(--clr-white);
}

.parallax-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.90) 0%, rgba(15, 23, 42, 0.95) 100%);
    z-index: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    position: relative;
    z-index: 10;
}

.stat-item {
    text-align: center;
    color: var(--clr-white);
}

.stat-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--clr-secondary);
}

.pulse-glow i {
    animation: pulseGlow 3s infinite ease-in-out;
}

@keyframes pulseGlow {
    0% { filter: drop-shadow(0 0 5px rgba(245, 158, 11, 0.3)); transform: scale(1); }
    50% { filter: drop-shadow(0 0 20px rgba(245, 158, 11, 0.9)); transform: scale(1.15); }
    100% { filter: drop-shadow(0 0 5px rgba(245, 158, 11, 0.3)); transform: scale(1); }
}

.stat-number {
    font-size: 4.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
    display: block;
    line-height: 1;
}

.glow-text {
    text-shadow: 0 0 20px rgba(2, 132, 199, 0.8), 0 0 40px rgba(255, 255, 255, 0.3);
    color: var(--clr-white);
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.area-card {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.area-card * {
    position: relative;
    z-index: 5;
}

.dark-theme .area-card {
    background: #1f2937;
    border-color: var(--clr-primary);
}

/* ==========================================================================
   Blog (Artigos) & Modal
   ========================================================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.premium-glass {
    background: rgba(255, 255, 255, 0.45); /* Vidro claro translúcido */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--br-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-smooth);
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.dark-theme .premium-glass {
    background: rgba(31, 41, 55, 0.4); /* Vidro escuro translúcido */
    border-color: rgba(255, 255, 255, 0.08);
}

.premium-glass:hover {
    background: rgba(255, 255, 255, 0.75);
    box-shadow: var(--shadow-float);
    transform: translateY(-8px);
    border-color: rgba(2, 132, 199, 0.4);
}

.dark-theme .premium-glass:hover {
    background: rgba(31, 41, 55, 0.7);
    border-color: rgba(2, 132, 199, 0.4);
}

.blog-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 1.5s ease;
}

.b-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(17,24,39,0.5), transparent);
}

.premium-glass:hover .blog-img {
    transform: scale(1.1);
}

.blog-body {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.blog-category {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--clr-secondary);
    letter-spacing: 1px;
    margin-bottom: 1rem;
    display: block;
}

.blog-body h3 {
    font-size: 1.25rem;
    color: var(--clr-text-dark);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-body p {
    color: var(--clr-text-main);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex: 1;
}

.blog-more {
    color: var(--clr-primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s;
}

.premium-glass:hover .blog-more {
    color: var(--clr-primary-dark);
}

.premium-glass:hover .blog-more i {
    animation: bounceRight 1s infinite alternate;
}

@keyframes bounceRight {
    0% { transform: translateX(0); }
    100% { transform: translateX(5px); }
}

/* Modal Blog */
.blog-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.85);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.blog-modal.show {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
}

.blog-modal .modal-content {
    background-color: var(--clr-white);
    margin: auto;
    border-radius: var(--br-lg);
    width: 90%;
    max-width: 800px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(50px);
    opacity: 0;
    transition: all 0.4s ease;
}

.blog-modal.show .modal-content {
    transform: translateY(0);
    opacity: 1;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    color: var(--clr-white);
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    background: rgba(0,0,0,0.3);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

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

.modal-img {
    width: 100%;
    height: 350px;
    background-size: cover;
    background-position: center;
}

.modal-body {
    padding: 3rem;
}

.modal-body .section-badge {
    margin-bottom: 1rem;
}

.modal-text p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--clr-text-main);
    font-size: 1.05rem;
}

.modal-text h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--clr-text-dark);
}

/* ==========================================================================
   Atuação (Hubs Geográficos)
   ========================================================================== */
.hub-glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 2rem;
    border-radius: var(--br-lg);
    transition: all 0.4s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hub-glass:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--clr-primary);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.area-icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.area-icon-wrapper i {
    font-size: 2.5rem;
    color: var(--clr-secondary);
    z-index: 2;
}

.radar-ping {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--clr-primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: radarPing 2s infinite ease-out;
    z-index: 1;
}

@keyframes radarPing {
    0% { transform: scale(0.5); opacity: 0.8; }
    100% { transform: scale(2.5); opacity: 0; }
}

/* ==========================================================================
   Agendamento & Contatos (Magia UI)
   ========================================================================== */
.main-contact-bg {
    background: radial-gradient(circle at top right, rgba(2, 132, 199, 0.05), transparent),
                radial-gradient(circle at bottom left, rgba(245, 158, 11, 0.05), transparent);
}

.contact-ultra-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 1024px) {
    .contact-ultra-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .magnetic-card {
        margin: 0 auto !important;
    }
}

/* Esquerda: Info Minimalista */
.contact-info-minimal h2 {
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.modern-contact-grid-v2 {
    display: grid;
    gap: 1.5rem;
}

.m-contact-item-v2 {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: var(--br-md);
    transition: all 0.3s;
}

.dark-theme .m-contact-item-v2 {
    background: rgba(255, 255, 255, 0.03);
}

.m-contact-item-v2 i {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.pin-glow-v2 { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.whatsapp-glow-v2 { background: rgba(37, 211, 102, 0.1); color: #25d366; }
.email-glow-v2 { background: rgba(2, 132, 199, 0.1); color: #0284c7; }
.time-glow-v2 { background: rgba(107, 114, 128, 0.1); color: #6b7280; }

.m-text-v2 .label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 800;
    opacity: 0.6;
    letter-spacing: 1px;
}

.trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #10b98120;
    color: #10b981;
    border-radius: var(--br-full);
    font-size: 0.85rem;
    font-weight: 700;
}

/* Direita: Magnetic Card */
.magnetic-card-wrapper {
    position: relative;
    z-index: 10;
}

.magnetic-card {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--br-xl);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 30px 80px rgba(0,0,0,0.1);
    position: relative;
    overflow: visible;
    max-width: 540px;
    margin-left: auto;
}

.dark-theme .magnetic-card {
    background: rgba(17, 24, 39, 0.7);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 40px 100px rgba(0,0,0,0.4);
}

.form-magia-glow {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(2, 132, 199, 0.15) 0%, transparent 70%);
    filter: blur(50px);
    z-index: -1;
    pointer-events: none;
}

/* Inputs da Magia */
.form-group-magia {
    margin-bottom: 2rem;
}

.form-group-magia label,
.form-magia-col label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--clr-text-dark);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-align: center;
    opacity: 0.85;
}

.form-control-magia {
    width: 100%;
    padding: 0.9rem 1.25rem;
    background: var(--clr-white);
    border: 2px solid rgba(0,0,0,0.05);
    border-radius: var(--br-md);
    font-size: 0.95rem;
    color: var(--clr-text-dark);
    letter-spacing: 0.3px;
    text-align: center;
    text-align-last: center; /* Garante centralização em selects */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.form-control-magia::placeholder {
    opacity: 0.4;
    text-align: center;
}

/* Ajuste específico para inputs de sistema (data/hora) */
input[type="date"].form-control-magia,
input[type="time"].form-control-magia {
    display: flex;
    justify-content: center;
    align-items: center;
}

.dark-theme .form-control-magia {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.form-control-magia::placeholder {
    opacity: 0.4;
}

.form-control-magia:focus {
    outline: none;
    background: var(--clr-white);
    border-color: var(--clr-primary);
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(2, 132, 199, 0.15);
}

.dark-theme .form-control-magia:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--clr-primary);
    box-shadow: 0 10px 30px rgba(2, 132, 199, 0.3);
}

.form-magia-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 480px) {
    .form-magia-row {
        grid-template-columns: 1fr;
    }
}

/* Botões da Magia */
.btn-magia-primary {
    width: 100%;
    height: 58px;
    background: var(--bg-gradient);
    color: white;
    border: none;
    border-radius: var(--br-md);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s;
    letter-spacing: 0.5px;
}

.btn-magia-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(2, 132, 199, 0.4);
}

.btn-magia-outline {
    width: 100%;
    height: 55px;
    background: transparent;
    border: 2px solid rgba(107, 114, 128, 0.2);
    color: var(--clr-text-main);
    border-radius: var(--br-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-magia-outline:hover {
    background: rgba(107, 114, 128, 0.05);
    border-color: var(--clr-text-dark);
}

.dark-theme .btn-magia-outline {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 580px) {
    .btn-magia-primary {
        height: 55px;
        font-size: 0.95rem;
    }
    .form-control-magia {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    .magnetic-card {
        padding: 1.5rem !important;
    }
    .contact-header-top h2 {
        font-size: 1.8rem !important;
    }
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: all 0.6s;
}

.btn-magia-primary:hover .btn-shine {
    left: 100%;
}

.selection-magia {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%230284c7'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.5rem center;
    background-size: 1.5rem;
    appearance: none;
}

.dark-theme .selection-magia {
    background-color: rgba(255, 255, 255, 0.08);
}

.selection-magia option {
    background-color: var(--clr-white);
    color: var(--clr-text-dark);
}

.dark-theme .selection-magia option {
    background-color: #1f2937;
    color: #ffffff;
}

/* Map Styling */
.map-container-wrapper {
    position: relative;
    border-radius: var(--br-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 5px solid white;
}

.dark-theme .map-container-wrapper {
    border-color: #1f2937;
}

.map-overlay-title {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    background: var(--clr-white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--br-full);
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: var(--shadow-md);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dark-theme #google-map {
    filter: grayscale(1) invert(0.9) contrast(1.2);
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    background: var(--clr-bg-dark);
    color: var(--clr-text-light);
    padding-top: 5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.5fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.hours-col h3 {
    color: var(--clr-white);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 0.95rem;
    color: var(--clr-text-light);
}

.hours-list li:last-child {
    border-bottom: none;
}

.brand-col .footer-logo-sticker {
    margin-bottom: 1.5rem !important;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    color: var(--clr-white);
    transition: all var(--transition-fast);
    font-size: 1.2rem;
}

.social-links a:hover {
    background: var(--clr-primary);
    transform: translateY(-3px);
}

.links-col h3 {
    color: var(--clr-white);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.links-col ul li {
    margin-bottom: 0.75rem;
}

.links-col ul li a:hover {
    color: var(--clr-primary);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem 0;
    font-size: 0.875rem;
}

.footer-bottom a:hover { color: var(--clr-white); }

/* ==========================================================================
   Floating WhatsApp Button
   ========================================================================== */
.float-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: transform var(--transition-smooth);
    animation: pulse-green 2s infinite;
}

.float-whatsapp:hover {
    transform: scale(1.1);
    color: #fff;
    animation: none;
}

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* O segundo bloco duplicado do loader foi removido para otimização e organização do código */

/* ==========================================================================
   Economy Simulator (Premium Redesign)
   ========================================================================== */
.simulator-card {
    margin-top: 3rem;
    padding: 2.5rem;
    max-width: 550px;
    width: 100%;
    background: rgba(17, 24, 39, 0.85); /* Darker glass for contrast */
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border-radius: var(--br-xl);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.simulator-card:hover {
    transform: translateY(-5px);
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 30px 60px -15px rgba(16, 185, 129, 0.2);
}

.sim-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.sim-header i { 
    font-size: 1.75rem; 
    color: var(--clr-primary);
    filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.5));
}

.sim-header h3 { 
    margin: 0; 
    font-size: 1.35rem; 
    color: #ffffff;
    font-family: var(--font-body);
}

.simulator-card p {
    color: #9ca3af;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.sim-input-group {
    margin-bottom: 2rem;
}

.sim-input-group label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    color: #e5e7eb;
    font-weight: 500;
}

/* Custom Styled Range Slider */
input[type="range"] {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    outline: none;
    cursor: pointer;
}

input[type="range"]::-webkit-slider-runnable-track {
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, var(--clr-primary) 0%, var(--clr-secondary) 100%);
    border-radius: 5px;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: #ffffff;
    border: 3px solid var(--clr-primary);
    border-radius: 50%;
    cursor: pointer;
    margin-top: -6px;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.5);
    transition: transform 0.2s;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.sim-value-display {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--clr-primary);
    padding: 2px 10px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 5px;
}

.sim-result {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.75rem;
    border-radius: var(--br-lg);
    margin-bottom: 2rem;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.res-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.res-label { 
    font-size: 0.85rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.res-val { 
    font-size: 2rem; 
    font-weight: 800; 
    color: #ffffff;
    text-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.sim-btn-container {
    perspective: 1000px;
}

/* ==========================================================================
   Accordion (FAQ)
   ========================================================================== */
.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: var(--br-md);
    overflow: hidden;
    background: var(--clr-white);
}

.accordion-header {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--clr-text-dark);
    transition: background 0.3s;
    text-align: left;
}

.accordion-header:hover {
    background: rgba(0,0,0,0.02);
}

.accordion-header i {
    transition: transform 0.3s;
    font-size: 0.9rem;
    color: var(--clr-text-light);
}

.accordion-item.active .accordion-header {
    background: rgba(16, 185, 129, 0.03);
    color: var(--clr-primary);
}

.accordion-item.active .accordion-header i {
    transform: rotate(45deg);
    color: var(--clr-primary);
}

.accordion-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
    background: var(--clr-white);
}

.accordion-item.active .accordion-panel {
    max-height: 1000px;
    transition: max-height 0.4s cubic-bezier(1, 0, 1, 0);
}

.accordion-panel p {
    padding: 0 1.5rem 1.5rem;
    margin: 0;
    color: var(--clr-text-light);
    line-height: 1.7;
}

/* ==========================================================================
   Responsive Design (Media Queries)
   ========================================================================== */
@media (max-width: 1024px) {
    h1 { font-size: 4rem; }
    h2 { font-size: 2.5rem; }
    
    .sobre-grid { gap: 2rem; }
    
    .sobre-pills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mvv-glass-grid {
        grid-template-columns: 1fr;
        padding: 2rem;
    }
    
    .quick-features {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .contact-ultra-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn { display: block; }
    
    .q-feature { padding: 1.5rem; }
    
    .hero-content {
        text-align: center;
        padding: 0 1rem;
    }

    .hero-content h1 { 
        font-size: 2.5rem; 
        margin-bottom: 1rem;
    }
    
    .hero-content p { 
        font-size: 1rem; 
        margin: 0 auto 2rem;
    }

    .hero-buttons {
        justify-content: center;
        width: 100%;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin: 0 !important;
    }

    .simulator-card { 
        display: none; 
    }

    nav {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background: var(--clr-white);
        flex-direction: column;
        justify-content: center;
        transition: left var(--transition-smooth);
        z-index: 999;
    }

    nav.active { left: 0; }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        font-size: 1.25rem;
    }

    .btn-agendar-nav { margin-top: 2rem; }
    
    .quick-features {
        grid-template-columns: 1fr;
        margin-top: -30px;
    }

    .sobre-grid, .mvv-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .sobre-text {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .sobre-checks {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 300px; /* Keep checks compact when centered */
        margin: 0 auto;
        text-align: left; /* Keep text left-aligned inside centered container for readability */
    }

    .sobre-image-container {
        margin-top: 3rem;
    }
    
    .floating-badge {
        left: 50%;
        bottom: -30px;
        transform: translateX(-50%);
        animation: none; /* simple display on mobile */
    }
    
    .stats-grid, .areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sobre-pills-grid {
        grid-template-columns: 1fr;
    }
    
    .mvv-glass-grid {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }
    
    .span-col-2 {
        grid-column: span 1;
    }

    .footer-grid {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 4rem;
    }

    .brand-col { order: 3; }
    .links-col { order: 1; }
    .hours-col { order: 2; }
    
    .footer-logo {
        margin: 0 auto 1.5rem !important;
    }
    
    .footer-col ul {
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hours-list li {
        flex-direction: column;
        gap: 0.5rem;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        padding: 1rem 0;
    }

    .social-links { 
        justify-content: center; 
    }

    .footer-bottom .container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .form-group-row {
        flex-direction: column;
        gap: 0;
    }
}

@media (max-width: 480px) {
    .stats-grid, .areas-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .segment-card {
        padding: 2rem 1.5rem;
    }
    
    .q-feature {
        padding: 1.5rem;
    }
    
    .icon-wrapper {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .display-4 {
        font-size: 2.2rem !important;
    }
    
    .section-padding {
        padding: 4rem 1.5rem;
    }
    
    .logo-link { 
        width: 200px !important; 
    }
    .logo-link img {
        max-width: 200px !important;
        margin-top: -26px !important; /* Margem de recorte muito mais compacta para telas móveis */
        margin-bottom: -26px !important;
    }
    
    /* Desativa o zoom-through cinematográfico pesado em telemóveis, usando um fade elegante e leve */
    .loader-logo {
        animation: mobileLogoFade 2.2s ease-in-out forwards !important;
        transform: scale(0.9) !important;
    }
    
    .float-whatsapp {
        width: 55px;
        height: 55px;
        font-size: 1.8rem;
        bottom: 20px;
        right: 20px;
    }
}

/* ==========================================================================
   Reveal Animations (Motion System)
   ========================================================================== */
@keyframes revealUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes revealOpacity {
    from { opacity: 0; }
    to { opacity: 1; }
}

.reveal-up {
    opacity: 0;
}

.spa-section.active .reveal-up {
    animation: revealUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.reveal-opacity {
    opacity: 0;
}

.spa-section.active .reveal-opacity {
    animation: revealOpacity 1s ease forwards;
}

/* Staggered Delays */
.delay-100ms { animation-delay: 0.1s; }
.delay-200ms { animation-delay: 0.2s; }
.delay-300ms { animation-delay: 0.3s; }
.delay-400ms { animation-delay: 0.4s; }
.delay-500ms { animation-delay: 0.5s; }
.delay-600ms { animation-delay: 0.6s; }

/* ==========================================================================
   Gallery Lightbox Modal
   ========================================================================== */
.lightbox-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

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

.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    border-radius: var(--br-lg);
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.lightbox-modal.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.lightbox-close:hover {
    transform: scale(1.2) rotate(90deg);
}

/* ==========================================================================
   Success Toast Notification (Premium Glass)
   ========================================================================== */
.toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 11000;
    pointer-events: none;
}

.toast {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--clr-text-dark);
    padding: 1.25rem 2rem;
    border-radius: var(--br-md);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 1.25rem;
    border-left: 5px solid #25d366;
    transform: translateX(150%);
    transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.dark-theme .toast {
    background: rgba(31, 41, 55, 0.9);
    color: var(--clr-white);
    border-color: #25d366;
}

.toast.active {
    transform: translateX(0);
}

.toast i {
    font-size: 1.5rem;
    color: #25d366;
    filter: drop-shadow(0 0 5px rgba(37, 211, 102, 0.4));
}

.toast span {
    font-weight: 700;
    font-size: 1rem;
}

/* ==========================================================================
   Cookie Consent Banner (Premium Glass)
   ========================================================================== */
.cookie-banner {
    position: fixed;
    bottom: 30px;
    left: 30px;
    right: 30px;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--br-xl);
    padding: 1.5rem 2rem;
    z-index: 12000;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    display: none; /* Controlled by JS */
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.dark-theme .cookie-banner {
    background: rgba(15, 23, 42, 0.85);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--clr-white);
}

.cookie-banner.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cookie-icon {
    font-size: 2rem;
    color: var(--clr-secondary);
    filter: drop-shadow(0 0 5px rgba(245, 158, 11, 0.4));
}

.cookie-content p {
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.5;
    color: inherit;
}

.cookie-content a {
    color: var(--clr-primary);
    font-weight: 600;
    text-decoration: underline;
}

.btn-msg-cookie {
    background: var(--clr-primary);
    color: #fff;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: var(--br-md);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-msg-cookie:hover {
    background: var(--clr-secondary);
    transform: scale(1.05);
}

@media (max-width: 580px) {
    .cookie-banner {
        left: 15px;
        right: 15px;
        bottom: 15px;
        padding: 1rem;
    }
    .cookie-content {
        flex-direction: row;
        text-align: left;
        gap: 0.5rem;
    }
    .cookie-icon {
        font-size: 1.5rem;
    }
    .cookie-content p {
        font-size: 0.75rem;
    }
    .btn-msg-cookie {
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
    }
}

/* ==========================================================================
   Language Selector
   ========================================================================== */
.lang-selector {
    display: flex;
    gap: 0.5rem;
    margin-left: 1rem;
    align-items: center;
}
.lang-btn {
    background: transparent;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 4px;
    padding: 0.2rem 0.5rem;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--clr-text);
    transition: all 0.3s;
}
.dark-theme .lang-btn {
    border-color: rgba(255,255,255,0.1);
    color: var(--clr-white);
}
.lang-btn:hover, .lang-btn.active {
    background: var(--clr-primary);
    color: white;
    border-color: var(--clr-primary);
}




/* ==========================================================================
   MOBILE RESPONSIVENESS (SMARTPHONES & TABLETS)
   ========================================================================== */

@media (max-width: 991px) {
    .mobile-only {
        display: flex !important;
        align-items: center;
    }
    .mobile-menu-btn i {
        font-size: 1.8rem;
        cursor: pointer;
        color: var(--clr-primary, #0284c7);
        padding: 0.5rem;
    }
    .header-inner {
        position: relative;
    }
    #main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        display: none;
        z-index: 1000;
        border-top: 1px solid #e5e7eb;
    }
    body.dark-theme #main-nav {
        background-color: #111827;
        border-top-color: #374151;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    }
    #main-nav.active {
        display: flex !important;
    }
    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }
    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    body.dark-theme .nav-links li {
        border-bottom-color: rgba(255,255,255,0.05);
    }
    .nav-link {
        display: block;
        padding: 1rem 0;
        text-align: left;
    }
    .nav-actions {
        flex-direction: column-reverse;
        width: 100%;
        margin-top: 1rem;
        border-left: none;
        padding-left: 0;
        gap: 1rem;
    }
    .nav-actions .btn {
        width: 100%;
        text-align: center;
    }
    
    .row {
        flex-direction: column;
    }
    .col-lg-6 {
        width: 100%;
        margin-bottom: 2rem;
    }
    .col-lg-6:last-child {
        margin-bottom: 0;
    }
    
    .segment-grid, 
    .expandable-services-grid, 
    .mvv-glass-grid, 
    .blog-grid, 
    .areas-grid, 
    .contact-ultra-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-flex, .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    .hero-content p {
        font-size: 1rem;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    .hero-buttons .btn {
        width: 100%;
    }
    .section-padding {
        padding: 3.5rem 0;
    }
    .why-img-wrapper img, 
    .sobre-image-container img {
        width: 100%;
        height: auto;
    }
    .stat-number {
        font-size: 2.2rem;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .gallery-grid .span-col-2 {
        grid-column: span 1;
    }
    .form-magia-row {
        flex-direction: column;
        gap: 0;
    }
    .form-magia-col {
        width: 100%;
    }
    .form-actions-magia {
        flex-direction: column;
    }
    .form-actions-magia button {
        width: 100%;
    }
    .contact-header-top h2 {
        font-size: 2rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    /* Prevent iOS form input zoom */
    input[type="text"], 
    input[type="tel"], 
    input[type="time"], 
    input[type="email"], 
    select, 
    textarea {
        font-size: 16px !important;
    }
    
    .contact-info-minimal .modern-contact-grid-v2 {
        grid-template-columns: 1fr;
    }
}


/* --- FIX HORIZONTAL SCROLL (MOBILE) --- */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
        width: 100%;
        position: relative;
    }
    
    .spa-section, .hero-slider-container, main {
        overflow-x: hidden !important;
        width: 100%;
    }
    
    /* Fix viewport issues with containers */
    .container {
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }
}

/* ==========================================================================
   ELITE MOBILE REFINEMENTS (CRO & UX)
   ========================================================================== */

/* 1. Botão Fixo/Flutuante na Base (Sticky CTA) */
.mobile-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 15px;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.05);
    z-index: 999;
    border-top: 1px solid rgba(0,0,0,0.05);
}
body.dark-theme .mobile-sticky-cta {
    background: rgba(17, 24, 39, 0.95);
    border-top: 1px solid rgba(255,255,255,0.05);
}
.mobile-sticky-cta .btn {
    width: 100%;
    font-size: 1.1rem;
    padding: 12px 0;
    margin: 0;
    text-align: center;
}

/* Ajustes de sobreposição no Mobile */
@media (max-width: 768px) {
    /* 3. Ajuste do WhatsApp Button */
    .float-whatsapp {
        bottom: 80px; /* Sobe para dar espaço ao Sticky CTA */
        right: 15px;
    }
    
    /* 2. Zonas de Toque (Hitboxes) Maiores */
    .lightbox-close, .modal-close {
        padding: 20px; /* Aumentar área de toque invisível */
    }
    .s-toggle-btn {
        padding: 15px;
        margin-right: -10px;
    }
    .nav-link {
        padding: 1.25rem 0; /* Links de menu mais largos na vertical */
    }
}

/* 4. Telas extremamente minúsculas (Mundos Reais) */
@media (max-width: 375px) {
    .hero-content h1 {
        font-size: 1.8rem !important;
    }
    .stat-number {
        font-size: 1.8rem !important;
    }
    .contact-header-top h2 {
        font-size: 1.6rem !important;
    }
    .mobile-sticky-cta .btn {
        font-size: 1rem;
        padding: 10px 0;
    }
}

/* ==========================================================================
   REORGANIZAÇÃO DO FOOTER (MOBILE)
   ========================================================================== */
@media (max-width: 768px) {
    .footer-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 3rem;
    }
    
    .footer-col {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .brand-col svg {
        margin: 0 auto 1.5rem auto !important;
        display: block;
        max-width: 100%;
    }
    
    .brand-col p {
        text-align: center;
        margin: 0 auto 1.5rem auto;
        max-width: 320px;
    }
    
    .social-links {
        justify-content: center;
        margin-bottom: 2rem;
        display: flex;
        gap: 1.5rem;
        width: 100%;
    }
    .social-links a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    .footer-contact-minimal {
        text-align: center;
        width: 100%;
        padding-top: 1.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    body:not(.dark-theme) .footer-contact-minimal {
        border-top-color: rgba(0, 0, 0, 0.1);
    }
    .footer-contact-minimal p {
        justify-content: center;
        display: flex;
        align-items: center;
        gap: 0.8rem;
    }
    .footer-contact-minimal p i {
        margin-right: 0;
    }
    
    .links-col, .hours-col {
        padding-top: 2rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
    }
    body:not(.dark-theme) .links-col, 
    body:not(.dark-theme) .hours-col {
        border-top-color: rgba(0, 0, 0, 0.1);
    }
    
    .links-col h3, .hours-col h3 {
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .links-col ul {
        padding: 0;
        margin: 0;
        list-style: none;
        text-align: center;
    }
    .links-col ul li {
        margin-bottom: 1.2rem;
    }
    
    .hours-col .hours-list {
        padding: 0;
        margin: 0;
        list-style: none;
        width: 100%;
    }
    .hours-col .hours-list li {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        margin-bottom: 1rem;
        gap: 0.3rem;
        border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
        padding-bottom: 0.8rem;
    }
    body:not(.dark-theme) .hours-col .hours-list li {
        border-bottom-color: rgba(0, 0, 0, 0.1);
    }
    
    .footer-bottom {
        text-align: center;
        padding: 1.5rem 0;
        margin-bottom: 60px; /* Spacer for sticky CTA */
    }
    .footer-bottom .container {
        flex-direction: column;
        justify-content: center;
        gap: 1rem;
    }
    .footer-bottom p {
        line-height: 1.6;
    }
}

/* ==========================================================================
   AJUSTES FINAIS FOOTER (Mobile Light Theme & Logo Reorder)
   ========================================================================== */
@media (max-width: 768px) {
    /* 1. Mover Logo para o fundo da coluna de marca utilizando Flexbox Order */
    .brand-col {
        display: flex;
        flex-direction: column;
    }
    .brand-col p { order: 1; }
    .social-links { order: 2; }
    .footer-contact-minimal { 
        order: 3; 
        margin-bottom: 2.5rem; 
        border-bottom: 1px solid rgba(0,0,0,0.1); 
        padding-bottom: 2rem; 
    }
    body.dark-theme .footer-contact-minimal { 
        border-bottom-color: rgba(255,255,255,0.1); 
    }
    .brand-col svg { 
        order: 4; 
        margin-top: 1rem !important; 
        margin-bottom: 0 !important;
    }

    /* 2. Cores Claras, Leves e Limpas para o Footer (Modo Diurno) */
    body:not(.dark-theme) footer {
        background-color: #f9fafb !important; /* Cinza muito claro, quase branco */
        color: #374151 !important; /* Texto escuro leitura fácil */
        border-top: 1px solid #f3f4f6;
    }
    
    /* Alterna para o logotipo com letras escuras (Light Mode) no rodapé claro do telemóvel */
    body:not(.dark-theme) .footer-logo-light {
        display: block !important;
    }
    body:not(.dark-theme) .footer-logo-dark {
        display: none !important;
    }
    
    /* Repintar o SVG Logotipo Escuro */
    body:not(.dark-theme) .logo-renova {
        fill: #111827 !important; 
    }
    body:not(.dark-theme) .logo-slogan {
        fill: #6b7280 !important;
    }
    body:not(.dark-theme) .logo-lda {
        fill: #374151 !important;
    }
    
    /* Repintar Títulos, Links e Ícones */
    body:not(.dark-theme) .footer-col h3,
    body:not(.dark-theme) .links-col ul li a,
    body:not(.dark-theme) .hours-col .hours-list li,
    body:not(.dark-theme) .hours-col .hours-list li span,
    body:not(.dark-theme) .footer-contact-minimal p,
    body:not(.dark-theme) .social-links a i,
    body:not(.dark-theme) .brand-col p {
        color: #4b5563 !important;
    }
    
    /* Hover state para links */
    body:not(.dark-theme) .links-col ul li a:hover,
    body:not(.dark-theme) .social-links a:hover i {
        color: var(--clr-primary, #0284c7) !important;
    }
    
    /* Faixa Final do Footer Absolute Bottom */
    body:not(.dark-theme) .footer-bottom {
        background-color: #f3f4f6 !important;
        color: #6b7280 !important;
        border-top: 1px solid #e5e7eb !important;
    }
    body:not(.dark-theme) .footer-bottom p {
        color: #6b7280 !important;
    }
    body:not(.dark-theme) .footer-bottom a {
        color: var(--clr-primary, #0284c7) !important;
        font-weight: 600;
    }
}

@media (max-width: 768px) {
    /* 1. Centro absoluto do logo Footer */
    .brand-col .footer-logo-sticker {
        margin: 2.5rem auto 0 auto !important;
        display: inline-flex !important; /* Mantém o sticker centralizado */
        justify-content: center;
        width: 100% !important;
        max-width: 280px !important;
    }
    
    .brand-col svg,
    .brand-col img {
        display: block; /* Sem !important para que as classes de ocultação (.footer-logo-light) funcionem perfeitamente! */
        margin: 0 auto !important;
        width: 100% !important;
    }

    /* 2. Simetria Matemática nas Estatísticas da Home */
    .home-stats-bar .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    .stats-flex {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
        align-items: stretch; /* Garante que todos têm a mesma altura */
        justify-content: center;
        width: 100%;
    }
    .stats-flex .stat-item {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 20px 10px;
        background: rgba(255, 255, 255, 0.7); /* Fundo claro tipo Glass */
        border-radius: 12px;
        border: 1px solid rgba(0,0,0,0.05); /* Fronteira subtil */
        box-shadow: 0 4px 10px rgba(0,0,0,0.03); /* Leve sombra 3D */
    }
    
    /* Adaptação das "caixas" no Dark Mode */
    body.dark-theme .stats-flex .stat-item {
        background: rgba(17, 24, 39, 0.4);
        border-color: rgba(255,255,255,0.08);
        box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    }
    
    .stats-flex .stat-item .stat-label {
        margin-top: 8px;
        font-size: 0.85rem;
        line-height: 1.3;
        font-weight: 500;
        color: var(--clr-text, #4b5563);
    }
    body.dark-theme .stats-flex .stat-item .stat-label {
        color: #9ca3af;
    }
}

/* ==========================================================================
   ANIMAÇÃO DO LOGÓTIPO RENOVA (Efeito "Respiração Solar")
   ========================================================================== */
@keyframes floatLogoMobile {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

@keyframes pulseSunBrand {
    0%, 100% { 
        transform: scale(1); 
        opacity: 0.9; 
    }
    50% { 
        transform: scale(1.08); 
        opacity: 1; 
        filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.7)); /* Brilho Laranja do Sol */
    }
}

@media (max-width: 768px) {
    /* Faz o SVG ou imagem inteiro a flutuar devagar (Magia/Prestígio) */
    .brand-col svg,
    .brand-col img {
        animation: floatLogoMobile 4s ease-in-out infinite;
        will-change: transform;
    }
    
    /* Anima o "Sol" do Logotipo como se estivesse a emitir radiação de forma suave */
    .brand-col svg .logo-sun {
        animation: pulseSunBrand 3s ease-in-out infinite;
        transform-origin: 35px 35px; /* Centro exato do eixo da bola de SVG cx="35" cy="35" */
        will-change: transform, filter;
    }
}

/* ==========================================================================
   AUMENTO DA ESCALA DO LOGÓTIPO DO FOOTER (Mobile)
   ========================================================================== */
@media (max-width: 768px) {
    .brand-col svg.footer-logo,
    .brand-col img.footer-logo,
    .brand-col svg,
    .brand-col img {
        /* Removemos o bloqueio estreito de 280px e deixamos esticar até 360px */
        max-width: 360px !important; 
        width: 100% !important;
        
        /* A altura original no HTML era 60px limitando o aumento do logotipo. Sobrepomos para auto e aumentamos a presença */
        height: auto !important;     
        min-height: 85px !important; 
        
        /* O logotipo vai agora aproveitar o espaço inteiro no fundo do telemóvel! */
    }
}

/* Animação simplificada de fade para o logótipo em ecrãs móveis (sem zoom) */
@keyframes mobileLogoFade {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    15% {
        opacity: 1;
        transform: scale(1);
    }
    70% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1);
    }
}
