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

:root {

    --dark: #102a2a;
    --dark-2: #173b3b;

    --green: #477a6f;
    --green-light: #e7efec;

    --cream: #f7f5f0;
    --white: #ffffff;

    --text: #263434;
    --text-light: #667373;

    --border: #dde3df;

    --radius: 18px;

    --max-width: 1200px;
}


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

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


html {
    scroll-behavior: smooth;
}


body {

    font-family: "DM Sans", sans-serif;

    color: var(--text);

    background: var(--white);

    line-height: 1.6;
}


img {
    max-width: 100%;
    display: block;
}


a {
    text-decoration: none;
    color: inherit;
}


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

.header {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    background: rgba(255,255,255,0.94);

    backdrop-filter: blur(12px);

    border-bottom: 1px solid rgba(0,0,0,0.06);
}


.navbar {

    max-width: var(--max-width);

    margin: auto;

    height: 82px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 25px;
}


/* LOGO */

.logo {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-right: auto;
}


.logo-symbol {

    width: 42px;
    height: 42px;

    display: flex;

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

    border-radius: 10px;

    background: var(--dark);

    color: white;

    font-weight: 700;

    font-size: 14px;
}


.logo-text {

    display: flex;

    flex-direction: column;

    line-height: 1.1;
}


.logo-text strong {
    font-size: 16px;
}


.logo-text small {

    color: var(--text-light);

    font-size: 11px;

    margin-top: 3px;
}


/* NAVIGATION */

.nav-links {

    display: flex;

    align-items: center;

    gap: 30px;

    list-style: none;
}


.nav-links a {

    font-size: 14px;

    font-weight: 500;

    transition: 0.25s;
}


.nav-links a:hover {

    color: var(--green);
}


.nav-button {

    background: var(--dark);

    color: white !important;

    padding: 12px 20px;

    border-radius: 50px;
}


.nav-button:hover {
    background: var(--green);
}


/* MOBILE MENU */

.menu-toggle {

    display: none;

    border: none;

    background: none;

    font-size: 25px;

    cursor: pointer;
}


.school-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-right: 16px;
}

.school-logo img {
    height: 48px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
}



.hero {
    background-image:
        linear-gradient(
            rgba(16, 42, 42, 0.72),
            rgba(16, 42, 42, 0.72)
        ),
        url("images/Lycee.jpg");

    background-size: cover;
    background-position: center; 
}


.hero-content {

    max-width: var(--max-width);

    width: 100%;

    margin: auto;

    padding: 150px 25px 100px;
}


.eyebrow {

    font-size: 12px;

    letter-spacing: 2px;

    font-weight: 600;

    margin-bottom: 22px;

    opacity: 0.8;

    color: #ffffff;

}


.hero h1 {

    font-family: "Playfair Display", serif;

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

    line-height: 1.05;

    font-weight: 500;

    max-width: 850px;
    
    color: #ffffff;
    
}


.hero h1 span {
    opacity: 0.65;
}


.hero-text {

    max-width: 600px;

    margin-top: 30px;

    font-size: 18px;

    opacity: 0.9;
}


.hero-buttons {

    display: flex;

    gap: 15px;

    margin-top: 40px;
}


/* BUTTONS */

.button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 15px 25px;

    border-radius: 50px;

    font-weight: 600;

    font-size: 14px;

    transition: 0.25s;
}


.button-primary {

    background: white;

    color: var(--dark);
}


.button-primary:hover {
    transform: translateY(-2px);
}


.internat-tarifs {
    display: flex;
    justify-content: center;
    margin-top: 45px;
    margin-bottom: 70px;
}

.internat-tarifs-button {
    background: var(--green);
    color: white;
}

.internat-tarifs-button:hover {
    background: var(--dark);
    transform: translateY(-2px);
}


.button-secondary {

    border: 1px solid rgba(255,255,255,0.5);

    color: white;
}


.button-secondary:hover {

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


.hero-scroll {

    position: absolute;

    bottom: 30px;

    left: 50%;

    transform: translateX(-50%);

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 5px;

    font-size: 11px;

    opacity: 0.7;
}


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

.section {

    max-width: var(--max-width);

    margin: auto;

    padding: 120px 25px;
}


.section-label {

    font-size: 11px;

    letter-spacing: 2px;

    font-weight: 700;

    color: var(--green);

    margin-bottom: 18px;
}


h2 {

    font-family: "Playfair Display", serif;

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

    line-height: 1.1;

    font-weight: 500;
}


h2 em {

    font-style: italic;

    color: var(--green);
}


.center-heading {

    text-align: center;

    margin-bottom: 65px;
}


/* ========================================================= */
/* INTRO / LA PRÉPA */
/* ========================================================= */

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: start;
}

.intro-content {
    max-width: 520px;
}

.intro-content strong {
     font-style: italic;
    color: var(--green);
    font-weight: 700;
}


/* ---------- TITRE ---------- */

.intro-title {

    max-width: 650px;
}


.intro-title h2 {

    line-height: 1.1;
}


/* ---------- CONTENU ---------- */

.intro-content {

    max-width: 520px;

}


.intro-content .large-text {

    font-size: 20px;

    line-height: 1.6;

    color: var(--text-light);

    margin-bottom: 45px;
}

.intro-content > p.large-text {
    transform: translateY(15px);
}


/* ---------- MISE EN AVANT ---------- */


.intro-highlight {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid var(--border);
}


.intro-highlight-number {

    font-family: "Playfair Display", serif;

    font-size: 64px;

    line-height: 1;

    color: var(--green);

}


.intro-highlight-text {

    display: flex;

    flex-direction: column;

    line-height: 1.2;
}


.intro-highlight-text strong {

    font-size: 18px;

    font-weight: 600;
}



.intro-highlight-text span {

    margin-top: 4px;

    font-size: 13px;

    color: var(--text-light);
}

/* ========================================================= */
/* INTERNAT */
/* ========================================================= */

.internat {
    background: var(--white);
    color: var(--text);
}


/* ---------- INTRODUCTION + PHOTO ---------- */

.internat-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 55px;
}


/* ---------- TEXTE ---------- */

.internat-text {
    max-width: 600px;
}

.internat-text .section-label {
    margin-bottom: 18px;
}

.internat-text h2 {
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.1;
    margin-bottom: 25px;
}

.internat-text h2 em {
    color: var(--green);
    font-style: normal;
}

.internat-text p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 18px;
}

.internat-text .btn {
    display: inline-block;
    margin-top: 15px;
}


/* ---------- PHOTO ---------- */

.internat-photo {
    display: flex;
    flex-direction: column;
}

.internat-photo img {
    display: block;
    width: 100%;
    height: auto;
}

.internat-photo-caption {
    margin-top: 10px;
    font-size: 11px;
    line-height: 1.4;
    color: var(--text-light);
    font-style: italic;
    text-align: center;
}



/* ---------- BLOCS D'INFORMATIONS ---------- */

.internat-infos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}


/* ---------- CARTE ---------- */

.internat-infos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 80px; /* espace avant la rubrique suivante */
}

.internat-card {
    min-height: 250px;
    padding: 30px 25px;
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: 0.3s;
}

.internat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}


/* Petite étiquette supérieure */

.internat-card-label {
    font-size: 16px;
    letter-spacing: 1.8px;
    font-weight: 700;
    color: var(--green);
    margin-bottom: 18px;
}


/* Icônes */

.internat-card-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    border-radius: 50%;
    background: var(--green);
    color: var(--white);
    font-size: 18px;
}


/* Grande capacité */

.internat-number {
    font-family: "Playfair Display", serif;
    font-size: 60px;
    line-height: 1;
    color: var(--green);
    margin-bottom: 25px;
}


/* Textes */

.internat-card h3 {
    margin: 0 0 12px;
    font-size: 19px;
    line-height: 1.3;
}

.internat-card p {
    margin: 0;
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.6;
}


/* Carte vidéo */

.internat-card-video {
    padding: 0;
    overflow: hidden;
}

.internat-video {
    position: relative;
    display: block;
    height: 130px;
    overflow: hidden;
    background: var(--green-light);
}

.internat-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}

.internat-card-video:hover .internat-video img {
    transform: scale(1.04);
}

.internat-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 48px;
    height: 48px;

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

    border-radius: 50%;
    background: rgba(255,255,255,0.94);
    color: var(--green);
    font-size: 15px;

    padding-left: 3px;
}

.internat-card-video .internat-card-content {
    padding: 25px;
}


/* Tablette */

@media (max-width: 1000px) {
    .internat-infos {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* Mobile */

@media (max-width: 600px) {
    .internat-infos {
        grid-template-columns: 1fr;
        margin-bottom: 60px;
    }
}
/* ---------- MOBILE ---------- */

@media (max-width: 800px) {

    .internat-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .internat-text {
        max-width: none;
    }

}

@media (max-width: 500px) {

    .internat-card {
        padding: 20px;
        gap: 18px;
    }

    .internat-icon {
        width: 44px;
        height: 44px;
    }

}

/* ========================================================= */
/* POURQUOI UNE GRANDE ÉCOLE ? */
/* ========================================================= */

.school-benefits {

    position: relative;

    background: var(--dark);

    color: var(--white);

    text-align: center;

    box-shadow: 0 0 0 100vmax var(--dark);

    clip-path: inset(0 -100vmax);
}


.school-benefits-heading {

    max-width: 750px;

    margin: 0 auto 55px;
}


.school-benefits-heading .section-label {

    color: #b8d0c8;

    margin-bottom: 18px;
}


.school-benefits-heading h2 {

    color: var(--white);

    margin-bottom: 20px;
}


.school-benefits-heading h2 em {

    color: #b8d0c8;

    font-style: normal;
}


.school-benefits-heading p {

    max-width: 600px;

    margin: 0 auto;

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

    font-size: 16px;

    line-height: 1.6;
}


.school-benefits-grid {

    display: grid;

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

    gap: 20px;

    max-width: 1100px;

    margin: 0 auto;
}


.school-benefit {

    padding: 40px 30px;

    background: rgba(255,255,255,0.06);

    border: 1px solid rgba(255,255,255,0.12);

    border-radius: var(--radius);

    transition: 0.3s;
}


.school-benefit:hover {

    transform: translateY(-5px);

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


.school-benefit-number {

    font-size: 52px;

    line-height: 1;

    font-weight: 700;

    letter-spacing: -2px;

    color: var(--white);

    margin-bottom: 25px;
}


.school-benefit-number span {

    font-size: 28px;

    letter-spacing: 0;
}


.school-benefit h3 {

    color: var(--white);

    font-size: 19px;

    line-height: 1.3;

    margin-bottom: 15px;
}


.school-benefit p {

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

    font-size: 14px;

    line-height: 1.6;

    margin: 0;
}


.school-benefits-source {

    margin-top: 30px;

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

    font-size: 11px;
}

/* ========================================================= */
/* STATS */
/* ========================================================= */

.stats {

    max-width: none;

    /*background: var(--cream);*/
}


.stats-header {

    max-width: var(--max-width);

    margin: auto;

    padding: 0 25px 60px;

    display: flex;

    justify-content: space-between;

    align-items: end;

    gap: 50px;
}


.stats-header p {

    max-width: 350px;

    color: var(--text-light);
}


.stats-grid {

    max-width: var(--max-width);

    margin: auto;

    padding: 0 25px;

    display: grid;

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

    gap: 1px;

    background: var(--border);
}


.stat-card {

    background: var(--cream);

    padding: 45px 30px;
}


.stat-card strong {

    display: block;

    font-size: 58px;

    line-height: 1;

    color: var(--dark);
}


.stat-card strong span {
    color: var(--green);
}


.stat-card p {

    margin-top: 20px;

    color: var(--text-light);

    font-size: 14px;
}


/* ========================================================= */
/* FEATURES */
/* ========================================================= */

.features {
    background: var(--cream);
    box-shadow: 0 0 0 100vmax var(--cream);
    clip-path: inset(0 -100vmax);
}

.features-grid {

    display: grid;

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

    gap: 20px;
}


.feature-card {

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

    border-radius: var(--radius);

    padding: 35px;

    transition: 0.3s;
}


.feature-card:hover {

    transform: translateY(-5px);

    box-shadow: 0 15px 40px rgba(0,0,0,0.07);
}


.feature-number {

    color: var(--green);

    font-size: 12px;

    font-weight: 700;

    margin-bottom: 50px;
}


.feature-card h3 {

    font-size: 20px;

    line-height: 1.3;

    margin-bottom: 15px;
}


.feature-card p {

    font-size: 14px;

    color: var(--text-light);
}


/* ========================================================= */
/* AGENDA */
/* ========================================================= */

.agenda {

    max-width: none;

    background: var(--dark);

    color: white;
}


.agenda-grid {

    max-width: var(--max-width);

    margin: auto;

    padding: 0 25px;

    display: grid;

    grid-template-columns: 0.8fr 1.2fr;

    gap: 100px;
}


.agenda-intro .section-label {
    color: #a9c9bf;
}


.agenda-intro p {

    margin: 30px 0;

    max-width: 420px;

    color: rgba(255,255,255,0.7);
}


.events {

    border-top: 1px solid rgba(255,255,255,0.2);
}


.event {

    display: grid;

    grid-template-columns: 130px 1fr 30px; 

    gap: 25px;

    align-items: center;

    padding: 30px 0;

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


.event-date {

    text-align: center;
}


.event-date span {

    display: block;

    font-size: 40px;

    font-weight: 600;

    line-height: 1;
}


.event-date small {

    font-size: 11px;

    letter-spacing: 1px;
}


.event-type {

    font-size: 10px;

    letter-spacing: 1.5px;

    color: #a9c9bf;

    font-weight: 700;
}


.event-info h3 {

    margin: 5px 0;

    font-size: 19px;
}


.event-info p {

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

    font-size: 13px;
}


.event-arrow {

    font-size: 20px;

    opacity: 0.6;
}


/* ========================================================= */
/* TESTIMONIALS */
/* ========================================================= */


.testimonials.section {
    max-width: 1450px;
    margin: auto;
    padding-left: 0;
    padding-right: 0;
    background: var(--cream);
    box-shadow: 0 0 0 100vmax var(--cream);
    clip-path: inset(0 -100vmax);
}

.testimonial-grid {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.testimonial-long {
    width: 100%;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.testimonial-long .testimonial-card {
    width: 100%;
    padding: 50px 60px;
}

.testimonial-long .testimonial-card p {
    max-width: 1050px;
    font-size: 21px;
    line-height: 1.6;
}

.testimonial-card {

    background: white;

    padding: 40px;

    border-radius: var(--radius);
}


.testimonial-card.featured {

    background: var(--dark);

    color: white;
}


.quote {

    font-family: "Playfair Display", serif;

    font-size: 70px;

    line-height: 0.7;

    color: var(--green);

    margin-bottom: 25px;
}


.testimonial-card p {

    font-family: "Playfair Display", serif;

    font-size: 20px;

    line-height: 1.5;

    margin-bottom: 40px;
}


.testimonial-author {

    display: flex;

    flex-direction: column;
}


.testimonial-author strong {
    font-size: 14px;
}


.testimonial-author span {

    font-size: 12px;

    color: var(--text-light);

    margin-top: 3px;
}


.featured .testimonial-author span {

    color: rgba(255,255,255,0.6);
}


/* ========================================================= */
/* FAQ */
/* ========================================================= */

.faq-heading {
    max-width: 950px;
    margin: 0 auto 60px;
    text-align: center;
}

.faq-heading h2 {
    margin-bottom: 25px;
}

.faq-heading p {
    color: var(--text-light);
    max-width: 650px;
    margin: 0 auto;
}

.faq-list {

    max-width: 950px;

    margin: 0 auto;

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


.faq-item {

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


.faq-question {

    width: 100%;

    padding: 25px 0;

    background: none;

    border: none;

    display: flex;

    justify-content: space-between;

    align-items: center;

    text-align: left;

    font-family: inherit;

    font-size: 16px;

    font-weight: 600;

    cursor: pointer;
}


.faq-icon {

    font-size: 25px;

    font-weight: 300;

    transition: 0.3s;
}


.faq-answer {

    max-height: 0;

    overflow: hidden;

    transition: 0.3s;
}


.faq-answer p {

    color: var(--text-light);

    padding-bottom: 25px;

    max-width: 700px;
}


.faq-item.active .faq-answer {
    max-height: 300px;
}


.faq-item.active .faq-icon {

    transform: rotate(45deg);

    color: var(--green);
}


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

.contact {

    max-width: none;

    background: white;
}


.contact-box {

    max-width: var(--max-width);

    margin: auto;

    background: var(--green);

    color: white;

    padding: 70px;

    border-radius: 30px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 50px;
}


.contact-box .section-label {

    color: rgba(255,255,255,0.7);
}


.contact-box p {

    margin-top: 20px;

    max-width: 500px;

    color: rgba(255,255,255,0.8);
}


.contact-buttons {

    display: flex;

    gap: 12px;

    flex-shrink: 0;
}


.button-light {

    background: white;

    color: var(--dark);
}


.button-outline-light {

    border: 1px solid rgba(255,255,255,0.5);

    color: white;
}


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

.footer {

    background: var(--dark);

    color: white;

    padding: 70px 25px 30px;
}


.footer-grid {

    max-width: var(--max-width);

    margin: auto;

    display: grid;

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

    gap: 50px;
}


.footer-logo {

    font-size: 25px;

    font-weight: 700;
}


.footer p {

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

    font-size: 13px;

    margin-top: 10px;
}


.footer h4 {

    font-size: 13px;

    margin-bottom: 15px;
}


.footer-grid > div:not(:first-child) a {

    display: block;

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

    font-size: 13px;

    margin: 8px 0;

    transition: 0.2s;
}


.footer-grid a:hover {
    color: white;
}


.footer-bottom {

    max-width: var(--max-width);

    margin: 60px auto 0;

    padding-top: 25px;

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

    display: flex;

    justify-content: space-between;

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

    font-size: 11px;
}


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

@media (max-width: 1150px) {

    .nav-links {

        display: none;

        position: absolute;

        top: 82px;

        left: 0;

        width: 100%;

        background: white;

        flex-direction: column;

        padding: 30px;

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


    .nav-links.active {
        display: flex;
    }


    .menu-toggle {
        display: block;
    }


    .school-logo img {
        height: 36px;
    }


}

@media (max-width: 900px) {

    .intro-grid,
    .agenda-grid,
    .faq-grid {

        grid-template-columns: 1fr;

        gap: 45px;
    }

    .intro-content {
        max-width: 650px;
    }


    .stats-grid {

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


    .features-grid {

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

    .contact-box {

        flex-direction: column;

        align-items: flex-start;

        padding: 50px 30px;
    }


    .footer-grid {

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

}

@media (max-width: 1500px) {

    .testimonials.section {
        padding-left: 25px;
        padding-right: 25px;
    }

}

@media (max-width: 900px) {

    .testimonial-grid,
    .school-benefits-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-long .testimonial-card {
        padding: 40px 30px;
    }

}

@media (max-width: 600px) {

    .testimonial-card,
    .testimonial-long .testimonial-card {
        padding: 30px 22px;
    }

    .testimonial-card p,
    .testimonial-long .testimonial-card p {
        font-size: 18px;
    }

}

@media (max-width: 600px) {

    .hero {

        min-height: 700px;
    }

.school-benefits-grid {

    grid-template-columns: 1fr;
}

    .hero h1 {

        font-size: 46px;
    }


    .hero-buttons {

        flex-direction: column;

        align-items: flex-start;
    }


    .stats-grid,
    .features-grid {

        grid-template-columns: 1fr;
    }


    .stats-header {

        flex-direction: column;

        align-items: flex-start;
    }


    .event {

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


    .event-arrow {
        display: none;
    }


    .contact-buttons {

        flex-direction: column;

        width: 100%;
    }


    .contact-buttons .button {
        width: 100%;
    }


    .footer-grid {

        grid-template-columns: 1fr;
    }


    .footer-bottom {

        flex-direction: column;

        gap: 10px;
    }

}



/* ========================================================= */
/* SECTIONS PLEINE LARGEUR */
/* ========================================================= */

.agenda.section {
    background: var(--dark);
    box-shadow: 0 0 0 100vmax var(--dark);
    clip-path: inset(0 -100vmax);
}

html,
body {
    overflow-x: hidden;
}