
@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Bebas+Neue&family=Poppins:ital,wght@0,300;0,400;0,600;0,700;0,900&display=swap');

:root {
    --cri-verde: #145A32;
    --cri-verde-limao: #27A25C;
    --cri-verde-escuro: #0B3D21;
    --cri-preto: #1A110F;
    --cri-preto-2: #241612;
    --cri-terracota: #C73E1D;
    --cri-laranja: #E67E22;
    --cri-ocre: #D35400;
    --cri-dourado: #F1C40F;
    --cri-dourado-claro: #FFD75E;
    --cri-creme: #F9F5EC;
    --cri-bege: #EFE6D5;
    --cri-font-display: 'Archivo Black', sans-serif;
    --cri-font-titulo: 'Bebas Neue', sans-serif;
    --cri-font-corpo: 'Poppins', sans-serif;
}

body {
    font-family: var(--cri-font-corpo);
}

/* ========================================
   PADRÕES DE FUNDO (SVG data-uri)
======================================== */

/* Listras Kente */
.cri-padrao-kente {
    background-image: linear-gradient(90deg,
        rgba(0,0,0,0.28) 0 8px,
        rgba(241,196,15,0.5) 8px 12px,
        rgba(199,62,29,0.5) 12px 20px,
        rgba(20,90,50,0.6) 20px 28px,
        rgba(241,196,15,0.4) 28px 32px,
        rgba(0,0,0,0.3) 32px 40px);
    background-size: 40px 100%;
}

/* Chevrons Sankofa (ondas em V) */
.cri-padrao-chevron {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90' viewBox='0 0 90 90'%3E%3Cpath d='M0 0 L20 20 L40 0 L40 20 L20 40 L0 20 Z' fill='%23D35400' fill-opacity='0.10'/%3E%3Cpath d='M45 0 L65 20 L85 0 L85 20 L65 40 L45 20 Z' fill='%23F1C40F' fill-opacity='0.10'/%3E%3Cpath d='M0 45 L20 65 L40 45 L40 65 L20 85 L0 65 Z' fill='%23F1C40F' fill-opacity='0.10'/%3E%3Cpath d='M45 45 L65 65 L85 45 L85 65 L65 85 L45 65 Z' fill='%23D35400' fill-opacity='0.10'/%3E%3C/svg%3E");
}

/* Diamantes de trançado (Gye Nyame) */
.cri-padrao-trancado {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath d='M40 0 L80 40 L40 80 L0 40 Z' fill='none' stroke='%23F1C40F' stroke-width='2' stroke-opacity='0.25'/%3E%3Cpath d='M40 20 L60 40 L40 60 L20 40 Z' fill='%23E67E22' fill-opacity='0.20'/%3E%3Ccircle cx='40' cy='40' r='7' fill='%23F1C40F' fill-opacity='0.35'/%3E%3C/svg%3E");
}

/* Pontilhado tribal */
.cri-padrao-pontos {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 44 44'%3E%3Ccircle cx='11' cy='11' r='5' fill='%23F1C40F' fill-opacity='0.18'/%3E%3Ccircle cx='33' cy='33' r='5' fill='%23E67E22' fill-opacity='0.18'/%3E%3C/svg%3E");
}

/* ========================================
    SÍMBOLO ADINKRAHENE 
======================================== */
.cri-simbolo {
    position: relative;
    width: 86px;
    height: 86px;
    border-radius: 50%;
    border: 2px solid currentColor;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.cri-simbolo::before {
    content: "";
    position: absolute;
    inset: 13px;
    border-radius: 50%;
    border: 2px solid currentColor;
}
.cri-simbolo::after {
    content: "";
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 4px transparent;
}

/* Pequeno adorno */
.cri-simbolo-sm {
    width: 38px;
    height: 38px;
}
.cri-simbolo-sm::before { inset: 6px; }
.cri-simbolo-sm::after { width: 7px; height: 7px; }

/* ========================================
    TÍTULOS ESTILIZADOS
======================================== */
.cri-dash-titulo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 14px;
}
.cri-dash-titulo::before,
.cri-dash-titulo::after {
    content: "";
    height: 3px;
    width: 46px;
    background: linear-gradient(90deg, transparent, var(--cri-dourado), var(--cri-laranja));
    border-radius: 3px;
}
.cri-dash-titulo::after {
    background: linear-gradient(90deg, var(--cri-laranja), var(--cri-dourado), transparent);
}

/* ========================================
   HERO PADRÃO QUILOMBOLA
======================================== */
.cri-hero {
    position: relative;
    overflow: hidden;
    padding: 110px 20px 130px;
    text-align: center;
    color: #fff;
}
.cri-hero > * { position: relative; z-index: 2; }

/* Camada de padrão por cima do gradiente (funciona junto com background inline) */
.cri-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}
.cri-hero.cri-padrao-kente::before { background-image: linear-gradient(90deg, rgba(0,0,0,0.22) 0 8px, rgba(241,196,15,0.4) 8px 12px, rgba(199,62,29,0.4) 12px 20px, rgba(20,90,50,0.5) 20px 28px, rgba(241,196,15,0.35) 28px 32px, rgba(0,0,0,0.24) 32px 40px); background-size: 40px 100%; opacity: 0.5; }
.cri-hero.cri-padrao-chevron::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90' viewBox='0 0 90 90'%3E%3Cpath d='M0 0 L20 20 L40 0 L40 20 L20 40 L0 20 Z' fill='%23D35400' fill-opacity='0.12'/%3E%3Cpath d='M45 0 L65 20 L85 0 L85 20 L65 40 L45 20 Z' fill='%23F1C40F' fill-opacity='0.12'/%3E%3Cpath d='M0 45 L20 65 L40 45 L40 65 L20 85 L0 65 Z' fill='%23F1C40F' fill-opacity='0.12'/%3E%3Cpath d='M45 45 L65 65 L85 45 L85 65 L65 85 L45 65 Z' fill='%23D35400' fill-opacity='0.12'/%3E%3C/svg%3E"); opacity: 0.7; }
.cri-hero.cri-padrao-trancado::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath d='M40 0 L80 40 L40 80 L0 40 Z' fill='none' stroke='%23F1C40F' stroke-width='2' stroke-opacity='0.25'/%3E%3Cpath d='M40 20 L60 40 L40 60 L20 40 Z' fill='%23E67E22' fill-opacity='0.20'/%3E%3Ccircle cx='40' cy='40' r='7' fill='%23F1C40F' fill-opacity='0.35'/%3E%3C/svg%3E"); opacity: 0.7; }
.cri-hero.cri-padrao-pontos::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 44 44'%3E%3Ccircle cx='11' cy='11' r='5' fill='%23F1C40F' fill-opacity='0.18'/%3E%3Ccircle cx='33' cy='33' r='5' fill='%23E67E22' fill-opacity='0.18'/%3E%3C/svg%3E"); opacity: 0.7; }

.cri-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 24px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    background: rgba(241,196,15,0.14);
    border: 1px solid rgba(241,196,15,0.55);
    color: #FFD75E;
    backdrop-filter: blur(4px);
    margin-bottom: 26px;
}

.cri-hero h1 {
    font-family: var(--cri-font-display);
    font-size: clamp(2.8rem, 7vw, 5.6rem);
    line-height: 1.05;
    text-transform: uppercase;
    margin-bottom: 22px;
    color: #fff;
    text-shadow: 0 6px 30px rgba(0,0,0,0.45);
}

.cri-hero h1 em {
    font-style: normal;
    background: linear-gradient(100deg, var(--cri-dourado), var(--cri-laranja));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cri-hero p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 400;
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.75;
    color: rgba(255,255,255,0.9);
}

/* Barra inferior em ondas de chevron */
.cri-hero-ondas {
    position: absolute !important;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 3;
}
.cri-hero-ondas svg {
    width: 100%;
    height: 46px;
    display: block;
    fill: var(--cri-creme);
}

/* Símbolo flutuante decorativo */
.cri-hero-simbolo {
    position: absolute;
    color: rgba(241,196,15,0.85);
    opacity: 0.9;
    animation: cri-float 5s ease-in-out infinite;
    z-index: 1;
}
.cri-hero-simbolo.tl { top: 22px; left: 6%; }
.cri-hero-simbolo.br { bottom: 70px; right: 6%; animation-delay: 1.4s; }
.cri-hero-simbolo.tr { top: 30px; right: 10%; }

@keyframes cri-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-16px) rotate(8deg); }
}

/* Canto kente no hero */
.cri-hero-canto {
    position: absolute;
    width: 150px;
    height: 150px;
    opacity: 0.5;
    -webkit-mask-image: radial-gradient(circle at 0 0, #000 55%, transparent 56%);
    mask-image: radial-gradient(circle at 0 0, #000 55%, transparent 56%);
    pointer-events: none;
    z-index: 1;
}
.cri-hero-canto.br { bottom: 0; right: 0; transform: rotate(180deg); }
.cri-hero-canto {
    background-image: linear-gradient(90deg,
        rgba(0,0,0,0.4) 0 8px,
        rgba(241,196,15,0.8) 8px 12px,
        rgba(199,62,29,0.8) 12px 20px,
        rgba(20,90,50,0.8) 20px 28px,
        rgba(241,196,15,0.7) 28px 32px,
        rgba(0,0,0,0.4) 32px 40px);
    background-size: 40px 100%;
}

/* ========================================
   BOTÕES QUILOMBOLAS
======================================== */
.cri-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 36px;
    border-radius: 50px;
    font-family: var(--cri-font-corpo);
    font-weight: 700;
    font-size: 1.02rem;
    text-decoration: none;
    color: #fff;
    background: var(--cri-laranja);
    border: 2px solid var(--cri-laranja);
    transition: all 0.3s ease;
    box-shadow: 0 10px 24px rgba(199,62,29,0.35);
    position: relative;
    overflow: hidden;
}
.cri-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.25) 50%, rgba(255,255,255,0) 100%);
    transform: translateX(-110%);
    transition: transform 0.6s ease;
}
.cri-btn:hover { transform: translateY(-3px); background: var(--cri-dourado); border-color: var(--cri-dourado); color: #1A110F; }
.cri-btn:hover::before { transform: translateX(110%); }

.cri-btn-verde {
    background: var(--cri-verde);
    border-color: var(--cri-verde);
    box-shadow: 0 10px 24px rgba(20,90,50,0.4);
}
.cri-btn-verde:hover { background: var(--cri-verde-limao); border-color: var(--cri-verde-limao); color: #fff; }

.cri-btn-escuro {
    background: var(--cri-preto);
    border-color: var(--cri-preto);
    box-shadow: 0 10px 24px rgba(0,0,0,0.4);
}
.cri-btn-escuro:hover { background: var(--cri-terracota); border-color: var(--cri-terracota); color: #fff; }

/* ========================================
   CARDS DE PROJETO
======================================== */
.cri-card-projeto {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: var(--cri-preto-2);
    /* Fallback: gradiente + padrão caso a imagem ainda não exista */
    background-image:
        linear-gradient(160deg, #241B16 0%, #0B3D21 50%, #C73E1D 140%);
    color: #fff;
    box-shadow: 0 16px 40px rgba(0,0,0,0.25);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    min-height: 420px;
}
.cri-card-projeto:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 54px rgba(0,0,0,0.4);
}
.cri-card-projeto-imagem {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
    z-index: 0;
}
.cri-card-projeto:hover .cri-card-projeto-imagem { transform: scale(1.09); }
.cri-card-projeto-imagem::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26,17,15,0.95) 0%, rgba(26,17,15,0.55) 45%, rgba(26,17,15,0.2) 100%);
}
.cri-card-projeto-conteudo {
    position: relative;
    z-index: 2;
    margin-top: auto;
    padding: 28px 26px;
}
.cri-card-projeto-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 5px 14px;
    border-radius: 20px;
    background: rgba(241,196,15,0.2);
    border: 1px solid rgba(241,196,15,0.6);
    color: #FFD75E;
    margin-bottom: 14px;
}
.cri-card-projeto h3 {
    font-family: var(--cri-font-titulo);
    font-size: 2.1rem;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    color: #fff;
}
.cri-card-projeto p {
    font-size: 0.96rem;
    color: rgba(255,255,255,0.82);
    line-height: 1.6;
    margin-bottom: 18px;
}
.cri-card-projeto-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--cri-dourado);
    font-weight: 700;
    font-size: 0.95rem;
    transition: gap 0.3s ease;
}
.cri-card-projeto:hover .cri-card-projeto-link { gap: 14px; }

/* ========================================
   DIVISÓRIA KENTE (borda de tecelagem)
======================================== */
.cri-divisoria {
    height: 14px;
    width: 100%;
    background-image:
        repeating-linear-gradient(90deg,
            var(--cri-preto) 0 18px,
            var(--cri-terracota) 18px 34px,
            var(--cri-dourado) 34px 46px,
            var(--cri-verde) 46px 62px,
            var(--cri-preto) 62px 80px);
    background-size: 80px 100%;
    margin-bottom: 15px;
}

.cri-divisoria-fina {
    height: 8px;
    width: 100%;
    background-image:
        repeating-linear-gradient(90deg,
            var(--cri-dourado) 0 12px,
            var(--cri-terracota) 12px 24px,
            var(--cri-verde) 24px 36px);
    background-size: 36px 100%;
}

/* ========================================
   ANIMAÇÕES EXTRAS
======================================== */
@keyframes cri-pulso-tambor {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(241,196,15,0.5); }
    50% { transform: scale(1.06); box-shadow: 0 0 0 18px rgba(241,196,15,0); }
}

.cri-tambor-anim { animation: cri-pulso-tambor 2.2s infinite ease-in-out; }

@keyframes cri-girar-lento {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.cri-girar { animation: cri-girar-lento 40s linear infinite; }

/* Reespecificação de fade para o sistema */
@media (prefers-reduced-motion: reduce) {
    .cri-hero-simbolo, .cri-tambor-anim, .cri-girar { animation: none !important; }
}

/* ========================================
   HOME: ATIVIDADES ESPECIAIS lado a lado
========================================= */
.atividades {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    width: 100% !important;
    max-width: 1240px;
    margin: 30px auto 0 !important;
    box-shadow: none;
    border-radius: 0;
}

.atividade {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: auto !important;
    margin-bottom: 0 !important;
    background: linear-gradient(135deg, #145A32 0%, #0B3D21 100%);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(241,196,15,0.25);
    box-shadow: 0 14px 30px rgba(0,0,0,0.22);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.atividade:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 46px rgba(0,0,0,0.35);
}
.atividade img {
    width: 46%;
    min-height: 200px;
}
.descricao {
    padding: 22px 24px;
    align-items: flex-start;
}
.descricao h3 {
    font-family: var(--cri-font-titulo);
    font-size: 1.7rem;
    letter-spacing: 1px;
    color: #F1C40F;
    line-height: 1.1;
}
.descricao a:hover h3 { color: #E67E22 !important; }
.descricao p {
    color: rgba(255,255,255,0.88) !important;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ========================================
   HOME: CONTATO lado a lado
========================================= */
.container-contato {
    display: grid !important;
    grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.3fr);
    align-items: stretch;
    width: 100% !important;
    max-width: 1240px;
    margin: 30px auto 0 !important;
    gap: 26px;
    box-shadow: 0 14px 30px rgba(0,0,0,0.12);
}
.info-contato {
    max-width: 100% !important;
}
.mapa {
    width: 100% !important;
    height: 100%;
    min-height: 400px;
}

/* Responsivo: empilha em telas menores */
@media (max-width: 900px) {
    .atividades { grid-template-columns: 1fr; }
    .container-contato { grid-template-columns: 1fr; }
    .atividade { flex-direction: column; }
    .atividade img { width: 100%; min-height: 0; }
}

/* ========================================
   REFORÇO QUILOMBOLA EM SEÇÕES/CARDS GENÉRICOS
   (aplica a todas as telas através do quilombola.css)
========================================= */
/* Acentua os títulos das seções com traço dourado-laranja */
h2[class*="titulo-secao"],
.titulo-secao,
.titulo-atividades,
.titulo-regioes,
.cabecalho-esportes h2,
.titulo-ancestral,
.historia-titulo {
    position: relative;
}
h2[class*="titulo-secao"]::after,
.titulo-secao::after {
    content: "";
    display: block;
    width: 84px;
    height: 5px;
    margin: 12px auto 0;
    border-radius: 3px;
    background: linear-gradient(90deg, #F1C40F, #E67E22, #C73E1D);
}

/* Cards com borda de destaque suave */
.card-beneficio,
.card-pilar,
.foto-galeria,
.card-noticia,
.membro-card,
.card-curso,
.card-projeto,
.card-doacao,
.card-insta,
.card-opcao,
.card-esporte,
.card-esporte-horizontal,
.caixa-texto-destaque,
.trilha-item,
.card-modalidade,
.grid-pilares .card-pilar,
.grid-pilares-restaurante .card-pilar {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.card-beneficio:hover,
.card-pilar:hover,
.membro-card:hover,
.card-curso:hover,
.card-projeto:hover,
.card-doacao:hover,
.card-insta:hover,
.card-opcao:hover,
.card-esporte-horizontal:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(26,17,15,0.22);
}

/* Ícones dos cards com cor de destaque dourado/laranja e anel */
.card-beneficio i,
.card-pilar i,
.card-modalidade i,
.card-curso i,
.card-projeto i,
.card-doacao i,
.info-bar .info-item i {
    color: #E67E22;
}

/* ========================================
   HERO COM VÍDEO DE FUNDO
========================================= */
.cri-hero-video { padding: 120px 20px 150px !important; }
.cri-hero-video-fundo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.cri-hero-video::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(to top, rgba(11,61,33,0.82) 0%, rgba(26,17,15,0.35) 60%, rgba(26,17,15,0.55) 100%);
}

/* ========================================
   RESPONSIVIDADE QUILOMBOLA
   (Menu, Heroes, Embeds)
========================================= */

/* --- HERO RESPONSIVO --- */
@media (max-width: 768px) {
    .cri-hero {
        padding: 80px 20px 100px !important;
    }
    .cri-hero h1 {
        font-size: clamp(2rem, 8vw, 3.5rem);
        margin-bottom: 16px;
    }
    .cri-hero h1 em {
        background-size: 100% 100%;
    }
    .cri-hero p {
        font-size: 1rem;
    }
    .cri-hero-badge {
        font-size: 0.75rem;
        padding: 5px 14px;
        margin-bottom: 18px;
    }
    .cri-hero-simbolo {
        width: 50px;
        height: 50px;
    }
    .cri-hero-canto {
        width: 60px;
        height: 60px;
    }
    .cri-hero-ondas {
        height: 28px;
    }
    .cri-hero-ondas svg {
        height: 28px;
    }
    .cri-btn {
        font-size: 0.95rem;
        padding: 10px 22px;
    }
}

@media (max-width: 480px) {
    .cri-hero {
        padding: 60px 16px 80px !important;
    }
    .cri-hero h1 {
        font-size: clamp(1.6rem, 9vw, 2.5rem);
    }
    .cri-hero p {
        font-size: 0.9rem;
    }
    .cri-hero-badge {
        font-size: 0.7rem;
        padding: 4px 12px;
    }
    .cri-hero-simbolo {
        width: 40px;
        height: 40px;
    }
    .cri-hero-canto {
        width: 48px;
        height: 48px;
    }
    .cri-hero-ondas {
        height: 20px;
    }
    .cri-hero-ondas svg {
        height: 20px;
    }
}

/* --- HERO COM VÍDEO RESPONSIVO --- */
@media (max-width: 768px) {
    .cri-hero-video {
        padding: 80px 20px 120px !important;
    }
}
@media (max-width: 480px) {
    .cri-hero-video {
        padding: 60px 16px 100px !important;
    }
}

/* --- EMBEDS SPOTIFY/YOUTUBE RESPONSIVOS --- */
@media (max-width: 768px) {
    .sec-radio iframe,
    .sec-youtube iframe {
        height: 300px !important;
    }
}
@media (max-width: 480px) {
    .sec-radio iframe,
    .sec-youtube iframe {
        height: 220px !important;
    }
}

/* ========================================
   MENU — DROPDOWNS CENTRALIZADOS (desktop)
========================================= */
nav > ul > li {
    position: relative;
}
nav > ul > li > ul {
    left: 50%;
    transform: translateX(-50%);
}
/* Evita estouro nas bordas: o primeiro e o último dropdown
   alinham à borda em vez de centralizar */
nav > ul > li:nth-child(2) > ul {
    left: 0;
    transform: none;
}
nav > ul > li:last-child > ul {
    left: auto;
    right: 0;
    transform: none;
}

/* ========================================
   MENU — TELAS MÉDIAS (1281px a 1500px)
   Compacta links para caber sem hamburguer
========================================= */
@media (min-width: 1281px) and (max-width: 1500px) {
    nav ul {
        gap: 4px;
        margin-right: 30px;
    }
    nav ul li a,
    nav ul li .link {
        font-size: 15px;
        padding: 10px 10px;
    }
    nav > ul > li:not(:last-child)::after {
        right: -4px;
    }
    .logo img {
        margin-left: 30px;
        width: 75px;
    }
    header {
        padding: 8px 5px;
    }
}

@media (min-width: 1501px) {
    /* tela cheia normal */
    nav ul li a,
    nav ul li .link {
        font-size: 18px;
        padding: 12px 16px;
    }
}

/* ========================================
   MENU MOBILE — HAMBURGUER + FULLSCREEN
========================================= */
.btn-menu-mobile {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: rgba(20, 90, 50, 0.92);
    border: 2px solid #F1C40F;
    border-radius: 8px;
    cursor: pointer;
    z-index: 2000;
    padding: 8px;
}
.btn-menu-mobile span {
    display: block;
    width: 26px;
    height: 3px;
    background: #F1C40F;
    border-radius: 2px;
    transition: all 0.3s ease;
    margin: 2px 0;
}
.btn-menu-mobile.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.btn-menu-mobile.active span:nth-child(2) {
    opacity: 0;
}
.btn-menu-mobile.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 1280px) {
    .btn-menu-mobile {
        display: flex;
        position: fixed;
        top: 14px;
        right: 14px;
    }
    header {
        position: relative;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 10px 15px;
    }
    .logo img {
        margin-left: 15px;
        width: 70px;
    }
    nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(26, 17, 15, 0.97);
        z-index: 1500;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        padding: 84px 20px 40px;
    }
    nav.open {
        transform: translateX(0);
    }
    body.menu-aberto {
        overflow: hidden;
    }
    nav ul {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 4px;
        margin-right: 0;
        width: 100%;
    }
    nav > ul > li {
        width: 100%;
        max-width: 460px;
        text-align: center;
        background: transparent;
    }
    nav > ul > li:not(:last-child)::after {
        display: none;
    }
    nav ul li a,
    nav ul li .link {
        padding: 12px 16px;
        font-size: 20px;
        font-weight: 600;
    }
    /* Submenus em acordeão no menu mobile (abrem com classe .aberto) */
    nav ul li ul {
        display: none !important;
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        box-shadow: none !important;
        background: rgba(0, 0, 0, 0.28) !important;
        border-radius: 10px;
        margin: 0;
        padding: 6px 0;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        border-left: 3px solid #F1C40F;
    }
    nav ul li.aberto > ul {
        display: block !important;
        margin-top: 8px;
        margin-bottom: 8px;
    }
    nav ul li.aberto > a,
    nav ul li.aberto > .link {
        color: #FFD75E;
    }
    nav ul li ul li {
        width: 100% !important;
        background: transparent;
    }
    nav ul li ul li a {
        padding: 10px 16px;
        font-size: 16px;
        text-align: center;
        max-width: 100%;
        background: transparent;
    }
    nav ul li ul li a:hover {
        background: rgba(241, 196, 15, 0.15);
    }
    /* Seta indicadora nos itens que têm submenu (mobile) */
    nav ul li:has(> ul) > a::after,
    nav ul li:has(> ul) > .link::after {
        content: "▾";
        margin-left: 8px;
        color: #F1C40F;
        font-size: 0.8em;
    }
    nav ul li.aberto:has(> ul) > a::after,
    nav ul li.aberto:has(> ul) > .link::after {
        content: "▴";
    }
}

/* --- DIVISÓRIA KENTE RESPONSIVA --- */
@media (max-width: 480px) {
    .cri-divisoria {
        height: 6px;
    }
    .cri-divisoria-fina {
        height: 6px;
    }
}

/* --- TÍTULOS DE SEÇÃO RESPONSIVOS --- */
@media (max-width: 480px) {
    .titulo-atividades,
    .titulo-secao,
    .titulo-regioes,
    .titulo-sobrenos {
        font-size: 1.6rem;
    }
    .cri-dash-titulo {
        margin-bottom: 24px;
    }
}

/* ========================================
   REFORÇO RESPONSIVO GLOBAL (todas as telas)
========================================= */

/* Grids que usam colunas fixas viram 1 coluna no mobile */
@media (max-width: 768px) {
    .grid-pilares,
    .grid-beneficios,
    .grid-modalidades,
    .grid-info-cell,
    .grid-fotos,
    .grid-local,
    .grid-noticias,
    .grid-esportes,
    .grid-moradias,
    .grid-doacoes,
    .grid-cursos,
    .grid-instrumentos,
    .container-instrumentos,
    .grid-pilares-feira,
    .grid-pilares-transparencia,
    .grid-secoes,
    .grid-valores,
    .grid-pilares-restaurante {
        grid-template-columns: 1fr !important;
    }

    /* Containers de 2 colunas (texto + imagem) viram coluna única */
    .container-ofertas,
    .container-flip,
    .container-intro,
    .container-flex,
    .container-flex-info,
    .container-livro,
    .container-paginas,
    .container-curso,
    .container-projeto,
    .container-moradia,
    .grid-conteudo,
    .container-equipe,
    .grid-instrumentos {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center;
    }

    /* Imagens grandes viram 100% */
    .imagem-sobrenos img,
    .imagem-intro img,
    .img-restaurante,
    .imagem-moradia img,
    .imagem-feira img,
    .imagem-projeto img {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Placar social e cards laterais ajustam */
    .placar-social,
    .hero-card-pulso {
        flex: 1 1 100% !important;
        max-width: 100% !important;
    }
    .hero-esportes-container,
    .hero-container-percussao {
        flex-direction: column !important;
        text-align: center;
        align-items: center;
    }
    .hero-esportes-texto,
    .hero-texto-percussao {
        flex: 1 1 100% !important;
    }

    /* Formulário de contato */
    .form-wrapper,
    .formulario-contato-container {
        width: 100% !important;
        padding: 20px !important;
    }
}

@media (max-width: 480px) {
    .timeline-container {
        padding: 0 10px;
    }
    .conteudo-cartao {
        padding: 15px !important;
    }
    .historia-titulo {
        font-size: 1.8rem !important;
    }
    .hero-badges-ritmo {
        justify-content: center;
        gap: 8px;
    }
    .badge-ritmo-item {
        font-size: 0.75rem;
        padding: 5px 10px;
    }
}
