
/* =========================================================
   REGLAGES GENERAUX
========================================================= */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background-color: rgb(247, 247, 247);
    font-family: "mulish_extra_light", sans-serif;
}

h1 {
    position: relative;
    top: 15px;
    margin-bottom: 30px;
}

h2 {
    margin-top: 0;
}

/* =========================================================
   BANDEAU BLANC ET HEADER
========================================================= */

.bandeau-entete {
    width: 100%;
    height: 200px;
    background-color: rgb(255, 255, 255);
}

.entete {
    width: 980px;
    max-width: 100%;
    height: 200px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================================================
   ZONE CENTRALE
========================================================= */

.centre-entete {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* =========================================================
   LOGO PRINCIPAL
========================================================= */

.logo-site {
    width: 110px;
    height: 110px;
    object-fit: contain;
    display: block;
}

/* =========================================================
   TRAIT HORIZONTAL
========================================================= */

.trait-separation {
    width: 100%;
    height: 1px;
    background-color: #767676;
    position: relative;
    top: -6px;
}

/* =========================================================
   MENU DE NAVIGATION
========================================================= */

.menu {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 22px;
}

.menu a {
    color: #444444;
    text-decoration: none;
    font-family: Arial, sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 30px;
    white-space: nowrap;

    padding: 5px 10px;

    transition: background-color 0.2s ease;
}

/* =========================================================
   EFFET AU SURVOL
========================================================= */

.menu a:hover {
    background-color: rgb(236, 233, 226);
    text-decoration: none;
}

/* =========================================================
   PAGE ACTUELLEMENT SELECTIONNEE
========================================================= */

.menu a.active {
    background-color: rgb(236, 233, 226);
    text-decoration: none;
}

/* =========================================================
   FONTS
========================================================= */

@font-face {
    font-family: "museo_700_regular";
    src: url("../fonts/museo_700_regular.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "dancing_script";
    src: url("../fonts/dancing_script.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "mulish_extra_light";
    src: url("../fonts/mulish_extra_light.woff2") format("woff2");
    font-weight: 275;
    font-style: normal;
}

/* =========================================================
   CONTENU DE LA PAGE D'ACCUEIL
========================================================= */

.contenu-accueil {
    width: 980px;
    max-width: 100%;
    margin: 40px auto;
    padding: 0 10px;
}

/* =========================================================
   TITRES
========================================================= */

.titres-accueil {
    text-align: center;
    margin: 35px auto 25px auto;
}

.titres-accueil h1 {
    font-family: "museo_700_regular", Georgia, serif;
    font-size: 60px;
    font-weight: 700;
    line-height: 1.2;
    color: #000000;
}

.titres-accueil h2 {
    font-family: "dancing_script", cursive;
    font-size: 23px;
    font-weight: 400;
    line-height: 27.5px;
    color: #000000;
    margin-top: 0;
}

/* =========================================================
   CARROUSEL DES 3 ILLUSTRATIONS
========================================================= */

.diaporama {
    width: 100vw;
    height: 29.424vw;
    margin: 40px 0;
    margin-left: calc(50% - 50vw);
    position: relative;
    overflow: hidden;
}

.diaporama-piste {
    display: flex;
    position: relative;
    width: max-content;
    height: 100%;
    transition: transform 0.8s ease-in-out;
}

.diapo {
    flex: 0 0 29.2vw;
    width: 29.2vw;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.35;
    transition: opacity 0.8s ease-in-out;
}

.diapo.centrale {
    flex-basis: 41.6vw;
    opacity: 1;
}

/* =========================================================
   FOOTER
========================================================= */

.pied-page {
    width: 100%;
    background-color: rgb(255, 255, 255);
    padding: 25px 20px;
    margin-top: 50px;
}

.coordonnees {
    max-width: 980px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.element-pied {
    display: flex;
    align-items: center;
    gap: 10px;

    color: #444444;
    text-decoration: none;
    font-family: Arial, sans-serif;
    font-size: 14px;
}

.element-pied img {
    width: 25px;
    height: 25px;
    object-fit: contain;
}

.element-pied:hover {
    text-decoration: underline;
}



/* =========================================================
   PAGE INFORMATIONS GENERALES
========================================================= */

.contenu-informations {
    width: 980px;
    max-width: 100%;
    margin: 40px auto;
    padding: 0 10px;
}

.contenu-informations h1 {
    font-family: "museo_700_regular", Georgia, serif;
    font-size: 60px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    color: #000000;
    margin-bottom: 61px;
}

.texte-informations {
    width: 950px;
    max-width: 100%;
    margin: 0 auto;
    font-family: "mulish_extra_light", sans-serif;
    font-size: 19px;
    line-height: 32px;
    color: #000000;
}

.texte-informations p {
    margin: 0;
}

.introduction {
    text-align: justify;
    margin-bottom: 15px !important;
}

.information-professeur,
.information-objectifs {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.icone-information {
    color: #00796B;
    font-size: 22px;
    line-height: 30px;
    min-width: 20px;
}

.information-objectifs ul {
    list-style: disc;
    padding-left: 70px;
    margin: 0;
}

.mot-objectif {
    color: #00796B;
}

.modalites {
    text-align: justify;
    margin-top: 15px !important;
}

.deplacement {
    text-align: center;
    margin-top: 80px !important;
}

.notes-informations {
    margin-top: 80px;
    padding-bottom: 0;
    font-size: 15px;
}

.notes-informations p {
    margin-bottom: 0;
}

.texte-souligne {
    text-decoration: underline;
}

/* =========================================================
   PAGE HORAIRES ET TARIFS
========================================================= */

.contenu-tarifs {
    width: 980px;
    max-width: 100%;
    margin: 40px auto;
    padding: 0 10px;
}

.contenu-tarifs h1 {
    font-family: "museo_700_regular", Georgia, serif;
    font-size: 60px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    color: #000000;
    margin-bottom: 85px;
}

.texte-tarifs {
    width: 950px;
    max-width: 100%;
    margin: 0 auto;
    font-family: "mulish_extra_light", sans-serif;
    font-size: 19px;
    line-height: 32px;
    color: #000000;
}

.ligne-horaire {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    margin-bottom: 35px;
    min-height: 35px;
}

.ligne-horaire p {
    width: 260px;
    margin: 0;
    text-align: center;
}

.horaire {
    width: 180px;
    text-align: center;
}

.horaire-ouvert {
    color: #00796B;
}

.icone-ouvert {
    color: #00796B;
    font-size: 22px;
    min-width: 25px;
    text-align: center;
}

.icone-ouvert span {
    font-size: 18px;
}

.icone-ferme {
    color: #D00000;
    font-size: 22px;
    min-width: 25px;
    text-align: center;
}

.icone-ferme span {
    font-size: 18px;
}

.tarif-horaire {
    margin: 100px 0 !important;
    text-align: center;
}

.notes-tarifs {
    margin-top: 180px;
    font-size: 15px;
}

/* =========================================================
   PAGE CONTACT
========================================================= */

.champ-piege {
    display: none !important;
}

.formulaire-contact {
    width: 650px;
    max-width: 100%;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.champ-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.champ-contact label {
    font-family: "mulish_extra_light", sans-serif;
    font-size: 19px;
    color: #444444;
}

.champ-contact input,
.champ-contact textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid #cccccc;
    border-radius: 2px;
    background-color: #ffffff;
    font-family: "mulish_extra_light", sans-serif;
    font-size: 15px;
    color: #000000;
    outline: none;
}

.champ-contact input {
    height: 48px;
}

.champ-contact textarea {
    min-height: 180px;
    resize: vertical;
    line-height: 1.6;
}

.champ-contact input:focus,
.champ-contact textarea:focus {
    border-color: #00796B;
}

.champ-contact input:focus-visible,
.champ-contact textarea:focus-visible,
.bouton-envoi:focus-visible {
    outline: 0.5px solid #00796B;
    outline-offset: 0;
}

.champ-contact input::placeholder,
.champ-contact textarea::placeholder {
    color: #999999;
    opacity: 1;
}

.bouton-envoi {
    align-self: center;
    min-width: 160px;
    padding: 12px 30px;
    border: none;
    border-radius: 2px;
    background-color: #00796B;
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.bouton-envoi:hover {
    background-color: #00796B;
}

.message-succes {
    display: none;
    color: #00695C;
    font-family: "mulish_extra_light", sans-serif;
    font-size: 17px;
    font-weight: bold;
    text-align: center;
    margin: 20px auto;
    padding: 14px 20px;
    background-color: #E8F5F2;
    border: 1px solid #A5D6CB;
    border-radius: 3px;
}

.message-succes[data-fs-active],
.message-erreur[data-fs-active] {
    display: block;
}

/* =========================================================
   PAGE A PROPOS
========================================================= */

.contenu-apropos {
    width: 980px;
    max-width: 100%;
    margin: 40px auto;
    padding: 0 10px;
}

.contenu-apropos h1 {
    font-family: "museo_700_regular", Georgia, serif;
    font-size: 60px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    color: #000000;
    margin-bottom: 61px;
}

.texte-apropos {
    width: 950px;
    max-width: 100%;
    margin: 0 auto;
    font-family: "mulish_extra_light", sans-serif;
    font-size: 19px;
    line-height: 32px;
    color: #000000;
}

.texte-apropos p {
    margin: 0;
    text-align: justify;
}

.texte-apropos p:not(.phrase-signature) {
    margin-bottom: 30px;
}

.phrase-signature {
    font-family: "dancing_script", cursive;
    font-size: 23px;
    line-height: 1.5;
    text-align: center !important;
    margin-top: 35px !important;
    margin-bottom: 40px !important;
}

.photo-apropos {
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

.photo-apropos img {
    display: block;
    width: 100%;
    height: auto;
}


/* =========================================================
   PAGE MENTIONS LEGALES
========================================================= */

.texte-mentions h2 {
    font-family: "mulish_extra_light", sans-serif;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.4;
    margin: 38px 0 12px;
}

.texte-mentions {
    font-family: "mulish_extra_light", sans-serif;
    font-size: 19px;
    line-height: 32px;
    color: #000;
}

.texte-mentions p {
    margin-bottom: 12px;
}

.texte-mentions ul {
    margin: 8px 0 18px;
    padding-left: 25px;
}

.texte-mentions li {
    margin-bottom: 6px;
}

.texte-mentions a {
    color: #00796B;
}

@media (max-width: 600px) {
    .texte-mentions h2 {
        font-size: 17px;
    }
}

/* =========================================================
   LIEN VERS LES MENTIONS LÉGALES
========================================================= */

.lien-mentions a {
    color: #444;
    font-family: Arial, sans-serif;
    font-size: 13px;
    text-decoration: none;
}

.lien-mentions a:hover {
    text-decoration: underline;
}

/* =========================================================
   TRANSITION ENTRE LES PAGES (STYLE FONDU)
========================================================= */

@view-transition {
    navigation: auto;
}

::view-transition-old(root) {
    animation: fondu-sortie 0.75s ease both;
}

::view-transition-new(root) {
    animation: fondu-entree 0.75s ease both;
}

@keyframes fondu-sortie {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes fondu-entree {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Respect des préférences de réduction des animations */
@media (prefers-reduced-motion: reduce) {
    ::view-transition-old(root),
    ::view-transition-new(root) {
        animation: none;
    }
}

/* =========================================================
   ADAPTATION TABLETTE
========================================================= */

@media (min-width: 601px) and (max-width: 800px) {

    .contenu-accueil,
    .contenu-informations,
    .contenu-tarifs,
    .contenu-apropos {
        padding-left: 60px;
        padding-right: 60px;
    }

}

/* =========================================================
   ADAPTATION SMARTPHONE
========================================================= */

@media (max-width: 600px) {

    /* -- REGLAGES GENERAUX ---------------------- */

    .contenu-accueil,
    .contenu-informations,
    .contenu-tarifs,
    .contenu-apropos {
        padding-left: 20px;
        padding-right: 20px;
    }

    .contenu-accueil h1,
    .contenu-informations h1,
    .contenu-tarifs h1,
    .contenu-apropos h1 {
        font-size: 27px !important;
        line-height: 1.2;
        white-space: nowrap;
    }

    h2 {
        font-size: 15px !important;
        line-height: 1.3;
        white-space: nowrap;
    }

    /* -- REGLAGES HEADER ---------------------- */

    .bandeau-entete {
        height: 200px;
    }

    .logo-site {
        width: 80px;
        height: 80px;
    }

    .entete {
        height: auto;
        min-height: 200px;
        padding: 15px 10px;
    }

    .menu {
        width: 100%;
        flex-wrap: wrap;
        gap: 4px;
    }

    .menu a {
        white-space: normal;
        text-align: center;
        font-size: 13px;
        line-height: 22px;
        padding: 4px 7px;
    }

    /* -- CARROUSEL REMPLACE PAR UN DIAPORAMA ---------------------- */

    .diaporama {
        width: 100vw;
        aspect-ratio: 1230 / 870;
        height: auto;
        margin-left: calc(50% - 50vw);
        position: relative;
    }

    .diaporama-piste {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        transform: none !important;
    }

    .diapo {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0;
        transition: opacity 0.8s ease-in-out;
    }

    .diapo.active-mobile {
        opacity: 1;
    }

    /* -- FONT SIZE ---------------------- */

    .texte-informations,
    .texte-tarifs,
    .texte-apropos {
        font-size: 14px;
        line-height: 26px;
    }

    .notes-informations,
    .notes-tarifs {
        font-size: 10px;
        line-height: 19px;
    }

    .phrase-signature {
        font-size: 15px !important;
        line-height: 1.3;
    }

    /* -- REGLAGES HORAIRES ET TARIFS ---------------------- */
    
    .ligne-horaire {
        display: grid;
        grid-template-columns: 25px 135px 145px;
        align-items: center;
        justify-content: center;
        gap: 15px;
        width: fit-content;
        margin: 0 auto 25px;
    }

    .ligne-horaire p {
        width: auto;
        margin: 0;
        text-align: center;
        white-space: nowrap;
        font-size: 14px;
    }

    .horaire {
        width: auto;
        text-align: center;
        white-space: nowrap;
        font-size: 14px;
    }

    .icone-ouvert,
    .icone-ferme {
        width: 25px;
        min-width: 25px;
        text-align: center;
    }

    /* -- REGLAGES CONTACT ---------------------- */

    .champ-contact label {
        font-size: 14px;
    }

    .champ-contact input,
    .champ-contact textarea {
        font-size: 12px;
    }

    /* -- REGLAGES PIED DE PAGE ---------------------- */

    .coordonnees {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: fit-content;
        margin: 0 auto;
        gap: 15px;
    }

    .element-pied {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
        white-space: nowrap;
        font-size: 10px;
    }

    .element-pied img {
        width: 17px;
        height: 17px;
        flex-shrink: 0;
    }

}

/* =========================================================
   ADAPTATION PETITS SMARTPHONES (320 x 568)
========================================================= */

@media (max-width: 350px) {

    /* -- REGLAGE DE LA TAILLE DES H1 ---------------------- */

    .contenu-accueil h1,
    .contenu-informations h1,
    .contenu-tarifs h1,
    .contenu-apropos h1 {
        font-size: 24px !important;
    }

    /* -- REGLAGE DU CONTENU DE HORAIRES ET TARIFS (RECENTRAGE) ---------------------- */

    .ligne-horaire {
        grid-template-columns: 20px 115px 125px;
        column-gap: 5px;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }

    .ligne-horaire p,
    .horaire {
        font-size: 12px;
    }

    .icone-ouvert,
    .icone-ferme {
        width: 20px;
        min-width: 20px;
    }
}

