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

:root {
    --primary: #1a6b8a;
    --primary-dark: #0e4f6a;
    --primary-light: #e8f4f8;
    --accent: #2e9bc6;
    --text: #2c3e50;
    --text-light: #6b7c93;
    --white: #ffffff;
    --bg-light: #f8fafb;
    --bg-gray: #f0f4f7;
    --shadow: 0 4px 24px rgba(26, 107, 138, 0.08);
    --shadow-lg: 0 12px 40px rgba(26, 107, 138, 0.12);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    line-height: 1.7;
    background: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    line-height: 1.3;
}

/* ===== NAVBAR ===== */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

#header.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
    transition: var(--transition);
    gap: 4px;
}

.logo-bottom {
    display: flex;
    align-items: stretch;
}

.logo-sub {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-bar {
    width: 2px;
    border-radius: 2px;
    margin-right: 10px;
    flex-shrink: 0;
    align-self: stretch;
    background: rgba(255,255,255,0.22);
    transition: var(--transition);
}

.l-dr {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.88);
    line-height: 1.2;
}

.l-chir {
    /*font-family: 'Josefin Sans', sans-serif;*/
    font-size: 1.24rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 5px;
    line-height: 1.3;
    color: rgba(255,255,255,0.95);
    letter-spacing: 7.8%;
}

.l-ortho {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 0.69rem;
    font-weight: 600;
    letter-spacing: 2px;
    line-height: 1.0;
    color: #fff;
}

#header.scrolled .logo-bar {
    background: rgba(19,90,119,0.2);
}

#header.scrolled .l-dr {
    color: #135a77;
}

#header.scrolled .l-chir {
    color: #022634;
}

#header.scrolled .l-ortho {
    color: #135a77;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}



.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-mobile-lang,
.nav-mobile-wa,
.nav-menu-close {
    display: none;
}

.nav-link {
    padding: 10px 20px;
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    border-radius: 8px;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.15);
}

#header.scrolled .nav-link {
    color: var(--text-light);
}

#header.scrolled .nav-link:hover,
#header.scrolled .nav-link.active {
    color: var(--primary);
    background: var(--primary-light);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.nav-toggle span {
    width: 26px;
    height: 2.5px;
    background: var(--white);
    border-radius: 4px;
    transition: var(--transition);
}

#header.scrolled .nav-toggle span {
    background: var(--text);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0e4f6a 0%, #1a6b8a 40%, #2e9bc6 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    padding: 120px 24px 100px;
}

.hero-subtitle {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 16px;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.15;
}

.hero-title span {
    display: block;
    color: #7dd3f0;
}

.hero-description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-wrapper {
    position: relative;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    overflow: hidden;
    border: 6px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px dashed rgba(255, 255, 255, 0.15);
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image-main {
    position: relative;
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.hero-image-main > img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 20px;
    display: block;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    height: 380px;
    border-radius: 20px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.9s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 20px;
}

.hero-doctor-bubble {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255,255,255,0.5);
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

.hero-doctor-bubble img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    z-index: 2;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background: transparent;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

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

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-dark);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.05rem;
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.4rem;
    color: var(--text);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    margin: 16px auto 0;
    border-radius: 2px;
}

/* ===== SPÉCIALITÉS ===== */
.specialites {
    padding: 100px 0;
    background: var(--white);
}

.specialites-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.specialite-card {
    background: var(--white);
    border: 1px solid #e8edf2;
    border-radius: var(--radius-lg);
    padding: 40px 28px;
    text-align: center;
    transition: var(--transition);
}

.specialite-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.specialite-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: 50%;
    transition: var(--transition);
}

.specialite-icon i {
    font-size: 1.6rem;
    color: var(--primary);
    transition: var(--transition);
}

.specialite-card:hover .specialite-icon {
    background: var(--primary);
}

.specialite-card:hover .specialite-icon i {
    color: var(--white);
}

.specialite-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--text);
}

.specialite-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== INFO SECTION ===== */
.info-section {
    padding: 80px 0;
    background: var(--bg-light);
    margin-top: 60px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.info-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.info-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
}

.info-icon i {
    font-size: 1.4rem;
    color: var(--white);
}

.info-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--text);
}

.info-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.8;
}

.link-underline {
    color: var(--primary);
    font-weight: 600;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 2px;
}

.link-underline:hover {
    color: var(--accent);
    border-color: var(--accent);
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0e4f6a 0%, #1a6b8a 40%, #2e9bc6 100%);
    text-align: center;
    margin-bottom: 60px;
}

.cta-content h2 {
    font-size: 2.2rem;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== FOOTER ===== */
.footer {
    background: #0a3347;
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
    margin-bottom: 16px;
    gap: 4px;
}

.footer-logo .logo-bar {
    background: rgba(255,255,255,0.18);
}

.footer-logo .l-dr {
    color: rgba(255,255,255,0.6);
}

.footer-logo .l-chir {
    color: rgba(255,255,255,0.9);
}

.footer-logo .l-ortho {
    color: rgba(255,255,255,0.82);
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.8;
    max-width: 340px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.footer-social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-social-link:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-map-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 14px;
    padding: 7px 14px;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    background: rgba(255,255,255,0.06);
    transition: var(--transition);
    letter-spacing: 0.3px;
}

.footer-map-btn i {
    font-size: 0.8rem;
    color: #2585aa;
}

.footer-map-btn:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.35);
    color: var(--white);
    transform: translateY(-1px);
}

.footer-col h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-col p {
    font-size: 0.9rem;
    line-height: 1.9;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    margin-top: 0;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-lang .lang-btn {
    color: rgba(255,255,255,0.4);
    font-size: 0.75rem;
    padding: 3px 6px;
}

.footer-lang .lang-btn.active,
.footer-lang .lang-btn:hover {
    color: rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.08);
}

.footer-lang .lang-sep {
    color: rgba(255,255,255,0.2);
    font-size: 0.75rem;
}

/* ===== PAGE HEADER (sub-pages) ===== */
.page-header {
    background: linear-gradient(135deg, #0e4f6a 0%, #1a6b8a 40%, #2e9bc6 100%);
    padding: 140px 0 80px;
    text-align: center;
    position: relative;
}

.page-header h1 {
    font-size: 2.6rem;
    color: var(--white);
    margin-bottom: 12px;
}

.page-header p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
}

.page-header .hero-wave {
    bottom: -2px;
}

/* ===== BIOGRAPHIE PAGE ===== */
.bio-section {
    padding: 80px 0;
}

.bio-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: start;
}

.bio-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.bio-image img {
    width: 100%;
    height: auto;
}

.bio-text h2 {
    font-size: 1.8rem;
    margin-bottom: 12px;
    color: var(--text);
}

/* Hommage subtitles */
.hommage-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 4px !important;
}

.hommage-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 2px;
    margin-top: 0;
}

.hommage-profession {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 28px !important;
}

.bio-text p {
    margin-bottom: 16px;
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.9;
}

.bio-qualifications {
    margin-top: 32px;
}

.bio-qualifications h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.bio-qualifications ul {
    list-style: none;
}

.bio-qualifications li {
    padding: 10px 0;
    padding-left: 28px;
    position: relative;
    color: var(--text-light);
    font-size: 0.95rem;
}

.bio-qualifications li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 18px;
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
}

/* ===== BLOG PAGE ===== */
.blog-section {
    padding: 80px 0;
}

/* Filtres */
.blog-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
    justify-content: center;
}

.blog-filter-btn {
    padding: 8px 20px;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1.5px solid #dce3ea;
    border-radius: 50px;
    background: var(--white);
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.3px;
}

.blog-filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.blog-filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* Tag */
.blog-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    background: var(--primary-light);
    border-radius: 4px;
    padding: 2px 8px;
    margin-bottom: 6px;
}

/* Pagination */
.blog-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}

.blog-page-btn {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1.5px solid #dce3ea;
    border-radius: 8px;
    background: var(--white);
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.blog-page-btn:hover:not(.disabled) {
    border-color: var(--primary);
    color: var(--primary);
}

.blog-page-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.blog-page-btn.disabled {
    opacity: 0.35;
    cursor: default;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.blog-card {
    background: var(--white);
    border: 1px solid #e8edf2;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.blog-card-image {
    height: 79px;
    background: linear-gradient(135deg, var(--primary-light), var(--bg-gray));
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card-image i {
    font-size: 1.9rem;
    color: var(--primary);
    opacity: 0.4;
}

.blog-card-body {
    padding: 28px;
}

.blog-card-date {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.blog-card-body h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--text);
    line-height: 1.4;
}

.blog-card-body p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 16px;
}

.blog-read-more {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
}

.blog-read-more:hover {
    color: var(--accent);
}

.blog-empty {
    text-align: center;
    padding: 60px 0;
}

.blog-empty i {
    font-size: 4rem;
    color: var(--bg-gray);
    margin-bottom: 20px;
}

.blog-empty h3 {
    margin-bottom: 12px;
    color: var(--text-light);
}

.blog-empty p {
    color: var(--text-light);
}

/* ===== CONTACT PAGE ===== */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 7fr 3fr;
    gap: 48px;
}

.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
}

.contact-form-wrapper h2 {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.contact-form-wrapper > p {
    color: var(--text-light);
    margin-bottom: 28px;
    font-size: 0.95rem;
}

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

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    border: 1.5px solid #dce3ea;
    border-radius: 10px;
    background: var(--bg-light);
    color: var(--text);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(26, 107, 138, 0.1);
}

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

#contactForm .form-group textarea {
    min-height: 240px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    border: none;
    padding: 14px 36px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26, 107, 138, 0.3);
}

.contact-info-side h2 {
    font-size: 1.6rem;
    margin-bottom: 24px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 28px;
}

.contact-info-item .ci-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: 14px;
}

.contact-info-item .ci-icon i {
    font-size: 1.2rem;
    color: var(--primary);
}

.contact-info-item h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-info-item p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

.contact-map {
    margin-top: 28px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* Med.tn RDV button — understated */
.btn-medtn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 6px;
    background: transparent;
    text-decoration: none;
    transition: var(--transition);
    opacity: 0.8;
}

.btn-medtn:hover {
    background: var(--primary-light);
    opacity: 1;
    color: var(--primary-dark);
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 250px;
    border: none;
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .specialites-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-content {
        gap: 40px;
    }

    .hero-title {
        font-size: 2.8rem;
    }

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

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .l-chir {
        font-size: 1.12rem;
    }

    #navMenu {
        z-index: 999;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 20px 20px 32px;
        gap: 4px;
        box-shadow: -8px 0 24px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu > li {
        margin-bottom: 21px;
    }

    .nav-link {
        color: var(--text);
        padding: 14px 16px;
        border-radius: 8px;
    }

    .nav-link:hover,
    .nav-link.active {
        color: var(--primary);
        background: var(--primary-light);
    }

    .nav-right {
        gap: 8px;
    }

    .lang-switcher {
        display: none;
    }

    .nav-menu-close {
        display: flex !important;
        justify-content: flex-end;
        margin-bottom: 8px;
    }

    .nav-close-btn {
        background: none;
        border: none;
        cursor: pointer;
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        color: var(--text);
        font-size: 1.2rem;
        transition: var(--transition);
    }

    .nav-close-btn:hover {
        background: var(--primary-light);
        color: var(--primary);
    }

    .nav-mobile-lang {
        display: flex !important;
        align-items: center;
        gap: 6px;
        padding: 12px 16px;
        margin-top: 8px;
        border-top: 1px solid var(--border);
    }

    .nav-mobile-lang .lang-btn {
        color: var(--text-light);
        font-size: 0.85rem;
        padding: 4px 8px;
        border-radius: 4px;
    }

    .nav-mobile-lang .lang-btn.active {
        color: var(--primary);
        background: var(--primary-light);
    }

    .nav-mobile-lang .lang-sep {
        color: var(--border);
    }

    .nav-mobile-wa {
        display: flex !important;
        flex-direction: row;
        gap: 12px;
        padding: 0 16px;
        margin-top: 8px;
    }

    .nav-wa-btn,
    .nav-call-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        text-decoration: none;
        transition: var(--transition);
        font-size: 1.2rem;
    }

    .nav-wa-btn {
        background: #25d366;
        color: #fff !important;
    }

    .nav-wa-btn:hover {
        background: #1ebe5b;
    }

    .nav-call-btn {
        background: var(--primary);
        color: #fff !important;
    }

    .nav-call-btn:hover {
        background: var(--primary-dark);
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 120px 24px 80px;
    }

    .hero-text {
        order: 2;
    }

    .hero-image {
        order: 1;
    }

    .hero-title {
        font-size: 2.4rem;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image-wrapper {
        width: 220px;
        height: 220px;
    }

    .specialites-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .info-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .bio-content {
        grid-template-columns: 1fr;
    }

    .bio-image {
        max-width: 280px;
        margin: 0 auto;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

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

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

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo {
        align-items: center;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-desc {
        margin: 0 auto;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hero-image-main > img {
        height: 260px;
    }

    .hero-slider {
        height: 260px;
    }

    .hero-doctor-bubble {
        width: 80px;
        height: 80px;
    }

    .section-title {
        font-size: 2rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
        letter-spacing: 2px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .l-dr {
        font-size: 0.72rem;
    }

    .l-chir {
        font-size: 1.12rem;
    }

    .l-ortho {
        font-size: 0.78rem;
    }
}

/* ===== LANGUAGE SWITCHER ===== */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
}

.lang-btn {
    background: none;
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 4px;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lang-btn.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.15);
}

.lang-btn:hover {
    color: var(--white);
}

#header.scrolled .lang-btn {
    color: var(--text-light);
}

#header.scrolled .lang-btn.active {
    color: var(--primary);
    background: var(--primary-light);
}

#header.scrolled .lang-btn:hover {
    color: var(--primary);
}

.lang-sep {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
    user-select: none;
}

#header.scrolled .lang-sep {
    color: var(--text-light);
    opacity: 0.4;
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float i {
    font-size: 1.8rem;
    color: var(--white);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5);
}

@keyframes whatsapp-pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-float::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    animation: whatsapp-pulse 2s infinite;
}

/* ===== CABINET PAGE ===== */
.cabinet-section {
    padding: 80px 0 40px 0;
}

.cabinet-intro {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 36px;
    align-items: center;
    margin-bottom: 72px;
}

.cabinet-intro-photo {
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 300px;
    flex-shrink: 0;
}

.cabinet-intro-photo img {
    width: 300px;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.cabinet-intro-photo:hover img {
    transform: scale(1.03);
}

.cabinet-intro-text .section-title::after {
    margin: 16px 0 0;
}

.cabinet-desc {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 48px;
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.9;
}

.cabinet-photos {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 16px;
    margin-bottom: 60px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.cabinet-photo-main,
.cabinet-photo-side {
    overflow: hidden;
    border-radius: var(--radius);
}

.cabinet-photo-main img,
.cabinet-photo-side img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.cabinet-photo-main:hover img,
.cabinet-photo-side:hover img {
    transform: scale(1.04);
}

.cabinet-photo-single {
    overflow: hidden;
    border-radius: var(--radius-lg);
    margin-bottom: 60px;
    box-shadow: var(--shadow-lg);
}

.cabinet-photo-single img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.cabinet-photo-single:hover img {
    transform: scale(1.03);
}

.cabinet-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.cabinet-card {
    background: var(--white);
    border: 1px solid #e8edf2;
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
}

.cabinet-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.cabinet-card-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: 50%;
    transition: var(--transition);
}

.cabinet-card-icon i {
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
}

.cabinet-card:hover .cabinet-card-icon {
    background: var(--primary);
}

.cabinet-card:hover .cabinet-card-icon i {
    color: var(--white);
}

.cabinet-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text);
}

.cabinet-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
}

.cabinet-location {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.cabinet-location-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 100%;
    min-height: 320px;
}

.cabinet-location-map iframe {
    width: 100%;
    height: 100%;
    min-height: 320px;
    border: none;
}

@media (max-width: 768px) {
    .mt-3-mobile {
        margin-top: 36px;
    }
    .cabinet-intro {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-bottom: 48px;
    }

    .l-chir {
        font-size: 1.12rem;
    }

    .cabinet-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .cabinet-photos {
        grid-template-columns: 1fr;
    }

    .cabinet-photo-main img,
    .cabinet-photo-side img {
        height: 220px;
    }

    .cabinet-photo-single img {
        height: 240px;
    }

    .cabinet-location {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   New sections : intro, presentation, gallery, parcours
   ============================================================ */

.intro-section,
.presentation-section {
    padding: 90px 0;
    background: var(--white);
}

.presentation-section-alt {
    background: var(--bg-light);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.intro-grid-reverse {
    grid-template-columns: 1.2fr 1fr;
}

.intro-grid-reverse .intro-photo {
    order: 2;
}

.intro-photo img {
    width: 100%;
    height: auto;
    max-height: 460px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.intro-text .section-subtitle {
    margin-bottom: 8px;
}

.intro-text h2 {
    margin-bottom: 24px;
}

.intro-text h2.section-title::after {
    margin-left: 0;
}

.intro-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 14px;
    font-size: 1rem;
}

.link-details {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding: 10px 22px;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.link-details:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateX(4px);
}

@media (max-width: 860px) {
    .intro-grid,
    .intro-grid-reverse {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .intro-grid-reverse .intro-photo { order: 0; }

    .l-chir {
        font-size: 1.12rem;
    }
}

/* ===== Parcours / Formations ===== */
.parcours-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.parcours-card {
    background: var(--white);
    border: 1px solid #e8edf2;
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: var(--transition);
}

.parcours-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.parcours-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.parcours-card h3 {
    font-size: 1.05rem;
    color: var(--text);
    margin-bottom: 10px;
}

.parcours-card p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

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

/* ===== Cabinet présentation ===== */
.cabinet-presentation {
    padding: 80px 0;
    background: var(--bg-light);
}

.cabinet-presentation-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 50px;
    align-items: start;
}

.cabinet-presentation-text p {
    color: var(--text-light);
    line-height: 1.85;
    margin-bottom: 14px;
}

.cabinet-presentation-text h3 {
    font-size: 1.1rem;
    color: var(--text);
    margin: 22px 0 12px;
}

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

.cabinet-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    color: var(--text);
    font-size: 0.95rem;
}

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

.cabinet-list li i {
    color: var(--primary);
    width: 22px;
    text-align: center;
}

.cabinet-presentation-map iframe {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

@media (max-width: 860px) {
    .cabinet-presentation-grid { grid-template-columns: 1fr; }
    .cabinet-presentation-map iframe { min-height: 300px; }
}

/* ===== Galerie de photos ===== */
.gallery-section {
    padding: 90px 0;
    background: var(--bg-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.gallery-item {
    display: block;
    overflow: hidden;
    border-radius: var(--radius-lg);
    aspect-ratio: 1 / 1;
    box-shadow: var(--shadow);
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item::after {
    content: '\f00e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(14, 79, 106, 0.55);
    color: var(--white);
    font-size: 1.6rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover::after { opacity: 1; }

@media (max-width: 1024px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px)  { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   Gallery smediacal + Lightbox
   ============================================================ */

/* ------ 5-thumbnail smediacal ------ */
.gallery-smediacal {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.gallery-smediacal-thumb {
    flex: 1;
    overflow: hidden;
    border-radius: var(--radius-lg);
    cursor: pointer;
    padding: 0;
    border: none;
    background: none;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.gallery-smediacal-thumb img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 0.45s ease;
    display: block;
}

.gallery-smediacal-thumb::after {
    content: '\f00e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(14, 79, 106, 0.48);
    color: var(--white);
    font-size: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-smediacal-thumb:hover img { transform: scale(1.07); }
.gallery-smediacal-thumb:hover::after { opacity: 1; }

/* Thumbnail caption (title under photo) */
.gallery-thumb-caption {
    display: block;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    color: var(--text-light);
    padding: 5px 4px 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

/* "Voir toutes" button */
.gallery-see-all-wrap {
    display: flex;
    justify-content: center;
    margin-top: 4px;
}

.gallery-see-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: none;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-see-all-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.gallery-count-badge {
    background: var(--primary);
    color: var(--white);
    border-radius: 50px;
    padding: 2px 9px;
    font-size: 0.78rem;
    font-weight: 700;
    transition: var(--transition);
}

.gallery-see-all-btn:hover .gallery-count-badge {
    background: rgba(255,255,255,0.25);
    color: var(--white);
}

@media (max-width: 700px) {
    .gallery-smediacal { gap: 8px; }
    .gallery-smediacal-thumb { border-radius: 10px; }
    .gallery-smediacal-thumb::after { font-size: 1rem; }
}

/* ------ Lightbox overlay ------ */
.lb-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 20, 30, 0.96);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: lbFadeIn 0.22s ease;
}

.lb-overlay[hidden] {
    display: none !important;
}

body.lb-open { overflow: hidden; }

@keyframes lbFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.lb-img-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 60px 80px 12px;
    box-sizing: border-box;
    min-height: 0;
}

.lb-img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 12px 48px rgba(0,0,0,0.6);
    display: block;
}

/* Caption under enlarged image */
.lb-caption {
    text-align: center;
    color: rgba(255,255,255,0.82);
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    margin-top: 10px;
    font-style: italic;
    letter-spacing: 0.3px;
    padding-top: 29px;
}

/* Navigation buttons */
.lb-prev,
.lb-next,
.lb-close {
    position: absolute;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--white);
    border-radius: 50%;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    font-size: 1rem;
}

.lb-prev:hover,
.lb-next:hover,
.lb-close:hover {
    background: rgba(255,255,255,0.28);
}

.lb-close { top: 18px; right: 18px; font-size: 1.1rem; }
.lb-prev  { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next  { right: 18px; top: 50%; transform: translateY(-50%); }

/* Counter */
.lb-counter {
    color: rgba(255,255,255,0.55);
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    margin: 8px 0 10px;
    letter-spacing: 1px;
}

/* Thumbnail smediacal at bottom of lightbox */
.lb-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 8px 24px 18px;
    max-width: 100%;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.2) transparent;
}

.lb-thumbs::-webkit-scrollbar { height: 4px; }
.lb-thumbs::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 2px; }

.lb-thumb-btn {
    flex-shrink: 0;
    width: 58px;
    height: 58px;
    border-radius: 6px;
    overflow: hidden;
    padding: 0;
    border: 2px solid transparent;
    background: none;
    cursor: pointer;
    opacity: 0.55;
    transition: opacity 0.2s, border-color 0.2s;
}

.lb-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lb-thumb-btn:hover,
.lb-thumb-btn.lb-thumb-active {
    opacity: 1;
    border-color: rgba(125,211,240,0.9);
}

@media (max-width: 600px) {
    .lb-img-wrap { padding: 56px 48px 8px; }
    .lb-prev { left: 8px; }
    .lb-next { right: 8px; }
    .lb-thumb-btn { width: 44px; height: 44px; }

    #contactForm .form-group textarea {
        min-height: 130px;
    }
}

/* Apply globally to the whole page */
/*
:root {
  scrollbar-color: #223485 #0c1333;
}

/* Apply to a specific scrollable box
.scrollable-box {
  overflow-y: scroll;
  scrollbar-color: #223485 #0c1333;
}
*/
html {
  scrollbar-color: #0c1333 #86878a; /* [Couleur du curseur] [Couleur de l'arrière-plan] */
  /* scrollbar-width: thin; Optionnel : pour une barre fine */
}

@media (max-width: 400px) {
    .l-chir {
        font-size: 0.9rem;
    }
}