/* =========================================
   STYLE.CSS - GLOBAL & HERO (Code existant conservé)
   ========================================= */

/* --- LOGO CSS PUR (Backup) --- */
.brand-logo { position: relative; width: 50px; height: 40px; margin-right: 15px; font-family: 'Montserrat', sans-serif; }
.letter-c { position: absolute; font-size: 2.5rem; font-weight: 900; color: #FFFF00; left: 0; top: -10px; z-index: 1; }
.letter-n { position: absolute; font-size: 1.4rem; font-weight: 900; color: #FF0000; left: 15px; top: 3px; z-index: 2; }

/* --- RESET & BASE --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Montserrat', sans-serif; background-color: #f4f4f4; color: #333; }

/* --- HERO SECTION STYLES (Ton code existant) --- */
.premium-hero {
    background: linear-gradient(135deg, #000a1a 0%, #00152e 40%, #003366 100%);
    color: white; min-height: 90vh; padding-top: 100px; padding-bottom: 60px;
    position: relative; overflow: hidden; display: flex; align-items: center;
}
.hero-overlay-pattern {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.03) 0%, transparent 25%), radial-gradient(circle at 80% 20%, rgba(255,215,0,0.03) 0%, transparent 25%);
    pointer-events: none;
}
.container { width: 90%; max-width: 1300px; margin: 0 auto; }
.hero-container-flex { display: flex; justify-content: space-between; align-items: center; gap: 60px; width: 90%; max-width: 1300px; margin: 0 auto; }
.hero-content-premium { flex: 1; z-index: 2; }
.brand-identity {
    display: inline-flex; align-items: center; background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px); padding: 8px 20px; border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.2); margin-bottom: 30px;
    font-weight: 600; letter-spacing: 1px; font-size: 0.9rem; text-transform: uppercase;
}
.brand-identity .separator { margin: 0 12px; color: #FFD700; opacity: 0.6;}
.brand-name { color: #FFD700; font-weight: 800; }
.welcome-sur { font-size: 1.3rem; font-weight: 400; margin-bottom: 10px; color: #a0c4ff; letter-spacing: 2px; text-transform: uppercase; }
.hero-headline h1 { font-size: 3.8rem; font-weight: 900; line-height: 1.15; margin-bottom: 25px; text-transform: uppercase; color: white; }
.highlight-gold { color: #FFD700; position: relative; display: inline-block; }
.text-glow { text-shadow: 0 0 20px rgba(255, 215, 0, 0.4); }
.hero-description { font-size: 1.15rem; line-height: 1.6; color: #dceeff; max-width: 550px; margin-bottom: 40px; }
.hero-cta-group { display: flex; flex-direction: column; align-items: flex-start; }
.btn-premium-cta {
    background: linear-gradient(90deg, #FFD700 0%, #ffbd00 100%); color: #00152e;
    font-size: 1.2rem; font-weight: 800; padding: 18px 45px; border-radius: 50px;
    text-decoration: none; box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
    display: inline-flex; align-items: center; gap: 15px; transition: all 0.3s ease; border: 2px solid transparent;
}
.btn-premium-cta:hover { transform: translateY(-5px) scale(1.02); box-shadow: 0 15px 40px rgba(255, 215, 0, 0.5); background: white; color: #00152e; border-color: #FFD700; }
.cta-subtext { margin-top: 15px; font-size: 0.9rem; color: #a0c4ff; margin-left: 20px; }
@keyframes subtlePulse { 0% { box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3); } 50% { box-shadow: 0 10px 40px rgba(255, 215, 0, 0.5); } 100% { box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3); } }
.pulse-animation { animation: subtlePulse 3s infinite ease-in-out; }
.hero-image-premium { flex: 1; position: relative; display: flex; justify-content: center; z-index: 2; }
.image-wrapper-pro {
    position: relative; z-index: 3; border-radius: 30px; padding: 10px;
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px); box-shadow: 0 30px 60px rgba(0,0,0,0.4); max-width: 450px;
}
.pro-pic { width: 100%; height: auto; display: block; border-radius: 25px; border: 2px solid rgba(255, 215, 0, 0.5); }
.graphic-blob {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 120%; height: 120%; background: linear-gradient(135deg, rgba(0, 153, 255, 0.3), rgba(0, 51, 102, 0.1));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; z-index: 1; filter: blur(30px); opacity: 0.6;
    animation: blobMorph 8s infinite alternate ease-in-out;
}
@keyframes blobMorph { 0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; } 100% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; transform: translate(-50%, -50%) rotate(10deg); } }
.floating-badge {
    position: absolute; background: white; color: #00152e; padding: 8px 15px;
    border-radius: 30px; font-weight: 700; font-size: 0.9rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2); display: flex; align-items: center; gap: 8px;
}
.floating-badge i { color: #FFD700; }
.badge-top { top: 30px; left: -20px; animation: float 4s infinite ease-in-out; }
.badge-bottom { bottom: 40px; right: -15px; animation: float 4s infinite ease-in-out reverse; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
@media (max-width: 992px) {
    .hero-container-flex { flex-direction: column-reverse; text-align: center; gap: 40px; padding-top: 30px; }
    .hero-content-premium { align-items: center; display: flex; flex-direction: column; }
    .brand-identity { margin: 0 auto 30px auto; }
    .hero-headline h1 { font-size: 2.5rem; }
    .hero-description { margin: 0 auto 40px auto; }
    .hero-cta-group { align-items: center; }
    .image-wrapper-pro { max-width: 350px; }
    .floating-badge { display: none; }
}

/* =========================================
   NOUVEAU CATALOGUE (SIDEBAR + RECHERCHE)
   ========================================= */

.catalog-section { padding: 60px 5%; background-color: #f9f9f9; scroll-margin-top: 100px; }
.catalog-header { text-align: center; margin-bottom: 40px; }
.catalog-header h2 { font-size: 2.5rem; color: #00152e; font-weight: 800; margin-bottom: 10px; text-transform: uppercase; }
.catalog-header p { color: #666; font-size: 1.1rem; }

/* 1. BARRE DE RECHERCHE */
.catalog-search-container {
    width: 100%; max-width: 800px; margin: 0 auto 50px auto; position: relative;
}
.catalog-search-input {
    width: 100%; padding: 20px 60px 20px 30px; border-radius: 50px;
    border: 2px solid #e0e0e0; font-size: 1.1rem; box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}
.catalog-search-input:focus {
    border-color: #0099ff; outline: none; box-shadow: 0 10px 40px rgba(0,153,255,0.15);
}
.catalog-search-btn {
    position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
    width: 50px; height: 50px; background: #00152e; color: white; border: none;
    border-radius: 50%; cursor: pointer; font-size: 1.2rem; transition: background 0.3s;
}
.catalog-search-btn:hover { background: #0099ff; }

/* 2. LAYOUT SIDEBAR + CONTENU */
.catalog-layout { display: flex; gap: 40px; align-items: flex-start; }

/* Sidebar Gauche */
.catalog-sidebar {
    flex: 0 0 300px; background: white; border-radius: 15px; padding: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05); position: sticky; top: 120px;
    max-height: 80vh; overflow-y: auto;
}
.sidebar-title { font-size: 1rem; color: #999; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; padding-left: 10px;}

.cat-btn {
    display: flex; align-items: center; gap: 15px; width: 100%;
    padding: 14px 20px; border: none; background: transparent; color: #555;
    text-align: left; cursor: pointer; border-radius: 10px; font-size: 0.95rem;
    font-weight: 600; transition: all 0.2s ease; margin-bottom: 5px; font-family: 'Montserrat', sans-serif;
}
.cat-btn:hover { background: #f4f8ff; color: #0099ff; padding-left: 25px; }
.cat-btn.active { background: #00152e; color: #FFD700; box-shadow: 0 4px 15px rgba(0,0,0,0.2); padding-left: 25px;}
.cat-btn i { width: 20px; text-align: center; }

/* Contenu Droite */
.catalog-content-area { flex: 1; min-height: 500px; }

.category-group { display: none; animation: slideUp 0.5s ease; }
.category-group.active { display: block; }

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.group-header {
    margin-bottom: 30px; border-bottom: 2px solid #eee; padding-bottom: 15px;
    display: flex; align-items: center; gap: 15px;
}
.group-title { font-size: 2rem; color: #00152e; font-weight: 800; margin: 0; }
.group-icon { font-size: 2rem; color: #FFD700; }

/* Grille des Packs */
.packs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; }

.category-card {
    background: white; padding: 30px; border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid transparent; display: flex; flex-direction: column; height: 100%;
}
.category-card:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(0,0,0,0.1); border-top-color: #FFD700; }

.pack-badge {
    background: #e6f4ff; color: #0099ff; padding: 5px 12px; border-radius: 20px;
    font-size: 0.8rem; font-weight: 700; width: fit-content; margin-bottom: 15px;
}
.category-card h3 { font-size: 1.3rem; color: #00152e; margin-bottom: 15px; font-weight: 700; line-height: 1.3; }
.pack-desc { color: #666; font-size: 0.95rem; line-height: 1.6; margin-bottom: 25px; flex-grow: 1; }
.card-action { margin-top: auto; }

.btn-course {
    display: block; width: 100%; padding: 12px; background-color: #00152e;
    color: white; text-decoration: none; border-radius: 8px; font-weight: 600;
    transition: background 0.3s; text-align: center;
}
.btn-course:hover { background-color: #0099ff; }

/* Message Pas de résultats */
.no-results { text-align: center; padding: 60px; color: #888; display: none; }
.no-results i { font-size: 4rem; margin-bottom: 20px; color: #ddd; }

/* RESPONSIVE CATALOGUE */
@media (max-width: 992px) {
    .catalog-layout { flex-direction: column; }
    .catalog-sidebar {
        width: 100%; display: flex; overflow-x: auto; position: static;
        padding: 15px; gap: 10px; white-space: nowrap; margin-bottom: 30px;
        border: 1px solid #eee;
    }
    .cat-btn { width: auto; flex-shrink: 0; margin-bottom: 0; background: #fff; border: 1px solid #eee; }
    .cat-btn:hover { padding-left: 20px; }
    .cat-btn.active { padding-left: 20px; }
    .sidebar-title { display: none; }
}
/* --- NOUVEAU : NAVIGATION PAR SECTEURS (TOP) --- */
.sectors-nav-container {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.sectors-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.sector-btn {
    background: white;
    border: 1px solid #e0e0e0;
    padding: 10px 18px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    color: #555;
    transition: all 0.2s ease;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sector-btn:hover {
    border-color: #0099ff;
    color: #0099ff;
    background: #f4f8ff;
    transform: translateY(-2px);
}

.sector-btn.active {
    background: #00152e;
    color: #FFD700;
    border-color: #00152e;
    box-shadow: 0 4px 10px rgba(0,21,46, 0.3);
}

/* Ajustement Sidebar pour masquer les éléments non sélectionnés */
.cat-btn { display: none; } /* Caché par défaut */
.cat-btn.visible { display: flex; animation: fadeIn 0.3s ease; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Correction Bug Interaction : Assurer que les liens sont cliquables */
.category-card { position: relative; z-index: 1; }
.btn-course { position: relative; z-index: 5; cursor: pointer; }
/* --- NAVIGATION PAR SECTEURS (Haut) --- */
.sectors-nav-container {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    text-align: center;
}

.sectors-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.sector-btn {
    background: white;
    border: 1px solid #e0e0e0;
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    color: #555;
    transition: all 0.2s ease;
    font-family: 'Montserrat', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.sector-btn:hover {
    border-color: #0099ff;
    color: #0099ff;
    background: #f4f8ff;
    transform: translateY(-2px);
}

.sector-btn.active {
    background: #00152e;
    color: #FFD700;
    border-color: #00152e;
    box-shadow: 0 4px 10px rgba(0,21,46, 0.2);
}

/* --- AJUSTEMENT SIDEBAR (Gauche) --- */
.catalog-sidebar {
    background: transparent !important; /* Enlever fond blanc global si gênant */
    box-shadow: none !important;
    padding: 0 !important;
}

.cat-btn {
    display: none; /* Caché par défaut (géré par JS) */
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 15px 20px;
    border: none;
    background: white; /* Fond blanc comme sur l'image */
    color: #333;
    text-align: left;
    cursor: pointer;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.2s;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.cat-btn.visible {
    display: flex; /* Affiché si appartient au secteur */
    animation: fadeIn 0.3s ease;
}

.cat-btn:hover {
    background: #f0f7ff;
    color: #0099ff;
}

/* Style Actif (Bleu comme sur la capture) */
.cat-btn.active {
    background: #0099ff !important;
    color: white !important;
    box-shadow: 0 4px 10px rgba(0, 153, 255, 0.3);
}

/* --- AJUSTEMENT CARTES (Droite) --- */
.category-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.card-icon {
    font-size: 2rem;
    color: #00152e;
    margin-bottom: 20px;
}

.category-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
    color: #00152e;
}

.category-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    flex-grow: 1; /* Pousse le bouton vers le bas */
    margin-bottom: 25px;
}

/* Bouton "Voir le programme" (Sombre comme sur l'image) */
.btn-card-action {
    display: block;
    width: 100%;
    padding: 12px 0;
    background-color: #00152e;
    color: white;
    text-align: center;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.btn-card-action:hover {
    background-color: #0099ff;
}

@keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
/* ... Code existant ... */

/* --- AJOUTS : PRIX & BOUTONS --- */

/* Prix */
.pack-price {
    display: block;
    font-size: 1.5rem;
    color: #00152e; /* Bleu foncé */
    font-weight: 800;
    margin-bottom: 15px;
    background: #f4f8ff;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
}

/* Groupe de boutons */
.card-buttons-group {
    display: flex;
    flex-direction: column;
    gap: 10px; /* Espace entre les deux boutons */
    margin-top: auto;
}

/* Bouton WhatsApp (Vert) */
.btn-whatsapp {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 0;
    background-color: #25D366; /* Couleur Officielle */
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 1px solid #25D366;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    border-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    color: white;
}

.btn-whatsapp i {
    font-size: 1.2rem;
}

/* Bouton Voir Programme (Bleu - ajusté) */
.btn-card-action {
    display: block;
    width: 100%;
    padding: 12px 0;
    background-color: #00152e;
    color: white;
    text-align: center;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.3s;
}

.btn-card-action:hover {
    background-color: #0099ff;
    color: white;
}
/* ... Code existant ... */

/* --- AJOUTS : NOUVEAUX BOUTONS & SECTION SERVICES --- */

/* Groupe de boutons Hero (Alignement) */
.hero-cta-group {
    display: flex;
    flex-direction: column; /* Mobile first */
    gap: 15px;
    width: 100%;
}

@media (min-width: 768px) {
    .hero-cta-group {
        flex-direction: row; /* Desktop : côte à côte */
    }
}

/* Bouton Secondaire (Voir Services) */
.btn-secondary-cta {
    background: transparent;
    color: white;
    font-size: 1.2rem;
    font-weight: 800;
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    border: 2px solid #FFD700;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.btn-secondary-cta:hover {
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-5px);
}

/* Section Services (Design Distinct) */
.services-section {
    padding: 80px 5%;
    background-color: #eef2f6; /* Fond légèrement bleuté/gris pour différencier */
    border-top: 1px solid #dceeff;
    scroll-margin-top: 100px;
}

.services-section .catalog-header h2 {
    color: #003366; /* Bleu plus profond */
}

/* Bouton Email (Rouge/Orange pour contraste) */
.btn-email {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 0;
    background-color: #fff;
    color: #ea4335; /* Rouge Google/Email */
    text-decoration: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 1px solid #ea4335;
}

.btn-email:hover {
    background-color: #ea4335;
    color: white;
    transform: translateY(-2px);
}

/* Bloc Réseaux Sociaux (Fin de bloc) */
.social-block-container {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #ddd;
    text-align: center;
}

.social-block-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #00152e;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.social-icons-big {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #00152e;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
    text-decoration: none;
}

.social-btn:hover {
    background: #00152e;
    color: #FFD700;
    transform: translateY(-5px);
}

/* Responsive ajustements */
@media (max-width: 768px) {
    .btn-premium-cta, .btn-secondary-cta {
        width: 100%;
        justify-content: center;
    }
}