/* =========================================================
   BRAIN KEY CENTER
   STYLE.CSS COMPLET
========================================================= */


/* =========================================================
   RESET
========================================================= */

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


html {
    scroll-behavior: smooth;
}


body {
    font-family: "Montserrat", Arial, Helvetica, sans-serif;

    color: #26364a;

    background: #f7f8fa;

    line-height: 1.7;

    overflow-x: hidden;
}


body.modal-open {
    overflow: hidden;
}


img {
    max-width: 100%;

    display: block;
}


a {
    text-decoration: none;

    color: inherit;
}


button,
input,
textarea,
select {
    font-family: inherit;
}


button {
    cursor: pointer;
}


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

:root {

    --navy: #071d3a;

    --navy-light: #0d315d;

    --navy-dark: #041426;

    --gold: #d9a52e;

    --gold-light: #f0c75e;

    --white: #ffffff;

    --light: #f7f8fa;

    --light-blue: #eef3f8;

    --text: #26364a;

    --gray: #6b7280;

    --gray-light: #aeb8c5;

    --border: #e5e7eb;

    --shadow:
        0 15px 45px rgba(7, 29, 58, .10);

    --shadow-hover:
        0 25px 60px rgba(7, 29, 58, .17);

    --radius: 14px;

    --container: 1180px;

}


/* =========================================================
   CONTAINER
========================================================= */

.container {

    width: min(
        var(--container),
        90%
    );

    margin-left: auto;

    margin-right: auto;

}


/* =========================================================
   HEADER
========================================================= */

.header {

    position: sticky;

    top: 0;

    z-index: 5000;

    width: 100%;

     background: #071d3a;

    border-bottom: 1px solid rgba(8, 10, 45, 0);

    transition: .3s ease;

}


.header.scrolled {

    box-shadow:
        0 8px 30px rgba(7, 29, 58, .10);

}


.header-container {

    min-height: 85px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

}


.logo {

    display: flex;

    align-items: center;

    flex-shrink: 0;

}


.logo img {

    width: 155px;

    height: auto;

    max-height: 95px;

    object-fit: contain;

}


/* =========================================================
   NAVIGATION
========================================================= */

.navigation {

    display: flex;

    align-items: center;

    gap: 30px;

}


.navigation > a {

    position: relative;

    color: #ffffff;

    font-size: 13px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .4px;

    transition:
        color .25s ease;

}


.navigation > a:not(.nav-button)::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: -8px;

    width: 0;

    height: 2px;

    background: var(--gold);

    transition: width .25s ease;

}


.navigation > a:hover {

    color: var(--gold);

}


.navigation > a:not(.nav-button):hover::after {

    width: 100%;

}


.nav-button {

    padding: 12px 20px;

    border-radius: 5px;

    color: var(--white) !important;

    background: var(--gold);

    transition: .3s ease;

}


.nav-button:hover {

    background: #b88718;

    transform: translateY(-2px);

}


/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.menu-toggle {

    display: none;

    width: 44px;

    height: 44px;

    padding: 8px;

    border: 0;

    background: transparent;

}


.menu-toggle span {

    display: block;

    width: 28px;

    height: 2px;

    margin: 6px auto;

    background: #ffffff;

    transition: .3s ease;

}


.menu-toggle.active span:nth-child(1) {

    transform:
        translateY(8px)
        rotate(45deg);

}


.menu-toggle.active span:nth-child(2) {

    opacity: 0;

}


.menu-toggle.active span:nth-child(3) {

    transform:
        translateY(-8px)
        rotate(-45deg);

}


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

.hero {

    position: relative;

    min-height: 690px;

    display: flex;

    align-items: center;

    overflow: hidden;

    color: var(--white);

    background:

        linear-gradient(
            90deg,
            rgba(4, 20, 38, .98) 0%,
            rgba(7, 29, 58, .92) 42%,
            rgba(7, 29, 58, .58) 75%,
            rgba(7, 29, 58, .30) 100%
        ),

        url("images/ChatGPT Image 1 sept. 2026, 18_17_22.png")
        center center /
        cover no-repeat;

}


.hero-container {

    position: relative;

    z-index: 2;

}


.hero-content {

    width: min(
        680px,
        100%
    );

}


.section-label {

    display: inline-block;

    color: var(--gold-light);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 3px;

    text-transform: uppercase;

}


.section-label.dark {

    color: var(--gold);

}


.hero h1 {

    margin: 15px 0 25px;

    font-size:
        clamp(48px, 7vw, 82px);

    line-height: 1.03;

    letter-spacing: -2px;

    font-weight: 800;

}


.hero h1 span {

    display: block;

    color: var(--gold);

}


.hero p {

    max-width: 610px;

    margin-bottom: 32px;

    color: #dbe4ef;

    font-size: 18px;

}


.hero-buttons {

    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 14px;

}


/* =========================================================
   BUTTONS
========================================================= */

.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    min-height: 48px;

    padding: 13px 24px;

    border-radius: 5px;

    font-size: 13px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: .4px;

    border: 1px solid transparent;

    transition:
        transform .25s ease,
        background .25s ease,
        color .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;

}


.btn span {

    font-size: 18px;

}


.btn-primary {

    background: var(--gold);

    color: var(--white);

    box-shadow:
        0 8px 25px rgba(217, 165, 46, .20);

}


.btn-primary:hover {

    background: #b88718;

    transform: translateY(-3px);

    box-shadow:
        0 12px 30px rgba(217, 165, 46, .30);

}


.btn-secondary {

    color: var(--white);

    border-color:
        rgba(255,255,255,.65);

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

}


.btn-secondary:hover {

    color: var(--navy);

    background: var(--white);

    border-color: var(--white);

    transform: translateY(-3px);

}


.hero-info {

    display: flex;

    flex-wrap: wrap;

    gap: 35px;

    margin-top: 55px;

}


.hero-info div {

    display: flex;

    flex-direction: column;

}


.hero-info strong {

    color: var(--gold-light);

    font-size: 25px;

    line-height: 1.2;

}


.hero-info span {

    margin-top: 4px;

    color: #c9d3df;

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: .6px;

}


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

.hero-decoration {

    position: absolute;

    border: 1px solid
        rgba(217, 165, 46, .22);

    border-radius: 50%;

    pointer-events: none;

}


.decoration-one {

    width: 420px;

    height: 420px;

    right: -180px;

    top: 80px;

}


.decoration-two {

    width: 250px;

    height: 250px;

    right: 70px;

    bottom: -100px;

}


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

.section {

    padding: 100px 0;

}


.section-heading {

    max-width: 750px;

    margin: 0 auto 55px;

}


.section-heading.center {

    text-align: center;

}


.section-heading h2 {

    margin: 10px 0 18px;

    color: var(--navy);

    font-size:
        clamp(34px, 5vw, 52px);

    line-height: 1.15;

    letter-spacing: -1px;

}


.section-heading h2 span {

    color: var(--gold);

}


.section-heading p {

    color: var(--gray);

    font-size: 16px;

}


/* =========================================================
   ABOUT
========================================================= */

.about {

    background: var(--white);

}


.about-grid {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 75px;

    align-items: center;

}


.about-image {

    position: relative;

}


.about-image img {

    width: 100%;

    height: 500px;

    object-fit: cover;

    border-radius: var(--radius);

    box-shadow: var(--shadow);

}


.experience-box {

    position: absolute;

    left: 25px;

    bottom: 25px;

    min-width: 190px;

    padding: 20px;

    background: var(--navy);

    color: var(--white);

    border-left:
        4px solid var(--gold);

    border-radius: 5px;

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

}


.experience-box strong {

    display: block;

    color: var(--gold-light);

    font-size: 22px;

}


.experience-box span {

    display: block;

    margin-top: 3px;

    color: #d6dfeb;

    font-size: 11px;

    text-transform: uppercase;

}


.about-content h2 {

    margin: 10px 0 20px;

    color: var(--navy);

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

    line-height: 1.15;

}


.about-content h2 span {

    color: var(--gold);

}


.about-content p {

    margin-bottom: 16px;

    color: var(--gray);

}


.check-list {

    list-style: none;

    margin: 25px 0 30px;

}


.check-list li {

    display: flex;

    align-items: center;

    gap: 10px;

    margin: 12px 0;

    color: var(--navy);

    font-weight: 600;

}


.check-list li span {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 23px;

    height: 23px;

    border-radius: 50%;

    color: var(--white);

    background: var(--gold);

    font-size: 12px;

    flex-shrink: 0;

}


/* =========================================================
   SERVICES
========================================================= */

.services {

    background: var(--light);

}


.services-grid {

    display: grid;

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

    gap: 25px;

}


.service-card {

    overflow: hidden;

    background: var(--white);

    border-radius: var(--radius);

    box-shadow:
        0 8px 30px rgba(7,29,58,.07);

    transition:
        transform .35s ease,
        box-shadow .35s ease;

}


.service-card:hover {

    transform: translateY(-8px);

    box-shadow:
        var(--shadow-hover);

}


.service-image {

    position: relative;

    height: 235px;

    overflow: hidden;

}


.service-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition:
        transform .5s ease;

}


.service-card:hover
.service-image img {

    transform: scale(1.06);

}


.service-number {

    position: absolute;

    top: 18px;

    right: 18px;

    display: flex;

    align-items: center;

    justify-content: center;

    width: 48px;

    height: 48px;

    border-radius: 50%;

    color: var(--white);

    background: var(--navy);

    border:
        2px solid var(--gold);

    font-size: 13px;

    font-weight: 800;

}


.service-content {

    padding: 27px;

}


.service-content h3 {

    margin-bottom: 10px;

    color: var(--navy);

    font-size: 20px;

    line-height: 1.3;

}


.service-content p {

    min-height: 72px;

    margin-bottom: 18px;

    color: var(--gray);

    font-size: 14px;

}


.discover-btn {

    display: inline-flex;

    align-items: center;

    color: var(--gold);

    font-size: 12px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: .6px;

    transition: .25s ease;

}


.discover-btn:hover {

    color: var(--navy);

    transform: translateX(5px);

}


/* =========================================================
   WHY US
========================================================= */

.why-us {

    background: var(--white);

}


.advantages {

    display: grid;

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

    gap: 25px;

}


.advantage {

    padding: 30px 25px;

    background: var(--light);

    border-radius: var(--radius);

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

    transition: .3s ease;

}


.advantage:hover {

    transform: translateY(-5px);

    border-color:
        rgba(217,165,46,.5);

    box-shadow: var(--shadow);

}


.advantage-icon {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 60px;

    height: 60px;

    margin-bottom: 20px;

    border-radius: 50%;

    background:
        rgba(217,165,46,.12);

    font-size: 27px;

}


.advantage h3 {

    margin-bottom: 8px;

    color: var(--navy);

    font-size: 18px;

}


.advantage p {

    color: var(--gray);

    font-size: 14px;

}


/* =========================================================
   TEAM
========================================================= */

.team {

    background: var(--light);

}


.team-grid {

    display: grid;

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

    gap: 25px;

}


.team-card {

    overflow: hidden;

    background: var(--white);

    border-radius: var(--radius);

    box-shadow:
        0 8px 30px rgba(7,29,58,.07);

    transition: .3s ease;

}


.team-card:hover {

    transform: translateY(-7px);

    box-shadow: var(--shadow-hover);

}


.team-image {

    height: 330px;

    overflow: hidden;

}


.team-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: .5s ease;

}


.team-card:hover
.team-image img {

    transform: scale(1.05);

}


.team-content {

    padding: 25px;

}


.team-content > span {

    color: var(--gold);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 2px;

}


.team-content h3 {

    margin: 7px 0 10px;

    color: var(--navy);

    font-size: 20px;

    line-height: 1.3;

}


.team-content p {

    color: var(--gray);

    font-size: 14px;

}


/* =========================================================
   CTA
========================================================= */

.cta {

    position: relative;

    padding: 100px 0;

    overflow: hidden;

    color: var(--white);

    text-align: center;

    background:

        linear-gradient(
            90deg,
            rgba(7,29,58,.97),
            rgba(7,29,58,.86)
        ),

        url("images/about.jpg")
        center / cover no-repeat;

}


.cta-content {

    position: relative;

    z-index: 2;

    max-width: 800px;

}


.cta h2 {

    margin: 12px 0 15px;

    font-size:
        clamp(36px, 5vw, 56px);

    line-height: 1.1;

}


.cta p {

    max-width: 650px;

    margin: 0 auto 30px;

    color: #d6dfeb;

}


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

.contact {

    background: var(--white);

}


.contact-grid {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 70px;

    align-items: start;

}


.contact-content h2 {

    margin: 10px 0 18px;

    color: var(--navy);

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

    line-height: 1.1;

}


.contact-content h2 span {

    color: var(--gold);

}


.contact-content > p {

    max-width: 570px;

    color: var(--gray);

}


.contact-list {

    margin-top: 35px;

}


.contact-item {

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 17px 0;

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

}


.contact-icon {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 48px;

    height: 48px;

    flex-shrink: 0;

    border-radius: 50%;

    background:
        rgba(217,165,46,.12);

    font-size: 19px;

}


.contact-item small {

    display: block;

    color: var(--gray);

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 1px;

}


.contact-item strong {

    display: block;

    color: var(--navy);

    font-size: 14px;

}

/* =========================================================
   GOOGLE MAP — VERSION COMPACTE
========================================================= */

.school-map {

    width: 92%;
    max-width: 1050px;

    margin: 45px auto 55px;

    overflow: hidden;

    border-radius: 18px;

    background: #ffffff;

    border: 1px solid rgba(7, 29, 58, 0.08);

    box-shadow:
        0 12px 35px rgba(7, 29, 58, 0.12);

}


/* =========================================================
   HEADER
========================================================= */

.school-map-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding: 18px 24px;

    background:
        linear-gradient(
            135deg,
            #071d3a,
            #0d315d
        );

}


.school-map-title span {

    display: block;

    margin-bottom: 4px;

    color: #d9a52e;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.5px;

}


.school-map-title h2 {

    margin: 0;

    color: #ffffff;

    font-size: 21px;

}


.school-map-title p {

    margin: 4px 0 0;

    color: rgba(255,255,255,.60);

    font-size: 10px;

}


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

.school-map-button {

    display: flex;

    align-items: center;

    gap: 8px;

    padding: 10px 14px;

    border:
        1px solid rgba(217,165,46,.45);

    border-radius: 9px;

    color: #f0c75e;

    background:
        rgba(217,165,46,.08);

    font-size: 10px;

    font-weight: 700;

    text-decoration: none;

    white-space: nowrap;

    transition: .25s ease;

}


.school-map-button:hover {

    background: #d9a52e;

    color: #071d3a;

}


/* =========================================================
   CARTE PETITE
========================================================= */

.google-map {

    position: relative;

    width: 100%;

    height: 300px;

    overflow: hidden;

}


.google-map iframe {

    display: block;

    width: 100%;

    height: 100%;

    border: 0;

}


/* =========================================================
   LABEL SUR LA CARTE
========================================================= */

.google-map::before {

    content: "📍 Brain Key";

    position: absolute;

    top: 15px;

    left: 15px;

    z-index: 2;

    padding: 8px 12px;

    border-radius: 9px;

    color: #ffffff;

    background:
        rgba(7,29,58,.92);

    font-size: 10px;

    font-weight: 700;

    box-shadow:
        0 5px 15px rgba(0,0,0,.15);

    pointer-events: none;

}

/* =====================================================
   POURQUOI CHOISIR BRAIN KEY CENTER
===================================================== */

.why-brain-key {
    width: 100%;
    background: #071d3a;
    padding: 28px 20px 30px;
    overflow: hidden;
}

.why-container {
    width: 100%;
    max-width: 1450px;
    margin: 0 auto;
}

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

.why-container h2 {
    margin: 0 0 22px;
    text-align: center;

    color: #ffffff;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;

    letter-spacing: 0.3px;
}


/* =========================
   GRID
========================= */

.why-grid {
    display: grid;

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

    width: 100%;
}


/* =========================
   ITEM
========================= */

.why-item {
    position: relative;

    min-height: 115px;

    display: flex;
    flex-direction: column;

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

    text-align: center;

    padding: 0 25px;
}


/* =========================
   SEPARATORS
========================= */

.why-item:not(:last-child)::after {
    content: "";

    position: absolute;

    top: 5px;
    right: 0;

    width: 1px;
    height: 100px;

    background: rgba(255, 255, 255, 0.18);
}


/* =========================
   ICON
========================= */

.why-icon {
    width: 58px;
    height: 58px;

    margin-bottom: 5px;

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

.why-icon svg {
    width: 54px;
    height: 54px;

    fill: none;

    stroke: #d9a52e;

    stroke-width: 2.5;

    stroke-linecap: round;
    stroke-linejoin: round;

    transition:
        transform 0.3s ease,
        stroke 0.3s ease;
}


/* =========================
   ICON HOVER
========================= */

.why-item:hover .why-icon svg {
    transform: translateY(-4px) scale(1.05);

    stroke: #f0c75e;
}


/* =========================
   TEXT
========================= */

.why-item h3 {
    margin: 0;

    color: #ffffff;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

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

    line-height: 1.25;

    text-align: center;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1000px) {

    .why-container h2 {
        font-size: 27px;
    }

    .why-grid {
        grid-template-columns:
            repeat(3, 1fr);

        row-gap: 25px;
    }

    .why-item:nth-child(3)::after {
        display: none;
    }

    .why-item:nth-child(4)::after {
        display: block;
    }

}


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

@media (max-width: 650px) {

    .why-brain-key {
        padding: 25px 15px;
    }

    .why-container h2 {
        font-size: 22px;
        line-height: 1.3;
        margin-bottom: 25px;
    }

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

        row-gap: 25px;
    }

    .why-item {
        min-height: 110px;
        padding: 0 10px;
    }

    .why-item:nth-child(2)::after {
        display: none;
    }

    .why-item:nth-child(4)::after {
        display: none;
    }

    .why-item:nth-child(5) {
        grid-column: 1 / -1;
    }

    .why-item:nth-child(5)::after {
        display: none;
    }

    .why-icon {
        width: 50px;
        height: 50px;
    }

    .why-icon svg {
        width: 48px;
        height: 48px;
    }

    .why-item h3 {
        font-size: 17px;
    }
}


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

@media (max-width: 400px) {

    .why-container h2 {
        font-size: 19px;
    }

    .why-item h3 {
        font-size: 15px;
    }

    .why-item {
        padding: 0 5px;
    }

}
/* =========================================================
   TABLETTE
========================================================= */

@media (max-width: 850px) {

    .school-map {

        width: 94%;

        margin: 40px auto 45px;

    }

    .google-map {

        height: 280px;

    }

}


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

@media (max-width: 600px) {

    .school-map {

        width: 92%;

        margin: 35px auto 40px;

        border-radius: 15px;

    }


    .school-map-header {

        align-items: flex-start;

        flex-direction: column;

        padding: 18px;

        gap: 13px;

    }


    .school-map-title h2 {

        font-size: 19px;

    }


    .school-map-button {

        width: 100%;

        justify-content: center;

    }


    .google-map {

        height: 240px;

    }


    .google-map::before {

        top: 10px;

        left: 10px;

    }

}

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

.footer {
width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);

    color: var(--white);

    background: var(--navy-dark);

}


.footer-grid {

    display: grid;

    grid-template-columns:
        2fr 1fr 1fr 1.5fr;

    gap: 50px;

    padding-bottom: 50px;

}


.footer-brand img {

    width: 145px;

    margin-bottom: 18px;

    border-radius: 5px;

}


.footer-brand p {

    max-width: 320px;

    color: #aeb8c5;

    font-size: 13px;

}


.footer-column h3 {

    margin-bottom: 20px;

    color: var(--gold);

    font-size: 15px;

    text-transform: uppercase;

    letter-spacing: 1px;

}


.footer-column a {

    display: block;

    margin: 9px 0;

    color: #aeb8c5;

    font-size: 13px;

    transition: .25s ease;

}


.footer-column a:hover {

    color: var(--gold-light);

    transform: translateX(3px);

}


.footer-column p {

    margin: 9px 0;

    color: #aeb8c5;

    font-size: 13px;

}


.footer-bottom {

    padding: 20px;

    text-align: center;

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

}


.footer-bottom p {

    color: #8994a2;

    font-size: 12px;

}


/* =========================================================
   SERVICE MODAL
========================================================= */

.service-modal {

    position: fixed;

    inset: 0;

    z-index: 10000;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 25px;

    visibility: hidden;

    opacity: 0;

    transition:
        opacity .3s ease,
        visibility .3s ease;

}


.service-modal.active {

    visibility: visible;

    opacity: 1;

}


.service-modal-overlay {

    position: absolute;

    inset: 0;

    background:
        rgba(4,20,38,.82);

    backdrop-filter:
        blur(6px);

}


.service-modal-box {

    position: relative;

    z-index: 2;

    width: min(
        950px,
        100%
    );

    max-height: 90vh;

    overflow-y: auto;

    display: grid;

    grid-template-columns:
        .9fr 1.1fr;

    background: var(--white);

    border-radius: 18px;

    box-shadow:
        0 30px 100px rgba(0,0,0,.35);

    transform:
        translateY(30px)
        scale(.96);

    transition:
        transform .3s ease;

}


.service-modal.active
.service-modal-box {

    transform:
        translateY(0)
        scale(1);

}


/* MODAL IMAGE */

.service-modal-image {

    min-height: 500px;

    overflow: hidden;

}


.service-modal-image img {

    width: 100%;

    height: 100%;

    min-height: 500px;

    object-fit: cover;

}


/* MODAL CONTENT */

.service-modal-content {

    padding: 55px 45px;

}


.modal-number {

    display: block;

    margin-bottom: 7px;

    color: var(--gold);

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 2px;

}


.service-modal-content h2 {

    margin: 10px 0 18px;

    color: var(--navy);

    font-size:
        clamp(30px, 4vw, 42px);

    line-height: 1.15;

}


.service-modal-content > p {

    margin-bottom: 25px;

    color: var(--gray);

    font-size: 14px;

    line-height: 1.8;

}


.modal-details {

    margin-bottom: 28px;

}


.modal-details > div {

    padding: 15px 0;

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

}


.modal-details strong {

    display: block;

    margin-bottom: 4px;

    color: var(--navy);

    font-size: 13px;

}


.modal-details p {

    color: var(--gray);

    font-size: 13px;

    line-height: 1.6;

}


/* SERVICE CATEGORY */

.service-category {

    display: inline-block;

    margin-bottom: 8px;

    color: var(--gold);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 2px;

    text-transform: uppercase;

}


/* MODAL ITEMS */

.modal-items-section {

    margin: 5px 0 25px;

    padding: 20px;

    background: var(--light-blue);

    border-radius: 10px;

    border-left: 3px solid var(--gold);

}


.modal-items-section[hidden] {

    display: none;

}


.modal-items-section h3 {

    margin-bottom: 12px;

    color: var(--navy);

    font-size: 17px;

}


.modal-items {

    margin: 0;

    padding-left: 22px;

}


.modal-items li {

    margin: 7px 0;

    color: var(--text);

    font-size: 13px;

    line-height: 1.55;

}


/* MODAL CLOSE */

.service-modal-close {

    position: absolute;

    top: 15px;

    right: 15px;

    z-index: 10;

    display: flex;

    align-items: center;

    justify-content: center;

    width: 43px;

    height: 43px;

    padding: 0;

    border: 0;

    border-radius: 50%;

    color: var(--navy);

    background: var(--white);

    box-shadow:
        0 6px 25px rgba(0,0,0,.16);

    font-size: 29px;

    line-height: 1;

    transition: .3s ease;

}


.service-modal-close:hover {

    color: var(--white);

    background: var(--gold);

    transform: rotate(90deg);

}


/* =========================================================
   SCROLL ANIMATION
========================================================= */

.service-card,
.advantage,
.team-card {

    opacity: 0;

    transform:
        translateY(25px);

    transition:
        opacity .6s ease,
        transform .6s ease,
        box-shadow .35s ease;

}


.service-card.show,
.advantage.show,
.team-card.show {

    opacity: 1;

    transform:
        translateY(0);

}


/* =========================================================
   SELECTION
========================================================= */

::selection {

    color: var(--white);

    background: var(--gold);

}


/* =========================================================
   SCROLLBAR
========================================================= */

::-webkit-scrollbar {

    width: 9px;

}


::-webkit-scrollbar-track {

    background: #edf0f3;

}


::-webkit-scrollbar-thumb {

    background: var(--navy);

    border-radius: 20px;

}


::-webkit-scrollbar-thumb:hover {

    background: var(--gold);

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {


    .navigation {

        gap: 18px;

    }


    .navigation > a {

        font-size: 11px;

    }


    .about-grid {

        gap: 45px;

    }


    .services-grid {

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

    }


    .advantages {

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

    }


    .footer-grid {

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

    }

}


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

@media (max-width: 850px) {


    .header-container {

        min-height: 75px;

    }


    .logo img {

        width: 130px;

    }


    .menu-toggle {

        display: block;

    }


    .navigation {

        position: absolute;

        top: 75px;

        left: 0;

        right: 0;

        display: none;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        padding: 15px 5% 25px;

        background: var(--navy);

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

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

    }


    .navigation.active {

        display: flex;

    }


    .navigation > a {

        padding: 14px 5px;

        font-size: 13px;

        color: #ffffff;

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

    }


    .navigation > a::after {

        display: none !important;

    }


    .navigation .nav-button {

        margin-top: 12px;

        text-align: center;

        border: 0;

    }


    .hero {

        min-height: 650px;

    }


    .hero h1 {

        letter-spacing: -1px;

    }


    .contact-grid {

        grid-template-columns: 1fr;

    }


    .team-grid {

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

    }

}


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

@media (max-width: 650px) {


    .container {

        width: 90%;

    }


    .section {

        padding: 75px 0;

    }


    .hero {

        min-height: 620px;

        background-position:
            60% center;

    }


    .hero p {

        font-size: 15px;

    }


    .hero-buttons {

        align-items: stretch;

        flex-direction: column;

    }


    .hero-buttons .btn {

        width: 100%;

    }


    .hero-info {

        gap: 20px;

        margin-top: 40px;

    }


    .hero-info strong {

        font-size: 21px;

    }


    .hero-info span {

        font-size: 9px;

    }


    .about-grid {

        grid-template-columns: 1fr;

    }


    .about-image img {

        height: 350px;

    }


    .services-grid {

        grid-template-columns: 1fr;

    }


    .advantages {

        grid-template-columns: 1fr;

    }


    .team-grid {

        grid-template-columns: 1fr;

    }


    .team-image {

        height: 360px;

    }


    .footer-grid {

        grid-template-columns: 1fr;

        gap: 35px;

    }


    /* GPS ancien supprimé : la localisation utilise maintenant .school-map */


    .service-modal {

        padding: 12px;

    }


    .service-modal-box {

        grid-template-columns: 1fr;

        max-height: 94vh;

        border-radius: 14px;

    }


    .service-modal-image {

        height: 220px;

        min-height: 220px;

    }


    .service-modal-image img {

        height: 220px;

        min-height: 220px;

    }


    .service-modal-content {

        padding: 30px 23px 35px;

    }


    .service-modal-content h2 {

        font-size: 29px;

    }


    .service-modal-close {

        width: 38px;

        height: 38px;

        font-size: 25px;

    }

}


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

@media (max-width: 400px) {


    .logo img {

        width: 110px;

    }


    .hero {

        min-height: 590px;

    }


    .hero h1 {

        font-size: 43px;

    }


    .hero-info {

        display: grid;

        grid-template-columns:
            1fr 1fr;

    }


    .hero-info div:last-child {

        grid-column:
            1 / -1;

    }


    .service-content {

        padding: 22px;

    }


    .section-heading {

        margin-bottom: 40px;

    }

}
/* =========================================================
   FINAL FIX — CONTACT / MAP / FOOTER
========================================================= */

/* Petite carte : ne pousse pas le footer */
.school-map {
    width: 100%;
    max-width: 100%;
    margin: 25px 0 0;
    border-radius: 18px;
}

.google-map {
    height: 300px;
}

.school-map-header {
    padding: 18px 22px;
}

.school-map-title h2 {
    font-size: 21px;
}

.school-map-title p {
    font-size: 10px;
}

/* Footer pleine largeur même s'il est placé dans un container */
.footer {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 42px 0 0;
    box-sizing: border-box;
}

.footer-grid {
    width: min(1180px, 90%);
    margin: 0 auto;
    gap: 32px;
    padding-bottom: 32px;
}

.footer-bottom {
    width: 100%;
    box-sizing: border-box;
    padding: 16px 20px;
}

/* Si le footer contient directement les colonnes sans .container */
.footer > .container {
    width: min(1180px, 90%);
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 850px) {
    .google-map {
        height: 270px;
    }

    .school-map {
        margin-top: 20px;
    }

    .footer {
        padding-top: 35px;
    }
}

@media (max-width: 600px) {
    .google-map {
        height: 230px;
    }

    .school-map-header {
        padding: 16px 18px;
    }

    .footer-grid,
    .footer > .container {
        width: 92%;
    }
}
