/* ============================================
   CUSTOM STYLES - AFRICAN INSPIRED DESIGN
   Theme: Langues Africaines / Cameroon Languages
   ============================================ */

/* ============================================
   1. COLOR PALETTE - AFRICAN EARTH TONES
   ============================================ */
:root {
    /* Couleurs primaires africaines */
    --african-terracotta: #D2691E;
    --african-sunset: #FF6B35;
    --african-gold: #F4A261;
    --african-ochre: #E76F51;
    --african-earth: #8B4513;

    /* Couleurs secondaires */
    --african-green: #2A9D8F;
    --african-teal: #264653;
    --african-sand: #E9C46A;
    --african-rust: #A0522D;

    /* Accents */
    --african-deep-red: #8B0000;
    --african-warm-yellow: #FFD166;
    --african-forest: #2F4F2F;

    /* ========== BROWN/EARTH PALETTE FOR HOMEPAGE ========== */
    --brown-dark: #6B4423;          /* Marron chocolat foncé */
    --brown-medium: #8B5A3C;        /* Marron moyen */
    --sienna: #A0522D;              /* Terre de Sienne */
    --brown-rust: #8B4513;          /* Saddle Brown */
    --terracotta-brown: #CD7F32;    /* Bronze/Terracotta */
    --sand-beige: #D2B48C;          /* Beige sable */
    --cream-wheat: #F5DEB3;         /* Wheat/Crème */
    --olive-accent: #6B8E23;        /* Accent vert olive */
    --gold-highlight: #DAA520;      /* Or pour highlights */
    --brown-chocolate: #3E2723;     /* Chocolat très foncé */
}

/* ============================================
   2. HERO SECTION - MOTIFS AFRICAINS
   ============================================ */
.african-pattern-bg {
    background: linear-gradient(135deg, var(--african-teal) 0%, var(--african-green) 100%);
    position: relative;
    padding: 100px 0 80px;
}

/* Overlay avec motif géométrique africain */
.african-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,.03) 35px, rgba(255,255,255,.03) 70px),
        repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(255,255,255,.03) 35px, rgba(255,255,255,.03) 70px);
    opacity: 0.5;
}

/* Cercles décoratifs africains */
.african-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.african-circle-1 {
    width: 300px;
    height: 300px;
    top: -50px;
    right: -50px;
    animation: float 6s ease-in-out infinite;
}

.african-circle-2 {
    width: 200px;
    height: 200px;
    bottom: 20px;
    left: 10%;
    animation: float 8s ease-in-out infinite;
}

.african-circle-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: -30px;
    animation: float 7s ease-in-out infinite;
}

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

/* Badge africain */
.african-badge-container {
    animation: fadeInDown 1s ease-out;
}

.african-badge {
    display: inline-block;
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--african-teal);
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: 3px solid var(--african-gold);
    transition: all 0.3s ease;
}

.african-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Titre africain */
.african-title {
    font-size: 3rem;
    font-weight: 800;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
    animation: fadeInUp 1s ease-out;
}

/* Divider avec motif africain */
.african-divider {
    width: 150px;
    height: 4px;
    background: linear-gradient(90deg,
        var(--african-gold) 0%,
        var(--african-sunset) 25%,
        var(--african-terracotta) 50%,
        var(--african-sunset) 75%,
        var(--african-gold) 100%
    );
    border-radius: 2px;
    position: relative;
    animation: shimmer 3s infinite;
}

.african-divider::before,
.african-divider::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--african-gold);
    border-radius: 50%;
    top: -3px;
}

.african-divider::before {
    left: -15px;
}

.african-divider::after {
    right: -15px;
}

@keyframes shimmer {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* ============================================
   4. CONVERTER CARD - DESIGN PRINCIPAL
   ============================================ */
.african-converter-card {
    border-radius: 20px;
    overflow: hidden;
    border: 3px solid var(--african-gold);
    background: linear-gradient(to bottom, #ffffff, #f8f9fa);
}

.african-card-title {
    color: var(--african-teal);
    font-weight: 700;
    display: flex;
    align-items: center;
}

.african-badge-status {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(40, 167, 69, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 3px 10px rgba(40, 167, 69, 0.3);
    }
    50% {
        box-shadow: 0 5px 20px rgba(40, 167, 69, 0.5);
    }
}

.african-converter-wrapper {
    padding: 20px;
    background: white;
    position: relative;
}

.african-converter-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg,
        var(--african-teal),
        var(--african-green),
        var(--african-gold),
        var(--african-sunset),
        var(--african-teal)
    );
    background-size: 200% 100%;
    animation: gradientMove 3s linear infinite;
}

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

/* ============================================
   5. INSTRUCTION CARDS
   ============================================ */
.african-instruction-card {
    transition: all 0.3s ease;
    border-left: 3px solid var(--african-green);
}

.african-instruction-card:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.african-list {
    counter-reset: african-counter;
}

.african-list li {
    position: relative;
    padding-left: 50px;
    display: flex;
    align-items: center;
}

.african-list-number {
    position: absolute;
    left: 0;
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, var(--african-green), var(--african-teal));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 3px 10px rgba(42, 157, 143, 0.3);
}

.african-highlight-box {
    background: linear-gradient(135deg, rgba(42, 157, 143, 0.05), rgba(38, 70, 83, 0.05));
    border-left: 4px solid var(--african-gold);
    padding: 20px;
    border-radius: 10px;
    margin-top: 15px;
}

/* ============================================
   7. ANIMATIONS
   ============================================ */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* ============================================
   8. RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    .african-title {
        font-size: 2rem;
    }

    .african-pattern-bg {
        padding: 60px 0 40px;
    }

    .african-circle {
        display: none;
    }

    .african-info-card {
        margin-bottom: 20px;
    }

    .african-converter-wrapper {
        padding: 10px;
        min-height: 500px;
    }
}

@media (max-width: 576px) {
    .african-title {
        font-size: 1.5rem;
    }

    .african-badge {
        padding: 8px 20px;
        font-size: 0.9rem;
    }

    .african-list li {
        padding-left: 45px;
    }

    .african-list-number {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
}

/* ============================================
   9. PRINT STYLES
   ============================================ */
@media print {
    .african-pattern-bg,
    .african-overlay,
    .african-circle,
    .african-cta-card {
        background: white !important;
    }

    .african-converter-card {
        border: 1px solid #ddd;
    }
}

/* ============================================
   10. ACCESSIBILITY
   ============================================ */
.african-btn:focus,
.african-btn-outline:focus {
    outline: 3px solid var(--african-gold);
    outline-offset: 3px;
}

/* Contraste pour les utilisateurs ayant des préférences de contraste élevé */
@media (prefers-contrast: high) {
    .african-badge,
    .african-icon-box,
    .african-btn {
        border: 2px solid currentColor;
    }
}

/* Réduction de mouvement pour les utilisateurs sensibles */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   11. HOMEPAGE HERO SECTION - BROWN THEME
   ============================================ */

/* Polices africaines Google Fonts */
.homepage-hero-title {
    font-family: 'Ojuju', sans-serif;
    font-weight: 700;
}

.homepage-hero-subtitle {
    font-family: 'Madimi One', sans-serif;
}

/* Hero background avec pattern linguistique Adinkra */
.homepage-hero-bg {
    background: linear-gradient(135deg, var(--brown-dark) 0%, var(--brown-medium) 50%, var(--sienna) 100%);
    position: relative;
    padding: 120px 0 100px;
    overflow: hidden;
}

/* Pattern Adinkra linguistique - Symboles GYE NYAME et SANKOFA */
.homepage-hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M40 40c0-4.4 3.6-8 8-8s8 3.6 8 8-3.6 8-8 8-8-3.6-8-8zm-16 0c0-4.4 3.6-8 8-8s8 3.6 8 8-3.6 8-8 8-8-3.6-8-8zm-16 0c0-4.4 3.6-8 8-8s8 3.6 8 8-3.6 8-8 8-8-3.6-8-8zM40 8c0-4.4 3.6-8 8-8s8 3.6 8 8-3.6 8-8 8-8-3.6-8-8zM24 8c0-4.4 3.6-8 8-8s8 3.6 8 8-3.6 8-8 8-8-3.6-8-8zM8 8c0-4.4 3.6-8 8-8s8 3.6 8 8-3.6 8-8 8-8-3.6-8-8zM40 72c0-4.4 3.6-8 8-8s8 3.6 8 8-3.6 8-8 8-8-3.6-8-8zm-16 0c0-4.4 3.6-8 8-8s8 3.6 8 8-3.6 8-8 8-8-3.6-8-8zm-16 0c0-4.4 3.6-8 8-8s8 3.6 8 8-3.6 8-8 8-8-3.6-8-8z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
}

/* Overlay avec motifs alphabétiques africains */
.homepage-linguistic-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 50px,
            rgba(218, 165, 32, 0.03) 50px,
            rgba(218, 165, 32, 0.03) 100px
        );
    pointer-events: none;
}

/* Cercles décoratifs avec symboles linguistiques */
.homepage-linguistic-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(218, 165, 32, 0.08);
    border: 3px solid rgba(218, 165, 32, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.2);
    font-size: 3rem;
    font-weight: 700;
    font-family: 'Ojuju', serif;
}

.homepage-linguistic-circle-1 {
    width: 350px;
    height: 350px;
    top: -80px;
    right: -80px;
    animation: floatRotate 10s ease-in-out infinite;
}

.homepage-linguistic-circle-2 {
    width: 250px;
    height: 250px;
    bottom: -50px;
    left: 5%;
    animation: floatRotate 12s ease-in-out infinite reverse;
}

.homepage-linguistic-circle-3 {
    width: 180px;
    height: 180px;
    top: 40%;
    left: -50px;
    animation: floatRotate 15s ease-in-out infinite;
}

@keyframes floatRotate {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(10deg);
    }
}

/* Badge patrimoine linguistique */
.homepage-heritage-badge {
    display: inline-block;
    padding: 14px 35px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--brown-dark);
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    border: 4px solid var(--gold-highlight);
    transition: all 0.4s ease;
    animation: badgePulse 3s ease-in-out infinite;
}

.homepage-heritage-badge:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
}

@keyframes badgePulse {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(218, 165, 32, 0.4);
    }
    50% {
        box-shadow: 0 12px 35px rgba(218, 165, 32, 0.6);
    }
}

/* Titre principal avec police Ojuju */
.homepage-main-title {
    font-family: 'Ojuju', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.4);
    letter-spacing: 1.5px;
    line-height: 1.2;
    animation: titleSlideIn 1.2s ease-out;
}

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

/* Typewriter animation conservée */
.typewrite {
    color: var(--gold-highlight);
    font-weight: 800;
}

/* Description inspirante */
.homepage-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1.5s ease-out;
}

/* Divider linguistique avec motif */
.homepage-divider {
    width: 180px;
    height: 5px;
    background: linear-gradient(90deg,
        transparent,
        var(--gold-highlight) 15%,
        var(--terracotta-brown) 50%,
        var(--gold-highlight) 85%,
        transparent
    );
    margin: 25px auto;
    position: relative;
    animation: dividerGlow 3s ease-in-out infinite;
}

.homepage-divider::before,
.homepage-divider::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--gold-highlight);
    border-radius: 50%;
    top: -3.5px;
    box-shadow: 0 0 10px var(--gold-highlight);
}

.homepage-divider::before {
    left: 0;
}

.homepage-divider::after {
    right: 0;
}

@keyframes dividerGlow {
    0%, 100% {
        opacity: 1;
        filter: brightness(1);
    }
    50% {
        opacity: 0.8;
        filter: brightness(1.3);
    }
}

/* Formulaire de recherche stylisé */
.homepage-search-form {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 60px;
    padding: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 3px solid var(--gold-highlight);
    transition: all 0.3s ease;
}

.homepage-search-form:hover,
.homepage-search-form:focus-within {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
    border-color: var(--terracotta-brown);
}

.homepage-search-input {
    border: none;
    padding: 15px 25px;
    font-size: 1.1rem;
    background: transparent;
    color: var(--brown-dark);
}

.homepage-search-input:focus {
    outline: none;
    box-shadow: none;
}

.homepage-search-input::placeholder {
    color: var(--brown-medium);
    opacity: 0.7;
}

.homepage-search-btn {
    background: linear-gradient(135deg, var(--brown-dark), var(--sienna));
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(107, 68, 35, 0.4);
}

.homepage-search-btn:hover {
    background: linear-gradient(135deg, var(--sienna), var(--brown-dark));
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(107, 68, 35, 0.6);
}

/* CTAs - Boutons d'action */
.homepage-cta-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-top: 35px;
}

.homepage-cta-primary {
    background: linear-gradient(135deg, var(--gold-highlight), var(--terracotta-brown));
    color: white;
    padding: 16px 45px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    box-shadow: 0 6px 25px rgba(218, 165, 32, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.homepage-cta-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 35px rgba(218, 165, 32, 0.6);
    color: white;
}

.homepage-cta-secondary {
    background: transparent;
    color: white;
    padding: 16px 45px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    border: 3px solid var(--gold-highlight);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.homepage-cta-secondary:hover {
    background: var(--gold-highlight);
    color: var(--brown-dark);
    transform: translateY(-4px);
    box-shadow: 0 10px 35px rgba(218, 165, 32, 0.5);
}

.homepage-cta-tertiary {
    color: var(--cream-wheat);
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    border-bottom: 2px solid var(--gold-highlight);
    transition: all 0.3s ease;
    padding-bottom: 5px;
}

.homepage-cta-tertiary:hover {
    color: var(--gold-highlight);
    border-bottom-color: var(--cream-wheat);
}

/* Statistiques en ligne */
.homepage-stats-inline {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
    padding: 30px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(218, 165, 32, 0.3);
}

.homepage-stat-item {
    text-align: center;
    color: white;
}

.homepage-stat-number {
    font-family: 'Ojuju', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--gold-highlight);
    line-height: 1;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}

.homepage-stat-label {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.homepage-stat-icon {
    font-size: 2rem;
    color: var(--gold-highlight);
    margin-bottom: 10px;
    opacity: 0.8;
}

/* ============================================
   12. HOMEPAGE RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .homepage-hero-bg {
        padding: 80px 0 60px;
    }

    .homepage-main-title {
        font-size: 2.5rem;
    }

    .homepage-description {
        font-size: 1.1rem;
    }

    .homepage-linguistic-circle {
        display: none;
    }

    .homepage-stats-inline {
        gap: 25px;
        padding: 20px;
    }

    .homepage-stat-number {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .homepage-main-title {
        font-size: 2rem;
    }

    .homepage-heritage-badge {
        padding: 10px 25px;
        font-size: 0.9rem;
    }

    .homepage-description {
        font-size: 1rem;
    }

    .homepage-cta-primary,
    .homepage-cta-secondary {
        padding: 14px 35px;
        font-size: 1rem;
    }

    .homepage-stats-inline {
        flex-direction: column;
        gap: 20px;
    }

    .homepage-stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .homepage-hero-bg {
        padding: 60px 0 40px;
    }

    .homepage-main-title {
        font-size: 1.6rem;
    }

    .homepage-search-form {
        border-radius: 15px;
    }

    .homepage-search-input {
        padding: 12px 20px;
        font-size: 1rem;
    }

    .homepage-search-btn {
        padding: 12px 30px;
        font-size: 1rem;
        border-radius: 15px;
    }

    .homepage-cta-container {
        flex-direction: column;
        gap: 15px;
    }

    .homepage-cta-primary,
    .homepage-cta-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   13. SECTION 2 - CONVERTISSEUR AGLC (IFRAME)
   ============================================ */

.section-converter {
    background: linear-gradient(180deg, #ffffff 0%, var(--cream-wheat) 100%);
    padding: 40px 0;
    position: relative;
}

.section-converter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23DAA520' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
    pointer-events: none;
}

.converter-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.converter-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold-highlight), var(--terracotta-brown));
    color: white;
    padding: 8px 24px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(218, 165, 32, 0.3);
    margin-bottom: 20px;
}

.converter-title {
    font-family: 'Ojuju', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--brown-dark);
    margin-bottom: 15px;
    line-height: 1.2;
}

.converter-subtitle {
    font-size: 1.15rem;
    color: var(--brown-medium);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.converter-container {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow:
        0 10px 40px rgba(107, 68, 35, 0.1),
        0 0 0 1px rgba(218, 165, 32, 0.1);
    border: 3px solid var(--gold-highlight);
    position: relative;
    overflow: hidden;
}

.converter-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg,
        var(--brown-dark) 0%,
        var(--gold-highlight) 50%,
        var(--brown-dark) 100%
    );
}

.converter-iframe-wrapper {
    position: relative;
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    background: #f8f9fa;
}

.converter-info {
    margin-top: 30px;
    text-align: center;
}

.converter-info-text {
    color: var(--brown-medium);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.converter-link {
    color: var(--gold-highlight);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid var(--gold-highlight);
    transition: all 0.3s ease;
}

.converter-link:hover {
    color: var(--brown-dark);
    border-bottom-color: var(--brown-dark);
}

/* Responsive */
@media (max-width: 768px) {
    .section-converter {
        padding: 50px 0;
    }

    .converter-title {
        font-size: 1.8rem;
    }

    .converter-container {
        padding: 20px;
    }

    .converter-iframe-wrapper {
        min-height: 500px;
    }
}

/* ============================================
   14. SECTION 3 - RÉPERTOIRES DE LANGUES
   ============================================ */

.section-repertoires {
    background: white;
    padding: 30px 0;
    position: relative;
}

.repertoires-header {
    text-align: center;
    margin-bottom: 60px;
}

.repertoires-title {
    font-family: 'Ojuju', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--brown-dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.repertoires-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--gold-highlight), transparent);
}

.repertoires-subtitle {
    font-size: 1.15rem;
    color: var(--brown-medium);
    margin-top: 25px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.repertoires-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.repertoire-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 5px 25px rgba(107, 68, 35, 0.08);
    border: 2px solid transparent;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.repertoire-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, var(--gold-highlight), var(--terracotta-brown));
    transform: scaleY(0);
    transition: transform 0.4s ease;
}

.repertoire-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(107, 68, 35, 0.15);
    border-color: var(--gold-highlight);
}

.repertoire-card:hover::before {
    transform: scaleY(1);
}

/* Cards spécifiques */
.repertoire-card.card-alcam {
    background: linear-gradient(135deg, #fff 0%, rgba(218, 165, 32, 0.03) 100%);
}

.repertoire-card.card-communautaire {
    background: linear-gradient(135deg, #fff 0%, rgba(160, 82, 45, 0.03) 100%);
}

.repertoire-card.card-dialectes {
    background: linear-gradient(135deg, #fff 0%, rgba(205, 127, 50, 0.03) 100%);
}

.repertoire-icon-box {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--brown-dark), var(--sienna));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: 0 8px 20px rgba(107, 68, 35, 0.25);
    transition: all 0.3s ease;
}

.repertoire-card:hover .repertoire-icon-box {
    transform: rotateY(360deg);
    background: linear-gradient(135deg, var(--gold-highlight), var(--terracotta-brown));
}

.repertoire-icon-box i {
    font-size: 2.5rem;
    color: white;
}

.repertoire-badge {
    display: inline-block;
    background: var(--gold-highlight);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.repertoire-card-title {
    font-family: 'Ojuju', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brown-dark);
    margin-bottom: 15px;
    line-height: 1.3;
}

.repertoire-description {
    color: var(--brown-medium);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.repertoire-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}

.repertoire-tag {
    background: rgba(218, 165, 32, 0.1);
    color: var(--brown-dark);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(218, 165, 32, 0.2);
}

.repertoire-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(107, 68, 35, 0.1);
}

.repertoire-stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--brown-medium);
    font-size: 0.9rem;
}

.repertoire-stat-item i {
    color: var(--gold-highlight);
    font-size: 1.1rem;
}

.repertoire-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--brown-dark), var(--sienna));
    color: white;
    padding: 14px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(107, 68, 35, 0.25);
}

.repertoire-btn:hover {
    background: linear-gradient(135deg, var(--gold-highlight), var(--terracotta-brown));
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(218, 165, 32, 0.4);
    color: white;
}

.repertoire-btn i {
    transition: transform 0.3s ease;
}

.repertoire-btn:hover i {
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 992px) {
    .repertoires-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .repertoires-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .section-repertoires {
        padding: 50px 0;
    }

    .repertoires-header {
        margin-bottom: 40px;
    }

    .repertoire-card {
        padding: 30px 25px;
    }

    .repertoire-icon-box {
        width: 70px;
        height: 70px;
    }

    .repertoire-icon-box i {
        font-size: 2rem;
    }

    .repertoire-card-title {
        font-size: 1.3rem;
    }

    .repertoire-stats {
        flex-direction: column;
        gap: 10px;
    }
}

/* ============================================
   15. SECTION 4 - ARTICLES BLOG
   ============================================ */

.section-articles {
    background: linear-gradient(180deg, var(--cream-wheat) 0%, #ffffff 50%, var(--cream-wheat) 100%);
    padding: 30px 0;
    position: relative;
}

.section-articles::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23A0522D' fill-opacity='0.02'%3E%3Cpath d='M0 0h40v40H0V0zm40 40h40v40H40V40zm0-40h2l-2 2V0zm0 4l4-4h2l-6 6V4zm0 4l8-8h2L40 10V8zm0 4L52 0h2L40 14v-2zm0 4L56 0h2L40 18v-2zm0 4L60 0h2L40 22v-2zm0 4L64 0h2L40 26v-2zm0 4L68 0h2L40 30v-2zm0 4L72 0h2L40 34v-2zm0 4L76 0h2L40 38v-2zm0 4L80 0v2L42 40h-2zm4 0L80 4v2L46 40h-2zm4 0L80 8v2L50 40h-2zm4 0l28-28v2L54 40h-2zm4 0l24-24v2L58 40h-2zm4 0l20-20v2L62 40h-2zm4 0l16-16v2L66 40h-2zm4 0l12-12v2L70 40h-2zm4 0l8-8v2l-6 6h-2zm4 0l4-4v2l-2 2h-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
    pointer-events: none;
}

.articles-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.articles-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold-highlight), var(--terracotta-brown));
    color: white;
    padding: 8px 24px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(218, 165, 32, 0.3);
    margin-bottom: 20px;
}

.articles-title {
    font-family: 'Ojuju', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--brown-dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.articles-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--gold-highlight), transparent);
}

.articles-subtitle {
    font-size: 1.1rem;
    color: var(--brown-medium);
    margin-top: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Article Card */
.article-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(107, 68, 35, 0.08);
    border: 2px solid transparent;
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(107, 68, 35, 0.15);
    border-color: var(--gold-highlight);
}

/* Image wrapper */
.article-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.article-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-image-wrapper img {
    transform: scale(1.1);
}

/* SVG Placeholder */
.article-placeholder-svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-placeholder-svg {
    transform: scale(1.05);
}

/* Animation subtile pour les éléments SVG */
.article-placeholder-svg text {
    animation: fadeInOut 4s ease-in-out infinite;
}

.article-placeholder-svg circle {
    animation: pulse 6s ease-in-out infinite;
}

@keyframes fadeInOut {
    0%, 100% {
        opacity: 0.2;
    }
    50% {
        opacity: 0.4;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.05;
    }
    50% {
        opacity: 0.1;
    }
}

/* Overlay marron/or */
.article-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(107, 68, 35, 0.7) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.article-card:hover .article-overlay {
    opacity: 1;
}

/* Badge catégorie */
.article-category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, var(--gold-highlight), var(--terracotta-brown));
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(218, 165, 32, 0.4);
}

/* Content */
.article-content {
    padding: 30px 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-title {
    font-family: 'Ojuju', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--brown-dark);
    margin-bottom: 15px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease;
}

.article-card:hover .article-title {
    color: var(--gold-highlight);
}

.article-title a {
    color: inherit;
    text-decoration: none;
}

.article-excerpt {
    color: var(--brown-medium);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

/* Stats (likes, comments) */
.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(107, 68, 35, 0.1);
    margin-top: auto;
}

.article-stats {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.article-stats li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.article-stats a {
    color: var(--brown-medium);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-stats a:hover {
    color: var(--gold-highlight);
}

.article-stats i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.article-stats a:hover i {
    transform: scale(1.2);
}

/* Bouton Lire plus */
.article-read-more {
    color: var(--gold-highlight);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.article-read-more:hover {
    color: var(--brown-dark);
    gap: 10px;
}

.article-read-more i {
    transition: transform 0.3s ease;
}

.article-read-more:hover i {
    transform: translateX(5px);
}

/* Footer de la card - Auteur & Date */
.article-footer {
    background: linear-gradient(135deg, rgba(218, 165, 32, 0.05), rgba(160, 82, 45, 0.05));
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(218, 165, 32, 0.1);
}

.article-author {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--brown-dark);
    font-size: 0.85rem;
    font-weight: 600;
}

.article-author i {
    color: var(--gold-highlight);
    font-size: 1rem;
}

.article-date {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--brown-medium);
    font-size: 0.8rem;
}

.article-date i {
    color: var(--gold-highlight);
    font-size: 0.9rem;
}

/* CTA Section - Voir tous les articles */
.articles-cta-section {
    text-align: center;
    margin-top: 60px;
}

.articles-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--brown-dark), var(--sienna));
    color: white;
    padding: 18px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    box-shadow: 0 8px 30px rgba(107, 68, 35, 0.25);
    border: 3px solid transparent;
}

.articles-cta-btn:hover {
    background: white;
    color: var(--brown-dark);
    border-color: var(--gold-highlight);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(218, 165, 32, 0.4);
}

.articles-cta-btn i {
    transition: transform 0.3s ease;
}

.articles-cta-btn:hover i {
    transform: translateX(8px);
}

/* Responsive */
@media (max-width: 992px) {
    .section-articles {
        padding: 60px 0;
    }

    .articles-title {
        font-size: 2rem;
    }

    .article-image-wrapper {
        height: 220px;
    }
}

@media (max-width: 768px) {
    .section-articles {
        padding: 50px 0;
    }

    .articles-header {
        margin-bottom: 40px;
    }

    .articles-title {
        font-size: 1.8rem;
    }

    .article-content {
        padding: 25px 20px;
    }

    .article-title {
        font-size: 1.15rem;
    }
}

@media (max-width: 576px) {
    .article-image-wrapper {
        height: 200px;
    }

    .article-content {
        padding: 20px 15px;
    }

    .article-footer {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .articles-cta-btn {
        padding: 16px 40px;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }
}
