/* Styles pour la page Maternelle */

/* Palette de couleurs */
:root {
    --primary-color: #e99700;
    --primary-light: rgba(180, 117, 0, 0.1);
    --white: #ffffff;
    --off-white: #f8f9fa;
    --light-gray: #e9ecef;
    --light-blue: #fff4e5;
    --text-color: #2d3748;
    --text-muted: #6c757d;
}

/* Typographie */
body {
    font-family: 'Poppins', 'Montserrat', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

/* En-tête - Assurer qu'il n'est pas fixe */
header {
    position: relative; /* S'assure que le header n'est pas fixe */
    width: 100%;
    display: block;
}

header h1 {
    font-weight: 600;
    letter-spacing: 0.5px;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.separator {
    display: block;
    height: 3px;
    width: 80px;
    background-color: var(--primary-color);
    margin: 0 auto;
}

/* Cards & Hover Effects */
.rounded-4 {
    border-radius: 8px !important;
}

.rounded-top-4 {
    border-top-left-radius: 8px !important;
    border-top-right-radius: 8px !important;
}

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

.hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Section descriptive */
.intro-icon svg, .section-icon svg {
    transition: transform 0.3s ease;
}

.card:hover .intro-icon svg, .card:hover .section-icon svg {
    transform: scale(1.1);
}

.text-primary {
    color: var(--primary-color) !important;
}

/* Activités */
.activity-list li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 18px;
    line-height: 1.5;
}

.activity-bullet {
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: inline-block;
}

.activity-list li strong {
    font-weight: 500;
    color: var(--text-color);
}

/* Footer CTA */
.bg-light-blue {
    background-color: var(--light-blue);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover, .btn-primary:focus {
    background-color: #b47500;
    border-color: #b47500;
}

.rounded-pill {
    border-radius: 50rem !important;
}

/* Animation pour les cards */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-card {
    animation: fadeIn 0.6s ease-out forwards;
    opacity: 0;
}

.content-card:nth-child(1) { animation-delay: 0.1s; }
.content-card:nth-child(2) { animation-delay: 0.2s; }
.content-card:nth-child(3) { animation-delay: 0.3s; }

/* Responsive design */
@media (max-width: 767.98px) {
    .intro-card .d-flex {
        flex-direction: column;
    }
    
    .intro-icon {
        margin-bottom: 15px;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .card-body {
        padding: 1.25rem;
    }
    
    .activity-list li {
        margin-bottom: 12px;
    }
    
    h3.card-title {
        font-size: 1.25rem;
    }
}

/* Print styles for PDF export */
@media print {
    body {
        font-family: 'Poppins', sans-serif;
        background-color: white;
    }
    
    .container {
        max-width: 100% !important;
        width: 100% !important;
        padding: 0;
        margin: 0;
    }
    
    .card {
        break-inside: avoid;
        border: 1px solid #dee2e6 !important;
        box-shadow: none !important;
    }
    
    header, footer, nav, .main-nav, .back-to-top, button, .cta-section {
        display: none !important;
    }
    
    h1, h2, h3, h4, h5, h6 {
        color: var(--primary-color) !important;
    }
    
    svg {
        display: inline-block !important;
    }
    
    .row {
        display: block !important;
    }
    
    .col-md-6, .col-md-12 {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
    }
    
    .card-footer {
        background-color: transparent !important;
        border-top: 0 !important;
    }
} 