/* Variables & Reset */
:root {
    --primary-navy: #0B1E3B;
    --accent-turquoise: #4a9fd4;
    --text-dark: #1A202C;
    --text-gray: #4A5568;
    --white: #ffffff;
    --bg-light: #f7fafc;
    --font-main: 'Inter', sans-serif;
    --transition: all 0.3s ease;
    --header-height: 74px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ================================================
   NAVBAR PREMIUM
   ================================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(11, 30, 59, 0.06);
    padding: 0.9rem 0;
    transition: padding 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.site-header.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 6px 32px rgba(11, 30, 59, 0.08);
    border-bottom-color: rgba(11, 30, 59, 0.1);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

/* --- Logo --- */
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.logo-img {
    height: 44px;
    width: auto;
    display: block;
    transition: height 0.35s ease;
}

.site-header.scrolled .logo-img {
    height: 37px;
}

/* ================================================
   DROPDOWN NAVIGATION
   ================================================ */

/* Conteneur relatif */
.nav-item-dropdown {
    position: relative;
    padding-bottom: 12px; /* comble le gap pour garder le hover jusqu'au panel */
    margin-bottom: -12px;
}

/* Chevron */
.nav-caret {
    font-size: 0.52rem;
    margin-left: 0.2rem;
    transition: transform 0.3s ease;
    vertical-align: middle;
}

.nav-item-dropdown:hover .nav-caret {
    transform: rotate(180deg);
}

/* Panel dropdown */
.nav-dropdown {
    position: absolute;
    top: calc(100% + 2px);
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    background: white;
    border: 1px solid rgba(11, 30, 59, 0.08);
    border-radius: 16px;
    padding: 0.5rem;
    min-width: 220px;
    box-shadow: 0 20px 60px rgba(11, 30, 59, 0.14), 0 4px 16px rgba(11, 30, 59, 0.06);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
    z-index: 200;
    list-style: none;
    margin: 0;
}

/* Petit triangle indicateur */
.nav-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 6px;
    background: white;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    filter: drop-shadow(0 -2px 2px rgba(11,30,59,0.06));
}

.nav-item-dropdown:hover .nav-dropdown,
.nav-item-dropdown.dropdown-open .nav-dropdown {
    opacity: 1;
    pointer-events: all;
    transform: translateX(-50%) translateY(0);
}

.nav-item-dropdown.dropdown-open .nav-caret {
    transform: rotate(180deg);
}

/* Items du dropdown */
.nav-dropdown li {
    list-style: none;
}

.nav-dropdown li a {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.58rem 0.85rem;
    border-radius: 10px;
    color: var(--text-gray);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.18s ease, color 0.18s ease;
    white-space: nowrap;
}

.nav-dropdown li a:hover {
    background: rgba(74, 159, 212, 0.08);
    color: var(--primary-navy);
}

.nav-dropdown li a i {
    color: var(--accent-turquoise);
    font-size: 0.78rem;
    width: 15px;
    text-align: center;
    flex-shrink: 0;
}

/* ── Drawer mobile : sous-liste services ── */
.drawer-svc-parent {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 0;
}

.drawer-svc-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.82);
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 500;
    padding: 0.9rem 0 0.3rem;
    cursor: pointer;
}

.drawer-svc-caret {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    transition: transform 0.25s ease;
}

.drawer-svc-parent.open .drawer-svc-caret {
    transform: rotate(180deg);
}

.drawer-svc-sub {
    display: flex;
    flex-direction: column;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.drawer-svc-parent.open .drawer-svc-sub {
    max-height: 400px;
}

.drawer-svc-sub li a {
    display: block;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.86rem;
    font-weight: 500;
    padding: 0.38rem 0;
    text-decoration: none;
    transition: color 0.2s ease;
}

.drawer-svc-sub li a:hover {
    color: var(--accent-turquoise);
}

/* --- Navigation desktop --- */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.main-nav > ul {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    position: relative;
    display: inline-block;
    color: var(--text-gray);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0.9rem;
    border-radius: 8px;
    text-decoration: none;
    transition: color 0.25s ease, background 0.25s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 2px;
    background: var(--accent-turquoise);
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-link:hover {
    color: var(--primary-navy);
    background: rgba(74, 159, 212, 0.07);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-link.active {
    color: var(--primary-navy);
    font-weight: 600;
}

/* --- Actions desktop --- */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    flex-shrink: 0;
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--text-gray);
    font-size: 0.87rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.25s ease;
    white-space: nowrap;
}

.nav-phone i {
    color: var(--accent-turquoise);
    font-size: 0.78rem;
}

.nav-phone:hover {
    color: var(--primary-navy);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-navy);
    color: white;
    padding: 0.62rem 1.3rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(11, 30, 59, 0.18);
}

.nav-cta i {
    font-size: 0.82rem;
}

.nav-cta:hover {
    background: var(--accent-turquoise);
    box-shadow: 0 6px 20px rgba(74, 159, 212, 0.38);
    transform: translateY(-1px);
}

/* --- Hamburger --- */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: 1px solid rgba(11, 30, 59, 0.13);
    border-radius: 10px;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.nav-toggle:hover {
    background: rgba(74, 159, 212, 0.08);
    border-color: var(--accent-turquoise);
}

.bar {
    width: 18px;
    height: 2px;
    background: var(--primary-navy);
    border-radius: 2px;
    display: block;
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

.nav-toggle.open .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open .bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Drawer mobile --- */
.nav-drawer {
    display: none;
    background: var(--primary-navy);
    padding: 1.5rem 2rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-drawer.open {
    display: block;
    animation: drawerOpen 0.28s ease forwards;
}

@keyframes drawerOpen {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.nav-drawer ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.nav-drawer ul li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-drawer ul li a {
    display: block;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.05rem;
    font-weight: 500;
    padding: 0.9rem 0;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-drawer ul li a:hover {
    color: var(--accent-turquoise);
}

.nav-drawer-bottom {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 1.25rem;
}

.nav-drawer-bottom > a:first-child {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
    text-decoration: none;
}

.nav-drawer-bottom > a:first-child i {
    color: var(--accent-turquoise);
}

.nav-drawer-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4a9fd4 0%, #2e85be 100%);
    color: white;
    padding: 0.9rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.3s ease;
}

.nav-drawer-cta:hover {
    background: #3b8bc2;
}

/* --- Responsive --- */
@media (max-width: 960px) {
    .nav-phone {
        display: none;
    }
}

@media (max-width: 768px) {
    .main-nav,
    .header-actions {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }
}

/* ================================================
   HERO SECTION — Premium Full-Bleed
   ================================================ */

.hero-section {
    position: relative;
    height: calc(100vh - var(--header-height));
    min-height: 580px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* --- Fond image --- */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    /* Dégradé premium : navy profond → navy légèrement lumineux vers le centre */
    background: linear-gradient(
        135deg,
        #071526 0%,
        #0B1E3B 45%,
        #0d2347 100%
    );
}

/* Éclat lumineux haut-gauche */
.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        ellipse 45% 55% at 2% 10%,
        rgba(74, 159, 212, 0.22) 0%,
        transparent 100%
    );
    z-index: 1;
    pointer-events: none;
}

.hero-bg-img {
    position: absolute;
    right: 0;
    top: 0;
    width: 78%;
    height: 100%;
    object-fit: cover;
    object-position: center 50%;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        /* Halo turquoise bas-gauche pour la profondeur */
        radial-gradient(
            ellipse 45% 55% at 2% 85%,
            rgba(74, 159, 212, 0.22) 0%,
            transparent 100%
        ),
        /* Dégradé principal gauche → droite */
        linear-gradient(
            108deg,
            rgba(11, 30, 59, 0.58) 0%,
            rgba(11, 30, 59, 0.40) 25%,
            rgba(11, 30, 59, 0.14) 55%,
            rgba(11, 30, 59, 0.00) 100%
    );
}

/* --- Container --- */
.hero-container {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* --- Contenu principal (gauche) --- */
.hero-main {
    max-width: 720px;
}

/* Badge pill */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(11, 30, 59, 0.55);
    border: 1px solid rgba(74, 159, 212, 0.55);
    color: #ffffff;
    font-size: 0.98rem;
    font-weight: 500;
    padding: 0.6rem 1.3rem;
    border-radius: 50px;
    margin-bottom: 1.75rem;
    letter-spacing: 0.03em;
    opacity: 0;
    animation: heroFadeUp 0.7s ease-out 0.1s forwards;
}

.hero-badge i {
    color: var(--accent-turquoise);
    font-size: 0.9rem;
}

/* Titre */
.hero-title {
    color: white;
    font-size: clamp(2.8rem, 5.2vw, 4.4rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.035em;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: heroFadeUp 0.7s ease-out 0.25s forwards;
}

.hero-title-accent {
    background: linear-gradient(130deg, #2e8dc4 0%, #4a9fd4 60%, #60b8e8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: italic;
    font-weight: 800;
    display: inline-block;
    padding-right: 0.08em;
}

/* Description */
.hero-desc {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.75;
    margin-bottom: 2.5rem;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.75), 0 2px 20px rgba(0, 0, 0, 0.50);
    opacity: 0;
    animation: heroFadeUp 0.7s ease-out 0.4s forwards;
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
}

/* CTAs */
.hero-ctas-mobile-title {
    display: none;
}

.hero-ctas {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: heroFadeUp 0.7s ease-out 0.55s forwards;
}

.hero-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, #4a9fd4 0%, #2e85be 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(74, 159, 212, 0.45);
}

.hero-btn-primary:hover {
    background: #3b8bc2;
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(74, 159, 212, 0.55);
}

.hero-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(11, 30, 59, 0.35);
    backdrop-filter: blur(6px);
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.hero-btn-ghost:hover {
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(11, 30, 59, 0.5);
}

.hero-btn-arrow {
    transition: transform 0.3s ease;
}

.hero-btn-ghost:hover .hero-btn-arrow {
    transform: translateX(4px);
}

/* --- Scroll hint (droite, aligné en bas) --- */
.hero-scroll-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.38);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    align-self: flex-end;
    padding-bottom: 2.5rem;
    opacity: 0;
    animation: heroFadeUp 0.7s ease-out 0.8s forwards;
}

.hero-scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
    animation: scrollPulse 2.2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.35; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.15); }
}

/* --- Stats strip (bas de section) --- */
.hero-stats-strip {
    position: relative;
    z-index: 2;
    background: rgba(8, 22, 46, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding: 1.75rem 0;
    opacity: 0;
    animation: heroFadeUp 0.7s ease-out 0.7s forwards;
}

.hero-stats-row {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 2.75rem;
}

.hero-stat-item strong {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.hero-stat-item span {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.82rem;
    margin-top: 0.2rem;
    letter-spacing: 0.02em;
}

.hero-stat-sep {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
}

.hero-stat-phone {
    flex-direction: row !important;
    gap: 0.75rem;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.hero-stat-phone:hover {
    opacity: 0.8;
}

.hero-stat-phone i {
    color: var(--accent-turquoise);
    font-size: 1.1rem;
}

.hero-stat-phone > div {
    display: flex;
    flex-direction: column;
}

/* --- Animations d'entrée --- */
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* --- Boutons globaux conservés pour le reste du site --- */
.btn-turquoise-solid {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent-turquoise);
    color: white;
    padding: 1rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-turquoise-solid:hover {
    background: #3b8bc2;
    box-shadow: 0 8px 25px rgba(74, 159, 212, 0.4);
}

.btn-navy {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-navy);
    color: white;
    padding: 1rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-navy:hover {
    background: #0d2847;
    box-shadow: 0 8px 25px rgba(11, 30, 59, 0.3);
}

/* ================================================
   ABOUT SECTION
   ================================================ */

.about-section {
    padding: 6rem 0;
    background: linear-gradient(155deg, #edf5fc 0%, #f0f7fc 45%, #e8f2f9 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 5rem;
    align-items: center;
}

/* --- Image --- */
.about-image-wrap {
    position: relative;
}

.about-img-frame {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(11, 30, 59, 0.18);
}

.about-img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    object-position: center 30%;
    display: block;
    transition: transform 0.7s ease;
}

.about-img-frame:hover .about-img {
    transform: scale(1.03);
}

/* Dégradé bas pour adoucir le sol */
.about-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 50%,
        rgba(11, 30, 59, 0.35) 100%
    );
    pointer-events: none;
}

/* Badge flottant */
.about-img-badge {
    position: absolute;
    bottom: -22px;
    right: -18px;
    background: white;
    border: 1px solid rgba(74, 159, 212, 0.2);
    box-shadow: 0 12px 35px rgba(11, 30, 59, 0.14);
    border-radius: 16px;
    padding: 0.85rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.about-img-badge i {
    font-size: 1.4rem;
    color: var(--accent-turquoise);
}

.about-img-badge strong {
    display: block;
    color: var(--primary-navy);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.2;
}

.about-img-badge span {
    display: block;
    color: var(--text-gray);
    font-size: 0.75rem;
    margin-top: 0.1rem;
}

/* --- Contenu texte --- */
.about-content {
    display: flex;
    flex-direction: column;
}

.about-tag {
    display: inline-block;
    color: var(--accent-turquoise);
    font-weight: 600;
    font-size: 0.92rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.about-title {
    color: var(--primary-navy);
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.025em;
    margin-bottom: 1.75rem;
    text-align: left;
}

.about-title-accent {
    background: linear-gradient(130deg, #4a9fd4 0%, #7dd3fc 60%, #bae6fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text {
    color: var(--text-gray);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.25rem;
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
}

/* Adresse premium */
.about-address-row {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: linear-gradient(135deg, #0B1E3B 0%, #16336e 100%);
    border-radius: 18px;
    padding: 1.4rem 2rem;
    margin: 2rem 0 2.25rem;
    box-shadow: 0 10px 40px rgba(11, 30, 59, 0.22), 0 2px 8px rgba(74, 159, 212, 0.12);
    position: relative;
    overflow: hidden;
}

.about-address-row::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(74, 159, 212, 0.22) 0%, transparent 70%);
    pointer-events: none;
}

.about-address-icon-wrap {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: rgba(74, 159, 212, 0.15);
    border: 1px solid rgba(74, 159, 212, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-address-icon {
    color: var(--accent-turquoise);
    font-size: 1.25rem;
}

.about-address-text {
    display: flex;
    flex-direction: column;
}

.about-address-text strong {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.about-address-text span {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.82rem;
    margin-top: 0.15rem;
}

/* Lien en savoir plus */
.about-learn-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--accent-turquoise);
    text-decoration: none;
    letter-spacing: 0.01em;
    transition: gap 0.2s ease, opacity 0.2s ease;
}

.about-learn-more i {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.about-learn-more:hover {
    opacity: 0.8;
}

.about-learn-more:hover i {
    transform: translateX(4px);
}

/* CTA */
.about-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--primary-navy);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border-bottom: 2px solid var(--accent-turquoise);
    padding-bottom: 3px;
    align-self: flex-start;
    transition: gap 0.3s ease, color 0.2s ease;
}

.about-cta:hover {
    color: var(--accent-turquoise);
    gap: 0.9rem;
}

.about-cta-arrow {
    transition: transform 0.3s ease;
}

.about-cta:hover .about-cta-arrow {
    transform: translateX(3px);
}

/* Responsive about */
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-img {
        height: 340px;
        object-position: center 25%;
    }

    .about-img-badge {
        bottom: 14px;
        right: 14px;
    }

    .about-title {
        font-size: 1.9rem;
    }
}

/* ================================================
   SERVICES SECTION
   ================================================ */

.services-section {
    padding: 7rem 0 6rem;
    background: linear-gradient(180deg, #f8fafd 0%, #edf4f9 100%);
}

.services-header {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 4.5rem;
}

.services-tag {
    display: inline-block;
    color: var(--accent-turquoise);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.services-title {
    color: var(--primary-navy);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.025em;
    margin-bottom: 1.25rem;
}

.services-title-accent {
    background: linear-gradient(130deg, #4a9fd4 0%, #7dd3fc 60%, #bae6fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services-subtitle {
    color: var(--text-gray);
    font-size: 1.05rem;
    line-height: 1.7;
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
}

/* Grille 4 colonnes */
.svc-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (max-width: 1100px) {
    .svc-grid { grid-template-columns: repeat(2, 1fr); }
    .svc-card { height: 300px; }
}

@media (max-width: 580px) {
    .svc-grid { grid-template-columns: 1fr; }
    .svc-card { height: 260px; }
}

/* ── Card "bientôt disponible" ── */
.svc-card--soon {
    cursor: default;
    pointer-events: none;
    opacity: 0.82;
}
.svc-card--soon:hover { transform: none; box-shadow: 0 8px 32px rgba(11,30,59,0.18); }

.svc-card-soon-ribbon {
    position: absolute;
    top: 16px;
    right: -1px;
    z-index: 4;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 5px 14px 5px 12px;
    border-radius: 4px 0 0 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
    white-space: nowrap;
}

.svc-link--soon {
    color: #fcd34d;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* ── Carte photo ── */
.svc-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    display: block;
    height: 320px;
    box-shadow: 0 8px 32px rgba(11, 30, 59, 0.18);
    transition: transform 0.45s cubic-bezier(0.165, 0.84, 0.44, 1),
                box-shadow 0.45s ease;
}

/* Photo de fond */
.svc-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Overlay gradient bas → haut */
.svc-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to top,
        rgba(7, 21, 38, 0.93) 0%,
        rgba(7, 21, 38, 0.62) 38%,
        rgba(7, 21, 38, 0.18) 65%,
        transparent 100%
    );
    transition: background 0.4s ease;
}

/* Liseré gradient en haut */
.svc-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    z-index: 3;
    background: linear-gradient(90deg, #0B1E3B 0%, #4a9fd4 55%, #7dd3fc 100%);
    opacity: 0.7;
    transition: opacity 0.3s ease, height 0.3s ease;
}

.svc-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 24px 60px rgba(11, 30, 59, 0.28);
}

.svc-card:hover .svc-card-bg {
    transform: scale(1.07);
}

.svc-card:hover::before {
    background: linear-gradient(
        to top,
        rgba(7, 21, 38, 0.97) 0%,
        rgba(7, 21, 38, 0.72) 42%,
        rgba(7, 21, 38, 0.28) 70%,
        transparent 100%
    );
}

.svc-card:hover::after {
    opacity: 1;
    height: 4px;
}

/* Contenu positionné par-dessus */
.svc-card-body {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.4rem 1.5rem 1.6rem;
}

/* Tête : badge icône */
.svc-card-head {
    display: flex;
    align-items: flex-start;
}

.svc-badge {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    flex-shrink: 0;
}

.svc-card:hover .svc-badge {
    background: rgba(74, 159, 212, 0.45);
    border-color: rgba(74, 159, 212, 0.6);
    transform: scale(1.05);
}


/* Pied : titre + desc + lien */
.svc-card-foot {
    display: flex;
    flex-direction: column;
}

.svc-title {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 0.6rem;
    letter-spacing: -0.01em;
}


.svc-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #7dd3fc;
    font-size: 0.82rem;
    font-weight: 600;
    transition: gap 0.3s ease, color 0.3s ease;
}

.svc-card:hover .svc-link {
    gap: 0.7rem;
    color: #bae6fd;
}

.svc-arrow {
    font-size: 0.65rem;
    transition: transform 0.3s ease;
}

.svc-card:hover .svc-arrow { transform: translateX(4px); }

/* ── Stagger entrance animation (same as hero) ── */
.svc-grid.anim-ready .svc-card {
    opacity: 0;
}

.svc-grid.anim-visible .svc-card {
    animation: heroFadeUp 0.7s ease-out both;
    animation-delay: calc(var(--i, 0) * 0.1s);
}

/* Bannière CTA */
.services-cta-banner {
    background: linear-gradient(135deg, #071526 0%, #0B1E3B 40%, #0e3060 75%, #0c3a72 100%);
    border-radius: 20px;
    padding: 2rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
    overflow: hidden;
}

.services-cta-banner::before {
    content: '';
    position: absolute;
    right: -60px;
    top: -60px;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(74, 159, 212, 0.18) 0%, transparent 68%);
    pointer-events: none;
}

.services-cta-text strong {
    display: block;
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.services-cta-text p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
}

.services-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, #4a9fd4 0%, #2e85be 100%);
    color: white;
    padding: 0.9rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    text-decoration: none;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(74, 159, 212, 0.35);
}

.services-cta-btn:hover {
    background: #3b8bc2;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(74, 159, 212, 0.45);
}

@media (max-width: 580px) {
    .services-cta-banner {
        flex-direction: column;
        text-align: center;
    }
}

/* Standard Sections */
.section {
    padding: 5rem 0;
}

h2 {
    color: var(--primary-navy);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

footer {
    background: var(--primary-navy);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .hero-section {
        height: auto;
        min-height: calc(100svh - var(--header-height));
    }

    .hero-bg-img {
        width: 100%;
        left: 0;
        right: 0;
        object-fit: cover;
        object-position: center 20%;
    }

    .hero-container {
        flex-direction: column;
        align-items: flex-start;
        padding-top: 3.5rem;
        padding-bottom: 2rem;
        gap: 0;
    }

    .hero-scroll-hint {
        display: none;
    }

    .hero-title {
        display: none;
    }


    .hero-desc {
        display: none;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-btn-primary {
        display: none;
    }

    .hero-main {
        display: flex;
        flex-direction: column;
        flex: 1;
    }

    .hero-ctas {
        margin-top: auto;
        padding-bottom: 1rem;
    }

    .hero-btn-ghost {
        position: static;
        font-size: 0.85rem;
        padding: 0.7rem 1.15rem;
        margin-top: 0.75rem;
    }

    .hero-ctas-mobile-title {
        display: none;
        color: #ffffff;
        font-size: 1.5rem;
        font-weight: 800;
        white-space: nowrap;
        margin-top: 4rem;
        margin-bottom: 0.2rem;
        margin-left: 1.5rem;
        text-shadow: 0 1px 6px rgba(0,0,0,0.4);
        align-self: flex-start;
    }

    .hero-ctas-mobile-title .hero-title-accent {
        background: linear-gradient(130deg, #7dd3fc 0%, #93c5fd 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .hero-stats-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
        padding: 0;
    }

    .hero-stat-item {
        padding: 0.85rem 1rem;
        align-items: flex-start;
        border-right: 1px solid rgba(255, 255, 255, 0.08);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    /* colonne droite : 3e et 7e enfants (items 2 et 4, seps au 2,4,6) */
    .hero-stat-item:nth-child(3),
    .hero-stat-item:nth-child(7) {
        border-right: none;
    }

    /* dernière ligne : 5e et 7e enfants (items 3 et 4) */
    .hero-stat-item:nth-child(5),
    .hero-stat-item:nth-child(7) {
        border-bottom: none;
    }

    .hero-stat-item strong {
        font-size: 1.25rem;
    }

    .hero-stat-item span {
        font-size: 0.7rem;
        white-space: nowrap;
    }

    .hero-stat-sep {
        display: none;
    }

    .hero-badge {
        font-size: 0.72rem;
        padding: 0.5rem 0.9rem;
        white-space: nowrap;
    }
}

/* ================================================
   SPECIALTY PAGES — SHARED
   ================================================ */

/* Hero */
.sp-hero {
    position: relative;
    min-height: 440px;
    display: flex;
    align-items: center;
    background: var(--primary-navy);
    overflow: hidden;
}

.sp-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11, 30, 59, 0.98) 0%, rgba(30, 64, 175, 0.55) 100%);
}

/* Background decorative circles */
.sp-hero-deco {
    position: absolute;
    right: -100px;
    top: 50%;
    transform: translateY(-50%);
    width: 560px;
    height: 560px;
    border-radius: 50%;
    border: 1px solid rgba(59, 130, 246, 0.1);
    pointer-events: none;
}

.sp-hero-deco::before {
    content: '';
    position: absolute;
    inset: 50px;
    border-radius: 50%;
    border: 1px solid rgba(59, 130, 246, 0.08);
}

.sp-hero-deco::after {
    content: '';
    position: absolute;
    inset: 120px;
    border-radius: 50%;
    border: 1px solid rgba(59, 130, 246, 0.06);
}

/* Giant icon watermark */
.sp-hero-icon-bg {
    display: none;
}

.sp-hero-icon-synlab {
    height: 130px;
    width: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
    opacity: 1;
    border-radius: 20px;
}

.sp-hero-content {
    position: relative;
    z-index: 2;
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
    color: white;
}

.sp-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.sp-breadcrumb a {
    color: rgba(255, 255, 255, 0.45);
    transition: color 0.2s;
}

.sp-breadcrumb a:hover {
    color: rgba(255, 255, 255, 0.85);
}

.sp-breadcrumb span:last-child {
    color: rgba(255, 255, 255, 0.75);
}

.sp-breadcrumb-sep {
    font-size: 0.55rem;
    opacity: 0.5;
}

.sp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #93c5fd;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    margin-bottom: 1.25rem;
}

.sp-hero-title {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 1.1rem;
    letter-spacing: -0.025em;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

.sp-hero-title-accent {
    color: #60a5fa;
}

.sp-hero-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.68);
    max-width: 520px;
    margin-bottom: 2rem;
    line-height: 1.7;
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
}

/* Contact CTA card — used at the bottom of every specialty page */
.contact-cta {
    position: relative;
    background: #0B1E3B;
    border-radius: 24px;
    padding: 2.25rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}
.contact-cta-glow {
    position: absolute;
    top: -70px;
    left: -70px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.18) 0%, transparent 70%);
    pointer-events: none;
}
.contact-cta-left {
    position: relative;
    z-index: 1;
    max-width: 560px;
}
.contact-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #93c5fd;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    margin-bottom: 1rem;
}
.contact-cta-badge i {
    font-size: 0.5rem;
    color: #3b82f6;
}
.contact-cta-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 0.75rem;
}
.contact-cta-text {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.92rem;
    line-height: 1.6;
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
}
.contact-cta-right {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    flex-shrink: 0;
}
.contact-cta-email {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 0.85rem 1.25rem;
}
.contact-cta-email-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #60a5fa;
    border-radius: 10px;
    font-size: 0.95rem;
    flex-shrink: 0;
}
.contact-cta-email-label {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0.15rem;
}
.contact-cta-email-value {
    display: block;
    color: #fff;
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
}
.contact-cta-email-value:hover {
    color: #93c5fd;
}
.contact-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.85rem 1.5rem;
    border-radius: 14px;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
}
.contact-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.45);
}
@media (max-width: 720px) {
    .contact-cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.75rem;
    }
    .contact-cta-right {
        width: 100%;
    }
    .contact-cta-email,
    .contact-cta-btn {
        width: 100%;
    }
}

.sp-hero-link {
    color: #90e0ef;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.sp-hero-link:hover {
    color: #fff;
}

.sp-hero-synlab-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}

.sp-hero-synlab-label {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.sp-hero-synlab-logo {
    height: 36px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.sp-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.sp-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.76rem;
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
    transition: background 0.2s, border-color 0.2s;
}

.sp-hero-tag i {
    font-size: 0.65rem;
    color: #60a5fa;
}

.sp-hero-tag:hover {
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.25);
}

/* Layout */
.sp-layout {
    display: grid;
    grid-template-columns: 1fr 310px;
    gap: 3rem;
    padding-top: 3.5rem;
    padding-bottom: 5rem;
    align-items: start;
}

/* Main content */
.sp-main {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    min-width: 0;
}

.sp-section-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #3b82f6;
    margin-bottom: 1.25rem;
}

.sp-section-label i {
    font-size: 0.85rem;
}

.sp-section-title--hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.sp-section-title {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--primary-navy);
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    line-height: 1.18;
    text-align: left;
}


.sp-section-subtitle {
    font-size: 0.97rem;
    color: var(--text-gray);
    line-height: 1.75;
    margin-bottom: 2rem;
    max-width: 720px;
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
}

/* Intro card */
.sp-intro-card {
    background: white;
    border-radius: 16px;
    padding: 2rem 2.25rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 16px rgba(11, 30, 59, 0.05);
    position: relative;
    overflow: hidden;
}

.sp-intro-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #4a9fd4, #0B1E3B);
    border-radius: 4px 0 0 4px;
}

.sp-intro-text {
    color: var(--text-gray);
    line-height: 1.85;
    font-size: 1rem;
    text-align: justify;
}

.sp-intro-text + .sp-intro-text {
    margin-top: 0.9rem;
}

/* Exam cards */
.sp-exam-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem;
}

.exam-card {
    background: white;
    border-radius: 14px;
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 6px rgba(11, 30, 59, 0.04);
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
    scroll-margin-top: calc(var(--header-height) + 1.5rem);
    min-width: 0;
}

.exam-card:hover {
    border-color: #bfdbfe;
    box-shadow: 0 8px 28px rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.exam-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.exam-card-icon--blue   { background: rgba(59, 130, 246, 0.1);  color: #3b82f6; }
.exam-card-icon--teal   { background: rgba(20, 184, 166, 0.1);  color: #14b8a6; }
.exam-card-icon--pink   { background: rgba(236, 72, 153, 0.1);  color: #ec4899; }
.exam-card-icon--purple { background: rgba(139, 92, 246, 0.1);  color: #8b5cf6; }
.exam-card-icon--navy   { background: rgba(3, 105, 161, 0.1);  color: #0369a1; }
.exam-card-icon--amber  { background: rgba(245, 158, 11, 0.1);  color: #f59e0b; }
.exam-card-icon--indigo { background: rgba(99, 102, 241, 0.1);  color: #6366f1; }

.exam-card-header {
    display: flex;
    align-items: stretch;
    gap: 0.75rem;
    margin-bottom: 0.6rem;
}

.exam-card-header .exam-card-icon {
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    width: 44px;
    height: auto;
}

.exam-card-header .exam-card-title {
    margin: 0;
    align-self: center;
}

.exam-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.exam-card-desc {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.75;
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
}

.exam-card-note {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    color: #c0392b;
    background: rgba(192, 57, 43, 0.07);
    border-left: 3px solid #e57373;
    border-radius: 0 4px 4px 0;
    padding: 0.35rem 0.65rem;
    margin-top: 0.75rem;
}

.exam-card-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.exam-card-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.92rem;
    color: var(--text-gray);
    line-height: 1.65;
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
}

.exam-card-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4a9fd4;
    flex-shrink: 0;
    margin-top: 8px;
}

/* Checkmark variant — bold lead-in + circular check bullet instead of a dot */
.exam-card-list--check {
    gap: 1.1rem;
}
.exam-card-list--check li {
    gap: 0.85rem;
}
.exam-card-list--check li::before {
    display: none;
}
.exam-card-list--check strong {
    color: var(--primary-navy);
    font-weight: 700;
}
.exam-check {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin-top: 1px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.12);
    color: #2563eb;
    font-size: 0.65rem;
}

.exam-card-icon--lg {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    font-size: 1.3rem;
}

.exam-card-tag {
    display: inline-block;
    margin-top: 0.85rem;
    font-size: 0.68rem;
    font-weight: 600;
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.07);
    border-radius: 4px;
    padding: 0.2rem 0.55rem;
}

/* Preparation */
.prep-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem;
}

.prep-card {
    background: white;
    border-radius: 14px;
    padding: 1.35rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 6px rgba(11, 30, 59, 0.04);
}

.prep-card-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.9rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f1f5f9;
}

.prep-card-icon {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    background: rgba(59, 130, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
    font-size: 0.72rem;
    flex-shrink: 0;
}

.prep-card-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-navy);
}

.prep-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.42rem;
}

.prep-card li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.79rem;
    color: var(--text-gray);
    line-height: 1.5;
}

.prep-card li i {
    color: #3b82f6;
    font-size: 0.6rem;
    margin-top: 4px;
    flex-shrink: 0;
}

/* Equipment strip */
.sp-equip-strip-title {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #60a5fa;
}

.sp-equip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.sp-equip-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.78rem;
    font-weight: 500;
    padding: 0.35rem 0.8rem;
    border-radius: 6px;
    transition: background 0.2s;
}

.sp-equip-item i {
    color: #60a5fa;
    font-size: 0.65rem;
}

.sp-equip-item:hover {
    background: rgba(59, 130, 246, 0.15);
}

/* Sidebar */
.sp-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: sticky;
    top: calc(var(--header-height) + 1.5rem);
    padding-left: 2.5rem;
}

/* RDV widget */
.sidebar-rdv {
    background: white;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 24px rgba(11, 30, 59, 0.08);
    overflow: hidden;
}

.sidebar-rdv-header {
    background: linear-gradient(135deg, #0B1E3B 0%, #4a9fd4 100%);
    padding: 1.5rem;
    text-align: center;
    color: white;
}

.sidebar-rdv-header i {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    display: block;
    opacity: 0.9;
}

.sidebar-rdv-header h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.sidebar-rdv-header p {
    font-size: 0.76rem;
    opacity: 0.75;
}

.sidebar-rdv-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.sidebar-rdv-btn-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.12) !important;
    color: white !important;
    font-size: 0.92rem;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: background 0.2s;
}

.sidebar-rdv-btn-phone:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
}

.sidebar-rdv-btn-online {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    background: linear-gradient(135deg, #0B1E3B, #4a9fd4);
    color: white;
    font-size: 0.86rem;
    font-weight: 600;
    transition: opacity 0.2s;
}

.sidebar-rdv-btn-online:hover {
    opacity: 0.9;
    color: white;
}

/* Sidebar generic card */
.sidebar-card {
    background: white;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    padding: 1.25rem;
    box-shadow: 0 2px 8px rgba(11, 30, 59, 0.04);
}

.sidebar-card--attention {
    background: #fffbeb;
    border-color: #fcd34d;
    box-shadow: 0 2px 8px rgba(234, 179, 8, 0.10);
}

.sidebar-card--attention .sidebar-card-title {
    color: #92400e;
}

.sidebar-card--attention .sidebar-card-title i {
    color: #f59e0b;
}

.sidebar-card--attention p {
    font-size: 0.88rem;
    color: #78350f;
    line-height: 1.55;
    margin: 0.6rem 0 0;
}

.sidebar-card-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 0.9rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid #f1f5f9;
}

.sidebar-card-title i {
    color: #3b82f6;
    font-size: 0.75rem;
}

/* Hours in sidebar */
.sidebar-hours {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.sidebar-hour-row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.5rem;
    border-radius: 5px;
    font-size: 0.87rem;
}

.sidebar-hour-row:nth-child(odd) {
    background: #f8fafc;
}

.sidebar-hour-day  { color: var(--text-gray); }
.sidebar-hour-time { color: var(--primary-navy); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sidebar-hour-closed { color: #ef4444; font-weight: 500; }

/* Checklist in sidebar */
.sidebar-checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.sidebar-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.6;
}

.sidebar-checklist li i {
    color: #3b82f6;
    font-size: 0.65rem;
    margin-top: 4px;
    flex-shrink: 0;
}

/* Address in sidebar */
.sidebar-address {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.6;
}

.sidebar-address i {
    color: #3b82f6;
    margin-top: 3px;
    flex-shrink: 0;
}

.sidebar-map-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.4rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #3b82f6;
    transition: color 0.2s;
}

.sidebar-map-link:hover {
    color: #1e40af;
}

.sidebar-map-link i {
    font-size: 0.6rem;
    margin-top: 0;
    color: inherit;
}

/* Lab color variants */
.sp-hero--lab {
    background-image:
        linear-gradient(to left,
            transparent 0%,
            transparent 12%,
            rgba(11, 30, 59, 0.4) 26%,
            rgba(11, 30, 59, 0.75) 36%,
            #0B1E3B 50%),
        url('assets/images/laboratoire.jpg');
    background-size: 100% 100%, 45%;
    background-position: center center, right center;
    background-repeat: no-repeat, no-repeat;
}
.sp-hero--lab .sp-hero-overlay {
    background: linear-gradient(135deg, rgba(11, 30, 59, 0.85) 0%, rgba(153, 27, 27, 0.1) 100%);
}

.sp-hero-partner {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.75rem;
}
.sp-hero-partner-label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
}
.sp-hero-partner-logo {
    height: 38px;
    width: auto;
    object-fit: contain;
    border-radius: 0;
    opacity: 1;
    background: white;
    padding: 6px 12px;
}

.sp-hero--lab .sp-hero-title-accent { color: #fca5a5; }
.sp-hero--lab .sp-hero-badge        { background: rgba(239,68,68,0.15); border-color: rgba(239,68,68,0.3); color: #fca5a5; }
.sp-hero--lab .sp-hero-tag i        { color: #fca5a5; }

.sp-intro-card--lab::before         { background: linear-gradient(180deg, #ef4444, #991b1b); }

.sp-section-label--lab              { color: #dc2626; }

.sp-hero--lab .sp-hero-desc {
    font-size: 0.93rem;
    line-height: 1.8;
    max-width: 720px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    border-left: 2px solid rgba(239, 68, 68, 0.4);
    padding-left: 1rem;
}

.exam-card-icon--red    { background: rgba(239, 68,  68,  0.1); color: #ef4444; }
.exam-card-icon--orange { background: rgba(249, 115, 22,  0.1); color: #f97316; }
.exam-card-icon--violet { background: rgba(167, 139, 250, 0.1); color: #a78bfa; }

.exam-card-tag--lab     { color: #dc2626; background: rgba(220,38,38,0.07); }

.prep-card-icon--lab    { background: rgba(239,68,68,0.1); color: #ef4444; }

/* Sidebar lab variant */
.sidebar-rdv-header--lab {
    background: linear-gradient(135deg, #991b1b 0%, #ef4444 100%);
}

.sidebar-no-rdv-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #16a34a;
    background: rgba(22, 163, 74, 0.08);
    border: 1px solid rgba(22, 163, 74, 0.2);
    border-radius: 8px;
    padding: 0.5rem;
    margin-bottom: 0.25rem;
}

/* Process steps */
.lab-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 1.25rem;
}

.lab-step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    position: relative;
    padding-bottom: 2rem;
}

.lab-step:last-child {
    padding-bottom: 0;
}

.lab-step:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 19px;
    top: 40px;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #e5e7eb 0%, transparent 100%);
}

.lab-step-num {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--primary-navy);
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    letter-spacing: 0.02em;
    position: relative;
    z-index: 1;
}

.lab-step-body {
    background: white;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 6px rgba(11,30,59,0.04);
    flex: 1;
}

.lab-step-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 0.4rem;
}

.lab-step-desc {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.7;
    text-align: justify;
}

/* Résultats block */
.lab-results-block {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    background: #ffffff;
    border: 1px solid rgba(239, 68, 68, 0.15);
    border-radius: 20px;
    padding: 2rem 2.25rem;
    box-shadow: 0 8px 40px rgba(239, 68, 68, 0.1), 0 2px 8px rgba(0, 0, 0, 0.04);
    flex-wrap: wrap;
}

.lab-results-deco {
    position: absolute;
    top: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.12) 0%, transparent 65%);
    pointer-events: none;
}

.lab-results-block::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #ef4444 0%, #fca5a5 100%);
    border-radius: 20px 0 0 20px;
}

.lab-results-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
}

.lab-results-attention {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #dc2626;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    white-space: nowrap;
    flex-shrink: 0;
    align-self: flex-start;
}

.lab-results-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.lab-results-text strong {
    color: var(--primary-navy);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
}

.lab-results-text span {
    color: var(--text-gray);
    font-size: 0.95rem;
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
}

.lab-results-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    padding: 0.85rem 1.6rem;
    border-radius: 12px;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 4px 24px rgba(239, 68, 68, 0.4);
    transition: box-shadow 0.2s ease, transform 0.15s ease;
    flex-shrink: 0;
}

.lab-results-phone:hover {
    box-shadow: 0 8px 32px rgba(239, 68, 68, 0.55);
    transform: translateY(-2px);
}

.lab-results-phone i {
    font-size: 0.9rem;
}

.lab-results-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    flex-shrink: 0;
}

.lab-results-synlab-logo {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.sidebar-synlab-logo {
    display: block;
    height: 60px;
    width: auto;
    object-fit: contain;
    margin: 0 auto 1rem;
}

/* ================================================
   POPUP NOUVEAU MÉDECIN
   ================================================ */

.popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(11, 30, 59, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.popup-overlay.popup-visible {
    opacity: 1;
    pointer-events: all;
}

.popup-overlay.popup-hiding {
    opacity: 0;
    pointer-events: none;
}

.popup-card {
    background: white;
    border-radius: 24px;
    width: 100%;
    max-width: 460px;
    box-shadow: 0 32px 80px rgba(11, 30, 59, 0.3);
    position: relative;
    overflow: hidden;
    transform: translateY(24px) scale(0.97);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.popup-overlay.popup-visible .popup-card {
    transform: translateY(0) scale(1);
}

/* Bande décorative en haut */
.popup-card::before {
    content: '';
    display: block;
    height: 4px;
    background: linear-gradient(90deg, #0B1E3B 0%, #4a9fd4 50%, #f43f5e 100%);
}

/* Bouton fermer */
.popup-close {
    position: absolute;
    top: 1.1rem;
    right: 1.1rem;
    z-index: 10;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(11, 30, 59, 0.07);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 0.85rem;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

.popup-close:hover {
    background: rgba(11, 30, 59, 0.12);
    color: var(--primary-navy);
    transform: rotate(90deg);
}

/* Badge "Nouveau médecin" */
.popup-new-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.25);
    color: #16a34a;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 0.3rem 0.85rem;
    border-radius: 20px;
    margin: 1.5rem 0 0 1.5rem;
}

.popup-new-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    animation: popup-pulse 1.5s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes popup-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(0.75); }
}

/* Photo */
.popup-photo-wrap {
    display: flex;
    justify-content: center;
    padding: 1.5rem 1.5rem 0;
    position: relative;
}

.popup-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    border: 4px solid white;
    box-shadow: 0 8px 28px rgba(11, 30, 59, 0.15);
    position: relative;
    z-index: 2;
}

.popup-photo-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 2px solid rgba(59, 130, 246, 0.2);
    animation: popup-ring 2.5s ease-in-out infinite;
}

@keyframes popup-ring {
    0%, 100% { transform: translate(-50%, -50%) scale(1);   opacity: 0.6; }
    50%       { transform: translate(-50%, -50%) scale(1.08); opacity: 0.2; }
}

/* Corps */
.popup-body {
    padding: 1.25rem 1.75rem 1.75rem;
    text-align: center;
}

.popup-specialty {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: #be123c;
    background: rgba(244, 63, 94, 0.07);
    border-radius: 20px;
    padding: 0.25rem 0.75rem;
    margin-bottom: 0.75rem;
}

.popup-specialty i { font-size: 0.65rem; }

.popup-name {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--primary-navy);
    letter-spacing: -0.025em;
    margin-bottom: 0.75rem;
    line-height: 1.1;
}

.popup-desc {
    font-size: 0.84rem;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
}

/* Info row */
.popup-info-row {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.popup-info-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
}

.popup-info-item i {
    font-size: 0.65rem;
    color: #3b82f6;
}

/* Actions */
.popup-actions {
    display: flex;
    gap: 0.75rem;
    flex-direction: column;
}

.popup-btn-rdv {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.25rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #4a9fd4 0%, #2e85be 100%);
    color: white;
    font-size: 0.9rem;
    font-weight: 700;
    transition: opacity 0.2s, transform 0.2s;
}

.popup-btn-rdv:hover { opacity: 0.9; transform: translateY(-1px); color: white; }

.popup-btn-team {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.75rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    color: var(--text-gray);
    font-size: 0.83rem;
    font-weight: 600;
    transition: border-color 0.2s, color 0.2s;
}

.popup-btn-team i { font-size: 0.65rem; transition: transform 0.2s; }
.popup-btn-team:hover { border-color: #3b82f6; color: #1e40af; }
.popup-btn-team:hover i { transform: translateX(3px); }

@media (max-width: 480px) {
    .popup-card { border-radius: 18px; }
    .popup-name { font-size: 1.25rem; }
    .popup-body { padding: 1rem 1.25rem 1.5rem; }
}

/* ================================================
   EQUIPE / TEAM PAGE
   ================================================ */

/* Hero */
.team-hero {
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0B1E3B 0%, #1a5a8a 45%, #4a9fd4 100%);
    overflow: hidden;
}

.team-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(11,30,59,0.55) 0%, rgba(74,159,212,0.25) 100%);
}

.team-hero-deco {
    position: absolute;
    right: -100px;
    top: 50%;
    transform: translateY(-50%);
    width: 560px;
    height: 560px;
    border-radius: 50%;
    border: 1px solid rgba(59,130,246,0.1);
    pointer-events: none;
}

.team-hero-deco::before {
    content: '';
    position: absolute;
    inset: 50px;
    border-radius: 50%;
    border: 1px solid rgba(59,130,246,0.07);
}

.team-hero-icon-bg {
    position: absolute;
    right: 8%;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14rem;
    color: rgba(59,130,246,0.05);
    pointer-events: none;
    line-height: 1;
}

.team-hero-content {
    position: relative;
    z-index: 2;
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
    color: white;
}

.team-hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.team-hero-stat {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.team-hero-stat strong {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.02em;
    line-height: 1;
}

.team-hero-stat span {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.team-hero-stat-sep {
    width: 1px;
    height: 2rem;
    background: rgba(255,255,255,0.12);
    flex-shrink: 0;
}

/* Main layout */
.team-main {
    padding-top: 4rem;
    padding-bottom: 5rem;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Section */
.team-section {
    margin-bottom: 4rem;
}

.team-section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.1rem;
    border-bottom: 1px solid #f1f5f9;
}

.team-section-accent {
    width: 4px;
    height: 36px;
    border-radius: 4px;
    flex-shrink: 0;
}

.team-section-surtitle {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 0.2rem;
}

.team-section-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-navy);
    letter-spacing: -0.02em;
    line-height: 1;
}

.team-section-link {
    margin-left: auto;
    font-size: 0.9rem;
    font-weight: 600;
    color: #3b82f6;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: gap 0.2s, color 0.2s;
    white-space: nowrap;
}

.team-section-link i {
    font-size: 0.65rem;
    transition: transform 0.2s;
}

.team-section-link:hover {
    color: #1e40af;
    gap: 0.6rem;
}

.team-section-link:hover i {
    transform: translateX(2px);
}

/* Doctor grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 1.5rem;
}

/* Doctor card */
.team-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 12px rgba(11,30,59,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 48px rgba(11,30,59,0.12);
}

/* Photo */
.team-card-photo-wrap {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: #f1f2f6;
}

.team-card-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.5s ease;
    display: block;
    mix-blend-mode: multiply;
}

.team-card:hover .team-card-photo-wrap img {
    transform: scale(1.05);
}

.team-card-photo-gradient {
    display: none;
}

/* Placeholder (no photo) */
.team-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.team-card-placeholder--cardio    { background: linear-gradient(135deg, #fff1f2, #fce7f3); }
.team-card-placeholder--pneumo    { background: linear-gradient(135deg, #f0fdfa, #ccfbf1); }
.team-card-placeholder--chirurgie { background: linear-gradient(135deg, #f5f3ff, #ede9fe); }
.team-card-placeholder--pediatrie { background: linear-gradient(135deg, #eff6ff, #dbeafe); }
.team-card-placeholder--imagerie  { background: #f1f2f6; }
.team-card-placeholder--plastique { background: linear-gradient(135deg, #fdf4ff, #fae8ff); }

.team-card-placeholder-initials {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--primary-navy);
    opacity: 0.25;
}

.team-card-placeholder-icon {
    font-size: 1.1rem;
    opacity: 0.2;
    color: var(--primary-navy);
}

.team-card-placeholder-icon--male,
.team-card-placeholder-icon--female {
    font-size: 3.5rem;
    opacity: 0.4;
}

.team-card-placeholder-icon--male   { color: #3b82f6; }
.team-card-placeholder-icon--female { color: #ec4899; }

/* Card body */
.team-card-body {
    padding: 1.15rem 1.25rem 1.4rem;
}

/* Specialty badge */
.team-card-specialty {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.22rem 0.65rem;
    border-radius: 20px;
    margin-bottom: 0.6rem;
}

.team-card-specialty i { font-size: 0.6rem; }

.team-card-specialty--cardio    { background: rgba(244,63,94,0.08);   color: #be123c; }
.team-card-specialty--pneumo    { background: rgba(20,184,166,0.08);  color: #0f766e; }
.team-card-specialty--chirurgie { background: rgba(99,102,241,0.08);  color: #4338ca; }
.team-card-specialty--pediatrie { background: rgba(59,130,246,0.08);  color: #1d4ed8; }
.team-card-specialty--imagerie  { background: rgba(14,165,233,0.08);  color: #0369a1; }
.team-card-specialty--plastique { background: rgba(168,85,247,0.08);  color: #7e22ce; }
.team-card-specialty--enmg      { background: rgba(139,92,246,0.08);  color: #5b21b6; }

/* Name & title */
.team-card-name {
    font-size: 1.06rem;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 0.18rem;
    letter-spacing: -0.01em;
    line-height: 1.25;
}

.team-card-title {
    font-size: 0.87rem;
    color: var(--text-gray);
    margin-bottom: 0.85rem;
    line-height: 1.5;
}

/* Meta (hospital) */
.team-card-meta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    color: #94a3b8;
    margin-bottom: 0.9rem;
    padding-top: 0.7rem;
    border-top: 1px solid #f1f5f9;
}

.team-card-meta i { font-size: 0.65rem; }

/* RDV link */
.team-card-rdv {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    font-weight: 600;
    transition: gap 0.2s;
}

.team-card-rdv i {
    font-size: 0.68rem;
    transition: transform 0.2s;
}

.team-card-rdv:hover { gap: 0.6rem; }
.team-card-rdv:hover i { transform: translateX(2px); }

.team-card-rdv--cardio    { color: #f43f5e; }
.team-card-rdv--cardio:hover { color: #be123c; }
.team-card-rdv--pneumo    { color: #14b8a6; }
.team-card-rdv--pneumo:hover { color: #0f766e; }
.team-card-rdv--chirurgie { color: #6366f1; }
.team-card-rdv--chirurgie:hover { color: #4338ca; }
.team-card-rdv--pediatrie { color: #3b82f6; }
.team-card-rdv--pediatrie:hover { color: #1d4ed8; }
.team-card-rdv--imagerie  { color: #0ea5e9; }
.team-card-rdv--imagerie:hover { color: #0369a1; }
.team-card-rdv--plastique { color: #a855f7; }
.team-card-rdv--plastique:hover { color: #7e22ce; }
.team-card-rdv--enmg      { color: #8b5cf6; }
.team-card-rdv--enmg:hover { color: #5b21b6; }

/* ===== EXAM ARTICLES — long content cards ===== */
.exam-articles {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.exam-article {
    background: #fff;
    border-radius: 18px;
    border: 1px solid #e8edf5;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(11,30,59,0.05);
    transition: box-shadow 0.25s, transform 0.25s;
}

.exam-article:hover {
    box-shadow: 0 8px 32px rgba(11,30,59,0.1);
    transform: translateY(-2px);
}

.exam-article-header {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    padding: 1.2rem 1.75rem;
    background: linear-gradient(135deg, #f8fafc 60%, #f1f5f9);
    border-bottom: 1px solid #e8edf5;
}

.exam-article-icon {
    width: 50px;
    height: 50px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.exam-article-icon--blue   { background: rgba(59,130,246,0.1);  color: #2563eb; }
.exam-article-icon--teal   { background: rgba(20,184,166,0.1);  color: #0d9488; }
.exam-article-icon--pink   { background: rgba(244,63,94,0.1);   color: #e11d48; }
.exam-article-icon--amber  { background: rgba(245,158,11,0.1);  color: #d97706; }
.exam-article-icon--purple { background: rgba(168,85,247,0.1);  color: #7c3aed; }
.exam-article-icon--indigo { background: rgba(99,102,241,0.1);  color: #4338ca; }

.exam-article-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--primary-navy);
    letter-spacing: -0.015em;
    flex: 1;
    line-height: 1.3;
}

.exam-article-body {
    padding: 1.5rem 1.75rem;
}

.exam-article-body p {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.75;
    margin-bottom: 0.8rem;
}

.exam-article-body p:last-child { margin-bottom: 0; }

.exam-article-sublabel {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 0.28rem 0.8rem;
    border-radius: 20px;
    margin: 0.9rem 0 0.6rem;
}

.exam-article-sublabel--steps  { background: rgba(59,130,246,0.08);  color: #1d4ed8; }
.exam-article-sublabel--prep   { background: rgba(16,185,129,0.08);  color: #065f46; }
.exam-article-sublabel--list   { background: rgba(99,102,241,0.08);  color: #3730a3; }

.exam-article-list {
    list-style: none;
    padding: 0;
    margin: 0 0 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.exam-article-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.875rem;
    color: #334155;
    line-height: 1.55;
    padding: 0.45rem 0.85rem;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 3px solid #e2e8f0;
}

.exam-article-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-turquoise);
    flex-shrink: 0;
    margin-top: 0.42em;
}

.exam-article-warning {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.9rem 1.1rem;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 10px;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #9a3412;
    line-height: 1.6;
    font-weight: 500;
}

.exam-article-warning i {
    color: #ea580c;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 0.15em;
}

/* CTA strip */
.team-cta-strip {
    background: var(--primary-navy);
    border-radius: 20px;
    padding: 2.5rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.team-cta-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #60a5fa;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.team-cta-label i { font-size: 0.62rem; }

.team-cta-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.team-cta-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.team-cta-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    background: #4a9fd4;
    color: white;
    font-size: 0.88rem;
    font-weight: 700;
    transition: opacity 0.2s, transform 0.2s;
}

.team-cta-btn-primary:hover { opacity: 0.9; transform: translateY(-1px); color: white; }

.team-cta-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.85);
    font-size: 0.88rem;
    font-weight: 600;
    transition: background 0.2s;
}

.team-cta-btn-ghost i { font-size: 0.72rem; }
.team-cta-btn-ghost:hover { background: rgba(255,255,255,0.12); color: white; }

/* Responsive team */
@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 640px) {
    .team-hero { min-height: 320px; }
    .team-hero-icon-bg { display: none; }
    .team-hero-stats { gap: 0.9rem; flex-wrap: nowrap; }
    .team-hero-stat strong { font-size: 1.1rem; white-space: nowrap; }
    .team-hero-stat span { font-size: 0.6rem; white-space: nowrap; }
    .team-hero-stat-sep { height: 1.4rem; }
    .team-grid { grid-template-columns: 1fr 1fr; }
    .team-cta-strip { padding: 1.75rem; flex-direction: column; align-items: flex-start; }
    .team-section-link { display: none; }
}

@media (max-width: 400px) {
    .team-grid { grid-template-columns: 1fr; }
}

/* ================================================
   CARDIOLOGIE — COLOR VARIANTS
   ================================================ */

.sp-hero--cardio {
    background-image:
        linear-gradient(to left,
            transparent 0%,
            transparent 12%,
            rgba(11, 30, 59, 0.4) 26%,
            rgba(11, 30, 59, 0.75) 36%,
            #0B1E3B 50%),
        url('assets/images/coeur.jpg');
    background-size: 100% 100%, 45%;
    background-position: center center, right 68%;
    background-repeat: no-repeat, no-repeat;
}

.sp-hero--cardio .sp-hero-overlay {
    background: linear-gradient(135deg, rgba(11, 30, 59, 0.92) 0%, rgba(159, 18, 57, 0.08) 100%);
}

.sp-hero--cardio .sp-hero-desc {
    font-size: 0.93rem;
    line-height: 1.8;
    max-width: 720px;
    color: rgba(255, 255, 255, 0.6);
    border-left: 2px solid rgba(253, 164, 175, 0.4);
    padding-left: 1rem;
}

.sp-hero-title-accent--cardio                  { color: #fda4af; }
.sp-hero-badge--cardio                         { background: rgba(244,63,94,0.25); border-color: rgba(244,63,94,0.5); color: #ffffff; }
.sp-hero--cardio .sp-hero-tag i               { color: #fda4af; }
.sp-hero--cardio .sp-hero-tag                 { background: rgba(0,0,0,0.35); border-color: rgba(255,255,255,0.2); color: #ffffff; }
.sp-hero--cardio .sp-breadcrumb a            { color: rgba(255,255,255,0.75); }
.sp-hero--cardio .sp-breadcrumb span:last-child { color: #ffffff; }
.sp-hero--cardio .sp-breadcrumb-sep          { opacity: 0.7; }
.sp-hero--cardio .sp-hero-desc               { color: rgba(255,255,255,0.9); text-shadow: 0 1px 4px rgba(0,0,0,0.4); }

.sp-intro-card--cardio::before      { background: linear-gradient(180deg, #f43f5e, #9f1239); }
.sp-section-label--cardio           { color: #be123c; }

.exam-card-icon--cardio-rose        { background: rgba(244, 63,  94,  0.1); color: #f43f5e; }
.exam-card-icon--cardio-orange      { background: rgba(249, 115, 22,  0.1); color: #f97316; }
.exam-card-icon--cardio-amber       { background: rgba(245, 158, 11,  0.1); color: #f59e0b; }
.exam-card-icon--cardio-indigo      { background: rgba(99,  102, 241, 0.1); color: #6366f1; }
.exam-card-icon--cardio-violet      { background: rgba(168, 85,  247, 0.1); color: #a855f7; }

.exam-card-tag--cardio              { color: #be123c; background: rgba(244,63,94,0.07); }

/* 5th card full-width */
.exam-card--full                    { grid-column: 1 / -1; }

.sidebar-rdv-header--cardio         { background: linear-gradient(135deg, #9f1239 0%, #f43f5e 100%); }
.sidebar-rdv-btn-online--cardio     { background: linear-gradient(135deg, #9f1239, #f43f5e); }

.pneumo-patho-card--cardio i        { color: #f43f5e; }
.pneumo-patho-card--cardio:hover    { border-color: #fda4af; box-shadow: 0 4px 16px rgba(244,63,94,0.12); }

/* ================================================
   PNEUMOLOGIE — COLOR VARIANTS & SPECIFIC COMPONENTS
   ================================================ */

.sp-hero--pneumo {
    background-image:
        linear-gradient(to left,
            transparent 0%,
            transparent 14%,
            rgba(11, 30, 59, 0.4) 28%,
            rgba(11, 30, 59, 0.75) 38%,
            #0B1E3B 47%),
        url('assets/images/pneumologie.jpeg');
    background-size: 100% 100%, 50%;
    background-position: center center, right center;
    background-repeat: no-repeat, no-repeat;
}
.sp-hero--pneumo .sp-hero-overlay {
    background: linear-gradient(135deg, rgba(11, 30, 59, 0.98) 0%, rgba(15, 118, 110, 0.08) 100%);
}

.sp-hero--pneumo .sp-hero-desc {
    font-size: 0.93rem;
    line-height: 1.8;
    max-width: 720px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    border-left: 2px solid rgba(94, 234, 212, 0.4);
    padding-left: 1rem;
}

.sp-hero-title-accent--pneumo        { color: #5eead4; }
.sp-hero-badge--pneumo               { background: rgba(20,184,166,0.15); border-color: rgba(20,184,166,0.3); color: #5eead4; }
.sp-hero--pneumo .sp-hero-tag i      { color: #5eead4; }

.sp-intro-card--pneumo::before       { background: linear-gradient(180deg, #14b8a6, #0f766e); }
.sp-section-label--pneumo            { color: #0f766e; }

.exam-card-icon--pneumo              { background: rgba(20,184,166,0.1);  color: #14b8a6; }
.exam-card-icon--pneumo-alt          { background: rgba(99,102,241,0.1);  color: #6366f1; }
.exam-card-icon--pneumo-green        { background: rgba(34,197,94,0.1);   color: #22c55e; }

.exam-card-tag--pneumo               { color: #0f766e; background: rgba(20,184,166,0.08); }

.sidebar-rdv-header--pneumo          { background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%); }
.sidebar-rdv-btn-online--pneumo      { background: linear-gradient(135deg, #0f766e, #14b8a6); }

/* ================================================
   PHYSIOTHÉRAPIE — bleu CMR (#4a9fd4 / #0B1E3B)
   ================================================ */

.sp-hero--physio {
    background-image:
        linear-gradient(to left,
            transparent 0%,
            transparent 12%,
            rgba(11, 30, 59, 0.4) 26%,
            rgba(11, 30, 59, 0.75) 36%,
            #0B1E3B 50%),
        url('assets/images/ENMG.jpg');
    background-size: 100% 100%, 48%;
    background-position: center center, right center;
    background-repeat: no-repeat, no-repeat;
}
.sp-hero--physio .sp-hero-overlay {
    background: linear-gradient(160deg, rgba(11,30,59,0.55) 0%, rgba(74,159,212,0.08) 100%);
}
.sp-hero-title-accent--physio                  { color: #7dd3fc; }
.sp-hero-badge--physio                         { background: rgba(74,159,212,0.25); border-color: rgba(74,159,212,0.5); color: #ffffff; }
.sp-hero--physio .sp-hero-tag i               { color: #7dd3fc; }
.sp-hero--physio .sp-hero-tag                 { background: rgba(0,0,0,0.30); border-color: rgba(255,255,255,0.18); color: #ffffff; }
.sp-hero--physio .sp-breadcrumb a            { color: rgba(255,255,255,0.75); }
.sp-hero--physio .sp-breadcrumb span:last-child { color: #ffffff; }
.sp-hero--physio .sp-breadcrumb-sep          { opacity: 0.7; }
.sp-hero--physio .sp-hero-desc               { color: rgba(255,255,255,0.9); text-shadow: 0 1px 4px rgba(0,0,0,0.35); }

.sp-intro-card--physio::before      { background: linear-gradient(180deg, #4a9fd4, #0B1E3B); }
.sp-section-label--physio           { color: #2e85be; }

.sp-hero--physio .sp-hero-desc {
    font-size: 0.93rem;
    line-height: 1.8;
    max-width: 720px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    border-left: 2px solid rgba(74, 159, 212, 0.4);
    padding-left: 1rem;
}

.exam-card-icon--physio             { background: rgba(74,  159, 212, 0.12); color: #4a9fd4; }
.exam-card-icon--physio-blue        { background: rgba(11,  30,  59,  0.08); color: #0B1E3B; }
.exam-card-icon--physio-amber       { background: rgba(245, 158, 11,  0.10); color: #f59e0b; }
.exam-card-icon--physio-violet      { background: rgba(168, 85,  247, 0.10); color: #a855f7; }
.exam-card-icon--physio-rose        { background: rgba(74,  159, 212, 0.15); color: #2e85be; }

.exam-card-tag--physio              { color: #2e85be; background: rgba(74,159,212,0.09); }

.sidebar-rdv-header--physio         { background: linear-gradient(135deg, #0B1E3B 0%, #4a9fd4 100%); }
.sidebar-rdv-btn-online--physio     { background: linear-gradient(135deg, #0B1E3B, #4a9fd4); }

.pneumo-patho-card--physio i        { color: #4a9fd4; }
.pneumo-patho-card--physio:hover    { border-color: #7dd3fc; box-shadow: 0 4px 16px rgba(74,159,212,0.15); }

/* ================================================
   SÉNOLOGIE — photo hero
   ================================================ */
.sp-hero--senologie {
    background-image: url('assets/cmr-ete.jpg');
    background-size: 55%;
    background-position: right 30%;
    background-repeat: no-repeat;
}
.sp-hero--senologie .sp-hero-overlay {
    background: linear-gradient(135deg, rgba(11, 30, 59, 0.98) 0%, rgba(219, 39, 119, 0.08) 100%);
}

/* ================================================
   IMAGERIE — photo hero
   ================================================ */
.sp-hero--imagerie {
    background-image:
        linear-gradient(to left,
            transparent 0%,
            transparent 14%,
            rgba(11, 30, 59, 0.4) 28%,
            rgba(11, 30, 59, 0.75) 38%,
            #0B1E3B 47%),
        url('assets/images/0R0A7242-hd.jpeg');
    background-size: 100% 100%, auto 100%;
    background-position: center center, right center;
    background-repeat: no-repeat, no-repeat;
}
.sp-hero--imagerie .sp-hero-overlay {
    background: linear-gradient(135deg, rgba(11, 30, 59, 0.75) 0%, rgba(14, 116, 144, 0.08) 100%);
}

.sp-hero--imagerie .sp-hero-desc {
    font-size: 0.93rem;
    line-height: 1.8;
    max-width: 720px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    border-left: 2px solid rgba(14, 116, 144, 0.5);
    padding-left: 1rem;
}

/* ================================================
   CHIRURGIE DU SEIN — photo hero
   ================================================ */
.sp-hero--chir-plastique {
    background-image:
        linear-gradient(to left,
            transparent 0%,
            transparent 12%,
            rgba(11, 30, 59, 0.4) 26%,
            rgba(11, 30, 59, 0.75) 36%,
            #0B1E3B 50%),
        url('assets/images/chirurgie-sein.png');
    background-size: 100% 100%, auto 100%;
    background-position: center center, right top;
    background-repeat: no-repeat, no-repeat;
}

@media (max-width: 900px) {
    .sp-hero--chir-plastique {
        background-size: 100% 100%, auto 110%;
        background-position: center center, right center;
    }
}

.sp-hero--chir-plastique .sp-hero-overlay {
    background: linear-gradient(135deg, rgba(11, 30, 59, 0.82) 0%, rgba(30, 64, 175, 0.15) 100%);
}

.sp-hero--chir-plastique .sp-hero-desc {
    font-size: 0.93rem;
    line-height: 1.8;
    max-width: 720px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.sp-hero--chir-main .sp-hero-desc {
    font-size: 0.93rem;
    line-height: 1.8;
    max-width: 720px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    border-left: 2px solid rgba(99, 102, 241, 0.4);
    padding-left: 1rem;
}

/* ================================================
   CHIRURGIE DE LA MAIN — photo hero
   ================================================ */
.sp-hero--chir-main .sp-hero-overlay {
    background: linear-gradient(135deg, rgba(11, 30, 59, 0.92) 0%, rgba(99, 102, 241, 0.08) 100%);
}
.sp-hero--chir-main {
    background-image:
        linear-gradient(to left,
            transparent 0%,
            transparent 12%,
            rgba(11, 30, 59, 0.4) 26%,
            rgba(11, 30, 59, 0.75) 36%,
            #0B1E3B 50%),
        url('assets/images/Chirurgie-main.jpg');
    background-size: 100% 100%, 48%;
    background-position: center center, right center;
    background-repeat: no-repeat, no-repeat;
}

/* Blob décoratif turquoise — pages spécialités */
.sp-blob-wrap {
    position: relative;
    overflow: visible;
}

.sp-blob {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 500px;
    height: 1080px;
    background: radial-gradient(
        ellipse at left center,
        rgba(20, 184, 166, 0.22) 0%,
        rgba(56, 189, 248, 0.10) 38%,
        transparent 68%
    );
    pointer-events: none;
    z-index: 0;
}

.sp-blob--right {
    left: auto;
    top: auto;
    right: 0;
    bottom: 0;
    transform: none;
    width: 520px;
    height: 760px;
    background: radial-gradient(
        ellipse at right bottom,
        rgba(20, 184, 166, 0.34) 0%,
        rgba(56, 189, 248, 0.16) 38%,
        transparent 68%
    );
}

.sp-blob-wrap .sp-layout,
.sp-blob-wrap .sp-main,
.sp-blob-wrap .sp-sidebar {
    position: relative;
    z-index: 1;
}

/* Physio exam card hover override */
.pneumo-exam-card:has(.exam-card-icon--physio):hover,
.pneumo-exam-card:has(.exam-card-icon--physio-blue):hover,
.pneumo-exam-card:has(.exam-card-icon--physio-amber):hover,
.pneumo-exam-card:has(.exam-card-icon--physio-violet):hover {
    border-color: #7dd3fc;
    box-shadow: 0 8px 28px rgba(74,159,212,0.12);
}

/* Pneumo exam cards — horizontal layout (1 col, wider) */
.pneumo-exam-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.pneumo-exam-card {
    display: flex;
    gap: 1.75rem;
    align-items: flex-start;
    background: white;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 10px rgba(11, 30, 59, 0.06);
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.pneumo-exam-card:hover {
    border-color: #99f6e4;
    box-shadow: 0 8px 28px rgba(20, 184, 166, 0.1);
    transform: translateY(-2px);
}

.pneumo-exam-card-left {
    flex-shrink: 0;
    padding-top: 0.15rem;
}

.pneumo-exam-card-right {
    flex: 1;
    min-width: 0;
}

.pneumo-exam-card-header {
    display: flex;
    align-items: stretch !important;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.6rem;
}

.pneumo-exam-card-header .exam-card-icon {
    align-self: stretch !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 0 !important;
    width: 44px;
    height: auto !important;
}


/* Pathologies grid */
.pneumo-patho-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.85rem;
}

.pneumo-patho-card {
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    padding: 1.1rem 0.9rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary-navy);
    box-shadow: 0 1px 4px rgba(11, 30, 59, 0.04);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.pneumo-patho-card i {
    font-size: 1.25rem;
    color: #14b8a6;
}

.pneumo-patho-card:hover {
    border-color: #99f6e4;
    box-shadow: 0 4px 16px rgba(20, 184, 166, 0.12);
    transform: translateY(-2px);
}

/* Responsive specialty pages */
@media (max-width: 1024px) {
    .sp-layout {
        grid-template-columns: 1fr;
    }
    .sp-hero--senologie {
        background-size: auto 60%;
        background-position: bottom right;
        opacity: 1;
    }

    /* Two-layer fade background (gradient + photo): the base rule already sizes both
       layers in %, so it stays aligned at every breakpoint — no override needed. */
    .sp-hero--lab,
    .sp-hero--cardio,
    .sp-hero--pneumo,
    .sp-hero--physio,
    .sp-hero--imagerie,
    .sp-hero--chir-plastique,
    .sp-hero--chir-main {
        opacity: 1;
    }

    .sp-sidebar,
    .sp-blob-wrap .sp-sidebar {
        position: static;
        top: auto;
        padding-left: 0;
    }

    .sp-exam-grid,
    .prep-grid {
        grid-template-columns: 1fr 1fr;
    }

    .sp-hero-icon-bg {
        font-size: 10rem;
        opacity: 0.04;
    }

    .pneumo-patho-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .pneumo-exam-card {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 640px) {
    .pneumo-exam-list {
        grid-template-columns: 1fr;
    }

    .sp-hero {
        min-height: 360px;
    }

    .sp-hero-icon-bg {
        display: none;
    }

    .sp-hero--lab,
    .sp-hero--cardio,
    .sp-hero--pneumo,
    .sp-hero--physio,
    .sp-hero--imagerie,
    .sp-hero--senologie,
    .sp-hero--chir-plastique,
    .sp-hero--chir-main {
        background-image: none;
    }

    .sp-exam-grid,
    .prep-grid {
        grid-template-columns: 1fr;
    }

    .pneumo-patho-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sp-section-title {
        font-size: 1.35rem;
    }
}

/* ================================================
   SCROLL REVEAL — pages spécialité
   ================================================ */
.sp-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: var(--sp-delay, 0s);
}
.sp-reveal.sp-visible {
    opacity: 1;
    transform: translateY(0);
}
.sp-reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: var(--sp-delay, 0s);
}
.sp-reveal-right.sp-visible {
    opacity: 1;
    transform: translateX(0);
}

/* ================================================
   FOOTER PREMIUM
   ================================================ */

.footer-premium {
    background: linear-gradient(180deg, #01497c 0%, #012d52 100%);
    color: #e2e8f0;
    position: relative;
}

.footer-accent-bar {
    height: 4px;
    background: #90e0ef;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 1.75rem;
    padding: 1.75rem 0 1rem;
    text-align: left;
}

/* --- Brand column --- */
.footer-brand-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo-link {
    display: inline-block;
    margin-bottom: 0.6rem;
}

.footer-logo-img {
    height: 42px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
    opacity: 0.88;
}

.footer-tagline {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.65;
    margin-bottom: 0.75rem;
    max-width: 520px;
}

.footer-map {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
    height: 100px;
}

/* --- Column titles --- */
.footer-col-title {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: #00b4d8;
    margin-bottom: 0.9rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0, 180, 216, 0.25);
}

/* --- Navigation links --- */
.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.92rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
    transition: color 0.2s, gap 0.2s;
}

.footer-links a i {
    font-size: 0.65rem;
    color: #00b4d8;
    transition: transform 0.2s;
    flex-shrink: 0;
}

.footer-links a:hover {
    color: #ffffff;
    gap: 0.75rem;
}

.footer-links a:hover i {
    transform: translateX(2px);
}

/* --- Contact --- */
.footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.92rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.5;
}

.footer-contact-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(0, 119, 182, 0.15);
    border: 1px solid rgba(0, 180, 216, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #00b4d8;
    font-size: 0.95rem;
}

.footer-contact a:hover {
    color: #ffffff;
}

/* --- Horaires (correction d'alignement) --- */
.footer-hours {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-bottom: 1.2rem;
}

.footer-hour-row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 0.8rem;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-hour-day {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 500;
    white-space: nowrap;
}

.footer-hour-time {
    color: #ffffff;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.footer-hour-closed {
    color: #f87171;
    font-weight: 700;
}

.footer-rdv-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #00b4d8;
    background: rgba(0, 119, 182, 0.12);
    border: 1px solid rgba(0, 180, 216, 0.3);
    border-radius: 20px;
    padding: 0.5rem 1.1rem;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.footer-rdv-badge i {
    font-size: 1.15rem;
}
.footer-rdv-badge:hover {
    background: rgba(0, 180, 216, 0.18);
    border-color: #00b4d8;
    color: #90e0ef;
}

/* --- Divider --- */
.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.1) 20%, rgba(255, 255, 255, 0.1) 80%, transparent 100%);
    margin-bottom: 1rem;
}

/* --- Bas de page --- */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0;
    flex-wrap: wrap;
}

.footer-copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s;
}

.footer-legal a:hover {
    color: #ffffff;
}

/* --- Réseaux sociaux --- */
.footer-socials {
    display: flex;
    gap: 0.5rem;
}

.footer-social {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 0.78rem;
    transition: all 0.25s ease;
}

.footer-social-fb:hover  { background: #1877f2; border-color: #1877f2; color: #fff; }
.footer-social-ig:hover  { background: linear-gradient(135deg, #f09433 0%, #dc2743 50%, #bc1888 100%); border-color: transparent; color: #fff; }
.footer-social-li:hover  { background: #0a66c2; border-color: #0a66c2; color: #fff; }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-brand-col {
        grid-column: 1 / -1;
    }

    .footer-map {
        height: 170px;
    }

    .footer-tagline {
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
        padding: 2.5rem 0 1.5rem;
        gap: 1.75rem;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.75rem;
    }

    .footer-legal {
        gap: 1rem;
    }
}

/* ================================================
   LABORATOIRE — RESPONSIVE MOBILE
   ================================================ */

@media (max-width: 768px) {
    .lab-results-block {
        padding: 1.5rem;
        gap: 1rem;
    }
    .lab-step-body {
        padding: 1rem 1.1rem;
    }
}

@media (max-width: 640px) {
    .lab-results-block {
        flex-direction: column;
        align-items: stretch;
        padding: 1.25rem;
        gap: 0.85rem;
    }
    .lab-results-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    .lab-results-attention {
        align-self: flex-start;
    }
    .lab-results-text strong {
        white-space: normal;
    }
    .lab-results-phone {
        display: flex;
        width: 100%;
        text-align: center;
        justify-content: center;
        flex-shrink: unset;
        white-space: normal;
    }
    .lab-results-right {
        width: 100%;
    }
    .lab-step-body {
        padding: 0.9rem 1rem;
    }
    .lab-step-num {
        width: 2.25rem;
        height: 2.25rem;
        font-size: 0.85rem;
    }
    .sp-equip-list {
        flex-direction: column;
        gap: 0.5rem;
    }
    .sp-equip-item {
        width: 100%;
    }
    .sidebar-synlab-logo {
        height: 60px;
    }
}

/* ================================================
   SECTION ÉQUIPE — BUBBLE DESIGN
   ================================================ */

.team-bubble-section {
    padding: 5.5rem 0;
    background: linear-gradient(180deg, #01497c 0%, #012d52 100%);
    position: relative;
    overflow: hidden;
}

.team-bubble-section::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(74,159,212,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.team-bubble-section::after {
    content: '';
    position: absolute;
    bottom: -80px; left: -80px;
    width: 380px; height: 380px;
    background: radial-gradient(circle, rgba(74,159,212,0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* --- Layout 2 colonnes --- */
.team-bubble-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (max-width: 900px) {
    .team-bubble-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* --- Texte gauche --- */
.team-bubble-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-turquoise);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.team-bubble-label::before {
    content: '';
    display: block;
    width: 28px; height: 2px;
    background: var(--accent-turquoise);
    border-radius: 2px;
}

.team-bubble-title {
    display: flex;
    flex-direction: column;
    text-align: left;
    font-size: clamp(1.9rem, 3.5vw, 2.7rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.team-bubble-title-line {
    display: block;
}

.team-bubble-title-accent {
    background: linear-gradient(130deg, #4a9fd4 0%, #7dd3fc 60%, #bae6fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.team-bubble-subtitle {
    font-size: 1rem;
    color: rgba(255,255,255,0.60);
    line-height: 1.75;
    margin-bottom: 2rem;
    max-width: 420px;
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
}

.team-bubble-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.25rem;
    flex-wrap: wrap;
}

.team-bubble-stat {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.team-bubble-stat strong {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.team-bubble-stat span {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.45);
    font-weight: 500;
}

.team-bubble-actions {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.team-bubble-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, #4a9fd4 0%, #2e85be 100%);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 700;
    padding: 0.8rem 1.6rem;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(74,159,212,0.35);
    transition: transform 0.25s, box-shadow 0.25s;
}

.team-bubble-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(74,159,212,0.45);
}

.team-bubble-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    border: 1.5px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.75);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.75rem 1.4rem;
    border-radius: 50px;
    text-decoration: none;
    transition: border-color 0.25s, color 0.25s;
}

.team-bubble-btn-ghost:hover {
    border-color: var(--accent-turquoise);
    color: var(--accent-turquoise);
}

/* --- Grille de bulles --- */
.team-bubble-grid-wrap {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-end;
    width: max-content;
    margin-left: auto;
}

.team-bubble-row {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

/* --- Bulle photo / initiales / icône --- */
.team-bubble {
    width: 114px;
    height: 114px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    cursor: pointer;
    border: 2.5px solid rgba(74,159,212,0.3);
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s, border-color 0.3s;
    animation: bubbleFadeUp 0.6s ease both;
    background: #f1f2f6;
}

.team-bubble:hover {
    transform: scale(1.14) translateY(-5px);
    box-shadow: 0 16px 36px rgba(74,159,212,0.3);
    border-color: var(--accent-turquoise);
    z-index: 10;
}

.team-bubble img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 15%;
    border-radius: 50%;
    display: block;
    mix-blend-mode: multiply;
}

/* Bulle initiales "+N" */
.team-bubble--initials {
    background: var(--accent-turquoise);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-bubble--initials span {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
}

/* Bulle icône spécialité */
.team-bubble--icon {
    background: rgba(74,159,212,0.12);
    border: 2px solid rgba(74,159,212,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--accent-turquoise);
}

.team-bubble--icon:hover {
    background: rgba(74,159,212,0.2);
}

/* Tooltip nom */
.team-bubble::after {
    content: attr(data-name);
    position: absolute;
    bottom: -2.2rem;
    left: 50%;
    transform: translateX(-50%) scale(0.85);
    background: rgba(11,30,59,0.9);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(74,159,212,0.3);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 600;
    white-space: nowrap;
    padding: 0.28rem 0.7rem;
    border-radius: 50px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
    z-index: 20;
}

.team-bubble:hover::after {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

/* --- Bulles décoratives --- */
.team-bubble-deco {
    width: 114px;
    height: 114px;
    border-radius: 50%;
    flex-shrink: 0;
    animation: bubbleFadeUp 0.6s ease both;
}

.team-bubble-deco--turquoise {
    background: rgba(74,159,212,0.20);
    border: 1.5px solid rgba(74,159,212,0.15);
}

.team-bubble-deco--turquoise-light {
    background: rgba(74,159,212,0.10);
    border: 1.5px solid rgba(74,159,212,0.10);
}

.team-bubble-deco--navy {
    background: rgba(255,255,255,0.06);
    border: 1.5px solid rgba(255,255,255,0.08);
}

.team-bubble-deco--navy-light {
    background: rgba(255,255,255,0.03);
    border: 1.5px solid rgba(255,255,255,0.05);
}

.team-bubble-deco--light {
    background: rgba(74,159,212,0.06);
    border: 1.5px solid rgba(74,159,212,0.08);
}

/* Stagger animation */
.team-bubble-row .team-bubble:nth-child(1),
.team-bubble-row .team-bubble-deco:nth-child(1) { animation-delay: 0.05s; }
.team-bubble-row .team-bubble:nth-child(2),
.team-bubble-row .team-bubble-deco:nth-child(2) { animation-delay: 0.10s; }
.team-bubble-row .team-bubble:nth-child(3),
.team-bubble-row .team-bubble-deco:nth-child(3) { animation-delay: 0.15s; }
.team-bubble-row .team-bubble:nth-child(4),
.team-bubble-row .team-bubble-deco:nth-child(4) { animation-delay: 0.20s; }
.team-bubble-row .team-bubble:nth-child(5),
.team-bubble-row .team-bubble-deco:nth-child(5) { animation-delay: 0.25s; }

@keyframes bubbleFadeUp {
    from { opacity: 0; transform: translateY(22px) scale(0.88); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* --- Responsive --- */
/* Fluid bubble size below 900px: scales continuously with viewport width
   instead of fixed breakpoints, so it never overflows regardless of the
   exact phone width (iPhone SE through iPhone 16 Plus/Pro Max, etc.). */
@media (max-width: 900px) {
    .team-bubble-grid-wrap {
        width: auto;
        margin-left: 0;
        align-items: center;
        padding: 0 0.4rem;
    }
    .team-bubble-row {
        gap: 0.3rem;
    }
    .team-bubble, .team-bubble-deco {
        width: clamp(44px, calc((100vw - 100px) / 5), 90px);
        height: clamp(44px, calc((100vw - 100px) / 5), 90px);
    }
    .team-bubble--initials span {
        font-size: clamp(0.8rem, calc((100vw - 100px) / 5 * 0.28), 1.6rem);
    }
}

/* ================================================
   SECTION ACTUALITÉS — REDESIGN PREMIUM
   ================================================ */

.news-section {
    padding: 5.5rem 0;
    background: linear-gradient(160deg, #eaf4fb 0%, #f0f5fa 50%, #e8f1f7 100%);
    position: relative;
    overflow: hidden;
}

.news-bg-deco {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.news-bg-deco--tr {
    top: -140px; right: -140px;
    width: 520px; height: 520px;
    background: radial-gradient(circle, rgba(74,159,212,0.10) 0%, transparent 68%);
}

.news-bg-deco--bl {
    bottom: -100px; left: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(11,30,59,0.06) 0%, transparent 68%);
}

/* --- En-tête --- */
.news-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.news-label {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--accent-turquoise);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.65rem;
}

.news-label-dot {
    display: block;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent-turquoise);
    box-shadow: 0 0 0 3px rgba(74,159,212,0.2);
}

.news-title {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--primary-navy);
    line-height: 1.2;
}

.news-title span {
    background: linear-gradient(130deg, #4a9fd4 0%, #7dd3fc 60%, #bae6fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.news-see-all {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-turquoise);
    font-size: 0.9rem;
    font-weight: 600;
    border: 1.5px solid rgba(74,159,212,0.35);
    padding: 0.55rem 1.25rem;
    border-radius: 50px;
    white-space: nowrap;
    transition: background 0.25s, color 0.25s, border-color 0.25s;
    text-decoration: none;
}

.news-see-all:hover {
    background: var(--accent-turquoise);
    color: #fff;
    border-color: var(--accent-turquoise);
}

.news-see-all:hover i { transform: translateX(3px); }
.news-see-all i { font-size: 0.8rem; transition: transform 0.25s; }

/* --- Layout principal --- */
.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

/* ── Stretched link — toute la card est cliquable ── */
.news-featured,
.news-item {
    position: relative;
    cursor: pointer;
}
.news-featured-cta::after,
.news-item-link::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
}

/* ── Carte featured ── */
.news-featured {
    background: var(--primary-navy);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid rgba(74,159,212,0.2);
    box-shadow: 0 20px 60px rgba(11,30,59,0.18);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-featured:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 70px rgba(11,30,59,0.25);
}

.news-featured-visual {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, #071526 0%, #0d2a50 60%, #1a4a7a 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-featured-icon-wrap {
    width: 80px; height: 80px;
    background: rgba(74,159,212,0.15);
    border: 1.5px solid rgba(74,159,212,0.35);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--accent-turquoise);
    position: relative;
    z-index: 2;
    backdrop-filter: blur(8px);
    transition: transform 0.35s ease;
}

.news-featured:hover .news-featured-icon-wrap {
    transform: scale(1.08) rotate(-4deg);
}

.news-featured-visual-deco {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 70% at 15% 20%, rgba(74,159,212,0.18) 0%, transparent 70%),
        radial-gradient(ellipse 50% 60% at 85% 80%, rgba(74,159,212,0.12) 0%, transparent 70%);
}

.news-featured-num {
    position: absolute;
    bottom: -0.5rem;
    right: 1.25rem;
    font-size: 5rem;
    font-weight: 900;
    color: rgba(255,255,255,0.04);
    line-height: 1;
    user-select: none;
}

.news-featured-body {
    padding: 1.75rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    flex: 1;
}

.news-featured-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.news-featured-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.35;
}

.news-featured-excerpt {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.60);
    line-height: 1.75;
    flex: 1;
}

.news-featured-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.25rem;
}

.news-featured-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--accent-turquoise);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 0.65rem 1.4rem;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(74,159,212,0.35);
    transition: transform 0.25s, box-shadow 0.25s;
}

.news-featured-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(74,159,212,0.45);
}

.news-featured-cta-arrow {
    width: 24px; height: 24px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

.news-read-time {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.4);
}

/* ── Cartes secondaires ── */
.news-secondary-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.news-item {
    background: #fff;
    border-radius: 18px;
    border: 1px solid rgba(11,30,59,0.07);
    padding: 1.25rem 1.4rem;
    display: grid;
    grid-template-columns: 48px 1fr auto;
    gap: 1rem;
    align-items: start;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.news-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--accent-turquoise);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}

.news-item:hover {
    transform: translateX(4px);
    box-shadow: 0 8px 28px rgba(11,30,59,0.09);
    border-color: rgba(74,159,212,0.2);
}

.news-item:hover::before { transform: scaleX(1); }

.news-item-icon {
    width: 48px; height: 48px;
    min-width: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.news-item-icon--teal   { background: rgba(74,159,212,0.12); color: var(--accent-turquoise); }
.news-item-icon--purple { background: rgba(139,92,246,0.12); color: #7c3aed; }
.news-item-icon--amber  { background: rgba(217,119,6,0.12);  color: #d97706; }

.news-item-body {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.news-item-top {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.news-item-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--primary-navy);
    line-height: 1.35;
}

.news-item-excerpt {
    font-size: 0.82rem;
    color: #8a9ab5;
    line-height: 1.6;
}

.news-item-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--accent-turquoise);
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 0.25rem;
    text-decoration: none;
    transition: gap 0.2s;
}

.news-item-link:hover { gap: 0.55rem; }
.news-item-link i { font-size: 0.7rem; }

.news-item-num {
    font-size: 1.4rem;
    font-weight: 900;
    color: rgba(11,30,59,0.06);
    line-height: 1;
    align-self: center;
    user-select: none;
}

/* ── Tags catégories ── */
.news-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.25rem 0.7rem;
    border-radius: 50px;
}

.news-tag--blue   { background: rgba(74,159,212,0.15); color: var(--accent-turquoise); }
.news-tag--teal   { background: rgba(74,159,212,0.12); color: #0e7fc0; }
.news-tag--purple { background: rgba(139,92,246,0.12); color: #7c3aed; }
.news-tag--amber  { background: rgba(217,119,6,0.12);  color: #b45309; }

.news-date {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    color: #9aacbf;
    font-weight: 500;
}

.news-date i { font-size: 0.68rem; color: var(--accent-turquoise); }

/* ── Responsive ── */
@media (max-width: 860px) {
    .news-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .news-head { flex-direction: column; align-items: flex-start; }
    .news-item { grid-template-columns: 42px 1fr; }
    .news-item-num { display: none; }
}
