/*===============================================
  Ostéopathe Wimereux — feuille de style
===============================================*/

/*------------- Polices (hébergées localement) -------------*/

@font-face {
    font-family: "DM Sans";
    font-style: normal;
    font-weight: 100 1000;
    font-display: swap;
    src: url("../fonts/dm-sans.woff2") format("woff2");
}

@font-face {
    font-family: "Fraunces";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/fraunces.woff2") format("woff2");
}

/*------------- Variables -------------*/

:root {
    --taupe: #8a7e73;
    --taupe-dark: #6f645a;
    --taupe-light: #e9e2da;
    --taupe-accent: #978d84;
    --heading: #6d6d6d;
    --cream: #f7f3ee;
    --bg: #fff;
    --surface: #fff;
    --text: #4a4643;
    --text-soft: #6f6a66;
    --nav-text: #6d6d6d;
    --radius: 18px;
    --shadow: 0 10px 30px rgba(60, 50, 40, 0.08);
    --shadow-hover: 0 16px 40px rgba(60, 50, 40, 0.14);
    --font-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    --font-serif: "Fraunces", Georgia, serif;
}

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

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 17px;
    line-height: 1.7;
    font-weight: 400;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    margin: 20px 0 10px;
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

p {
    margin: 0 0 10px;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

button {
    font: inherit;
    color: inherit;
}

a {
    color: var(--taupe-dark);
    text-decoration: none;
}

a:hover,
a:focus {
    color: var(--taupe-dark);
    text-decoration: underline;
}

a:focus,
button:focus {
    outline: none;
}

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

b, strong {
    font-weight: 700;
    color: #3a3532;
}

#votre-osteo b,
#honoraires b,
#main-footer b {
    color: inherit;
}

/*------------- Icônes -------------*/

.icon-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.icon {
    display: inline-block;
    vertical-align: -0.143em;
    fill: currentColor;
}

/*------------- Mise en page -------------*/

.container {
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding-top: 100px;
    padding-bottom: 100px;
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 30px;
    align-items: center;
}

.big-text {
    font-size: 44px;
    line-height: 1.2;
    color: var(--heading);
}

.section-title {
    margin-top: 0;
    margin-bottom: 60px;
    text-align: center;
}

.section-title::after {
    content: "";
    display: block;
    width: 56px;
    height: 3px;
    margin: 22px auto 0;
    border-radius: 3px;
    background: var(--taupe);
}

.photo {
    display: block;
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
}

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

.cta-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 36px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 210px;
    padding: 14px 28px;
    font-family: var(--font-sans);
    font-size: 17px;
    font-weight: 500;
    line-height: 1.42857;
    white-space: nowrap;
    color: #fff;
    background: var(--taupe);
    border: 2px solid var(--taupe);
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(111, 100, 90, 0.25);
    cursor: pointer;
    user-select: none;
    touch-action: manipulation;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.btn:hover,
.btn:focus {
    color: #fff;
    text-decoration: none;
}

.btn:hover {
    background: var(--taupe-dark);
    border-color: var(--taupe-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(111, 100, 90, 0.3);
}

.btn-outline,
.btn-outline:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.85);
    box-shadow: none;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.btn-outline:hover {
    color: var(--taupe-dark);
    background: #fff;
    border-color: #fff;
}

#contact .btn-outline,
#contact .btn-outline:focus {
    color: var(--taupe-dark);
    background: transparent;
    border-color: var(--taupe);
}

#contact .btn-outline:hover {
    color: #fff;
    background: var(--taupe);
}

/*------------- Préchargement -------------*/

#page-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--cream);
    transition: opacity .5s ease;
}

#page-loader.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.page-loader-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 44px;
    height: 44px;
    margin: -22px 0 0 -22px;
    border: 3px solid var(--taupe-light);
    border-top-color: var(--taupe);
    border-radius: 50%;
    animation: loader-spin .8s linear infinite;
}

@keyframes loader-spin {
    to { transform: rotate(360deg); }
}

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

#main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    color: #fff;
    background: transparent;
    transition: background .3s ease-out;
}

#main-nav.scrolled {
    background: rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    backdrop-filter: saturate(180%) blur(12px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.nav-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    max-width: 1170px;
    margin: 0 auto;
    padding: 30px 5px;
    transition: padding .5s ease-out;
}

#main-nav.scrolled .nav-inner {
    padding-top: 10px;
    padding-bottom: 10px;
}

#main-nav .brand {
    display: flex;
    align-items: center;
    gap: 14px;
    height: 50px;
    padding: 0 10px;
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 500;
    line-height: 54px;
    color: #fff;
    text-decoration: none;
}

#main-nav .brand img {
    width: 52px;
}

#main-nav.scrolled .brand {
    color: var(--taupe);
}

.nav-toggle {
    display: none;
}

.nav-links {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-links li {
    margin: 0 10px;
    border: 2px solid transparent;
}

#main-nav .nav-links a {
    position: relative;
    display: block;
    padding: 0 10px;
    font-size: 18px;
    font-weight: 500;
    line-height: 54px;
    color: #fff;
    text-decoration: none;
    transition: color .2s ease-in;
}

#main-nav.scrolled .nav-links a {
    color: var(--nav-text);
}

#main-nav.scrolled .nav-links li.active a,
#main-nav.scrolled .nav-links a:hover {
    color: var(--taupe-accent);
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 12px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transform: scaleX(0);
    transition: transform .25s ease;
}

.nav-links a:hover::after,
.nav-links li.active a::after {
    transform: scaleX(1);
}

/*------------- En-tête -------------*/

.hero-bg {
    position: fixed;
    inset: 0;
    z-index: -999999;
    overflow: hidden;
}

.hero-bg[hidden] {
    display: none;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    transform: scale(1.2);
}

.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 45% at 50% 50%, rgba(30, 40, 50, 0.3) 0%, rgba(30, 40, 50, 0) 100%),
        linear-gradient(180deg, rgba(30, 40, 50, 0.45) 0%, rgba(30, 40, 50, 0.35) 45%, rgba(30, 40, 50, 0.55) 100%);
}

#home {
    color: #fff;
}

.hero-content {
    position: fixed;
    top: 50%;
    left: 0;
    right: 0;
    z-index: -1;
    margin-top: -150px;
    padding: 0 15px;
    text-align: center;
}

#home p {
    margin: 0;
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

#home h1 {
    margin: 0 0 12px;
    font-size: 64px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

#home .hero-kicker {
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-sans);
    font-size: 22px;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

#home h1 + p {
    font-size: 20px;
    font-weight: 300;
    opacity: .95;
}

/*------------- L'ostéopathie -------------*/

#osteopathie {
    position: relative;
    z-index: 1;
    background: var(--bg);
    border-radius: 28px 28px 0 0;
}

#osteopathie .prose {
    max-width: 750px;
    margin: 0 auto;
    padding-top: 10px;
    font-size: 18px;
    text-align: center;
    color: var(--text-soft);
}

/*------------- Votre ostéo -------------*/

#votre-osteo {
    color: #fff;
    background: linear-gradient(135deg, #968a7f 0%, #7a6e64 100%);
}

#votre-osteo .photo {
    box-shadow: 0 20px 50px rgba(40, 30, 20, 0.35);
}

.bio {
    padding-left: 25px;
    color: rgba(255, 255, 255, 0.92);
}

.bio p {
    margin: 0 0 1.7em;
}

.bio p:last-child {
    margin-bottom: 0;
}

/*------------- Pour qui ? -------------*/

#patients {
    background: var(--bg);
}

.services {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.service-item {
    padding: 40px 0 20px;
    text-align: center;
    background: var(--surface);
    outline: 1px solid var(--taupe-light);
    outline-offset: -1px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: box-shadow .3s ease, transform .3s ease;
}

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

.service-item h3 {
    margin: 0 20px 38px;
    font-size: 22px;
    color: var(--heading);
}

.service-list {
    max-width: 480px;
    margin: 0 auto;
    padding: 0 30px 30px;
    list-style: none;
    font-size: 16px;
    line-height: 1.6;
    text-align: left;
    color: var(--text-soft);
}

.service-list li {
    position: relative;
    padding-left: 20px;
}

.service-list li + li {
    margin-top: 8px;
}

.service-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .65em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--taupe);
}

.service-icon {
    width: 96px;
    height: 96px;
    margin: 0 auto 24px;
    font-size: 44px;
    line-height: 96px;
    color: var(--taupe-dark);
    background: var(--cream);
    border-radius: 50%;
}

.service-icon .icon {
    transition: transform .3s ease;
}

.service-item:hover .service-icon .icon {
    transform: scale(1.12);
}

/*------------- Honoraires -------------*/

#honoraires {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, #968a7f 0%, #7a6e64 100%);
}

#honoraires .big-text {
    color: #fff;
}

#honoraires .section-title::after {
    background: #fff;
}

#honoraires .prose {
    max-width: 690px;
    margin: 0 auto;
    font-size: 18px;
    text-align: center;
}

.price-tag {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    padding: 26px 48px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: var(--radius);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.price-amount {
    font-family: var(--font-serif);
    font-size: 56px;
    font-weight: 500;
    line-height: 1;
}

.price-label {
    margin-top: 8px;
    font-size: 15px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: .85;
}

/*------------- Contact -------------*/

#contact {
    background: var(--bg) url("../images/bg-contact.png") no-repeat -40px 100%;
}

#contact .split > :first-child {
    text-align: center;
    color: var(--text-soft);
}

#contact .big-text {
    margin-bottom: 30px;
}

#contact .cta-group {
    margin-bottom: 30px;
}

/*------------- Galerie -------------*/

#Photos {
    padding: 70px 20px;
    background: linear-gradient(135deg, #7f736a 0%, #6a5f56 100%);
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 1170px;
    margin: 0 auto;
}

.gallery-item {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 14px;
    cursor: pointer;
}

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

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:focus-visible {
    outline: 3px solid var(--taupe);
    outline-offset: 3px;
}

/*------------- Visionneuse photos -------------*/

.photo-viewer-open,
.photo-viewer-open body {
    overflow: hidden;
}

.photo-viewer {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(20, 24, 28, 0.94);
    opacity: 0;
    transition: opacity .25s ease;
    touch-action: pan-y;
}

.photo-viewer[hidden] {
    display: none;
}

.photo-viewer.is-open {
    opacity: 1;
}

.photo-viewer-stage {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 70px 90px;
}

.photo-viewer-stage img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: scale(.98);
    transition: opacity .3s ease, transform .3s ease;
    user-select: none;
    -webkit-user-drag: none;
}

.photo-viewer-stage img.is-loaded {
    opacity: 1;
    transform: none;
}

.photo-viewer button {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background .2s ease;
}

.photo-viewer button:hover {
    background: rgba(255, 255, 255, 0.25);
}

.photo-viewer button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.photo-viewer-close {
    top: 18px;
    right: 18px;
    width: 46px;
    height: 46px;
    font-size: 30px;
    line-height: 1;
}

.photo-viewer-nav {
    top: 50%;
    width: 54px;
    height: 54px;
    margin-top: -27px;
    font-size: 30px;
}

.photo-viewer-prev { left: 20px; }
.photo-viewer-next { right: 20px; }

.photo-viewer-prev .icon { margin-right: 3px; }
.photo-viewer-next .icon { margin-left: 3px; }

.photo-viewer-counter {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 14px;
    font-size: 14px;
    letter-spacing: .05em;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
}

/*------------- Carte -------------*/

#gmap {
    display: block;
    width: 100%;
    height: 420px;
    filter: grayscale(1);
}

#gmap .gmap-pin {
    display: block;
    width: 59px;
    height: 74px;
    cursor: pointer;
}

#gmap .infowin {
    padding: 10px 20px;
}

#gmap .infowin p {
    margin-bottom: 10px;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 24px;
    color: #4a4643;
}

#gmap .infowin a {
    color: var(--taupe-dark);
}

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

#main-footer {
    padding-top: 50px;
    padding-bottom: 40px;
    font-size: 15px;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    background: #766f68;
    border-top: 7px solid var(--taupe-accent);
}

#main-footer a:not(.btn) {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

#main-footer .cta-group {
    margin: 20px 0;
}

.social-links {
    margin: 0 0 30px;
    padding: 0;
    list-style: none;
}

.social-links li {
    display: inline-block;
    margin: 0 5px;
}

#main-footer .social-links a {
    display: block;
    width: 50px;
    height: 50px;
    font-size: 21px;
    line-height: 50px;
    color: rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all .3s ease-out;
}

#main-footer .social-links a:hover {
    color: #766f68;
    background: #fff;
}

/*------------- Animations au défilement -------------*/

.reveal {
    opacity: 0;
    transition: transform .8s cubic-bezier(.2, .7, .2, 1), opacity .8s ease;
}

.reveal.fade-up { transform: translateY(40px); }
.reveal.fade-left { transform: translateX(40px); }
.reveal.fade-right { transform: translateX(-40px); }
.reveal.scale-in { transform: translateY(30px); }

.reveal.in {
    opacity: 1;
    transform: none;
}

.reveal.d1 { transition-delay: .1s; }
.reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; }

.service-item.reveal.in:hover {
    transform: translateY(-4px);
    transition-delay: 0s;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/*------------- Responsive -------------*/

@media (min-width: 992px) {
    #contact .split {
        grid-template-columns: 5fr 6fr;
        column-gap: calc(100% / 12 + 30px);
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    #main-nav .brand {
        gap: 10px;
        font-size: 23px;
    }

    #main-nav .brand img {
        width: 44px;
    }

    .nav-links li {
        margin: 0 2px;
    }

    #main-nav .nav-links a {
        padding: 0 8px;
        font-size: 16px;
    }

    .nav-links a::after {
        left: 8px;
        right: 8px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    #main-nav .brand {
        font-size: 20px;
    }

    #main-nav .brand img {
        width: 38px;
    }

    #main-nav .nav-links a {
        padding: 0 6px;
        font-size: 15px;
    }
}

@media (max-width: 991px) {
    .big-text {
        font-size: 38px;
    }

    #home h1 {
        font-size: 50px;
    }
}

@media (max-width: 767px) {
    body {
        font-size: 16px;
    }

    .section {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .big-text {
        font-size: 32px;
    }

    .section-title {
        margin-bottom: 40px;
    }

    /* Navigation mobile */
    #main-nav {
        background: rgba(255, 255, 255, 0.92);
        box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
    }

    .nav-inner,
    #main-nav.scrolled .nav-inner {
        padding: 5px;
    }

    #main-nav .brand {
        padding-top: 5px;
        font-size: 21px;
        line-height: 42px;
        color: var(--taupe);
    }

    #main-nav .brand img {
        width: 40px;
    }

    .nav-toggle {
        display: block;
        margin: 5px 15px 5px 0;
        padding: 9px 10px;
        background: transparent;
        border: 1px solid transparent;
        border-radius: 4px;
        cursor: pointer;
    }

    .nav-toggle span {
        display: block;
        width: 28px;
        height: 4px;
        border-radius: 1px;
        background: var(--nav-text);
    }

    .nav-toggle span + span {
        margin-top: 4px;
    }

    .nav-links {
        display: none;
        flex-basis: 100%;
        flex-direction: column;
        padding: 12px 0 13px;
    }

    #main-nav.is-open .nav-links {
        display: flex;
    }

    .nav-links li {
        margin: 0 5px;
    }

    #main-nav .nav-links a {
        line-height: 42px;
        text-align: center;
        color: var(--nav-text);
    }

    #main-nav .nav-links li.active a,
    #main-nav .nav-links a:hover {
        color: var(--taupe-accent);
    }

    .nav-links a::after {
        display: none;
    }

    /* En-tête */
    .hero-content {
        margin-top: -80px;
    }

    #home p,
    #home .hero-kicker {
        font-size: 18px;
    }

    #home h1 {
        font-size: 36px;
    }

    #home h1 + p {
        font-size: 17px;
    }

    .cta-group .btn {
        width: 100%;
        max-width: 320px;
    }

    /* Sections */
    .split,
    .services {
        display: block;
    }

    .photo {
        width: 100%;
        margin: 0 auto 35px;
    }

    .bio {
        padding-left: 0;
    }

    .service-item {
        margin-bottom: 30px;
    }

    #contact .split > :last-child {
        padding-top: 20px;
    }

    .gallery-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    #gmap {
        height: 300px;
    }

    /* Visionneuse */
    .photo-viewer-stage {
        padding: 70px 12px;
    }

    .photo-viewer-nav {
        top: auto;
        bottom: 14px;
        width: 48px;
        height: 48px;
        margin-top: 0;
    }

    .photo-viewer-prev { left: 16px; }
    .photo-viewer-next { right: 16px; }

    .photo-viewer-counter {
        bottom: 26px;
    }
}

@media (max-width: 480px) {
    .gallery-container {
        gap: 8px;
    }

    .gallery-item {
        border-radius: 10px;
    }
}

/*------------- Thème sombre (suit le réglage du navigateur) -------------*/

@media (prefers-color-scheme: dark) {
    :root {
        color-scheme: dark;
        --bg: #211f1e;
        --surface: #2c2a28;
        --heading: #f1e9e1;
        --cream: #363331;
        --taupe-light: #3c3937;
        --text: #e4ddd6;
        --text-soft: #bdb4ac;
        --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
        --shadow-hover: 0 16px 40px rgba(0, 0, 0, 0.5);
    }

    a,
    a:hover,
    a:focus {
        color: #cbbdb0;
    }

    b, strong {
        color: #fff;
    }

    .section-title::after {
        background: #a89a8d;
    }

    #page-loader {
        background: var(--bg);
    }

    /* Navigation */
    #main-nav.scrolled {
        background: rgba(33, 31, 30, 0.85);
        box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
    }

    #main-nav.scrolled .brand {
        color: #b8a99b;
    }

    #main-nav.scrolled .nav-links a {
        color: var(--text-soft);
    }

    #main-nav.scrolled .nav-links li.active a,
    #main-nav.scrolled .nav-links a:hover {
        color: #fff;
    }

    .hero-bg::after {
        background: linear-gradient(180deg, rgba(20, 16, 14, 0.6) 0%, rgba(20, 16, 14, 0.4) 45%, rgba(20, 16, 14, 0.7) 100%);
    }

    /* Sections taupe : même couleur, en plus profond */
    #votre-osteo,
    #honoraires {
        background: linear-gradient(135deg, #6e6259 0%, #564c44 100%);
    }

    #Photos {
        background: linear-gradient(135deg, #5a5048 0%, #463e38 100%);
    }

    #main-footer {
        background: #3e3732;
        border-top-color: var(--taupe);
    }

    .service-icon {
        color: #d2c4b7;
    }

    /* Boutons */
    .btn-outline:hover {
        color: #2a2420;
    }

    #contact .btn-outline,
    #contact .btn-outline:focus {
        color: #e4ddd6;
        border-color: var(--taupe);
    }

    /* Avion en papier : l'image claire est atténuée */
    #contact {
        position: relative;
        background-image: none;
    }

    #contact::before {
        content: "";
        position: absolute;
        left: -40px;
        bottom: 0;
        width: 400px;
        height: 400px;
        background: url("../images/bg-contact.png") no-repeat;
        opacity: 0.05;
        pointer-events: none;
    }

    #contact .split {
        position: relative;
    }

    /* Carte Google en version sombre */
    #gmap {
        filter: grayscale(1) invert(0.9) hue-rotate(180deg) brightness(0.95) contrast(0.9);
    }

    @media (max-width: 767px) {
        #main-nav {
            background: rgba(33, 31, 30, 0.92);
        }

        #main-nav .brand {
            color: #b8a99b;
        }

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

        #main-nav .nav-links a {
            color: var(--text-soft);
        }

        #main-nav .nav-links li.active a {
            color: #fff;
        }
    }
}
