/* =========================
STRUCTURE DES SECTIONS
========================= */

section {
    padding: clamp(2.5rem, 6vw, 4rem) 0;
}

/* Séparation douce entre sections */
section + section {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* =========================
VARIANTES DE FOND
========================= */

.section-vert {
    background-color: #AEB4A2;
}


/* =========================
BLOC TEXTE CENTRAL
========================= */

section .text-center {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 1.5rem);
}

/* =========================
TYPOGRAPHIE RESPONSIVE
========================= */

/* Titres */
section h2 {
    font-size: clamp(1.4rem, 4vw, 2rem);
    margin-bottom: clamp(1rem, 3vw, 1.5rem);
    line-height: 1.3;
}

/* Espacement spécifique */
.espace_h2 {
    margin-top: clamp(9rem, 6vw, 10rem);
}

/* Paragraphes */
section p {
    font-size: clamp(0.95rem, 2.5vw, 1.25rem);
    line-height: 1.7;
    margin-bottom: clamp(0.9rem, 3vw, 1.2rem);
    max-width: 65ch;
    margin-left: auto;
    margin-right: auto;
}

/* Évite un gros vide en fin de bloc */
section p:last-child {
    margin-bottom: 0;
}

.image-fond,
.image-fond_2 {
    position: relative;
    overflow: hidden;
}

.image-fond::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('/photos_site/taiji.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.8; /* 80% */
    z-index: -1;
}

.image-fond_2::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('/photos_site/oie.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.4; /* 80% */
    z-index: -1;
}

/* =========================
IMAGE LOGO BAS DE PAGE
========================= */

img[alt="logo"] {
    display: block;
    margin: clamp(3rem, 8vw, 4rem) 2rem clamp(1.5rem, 4vw, 2rem) auto;
    max-width: clamp(150px, 30vw, 220px);
}


/* =========================
RESPONSIVE
========================= */

@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }

    section .text-center {
        max-width: 100%;
    }
}
