/* ═══════════════════════════════════════════════════════
   DR CHIFFOLOT — CHIRURGIE DU RACHIS
   Stylesheet principal — Mobile-first, BEM, sans framework
   ═══════════════════════════════════════════════════════ */

/* ─── CUSTOM PROPERTIES ─── */
:root {
    /* Couleurs — Charte existante */
    --c-primary: #3065b5;
    --c-primary-dark: #244d8f;
    --c-primary-light: #4a7fc9;
    --c-accent: #3eb8d7;
    --c-accent-dark: #2a9ab8;
    --c-cta: #0392ce;
    --c-red: #e2463b;

    /* Neutres */
    --c-dark: #1a1a2e;
    --c-text: #2d2d3a;
    --c-text-secondary: #5a5a6e;
    --c-text-muted: #8a8a9a;
    --c-border: #e2e4ea;
    --c-bg: #f8f9fc;
    --c-bg-alt: #f0f2f7;
    --c-white: #ffffff;
    --c-footer: #1a1a2e;

    /* Typographie */
    --ff-heading: 'DM Serif Display', Georgia, serif;
    --ff-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --fs-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.8125rem);
    --fs-sm: clamp(0.8125rem, 0.75rem + 0.3vw, 0.9375rem);
    --fs-base: clamp(0.9375rem, 0.875rem + 0.3vw, 1.0625rem);
    --fs-md: clamp(1.0625rem, 0.95rem + 0.5vw, 1.25rem);
    --fs-lg: clamp(1.25rem, 1.1rem + 0.75vw, 1.625rem);
    --fs-xl: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);
    --fs-2xl: clamp(2rem, 1.5rem + 2.5vw, 3.25rem);
    --fs-3xl: clamp(2.5rem, 1.8rem + 3.5vw, 4.25rem);

    --fw-light: 300;
    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;

    /* Espacements */
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2.5rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    --space-section: clamp(2.5rem, 1.5rem + 3vw, 4rem);

    /* Rayons */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Ombres */
    --shadow-sm: 0 1px 3px rgba(26, 26, 46, 0.06);
    --shadow-md: 0 4px 16px rgba(26, 26, 46, 0.08);
    --shadow-lg: 0 8px 32px rgba(26, 26, 46, 0.1);
    --shadow-xl: 0 16px 48px rgba(26, 26, 46, 0.12);

    /* Transitions */
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --duration-fast: 200ms;
    --duration-base: 350ms;
    --duration-slow: 600ms;

    /* Layout */
    --container-max: 1200px;
    --header-height: 64px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: calc(var(--header-height) + 2rem);
}

body {
    font-family: var(--ff-body);
    font-size: var(--fs-base);
    font-weight: var(--fw-regular);
    line-height: 1.7;
    color: var(--c-text);
    background-color: var(--c-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--duration-fast) var(--ease-out);
}

ul, ol {
    list-style: none;
}

address {
    font-style: normal;
}

button {
    font: inherit;
    color: inherit;
    background: none;
    border: none;
    cursor: pointer;
}

:focus-visible {
    outline: 2px solid var(--c-accent);
    outline-offset: 3px;
    border-radius: 2px;
}

/* ─── CONTAINER ─── */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--space-xl);
    }
}

/* ─── SECTION HEADER ─── */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--space-xl);
}

.section-header--left {
    text-align: left;
    margin-left: 0;
}

.section-header__eyebrow {
    font-family: var(--ff-body);
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--c-accent);
    margin-bottom: var(--space-sm);
}

.section-header__title {
    font-family: var(--ff-heading);
    font-size: var(--fs-xl);
    font-weight: var(--fw-regular);
    line-height: 1.2;
    color: var(--c-dark);
    margin-bottom: var(--space-md);
}

.section-header__text {
    font-size: var(--fs-base);
    color: var(--c-text-secondary);
    line-height: 1.7;
}

/* ─── BUTTONS ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--ff-body);
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    line-height: 1;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--duration-base) var(--ease-out);
    white-space: nowrap;
}

.btn__icon {
    transition: transform var(--duration-base) var(--ease-out);
}

.btn:hover .btn__icon {
    transform: translateX(4px);
}

.btn--primary {
    background-color: var(--c-primary);
    color: var(--c-white);
    border-color: var(--c-primary);
}

.btn--primary:hover {
    background-color: var(--c-primary-dark);
    border-color: var(--c-primary-dark);
    box-shadow: 0 4px 20px rgba(48, 101, 181, 0.35);
}

.btn--secondary {
    background-color: transparent;
    color: var(--c-primary);
    border-color: var(--c-primary);
}

.btn--secondary:hover {
    background-color: var(--c-primary);
    color: var(--c-white);
}

.btn--outline {
    background-color: transparent;
    color: var(--c-primary);
    border-color: var(--c-border);
}

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

.btn--outline-light {
    background-color: transparent;
    color: var(--c-white);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn--outline-light:hover {
    background-color: var(--c-white);
    color: var(--c-primary);
    border-color: var(--c-white);
}

.btn--large {
    padding: 1rem 2.25rem;
    font-size: var(--fs-base);
}

.btn--white {
    background: var(--c-white);
    color: var(--c-primary);
    border: 2px solid var(--c-white);
}

.btn--white:hover {
    background: transparent;
    color: var(--c-white);
    border-color: var(--c-white);
}

/* ═══════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: transform var(--duration-base) var(--ease-out),
                box-shadow var(--duration-base) var(--ease-out);
}



.header--scrolled {
    box-shadow: var(--shadow-md);
}

.header--scrolled .header__bar {
    display: none;
}

/* Top bar */
.header__bar {
    background-color: var(--c-dark);
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--fs-xs);
    padding: 0.4rem 0;
    transition: all var(--duration-fast);
}

.header__bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__contact {
    display: none;
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .header__contact {
        display: flex;
    }
}

.header__contact-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.8);
}

.header__contact-link:hover {
    color: var(--c-accent);
}

.header__icon {
    flex-shrink: 0;
}

.header__cta-small {
    font-weight: var(--fw-semibold);
    color: var(--c-accent);
    letter-spacing: 0.02em;
}

.header__cta-small:hover {
    color: var(--c-white);
}

/* Navigation */
.header__nav {
    background-color: var(--c-white);
    padding: 0;
    border-bottom: 1px solid var(--c-border);
}

.header__nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

/* Logo */
.header__logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    line-height: 1.15;
}

.header__logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}

.header__logo-text {
    display: flex;
    flex-direction: column;
}

.header__logo-name {
    font-family: var(--ff-heading);
    font-size: 1.35rem;
    color: var(--c-primary);
}

.header__logo-sub {
    font-size: var(--fs-xs);
    color: var(--c-accent);
    font-weight: var(--fw-medium);
    letter-spacing: 0.04em;
}

/* Burger */
.header__burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 6px;
    z-index: 1001;
}

.header__burger-line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--c-dark);
    border-radius: 2px;
    transition: all var(--duration-base) var(--ease-out);
    transform-origin: center;
}

.header__burger--active .header__burger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.header__burger--active .header__burger-line:nth-child(2) {
    opacity: 0;
}

.header__burger--active .header__burger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 960px) {
    .header__burger {
        display: none;
    }
}

/* Menu */
.header__menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    background: linear-gradient(180deg, #fff 0%, #f8f9fb 100%);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 5rem 1.5rem 2rem;
    z-index: 1000;
    overflow-y: auto;
}

.header__menu--open {
    display: flex;
}

@media (min-width: 960px) {
    .header__menu {
        display: flex;
        position: static;
        width: auto;
        height: auto;
        flex-direction: row;
        gap: 0;
        padding: 0;
        background: none;
        overflow: visible;
    }
}

.header__menu-item {
    position: relative;
}

/* Mobile menu items */
@media (max-width: 959px) {
    .header__menu-item {
        border-bottom: 1px solid #e8ecf1;
    }

    .header__menu-item:last-child {
        border-bottom: none;
    }
}

.header__menu-link {
    display: block;
    padding: 0.6rem 1rem;
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    color: var(--c-text);
    transition: color var(--duration-fast);
}

/* Mobile menu links : bigger, with arrow for submenus */
@media (max-width: 959px) {
    .header__menu-link {
        padding: 1rem 0;
        font-size: 1.05rem;
        font-weight: 600;
        color: var(--c-primary, #1e3a5f);
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .header__menu-item--has-sub > .header__menu-link::after {
        content: '';
        width: 8px;
        height: 8px;
        border-right: 2px solid var(--c-accent, #5ba0d9);
        border-bottom: 2px solid var(--c-accent, #5ba0d9);
        transform: rotate(45deg);
        transition: transform 0.3s ease;
        margin-right: 4px;
    }

    .header__menu-item--has-sub.submenu-open > .header__menu-link::after {
        transform: rotate(-135deg);
    }
}

.header__menu-link:hover,
.header__menu-link--active {
    color: var(--c-primary);
}

/* Submenu */
.header__submenu {
    display: none;
    text-align: center;
}

@media (min-width: 960px) {
    .header__menu-item--has-sub:hover .header__submenu,
    .header__menu-item--has-sub:focus-within .header__submenu {
        display: block;
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        min-width: 240px;
        background: var(--c-white);
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-lg);
        padding: var(--space-sm) 0;
        text-align: left;
        animation: fadeDown var(--duration-fast) var(--ease-out);
    }

    .header__submenu a {
        display: block;
        padding: 0.5rem 1.25rem;
        font-size: var(--fs-sm);
        color: var(--c-text);
    }

    .header__submenu a:hover {
        color: var(--c-primary);
        background: var(--c-bg);
    }
}

/* Mobile submenu : fermé par défaut, ouverture via JS */
@media (max-width: 959px) {
    .header__menu--open .header__submenu {
        display: none;
        text-align: left;
        padding: 0 0 0.75rem;
    }

    .header__menu--open .submenu-open .header__submenu {
        display: block;
    }

    .header__menu--open .header__submenu a {
        display: block;
        padding: 0.55rem 0 0.55rem 1rem;
        font-size: 0.92rem;
        color: var(--c-text, #5a6b7d);
        border-left: 2px solid #e8ecf1;
        transition: color 0.2s, border-color 0.2s;
    }

    .header__menu--open .header__submenu a:hover,
    .header__menu--open .header__submenu a.active {
        color: var(--c-accent, #5ba0d9);
        border-left-color: var(--c-accent, #5ba0d9);
    }
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* ═══════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    padding-top: calc(var(--header-height) + 3rem);
    padding-bottom: var(--space-3xl);
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 50%, rgba(48, 101, 181, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse 60% 80% at 80% 30%, rgba(62, 184, 215, 0.05) 0%, transparent 50%),
        linear-gradient(180deg, var(--c-bg) 0%, var(--c-white) 100%);
}

.hero__pattern {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image:
        radial-gradient(circle at 1px 1px, var(--c-primary) 1px, transparent 0);
    background-size: 40px 40px;
}

.hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

@media (min-width: 960px) {
    .hero__inner {
        grid-template-columns: 1.1fr 0.9fr;
        gap: var(--space-3xl);
    }
}

/* Hero content */
.hero__eyebrow {
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--c-accent);
    margin-bottom: var(--space-md);
}

.hero__title {
    font-family: var(--ff-heading);
    font-size: var(--fs-3xl);
    font-weight: var(--fw-regular);
    line-height: 1.1;
    color: var(--c-dark);
    margin-bottom: var(--space-lg);
}

.hero__title-accent {
    color: var(--c-primary);
    position: relative;
}

.hero__title-accent::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--c-accent), transparent);
    opacity: 0.3;
    border-radius: 3px;
}

.hero__text {
    font-size: var(--fs-md);
    color: var(--c-text-secondary);
    line-height: 1.8;
    max-width: 540px;
    margin-bottom: var(--space-xl);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

/* Hero visual — floating cards */
.hero__visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 340px;
}

@media (max-width: 959px) {
    .hero__visual {
        min-height: 280px;
    }
}

.hero__card {
    position: absolute;
    background: var(--c-white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg) var(--space-xl);
    box-shadow: var(--shadow-lg);
    text-align: center;
    min-width: 160px;
    border: 1px solid var(--c-border);
}

.hero__card-number {
    display: block;
    font-family: var(--ff-heading);
    font-size: var(--fs-xl);
    color: var(--c-primary);
    line-height: 1.1;
}

.hero__card-label {
    display: block;
    font-size: var(--fs-xs);
    color: var(--c-text-muted);
    margin-top: 0.3rem;
    line-height: 1.4;
}

.hero__card--1 {
    top: 10%;
    right: 15%;
    animation: floatCard 6s ease-in-out infinite;
}

.hero__card--2 {
    top: 15%;
    left: 5%;
    animation: floatCard 6s ease-in-out infinite 2s;
}

.hero__card--3 {
    bottom: 5%;
    right: 5%;
    animation: floatCard 6s ease-in-out infinite 4s;
}

.hero__card--4 {
    bottom: 3%;
    left: 18%;
    background: linear-gradient(135deg, #5ba0d9, #3eb8d7);
    animation: floatCard 6s ease-in-out infinite 1s;
}

.hero__card--4 .hero__card-number,
.hero__card--4 .hero__card-label {
    color: #fff;
}

.hero__card--4 a {
    color: #fff;
}

@media (max-width: 600px) {
    .hero__card {
        padding: var(--space-md) var(--space-lg);
        min-width: 130px;
    }

    .hero__card--1 {
        top: 5%;
        right: 5%;
    }

    .hero__card--2 {
        top: auto;
        bottom: 52%;
        left: 0;
    }

    .hero__card--3 {
        bottom: 0;
        right: 10%;
    }

    .hero__card--4 {
        bottom: 2%;
        left: 0;
        right: auto;
    }
}

/* Spine line decoration */
.hero__spine-line {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 3px;
    height: 70%;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        var(--c-accent) 20%,
        var(--c-primary) 50%,
        var(--c-accent) 80%,
        transparent 100%
    );
    opacity: 0.12;
    border-radius: 3px;
}

.hero__spine-line::before,
.hero__spine-line::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--c-accent);
    opacity: 0.2;
}

.hero__spine-line::before { top: 20%; }
.hero__spine-line::after { bottom: 20%; }

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ═══════════════════════════════════════════════════════
   TRUST BAR
   ═══════════════════════════════════════════════════════ */
.trust {
    padding: var(--space-2xl) 0;
    background: linear-gradient(135deg, var(--c-dark) 0%, #1e2d4d 40%, var(--c-primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

/* Subtle dot pattern overlay */
.trust::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.04) 1px, transparent 0);
    background-size: 28px 28px;
    pointer-events: none;
}

.trust__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

@media (min-width: 600px) {
    .trust__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 960px) {
    .trust__grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-lg);
    }
}

.trust__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-md);
    padding: var(--space-xl) var(--space-lg);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--duration-base) var(--ease-out);
    position: relative;
    overflow: hidden;
}

.trust__item:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.trust__icon-wrap {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(62, 184, 215, 0.2), rgba(48, 101, 181, 0.15));
    border-radius: 50%;
    color: var(--c-accent);
    border: 1px solid rgba(62, 184, 215, 0.2);
    transition: all var(--duration-base) var(--ease-out);
}

.trust__item:hover .trust__icon-wrap {
    background: var(--c-accent);
    color: var(--c-white);
    border-color: var(--c-accent);
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(62, 184, 215, 0.3);
}

/* Carte highlight (consultations déportées) */
.trust__item--highlight {
    background: linear-gradient(135deg, #5ba0d9, #3eb8d7);
    border-color: rgba(255, 255, 255, 0.4);
    padding: 0;
    box-shadow: 0 8px 32px rgba(62, 184, 215, 0.35);
}

.trust__item--highlight .trust__item-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-md);
    padding: var(--space-xl) var(--space-lg);
    text-decoration: none;
    color: #fff;
    width: 100%;
    height: 100%;
}

.trust__item--highlight .trust__text strong {
    color: #fff;
}

.trust__item--highlight .trust__text span {
    color: rgba(255, 255, 255, 0.85);
}

.trust__item--highlight:hover {
    background: linear-gradient(135deg, #4a90c9, #2ea8c7);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 12px 40px rgba(62, 184, 215, 0.5);
}

.trust__item--highlight .trust__icon-wrap {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

.trust__item--highlight .trust__icon-wrap svg {
    stroke: #fff;
}

.trust__item--highlight:hover .trust__icon-wrap {
    background: rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
}

.trust__text strong {
    display: block;
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    color: var(--c-white);
    margin-bottom: 0.35rem;
    line-height: 1.3;
}

.trust__text span {
    font-size: var(--fs-xs);
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════
   JOURNEY (PARCOURS PATIENT) — WATERMARK NUMBERS
   ═══════════════════════════════════════════════════════ */
.journey {
    padding: var(--space-section) 0;
    background: var(--c-white);
}

.journey__steps {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

@media (min-width: 768px) {
    .journey__steps {
        grid-template-columns: repeat(4, 1fr);
        gap: 0;
    }
}

/* Step */
.journey__step {
    position: relative;
    padding: var(--space-xl) var(--space-lg);
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--duration-slow) var(--ease-out),
                transform var(--duration-slow) var(--ease-out);
}

.journey__step.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Separator between steps (desktop: vertical, mobile: horizontal) */
@media (min-width: 768px) {
    .journey__step + .journey__step::before {
        content: '';
        position: absolute;
        left: 0;
        top: 20%;
        height: 60%;
        width: 1px;
        background: linear-gradient(to bottom, transparent, var(--c-border), transparent);
    }
}

@media (max-width: 767px) {
    .journey__step + .journey__step::before {
        content: '';
        position: absolute;
        top: 0;
        left: 15%;
        width: 70%;
        height: 1px;
        background: linear-gradient(to right, transparent, var(--c-border), transparent);
    }
}

/* Hide the marker wrapper — we use step-num directly */
.journey__step-marker {
    display: contents;
}

/* Giant watermark number */
.journey__step-num {
    display: block;
    font-family: var(--ff-heading);
    font-size: clamp(4.5rem, 4rem + 3vw, 7rem);
    font-weight: var(--fw-regular);
    line-height: 1;
    background: linear-gradient(180deg, var(--c-primary), var(--c-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.12;
    margin-bottom: var(--space-sm);
    transition: opacity var(--duration-base) var(--ease-out);
    user-select: none;
}

.journey__step:hover .journey__step-num {
    opacity: 0.25;
}

/* Content */
.journey__step-content {
    position: relative;
}

.journey__step-title {
    font-family: var(--ff-heading);
    font-size: var(--fs-md);
    color: var(--c-dark);
    margin-bottom: 0.6rem;
}

.desktop-br {
    display: none;
}

@media (min-width: 960px) {
    .desktop-br {
        display: block;
    }
}

.journey__step-text {
    font-size: var(--fs-sm);
    color: var(--c-text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-md);
    max-width: 100%;
}

@media (min-width: 768px) {
    .journey__step-text {
        min-height: 3.4em;
    }
}

.journey__step-link {
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    color: var(--c-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    border: 1px solid transparent;
    transition: all var(--duration-base) var(--ease-out);
}

.journey__step-link::after {
    content: '→';
    transition: transform var(--duration-fast);
}

.journey__step:hover .journey__step-link {
    border-color: var(--c-primary);
    background: rgba(48, 101, 181, 0.04);
}

.journey__step-link:hover::after {
    transform: translateX(4px);
}

/* ═══════════════════════════════════════════════════════
   SURGERIES
   ═══════════════════════════════════════════════════════ */
.surgeries {
    padding: var(--space-section) 0;
    background: var(--c-white);
}

.surgeries__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

@media (min-width: 600px) {
    .surgeries__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 960px) {
    .surgeries__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Card : image background + overlay */
.surgery-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* Background image */
.surgery-card__img {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.surgery-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-out);
}

.surgery-card:hover .surgery-card__img img {
    transform: scale(1.08);
}

/* Dark gradient overlay — always visible */
.surgery-card__img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10, 10, 25, 0.85) 0%,
        rgba(10, 10, 25, 0.4) 45%,
        rgba(10, 10, 25, 0.1) 100%
    );
    transition: background var(--duration-base) var(--ease-out);
    z-index: 1;
}

.surgery-card:hover .surgery-card__img::after {
    background: linear-gradient(
        to top,
        rgba(10, 10, 25, 0.9) 0%,
        rgba(10, 10, 25, 0.55) 50%,
        rgba(10, 10, 25, 0.2) 100%
    );
}

/* Body — on top of the image */
.surgery-card__body {
    position: relative;
    z-index: 2;
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.surgery-card__title {
    font-family: var(--ff-heading);
    font-size: var(--fs-lg);
    color: var(--c-white);
    margin-bottom: 0.4rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.surgery-card__text {
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    margin-bottom: var(--space-md);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height var(--duration-base) var(--ease-out),
                opacity var(--duration-base) var(--ease-out);
}

.surgery-card:hover .surgery-card__text {
    max-height: 6em;
    opacity: 1;
}

.surgery-card__link {
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    color: var(--c-accent);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity var(--duration-base) var(--ease-out),
                transform var(--duration-base) var(--ease-out),
                color var(--duration-fast);
}

/* Card entière cliquable : <a> wrapper */
a.surgery-card {
    text-decoration: none;
    color: inherit;
    display: flex;
}

.surgery-card:hover .surgery-card__link {
    opacity: 1;
    transform: translateY(0);
}

.surgery-card__link:hover {
    color: var(--c-white);
}

.surgery-card__link svg {
    transition: transform var(--duration-fast);
}

.surgery-card__link:hover svg {
    transform: translateX(4px);
}

/* ═══════════════════════════════════════════════════════
   DOCTOR
   ═══════════════════════════════════════════════════════ */
.doctor {
    padding: var(--space-section) 0;
    background: var(--c-bg);
}

.doctor__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

@media (min-width: 768px) {
    .doctor__inner {
        grid-template-columns: 0.45fr 0.55fr;
        gap: var(--space-3xl);
        align-items: start;
    }
}

.doctor__portrait {
    position: relative;
}

.doctor__portrait-frame {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: linear-gradient(135deg, var(--c-bg-alt), var(--c-border));
}

.doctor__portrait-frame img {
    width: 100%;
    height: auto;
    display: block;
}

.doctor__portrait-accent {
    position: absolute;
    bottom: -12px;
    right: -12px;
    width: 120px;
    height: 120px;
    border: 3px solid var(--c-accent);
    border-radius: var(--radius-xl);
    opacity: 0.2;
    z-index: -1;
}

.doctor__text {
    font-size: var(--fs-base);
    color: var(--c-text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
}

.doctor__credentials {
    margin-bottom: var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.doctor__credentials li {
    position: relative;
    padding-left: 1.4rem;
    font-size: var(--fs-sm);
    color: var(--c-text);
    line-height: 1.6;
}

.doctor__credentials li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
    border-radius: 50%;
}

/* ═══════════════════════════════════════════════════════
   RAAC
   ═══════════════════════════════════════════════════════ */
.raac {
    padding: var(--space-section) 0;
    background: var(--c-white);
}

.raac__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

@media (min-width: 768px) {
    .raac__inner {
        grid-template-columns: 1.2fr 0.8fr;
    }
}

.raac__benefits {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.raac__benefit {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
    padding: var(--space-lg);
    background: var(--c-bg);
    border-radius: var(--radius-lg);
    border: 1px solid transparent;
    transition: all var(--duration-base) var(--ease-out);
}

.raac__benefit:hover {
    border-color: var(--c-border);
    background: var(--c-white);
    box-shadow: var(--shadow-sm);
}

.raac__benefit-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--c-white);
    border-radius: var(--radius-md);
    color: var(--c-accent);
    box-shadow: var(--shadow-sm);
}

.raac__benefit strong {
    display: block;
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    color: var(--c-dark);
    margin-bottom: 0.25rem;
}

.raac__benefit p {
    font-size: var(--fs-sm);
    color: var(--c-text-secondary);
    line-height: 1.6;
}

/* RAAC visual */
.raac__visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.raac__circle {
    position: relative;
    width: 240px;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .raac__circle {
        width: 300px;
        height: 300px;
    }
}

.raac__circle-ring {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid var(--c-border);
}

.raac__circle-ring--1 {
    width: 100%;
    height: 100%;
    border-color: rgba(48, 101, 181, 0.1);
    animation: pulseRing 4s ease-in-out infinite;
}

.raac__circle-ring--2 {
    width: 75%;
    height: 75%;
    border-color: rgba(62, 184, 215, 0.15);
    animation: pulseRing 4s ease-in-out infinite 1.3s;
}

.raac__circle-ring--3 {
    width: 50%;
    height: 50%;
    border-color: rgba(48, 101, 181, 0.2);
    animation: pulseRing 4s ease-in-out infinite 2.6s;
}

.raac__circle-text {
    font-family: var(--ff-heading);
    font-size: var(--fs-xl);
    color: var(--c-primary);
    letter-spacing: 0.08em;
    z-index: 1;
}

@keyframes pulseRing {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.6; }
}

/* ═══════════════════════════════════════════════════════
   LOCATION
   ═══════════════════════════════════════════════════════ */
.videos {
    padding: var(--space-section) 0;
    background: var(--c-bg);
}

.videos__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

@media (min-width: 768px) {
    .videos__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.videos__card {
    background: var(--c-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--duration-base) var(--ease-out),
                box-shadow var(--duration-base) var(--ease-out);
}

.videos__card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.videos__player {
    position: relative;
    aspect-ratio: 16 / 9;
    background: var(--c-dark);
}

.videos__player video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.videos__title {
    font-family: var(--ff-heading);
    font-size: var(--fs-md);
    color: var(--c-dark);
    padding: var(--space-lg) var(--space-lg) var(--space-xs);
}

.videos__desc {
    font-size: var(--fs-sm);
    color: var(--c-text-secondary);
    line-height: 1.6;
    padding: 0 var(--space-lg) var(--space-lg);
}

/* ═══════════════════════════════════════════════════════
   CTA FINAL
   ═══════════════════════════════════════════════════════ */
.cta-final {
    padding: var(--space-section) 0;
    background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 60%, #1a3a6e 100%);
    color: var(--c-white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-final::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.04) 1px, transparent 0);
    background-size: 32px 32px;
}

.cta-final__inner {
    position: relative;
    z-index: 1;
}

.cta-final__title {
    font-family: var(--ff-heading);
    font-size: var(--fs-2xl);
    line-height: 1.15;
    margin-bottom: var(--space-md);
}

.cta-final__text {
    font-size: var(--fs-md);
    opacity: 0.85;
    max-width: 560px;
    margin: 0 auto var(--space-xl);
    line-height: 1.7;
}

.cta-final__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
}

/* ═══════════════════════════════════════════════════════
   BREADCRUMB
   ═══════════════════════════════════════════════════════ */
.breadcrumb {
    padding: var(--space-md) 0;
    background: var(--c-bg-alt);
    border-bottom: 1px solid var(--c-border);
}

.breadcrumb__list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--fs-sm);
    color: var(--c-text-muted);
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb__item a {
    color: var(--c-primary);
    transition: color var(--duration-base) var(--ease-out);
}

.breadcrumb__item a:hover {
    color: var(--c-accent);
}

.breadcrumb__item + .breadcrumb__item::before {
    content: '›';
    margin-right: 0.5rem;
    color: var(--c-text-muted);
}

.breadcrumb__item--active {
    color: var(--c-text);
    font-weight: var(--fw-medium);
}

/* ═══════════════════════════════════════════════════════
   PROFILE LAYOUT (sidebar + contenu)
   ═══════════════════════════════════════════════════════ */
.profile-layout {
    padding: var(--space-2xl) 0 var(--space-section);
    background: var(--c-bg);
}

.profile-layout__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

@media (min-width: 1024px) {
    .profile-layout__inner {
        grid-template-columns: 340px 1fr;
        gap: var(--space-xl);
    }
}

/* ── Sidebar ── */
.profile-sidebar__card {
    background: var(--c-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: calc(var(--space-xl) + 70px);
}

.profile-sidebar__photo img {
    width: 100%;
    height: auto;
    display: block;
}

.profile-sidebar__body {
    padding: var(--space-xl);
}

.profile-sidebar__label {
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--c-accent);
    margin-bottom: var(--space-xs);
}

.profile-sidebar__name {
    font-family: var(--ff-heading);
    font-size: var(--fs-lg);
    color: var(--c-primary);
    margin-bottom: var(--space-sm);
    line-height: 1.2;
}

.profile-sidebar__specialty {
    font-size: var(--fs-sm);
    color: var(--c-text-secondary);
    line-height: 1.5;
}

.profile-sidebar__divider {
    height: 1px;
    background: var(--c-border);
    margin: var(--space-lg) 0;
}

.profile-sidebar__info {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.profile-sidebar__info li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: var(--fs-sm);
    color: var(--c-text);
    line-height: 1.5;
}

.profile-sidebar__info li svg {
    color: var(--c-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.profile-sidebar__info li a {
    color: var(--c-text);
    transition: color var(--duration-base) var(--ease-out);
}

.profile-sidebar__info li a:hover {
    color: var(--c-primary);
}

.profile-sidebar__hospital-label {
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--c-accent);
    margin-bottom: var(--space-xs);
}

.profile-sidebar__hospital-name {
    font-family: var(--ff-heading);
    font-size: var(--fs-base);
    color: var(--c-dark);
    margin-bottom: var(--space-xs);
}

.profile-sidebar__hospital-detail {
    font-size: var(--fs-sm);
    color: var(--c-text-muted);
    line-height: 1.5;
}

.profile-sidebar__hospital-detail a {
    color: var(--c-text-muted);
    transition: color var(--duration-base) var(--ease-out);
}

.profile-sidebar__hospital-detail a:hover {
    color: var(--c-primary);
}

.profile-sidebar__cta {
    width: 100%;
    justify-content: center;
    margin-top: var(--space-lg);
}

/* ── Contenu principal ── */
.profile-content {
    display: flex;
    flex-direction: column;
    gap: 0;
    order: 2;
}

.profile-section {
    background: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-md);
    padding: var(--space-lg) var(--space-xl);
    margin-bottom: var(--space-md);
}

.profile-section__title {
    font-family: var(--ff-heading);
    font-size: var(--fs-sm);
    color: var(--c-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: var(--space-xs);
    padding-bottom: var(--space-xs);
    border-bottom: 1px solid var(--c-bg-alt);
}

.profile-section__title::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--c-accent);
    border-radius: 50%;
    flex-shrink: 0;
}

.profile-section__title svg {
    display: none;
}

h1.profile-section__title {
    font-size: var(--fs-lg);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-bottom: 2px solid var(--c-accent);
    padding-bottom: var(--space-sm);
    margin-bottom: var(--space-md);
}

h1.profile-section__title::before {
    display: none;
}

.profile-section__subtitle {
    font-family: var(--ff-heading);
    font-size: var(--fs-xs);
    color: var(--c-primary);
    font-weight: var(--fw-bold);
    margin-top: var(--space-md);
    margin-bottom: var(--space-xs);
    padding-left: var(--space-sm);
    border-left: 3px solid var(--c-accent);
}

.profile-section__text {
    font-size: var(--fs-sm);
    color: var(--c-text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-xs);
}

.profile-section__text a {
    color: var(--c-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.profile-section__text a:hover {
    color: var(--c-primary);
}

.profile-section__list {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-sm);
}

.profile-section__list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: var(--fs-sm);
    line-height: 1.7;
    color: var(--c-text-secondary);
}

.profile-section__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--c-accent);
}

.profile-section__list li a {
    color: var(--c-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.profile-section__list li a:hover {
    color: var(--c-primary);
}

.profile-section__link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    color: var(--c-primary);
    transition: color var(--duration-base) var(--ease-out);
}

.profile-section__link:hover {
    color: var(--c-accent);
}

/* Profile lists */
.profile-list {
    list-style: none;
    padding: 0;
    margin: var(--space-sm) 0 0;
}

.profile-list li {
    position: relative;
    padding: var(--space-xs) 0 var(--space-xs) 1.1rem;
    font-size: var(--fs-sm);
    color: var(--c-text);
    line-height: 1.5;
    border-bottom: 1px solid var(--c-bg-alt);
}

.profile-list li:last-child {
    border-bottom: none;
}

.profile-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.85rem;
    width: 6px;
    height: 6px;
    background: var(--c-accent);
    border-radius: 50%;
}

.profile-list li strong {
    color: var(--c-primary);
    font-weight: var(--fw-semibold);
}

/* Profile blocks */
.profile-block {
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--c-bg-alt);
}

.profile-block:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.profile-block__title {
    font-family: var(--ff-heading);
    font-size: var(--fs-sm);
    color: var(--c-dark);
    margin-bottom: 0.15rem;
}

.profile-block__detail {
    font-size: var(--fs-sm);
    color: var(--c-text-secondary);
    line-height: 1.6;
}

/* Section header desc (réutilisable) */
.section-header__desc {
    font-size: var(--fs-base);
    color: var(--c-text-secondary);
    line-height: 1.7;
    max-width: 700px;
    margin: var(--space-md) auto 0;
}

/* ═══════════════════════════════════════════════════════
   PUBLICATIONS
   ═══════════════════════════════════════════════════════ */
.pub-card {
    display: flex;
    gap: 0;
    background: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
    transition: box-shadow var(--duration-base) var(--ease-out);
    align-items: stretch;
    overflow: hidden;
}

.pub-card:hover {
    box-shadow: var(--shadow-sm);
}

.pub-card__journal-logo {
    flex-shrink: 0;
    width: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
    border-left: 1px solid var(--c-border);
    background: var(--c-bg-alt);
    order: 1;
}

.pub-card__journal-logo img {
    max-width: 130px;
    max-height: 100px;
    object-fit: contain;
    display: block;
}

.pub-card__year {
    display: inline-block;
    font-family: var(--ff-heading);
    font-size: var(--fs-sm);
    color: var(--c-white);
    background: var(--c-accent);
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-xs);
}

.pub-card__body {
    flex: 1;
    padding: var(--space-lg) var(--space-xl);
    order: 0;
}

.pub-card__title {
    font-family: var(--ff-heading);
    font-size: var(--fs-base);
    color: var(--c-dark);
    line-height: 1.4;
    margin-bottom: var(--space-xs);
}

.pub-card__authors {
    font-size: var(--fs-sm);
    color: var(--c-text-secondary);
    line-height: 1.5;
    margin-bottom: var(--space-xs);
}

.pub-card__authors strong {
    color: var(--c-primary);
}

.pub-card__journal {
    font-size: var(--fs-xs);
    color: var(--c-text-muted);
    font-style: italic;
    line-height: 1.4;
}

/* ═══════════════════════════════════════════════════════
   COMMUNICATIONS
   ═══════════════════════════════════════════════════════ */
.comm-year-group {
    margin-bottom: var(--space-xs);
    margin-top: var(--space-lg);
}

.comm-year-group:first-of-type {
    margin-top: 0;
}

.comm-year-group__title {
    font-family: var(--ff-heading);
    font-size: var(--fs-md);
    color: var(--c-primary);
    padding-bottom: var(--space-xs);
    border-bottom: 2px solid var(--c-accent);
    display: inline-block;
}

.comm-card {
    background: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-xs);
    transition: box-shadow var(--duration-base) var(--ease-out);
    border-left: 3px solid var(--c-accent);
}

.comm-card:hover {
    box-shadow: var(--shadow-sm);
}

.comm-card__body {
    padding: var(--space-md) var(--space-lg);
}

.comm-card__title {
    font-family: var(--ff-heading);
    font-size: var(--fs-sm);
    color: var(--c-dark);
    line-height: 1.4;
    margin-bottom: var(--space-xs);
}

.comm-card__authors {
    font-size: var(--fs-xs);
    color: var(--c-text-secondary);
    line-height: 1.4;
    margin-bottom: var(--space-xs);
}

.comm-card__authors strong {
    color: var(--c-primary);
}

.comm-card__event {
    font-size: var(--fs-xs);
    color: var(--c-text-muted);
    font-style: italic;
    line-height: 1.3;
}

/* ═══════════════════════════════════════════════════════
   HERO CHIRURGIES
   ═══════════════════════════════════════════════════════ */
.page-hero-chirurgies {
    background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
    padding: calc(var(--space-3xl) + 120px) 0 var(--space-3xl);
    color: var(--c-white);
    position: relative;
    overflow: hidden;
    margin-top: -70px;
}

.page-hero-chirurgies::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.04) 1px, transparent 0);
    background-size: 32px 32px;
}

.page-hero-chirurgies__inner {
    position: relative;
    z-index: 1;
}

.page-hero-chirurgies .breadcrumb--light {
    padding: 0;
    background: none;
    border: none;
    margin-bottom: var(--space-lg);
}

.page-hero-chirurgies .breadcrumb--light .breadcrumb__item,
.page-hero-chirurgies .breadcrumb--light .breadcrumb__item a,
.page-hero-chirurgies .breadcrumb--light .breadcrumb__item--active {
    color: rgba(255, 255, 255, 0.7);
}

.page-hero-chirurgies .breadcrumb--light .breadcrumb__item a:hover {
    color: var(--c-white);
}

.page-hero-chirurgies .breadcrumb--light .breadcrumb__item + .breadcrumb__item::before {
    color: rgba(255, 255, 255, 0.4);
}

.page-hero-chirurgies .section-header__eyebrow {
    color: var(--c-accent);
}

.page-hero-chirurgies__title {
    font-family: var(--ff-heading);
    font-size: var(--fs-2xl);
    color: var(--c-white);
    margin-bottom: var(--space-md);
}

.page-hero-chirurgies__subtitle {
    font-size: var(--fs-md);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    max-width: 650px;
    margin-bottom: var(--space-xl);
}

.page-hero-chirurgies__stats {
    display: flex;
    gap: var(--space-2xl);
}

.page-hero-chirurgies__stat {
    display: flex;
    flex-direction: column;
}

.page-hero-chirurgies__stat-number {
    font-family: var(--ff-heading);
    font-size: var(--fs-xl);
    color: var(--c-accent);
    line-height: 1;
}

.page-hero-chirurgies__stat-label {
    font-size: var(--fs-xs);
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.25rem;
}

/* ═══════════════════════════════════════════════════════
   APPROCHE
   ═══════════════════════════════════════════════════════ */
.approach {
    padding: var(--space-section) 0;
    background: var(--c-bg);
}

.approach__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .approach__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.approach__card {
    background: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    transition: box-shadow var(--duration-base) var(--ease-out),
                transform var(--duration-base) var(--ease-out);
}

.approach__card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.approach__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(48, 101, 181, 0.08);
    border-radius: 50%;
    color: var(--c-primary);
    margin: 0 auto var(--space-md);
}

.approach__title {
    font-family: var(--ff-heading);
    font-size: var(--fs-md);
    color: var(--c-dark);
    margin-bottom: var(--space-sm);
}

.approach__text {
    font-size: var(--fs-sm);
    color: var(--c-text-secondary);
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════
   SOCIÉTÉS SAVANTES (cartes)
   ═══════════════════════════════════════════════════════ */
.society-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

@media (min-width: 600px) {
    .society-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.society-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-md);
    padding: var(--space-lg) var(--space-md);
    transition: box-shadow var(--duration-base) var(--ease-out),
                transform var(--duration-base) var(--ease-out);
    text-decoration: none;
    color: inherit;
}

.society-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
    border-color: var(--c-accent);
}

.society-card__logo {
    width: 140px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
}

.society-card__logo img {
    max-width: 140px;
    max-height: 120px;
    object-fit: contain;
    display: block;
}

.society-card__name {
    font-size: var(--fs-xs);
    font-weight: var(--fw-medium);
    color: var(--c-dark);
    line-height: 1.3;
}

.society-card:hover .society-card__name {
    color: var(--c-primary);
}

/* ═══════════════════════════════════════════════════════
   SURGERY SIDEBAR (pages chirurgies)
   ═══════════════════════════════════════════════════════ */

/* Layout mobile: image+titre → contenu → sidebar bottom */
/* ═══════════════════════════════════════════════════════
   SURGERY PAGE SIDEBAR (pages chirurgies individuelles)
   ═══════════════════════════════════════════════════════ */
.surgery-page-sidebar {
    align-self: start;
}

/* Mobile: image+titre en haut, contenu au milieu, nav+contact en bas */
@media (max-width: 1023px) {
    .surgery-page-sidebar {
        display: contents;
    }

    .surgery-page-sidebar__hero {
        order: 1;
    }

    .surgery-page-sidebar .surgery-sidebar__nav-card {
        order: 3;
    }

    .surgery-page-sidebar .surgery-page-sidebar__contact {
        order: 4;
    }

    .surgery-page-sidebar .surgery-sidebar__deported-card {
        order: 5;
    }

    .surgery-page-sidebar .surgery-sidebar__cta {
        order: 6;
        display: none;
    }

    .profile-layout__inner > .profile-content {
        order: 2;
    }
}

.surgery-page-sidebar__hero {
    background: var(--c-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--space-md);
}

.surgery-page-sidebar__hero img {
    width: 100%;
    height: auto;
    display: block;
}

.surgery-page-sidebar__title {
    font-family: var(--ff-heading);
    font-size: var(--fs-md);
    color: var(--c-primary);
    padding: var(--space-md) var(--space-lg);
    text-align: center;
}

.surgery-page-sidebar__contact {
    background: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-md);
}

.surgery-page-sidebar__sep {
    height: 1px;
    background: var(--c-border);
    margin: var(--space-md) 0;
}

/* Surgery nav (fond bleu foncé) */


.surgery-sidebar__nav-card {
    background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-bottom: var(--space-md);
    position: relative;
    overflow: hidden;
}

.surgery-sidebar__nav-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.06) 1px, transparent 0);
    background-size: 24px 24px;
}

.surgery-sidebar__nav-title {
    font-family: var(--ff-body);
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    color: var(--c-accent);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: var(--space-md);
    position: relative;
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.surgery-sidebar__nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}

.surgery-sidebar__nav-list li {
    margin-bottom: 3px;
}

.surgery-sidebar__nav-list a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: var(--space-sm) var(--space-md);
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: background var(--duration-fast) var(--ease-out),
                color var(--duration-fast) var(--ease-out),
                transform var(--duration-fast) var(--ease-out);
}

.surgery-sidebar__nav-list a::before {
    content: '→';
    color: var(--c-accent);
    font-weight: var(--fw-bold);
    flex-shrink: 0;
}

.surgery-sidebar__nav-list a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--c-white);
    transform: translateX(4px);
}

.surgery-sidebar__contact-card {
    background: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-md);
}

.surgery-sidebar__contact-label {
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--c-accent);
    margin-bottom: var(--space-xs);
}

.surgery-sidebar__contact-name {
    font-family: var(--ff-heading);
    font-size: var(--fs-sm);
    color: var(--c-dark);
    margin-bottom: var(--space-xs);
}

.surgery-sidebar__contact-detail {
    font-size: var(--fs-xs);
    color: var(--c-text-muted);
    line-height: 1.4;
}

.surgery-sidebar__contact-detail a {
    color: var(--c-text-muted);
    transition: color var(--duration-base) var(--ease-out);
}

.surgery-sidebar__contact-detail a:hover {
    color: var(--c-primary);
}

.surgery-sidebar__contact-info {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: var(--fs-xs);
    color: var(--c-text);
    line-height: 1.4;
    margin-bottom: 0.35rem;
}

.surgery-sidebar__contact-info svg {
    color: var(--c-accent);
    flex-shrink: 0;
    margin-top: 1px;
}

.surgery-sidebar__contact-info a {
    color: var(--c-text);
    transition: color var(--duration-base) var(--ease-out);
}

.surgery-sidebar__contact-info a:hover {
    color: var(--c-primary);
}

.surgery-sidebar__cta {
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
}

/* ═══════════════════════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════════════════════ */
.contact-cards {
    padding: var(--space-2xl) 0 var(--space-section);
    background: var(--c-bg);
    margin-top: -2rem;
    position: relative;
    z-index: 2;
}

.contact-cards__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

@media (min-width: 768px) {
    .contact-cards__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.contact-card {
    background: var(--c-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--duration-base) var(--ease-out),
                box-shadow var(--duration-base) var(--ease-out);
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.contact-card__header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-xl) var(--space-xl) var(--space-md);
}

.contact-card__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(48, 101, 181, 0.08);
    border-radius: 50%;
    color: var(--c-primary);
    flex-shrink: 0;
}

.contact-card__badge {
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--c-accent);
}

.contact-card__name {
    font-family: var(--ff-heading);
    font-size: var(--fs-md);
    color: var(--c-dark);
}

.contact-card__body {
    padding: 0 var(--space-xl) var(--space-lg);
}

.contact-card__detail {
    font-size: var(--fs-xs);
    color: var(--c-text-muted);
    margin-bottom: var(--space-md);
}

.contact-card__info {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: var(--fs-sm);
    color: var(--c-text);
    margin-bottom: var(--space-sm);
}

.contact-card__info svg {
    color: var(--c-accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-card__info a {
    color: var(--c-text);
    transition: color var(--duration-base) var(--ease-out);
}

.contact-card__info a:hover {
    color: var(--c-primary);
}

.contact-card__address {
    font-style: normal;
    line-height: 1.5;
}

.contact-card__map {
    border-top: 1px solid var(--c-border);
}

.contact-card__map iframe {
    display: block;
    width: 100%;
}

/* ═══════════════════════════════════════════════════════
   SURGERY OVERVIEW (les-chirurgies.html)
   ═══════════════════════════════════════════════════════ */
.surgery-overview__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

@media (min-width: 768px) {
    .surgery-overview__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.surgery-overview__card {
    background: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: box-shadow var(--duration-base) var(--ease-out),
                transform var(--duration-base) var(--ease-out);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.surgery-overview__card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--c-accent);
}

.surgery-overview__card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.surgery-overview__card-body {
    padding: var(--space-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.surgery-overview__card-title {
    font-family: var(--ff-heading);
    font-size: var(--fs-md);
    color: var(--c-dark);
    margin-bottom: var(--space-xs);
}

.surgery-overview__card-excerpt {
    font-size: var(--fs-sm);
    color: var(--c-text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-md);
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.surgery-overview__card-link {
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    color: var(--c-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    transition: color var(--duration-fast) var(--ease-out);
}

.surgery-overview__card:hover .surgery-overview__card-link {
    color: var(--c-accent);
}

/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */
.footer {
    background: var(--c-footer);
    color: rgba(255, 255, 255, 0.7);
    padding-top: var(--space-3xl);
}

.footer__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    padding-bottom: var(--space-2xl);
}

@media (min-width: 768px) {
    .footer__inner {
        grid-template-columns: 1.2fr 2fr;
    }
}

.footer__logo-name {
    display: block;
    font-family: var(--ff-heading);
    font-size: 1.5rem;
    color: var(--c-white);
}

.footer__logo-sub {
    display: block;
    font-size: var(--fs-xs);
    color: var(--c-accent);
    margin-bottom: var(--space-md);
}

.footer__desc {
    font-size: var(--fs-sm);
    line-height: 1.7;
    max-width: 320px;
}

.footer__nav {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

@media (min-width: 600px) {
    .footer__nav {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer__nav-title {
    font-family: var(--ff-body);
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    color: var(--c-white);
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.footer__nav-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer__nav-list a {
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--duration-fast);
}

.footer__nav-list a:hover {
    color: var(--c-accent);
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: var(--space-lg) 0;
}

.footer__bottom-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--space-md);
    font-size: var(--fs-xs);
    color: rgba(255, 255, 255, 0.4);
}

.footer__bottom-inner a {
    color: rgba(255, 255, 255, 0.4);
}

.footer__bottom-inner a:hover {
    color: var(--c-accent);
}

/* ═══════════════════════════════════════════════════════
   ANIMATIONS — Scroll reveal
   ═══════════════════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity var(--duration-slow) var(--ease-out),
                transform var(--duration-slow) var(--ease-out);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered children */
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity var(--duration-slow) var(--ease-out),
                transform var(--duration-slow) var(--ease-out);
}

.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0ms; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 100ms; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 200ms; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 300ms; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 400ms; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 500ms; opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════════════════
   ACCESSIBILITY — Reduced motion
   ═══════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .reveal,
    .reveal-stagger > *,
    .journey__step {
        opacity: 1;
        transform: none;
    }
}

/* ═══════════════════════════════════════════════════════
   PRINT
   ═══════════════════════════════════════════════════════ */
@media print {
    .header,
    .hero__visual,
    .raac__visual,
    .cta-final {
        display: none;
    }

    body {
        color: #000;
        background: #fff;
        font-size: 12pt;
    }

    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
}

/* ═══════════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════════ */

.faq {
    padding: 5rem 0 6rem;
    background: #f8f9fb;
}

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

.faq__item {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e8ecf1;
    overflow: hidden;
    margin-bottom: 0.75rem;
    transition: box-shadow 0.3s ease;
}

.faq__item[open] {
    box-shadow: 0 4px 16px rgba(30, 58, 95, 0.08);
}

.faq__question {
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-primary);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.faq__question::-webkit-details-marker {
    display: none;
}

.faq__question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--color-accent);
    min-width: 24px;
    text-align: center;
    transition: transform 0.3s ease;
}

.faq__item[open] .faq__question::after {
    content: '−';
    transform: rotate(180deg);
}

.faq__answer {
    padding: 0 1.5rem 1.25rem;
    color: var(--color-text);
    font-size: 0.92rem;
    line-height: 1.7;
}

.faq__answer p {
    margin: 0;
}

.faq__answer a {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

@media (min-width: 768px) {
    .faq__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ═══════════════════════════════════════════════════════
   PAGE 404
   ═══════════════════════════════════════════════════════ */

.error-404 {
    padding: 6rem 0 4rem;
    text-align: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.error-404__inner {
    max-width: 700px;
    margin: 0 auto;
}

.error-404__visual {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.error-404__code {
    font-family: 'DM Serif Display', serif;
    font-size: 8rem;
    font-weight: 400;
    color: #e8ecf1;
    line-height: 1;
    letter-spacing: -0.02em;
}

.error-404__icon {
    position: absolute;
    stroke: var(--color-accent, #5ba0d9);
    opacity: 0.6;
}

.error-404__title {
    font-family: 'DM Serif Display', serif;
    font-size: 2rem;
    color: var(--color-primary, #1e3a5f);
    margin: 0 0 1rem;
}

.error-404__text {
    font-size: 1.05rem;
    color: var(--color-text, #5a6b7d);
    line-height: 1.7;
    margin: 0 0 2rem;
}

.error-404__links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.error-404__suggestions {
    padding-top: 3rem;
    border-top: 1px solid #e8ecf1;
}

.error-404__suggestions-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text, #5a6b7d);
    margin: 0 0 1.5rem;
}

.error-404__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.error-404__card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: #fff;
    border: 1px solid #e8ecf1;
    border-radius: 10px;
    text-decoration: none;
    color: var(--color-primary, #1e3a5f);
    font-weight: 500;
    font-size: 0.92rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.error-404__card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 58, 95, 0.1);
}

.error-404__card svg {
    stroke: var(--color-accent, #5ba0d9);
    min-width: 24px;
}

@media (max-width: 600px) {
    .error-404__code {
        font-size: 5rem;
    }

    .error-404__title {
        font-size: 1.5rem;
    }

    .error-404__grid {
        grid-template-columns: 1fr;
    }

    .error-404 {
        padding: 4rem 0 3rem;
    }
}

/* ═══════════════════════════════════════════════════════
   CONSULTATIONS DÉPORTÉES — PAGE AUTONOME
   ═══════════════════════════════════════════════════════ */

/* Intro lead */
.deported-intro {
    padding: 2.5rem 0 1.5rem;
}

.deported-intro__lead {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #3a4a5c;
    max-width: 900px;
    margin: 0;
}

/* Section titre */
.deported-section {
    padding: 2rem 0 3rem;
    background: #f8f9fb;
}

.deported-section__title {
    font-family: 'DM Serif Display', serif;
    font-size: 1.75rem;
    color: #1e3a5f;
    text-align: center;
    margin: 0 0 2rem;
}

/* Grille des cartes */
.deported-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.deported-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e8ecf1;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.deported-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(30, 58, 95, 0.1);
}

.deported-card__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, #1e3a5f, #2a5a8c);
    color: #fff;
}

.deported-card__icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
}

.deported-card__icon svg { stroke: #fff; }

.deported-card__city {
    font-family: 'DM Serif Display', serif;
    font-size: 1.25rem;
    font-weight: 400;
    color: #fff;
    margin: 0;
}

.deported-card__dept {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0.15rem 0 0;
}

.deported-card__body { padding: 1.25rem 1.5rem; }

.deported-card__name {
    font-weight: 600;
    color: #1e3a5f;
    font-size: 0.95rem;
    margin: 0 0 0.35rem;
}

.deported-card__address {
    font-size: 0.88rem;
    color: #5a6b7d;
    line-height: 1.5;
    margin: 0 0 0.75rem;
}

.deported-card__contact {
    padding-top: 0.75rem;
    border-top: 1px solid #f0f2f5;
}

.deported-card__phone {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #1e3a5f;
    text-decoration: none;
    transition: color 0.2s;
}

.deported-card__phone:hover { color: #5ba0d9; }
.deported-card__phone svg { stroke: #5ba0d9; }

.deported-card__map {
    border-top: 1px solid #e8ecf1;
}

.deported-card__map iframe {
    width: 100%;
    height: 150px;
    border: 0;
    display: block;
    border-radius: 0 0 12px 12px;
    filter: saturate(0.8);
    transition: filter 0.3s;
}

.deported-card:hover .deported-card__map iframe {
    filter: saturate(1);
}

@media (min-width: 600px) {
    .deported-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .deported-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Info pratique */
.deported-info { padding: 3rem 0; }

.deported-info__title {
    font-family: 'DM Serif Display', serif;
    font-size: 1.5rem;
    color: #1e3a5f;
    text-align: center;
    margin: 0 0 2rem;
}

.deported-info__cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 600px) {
    .deported-info__cards { grid-template-columns: repeat(2, 1fr); }
}

.deported-info__card {
    background: #f8f9fb;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}

.deported-info__card svg {
    stroke: #5ba0d9;
    margin-bottom: 1rem;
}

.deported-info__card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1e3a5f;
    margin: 0 0 0.75rem;
}

.deported-info__card p {
    font-size: 0.9rem;
    color: #5a6b7d;
    line-height: 1.6;
    margin: 0;
}

.deported-info__card a { color: #1e3a5f; }

/* CTA bottom — réutilise le hero bleu */
.deported-cta {
    padding: 3rem 0;
    background: linear-gradient(135deg, #0f2a4a 0%, #1e3a5f 50%, #2a5a8c 100%);
    text-align: center;
}

.deported-cta__text {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 1.5rem;
}

/* Lien déporté dans sidebar parcours de soins */
/* Carte consultations déportées dans sidebar */
.surgery-sidebar__deported-card {
    background: linear-gradient(135deg, #5ba0d9, #3eb8d7);
    border-radius: 12px;
    padding: 1.25rem;
    color: #fff;
    text-decoration: none;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.surgery-sidebar__deported-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(62, 184, 215, 0.35);
}

.surgery-sidebar__deported-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.6rem;
}

.surgery-sidebar__deported-card-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 8px;
}

.surgery-sidebar__deported-card-icon svg {
    stroke: #fff;
}

.surgery-sidebar__deported-card-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.surgery-sidebar__deported-card-text {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    margin: 0 0 0.75rem;
}

.surgery-sidebar__deported-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ═══════════════════════════════════════════════════════
   MENTIONS LÉGALES
   ═══════════════════════════════════════════════════════ */

.mentions-legales {
    padding: 3rem 0 4rem;
}

.mentions-legales__title {
    font-family: 'DM Serif Display', serif;
    font-size: 2rem;
    color: var(--c-primary);
    margin: 0 0 2rem;
}

.mentions-legales__content {
    max-width: 800px;
}

.mentions-legales__section {
    margin-bottom: 2.5rem;
}

.mentions-legales__section h2 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--c-primary);
    margin: 0 0 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e8ecf1;
}

.mentions-legales__section p {
    font-size: 0.92rem;
    line-height: 1.7;
    color: #4a5568;
    margin: 0 0 0.75rem;
}

.mentions-legales__section a {
    color: #5ba0d9;
    text-decoration: none;
}

.mentions-legales__section a:hover {
    text-decoration: underline;
}

.mentions-legales__list {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 0;
}

.mentions-legales__list li {
    font-size: 0.92rem;
    line-height: 1.7;
    color: #4a5568;
    padding: 0.35rem 0;
    border-bottom: 1px solid #f0f2f5;
}

.mentions-legales__list li:last-child {
    border-bottom: none;
}

/* ═══════════════════════════════════════════════════════
   PAGES SEO (pathologies, géo, landing)
   ═══════════════════════════════════════════════════════ */

.seo-content {
    padding: 4rem 0 3rem;
}

.seo-content__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

.seo-content__block {
    margin-bottom: 2.5rem;
}

.seo-content__block:last-child {
    margin-bottom: 0;
}

.seo-content__block h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.6rem;
    color: var(--c-primary, #1e3a5f);
    margin: 0 0 1rem;
}

.seo-content__block h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--c-primary, #1e3a5f);
    margin: 1.5rem 0 0.75rem;
}

.seo-content__block p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--c-text, #5a6b7d);
    margin: 0 0 1rem;
}

.seo-content__block a {
    color: var(--c-accent, #5ba0d9);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.seo-content__block a:hover {
    color: var(--c-primary, #1e3a5f);
}

.seo-content__list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
}

.seo-content__list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.6rem;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--c-text, #5a6b7d);
}

.seo-content__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--c-accent, #5ba0d9);
}

.seo-content__list li a {
    color: var(--c-accent, #5ba0d9);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Sidebar */
.seo-content__aside {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.seo-content__aside-card {
    background: #fff;
    border: 1px solid #e8ecf1;
    border-radius: 12px;
    padding: 1.5rem;
}

.seo-content__aside-card h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--c-accent, #5ba0d9);
    margin: 0 0 0.75rem;
}

.seo-content__aside-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--c-text, #5a6b7d);
    margin: 0 0 0.5rem;
}

.seo-content__aside-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.seo-content__aside-card ul li {
    padding: 0.4rem 0;
    border-bottom: 1px solid #f0f2f5;
}

.seo-content__aside-card ul li:last-child {
    border-bottom: none;
}

.seo-content__aside-card ul li a {
    font-size: 0.88rem;
    color: var(--c-primary, #1e3a5f);
    text-decoration: none;
    transition: color 0.2s;
}

.seo-content__aside-card ul li a:hover {
    color: var(--c-accent, #5ba0d9);
}

.seo-content__aside-card .btn--small {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
}

/* Desktop : contenu + sidebar */
@media (min-width: 1024px) {
    .seo-content__inner {
        grid-template-columns: 1fr 300px;
        gap: 3rem;
    }

    .seo-content__aside {
        position: sticky;
        top: 120px;
        align-self: start;
    }
}