/* === Import polices === */
@font-face {
    font-family: "Dream-orphans";
    src: url('../font/Dream-Orphans.otf') format('truetype');
}

@font-face {
    font-family: "Tangerine";
    src: url('../font/Tangerine_Bold.ttf') format('truetype');
}

@font-face {
    font-family: "Montserrat-SemiBold";
    src: url('../font/Montserrat-SemiBold.ttf') format('truetype');
}

@font-face {
    font-family: "Montserrat-Medium";
    src: url('../font/Montserrat-Medium.ttf') format('truetype');
}

@font-face {
    font-family: "Montserrat-Regular";
    src: url('../font/Montserrat-Regular.ttf') format('truetype');
}

@font-face {
    font-family: "Montserrat-Light";
    src: url('../font/Montserrat-Light.ttf') format('truetype');
}

@font-face {
    font-family: "Montserrat-Italic";
    src: url('../font/Montserrat-Italic.ttf') format('truetype');
}


:root {
/* === Couleurs === */
    --primary-color: #75afc6;
    --secondary-color: #357486;
    --tertiary-color: #fffaeb;

/* === Typographies === */
    --font-title: "Dream-orphans";
    --font-subtitle: "Tangerine";
    --font-body-bolt: "Montserrat-Medium";
    --font-body: "Montserrat-Light";
    --font-italic: "Montserrat-Italic";

/* === Texte et tailles === */
    --font-family-base: "Montserrat-Medium", Arial, Helvetica, sans-serif;
    --font-size-title: 30px;
    --font-size-title-mobile: 25px;
    --font-size-subtitle: 40px;
    --font-size-subtitle-mobile: 30px;
    --font-size-body: 14px;
    --font-size-body-mobile: 12px;
}

* {
  -webkit-tap-highlight-color: transparent;
}


/*--------PROPRIETES DE LA PAGE--------*/

/* === Marges pages === */
body {
    margin: 0;
    overflow-x: hidden; /* empeche le scroll horizontal */
}

/* === Bordures page === */
.section {
    display: flex;
    flex-wrap: wrap;
    padding: 60px 150px;
}

@media screen and (max-width : 1024px) {
    .section {
        padding: 60px;
    }
}

@media screen and (max-width : 525px) {
    .section {
        padding: 20px 30px;
    }
}

/* === Sections === */
.section-column {
    align-items: center;
    flex-direction: column;
}

@media screen and (max-width : 545px) {
    .wrap-mobile {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }
}

/* === Page couleur primaire === */
.section-primary {
    background-color: var(--primary-color);
}

/* === Page couleur secondaire === */
.section-secondary {
    background-color: var(--secondary-color);
}

/* === Page couleur tertiaire === */
.section-tertiary {
    background-color: var(--tertiary-color);
}



/*--------BLOCKS--------*/

.block-column {
    display: flex;
    flex-basis: 100%;
    flex-direction: column;
    padding: 10px 0;
}

.block-line {
    display: flex;
    flex-basis: 100%;
    padding: 30px 0;
}

@media screen and (max-width : 1024px) {
    .block-line {
        padding: 10px 0;
    }
}

@media screen and (max-width : 1024px) {
    .tablet-column {
        flex-direction: column;
    }
}

@media screen and (max-width : 545px) {
    .media-column {
        flex-direction: column;
    }
}

.flex-block {
    display: flex;
    justify-content: center;
    padding: 10px 0;
}



/*--------TITRES ET TEXTS--------*/

.background-title {
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
        url(../images/general/image-banner.jpg);
}

.title {
    font-family: var(--font-title);
    font-size: var(--font-size-title);
    margin-top: 0;
    margin-bottom: 30px;
}

@media screen and (max-width : 545px) {
    .title {
        font-size: var(--font-size-title-mobile);
    }
}

.title-banner {
    font-family: var(--font-title);
    font-size: var(--font-size-subtitle);
    margin-top: 0;
    margin-bottom: 30px;
    text-align: center;
}

@media screen and (max-width : 545px) {
    .title-banner {
        font-size: var(--font-size-title-mobile);
    }
}

.subtitle {
    font-family: var(--font-subtitle);
    font-size: var(--font-size-subtitle);
    line-height: 1;
}

@media screen and (max-width : 545px) {
    .subtitle {
        font-size: var(--font-size-subtitle-mobile);
    }
}

.text { 
    font-family: var(--font-body);
    font-size: var(--font-size-body);
    margin-top: 0;
    margin-bottom: 15px;
    line-height: 1.8;
}

@media screen and (max-width : 1024px) {
    .text {
        font-size: var(--font-size-body-mobile);
        margin-bottom: 10px;
    }
}

.text-no-margin {
    font-family: var(--font-body);
    font-size: var(--font-size-body);
    margin: 0;
    line-height: 1.8;
}

@media screen and (max-width : 1024px) {
    .text-no-margin {
        font-size: var(--font-size-body-mobile);
        margin-bottom: 10px;
    }
}

.text-center { 
    text-align: center;
}

/* === Text couleur primaire === */
.text-primary { 
    color: var(--primary-color);
}

/* === Text couleur secondaire === */
.text-secondary { 
    color: var(--secondary-color);
}

/* === Text couleur tertiaire === */
.text-tertiary { 
    color: var(--tertiary-color);
}

/* === Text couleur blanc === */
.text-white { 
    color: white;
}



/*--------SECTION TITRE PAGE--------*/

/* === Section de titre header === */
.section-title {
    display: flex;
    flex-wrap: wrap;
    margin-top: 60px;
}

@media screen and (max-width : 1024px) {
    .section-title {
        margin-top: 70px;
    }
}

/* === Fond de la section titre header === */
.background-title {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex: 1;
    height: 180px;
    margin-top: -60px;
    position: relative;
    z-index: 1;
}


@media screen and (max-width : 1024px) {
    .background-title {
        height: 120px;
        margin-top: -70px;
    }
}



/*--------BOUTONS--------*/
.block-btn {
    margin: 50px auto;
    margin-bottom: 0;
    max-width: 300px;
}

@media screen and (max-width : 1024px) {
    .block-btn {
        margin: 30px auto 10px auto;
        max-width: 230px;
    }
}

.btn {
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: var(--font-size-body);
    margin: 0;
    padding: 13px 40px;
    text-align: center;
    text-decoration: none
}

@media screen and (max-width : 1024px) {
    .btn {
    padding: 13px 20px;
    }
}

/* -----Bouton transparent----- */
.btn-transparent {
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    color: white;
    transition: transform 0.3s ease, color 0.3s ease;
}

.btn-transparent:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* -----Bouton couleur----- */
.btn-color {
    background-color: var(--secondary-color);
    color: white;
    transition: transform 0.3s ease, color 0.3s ease;
}

.btn-color:hover {
    background-color: #28687a;
    border-radius: 8px;
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* === Liens non soulignes === */
.link { 
    text-decoration: none;
}



/*--------MENU DESKTOP--------*/

/* === Menu mobile inactive en desktop === */
#burger-menu { 
    display: none;
}

#header {
    background-color: transparent;
    display: flex;
    height: 60px;
    position: fixed;
    top: 0;
    transition: background-color 0.6s ease, box-shadow 0.6s ease, backdrop-filter 0.6s ease;
    width: 100%;
    z-index: 2;
}

#header.scrolled {
    backdrop-filter: blur(6px); 
    background-color: var(--secondary-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); 
}

/* === Partie gauche === */
#header-left {
    flex: 1;
    margin: 5px;
    padding-left: 50px;
}

#logo {
    width: 90px;
}
   
/* === Partie centre === */
#header-center {
    flex: 20;
    margin: 10px;
    padding-top: 10px;
    padding-right: 0;
    text-align: left;
    width: 50%;
}

.header-items {
    color: white;
    display: inline-block;
    font-family: "Montserrat-Light";
    font-size: 13px;
    justify-content: right;
    margin-left: 35px;
    padding-bottom: 3px;
    position: relative;
    text-decoration: none;
}

.header-items:hover {
    color: white;
}

/* === Barre blanche === */
.header-items::after {
    background: white;
    bottom: -6px;
    content: "";
    height: 1px;
    left: 50%;
    position: absolute;
    transition: all 0.3s ease;
    transform: translateX(-50%);
    width: 0;
}

.header-items:hover::after {
    width: 100%;
}

@media screen and (max-width : 1100px) {
    .is-hidden-mobile { 
        display: none;
    }
}

.header-items-exception {
    color: white;
    display: inline-block;
    font-family: var(--font-body-bolt);
    margin-left: 35px;
    padding-bottom: 3px;
    position: relative;
    text-decoration: none;
}

@media screen and (max-width : 1100px) {
    .header-items-exception { 
        display: none;
    }
}

.header-items-exception::after {
    background: white;
    bottom: -6px;
    content: "";
    height: 1px;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    transition: all 0.3s ease;
    width: 60%;
}

.header-items-exception:hover::after {
  width: 100%;
}

/* === Partie droite === */
#header-right {
    align-items: center;
    display: flex;
    flex: 12;
    justify-content: end;
    margin: 10px;
    padding-right: 50px;
}

.icon {
    margin: 0px 10px 0px 10px;
    height: 25px;
}

@media screen and (max-width : 1100px) {
    .icon  {
        margin: 0px 6px 0px 6px;
        height: 25px;
    }
}

.icon:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.block-button-header {
    margin-left: 20px;
    text-decoration: none;
}

@media screen and (max-width: 1100px) {
  .block-button-header {
    align-items: center;
    display: flex;
    justify-content: center;
    margin-left: 0;
    margin-top: 7%;
    }
}



/*--------MENU MOBILE--------*/

@media screen and (max-width: 1100px) {
  #header-right-mobile {
    align-items: flex-end;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    padding: 30px;
    text-align: left;
    width: 100%;
  }
}

#burger-menu-icon {
    display: none;
}

@media screen and (max-width : 1100px) {
    #burger-menu { 
        background-color: var(--secondary-color);
        height: 100%;;
        margin-top: -70px;
        position: fixed;
        width: 100%;
        z-index: 2;
    }
}

@media screen and (max-width: 1100px) {
    .block-title-mobile {
        margin: 0 auto;
        padding: 10px 30px 40px 60px;
        text-align: left;
        width: 100%;
    }
}

@media screen and (max-width: 525px) {
    .block-title-mobile {
        padding: 10px 30px 40px 30px;
    }
}

@media screen and (max-width : 1024px) {
    .header-title-mobile { 
        color: white;
        font-family: var(--font-title);
        font-size: var(--font-size-title);
        text-decoration: none;
        width: 100%;
    }
}

@media screen and (max-width : 1100px) {
    .block-header-mobile { 
    margin: 0 auto;
    padding: 20px 60px;
    text-align: left;
    width: 100%;
    }
}

@media screen and (max-width : 525px) {
    .block-header-mobile { 
    padding: 10px 30px;
    }
}

@media screen and (max-width : 1024px) {
    .block-header-mobile-icon { 
        display: flex;
        justify-content: center;
        padding: 300px 0 0 0;
    }
}

@media screen and (max-width : 525px) {
    .block-header-mobile-icon { 
        padding: 100px 0 0 0;
    }
}

/*Categories du menu burger Mobile*/
@media screen and (max-width : 1100px) {
    .header-items-mobile { 
        color: white;
        font-family: var(--font-body);
        font-size: 17px;
        text-decoration: none;
        width: 100%;
    }
}

/*Barre du header Mobile*/
@media screen and (max-width : 1100px) {
    #header {
        display: flex;
        height : 70px;
        position: fixed;
    }
}

/*Menu partie gauche de la barre du header Mobile*/
@media screen and (max-width : 1100px) {
    #header-left {
        padding-left: 30px;
        width: 20%;
    }
}

/*Logo du menu Mobile*/
@media screen and (max-width :1100px) {
    #logo {
        width: 100px;
    }
}

/*Icone menu burger Mobile*/
@media screen and (max-width : 1100px) {
    #burger-menu-icon { 
        display: flex;
        height: 18px;
    }
}

@media screen and (max-width : 1100px) {
    #burger-menu-close { 
        display: flex;
        height: 18px;
    }
}

/*Menu partie droite de la barre du header Desktop (inactif en Mobile)*/
@media screen and (max-width : 1100px) {
    #header-right {
        display: none;
    }
}



/*--------FOOTER--------*/
.section-footer {
    display: flex;
    flex-wrap: wrap;
    padding: 60px 150px 0 150px;
}

@media screen and (max-width : 1024px) {
    .section-footer {
        padding: 60px;
    }
}

@media screen and (max-width : 545px) {
    .section-footer {
        padding: 20px 30px;
    }
}

#block-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%; 
}

@media screen and (max-width : 525px) {
    #block-footer {
        display: flex;
        flex-direction: column;
    }
}

#block-left-footer {
    box-sizing: border-box;
    flex: 1;
}

@media screen and (max-width : 525px) {
    #link-image-footer  {
        align-items: center;
        display: flex;
        justify-content: center;
    }
}

@media screen and (max-width : 525px) {
    #block-logo-footer {
        align-items: center;
        display: flex;
        justify-content: center;
    }
}

#block-right-footer {
    box-sizing: border-box;
    flex: 2;
}

@media screen and (max-width : 525px) {
    #block-right-footer {
        padding-left: 0;
    }
}

#block-copyright {
    margin-top: 20px;
    order: 2;  
    text-align: center; 
    width: 100%;
}

.image-footer {
    width: 75%;
}

@media screen and (max-width : 525px) {
    .image-footer {
        width: 50%;
    }
}

#logo-footer {
    margin-bottom: 30px;
    width: 90px;
}

.title-footer {
    font-size: 20px;
}

#footer-link {
    margin-bottom: 70px;
}

@media screen and (max-width : 1024px) {
    #footer-link {
        margin-bottom: 40px;
    }
}

@media screen and (max-width : 525px) {
    #footer-link {
        margin-bottom: 5px;
    }
}

.text-footer {
    font-family: var(--font-body);
    font-size: var(--font-size-body);
    line-height: 1.8;
    margin-top: 0;
    margin-bottom: 5px;
}

#footer-keep {
    display: flex;
}

#keep-left {
    flex: 2;
}

@media screen and (max-width : 700px) {
    #keep-left{
        display: flex;
        margin: 10px 0 10px 0;
    }
}

#keep-right {
    flex: 1;
}

@media screen and (max-width : 700px) {
    #keep-right {
        display: flex;
        justify-content: center;
        margin: 10px;
    }
}

#text-keep {
    display: inline-block;
    padding-right: 20px;
    position: relative;
}

@media screen and (max-width : 525px) {
    #text-keep {
        padding: 0;
    }
}

#text-keep:last-of-type {
    align-items: center;
    display: flex;
    gap: 20px;
}

@media screen and (max-width : 525px) {
    #text-keep:last-of-type {
        gap: 0;
    }
}

.text.text-white:last-of-type::after {
    background: white;
    content: "";
    flex: 1;
    height: 1px;
}

#text-copyright {
    color: var(--primary-color);
    font-family: var(--font-body);
    font-size: var(--font-size-body);
    line-height: 1.8;
    margin-top: 0;
    margin-bottom: 5px;
}

@media screen and (max-width : 525px) {
    #text-copyright {
        font-size: 10px;
    }
}

.footer-contact {
    color: var(--primary-color);
    font-family: var(--font-body);
    text-decoration: none;
}

.footer-contact:hover {
    font-family: var(--font-body-bolt);
    text-decoration: none;
}



/*--------SECTION IMAGE ET TEXT--------*/


/* === Bloc gauche image === */
.block-left-picture { 
    flex: 1;
    margin-bottom: 0;
}
    
@media screen and (max-width : 1024px) {
    .block-left-picture {
        flex-basis: 100%;
        order: 0;
        text-align: center;
    }
}

.image-left {
    width: 85%;
}

@media screen and (max-width : 1024px) {
    .image-left {
        height: 400px;
        margin: 30px auto;
        margin-top: 0;
        object-fit: cover;
        width: 100%;
    }
}

@media screen and (max-width : 525px) {
    .image-left {
        width: calc(100% - 15px);
    }
}

/* === Bloc droit text === */
.block-right-picture {
    flex: 1;
}

@media screen and (max-width : 1024px) {
    .block-right-picture {
        order: 1;
    }
}



/*--------SECTION BOUTONS CERCLES--------*/

.no-border-section {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.section-button-square {
    display: flex;
    justify-content: center;
    padding: 0;
}

@media screen and (max-width: 525px) {
    .section-button-square {
        display: flex;
        flex-wrap: nowrap;
        gap: 10px;
        justify-content: flex-start;
        overflow-x: auto;
        padding: 0 30px;
        scroll-behavior: smooth;
    }

    .section-button-square::-webkit-scrollbar {
        display: none;
    }

    .section-button-square button {
        flex: 0 0 auto;
    }
}

.block-button-square {
    flex: 1;
    margin: 0 40px;
    text-align: center;
}

@media screen and (max-width: 525px) {
    .block-button-square {
        margin: 0;
    }
}

.square {
    align-items: center;
    background-color: var(--primary-color);
    border-radius: 100%;
    display: flex;
    height: 100px;
    justify-content: center;
    margin: 20px auto;
    width: 100px;
} 

.square:hover {
    background-color: var(--secondary-color);
} 

@media screen and (max-width : 525px) {
    .square {
        height: 85px;
        width: 85px;
    }
}

.square-clic {
    align-items: center;
    background-color: var(--secondary-color);
    border-radius: 100%;
    display: flex;
    height: 100px;
    justify-content: center;
    margin: 20px auto;
    width: 100px;
} 

@media screen and (max-width : 525px) {
    .square-clic {
        height: 85px;
        width: 85px;
    }
}

.subtitle-square {
    font-family: var(--font-body);
    font-size: var(--font-size-body);
    margin: 0;
}

@media screen and (max-width : 1024px) {
    .subtitle-square { 
        display: none;
    }
}

.button-icon {
    height: auto;
    transition: width 0.5s ease;
    width: 50%;
}

.button-icon:hover {
    width: 55%;
}

.button-icon-clic {
    height: auto;
    transition: width 0.5s ease;
    width: 50%;
}



/*--------SECTION IMAGE BACKGROUND--------*/

.section-image {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: auto;
}

.section-list-opacity {
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    flex: 1;
    padding: 40px;
    text-align: left;
}

.section-icon-left {
    flex: 1;
    margin-right: 4px;
    padding: 20px;
    text-align: center;
}

@media screen and (max-width : 1024px) {
    .section-icon-left {
        flex-basis: auto;
        margin: 10px 0;
        padding: 40px;
    }
}

.section-icon-center {
    flex: 1;
    border-radius: 10px;
    margin-left: 4px;
    margin-right: 4px;
    padding: 20px;
    text-align: center;
}

@media screen and (max-width : 1024px) {
    .section-icon-center {
        flex-basis: auto;
        margin: 10px 0;
        padding: 40px;
    }
}

.section-icon-right {
    flex: 1;
    margin-left: 4px;
    padding: 20px;
    text-align: center;
}

@media screen and (max-width : 1024px) {
    .section-icon-right {
        flex-basis: auto;
        margin: 10px 0 10px 0;
        padding: 40px;
    }
}

.item-icon {
    height: auto;
    width: 20%;
}

@media screen and (max-width : 1024px) {
    .item-icon {
        width: 40%;
    }
}

@media screen and (max-width : 525px) {
    .item-icon {
        width: 20%;
    }
}

.subtitle-image {
    font-family: var(--font-body-bolt);
    font-size: 16px;
    margin-top: 20px;
}



/* -----BLOC D'IMAGES MULTIPLES----- */

.block-left-title {
    align-items: center;
    display: flex;
    margin-right: 40px;
}

.block-multi-picture {
    display: flex;
    flex: 1;
}

@media screen and (max-width : 1024px) {
    .block-multi-picture { 
        flex-wrap: wrap;
    }
}

.block-multi-picture-left {
    flex: 1;
    flex-basis: 100%;
    margin: 10px;
    margin-left: 0;
}

@media screen and (max-width : 1024px) {
    .block-multi-picture-left { 
        flex-basis: auto;
        margin-right: 10px;
    }
}

.block-multi-picture-center-left {
    flex: 1;
    flex-basis: 100%;
    margin: 10px;
}

@media screen and (max-width : 1024px) {
    .block-multi-picture-center-left { 
        flex-basis: auto;
        margin-left: 0;
        margin-right: 10px;
    }
}

.block-multi-picture-center-right {
    flex: 1;
    flex-basis: 100%;
    margin: 10px;
}

@media screen and (max-width : 1024px) {
    .block-multi-picture-center-right { 
        flex-basis: auto;
        margin-left: 10px;
        margin-right: 0;
        margin-bottom: 0;
    }
}

.block-multi-picture-right {
    flex: 1;
    flex-basis: 100%;
    margin: 10px;
    margin-right: 0;
}

@media screen and (max-width : 1024px) {
    .block-multi-picture-right { 
        flex-basis: auto;
        margin-left: 10px;
        margin-bottom: 0;
    }
}

.horizontale-picture {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.title-ligne {
    font-family: var(--font-title);
    font-size: var(--font-size-title);
    margin: 0;
}

@media screen and (max-width : 1024px) {
    .title-ligne { 
        margin-bottom: 30px;
    }
}