@import './normalize.css';
@import './variables.css';
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body { overflow-x: hidden; }

section { padding: 0 1rem; }

.l-container {
    max-width: 1300px;
    margin: 0 auto;
}

/* Button (used for both CTAs previously duplicated) */
.btn {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    width: fit-content;
    gap: 1rem;
    text-decoration: none;
    border-radius: 30px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn--outline {
    color: var(--color-blue);
    background-color: #FFFFFF;
    padding: .5rem .5rem .5rem 2rem;
    text-transform: uppercase;
    font-weight: 700;
    border: 2px solid var(--color-blue);
}

.btn__icon {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--color-blue);
    width: 30px;
    height: 30px;
    min-width: 30px;
    min-height: 30px;
    border-radius: 50px;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.btn__icon svg {
    stroke: #FFFFFF;
    width: 20px;
    transform: rotate(0deg);
    transition: transform 0.3s ease-in-out, stroke 0.3s ease-in-out;
}

.btn--outline:hover {
    background-color: var(--color-blue);
    color: #FFFFFF;
}

.btn--outline:hover .btn__icon { background-color: #FFFFFF; }

.btn--outline:hover .btn__icon svg {
    transform: rotate(45deg);
    stroke: var(--color-blue);
}

#whatsapp-cta-fixed {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    background-color: #FFFFFF;
    z-index: 10;
    border-radius: 50px;
    padding: 8px 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    height: fit-content;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    color: #000000;
    box-shadow: 0 2px 12px 1px #00000045;
    transition: all .2s ease-in-out;
}

#whatsapp-cta-fixed svg {
    width: 30px;
    height: auto;
    fill: #25d366;
    margin-left: 10px;
    transition: all .2s ease-in-out;
}

#whatsapp-cta-fixed:hover {
    background-color: #25d366;
    color: #FFFFFF;
}

#whatsapp-cta-fixed:hover svg {
    fill: #FFFFFF;
}

/* Vibration animation */
@keyframes vibrate {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-2px); }
    20%, 40%, 60%, 80% { transform: translateX(2px); }
}

#whatsapp-cta-fixed.vibrating {
    animation: vibrate 0.5s infinite;
}

/* Chat bubble notification */
#whatsapp-cta-fixed.has-notification::after {
    content: "";
    position: absolute;
    top: -47px;
    right: 165px;
    width: 35px;
    height: 35px;
    background-image: var(--profile-image);
    background-size: contain;
    background-position: center;
    background-color: #FFFFFF;
    border-radius: 50%;
    border: 2px solid #FFFFFF;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 12;
}

#whatsapp-cta-fixed .notification-bubble {
    position: absolute;
    top: -45px;
    right: 25px;
    background-color: #FFFFFF;
    border-radius: 50px;
    padding: 10px 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    font-size: 12px;
    color: #000000;
    font-weight: 600;
    white-space: nowrap;
    z-index: 11;
}

#whatsapp-cta-fixed .notification-bubble::after {
    content: "";
    position: absolute;
    bottom: -8px;
    right: 15px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 0 solid transparent;
    border-top: 8px solid #FFFFFF;
}

/* =========================
   HEADER
========================= */
#header .l-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

#header img {
    width: 300px;
}

#header p {
    font-size: 18px;
    font-weight: 400;
}

/* =========================
   HERO
========================= */
.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--grad-egc-to-b);
    background-image: url(/wp-content/themes/bmvcom/assets/images/egc-hero.webp);
    background-size: cover;
    min-height: calc(100vh - 200px);
    position: relative;
}

.hero .l-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.hero__subtitle {
    color: #FFFFFF;
    font-size: 25px;
    font-weight: 900;
    text-transform: uppercase;
}

.hero__title {
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 400;
}

.hero__cta {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.hero__cta a {
    width: max-content;
}

/* =========================
   PLACE
========================= */
.place {
    margin-top: 6rem;
}

.place .l-container {
    position: relative;
}

.place__title {
    color: var(--color-egc-pink);
    font-size: 35px;
    font-weight: 900;
    text-transform: uppercase;
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.place__desc {
    color: var(--color-black);
    font-size: 20px;
    text-align: center;
    max-width: 800px;
    margin: 1rem auto 0 auto;
    font-weight: 500;
}

.place__desc span {
    font-size: 25px;
    font-weight: 900;
    display: block;
}

.place__satisfaction {
    position: absolute;
    right: 0;
    bottom: -8rem;
    width: 130px;
    height: 130px;
    border: 2px solid var(--color-egc-pink);
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-size: 16px;
    font-weight: 600;
    z-index: 10;
    background-color: #FFFFFF;
}

.place__satisfaction--note {
    font-size: 25px;
    font-weight: 700;
    display: block;
    margin-top: .2rem;
}

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

.faqSection {
    background: var(--grad-egc-to-b);
    margin-top: 6rem;
    padding: 4rem 1rem;
}

.faqSection h3 {
    font-size: 50px;
    font-weight: 900;
    color: #FFFFFF;
    line-height: 1;
    text-transform: uppercase;
    max-width: 900px;
}

.faqSection__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.faqSection__items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    margin: 4rem 0 0 0;
}

.faqSection__item {
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 400;
}

.faqSection__item--full { grid-column: 1/-1; }

.faqSection__item > div {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: row;
    gap: 1rem;
    padding: 0 0 1rem 0;
}

.faqSection__item span { font-weight: 600; }

.faqSection__icon {
    width: 30px;
    min-width: 30px;
    height: 30px;
    min-height: 30px;
    max-width: 30px;
    max-height: 30px;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #FFFFFF;
}

.faqSection__icon svg { width: 25px; stroke: var(--color-egc-blue); }

.faqSection__item p {
    border-top: 1px solid #FFFFFF;
    padding: 1rem 0 0 0;
}

.faqSection__statsRow {
    display: flex;
    flex-direction: column;
}

.faqSection__statsRow .faqSection__statNumber {
    font-size: 100px;
    font-weight: 900;
}

.faqSection__statsRow .faqSection__statText{
    font-size: 25px;
    font-weight: 400;
}

/* =========================
   REASSURE (rassurer)
========================= */

.reassure {
    background-color: var(--color-blue);
    background-image: url(/wp-content/themes/bmvcom/assets/images/FOND-Parents.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 2rem 4rem;
    position: relative;
    overflow: hidden;
    margin-top: 4rem;
}

.reassure .l-container {
    display: grid;
    grid-template-columns: 1fr .8fr;
    gap: 2rem;
}

.reassure h2 { font-size: 40px; font-weight: 700; color: #FFFFFF; line-height: 1; }

.reassure__list ul {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0 4.5rem;
}

.reassure__list ul li { position: relative; }

.reassure__list ul li:before {
    content: '';
    position: absolute;
    top: -5px;
    left: -65px;
    width: 55px;
    height: 55px;
    background-image: url(/wp-content/themes/bmvcom/assets/images/check-purple-white.webp);
    background-size: contain;
    background-repeat: no-repeat;
}

.reassure__list ul li + li { margin-top: 2rem; }

.reassure__list ul li h3 {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 400;
    margin: 0;
}

.reassure__list ul li h3 span {
    font-size: 20px;
    font-weight: 700;
    width: 100%;
    text-wrap: balance;
    padding: 0 0 .5rem 0;
}

.reassure__decor {
    position: absolute;
    top: -250px;
    right: -130px;
    height: 1100px;
    object-fit: contain;
    z-index: 0;
    mix-blend-mode: lighten;
    pointer-events: none;
    transform: rotate(-90deg);
}

.reassure__ctaWrap {
    position: relative;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.reassure__ctaWrap .btn { margin-bottom: 2rem; z-index: 1; }

.reassure__badge {
    position: absolute;
    top: 10px;
    left: 40px;
    width: 250px;
    height: 250px;
    background-color: #FFFFFF;
    border: 10px solid var(--color-blue);
    border-radius: 500px;
    z-index: 1;
}

/* =========================
   CAMPUS
========================= */

.campus {
    margin: 6rem 0;
}

.campus .l-container {
    display: grid;
    grid-template-columns: .8fr 1fr;
    gap: 2rem;
}

.campus__content {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    flex-direction: column;
    gap: 2rem;
}

.campus h2 { font-size: 30px; font-weight: 300; text-align: right; color: var(--color-egc-pink); line-height: 1; }
.campus h2 span { font-size: 60px; font-weight: 900; }

.campus p {
    font-size: 18px;
    font-weight: 400;
    color: var(--color-black);
    text-align: right;
    max-width: 470px;
}

.circleCard {
    position: relative;
    margin: -4rem 0;
}

.circleCard__image {
    width: 100%;
    height: auto;
    border-radius: 50%;
    overflow: hidden;
}

.circleCard__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.circleCard__inner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 65%;
    height: 65%;
    border-radius: 250px;
    background-color: #FFFFFF;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.circleCard__inner h3 {
    font-size: 40px;
    font-weight: 900;
    color: var(--color-egc-pink);
    text-transform: uppercase;
    line-height: 1;
}

.circleCard__inner h3 span {
    line-height: 0;
    font-size: 140px;
    margin: 3rem 0 .5rem 0;
    display: block;
}

/* =========================
   BACHELOR
========================= */
.bachelor {
    position: relative;
    background: var(--grad-egc-to-l);
    padding: 4rem 1rem;
}

.bachelor h4 {
    font-size: 50px;
    font-weight: 900;
    text-align: center;
    color: #FFFFFF;
    line-height: 1;
}

.bachelor__timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
    margin-top: 4rem;
}

.bachelor__timeline--item {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    overflow: hidden;
}

.bachelor__timeline--year {
    font-size: 30px;
    font-weight: 900;
    color: #FFFFFF;
    line-height: 1;
    margin-bottom: 1rem;
}

.bachelor__timeline--title {
    font-size: 20px;
    font-weight: 400;
    color: #FFFFFF;
    margin-bottom: 1rem;
    text-align: center;
}

.bachelor__timeline--dot {
    position: relative;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #FFFFFF;
}

.bachelor__timeline--item:nth-child(2) .bachelor__timeline--dot:before,
.bachelor__timeline--item:nth-child(3) .bachelor__timeline--dot:before{
    content: '';
    position: absolute;
    top: 50%;
    left: -300px;
    height: 1px;
    width: 300px;
    background-color: #FFFFFF;
}

.bachelor__timeline--item:nth-child(1) .bachelor__timeline--dot:after,
.bachelor__timeline--item:nth-child(2) .bachelor__timeline--dot:after {
    content: '';
    position: absolute;
    top: 50%;
    right: -300px;
    height: 1px;
    width: 300px;
    background-color: #FFFFFF;
}

.bachelor__timeline--desc {
    font-size: 16px;
    font-weight: 400;
    color: #FFFFFF;
    margin-top: 1rem;
    text-align: center;
    max-width: 300px;
}

.bachelor .btn {
    position: absolute;
    bottom: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
}

/* =========================
   APRÈS
========================= */
.after {
    background-color: var(--color-egc-blue);
    color: #FFFFFF;
    padding: 4rem 1rem;
    margin-top: 6rem;
}

.after__title {
    font-size: 50px;
    font-weight: 900;
    line-height: 1;
}

.after__subtitle {
    font-size: 20px;
    font-weight: 400;
    margin-top: 1rem;
    max-width: 1000px;
}

.after__grid {
    display: grid;
    grid-template-columns: .8fr 1fr;
    gap: 4rem;
    margin-top: 4rem;
    align-items: center;
}

.after__stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.after__stats span {
    font-size: 150px;
    font-weight: 900;
    line-height: 1;
}

.after__stats p {
    font-size: 25px;
    font-weight: 700;
    /*max-width: 70%;*/
}

.after__list {
    list-style: '- ';
    padding: 0;
    margin: 0;
}

.after__list li {
    font-size: 22px;
    font-weight: 500;
    line-height: 1.5;
    padding: .8rem 0;
    width: fit-content;
    position: relative;
}

.after__list li + li::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
    height: 1px;
    background-color: #FFFFFF;
}

/* =========================
   POURQUOI
========================= */
.why {
    margin: 6rem 0 0 0;
}

.why h3 {
    font-size: 50px;
    font-weight: 900;
    color: var(--color-egc-blue);
    line-height: 1;
}

.why__grid {
    display: grid;
    grid-template-columns: .5fr 1fr;
    margin-top: 4rem;
}

.why__grid--cta {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
    background: var(--grad-egc-to-b);
    padding: 2rem 0;
}

.why__grid--cta p {
    font-size: 30px;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.2;
    margin: 0;
}

.why__grid--cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--grad-egc-to-b);
}

.why__content ul {
    position: relative;
    list-style: none;
    padding: 0;
    margin: 2rem 0 0 160px;
    counter-reset: increment-value;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    gap: 3rem;
}

.why__content ul:before {
    content: '';
    position: absolute;
    top: 0;
    left: -52.5px;
    width: 5px;
    height: 98%;
    background-color: var(--color-egc-pink);
}

.why__content ul li {
    position: relative;
    counter-increment: increment-value;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    color: var(--color-black);
}

.why__content ul li span {
    font-weight: 700;
}

.why__content ul li::before {
    content: counter(increment-value);
    position: absolute;
    top: -10px;
    left: -80px;
    background-color: var(--color-egc-pink);
    color: #FFFFFF;
    width: 60px;
    height: 60px;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    font-weight: 900;
}

.why .btn {
    margin: 3rem 0 0 120px;
}

.why .btn .conseiller {
    width: 80px;
    border-radius: 100%;
    position: absolute;
    left: -55px;
}

/* =========================
   TESTIMONIALS (satisfaction)
========================= */

.testimonials { margin-top: 6rem; }

.testimonials h2 {
    font-size: 40px;
    font-weight: 500;
    color: var(--color-egc-pink);
    line-height: 1;
    text-transform: uppercase;
}

.testimonials h2 span { font-weight: 900; }

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 2rem 0 0 0;
}

.testimonial {
    display: grid;
    grid-template-columns: 120px 1fr;
    justify-items: start;
    align-items: center;
    gap: 1rem;
}

.testimonial__avatar {
    width: 120px;
    height: 120px;
    border: 4px solid var(--color-blue);
    border-radius: 100px;
    overflow: hidden;
}

.testimonial__avatar img { width: 100%; height: 100%; object-fit: cover; }

.testimonial__content p {
    color: var(--color-black);
    font-size: 16px;
    font-weight: 500;
    max-width: 400px;
}

.testimonial__content span {
    color: var(--color-blue);
    font-size: 16px;
    font-weight: 500;
    display: block;
    margin-top: .5rem;
}

.testimonial__rating {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
}

.testimonial__rating > div {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.testimonial__rating svg {
    width: 60px;
    height: 60px;
    fill: var(--color-egc-pink);
    stroke: var(--color-egc-pink);
}

.testimonial__ratingText {
    color: var(--color-egc-pink);
    font-size: 30px;
    display: block;
}

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

.faqSection {
    background: var(--grad-egc-to-b);
    margin-top: 6rem;
    padding: 4rem 1rem;
}

.faqSection h5 {
    font-size: 50px;
    font-weight: 900;
    color: #FFFFFF;
    line-height: 1;
    text-transform: uppercase;
    text-align: right;
    max-width: 620px;
    margin: 0 0 0 auto;
}

.faqSection__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.faqSection__items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    column-gap: 4rem;
    margin: 4rem 0 0 0;
}

.faqSection__item {
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 400;
}

.faqSection__item--full { grid-column: 1/-1; }

.faqSection__item > div {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: row;
    gap: 1rem;
    padding: 0 0 1rem 0;
}

.faqSection__item span { font-weight: 600; }

.faqSection__icon {
    width: 30px;
    min-width: 30px;
    height: 30px;
    min-height: 30px;
    max-width: 30px;
    max-height: 30px;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #FFFFFF;
}

.faqSection__icon svg { width: 25px; stroke: var(--color-blue); }

.faqSection__item p {
    border-top: 1px solid #FFFFFF;
    padding: 1rem 0 0 0;
}


/* =========================
   COUNTDOWN
========================= */

.countdown {
    background: var(--color-egc-pink);
    padding: 6rem 1rem;
    text-align: center;
    margin-top: 6rem;
}

.countdown .l-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 2rem;
}

.countdown__parcoursup {
    width: 250px;
    margin-bottom: -1rem;
}

.countdown__title {
    font-size: 50px;
    font-weight: 900;
    color: #FFFFFF;
    text-transform: uppercase;
    line-height: 1;
    margin: 0;
}

.countdown__timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.countdown__item {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 0.5rem;
    background-color: rgba(255, 255, 255, 0.15);
    padding: 2rem 2.5rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    min-width: 120px;
}

.countdown__value {
    font-size: 60px;
    font-weight: 900;
    color: #FFFFFF;
    line-height: 1;
    display: block;
}

.countdown__label {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.countdown__separator {
    font-size: 40px;
    font-weight: 900;
    color: #FFFFFF;
    line-height: 1;
    opacity: 0.7;
    margin: 0 0.5rem;
}

.countdown__subtitle {
    font-size: 20px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.countdown .btn {
    margin-top: 1rem;
}

@media screen and (max-width: 768px) {
    .countdown {
        padding: 4rem 1rem;
    }

    .countdown__title {
        font-size: 32px;
    }

    .countdown__timer {
        gap: 0.8rem;
    }

    .countdown__item {
        padding: 1.5rem 1.2rem;
        min-width: 80px;
    }

    .countdown__value {
        font-size: 40px;
    }

    .countdown__label {
        font-size: 12px;
    }

    .countdown__separator {
        font-size: 24px;
        margin: 0 0.2rem;
    }

    .countdown__subtitle {
        font-size: 14px;
    }
}

/* =========================
   CONTACT
========================= */
.contact {
    margin-top: 6rem;
}

.contact h6 {
    font-size: 40px;
    font-weight: 900;
    color: var(--color-blue);
    line-height: 1;
    text-transform: uppercase;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact__form {
    margin: 2rem auto 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    width: 100%;
    max-width: 800px;
}

.contact__form--input,
.contact__form--textarea {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    width: 100%;
    max-width: calc(50% - 1rem);
}

.contact__form--textarea {
    max-width: 100%;
}

.contact__form--input label,
.contact__form--textarea label {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-blue);
    margin: 0;
    padding: 0;
    line-height: 1;
}

.contact__form--input input,
.contact__form--textarea textarea {
    border: 1px solid var(--color-black);
    width: 100%;
    padding: .5rem 1rem;
}

.contact__form--textarea textarea {
    height: 150px;
    resize: none;
}

.contact__form--submit input {
    color: var(--color-blue);
    background-color: #FFFFFF;
    padding: .5rem 1rem;
    text-transform: uppercase;
    font-weight: 700;
    border: 2px solid var(--color-blue);
    border-radius: 50px;
    cursor: pointer;
    transition: all .2s ease-in-out;
}

.contact__form--submit input:hover {
    background-color: var(--color-blue);
    color: #FFFFFF;
}

/* =========================
   FOOTER
========================= */
.brand--footer {
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    gap: .8rem;
    width: fit-content;
    text-decoration: none;
}

.brand--footer .brand__slogan {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    border-left: 2px solid #FFFFFF;
    line-height: 1.2;
}
.brand--footer .brand__slogan span {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    color: #FFFFFF;
    padding: 0 0 0 .8rem;
}

footer {
    position: relative;
    padding: 4rem 1rem;
    background: var(--grad-to-l);
    overflow: hidden;
    margin: 5rem 0 0 0;
    z-index: 20;
}

footer .l-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.footer__title {
    color: #FFFFFF;
    font-size: 25px;
    font-weight: 900;
    text-transform: uppercase;
}

.footer__subtitle {
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 400;
}

.footer__form {
    background-color: #FFFFFF;
    border-radius: 0 60px 60px 60px;
    overflow: hidden;
    max-width: 500px;
    padding: 1rem 2rem;
    margin: 1rem 0 0 0;
}

/* Contact Form 7 overrides (kept) */
.footer__form .hidden-fields-container { display: none; }

.footer__form form {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.footer__form .wpcf7-form-control-wrap[data-name="your-email"] {
    flex: 1;
}

.footer__form input[type="submit"] {
    white-space: nowrap;
    background-color: var(--color-blue);
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 700;
    border: 1px solid var(--color-blue);
    border-radius: 50px;
    padding: .5rem 1rem;
    cursor: pointer;
    text-transform: uppercase;
    transition: all .2s ease-in-out;
}

.footer__form input[type="submit"]:hover {
    background-color: #FFFFFF;
    color: var(--color-blue);
}

.footer__form input:not([type="submit"]):not([type="checkbox"]) {
    width: 100%;
    border: 1px solid var(--color-blue);
    border-radius: 50px;
    padding: .5rem 1rem;
    color: var(--color-black);
    font-size: 16px;
    font-weight: 400;
    background-color: transparent;
}

.footer__form .wpcf7-form-control-wrap[data-name="RGPD"] {
    width: 100%;
}

.footer__form .wpcf7-acceptance {
    width: 100%;
}

.footer__form .wpcf7-acceptance .wpcf7-list-item {
    margin: 0;
}

.footer__form .wpcf7-acceptance label {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: .5rem;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.footer__form .wpcf7-acceptance input[type="checkbox"] {
    width: auto;
    padding: 0;
    border-radius: 0;
    flex: 0 0 auto;
    margin-top: .2rem;
}

.wpcf7 form.sent .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    margin: 0;
    background-color: #FFFFFF;
}

.wpcf7 .wpcf7-not-valid-tip {
    font-size: 12px;
}

.footer__form .wpcf7-acceptance label {
    font-size: 12px;
}

footer .mentions-legales{
    position: absolute;
    right: 25px;
    bottom: 15em;

    transform: rotate(-90deg);
    transform-origin: right bottom;

    display: inline-flex;
    align-items: center;
    gap: 12px;

    color: #fff;
}

footer .mentions-legales a{
    color: #fff;
    text-decoration: none;
}

footer .mentions-legales::before{
    content: "";
    display: block;
    width: 70px;
    height: 2px;
    background: #fff;
}

footer .socials{
    position: absolute;
}

footer .socials a{
    text-decoration: none;
}

footer .socials a svg{
    width: 25px;
    height: 25px;
    fill: #FFFFFF;
    margin: 10px;
}

@media screen and (max-width: 768px) {
    #header .l-container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
        text-align: center;
    }

    #header img {
        width: 200px;
    }

    #header p {
        font-size: 14px;
    }

    .hero {
        min-height: calc(100vh - 300px);
    }

    .hero .l-container {
        grid-template-columns: 1fr;
    }

    .hero__subtitle {
        font-size: 18px;
    }

    .hero__title {
        font-size: 16px;
    }

    .place__title {
        font-size: 25px;
    }

    .place__desc span {
        font-size: 20px;
    }

    .place__desc {
        font-size: 16px;
    }

    .place__satisfaction {
        bottom: -9rem;
    }

    .campus .l-container {
        grid-template-columns: 1fr;
    }

    .circleCard__inner h3 {
        font-size: 25px;
    }

    .circleCard__inner h3 span {
        font-size: 80px;
        margin: 2rem 0 .5rem 0;
    }

    .campus h2 span {
        font-size: 25px;
    }

    .campus__content {
        margin-top: 4rem;
    }

    .bachelor h4 {
        font-size: 25px;
    }

    .bachelor__timeline {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .bachelor .btn {
        width: 95%;
    }

    .after__title {
        font-size: 25px;
    }

    .after__subtitle,
    .after__stats p,
    .after__list li {
        font-size: 18px;
    }

    .after__grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 2rem;
    }

    .after__stats span {
        font-size: 50px;
    }

    .why h3 {
        font-size: 25px;
    }

    .why__grid {
        grid-template-columns: 1fr;
    }

    .why__grid--cta p {
        font-size: 25px;
    }

    .why .btn {
        margin: 0;
    }

    .why__content ul {
        margin: 2rem 0 2rem 80px;
    }

    .why .btn .conseiller {
        width: 40px;
        left: -15px;
    }

    .testimonials h2 {
        font-size: 25px;
    }

    .testimonials__grid {
        grid-template-columns: 1fr;
    }

    .testimonial {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .faqSection h3 {
        font-size: 25px;
    }

    .faqSection h5 {
        font-size: 25px;
    }

    .faqSection__items {
        grid-template-columns: 1fr;
    }

    .faqSection__item > div {
        justify-content: space-between;
    }

    .reassure {
        padding: 4rem 1rem;
    }

    .reassure .l-container {
        grid-template-columns: 1fr;
    }

    .reassure h2 {
        font-size: 25px;
    }

    .contact h6 {
        font-size: 25px;
    }

    footer .l-container {
        grid-template-columns: 1fr;
    }

    .footer__title {
        font-size: 16px;
        font-weight: 700;
    }

    .footer__form form {
        justify-content: center;
        align-items: flex-start;
        flex-direction: column;
    }

    .wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
        font-size: 12px;
        left: 0;
    }

    #whatsapp-cta-fixed {
        bottom: .5rem;
        left: .5rem;
        right: .5rem;
        font-size: 13px;
        width: calc(100% - 1rem);
        padding: 8px 8px;
    }

    footer .mentions-legales {
        right: auto;
        bottom: 0;
        transform: rotate(0);
    }
}