
/* =============================== */
/* POLICES INTER                   */
/* =============================== */

@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-Thin.woff2') format('woff2');
  font-weight: 100;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-ExtraLight.woff2') format('woff2');
  font-weight: 200;
}
/* =============================== */
/* FONDU PAGE                      */
/* =============================== */

html, body {
    background: #f7f7f7;
}

body {
    opacity: 0;
    transition: opacity 0.6s ease;
}

body.visible {
    opacity: 1;
}

body.fadeout {
    opacity: 0;
}




/* =============================== */
/* BASE PAGE                       */
/* =============================== */

body {
    margin: 0;
    padding: 0;
    background: #444;
    color: #999;
    font-family: 'Inter', sans-serif;
    font-size: 19px;
    line-height: 1.8;
}

/* Supprime l’image de fond globale */
body::before {
    display: none !important;
}

main {
  margin-top: 0;
	padding: 0 40px;
    box-sizing: border-box;
}
/* =============================== */
/* SECTION S2 — VERSION PAGE       */
/* =============================== */

/* SECTION S2 — même base que s2.html */

#s2 {
    background: #444;
    color: #999;
    height: auto;        /* ← laisse la section prendre la hauteur du contenu */
    min-height: 100vh;   /* ← garde l’effet plein écran si le contenu est court */
    overflow: visible;   /* ← autorise le scroll */
    position: relative;
    font-family: 'Inter', sans-serif;
    font-size: 19px;
    line-height: 1.8;
    padding-top: 0;          /* juste pour dégager le header fixe (60px) */
    box-sizing: border-box;
}

/* Structure GSAP sans GSAP :) */
#s2 .inner {
    width: 100%;
    min-height: 100vh; 
    display: flex;
    flex-direction: column;
    justify-content: center;    /* centre verticalement le bloc */
    align-items: center;
    padding: 0 0vw;             /* même marge gauche/droite que s2.html */
}

/* Layout desktop identique */
.s2-container {
    display: flex;
    align-items: flex-start;    /* haut de la photo = haut du titre */
    justify-content: center;
    gap: 4vw;
    width: 88vw;
    max-width: 1400px;
}

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

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

.s2-right h2 {
    font-size: 56px;
    font-weight: 200;
    letter-spacing: 0.08em;
    margin: 0 0 20px 0;         /* pas de marge top → aligné avec la photo */
    color: #ddd;
}

.text-desktop {
    font-size: 19px;
    line-height: 1.8;
    margin-bottom: 18px;
}


/* Paragraphes */
.text-desktop {
    font-size: 19px;
    line-height: 1.8;
    margin-bottom: 18px;
}



/* =============================== */
/* BOUTON RETOUR EN HAUT           */
/* =============================== */



#backToTopBtn {
    opacity: 0;
    transition: opacity 0.3s ease;
}

#backToTopBtn.show {
    opacity: 1;
}


#backToTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(0,0,0,0.6);
    border-radius: 50%;
    display: none; /* masqué par défaut */
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 9999; /* essentiel */
    transition: opacity 0.3s ease;
}

#backToTopBtn:hover {
    background: rgba(0,0,0,0.8);
}

.arrow-up {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 14px solid white;
}

/* =============================== */
/* BLOC RÃ‰SEAUX SOCIAUX CONTACT    */
/* =============================== */

.social-block {
    margin-top: 30px;
}

.social-line {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.social-icon {
    width: 22px;
    height: 22px;
    fill: #999; /* cohÃ©rent avec ton texte */
}

.social-text a {
    font-size: 17px;
    font-weight: 200;
    color: #999;
    text-decoration: none;
}

.social-text a:hover {
    color: #ddd;
}

/* Style du lien email */
.text-desktop a {
    color: #999;              /* mÃªme couleur que ton texte */
    text-decoration: none;    /* enlÃ¨ve le soulignage */
    font-weight: 200;         /* cohÃ©rent avec Inter ExtraLight */
    transition: color 0.2s ease;
}

.text-desktop a:hover {
    color: #fff;              /* blanc au survol */
}


/* =============================== */
/* MOBILE                          */
/* =============================== */

@media (max-width: 768px) {

   

    /* On enlève main d’ici */
    html, body {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        overflow-x: hidden !important;
        box-sizing: border-box;
    }

    /* Et on garde ton padding sur main */
    main {
        padding: 0 40px;
        box-sizing: border-box;
    }

 


    /* SECTION S2 */
    #s2 {
        height: auto;
        min-height: 100vh;
        overflow: visible;
        padding-top: 70px;
        padding-bottom: 60px;
    }

    /* INNER : plus de padding horizontal ici */
    #s2 .inner {
        height: auto;
        justify-content: flex-start;
        padding: 0;              /* ← on enlève le 0 6vw */
    }

    /* CONTAINER : c’est lui qui porte le padding */
    .s2-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 18px;
        width: 100%;
        max-width: 100%;
        padding: 0 0vw;          /* ← marge gauche/droite ici seulement */
        box-sizing: border-box;
        margin: 0 auto;
    }

    /* PHOTO */
    .s2-left img {
        max-height: 270px; /* taille demandée */
        width: auto;
        margin: 0 auto;
        display: block;
    }

    /* TEXTE */
    .s2-right {
        padding-left: 0;
        max-width: 100%;
    }

    .s2-right h2 {
        font-size: 32px;
         letter-spacing: 0.03em;
        margin: 10px 0 8px 0; /* espace titre/photo augmenté */
        text-align: center;
    }

    .text-desktop {
        font-size: 17px;
        text-align: justify;
    }

   
}
