/*
Theme Name: Córdoba Consultoria - Luiz César Córdoba
Theme URI: https://cordoba.consultoria
Author: Córdoba Consultoria
Author URI: https://cordoba.consultoria
Description: Tema WordPress para portfólio executivo de Consultoria e Conselheiro de Administração
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cordoba-consultoria
Tags: custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ========================================
   CORDOBA CONSULTORIA - CSS PRINCIPAL
   Corporate Dark Mode de Luxo
   ======================================== */

/* ----------------------------------------
   VARIÁVEIS CSS - DESIGN TOKENS
   ---------------------------------------- */
:root {
    --color-navy-deep: #0a1628;
    --color-navy-dark: #0d1b2a;
    --color-navy-medium: #1b263b;
    --color-navy-light: #243447;
    
    --color-emerald: #10b981;
    --color-emerald-light: #34d399;
    --color-emerald-glow: rgba(16, 185, 129, 0.4);
    --color-cyan: #06b6d4;
    --color-cyan-light: #22d3ee;
    --color-cyan-glow: rgba(6, 182, 212, 0.4);
    
    --gradient-brand: linear-gradient(135deg, var(--color-emerald) 0%, var(--color-cyan) 100%);
    
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-serif: Georgia, 'Times New Roman', Times, serif;
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 4.5rem;
    --space-5xl: 6rem;
    
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
    
    --shadow-card: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow-emerald: 0 0 30px rgba(16, 185, 129, 0.5);
    --shadow-glow-cyan: 0 0 30px rgba(6, 182, 212, 0.3);
    
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    --z-base: 1;
    --z-overlay: 10;
    --z-header: 100;
    --z-modal: 1000;

    --header-height: 80px;
}

/* ----------------------------------------
   RESET E BASE
   ---------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-regular);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    background-color: var(--color-navy-deep);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
    color: var(--color-emerald);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.25rem, 4.5vw, 4rem); }
h2 { font-size: clamp(1.85rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

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

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ----------------------------------------
   HEADER - NAVEGAÇÃO
   ---------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-header);
    padding: var(--space-md) 0;
    background: rgba(10, 22, 40, 0.7);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all var(--transition-base);
}

.site-header.scrolled {
    padding: var(--space-sm) 0;
    background: rgba(10, 22, 40, 0.85);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-weight: var(--font-weight-bold);
    font-size: 1.25rem;
    color: white;
}

.site-logo img {
    height: 40px;
    width: auto;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    list-style: none;
}

.main-nav a {
    font-size: 0.85rem;
    font-weight: var(--font-weight-semibold);
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    padding: var(--space-xs) 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all var(--transition-base);
}

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

.main-nav a:hover,
.main-nav li.current-menu-item > a,
.main-nav li.current-menu-parent > a,
.main-nav li.current-menu-ancestor > a,
.main-nav a.active-scroll {
    color: white;
}

.main-nav a:hover::after,
.main-nav li.current-menu-item > a::after,
.main-nav li.current-menu-parent > a::after,
.main-nav li.current-menu-ancestor > a::after,
.main-nav a.active-scroll::after {
    width: 100%;
}

/* Estilo para item de menu transformado em botão */
.main-nav .menu-item-button {
    margin-left: var(--space-lg);
}

.main-nav .menu-item-button a {
    background: var(--gradient-brand);
    color: var(--color-navy-deep) !important;
    padding: 0.75rem 1.75rem;
    border-radius: var(--border-radius-md); /* Alinhado com o padrao do tema */
    font-weight: var(--font-weight-bold);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    margin-top: -2px; /* Ajuste fino de alinhamento vertical */
}

.main-nav .menu-item-button a::after {
    display: none;
}

.main-nav .menu-item-button a:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5);
    filter: brightness(1.1);
    color: var(--color-navy-deep) !important;
}

.main-nav .menu-item-button a:active {
    transform: translateY(0) scale(0.98);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
    background: transparent;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: white;
    transition: all var(--transition-base);
}

/* ----------------------------------------
   HERO SECTION
   ---------------------------------------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--color-navy-deep) 0%, var(--color-navy-dark) 100%);
    overflow: hidden;
    padding-top: var(--header-height);
}

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

.hero-content {
    position: relative;
    z-index: var(--z-overlay);
    padding: var(--space-4xl) 0;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-2xl);
    align-items: center;
    position: relative;
    min-height: calc(100vh - var(--header-height));
}

.hero-gallery {
    position: relative;
    width: 100%;
    height: 520px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    top: -80px;
}

.hero-photo {
    position: absolute;
    border-radius: var(--border-radius-lg);
    overflow: visible;
    transition: transform 0.4s ease;
}

.hero-photo-1 {
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 320px;
    height: 420px;
    z-index: 3;
    animation: fadeInRight 1s 0.3s ease forwards;
    opacity: 0;
}

.hero-photo-2 {
    left: 0;
    bottom: 20px;
    width: 220px;
    height: 280px;
    z-index: 2;
    animation: fadeInLeft 1s 0.5s ease forwards;
    opacity: 0;
}

.hero-photo-3 {
    left: 20%;
    top: 0;
    width: 180px;
    height: 220px;
    z-index: 1;
    animation: fadeInUp 1s 0.7s ease forwards;
    opacity: 0;
}


.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-photo-frame {
    position: absolute;
    border: 2px solid var(--color-emerald);
    border-radius: var(--border-radius-lg);
    opacity: 0.4;
    z-index: -1;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.hero-photo:hover {
    transform: translateY(-8px);
}

.hero-photo:hover img {
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.5);
}

.hero-photo:hover .hero-photo-frame {
    transform: translate(4px, 4px);
    opacity: 0.6;
}

.hero-photo-3 img {
    border: 2px solid rgba(10, 22, 40, 0.5);
}

.hero-photo-1 .hero-photo-frame {
    inset: 15px -15px -15px 15px;
}

.hero-photo-2 .hero-photo-frame {
    inset: 12px -12px -12px 12px;
    border-color: var(--color-cyan);
}

.hero-photo-3 .hero-photo-frame {
    inset: 10px -10px -10px 10px;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--color-navy-deep) 0%, rgba(10, 22, 40, 0.3) 50%, transparent 100%);
    z-index: 4;
}

.hero-particles {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(16, 185, 129, 0.3) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.3) 0%, transparent 40%);
}

.hero-content {
    position: relative;
    z-index: var(--z-overlay);
    max-width: 650px;
    padding: var(--space-4xl) 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--space-xl);
    font-size: 0.85rem;
    font-weight: var(--font-weight-medium);
    color: var(--color-emerald-light);
    margin-bottom: var(--space-xl);
    animation: fadeInUp 0.8s ease forwards;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--color-emerald);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero-title {
    margin-bottom: var(--space-lg);
    animation: fadeInUp 0.8s 0.2s ease forwards;
    opacity: 0;
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
}

.hero-title .highlight {
    display: block;
    font-size: 1.1em;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    font-weight: var(--font-weight-light);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-2xl);
    max-width: 550px;
    animation: fadeInUp 0.8s 0.4s ease forwards;
    opacity: 0;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    animation: fadeInUp 0.8s 0.6s ease forwards;
    opacity: 0;
}

.hero-stats {
    display: flex;
    gap: var(--space-3xl);
    margin-top: var(--space-4xl);
    padding-top: var(--space-2xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 0.8s 0.8s ease forwards;
    opacity: 0;
}

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

.stat-number {
    font-size: 3.5rem;
    font-weight: var(--font-weight-extrabold);
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: var(--space-xs);
}

.scroll-indicator {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.5);
    animation: bounce 2s infinite;
    z-index: var(--z-overlay);
    cursor: pointer;
    transition: color var(--transition-fast);
}

.scroll-indicator:hover {
    color: var(--color-emerald);
}

.scroll-indicator svg {
    width: 32px;
    height: 32px;
}

/* ----------------------------------------
   BUTTONS
   ---------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: var(--font-weight-bold);
    border-radius: var(--border-radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-primary {
    background: var(--gradient-brand);
    color: var(--color-navy-deep);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.4);
    color: var(--color-navy-deep);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--color-emerald);
    color: white;
}

.btn-pulse {
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
    }
    50% {
        box-shadow: 0 4px 40px rgba(16, 185, 129, 0.6);
    }
}

/* -------------------------------------------------------------------------- */
/*  12.3 FORMS & VALIDATION
/* -------------------------------------------------------------------------- */

.contact-form .form-group {
    position: relative;
    margin-bottom: 25px;
}

.contact-form .error-message {
    display: none;
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 5px;
    font-weight: 500;
}

.contact-form .form-group.has-error .error-message {
    display: block;
}

.contact-form .form-group.has-error input,
.contact-form .form-group.has-error textarea {
    border-color: #ef4444;
    background-color: rgba(239, 68, 68, 0.05);
}

.contact-form .btn-full {
    width: 100%;
    margin-top: 10px;
    display: flex;
    justify-content: center;
}

.captcha-group {
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.captcha-group label strong {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* ----------------------------------------
   SECTION - COMUM
   ---------------------------------------- */
.section {
    padding: var(--space-5xl) 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-3xl);
}

.section-label {
    display: inline-block;
    font-family: var(--font-serif);
    font-size: 0.8rem;
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-emerald);
    margin-bottom: var(--space-xs);
}

.section-title {
    margin-bottom: var(--space-md);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: var(--font-weight-light);
}

/* ----------------------------------------
   SERVICES SECTION
   ---------------------------------------- */
.section-services {
    position: relative;
    padding: var(--space-5xl) 0;
    background: linear-gradient(180deg, #000814 0%, #050a14 100%);
    overflow: hidden;
}

.section-services .container {
    position: relative;
    z-index: 1;
}

.section-services::before,
.section-services::after {
    content: '';
    position: absolute;
    width: 384px;
    height: 384px;
    border-radius: 50%;
    opacity: 0.05;
    pointer-events: none;
}

.section-services::before {
    top: 0;
    left: 25%;
    background: #10b981;
    filter: blur(120px);
}

.section-services::after {
    bottom: 0;
    right: 25%;
    background: #06b6d4;
    filter: blur(120px);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.service-card {
    position: relative;
    padding: var(--space-2xl);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-lg);
    transition: all 0.3s ease;
    overflow: hidden;
}

.service-card:hover {
    border-color: var(--color-emerald);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.4);
    transform: translateY(-3px);
}

.service-icon {
    position: relative;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(6, 182, 212, 0.2) 100%);
    border-radius: var(--border-radius-md);
    margin-bottom: var(--space-lg);
    transition: all var(--transition-base);
}

.service-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--color-emerald);
    transition: all var(--transition-base);
}

.service-card:hover .service-icon {
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
}

.service-number {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    font-size: 0.75rem;
    font-weight: var(--font-weight-bold);
    color: rgba(255, 255, 255, 0.1);
}

.service-title {
    font-size: 1.25rem;
    font-weight: var(--font-weight-semibold);
    color: white;
    margin-bottom: var(--space-sm);
}

.service-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* ----------------------------------------
   PARTNERS SECTION
   ---------------------------------------- */
.section-partners {
    padding: var(--space-5xl) 0;
    background: var(--color-navy-dark);
    overflow: hidden;
}

.partners-carousel {
    position: relative;
    margin-top: var(--space-3xl);
    overflow: hidden;
    max-width: 100%;
}

.partners-carousel::before,
.partners-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.partners-carousel::before {
    left: 0;
    background: linear-gradient(90deg, var(--color-navy-dark) 0%, transparent 100%);
}

.partners-carousel::after {
    right: 0;
    background: linear-gradient(270deg, var(--color-navy-dark) 0%, transparent 100%);
}

.partners-carousel {
    position: relative;
    padding: 30px 0; /* Aumentado para acomodar sombras de hover */
    overflow: visible; /* Permitir que sombras e transforms saiam do container se necessário */
}

/* Evitar que o Splide corte o efeito de hover/sombra nos slides */
.partners-carousel .splide__track {
    overflow: visible !important;
}

.partners-carousel .splide__list {
    padding-top: 15px !important;
    padding-bottom: 15px !important;
}

/* Garantir que o carrossel estático seja visível mesmo sem inicialização do Splide */
.partners-carousel.is-static .splide__track {
    visibility: visible !important;
    overflow: visible !important;
}

/* Centralização para carrossel com poucos itens */
.partners-carousel.is-static .splide__list {
    display: flex !important;
    flex-wrap: wrap; /* Segurança contra sobreposição */
    justify-content: center !important;
    transform: none !important;
    width: 100% !important;
    gap: 2.5rem;
}

.partners-carousel.is-static .splide__slide {
    flex: 0 0 auto !important;
    margin: 0 !important;
}

.partners-track {
    display: none; /* Removido em favor do Splide */
}

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

.partner-item {
    flex-shrink: 0;
    width: 180px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-md);
    padding: var(--space-md);
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    will-change: transform, box-shadow;
}

.partner-item:hover {
    border-color: var(--color-emerald);
    background: rgba(16, 185, 129, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(16, 185, 129, 0.2);
    transform: translateY(-5px) scale(1.02);
    z-index: 10;
}

.partner-item.no-link {
    cursor: default;
}

.partner-item.no-link:hover {
    transform: none;
    box-shadow: none;
    border-color: rgba(255, 255, 255, 0.08);
}

.partner-text-only {
    padding: var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
    text-align: center;
    transition: color var(--transition-base);
}

.partner-item:hover .partner-name {
    color: white;
}

.partner-item img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.7;
    transition: all var(--transition-base);
}

.partner-item:hover img {
    opacity: 1;
}

/* ----------------------------------------
   TIMELINE SECTION
   ---------------------------------------- */
.section-timeline {
    position: relative;
    padding: var(--space-5xl) 0;
    background: linear-gradient(180deg, #0a1628 0%, #0d1f35 50%, #0a1628 100%);
    overflow: hidden;
}

.section-timeline .container {
    position: relative;
    z-index: 1;
}

.section-timeline::before,
.section-timeline::after {
    content: '';
    position: absolute;
    width: 384px;
    height: 384px;
    border-radius: 50%;
    opacity: 0.10;
    pointer-events: none;
}

.section-timeline::before {
    top: 0;
    left: 10%;
    background: #10b981;
    filter: blur(120px);
}

.section-timeline::after {
    bottom: 0;
    right: 25%;
    background: #06b6d4;
    filter: blur(120px);
}

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

.timeline {
    position: relative;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-emerald), var(--color-cyan));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    width: 50%;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item.left {
    padding-right: 3rem;
    margin-left: 0;
}

.timeline-item.right {
    margin-left: 50%;
    padding-left: 3rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 1.5rem;
    width: 12px;
    height: 12px;
    background: var(--color-emerald);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.8);
}

.timeline-item.left::before {
    right: -6px;
}

.timeline-item.right::before {
    left: -6px;
    background: var(--color-cyan);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.8);
}

.timeline-content {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.timeline-item.left .timeline-content {
    text-align: right;
}

.timeline-content:hover {
    border-color: var(--color-emerald);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.4);
    transform: translateY(-3px);
}

.timeline-item.right .timeline-content:hover {
    border-color: var(--color-cyan);
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.4);
}

.timeline-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.timeline-item.left .timeline-header {
    justify-content: flex-end;
}

.timeline-header svg {
    color: var(--color-emerald);
    flex-shrink: 0;
}

.timeline-item.right .timeline-header svg {
    color: var(--color-cyan);
}

.timeline-year {
    font-size: 0.875rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-emerald) 0%, var(--color-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.timeline-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.timeline-description {
    font-size: 0.875rem;
    color: rgba(156, 163, 175, 1);
    line-height: 1.625;
}

.timeline-item.featured .timeline-content {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(6, 182, 212, 0.05) 100%);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.timeline-item.featured.right .timeline-content {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.05) 0%, rgba(16, 185, 129, 0.1) 100%);
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.timeline-item.featured::before {
    width: 16px;
    height: 16px;
    box-shadow: 0 0 30px rgba(16, 185, 129, 1);
}

.timeline-item.featured.right::before {
    background: var(--color-cyan);
    box-shadow: 0 0 30px rgba(6, 182, 212, 1);
}

.timeline-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-emerald);
    transition: all 0.3s ease;
}

.timeline-item.right .timeline-link {
    justify-content: flex-end;
}

.timeline-link:hover {
    color: var(--color-cyan);
    gap: 0.75rem;
}

.timeline-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.timeline-link:hover svg {
    transform: translateX(4px);
}

.timeline-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

/* ----------------------------------------
   ABOUT SECTION
   ---------------------------------------- */
.section-about {
    position: relative;
    padding: var(--space-5xl) 0;
    background: linear-gradient(180deg, #0a1628 0%, #081020 50%, #050a14 100%);
    overflow: hidden;
}

.section-about .container {
    position: relative;
    z-index: 1;
}

.section-about::before,
.section-about::after {
    content: '';
    position: absolute;
    width: 384px;
    height: 384px;
    border-radius: 50%;
    opacity: 0.03;
    pointer-events: none;
}

.section-about::before {
    top: 0;
    left: 25%;
    background: #10b981;
    filter: blur(120px);
}

.section-about::after {
    bottom: 0;
    right: 25%;
    background: #06b6d4;
    filter: blur(120px);
}

.about-grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: center top;
    border-radius: var(--border-radius-lg);
    filter: grayscale(20%);
    transition: all var(--transition-slow);
}

.about-image:hover img {
    filter: grayscale(0%);
    transform: scale(1.02);
}

.about-image-frame {
    position: absolute;
    inset: 20px -20px -20px 20px;
    border: 2px solid var(--color-emerald);
    border-radius: var(--border-radius-lg);
    z-index: -1;
    opacity: 0.5;
}

.about-content .section-label,
.about-content .section-title {
    text-align: left;
}

.about-content .section-title {
    margin-bottom: var(--space-lg);
}

.about-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-text p {
    margin-bottom: var(--space-lg);
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-text ul {
    margin-bottom: var(--space-lg);
    list-style: none;
    padding-left: 0;
}

.about-text li {
    position: relative;
    padding-left: var(--space-lg);
    margin-bottom: var(--space-sm);
}

.about-text li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 6px;
    height: 6px;
    background: var(--color-emerald);
    border-radius: 50%;
}

.about-subtitle {
    margin-top: -1.5rem;
    margin-bottom: 2rem;
    color: var(--color-emerald-light);
    font-size: 1.1rem;
    font-weight: 500;
}

.about-tags-front {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
}

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: center;
    margin-bottom: var(--space-xl);
}

.about-tags .tag {
    padding: var(--space-xs) var(--space-md);
    font-size: 0.8rem;
}

.about-intro {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-top: var(--space-lg);
}

.about-links-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 2.5rem;
}

.about-link-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-lg);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-link-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--color-emerald);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.4);
    transform: translateY(-3px);
}

.about-link-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.1);
    color: var(--color-emerald);
    border-radius: var(--border-radius-md);
    transition: all 0.3s ease;
}

.about-link-item:hover .about-link-icon {
    background: var(--color-emerald);
    color: var(--color-navy-deep);
}

.about-link-icon svg,
.about-link-icon img,
.about-link-icon .dashicons {
    width: 22px !important;
    height: 22px !important;
    font-size: 22px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    object-fit: contain;
    color: currentColor;
}

.about-link-title {
    color: white;
    font-weight: 600;
    font-size: 1rem;
    flex: 1;
}

.about-link-arrow {
    color: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.about-link-item:hover .about-link-arrow {
    color: var(--color-emerald);
    transform: translateX(3px);
}

.about-link-arrow svg {
    width: 18px;
    height: 18px;
}

.about-more-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

.about-more-link svg {
    transition: transform var(--transition-base);
}

.about-more-link:hover svg {
    transform: translateX(4px);
}

.tag {
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--space-xl);
    font-size: 0.9rem;
    font-weight: var(--font-weight-medium);
    transition: all var(--transition-base);
}

.tag-primary {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--color-emerald-light);
}

.tag-primary:hover {
    background: rgba(16, 185, 129, 0.2);
    border-color: var(--color-emerald);
}

.tag-secondary {
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.3);
    color: var(--color-cyan-light);
}

.tag-secondary:hover {
    background: rgba(6, 182, 212, 0.2);
    border-color: var(--color-cyan);
}

/* ----------------------------------------
   CONTACT SECTION
   ---------------------------------------- */
.section-contact {
    position: relative;
    padding: var(--space-5xl) 0;
    background: linear-gradient(180deg, #000814 0%, #050a14 100%);
    overflow: hidden;
}

.section-contact .container {
    position: relative;
    z-index: 1;
}

.section-contact::before,
.section-contact::after {
    content: '';
    position: absolute;
    width: 384px;
    height: 384px;
    border-radius: 50%;
    opacity: 0.05;
    pointer-events: none;
}

.section-contact::before {
    top: 0;
    left: 25%;
    background: #10b981;
    filter: blur(120px);
}

.section-contact::after {
    bottom: 0;
    right: 25%;
    background: #06b6d4;
    filter: blur(120px);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: start;
}

.contact-info h3 {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-lg);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
}

.contact-logo {
    height: 100px;
    width: auto;
    margin-bottom: var(--space-md);
}

.contact-info p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-xl);
    font-weight: var(--font-weight-light);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease; /* Mudado de color para all e unificado tempo com timeline */
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-lg);
}

.contact-card:hover {
    color: var(--color-emerald);
    background: rgba(16, 185, 129, 0.05);
    border-color: var(--color-emerald);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.4);
    transform: translateY(-3px);
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: var(--border-radius-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    color: var(--color-emerald);
}

.contact-card-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.25rem;
    background: none;
    -webkit-text-fill-color: initial;
    background-clip: initial;
}

.contact-card-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.4;
    margin: 0;
}

.contact-card-icon svg,
.contact-card-icon .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: currentColor;
}

.contact-card-icon svg {
    stroke-width: 2;
}

/* Fallback para ícones antigos se existirem */
.contact-icon svg,
.contact-link svg {
    width: 22px !important;
    height: 22px !important;
}

.contact-form {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-lg);
    padding: var(--space-2xl);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: var(--font-weight-medium);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-sm);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-sm);
    color: white;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-emerald);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* Ocultar rodapé na página 404 */
.error-404-page + .site-footer,
.error-404-page ~ .site-footer {
    display: none !important;
}

body.error404 .site-footer {
    display: none !important;
}

body.error404 {
    overflow: hidden;
}

/* ----------------------------------------
   FOOTER
   ---------------------------------------- */
.site-footer {
    position: relative;
    padding: var(--space-2xl) 0;
    background: linear-gradient(180deg, #050a14 0%, #000814 100%);
    border-top: 1px solid rgba(16, 185, 129, 0.3);
    overflow: hidden;
}

.site-footer::before,
.site-footer::after {
    content: '';
    position: absolute;
    width: 384px;
    height: 384px;
    border-radius: 50%;
    opacity: 0.05;
    pointer-events: none;
}

.site-footer::before {
    top: 0;
    left: 25%;
    background: #10b981;
    filter: blur(120px);
}

.site-footer::after {
    bottom: 0;
    right: 25%;
    background: #06b6d4;
    filter: blur(120px);
}

.footer-inner {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.footer-copyright p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.privacy-link {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition-fast);
}

.privacy-link:hover {
    color: var(--color-emerald);
}

.footer-social {
    display: flex;
    gap: var(--space-md);
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.6);
    transition: all var(--transition-base);
}

.footer-social a:hover {
    background: var(--gradient-brand);
    color: white;
    transform: translateY(-3px);
}

.footer-social svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* ----------------------------------------
   ANIMAÇÕES
   ---------------------------------------- */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-children > * {
    opacity: 0;
    transform: translateY(20px);
}

.stagger-children.visible > *:nth-child(1) { animation: fadeInUp 0.6s 0.1s ease forwards; }
.stagger-children.visible > *:nth-child(2) { animation: fadeInUp 0.6s 0.2s ease forwards; }
.stagger-children.visible > *:nth-child(3) { animation: fadeInUp 0.6s 0.3s ease forwards; }
.stagger-children.visible > *:nth-child(4) { animation: fadeInUp 0.6s 0.4s ease forwards; }
.stagger-children.visible > *:nth-child(5) { animation: fadeInUp 0.6s 0.5s ease forwards; }
.stagger-children.visible > *:nth-child(6) { animation: fadeInUp 0.6s 0.6s ease forwards; }

/* ----------------------------------------
   RESPONSIVO
   ---------------------------------------- */
@media (max-width: 1200px) {
    .hero-gallery {
        height: 480px;
    }
    
    .hero-photo-1 {
        width: 280px;
        height: 350px;
    }
    
    .hero-photo-2 {
        width: 180px;
        height: 240px;
    }
    
    .hero-photo-3 {
        width: 140px;
        height: 180px;
    }
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-gallery {
        height: 400px;
    }
    
    .hero-photo-1 {
        width: 240px;
        height: 300px;
    }
    
    .hero-photo-2 {
        width: 150px;
        height: 200px;
    }
    
    .hero-photo-3 {
        width: 120px;
        height: 150px;
    }
    
    .hero-overlay {
        background: linear-gradient(90deg, var(--color-navy-deep) 0%, rgba(10, 22, 40, 0.6) 70%, transparent 100%);
    }
    
    .partners-carousel::before,
    .partners-carousel::after {
        width: 60px;
    }
}

@media (max-width: 768px) {
    .section, .section-services, .section-partners, .section-timeline, .section-about, .section-contact {
        padding: var(--space-4xl) 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .hero {
        height: auto;
        min-height: auto; /* Deixar crescer com o conteúdo */
        padding-top: calc(var(--header-height) + 3rem);
        padding-bottom: var(--space-5xl);
    }
    
    .hero .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        min-height: auto;
    }

    .hero-content {
        max-width: 100%;
        width: 100%;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 2.8rem);
        text-align: center;
        order: 1;
    }

    .hero-description {
        font-size: 1.1rem;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        order: 2;
    }

    .hero-cta {
        justify-content: center;
        order: 3;
        margin-bottom: var(--space-3xl);
    }

    .hero-gallery {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        transform: none;
        width: 100%;
        height: 380px;
        margin: var(--space-2xl) 0;
        order: 4; /* Galeria no meio */
    }

    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-xl);
        margin-top: var(--space-2xl);
        padding-top: var(--space-xl);
        order: 5; /* Estatísticas por último */
    }

    .stat-item {
        text-align: center;
        flex: 1;
        min-width: 120px;
    }

    .hero-photo-1 {
        width: 200px;
        height: 260px;
        right: 0;
        top: 40px;
        z-index: 3;
    }

    .hero-photo-2 {
        width: 150px;
        height: 200px;
        left: 0;
        bottom: 20px;
        z-index: 2;
    }

    .hero-photo-3 {
        width: 110px;
        height: 140px;
        left: 25%;
        top: 0;
        z-index: 1;
    }
    .partners-carousel::before,
    .partners-carousel::after {
        width: 30px;
    }
    
    .partners-track {
        animation-duration: 20s;
    }
    
    .partner-item {
        width: 150px;
        height: 65px;
    }
    
    .partners-track {
        gap: var(--space-md);
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-inner {
        flex-direction: column;
        gap: var(--space-lg);
        text-align: center;
    }
    
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 22, 40, 0.98);
        padding: var(--space-lg);
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .about-image img {
        height: 350px;
    }
    
    .about-content .section-label,
    .about-content .section-title {
        display: block;
        text-align: center;
        width: 100%;
    }
    
    .about-content p {
        text-align: center;
    }
    
    .about-tags {
        justify-content: center;
    }
    
    .timeline-line {
        left: 6px;
    }
    
    .timeline-item {
        width: 100%;
        margin-left: 0 !important;
        padding-left: 2rem !important;
        padding-right: 0 !important;
    }
    
    .timeline-item::before {
        left: 0 !important;
        right: auto !important;
    }
    
    .timeline-content {
        text-align: left !important;
    }
    
    .timeline-header {
        justify-content: flex-start !important;
    }
    
    .timeline-item.left .timeline-content,
    .timeline-item.right .timeline-content {
        text-align: left;
    }
    
    .timeline-item.left .timeline-header,
    .timeline-item.right .timeline-header {
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
}

/* ----------------------------------------
   WORDPRESS SPECIFIC
   ---------------------------------------- */
#wpadminbar {
    display: none !important;
}

html {
    margin-top: 0 !important;
}

* html body {
    margin-top: 0 !important;
}

@media screen and (max-width: 782px) {
    #wpadminbar {
        display: none !important;
    }
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-navy-deep);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--color-emerald), var(--color-cyan));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #059669, #0891b2);
}

::selection {
    background: rgba(16, 185, 129, 0.3);
    color: white;
}

/* ----------------------------------------
   INTERNAL PAGES
   ---------------------------------------- */
.page-content {
    padding-top: var(--space-5xl);
}

.section-page {
    position: relative;
    padding: var(--space-5xl) 0;
    background: var(--color-navy-deep);
    overflow: hidden;
}

.section-page .container {
    position: relative;
    z-index: 2;
}

.section-page .hero-background {
    opacity: 0.4;
}

.page-body {
    width: 100%;
    margin: 0 auto;
}

.page-body.reveal.visible {
    animation: fadeInUp 0.8s ease forwards;
}

.page-header {
    text-align: center;
    margin-bottom: var(--space-4xl);
}

.page-header .section-label {
    margin-bottom: var(--space-sm);
}

.page-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: white;
    margin-bottom: var(--space-xl);
}

.page-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
}

.about-profile-grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: var(--space-4xl);
    align-items: start;
}

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

.about-profile-image img {
    width: 100%;
    border-radius: var(--border-radius-lg);
}

.about-image-frame {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    right: calc(var(--space-md) * -1);
    bottom: calc(var(--space-md) * -1);
    border: 2px solid var(--color-emerald);
    border-radius: var(--border-radius-lg);
    opacity: 0.3;
    pointer-events: none;
}

.about-profile-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
}

.profile-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.profile-link {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition-fast);
}

.profile-link:hover {
    color: var(--color-emerald);
}

.academic-content,
.experience-content,
.teaching-content {
    max-width: 900px;
    margin: 0 auto;
}

.academic-intro,
.experience-intro,
.teaching-intro {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: var(--space-3xl);
    text-align: center;
}

.academic-item,
.experience-item,
.teaching-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.academic-item h3,
.experience-item h3,
.teaching-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
    margin-bottom: var(--space-sm);
}

.academic-institution,
.experience-institution,
.teaching-period {
    font-size: 0.95rem;
    color: var(--color-emerald);
    margin-bottom: var(--space-md);
    font-style: italic;
}

.academic-item ul,
.experience-item ul,
.teaching-item ul {
    list-style: none;
    padding-left: 0;
}

.academic-item li,
.experience-item li,
.teaching-item li {
    position: relative;
    padding-left: var(--space-lg);
    margin-bottom: var(--space-sm);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.academic-item li::before,
.experience-item li::before,
.teaching-item li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    background: var(--gradient-brand);
    border-radius: 50%;
}

.academic-item a,
.experience-item a {
    color: var(--color-emerald);
    transition: color var(--transition-fast);
}

.academic-item a:hover,
.experience-item a:hover {
    color: var(--color-cyan);
}

.about-photos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-4xl);
}

.about-photo-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
}

.about-photo-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.about-photo-item:hover img {
    transform: scale(1.05);
}

.section-page-tabs {
    padding: var(--space-5xl) 0;
    background: linear-gradient(180deg, #0a1628 0%, #081020 50%, #050a14 100%);
}

.page-tabs {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-4xl);
    flex-wrap: wrap;
}

.tab-link {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-md);
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-base);
}

.tab-link:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(16, 185, 129, 0.3);
    color: white;
}

.tab-link.active {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.5);
    color: var(--color-emerald);
}

.tab-link svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

@media (max-width: 768px) {
    .about-profile-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-links {
        flex-direction: column;
    }
    
    .about-photos {
        grid-template-columns: 1fr;
    }
    
    .page-tabs {
        flex-direction: column;
    }
    
    .tab-link {
        justify-content: center;
    }
}

/* ----------------------------------------
   CLIENT/PARTNER PAGE TEMPLATE
   ---------------------------------------- */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: var(--space-xl);
    transition: color var(--transition-fast);
}

.back-link:hover {
    color: var(--color-emerald);
}

.back-link svg {
    width: 18px;
    height: 18px;
}

.client-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: var(--space-3xl);
    align-items: start;
}

.client-main {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-lg);
    padding: var(--space-3xl);
}

.client-logo-wrapper {
    margin-bottom: var(--space-2xl);
}

.client-logo-wrapper img {
    max-height: 80px;
    max-width: 220px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.client-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

/* ----------------------------------------
   404 PAGE - NOT FOUND
   ---------------------------------------- */
.error-404-section {
    position: relative;
    height: 100vh; /* Ocupa exatamente a altura da tela */
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-navy-deep);
    overflow: hidden;
    text-align: center;
}

.error-404-content {
    position: relative;
    z-index: var(--z-overlay);
    max-width: 800px;
    width: 100%;
    margin: 0 auto; /* Centralizar no container */
    padding: 0 var(--space-md);
}

.error-code {
    font-size: clamp(6rem, 15vw, 12rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: var(--space-md);
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.2;
    filter: blur(2px);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    animation: pulse-slow 4s infinite ease-in-out;
}

@keyframes pulse-slow {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.15; }
    50% { transform: translate(-50%, -50%) scale(1.05); opacity: 0.25; }
}

.error-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: white;
    margin-bottom: var(--space-lg);
    line-height: 1.1;
}

.error-text {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: var(--space-3xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: var(--font-weight-light);
}

.error-actions {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
}

@media (max-width: 768px) {
    .error-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .error-actions .btn {
        width: 100%;
        max-width: 280px;
    }
}


.client-description p {
    margin-bottom: var(--space-lg);
}

.client-description p:last-child {
    margin-bottom: 0;
}

.client-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.client-services {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl);
}

.sidebar-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: var(--space-lg);
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.service-item {
    display: flex;
    gap: var(--space-md);
}

.service-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.1);
    border-radius: var(--border-radius-md);
}

.service-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--color-emerald);
    stroke-width: 2;
}

.service-content h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: white;
    margin-bottom: var(--space-xs);
}

.service-content p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

.client-testimonial {
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl);
}

.testimonial-quote {
    color: var(--color-emerald);
    opacity: 0.5;
    margin-bottom: var(--space-md);
}

.testimonial-quote svg {
    width: 32px;
    height: 32px;
}

.testimonial-text {
    font-size: 1rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.testimonial-author {
    font-size: 0.9rem;
    color: var(--color-emerald);
    font-style: normal;
}

.related-clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--space-lg);
}

.related-client-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl);
    text-align: center;
    transition: all var(--transition-base);
    text-decoration: none;
}

.related-client-card:hover {
    border-color: rgba(16, 185, 129, 0.3);
    transform: translateY(-4px);
}

.related-client-logo {
    width: 120px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
}

.related-client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.7;
    transition: opacity var(--transition-fast);
}

.related-client-card:hover .related-client-logo img {
    opacity: 1;
}

.related-client-name {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.related-client-category {
    font-size: 0.75rem;
    color: var(--color-emerald);
    padding: var(--space-xs) var(--space-md);
    background: rgba(16, 185, 129, 0.1);
    border-radius: var(--space-xl);
}

.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--space-3xl);
    color: rgba(255, 255, 255, 0.6);
}

.empty-state p {
    margin-bottom: var(--space-lg);
}

@media (max-width: 1024px) {
    .client-layout {
        grid-template-columns: 1fr;
    }
    
    .client-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .client-services,
    .client-testimonial {
        flex: 1;
        min-width: 280px;
    }
}

@media (max-width: 768px) {
    .client-main {
        padding: var(--space-xl);
    }
    
    .client-sidebar {
        flex-direction: column;
    }
    
    .client-services,
    .client-testimonial {
        min-width: 100%;
    }
}