/* ============================================
   PRESENTATION.CSS - Page d'accueil provisoire
   ============================================ */

/* ============================================
   HERO SECTION
   ============================================ */
.hero-inscription {
    background: linear-gradient(135deg, #5e2b8f 0%, #2c3e91 100%);
    padding: 140px 0 80px;
    position: relative;
    z-index: 1; /* Pas de z-index élevé pour permettre scroll normal */
    overflow: hidden;
}

.hero-inscription::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.05) 0%, transparent 50%);
    z-index: 1;
}

.hero-inscription .container {
    position: relative;
    z-index: 2;
}

.hero-inscription h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-inscription .lead {
    font-size: 1.3rem;
    font-weight: 300;
    opacity: 0.95;
}

.badge-exclusif {
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    display: inline-block;
}

.badge-exclusif i {
    margin-right: 0.5rem;
}

/* Boutons Hero */
.hero-inscription .btn {
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hero-inscription .btn-outline-light {
    border: 2px solid rgba(255,255,255,0.8);
    background: transparent;
    color: white;
}

.hero-inscription .btn-outline-light:hover {
    background: rgba(255,255,255,0.2);
    border-color: white;
    transform: translateY(-2px);
    color: white;
}

.hero-inscription .btn-cta-primary {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #2c3e91;
    border: none;
    box-shadow: 0 4px 15px rgba(255,215,0,0.4);
}

.hero-inscription .btn-cta-primary:hover {
    background: linear-gradient(135deg, #FFA500, #FFD700);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,215,0,0.6);
}

/* ============================================
   CONCEPT SECTION
   ============================================ */
.concept-section {
    background: #f8f9fa;
    position: relative;
    z-index: 10; /* Assure que le contenu passe AU-DESSUS du hero au scroll */
}

.concept-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    position: relative;
    z-index: 10;
}

.concept-card h2 {
    position: relative;
}

.concept-card h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #5e2b8f, #2c3e91);
    margin: 1rem auto;
    border-radius: 2px;
}

.mission-text {
    text-align: left;
    color: #333;
    line-height: 1.8;
    font-size: 1.05rem;
}

.mission-text p {
    margin-bottom: 1.25rem;
}

.mission-text strong {
    color: #2c3e91;
}

/* Mini cards piliers */
.pillar-mini-card {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 2rem 1.5rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.pillar-mini-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.pillar-mini-card.active {
    background: linear-gradient(135deg, #5e2b8f, #2c3e91);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(94, 43, 143, 0.3);
}

.pillar-mini-card.active i,
.pillar-mini-card.active h4,
.pillar-mini-card.active p {
    color: white;
}

.pillar-mini-card i {
    font-size: 3rem;
    color: #2c3e91;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.pillar-mini-card h4 {
    color: #5e2b8f;
    font-weight: 700;
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

.pillar-mini-card p {
    color: #666;
    margin-bottom: 0;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.pillar-chevron {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    color: #2c3e91;
    transition: transform 0.3s ease, color 0.3s ease;
}

.pillar-mini-card.active .pillar-chevron {
    transform: rotate(180deg);
    color: white;
}

/* Accordéon piliers */
.pillar-accordion {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.pillar-accordion.active {
    max-height: 1000px;
}

.pillar-accordion-content {
    background: linear-gradient(135deg, rgba(94, 43, 143, 0.05), rgba(44, 62, 145, 0.05));
    padding: 2.5rem;
    margin-top: 1.5rem;
    border-radius: 15px;
    border-left: 4px solid #5e2b8f;
}

.pillar-accordion-content h5 {
    color: #2c3e91;
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.pillar-accordion-content p {
    color: #333;
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

.pillar-accordion-content p:last-child {
    margin-bottom: 0;
}

/* Zone pilote */
.zone-pilote {
    background: linear-gradient(135deg, #2c3e91, #5e2b8f);
    padding: 2rem;
    border-radius: 15px;
    margin-top: 3rem;
    border-left: 6px solid #FFD700;
    box-shadow: 0 8px 25px rgba(94, 43, 143, 0.3);
}

.zone-pilote h5 {
    color: white;
    font-weight: 700;
}

.zone-pilote p {
    color: white;
    opacity: 0.95;
}

.zone-pilote i {
    color: #FFD700;
}

/* ============================================
   PROBLÉMATIQUES
   ============================================ */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #2c3e91;
    margin-bottom: 1rem;
}

.problematiques-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
}

.problematiques-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.problematiques-card .card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #5e2b8f, #2c3e91);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
}

.problematiques-card:hover .card-icon {
    transform: rotate(360deg);
}

.problematiques-card .card-icon.success {
    background: linear-gradient(135deg, #4CAF50, #2e7d32);
}

.problematiques-card .card-icon i {
    font-size: 2.5rem;
    color: white;
}

.problematiques-card h3 {
    color: #2c3e91;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}

.problemes-list {
    list-style: none;
    padding: 0;
}

.problemes-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.problemes-list li:last-child {
    border-bottom: none;
}

.problemes-list i {
    color: #dc3545;
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 0;
    line-height: 1.5; /* Même line-height que le texte */
}

/* ============================================
   CARTES DE PARTICIPATION
   ============================================ */
.participation-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 10;
}

.participation-card:hover {
    transform: translateY(-5px);
}

.participation-card .participation-icon {
    transition: transform 0.3s ease;
}

.participation-card:hover .participation-icon {
    transform: scale(1.1);
}

.participation-card .btn {
    transition: all 0.3s ease;
}

.participation-card .btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* Animation pulse pour le badge recommandé */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.participation-card .badge {
    animation: pulse 2s ease-in-out infinite;
}

/* ============================================
   CTA EMAIL SIMPLE
   ============================================ */
.cta-email-form {
    max-width: 600px;
    margin: 0 auto;
}

.cta-email-form .input-group {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

.cta-email-form .form-control {
    border: 2px solid #e0e0e0;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
}

.cta-email-form .form-control:focus {
    border-color: #2c3e91;
    box-shadow: none;
}

.cta-email-form .btn {
    padding: 1rem 2rem;
    font-weight: 600;
}

#ctaResultMessage {
    max-width: 600px;
    margin: 10px auto;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in-up {
    /* Les styles d'animation sont gérés par JS */
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991px) {
    .hero-inscription {
        padding: 100px 0 60px;
    }
    
    .hero-inscription h1 {
        font-size: 2.2rem;
    }
    
    .hero-inscription .lead {
        font-size: 1.1rem;
    }
    
    .participation-card {
        margin-bottom: 1.5rem;
    }
    
    .participation-card:last-child {
        margin-bottom: 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .hero-inscription {
        padding: 100px 0 50px;
    }
    
    .hero-inscription h1 {
        font-size: 1.8rem;
    }
    
    .hero-inscription .lead {
        font-size: 1rem;
    }
    
    .hero-inscription .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .hero-inscription .d-flex.gap-3 {
        flex-direction: column !important;
        gap: 0.75rem !important;
    }
    
    .concept-card {
        padding: 2rem 1.5rem;
    }
    
    .mission-text {
        font-size: 1rem;
    }
    
    .participation-card {
        padding: 2rem 1.5rem !important;
    }
    
    .participation-card h3 {
        font-size: 1.5rem !important;
    }
    
    .participation-card p {
        font-size: 1rem !important;
    }
    
    .participation-icon {
        width: 60px !important;
        height: 60px !important;
    }
    
    .participation-icon i {
        font-size: 2rem !important;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .problematiques-card {
        padding: 2rem 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .zone-pilote {
        padding: 1.5rem 1rem;
    }
    
    .zone-pilote .row > div {
        margin-bottom: 1rem;
    }
    
    .zone-pilote .row > div:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 575px) {
    .badge-exclusif {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
    }
    
    .cta-email-form .input-group {
        flex-direction: column;
    }
    
    .cta-email-form .form-control {
        width: 100%;
    }
    
    .cta-email-form .btn {
        width: 100%;
        margin-top: 0.5rem;
    }
}

/* ============================================
   UTILITAIRES
   ============================================ */
.bg-light {
    background-color: #f8f9fa !important;
}

section {
    position: relative;
    z-index: 10; /* Toutes les sections au-dessus du hero */
}

/* ============================================
   FOOTER ENHANCED
   ============================================ */
.footer-enhanced {
    background: linear-gradient(135deg, #2c3e91, #5e2b8f);
    color: white;
    margin-top: 5rem;
}

.footer-title {
    color: #FFD700;
    font-weight: 700;
    font-size: 1.3rem;
}

.footer-subtitle {
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-badge {
    background: rgba(255, 255, 255, 0.15);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    border-left: 3px solid #FFD700;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.footer-links a:hover {
    color: #FFD700;
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom small {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

.footer-bottom i {
    color: #FFD700;
}

.footer-enhanced .btn-light {
    background: white;
    color: #2c3e91;
    font-weight: 600;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.footer-enhanced .btn-light:hover {
    background: #FFD700;
    color: #2c3e91;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}