/* =========================================================
   EFEBP — MASTERCLASS INTERNATIONALE PÂTISSERIE
   Fichier : masterclass-pat.css

   Couleurs EFEBP
   Bleu   : #052F59
   Orange : #d88918
========================================================= */


/* =========================================================
   VARIABLES
========================================================= */

:root {
    --efebp-blue: #052F59;
    --efebp-orange: #d88918;

    --white: #ffffff;
    --black: #111111;

    --text: #555555;
    --text-light: #777777;

    --light-bg: #f7f8fa;
    --border: #e6e9ed;

    --container: 1180px;
}

body {
    font-family: Georgia, serif;

}
/* =========================================================
   BASE
========================================================= */

.patisserie-page {
    width: 100%;
    overflow-x: hidden;
}

.patisserie-container {
    width: min(var(--container), 90%);
    margin: 0 auto;
}


/* =========================================================
   HERO
========================================================= */

.patisserie-hero {
    position: relative;

    min-height: 720px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(5, 47, 89, 0.98) 0%,
            rgba(5, 47, 89, 0.82) 42%,
            rgba(5, 47, 89, 0.30) 100%
        ),
        url("../images/masterclass/chef\ boulanger.jpg")
        center center / cover no-repeat;

    color: var(--white);
}


.patisserie-hero::before {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            135deg,
            rgba(5, 47, 89, 0.95),
            rgba(5, 47, 89, 0.20)
        );

    pointer-events: none;
}


.patisserie-hero-content {
    position: relative;

    z-index: 2;

    max-width: 850px;

    padding: 120px 0 90px;
}


/* =========================================================
   LABEL HERO
========================================================= */

.patisserie-label {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 25px;

    padding: 9px 16px;

    border: 1px solid rgba(216, 137, 24, 0.7);

    color: var(--efebp-orange);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 2px;

    text-transform: uppercase;
}


.patisserie-label i {
    font-size: 13px;
}


/* =========================================================
   TITRE HERO
========================================================= */

.patisserie-hero h1 {
    margin: 0;

    font-family: Georgia, serif;

    font-size: clamp(50px, 7vw, 88px);

    font-weight: 500;

    line-height: 1.03;

    color: var(--white);
}


.patisserie-hero h1 span {
    display: block;

    color: var(--efebp-orange);
}


/* =========================================================
   TEXTE HERO
========================================================= */

.patisserie-hero-text {
    max-width: 720px;

    margin-top: 28px;

    color: rgba(255, 255, 255, 0.88);

    font-size: 18px;

    line-height: 1.8;
}


/* =========================================================
   INFORMATIONS HERO
========================================================= */

.patisserie-hero-details {
    display: flex;

    flex-wrap: wrap;

    gap: 30px;

    margin-top: 38px;
}


.patisserie-detail {
    display: flex;

    align-items: center;

    gap: 13px;
}


.patisserie-detail > i {
    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid rgba(216, 137, 24, 0.7);

    color: var(--efebp-orange);

    font-size: 17px;
}


.patisserie-detail div {
    display: flex;

    flex-direction: column;

    gap: 3px;
}


.patisserie-detail strong {
    color: var(--white);

    font-size: 15px;
}


.patisserie-detail span {
    color: rgba(255, 255, 255, 0.62);

    font-size: 11px;
}


/* =========================================================
   BOUTONS
========================================================= */

.patisserie-buttons {
    display: flex;

    flex-wrap: wrap;

    gap: 15px;

    margin-top: 40px;
}


.patisserie-btn {
    min-height: 52px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 0 27px;

    text-decoration: none;

    font-size: 13px;

    font-weight: 700;

    transition: all 0.3s ease;
}


.patisserie-btn-primary {
    background: var(--efebp-orange);

    color: var(--white);
}


.patisserie-btn-primary:hover {
    background: #ec9820;

    transform: translateY(-3px);
}


.patisserie-btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.6);

    color: var(--white);
}


.patisserie-btn-outline:hover {
    background: var(--white);

    color: var(--efebp-blue);

    transform: translateY(-3px);
}


/* =========================================================
   SCROLL HERO
========================================================= */

.patisserie-scroll {
    position: absolute;

    left: 50%;
    bottom: 28px;

    transform: translateX(-50%);

    z-index: 3;

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 6px;

    color: rgba(255, 255, 255, 0.65);

    font-size: 9px;

    letter-spacing: 2px;

    text-transform: uppercase;
}


.patisserie-scroll i {
    animation: patisserieArrow 1.5s infinite;
}


@keyframes patisserieArrow {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(7px);
    }
}


/* =========================================================
   SECTIONS
========================================================= */

.patisserie-section {
    padding: 40px 0;

    background: var(--white);
}


.patisserie-section-light {
    background: var(--light-bg);
}


/* =========================================================
   DEUX COLONNES
========================================================= */

.patisserie-two-columns {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 85px;

    align-items: center;
}


/* =========================================================
   IMAGE
========================================================= */

.patisserie-image {
    position: relative;
}


.patisserie-image img {
    display: block;

    width: 100%;

    height: 550px;

    object-fit: cover;

    border-radius: 3px;
}


.patisserie-image-card {
    position: absolute;

    right: -25px;
    bottom: 30px;

    display: flex;

    align-items: center;

    gap: 14px;

    padding: 18px 24px;

    background: var(--white);

    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
}


.patisserie-image-card strong {
    color: var(--efebp-orange);

    font-family: Georgia, serif;

    font-size: 40px;

    line-height: 1;
}


.patisserie-image-card span {
    color: var(--text);

    font-size: 11px;

    line-height: 1.4;

    font-weight: 700;
}


/* =========================================================
   CONTENU
========================================================= */

.patisserie-content h2 {
    margin: 0;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(36px, 4vw, 52px);

    font-weight: 500;

    line-height: 1.15;

    color: var(--efebp-blue);
}


.patisserie-content h2 span {
    color: var(--efebp-orange);
}


.patisserie-content p {
    margin-top: 20px;

    color: var(--text);

    font-size: 15px;

    line-height: 1.85;
}


/* =========================================================
   LABEL SECTION
========================================================= */

.patisserie-section-label {
    display: inline-block;

    margin-bottom: 17px;

    color: var(--efebp-orange);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 2px;

    text-transform: uppercase;
}


/* =========================================================
   CHECK LIST
========================================================= */

.patisserie-check-list {
    display: grid;

    gap: 13px;

    margin-top: 28px;
}


.patisserie-check-list div {
    display: flex;

    align-items: center;

    gap: 10px;

    color: var(--efebp-blue);

    font-size: 14px;

    font-weight: 600;
}


.patisserie-check-list i {
    color: var(--efebp-orange);

    font-size: 14px;
}


/* =========================================================
   TITRES
========================================================= */

.patisserie-heading {
    max-width: 720px;

    margin: 0 auto 60px;

    text-align: center;
}


.patisserie-heading h2 {
    margin: 0;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(36px, 4vw, 52px);

    font-weight: 500;

    line-height: 1.15;

    color: var(--efebp-blue);
}


.patisserie-heading h2 span {
    color: var(--efebp-orange);
}


.patisserie-heading p {
    max-width: 650px;

    margin: 18px auto 0;

    color: var(--text);

    font-size: 15px;

    line-height: 1.8;
}


/* =========================================================
   OBJECTIFS
========================================================= */

.patisserie-objectives {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 24px;
}


.patisserie-objective {
    padding: 35px 28px;

    background: var(--white);

    border: 1px solid var(--border);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}


.patisserie-objective:hover {
    transform: translateY(-8px);

    border-color: var(--efebp-orange);

    box-shadow: 0 20px 45px rgba(5, 47, 89, 0.09);
}


/* =========================================================
   ICONES OBJECTIFS
========================================================= */

.patisserie-icon {
    width: 55px;
    height: 55px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 24px;

    background: var(--efebp-blue);

    color: var(--efebp-orange);

    font-size: 20px;
}


.patisserie-objective h3 {
    margin: 0 0 12px;

    color: var(--efebp-blue);

    font-size: 18px;
}


.patisserie-objective p {
    margin: 0;

    color: var(--text-light);

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================================
   PROGRAMME
========================================================= */

.patisserie-program {
    display: grid;

    gap: 18px;

    max-width: 950px;

    margin: 0 auto;
}


.patisserie-day {
    display: grid;

    grid-template-columns: 90px 1fr 40px;

    align-items: center;

    gap: 25px;

    padding: 30px;

    background: var(--white);

    border: 1px solid var(--border);

    transition: all 0.3s ease;
}


.patisserie-day:hover {
    transform: translateX(6px);

    border-color: var(--efebp-orange);

    box-shadow: 0 15px 35px rgba(5, 47, 89, 0.07);
}


.patisserie-day-number {
    color: var(--efebp-orange);

    font-family: Georgia, serif;

    font-size: 42px;

    line-height: 1;
}


.patisserie-day-label {
    display: block;

    margin-bottom: 5px;

    color: var(--efebp-orange);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 2px;

    text-transform: uppercase;
}


.patisserie-day h3 {
    margin: 0;

    color: var(--efebp-blue);

    font-size: 20px;
}


.patisserie-day p {
    margin: 9px 0 0;

    color: var(--text-light);

    font-size: 14px;

    line-height: 1.65;
}


.patisserie-day-arrow {
    color: var(--efebp-orange);

    font-size: 17px;
}


/* =========================================================
   TAGS
========================================================= */

.patisserie-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 7px;

    margin-top: 13px;
}


.patisserie-tags span {
    padding: 5px 9px;

    background: #f1f4f7;

    color: var(--efebp-blue);

    font-size: 10px;

    font-weight: 600;
}


/* =========================================================
   SECTION BLEUE
========================================================= */

.patisserie-dark {
    padding: 110px 0;

    background: var(--efebp-blue);

    color: var(--white);
}


.patisserie-dark-heading {
    max-width: 700px;

    margin-bottom: 60px;
}


.patisserie-dark-heading .patisserie-section-label {
    color: var(--efebp-orange);
}


.patisserie-dark-heading h2 {
    margin: 0;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(36px, 4vw, 52px);

    font-weight: 500;

    line-height: 1.15;

    color: var(--white);
}


.patisserie-dark-heading h2 span {
    color: var(--efebp-orange);
}


/* =========================================================
   AVANTAGES
========================================================= */

.patisserie-benefits {
    display: grid;

    grid-template-columns: 1fr 1fr;
}


.patisserie-benefit {
    display: flex;

    gap: 22px;

    padding: 35px;
    
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}


.patisserie-benefit:nth-child(odd) {
    padding-left: 0;
}


.patisserie-benefit:nth-child(even) {
    border-left: 1px solid rgba(255, 255, 255, 0.15);
}


.patisserie-benefit-number {
    color: var(--efebp-orange);

    font-family: Georgia, serif;

    font-size: 28px;
}


.patisserie-benefit h3 {
    margin: 0 0 10px;

    color: var(--white);

    font-size: 19px;
}


.patisserie-benefit p {
    margin: 0;

    color: rgba(255, 255, 255, 0.67);

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================================
   INFORMATIONS PRATIQUES
========================================================= */

.patisserie-info-box {
    display: grid;

    grid-template-columns: 1fr 1fr;

    border: 1px solid var(--border);

    background: var(--white);
}


.patisserie-info-main {
    padding: 60px;
}


.patisserie-info-main h2 {
    margin: 0;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(34px, 4vw, 50px);

    font-weight: 500;

    line-height: 1.15;

    color: var(--efebp-blue);
}


.patisserie-info-main h2 span {
    color: var(--efebp-orange);
}


.patisserie-info-main p {
    margin-top: 20px;

    color: var(--text);

    font-size: 15px;

    line-height: 1.8;
}


/* =========================================================
   DETAILS
========================================================= */

.patisserie-details {
    display: grid;

    grid-template-columns: 1fr 1fr;

    background: var(--efebp-blue);
}


.patisserie-practical {
    display: flex;

    align-items: center;

    gap: 15px;

    padding: 30px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}


.patisserie-practical:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}


.patisserie-practical i {
    color: var(--efebp-orange);

    font-size: 21px;
}


.patisserie-practical div {
    display: flex;

    flex-direction: column;

    gap: 5px;
}


.patisserie-practical span {
    color: rgba(255, 255, 255, 0.55);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}


.patisserie-practical strong {
    color: var(--white);

    font-size: 14px;
}


/* =========================================================
   INSCRIPTION
========================================================= */

.patisserie-registration {
    padding: 105px 0;

    background:
        linear-gradient(
            135deg,
            var(--efebp-blue),
            #073b6d
        );

    color: var(--white);

    text-align: center;
}


.patisserie-registration-content {
    max-width: 750px;

    margin: 0 auto;
}


.patisserie-registration-content > span {
    display: block;

    margin-bottom: 18px;

    color: var(--efebp-orange);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 2px;

    text-transform: uppercase;
}


.patisserie-registration h2 {
    margin: 0;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(40px, 5vw, 60px);

    font-weight: 500;

    line-height: 1.1;

    color: var(--white);
}


.patisserie-registration p {
    max-width: 600px;

    margin: 20px auto 35px;

    color: rgba(255, 255, 255, 0.75);

    font-size: 15px;

    line-height: 1.8;
}


.patisserie-btn-white {
    background: var(--white);

    color: var(--efebp-blue);
}


.patisserie-btn-white:hover {
    background: var(--efebp-orange);

    color: var(--white);

    transform: translateY(-3px);
}


/* =========================================================
   ANIMATIONS REVEAL
========================================================= */

.reveal {
    opacity: 0;

    transform: translateY(35px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}


.reveal.active {
    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   ANIMATION OBJECTIFS
========================================================= */

.patisserie-objective.reveal:nth-child(1) {
    transition-delay: 0.05s;
}


.patisserie-objective.reveal:nth-child(2) {
    transition-delay: 0.15s;
}


.patisserie-objective.reveal:nth-child(3) {
    transition-delay: 0.25s;
}


.patisserie-objective.reveal:nth-child(4) {
    transition-delay: 0.35s;
}


/* =========================================================
   RESPONSIVE — TABLETTE
========================================================= */

@media (max-width: 1050px) {

    .patisserie-two-columns {
        grid-template-columns: 1fr;

        gap: 60px;
    }


    .patisserie-objectives {
        grid-template-columns: repeat(2, 1fr);
    }


    .patisserie-info-box {
        grid-template-columns: 1fr;
    }


    .patisserie-benefits {
        grid-template-columns: 1fr;
    }


    .patisserie-benefit:nth-child(even) {
        border-left: none;

        padding-left: 0;
    }

}


/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 700px) {

    .patisserie-container {
        width: 88%;
    }


    .patisserie-hero {
        min-height: 680px;
    }


    .patisserie-hero-content {
        padding: 100px 0 75px;
    }


    .patisserie-hero h1 {
        font-size: 48px;
    }


    .patisserie-hero-text {
        font-size: 16px;

        line-height: 1.7;
    }


    .patisserie-hero-details {
        flex-direction: column;

        gap: 18px;
    }


    .patisserie-buttons {
        flex-direction: column;

        align-items: stretch;
    }


    .patisserie-btn {
        width: 100%;
    }


    .patisserie-scroll {
        display: none;
    }


    .patisserie-section {
        padding: 75px 0;
    }


    .patisserie-image img {
        height: 420px;
    }


    .patisserie-image-card {
        right: 15px;

        bottom: 15px;

        padding: 15px 18px;
    }


    .patisserie-image-card strong {
        font-size: 34px;
    }


    .patisserie-objectives {
        grid-template-columns: 1fr;
    }


    .patisserie-heading {
        margin-bottom: 40px;
    }


    .patisserie-day {
        grid-template-columns: 55px 1fr;

        gap: 15px;

        padding: 22px;
    }


    .patisserie-day-number {
        font-size: 30px;
    }


    .patisserie-day-arrow {
        display: none;
    }


    .patisserie-day h3 {
        font-size: 17px;
    }


    .patisserie-benefit {
        padding: 25px 0;
    }


    .patisserie-info-main {
        padding: 35px 25px;
    }


    .patisserie-details {
        grid-template-columns: 1fr;
    }


    .patisserie-practical {
        padding: 25px;
    }


    .patisserie-practical:nth-child(odd) {
        border-right: none;
    }


    .patisserie-registration {
        padding: 75px 0;
    }

}


/* =========================================================
   TRÈS PETITS ÉCRANS
========================================================= */

@media (max-width: 450px) {

    .patisserie-hero {
        min-height: 640px;
    }


    .patisserie-hero h1 {
        font-size: 40px;
    }


    .patisserie-detail > i {
        width: 42px;

        height: 42px;
    }


    .patisserie-content h2,
    .patisserie-heading h2,
    .patisserie-info-main h2 {
        font-size: 33px;
    }


    .patisserie-objective {
        padding: 30px 23px;
    }

}



*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    overflow-x:hidden;
    background:#fff;
}

.header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:95px;
    background:rgba(255,255,255,.95);
    backdrop-filter:blur(10px);
    display:grid;
    grid-template-columns:180px 1fr 300px;
    align-items:center;
    padding:0 40px;
    box-shadow:0 3px 15px rgba(0,0,0,.08);
    z-index:1000;
}

.logo{display:flex;align-items:center;}
.logo img{width:85px;height:auto;object-fit:contain;}

.navbar{display:flex;justify-content:center;align-items:center;}
.navbar a{
    text-decoration:none;
    color:#052F59;
    font-size:16px;
    font-weight:600;
    white-space:nowrap;
    transition:.3s;
    position:relative;
}
.navbar a:hover{color:#F59F27;}
.navbar a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-8px;
    width:0;
    height:3px;
    background:#F59F27;
    transition:.3s;
}
.navbar a:hover::after,
.navbar a.active::after{width:100%;}

.buttons{display:flex;justify-content:flex-end;align-items:center;gap:15px;}
.buttons a{display:flex;align-items:center;justify-content:center;gap:10px;}
.buttons i{font-size:16px;}

.login,.register{
    text-decoration:none;
    padding:12px 18px;
    border-radius:10px;
    transition:.3s;
}
.login{border:2px solid #052F59;color:#052F59;background:#fff;}
.login:hover{background:#052F59;color:#fff;}
.register{background:#F59F27;color:#fff;}
.register:hover{background:#d98612;}

.hero{position:relative;width:100%;height:100vh;overflow:hidden;}
.hero video{width:100%;height:100%;object-fit:cover;}

.navbar > ul{
    display:flex;
    list-style:none;
    gap:35px;
    align-items:center;
    margin:0;
    padding:0;
}
.navbar > ul > li{position:relative;}

.dropdown-menu{
    position:absolute;
    top:100%;
    left:0;
    min-width:260px;
    background:#fff;
    border-radius:10px;
    box-shadow:0 10px 25px rgba(0,0,0,.12);
    display:none;
    flex-direction:column;
    padding:10px 0;
    z-index:1000;
}
.dropdown-menu li{list-style:none;width:100%;}
.dropdown-menu a{
    display:block;
    width:100%;
    padding:12px 18px;
    color:#052F59;
    text-decoration:none;
}
.dropdown-menu a::after{display:none;}
.dropdown-menu a:hover{background:#F59F27;color:#fff;}
.dropdown:hover .dropdown-menu{display:flex;}


/*====================================
            FOOTER
====================================*/

.footer{

    background:#052F59;
    color:#fff;
    padding:80px 8% 0;

}

.footer-container{

    max-width:1300px;
    margin:auto;

    display:grid;
    grid-template-columns:2fr 1fr 1fr 1.3fr;

    gap:50px;

}

.footer-logo{

    width:110px;
    margin-bottom:20px;

}

.footer-col p{

    color:#d9d9d9;
    line-height:1.9;
    margin-bottom:25px;

}

.footer-col h3{

    color:#fff;
    margin-bottom:25px;
    font-size:22px;

}

.footer-col ul{

    list-style:none;

}

.footer-col ul li{

    margin-bottom:15px;

}

.footer-col ul li a{

    color:#d9d9d9;
    text-decoration:none;
    transition:.3s;

}

.footer-col ul li a:hover{

    color:#F59F27;
    padding-left:8px;

}

/*==============================
        CONTACT
==============================*/

.footer-contact li{

    display:flex;
    gap:12px;
    color:#d9d9d9;
    line-height:1.8;

}

.footer-contact i{

    color:#F59F27;
    margin-top:5px;

}

/*==============================
        RESEAUX SOCIAUX
==============================*/

.footer-social{

    display:flex;
    gap:15px;

}

.footer-social a{

    width:45px;
    height:45px;

    border-radius:50%;

    display:flex;
    justify-content:center;
    align-items:center;

    background:rgba(255,255,255,.08);

    color:#fff;

    text-decoration:none;

    transition:.35s;

}

.footer-social a:hover{

    background:#F59F27;

    transform:translateY(-5px);

}

/*==============================
        BAS DU FOOTER
==============================*/

.footer-bottom{

    margin-top:60px;

    border-top:1px solid rgba(255,255,255,.15);

    text-align:center;

    padding:25px 0;

}

.footer-bottom p{

    color:#d9d9d9;

}

/*==============================
        RESPONSIVE
==============================*/

@media(max-width:992px){

    .footer-container{

        grid-template-columns:repeat(2,1fr);

    }

}

@media(max-width:768px){

    .footer{

        padding:70px 6% 0;

    }

    .footer-container{

        grid-template-columns:1fr;

        text-align:center;

    }

    .footer-social{

        justify-content:center;

    }

    .footer-contact li{

        justify-content:center;

    }

}

/* =========================================================
   MENU RESPONSIVE EFEBP
   ========================================================= */

   .menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: #052F59;
    font-size: 25px;
    cursor: pointer;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
}

.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    opacity: 0;
    visibility: hidden;
    transition: .3s ease;
    z-index: 1998;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.menu-close {
    display: none;
}


/* =========================================================
   TABLETTE + MOBILE
   ========================================================= */

@media (max-width:1000px) {

    .header {
        height: 75px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 22px;
        z-index: 2000;
    }

    .logo img {
        width: 72px;
    }

    .menu-toggle {
        display: flex;
        margin-left: auto;
        position: relative;
        z-index: 2001;
    }

    /* ==========================
       MENU LATÉRAL
       ========================== */

    .navbar {
        position: fixed;
        top: 0;
        right: 0;

        width: 72%;
        max-width: 390px;
        height: 100vh;

        background: #052F59;

        display: block;

        transform: translateX(100%);
        transition: transform .35s ease;

        overflow-y: auto;

        z-index: 2002;

        box-shadow: -10px 0 30px rgba(0,0,0,.20);
    }

    .navbar.active {
        transform: translateX(0);
    }


    /* ==========================
       BOUTON X
       ========================== */

    .menu-close {
        position: absolute;

        top: 0;
        right: 0;

        width: 45px;
        height: 45px;

        border: 0;

        background: #F59F27;
        color: #052F59;

        font-size: 25px;

        cursor: pointer;

        display: flex;
        align-items: center;
        justify-content: center;

        z-index: 5;
    }


    /* ==========================
       MENU PRINCIPAL
       ========================== */

    .navbar > ul {
        width: 100%;

        display: flex;
        flex-direction: column;

        gap: 0;

        margin: 0;

        padding: 75px 25px 120px;

        box-sizing: border-box;
    }

    .navbar > ul > li {
        width: 100%;

        border-bottom: 1px solid rgba(255,255,255,.15);
    }

    .navbar > ul > li > a {
        display: flex;
        align-items: center;
        justify-content: space-between;

        width: 100%;

        padding: 17px 0;

        color: #fff;

        font-size: 16px;
        font-weight: 600;

        box-sizing: border-box;
    }

    .navbar > ul > li > a:hover {
        color: #F59F27;
    }

    .navbar a::after {
        display: none !important;
    }


    /* ==========================
       SOUS-MENUS
       ========================== */

    .dropdown-menu {
        position: static;

        width: 100%;
        min-width: 0;

        display: none;

        background: rgba(0,0,0,.10);

        box-shadow: none;

        border-radius: 0;

        padding: 0;
        margin: 0;
    }

    .dropdown.active > .dropdown-menu {
        display: flex;
        flex-direction: column;
    }

    .dropdown:hover > .dropdown-menu {
        display: none;
    }

    .dropdown.active:hover > .dropdown-menu {
        display: flex;
    }

    .dropdown-menu li {
        width: 100%;
        list-style: none;
    }

    .dropdown-menu a {
        display: block;

        width: 100%;

        padding: 13px 15px;

        color: #fff;

        font-size: 14px;

        border-top: 1px solid rgba(255,255,255,.10);

        box-sizing: border-box;
    }

    .dropdown-menu a:hover {
        background: rgba(255,255,255,.08);
        color: #F59F27;
    }


    /* =====================================================
       BROCHURE + CONNEXION
       SIMPLES, EN BAS DU MENU
       ===================================================== */

    .buttons {
        position: fixed;

        right: 0;
        bottom: 0;

        width: 72%;
        max-width: 390px;

        display: none;

        flex-direction: column;

        gap: 0;

        padding: 5px 25px 20px;

        background: #052F59;

        box-sizing: border-box;

        z-index: 2003;
    }

    .navbar.active ~ .buttons {
        display: flex;
    }

    .buttons a {
        width: 100%;

        min-height: 42px;

        display: flex;
        align-items: center;

        justify-content: flex-start;

        padding: 11px 0;

        border: none;
        border-radius: 0;

        background: transparent;

        color: #fff;

        text-decoration: none;

        font-size: 15px;
        font-weight: 600;

        box-sizing: border-box;
    }

    .buttons a:hover {
        color: #F59F27;

        background: transparent;
    }

    .buttons .login {
        border: none;
        background: transparent;
        color: #fff;
    }

    .buttons .register {
        background: transparent;
        color: #fff;
    }

    .buttons i {
        font-size: 15px;
        margin-right: 8px;
    }

}


/* =========================================================
   TÉLÉPHONE
   ========================================================= */

@media (max-width:600px) {

    .header {
        height: 70px;
        padding: 0 16px;
    }

    .logo img {
        width: 67px;
    }

    .navbar {
        width: 78%;
        max-width: none;
    }

    .navbar > ul {
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 120px;
    }

    .buttons {
        width: 78%;

        padding-left: 20px;
        padding-right: 20px;
    }

    .navbar > ul > li > a {
        font-size: 15px;
        padding: 16px 0;
    }

}


/* =========================================================
   TRÈS PETIT ÉCRAN
   ========================================================= */

@media (max-width:400px) {

    .navbar {
        width: 84%;
    }

    .buttons {
        width: 84%;
    }

    .navbar > ul {
        padding-left: 18px;
        padding-right: 18px;
    }

    .buttons {
        padding-left: 18px;
        padding-right: 18px;
    }

}
/* =========================================
   BOUTONS RESPONSIVE - TÉLÉPHONE
========================================= */

@media (max-width: 768px) {

    /* Tous les boutons */
    button,
    .btn,
    .about-btn,
    .cta-btn,
    .course-btn,
    .news-btn,
    .login,
    .register,
    .admission-btn,
    .submit-btn,
    .contact-btn {
        padding: 9px 14px;
        font-size: 13px;
        border-radius: 7px;
        width: auto;
        max-width: 100%;
    }

    /* Icônes dans les boutons */
    button i,
    .btn i,
    .about-btn i,
    .cta-btn i,
    .course-btn i,
    .news-btn i,
    .login i,
    .register i {
        font-size: 12px;
    }

    /* Groupe de boutons */
    .cta-buttons,
    .buttons {
        gap: 8px;
        flex-wrap: wrap;
    }
}


/* =========================================
   PETITS ÉCRANS
========================================= */

@media (max-width: 480px) {

    button,
    .btn,
    .about-btn,
    .cta-btn,
    .course-btn,
    .news-btn,
    .login,
    .register,
    .admission-btn,
    .submit-btn,
    .contact-btn {
        padding: 7px 11px;
        font-size: 11px;
        border-radius: 6px;
        width: auto;
        min-width: auto;
    }

    button i,
    .btn i,
    .about-btn i,
    .cta-btn i,
    .course-btn i,
    .news-btn i,
    .login i,
    .register i {
        font-size: 10px;
    }

    .cta-buttons,
    .buttons {
        gap: 6px;
    }
}
/* =========================================
   BOUTON HAMBURGER - MOBILE
========================================= */

@media (max-width: 768px) {

    .menu-toggle {
        width: 48px;
        height: 48px;
        padding: 0;
        font-size: 22px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
    }

    .menu-toggle i {
        font-size: 22px;
    }
}

@media (max-width: 480px) {

    .menu-toggle {
        width: 46px;
        height: 46px;
        font-size: 21px;
    }

    .menu-toggle i {
        font-size: 21px;
    }
}

/* =========================================================
   TITRES PRINCIPAUX
========================================================= */

.master-content h2,
.master-heading h2,
.master-info-main h2 {

    font-family: Georgia, serif;

    font-size: clamp(36px, 4vw, 52px);

    line-height: 1.15;

    color: #052F59;
}


/* Mot mis en évidence en orange */

.master-content h2 span,
.master-heading h2 span,
.master-info-main h2 span {

    color: #d88918;
}