/* ==========================================================================
   Eulexis — habillage sur mesure
   Palette encre bleue et or, typographie éditoriale,
   traitement contemporain (espaces, arrondis, ombres douces).
   ========================================================================== */

:root {
    --color-navy-deep-rgb: 16 40 63;
    --color-navy-rgb: 24 50 75;
    --color-navy-deep: rgb(var(--color-navy-deep-rgb));
    --color-navy: rgb(var(--color-navy-rgb));
    --color-navy-light: #2b506d;
    --color-blue-rgb: 73 103 127;
    --color-blue: rgb(var(--color-blue-rgb));
    --color-gold-rgb: 212 175 55;
    --color-gold: rgb(var(--color-gold-rgb));
    --color-gold-light: #e4c76a;
    --color-body: #34485a;
    --color-muted: #718090;
    --color-muted-light: #9cabb8;
    --color-muted-soft: #b7c4d0;
    --color-on-dark: #d0dae4;
    --color-on-dark-soft: #bdcad6;
    --color-paper: #f8fafc;
    --color-paper-cool: #f5f7f9;
    --color-header-rgb: 249 251 253;
    --color-paper-blue: #edf2f6;
    --color-paper-blue-light: #e7eef4;
    --color-logo-accent: #9aabba;
    --color-line-rgb: 223 230 237;
    --color-line: rgb(var(--color-line-rgb));
    --color-white-rgb: 255 255 255;
    --color-white: rgb(var(--color-white-rgb));
    --color-black: #000;
    --color-transit-tram-2: #e30613;
    --color-transit-bus-10: #ffed00;
    --color-transit-bus-23: #0bbbef;

    --font-display: 'Newsreader', Georgia, serif;
    --font-body: 'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;
    --font-ui: var(--font-body);

    --primary-accent: var(--color-blue);
    --accent-soft: var(--color-gold);
    --navbar-border-top: var(--color-navy);
    --button-border: var(--color-navy);
    --link-focus: var(--color-blue);
    --form-shadow: rgb(var(--color-navy-rgb) / 0.22);
    --pagination-bg: var(--color-paper-blue);
    --link-hover-bg: var(--color-navy-deep);
    --navbar-focus: var(--color-paper-blue);

    --ink: var(--color-navy);
    --body: var(--color-body);
    --muted: var(--color-muted);
    --line: var(--color-line);
    --cream: var(--color-paper-cool);
    --cream-deep: var(--color-paper-blue);

    --radius: 18px;
    --radius-sm: 11px;
    --shadow-soft: 0 12px 30px rgb(var(--color-navy-rgb) / 0.07);
    --shadow-lift: 0 24px 48px -16px rgb(var(--color-navy-rgb) / 0.2);
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --- Base typographique --------------------------------------------------- */

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--body);
    font-size: 17px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    color: var(--ink);
}
.navbar ul.nav > li > a {
    font-family: var(--font-ui);
}

h1,
h2,
h3 {
    font-weight: 700;
    letter-spacing: -0.02em;
}
h4,
h5,
h6 {
    font-weight: 600;
    letter-spacing: -0.01em;
}

a {
    color: var(--link-focus);
    transition: color 0.2s var(--ease);
}
a:hover,
a:focus {
    color: var(--ink);
}

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

.lead {
    font-weight: 400;
    color: var(--muted);
    font-size: 18px;
}

/* --- Barre supérieure ----------------------------------------------------- */

#top {
    background: var(--ink);
    font-size: 13px;
    padding: 7px 0;
    letter-spacing: 0.01em;
}
#top,
#top a,
#top p {
    color: var(--color-on-dark);
}
#top .social a {
    transition:
        color 0.2s var(--ease),
        transform 0.2s var(--ease);
    display: inline-block;
}
#top .social a:hover {
    color: var(--color-white);
    transform: translateY(-2px);
}

/* --- Navigation ----------------------------------------------------------- */

.navbar {
    background: rgb(var(--color-header-rgb) / 0.96);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    backdrop-filter: saturate(180%) blur(12px);
    border: 0;
    border-bottom: 1px solid rgb(var(--color-blue-rgb) / 0.18);
    box-shadow: 0 4px 16px rgb(var(--color-navy-rgb) / 0.035);
    position: sticky;
    top: 0;
    z-index: 1030;
}
.navbar .navbar-brand {
    height: auto;
    padding-top: 14px;
    padding-bottom: 14px;
}
.navbar .navbar-brand img {
    max-height: 56px;
    width: auto;
}

.navbar ul.nav > li > a {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.09em;
    color: var(--ink);
    border-top: 0;
    padding: 30px 17px;
    position: relative;
    transition: color 0.2s var(--ease);
}
.navbar ul.nav > li > a:hover,
.navbar ul.nav > li > a:focus,
.navbar ul.nav > li.open > a {
    color: var(--primary-accent);
    background: transparent;
    text-decoration: none;
    border-top: 0;
}
.navbar ul.nav > li.active > a {
    color: var(--primary-accent);
    background: transparent;
    border-top: 0;
}
.navbar ul.nav > li.active > a:after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 22px;
    width: 5px;
    height: 5px;
    margin-left: -2.5px;
    border-radius: 50%;
    background: var(--primary-accent);
}
/* neutralise les fonds (brun/taupe) que Bootstrap applique au survol/actif */
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus,
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus,
.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus {
    background-color: transparent;
    color: var(--primary-accent);
}

/* --- Sections ------------------------------------------------------------- */

.bar {
    padding: 110px 0;
}
.bar.background-white {
    background: var(--color-white);
}

.heading {
    margin-bottom: 44px;
}
.heading h1,
.heading h2,
.heading h3,
.heading h4,
.heading h5 {
    border-bottom: 0;
    padding-bottom: 0;
}
.heading h2 {
    font-size: clamp(26px, 3.6vw, 36px);
    margin: 0;
    padding: 0;
}
.heading.text-center h2:after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    border-radius: 3px;
    background: var(--primary-accent);
    margin: 18px auto 0;
}
section > .container > .col-md-12 > .lead,
.bar .lead {
    max-width: 720px;
    margin: 0 auto 54px;
    text-align: center;
}

/* --- Carrousel d'accueil -------------------------------------------------- */

.home-carousel {
    background: var(--ink) url('../img/carousel/hero-1.jpg') center / cover
        no-repeat;
    position: relative;
}
.home-carousel .dark-mask {
    background: linear-gradient(
        100deg,
        rgb(var(--color-navy-deep-rgb) / 0.9) 0%,
        rgb(var(--color-navy-deep-rgb) / 0.64) 48%,
        rgb(var(--color-navy-deep-rgb) / 0.3) 100%
    );
    opacity: 1;
}
.home-carousel .container {
    position: relative;
    z-index: 2;
    padding: 150px 0;
}
.home-carousel .col-sm-7 {
    display: none;
}
.home-carousel .col-sm-5.right {
    width: 100%;
    float: none;
    max-width: 720px;
    text-align: left;
}

.home-carousel h1 {
    color: var(--color-white);
    font-weight: 700;
    font-size: clamp(2.1rem, 5vw, 3.5rem);
    line-height: 1.12;
    letter-spacing: -0.025em;
    margin-bottom: 22px;
}
.home-carousel p,
.home-carousel .col-sm-5 {
    color: var(--color-on-dark);
}
.home-carousel p {
    font-size: 19px;
    line-height: 1.7;
    max-width: 560px;
}

/* --- Réservation en page d'accueil --------------------------------------- */

.home-booking {
    margin-bottom: 0px;
    padding: 32px 0 28px;
    background:
        radial-gradient(
            80% 100% at 100% 0%,
            rgb(var(--color-blue-rgb) / 0.08),
            transparent 68%
        ),
        var(--color-paper);
}
.home-booking-heading {
    margin: 0 auto;
    text-align: center;
}
.home-booking-kicker {
    margin: 0 0 4px;
    color: var(--primary-accent);
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.home-booking-heading h2 {
    margin: 0 0 8px;
    color: var(--ink);
    font-size: clamp(26px, 3.4vw, 36px);
}
.home-booking-person {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 15px;
}
.home-booking-person img {
    width: 38px;
    height: 38px;
    object-fit: cover;
    border: 2px solid var(--color-white);
    border-radius: 50%;
    box-shadow: 0 0 0 1px var(--line);
}
.home-booking-person strong {
    color: var(--ink);
}
.home-booking-calendar {
    max-width: 960px;
    min-height: 620px;
    margin: 0 auto;
    position: relative;
}
.home-booking-calendar iframe {
    display: block;
    width: 100%;
    border: 0;
}
.home-booking-details {
    max-width: 960px;
    margin: 24px auto 0;
}
.home-booking-details > h3 {
    margin: 0 0 14px;
    text-align: center;
    font-size: 21px;
}
.home-booking-details-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}
.home-booking-detail {
    min-width: 0;
    min-height: 176px;
    padding: 20px 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: rgb(var(--color-white-rgb) / 0.82);
    box-shadow: 0 8px 22px rgb(var(--color-navy-rgb) / 0.04);
}
.home-booking-detail h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    color: var(--primary-accent);
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}
.home-booking-detail-icon {
    display: inline-grid;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    place-items: center;
    border-radius: 50%;
    background: var(--cream);
}
.home-booking-detail-icon svg {
    width: 19px;
    height: 19px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}
.home-booking-detail p {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
}
.home-booking-detail p + p {
    margin-top: 6px;
}
.home-booking-transit {
    display: grid;
    gap: 8px;
    margin-top: 14px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}
.home-booking-transit > span {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}
.home-booking-transit > span > i {
    width: 18px;
    margin-right: 3px;
    color: var(--primary-accent);
    text-align: center;
}
.home-booking-transit .line-badge {
    display: inline-block;
    min-width: 23px;
    padding: 0 6px;
    margin: 0 1px;
    border-radius: 6px;
    color: var(--color-black);
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.6;
    text-align: center;
}
.home-booking-transit .line-badge--tram-2 {
    background: var(--color-transit-tram-2);
}
.home-booking-transit .line-badge--bus-10 {
    background: var(--color-transit-bus-10);
}
.home-booking-transit .line-badge--bus-23 {
    background: var(--color-transit-bus-23);
}
.home-booking-detail-content {
    display: grid;
    gap: 6px;
    overflow-wrap: anywhere;
}
.home-booking-detail .home-booking-price {
    color: var(--ink);
    font-family: var(--font-ui);
    font-size: 24px;
    font-weight: 700;
}
.home-booking-price span {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
}
.home-booking-detail a {
    overflow-wrap: anywhere;
}
.home-booking-calendar.is-loading {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        radial-gradient(
            70% 80% at 50% 0%,
            rgb(var(--color-blue-rgb) / 0.08),
            transparent 75%
        ),
        var(--color-white);
    box-shadow: 0 12px 32px rgb(var(--color-navy-rgb) / 0.045);
}
.home-calendar-status {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 24px;
    text-align: center;
}
.home-booking-calendar:not(.is-loading) .home-calendar-status {
    display: none;
}
.home-calendar-loader {
    width: 30px;
    height: 30px;
    border: 2px solid var(--line);
    border-top-color: var(--primary-accent);
    border-radius: 50%;
    animation: calendar-loader-spin 0.8s linear infinite;
}
.home-calendar-loading-message,
.home-calendar-error-message p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}
.home-calendar-error-message {
    display: none;
}
.home-booking-calendar.is-error .home-calendar-loader,
.home-booking-calendar.is-error .home-calendar-loading-message {
    display: none;
}
.home-booking-calendar.is-error .home-calendar-error-message {
    display: grid;
    justify-items: center;
    gap: 10px;
}
.home-calendar-error-message a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--color-white);
    color: var(--primary-accent);
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition:
        border-color 0.2s var(--ease),
        background 0.2s var(--ease),
        color 0.2s var(--ease);
}
.home-calendar-error-message a:hover,
.home-calendar-error-message a:focus-visible {
    border-color: var(--primary-accent);
    background: var(--primary-accent);
    color: var(--color-white);
}
@keyframes calendar-loader-spin {
    to {
        transform: rotate(360deg);
    }
}
@media (prefers-reduced-motion: reduce) {
    .home-calendar-loader {
        animation: none;
    }
}
@media (max-width: 767px) {
    .home-booking {
        padding: 24px 0;
    }
    .home-booking-details-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .home-booking-detail {
        min-height: 0;
        padding: 16px 18px;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .home-booking-calendar {
        min-height: 940px;
    }
}

/* --- Bandeau de titre (pages internes) ------------------------------------ */

#heading-breadcrumbs {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    padding: 56px 0;
    margin-bottom: 60px;
    background:
        radial-gradient(
            60% 130% at 92% 0%,
            rgb(var(--color-blue-rgb) / 0.1) 0%,
            rgb(var(--color-blue-rgb) / 0) 60%
        ),
        linear-gradient(
            135deg,
            var(--color-paper) 0%,
            var(--color-paper-blue) 58%,
            var(--color-paper-blue-light) 100%
        );
}
#heading-breadcrumbs::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: radial-gradient(
        circle,
        rgb(var(--color-blue-rgb) / 0.14) 1.3px,
        transparent 1.4px
    );
    background-size: 26px 26px;
    -webkit-mask-image: radial-gradient(
        120% 160% at 10% 25%,
        var(--color-black) 0%,
        transparent 70%
    );
    mask-image: radial-gradient(
        120% 160% at 10% 25%,
        var(--color-black) 0%,
        transparent 70%
    );
}
#heading-breadcrumbs .container {
    position: relative;
}
#heading-breadcrumbs h1 {
    font-size: clamp(26px, 3.6vw, 36px);
    margin: 0;
    color: var(--ink);
}

/* --- Formations (encadrés) ------------------------------------------------ */

.box-simple {
    position: relative;
    background: var(--color-white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 46px 32px;
    min-height: 0;
    height: 100%;
    box-shadow: var(--shadow-soft);
    transition:
        box-shadow 0.35s var(--ease),
        transform 0.35s var(--ease),
        border-color 0.35s var(--ease);
}
.box-simple:hover {
    box-shadow: var(--shadow-lift);
    transform: translateY(-6px);
    border-color: transparent;
}
.box-simple .icon {
    width: 88px;
    height: 88px;
    line-height: 88px;
    margin: 0 auto 26px;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        var(--color-paper),
        var(--color-paper-blue-light)
    );
    color: var(--primary-accent);
    font-size: 33px;
    text-align: center;
    /* box-shadow: 0 10px 22px rgb(var(--color-gold-rgb) / 0.16); */
    transition:
        transform 0.35s var(--ease),
        background 0.35s var(--ease),
        color 0.35s var(--ease);
}
.box-simple:hover .icon {
    background: var(--ink);
    color: var(--color-white);
    transform: translateY(-3px) rotate(-4deg);
}
.box-simple h3 {
    font-size: 19px;
    text-align: center;
    margin-bottom: 14px;
    min-height: 50px;
}
.box-simple p {
    text-align: center;
    color: var(--muted);
    margin: 0;
}

/* --- Bandeau « en savoir plus » ------------------------------------------- */

.bar.background-image-fixed-2 {
    background: url('../img/carousel/hero-1.jpg') center / cover no-repeat fixed;
    padding: 120px 0;
}
.bar.background-image-fixed-2 .dark-mask {
    background: linear-gradient(
        180deg,
        rgb(var(--color-navy-deep-rgb) / 0.82),
        rgb(var(--color-navy-deep-rgb) / 0.72)
    );
    opacity: 1;
}
.background-image-fixed-2 .container {
    position: relative;
    z-index: 2;
}
.background-image-fixed-2 .icon.icon-lg {
    width: 84px;
    height: 84px;
    line-height: 84px;
    margin: 0 auto 8px;
    /* border: 2px solid rgb(var(--color-gold-rgb) / 0.6); */
    border-radius: 50%;
}
.background-image-fixed-2 .icon.icon-lg i {
    /* color: var(--color-gold-light); */
}
.background-image-fixed-2 h3 {
    color: var(--color-white);
    letter-spacing: 0.02em;
    font-size: clamp(22px, 3vw, 28px);
    margin: 22px 0 16px;
}
.background-image-fixed-2 .lead {
    color: var(--color-on-dark-soft);
}

/* --- Témoignages ---------------------------------------------------------- */

.bar.background-pentagon {
    background: var(--cream);
}

/* --- Accompagnement en séance -------------------------------------------- */

.home-why {
    position: relative;
    padding: 64px 0 68px;
    margin-bottom: 0;
    background:
        radial-gradient(
            70% 90% at 0% 0%,
            rgb(var(--color-blue-rgb) / 0.08),
            transparent 70%
        ),
        var(--color-paper);
}
.home-why::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(
        90deg,
        rgb(var(--color-blue-rgb) / 0.48) 0%,
        rgb(var(--color-blue-rgb) / 0.14) 42%,
        transparent 100%
    );
}
.home-why-heading {
    max-width: 820px;
    margin: 0 auto 34px;
    text-align: center;
}
.home-why-kicker {
    margin: 0 0 8px;
    color: var(--primary-accent);
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.home-why-heading h2 {
    margin: 0 0 18px;
    font-size: clamp(27px, 3.5vw, 38px);
    line-height: 1.2;
}
.home-why-heading > p:last-child {
    margin: 0;
    color: var(--body);
    font-size: 17px;
    line-height: 1.8;
}
.home-why-heading strong,
.home-why-card strong {
    color: var(--ink);
    font-weight: 700;
}
.home-why-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 20px;
}
.home-why-card {
    min-width: 0;
    padding: 28px 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgb(var(--color-white-rgb) / 0.88);
    box-shadow: 0 12px 30px rgb(var(--color-navy-rgb) / 0.05);
}
.home-why-card h3 {
    margin: 0 0 20px;
    padding: 0 0 17px;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-size: clamp(18px, 2vw, 21px);
    line-height: 1.45;
}
.home-why-card ul {
    display: grid;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.home-why-card li {
    position: relative;
    padding-left: 20px;
    color: var(--body);
    font-size: 15px;
    line-height: 1.75;
    overflow-wrap: anywhere;
}
.home-why-card li::before {
    position: absolute;
    top: 0.72em;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary-accent);
    content: '';
}

/* Piste défilante : scroll horizontal natif avec accroche. */
.testi-carousel {
    position: relative;
    margin-top: 26px;
}
.testimonials.testi-track {
    list-style: none;
    display: flex;
    align-items: stretch;
    gap: 20px;
    margin: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border-radius: var(--radius);
}
.testimonials.testi-track::-webkit-scrollbar {
    display: none;
}

.testimonials .item {
    flex: 0 0 calc((100% - 40px) / 3);
    scroll-snap-align: start;
    margin: 0;
    background: transparent;
    padding-bottom: 0;
}
@media (max-width: 991px) {
    .testimonials .item {
        flex-basis: calc((100% - 20px) / 2);
    }
}
@media (max-width: 640px) {
    .testimonials.testi-track {
        gap: 16px;
    }
    .testimonials .item {
        flex-basis: 100%;
    }
}

/* Points de navigation. */
.testi-dots {
    display: flex;
    justify-content: center;
    gap: 9px;
    margin-top: 26px;
}
.testi-dots:empty {
    display: none;
}
.testi-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--line);
    cursor: pointer;
    transition:
        width 0.25s var(--ease),
        background 0.25s var(--ease);
}
.testi-dot:hover {
    background: var(--primary-accent);
}
.testi-dot:focus-visible {
    outline: 2px solid var(--primary-accent);
    outline-offset: 3px;
}
.testi-dot.active {
    width: 26px;
    border-radius: 6px;
    background: var(--primary-accent);
}

.testimonials .item .testimonial {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(
            120% 90% at 100% 0%,
            rgb(var(--color-blue-rgb) / 0.08),
            transparent 62%
        ),
        var(--color-white);
    border: 1px solid rgb(var(--color-line-rgb) / 0.9);
    border-radius: var(--radius);
    padding: 28px 26px 24px;
    box-shadow: 0 10px 28px rgb(var(--color-navy-rgb) / 0.05);
    transition:
        transform 0.25s var(--ease),
        box-shadow 0.25s var(--ease);
}
.testimonials .item .testimonial:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgb(var(--color-navy-rgb) / 0.09);
}

/* quote mark décoratif en tête */
.testimonials .item .testimonial:before {
    content: '\201C';
    display: block;
    font-family: var(--font-display);
    font-size: 58px;
    line-height: 0.9;
    height: 30px;
    color: var(--color-navy-light);
    opacity: 1;
}
.testimonials .item .testimonial .text {
    color: var(--ink);
    margin: 7px 0 22px;
    flex: 1 1 auto;
}
.testimonials .item .testimonial .text p {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.8;
    color: var(--ink);
    margin: 0;
}
.testimonials .item .testimonial .text p + p {
    margin-top: 12px;
}

/* pied : nom + fonction mis en avant, sur toute la largeur */
.testimonials .item .testimonial .bottom {
    position: static;
    height: auto;
    width: 100%;
    padding: 16px 0 0;
    border-top: 1px solid var(--line);
    display: block;
}
.testimonials .item .testimonial .bottom .icon {
    display: none;
}
.testimonials .item .testimonial .name-picture {
    float: none;
    width: 100%;
    text-align: left;
}
.testimonials .item .testimonial .name-picture img {
    display: none;
}
.testimonials .item .testimonial .name-picture h5 {
    font-family: var(--font-ui);
    font-size: 15px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    color: var(--primary-accent);
    margin: 0 0 3px;
}
.testimonials .item .testimonial .name-picture p {
    color: var(--muted);
    font-size: 13.5px;
    margin: 0;
    line-height: 1.4;
}

/* --- Boutons -------------------------------------------------------------- */

.btn {
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    border-radius: 999px;
    padding: 14px 32px;
    transition:
        transform 0.25s var(--ease),
        box-shadow 0.25s var(--ease),
        background 0.25s var(--ease);
}
.btn-lg {
    padding: 16px 40px;
    font-size: 13px;
}
.btn-template-main,
.btn-template-main:active {
    background: linear-gradient(135deg, var(--ink), var(--color-navy-light));
    border-color: var(--ink);
    color: var(--color-white);
    /* box-shadow: 0 12px 24px -8px rgb(var(--color-gold-rgb) / 0.55); */
}
.btn-template-main:hover,
.btn-template-main:focus {
    background: linear-gradient(
        135deg,
        var(--link-hover-bg),
        var(--primary-accent)
    );
    border-color: var(--accent-soft);
    color: var(--color-white);
    transform: translateY(-3px);
    /* box-shadow: 0 18px 30px -10px rgb(var(--color-gold-rgb) / 0.6); */
}
.btn-template-transparent-black,
.btn-template-transparent-primary {
    border: 1.5px solid rgb(var(--color-white-rgb) / 0.85);
    color: var(--color-white);
    background: transparent;
}
.btn-template-transparent-black:hover,
.btn-template-transparent-primary:hover {
    background: var(--color-white);
    border-color: var(--color-white);
    color: var(--ink);
    transform: translateY(-3px);
}

/* --- Contenu des pages ---------------------------------------------------- */

.sidebar .widget h5,
.sidebar .widget h4 {
    font-family: var(--font-ui);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 14px;
}
.sidebar .widget input,
.sidebar .widget .form-control {
    border-radius: var(--radius-sm);
}
.sidebar .tags a,
.tags a {
    border-radius: 999px;
    transition:
        background 0.2s var(--ease),
        color 0.2s var(--ease);
}

/* --- Pied de page --------------------------------------------------------- */

#footer {
    background: radial-gradient(
            120% 100% at 0% 0%,
            var(--color-navy-deep) 0%,
            var(--ink) 55%
        )
        fixed;
    color: var(--color-on-dark-soft);
    border: 0;
    padding: 74px 0 0;
}
#footer a {
    color: var(--color-on-dark);
    text-decoration: none;
}
#footer a:hover,
#footer a:focus,
#footer a:active,
#copyright a:hover,
#copyright a:focus {
    color: var(--color-white);
    text-decoration: none;
}
#footer .footer-col {
    margin-bottom: 36px;
}
#footer h4 {
    color: var(--color-white);
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin: 0 0 24px;
    padding-bottom: 14px;
    position: relative;
}
#footer h4:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 34px;
    height: 2px;
    background: var(--primary-accent);
}
.footer-about {
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--color-muted-soft);
}

/* contact mis en avant */
.footer-contact .footer-address {
    font-size: 14px;
    line-height: 1.7;
    color: var(--color-muted-soft);
    margin-bottom: 20px;
}
.footer-contact .footer-address strong {
    color: var(--color-on-dark);
}
.footer-contact-person {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 12px;
    color: var(--color-white);
    font-family: var(--font-ui);
    font-size: 15px;
    font-weight: 600;
}
.footer-contact-person img {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    object-fit: cover;
    border: 2px solid var(--color-blue);
    border-radius: 50%;
}
.footer-location .footer-address {
    margin-bottom: 18px;
}
.footer-location .footer-address strong {
    color: var(--color-on-dark);
}
.footer-location .contact-transit {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: fit-content;
    max-width: 100%;
    margin-top: 16px;
    padding: 12px 14px;
    border: 1px solid rgb(var(--color-white-rgb) / 0.14);
    border-radius: var(--radius-sm);
    background: rgb(var(--color-white-rgb) / 0.035);
}
.footer-location .contact-transit > span {
    color: var(--color-on-dark);
    font-size: 14px;
    line-height: 1.8;
}
.footer-location .contact-transit i {
    width: 20px;
    margin-right: 6px;
    color: var(--primary-accent);
}
.footer-location .contact-transit .line-badge {
    display: inline-block;
    min-width: 26px;
    padding: 1px 7px;
    margin: 0 2px;
    border-radius: 8px;
    color: var(--color-black);
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.6;
    text-align: center;
}
.line-badge--tram-2 {
    background: var(--color-transit-tram-2);
}
.line-badge--bus-10 {
    background: var(--color-transit-bus-10);
}
.line-badge--bus-23 {
    background: var(--color-transit-bus-23);
}
.footer-reach {
    margin-bottom: 22px;
}
.footer-reach-line {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 11px 0;
    font-family: var(--font-ui);
    font-size: 16px;
    font-weight: 600;
    color: var(--color-white) !important;
    border-bottom: 1px solid rgb(var(--color-white-rgb) / 0.08);
    transition: color 0.2s var(--ease);
}
.footer-reach-line:last-child {
    border-bottom: 0;
}
.footer-contact .footer-reach-line {
    border-bottom: 0;
}
.footer-reach-line:hover {
    color: var(--color-white) !important;
}
.footer-reach-line i {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    line-height: 38px;
    text-align: center;
    border-radius: 50%;
    background: rgb(var(--color-blue-rgb) / 0.38);
    color: var(--color-white);
    font-size: 15px;
    transition:
        background 0.2s var(--ease),
        color 0.2s var(--ease);
}
.footer-reach-line:hover i {
    background: var(--primary-accent);
    color: var(--color-white);
}

.footer-social {
    margin-bottom: 24px;
    display: flex;
    gap: 10px;
}
.footer-social a {
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    border: 1px solid rgb(var(--color-white-rgb) / 0.16);
    color: var(--color-on-dark) !important;
    font-size: 16px;
    transition: all 0.25s var(--ease);
}
.footer-social a:hover {
    background: var(--primary-accent);
    border-color: var(--primary-accent);
    color: var(--color-white) !important;
    transform: translateY(-3px);
}
.footer-cta {
    margin-top: 4px;
}

#copyright {
    background: transparent;
    border-top: 1px solid rgb(var(--color-white-rgb) / 0.08);
    margin-top: 40px;
    padding: 26px 0;
    color: var(--color-muted-light);
}
#copyright p {
    margin: 0;
    font-size: 13px;
    text-align: center;
}
#copyright a {
    color: var(--color-on-dark-soft);
}

/* --- Ajustements mobiles -------------------------------------------------- */

@media (max-width: 991px) {
    .navbar {
        position: relative;
    }
}

@media (max-width: 767px) {
    .bar {
        padding: 70px 0;
    }
    .home-carousel .container {
        padding: 100px 0;
    }
    .box-simple h3 {
        min-height: 0;
    }
}

/* ==========================================================================
   Hero personnel + catégories illustrées (page d'accueil)
   ========================================================================== */

.eulexis-hero {
    position: relative;
    isolation: isolate;
    border-bottom: 1px solid var(--line);
    overflow: hidden;
    background:
        radial-gradient(
            55% 75% at 88% 10%,
            rgb(var(--color-blue-rgb) / 0.12) 0%,
            rgb(var(--color-blue-rgb) / 0) 62%
        ),
        radial-gradient(
            48% 68% at 6% 94%,
            rgb(var(--color-blue-rgb) / 0.08) 0%,
            rgb(var(--color-blue-rgb) / 0) 58%
        ),
        linear-gradient(
            135deg,
            var(--color-paper) 0%,
            var(--color-paper-blue) 52%,
            var(--color-paper-blue-light) 100%
        );
    margin-bottom: 0;
}
.eulexis-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: radial-gradient(
        circle,
        rgb(var(--color-blue-rgb) / 0.12) 1.3px,
        transparent 1.4px
    );
    background-size: 26px 26px;
    -webkit-mask-image: radial-gradient(
        130% 120% at 12% 20%,
        var(--color-black) 0%,
        transparent 72%
    );
    mask-image: radial-gradient(
        130% 120% at 12% 20%,
        var(--color-black) 0%,
        transparent 72%
    );
}
.eulexis-hero::after {
    content: '';
    position: absolute;
    z-index: -1;
    width: 480px;
    height: 480px;
    right: 2%;
    top: 6%;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgb(var(--color-blue-rgb) / 0.12) 0%,
        rgb(var(--color-blue-rgb) / 0) 68%
    );
    pointer-events: none;
}
.eulexis-hero .container {
    padding: 35px 15px 35px;
    position: relative;
}
.eulexis-hero .row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: calc(100% + 30px);
    max-width: 990px;
    margin-right: auto;
    margin-left: auto;
}

.hero-text {
    padding-right: 20px;
}
.hero-kicker {
    font-family: var(--font-ui);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-accent);
    margin-bottom: 14px;
}
.hero-name {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.05;
    color: var(--ink);
    margin: 0 0 18px;
}
.hero-tagline {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 21px;
    line-height: 1.5;
    color: var(--body);
    max-width: 520px;
    /* margin-bottom: 30px; */
}
.hero-actions .btn {
    margin: 0 12px 12px 0;
}

.hero-portrait {
    text-align: right;
}
.hero-portrait img {
    width: 210px;
    max-width: 82%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
    border: 8px solid var(--color-white);
    box-shadow:
        0 30px 60px -20px rgb(var(--color-navy-rgb) / 0.4),
        0 0 0 2px var(--color-blue);
}

.btn-template-outlined {
    background: transparent;
    border: 1.5px solid var(--primary-accent);
    color: var(--primary-accent);
}
.btn-template-outlined:hover,
.btn-template-outlined:focus {
    background: var(--primary-accent);
    border-color: var(--primary-accent);
    color: var(--color-white);
    transform: translateY(-3px);
}

@media (max-width: 991px) {
    .hero-text {
        text-align: center;
    }
    .hero-tagline {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 767px) {
    .eulexis-hero .container {
        padding: 56px 15px 28px;
    }
    .eulexis-hero .row {
        width: auto;
        max-width: none;
        margin-right: -15px;
        margin-left: -15px;
    }
    .eulexis-hero .row > [class*='col-'] {
        width: 100%;
        flex: 0 0 100%;
    }
    .hero-text {
        padding-right: 0;
        margin-bottom: 34px;
    }
    .hero-tagline {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-portrait {
        order: -1;
        margin-bottom: 30px;
        text-align: center;
    }
    .hero-portrait img {
        margin-left: auto;
        margin-right: auto;
    }
}

.home-testimonials {
    position: relative;
    padding: 52px 0 60px;
}
.bar.background-pentagon.home-testimonials {
    border: 0;
    background:
        radial-gradient(
            70% 100% at 100% 0%,
            rgb(var(--color-blue-rgb) / 0.08),
            transparent 72%
        ),
        var(--color-paper);
}
.home-testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(
        270deg,
        rgb(var(--color-blue-rgb) / 0.48) 0%,
        rgb(var(--color-blue-rgb) / 0.14) 42%,
        transparent 100%
    );
}
.home-testimonials .heading {
    margin-bottom: 0;
}
.home-testimonials .heading h2 {
    margin: 0;
    font-size: clamp(26px, 3.2vw, 36px);
}
.home-testimonials .testi-carousel {
    max-width: 1120px;
    margin-right: auto;
    margin-left: auto;
}

@media (max-width: 767px) {
    .home-why {
        padding: 44px 0;
    }
    .home-why-heading {
        margin-bottom: 24px;
    }
    .home-why-heading > p:last-child {
        font-size: 16px;
        text-align: left;
    }
    .home-why-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .home-why-card {
        padding: 22px 20px;
    }
    .home-why-card h3 {
        margin-bottom: 16px;
    }
    .home-testimonials {
        padding: 40px 0 44px;
    }
    .testimonials .item .testimonial {
        padding: 26px 22px 22px;
    }
}

/* --- Expérience professionnelle ------------------------------------------ */

.professional-profile {
    display: grid;
    gap: 24px;
    max-width: 1160px;
    margin: 0 auto;
}
.professional-profile > h2 {
    color: var(--ink);
    font-size: clamp(22px, 2.5vw, 28px);
    line-height: 1.3;
    margin: 24px 0 0;
    padding: 0 0 18px;
    border-bottom: 1px solid var(--line);
}
.professional-profile h2:after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    margin-top: 16px;
    border-radius: 3px;
    background: var(--primary-accent);
}
.professional-profile ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.professional-profile li {
    position: relative;
    padding: 22px 24px 22px 42px;
    background: linear-gradient(
        145deg,
        var(--color-white) 0%,
        var(--color-paper) 100%
    );
    border: 1px solid rgb(var(--color-line-rgb) / 0.9);
    border-radius: var(--radius-sm);
    box-shadow: 0 5px 18px rgb(var(--color-navy-rgb) / 0.045);
    line-height: 1.75;
    transition:
        transform 0.25s var(--ease),
        box-shadow 0.25s var(--ease),
        border-color 0.25s var(--ease);
}
.professional-profile li:before {
    content: '';
    position: absolute;
    top: 30px;
    left: 21px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary-accent);
    box-shadow: 0 0 0 4px rgb(var(--color-blue-rgb) / 0.13);
}
.professional-profile li:hover {
    transform: translateY(-3px);
    border-color: rgb(var(--color-navy-light) / 0.48);
    box-shadow: var(--shadow-soft);
}
.professional-profile p {
    margin: 0;
    padding: 26px 30px;
    background: linear-gradient(120deg, var(--cream), var(--color-white));
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    line-height: 1.85;
}
.professional-profile strong {
    color: var(--ink);
}
.professional-profile li > strong {
    display: block;
    margin-bottom: 8px;
    color: var(--primary-accent);
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.5;
}
.professional-profile p strong {
    color: var(--primary-accent);
}
@media (max-width: 767px) {
    .professional-profile {
        gap: 18px;
    }
    .professional-profile ul {
        grid-template-columns: 1fr;
    }
    .professional-profile li {
        padding: 18px 20px 18px 38px;
    }
    .professional-profile li:before {
        top: 26px;
        left: 18px;
    }
    .professional-profile p {
        padding: 20px 22px;
    }
}

/* ==========================================================================
   Pages de contenu (Correction, À propos, formations détail…)
   ========================================================================== */

.page-prose {
    max-width: 860px;
    margin: 0 auto;
    padding-bottom: 56px;
}
.page-wide {
    padding-bottom: 56px;
}

.correction-page {
    display: grid;
    gap: 22px;
    max-width: 1160px;
    margin: 0 auto;
    color: var(--ink);
}
.correction-page > p {
    margin: 0;
    font-size: 16.5px;
    line-height: 1.8;
}
.correction-page > p:first-child {
    padding: 30px 34px;
    border: 1px solid var(--line);
    border-left: 4px solid var(--primary-accent);
    border-radius: var(--radius);
    background: linear-gradient(120deg, var(--cream), var(--color-white) 78%);
    box-shadow: var(--shadow-soft);
    font-size: clamp(20px, 2.3vw, 25px);
    line-height: 1.5;
}
.correction-page > p:first-child strong {
    color: var(--ink);
}
.correction-page > p:nth-child(2) {
    margin-top: -12px;
    color: var(--muted);
    font-size: 15px;
}
.correction-services {
    padding: 24px 28px 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--color-white);
    box-shadow: var(--shadow-soft);
}
.correction-services > p {
    margin: 0 0 16px;
    color: var(--ink);
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.correction-services ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.correction-services li {
    position: relative;
    margin: 0;
    padding: 16px 18px 16px 38px;
    border-radius: var(--radius-sm);
    background: var(--cream);
    line-height: 1.6;
}
.correction-services li::before {
    position: absolute;
    top: 24px;
    left: 18px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-accent);
    content: '';
}
.correction-price {
    padding: 23px 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--cream);
}
.correction-price p {
    margin: 0;
    color: var(--ink);
    font-size: 19px;
    font-weight: 600;
    line-height: 1.6;
}
.correction-contact {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px 24px;
    padding: 18px 0;
    border-top: 1px solid var(--line);
}
.correction-contact p {
    margin: 0;
    line-height: 1.5;
}
.correction-contact a {
    color: var(--link-focus);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.correction-contact a:hover {
    color: var(--ink);
}

.page-prose h2 {
    font-size: 25px;
    font-weight: 700;
    color: var(--ink);
    margin: 46px 0 20px;
    padding-bottom: 14px;
    position: relative;
}
.page-prose h2:first-child {
    margin-top: 6px;
}
.page-prose h2:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 44px;
    height: 3px;
    border-radius: 3px;
    background: var(--primary-accent);
}
.page-prose h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 34px 0 14px;
    color: var(--ink);
}

.page-prose > p,
.page-prose > ul,
.page-prose > ol {
    font-size: 16.5px;
    line-height: 1.75;
}
.page-prose > p {
    margin-bottom: 18px;
}
.page-prose a {
    color: var(--link-focus);
}
.page-prose a:hover {
    color: var(--ink);
}
.page-prose img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
}
/* icônes/illustrations placées dans un lien (CTA) : cadrées petit */
.page-prose p a img {
    max-height: 96px;
    width: auto;
    vertical-align: middle;
    margin: 4px 8px;
}

.page-prose h4 {
    font-size: 22px;
    margin: 30px 0 6px;
}
.page-prose h5 {
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 18px;
}
.page-prose h6 {
    font-size: 20px;
    font-weight: 700;
    color: var(--ink);
    margin: 42px 0 18px;
    padding-bottom: 14px;
    position: relative;
}
.page-prose h6:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 44px;
    height: 3px;
    border-radius: 3px;
    background: var(--primary-accent);
}
.page-prose ul {
    padding-left: 22px;
}
.page-prose ul li {
    margin-bottom: 10px;
}

/* image de bannière pleine largeur en tête de page */
.page-prose > p:first-child img {
    width: 100%;
    border-radius: var(--radius);
    margin-bottom: 8px;
}

/* figure flottante (encart illustré) */
.figure-right {
    float: right;
    width: 240px;
    max-width: 42%;
    margin: 6px 0 20px 30px;
}
.figure-right p {
    margin: 0;
}
.figure-right img {
    width: 100%;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-soft);
}

/* en-tête À propos : portrait + nom + fonction */
.about-header {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    column-gap: 30px;
    padding: 8px 0 28px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--line);
}
.about-header p:first-child {
    grid-column: 1;
    grid-row: 1 / 3;
    margin: 0;
}
.about-header img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid var(--color-white);
    box-shadow:
        0 14px 30px -12px rgb(var(--color-navy-rgb) / 0.35),
        0 0 0 2px var(--color-blue);
    margin: 0;
}
.about-header h4 {
    grid-column: 2;
    margin: 0 0 6px;
    font-size: 26px;
}
.about-header h5 {
    grid-column: 2;
    margin: 0;
}
.about-header h5 a {
    color: var(--primary-accent);
    font-weight: 600;
}

/* --- Page À propos ------------------------------------------------------- */

.about-page {
    display: grid;
    gap: 24px;
    max-width: 1160px;
    margin: 0 auto;
    padding: 36px 0 64px;
}
.about-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px;
    align-items: center;
    gap: clamp(30px, 6vw, 76px);
    padding: clamp(30px, 6vw, 68px);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 28px;
    background:
        radial-gradient(
            65% 120% at 100% 0%,
            rgb(var(--color-blue-rgb) / 0.1),
            transparent 70%
        ),
        linear-gradient(135deg, var(--color-paper), var(--color-paper-blue));
}
.about-hero-copy {
    max-width: 700px;
}
.about-eyebrow {
    margin: 0 0 14px;
    color: var(--primary-accent);
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.about-hero h1 {
    margin: 0 0 24px;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.12;
    letter-spacing: -0.035em;
}
.about-hero h1 strong {
    color: var(--primary-accent);
}
.about-origin {
    display: inline-block;
    margin: -10px 0 22px;
    padding: 7px 13px;
    border-left: 2px solid var(--primary-accent);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    background: rgb(var(--color-white-rgb) / 0.62);
    color: var(--primary-accent);
    font-family: var(--font-display);
    font-size: 15px;
    font-style: italic;
    line-height: 1.5;
}
.about-hero-copy > p:not(.about-eyebrow) {
    margin: 0 0 14px;
    color: var(--body);
    font-size: 16px;
    line-height: 1.85;
}
.about-hero-copy > p:last-child {
    margin-bottom: 0;
}
.about-hero-copy strong {
    color: var(--ink);
}
.about-hero > img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border: 5px solid var(--color-white);
    border-radius: 50%;
    box-shadow:
        0 30px 60px -20px rgb(var(--color-navy-rgb) / 0.4),
        0 0 0 2px var(--color-blue);
}
.about-section {
    padding: clamp(26px, 4vw, 44px);
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--color-white);
    box-shadow: 0 10px 30px rgb(var(--color-navy-rgb) / 0.045);
}
.about-section h2 {
    margin: 0 0 24px;
    padding: 0 0 18px;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-size: clamp(25px, 3vw, 34px);
    line-height: 1.25;
}
.about-section p {
    margin: 0 0 18px;
    color: var(--body);
    font-size: 15.5px;
    line-height: 1.85;
}
.about-section strong {
    color: var(--ink);
}
.about-section ul {
    margin: 16px 0 24px;
    padding-left: 1.25em;
    list-style: disc;
}
.about-section li {
    min-width: 0;
    padding: 0 0 0 5px;
    margin: 0 0 14px;
    color: var(--body);
    font-size: 15px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}
.about-section li:last-child {
    margin-bottom: 0;
}
.about-author a {
    color: var(--primary-accent);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgb(var(--color-navy-light) / 0.35);
    text-underline-offset: 3px;
}
.about-author a:hover,
.about-author a:focus {
    color: var(--ink);
    text-decoration-color: currentColor;
}
.about-books {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 28px 0 32px;
}
.about-book {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    padding: 18px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--color-paper);
    text-align: center;
    text-decoration: none !important;
    transition:
        transform 0.2s var(--ease),
        box-shadow 0.2s var(--ease);
}
.about-book:hover,
.about-book:focus {
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
}
.about-book img {
    display: block;
    width: 100%;
    height: 190px;
    margin: 0 0 14px;
    object-fit: contain;
}
.about-book-publisher {
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.about-book strong {
    color: var(--ink);
    font-size: 14px;
    line-height: 1.4;
}
.about-live {
    display: block;
    margin: 8px 0 0 !important;
    color: var(--body) !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    text-align: center;
}
.about-live svg {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 6px;
    color: #c94f49;
    vertical-align: 1px;
}
.about-live strong {
    color: var(--ink);
}
.about-radio-player {
    margin-top: 28px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--cream);
    box-shadow: var(--shadow-soft);
}
.about-radio-player iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: 600px;
    border: 0;
}
.about-section > :last-child {
    margin-bottom: 0;
}

/* carte auteur (formatrice / correctrice) en fin de page */
.author-card {
    clear: both;
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 44px 0 8px;
    padding: 24px 30px;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.author-photo {
    flex: 0 0 auto;
}
.author-photo img {
    width: 92px;
    height: 92px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    box-shadow:
        0 30px 60px -20px rgb(var(--color-navy-rgb) / 0.4),
        0 0 0 2px var(--color-blue);
}
.author-info {
    display: flex;
    flex-direction: column;
}
.author-role {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
}
.author-name {
    font-family: var(--font-ui);
    font-size: 19px;
    font-weight: 700;
    color: var(--ink);
    margin: 2px 0 6px;
}
.author-link {
    align-self: flex-start;
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--primary-accent);
}
.author-link:hover {
    color: var(--ink);
}

@media (max-width: 767px) {
    .about-hero {
        grid-template-columns: minmax(0, 1fr) 140px;
        gap: 24px;
    }
    .about-hero > img {
        width: 140px;
    }
}

/* boutons d'action (CTA) dans le contenu */
.page-actions {
    margin: 34px 0 10px;
}
.page-actions a {
    display: inline-block;
    background: linear-gradient(135deg, var(--ink), var(--color-navy-light));
    color: var(--color-white) !important;
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 14px 30px;
    border-radius: 999px;
    box-shadow: 0 12px 24px -8px rgb(var(--color-navy) / 0.5);
    transition:
        transform 0.25s var(--ease),
        box-shadow 0.25s var(--ease);
}
.page-actions a:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 30px -10px rgb(var(--color-navy-light) / 0.6);
}

@media (max-width: 600px) {
    .correction-page {
        gap: 16px;
    }
    .correction-page > p:first-child {
        padding: 24px 22px;
    }
    .correction-services {
        padding: 22px 18px;
    }
    .correction-services ul {
        grid-template-columns: 1fr;
    }
    .correction-contact {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 10px 14px;
    }
    .figure-right {
        float: none;
        width: 100%;
        max-width: 100%;
        margin: 0 0 20px;
    }
    .about-header {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }
    .about-header p:first-child {
        grid-row: auto;
    }
    .about-header h4,
    .about-header h5 {
        grid-column: 1;
    }
    .about-page {
        gap: 16px;
        padding: 24px 0 40px;
    }
    .about-hero {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 28px 22px;
        border-radius: 20px;
    }
    .about-hero > img {
        width: 136px;
        margin: 0 auto;
        grid-row: 1;
        border-radius: 50%;
    }
    .about-hero h1 {
        margin-bottom: 18px;
    }
    .about-section {
        padding: 24px 20px;
        border-radius: 18px;
    }
    .about-section h2 {
        margin-bottom: 20px;
    }
    .about-section li {
        padding-left: 4px;
    }
    .about-books {
        gap: 12px;
    }
    .about-book {
        padding: 14px 10px;
    }
    .about-book img {
        height: 150px;
    }
    .about-book strong {
        font-size: 13px;
    }
    .about-radio-player iframe {
        height: 800px;
        min-height: 800px;
    }
    .author-card {
        flex-direction: column;
        text-align: center;
    }
    .author-info {
        align-items: center;
    }
    .author-link {
        align-self: center;
    }
}

/* --- Carte tarif (page Tarifs) -------------------------------------------- */

.price-card {
    max-width: 540px;
    margin: 6px 0 26px;
    padding: 28px 34px;
    text-align: center;
    background: linear-gradient(135deg, var(--color-paper), var(--cream));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

/* --- Direction artistique : encre bleue, or et typographie éditoriale --- */

#all h1,
#all h2,
#all h3,
#all h4,
#all h5,
#all h6 {
    font-family: var(--font-display) !important;
    font-optical-sizing: auto;
}
#all .navbar ul.nav > li > a,
#all button,
#all input,
#all select,
#all textarea,
#all .btn,
#all .cta-button {
    font-family: var(--font-body);
}

.price-card p {
    margin: 0;
}
.price-card strong {
    font-family: var(--font-ui);
    font-size: 20px;
    font-weight: 700;
    color: var(--ink);
}

/* --- Cartes de contact (page Contact) ------------------------------------- */

.contact-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin: 30px 0 34px;
}
.contact-card--address {
    grid-column: 1 / -1;
    align-items: flex-start;
}
.contact-card--address .contact-ico {
    margin-top: 2px;
}
.contact-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 24px;
    background: var(--color-white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    color: var(--body) !important;
    transition:
        box-shadow 0.3s var(--ease),
        transform 0.3s var(--ease);
}
a.contact-card:hover {
    box-shadow: var(--shadow-lift);
    transform: translateY(-4px);
    text-decoration: none;
    color: var(--body) !important;
}
.contact-ico {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    line-height: 52px;
    text-align: center;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        var(--color-paper),
        var(--color-paper-blue-light)
    );
    color: var(--primary-accent);
    font-size: 19px;
}
.contact-meta {
    display: flex;
    flex-direction: column;
}
.contact-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
    margin-bottom: 3px;
}
.contact-value {
    font-family: var(--font-ui);
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.35;
}

/* transports (page Contact) */
.contact-transit {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
}
.contact-transit span {
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 400;
    color: var(--ink);
    letter-spacing: 0;
    text-transform: none;
}
.contact-transit i {
    color: var(--primary-accent);
    width: 20px;
    margin-right: 6px;
}

@media (max-width: 560px) {
    .contact-cards {
        grid-template-columns: 1fr;
    }
}

/* badges de lignes de transport */
.contact-transit .line-badge {
    display: inline-block;
    min-width: 26px;
    padding: 1px 7px;
    margin: 0 2px;
    border-radius: 8px;
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: 13px;
    line-height: 1.6;
    color: var(--color-black);
    text-align: center;
}

/* --- Bouton d'appel à l'action (CTA) dans les pages ----------------------- */

.cta-block {
    text-align: center;
    margin: 36px 0;
}
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    max-width: 620px;
    padding: 18px 32px;
    background: linear-gradient(135deg, var(--ink), var(--color-navy-light));
    color: var(--color-white) !important;
    font-family: var(--font-ui);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    text-align: left;
    border-radius: 16px;
    box-shadow: 0 16px 32px -12px rgb(var(--color-navy-light) / 0.6);
    text-decoration: none !important;
    transition:
        transform 0.25s var(--ease),
        box-shadow 0.25s var(--ease);
}
.cta-button:hover,
.cta-button:focus {
    transform: translateY(-3px);
    box-shadow: 0 22px 38px -12px rgb(var(--color-navy-light) / 0.7);
    color: var(--color-white) !important;
}
.cta-button .cta-icon {
    font-size: 22px;
    flex: 0 0 auto;
}
.cta-button .cta-arrow {
    font-size: 15px;
    flex: 0 0 auto;
    transition: transform 0.25s var(--ease);
}
.cta-button:hover .cta-arrow {
    transform: translateX(5px);
}

@media (max-width: 560px) {
    .cta-button {
        width: 100%;
    }
}

/* --- Catégorie (kicker) au-dessus du titre des pages formation ------------ */

.page-prose h1 {
    font-size: clamp(28px, 3.4vw, 38px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--ink);
    margin: 0 0 24px;
}
.page-prose > p:first-child:has(+ h1) {
    display: inline-block;
    font-family: var(--font-ui);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-accent);
    background: var(--cream);
    padding: 6px 15px;
    border-radius: 999px;
    margin: 0 0 16px;
}

/* ==========================================================================
   Responsive : menu (hamburger) + ajustements
   ========================================================================== */

/* Bouton hamburger */
.navbar .navbar-buttons {
    display: flex;
    align-items: center;
    height: 84px;
}
.navbar .navbar-toggle {
    border: 0;
    margin: 0;
    padding: 0;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--ink), var(--color-navy-light));
    /* box-shadow: 0 10px 22px -8px rgb(var(--color-gold-rgb) / 0.6); */
    align-items: center;
    justify-content: center;
    transition:
        transform 0.2s var(--ease),
        box-shadow 0.2s var(--ease);
}
.navbar .navbar-toggle:hover,
.navbar .navbar-toggle:focus {
    background: linear-gradient(
        135deg,
        var(--link-hover-bg),
        var(--primary-accent)
    );
    transform: translateY(-1px);
}
.navbar .navbar-toggle i {
    color: var(--color-white);
    font-size: 18px;
}

/* Bascule en menu déroulant dès la tablette (<= 991px) */
@media (max-width: 991px) {
    .navbar .navbar-header {
        float: none;
    }
    .navbar .navbar-toggle {
        display: flex;
    }
    .navbar .navbar-collapse {
        border-top: 1px solid var(--line);
        box-shadow: 0 12px 20px -12px rgb(var(--color-navy-rgb) / 0.18);
        max-height: 78vh;
        overflow-y: auto;
    }
    .navbar .navbar-collapse.collapse {
        display: none !important;
    }
    .navbar .navbar-collapse.collapse.in {
        display: block !important;
    }
    .navbar .nav.navbar-nav {
        float: none !important;
        margin: 6px 0;
    }
    .navbar .nav.navbar-nav > li {
        float: none;
    }
    .navbar ul.nav > li > a {
        padding: 15px 4px;
    }
    /* onglet actif indiqué par la couleur dorée : pas de point en mode déroulant */
    .navbar ul.nav > li.active > a:after {
        display: none;
    }
}
