/* ============================
   SECTION S2 — DESKTOP
   ============================ */

#s2 {
    background: #444;
    color: #999;
    height: 100vh;
    overflow: hidden;
    position: relative;
    font-family: 'Inter', sans-serif;
    font-size: 19px;
    line-height: 1.8;
}

#s2 .inner {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 6vw;
}

.s2-container {
    display: flex;
    align-items: flex-start;
    justify-content: left;
    gap: 4vw;
    width: 88vw;
    max-width: 1400px;
}

.s2-left img {
    max-width: 400px;
    max-height: 70vh;
    object-fit: contain;
}

.s2-right {
    max-width: 900px;
    padding-left: 60px;
}

.s2-right h2 {
    font-size: 56px;
    font-weight: 200;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
    color: #ddd;
}

.text-desktop { display: block; }
.text-mobile { display: none; }


/* ============================
   SECTION S2 — TABLETTE 601–1100px
   ============================ */

@media (max-width: 1400px) and (min-width: 601px) {

    /* On garde le fullscreen */
    #s2 {
        height: 100vh;
        overflow: hidden;
    }

    #s2 .inner {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 0 40px;
        box-sizing: border-box;
    }

    /* Colonnes l’une sous l’autre */
    .s2-container {
        width: 100%;
        max-width: 900px;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 25px;
        margin-top: 40px;
    }
	
	.s2-left {
    margin-top: 60px;
}

    /* Image */
    .s2-left img {
        max-width: 320px;
        max-height: 45vh;
        width: auto;
        margin: 0 auto;
        display: block;
    }

    /* Texte */
    .s2-right {
        padding-left: 0 !important;
        max-width: 90%;
        text-align: center;
    }

    .s2-right h2 {
        font-size: 42px;
        margin-bottom: 10px;
    }

    /* Texte desktop masqué */
    .text-desktop {
        display: none !important;
    }

    /* Texte mobile affiché */
    .text-mobile {
        display: block !important;
        font-size: 17px;
        line-height: 1.55;
        text-align: justify;
        margin: 0 auto;
        max-width: 90%;
    }

    
}


/* ============================
   SECTION S2 — MOBILE ≤ 600px
   ============================ */

@media (max-width: 600px) {

    #s2 {
        height: 100vh;
        padding: 20px;
        overflow: hidden;
    }

    #s2 .inner {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding: 0;
        position: relative;
        box-sizing: border-box;
    }

    /* Empêche tout débordement horizontal */
    .s2-container {
        width: 100% !important;
        max-width: 100% !important;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 18px !important;
        padding: 0 !important;
        margin: 50px auto 0 auto !important;
        box-sizing: border-box;
    }

    .s2-left img {
        max-height: 270px;
        width: auto;
        max-width: 100% !important;
        margin: 0 auto;
        display: block;
    }

    .s2-right {
        padding: 0 !important;
        margin: 0 auto !important;
        width: 100% !important;
        max-width: 90% !important;
        text-align: center;
        box-sizing: border-box;
    }

    .s2-right h2 {
        font-size: 32px;
        letter-spacing: 0.03em;
        margin: 10px 0 8px 0;
        text-align: center;
    }

    .text-desktop { display: none; }

    .text-mobile {
        display: block;
        font-size: 17px;
        line-height: 1.55;
        text-align: justify;
        margin: 0 auto;
        max-width: 90%;
    }

    .text-mobile .lire-plus {
        color: #f5eeda;
        margin-left: 6px;
    }

    
}
