{% load static %}
<!DOCTYPE html>
<html lang="fr">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>BTS - ESSIG | Formation Pratique & Professionnelle</title>
    
    <!-- Google Fonts -->
    <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap" rel="stylesheet">
    <link rel="shortcut icon" type="image/jpeg" href="{% static 'img/logo-removebg-preview.png' %}">
    <!-- Bootstrap CSS -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
    
    <!-- Font Awesome Icons -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
    
    <!-- Variables CSS Globales -->
    <style>
        :root {
            --color-primary: #205397;
            --color-accent: #e90707;
            --color-dark: #1E1E1E;
            --color-light-blue: #4A90E2;
            --color-white: #FFFFFF;
            --font-main: "Roboto", sans-serif;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: var(--font-main);
            background-color: #f8f9fa;
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }
        
        main {
            flex: 1;
        }
        
        /* Animations */
        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(30px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        @keyframes slideInLeft {
            from { opacity: 0; transform: translateX(-50px); }
            to { opacity: 1; transform: translateX(0); }
        }
        
        .animate-fadeInUp { animation: fadeInUp 0.8s ease forwards; }
        .animate-slideInLeft { animation: slideInLeft 0.8s ease forwards; }
        .delay-1 { animation-delay: 0.2s; opacity: 0; }
        .delay-2 { animation-delay: 0.4s; opacity: 0; }
        .delay-3 { animation-delay: 0.6s; opacity: 0; }
        
        /* Bouton personnalisé */
        .btn-custom {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            background: var(--color-accent);
            color: white;
            padding: 12px 28px;
            border-radius: 40px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
        }
        
        .btn-custom:hover {
            background: #cc0000;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(233,7,7,0.3);
        }
        
        .btn-outline {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            background: transparent;
            border: 2px solid var(--color-primary);
            color: var(--color-primary);
            padding: 10px 24px;
            border-radius: 40px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
        }
        
        .btn-outline:hover {
            background: var(--color-primary);
            color: white;
            transform: translateY(-2px);
        }
    </style>
</head>
<body>
    
    <!-- Navigation -->
    {% include 'includes/navbar.html' %}
    
    <!-- Contenu principal -->
    <main>
        <!-- =========================
             🎯 HERO SECTION - BTS
        ========================== -->
        <section style="position: relative; background: linear-gradient(135deg, var(--color-primary) 0%, #0d2a4d 100%); padding: 80px 0; overflow: hidden; min-height: 450px;">
            
            <div style="position: absolute; top: 0; right: 0; width: 50%; height: 100%; overflow: hidden;">
                <div style="position: absolute; top: 0; right: 0; width: 100%; height: 100%; background-image: url('https://images.pexels.com/photos/3183150/pexels-photo-3183150.jpeg?auto=compress&cs=tinysrgb&w=1600&h=900&fit=crop'); background-attachment: fixed; background-position: center; background-repeat: no-repeat; background-size: cover;">
                </div>
                <div style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(90deg, rgba(13,42,77,0.3) 0%, rgba(13,42,77,0.1) 100%);"></div>
            </div>
            
            <div class="container" style="position: relative; z-index: 2;">
                <div class="row">
                    <div class="col-lg-6">
                        <div class="animate-slideInLeft" style="background: rgba(255,255,255,0.95); backdrop-filter: blur(5px); border-radius: 30px; padding: 45px 40px; box-shadow: 0 25px 50px rgba(0,0,0,0.2);">
                            
                            <div style="display: inline-block; background: var(--color-accent); color: white; padding: 6px 18px; border-radius: 50px; font-size: 0.8rem; font-weight: 600; margin-bottom: 20px;">
                                <i class="fas fa-graduation-cap" style="margin-right: 8px;"></i> Diplôme d'État
                            </div>
                            
                            <h1 style="font-size: 2.8rem; font-weight: 800; color: var(--color-dark); margin-bottom: 15px;">
                                BTS <span style="color: var(--color-primary);">(Bac +2)</span>
                            </h1>
                            
                            <div style="width: 70px; height: 4px; background: var(--color-accent); margin-bottom: 25px; border-radius: 2px;"></div>
                            
                            <p style="font-size: 1rem; color: #444; line-height: 1.7; margin-bottom: 20px;">
                                Le Brevet de Technicien Supérieur est un diplôme national qui se prépare en <strong>2 ans</strong> après le baccalauréat.
                            </p>
                            
                            <p style="font-size: 0.95rem; color: #555; line-height: 1.6; margin-bottom: 30px;">
                                Formation courte et professionnalisante, le BTS permet une insertion rapide dans le monde du travail ou une poursuite d'études en Licence.
                            </p>
                        </div>
                    </div>
                </div>
            </div>
        </section>

        <!-- =========================
             🎯 SECTION POURQUOI CHOISIR CE PARCOURS
        ========================== -->
        <section style="padding: 80px 0; background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%); position: relative; overflow: hidden;">
            <div class="container" style="position: relative; z-index: 2;">
                <div class="row g-5">
                    <div class="col-lg-6">
                        <div class="animate-fadeInUp">
                            <h2 style="font-size: 2rem; font-weight: 800; color: var(--color-dark); margin-bottom: 15px;">
                                Pourquoi choisir <span style="color: var(--color-primary);">le BTS à ESSIG?</span>
                            </h2>
                            <div style="width: 60px; height: 3px; background: var(--color-accent); margin-bottom: 25px;"></div>
                            <p style="color: #555; line-height: 1.7; margin-bottom: 20px;">
                                Notre programme BTS met l'accent sur la pratique professionnelle et l'acquisition de compétences directement opérationnelles en entreprise.
                            </p>
                            <p style="color: #555; line-height: 1.7; margin-bottom: 30px;">
                                Encadrés par des professionnels et des enseignants expérimentés, nos étudiants bénéficient d'un suivi personnalisé pour garantir leur réussite.
                            </p>
                        </div>
                        
                        <div class="row g-4">
                            <div class="col-md-6">
                                <div class="animate-fadeInUp delay-1" style="background: white; border-radius: 20px; padding: 25px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); transition: all 0.3s ease; height: 100%; border-left: 4px solid var(--color-accent);">
                                    <div style="width: 50px; height: 50px; background: linear-gradient(135deg, rgba(32,83,151,0.1), rgba(74,144,226,0.1)); border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 15px;">
                                        <i class="fas fa-briefcase" style="font-size: 1.5rem; color: var(--color-primary);"></i>
                                    </div>
                                    <h4 style="font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; color: var(--color-dark);">Insertion Professionnelle</h4>
                                    <p style="color: #666; font-size: 0.85rem; line-height: 1.5;">
                                        Le BTS est conçu pour répondre aux besoins réels des entreprises, facilitant ainsi votre premier emploi.
                                    </p>
                                </div>
                            </div>
                            <div class="col-md-6">
                                <div class="animate-fadeInUp delay-2" style="background: white; border-radius: 20px; padding: 25px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); transition: all 0.3s ease; height: 100%; border-left: 4px solid var(--color-accent);">
                                    <div style="width: 50px; height: 50px; background: linear-gradient(135deg, rgba(32,83,151,0.1), rgba(74,144,226,0.1)); border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 15px;">
                                        <i class="fas fa-tools" style="font-size: 1.5rem; color: var(--color-primary);"></i>
                                    </div>
                                    <h4 style="font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; color: var(--color-dark);">Pratique Intensive</h4>
                                    <p style="color: #666; font-size: 0.85rem; line-height: 1.5;">
                                        Travaux pratiques, stages en entreprise et projets concrets sont au cœur de notre pédagogie.
                                    </p>
                                </div>
                            </div>
                        </div>
                    </div>
                    
                    <div class="col-lg-6">
                        <div class="animate-fadeInUp delay-1" style="background: white; border-radius: 24px; padding: 35px; box-shadow: 0 15px 35px rgba(0,0,0,0.08);">
                            <h2 style="font-size: 1.8rem; font-weight: 800; color: var(--color-dark); margin-bottom: 10px;">
                                Coûts et <span style="color: var(--color-primary);">Admission</span>
                            </h2>
                            <div style="width: 60px; height: 3px; background: var(--color-accent); margin-bottom: 25px;"></div>
                            
                            <!-- Accordéon -->
                            <div style="border: 1px solid #e0e0e0; border-radius: 16px; margin-bottom: 15px; overflow: hidden;">
                                <div class="accordion-header" style="background: #f8f9fa; padding: 18px 20px; cursor: pointer; display: flex; justify-content: space-between; align-items: center;" onclick="toggleAccordion(this)">
                                    <span style="font-weight: 700; color: var(--color-dark);"><i class="fas fa-euro-sign" style="color: var(--color-accent); margin-right: 10px;"></i> Frais de scolarité</span>
                                    <span class="accordion-icon" style="font-size: 1.2rem; color: var(--color-primary);">+</span>
                                </div>
                                <div class="accordion-content" style="padding: 0 20px; max-height: 0; overflow: hidden; transition: all 0.3s ease;">
                                    <div style="padding: 20px 0;">
                                        <p style="margin-bottom: 5px; color: #555;">Droit d'inscription: <strong>35 000 F CFA / an</strong></p>
                                        <p style="color: #555;">Frais de scolarité: <strong>385 000 F CFA / an</strong></p>
                                    </div>
                                </div>
                            </div>
                            
                            <div style="border: 1px solid #e0e0e0; border-radius: 16px; overflow: hidden;">
                                <div class="accordion-header" style="background: #f8f9fa; padding: 18px 20px; cursor: pointer; display: flex; justify-content: space-between; align-items: center;" onclick="toggleAccordion(this)">
                                    <span style="font-weight: 700; color: var(--color-dark);"><i class="fas fa-file-alt" style="color: var(--color-accent); margin-right: 10px;"></i> Pièces à fournir</span>
                                    <span class="accordion-icon" style="font-size: 1.2rem; color: var(--color-primary);">+</span>
                                </div>
                                <div class="accordion-content" style="padding: 0 20px; max-height: 0; overflow: hidden; transition: all 0.3s ease;">
                                    <div style="padding: 20px 0;">
                                        <ul style="list-style: none; padding: 0; font-size: 0.9rem; color: #555;">
                                            <li style="margin-bottom: 8px;"><i class="fas fa-check" style="color: var(--color-accent); margin-right: 8px;"></i> Copie légalisée du BAC (ou équivalent)</li>
                                            <li style="margin-bottom: 8px;"><i class="fas fa-check" style="color: var(--color-accent); margin-right: 8px;"></i> Copie de l'acte de naissance</li>
                                            <li style="margin-bottom: 8px;"><i class="fas fa-check" style="color: var(--color-accent); margin-right: 8px;"></i> Photos d'identité</li>
                                            <li style="margin-bottom: 8px;"><i class="fas fa-check" style="color: var(--color-accent); margin-right: 8px;"></i> Certificat médical</li>
                                        </ul>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </section>

        <!-- =========================
             🎯 SECTION FILIÈRES BTS (12 FORMATIONS)
        ========================== -->
        <section id="formations" style="padding: 80px 0; background: white; position: relative;">
            <div class="container">
                <div style="text-align: center; margin-bottom: 60px;">
                    <span style="display: inline-block; background: linear-gradient(135deg, var(--color-primary), var(--color-light-blue)); color: white; padding: 6px 18px; border-radius: 50px; font-size: 0.8rem; font-weight: 600; margin-bottom: 15px;">
                        <i class="fas fa-list" style="margin-right: 8px;"></i> Nos BTS
                    </span>
                    <h2 style="font-size: 2.5rem; font-weight: 800; color: var(--color-dark); margin-bottom: 15px;">
                        Les filières <span style="color: var(--color-primary);">BTS disponibles</span>
                    </h2>
                    <div style="width: 80px; height: 4px; background: linear-gradient(90deg, var(--color-accent), var(--color-primary)); margin: 20px auto 0; border-radius: 2px;"></div>
                </div>

                <div class="row g-4 justify-content-center">
                    <!-- Filière 1: Développeur d'applications -->
                    <div class="col-lg-4 col-md-6">
                        <div class="filiere-card" style="background: white; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.08); transition: all 0.3s ease; height: 100%;">
                            <div style="height: 180px; overflow: hidden; position: relative;">
                                <img src="https://images.pexels.com/photos/1181263/pexels-photo-1181263.jpeg?w=600&h=400&fit=crop" alt="Développeur d'applications" style="width: 100%; height: 100%; object-fit: cover;">
                                <div style="position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, var(--color-primary), transparent); padding: 20px 15px 10px;">
                                    <h3 style="color: white; margin: 0; font-size: 1.1rem; font-weight: 700;">Développeur d'applications</h3>
                                </div>
                            </div>
                            <div style="padding: 20px;">
                                <p style="color: #555; font-size: 0.85rem; line-height: 1.5; margin-bottom: 15px;">
                                    Concevez, développez et maintenez des applications web, mobile et desktop.
                                </p>
                                <a href="{% url 'bts_developpeur_applications' %}" class="btn-outline" style="padding: 8px 20px; font-size: 0.8rem;">En savoir plus <i class="fas fa-arrow-right"></i></a>
                            </div>
                        </div>
                    </div>

                    <!-- Filière 2: Télécommunications -->
                    <div class="col-lg-4 col-md-6">
                        <div class="filiere-card" style="background: white; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.08); transition: all 0.3s ease; height: 100%;">
                            <div style="height: 180px; overflow: hidden; position: relative;">
                                <img src="https://images.pexels.com/photos/325153/pexels-photo-325153.jpeg?w=600&h=400&fit=crop" alt="Télécommunications" style="width: 100%; height: 100%; object-fit: cover;">
                                <div style="position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, var(--color-primary), transparent); padding: 20px 15px 10px;">
                                    <h3 style="color: white; margin: 0; font-size: 1.1rem; font-weight: 700;">Télécommunications</h3>
                                </div>
                            </div>
                            <div style="padding: 20px;">
                                <p style="color: #555; font-size: 0.85rem; line-height: 1.5; margin-bottom: 15px;">
                                    Maîtrisez les réseaux de communication et les systèmes de transmission.
                                </p>
                                <a href="{% url 'bts_telecommunications' %}" class="btn-outline" style="padding: 8px 20px; font-size: 0.8rem;">En savoir plus <i class="fas fa-arrow-right"></i></a>
                            </div>
                        </div>
                    </div>

                    <!-- Filière 3: Administrateur réseaux locaux d'entreprise -->
                    <div class="col-lg-4 col-md-6">
                        <div class="filiere-card" style="background: white; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.08); transition: all 0.3s ease; height: 100%;">
                            <div style="height: 180px; overflow: hidden; position: relative;">
                                <img src="https://images.pexels.com/photos/2582937/pexels-photo-2582937.jpeg?w=600&h=400&fit=crop" alt="Administrateur réseaux" style="width: 100%; height: 100%; object-fit: cover;">
                                <div style="position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, var(--color-primary), transparent); padding: 20px 15px 10px;">
                                    <h3 style="color: white; margin: 0; font-size: 1rem; font-weight: 700;">Administrateur réseaux d'entreprise</h3>
                                </div>
                            </div>
                            <div style="padding: 20px;">
                                <p style="color: #555; font-size: 0.85rem; line-height: 1.5; margin-bottom: 15px;">
                                    Installez, configurez et sécurisez les infrastructures réseaux des entreprises.
                                </p>
                                <a href="{% url 'bts_reseaux_locaux' %}" class="btn-outline" style="padding: 8px 20px; font-size: 0.8rem;">En savoir plus <i class="fas fa-arrow-right"></i></a>
                            </div>
                        </div>
                    </div>

                    <!-- Filière 4: Électrotechnique -->
                    <div class="col-lg-4 col-md-6">
                        <div class="filiere-card" style="background: white; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.08); transition: all 0.3s ease; height: 100%;">
                            <div style="height: 180px; overflow: hidden; position: relative;">
                                <img src="https://images.unsplash.com/photo-1518770660439-4636190af475?q=80&w=1200&auto=format&fit=crop" alt="Électrotechnique" style="width: 100%; height: 100%; object-fit: cover;">
                                <div style="position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, var(--color-primary), transparent); padding: 20px 15px 10px;">
                                    <h3 style="color: white; margin: 0; font-size: 1.1rem; font-weight: 700;">Électrotechnique</h3>
                                </div>
                            </div>
                            <div style="padding: 20px;">
                                <p style="color: #555; font-size: 0.85rem; line-height: 1.5; margin-bottom: 15px;">
                                    Apprenez la production, le transport et la distribution d'énergie électrique.
                                </p>
                                <a href="{% url 'bts_electrotechnique' %}" class="btn-outline" style="padding: 8px 20px; font-size: 0.8rem;">En savoir plus <i class="fas fa-arrow-right"></i></a>
                            </div>
                        </div>
                    </div>

                    <!-- Filière 5: Génie thermique et Énergie -->
                    <div class="col-lg-4 col-md-6">
                        <div class="filiere-card" style="background: white; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.08); transition: all 0.3s ease; height: 100%;">
                            <div style="height: 180px; overflow: hidden; position: relative;">
<img src="https://images.unsplash.com/photo-1509391366360-2e959784a276?q=80&w=1200&auto=format&fit=crop" alt="Génie thermique" style="width: 100%; height: 100%; object-fit: cover;">                                <div style="position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, var(--color-primary), transparent); padding: 20px 15px 10px;">
                                    <h3 style="color: white; margin: 0; font-size: 1rem; font-weight: 700;">Génie thermique et Énergie</h3>
                                </div>
                            </div>
                            <div style="padding: 20px;">
                                <p style="color: #555; font-size: 0.85rem; line-height: 1.5; margin-bottom: 15px;">
                                    Formez-vous aux énergies renouvelables et à l'efficacité énergétique.
                                </p>
                                <a href="{% url 'bts_energie_thermique' %}" class="btn-outline" style="padding: 8px 20px; font-size: 0.8rem;">En savoir plus <i class="fas fa-arrow-right"></i></a>
                            </div>
                        </div>
                    </div>

                    <!-- Filière 6: Maintenance informatique -->
                    <div class="col-lg-4 col-md-6">
                        <div class="filiere-card" style="background: white; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.08); transition: all 0.3s ease; height: 100%;">
                            <div style="height: 180px; overflow: hidden; position: relative;">
<img src="https://images.unsplash.com/photo-1516321318423-f06f85e504b3?q=80&w=1200&auto=format&fit=crop" alt="Maintenance informatique" style="width: 100%; height: 100%; object-fit: cover;">                                <div style="position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, var(--color-primary), transparent); padding: 20px 15px 10px;">
                                    <h3 style="color: white; margin: 0; font-size: 1rem; font-weight: 700;">Maintenance informatique</h3>
                                </div>
                            </div>
                            <div style="padding: 20px;">
                                <p style="color: #555; font-size: 0.85rem; line-height: 1.5; margin-bottom: 15px;">
                                    Assurez la maintenance et le support des équipements informatiques.
                                </p>
                                <a href="{% url 'bts_maintenance_informatique' %}" class="btn-outline" style="padding: 8px 20px; font-size: 0.8rem;">En savoir plus <i class="fas fa-arrow-right"></i></a>
                            </div>
                        </div>
                    </div>

                    <!-- Filière 7: Comptabilité et gestion des entreprises -->
                    <div class="col-lg-4 col-md-6">
                        <div class="filiere-card" style="background: white; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.08); transition: all 0.3s ease; height: 100%;">
                            <div style="height: 180px; overflow: hidden; position: relative;">
<img src="https://images.unsplash.com/photo-1554224155-6726b3ff858f?q=80&w=1200&auto=format&fit=crop" alt="Comptabilité et gestion" style="width: 100%; height: 100%; object-fit: cover;">                                <div style="position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, var(--color-primary), transparent); padding: 20px 15px 10px;">
                                    <h3 style="color: white; margin: 0; font-size: 0.95rem; font-weight: 700;">Comptabilité et gestion</h3>
                                </div>
                            </div>
                            <div style="padding: 20px;">
                                <p style="color: #555; font-size: 0.85rem; line-height: 1.5; margin-bottom: 15px;">
                                    Maîtrisez les techniques comptables, fiscales et la gestion financière.
                                </p>
                                <a href="{% url 'bts_comptabilite_gestion' %}" class="btn-outline" style="padding: 8px 20px; font-size: 0.8rem;">En savoir plus <i class="fas fa-arrow-right"></i></a>
                            </div>
                        </div>
                    </div>

                    <!-- Filière 8: Commerce international -->
                    <div class="col-lg-4 col-md-6">
                        <div class="filiere-card" style="background: white; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.08); transition: all 0.3s ease; height: 100%;">
                            <div style="height: 180px; overflow: hidden; position: relative;">
                                <img src="https://images.pexels.com/photos/3183197/pexels-photo-3183197.jpeg?w=600&h=400&fit=crop" alt="Commerce international" style="width: 100%; height: 100%; object-fit: cover;">
                                <div style="position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, var(--color-primary), transparent); padding: 20px 15px 10px;">
                                    <h3 style="color: white; margin: 0; font-size: 1rem; font-weight: 700;">Commerce international</h3>
                                </div>
                            </div>
                            <div style="padding: 20px;">
                                <p style="color: #555; font-size: 0.85rem; line-height: 1.5; margin-bottom: 15px;">
                                    Apprenez les techniques d'import-export et de logistique internationale.
                                </p>
                                <a href="{% url 'bts_commerce_international' %}" class="btn-outline" style="padding: 8px 20px; font-size: 0.8rem;">En savoir plus <i class="fas fa-arrow-right"></i></a>
                            </div>
                        </div>
                    </div>

                    <!-- Filière 9: Finances Banque -->
                    <div class="col-lg-4 col-md-6">
                        <div class="filiere-card" style="background: white; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.08); transition: all 0.3s ease; height: 100%;">
                            <div style="height: 180px; overflow: hidden; position: relative;">
                                <img src="https://images.pexels.com/photos/730564/pexels-photo-730564.jpeg?w=600&h=400&fit=crop" alt="Finances Banque" style="width: 100%; height: 100%; object-fit: cover;">
                                <div style="position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, var(--color-primary), transparent); padding: 20px 15px 10px;">
                                    <h3 style="color: white; margin: 0; font-size: 1.1rem; font-weight: 700;">Finances Banque</h3>
                                </div>
                            </div>
                            <div style="padding: 20px;">
                                <p style="color: #555; font-size: 0.85rem; line-height: 1.5; margin-bottom: 15px;">
                                    Formez-vous aux métiers de la banque, de la finance et des assurances.
                                </p>
                                <a href="{% url 'bts_finances_banque' %}" class="btn-outline" style="padding: 8px 20px; font-size: 0.8rem;">En savoir plus <i class="fas fa-arrow-right"></i></a>
                            </div>
                        </div>
                    </div>

                    <!-- Filière 10: Gestion des collectivités locales -->
                    <div class="col-lg-4 col-md-6">
                        <div class="filiere-card" style="background: white; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.08); transition: all 0.3s ease; height: 100%;">
                            <div style="height: 180px; overflow: hidden; position: relative;">
<img src="https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=1200&auto=format&fit=crop" alt="Collectivités locales" style="width: 100%; height: 100%; object-fit: cover;">                                <div style="position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, var(--color-primary), transparent); padding: 20px 15px 10px;">
                                    <h3 style="color: white; margin: 0; font-size: 1rem; font-weight: 700;">Gestion des collectivités locales</h3>
                                </div>
                            </div>
                            <div style="padding: 20px;">
                                <p style="color: #555; font-size: 0.85rem; line-height: 1.5; margin-bottom: 15px;">
                                    Gérez et administrez les collectivités territoriales et les services publics.
                                </p>
                                <a href="{% url 'bts_collectivites_locales' %}" class="btn-outline" style="padding: 8px 20px; font-size: 0.8rem;">En savoir plus <i class="fas fa-arrow-right"></i></a>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            
            <style>
                .filiere-card:hover {
                    transform: translateY(-8px);
                    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
                }
                .filiere-card {
                    animation: fadeInUp 0.5s ease forwards;
                    opacity: 0;
                }
                /* Animation cascade pour les cartes */
                .filiere-card:nth-child(1) { animation-delay: 0.1s; }
                .filiere-card:nth-child(2) { animation-delay: 0.15s; }
                .filiere-card:nth-child(3) { animation-delay: 0.2s; }
                .filiere-card:nth-child(4) { animation-delay: 0.25s; }
                .filiere-card:nth-child(5) { animation-delay: 0.3s; }
                .filiere-card:nth-child(6) { animation-delay: 0.35s; }
                .filiere-card:nth-child(7) { animation-delay: 0.4s; }
                .filiere-card:nth-child(8) { animation-delay: 0.45s; }
                .filiere-card:nth-child(9) { animation-delay: 0.5s; }
                .filiere-card:nth-child(10) { animation-delay: 0.55s; }
            </style>
        </section>

        <!-- =========================
             🎯 SECTION CTA FINAL
        ========================== -->
        <section id="inscriptions" style="padding: 80px 0; background: linear-gradient(135deg, var(--color-primary) 0%, #0d2a4d 100%); color: white; text-align: center;">
            <div class="container">
                <h2 style="font-size: 2.5rem; font-weight: 800; margin-bottom: 20px; color: white;">Lancez votre carrière professionnelle !</h2>
                <p style="font-size: 1.1rem; max-width: 700px; margin: 0 auto 35px; opacity: 0.9;">Inscrivez-vous dès aujourd'hui en BTS à ESSIG et devenez un technicien supérieur qualifié.</p>
                <div style="display: flex; gap: 20px; justify-content: center; flex-wrap: wrap;">
                    <a href="#" class="btn-custom" style="background: var(--color-accent); font-size: 1.1rem; padding: 15px 40px;">
                        <i class="fas fa-file-signature"></i> S'inscrire maintenant
                    </a>
                </div>
            </div>
        </section>
    </main>
    
    <!-- Footer -->
    {% include 'includes/footer.html' %}
    
    <script>
        function toggleAccordion(element) {
            const content = element.nextElementSibling;
            const icon = element.querySelector('.accordion-icon');
            const isOpen = content.style.maxHeight && content.style.maxHeight !== '0px';
            
            // Fermer tous les autres accordéons
            const allContents = document.querySelectorAll('.accordion-content');
            const allIcons = document.querySelectorAll('.accordion-icon');
            
            allContents.forEach(item => {
                if (item !== content) {
                    item.style.maxHeight = '0px';
                }
            });
            allIcons.forEach(item => {
                if (item !== icon) {
                    item.textContent = '+';
                }
            });
            
            // Ouvrir/fermer celui cliqué
            if (!isOpen) {
                content.style.maxHeight = content.scrollHeight + 'px';
                icon.textContent = '−';
            } else {
                content.style.maxHeight = '0px';
                icon.textContent = '+';
            }
        }
    </script>
    
    <!-- Bootstrap JS -->
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>