/**
 * ══════════════════════════════════════════════════════════════
 * GRIÔ BURGER - DESIGN MODERNO AFROCÊNTRICO
 * ══════════════════════════════════════════════════════════════
 *
 * Versão 2.0 - Modernizada com glassmorphism, gradientes suaves,
 * e design contemporâneo mantendo a essência cultural.
 *
 * ══════════════════════════════════════════════════════════════
 */

/* ══════════════════════════════════════════════════════════════
   1. VARIÁVEIS CSS - PALETA MODERNA
   ══════════════════════════════════════════════════════════════ */

:root {
    /* Cores Primárias - VIBRANTES */
    --grio-vermelho: #FF1744;
    --grio-vermelho-escuro: #D50000;
    --grio-preto: #0D0D0D;
    --grio-preto-suave: #1A1A1A;
    --grio-dourado: #FFB300;
    --grio-dourado-vibrante: #FF6F00;
    --grio-verde: #00E676;
    --grio-verde-escuro: #00C853;
    --grio-verde-claro: #69F0AE;

    /* Cores Neutras Modernas */
    --grio-branco: #FFFFFF;
    --grio-cinza-claro: #F8F9FA;
    --grio-cinza: #E9ECEF;
    --grio-cinza-medio: #ADB5BD;
    --grio-cinza-escuro: #495057;

    /* Cores de Acento VIBRANTES */
    --grio-azul: #2979FF;
    --grio-azul-claro: #82B1FF;
    --grio-coral: #FF5252;
    --grio-roxo: #D500F9;
    --grio-roxo-claro: #E040FB;
    --grio-amarelo: #FFEA00;
    --grio-laranja: #FF3D00;
    --grio-ciano: #00E5FF;
    --grio-rosa: #FF4081;

    /* Gradientes VIBRANTES */
    --gradient-hero: linear-gradient(135deg,
        #FF1744 0%,
        #D500F9 50%,
        #0D0D0D 100%
    );

    --gradient-card: linear-gradient(135deg,
        rgba(255, 23, 68, 0.1) 0%,
        rgba(213, 0, 249, 0.05) 100%
    );

    --gradient-button: linear-gradient(135deg,
        #FF1744 0%,
        #FF6F00 50%,
        #FFEA00 100%
    );

    --gradient-accent: linear-gradient(90deg,
        #00E676 0%,
        #00E5FF 50%,
        #2979FF 100%
    );

    --gradient-rainbow: linear-gradient(90deg,
        #FF1744 0%,
        #FF6F00 16.66%,
        #FFEA00 33.33%,
        #00E676 50%,
        #2979FF 66.66%,
        #D500F9 83.33%,
        #FF4081 100%
    );

    --gradient-fire: linear-gradient(135deg,
        #FF3D00 0%,
        #FF1744 50%,
        #D500F9 100%
    );

    /* Sombras VIBRANTES com glow */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.20);
    --shadow-glow-red: 0 0 30px rgba(255, 23, 68, 0.6);
    --shadow-glow-purple: 0 0 30px rgba(213, 0, 249, 0.6);
    --shadow-glow-green: 0 0 30px rgba(0, 230, 118, 0.6);
    --shadow-glow-blue: 0 0 30px rgba(41, 121, 255, 0.6);
    --shadow-glow-yellow: 0 0 30px rgba(255, 234, 0, 0.6);

    /* Espaçamentos (Sistema 8pt) */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 48px;
    --space-2xl: 64px;
    --space-3xl: 96px;

    /* Tipografia Moderna */
    --font-display: 'Montserrat', sans-serif;
    --font-body: 'Inter', 'Open Sans', sans-serif;
    --font-accent: 'Poppins', sans-serif;

    /* Tamanhos Fluidos */
    --size-h1: clamp(40px, 8vw, 80px);
    --size-h2: clamp(32px, 6vw, 56px);
    --size-h3: clamp(24px, 4vw, 40px);
    --size-h4: clamp(20px, 3vw, 28px);
    --size-body: clamp(16px, 2vw, 18px);
    --size-small: clamp(14px, 1.5vw, 16px);

    /* Border Radius Moderno */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    /* Transições Suaves */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ══════════════════════════════════════════════════════════════
   2. RESET E BASE MODERNA
   ══════════════════════════════════════════════════════════════ */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: var(--size-body);
    line-height: 1.6;
    color: var(--grio-cinza-escuro);
    background: var(--grio-cinza-claro);
    overflow-x: hidden;
}

/* ══════════════════════════════════════════════════════════════
   3. TIPOGRAFIA MODERNA
   ══════════════════════════════════════════════════════════════ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--grio-preto);
}

h1 { font-size: var(--size-h1); margin-bottom: var(--space-lg); }
h2 { font-size: var(--size-h2); margin-bottom: var(--space-md); }
h3 { font-size: var(--size-h3); margin-bottom: var(--space-sm); }
h4 { font-size: var(--size-h4); margin-bottom: var(--space-sm); }

p {
    margin-bottom: var(--space-md);
    line-height: 1.7;
}

.text-gradient {
    background: var(--gradient-rainbow);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 6s ease infinite;
}

.text-balance {
    text-wrap: balance;
}

/* Textos com efeitos vibrantes */
.texto-resistencia {
    background: var(--gradient-fire);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 4s ease infinite;
    filter: drop-shadow(0 0 20px rgba(255, 23, 68, 0.5));
}

.texto-destaque {
    position: relative;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

.texto-brilhante {
    animation: glow-pulse 4s ease-in-out infinite;
}

/* ══════════════════════════════════════════════════════════════
   4. NAVBAR MODERNA
   ══════════════════════════════════════════════════════════════ */

.navbar-grio {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 2px solid transparent;
    border-image: var(--gradient-accent) 1;
    padding: 16px 0;
    transition: all var(--transition-base);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.navbar-grio:hover {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 900;
    color: var(--grio-preto);
    text-decoration: none;
    letter-spacing: -0.02em;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-logo:hover {
    color: var(--grio-vermelho);
    transform: translateY(-2px);
}

.navbar-menu {
    display: flex;
    gap: var(--space-xs);
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}

.navbar-link {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    color: var(--grio-cinza-escuro);
    text-decoration: none;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    position: relative;
    display: inline-block;
}

.navbar-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 16px;
    right: 16px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.navbar-link:hover,
.navbar-link.ativo {
    color: var(--grio-vermelho);
    background: rgba(255, 23, 68, 0.08);
}

.navbar-link:hover::after,
.navbar-link.ativo::after {
    transform: scaleX(1);
}

/* ══════════════════════════════════════════════════════════════
   5. HERO MODERNO
   ══════════════════════════════════════════════════════════════ */

.hero-grio {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--grio-preto);
    overflow: hidden;
    padding: var(--space-3xl) var(--space-lg);
}

/* Background com gradiente mesh VIBRANTE */
.hero-grio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 23, 68, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(0, 230, 118, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 50% 20%, rgba(41, 121, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(255, 234, 0, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 10% 10%, rgba(213, 0, 249, 0.3) 0%, transparent 40%);
    animation: mesh-flow 15s ease-in-out infinite;
    filter: blur(60px);
}

@keyframes mesh-flow {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.8;
    }
    25% {
        transform: scale(1.2) rotate(5deg);
        opacity: 1;
    }
    50% {
        transform: scale(1.1) rotate(-3deg);
        opacity: 0.9;
    }
    75% {
        transform: scale(1.3) rotate(7deg);
        opacity: 1;
    }
}

.hero-grio-conteudo {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1000px;
}

.hero-grio h1 {
    color: var(--grio-branco);
    font-size: clamp(48px, 10vw, 96px);
    font-weight: 900;
    margin-bottom: var(--space-md);
    letter-spacing: -0.03em;
    line-height: 1;
    animation: fade-in-up 0.8s ease-out;
    text-shadow:
        0 0 20px rgba(255, 23, 68, 0.5),
        0 0 40px rgba(255, 23, 68, 0.3),
        0 0 60px rgba(255, 23, 68, 0.2);
}

.hero-grio .subtitulo {
    font-family: var(--font-accent);
    font-size: clamp(18px, 3vw, 28px);
    font-weight: 600;
    color: var(--grio-dourado);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-lg);
}

.hero-grio .mensagem {
    font-size: clamp(16px, 2vw, 20px);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto var(--space-xl);
    font-weight: 400;
}

/* ══════════════════════════════════════════════════════════════
   6. BOTÕES MODERNOS
   ══════════════════════════════════════════════════════════════ */

.btn-resistencia {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 16px 32px;
    font-family: var(--font-accent);
    font-weight: 700;
    font-size: 16px;
    color: var(--grio-branco);
    background: var(--gradient-button);
    background-size: 200% 200%;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    animation: gradient-shift 4s ease infinite;
}

.btn-resistencia::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.3) 0%,
        rgba(255, 255, 255, 0) 100%
    );
    opacity: 0;
    transition: opacity var(--transition-base);
}

.btn-resistencia:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow:
        var(--shadow-lg),
        var(--shadow-glow-red),
        0 0 40px rgba(255, 234, 0, 0.4);
    animation: pulse-vibrant 1s ease-in-out infinite, gradient-shift 4s ease infinite;
}

.btn-resistencia:hover::before {
    opacity: 1;
}

.btn-resistencia:active {
    transform: translateY(0) scale(1);
    animation: shake-vibrant 0.3s ease-out;
}

.btn-aquilombamento {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 16px 32px;
    font-family: var(--font-accent);
    font-weight: 600;
    font-size: 16px;
    color: var(--grio-preto);
    background: var(--grio-branco);
    border: 2px solid var(--grio-branco);
    border-radius: var(--radius-full);
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.btn-aquilombamento:hover {
    background: transparent;
    color: var(--grio-branco);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ══════════════════════════════════════════════════════════════
   7. CARDS MODERNOS (GLASSMORPHISM)
   ══════════════════════════════════════════════════════════════ */

.card-homenageado {
    background: var(--grio-branco);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-slow);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.card-homenageado:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(220, 20, 60, 0.3), 0 10px 30px rgba(255, 215, 0, 0.2);
}

/* Borda superior moderna com gradiente ANIMADO */
.card-homenageado::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-rainbow);
    background-size: 200% 200%;
    animation: gradient-shift 5s ease infinite;
    z-index: 1;
}

.card-homenageado-imagem {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.card-homenageado:hover .card-homenageado-imagem {
    transform: scale(1.05);
}

.card-homenageado-conteudo {
    padding: var(--space-lg);
}

.card-homenageado-titulo {
    font-size: var(--size-h3);
    font-weight: 800;
    color: var(--grio-preto);
    margin-bottom: var(--space-xs);
    letter-spacing: -0.02em;
}

.card-homenageado-anos {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(230, 57, 70, 0.1);
    color: var(--grio-vermelho);
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: var(--space-sm);
}

.card-homenageado-resumo {
    color: var(--grio-cinza-escuro);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

/* ══════════════════════════════════════════════════════════════
   8. GRID MODERNO
   ══════════════════════════════════════════════════════════════ */

.grid-homenageados {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

/* Grid genérico para seções do Griô */
.grid-grio {
    display: grid;
    gap: var(--space-xl);
}

/* Grid 2 colunas */
.grid-grio-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

/* Grid 3 colunas */
.grid-grio-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

/* Grid 4 colunas */
.grid-grio-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
}

/* ══════════════════════════════════════════════════════════════
   9. SEÇÕES MODERNAS
   ══════════════════════════════════════════════════════════════ */

.secao {
    padding: var(--space-3xl) var(--space-lg);
    position: relative;
}

.secao-clara {
    background: var(--grio-cinza-claro);
    position: relative;
    overflow: hidden;
}

/* ===== EFEITOS PREMIUM SEÇÃO CLARA ===== */

/* Luz ancestral pulsante - Camada 1 */
.secao-clara::before {
    content: '' !important;
    position: absolute !important;
    top: -50% !important;
    left: -50% !important;
    width: 200% !important;
    height: 200% !important;
    background: radial-gradient(
        circle at center,
        rgba(255, 215, 0, 0.12) 0%,
        rgba(255, 140, 0, 0.06) 30%,
        transparent 60%
    ) !important;
    animation: luz-ancestral 20s ease-in-out infinite !important;
    pointer-events: none !important;
    z-index: 0 !important;
}

@keyframes luz-ancestral {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }
    33% {
        transform: translate(15%, 10%) scale(1.3);
        opacity: 0.8;
    }
    66% {
        transform: translate(-10%, 15%) scale(1.1);
        opacity: 0.6;
    }
}

/* Partículas de energia flutuando - Camada 2 */
.secao-clara::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-image:
        radial-gradient(circle, rgba(220, 20, 60, 0.06) 3px, transparent 3px),
        radial-gradient(circle, rgba(255, 140, 0, 0.06) 2px, transparent 2px),
        radial-gradient(circle, rgba(0, 100, 0, 0.05) 2px, transparent 2px) !important;
    background-size: 80px 80px, 120px 120px, 60px 60px !important;
    background-position: 0 0, 40px 40px, 20px 60px !important;
    animation: particulas-ascender 35s linear infinite !important;
    pointer-events: none !important;
    z-index: 0 !important;
}

@keyframes particulas-ascender {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(30px);
        opacity: 0.5;
    }
}

/* Garantir que conteúdo fique acima dos efeitos */
.secao-clara > * {
    position: relative !important;
    z-index: 1 !important;
}

.secao-escura {
    background: var(--grio-preto);
    color: var(--grio-branco);
}

.secao-ancestral {
    position: relative;
    background: linear-gradient(135deg,
        var(--grio-preto) 0%,
        #1a0a0a 50%,
        var(--grio-preto-suave) 100%
    );
    color: var(--grio-branco);
    overflow: hidden;
}

/* ===== EFEITOS PREMIUM SEÇÃO ANCESTRAL ===== */

/* Padrão africano animado - Mais visível */
.secao-ancestral::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background:
        repeating-linear-gradient(
            45deg,
            transparent 0px,
            transparent 40px,
            rgba(255, 215, 0, 0.06) 40px,
            rgba(255, 215, 0, 0.06) 43px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent 0px,
            transparent 40px,
            rgba(255, 215, 0, 0.06) 40px,
            rgba(255, 215, 0, 0.06) 43px
        ) !important;
    animation: padrao-pulsar 6s ease-in-out infinite !important;
    pointer-events: none !important;
    z-index: 1 !important;
}

@keyframes padrao-pulsar {
    0%, 100% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
}

/* Borda superior dourada animada - Mais intensa */
.secao-ancestral::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 8px !important;
    background: linear-gradient(90deg,
        var(--grio-vermelho-sangue) 0%,
        var(--grio-dourado-realeza) 25%,
        var(--grio-amarelo-oxum) 50%,
        var(--grio-dourado-realeza) 75%,
        var(--grio-vermelho-sangue) 100%
    ) !important;
    background-size: 200% 100% !important;
    box-shadow:
        0 3px 25px rgba(255, 215, 0, 0.6),
        0 5px 50px rgba(255, 215, 0, 0.4) !important;
    animation: borda-fluir 4s linear infinite !important;
    z-index: 2 !important;
}

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

/* Névoa mística flutuante */
.secao-ancestral {
    box-shadow: inset 0 0 200px rgba(255, 215, 0, 0.08) !important;
}

/* Garantir que conteúdo fique acima dos overlays */
.secao-ancestral > * {
    position: relative !important;
    z-index: 3 !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

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

/* ══════════════════════════════════════════════════════════════
   10. BADGES MODERNOS
   ══════════════════════════════════════════════════════════════ */

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-destaque {
    background: rgba(244, 162, 97, 0.15);
    color: var(--grio-dourado-vibrante);
}

.badge-info {
    background: rgba(42, 157, 143, 0.15);
    color: var(--grio-verde);
}

/* ══════════════════════════════════════════════════════════════
   11. FOOTER MODERNO
   ══════════════════════════════════════════════════════════════ */

.footer-grio {
    background: var(--grio-preto);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--space-3xl) var(--space-lg) var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grio h3,
.footer-grio h4 {
    color: var(--grio-branco);
    font-weight: 700;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-link:hover {
    color: var(--grio-dourado);
}

/* ══════════════════════════════════════════════════════════════
   12. ANIMAÇÕES MODERNAS
   ══════════════════════════════════════════════════════════════ */

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animação de escala com brilho */
@keyframes scale-glow {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animação de rotação 3D */
@keyframes flip-in {
    from {
        opacity: 0;
        transform: perspective(1000px) rotateY(-15deg);
    }
    to {
        opacity: 1;
        transform: perspective(1000px) rotateY(0deg);
    }
}

.biografia-entrada {
    position: relative;
    animation: fade-in-up 0.6s cubic-bezier(0.4, 0, 0.2, 1) backwards;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

/* Efeito hover premium nos cards de biografia */
.biografia-entrada:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Brilho sutil ao passar o mouse */
.biografia-entrada::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 215, 0, 0.15) 50%,
        transparent 100%
    );
    transition: left 0.6s ease;
    pointer-events: none;
    z-index: 1;
}

.biografia-entrada:hover::before {
    left: 100%;
}

/* Garantir que conteúdo do card fique acima do brilho */
.biografia-entrada > * {
    position: relative;
    z-index: 2;
}

.grupo-aquilombamento > * {
    animation: fade-in-up 0.6s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

.grupo-aquilombamento > *:nth-child(1) { animation-delay: 0.1s; }
.grupo-aquilombamento > *:nth-child(2) { animation-delay: 0.2s; }
.grupo-aquilombamento > *:nth-child(3) { animation-delay: 0.3s; }
.grupo-aquilombamento > *:nth-child(4) { animation-delay: 0.4s; }
.grupo-aquilombamento > *:nth-child(5) { animation-delay: 0.5s; }
.grupo-aquilombamento > *:nth-child(6) { animation-delay: 0.6s; }
.grupo-aquilombamento > *:nth-child(7) { animation-delay: 0.7s; }
.grupo-aquilombamento > *:nth-child(8) { animation-delay: 0.8s; }
.grupo-aquilombamento > *:nth-child(9) { animation-delay: 0.9s; }
.grupo-aquilombamento > *:nth-child(10) { animation-delay: 1.0s; }

/* ===== CLASSES DE ANIMAÇÃO PREMIUM ===== */

/* Cards com efeito de entrada escala */
.card-escala {
    animation: scale-glow 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

/* Cards com efeito flip 3D */
.card-flip {
    animation: flip-in 0.8s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

/* Títulos com brilho pulsante */
.titulo-brilho {
    animation: titulo-pulsar 3s ease-in-out infinite;
}

@keyframes titulo-pulsar {
    0%, 100% {
        text-shadow:
            0 0 10px rgba(255, 215, 0, 0.3),
            0 0 20px rgba(255, 215, 0, 0.2);
    }
    50% {
        text-shadow:
            0 0 20px rgba(255, 215, 0, 0.6),
            0 0 40px rgba(255, 215, 0, 0.4),
            0 0 60px rgba(255, 215, 0, 0.2);
    }
}

/* Efeito de reveal ao scroll */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Efeito parallax sutil */
.parallax-element {
    transition: transform 0.3s ease-out;
}

/* Animação de Pulso Vibrante */
@keyframes pulse-vibrant {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 23, 68, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(255, 23, 68, 0);
    }
}

/* Animação de Onda de Cores */
@keyframes rainbow-wave {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Animação de Rotação com Glow */
@keyframes rotate-glow {
    0% {
        transform: rotate(0deg);
        filter: drop-shadow(0 0 10px rgba(255, 23, 68, 0.8));
    }
    25% {
        filter: drop-shadow(0 0 15px rgba(0, 230, 118, 0.8));
    }
    50% {
        transform: rotate(180deg);
        filter: drop-shadow(0 0 20px rgba(41, 121, 255, 0.8));
    }
    75% {
        filter: drop-shadow(0 0 15px rgba(255, 234, 0, 0.8));
    }
    100% {
        transform: rotate(360deg);
        filter: drop-shadow(0 0 10px rgba(255, 23, 68, 0.8));
    }
}

/* Animação de Bounce Energético */
@keyframes bounce-energy {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    25% {
        transform: translateY(-20px) scale(1.1);
    }
    50% {
        transform: translateY(0) scale(1);
    }
    75% {
        transform: translateY(-10px) scale(1.05);
    }
}

/* Animação de Shake Vibrante */
@keyframes shake-vibrant {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-10px); }
    20%, 40%, 60%, 80% { transform: translateX(10px); }
}

/* Animação de Glow Pulsante */
@keyframes glow-pulse {
    0%, 100% {
        box-shadow:
            0 0 20px rgba(255, 23, 68, 0.6),
            0 0 40px rgba(255, 23, 68, 0.4),
            0 0 60px rgba(255, 23, 68, 0.2);
    }
    25% {
        box-shadow:
            0 0 20px rgba(0, 230, 118, 0.6),
            0 0 40px rgba(0, 230, 118, 0.4),
            0 0 60px rgba(0, 230, 118, 0.2);
    }
    50% {
        box-shadow:
            0 0 20px rgba(41, 121, 255, 0.6),
            0 0 40px rgba(41, 121, 255, 0.4),
            0 0 60px rgba(41, 121, 255, 0.2);
    }
    75% {
        box-shadow:
            0 0 20px rgba(255, 234, 0, 0.6),
            0 0 40px rgba(255, 234, 0, 0.4),
            0 0 60px rgba(255, 234, 0, 0.2);
    }
}

/* Animação de Gradiente Animado */
@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Animação de Float (Flutuação) */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Animação de Zoom In Rotate */
@keyframes zoom-rotate {
    0% {
        transform: scale(0) rotate(0deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.2) rotate(180deg);
    }
    100% {
        transform: scale(1) rotate(360deg);
        opacity: 1;
    }
}

/* Animação de Slide In com Bounce */
@keyframes slide-bounce {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    60% {
        transform: translateX(20px);
        opacity: 1;
    }
    80% {
        transform: translateX(-10px);
    }
    100% {
        transform: translateX(0);
    }
}

/* ══════════════════════════════════════════════════════════════
   13. PROGRESS BAR MODERNO
   ══════════════════════════════════════════════════════════════ */

.progress-grio {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-rainbow);
    background-size: 200% 200%;
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.1s linear;
    z-index: 9999;
    box-shadow:
        0 2px 10px rgba(255, 23, 68, 0.5),
        0 0 20px rgba(255, 23, 68, 0.3);
    animation: gradient-shift 3s ease infinite;
}

/* ══════════════════════════════════════════════════════════════
   14. PADRÕES GEOMÉTRICOS AFRICANOS AUTÊNTICOS
   ══════════════════════════════════════════════════════════════
   Baseados em:
   - Tecido Kente (Gana - Povo Ashanti)
   - Mudcloth/Bogolan (Mali)
   - Máscaras e escarificações tradicionais
   - Símbolos Adinkra
   ══════════════════════════════════════════════════════════════ */

/* Padrão Chevron/Zigzag - "Caminho dos Ancestrais" */
.padrao-chevron-africano {
    position: relative;
    overflow: hidden;
}

.padrao-chevron-africano::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background-image:
        repeating-linear-gradient(
            45deg,
            var(--grio-vermelho) 0px,
            var(--grio-vermelho) 10px,
            transparent 10px,
            transparent 20px,
            var(--grio-dourado) 20px,
            var(--grio-dourado) 30px,
            transparent 30px,
            transparent 40px,
            var(--grio-verde) 40px,
            var(--grio-verde) 50px,
            transparent 50px,
            transparent 60px,
            var(--grio-azul) 60px,
            var(--grio-azul) 70px,
            transparent 70px,
            transparent 80px
        ),
        repeating-linear-gradient(
            -45deg,
            var(--grio-vermelho) 0px,
            var(--grio-vermelho) 10px,
            transparent 10px,
            transparent 20px,
            var(--grio-dourado) 20px,
            var(--grio-dourado) 30px,
            transparent 30px,
            transparent 40px,
            var(--grio-verde) 40px,
            var(--grio-verde) 50px,
            transparent 50px,
            transparent 60px,
            var(--grio-azul) 60px,
            var(--grio-azul) 70px,
            transparent 70px,
            transparent 80px
        );
    pointer-events: none;
    z-index: 0;
}

/* Padrão Kente - Entrelaçamento Tradicional */
.padrao-kente {
    position: relative;
    overflow: hidden;
}

.padrao-kente::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.08;
    background-image:
        repeating-linear-gradient(
            0deg,
            var(--grio-vermelho) 0px,
            var(--grio-vermelho) 2px,
            transparent 2px,
            transparent 12px
        ),
        repeating-linear-gradient(
            90deg,
            var(--grio-preto) 0px,
            var(--grio-preto) 2px,
            transparent 2px,
            transparent 12px
        ),
        repeating-linear-gradient(
            0deg,
            var(--grio-dourado) 6px,
            var(--grio-dourado) 8px,
            transparent 8px,
            transparent 12px
        ),
        repeating-linear-gradient(
            90deg,
            var(--grio-verde) 6px,
            var(--grio-verde) 8px,
            transparent 8px,
            transparent 12px
        );
    pointer-events: none;
    z-index: 0;
    animation: kente-weave 20s linear infinite;
}

@keyframes kente-weave {
    0% { background-position: 0 0, 0 0, 0 0, 0 0; }
    100% { background-position: 0 120px, 120px 0, 0 60px, 60px 0; }
}

/* Padrão Mudcloth - Linhas e Símbolos */
.padrao-mudcloth {
    position: relative;
    overflow: hidden;
}

.padrao-mudcloth::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.06;
    background-image:
        /* Linhas horizontais */
        repeating-linear-gradient(
            0deg,
            var(--grio-preto) 0px,
            var(--grio-preto) 3px,
            transparent 3px,
            transparent 40px
        ),
        /* Linhas verticais */
        repeating-linear-gradient(
            90deg,
            var(--grio-preto) 0px,
            var(--grio-preto) 3px,
            transparent 3px,
            transparent 40px
        ),
        /* Diagonais */
        repeating-linear-gradient(
            45deg,
            var(--grio-preto) 0px,
            var(--grio-preto) 2px,
            transparent 2px,
            transparent 60px
        );
    pointer-events: none;
    z-index: 0;
}

/* Padrão Triângulos - Escarificação Tradicional */
.padrao-triangulos-africanos {
    position: relative;
    overflow: hidden;
}

.padrao-triangulos-africanos::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background-image:
        linear-gradient(45deg, var(--grio-vermelho) 25%, transparent 25%),
        linear-gradient(-45deg, var(--grio-vermelho) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, var(--grio-dourado) 75%),
        linear-gradient(-45deg, transparent 75%, var(--grio-dourado) 75%);
    background-size: 40px 40px;
    background-position: 0 0, 0 20px, 20px -20px, -20px 0px;
    pointer-events: none;
    z-index: 0;
}

/* Padrão Diamantes - Símbolo de Riqueza e Status */
.padrao-diamantes-africanos {
    position: relative;
    overflow: hidden;
}

.padrao-diamantes-africanos::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.08;
    background-image:
        repeating-linear-gradient(
            45deg,
            var(--grio-dourado) 0px,
            var(--grio-dourado) 15px,
            transparent 15px,
            transparent 30px,
            var(--grio-verde) 30px,
            var(--grio-verde) 45px,
            transparent 45px,
            transparent 60px
        ),
        repeating-linear-gradient(
            -45deg,
            var(--grio-dourado) 0px,
            var(--grio-dourado) 15px,
            transparent 15px,
            transparent 30px,
            var(--grio-verde) 30px,
            var(--grio-verde) 45px,
            transparent 45px,
            transparent 60px
        );
    pointer-events: none;
    z-index: 0;
}

/* Padrão Completo: Kente + Chevron + Diamantes */
.padrao-africano-completo {
    position: relative;
    overflow: hidden;
    background: var(--grio-preto-suave);
}

.padrao-africano-completo::before,
.padrao-africano-completo::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.padrao-africano-completo::before {
    opacity: 0.12;
    background-image:
        repeating-linear-gradient(
            45deg,
            var(--grio-vermelho) 0px,
            var(--grio-vermelho) 8px,
            transparent 8px,
            transparent 16px
        ),
        repeating-linear-gradient(
            -45deg,
            var(--grio-dourado) 0px,
            var(--grio-dourado) 8px,
            transparent 8px,
            transparent 16px
        );
    animation: pattern-slide 30s linear infinite;
    z-index: 1;
}

.padrao-africano-completo::after {
    opacity: 0.08;
    background-image:
        repeating-linear-gradient(
            0deg,
            var(--grio-verde) 0px,
            var(--grio-verde) 2px,
            transparent 2px,
            transparent 20px
        ),
        repeating-linear-gradient(
            90deg,
            var(--grio-azul) 0px,
            var(--grio-azul) 2px,
            transparent 2px,
            transparent 20px
        );
    z-index: 0;
}

@keyframes pattern-slide {
    0% { background-position: 0 0, 0 0; }
    100% { background-position: 160px 160px, -160px 160px; }
}

/* ══════════════════════════════════════════════════════════════
   LISTRAS DE TRANSIÇÃO - PADRÕES AFRICANOS AUTÊNTICOS
   ══════════════════════════════════════════════════════════════
   10 VARIAÇÕES baseadas em:
   - Cores Pan-Africanas: Vermelho, Preto, Verde, Dourado
   - Kente Cloth (Gana - séc. XVII)
   - Mudcloth/Bogolan (Mali - Bambara)
   - Kuba Cloth (Congo)
   - Símbolos Adinkra (Gana/Costa do Marfim)

   UNESCO reconheceu Kente como Patrimônio Cultural Imaterial (2024)
   ══════════════════════════════════════════════════════════════ */

/* CORES AUTÊNTICAS */
:root {
    /* Pan-Africanas */
    --africa-vermelho: #DC143C;
    --africa-preto: #000000;
    --africa-verde: #006400;
    --africa-dourado: #FFD700;

    /* Afro-Brasileiras */
    --africa-azul: #003366;
    --africa-terracota: #E2725B;
    --africa-branco: #FFFFFF;
    --africa-laranja: #FF8C00;
}

/* ══════════════════════════════════════════════════════════════
   VARIAÇÃO 1: KENTE ADWENEASA - "Exauri minhas habilidades"
   Combinação: Preto + Vermelho + Dourado + Branco
   ══════════════════════════════════════════════════════════════ */
.listra-kente-1,
.listra-kente {
    height: 100px;
    background:
        repeating-linear-gradient(
            90deg,
            var(--africa-preto) 0px,
            var(--africa-preto) 20px,
            var(--africa-vermelho) 20px,
            var(--africa-vermelho) 30px,
            var(--africa-dourado) 30px,
            var(--africa-dourado) 50px,
            var(--africa-branco) 50px,
            var(--africa-branco) 55px,
            var(--africa-dourado) 55px,
            var(--africa-dourado) 75px,
            var(--africa-vermelho) 75px,
            var(--africa-vermelho) 85px,
            var(--africa-preto) 85px,
            var(--africa-preto) 105px
        );
}

/* ══════════════════════════════════════════════════════════════
   VARIAÇÃO 2: KENTE SIKA FRE MOGYA - "Dinheiro atrai parentes"
   Combinação: Terracota + Verde + Dourado + Preto
   ══════════════════════════════════════════════════════════════ */
.listra-kente-2 {
    height: 100px;
    background:
        repeating-linear-gradient(
            90deg,
            var(--africa-terracota) 0px,
            var(--africa-terracota) 25px,
            var(--africa-verde) 25px,
            var(--africa-verde) 40px,
            var(--africa-dourado) 40px,
            var(--africa-dourado) 55px,
            var(--africa-preto) 55px,
            var(--africa-preto) 65px,
            var(--africa-dourado) 65px,
            var(--africa-dourado) 80px
        );
}

/* ══════════════════════════════════════════════════════════════
   VARIAÇÃO 3: MUDCLOTH NKYINKYIM - Ziguezague (Versatilidade)
   Padrão geométrico do Mali
   ══════════════════════════════════════════════════════════════ */
.listra-mudcloth-1,
.listra-mudcloth {
    height: 90px;
    background: var(--africa-terracota);
    position: relative;
}

.listra-mudcloth-1::before,
.listra-mudcloth::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        repeating-linear-gradient(
            90deg,
            var(--africa-preto) 0px,
            var(--africa-preto) 3px,
            transparent 3px,
            transparent 30px
        ),
        repeating-linear-gradient(
            0deg,
            var(--africa-preto) 0px,
            var(--africa-preto) 3px,
            transparent 3px,
            transparent 30px
        );
}

/* ══════════════════════════════════════════════════════════════
   VARIAÇÃO 4: CHEVRON DWENNIMMEN - Chifres de Carneiro (Força)
   Padrão em V tradicional
   ══════════════════════════════════════════════════════════════ */
.listra-chevron-1,
.listra-chevron {
    height: 100px;
    background: var(--africa-preto);
    position: relative;
}

.listra-chevron-1::before,
.listra-chevron::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(45deg, var(--africa-vermelho) 50%, transparent 50%),
        linear-gradient(-45deg, var(--africa-vermelho) 50%, transparent 50%),
        linear-gradient(45deg, transparent 50%, var(--africa-dourado) 50%),
        linear-gradient(-45deg, transparent 50%, var(--africa-dourado) 50%);
    background-size: 40px 40px;
    background-position: 0 0, 20px 0, 20px 20px, 0 20px;
}

/* ══════════════════════════════════════════════════════════════
   VARIAÇÃO 5: DIAMANTES GYE NYAME - "Exceto Deus" (Supremacia)
   Padrão de diamantes entrelaçados
   ══════════════════════════════════════════════════════════════ */
.listra-diamantes-1,
.listra-diamantes {
    height: 100px;
    background: var(--africa-azul);
    position: relative;
}

.listra-diamantes-1::before,
.listra-diamantes::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background:
        repeating-linear-gradient(
            45deg,
            var(--africa-dourado) 0px,
            var(--africa-dourado) 2px,
            transparent 2px,
            transparent 30px
        ),
        repeating-linear-gradient(
            -45deg,
            var(--africa-dourado) 0px,
            var(--africa-dourado) 2px,
            transparent 2px,
            transparent 30px
        ),
        repeating-linear-gradient(
            45deg,
            transparent 15px,
            var(--africa-branco) 15px,
            var(--africa-branco) 17px,
            transparent 17px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent 15px,
            var(--africa-branco) 15px,
            var(--africa-branco) 17px,
            transparent 17px
        );
}

/* ══════════════════════════════════════════════════════════════
   VARIAÇÃO 6: ZIGZAG SANKOFA - "Retorne e pegue" (Aprenda)
   Listras diagonais paralelas
   ══════════════════════════════════════════════════════════════ */
.listra-zigzag-1,
.listra-zigzag {
    height: 80px;
    background:
        repeating-linear-gradient(
            45deg,
            var(--africa-vermelho) 0px,
            var(--africa-vermelho) 15px,
            var(--africa-dourado) 15px,
            var(--africa-dourado) 30px,
            var(--africa-verde) 30px,
            var(--africa-verde) 45px,
            var(--africa-preto) 45px,
            var(--africa-preto) 60px
        );
}

/* Listra Diamantes - Riqueza, Poder e Unidade
   Significado: 4 pontos = direções cardeais, caminhos que se cruzam */
.listra-diamantes {
    height: 100px;
    position: relative;
    overflow: hidden;
    background: var(--grio-preto);
}

.listra-diamantes::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Padrão de diamantes entrelaçados tradicional */
    background-image:
        repeating-linear-gradient(
            45deg,
            var(--grio-dourado) 0px,
            var(--grio-dourado) 25px,
            transparent 25px,
            transparent 50px
        ),
        repeating-linear-gradient(
            -45deg,
            var(--grio-dourado) 0px,
            var(--grio-dourado) 25px,
            transparent 25px,
            transparent 50px
        ),
        repeating-linear-gradient(
            45deg,
            transparent 0px,
            transparent 12.5px,
            var(--grio-verde) 12.5px,
            var(--grio-verde) 37.5px,
            transparent 37.5px,
            transparent 50px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent 0px,
            transparent 12.5px,
            var(--grio-verde) 12.5px,
            var(--grio-verde) 37.5px,
            transparent 37.5px,
            transparent 50px
        );
}

/* ══════════════════════════════════════════════════════════════
   VARIAÇÃO 7: KUBA CLOTH - República Democrática do Congo
   Padrão de quadrados entrelaçados
   ══════════════════════════════════════════════════════════════ */
.listra-kuba {
    height: 100px;
    background: var(--africa-preto);
    position: relative;
}

.listra-kuba::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background:
        repeating-linear-gradient(
            0deg,
            var(--africa-terracota) 0px,
            var(--africa-terracota) 25px,
            var(--africa-dourado) 25px,
            var(--africa-dourado) 50px
        ),
        repeating-linear-gradient(
            90deg,
            transparent 0px,
            transparent 12.5px,
            var(--africa-branco) 12.5px,
            var(--africa-branco) 15px,
            transparent 15px,
            transparent 50px
        );
}

/* ══════════════════════════════════════════════════════════════
   VARIAÇÃO 8: PAN-AFRICANA BESE SAKA - "Nós de Cola" (União)
   4 Cores da Bandeira Pan-Africana
   ══════════════════════════════════════════════════════════════ */
.listra-pan-africana-1,
.listra-pan-africana {
    height: 60px;
    background: linear-gradient(90deg,
        var(--africa-vermelho) 0%,
        var(--africa-vermelho) 25%,
        var(--africa-preto) 25%,
        var(--africa-preto) 50%,
        var(--africa-verde) 50%,
        var(--africa-verde) 75%,
        var(--africa-dourado) 75%,
        var(--africa-dourado) 100%
    );
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.15);
}

/* ══════════════════════════════════════════════════════════════
   VARIAÇÃO 9: TRIÂNGULOS FIHANKRA - "Casa/Segurança" (Proteção)
   Padrão de triângulos alternados
   ══════════════════════════════════════════════════════════════ */
.listra-triangulos-1,
.listra-triangulos {
    height: 100px;
    background: var(--africa-verde);
    position: relative;
}

.listra-triangulos-1::before,
.listra-triangulos::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(45deg, var(--africa-dourado) 50%, transparent 50%),
        linear-gradient(-45deg, var(--africa-dourado) 50%, transparent 50%),
        linear-gradient(45deg, transparent 50%, var(--africa-preto) 50%),
        linear-gradient(-45deg, transparent 50%, var(--africa-preto) 50%);
    background-size: 30px 30px;
    background-position: 0 0, 15px 0, 15px 15px, 0 15px;
}

/* ══════════════════════════════════════════════════════════════
   VARIAÇÃO 10: ESPIRITUAL NSOROMMA - "Estrela" (Proteção Divina)
   Combinação: Azul + Branco + Dourado
   ══════════════════════════════════════════════════════════════ */
.listra-espiritual,
.listra-rainbow {
    height: 90px;
    background: var(--africa-azul);
    position: relative;
}

.listra-espiritual::before,
.listra-rainbow::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background:
        repeating-linear-gradient(
            90deg,
            var(--africa-branco) 0px,
            var(--africa-branco) 5px,
            transparent 5px,
            transparent 20px,
            var(--africa-dourado) 20px,
            var(--africa-dourado) 25px,
            transparent 25px,
            transparent 40px
        ),
        repeating-linear-gradient(
            0deg,
            transparent 0px,
            transparent 40px,
            var(--africa-branco) 40px,
            var(--africa-branco) 45px,
            transparent 45px,
            transparent 90px
        );
}

/* ══════════════════════════════════════════════════════════════
   15. ELEMENTOS GLASSMORPHISM
   ══════════════════════════════════════════════════════════════ */

.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
}

.glass-dark {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
}

/* ══════════════════════════════════════════════════════════════
   14. RODA ANCESTRAL (ANIMAÇÃO PREMIUM)
   ══════════════════════════════════════════════════════════════ */

.roda-ancestral {
    position: relative;
    min-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: var(--space-2xl) 0;
    perspective: 1500px;
}

/* ===== FOGUEIRA/TAMBOR CENTRAL ===== */
.fogueira-ancestral {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

/* Chama pulsante ao redor do tambor */
.chama-ancestral {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle,
        rgba(255, 215, 0, 0.4) 0%,
        rgba(255, 69, 0, 0.3) 30%,
        rgba(220, 20, 60, 0.2) 60%,
        transparent 100%
    );
    animation: chama-pulsar 3s ease-in-out infinite;
}

@keyframes chama-pulsar {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.3);
        opacity: 1;
    }
}

/* Tambor central */
.tambor-centro {
    position: relative;
    font-size: 100px;
    z-index: 2;
    animation: tambor-batucar 2s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.8));
}

@keyframes tambor-batucar {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    10% {
        transform: scale(0.95) rotate(-5deg);
    }
    20% {
        transform: scale(1.1) rotate(5deg);
    }
    30% {
        transform: scale(1) rotate(0deg);
    }
}

/* Raízes na base */
.raizes-base {
    position: absolute;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 80px;
    background:
        radial-gradient(ellipse at 30% 0%, rgba(139, 69, 19, 0.3) 0%, transparent 70%),
        radial-gradient(ellipse at 50% 0%, rgba(139, 69, 19, 0.4) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 0%, rgba(139, 69, 19, 0.3) 0%, transparent 70%);
    filter: blur(8px);
    opacity: 0.6;
}

/* ===== PARTÍCULAS DE AXÉ ===== */
.particula-axe {
    position: absolute;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, var(--grio-dourado-realeza), var(--grio-amarelo-oxum));
    border-radius: 50%;
    left: var(--x);
    top: var(--y);
    animation: axe-flutuar 6s ease-in-out infinite;
    animation-delay: var(--delay);
    box-shadow: 0 0 20px var(--grio-dourado-realeza);
    opacity: 0;
}

@keyframes axe-flutuar {
    0%, 100% {
        transform: translate(0, 0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate(
            calc(var(--x) * 0.3 - 15%),
            calc(var(--y) * -0.2 - 20%)
        ) scale(1.5);
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translate(0, -50px) scale(0);
        opacity: 0;
    }
}

/* ===== CARDS DOS PILARES ===== */
.pilar-card {
    position: absolute;
    width: 320px;
    top: 50%;
    left: 50%;
    transform-origin: 50% 50%;
    animation: girar-roda 40s linear infinite;
}

/* Cada card em posição diferente ao redor do círculo */
.pilar-card[data-posicao="1"] {
    animation-delay: 0s;
}

.pilar-card[data-posicao="2"] {
    animation-delay: -10s;
}

.pilar-card[data-posicao="3"] {
    animation-delay: -20s;
}

.pilar-card[data-posicao="4"] {
    animation-delay: -30s;
}

@keyframes girar-roda {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) translateY(-320px) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg) translateY(-320px) rotate(-360deg);
    }
}

/* Conteúdo do card */
.pilar-conteudo {
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0.05) 100%
    );
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid var(--grio-dourado-realeza);
    border-radius: var(--radius-lg);
    padding: var(--space-md) var(--space-lg);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 40px rgba(255, 215, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Brilho ao passar o mouse */
.pilar-card:hover .pilar-conteudo {
    transform: scale(1.08);
    border-color: var(--grio-amarelo-oxum);
    box-shadow:
        0 12px 48px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 0 60px rgba(255, 215, 0, 0.5);
    animation-play-state: paused;
}

/* Efeito de brilho no card */
.pilar-conteudo::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 70%
    );
    transform: rotate(45deg);
    animation: brilho-girar 4s linear infinite;
}

@keyframes brilho-girar {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.pilar-icone {
    font-size: 60px;
    margin-bottom: var(--space-sm);
    text-align: center;
    filter: drop-shadow(0 4px 12px rgba(255, 215, 0, 0.4));
    animation: icone-pulsar 3s ease-in-out infinite;
}

@keyframes icone-pulsar {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.pilar-titulo {
    font-family: var(--font-accent);
    font-size: 18px;
    color: var(--grio-amarelo-oxum);
    margin-bottom: var(--space-xs);
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.pilar-texto {
    color: var(--grio-creme-palmares);
    line-height: 1.6;
    text-align: center;
    font-size: 14px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* ══════════════════════════════════════════════════════════════
   15. RESPONSIVIDADE MODERNA
   ══════════════════════════════════════════════════════════════ */

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

    .grid-homenageados,
    .grid-grio,
    .grid-grio-2,
    .grid-grio-3,
    .grid-grio-4 {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    /* Roda Ancestral em mobile: cards empilhados */
    .roda-ancestral {
        min-height: auto;
        flex-direction: column;
        gap: var(--space-lg);
        padding: var(--space-lg);
    }

    .fogueira-ancestral {
        position: relative;
        transform: none;
        top: auto;
        left: auto;
        margin-bottom: var(--space-xl);
    }

    .particula-axe {
        display: none;
    }

    .pilar-card {
        position: relative;
        width: 100%;
        transform: none !important;
        animation: none !important;
        top: auto;
        left: auto;
        margin-bottom: var(--space-lg);
    }

    .pilar-card:hover .pilar-conteudo {
        animation-play-state: running;
    }

    .raizes-base {
        bottom: -40px;
        width: 200px;
        height: 40px;
    }

    .hero-grio {
        min-height: 100vh;
        padding: var(--space-xl) var(--space-md);
    }

    .btn-resistencia,
    .btn-aquilombamento {
        width: 100%;
        justify-content: center;
    }
}

/* ══════════════════════════════════════════════════════════════
   16. UTILITÁRIOS MODERNOS
   ══════════════════════════════════════════════════════════════ */

.mt-xs { margin-top: var(--space-xs); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

.mb-xs { margin-bottom: var(--space-xs); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }

/* ══════════════════════════════════════════════════════════════
   17. ACESSIBILIDADE
   ══════════════════════════════════════════════════════════════ */

*:focus-visible {
    outline: 2px solid var(--grio-vermelho);
    outline-offset: 4px;
    border-radius: var(--radius-sm);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/**
 * ══════════════════════════════════════════════════════════════
 * FIM DO CSS MODERNO GRIÔ BURGER
 * Design contemporâneo mantendo a essência afrocêntrica
 * ══════════════════════════════════════════════════════════════
 */
