/* CHAPITRE 1 ======== VARIABLES ET STYLES GLOBAUX ======== */
:root {
    --primary-color: #747e40;   
    --secondary-color: #ea8730; 
    --thirdly-color : #bccbb5;
    --light-bg: #dcd4c7;        
    --text-dark: #333;
    --text-light: #ffffff;
    --page-bg: #ffffff; 
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif; 
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--page-bg);
}



/* CHAPITRE 2 */
h1, h2, h3, h4 {
    font-weight: 400; 
    line-height: 1.2;
}

h1 {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}


/* CHAPITRE 3 ======== HEADER ======== */
header {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding-top: 20px;
    text-align: center;
    position: relative; 
}


header.page-interne {
    background-color: transparent; 
    color: var(--text-dark); 
    padding-top: 5px; 
    padding-bottom: 5px;
}

header.page-interne .logo-container {
    padding-bottom: 0;
}

header.page-interne .logo {
    width: 60px; 
    height: 60px;
    margin-top: 5px;
    margin-bottom: 5px;
    border: 3px solid var(--primary-color); 
}

header.page-interne h1, 
header.page-interne h3 {
    display: none; 
}

header.page-interne nav {
    top: 5px; 
}

header.page-interne nav ul li a {
    color: var(--text-dark); 
    font-size: 0.9rem;
}

header h3 {
    font-size: 1.2rem;
    font-style: italic;
    font-weight: 300;
    margin-left: 300px; 
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 20px;
}

.logo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 3px solid var(--text-light);
    margin-bottom: 15px;
    margin-top: 45px;
    /* Styles de remplacement si l'image est manquante */
    background-color: #fff;
    object-fit: cover;
}

header h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

header h3 {
    font-size: 2.2rem;
    font-style: italic;
    font-weight: 300;
}

nav {
    position: absolute;
    top: 25px;
    right: 25px;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    font-weight: 700;
    padding: 5px;
    color: var(--text-light);
}


/* CHAPITRE 4 ======== SECTION HERO ======== */
#hero {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    gap: 60px;
    min-height: 400px;
}

#hero .hero-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#hero .hero-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

#hero .hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#hero h2 {
    font-size: 2.8rem;
    color: var(--primary-color);
    line-height: 1.3;
    margin-bottom: 0;
    font-weight: 400;
}


/* CHAPITRE 5 ======== SECTION SERVICES ======== */
#services {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 80px 40px;
    margin-top: 0;
}

#services .services-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    justify-content: center;
}

#services .service-item {
    flex: 1;
    max-width: 400px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
}

#services .service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    background-color: rgba(255, 255, 255, 0.15);
}

#services .service-item a {
    display: block;
    text-decoration: none;
    color: inherit;
}

#services h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    font-weight: 700;
}

.service-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* CHAPITRE 6 ======== SECTION À PROPOS ======== */
#about {
    background-color: var(--light-bg);
    padding: 80px 40px;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 1.5;
    padding: 0;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.about-text .subtitle {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-weight: 400;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 25px;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    display: block;
}


.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--text-dark);
    padding: 12px 25px;
    border: none;
    cursor: pointer;
    font-weight: 700;
    margin-top: 20px;
    text-align: center;
    font-size: 1rem;
    border-radius: 3px;
}

.btn:hover {
    filter: brightness(1.1);
}


/* CHAPITRE 7 ======== FOOTER & CONTACT ======== */
#contact {
    background-color: var(--secondary-color);
    padding: 50px 20px;
}

#contact h4 {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
}

form {
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 5px;
    font-weight: 700;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    background-color: #fff;
    font-size: 1rem;
}

.form-group-full {
    margin-top: 20px;
}

#contact button.btn {
    display: block;
    margin: 30px auto 0;
    background-color: var(--text-dark); 
    color: var(--text-light);
}

#contact button.btn:hover {
    background-color: #000;
}





/* CHAPITRE 8 ======== STYLES PAGE À PROPOS D'HÉLÈNE ======== */
#apropos-helene {
    width: 100%;             
    max-width: none;         
    margin: 0;               
    padding: 0 5%;           
    background-color: rgb(193, 199, 185); 
    display: flex;          
    flex-direction: column; 
    align-items: center;    
}

.section-titre {
    text-align: center;
    padding: 40px 0 30px;
}

.section-titre h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.section-titre h4 {
    font-size: 1.2rem;
    font-style: italic;
    font-weight: 300;
    color: var(--text-dark);
}


.bio-container {
    width: 100%;             
    max-width: none;       
    margin: 0 auto 100px;     
    background-color: #ffffff;
    
   
    display: grid;
    grid-template-columns: 2fr 1fr; 
    gap: 30px;
    padding: 60px; 
    position: relative;
}

.bio-texte {
    padding-right: 50px;
    line-height: 1.8; 
    font-size: 1rem;
    text-align: justify;
}

.bio-texte p {
    margin-bottom: 15px;
}

.bio-image {
    position: relative;
    height: 400px; 
    background-color: var(--primary-color); 
    margin-top: 100px; 
    overflow: hidden; 
}


.bio-image img { 
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%; 
    height: 90%;
    object-fit: cover;
    border-radius: 5px;
}
*/


.bio-image {
    
    background-image: url('helene.jpg'); 
    background-size: cover;
    background-position: center 30%; 
    border-radius: 5px;
}



.citation-container {
    display: grid;
    /* 3 colonnes: texte (2), image (1) */
    grid-template-columns: 2fr 1fr; 
    gap: 30px;
    position: relative;
    padding: 100px; 
    background-color: rgb(255, 255, 255);

    width: 100%;             
    max-width: none;       
    margin: 0 auto 50px;     
}



.citation {
    position:absolute;
    bottom: 0; 
    left: 40%; 
    width: 600px;
    transform: translate(0, -50%);
    text-align: right;
    font-style: italic;
    font-size: 2.1rem;
    color: var(--primary-color);
}


.fond-vert {
    position:absolute;
    bottom: 50px; 
    left: 20%; 
    width: 300px;
    height: 200px;
    background-color: rgb(55, 87, 55);
    margin-top: 100px; 
    overflow: hidden; 
}

.ph-icon {
    width: 300px;
    height: 200px;
    margin: 0 auto;
    background: #fff;
    border-radius: 5px;
    opacity: 0.5;
    margin-right: 60px;
    margin-left: 60px;
}






/* CHAPITRE 9 ======== SECTION OUTILS PÉDAGOGIQUES (MALLETTE) ======== */


#mallette {
    background-color: #ffffff; 
    padding-bottom: 50px; 
}

.mallette-titre {
    text-align: center;
    padding: 30px 20px 20px;
}

.mallette-titre h2 {
    font-size: 2.5rem;
    font-weight: 300; 
    color: var(--primary-color);
    margin-bottom: 0;
}

.mallette-titre .titre-principal {
    font-weight: 700; 
    margin-top: 5px;
    margin-bottom: 15px;
}

.mallette-titre .titre-subtitle {
    font-size: 2.1rem;
    font-style: italic;
    font-weight: 400;
    color: var(--text-dark);
    color: var(--secondary-color);
}

/* ======== SECTION OUTILS PÉDAGOGIQUES (MALLETTE) ======== */
#mallette {
    background-color: #ffffff; 
    padding-bottom: 0; 
}

/* Arbre "outils pédagogiques" (Reserve-arbo.html) */
#mallette .mallette-icones {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 60px;
    flex-wrap: wrap; /* évite le "tassement" sur écrans plus petits */
    margin-bottom: 20px;
    padding: 0 20px;
}

#mallette .mallette-icones .mallette-item {
    flex: 0 0 auto;
    width: 260px;
    margin: 0;
    padding: 0;
    text-align: center;
}

#mallette .mallette-icones .mallette-item a {
    display: block; /* empêche la concaténation des mots en inline */
    width: 100%;
    text-decoration: none;
    color: inherit;
}

#mallette .mallette-icones .mallette-item h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 14px;
    line-height: 1.2;
    white-space: normal;
    word-break: normal;
}

#mallette .mallette-icones .service-icon {
    margin: 0 auto;
}


.mallette-contenu {
    background-color: var(--thirdly-color); 
    padding: 20px 0; 
}


.mallette-cadre {
    max-width: 900px; 
    margin: 40px auto; 
    padding: 50px 20px; 
    text-align: center;
}

.mallette-icones {
    display: flex;
    justify-content: center;
    align-items: flex-start; 
    margin-bottom: 20px;
    
}

.mallette-cadre .mallette-item {
    flex: 0 0 auto;
    width: 250px;
    margin: 0 40px;
    padding: 0;
}


.mallette-cadre .mallette-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color); 
    margin-top: 15px;
}

.mallette-cadre .service-icon {
    width: 150px;
    height: 150px;
    opacity: 1; 
}

.mallette-cadre .message-acces {
    width: 100%;
    margin-top: 40px;
    font-size: 2.2rem;
    font-weight: 400;
    color: #da7e63; 
}



/* ======== SECTION FORMATIONS PROPOSÉES ======== */
#formations {
    background-color: #ffffff; 
    padding-bottom: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.formation-header-text {
    text-align: center;
    padding: 40px 20px;
    max-width: 700px;
    margin: 0 auto;
}

.formation-header-text h2 {
    font-size: 2.8rem;
    font-weight: 300;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.formation-header-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-dark);
}


.formation-grid {
    display: flex;
    flex-direction: column; 
    gap: 40px; 
    padding: 0 5%;
    max-width: 900px;
    margin: 0 auto 50px;
}


.formation-row {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 50px; 
    text-align: center;
}

.formation-item {
    padding: 10px;
    text-align: center;
}


.formation-image {
    width: 100%;
    height: 180px; 
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 10px;
    border: 3px solid var(--primary-color);
}


.formation-item h5 {
    font-size: 1.1rem;
    font-weight: 400; 
    color: var(--primary-color);
    line-height: 1.4;
    padding-top: 5px;
}


.formation-item a:hover .formation-image {
    transform: scale(1.02);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}


.formation-row .empty-slot {
    visibility: hidden; 
}



/* ======== SECTION DÉTAIL FORMATION (Damier) ======== */

.formation-header-text h2 {
    color: var(--primary-color);
}

#formation-detail {
    background-color: #ffffff;
    padding-bottom: none;
}


.formation-intro {
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.formation-intro h2 {
    font-size: 3.5rem;
    font-weight: 300;
    color: var(--text-dark);
}


.checkerboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    width: 100%;
    max-width: none;
    margin: 0 auto;
}


.checker-item {
    min-height: 350px; 
    display: flex;
    flex-direction: column;
    justify-content: center; 
    position: relative;
}

/* --- Styles pour les blocs de TEXTE --- */
.checker-item.text-content {
    padding: 80px;
    background-color: #fff;
    margin-left: 40px;
    margin-right: 40px;
}

.checker-item h4 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.checker-item p {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.checker-item ul {
    list-style: disc; 
    padding-left: 20px;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.checker-item ul li {
    margin-bottom: 10px;
}


.checker-item.image-content {
    padding: 0;
    height: 100%;
}

.checker-item.image-content img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}


.checker-item.bg-orange {
    background-color: var(--secondary-color);
}

/* RESPONSIVE : Sur mobile, tout passe en 1 colonne */
@media (max-width: 768px) {
    .checkerboard-grid {
        grid-template-columns: 1fr;
    }
    
    .checker-item {
        min-height: auto; 
    }
}



/* ======== SECTION FORMAT (3 COLONNES) ======== */

.formation-format-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr; 
    width: 100%;
    max-width: 100%; 
    background-color: #fff;
    margin-bottom: none; 
    align-items: stretch; 
}

/* --- Gestion des Images Latérales --- */
.format-image-side {
    width: 100%;
    height: 100%; 
    overflow: hidden;
}

.format-image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}

/* --- Gestion du Texte Central --- */
.format-text-center {
    padding: 50px 40px; 
    text-align: center; 
    display: flex;
    flex-direction: column;
    justify-content: center; 
}

.format-text-center h3 {
    font-size: 2rem;
    color: var(--text-dark); 
    margin-bottom: 10px;
    font-weight: 400;
}

.format-text-center .subtitle-text {
    font-size: 1.2rem;
    margin-bottom: 10px;
}


.mt-large {
    margin-top: 40px;
}

/* --- Bloc détails (aligné à gauche) --- */
.format-details {
    text-align: left; 
    margin-top: 20px;
    max-width: 500px; 
    margin-left: auto; 
    margin-right: auto;
}

.format-details h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.format-details ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 15px;
}

.format-details li {
    margin-bottom: 8px;
    line-height: 1.5;
}


@media (max-width: 900px) {
    .formation-format-container {
        grid-template-columns: 1fr;
    }

    .format-image-side {
        height: 300px; 
    }
}



/* ======== SECTION MALLETTE PÉDAGOGIQUE (NOUVELLE) ======== */

.mallette-section {
    background-color: #ffffff;
    padding: 40px 5%; 
    position: relative; 
    max-width: 1400px;
    margin: 0 auto 50px;
}

.mallette-header-container {
    position: relative; 
    text-align: center;
    margin-bottom: 40px;
    /* Espace réservé pour éviter que le bouton (positionné en absolute) chevauche le titre */
    padding-top: 75px;
}

/* --- Le Bouton "Accès Ressources" --- */
.ressources-btn-container {
    position:absolute;
    top: 15px;
    right: 5%;
    z-index: 10;
}

.btn-ressources {
    display: inline-block;
    background-color: #4f7e5e; 
    color: #ffffff;
    padding: 10px 25px;
    border-radius: 20px; 
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s;
}

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

.mallette-titles {
    max-width: 100%;
    padding: 0 2%;
}

.mallette-titles h2 {
    font-size: 4rem; 
    color: var(--primary-color); 
    margin-bottom: 5px;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.05;
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.06);
}

.mallette-titles .subtitle-orange {
    color: var(--secondary-color); 
    font-weight: 600;
    margin-top: 0;
    font-size: 3.2rem;
    line-height: 1.05;
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.06);
}

.mallette-visual {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.mallette-visual img {
    width: 100%;
    height: auto;
    display: block;
}

.presentation-section {
    background-color: #ffffff;
    padding: 0 5% 50px;
    max-width: 1100px;
    margin: 0 auto;
    color: var(--text-dark);
}

.mallette-paragraphe-orange {
    background-color: var(--secondary-color);
    color: var(--text-light);
    /* Fond plein écran malgré le max-width de la section */
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 55px 0 35px;
}

/* Empêcher une bande blanche entre le contenu orange et la section suivante */
.mallette-presentation-top {
    padding-bottom: 0;
}

/* idem pour la section "Témoignages" afin de coller la couleur au footer */
.mallette-presentation-bottom {
    padding-bottom: 0;
}

.mallette-paragraphe-orange .presentation-transition {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 5%;
    color: var(--text-light);
}

/* Fond orange plein écran uniquement pour le contenu "Composition de la mallette" */
.mallette-contenu-orange {
    background-color: var(--secondary-color);
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.mallette-contenu-orange .presentation-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 55px 5% 35px;
    color: var(--text-light);
}

.mallette-contenu-orange .composition-title {
    color: var(--text-light);
}

.mallette-contenu-orange .composition-list li {
    color: var(--text-light);
}

/* Temoignages: fond vert header plein largeur */
.temoignage-contenu-vert {
    background-color: var(--primary-color);
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 55px 0 45px;
    color: var(--text-light);
}

.temoignage-contenu-vert .video-content-container {
    max-width: 900px;
}

.temoignage-contenu-vert .composition-title {
    color: var(--text-light);
}

.temoignage-contenu-vert a {
    color: inherit;
}

/* Centrer verticalement l'image dans le bloc orange (desktop) */
@media (min-width: 769px) {
    .mallette-contenu-orange .composition-with-image {
        align-items: center;
    }
}

.presentation-content {
    font-size: 2rem;
    line-height: 1.8;
}

.presentation-content-reserve {
    font-size: 2rem;
    line-height: 1.8;
    list-style: circle;
}

.presentation-content-reserve-ul {
    font-size: 2rem;
    line-height: 1.8;
    list-style: circle;
}

.presentation-content-reserve-ul-full {
    font-size: 2rem;
    line-height: 1.8;
    list-style:disc;
}



.presentation-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 400; 
    margin-bottom: 30px;
    color: var(--text-dark);
}

.presentation-intro p {
    margin-bottom: 15px;
}

.questions-list {
    list-style: disc; 
    padding-left: 20px;
    margin-bottom: 30px;
}

.questions-list li {
    margin-bottom: 10px;
}


.presentation-transition {
    margin-bottom: 40px;
    text-align: justify;
}

.presentation-transition strong {
    font-weight: 700; 
}

.composition-with-image {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 40px;
    margin-top: 30px;
}

.composition-with-image .composition-container {
    flex: 1 1 0%;
    min-width: 0;
    margin-top: 0;
}

.composition-image {
    flex: 0 0 320px;
    min-width: 280px;
}

.composition-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .composition-with-image {
        flex-direction: column;
        gap: 24px;
    }

    .composition-image {
        flex: none;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
}

.composition-container {
    margin-top: 30px;
}

.composition-title {
    font-size: 2.2rem;
    font-weight: 700;
    text-decoration: underline; 
    text-align: center; 
    margin-bottom: 20px;
    color: var(--text-dark);
}

.composition-list {
    list-style: disc;
    padding-left: 28px;
}

.composition-list li {
    margin-bottom: 8px;
    font-size: 1.8rem;
    padding-left: 0;
    position: static;
    display: list-item;
}

.composition-list li::before {
    content: none;
    display: none;
}

/* Souligner les liens dans les listes avec losanges */
.composition-list a {
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
}

/* Override: la liste "Quels dispositifs..." ne doit pas être soulignée */
.attention-links-list a {
    text-decoration: none;
}

.banner-wide-section {
    width: 100%;             
    height: 250px;           
    overflow: hidden;        
    margin-bottom: 50px;     
}

.banner-wide-section img {
    width: 100%;           
    height: 100%;     
    object-fit: cover;     
    object-position: center; 
    display: block;      
}

@media (max-width: 768px) {
    .banner-wide-section {
        height: 150px; 
    }

    .ressources-btn-container {
        position: static;
        margin-bottom: 20px;
        text-align: center;
    }

    .mallette-header-container {
        padding-top: 20px;
    }
    
    .mallette-titles h2 {
        font-size: 2rem;
    }
}




/*  ====== Malette - Contenue - pages ====== */

.MalletteContent-section {
    background-color: #ffffff;
    padding: 50px 5% 50px; 
    max-width: 1200px;
    margin: 0 auto;
    color: var(--text-dark);
}

.presentation-title2 {
    text-align:left;
    font-size: 2.8rem;
    font-weight: 400; 
    margin-bottom: 30px;
    color: var(--text-dark);
}

.listepucee {
    list-style:circle;
    padding-left: 50px;
}





/* ======== TEMOIGNAGES ENFANTS --- VIDÉOS ======== */

.video-section {
    background-color: #ffffff;
    padding: 50px 5%;
    margin-bottom: 50px;
}

.video-content-container {
    max-width: 800px; 
    margin: 0 auto;   
}

.video-intro {
    text-align: center; 
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 30px;
}


.video-wrapper {
    width: 100%;
    margin-bottom: 30px; 
    background-color: #000; 
    line-height: 0; 
}

.video-wrapper video {
    width: 100%;    
    height: auto;   
    display: block;
    max-height: 500px; 
}




/* ======== PAGE ESPACE RÉSERVÉ (LOGIN) ======== */

#espace-reserve {
    min-height: 80vh; 
    display: flex;
    justify-content: center; 
    align-items: center;     
    background-color: #ffffff;
}

.login-container {
    text-align: center;
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.login-container h2 {
    font-size: 2.5rem;
    font-weight: 400;
    font-style: italic; 
    font-family: 'Times New Roman', serif; 
    color: #000;
    margin-bottom: 10px;
}

.login-container p {
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 40px;
}

.input-group {
    margin-bottom: 30px;
}

.login-container input[type="password"] {
    width: 100%;
    padding: 10px 0;
    border: none;
    border-bottom: 1px solid #ccc; 
    outline: none; 
    font-size: 1rem;
    text-align: left;
    transition: border-color 0.3s;
}

.login-container input[type="password"]:focus {
    border-bottom: 1px solid #000;
}

.login-container input[type="password"]::placeholder {
    color: #aaa;
    font-style: italic;
}

.btn-login {
    background-color: #000;
    color: #fff;
    border: none;
    padding: 10px 50px; 
    font-size: 1rem;
    cursor: pointer;
    text-transform: uppercase;
    transition: background-color 0.3s;
}

.btn-login:hover {
    background-color: #333; 
}



/* RESERVE - ACTIVITE*/


#act1 {
    text-align: center;
    align-items: center;
    margin-bottom: 200px;
}

#act1 h2{
    font-size: 3.5rem;
}

#act1 h3{
    font-size: 3rem;
}

#act1_img{
    align-items: center;
    margin: 0 240px;
    padding: 0;
}

.act3-icones {
    display: flex;
    justify-content: center;
    align-items: flex-start; 
    margin-bottom: 20px;
    
}

.act4-icon {
    width: 400px;
    height: 400px;
    margin: 0 auto;
    border-radius: 5px;
    margin-right: 60px;
    margin-left: 60px;
}

.act8-icon {
    width: 1000px;
    height: 700px;
    margin: 0 auto;
    border-radius: 5px;
    margin-right: 60px;
    margin-left: 60px;
}

.act11-icon {
    width: 700px;
    height: 700px;
    margin: 0 auto;
    border-radius: 5px;
    margin-right: 60px;
    margin-left: 60px;
}




/* ======== SECTION AUDIO ======== */

.audio-content {
    max-width: 600px; 
    margin: 0 auto;   
    text-align: center;
}

.audio-player-wrapper {
    width: 100%;
    background-color: #f4f4f4; 
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); 
}

audio {
    width: 100%; 
    height: 40px;
    outline: none;
}

/* ======== RESPONSIVE DESIGN - MOBILE ======== */
@media (max-width: 768px) {
    /* Header responsive */
    header h1 {
        font-size: 2rem;
    }
    
    header h3 {
        font-size: 1.2rem;
        margin-left: 0;
        margin-top: 10px;
    }
    
    .logo {
        width: 120px;
        height: 120px;
        margin-top: 20px;
    }
    
    nav {
        position: static;
        margin-top: 20px;
        padding-bottom: 20px;
    }
    
    nav ul {
        flex-direction: column;
        gap: 10px;
    }
    
    nav ul li {
        margin-left: 0;
    }
    
    /* Hero section responsive */
    #hero {
        flex-direction: column;
        min-height: auto;
        padding: 40px 20px;
        gap: 30px;
        margin: 40px auto;
    }
    
    #hero .hero-text {
        text-align: center;
    }
    
    #hero h2 {
        font-size: 1.8rem;
    }
    
    #hero .hero-image {
        min-height: 250px;
        border-radius: 8px;
    }
    
    /* Services section responsive */
    #services {
        padding: 60px 20px;
    }
    
    #services .services-container {
        flex-direction: column;
        gap: 30px;
    }
    
    #services .service-item {
        max-width: 100%;
    }
    
    #services h2 {
        font-size: 1.5rem;
    }
    
    .service-icon {
        width: 100px;
        height: 100px;
    }
    
    /* About section responsive */
    #about {
        padding: 60px 20px;
    }
    
    .about-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .about-text {
        text-align: center;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
    
    .about-text .subtitle {
        font-size: 1.1rem;
    }
    
    .about-image {
        order: -1;
    }
    
    /* Footer responsive */
    #contact h4 {
        font-size: 1.5rem;
    }
    
    #contact {
        padding: 40px 20px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.5rem;
    }
    
    header h3 {
        font-size: 1rem;
    }
    
    #hero h2 {
        font-size: 1.5rem;
    }
    
    #services h2 {
        font-size: 1.3rem;
    }
    
    .about-text h2 {
        font-size: 1.3rem;
    }
}