html{scroll-behavior:smooth}body{overflow-x:hidden}img,video,iframe{max-width:100%}img{height:auto}.top-bar,.top-bar a{color:white!important}.top-bar{font-size:12px}.navbar{padding:10px 0!important}.navbar-brand{display:flex;align-items:center;font-size:20px!important;white-space:nowrap}.navbar-brand img{width:44px;height:44px;object-fit:contain}.brand-text{font-size:20px!important}.navbar .nav-link{display:flex;align-items:center;gap:6px;font-size:14px!important;white-space:nowrap;padding:10px!important;border-radius:9px}.navbar .nav-link.active,.navbar .nav-link:hover{background:#eaf6f3;color:#167568}.navbar .nav-link i{font-size:13px}.navbar-collapse>div{display:flex;gap:8px;flex-shrink:0}.navbar .btn{font-size:13px;white-space:nowrap;padding:11px 13px;border-radius:10px;margin:0!important}.navbar .staff-access{background:#264653;color:#fff;font-weight:600}.navbar a:focus-visible,button:focus-visible{outline:3px solid #e8b45d;outline-offset:3px}.gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));gap:16px}.gallery img.thumb{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:16px}#galerie{padding:36px 20px!important}#carousel{z-index:2000}section.compact-page-hero{min-height:0!important;height:auto!important;padding:22px 0!important}.compact-page-hero>.container{height:auto!important}.compact-page-hero .col-lg-8{width:100%;max-width:960px}.compact-page-hero .mb-4{margin-bottom:10px!important}.compact-page-hero .badge{font-size:11px!important;padding:6px 12px!important;margin-bottom:0!important}.compact-page-hero h1.display-3{font-size:clamp(27px,3vw,40px)!important;line-height:1.2;margin-bottom:10px!important}.compact-page-hero p.lead{font-size:15px!important;max-width:720px;margin:0 auto 12px!important}.compact-page-hero .row.g-4.mt-4{margin-top:0!important;--bs-gutter-y:8px;--bs-gutter-x:12px}.compact-page-hero .stat-item{display:flex;align-items:center;justify-content:center;gap:9px;padding:10px!important;border-radius:10px;animation:none!important}.compact-page-hero .stat-number{font-size:23px!important}.compact-page-hero .stat-label{font-size:11px;text-align:left}.compact-page-hero>.position-absolute.bottom-0{display:none}.compact-page-hero .opening-hours{padding:12px!important;margin-top:12px!important}.compact-page-hero .opening-hours h5{font-size:13px}.compact-page-hero .hour-item{font-size:12px}.login-container{max-width:390px!important}.login-card{padding:26px!important;border-radius:18px!important}.login-header{margin-bottom:18px!important}.login-header img{width:64px!important;height:64px!important;margin-bottom:12px!important}.form-group{margin-bottom:16px!important}body:has(.login-container){position:relative;isolation:isolate;min-height:100svh;background:#153e46}body:has(.login-container)::before{content:'';position:fixed;inset:-5%;z-index:-2;background:linear-gradient(120deg,#123d4bd9,#15756899),url('/images/hopital.png.1440.webp') center/cover;animation:drift 25s ease-in-out infinite alternate}body:has(.login-container)::after{content:'';position:fixed;inset:0;z-index:-1;pointer-events:none;background:repeating-linear-gradient(115deg,transparent 0 120px,#ffffff15 121px 122px,transparent 123px 240px);animation:lines 18s linear infinite alternate}@keyframes drift{to{transform:scale(1.08)}}@keyframes lines{to{transform:translateX(60px)}}@media(max-width:1199px){.navbar-collapse{padding:14px 0;max-height:75vh;overflow-y:auto}.navbar-collapse>div{margin-left:0!important;margin-top:14px;flex-wrap:wrap}.navbar .nav-link{min-height:48px}.navbar-nav{gap:4px}.navbar .btn{flex:1}.top-bar .row>div{text-align:center!important;width:100%}.top-bar .row>div:last-child{display:none}}@media(max-width:767px){.compact-page-hero .col-md-3{width:50%}.compact-page-hero .col-md-4{width:33.333%}.compact-page-hero .stat-item{flex-direction:column;gap:0}.compact-page-hero .stat-label{text-align:center}.compact-page-hero .opening-hours .row{flex-direction:row!important}.compact-page-hero .opening-hours .col-md-4,.compact-page-hero .opening-hours .col-md-8{width:50%}.navbar-brand img{width:38px;height:38px}.brand-text{font-size:18px!important}.display-3,.display-4{font-size:32px!important}.top-bar .row>div:nth-child(2){display:none}.table-responsive{overflow-x:auto}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.navbar .brand-text{display:inline-block!important}.navbar .nav-link.active,.navbar .nav-link:hover{color:#176d61!important}.navbar .staff-access{background:#264653!important;color:white!important;font-weight:600}

.navbar .brand-text{font-size:17px!important;line-height:1.25;white-space:normal;max-width:210px}.navbar-brand{flex-shrink:0}@media(max-width:575px){.navbar .brand-text{font-size:15px!important;max-width:190px}.navbar-brand{max-width:calc(100% - 65px)}}
/* Rendez-vous : trois indicateurs équilibrés et un bandeau court. */
.rendezvous-hero.compact-page-hero .row.g-4.mt-4>[class*="col-md-"]{width:33.333333%}
.rendezvous-hero.compact-page-hero .stat-item{min-height:50px}
.rendezvous-hero.compact-page-hero .stat-label{max-width:110px;line-height:1.3}
.rendezvous-hero.compact-page-hero .breadcrumb{font-size:12px;margin-bottom:0}
.rendezvous-hero.compact-page-hero nav.mb-4{margin-bottom:10px!important}
@media(max-width:575px){.rendezvous-hero.compact-page-hero{padding:16px 0 18px!important}.rendezvous-hero.compact-page-hero h1.display-3{font-size:27px!important}.rendezvous-hero.compact-page-hero p.lead{font-size:13px!important;line-height:1.45}.rendezvous-hero.compact-page-hero .stat-item{padding:8px 4px!important;min-height:66px}.rendezvous-hero.compact-page-hero .stat-number{font-size:21px!important}.rendezvous-hero.compact-page-hero .stat-label{font-size:10px}}
/* Accès rapide aux rubriques de l'accueil. */
.home-shortcuts-wrap{background:#f3f8f6;border-top:1px solid #eaf1ed;border-bottom:1px solid #deebe4}
.home-shortcuts{display:flex;align-items:center;gap:22px;padding-top:14px;padding-bottom:14px}
.home-shortcuts-label{display:flex;align-items:center;gap:10px;flex-shrink:0;font-size:11px;font-weight:700;letter-spacing:.7px;text-transform:uppercase;color:#6f887d;white-space:nowrap}
.home-shortcuts-label i{font-size:10px;color:#91a89d}
.home-shortcuts-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;flex:1;min-width:0}
.home-shortcuts-links a{display:flex;align-items:center;gap:10px;min-height:54px;padding:9px 12px;border:1px solid #e0eae4;border-radius:12px;background:#fff;color:#385a4e;text-decoration:none;font-size:12px;font-weight:600;line-height:1.4;box-shadow:0 2px 5px #214a3503;transition:background .18s,border-color .18s,box-shadow .18s,transform .18s}
.shortcut-icon{display:grid;place-items:center;flex-shrink:0;width:32px;height:32px;background:#edf6f1;color:#238772;border-radius:9px;font-size:14px}
.home-shortcuts-links .shortcut-arrow{font-size:10px;margin-left:auto;color:#99b2a5;flex-shrink:0}
.home-shortcuts-links a:hover{background:#fafffc;color:#146f59;border-color:#81b9a4;box-shadow:0 4px 12px #215a3e0c;transform:translateY(-2px)}
.home-shortcuts-links a:hover .shortcut-icon{background:#208775;color:#fff}
.home-shortcuts-links a:focus-visible{outline:3px solid #dfa84d;outline-offset:3px}
#services,#localisation,#galerie,#actualites{scroll-margin-top:110px}
@media(max-width:1199px){.home-shortcuts{gap:14px}.home-shortcuts-label{display:none}.home-shortcuts-links a{padding:9px;gap:8px;font-size:11px}.home-shortcuts-links .shortcut-arrow{display:none}}
@media(max-width:767px){.home-shortcuts{padding-top:12px;padding-bottom:12px}.home-shortcuts-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.home-shortcuts-links a{min-height:52px;font-size:12px;padding:9px 10px;border-radius:10px}.shortcut-icon{width:28px;height:28px;font-size:13px}.home-shortcuts-links a:hover{transform:none}}
@media(max-width:359px){.home-shortcuts-links a{font-size:11px;gap:6px}.shortcut-icon{width:24px;height:26px}}
@media(prefers-reduced-motion:reduce){.home-shortcuts-links a{transition:none}.home-shortcuts-links a:hover{transform:none}}
