/*
Theme Name: Steelner Inovahouse
Theme URI: https://steelner.com.br
Author: Steelner Team
Author URI: https://steelner.com.br
Description: Tema WordPress moderno e responsivo para Steelner Inovahouse - Construções em Steel Frame. Design premium dark minimalista com Three.js, Lenis smooth scroll, animações cinematográficas e tecnologias award-winning.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: steelner
Tags: construction, steel-frame, business, modern, responsive, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready, blog

Steelner Inovahouse Theme, Copyright 2026 Steelner Team
Steelner is distributed under the terms of the GNU GPL
*/

/* ========================================
   CSS VARIABLES & DESIGN TOKENS
   ======================================== */

:root {
    /* Colors - Primary (Max. Blue Green - Manual da Marca) */
    --color-primary: #3FC0B9;
    --color-primary-light: #57CEC8;
    --color-primary-dark: #2DA39C;
    --color-primary-rgb: 63, 192, 185;

    /* Colors - Secondary (Yinmn Blue - Manual da Marca) */
    --color-secondary: #2D3F54;
    --color-secondary-light: #3A506B;
    --color-secondary-dark: #1F2B3A;

    /* Colors - Dark (Space Cadet - Manual da Marca) */
    --color-accent: #0B132B;
    --color-accent-light: #1A2440;
    --color-accent-dark: #050A16;

    /* Colors - Neutral */
    --color-white: #FFFFFF;
    --color-black: #000000;
    --color-gray-50: #F9FAFB;
    --color-gray-100: #F3F4F6;
    --color-gray-200: #D1D5DB;
    --color-gray-300: #B8BCC4;
    --color-gray-400: #9CA3AF;
    --color-gray-500: #6B7280;
    --color-gray-600: #4B5563;
    --color-gray-700: #374151;
    --color-gray-800: #1F2937;
    --color-gray-900: #111827;

    /* Gradients - Usando Variáveis */
    --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
    --gradient-overlay: linear-gradient(180deg, var(--color-accent-70) 0%, var(--color-accent-95) 100%);

    /* Modern Gradients - Atualizados com Variáveis */
    --gradient-mesh: radial-gradient(at 0% 0%, var(--color-primary-15) 0px, transparent 50%),
                     radial-gradient(at 100% 0%, var(--color-secondary-15) 0px, transparent 50%),
                     radial-gradient(at 100% 100%, var(--color-primary-15) 0px, transparent 50%),
                     radial-gradient(at 0% 100%, var(--color-secondary-15) 0px, transparent 50%);
    --gradient-glass: linear-gradient(135deg, var(--color-white-10) 0%, var(--color-white-5) 100%);
    --gradient-glow: radial-gradient(circle at 50% 50%, var(--color-primary-40) 0%, transparent 70%);
    --gradient-shine: linear-gradient(90deg, transparent 0%, var(--color-white-60) 50%, transparent 100%);

    /* Color Accents */
    --color-success: #10B981;
    --color-warning: #F59E0B;
    --color-danger: #EF4444;
    --color-error: #EF4444;
    --color-info: #3B82F6;
    --color-heart: #FF6B6B;

    /* Opacity Levels - Sistema Padronizado */
    --opacity-5: 0.05;
    --opacity-8: 0.08;
    --opacity-10: 0.10;
    --opacity-15: 0.15;
    --opacity-20: 0.20;
    --opacity-30: 0.30;
    --opacity-40: 0.40;
    --opacity-50: 0.50;
    --opacity-60: 0.60;
    --opacity-70: 0.70;
    --opacity-80: 0.80;
    --opacity-90: 0.90;

    /* Color with Opacity - Para uso direto */
    --color-primary-5: rgba(63, 192, 185, 0.05);
    --color-primary-10: rgba(63, 192, 185, 0.10);
    --color-primary-15: rgba(63, 192, 185, 0.15);
    --color-primary-20: rgba(63, 192, 185, 0.20);
    --color-primary-30: rgba(63, 192, 185, 0.30);
    --color-primary-40: rgba(63, 192, 185, 0.40);

    --color-secondary-5: rgba(45, 63, 84, 0.05);
    --color-secondary-10: rgba(45, 63, 84, 0.10);
    --color-secondary-15: rgba(45, 63, 84, 0.15);
    --color-secondary-20: rgba(45, 63, 84, 0.20);
    --color-secondary-30: rgba(45, 63, 84, 0.30);

    --color-accent-10: rgba(11, 19, 43, 0.10);
    --color-accent-70: rgba(11, 19, 43, 0.70);
    --color-accent-95: rgba(11, 19, 43, 0.95);

    --color-white-5: rgba(255, 255, 255, 0.05);
    --color-white-10: rgba(255, 255, 255, 0.10);
    --color-white-30: rgba(255, 255, 255, 0.30);
    --color-white-60: rgba(255, 255, 255, 0.60);
    --color-white-80: rgba(255, 255, 255, 0.80);
    --color-white-90: rgba(255, 255, 255, 0.90);
    --color-white-95: rgba(255, 255, 255, 0.95);

    /* Typography (Conforme Manual da Marca - Página 14) */
    --font-primary: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --font-heading: 'Palanquin Dark', var(--font-primary);

    /* Font Sizes */
    --font-size-xs: 0.75rem;      /* 12px */
    --font-size-sm: 0.875rem;     /* 14px */
    --font-size-base: 1rem;       /* 16px */
    --font-size-lg: 1.125rem;     /* 18px */
    --font-size-xl: 1.25rem;      /* 20px */
    --font-size-2xl: 1.5rem;      /* 24px */
    --font-size-3xl: 1.875rem;    /* 30px */
    --font-size-4xl: 2.25rem;     /* 36px */
    --font-size-5xl: 3rem;        /* 48px */
    --font-size-6xl: 3.75rem;     /* 60px */
    --font-size-7xl: 4.5rem;      /* 72px */

    /* Font Weights */
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    --font-weight-black: 900;

    /* Line Heights */
    --line-height-tight: 1.25;
    --line-height-snug: 1.375;
    --line-height-normal: 1.7;
    --line-height-relaxed: 1.7;
    --line-height-loose: 2;

    /* Spacing */
    --spacing-1: 0.25rem;    /* 4px */
    --spacing-2: 0.5rem;     /* 8px */
    --spacing-3: 0.75rem;    /* 12px */
    --spacing-4: 1rem;       /* 16px */
    --spacing-5: 1.25rem;    /* 20px */
    --spacing-6: 1.5rem;     /* 24px */
    --spacing-8: 2rem;       /* 32px */
    --spacing-10: 2.5rem;    /* 40px */
    --spacing-12: 3rem;      /* 48px */
    --spacing-16: 4rem;      /* 64px */
    --spacing-20: 5rem;      /* 80px */
    --spacing-24: 6rem;      /* 96px */
    --spacing-32: 8rem;      /* 128px */

    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows - Sistema Unificado */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-3xl: 0 30px 60px -15px rgba(0, 0, 0, 0.15);

    /* Card Shadows */
    --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-card-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Transitions - Sistema Padronizado */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Easing Functions */
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-in: cubic-bezier(0.4, 0, 1, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);

    /* Animation Durations */
    --duration-instant: 100ms;
    --duration-fast: 200ms;
    --duration-normal: 300ms;
    --duration-slow: 500ms;
    --duration-slower: 1000ms;
    --duration-slowest: 2000ms;

    /* Z-index - Sistema Escalado Organizado (Unified) */
    --z-base: 0;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-popover: 600;
    --z-tooltip: 700;
    --z-notification: 800;
    --z-max: 999;

    /* Container */
    --container-max-width: 1320px;
    --container-padding: var(--spacing-6);

    /* Header */
    --header-height: 80px;

    /* ========================================
       DARK MODE VARIABLES v2.0
       Azul Escuro Predominante (90%)
       ======================================== */

    /* FUNDOS - Azul Escuro Predominante (90%) */
    --bg-primary-dark: #0B132B;        /* Space Cadet - FUNDO PRINCIPAL */
    --bg-secondary-dark: #1A2440;      /* Variação mais clara para contraste */
    --bg-tertiary-dark: #2D3F54;       /* Yinmn Blue - SEÇÕES ALTERNADAS */
    --bg-deepest-dark: #050A16;        /* Mais escuro para footer/modal backdrop */

    /* CONTRASTE - Azul Claro APENAS para Acentos (2%) */
    --accent-glow: rgba(63, 192, 185, 0.15);
    --accent-glow-strong: rgba(63, 192, 185, 0.25);

    /* TEXTO - Hierarquia Clara em Branco */
    --text-primary-dark: rgba(255, 255, 255, 0.95);
    --text-secondary-dark: rgba(255, 255, 255, 0.70);
    --text-tertiary-dark: rgba(255, 255, 255, 0.50);
    --text-quaternary-dark: rgba(255, 255, 255, 0.30);

    /* GLASSMORPHISM DARK */
    --glass-bg-dark: rgba(11, 19, 43, 0.60);
    --glass-border-dark: rgba(63, 192, 185, 0.10);
    --glass-highlight-dark: rgba(255, 255, 255, 0.05);

    /* MESH GRADIENT DARK - Sutil */
    --gradient-mesh-dark:
        radial-gradient(at 0% 0%, rgba(63, 192, 185, 0.03) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(45, 63, 84, 0.04) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(63, 192, 185, 0.03) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(45, 63, 84, 0.04) 0px, transparent 50%);

    /* SHADOWS DARK - Mais profundas */
    --shadow-dark-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-dark-md: 0 4px 16px rgba(0, 0, 0, 0.5);
    --shadow-dark-lg: 0 8px 32px rgba(0, 0, 0, 0.6);
    --shadow-dark-xl: 0 16px 48px rgba(0, 0, 0, 0.7);
    --shadow-glow-primary: 0 0 40px rgba(63, 192, 185, 0.2);
    --shadow-glow-primary-strong: 0 0 60px rgba(63, 192, 185, 0.3);
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */

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

html {
    font-size: 16px;
    /* scroll-behavior removed - using Lenis smooth scroll instead */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@media (max-width: 768px) {
    html {
        font-size: 17px;
    }
}

body {
    margin: 0;
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    line-height: 1.7;
    color: var(--text-primary-dark);
    background-color: var(--bg-primary-dark);
    overflow-x: hidden;
    position: relative;
}

/* Body background com mesh gradient sutil */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-mesh-dark);
    z-index: -1;
    pointer-events: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: var(--font-weight-extrabold);
    line-height: var(--line-height-tight);
    color: var(--text-primary-dark);
    margin: 0;
}

h1 { font-size: var(--font-size-6xl); }
h2 { font-size: var(--font-size-5xl); }
h3 { font-size: var(--font-size-4xl); }
h4 { font-size: var(--font-size-3xl); }
h5 { font-size: var(--font-size-2xl); }
h6 { font-size: var(--font-size-xl); }

p {
    margin: 0 0 var(--spacing-4);
    line-height: 1.7;
}

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

a:hover {
    color: var(--color-primary-light);
}

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

ul, ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

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

/* ========================================
   UTILITY CLASSES
   ======================================== */

.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

.container-fluid {
    width: 100%;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

.section {
    padding: var(--spacing-24) 0;
}

.section-sm {
    padding: var(--spacing-12) 0;
}

.section-lg {
    padding: var(--spacing-32) 0;
}

.section-gray {
    background-color: var(--color-gray-50);
}

.section-dark {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark h5,
.section-dark h6 {
    color: var(--color-white);
}

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

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hide-mobile {
    display: inline;
}

@media (max-width: 768px) {
    .hide-mobile {
        display: none;
    }
}

.hide-desktop {
    display: none;
}

@media (max-width: 768px) {
    .hide-desktop {
        display: inline;
    }
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-2);
    padding: var(--spacing-4) var(--spacing-8);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    min-height: 48px; /* Acessibilidade: área de toque mínima */
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    color: var(--color-white);
    background: var(--gradient-primary);
    border-color: transparent;
}

.btn-primary:hover {
    color: var(--color-white);
    filter: brightness(1.1);
}

/* Force ALL btn-primary children to white — overrides .section-white span { color: gray } */
.btn-primary,
.btn-primary span,
.btn-primary *,
.section-white .btn-primary,
.section-white .btn-primary span,
.section-white .btn-primary * {
    color: #ffffff !important;
}

.btn-primary svg,
.btn-primary i,
.btn-primary i[data-lucide] {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

.btn-whatsapp-cta svg,
.btn-whatsapp-cta i {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

/* WhatsApp Button */
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    color: var(--color-white);
    background: #25D366;
    border: 2px solid #25D366;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background: #20ba5a;
    border-color: #20ba5a;
    transform: scale(1.1);
}

.btn-whatsapp i {
    width: 24px;
    height: 24px;
}

.btn-outline {
    color: var(--color-white);
    background: transparent;
    border-color: var(--color-white);
}

.btn-outline:hover {
    color: var(--color-secondary);
    background: var(--color-white);
}

.btn-lg {
    padding: var(--spacing-5) var(--spacing-10);
    font-size: var(--font-size-lg);
    min-height: 56px;
}

/* Small button variant */
.btn-sm {
    padding: var(--spacing-2) var(--spacing-4);
    font-size: var(--font-size-sm);
    min-height: 40px;
}

.btn-block {
    display: flex;
    width: 100%;
}

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

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
    background: transparent;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border-dark);
    transition: all var(--transition-base);
}

.header.scrolled {
    background: var(--glass-bg-dark);
    box-shadow: var(--shadow-dark-md);
    border-bottom-color: transparent;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.navbar-brand .logo {
    display: block;
}

.logo-placeholder {
    padding: var(--spacing-3) var(--spacing-6);
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
    background: var(--glass-bg-dark);
    border: 1px solid var(--glass-border-dark);
    border-radius: var(--radius-md);
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-8);
}

/* Botão de busca no header */
.btn-search-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    color: rgba(255, 255, 255, 0.75);
    cursor: pointer;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.btn-search-trigger:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--color-primary);
    color: var(--color-white);
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: var(--spacing-6);
    list-style: none;
}

.nav-link {
    position: relative;
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    color: var(--text-primary-dark);
    padding: var(--spacing-3) var(--spacing-1);
    transition: color var(--transition-fast);
    min-height: 44px; /* Acessibilidade */
    display: flex;
    align-items: center;
}

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

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

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

/* ========================================
   HAMBURGER BUTTON
   ======================================== */
.navbar-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    cursor: pointer;
    z-index: 1001;
    transition: background 0.2s ease, border-color 0.2s ease;
    padding: 0;
    flex-shrink: 0;
}

.navbar-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--color-primary);
}

.hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 2px;
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1),
                opacity 0.25s ease,
                width 0.25s ease;
    transform-origin: center;
}

/* Legacy span support */
.navbar-toggle span:not(.hamburger-line) {
    display: block;
    width: 22px;
    height: 2px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 2px;
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.25s ease;
    transform-origin: center;
}

/* Hamburger → X */
.navbar-toggle.active .hamburger-line:nth-child(1),
.navbar-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.navbar-toggle.active .hamburger-line:nth-child(2),
.navbar-toggle.active span:nth-child(2) {
    opacity: 0;
    width: 0;
}

.navbar-toggle.active .hamburger-line:nth-child(3),
.navbar-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ========================================
   MOBILE MENU — Side panel
   ======================================== */
@media (max-width: 992px) {
    .navbar-toggle {
        display: flex;
    }

    /* Overlay behind menu */
    body.menu-open::before {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.65);
        backdrop-filter: blur(4px);
        z-index: 999;
        animation: overlayFadeIn 0.3s ease forwards;
    }

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

    .navbar-menu {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(320px, 82vw);
        flex-direction: column;
        gap: 0;
        padding: 80px var(--spacing-6) var(--spacing-8);
        background: linear-gradient(180deg, #0b1a2e 0%, #050e1f 100%);
        border-left: 1px solid rgba(63, 192, 185, 0.2);
        box-shadow: -12px 0 50px rgba(0, 0, 0, 0.7);
        transform: translateX(100%);
        opacity: 1;
        visibility: hidden;
        transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
                    visibility 0s linear 0.4s;
        overflow-y: auto;
        z-index: 1000;
    }

    .navbar-menu.active {
        transform: translateX(0);
        visibility: visible;
        transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
                    visibility 0s linear;
    }

    .navbar-nav {
        flex-direction: column;
        width: 100%;
        gap: 4px;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .navbar-nav .nav-item {
        opacity: 0;
        transform: translateX(24px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .navbar-menu.active .navbar-nav .nav-item {
        opacity: 1;
        transform: translateX(0);
    }

    .navbar-menu.active .navbar-nav .nav-item:nth-child(1) { transition-delay: 0.07s; }
    .navbar-menu.active .navbar-nav .nav-item:nth-child(2) { transition-delay: 0.12s; }
    .navbar-menu.active .navbar-nav .nav-item:nth-child(3) { transition-delay: 0.17s; }
    .navbar-menu.active .navbar-nav .nav-item:nth-child(4) { transition-delay: 0.22s; }
    .navbar-menu.active .navbar-nav .nav-item:nth-child(5) { transition-delay: 0.27s; }

    .nav-link {
        display: flex;
        align-items: center;
        width: 100%;
        padding: 14px 16px;
        border-radius: var(--radius-lg);
        border-bottom: none;
        font-size: 1.05rem;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.72);
        text-decoration: none;
        transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
        min-height: 52px;
        position: relative;
    }

    .nav-link::before {
        content: '';
        display: inline-block;
        width: 3px;
        height: 18px;
        background: var(--gradient-primary);
        border-radius: 2px;
        margin-right: 12px;
        opacity: 0;
        transition: opacity 0.2s ease;
        flex-shrink: 0;
    }

    .nav-link:hover,
    .nav-link.active {
        background: rgba(63, 192, 185, 0.1);
        color: #ffffff;
        padding-left: 22px;
    }

    .nav-link:hover::before,
    .nav-link.active::before {
        opacity: 1;
    }

    .navbar-cta {
        margin-top: auto;
        padding-top: var(--spacing-6);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        width: 100%;
    }

    .btn-search-trigger {
        width: 100%;
        height: 48px;
        border-radius: var(--radius-lg);
    }
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: var(--header-height);
}

#heroCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.hero > .container {
    position: relative;
    z-index: 1;
}

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

.hero-video-element {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--color-white);
    padding: var(--spacing-16) 0 var(--spacing-20);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-2);
    padding: var(--spacing-2) var(--spacing-4);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--spacing-6);
}

.hero-title {
    font-size: var(--font-size-7xl);
    font-weight: var(--font-weight-black);
    line-height: var(--line-height-tight);
    color: var(--color-white);
    margin-bottom: var(--spacing-6);
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    line-height: var(--line-height-relaxed);
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto var(--spacing-8);
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-4);
    margin-bottom: var(--spacing-12);
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-12);
}

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

.stat-number {
    font-size: var(--font-size-5xl);
    font-weight: var(--font-weight-black);
    line-height: 1;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-2);
}

.stat-label {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.8);
}

.hero-scroll {
    position: absolute;
    bottom: var(--spacing-8);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.scroll-indicator {
    width: 40px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-full);
    animation: scroll-bounce 2s infinite;
}

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

/* ========================================
   MODERN HERO SECTION
   ======================================== */

.hero-modern {
    position: relative;
    overflow: hidden;
}

.hero-mesh-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-mesh);
    z-index: 1;
    animation: meshShift 20s ease-in-out infinite;
}

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

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-badge-modern {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-2);
    padding: var(--spacing-3) var(--spacing-6);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: var(--spacing-8);
    overflow: hidden;
}

.badge-glow {
    position: absolute;
    inset: 0;
    background: var(--gradient-glow);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.hero-badge-modern:hover .badge-glow {
    opacity: 1;
}

.badge-shine {
    position: absolute;
    inset: 0;
    background: var(--gradient-shine);
    background-size: 200% 100%;
    animation: badgeShine 3s infinite;
}

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

.hero-title-modern {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: var(--font-weight-black);
    line-height: 1.1;
    color: var(--color-white);
    margin-bottom: var(--spacing-8);
    letter-spacing: -0.02em;
}

.hero-title-modern .title-line {
    display: block;
    position: relative;
}

.gradient-text-modern {
    background: linear-gradient(135deg, var(--color-primary) 0%, #7DD9D4 50%, var(--color-white) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientFlow 8s ease-in-out infinite;
}

@keyframes gradientFlow {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.title-underline {
    height: 6px;
    width: 120px;
    background: var(--gradient-primary);
    border-radius: 3px;
    margin-top: var(--spacing-4);
    animation: underlineGrow 1.2s ease-out forwards;
}

@keyframes underlineGrow {
    from { width: 0; opacity: 0; }
    to { width: 120px; opacity: 1; }
}

.hero-subtitle-modern {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin: 0 auto var(--spacing-10);
    font-weight: var(--font-weight-normal);
    letter-spacing: 0.3px;
}

/* Modern Buttons */
.hero-cta-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-5);
    margin-bottom: var(--spacing-16);
}

.btn-modern {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-3);
    padding: var(--spacing-5) var(--spacing-10);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    line-height: 1;
    border-radius: var(--radius-full);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.btn-primary-modern {
    color: var(--color-white);
    background: var(--gradient-primary);
    background-size: 200% auto;
    border: none;
    box-shadow: 0 10px 30px -10px rgba(87, 206, 200, 0.5);
}

.btn-primary-modern:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 40px -10px rgba(87, 206, 200, 0.7);
    background-position: right center;
}

.btn-glow {
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, var(--color-primary), var(--color-secondary), var(--color-primary));
    background-size: 300% 300%;
    border-radius: var(--radius-full);
    filter: blur(10px);
    opacity: 0;
    z-index: -1;
    animation: glowPulse 3s ease-in-out infinite;
}

.btn-primary-modern:hover .btn-glow {
    opacity: 0.8;
}

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

.btn-outline-modern {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-outline-modern:hover {
    transform: translateY(-3px) scale(1.02);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 15px 35px -5px rgba(255, 255, 255, 0.15);
}

.btn-border-glow {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-full);
    padding: 2px;
    background: linear-gradient(135deg, var(--color-primary), transparent, var(--color-secondary));
    -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.4s ease;
}

.btn-outline-modern:hover .btn-border-glow {
    opacity: 1;
}

/* Modern Stats */
.hero-stats-modern {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
    padding: var(--spacing-8);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-2xl);
    box-shadow: 0 20px 60px -15px rgba(0, 0, 0, 0.4);
}

.stat-item-modern {
    position: relative;
    flex: 1;
    text-align: center;
    padding: var(--spacing-4) var(--spacing-6);
}

.stat-decoration {
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-item-modern:hover .stat-decoration {
    opacity: 1;
}

.stat-number-modern {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: var(--font-weight-black);
    line-height: 1;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-white) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-3);
    letter-spacing: -0.02em;
}

.stat-unit {
    font-size: 0.6em;
    opacity: 0.8;
}

.stat-label-modern {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.9);
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-progress {
    margin-top: var(--spacing-3);
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.stat-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: var(--progress, 0%);
    background: var(--gradient-primary);
    border-radius: 2px;
    animation: progressFill 2s ease-out forwards;
}

@keyframes progressFill {
    from { width: 0%; }
    to { width: var(--progress); }
}

.stat-divider {
    width: 1px;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
}

/* Modern Scroll Indicator */
.hero-scroll-modern {
    position: absolute;
    bottom: var(--spacing-12);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
}

.scroll-indicator-modern {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-3);
    animation: scrollFloat 3s ease-in-out infinite;
}

@keyframes scrollFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(15px); }
}

.scroll-mouse {
    width: 28px;
    height: 48px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-wheel {
    width: 3px;
    height: 10px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(12px); opacity: 0; }
}

.scroll-text {
    font-size: var(--font-size-xs);
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: var(--font-weight-semibold);
}

/* Floating Elements */
.hero-floating-elements {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient-glow);
    filter: blur(40px);
}

.element-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    right: 5%;
    animation: float1 20s ease-in-out infinite;
}

.element-2 {
    width: 200px;
    height: 200px;
    bottom: 20%;
    left: 10%;
    animation: float2 15s ease-in-out infinite;
}

.element-3 {
    width: 250px;
    height: 250px;
    top: 50%;
    left: 50%;
    animation: float3 18s ease-in-out infinite;
}

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

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

@keyframes float3 {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.2) rotate(45deg); }
}

/* ========================================
   WHITE SECTION STYLES (Para contraste)
   ======================================== */

.section-white {
    background-color: var(--color-white);
    color: var(--color-gray-900);
}

.section-white h1,
.section-white h2,
.section-white h3,
.section-white h4,
.section-white h5,
.section-white h6 {
    color: var(--color-secondary);
}

.section-white p,
.section-white span {
    color: var(--color-gray-600);
}

.section-white .section-badge,
.section-white .section-badge-modern {
    background: var(--color-primary-10);
    border-color: var(--color-primary-20);
    color: var(--color-primary-dark);
}

.section-white .card-title-modern,
.section-white .card-title {
    color: var(--color-secondary);
}

.section-white .card-description-modern,
.section-white .card-description {
    color: var(--color-gray-600);
}

.section-white .diferencial-card-modern,
.section-white .diferencial-card {
    background: var(--color-white);
    border-color: var(--color-gray-200);
    box-shadow: var(--shadow-lg);
}

.section-white .diferencial-card-modern:hover,
.section-white .diferencial-card:hover {
    background: var(--color-gray-50);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-xl), 0 0 40px rgba(63, 192, 185, 0.15);
}

.section-white .card-number {
    color: var(--color-gray-100);
}

.section-white .diferencial-card-modern:hover .card-number {
    color: var(--color-primary-10);
}

/* ========================================
   RESPONSIVE ADJUSTMENTS
   ======================================== */

@media (max-width: 768px) {
    :root {
        --font-size-6xl: 2.5rem;
        --font-size-5xl: 2rem;
        --font-size-4xl: 1.75rem;
        --font-size-3xl: 1.5rem;
    }

    .section {
        padding: var(--spacing-12) 0;
    }

    .hero-title {
        font-size: var(--font-size-4xl);
    }

    .hero-subtitle {
        font-size: var(--font-size-base);
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .hero-stats {
        gap: var(--spacing-6);
    }

    .stat-number {
        font-size: var(--font-size-3xl);
    }

    /* Modern Responsive */
    .hero-cta-modern {
        flex-direction: column;
        width: 100%;
        gap: var(--spacing-4);
    }

    .btn-modern {
        width: 100%;
        justify-content: center;
    }

    .hero-stats-modern {
        flex-direction: column;
        gap: var(--spacing-6);
    }

    .stat-divider {
        width: 100%;
        height: 1px;
    }

    .title-underline {
        margin-left: 0;
    }

    .floating-element {
        display: none;
    }
}

/* =============================================
   CTA MINI — Seção simplificada na home
   ============================================= */
.cta-mini {
    text-align: center;
    padding: var(--spacing-20) 0;
}

.cta-mini-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-8);
}

.cta-mini-title {
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
    line-height: 1.2;
    margin: 0;
}

/* =============================================
   SCROLL ANIMATIONS — Fallback CSS
   ============================================= */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.reveal-scale.animated {
    opacity: 1;
    transform: scale(1);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.animated {
    opacity: 1;
    transform: translateX(0);
}

.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.1s; }
.stagger-3 { transition-delay: 0.15s; }
.stagger-4 { transition-delay: 0.2s; }
.stagger-5 { transition-delay: 0.25s; }
.stagger-6 { transition-delay: 0.3s; }
