
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&display=swap');
/* =========================================
   RED OWL ENGLISH — DESIGN SYSTEM
   ========================================= */

:root {
    --ivory: #f7f4ed;
    --ivory-deep: #eee8dc;
    --white: #ffffff;
    --ink: #25201f;
    --muted: #6e6660;
    --red: #951e27;
    --red-light: #b94b4c;
    --gold: #c89c61;
    --gold-light: #e4c79d;
    --navy: #23344b;
    --navy-deep: #151e2c;
    --turquoise: #58aaa7;
    --coral: #cd715b;

    --serif: 'Playfair Display', Georgia, serif;
    --sans: 'DM Sans', Arial, sans-serif;

    --container: 1180px;
    --header-height: 82px;
    --ease: cubic-bezier(.22, 1, .36, 1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    margin: 0;
    background: var(--ivory);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

::selection {
    background: var(--red);
    color: white;
}

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

button {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 4px;
}

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

.container {
    width: min(var(--container), calc(100% - 64px));
    margin-inline: auto;
}

section {
    position: relative;
}

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

.section-dark {
    background: var(--navy-deep);
    color: white;
}

/* TYPOGRAPHY */

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    line-height: 1.15;
}

h1,
h2 {
    font-family: var(--serif);
    font-weight: 500;
    letter-spacing: -0.035em;
}

h1 em,
h2 em,
h3 em {
    color: var(--red);
    font-weight: inherit;
}

.eyebrow {
    color: var(--red);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .24em;
    text-transform: uppercase;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 64px;
    text-align: center;
}

.section-heading h2 {
    font-size: clamp(38px, 5vw, 64px);
    margin-bottom: 24px;
}

.section-heading > p:last-child {
    color: var(--muted);
    font-size: 17px;
    max-width: 580px;
    margin: 0 auto;
}

/* =========================================
   HEADER & NAVIGATION
   ========================================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    z-index: 1000;
    background: rgba(247, 244, 237, .92);
    border-bottom: 1px solid rgba(37, 32, 31, .07);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition: box-shadow .3s ease, background .3s ease;
}

.site-header.scrolled {
    background: rgba(247, 244, 237, .97);
    box-shadow: 0 8px 35px rgba(20, 18, 16, .06);
}

.nav {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.nav-brand {
    flex-shrink: 0;
    font-family: var(--serif);
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1;
}

.nav-brand span {
    color: var(--red);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links > a {
    font-size: 13px;
    font-weight: 600;
    transition: color .25s ease;
}

.nav-links > a:hover {
    color: var(--red);
}

.nav-links .nav-contact {
    padding: 11px 23px;
    border: 1px solid var(--red);
    border-radius: 4px;
    color: var(--red);
    transition: all .25s ease;
}

.nav-links .nav-contact:hover {
    background: var(--red);
    color: white;
}

.nav-toggle {
    display: none;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 10px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px 0;
    background: var(--ink);
    transition: transform .3s ease, opacity .3s ease;
}

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

.hero {
    min-height: 100svh;
    padding: calc(var(--header-height) + 60px) 0 70px;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
}

.hero::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    left: 50%;
    top: 40%;
    transform: translate(-50%, -50%);
    background: radial-gradient(
        circle,
        rgba(200, 156, 97, .13),
        transparent 68%
    );
    pointer-events: none;
    z-index: -1;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .23;
    background-image: radial-gradient(
        rgba(80, 60, 40, .13) .6px,
        transparent .6px
    );
    background-size: 7px 7px;
    z-index: -1;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}




.hero-logo {
    width: min(360px, 72vw);
    margin-bottom: 35px;
    position: relative;
}

.hero-logo img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 18px;

    box-shadow:
        0 0 12px 3px rgba(190, 25, 35, 0.55),
        0 0 35px 10px rgba(180, 20, 35, 0.30),
        0 0 70px 20px rgba(150, 15, 30, 0.12),
        0 18px 40px rgba(20, 10, 10, 0.15);
}



.hero .eyebrow {
    margin-bottom: 21px;
}

.hero h1 {
    max-width: 900px;
    font-size: clamp(48px, 7vw, 95px);
    margin-bottom: 28px;
}

.hero-description {
    color: var(--muted);
    max-width: 660px;
    font-size: clamp(16px, 1.6vw, 19px);
    line-height: 1.85;
    margin-bottom: 37px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 53px;
    padding: 13px 29px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .015em;
    transition: transform .3s var(--ease),
                color .3s ease,
                background .3s ease,
                box-shadow .3s ease;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-primary {
    background: var(--red);
    color: white;
    box-shadow: 0 9px 22px rgba(149, 30, 39, .17);
}

.btn-primary:hover {
    background: #74151d;
    box-shadow: 0 14px 30px rgba(149, 30, 39, .24);
}

.btn-outline {
    border: 1px solid rgba(37, 32, 31, .25);
    color: var(--ink);
}

.btn-outline:hover {
    border-color: var(--red);
    color: var(--red);
}

.hero-scroll {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 15px;
    margin-top: 70px;
    color: var(--muted);
    font-size: 10px;
    letter-spacing: .3em;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(var(--gold), transparent);
}

/* =========================================
   PROGRAMMES
   ========================================= */

.programmes {
    padding: 120px 0 140px;
    background: #eee9e0;
}

.programmes-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
}

.programme-card {
    min-height: 580px;
    position: relative;
    overflow: hidden;
    border-radius: 9px;
    isolation: isolate;
    transition: transform .5s var(--ease),
                box-shadow .5s var(--ease);
}

.programme-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 50px rgba(20, 20, 20, .13);
}

.programme-card::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    right: -170px;
    top: -140px;
    border: 1px solid currentColor;
    border-radius: 50%;
    opacity: .13;
    z-index: -1;
}

.programme-card::after {
    content: '';
    position: absolute;
    width: 290px;
    height: 290px;
    right: -115px;
    top: -85px;
    border: 1px solid currentColor;
    border-radius: 50%;
    opacity: .12;
    z-index: -1;
}

.programme-card.adults {
    background: radial-gradient(
        ellipse at top right,
        #354b66,
        var(--navy-deep) 70%
    );
    color: #fff;
}

.programme-card.kids {
    background: radial-gradient(
        ellipse at top right,
        #f7ddba,
        #f0c9ae 85%
    );
    color: #452f2d;
}

.programme-card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: clamp(30px, 4vw, 55px);
}

.programme-number {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .2em;
    margin-bottom: 75px;
}

.adults .programme-number {
    color: var(--gold-light);
}

.kids .programme-number {
    color: #9e5444;
}

.programme-card h3 {
    font-family: var(--serif);
    font-size: clamp(34px, 4vw, 55px);
    font-weight: 500;
    letter-spacing: -.035em;
    margin-bottom: 22px;
}

.adults h3 em {
    color: var(--gold-light);
}

.kids h3 em {
    color: #a34d45;
}

.programme-card-content > p {
    max-width: 430px;
    font-size: 15px;
    line-height: 1.85;
    opacity: .88;
}

.programme-card ul {
    list-style: none;
    padding: 0;
    margin: 22px 0 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px 15px;
}

.programme-card li {
    font-size: 12px;
    font-weight: 600;
}

.programme-card li::before {
    content: '✦';
    margin-right: 9px;
    color: var(--gold);
}

.kids li::before {
    color: #b45d49;
}

.programme-link {
    display: inline-flex;
    gap: 14px;
    align-items: center;
    align-self: flex-start;
    margin-top: auto;
    padding-bottom: 8px;
    border-bottom: 1px solid currentColor;
    font-size: 13px;
    font-weight: 700;
}

.programme-link span {
    transition: transform .25s ease;
}

.programme-link:hover span {
    transform: translate(4px, -4px);
}

/* =========================================
   METHODOLOGY
   ========================================= */

.method {
    padding: 140px 0;
}

.method-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 35px;
}

.method-item {
    padding-top: 25px;
    border-top: 1px solid #d9cdbd;
}

.method-number {
    display: inline-block;
    margin-bottom: 38px;
    font-family: var(--serif);
    font-size: 25px;
    color: var(--red);
}

.method-item h3 {
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 500;
    margin-bottom: 17px;
}

.method-item p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9;
}

/* =========================================
   EXPERIENCE
   ========================================= */

.experience {
    padding: 145px 0;
    overflow: hidden;
}

.experience::before {
    content: '';
    position: absolute;
    top: -300px;
    right: -300px;
    width: 850px;
    height: 850px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(149, 30, 39, .16),
        transparent 70%
    );
    pointer-events: none;
}

.experience-content {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 100px;
    align-items: center;
}

.experience .eyebrow {
    color: var(--gold);
}

.experience h2 {
    font-size: clamp(40px, 4.8vw, 65px);
    margin-bottom: 38px;
}

.experience h2 em {
    color: var(--gold-light);
}

.experience-intro > p:not(.eyebrow) {
    max-width: 620px;
    color: #c5c9d0;
    font-size: 15px;
    line-height: 2;
    margin-bottom: 22px;
}

.experience-stats {
    padding-left: 50px;
    border-left: 1px solid rgba(255, 255, 255, .15);
}

.experience-stat {
    padding: 26px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.experience-stat:last-child {
    border-bottom: none;
}

.experience-stat strong {
    display: block;
    font-family: var(--serif);
    color: var(--gold-light);
    font-size: 56px;
    line-height: 1.2;
    font-weight: 500;
}

.experience-stat span {
    display: block;
    color: #c5c9d0;
    font-size: 13px;
    line-height: 1.7;
    margin-top: 12px;
}

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

.contact {
    padding: 150px 0 160px;
    text-align: center;
}

.contact-content {
    max-width: 800px;
}

.contact h2 {
    font-size: clamp(44px, 6vw, 78px);
    margin-bottom: 30px;
}

.contact-content > p:not(.eyebrow) {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.9;
    max-width: 640px;
    margin: 0 auto 40px;
}

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

.site-footer {
    background: #181b20;
    color: white;
    padding: 65px 0 28px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
}

.footer-brand > span {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 700;
}

.footer-brand strong {
    color: var(--gold);
}

.footer-brand p {
    color: #9a9da2;
    font-size: 13px;
    margin-top: 10px;
}

.footer-links {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.footer-links a {
    color: #c1c3c7;
    font-size: 12px;
    transition: color .25s ease;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-bottom {
    grid-column: 1 / -1;
    padding-top: 26px;
    border-top: 1px solid rgba(255,255,255,.10);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #898d94;
    font-size: 11px;
}

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

@media (max-width: 1000px) {
    .method-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 50px 35px;
    }

    .experience-content {
        gap: 50px;
    }

    .experience-stats {
        padding-left: 30px;
    }
}

@media (max-width: 760px) {
    :root {
        --header-height: 72px;
    }

    .container {
        width: calc(100% - 36px);
    }

    .nav-brand {
        font-size: 19px;
    }

    .nav-toggle {
        display: block;
        position: relative;
        z-index: 1002;
    }

    .nav-links {
        display: flex;
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        height: calc(100svh - var(--header-height));
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        background: var(--ivory);
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-12px);
        transition: opacity .3s ease,
                    transform .3s ease,
                    visibility .3s ease;
    }

    .nav-links.open {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-links > a {
        font-size: 19px;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero {
        min-height: auto;
        padding: 145px 0 60px;
    }

    .hero-logo {
        width: min(300px, 75vw);
    }

    .hero h1 {
        font-size: clamp(43px, 10vw, 65px);
    }

    .hero-scroll {
        margin-top: 50px;
    }

    .programmes,
    .method,
    .experience,
    .contact {
        padding: 90px 0;
    }

    .section-heading {
        margin-bottom: 45px;
    }

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

    .programme-card {
        min-height: 520px;
    }

    .programme-number {
        margin-bottom: 48px;
    }

    .experience-content {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .experience-stats {
        border-left: 0;
        border-top: 1px solid rgba(255,255,255,.15);
        padding: 15px 0 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-links {
        justify-content: flex-start;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .hero-description {
        font-size: 15px;
    }

    .hero-actions {
        width: 100%;
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .programme-card-content {
        padding: 30px 25px;
    }

    .programme-card h3 {
        font-size: 40px;
    }

    .programme-card ul {
        grid-template-columns: 1fr;
    }

    .method-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .method-number {
        margin-bottom: 15px;
    }

    .experience-stat strong {
        font-size: 48px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}



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


.reveal {
    opacity: 0;
    transform: translateY(65px) scale(0.94);
    filter: blur(5px);

    transition:
        opacity 1.2s cubic-bezier(.22, 1, .36, 1),
        transform 1.2s cubic-bezier(.22, 1, .36, 1),
        filter 1.2s cubic-bezier(.22, 1, .36, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}


@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}



/* =========================================
   METHODOLOGY — STAGGERED REVEAL
   ========================================= */

@media (prefers-reduced-motion: no-preference) {
    .method-item:nth-child(1) {
        transition-delay: 0s;
    }

    .method-item:nth-child(2) {
        transition-delay: 0.15s;
    }

    .method-item:nth-child(3) {
        transition-delay: 0.30s;
    }

    .method-item:nth-child(4) {
        transition-delay: 0.45s;
    }
}



/* =========================================
   ADULTS — INTERACTIVE GOLDEN GLOW
   ========================================= */

.programme-card.adults {
    --mouse-x: 50%;
    --mouse-y: 50%;
}

.programme-card.adults::after {
    content: '';
    position: absolute;
    inset: 0;
    width: auto;
    height: auto;
    border: none;
    border-radius: inherit;

    background: radial-gradient(
        350px circle at var(--mouse-x) var(--mouse-y),
        rgba(226, 181, 110, 0.22),
        rgba(226, 181, 110, 0.06) 45%,
        transparent 75%
    );

    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: -1;
}

.programme-card.adults:hover::after {
    opacity: 1;
}

@media (hover: none) {
    .programme-card.adults::after {
        display: none;
    }
}


/* =========================================
   ADULTS — HOVER & OUTER GLOW
   ========================================= */

.programme-card.adults {
    transition:
        transform 0.6s cubic-bezier(.22, 1, .36, 1),
        box-shadow 0.6s ease;
}

.programme-card.adults:hover {
    transform: translateY(-10px) scale(1.025);

    box-shadow:
        0 0 20px rgba(226, 181, 110, 0.30),
        0 0 45px rgba(226, 181, 110, 0.18),
        0 0 85px rgba(226, 181, 110, 0.08),
        0 25px 55px rgba(20, 20, 30, 0.25);
}


/* =========================================
   KIDS & TEENS — PLAYFUL HOVER
   ========================================= */

.programme-card.kids {
    transition:
        transform 0.65s cubic-bezier(.22, 1, .36, 1),
        box-shadow 0.65s ease;
}


.programme-card.kids:hover {
    transform: translateY(-12px) scale(1.035) rotate(2deg);

    box-shadow:
        -12px -12px 25px rgba(58, 190, 190, 0.55),
        12px 12px 25px rgba(220, 85, 70, 0.55),
        0 0 55px 12px rgba(235, 165, 65, 0.30),
        0 25px 55px rgba(75, 48, 35, 0.20);
}


@media (hover: none), (prefers-reduced-motion: reduce) {
    .programme-card.kids:hover {
        transform: none;
    }
}


.programme-card.kids h3 em {
    font-family: 'Fredoka', sans-serif;
    font-style: normal;
    font-weight: 600;
    letter-spacing: -0.025em;
    color: #a34d45;
}


/* =========================================
   DESKTOP — IMPROVED TEXT READABILITY
   ========================================= */

@media (min-width: 761px) {

    /* Introduction des sections */
    .section-heading > p:last-child {
        font-size: 18px;
        line-height: 1.85;
    }

    /* Textes des cartes Adults / Kids */
    .programme-card-content > p {
        font-size: 17px;
        line-height: 1.85;
    }

    .programme-card li {
        font-size: 14px;
    }

    /* Les quatre piliers pédagogiques */
    .method-item p {
        font-size: 16px;
        line-height: 1.85;
    }

    /* Présentation de ton expérience */
    .experience-intro > p:not(.eyebrow) {
        font-size: 17px;
        line-height: 1.9;
    }

    /* Légendes des statistiques */
    .experience-stat span {
        font-size: 15px;
        line-height: 1.75;
    }

    /* Texte de contact */
    .contact-content > p:not(.eyebrow) {
        font-size: 18px;
    }
}

/* =========================================
   KIDS & TEENS — FLOATING ELEMENTS
   ========================================= */

.kids-floating-layer {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
    border-radius: inherit;
}

.kids-floating-item {
    position: absolute;
    display: block;
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    line-height: 1;
    user-select: none;
    will-change: transform;
    opacity: 0.35;
}

.programme-card.kids .programme-card-content {
    position: relative;
    z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
    .kids-floating-item {
        transform: none !important;
    }
}



@media (prefers-reduced-motion: reduce) {
    .programme-card.kids::before,
    .programme-card.kids::after {
        animation: none;
    }
}


/* =========================================
   PROGRAMMES — THREE LEARNING UNIVERSES
   KIDS → TEENS → ADULTS
   ========================================= */

/* Trois cartes de gauche à droite */

.programmes-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.programme-card {
    min-height: 650px;
}

.programme-card-content {
    padding: 35px 28px;
}

/* Typographie adaptée aux cartes plus étroites */

.programme-card h3 {
    font-size: clamp(30px, 2.7vw, 42px);
}

.programme-card-content > p {
    font-size: 16px;
    line-height: 1.8;
}

.programme-card ul {
    grid-template-columns: 1fr;
    gap: 10px;
}

.programme-number {
    margin-bottom: 65px;
}

/* =========================================
   KIDS — PLAYFUL & WARM
   ========================================= */

.programme-card.kids {
    background: radial-gradient(
        ellipse at top right,
        #f7ddba,
        #f0c9ae 85%
    );
}

/* =========================================
   TEENS — CREATIVE & ELECTRIC
   ========================================= */

.programme-card.teens {
    background:
        radial-gradient(
            ellipse at 85% 15%,
            rgba(139, 102, 214, 0.30),
            transparent 55%
        ),
        linear-gradient(
            145deg,
            #443762,
            #25253e 85%
        );

    color: #ffffff;

    transition:
        transform 0.65s cubic-bezier(.22, 1, .36, 1),
        box-shadow 0.65s ease;
}

.programme-card.teens .programme-number {
    color: #cbb4ff;
}

.programme-card.teens h3 em {
    color: #d8b8ff;
    font-style: normal;
    font-weight: 600;
}

.programme-card.teens li::before {
    color: #cbb4ff;
}

.programme-card.teens .programme-link {
    color: #e0ceff;
}

/* Hover électrique */

.programme-card.teens:hover {
    transform: translateY(-12px) scale(1.025);

    box-shadow:
        -10px -10px 30px rgba(129, 93, 220, 0.35),
        10px 10px 35px rgba(76, 144, 225, 0.30),
        0 0 65px rgba(159, 113, 236, 0.18),
        0 25px 55px rgba(20, 20, 40, 0.25);
}

/* Fine décoration géométrique */

.programme-card.teens::before {
    content: '';
    position: absolute;
    width: 210px;
    height: 210px;
    top: -85px;
    right: -75px;

    border: 1px solid rgba(204, 173, 255, 0.20);
    border-radius: 25%;

    transform: rotate(25deg);
    pointer-events: none;
    z-index: -1;
}

.programme-card.teens::after {
    content: '';
    position: absolute;
    width: 140px;
    height: 140px;
    top: -40px;
    right: -35px;

    border: 1px solid rgba(204, 173, 255, 0.15);
    border-radius: 25%;

    transform: rotate(45deg);
    pointer-events: none;
    z-index: -1;
}

/* =========================================
   ADULTS — REFINED & PROFESSIONAL
   ========================================= */

.programme-card.adults {
    background: radial-gradient(
        ellipse at top right,
        #354b66,
        var(--navy-deep) 70%
    );
}

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

@media (max-width: 1050px) {

    .programmes-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .programme-card {
        min-height: 590px;
    }

    /* Adults occupe la largeur disponible */
    .programme-card.adults {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {

    .programmes-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .programme-card {
        min-height: 520px;
    }

    .programme-card.adults {
        grid-column: auto;
    }

    .programme-card-content {
        padding: 35px 30px;
    }

    .programme-card h3 {
        font-size: 43px;
    }

    .programme-number {
        margin-bottom: 45px;
    }

    .programme-card-content > p {
        font-size: 15px;
    }
}

@media (hover: none), (prefers-reduced-motion: reduce) {
    .programme-card.teens:hover {
        transform: none;
    }
}



/* =========================================
   TEENS — FLOATING WORDS
   ========================================= */

.teens-floating-layer {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: inherit;
    pointer-events: none;
    z-index: 0;
}

.teens-floating-word {
    position: absolute;
    top: 0;
    left: 0;

    display: block;
    white-space: nowrap;

    font-family: 'DM Sans', sans-serif;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1;

    opacity: 0.20;
    user-select: none;
    will-change: transform;
}

.programme-card.teens .programme-card-content {
    position: relative;
    z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
    .teens-floating-word {
        will-change: auto;
    }
}


/* =========================================
   TEACHING PHILOSOPHY — LEARNING JOURNEY
   ========================================= */

@media (min-width: 1001px) {

    .method-grid {
        position: relative;
        gap: 35px;
    }

    /* Ligne dorée reliant les quatre étapes */
    .method-grid::before {
        content: '';
        position: absolute;
        top: 25px;
        left: 0;
        right: 0;
        height: 2px;

        background: linear-gradient(
            90deg,
            var(--red) 0%,
            var(--gold) 35%,
            var(--gold-light) 70%,
            var(--gold) 100%
        );

        opacity: 0.55;
        pointer-events: none;
    }

    .method-item {
        position: relative;
        border-top: none;
        padding-top: 65px;
    }

    /* Point de progression */
    .method-item::before {
        content: '';
        position: absolute;
        top: 17px;
        left: 0;

        width: 16px;
        height: 16px;
        border-radius: 50%;

        background: var(--ivory);
        border: 3px solid var(--gold);

        box-shadow: 0 0 0 5px var(--ivory);

        transition:
            background 0.35s ease,
            box-shadow 0.35s ease,
            transform 0.35s ease;
    }

    .method-item:hover::before {
        background: var(--red);
        transform: scale(1.25);

        box-shadow:
            0 0 0 5px var(--ivory),
            0 0 18px rgba(149, 30, 39, 0.45);
    }

    .method-item h3 {
        transition: color 0.3s ease;
    }

    .method-item:hover h3 {
        color: var(--red);
    }
}



/* =========================================
   ABOUT ME — MEET YOUR TEACHER
   ========================================= */

.about {
    padding: 145px 0;
    background: linear-gradient(
        135deg,
        #f7f4ed 0%,
        #f0e9dd 100%
    );
    overflow: hidden;
}

.about-content {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 100px;
    align-items: center;
}

/* =========================================
   PORTRAIT
   ========================================= */

.about-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.about-photo {
    position: relative;
    width: min(100%, 440px);
    aspect-ratio: 1;
    border-radius: 50%;
    padding: 12px;
    isolation: isolate;

    background: linear-gradient(
        135deg,
        #e8cf9e,
        #a9783e 45%,
        #f3dfb6 75%,
        #ad783d
    );

    box-shadow:
        0 0 0 1px rgba(144, 91, 48, 0.30),
        0 0 0 9px rgba(200, 156, 97, 0.10),
        0 25px 65px rgba(56, 35, 27, 0.15);

    transition:
        transform 0.7s cubic-bezier(.22, 1, .36, 1),
        box-shadow 0.7s ease;
}

/* Halo bordeaux derrière le portrait */

.about-photo::before {
    content: '';
    position: absolute;
    inset: -35px;
    border-radius: 50%;
    z-index: -1;

    background: radial-gradient(
        circle,
        rgba(149, 30, 39, 0.23) 20%,
        rgba(149, 30, 39, 0.10) 50%,
        transparent 72%
    );

    filter: blur(25px);
    pointer-events: none;
}

/* Deuxième anneau décoratif */

.about-photo::after {
    content: '';
    position: absolute;
    inset: -21px;
    border: 1px solid rgba(184, 133, 70, 0.30);
    border-radius: 50%;
    pointer-events: none;
}

.about-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

/* Interaction douce */

.about-photo:hover {
    transform: translateY(-8px) scale(1.025);

    box-shadow:
        0 0 0 1px rgba(144, 91, 48, 0.35),
        0 0 0 9px rgba(200, 156, 97, 0.15),
        0 0 45px rgba(149, 30, 39, 0.18),
        0 30px 75px rgba(56, 35, 27, 0.20);
}

/* Petite inscription sous le portrait */

.about-decoration {
    margin-top: 54px;
    text-align: center;
}

.about-decoration span {
    color: #a9783e;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

/* =========================================
   PRESENTATION
   ========================================= */

.about-text {
    position: relative;
    min-width: 0;
}

.about-text .eyebrow {
    margin-bottom: 22px;
}

.about-text h2 {
    font-size: clamp(46px, 5vw, 72px);
    margin-bottom: 32px;
}

.about-text h2 em {
    color: var(--red);
}

.about-text > p:not(.eyebrow) {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 19px;
}

/* Premier paragraphe mis en valeur */

.about-text .about-lead {
    color: var(--ink) !important;
    font-size: 19px !important;
    font-weight: 500;
    line-height: 1.85 !important;
    margin-bottom: 27px !important;
}

/* Signature */

.about-signature {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 32px 0;
    padding-left: 22px;
    border-left: 3px solid var(--gold);
}

.about-signature > span {
    font-family: var(--serif);
    font-size: 28px;
    font-style: italic;
    color: var(--red);
}

.about-signature small {
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 0.04em;
}

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

@media (max-width: 1000px) {

    .about-content {
        gap: 55px;
        grid-template-columns: 0.85fr 1.15fr;
    }

    .about-photo {
        width: min(100%, 350px);
    }

    .about-text h2 {
        font-size: 50px;
    }
}

@media (max-width: 760px) {

    .about {
        padding: 90px 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-visual {
        order: 1;
    }

    .about-text {
        order: 2;
    }

    .about-photo {
        width: min(75vw, 330px);
    }

    .about-decoration {
        margin-top: 45px;
    }

    .about-text h2 {
        font-size: clamp(43px, 10vw, 58px);
    }

    .about-text > p:not(.eyebrow) {
        font-size: 15px;
    }

    .about-text .about-lead {
        font-size: 17px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-photo {
        transition: none;
    }

    .about-photo:hover {
        transform: none;
    }
}

.eyebrow {
    font-size: 14px;
    letter-spacing: 0.20em;
    font-weight: 700;
}

@media (max-width: 760px) {
    .eyebrow {
        font-size: 12px;
    }
}


/* =========================================
   CONTACT — FORM DESIGN
   ========================================= */

.contact-form {
    max-width: 720px;
    margin: 60px auto 0;
    padding: clamp(25px, 5vw, 55px);
    text-align: left;

    background: #fffdf9;
    border: 1px solid rgba(200, 156, 97, 0.25);
    border-radius: 16px;

    box-shadow:
        0 20px 65px rgba(56, 35, 27, 0.07),
        0 3px 12px rgba(56, 35, 27, 0.03);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.form-group {
    margin-bottom: 27px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;

    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
}

.form-group input,
.form-group select,
.form-group textarea {
    display: block;
    width: 100%;
    min-width: 0;

    padding: 15px 17px;

    background: var(--ivory);
    color: var(--ink);

    border: 1px solid #ded5ca;
    border-radius: 7px;

    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.5;

    outline: none;

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #958a82;
    opacity: 1;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: var(--gold);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    background: #ffffff;
    border-color: var(--red);

    box-shadow:
        0 0 0 4px rgba(149, 30, 39, 0.09),
        0 0 15px rgba(149, 30, 39, 0.05);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-group select {
    cursor: pointer;
    appearance: none;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23951e27' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 17px center;
    padding-right: 45px;
}

/* Honeypot antispam : masqué aux visiteurs */

.form-honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

/* Bouton */

.contact-submit {
    width: 100%;
    border: none;
    cursor: pointer;
    gap: 14px;
    font-size: 15px;
}

.contact-submit span {
    transition: transform 0.3s ease;
}

.contact-submit:hover span {
    transform: translate(4px, -4px);
}

.contact-submit:disabled {
    opacity: 0.65;
    cursor: wait;
    transform: none;
}

/* Messages de confirmation et d'erreur */

.form-feedback {
    display: none;
    margin-bottom: 22px;
    padding: 15px 20px;
    border-radius: 7px;
    font-size: 14px;
    line-height: 1.6;
}

.form-feedback.success {
    display: block;
    color: #256346;
    background: #e7f5ec;
    border: 1px solid #b7ddc6;
}

.form-feedback.error {
    display: block;
    color: #922d35;
    background: #fbe9e9;
    border: 1px solid #ebc1c4;
}

/* Confidentialité */

.form-privacy {
    margin: 20px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
    text-align: center;
}

/* Responsive */

@media (max-width: 760px) {

    .contact-form {
        margin-top: 40px;
        padding: 28px 22px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-group {
        margin-bottom: 22px;
    }

    .form-group label {
        font-size: 14px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px;
    }
}

/* =========================================
   FOOTER — RED OWL HUB LINK
   ========================================= */

.footer-hub-link {
    color: #d8ac72;
    font-weight: 600;
    text-decoration: none;

    transition:
        color 0.3s ease,
        text-shadow 0.3s ease;
}

.footer-hub-link:hover {
    color: #f5d49e;
    text-shadow: 0 0 12px rgba(216, 172, 114, 0.45);
}


/* =========================================
   HEADER — RED OWL HUB SIGNATURE
   ========================================= */

.nav-identity {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    flex-shrink: 0;
}

.nav-universe {
    font-size: 12px;
    line-height: 1.3;
    letter-spacing: 0.035em;
    color: var(--muted);
}

.nav-universe a {
    color: #a9783e;
    font-weight: 700;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.nav-universe a:hover {
    color: var(--red);
    text-shadow: 0 0 12px rgba(149, 30, 39, 0.15);
}

@media (max-width: 760px) {
    .nav-identity {
        gap: 5px;
    }

    .nav-brand {
        font-size: 18px;
    }

    .nav-universe {
        font-size: 9px;
        letter-spacing: 0;
    }
}


/* =========================================
   ABOUT ME — YOUTUBE VIDEO
   ========================================= */

.about-video-section {
    margin-top: 110px;
    text-align: center;
}

.about-video-heading {
    max-width: 750px;
    margin: 0 auto 45px;
}

.about-video-heading .eyebrow {
    margin-bottom: 16px;
}

.about-video-heading h3 {
    font-family: var(--serif);
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 500;
    letter-spacing: -0.035em;
    margin-bottom: 22px;
}

.about-video-heading h3 em {
    color: var(--red);
}

.about-video-heading > p:not(.eyebrow) {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.85;
}

/* Lecteur vidéo */

.about-video-frame {
    position: relative;
    width: 100%;
    max-width: 950px;
    aspect-ratio: 16 / 9;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
    background: #151e2c;

    box-shadow:
        0 0 0 1px rgba(149, 30, 39, 0.12),
        0 20px 60px rgba(37, 32, 31, 0.16),
        0 0 45px rgba(149, 30, 39, 0.07);
}

.about-video-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Légende */

.about-video-caption {
    margin-top: 25px;
    color: #a9783e;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.20em;
}

/* Responsive */

@media (max-width: 760px) {
    .about-video-section {
        margin-top: 75px;
    }

    .about-video-heading {
        margin-bottom: 30px;
    }

    .about-video-heading > p:not(.eyebrow) {
        font-size: 15px;
    }

    .about-video-frame {
        border-radius: 8px;
    }

    .about-video-caption {
        font-size: 10px;
        letter-spacing: 0.10em;
    }
}

/* ==========================================
   RED OWL HUB NETWORK - FOOTER
   ========================================== */

.footer-network {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    text-align: right;
}

.network-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px 12px;
    max-width: 340px;
    font-size: 0.75rem;
    line-height: 1.6;
}

.network-links a {
    color: #999;
    text-decoration: none;
    transition: color 0.2s ease;
}

.network-links a:hover {
    color: #c0392b;
}

.network-links a.active {
    color: #fff;
    font-weight: 700;
    pointer-events: none;
}

/* Responsive */

@media (max-width: 768px) {
    .footer-network {
        align-items: center;
        text-align: center;
    }

    .network-links {
        justify-content: center;
    }
}

/* Force la deuxième ligne du réseau */
.network-break {
    flex-basis: 100%;
    height: 0;
}

.footer-network {
    gap: 6px;
}

.network-links {
    row-gap: 4px;
    line-height: 1.4;
}