/* ==========================================================================
   ENERGY CORPORATION LDA — PREMIUM SITE DESIGN SYSTEM & CSS
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Color Tokens - Dark Mode (Default) - Corporate Dark Blue & Orange */
    --bg-primary: hsl(222, 47%, 7%);
    --bg-secondary: hsl(222, 47%, 11%);
    --bg-tertiary: hsl(222, 47%, 15%);
    --bg-card: rgba(15, 23, 42, 0.75);
    
    --text-primary: hsl(0, 0%, 100%);
    --text-secondary: hsl(215, 20%, 80%);
    --text-muted: hsl(215, 15%, 60%);
    
    --color-primary: hsl(24, 100%, 50%);       /* Corporate Orange */
    --color-primary-glow: hsla(24, 100%, 50%, 0.25);
    --color-secondary: hsl(222, 80%, 55%);     /* Bright Blue Accent */
    --color-accent: hsl(0, 0%, 100%);          /* White Lightning */
    
    --border-color: rgba(255, 107, 0, 0.15);
    --border-hover: rgba(255, 107, 0, 0.6);
    
    --shadow-sm: 0 4px 12px -2px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 12px 30px -5px rgba(0, 0, 0, 0.6), 0 8px 16px -6px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 30px 60px -12px rgba(0, 0, 0, 0.8);
    --shadow-primary: 0 0 20px 2px hsla(24, 100%, 50%, 0.4);
    
    --glass-bg: rgba(15, 23, 42, 0.65);
    --glass-border: rgba(255, 107, 0, 0.15);
    --glass-blur: blur(16px);

    /* Fonts & Transitions */
    --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Icons", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-heading: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Icons", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
    
    /* Layout */
    --header-height: 80px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
}

/* Light Mode Override - Corporate White */
body.light-mode {
    --bg-primary: hsl(0, 0%, 100%);
    --bg-secondary: hsl(222, 20%, 97%);
    --bg-tertiary: hsl(222, 25%, 93%);
    --bg-card: rgba(255, 255, 255, 0.85);
    
    --text-primary: hsl(222, 47%, 12%);
    --text-secondary: hsl(222, 30%, 35%);
    --text-muted: hsl(222, 20%, 50%);
    
    --color-primary: hsl(24, 100%, 45%);       /* Deep Corporate Orange */
    --color-primary-glow: hsla(24, 100%, 45%, 0.15);
    --color-secondary: hsl(222, 80%, 45%);
    --color-accent: hsl(222, 47%, 12%);        /* Dark Lightning */
    
    --border-color: rgba(255, 107, 0, 0.2);
    --border-hover: rgba(255, 107, 0, 0.6);
    
    --shadow-sm: 0 4px 12px -2px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 12px 30px -5px rgba(0, 0, 0, 0.1), 0 8px 16px -6px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 30px 60px -12px rgba(0, 0, 0, 0.15);
    --shadow-primary: 0 0 20px 2px hsla(24, 100%, 45%, 0.3);
    
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 107, 0, 0.2);
}

/* Force Light Mode text on dark Hero background to stay white */
body.light-mode .hero-title,
body.light-mode .hero-description,
body.light-mode .hero-text-side h2 {
    color: #ffffff !important;
}

body.light-mode .hero-badge {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   BASE STYLES
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-primary);
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-secondary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.25;
}

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

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

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

/* Scrollbar customization */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border: 2px solid var(--bg-primary);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

/* ==========================================================================
   LAYOUT & UTILITIES
   ========================================================================== */

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

.section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.section-bg-alt {
    background-color: var(--bg-secondary);
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Section Headers */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-subtitle {
    font-family: var(--font-heading);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 12px;
    display: inline-block;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.section-description {
    font-size: 18px;
    color: var(--text-muted);
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==========================================================================
   PREMIUM BUTTONS
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 26px;
    font-weight: 600;
    border-radius: 12px !important; /* Estilo de cantos Apple/iOS */
    cursor: pointer;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
                background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    border: 1px solid transparent;
    font-size: 15px;
    position: relative;
    overflow: hidden;
    letter-spacing: -0.2px;
}

.btn-primary {
    background: linear-gradient(180deg, hsl(24, 100%, 54%) 0%, hsl(24, 100%, 46%) 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.25) !important; /* Brilho superior de borda física */
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02) !important;
    background: linear-gradient(180deg, hsl(24, 100%, 58%) 0%, hsl(24, 100%, 50%) 100%) !important;
    box-shadow: 0 8px 20px rgba(255, 107, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.16) !important;
    color: var(--text-primary) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25) !important;
}

/* Light Mode Overrides para Botões Secundários */
body.light-mode .btn-secondary {
    background: rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.4) !important;
    color: var(--text-primary) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04) !important;
}

body.light-mode .btn-secondary:hover {
    background: rgba(0, 0, 0, 0.08) !important;
    border-color: rgba(0, 0, 0, 0.12) !important;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08) !important;
}

.btn-accent {
    background: var(--color-accent) !important;
    color: #fff !important;
    box-shadow: 0 4px 14px 0 rgba(245, 158, 11, 0.4) !important;
}

.btn-accent:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px 0 rgba(245, 158, 11, 0.6) !important;
}

.btn-icon {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
    transform: translateX(4px);
}

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    display: flex;
    align-items: center;
    z-index: 1000;
    transition: var(--transition-smooth);
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    background-color: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    height: 70px;
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
}

/* Custom Inline SVG Logo Styles */
.custom-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.logo-svg {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
}

.logo-center {
    transform-origin: center;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo-arrows {
    transform-origin: center;
    transition: filter 0.8s ease;
    filter: drop-shadow(0 0 0px rgba(0,0,0,0));
    animation: logoSpin 20s linear infinite;
}

.custom-logo:hover .logo-arrows {
    animation-duration: 4s;
    filter: drop-shadow(0 0 10px rgba(0, 157, 238, 0.65)) drop-shadow(0 0 10px rgba(251, 110, 4, 0.65));
}

@keyframes logoSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.custom-logo:hover .logo-center {
    transform: scale(1.08);
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.logo-corp {
    color: var(--text-muted);
    font-weight: 600;
}

.logo-subtitle {
    font-family: var(--font-body);
    font-size: 10.5px;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 3px;
}

/* Responsive & Scroll Behaviors */
.header.scrolled .logo-svg { width: 38px; height: 38px; }
.header.scrolled .logo-title { font-size: 18px; }
.header.scrolled .logo-subtitle { font-size: 9.5px; }

@media (max-width: 768px) {
    .custom-logo { gap: 8px; }
    .logo-svg { width: 35px; height: 35px; }
    .logo-title { font-size: 16px; }
    .logo-subtitle { font-size: 8.5px; letter-spacing: 1px; }
}

@media (max-width: 480px) {
    .logo-subtitle { display: none; }
}

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

.nav-link {
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
    font-size: 15px;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transition: var(--transition-smooth);
}

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

.nav-link.active {
    color: var(--color-primary);
    font-weight: 600;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Theme Switcher */
.theme-switch {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
}

.theme-switch:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.theme-switch .sun-icon { display: none; }
body.light-mode .theme-switch .moon-icon { display: none; }
body.light-mode .theme-switch .sun-icon { display: block; }

/* Mobile Menu Trigger */
.menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    width: 30px;
    height: 24px;
    position: relative;
}

.menu-btn-bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    position: absolute;
    left: 0;
    transition: var(--transition-smooth);
}

.menu-btn-bar:nth-child(1) { top: 0; }
.menu-btn-bar:nth-child(2) { top: 11px; }
.menu-btn-bar:nth-child(3) { top: 22px; }

.menu-btn.open .menu-btn-bar:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}
.menu-btn.open .menu-btn-bar:nth-child(2) {
    opacity: 0;
}
.menu-btn.open .menu-btn-bar:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

/* Mobile Side Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-primary);
    z-index: 999;
    transition: var(--transition-smooth);
    padding: 120px 40px 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.mobile-nav.open {
    right: 0;
}

.mobile-nav-link {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
}

.mobile-nav-link.active {
    color: var(--color-primary);
}

/* ==========================================================================
   HERO / SLIDER
   ========================================================================== */

.hero-slider-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: #000;
}

/* ==========================================================================
   PREMIUM HERO (ENERGY FLOW)
   ========================================================================== */

.hero-dynamic-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, var(--bg-tertiary) 0%, var(--bg-primary) 100%);
    overflow: hidden;
    z-index: 1;
}

.energy-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: floatOrb 15s infinite ease-in-out alternate;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--color-primary-glow), transparent 70%);
    top: -100px;
    right: -100px;
    animation-duration: 20s;
}

.orb-2 {
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, hsla(214, 90%, 52%, 0.15), transparent 70%);
    bottom: -200px;
    left: -200px;
    animation-delay: -5s;
    animation-duration: 25s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--color-primary-glow), transparent 70%);
    top: 40%;
    left: 40%;
    animation-delay: -10s;
    opacity: 0.4;
}

.hero-noise-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    mix-blend-mode: overlay;
}

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -50px) scale(1.1); }
    66% { transform: translate(-30px, 40px) scale(0.9); }
    100% { transform: translate(0, 0) scale(1); }
}

.premium-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

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

/* Glass & Magnetic Buttons */
.glass-btn {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    color: var(--text-primary);
}

.glass-btn:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
}

.magnetic-btn {
    transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.2s;
}

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

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 2;
}

.hero-slide.active {
    opacity: 1;
}

/* Dark overlay */
.hero-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(7, 12, 24, 0.4), rgba(7, 12, 24, 0.85));
}

.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: flex;
    align-items: center;
}

.hero-text-wrapper {
    max-width: 800px;
    transform: translateY(40px);
    opacity: 0;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s, opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.hero-slide.active .hero-text-wrapper {
    transform: translateY(0);
    opacity: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--color-primary-glow);
    border: 1px solid rgba(255, 107, 0, 0.3);
    padding: 6px 16px;
    border-radius: 50px;
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.hero-badge i {
    font-size: 12px;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.hero-description {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 650px;
    font-weight: 400;
}

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

/* Scroll indicator animation */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}

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

.scroll-indicator-wheel {
    width: 4px;
    height: 8px;
    background-color: var(--color-primary);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollMouse 1.8s infinite;
}

@keyframes scrollMouse {
    0% { top: 6px; opacity: 1; }
    50% { top: 16px; opacity: 0; }
    100% { top: 6px; opacity: 0; }
}

/* ==========================================================================
   STATISTICS
   ========================================================================== */

.stats-grid {
    margin-top: -60px;
    z-index: 20;
    position: relative;
}

.stat-card {
    background-color: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: var(--border-radius-md);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
}

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

.stat-icon {
    font-size: 32px;
    color: var(--color-primary);
    margin-bottom: 16px;
    display: inline-block;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-primary);
    font-family: var(--font-heading);
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

/* ==========================================================================
   ABOUT US
   ========================================================================== */

.about-grid {
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
}

.about-floating-card {
    position: absolute;
    bottom: -30px;
    right: -20px;
    background-color: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-left: 4px solid var(--color-primary);
    padding: 24px;
    border-radius: var(--border-radius-md);
    max-width: 280px;
    box-shadow: var(--shadow-md);
    animation: floatingEffect 4s ease-in-out infinite;
}

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

.about-floating-text {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.about-features {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.about-feature-icon {
    color: var(--color-primary);
    font-size: 18px;
    margin-top: 4px;
}

.about-feature-title {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.about-feature-desc {
    font-size: 14px;
    color: var(--text-muted);
}

/* Vision / Mission / Values Tab System or Grid */
.vmv-grid {
    margin-top: 60px;
}

.vmv-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 36px;
    border-radius: var(--border-radius-md);
    transition: var(--transition-smooth);
}

.vmv-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.vmv-title {
    font-size: 24px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.vmv-title i {
    color: var(--color-primary);
}

.values-list {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.premium-hover-card {
    position: relative;
    transition: var(--transition-smooth);
    overflow: hidden;
}

.premium-hover-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(135deg, transparent, var(--color-primary-glow), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.premium-hover-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg), 0 0 30px var(--color-primary-glow);
    background: var(--bg-card);
}

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

.vmv-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--color-primary-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--color-primary);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.premium-hover-card:hover .vmv-icon-wrap {
    transform: scale(1.15) rotate(5deg);
    background: var(--color-primary);
    color: var(--bg-primary);
    box-shadow: 0 0 15px var(--color-primary);
}

.value-tag {
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    cursor: default;
}

.value-tag i {
    color: var(--color-primary);
    font-size: 10px;
    transition: transform 0.3s ease;
}

.value-tag:hover {
    border-color: var(--color-primary);
    background: var(--color-primary-glow);
    color: var(--text-primary);
    transform: translateY(-3px);
}

.value-tag:hover i {
    transform: scale(1.5);
    color: var(--color-accent);
}

/* Timeline */
.timeline-section {
    margin-top: 80px;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 40px auto 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--border-color);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.timeline::before {
    content: '';
    position: absolute;
    width: 4px;
    background: linear-gradient(to bottom, transparent, var(--color-primary), var(--color-secondary), transparent);
    background-size: 100% 200%;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
    animation: energyFlow 3s linear infinite;
}

@keyframes energyFlow {
    0% { background-position: 0% -200%; }
    100% { background-position: 0% 200%; }
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    position: absolute;
    background-color: var(--bg-primary);
    border: 4px solid var(--color-primary);
    border-radius: 50%;
    top: 24px;
    z-index: 1;
    animation: dotPulse 2s infinite;
}

@keyframes dotPulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.6); }
    70% { box-shadow: 0 0 0 12px rgba(255, 107, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 107, 0, 0); }
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -8px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -8px;
}

.timeline-content {
    padding: 24px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    position: relative;
}

.timeline-date {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.timeline-item:hover .timeline-content {
    border-color: var(--color-primary);
}

/* ==========================================================================
   SERVICES
   ========================================================================== */

.services-grid {
    margin-top: 40px;
}

.service-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md), var(--shadow-primary);
}

.service-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.service-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.service-card:hover .service-card-img {
    transform: scale(1.08);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 100%);
}

.service-card-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-card-icon {
    font-size: 32px;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.service-card-title {
    font-size: 20px;
    margin-bottom: 12px;
}

.service-card-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-card-link {
    font-weight: 700;
    font-size: 14px;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
}

.service-card-link i {
    transition: transform 0.2s ease;
}

.service-card:hover .service-card-link i {
    transform: translateX(4px);
}

/* ==========================================================================
   PROJECTS
   ========================================================================== */

/* Filter Controls */
.filter-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 10px 24px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 14px;
    transition: var(--transition-fast);
}

.filter-btn:hover {
    border-color: var(--color-primary);
    color: var(--text-primary);
}

.filter-btn.active {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.25);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.project-card {
    background-color: var(--bg-secondary);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
}

.project-img-wrapper {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.project-card:hover .project-img {
    transform: scale(1.06);
}

.project-card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-primary);
}

.project-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-card-title {
    font-size: 18px;
    margin-bottom: 6px;
}

.project-card-location {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 12px;
}

.project-card-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

.project-card-btn {
    font-weight: 700;
    font-size: 13px;
    color: var(--text-primary);
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 4px;
}

.project-card-btn i {
    transition: transform 0.2s ease;
}

.project-card:hover .project-card-btn i {
    transform: translateX(3px);
}

/* Lightbox Premium Style */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(7, 12, 24, 0.95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

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

.lightbox-img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    display: block;
}

.lightbox-caption {
    color: #fff;
    text-align: center;
    margin-top: 16px;
    font-family: var(--font-heading);
    font-size: 18px;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
}

/* ==========================================================================
   MAP REGIONAL (MOÇAMBIQUE)
   ========================================================================== */

.map-section {
    position: relative;
}

.map-grid {
    align-items: center;
}

.map-container {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    display: flex;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.moz-map-svg {
    width: 100%;
    max-width: 450px;
    height: auto;
}

.map-province {
    fill: var(--bg-tertiary);
    stroke: var(--bg-primary);
    stroke-width: 1.5;
    transition: var(--transition-fast);
    cursor: pointer;
}

.map-province:hover {
    fill: var(--color-primary-glow);
}

/* Target highlight province: Nampula */
.map-province.active-province {
    fill: hsla(160, 84%, 39%, 0.2);
    stroke: var(--color-primary);
    stroke-width: 2.5;
}

.map-province.active-province:hover {
    fill: hsla(160, 84%, 39%, 0.35);
}

.map-pin {
    fill: var(--color-accent);
    stroke: #fff;
    stroke-width: 1.5;
    cursor: pointer;
    animation: pinPulse 2s infinite;
}

@keyframes pinPulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

.map-tooltip {
    position: absolute;
    background-color: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--color-primary);
    padding: 12px 18px;
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    pointer-events: none;
    font-size: 13px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 100;
}

.map-info-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.map-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.map-info-number {
    background-color: var(--color-primary-glow);
    border: 1px solid rgba(255, 107, 0, 0.3);
    color: var(--color-primary);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    margin-top: 2px;
}

.map-info-title {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 16px;
    margin-bottom: 2px;
}

.map-info-desc {
    font-size: 13px;
    color: var(--text-muted);
}

/* ==========================================================================
   PARTNERS & REPRESENTATIONS
   ========================================================================== */

.partners-slider-wrapper {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    position: relative;
}

/* Continuous scroll slider */
.partners-track {
    display: flex;
    gap: 50px;
    width: max-content;
    animation: logoScroll 25s linear infinite;
}

.partners-track:hover {
    animation-play-state: paused;
}

@keyframes logoScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.partner-logo-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 20px 40px;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    height: 90px;
    transition: var(--transition-fast);
    cursor: pointer;
}

.partner-logo-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-3px);
}

.partner-logo-img {
    max-width: 100%;
    max-height: 50px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.7;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s, opacity 0.3s;
}

.partner-logo-card:hover .partner-logo-img {
    filter: grayscale(0) brightness(1.2);
    opacity: 1;
    transform: rotate(180deg) scale(1.1);
}

/* ==========================================================================
   SOLICITAR COTAÇÃO & CONTATO
   ========================================================================== */

.quote-section {
    position: relative;
}

.quote-grid {
    align-items: stretch;
}

.quote-form-container {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.quote-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    display: inline-block;
}

.form-field:focus-within .form-label {
    color: var(--color-primary);
}



.form-input, .form-select, .form-textarea {
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 14px 18px;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-fast);
    outline: none;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 12px var(--color-primary-glow);
}

.form-textarea {
    resize: none;
    height: 120px;
}

/* Contact Info Cards */
.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 30px;
}

.contact-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: var(--transition-smooth);
}

.contact-card:hover {
    border-color: var(--color-primary);
}

.contact-card-icon {
    font-size: 24px;
    color: var(--color-primary);
    background-color: var(--color-primary-glow);
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-card-title {
    font-size: 16px;
    margin-bottom: 4px;
}

.contact-card-text {
    font-size: 14px;
    color: var(--text-muted);
}

.contact-card-link {
    color: var(--text-primary);
    font-weight: 600;
}

.contact-card-link:hover {
    color: var(--color-primary);
}

/* Map Embed */
.map-embed-container {
    width: 100%;
    height: 320px;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.map-embed-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Social icons */
.social-links {
    display: flex;
    gap: 12px;
}

.social-icon {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition-fast);
}

.social-icon:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
    transform: translateY(-3px);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 30px;
}

.footer-grid {
    margin-bottom: 50px;
}

.footer-col-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 20px;
    max-width: 280px;
}

.footer-col-title {
    font-size: 18px;
    margin-bottom: 24px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 14px;
}

.footer-link:hover {
    color: var(--color-primary);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 16px;
}

/* ==========================================================================
   RESPONSIVENESS (MOBILE)
   ========================================================================== */

@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-title {
        font-size: 48px;
    }
}

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4, .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .btn {
        width: 100%;
    }
    
    .menu-btn {
        display: block;
    }
    
    .nav, .header .btn {
        display: none;
    }
    
    .stats-grid {
        margin-top: -30px;
    }
    
    .about-floating-card {
        right: 10px;
    }
    
    .timeline::after {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 10px;
        text-align: left !important;
    }
    
    .timeline-dot {
        left: 12px !important;
    }
    
    .form-group-2 {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================================================
   ADVANCED PREMIUM FEATURES & SPA WIDGETS
   ========================================================================== */

/* Diagram Connective Lines (Energy Special Effect) */
.diagram-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}
.diagram-line-v {
    position: absolute;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--border-color), transparent);
    height: 100%;
}
.diagram-line-h {
    position: absolute;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border-color), transparent);
    width: 100%;
}
.diagram-node {
    position: absolute;
    width: 8px;
    height: 8px;
    border: 1px solid var(--color-primary);
    border-radius: 50%;
    background-color: var(--bg-primary);
    transform: translate(-50%, -50%);
    opacity: 0.45;
}
.diagram-node::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 1px solid var(--color-primary);
    border-radius: 50%;
    animation: pulseGlow 3s infinite;
    opacity: 0.5;
}
@keyframes pulseGlow {
    0% { transform: scale(0.8); opacity: 0.8; }
    50% { transform: scale(1.6); opacity: 0; }
    100% { transform: scale(0.8); opacity: 0; }
}

/* Split Hero Section layout */
.hero-split-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    width: 100%;
    height: 100%;
}
.hero-right-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-left: 20px;
}
.hero-glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    padding: 20px 24px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 16px;
    transform: translateX(50px);
    opacity: 0;
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-slide.active .hero-glass-card {
    transform: translateX(0);
    opacity: 1;
}
.hero-slide.active .hero-glass-card:nth-child(1) { transition-delay: 0.5s; }
.hero-slide.active .hero-glass-card:nth-child(2) { transition-delay: 0.7s; }
.hero-slide.active .hero-glass-card:nth-child(3) { transition-delay: 0.9s; }

.hero-glass-card-icon {
    font-size: 24px;
    color: var(--color-primary);
    background-color: var(--color-primary-glow);
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-glass-card-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}
.hero-glass-card-desc {
    font-size: 13px;
    color: var(--text-muted);
}

/* Alternate Service Rows */
.service-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}
.service-row:nth-child(even) {
    flex-direction: row-reverse;
}
.service-row-img-wrapper {
    flex: 1;
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 16/10;
}
.service-row-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}
.service-row-img-wrapper:hover .service-row-img {
    transform: scale(1.05);
}
.service-row-content {
    flex: 1;
}
.service-row-badge {
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    display: inline-block;
}
.service-row-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 16px;
}
.service-row-desc {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}
.service-benefits-list {
    margin-bottom: 30px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.service-benefit-item {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
}
.service-benefit-item i {
    color: var(--color-primary);
}
.service-row-actions {
    display: flex;
    gap: 12px;
}

/* Asymmetric Gallery */
.gallery-asymmetric-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 240px;
    gap: 20px;
}
.gallery-item {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}
.gallery-item:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-lg), var(--shadow-primary);
}
.gallery-item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}
.gallery-item:hover .gallery-item-img {
    transform: scale(1.06);
}
.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.4) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: var(--transition-fast);
}
.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}
.gallery-item-tag {
    align-self: flex-start;
    background-color: var(--color-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
}
.gallery-item-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}
.gallery-item-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
}
.gallery-item-btn {
    align-self: flex-start;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
    background: none;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
}
.gallery-item-btn:hover {
    color: #fff;
}
/* Grid proportions */
.gallery-span-6 { grid-column: span 6; grid-row: span 2; }
.gallery-span-3 { grid-column: span 3; grid-row: span 2; }
.gallery-span-4 { grid-column: span 4; grid-row: span 2; }
.gallery-span-8 { grid-column: span 8; grid-row: span 2; }

/* Store Catalog Section */
.store-filters {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}
.store-search-wrapper {
    position: relative;
    max-width: 320px;
    width: 100%;
}
.store-search-input {
    width: 100%;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 12px 16px 12px 40px;
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    transition: var(--transition-fast);
}
.store-search-input:focus {
    border-color: var(--color-primary);
    outline: none;
    box-shadow: 0 0 10px rgba(255, 107, 0, 0.1);
}
.store-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}
.store-tab-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.store-tab-btn {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-fast);
}
.store-tab-btn:hover {
    border-color: var(--color-primary);
    color: var(--text-primary);
}
.store-tab-btn.active {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.25);
}
.store-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.product-card {
    background-color: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-lg), var(--shadow-primary);
}
.product-img-holder {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    background-color: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-color);
}
.product-img {
    width: 80%;
    height: 80%;
    object-fit: contain;
    transition: var(--transition-smooth);
}
.product-card:hover .product-img {
    transform: scale(1.08);
}
.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: var(--color-primary-glow);
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}
.product-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.product-brand {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-primary);
    letter-spacing: 1px;
    margin-bottom: 6px;
}
.product-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}
.product-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}
.product-cta-btn {
    width: 100%;
    padding: 12px;
    font-size: 14px;
}

/* Statistics Central Panel */
.stats-panel-section {
    position: relative;
    padding: 80px 0;
}
.stats-panel {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 50px 30px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    text-align: center;
    position: relative;
    z-index: 10;
}
.stats-panel-item {
    position: relative;
    padding: 10px 20px;
}
.stats-panel-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--border-color), transparent);
}
.stats-panel-num {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 6px;
    letter-spacing: -1px;
}
.stats-panel-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

/* Split Form Section */
.split-form-wrapper {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 50px;
    align-items: flex-start;
}
.form-left-content {
    position: sticky;
    top: 120px;
}
.form-card-right {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}
.form-dynamic-info {
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-muted);
    border-left: 2px solid var(--color-primary);
    padding-left: 12px;
    min-height: 20px;
    transition: var(--transition-fast);
}

/* Premium Floating WhatsApp Widget */
.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    font-family: var(--font-body);
}
.whatsapp-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    transition: var(--transition-smooth);
    border: none;
    position: relative;
}
.whatsapp-btn:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.6);
}
.whatsapp-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #25d366;
    opacity: 0.4;
    animation: waPulse 2s infinite;
    z-index: -1;
}
@keyframes waPulse {
    0% { transform: scale(1); opacity: 0.4; }
    100% { transform: scale(1.6); opacity: 0; }
}
.whatsapp-menu {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 280px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform: scale(0.8) translateY(20px);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    transform-origin: bottom right;
}
.whatsapp-menu.active {
    transform: scale(1) translateY(0);
    opacity: 1;
    visibility: visible;
}
.whatsapp-menu-header {
    background: linear-gradient(135deg, #128c7e 0%, #25d366 100%);
    padding: 16px 20px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
}
.whatsapp-menu-header i {
    font-size: 24px;
}
.whatsapp-menu-title {
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 2px;
}
.whatsapp-menu-status {
    font-size: 11px;
    opacity: 0.9;
}
.whatsapp-menu-list {
    padding: 12px 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.whatsapp-menu-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-radius: var(--border-radius-sm);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 13px;
    transition: var(--transition-fast);
}
.whatsapp-menu-option:hover {
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
    transform: translateX(4px);
}
.whatsapp-menu-option i {
    color: #25d366;
    font-size: 16px;
}

/* Voltar ao Topo */
.back-to-top {
    position: fixed;
    bottom: 105px;
    right: 35px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 998;
}
.back-to-top:hover {
    background-color: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-primary);
}
.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

/* Cookie Banner Premium (Apple/iOS Style) */
.cookie-banner {
    position: fixed;
    bottom: 30px;
    left: 30px;
    max-width: 420px;
    width: calc(100% - 60px);
    background: rgba(30, 30, 30, 0.55) !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-radius: 20px !important;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5) !important;
    padding: 24px;
    z-index: 1000;
    transform: translateY(150px);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.cookie-banner.active {
    transform: translateY(0);
    opacity: 1;
}
.cookie-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.cookie-title i {
    color: var(--color-primary);
}
.cookie-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 20px;
}
.cookie-actions {
    display: flex;
    gap: 10px;
}
.cookie-btn-accept {
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 10px !important;
    cursor: pointer;
    background: linear-gradient(180deg, hsl(24, 100%, 54%) 0%, hsl(24, 100%, 46%) 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 2px 6px rgba(255, 107, 0, 0.2) !important;
    transition: var(--transition-fast);
}
.cookie-btn-accept:hover {
    transform: translateY(-1px);
    background: linear-gradient(180deg, hsl(24, 100%, 58%) 0%, hsl(24, 100%, 50%) 100%) !important;
}
.cookie-btn-decline {
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 10px !important;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.16) !important;
    color: var(--text-secondary) !important;
    transition: var(--transition-fast);
}
.cookie-btn-decline:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
    color: var(--text-primary) !important;
}

/* Scroll Animation Elements */
.fade-up-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-up-element.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Light Mode Refinements */
body.light-mode .whatsapp-menu {
    background-color: var(--bg-secondary);
}
body.light-mode .hero-glass-card {
    background: rgba(255, 255, 255, 0.8);
}
body.light-mode .stats-panel {
    background: rgba(255, 255, 255, 0.8);
}
body.light-mode .form-card-right {
    background: rgba(255, 255, 255, 0.8);
}
body.light-mode .cookie-banner {
    background: rgba(255, 255, 255, 0.7) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.12) !important;
}
body.light-mode .cookie-btn-decline {
    background: rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.4) !important;
    color: var(--text-secondary) !important;
}
body.light-mode .cookie-btn-decline:hover {
    background: rgba(0, 0, 0, 0.08) !important;
    border-color: rgba(0, 0, 0, 0.12) !important;
    color: var(--text-primary) !important;
}

/* Responsive updates for new sections */
@media (max-width: 1200px) {
    .stats-panel {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    .stats-panel-item:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 1024px) {
    .hero-split-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
        padding-top: 100px;
    }
    .hero-right-visual {
        flex-direction: row;
        justify-content: center;
        padding-left: 0;
    }
    .hero-glass-card {
        transform: translateY(50px);
    }
    .store-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-asymmetric-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
    }
    .gallery-span-6, .gallery-span-3, .gallery-span-4, .gallery-span-8 {
        grid-column: span 1;
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    .service-row {
        flex-direction: column !important;
        gap: 30px;
    }
    .store-grid {
        grid-template-columns: 1fr;
    }
    .stats-panel {
        grid-template-columns: repeat(2, 1fr);
        padding: 30px 15px;
    }
    .split-form-wrapper {
        grid-template-columns: 1fr;
    }
    .form-left-content {
        position: static;
    }
    .hero-right-visual {
        display: none; /* Hide glass cards on mobile hero to avoid clutter */
    }
}

/* ==========================================================================
   HOME PREVIEWS / GUIDE
   ========================================================================== */

.home-section-wrapper {
    display: flex;
    flex-direction: column;
}

.home-previews-container {
    background-color: var(--bg-primary);
    position: relative;
    z-index: 20;
    padding: 80px 0;
}

.home-preview-block {
    margin-bottom: 90px;
}

.home-preview-block:last-child {
    margin-bottom: 0;
}

.home-preview-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 30px;
}

.home-preview-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.home-preview-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    font-family: var(--font-heading);
}

.preview-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.preview-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 107, 0, 0.4);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

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

.preview-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.preview-card:hover .preview-card-img {
    transform: scale(1.08);
}

.preview-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.preview-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.preview-card-desc {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.5;
}

.preview-action-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 24px;
}

.btn-preview-action {
    padding: 10px 24px;
    font-size: 13px;
    border-radius: 30px;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    background: transparent;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-preview-action:hover {
    background: var(--color-primary);
    color: #fff;
    transform: translateX(4px);
}

.preview-map-box {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.preview-map-box:hover {
    border-color: rgba(255, 107, 0, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Light mode adjustments for previews */
body.light-mode .preview-card {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
body.light-mode .preview-map-box {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

/* ==========================================================================
   SPA - SINGLE PAGE APPLICATION SECTIONS
   ========================================================================== */

.spa-section {
    display: none;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.spa-section:not(#inicio) {
    padding-top: 180px;
    min-height: 100vh;
}

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

.home-section-wrapper.spa-section.active {
    display: flex;
}

.spa-section.active.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   ADDITIONS FOR HOME RE-ENGINEERING & FOOTER POLICIES
   ========================================================================== */

/* Force static glass cards in Hero to be visible since they are layered over dynamic slider */
.hero-content .hero-glass-card {
    transform: none !important;
    opacity: 1 !important;
}

@media (max-width: 1024px) {
    .hero-right-visual {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 15px !important;
        padding-left: 0 !important;
    }
}

/* Quick About Section styling */
.home-about-quick {
    position: relative;
    overflow: hidden;
}

.quick-about-visual-box {
    position: relative;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.quick-about-visual-box:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(255, 107, 0, 0.4) !important;
}

/* CTA Final Home Styling */
.home-final-cta {
    position: relative;
    background-size: cover;
    background-position: center;
}

.home-final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(29, 78, 216, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

/* Service Row Highlighting for deep links */
.service-row-highlight {
    animation: servicePulse 2.5s ease-in-out;
}

@keyframes servicePulse {
    0% {
        box-shadow: 0 0 0 0px rgba(255, 107, 0, 0.5);
        background-color: rgba(255, 107, 0, 0.08);
        border-color: rgba(255, 107, 0, 0.6);
    }
    30% {
        box-shadow: 0 0 30px 10px rgba(255, 107, 0, 0.3);
        background-color: rgba(255, 107, 0, 0.15);
        border-color: rgba(255, 107, 0, 0.8);
    }
    100% {
        box-shadow: 0 0 0 0px rgba(255, 107, 0, 0);
        background-color: transparent;
        border-color: var(--border-color);
    }
}

/* Footer Policy Links styling */
.footer-policy-link {
    font-size: 13px;
    color: var(--text-muted);
    transition: color 0.3s ease;
    text-decoration: none;
}

.footer-policy-link:hover {
    color: var(--color-primary);
}

/* ==========================================================================
   PREMIUM ANIMATIONS (SCROLL REVEAL)
   ========================================================================== */

.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }


/* ==========================================================================
   BENTO BOX GRID (SERVIÇOS)
   ========================================================================== */

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 20px;
    margin-top: 40px;
}

.bento-card {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    border: 1px solid var(--glass-border);
}

.bento-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(135deg, transparent, #ffffff, var(--color-primary), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 5;
}

.bento-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 25px var(--color-primary-glow);
    border-color: transparent;
}

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

.bento-card:hover .bento-bg-img {
    transform: scale(1.08);
    filter: brightness(0.7) saturate(1.2);
}

.bento-bg-img {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.5) saturate(0.8);
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), filter 0.8s ease;
    z-index: 1;
}

.bento-bg-img::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 40%, rgba(0, 0, 0, 0.1) 100%);
    pointer-events: none;
}

.bento-content {
    position: relative;
    z-index: 2;
    width: 100%;
    pointer-events: none; /* Let clicks pass through to card */
}

/* Enable pointer events on interactive elements inside bento-content if needed, but the whole card will be clickable */
.bento-card {
    cursor: pointer;
}

.bento-icon-wrapper {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: var(--color-primary);
    font-size: 20px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.bento-card:hover .bento-icon-wrapper {
    background: var(--color-primary);
    color: var(--bg-primary);
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 0 15px var(--color-primary);
    border-color: var(--color-primary);
}

.bento-badge {
    display: inline-block;
    padding: 4px 10px;
    background: var(--color-primary);
    color: var(--text-dark);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 20px;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.bento-title {
    font-size: 22px;
    color: var(--text-light);
    margin-bottom: 10px;
    font-family: var(--font-heading);
    font-weight: 600;
}

.bento-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 0;
}

.bento-wide {
    grid-column: span 2;
}

.bento-tall {
    grid-row: span 2;
}

@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 280px;
    }
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }
    .bento-wide, .bento-tall {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* ==========================================================================
   STATS RING (ESTATÍSTICAS)
   ========================================================================== */

.stat-ring-container {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-svg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    transform: rotate(-90deg);
}

.stat-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.05);
    stroke-width: 6;
}

.stat-progress {
    fill: none;
    stroke: var(--color-primary);
    stroke-width: 6;
    stroke-dasharray: 283; /* 2 * pi * r (45) */
    stroke-dashoffset: 283;
    stroke-linecap: round;
    transition: stroke-dashoffset 2s cubic-bezier(0.25, 1, 0.5, 1);
    filter: drop-shadow(0 0 8px var(--color-primary-glow));
}

.stats-panel-item.active .stat-progress {
    stroke-dashoffset: calc(283 - (283 * var(--stroke-target)) / 100);
}

/* ==========================================================================
   PREMIUM SERVICES (HOME)
   ========================================================================== */
.premium-service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.premium-service-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-lg);
}

.premium-service-img-box {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.premium-service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.premium-service-card:hover .premium-service-img {
    transform: scale(1.1);
}

.premium-service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    opacity: 0;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
}

.premium-service-card:hover .premium-service-overlay {
    opacity: 1;
}

.premium-service-link {
    width: 60px;
    height: 60px;
    background: var(--color-primary);
    color: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.premium-service-card:hover .premium-service-link {
    transform: translateY(0);
}

.premium-service-content {
    padding: 30px;
}

.premium-service-title {
    font-size: 22px;
    margin-bottom: 12px;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: var(--transition-fast);
}

.faq-item.active {
    border-color: var(--color-primary);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.faq-question {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 18px;
    color: var(--text-primary);
    user-select: none;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--color-primary);
}

.faq-question i {
    transition: transform 0.4s ease;
    color: var(--color-primary);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: var(--bg-card);
}

.faq-answer p {
    padding: 0 24px 24px;
    color: var(--text-muted);
    font-size: 15px;
    margin: 0;
}

/* ==========================================================================
   ABOUT US REDESIGN (QUEM SOMOS & SOBRE)
   ========================================================================== */

/* Value Pills in Home About */
.values-pill-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.value-pill {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 12px 24px 12px 12px;
    display: flex;
    align-items: center;
    gap: 16px;
    font-weight: 600;
    font-size: 15px;
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: default;
    position: relative;
    overflow: hidden;
}

.value-pill::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.7s;
}

.value-pill:hover::before {
    left: 200%;
}

.value-pill:hover {
    transform: translateY(-5px) !important;
    border-color: var(--color-primary);
    box-shadow: 0 10px 25px -5px var(--color-primary-glow);
    background: var(--bg-secondary);
}

.value-pill-icon {
    width: 44px;
    height: 44px;
    background: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 20px;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.3);
    transition: transform 0.4s;
}

.value-pill:hover .value-pill-icon {
    transform: scale(1.1);
}

.energy-blob {
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    filter: blur(60px);
    animation: pulseBlob 8s infinite alternate ease-in-out;
    z-index: 0;
}

@keyframes pulseBlob {
    0% { transform: scale(1) translate(0, 0); opacity: 0.5; }
    100% { transform: scale(1.3) translate(30px, -30px); opacity: 0.8; }
}

/* ==========================================================================
   SERVICE MODAL
   ========================================================================== */

.service-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

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

.service-modal-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px;
    position: relative;
    transform: translateY(50px) scale(0.95);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 25px 50px rgba(0,0,0,0.5), 0 0 40px rgba(255,107,0,0.15);
}

body.light-mode .service-modal-card {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 25px 50px rgba(0,0,0,0.1), 0 0 40px rgba(255,107,0,0.1);
}

.service-modal-overlay.active .service-modal-card {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.service-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s;
}

.service-modal-close:hover {
    color: var(--color-primary);
}

.service-modal-header {
    text-align: center;
    margin-bottom: 25px;
}

.service-modal-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 107, 0, 0.1);
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--color-primary);
    font-size: 32px;
    box-shadow: 0 0 20px rgba(255, 107, 0, 0.2);
}

.service-modal-title {
    font-size: 28px;
    color: var(--text-primary);
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.service-modal-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 25px;
}

.service-modal-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

@media (max-width: 600px) {
    .service-modal-features {
        grid-template-columns: 1fr;
    }
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.feature-item i {
    color: var(--color-primary);
    margin-top: 4px;
}

.feature-item span {
    font-size: 14px;
    color: var(--text-primary);
}

/* ==========================================================================
   SPLASH SCREEN
   ========================================================================== */

.splash-screen {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #0f172a; /* Dark sleek background */
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

body.light-mode .splash-screen {
    background: #f8fafc;
}
body.light-mode .splash-logo .logo-title {
    color: #0f172a !important;
}
body.light-mode .splash-logo .logo-subtitle {
    color: rgba(15,23,42,0.7) !important;
}

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

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

.splash-logo {
    animation: splashPulse 2s infinite alternate ease-in-out;
    margin-bottom: 30px;
}

.splash-logo .logo-arrows {
    animation: arrowsSpin 1.5s linear infinite;
    filter: drop-shadow(0 0 12px rgba(0, 157, 238, 0.55)) drop-shadow(0 0 12px rgba(251, 110, 4, 0.55));
}

@keyframes arrowsSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes splashPulse {
    0% { transform: scale(0.95); filter: drop-shadow(0 0 10px rgba(255,107,0,0.2)); }
    100% { transform: scale(1.05); filter: drop-shadow(0 0 25px rgba(255,107,0,0.8)); }
}

.splash-line-container {
    width: 200px;
    height: 2px;
    background: rgba(255,107,0,0.2);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.splash-line {
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 30%;
    background: var(--color-primary);
    border-radius: 2px;
    animation: splashLoad 1.5s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

@keyframes splashLoad {
    0% { left: -30%; width: 30%; }
    50% { width: 50%; }
    100% { left: 100%; width: 100%; }
}

/* ==========================================================================
   SLEEK ANGULAR SLASHES & NEON LIGHT BORDERS (CAMINHO 3)
   ========================================================================== */
.diagonal-divider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 15;
    background: transparent;
}

.diagonal-divider-container.divider-hero-about {
    margin-top: -80px; /* Sobrepor perfeitamente o Hero */
    background: transparent;
}

.diagonal-svg {
    width: 100%;
    height: 80px;
    display: block;
}

.diagonal-line {
    stroke: url(#diag-line-grad);
    stroke-width: 1.5px;
    stroke-linecap: round;
    opacity: 0.35;
}

.diagonal-pulse-line {
    stroke: #ffffff;
    stroke-width: 2px;
    stroke-linecap: round;
    filter: drop-shadow(0 0 6px var(--color-primary)) drop-shadow(0 0 2px #fff);
    stroke-dasharray: 100 1300;
    stroke-dashoffset: 1400;
    animation: diagPulseFlow 5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes diagPulseFlow {
    0% {
        stroke-dashoffset: 1400;
    }
    40% {
        stroke-dashoffset: -100;
    }
    100% {
        stroke-dashoffset: -100;
    }
}

.diagonal-divider-container.divider-section-top {
    margin-top: -100px;
    margin-bottom: 40px;
}

/* ==========================================================================
   APPLE & IOS GLASSMORPHISM CARDS (MINIMALIST & SOPISTICATED)
   ========================================================================== */
.stat-card, 
.about-floating-card, 
.vmv-card, 
.premium-hover-card, 
.service-card, 
.project-card, 
.partner-logo-card, 
.contact-card, 
.product-card, 
.preview-card, 
.bento-card, 
.premium-service-card, 
.faq-item, 
.hero-glass-card, 
.service-modal-card {
    background: rgba(30, 30, 30, 0.45) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.16) !important; /* Simula reflexo de luz superior */
    border-radius: 20px !important;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.05) !important;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.3s ease !important;
}

/* Hover suave estilo curva de mola iOS */
.stat-card:hover, 
.vmv-card:hover, 
.premium-hover-card:hover, 
.service-card:hover, 
.project-card:hover, 
.partner-logo-card:hover, 
.contact-card:hover, 
.product-card:hover, 
.preview-card:hover, 
.bento-card:hover, 
.premium-service-card:hover, 
.faq-item.active,
.hero-glass-card:hover {
    transform: translateY(-6px) scale(1.01) !important;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7), inset 0 1px 1px rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
}

/* Light Mode Overrides (Claro, Translúcido e Super Limpo) */
body.light-mode .stat-card, 
body.light-mode .about-floating-card, 
body.light-mode .vmv-card, 
body.light-mode .premium-hover-card, 
body.light-mode .service-card, 
body.light-mode .project-card, 
body.light-mode .partner-logo-card, 
body.light-mode .contact-card, 
body.light-mode .product-card, 
body.light-mode .preview-card, 
body.light-mode .bento-card, 
body.light-mode .premium-service-card, 
body.light-mode .faq-item, 
body.light-mode .hero-glass-card, 
body.light-mode .service-modal-card {
    background: rgba(255, 255, 255, 0.6) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.06), inset 0 1px 1px rgba(255, 255, 255, 0.5) !important;
}

body.light-mode .stat-card:hover, 
body.light-mode .vmv-card:hover, 
body.light-mode .premium-hover-card:hover, 
body.light-mode .service-card:hover, 
body.light-mode .project-card:hover, 
body.light-mode .partner-logo-card:hover, 
body.light-mode .contact-card:hover, 
body.light-mode .product-card:hover, 
body.light-mode .preview-card:hover, 
body.light-mode .bento-card:hover, 
body.light-mode .premium-service-card:hover, 
body.light-mode .faq-item.active,
body.light-mode .hero-glass-card:hover {
    transform: translateY(-6px) scale(1.01) !important;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.12), inset 0 1px 1px rgba(255, 255, 255, 0.8) !important;
    border-color: rgba(0, 0, 0, 0.12) !important;
}

/* ==========================================================================
   HERO TEXT TRANSITIONS (APPLE STYLE)
   ========================================================================== */
#hero-badge,
#hero-title,
#hero-desc {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Delays para efeito escalonado (staggered) na entrada */
#hero-badge {
    transition-delay: 0s;
}
#hero-title {
    transition-delay: 0.08s;
}
#hero-desc {
    transition-delay: 0.16s;
}

/* Estado de Saída (slide-up + fade-out) */
.hero-text-wrapper.text-exit #hero-badge,
.hero-text-wrapper.text-exit #hero-title,
.hero-text-wrapper.text-exit #hero-desc {
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0s !important; /* sai tudo junto sem delay */
}

/* Estado de Preparação para Entrada (posiciona abaixo, sem transição) */
.hero-text-wrapper.text-prepare #hero-badge,
.hero-text-wrapper.text-prepare #hero-title,
.hero-text-wrapper.text-prepare #hero-desc {
    opacity: 0;
    transform: translateY(20px);
    transition: none !important;
    transition-delay: 0s !important;
}

/* ==========================================================================
   LIGHT MODE HERO ADJUSTMENTS (FORCING LEGIBILITY ON DARK SLIDES)
   ========================================================================== */
body.light-mode #hero-text-wrapper #hero-title {
    color: #ffffff !important;
}

body.light-mode #hero-text-wrapper #hero-desc {
    color: rgba(255, 255, 255, 0.75) !important;
}

body.light-mode #hero-text-wrapper #hero-badge {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

body.light-mode #hero-text-wrapper #hero-badge i {
    color: #ffffff !important;
}

body.light-mode #hero-text-wrapper #hero-badge-text {
    color: #ffffff !important;
}

/* Forçar visual de botão de vidro claro para o botão "Ver Soluções" no Hero */
body.light-mode #hero-text-wrapper .btn-secondary.glass-btn {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

body.light-mode #hero-text-wrapper .btn-secondary.glass-btn:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3) !important;
}

/* ==========================================================================
   PREMIUM GLASSMORPHISM BUDGET FORM (APPLE/iOS STYLE)
   ========================================================================== */
.quote-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-input, 
.form-select, 
.form-textarea {
    background-color: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid var(--glass-border) !important;
    color: var(--text-primary) !important;
    padding: 14px 16px !important;
    border-radius: 12px !important; /* cantos squircle */
    font-size: 15px !important;
    transition: border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s ease !important;
    outline: none !important;
}

.form-textarea {
    height: 120px !important;
}

/* Garante legibilidade absoluta das opções de seleção no modo claro e escuro */
.form-select option {
    background-color: var(--bg-tertiary) !important;
    color: var(--text-primary) !important;
}

/* Modo Claro Overrides para Inputs */
body.light-mode .form-input, 
body.light-mode .form-select, 
body.light-mode .form-textarea {
    background-color: rgba(0, 0, 0, 0.02) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    color: var(--text-primary) !important;
}

.form-input:focus, 
.form-select:focus, 
.form-textarea:focus {
    border-color: var(--color-primary) !important;
    box-shadow: 0 0 15px var(--color-primary-glow), inset 0 1px 1px rgba(255, 255, 255, 0.05) !important;
    background-color: rgba(255, 255, 255, 0.07) !important;
}

body.light-mode .form-input:focus, 
body.light-mode .form-select:focus, 
body.light-mode .form-textarea:focus {
    background-color: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 0 12px var(--color-primary-glow) !important;
    border-color: var(--color-primary) !important;
}

/* Aviso Dinâmico estilo Widget iOS */
.form-dynamic-info {
    background: rgba(255, 107, 0, 0.06) !important;
    border: 1px solid rgba(255, 107, 0, 0.15) !important;
    border-left: 4px solid var(--color-primary) !important;
    border-radius: 8px !important;
    padding: 14px 16px !important;
    font-size: 13.5px !important;
    line-height: 1.5 !important;
    color: var(--color-primary) !important;
    margin-top: 15px !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    box-shadow: var(--shadow-sm) !important;
}

body.light-mode .form-dynamic-info {
    background: rgba(255, 107, 0, 0.04) !important;
    color: hsl(24, 100%, 40%) !important;
}

/* ==========================================================================
   BENTO GRID SERVICES PREMIUM ELEVATION
   ========================================================================== */
.bento-card {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.6s ease !important;
}

.bento-card:hover {
    transform: translateY(-8px) scale(1.02) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(255, 107, 0, 0.15) !important;
    border-color: rgba(255, 107, 0, 0.4) !important;
}

.bento-bg-img {
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s ease !important;
}

/* Forçar Legibilidade no Modo Diurno para Bento Cards (fundo escuro fixo) */
body.light-mode .bento-card .bento-title {
    color: #ffffff !important;
}

body.light-mode .bento-card .bento-desc {
    color: rgba(255, 255, 255, 0.75) !important;
}

body.light-mode .bento-card .bento-badge {
    background: var(--color-primary) !important;
    color: #070c18 !important;
}

/* ==========================================================================
   PREMIUM GALLERY PROPORTIONS & ANIMATIONS (APPLE STYLE)
   ========================================================================== */
.gallery-item-img {
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.gallery-item:hover .gallery-item-img {
    transform: scale(1.08) !important;
}

.gallery-item-overlay {
    background: linear-gradient(to top, rgba(7, 12, 24, 0.95) 0%, rgba(7, 12, 24, 0.4) 60%, transparent 100%) !important;
    backdrop-filter: blur(0px) !important;
    -webkit-backdrop-filter: blur(0px) !important;
    transition: opacity 0.4s ease, backdrop-filter 0.4s ease, -webkit-backdrop-filter 0.4s ease !important;
}

.gallery-item:hover .gallery-item-overlay {
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
}

/* Staggered Entrance (deslizamento sequencial) no hover do card da galeria */
.gallery-item-tag,
.gallery-item-title,
.gallery-item-overlay div {
    transform: translateY(15px) !important;
    opacity: 0 !important;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.gallery-item-tag { 
    transition-delay: 0s !important; 
}
.gallery-item-title { 
    transition-delay: 0.05s !important; 
}
.gallery-item-overlay div { 
    transition-delay: 0.1s !important; 
}

.gallery-item:hover .gallery-item-tag,
.gallery-item:hover .gallery-item-title,
.gallery-item:hover .gallery-item-overlay div {
    transform: translateY(0) !important;
    opacity: 1 !important;
}

/* Contraste dos Botões de Filtro da Galeria (Modo Claro) */
body.light-mode .filter-btn {
    background: rgba(0, 0, 0, 0.04) !important;
    color: var(--text-secondary) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

body.light-mode .filter-btn.active,
body.light-mode .filter-btn:hover {
    background: var(--color-primary) !important;
    color: #ffffff !important;
    border-color: var(--color-primary) !important;
}

/* ==========================================================================
   iOS STYLE STATS OVERRIDES (APPLE WATCH RINGS & GLASSMORPHISM)
   ========================================================================== */
.stats-panel {
    background: rgba(15, 23, 42, 0.45) !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    border: 1px solid rgba(255, 107, 0, 0.15) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important; /* brilho físico superior */
    border-radius: 24px !important; /* cantos squircle */
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.5) !important;
    padding: 50px 30px !important;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

body.light-mode .stats-panel {
    background: rgba(255, 255, 255, 0.65) !important;
    border: 1px solid rgba(255, 107, 0, 0.15) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.08) !important;
}

.stats-panel-item {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.stats-panel-item:hover {
    transform: scale(1.05) !important;
}

.stats-panel-num {
    font-size: 42px !important;
    font-weight: 800 !important;
    color: var(--text-primary) !important;
    background: linear-gradient(135deg, var(--text-primary) 30%, var(--color-primary) 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    display: inline-block;
}

body.light-mode .stats-panel-num {
    background: linear-gradient(135deg, var(--text-primary) 40%, var(--color-primary) 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

/* Anéis de progresso espessos do Apple Watch */
.stat-ring-container {
    width: 146px !important;
    height: 146px !important;
}

.stat-bg {
    stroke: rgba(255, 255, 255, 0.05) !important;
    stroke-width: 8px !important;
}

body.light-mode .stat-bg {
    stroke: rgba(0, 0, 0, 0.05) !important;
}

.stat-progress {
    stroke-width: 8px !important;
    stroke-linecap: round !important;
    filter: drop-shadow(0 0 10px rgba(255, 107, 0, 0.25)) !important;
    transition: stroke-dashoffset 2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

body.light-mode .stat-progress {
    filter: drop-shadow(0 0 8px rgba(255, 107, 0, 0.15)) !important;
}

/* ==========================================================================
   LIGHTBOX iOS CLOSE BUTTON & OVERLAYS
   ========================================================================== */
.lightbox-close {
    position: fixed !important;
    top: 30px !important;
    right: 30px !important;
    background: rgba(7, 12, 24, 0.5) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 20px !important;
    cursor: pointer !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
    z-index: 2200 !important;
}

.lightbox-close:hover {
    transform: scale(1.1) rotate(90deg) !important;
    background-color: rgba(255, 107, 0, 0.8) !important; /* laranja de destaque ao passar o mouse */
    border-color: rgba(255, 107, 0, 0.9) !important;
}

.lightbox-img {
    max-width: 100% !important;
    max-height: 75vh !important;
    object-fit: contain !important;
    border-radius: 16px !important; /* Squircle Apple style */
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.8) !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* ==========================================================================
   HEADER VISIBILITY FIXES (LIGHT MODE OVER DARK HERO)
   ========================================================================== */
body.light-mode .header:not(.scrolled) .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
}

body.light-mode .header:not(.scrolled) .nav-link:hover,
body.light-mode .header:not(.scrolled) .nav-link.active {
    color: var(--color-primary) !important;
}

body.light-mode .header:not(.scrolled) .logo-title,
body.light-mode .header:not(.scrolled) .logo-corp {
    color: #ffffff !important;
}

body.light-mode .header:not(.scrolled) .logo-subtitle {
    color: rgba(255, 255, 255, 0.6) !important;
}

body.light-mode .header:not(.scrolled) .theme-switch {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

body.light-mode .header:not(.scrolled) .theme-switch:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    transform: scale(1.05) !important;
}

body.light-mode .header:not(.scrolled) .lang-switch {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
}

body.light-mode .header:not(.scrolled) .lang-btn {
    color: rgba(255, 255, 255, 0.6) !important;
}

body.light-mode .header:not(.scrolled) .lang-btn.active {
    background: var(--color-primary) !important;
    color: #ffffff !important;
}

body.light-mode .header:not(.scrolled) .lang-btn:hover:not(.active) {
    color: #ffffff !important;
}

/* Melhoria de contraste para o Header scrolled no modo claro */
body.light-mode .header.scrolled {
    background-color: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 10px 30px -10px rgba(7, 12, 24, 0.1) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
}

/* ==========================================================================
   LANGUAGE SWITCHER STYLES (PT / EN SEGMENTED CONTROL)
   ========================================================================== */
body.lang-en-active .lang-pt {
    display: none !important;
}

body:not(.lang-en-active) .lang-en {
    display: none !important;
}

.lang-switch {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 107, 0, 0.2);
    border-radius: 50px;
    padding: 2px;
    align-items: center;
    transition: var(--transition-fast);
}

body.light-mode .lang-switch {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(255, 107, 0, 0.2);
}

.lang-btn {
    background: none;
    border: none;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
    color: var(--text-muted);
}

.lang-btn.active {
    background: var(--color-primary) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(255, 107, 0, 0.3);
}

.lang-btn:hover:not(.active) {
    color: var(--text-primary);
}







/* ==========================================================================
   COOKIE BANNER DESKTOP ADJUSTMENT (PREMIUM HORIZONTAL PILL)
   ========================================================================== */
@media (min-width: 768px) {
    .cookie-banner {
        left: 50% !important;
        transform: translate(-50%, 150px) !important;
        bottom: 24px !important;
        max-width: 980px !important;
        width: calc(100% - 48px) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 30px !important;
        padding: 16px 28px !important;
        border-radius: 50px !important; /* iOS Pill Shape */
    }
    .cookie-banner.active {
        transform: translate(-50%, 0) !important;
    }
    .cookie-content {
        display: flex;
        align-items: center;
        gap: 16px;
        text-align: left;
        flex: 1;
    }
    .cookie-title {
        margin-bottom: 0 !important;
        font-size: 14.5px !important;
        flex-shrink: 0;
    }
    .cookie-desc {
        margin-bottom: 0 !important;
        font-size: 13px !important;
        line-height: 1.4 !important;
        border-left: 1px solid rgba(255, 255, 255, 0.15);
        padding-left: 16px;
    }
    body.light-mode .cookie-desc {
        border-left-color: rgba(0, 0, 0, 0.1);
    }
    .cookie-actions {
        flex-shrink: 0;
        gap: 12px !important;
    }
}
