/* ========================================= */
/* AIBA DESIGN SYSTEM | GLOBAL 1% PROTOCOL   */
/* Versão Unificada: Transparência + QS      */
/* ========================================= */

:root {
    /* --- 1. PALETA DE CORES (Brand & UI) --- */
    --color-principal:   #007b4e; /* Verde AIBA (Ação, Destaque) */
    --color-principal-hover: #001719; /* Variação escura para hover */
    
    --color-escuro:      #001719; /* Preto Profundo (Texto, Bg Dark) */
    --color-paragrafo:   #444444; /* Cinza Leitura */
    --color-nota:        #666666; /* Cinza Apoio/Meta */
    
    --color-branco:      #FFFFFF;
    --color-verde-claro: #F2F9F7; /* Bg Section Light (Alternância) */
    
    /* Cores Semânticas / Mapas */
    --bg-neutral:        #EBEBF0; /* Cinza Neutro (Elementos inativos) */
    --bg-overlay:        rgba(0, 23, 25, 0.7); /* Backdrop de Modais */

    /* --- 2. BORDAS & SEPARAÇÃO --- */
    --border-clara:      rgba(255, 255, 255, 0.18); /* Para fundos ESCUROS */
    --border-escura:     #a5bdb6;                   /* Para fundos CLAROS (Verde acinzentado) */
    --border-fina:       rgba(0, 0, 0, 0.08);       /* Separadores sutis */

    /* --- 3. SOMBRAS & PROFUNDIDADE (Elevation) --- */
    --shadow-base:       0 6px 24px rgba(0, 0, 0, 0.05);
    --shadow-hover:      0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-glass:      0 8px 32px rgba(0, 0, 0, 0.08);

    /* --- 4. TIPOGRAFIA FLUIDA (Clamp System) --- */
    /* Escala automaticamente entre Mobile e Desktop Gigante */
    --font-size-h1:      clamp(32px, 6vw, 50px);
    --font-size-h2:      clamp(24px, 4vw, 36px);
    --font-size-h3:      clamp(20px, 3vw, 28px);
    --font-size-h4:      clamp(18px, 2.5vw, 22px);
    --font-size-p:       clamp(14px, 1.5vw, 16px);
    
    --line-height-tight: 1.2;
    --line-height-body:  1.6;

    /* --- 5. ESPAÇAMENTO (RITMO VERTICAL) --- */
    --section-pad-desktop: 120px;
    --section-pad-tablet:  80px;
    --section-pad-mobile:  60px;
    
    /* --- 6. PHYSICS & MOTION --- */
    --ease-ios: cubic-bezier(0.25, 1, 0.5, 1); /* Suavidade Apple */
    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
    --trans-fast: 0.2s ease;
    --trans-medium: 0.3s ease-out;
}

/* ========================================= */
/* BASE & RESET UTILITÁRIO
/* ========================================= */

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--color-paragrafo);
    line-height: var(--line-height-body);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
    color: var(--color-escuro);
    font-weight: 700;
    line-height: var(--line-height-tight);
    margin-bottom: 1rem;
}

/* ========================================= */
/* COMPONENTES ATÔMICOS (Reutilizáveis)
/* ========================================= */

/* 1. BOTÕES (Primary & Text) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--trans-medium);
}

.btn--primary {
    background-color: var(--color-principal);
    color: var(--color-branco);
    border: 1px solid var(--color-principal);
}

.btn--primary:hover {
    background-color: var(--color-principal-hover);
    border-color: var(--color-principal-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 2. CARDS (Padrão Elevado) */
.card-base {
    background: var(--color-branco);
    border: 1px solid var(--border-escura);
    border-radius: 30px;
    padding: 24px; /* ou 32px para destaque */
    box-shadow: var(--shadow-base);
    transition: transform var(--trans-medium), box-shadow var(--trans-medium);
}

.card-base:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

/* 3. GLASSMORPHISM (Para sobreposição em fundos complexos) */
.glass-panel {
    background: rgba(255, 255, 255, 0.08); /* Vidro Branco */
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    border: 1px solid var(--border-clara);
    border-radius: 16px;
    box-shadow: var(--shadow-glass);
}

/* 4. PILLS / TAGS (Filtros e Categorias) */
.pill {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    background: var(--color-verde-claro);
    color: var(--color-paragrafo);
    border: 1px solid var(--border-escura);
    transition: all 0.2s ease;
}

.pill:hover, .pill.is-active {
    background: var(--color-principal);
    border-color: var(--color-principal);
    color: var(--color-branco);
}

/* ========================================= */
/* ESTRUTURA DE SEÇÃO (RITMO)
/* ========================================= */

/* Ritmo Vertical Premium */
.section-pad {
    padding-top: var(--section-pad-desktop);
    padding-bottom: var(--section-pad-desktop);
}

@media (max-width: 992px) {
    .section-pad {
        padding-top: var(--section-pad-tablet);
        padding-bottom: var(--section-pad-tablet);
    }
}
@media (max-width: 768px) {
    .section-pad {
        padding-top: var(--section-pad-mobile);
        padding-bottom: var(--section-pad-mobile);
    }
}

/* Alternância de Fundos */
.bg-white { background-color: var(--color-branco); }
.bg-light { background-color: var(--color-verde-claro); }
.bg-dark  { background-color: var(--color-escuro); color: var(--color-branco); }

/* ========================================= */
/* COMPONENTE: HERO SECTION (ESG AIBA)       */
/* ========================================= */

.hero-section {
    position: relative;
    width: 100%;
    height: 100vh; /* Fallback */
    height: 100svh; /* Altura real em mobile moderno */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--color-branco);
}

/* --- CAMADA 1: VÍDEO BACKGROUND --- */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Filtro sutil para homogeneizar tons do vídeo */
    filter: saturate(0.9) brightness(0.9); 
}

/* Overlay Cinemático (Mais elegante que cor sólida) */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 23, 25, 0.3) 0%,
        rgba(0, 23, 25, 0.6) 50%,
        rgba(0, 23, 25, 0.95) 100%
    );
    z-index: 2;
}

/* --- CAMADA 2: CONTEÚDO --- */
.hero-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1280px; /* Container padrão grande */
    padding: 0 2rem;
    margin: 0 auto;
}

.hero-esg-content {
    max-width: 900px;
    margin: 0 auto; /* Centralizado */
    text-align: center; /* Padrão Apple para impacto */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

/* Badge (Glassmorphism) */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 20px;
    border-radius: 100px;
    
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.9);
    
    /* Glass Effect Refinado */
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* O ponto pulsante (Indicator Dot) */
.indicator-dot {
    width: 8px;
    height: 8px;
    background-color: #00D486; /* Verde Neon Digital */
    border-radius: 50%;
    box-shadow: 0 0 10px #00D486;
    animation: pulse 2s infinite var(--ease-out);
}

/* Tipografia Editorial */
.hero-title {
    font-size: var(--font-size-h1); /* Clamp System */
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.03em; /* Tight tracking for headings */
    color: var(--color-branco);
    margin: 0;
}

/* Texto Gradiente (Destaque) */
.text-gradient {
    background: linear-gradient(90deg, #FFFFFF 0%, #A5BDB6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block; /* Evita cortes no gradiente */
}

.hero-subtitle {
    font-size: clamp(16px, 1.5vw, 20px);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    max-width: 680px;
    margin: 0 auto;
}

/* Botões e Ações */
.hero-actions {
    display: flex;
    gap: 16px;
    margin-top: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Refinamento btn--primary no contexto Hero */
.btn-glow {
    box-shadow: 0 0 20px rgba(0, 123, 78, 0.4); /* Glow verde suave */
}

/* Botão Secundário (Glass) */
.btn--glass {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--trans-medium);
    
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-branco);
    backdrop-filter: blur(4px);
}

.btn--glass:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--color-branco);
    transform: translateY(-2px);
}

/* --- CAMADA 3: SCROLL INDICATOR --- */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    opacity: 0.7;
}

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

.wheel {
    width: 4px;
    height: 8px;
    background: #fff;
    border-radius: 2px;
    animation: scrollWheel 1.5s infinite cubic-bezier(0.65, 0, 0.35, 1);
}

/* --- ANIMAÇÕES E KEYFRAMES --- */
@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.7; }
    50% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 15px #00D486; }
    100% { transform: scale(0.95); opacity: 0.7; }
}

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

/* --- ENTRADA (FADE UP) --- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Delays em cascata para dar ritmo visual */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* --- TIPOGRAFIA DOS NÚMEROS --- */
/* Mantemos esta classe apenas para garantir beleza nos números */
.counter {
    font-variant-numeric: tabular-nums; /* Números alinhados e monospaçados */
    letter-spacing: -0.02em; /* Kerning mais moderno */
}

/* Responsividade Mobile */
@media (max-width: 768px) {
    .hero-esg-content {
        align-items: flex-start; /* Alinhamento à esquerda no mobile facilita leitura */
        text-align: left;
    }
    
    .hero-actions {
        width: 100%;
        flex-direction: column;
    }
    
    .btn {
        width: 100%; /* Botões full width no mobile */
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
}

/* ========================================= */
/* COMPONENTE: IMPACT SECTION (BENTO GRID)   */
/* ========================================= */

.impact-section .section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-title {
    font-size: var(--font-size-h2);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: var(--font-size-p);
    color: var(--color-paragrafo);
    opacity: 0.8;
}

/* --- GRID TOPOLOGY --- */
.bento-grid {
    display: grid;
    gap: 24px;
    /* Mobile First: Coluna única */
    grid-template-columns: 1fr;
}

/* Tablet & Desktop Layout */
@media (min-width: 768px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .bento-grid {
        /* Layout: [Main 40%] [Grid 2x2 60%] */
        grid-template-columns: 1.2fr 1fr 1fr;
        grid-template-rows: auto auto; /* Duas linhas de altura igual */
    }

    /* O Card Principal ocupa a primeira coluna inteira (2 linhas) */
    .bento-card--main {
        grid-column: 1 / 2;
        grid-row: 1 / 3;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        min-height: 400px; /* Garante presença vertical */
    }
}

/* --- CARD INTERATIVO --- */
.bento-card {
    /* Transição APENAS para o hover, sem afetar a posição original */
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.bento-card:hover {
    transform: translateY(-5px); /* Leve subida no hover */
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-color: var(--accent-color, var(--color-principal));
}

/* --- MAIN CARD --- */
.bento-card--main {
    background: linear-gradient(145deg, #FFFFFF 0%, #F5F9F7 100%);
    border-color: var(--border-escura);
}

.bento-card--main .bento-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bento-icon-wrapper {
    width: 64px;
    height: 64px;
    background: var(--color-verde-claro);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-principal);
    margin-bottom: 32px;
}

.bento-card--main .data-number {
    display: block;
    font-size: clamp(48px, 5vw, 64px);
    font-weight: 800;
    color: var(--color-principal);
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.04em;
    font-variant-numeric: tabular-nums; /* Evita tremedeira na contagem */
}

.bento-bg-decor {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0,123,78,0.08) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
    transition: transform 0.5s ease;
}

.bento-card--main:hover .bento-bg-decor {
    transform: scale(1.5);
}

/* --- METRIC CARDS (Small) --- */
.bento-card:not(.bento-card--main) {
    padding: 32px 24px;
}

.data-number-sm {
    display: block;
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 4px;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums; /* Essencial para não "tremer" no count */
}

.data-label, .data-label-sm {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-nota);
    font-weight: 600;
    margin-bottom: 8px;
}

.data-desc, .data-desc-sm {
    font-size: 15px;
    color: var(--color-paragrafo);
    line-height: 1.5;
    margin: 0;
}

/* Lucide Icon Adjustment */
.lucide {
    stroke-width: 1.5px; /* Traço mais fino e elegante */
}

/* ==========================================================================
   SECTION 03: MANIFESTO (EDITORIAL) [RE-MASTERED 2026]
   Concept: High-Weight Paper & Typographic Tension
   ========================================================================== */

/* --- 1. GRID & LAYOUT --- */
.manifesto-section {
    position: relative;
    /* Adiciona uma textura de papel sutil ao fundo da seção inteira */
    background-color: #fafbf9; 
    overflow: hidden;
}

.manifesto-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Responsividade Desktop */
@media (min-width: 1024px) {
    .manifesto-grid {
        grid-template-columns: 5fr 6fr; 
        gap: 140px; /* Respiro de revista de arte */
    }
    
    /* Mantivemos a ordem visual: Texto Direita, Card Esquerda */
    .manifesto-visual { order: 1; }
    .manifesto-text { order: 2; }
}

/* --- 2. COLUNA DE TEXTO (Editorial Typography) --- */
.manifesto-title {
    font-size: clamp(40px, 4.5vw, 64px);
    font-weight: 800;
    color: var(--color-escuro);
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin-bottom: 32px;
}

.manifesto-lead {
    font-size: 22px;
    line-height: 1.5;
    color: var(--color-principal); /* Verde Brand */
    font-weight: 500;
    margin-bottom: 32px;
    
    /* Removendo a borda lateral clichê */
    border-left: none; 
    padding-left: 0;
    
    /* Adicionando tensão visual superior */
    padding-top: 32px;
    border-top: 2px solid rgba(0, 123, 78, 0.2);
    display: inline-block;
    width: 100%;
    max-width: 90%;
}

.manifesto-body p {
    font-family: 'Georgia', serif; /* Ou fonte serifada do brand */
    font-size: 19px;
    color: #555; /* Cinza ótico para leitura longa */
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 600px;
}

/* Link Editorial Magnético */
.btn-link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    color: var(--color-escuro);
    text-decoration: none;
    padding-bottom: 4px;
    position: relative;
    transition: gap 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

/* O "Underline" agora é uma linha animada */
.btn-link-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--color-escuro);
    transform: scaleX(0.3);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.btn-link-arrow:hover {
    gap: 20px; /* Ação magnética forte */
    color: var(--color-principal);
}

.btn-link-arrow:hover::after {
    background-color: var(--color-principal);
    transform: scaleX(1);
}

/* --- 3. COLUNA VISUAL (The Document Card) --- */
.visual-card {
    position: relative;
    /* Papel Texturizado em vez de cor chapada */
    background: linear-gradient(135deg, #ffffff 0%, #f4fbf7 100%);
    padding: 80px 56px;
    
    /* Geometria: Menos "folha", mais "arquitetura" */
    border-radius: 2px; /* Cantos quase retos */
    border-top-right-radius: 120px; /* Um único corte dramático */
    
    /* Sombreamento realista (Soft Shadow) */
    box-shadow: 
        0 20px 40px -10px rgba(0, 50, 30, 0.1),
        0 0 0 1px rgba(0, 0, 0, 0.03); /* Micro-borda */
        
    isolation: isolate;
}

/* Micro-texture (Noise) para simular papel */
.visual-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.04'/%3E%3C/svg%3E");
    z-index: -1;
    pointer-events: none;
}

/* Selo "Carimbado" (Emboss Effect) */
.icon-stamp {
    width: 72px;
    height: 72px;
    background: #f4fbf7; /* Mesma cor base */
    color: var(--color-principal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    
    /* Efeito de Baixo Relevo (Neumorphism refinado) */
    box-shadow: 
        inset 4px 4px 10px rgba(0, 23, 25, 0.1),
        inset -4px -4px 10px rgba(255, 255, 255, 1);
}

.visual-quote {
    font-family: 'Times New Roman', serif; /* Clássico absoluto */
    font-size: 28px;
    line-height: 1.3;
    color: var(--color-escuro);
    font-style: italic;
    margin-bottom: 48px;
    letter-spacing: -0.01em;
}

/* Autoria */
.visual-author {
    border-top: 1px solid rgba(0,0,0,0.1);
    padding-top: 24px;
    display: flex;
    flex-direction: column;
}

.visual-author cite {
    font-family: -apple-system, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 16px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-principal);
}

.visual-author span {
    font-size: 13px;
    color: #888;
    margin-top: 4px;
}

/* --- 4. ASSINATURA CINÉTICA (Motion) --- */
.signature-doodle {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 240px;
    height: 120px;
    opacity: 0.8;
    color: var(--color-principal);
    z-index: 10;
    mix-blend-mode: multiply; /* Mescla com a textura do papel */
}

/* Animação do traço (Requer que o SVG tenha stroke) */
.signature-doodle path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: sign 3s ease-out forwards;
    animation-delay: 0.5s; /* Começa a assinar quando visível */
}

@keyframes sign {
    to { stroke-dashoffset: 0; }
}

/* Elemento Decorativo Extra (Marca d'água) */
.visual-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0,123,78,0.03) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}

/* ==========================================================================
   COMPONENTE 4: PILLARS INTERFACE (REFATORADO P/ NOVA ESTRUTURA)
   Classe Mestra: .pillars-interface
   ========================================================================== */

/* 1. ESTRUTURA BASE */
.pillars-interface {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.pillars-interface__container {
    position: relative;
}

/* Header */
.pillars-interface__header {
    position: relative;
    z-index: 5;
}

.pillars-interface__title {
    /* herda da section-title se houver */
}

.pillars-interface__subtitle {
    /* herda da section-subtitle se houver */
}

/* 2. NAVEGAÇÃO (GLASS PILL) */
.pillars-interface__tabs-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 56px;
    position: relative;
    z-index: 10;
}

.pillars-interface__pill {
    display: inline-flex;
    padding: 6px;
    background: rgba(235, 235, 240, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 100px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

/* Botão Tab */
.pillars-interface__tab-trigger {
    position: relative;
    border: none;
    background: transparent;
    padding: 12px 32px;
    border-radius: 100px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    color: #666;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    white-space: nowrap;
}

/* Hover state */
.pillars-interface__tab-trigger:hover:not([data-state="active"]) {
    color: #000;
    background: rgba(0,0,0,0.03);
}

/* Active state */
.pillars-interface__tab-trigger[data-state="active"] {
    background: #FFFFFF;
    color: var(--color-principal, #007b4e);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.pillars-interface__tab-icon {
    opacity: 0.7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pillars-interface__tab-trigger[data-state="active"] .pillars-interface__tab-icon {
    opacity: 1;
}

.pillars-interface__tab-label {
    display: inline-block;
}

/* Indicador (se você for estilizar depois) */
.pillars-interface__tab-indicator {
    position: absolute;
    inset: 0;
    border-radius: 100px;
    pointer-events: none;
    /* intencionalmente vazio se o indicador for outro efeito */
}

/* 3. VIEWPORT DE EMPILHAMENTO (STACK) */
.pillars-interface__stack {
    display: grid;
    grid-template-areas: "stack";
    width: 100%;
    position: relative;
}

/* 4. PAINEL/CARD (Layout & Animação) */
.pillars-interface__panel {
    grid-area: stack;
    width: 100%;
    background: #FFFFFF;
    border: 1px solid #a5bdb6;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.06);

    /* Engine de Animação */
    opacity: 0;
    visibility: hidden;
    transform: scale(0.98) translateY(10px);
    transition:
        opacity 0.5s ease,
        transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
        visibility 0.5s;

    z-index: 1;
}

/* Painel ativo */
.pillars-interface__panel[data-state="active"] {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
    z-index: 5;
}

/* Wrapper interno (opcional) */
.pillars-interface__panel-inner {
    width: 100%;
}

/* Grid do Card */
.pillars-interface__card-grid {
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 992px) {
    .pillars-interface__card-grid {
        grid-template-columns: 1.4fr 1fr; /* Conteúdo | Visual */
        min-height: 520px;
    }
}

/* 5. COLUNA DE CONTEÚDO */
.pillars-interface__content {
    padding: 64px 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pillars-interface__content-head {
    /* spacing já via mb-8 se existir */
}

.pillars-interface__headline {
    font-size: clamp(24px, 2.5vw, 36px);
    line-height: 1.15;
    font-weight: 800;
    color: #001719;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.pillars-interface__desc {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 0;
}

/* Lista Features */
.pillars-interface__features {
    margin-top: 40px;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.pillars-interface__feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.pillars-interface__feature-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #F2F9F7;
    color: var(--color-principal, #007b4e);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pillars-interface__feature-text {
    display: block;
}

.pillars-interface__feature-title {
    display: block;
    font-size: 0.95rem;
    color: #001719;
    margin-bottom: 4px;
}

.pillars-interface__feature-subtitle {
    display: block;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

/* Ação */
.pillars-interface__action {
    margin-top: 48px;
}

.pillars-interface__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--color-principal, #007b4e);
    color: #FFF;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s;
}

.pillars-interface__cta:hover {
    background: #001719;
    transform: translateY(-2px);
}

.pillars-interface__cta-label {
    display: inline-block;
}

.pillars-interface__cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* 6. COLUNA VISUAL (AURORA EFFECT) */
.pillars-interface__visual {
    position: relative;
    background: #f8f9fa;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid rgba(0,0,0,0.05);
}

.pillars-interface__mesh {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* Blobs animados */
.pillars-interface__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: blobFloat 8s infinite alternate ease-in-out;
}

/* Cores por tema (sincronizado com PHP) */
.pillars-interface .gradient-ambiental .blob-1,
.pillars-interface .gradient-ambiental .pillars-interface__blob.blob-1 {
    width: 300px;
    height: 300px;
    background: #4ade80;
    top: -50px;
    right: -50px;
}

.pillars-interface .gradient-ambiental .blob-2,
.pillars-interface .gradient-ambiental .pillars-interface__blob.blob-2 {
    width: 250px;
    height: 250px;
    background: #166534;
    bottom: -50px;
    left: -50px;
}

.pillars-interface .gradient-social .blob-1,
.pillars-interface .gradient-social .pillars-interface__blob.blob-1 {
    width: 300px;
    height: 300px;
    background: #38bdf8;
    top: 10%;
    right: -20%;
}

.pillars-interface .gradient-social .blob-2,
.pillars-interface .gradient-social .pillars-interface__blob.blob-2 {
    width: 200px;
    height: 200px;
    background: #0284c7;
    bottom: 10%;
    left: 10%;
}

.pillars-interface .gradient-governanca .blob-1,
.pillars-interface .gradient-governanca .pillars-interface__blob.blob-1 {
    width: 350px;
    height: 350px;
    background: #94a3b8;
    top: 0;
    right: 0;
}

.pillars-interface .gradient-governanca .blob-2,
.pillars-interface .gradient-governanca .pillars-interface__blob.blob-2 {
    width: 280px;
    height: 280px;
    background: #475569;
    bottom: 0;
    left: 0;
}

/* Ícone central (glass) */
.pillars-interface__icon-glass {
    position: relative;
    width: 140px;
    height: 140px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #001719;
    z-index: 2;
    animation: floatIcon 6s ease-in-out infinite;
}

.pillars-interface__hero-icon {
    width: 56px; /* opcional: define presença visual */
    height: 56px;
}

/* 7. ANIMAÇÕES */
@keyframes blobFloat {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, -20px) scale(1.1); }
}

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

/* 8. RESPONSIVIDADE MOBILE */
@media (max-width: 991px) {
    .pillars-interface__pill {
        width: 100%;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 4px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .pillars-interface__tab-trigger {
        flex-shrink: 0;
        scroll-snap-align: start;
    }

    .pillars-interface__content {
        padding: 40px 24px;
    }

    .pillars-interface__headline {
        font-size: 28px;
    }

    .pillars-interface__visual {
        min-height: 240px;
        order: -1;
        border-left: none;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
}

/* ==========================================================================
   SECTION 05: INNOVATION (AIBA LAB) [RE-MASTERED 2026]
   Concept: Obsidian Glass & Bioluminescent Data
   ========================================================================== */

.innovation-section {
    position: relative;
    background-color: #030505; /* Preto quase absoluto, levemente ciano */
    overflow: hidden;
    /* Garante contraste máximo para elementos de luz */
    color: #fff;
}

/* --- 1. ATMOSFERA (THE MATRIX FLOOR) --- */
.tech-grid-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
    
    /* Grid Matemático Fino */
    background-size: 50px 50px;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
        
    /* Vinheta Dramática: O grid só existe no centro de luz */
    mask-image: radial-gradient(circle at 50% 50%, black 0%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at 50% 50%, black 0%, transparent 80%);
    
    /* Animação sutil de "respiração" do ambiente */
    animation: gridPulse 8s ease-in-out infinite alternate;
}

@keyframes gridPulse {
    0% { opacity: 0.4; transform: scale(1); }
    100% { opacity: 0.6; transform: scale(1.02); }
}

.relative.z-10 {
    position: relative;
    z-index: 10;
}

/* --- 2. LAYOUT & TIPOGRAFIA TECH --- */
.innovation-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
}

@media (min-width: 992px) {
    .innovation-layout {
        grid-template-columns: 1fr 1fr;
        gap: 100px; /* Mais separação para drama */
    }
}

.section-title.text-white {
    color: #FFFFFF;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.text-gradient {
    /* Gradiente Neon Metálico */
    background: linear-gradient(90deg, #00FF94 0%, #00B8D4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.text-gray-400 {
    color: #94a3b8; /* Slate gray, mais frio e tecnológico */
    line-height: 1.7;
    font-size: 17px;
}

/* Pill Tech */
.pill-dark {
    background: rgba(0, 255, 148, 0.05);
    border: 1px solid rgba(0, 255, 148, 0.2);
    color: #00FF94;
    box-shadow: 0 0 15px rgba(0, 255, 148, 0.1); /* Glow difuso */
    padding: 6px 16px;
    font-family: 'Courier New', Courier, monospace; /* Toque de código */
    font-size: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* --- 3. STATS HUD (HEADS-UP DISPLAY) --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 32px;
    padding-top: 40px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-icon {
    color: #00FF94;
    margin-bottom: 8px;
    filter: drop-shadow(0 0 8px rgba(0, 255, 148, 0.4));
}

.stat-value {
    display: block;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    letter-spacing: -0.05em;
}

.stat-label {
    font-size: 12px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

/* --- 4. OBSIDIAN CARDS (GLASS 3.0) --- */
.innovation-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.glass-panel-dark {
    position: relative;
    /* Fundo preto profundo com leve transparência */
    background: rgba(10, 10, 10, 0.6); 
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    
    /* Borda sofisticada: Escura com brilho superior */
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    
    border-radius: 20px;
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    text-decoration: none;
    overflow: hidden;
}

/* Efeito de Luz no Hover (Glow interno) */
.glass-panel-dark::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255,255,255,0.06), transparent 40%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
    z-index: 0;
}

.glass-panel-dark:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 148, 0.3);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

.glass-panel-dark:hover::before {
    opacity: 1;
}

/* Conteúdo do Card */
.tech-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.tech-icon-box {
    width: 48px;
    height: 48px;
    background: rgba(0, 255, 148, 0.05);
    border: 1px solid rgba(0, 255, 148, 0.1);
    color: #00FF94;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(0, 255, 148, 0.05); /* Glow sutil */
}

.tech-tag {
    font-size: 11px;
    font-weight: 700;
    color: #00FF94;
    background: rgba(0, 20, 20, 0.5);
    border: 1px solid rgba(0, 255, 148, 0.2);
    padding: 6px 12px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tech-title {
    font-size: 22px;
    color: #FFFFFF;
    margin-bottom: 10px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.tech-desc {
    font-size: 15px;
    color: #94a3b8;
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Seta de Ação */
.tech-arrow {
    position: absolute;
    right: 32px;
    bottom: 32px;
    color: #00FF94;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.glass-panel-dark:hover .tech-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* --- 5. GRAPH VISUAL (LIVE MONITOR) --- */
.graph-visual {
    margin-top: 24px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
    position: relative;
}

/* LED Status Indicator (Substitui as bolas coloridas infantis) */
.graph-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.status-led {
    width: 8px;
    height: 8px;
    background-color: #00FF94;
    border-radius: 50%;
    box-shadow: 0 0 10px #00FF94;
    animation: blink 2s infinite;
}

.status-text {
    font-family: monospace;
    font-size: 11px;
    color: #00FF94;
    opacity: 0.8;
    text-transform: uppercase;
}

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

/* A Linha de Dados (Neon Path) */
.graph-line path {
    stroke: #00FF94;
    stroke-width: 2;
    stroke-dasharray: 1000; /* Aumentei para cobrir todo o path */
    stroke-dashoffset: 1000;
    animation: drawGraph 4s ease-out forwards, glowLine 3s infinite alternate;
    filter: drop-shadow(0 0 4px rgba(0, 255, 148, 0.6));
}

/* Gradiente sob a linha (Área) */
.graph-line area {
    fill: url(#gradientArea); /* Requer defs no SVG do PHP */
}

.graph-label {
    font-family: monospace;
    font-size: 12px;
    color: #64748b;
    margin-top: 12px;
    text-align: right;
    border-top: 1px dashed rgba(255,255,255,0.1);
    padding-top: 8px;
}

@keyframes drawGraph {
    to { stroke-dashoffset: 0; }
}

@keyframes glowLine {
    from { filter: drop-shadow(0 0 2px rgba(0, 255, 148, 0.4)); }
    to { filter: drop-shadow(0 0 8px rgba(0, 255, 148, 0.8)); }
}

/* ========================================= */
/* COMPONENTE: GALLERY SCROLLER (STORIES)    */
/* ========================================= */

.gallery-section {
    position: relative;
    overflow: hidden;
}

/* --- HEADER ALIGNMENT --- */
.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 32px;
}

.gallery-header .header-content {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
}

.gallery-header .header-desc {
    max-width: 400px;
    text-align: right;
}

@media (max-width: 768px) {
    .gallery-header .header-desc {
        text-align: left;
    }
}

/* Hint visual de scroll */
.scroll-controls {
    margin-top: 16px;
    display: flex;
    justify-content: flex-end;
}

.scroll-hint {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-principal);
    opacity: 0.8;
    animation: slideHint 2s infinite ease-in-out;
}

@keyframes slideHint {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

/* --- SCROLLER ARCHITECTURE --- */
.gallery-scroller-wrapper {
    width: 100%;
    /* Permite scroll horizontal */
    overflow-x: auto;
    overflow-y: hidden;
    /* Oculta scrollbar padrão para visual limpo */
    scrollbar-width: none; 
    -ms-overflow-style: none;
    
    /* Ativa física de snap */
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    
    padding-bottom: 40px; /* Espaço para sombras */
    cursor: grab; /* Indica interatividade */
}

.gallery-scroller-wrapper::-webkit-scrollbar {
    display: none;
}

.gallery-scroller-wrapper:active {
    cursor: grabbing;
}

.gallery-track {
    display: flex;
    gap: 24px;
    width: max-content; /* Força largura baseada no conteúdo */
}

/* --- THE "BLEED" SPACER (Smart Alignment) --- */
/* Isso calcula o espaço exato para alinhar o primeiro card 
   com o container, mesmo sendo um scroller full-width */
.track-spacer {
    /* (Largura da Janela - Largura do Container) / 2 + Padding do Container */
    width: calc((100vw - 1280px) / 2 + 2rem);
    flex-shrink: 0;
}

@media (max-width: 1320px) {
    .track-spacer {
        width: 2rem; /* Fallback simples para telas menores */
    }
}

/* --- STORY CARD (The Component) --- */
.story-card {
    position: relative;
    /* Tamanhos fixos para ritmo consistente */
    width: 380px;
    height: 520px;
    flex-shrink: 0;
    border-radius: 24px;
    overflow: hidden;
    scroll-snap-align: start; /* Onde o scroll para */
    background: var(--color-escuro);
    
    /* Borda sutil para definição */
    border: 1px solid rgba(255, 255, 255, 0.1);
    
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.story-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Background Image & Zoom Effect */
.story-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.story-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease-ios);
}

.story-card:hover .story-bg img {
    transform: scale(1.08); /* Zoom lento e elegante */
}

/* Overlay Gradiente (Legibilidade) */
.story-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 23, 25, 0) 0%,
        rgba(0, 23, 25, 0.2) 40%,
        rgba(0, 23, 25, 0.9) 100%
    );
    z-index: 2;
}

/* Content Layout */
.story-content {
    position: relative;
    z-index: 3;
    height: 100%;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--color-branco);
}

/* Elements Styling */
.story-cat {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.story-body {
    transform: translateY(0);
    transition: transform 0.4s var(--ease-out);
}

.story-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 12px;
}

.story-quote {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.9;
    font-style: italic;
    margin-bottom: 20px;
    border-left: 2px solid var(--color-principal);
    padding-left: 12px;
}

/* Stat Footer */
.story-stat {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-indicator {
    width: 8px;
    height: 8px;
    background: #00D486;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(0, 212, 134, 0.6);
    animation: pulse 2s infinite;
}

.story-stat strong {
    font-size: 0.9rem;
    letter-spacing: 0.02em;
}

/* --- CORREÇÃO 1: CARD CORTADO NO HOVER --- */
.gallery-scroller-wrapper {
    /* Cria espaço superior para o card "subir" sem ser cortado pelo overflow hidden */
    padding-top: 24px !important;
    /* Aumenta o espaço inferior para a sombra grande não cortar */
    padding-bottom: 60px !important;
}

/* --- CORREÇÃO 2: ESPAÇAMENTO INEXISTENTE (HEADER) --- */
/* Força as margens utilitárias que não estão funcionando */
.mb-4 { margin-bottom: 1rem !important; }
.mb-12 { margin-bottom: 3rem !important; }

/* Reforça a estrutura do header que aparece colapsada na imagem */
.gallery-header {
    display: flex !important;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 32px !important; /* Força o espaço horizontal */
    margin-bottom: 4rem !important; /* Força espaço entre header e carrossel */
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px; /* Espaço entre a Pill e o Título */
}

/* Garante que a descrição tenha espaço se quebrar linha */
.header-desc {
    margin-top: 24px;
}
@media (min-width: 992px) {
    .header-desc { margin-top: 0; }
}

/* --- AJUSTE FINO: POSIÇÃO DAS SETAS --- */
/* Ajusta a posição vertical das setas de navegação se houver */
.splide__arrows {
    transform: translateY(-20px); /* Sobe um pouco para alinhar com o centro óptico dos cards */
}

/* Responsividade Mobile */
@media (max-width: 768px) {
    .story-card {
        width: 85vw; /* Card ocupa quase toda a tela no mobile */
        height: 460px;
    }
    
    .track-spacer {
        width: 24px; /* Padding simples */
    }
}

/* ========================================= */
/* COMPONENTE: DOWNLOADS & TRANSPARÊNCIA     */
/* ========================================= */

.downloads-section {
    background-color: var(--color-verde-claro); /* Fundo sutil para contraste com cards brancos */
    position: relative;
}

/* --- GRID LAYOUT (STICKY SIDEBAR) --- */
.downloads-grid {
    display: grid;
    gap: 60px;
    grid-template-columns: 1fr; /* Mobile first */
}

@media (min-width: 992px) {
    .downloads-grid {
        grid-template-columns: 1fr 1.6fr; /* Coluna de texto menor, lista maior */
        align-items: start;
    }

    /* A mágica do Sticky: O texto acompanha o scroll da lista */
    .downloads-intro {
        position: sticky;
        top: 140px; /* Margem do topo para não bater no Header fixo */
    }
}

/* --- INTRO COLUMN --- */
.downloads-intro .section-title {
    margin-bottom: 24px;
}

.downloads-intro .section-subtitle {
    font-size: 1.05rem;
    max-width: 400px; /* Limita largura para leitura confortável */
    margin-bottom: 40px;
}

/* GRI Badge (Selo de Certificação) */
.gri-badge {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: #FFFFFF;
    border: 1px solid var(--border-escura);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.gri-logo-placeholder {
    width: 48px;
    height: 48px;
    background: var(--color-principal);
    color: #FFF;
    font-weight: 800;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    letter-spacing: -0.05em;
}

.gri-text strong {
    display: block;
    font-size: 0.9rem;
    color: var(--color-escuro);
    line-height: 1.2;
    margin-bottom: 2px;
}

.gri-text small {
    display: block;
    font-size: 0.75rem;
    color: var(--color-nota);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- FILE LIST & CARDS --- */
.file-list {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Espaçamento entre arquivos */
}

.file-card {
    display: flex;
    align-items: flex-start; /* Alinha topo para lidar com descrições longas */
    gap: 24px;
    padding: 32px; /* Padding generoso - PEDIDO ATENDIDO */
    background: #FFFFFF;
    border: 1px solid transparent; /* Prepara para hover */
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s var(--ease-out);
    position: relative;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02); /* Sombra quase imperceptível */
}

/* Hover State: O Card "acende" */
.file-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    border-color: rgba(0, 123, 78, 0.3); /* Verde sutil na borda */
}

/* Ícone do Arquivo (Esquerda) */
.file-icon-box {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: var(--bg-neutral);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-principal);
    transition: background 0.3s ease, color 0.3s ease;
}

.file-card:hover .file-icon-box {
    background: var(--color-principal);
    color: #FFF;
}

/* Informações do Arquivo (Centro) */
.file-info {
    flex: 1; /* Ocupa o espaço restante */
}

.file-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-nota);
    margin-bottom: 8px;
}

/* Separação visual (dot) */
.dot-sep { opacity: 0.4; }

.file-type {
    color: var(--color-principal); /* Destaque para PDF/XLS */
}

.file-title {
    font-size: 1.15rem; /* Tamanho confortável */
    font-weight: 700;
    color: var(--color-escuro);
    margin-bottom: 8px;
    line-height: 1.3;
}

.file-desc {
    font-size: 0.95rem;
    color: var(--color-paragrafo);
    line-height: 1.6;
    margin: 0;
    opacity: 0.85;
}

/* Botão de Ação (Direita) */
.file-action {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-escura);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-escuro);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy */
}

.file-card:hover .file-action {
    background: var(--color-escuro);
    color: #FFF;
    border-color: var(--color-escuro);
    transform: scale(1.1);
}

/* Ícone de download animação */
.file-card:hover .file-action i {
    animation: downloadBounce 1s infinite;
}

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

/* --- RESPONSIVIDADE --- */
@media (max-width: 768px) {
    .file-card {
        flex-direction: column; /* Empilha conteúdo no mobile */
        gap: 16px;
        padding: 24px;
    }

    .file-action {
        align-self: flex-start; /* Alinha botão no início */
        margin-top: 8px;
    }
}

/* ==========================================================================
   COMPONENTE 8: RODAPÉ ESTRATÉGICO & CTA (ISOLADO)
   ========================================================================== */

/* --- 1. PRE-FOOTER (CTA) - Isolamento: .pre-footer --- */
.pre-footer {
    position: relative;
    /* Gradiente proprietário AIBA: Profundidade radial */
    background: radial-gradient(circle at center, #008f5a 0%, #007b4e 60%, #005f3c 100%);
    color: #FFFFFF;
    padding: 100px 0;
    overflow: hidden;
    isolation: isolate; /* Cria novo contexto de empilhamento */
}

/* Textura "Noise" para acabamento Matte Premium */
.pre-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.07;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

.pre-footer .container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* Tipografia Heroica do CTA */
.pre-footer h2 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 48px;
    color: #FFFFFF;
}

/* Container de Botões (Correção do Stretch) */
.pre-footer .flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

/* Botões Específicos do CTA */
.pre-footer .btn {
    min-width: 220px; /* Garante consistência visual */
    padding: 16px 32px;
    font-size: 1.05rem;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease;
}

.pre-footer .btn--white {
    background: #FFFFFF;
    color: var(--color-principal, #007b4e);
    border: 1px solid #FFFFFF;
}

.pre-footer .btn--white:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    background: #f8fcfb;
}

.pre-footer .btn--outline-white {
    background: transparent;
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.pre-footer .btn--outline-white:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #FFFFFF;
    transform: translateY(-4px);
}


/* --- 2. SITE FOOTER (MAIN) - Isolamento: .site-footer --- */
.site-footer {
    background-color: #001719; /* Preto Profundo AIBA */
    color: #FFFFFF;
    padding-top: 100px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    position: relative;
    z-index: 10;
}

/* Grid Principal */
.site-footer .footer-top {
    display: grid;
    gap: 40px;
    padding-bottom: 80px;
    /* Grid Padrão Mobile */
    grid-template-columns: 1fr;
}

/* Grid Desktop Assimétrico (Brand | Nav | Nav | Contact) */
@media (min-width: 1024px) {
    .site-footer .footer-top {
        grid-template-columns: 2fr 1fr 1fr 1.4fr;
        gap: 60px;
    }
}

/* Coluna 1: Marca */
.site-footer .footer-logo {
    display: block;
    margin-bottom: 24px;
}

.site-footer .footer-desc {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    font-size: 0.95rem;
    max-width: 340px;
}

/* Social Links */
.site-footer .social-links {
    display: flex;
    gap: 12px;
    margin-top: 32px;
}

.site-footer .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.site-footer .social-links a:hover {
    background: var(--color-principal, #007b4e);
    border-color: var(--color-principal, #007b4e);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 123, 78, 0.4);
}

/* Colunas 2 e 3: Navegação */
.site-footer .footer-heading {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 24px;
    display: block;
}

.site-footer .footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.site-footer .footer-nav li {
    margin: 0;
    padding: 0;
}

.site-footer .footer-nav a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: inline-block;
}

.site-footer .footer-nav a:hover {
    color: #FFFFFF;
    transform: translateX(6px);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

/* Coluna 4: Contato */
.site-footer address {
    font-style: normal;
}

.site-footer address p {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-size: 0.95rem;
}

.site-footer address i {
    color: var(--color-principal, #007b4e);
    flex-shrink: 0;
    margin-top: 3px;
}

/* --- 3. FOOTER BOTTOM (Copyright & Legal) --- */
.site-footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 32px 0 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
}

@media (min-width: 768px) {
    .site-footer .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.site-footer .copyright {
    opacity: 0.6;
}

.site-footer .footer-legal {
    display: flex;
    gap: 32px;
}

.site-footer .footer-legal a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.2s;
}

.site-footer .footer-legal a:hover {
    color: #FFFFFF;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Badges (ODS/GRI) */
.site-footer .footer-badges {
    display: flex;
    gap: 12px;
    align-items: center;
}

.site-footer .badge-text {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.3s ease;
    cursor: default;
}

.site-footer .badge-text:hover {
    border-color: rgba(255, 255, 255, 0.3);
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.05);
}

/* Utilitários Locais de Segurança (Para garantir espaçamento se o global falhar) */
.site-footer .mt-6 { margin-top: 1.5rem; }
.site-footer .mt-4 { margin-top: 1rem; }