/* ============================================================
   FIIJA 2026 — Feuille de styles partagée
   Couleurs : vert #063227 / vert foncé #04221A / or #C59B27
   ============================================================ */

body { font-family: 'Plus Jakarta Sans', sans-serif; }
.font-serif { font-family: 'Playfair Display', serif; }

/* Apparition au défilement */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Menu mobile */
.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}
.mobile-menu.open { max-height: 480px; }

/* Panneau vitré */
.glass-panel {
    background: linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

/* Cartes de statistiques (héros) */
.highlight-card {
    transition: background-color .35s ease, box-shadow .35s ease, transform .35s ease;
}
.highlight-card.is-active {
    background: rgba(197, 155, 39, .18);
    box-shadow: inset 0 0 0 1px rgba(197, 155, 39, .42);
    transform: translateY(-3px);
}

/* Logo animé du héros */
.hero-logo { animation: heroFloat 6s ease-in-out infinite; }
@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
.hero-glow { animation: heroPulse 5s ease-in-out infinite; }
@keyframes heroPulse {
    0%, 100% { opacity: .35; transform: scale(1); }
    50% { opacity: .6; transform: scale(1.08); }
}

/* En-tête de page (bannière secondaire) */
.page-hero {
    background:
        radial-gradient(120% 120% at 50% -20%, rgba(197,155,39,.18), transparent 60%),
        linear-gradient(180deg, #063227 0%, #04221A 100%);
}

/* Cartes génériques survolables */
.card-hover {
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -20px rgba(6,50,39,.35);
    border-color: rgba(197,155,39,.5);
}

/* Puce numérotée des piliers */
.pillar-badge {
    background: linear-gradient(135deg, #C59B27, #a97f16);
    box-shadow: 0 8px 20px -8px rgba(197,155,39,.7);
}

/* Emojis rendus en image (Twemoji) — drapeaux fiables sur toutes les plateformes */
img.emoji {
    height: 1em;
    width: 1em;
    margin: 0 .06em 0 .1em;
    vertical-align: -0.1em;
    display: inline-block;
}

/* Accessibilité — mouvement réduit */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .highlight-card.is-active { transform: none; }
    .hero-logo, .hero-glow { animation: none; }
    .card-hover:hover { transform: none; }
    * { scroll-behavior: auto !important; }
}
