/* ──────────────────────────────────────────────────
   VARS & RESET
────────────────────────────────────────────────── */
:root {
    --primary-color: #36B4A9;
    --border-color: #dee2e6;
    --header-height: 8rem;
    --nav-break: 48rem;
}

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

/* smooth scroll fallback */
html {
    scroll-behavior: smooth;
}

/* ──────────────────────────────────────────────────
   NAVBAR
────────────────────────────────────────────────── */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}

.navbar .container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.navbar-brand img {
    height: 8rem;
    width: auto;
}

/* Hide the real checkbox */
.nav-toggle {
    display: none;
}

/* Hamburger icon */
.nav-toggle-label {
    display: none;
    width: 2rem;
    height: 1.5rem;
    cursor: pointer;
    position: relative;
    z-index: 1100;
    /* above the menu */
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
    position: absolute;
    width: 100%;
    height: 0.2rem;
    background: #333;
    border-radius: 2px;
    left: 0;
}

.nav-toggle-label span {
    top: 50%;
    transform: translateY(-50%);
}

.nav-toggle-label span::before {
    content: "";
    top: -0.5rem;
}

.nav-toggle-label span::after {
    content: "";
    top: 0.5rem;
}

/* Desktop menu */
.nav-menu {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--primary-color);
}

/* ──────────────────────────────────────────────────
   RESPONSIVE (mobile)
────────────────────────────────────────────────── */
@media (max-width: 768px) {

    /* show the burger */
    .nav-toggle-label {
        display: block;
    }

    /* hide the menu entirely until toggled */
    .nav-menu {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
        border-bottom: 1px solid var(--border-color);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        z-index: 1000;
    }

    /* when the checkbox is checked, show & expand it */
    .nav-toggle:checked~.nav-menu {
        display: flex;
        max-height: 500px;
        /* or whatever */
    }
}

/* ─────────────────────────────────────────────────────────────
   Page-loader styles
───────────────────────────────────────────────────────────── */
#page-loader {
    position: fixed;
    inset: 0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.spinner {
    width: 3rem;
    height: 3rem;
    border: 0.5rem solid #eee;
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}



/* ==========================================================================
   VARIABLES & RESET
   ========================================================================== */

:root {
    /* base */
    --primary-color: #36B4A9;
    --overlay-dark: rgba(0, 0, 0, 0.4);
    --border-color: #dee2e6;
    --text-color: #333;
    --light-bg: #fff;

    /* form */
    --ynov-radius: 0.5rem;
    --ynov-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    --ynov-spacing: 1rem;
}

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

body {
    font-family: sans-serif;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    background: url('./images/hero.png') center/cover no-repeat;
    color: #fff;
    display: flex;
    align-items: center;
    padding: 2rem 1rem;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--overlay-dark);
    z-index: 0;
}

.first-hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    width: 100%;
}

/* left side */
.first-hero-left h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    text-transform: uppercase;
    margin-top: 8rem;
    margin-bottom: 1rem;
}

.first-hero-left p {
    font-size: 1rem;
    line-height: 1.5;
    text-transform: uppercase;
}

.highlight {
    color: var(--primary-color);
}

/* right side (form) */
.hero-right {
    background: var(--light-bg);
    padding: calc(var(--ynov-spacing)*2);
    border-radius: var(--ynov-radius);
    box-shadow: var(--ynov-shadow);
    color: var(--text-color);
    width: 100%;
    max-width: 30rem;
    margin: 0 auto;
}

/* ==========================================================================
   FORM WIDGET SCOPING
   ========================================================================== */

:root {
    /* Brand tokens from Ynov.com */
    --ynov-primary: #36B4A9;
    --ynov-light-bg: #fff;
    --ynov-border: #dee2e6;
    --ynov-text: #333;
    --ynov-radius: 0.5rem;
    --ynov-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    --ynov-spacing: 1rem;
}

/* allow the country list to escape */
.hero-right,
#emc-widget-container {
    overflow: visible !important;
}

#emc-widget-container .iti__selected-country {
    width: 100%;
    width: 100%;
    top: 0.77rem;
    left: 17px;
}


/* position the intlTelInput dropdown absolutely, on top */
.iti {
    position: relative;
    width: 100%;
}



/* ─────────────────────────────────────────────────────────────
   Scope: only affect the injected EMC widget
───────────────────────────────────────────────────────────── */
#emc-widget-container {
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
    color: var(--ynov-text);
    margin: 0 auto;
}



/* inputs & selects & phone picker */
#emc-widget-container input,
#emc-widget-container select,
#emc-widget-container .iti {
    width: 100%;
    padding: 0.75rem 1rem;
    background: #f8f9fb;
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

/* ! --------------------*/

.iti {
    position: relative !important;
}

/* force the dropdown to sit just below the input & stretch to match its width */
.iti__dropdown-content {
    /* always absolutely position relative to .iti */
    position: absolute !important;
    top: calc(100% + 0.9rem) !important;
    /* 0.5rem below the input */
    left: 1rem !important;
    margin: 0 !important;
    /* reset any margins */
    padding: 0.5rem 0 !important;
    /* a little breathing room */
    border-radius: 0.75rem !important;
    /* your desired rounding */
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15) !important;
    z-index: 3000 !important;
    background: #fff !important;
    /* overflow-y: auto !important; */
    border: 1px solid #dfe3e8 !important;
    /* subtle border */
    /* remove that inline width:384px */
    min-width: 0 !important;
}


/* ! --------------------*/

/* focus state */
#emc-widget-container input:focus,
#emc-widget-container select:focus,
#emc-widget-container .iti:focus {
    border-color: var(--ynov-primary);
    box-shadow: 0 0 0 3px rgba(54, 180, 169, 0.2);
    outline: none;
}

/* country dropdown list */
.iti__country-list {
    border-radius: var(--ynov-radius);
    box-shadow: var(--ynov-shadow);
    max-height: 12rem !important;
    overflow-y: auto;
}

.iti__country-list {
    z-index: 2000 !important;
}




/* Allow the dropdown to escape clipped parents */
.hero-right,
#emc-widget-container {
    overflow: visible !important;
}




/* submit button */
#emc-widget-container button[type="submit"],
#emc-widget-container input[type="submit"] {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--ynov-primary);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    border: none;
    border-radius: var(--ynov-radius);
    cursor: pointer;
    transition: background 0.2s;
    letter-spacing: 0.025em;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    margin-top: var(--ynov-spacing);
}

#emc-widget-container button[type="submit"]:hover,
#emc-widget-container input[type="submit"]:hover {
    background: #2fa08f;
}

/* error messages */
#emc-widget-container .emc-error {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}




/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
/* Tablet: two columns (slightly narrower) */
@media (max-width: 991px) {
    .first-hero-content {
        grid-template-columns: 1fr 1fr;
    }

    .hero {
        padding: 1.5rem;
    }
}

/* Mobile: stack text above form */
@media (max-width: 767px) {
    .first-hero-content {
        grid-template-columns: 1fr;
    }

    .first-hero-left {
        text-align: center;
    }

    .first-hero-left h1 {
        font-size: 2rem;
    }

    .hero-right {
        margin-top: 1.5rem;
        max-width: 100%;
        padding: var(--ynov-spacing);
    }
}

/* ==========================================================================
   PAGE LOADER (if still used)
   ========================================================================== */
#page-loader {
    position: fixed;
    inset: 0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.spinner {
    width: 3rem;
    height: 3rem;
    border: 0.5rem solid #eee;
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


/* ================================
   DÉBOUCHÉS / MÉTIERS D'AVENIR
   ================================ */
.section.debouches {
    background-color: #f9f9f9;
}

/* Header */
.debouches__header {
    margin-bottom: 4rem;

}

.debouches__title {
    font-size: 2rem;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding-top: 1.5;
    font-weight: 600;
    line-height: 1.2;

}

.debouches__subtitle {
    font-size: 1.125rem;
    /* padding-bottom: 5rem; */
    color: #555;
    line-height: 1.4;
}



/* ----------------------------
   DOUBLE DIPLÔME
   ---------------------------- */
/* Title */
.double-diploma__title {
    font-size: 2.75rem;
    line-height: 1;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

/* Colors */
.text-primary {
    color: var(--primary-color) !important;
}

.text-dark {
    color: #000 !important;
}

/* Benefit list */
.double-diploma__list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}

.double-diploma__list li {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: #333;
}

.double-diploma__list li .bi {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-right: 0.75rem;
}

/* Image wrapper with slanted left edge */
.double-diploma__img-wrapper {
    overflow: hidden;
    /* clip-path cuts a diagonal on the left edge */
    clip-path: polygon(10% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.double-diploma__img-wrapper img {
    display: block;
    width: 100%;
    height: auto;
}

/* Spacing utilities */
.py-8 {
    padding-top: 5rem !important;
    padding-bottom: 2rem !important;
}



/* ================
    Specialities START
===================== */

:root {
    --primary-color: #36B4A9;
    --dark-bg: #111;
    --light-bg: #f9f9f9;
    --text-light: #fff;
    --text-dark: #333;
}



/* -----------------------------------
   SHARED HERO (dark theme)
   ----------------------------------- */
.shared-hero.theme-dark {
    background: var(--dark-bg);
    color: var(--text-light);
    padding: 4rem 0;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    text-align: center;
}

.hero-text {
    flex: 1 1 50%;
    text-align: center;

}

.hero-text h1 {
    text-transform: uppercase;

}

.shared-hero.theme-dark .hero-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
}

.shared-hero.theme-dark .hero-text {
    flex: 1 1 100%;
    text-align: center;
}

.shared-hero.theme-dark .hero-text h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin: 0 auto;
    max-width: 70%;
    text-align: center;
}

@media (max-width: 576px) {
    .shared-hero.theme-dark .hero-text h1 {
        max-width: 100%;
    }
}

.shared-hero.theme-dark .hero-text p {
    margin-top: 1rem;
    font-size: 1.125rem;
    line-height: 1.5;
    max-width: 70%;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.85);
}

.shared-hero.theme-dark .btn-hero {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: #fff;
    border-radius: 0.25rem;
    text-decoration: none;
    font-weight: 600;
}

/* On large screens put text & image side-by-side again */
@media (min-width: 992px) {
    .shared-hero.theme-dark .hero-text {
        flex: 1 1 50%;
    }

    .shared-hero.theme-dark .hero-image {
        flex: 1 1 50%;
    }

    .shared-hero.theme-dark .hero-text h1 {
        font-size: 3rem;
    }

    .shared-hero.theme-dark .hero-text p {
        font-size: 1.25rem;
    }
}

.hero-image {
    flex: 1 1 50%;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: .25rem;
}

/* -----------------------------------
   INFO SECTION (light & dark variants)
   ----------------------------------- */
/* ----------------------------------------
   VARIABLES & BASE
   ---------------------------------------- */
:root {
    --clr-primary: #006d77;
    /* Ynov-style accent */
    --clr-secondary: #83c5be;
    --clr-light-bg: #f9fafb;
    --clr-dark-bg: #111317;
    --clr-text: #333;
    --clr-text-light: #f1f1f1;
    --transition-speed: 0.3s;
    --radius: 0.5rem;
}

.info-section {
    position: relative;
    overflow: hidden;
    padding: 6rem 1rem;
    display: flex;
    align-items: center;
}

.info-section__inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: center;
    max-width: 1140px;
    margin: 0 auto;
}

/* ----------------------------------------
   THEMES
   ---------------------------------------- */
.info-section--light {
    background-color: var(--clr-light-bg);
    color: var(--clr-text);
}

.info-section--dark {
    background-color: var(--clr-dark-bg);
    color: var(--clr-text-light);
}

/* ----------------------------------------
   DECORATIVE SHAPES (pseudo-elements)
   ---------------------------------------- */
.info-section__decor {
    position: absolute;
    top: 0;
    left: 0;
    width: 150%;
    height: 100%;
    pointer-events: none;
    clip-path: polygon(0 0, 100% 10%, 100% 100%, 0% 90%);
    transform: translateX(-25%);
    z-index: 0;
}

.info-section__decor--light {
    background: var(--clr-secondary);
    opacity: 0.1;
}

.info-section__decor--dark {
    background: var(--clr-primary);
    opacity: 0.2;
}

/* ----------------------------------------
   TEXT BLOCK
   ---------------------------------------- */
.info-section__text {
    position: relative;
    z-index: 1;
}

.info-section__label {
    display: inline-block;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    color: var(--clr-primary);
}

.info-section--dark .info-section__label {
    color: var(--clr-secondary);
}

.info-section__title {
    font-size: 2.25rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

.info-section__copy {
    font-size: 1.125rem;
    line-height: 1.5;
    max-width: 480px;
}

/* ----------------------------------------
   IMAGE BLOCK
   ---------------------------------------- */
.info-section__visual {
    position: relative;
    z-index: 1;
    overflow: hidden;
    clip-path: polygon(10% 0%, 100% 0%, 100% 100%, 0% 100%);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform var(--transition-speed);
}

.info-section__visual img {
    display: block;
    width: 100%;
    height: auto;
    transform: scale(1);
    transition: transform var(--transition-speed);
}

.info-section__visual:hover img {
    transform: scale(1.05);
}



/* ----------------------------------------
   RESPONSIVE
   ---------------------------------------- */
@media (max-width: 768px) {
    .info-section {
        padding: 4rem 1rem;
    }

    .info-section__title {
        font-size: 1.875rem;
    }
}

/* -----------------------------------
   RESPONSIVE
   ----------------------------------- */
@media (max-width: 768px) {

    .hero-content,
    .info-content,
    .banner-content {
        flex-direction: column;
    }

    /* remove diagonal on mobile */
    .info-text {
        clip-path: none !important;
    }
}

/* ================
    Specialities END
===================== */


/* <!-- ================= FOOTER START ================= --> */
:root {
    /* rem-based breakpoints & vars */
    --primary-color: #36B4A9;
    --border-color: #dee2e6;
}

/* Reset & box-sizing */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.py-6 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}

@media (min-width: 992px) {
    .py-lg-7 {
        padding-top: 5rem !important;
        padding-bottom: 5rem !important;
    }
}


/* ====================
Temoiniage styling
======================= */
:root {
    --primary-color: #36B4A9;
    --breakpoint-md: 48rem;
    /* 768px */
}

/* -------------------------
   GLOBAL SPACING HELPERS
   ------------------------- */
.py-7 {
    padding-top: 4.5rem !important;
    padding-bottom: 4.5rem !important;
}

@media (min-width: 992px) {
    .py-lg-8 {
        padding-top: 5.5rem !important;
        padding-bottom: 5.5rem !important;
    }
}

/* -------------------------
   BACKGROUND UTILS
   ------------------------- */
.bg-primary {
    background-color: var(--primary-color) !important;
}

/* -------------------------
   QUOTE ICON
   ------------------------- */
.quote-icon {
    font-size: 6rem;
    /* adjust to taste */
    line-height: 1;
    /* keep it square */
    color: var(--primary-color);
    display: inline-block;
    /* so margin and sizing work as expected */
}

/* your existing .mb-1 */
.mb-1 {
    margin-bottom: 0.25rem !important;
}

/* -------------------------
   STARS
   ------------------------- */
.stars .star {
    color: var(--primary-color);
    margin-right: 0.25rem;
}

/* -------------------------
   TESTIMONIAL GRID
   ------------------------- */
.testimonials-wrapper {
    display: grid;
    gap: 1.5rem;
    padding-bottom: 2rem;
    grid-template-columns: 1fr;
    /* mobile: single column */
    grid-auto-rows: 2fr;
    /* force all cards to equal height */
    align-items: start;
    /* respect our manual offsets */
    margin-top: 5rem;
}

/* ≥768px: two columns */
@media (min-width: 768px) {
    .testimonials-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ≥1200px: three columns, lift 1st & 3rd */
@media (min-width: 1200px) {
    .testimonials-wrapper {
        grid-template-columns: repeat(3, 1fr);
    }

    /* lift the 1st and 3rd cards up 2rem */
    .testimonials-wrapper>.testimony:nth-child(1),
    .testimonials-wrapper>.testimony:nth-child(3) {
        margin-top: -4rem;
    }
}

/* -------------------------
   SINGLE CARD
   ------------------------- */
.testimony {
    background: #fff;
    border-radius: 0.75rem;
    padding: 1.5rem;
    height: 30rem;
}


/* --------------------
   Partners STYLING
   -------------------- */

/* override Bootstrap primary to your teal */
.text-primary {
    color: var(--primary-color) !important;
}

/* spacing helpers  */
.py-6 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}

@media (min-width: 992px) {
    .py-lg-7 {
        padding-top: 5rem !important;
        padding-bottom: 5rem !important;
    }
}

/* Partners sections backgrounds */
.partners--peda {
    background-color: #f9f9f9;
}

.partners--entreprises {
    background-color: #f2f0f0;
}

/* Common styling */
.partners__title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.partners__text {
    max-width: 36rem;
    color: #444;
    line-height: 1.5;
    margin-bottom: 2rem;
}

.partner-logo {
    max-height: 4rem;
    object-fit: contain;
}

/* --------------------
   FOOTER STYLING
   -------------------- */
.footer {
    background-color: #000;
    color: #fff;
}

.footer h5 {
    font-size: 1.125rem;
    /* ~18px */
    margin-bottom: 1.5rem;
}

.footer .list-unstyled {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer .list-unstyled li {
    margin-bottom: 0.5rem;
}

.footer .list-unstyled li:last-child {
    margin-bottom: 0;
}

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

.footer a:hover {
    text-decoration: underline;
}

/* override Bootstrap’s helpers */
.bg-black {
    background-color: #000 !important;
}

.text-white {
    color: #fff !important;
}





/* -------------------------------------------------- */
/* Mobile collapse: ≤ 48rem (768px)                    */
/* -------------------------------------------------- */
@media (max-width: var(--breakpoint-md)) {

    /* show the hamburger */
    .nav-toggle-label {
        display: block;
    }

    /* hide menu by default */
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: #fff;
        gap: 1rem;
        padding: 1rem 0;
    }

    /* when hamburger is checked, show it */
    .nav-toggle:checked~.nav-menu {
        display: flex;
    }
}

/* <!-- ================= FORMATION / ARGUMENTS START ================= --> */
/* ---------- Formation Section ---------- */
.formation {
    background: #f4f7fa;
    padding: 6rem 1rem;
    font-family: 'Inter', sans-serif;
    color: #333;
}

.formation__intro {
    max-width: 600px;
    margin: 0 auto 3rem;
    text-align: center;
}

.formation__headline {
    font-size: 2.25rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.formation__headline--highlight {
    color: #36B4A9;
}

.formation__subhead {
    font-size: 1rem;
    color: #555;
}

/* Grid & zig-zag offsets */
.formation__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.formation__card {
    background: #fff;
    border-left: 4px solid #e0e0e0;
    border-radius: 0.5rem;
    padding: 2rem 1.5rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    transition: transform 0.4s, box-shadow 0.4s;
    position: relative;
}

/* Zig-zag: odd cards up, even down */
/* ---------- Zig-zag adjustments ---------- */
/* 1st card — nudge down */
.formation__card:nth-child(1) {
    transform: translateY(18px);
}

/* 2nd card — flat */
.formation__card:nth-child(2) {
    transform: translateY(-15px);
}

/* 3rd card — nudge up */
.formation__card:nth-child(3) {
    transform: translateY(-15px);
}

/* 4th card — nudge down */
.formation__card:nth-child(4) {
    transform: translateY(18px);
}


/* Hover “lift” */
.formation__card:hover {
    transform: translateY(0);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    border-left-color: #36B4A9;
}

/* Icon styling */
.formation__icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
}

.formation__icon svg {
    width: 100%;
    height: 100%;
    stroke: #36B4A9;
}

/* Text inside cards */
.formation__card-title {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.formation__card-copy {
    font-size: 0.95rem;
    color: #666;
}

/* Testimonial */
.formation__testimonial {
    max-width: 640px;
    margin: 0 auto;
}

.formation__testimonial blockquote {
    background: #fff;
    border-left: 4px solid #36B4A9;
    padding: 2rem 1.5rem;
    position: relative;
    font-style: italic;
    color: #444;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.formation__testimonial blockquote::before {
    content: "“";
    font-size: 4rem;
    position: absolute;
    top: -10px;
    left: 14px;
    color: #36B4A9;
    opacity: 0.15;
}

.formation__testimonial footer {
    margin-top: 1rem;
    text-align: right;
    font-weight: 600;
    color: #333;
}

/* Responsive tweaks */
@media (max-width: 640px) {

    .formation__card:nth-child(odd),
    .formation__card:nth-child(even) {
        transform: translateY(0);
    }

    .formation__headline {
        font-size: 1.75rem;
    }
}







/* ==========================================================================
   THANK YOU – Yn​ov Campus
   ========================================================================== */

/* 1) Vars & reset */
:root {
    --ynov-primary: #36B4A9;
    --ynov-primary-light: rgba(54, 180, 169, 0.15);
    --text-dark: #111;
    --text-grey: #555;
    --bg-gradient-start: #f0f9f8;
    --bg-gradient-end: #e3f2f1;
    --radius: 0.5rem;
    --shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-gradient-start);
    color: var(--text-dark);
}

/* 2) Container full-screen + formes décoratives */
.ty-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem;
    background: linear-gradient(135deg, var(--bg-gradient-start), var(--bg-gradient-end));
    overflow: hidden;
}

/* ronds dans les coins */
.ty-container::before,
.ty-container::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: var(--ynov-primary-light);
}

.ty-container::before {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
}

.ty-container::after {
    width: 400px;
    height: 400px;
    bottom: -150px;
    right: -150px;
}

/* 3) Card blanche centrée */
.ty-card {
    position: relative;
    z-index: 1;
    background: #fff;
    border-left: 6px solid var(--ynov-primary);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    max-width: 45rem;
    width: 100%;
    padding: 3rem 2rem;
    text-align: center;
    animation: fadeInUp 0.6s ease-out both;
}

/* 4) Titre */
.ty-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

/* 5) Texte secondaire */
.ty-text {
    font-size: 1.125rem;
    color: var(--text-grey);
    line-height: 1.6;
    margin-bottom: 2rem;
}


.ty-btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: var(--ynov-primary);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0.25rem;
    transition: background 0.3s ease;
}

.ty-btn:hover {
    background: #2fa08f;
}

/* 7) Responsive */
@media (max-width: 600px) {
    .ty-card {
        padding: 2rem 1.5rem;
    }

    .ty-title {
        font-size: 1.5rem;
    }

    .ty-text {
        font-size: 1rem;
    }
}

/* 8) Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}