/*
 * HPGRB — Feuille de styles du site institutionnel
 * Fichier : public_html/assets/css/site.css
 *
 * Organisation : 29 sections commentées en français.
 * Les règles et leurs priorités restent dans l'ordre d'origine.
 * Certaines classes sont répétées volontairement pour ajuster des composants
 * dans les sections ultérieures : ne pas les déplacer sans vérification.
 *
 * Pour rechercher une zone : utiliser Ctrl + F et son titre de section.
 * Pour visualiser une modification : rafraîchir avec Ctrl + F5.
 * Tailwind CSS est généré dans un fichier séparé : tailwind.css.
 */

/* ==========================================================================
   01. Variables de couleurs, polices et styles communs
   Personnaliser les couleurs générales dans :root et les styles de base du document.
   ========================================================================== */

:root {
  --blue: #092956;
  --navy: #081f42;
  --ink: #0a2547;
  --text: #213a59;
  --muted: #657992;
  --accent: #1762c4;
  --red: #e32237;
  --line: #e6edf5;
  --canvas: #f8fafd;
  --shadow: 0 14px 45px rgba(14,47,85,.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  font-family: Inter,"Segoe UI",Arial,sans-serif;
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img,svg {
  max-width: 100%;
}

img {
  display: block;
}

button,input,textarea,select {
  font: inherit;
}

button,a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,button:focus-visible {
  outline: 3px solid #70aafc;
  outline-offset: 4px;
}

h1,h2,h3,h4,p {
  margin-top: 0;
}

h1,h2,h3 {
  color: var(--ink);
  font-weight: 760;
  letter-spacing: -.038em;
  line-height: 1.17;
}

.container {
  width: min(100% - 72px,1260px);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  z-index: 999;
  top: -80px;
  left: 14px;
  padding: 12px 17px;
  background: #fff;
  color: var(--navy);
  border: 2px solid var(--accent);
}

.skip-link:focus {
  top: 12px;
}

/* ==========================================================================
   02. En-tête et navigation générale
   Logo, menu de navigation et bouton d’ouverture du menu mobile.
   ========================================================================== */

.site-header {
  height: 90px;
  position: relative;
  z-index: 30;
  background: #fff;
  border-bottom: 1px solid #e8eff8;
  box-shadow: 0 1px 8px rgba(20,50,80,.025);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: 300px;
  height: auto;
  max-height: 70px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 31px;
  align-self: stretch;
}

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-weight: 640;
  font-size: 14px;
  color: #18304d;
  transition: color .18s;
}

.nav-link:hover,.nav-link.active {
  color: #123f8e;
}

.nav-link.active:after {
  content: "";
  height: 3px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--accent);
  border-radius: 2px;
}

.nav-toggle {
  display: none;
  justify-content: center;
  align-items: center;
  border: 1px solid #d9e5f2;
  border-radius: 9px;
  background: #fff;
  color: var(--navy);
  width: 44px;
  height: 44px;
  cursor: pointer;
}

.nav-toggle-close {
  display: none;
}

/* ==========================================================================
   03. Bannière d’accueil et boutons principaux
   Premier affichage de la page d’accueil. Les slides configurés plus bas ajustent cette bannière.
   ========================================================================== */

.home-hero {
  position: relative;
  min-height: 440px;
  background: #071d3c url("../images/hero-stethoscope.webp") center center/cover no-repeat;
  overflow: hidden;
}

.hero-content {
  min-height: 440px;
  display: flex;
  align-items: center;
}

.hero-writing {
  position: relative;
  max-width: 590px;
  padding: 34px 0 39px;
  color: #fff;
}

.eyebrow {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .19em;
  color: #dce8f6;
  margin-bottom: 17px;
  word-spacing: .34em;
}

.eyebrow span {
  margin: 0 8px;
  color: #b3c8df;
}

.hero-line {
  width: 42px;
  height: 3px;
  display: block;
  background: #4eaeff;
  margin-bottom: 22px;
}

.home-hero h1 {
  font-size: clamp(42px,4.5vw,67px);
  max-width: 620px;
  color: #fff;
  margin: 0 0 16px;
  font-weight: 780;
  line-height: 1.08;
  letter-spacing: -.045em;
}

.home-hero p {
  font-size: 20px;
  line-height: 1.55;
  max-width: 520px;
  color: #e7f0fc;
  margin: 0 0 25px;
}

.primary-light-button {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  justify-content: center;
  min-height: 52px;
  padding: 13px 24px;
  background: white;
  color: #0a316d;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 740;
  box-shadow: 0 8px 20px rgba(0,0,0,.1);
  transition: transform .18s,box-shadow .18s;
}

.primary-light-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
}

/* ==========================================================================
   04. Actualités : cartes et présentation générale
   Espacements, images, titres et boutons des actualités.
   ========================================================================== */

.section-space {
  padding: 60px 0 80px;
}

.section-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 29px;
}

.section-heading-row h2 {
  font-size: 35px;
  margin: 0 0 10px;
  font-weight: 780;
}

.accent-underline {
  display: block;
  width: 53px;
  height: 3px;
  background: #2368c5;
  margin-bottom: 8px;
  border-radius: 2px;
}

.section-subtitle {
  margin: 0;
  color: #50647d;
  font-size: 15px;
}

.section-more {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
  color: #1554a4;
}

.section-more:hover {
  color: #083376;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 25px;
}

.news-card {
  border: 1px solid #e4ebf3;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(13,57,100,.045);
  transition: transform .18s,box-shadow .18s;
}

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

.news-cover {
  display: block;
  height: 216px;
  overflow: hidden;
  background: #e7eef8;
}

.news-cover img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform .25s;
}

.news-card:hover .news-cover img {
  transform: scale(1.035);
}

.news-image-fallback {
  height: 100%;
  display: grid;
  place-items: center;
  color: #8caed6;
  background: linear-gradient(125deg,#e7edf6,#f7fbff);
}

.news-info {
  padding: 22px 23px 25px;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #657e9f;
}

.news-card h3 {
  font-size: 20px;
  line-height: 1.3;
  margin: 10px 0 15px;
  min-height: 52px;
}

.news-card h3 a:hover {
  color: #1451a0;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1559ad;
  font-size: 13.5px;
  font-weight: 730;
}

.news-empty {
  min-height: 165px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  text-align: center;
  padding: 26px;
  border: 1px solid #e7edf7;
  background: linear-gradient(120deg,#f6f9fe,#edf3fc,#f7faff);
  border-radius: 12px;
}

.news-empty-icon {
  color: #3779c4;
  margin-bottom: 4px;
}

.news-empty strong {
  font-size: 16px;
  color: #122e51;
}

.news-empty span:last-child {
  font-size: 14px;
  color: #647890;
}

/* ==========================================================================
   05. Pied de page
   Présentation des coordonnées et colonnes du pied de page.
   ========================================================================== */

.site-footer {
  background: linear-gradient(130deg,#092b59,#081d40);
  color: #d0def0;
  padding: 47px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1.25fr;
  gap: 65px;
  padding-bottom: 38px;
}

.footer-logo {
  display: block;
  width: 255px;
  background: white;
  border-radius: 5px;
  padding: 8px;
}

.footer-logo img {
  width: 100%;
  height: auto;
}

.footer-brand p {
  max-width: 310px;
  margin: 16px 0 0;
  color: #c1d1e5;
  font-size: 13px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-column h2 {
  font-size: 14px;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: 0;
  font-weight: 700;
}

.footer-column a,.footer-column p {
  font-size: 13px;
  color: #c9d8ed;
  margin: 0;
}

.footer-column a:hover {
  color: white;
  text-decoration: underline;
}

.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  line-height: 1.6;
}

.footer-contact svg {
  flex: 0 0 18px;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid #a0bbd644;
  padding: 17px 0 21px;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  font-size: 12px;
  color: #aac0dd;
}

/* ==========================================================================
   06. Pages institutionnelles : styles généraux
   À propos, services, contacts, articles et éléments de contenu.
   ========================================================================== */

.interior-head {
  padding: 77px 0 70px;
  background: linear-gradient(125deg,#f2f7fd,#edf4fb 62%,#e0ebf8);
  border-bottom: 1px solid #e5edf7;
}

.interior-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.interior-head .section-label,.section-label {
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .14em;
  color: #2260a7;
  margin-bottom: 17px;
}

.interior-head h1 {
  font-size: clamp(36px,4vw,53px);
  max-width: 780px;
  margin: 0 0 17px;
}

.interior-head p {
  font-size: 17px;
  line-height: 1.7;
  max-width: 730px;
  color: #4b6078;
  margin: 0;
}

.interior-decoration {
  display: grid;
  place-items: center;
  width: 170px;
  height: 170px;
  color: #3979bb;
  opacity: .28;
  flex-shrink: 0;
}

.section-block {
  padding: 74px 0 84px;
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading h2 {
  font-size: 32px;
  margin: 0;
}

.story-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.story-photo {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.story-photo img {
  height: 345px;
  width: 100%;
  object-fit: cover;
}

.story-copy h2,.contact-intro h2 {
  font-size: 34px;
  margin: 0 0 22px;
}

.story-copy p,.contact-intro p {
  color: #52657b;
  font-size: 16px;
  line-height: 1.8;
}

.subtle-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #1659a6;
  font-weight: 720;
  font-size: 14px;
  margin-top: 10px;
}

.subtle-link:hover {
  color: #0b2e66;
}

.light-section {
  background: #f6f9fd;
}

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

.value-card {
  padding: 29px 28px;
  border: 1px solid #e3edf7;
  background: #fff;
  border-radius: 12px;
}

.value-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: #eaf3ff;
  color: #1764ad;
  margin-bottom: 17px;
}

.value-card h3 {
  font-size: 21px;
  margin: 0 0 9px;
}

.value-card p {
  font-size: 14px;
  color: #5c7086;
  margin: 0;
}

.service-grid {
  display: grid;
  gap: 20px;
}

.services-page-grid {
  grid-template-columns: repeat(3,minmax(0,1fr));
}

.service-tile {
  border: 1px solid #e2ebf4;
  border-radius: 12px;
  background: white;
  min-height: 215px;
  padding: 28px;
  transition: box-shadow .2s,transform .2s;
}

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

.service-tile-icon {
  width: 52px;
  height: 52px;
  background: #edf5ff;
  color: #1f6aba;
  display: grid;
  place-items: center;
  border-radius: 12px;
  margin-bottom: 19px;
}

.service-tile h3 {
  font-size: 19px;
  margin: 0 0 9px;
}

.service-tile p {
  font-size: 14px;
  color: #566c85;
  margin: 0;
}

.service-note {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #eef5ff;
  border: 1px solid #dce9f8;
  border-radius: 12px;
  padding: 22px 26px;
  margin-top: 30px;
}

.service-note>span {
  color: #1e64b3;
}

.service-note strong {
  font-size: 15px;
}

.service-note p {
  font-size: 13px;
  margin: 3px 0 0;
}

.service-note a {
  margin: 0 0 0 auto;
  flex: 0 0 auto;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
}

.contact-intro .button {
  margin-top: 16px;
}

.button {
  min-height: 47px;
  border-radius: 7px;
  padding: 11px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 730;
  font-size: 13px;
}

.button-primary {
  color: white;
  background: #124f9d;
}

.button-primary:hover {
  background: #0c387a;
}

.contact-card {
  background: #fff;
  border: 1px solid #e3ebf4;
  box-shadow: var(--shadow);
  padding: 34px;
  border-radius: 14px;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 17px 0;
  border-bottom: 1px solid #eef2f7;
}

.contact-row:first-child {
  padding-top: 0;
}

.contact-row:last-child {
  border-bottom: 0;
}

.contact-row>span {
  flex-shrink: 0;
  color: #1762b0;
}

.contact-row strong {
  color: #1b3555;
}

.contact-row p {
  font-size: 14px;
  color: #607289;
  margin: 6px 0 0;
}

.contact-notice {
  background: #f3f7fc;
  border-radius: 9px;
  padding: 14px 17px;
  margin-top: 17px;
  font-size: 13px;
  color: #5d7189;
}

.news-grid-full {
  margin-top: 0;
}

.empty-publication {
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
  padding: 64px 20px;
}

.empty-icon {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  background: #edf5fd;
  color: #2a6dad;
  border-radius: 15px;
}

.empty-publication h2 {
  font-size: 25px;
}

.empty-publication p {
  color: #61758c;
}

.article-head h1 {
  max-width: 900px;
}

.back-link {
  display: inline-block;
  font-size: 13px;
  color: #1a63ab;
  margin-bottom: 27px;
}

.article-wrap {
  max-width: 850px;
}

.article-image {
  width: 100%;
  max-height: 430px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 34px;
}

.article-text {
  font-size: 17px;
  line-height: 1.92;
  color: #344f6b;
  margin-bottom: 25px;
  overflow-wrap: anywhere;
}

.not-found {
  text-align: center;
  padding: 90px 0;
}

.not-found h1 {
  font-size: 34px;
}

/* ==========================================================================
   07. Adaptations communes aux écrans
   Styles de base pour tablettes et téléphones ainsi que réduction des animations.
   ========================================================================== */

@media (max-width:1110px) {
  .container {
    width: min(100% - 52px,1260px);
  }

  .brand img {
    width: 245px;
  }

  .main-nav {
    gap: 20px;
  }

  .nav-link {
    font-size: 13px;
  }

}

@media (max-width:840px) {
  .site-header {
    height: 76px;
  }

  .brand img {
    width: 233px;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    box-shadow: 0 18px 30px #05264e1b;
    padding: 12px 25px 24px;
    border-top: 1px solid var(--line);
  }

  .site-header.menu-open .main-nav {
    display: flex;
  }

  .site-header.menu-open .nav-toggle-open {
    display: none;
  }

  .site-header.menu-open .nav-toggle-close {
    display: block;
  }

  .nav-link {
    padding: 14px 7px;
    font-size: 15px;
    border-bottom: 1px solid #eef2f7;
  }

  .nav-link.active:after {
    left: 0;
    right: auto;
    bottom: 10px;
    height: 3px;
    width: 24px;
  }

  .home-hero,.hero-content {
    min-height: 420px;
  }

  .hero-writing {
    max-width: 510px;
  }

  .home-hero {
    background-position: 58% center;
  }

  .home-hero h1 {
    font-size: clamp(40px,6.2vw,57px);
  }

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

  .news-grid {
    gap: 15px;
  }

  .news-cover {
    height: 175px;
  }

  .news-info {
    padding: 19px;
  }

  .news-card h3 {
    font-size: 17px;
    min-height: 47px;
  }

  .story-layout {
    gap: 34px;
  }

  .footer-grid {
    gap: 30px;
  }

}

@media (max-width:640px) {
  .container {
    width: calc(100% - 36px);
  }

  .site-header {
    height: 74px;
  }

  .brand img {
    width: 210px;
  }

  .home-hero {
    background-position: 58% center;
    min-height: 500px;
  }

  .home-hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,rgba(5,29,61,.96),rgba(5,29,61,.78) 58%,rgba(5,29,61,.36));
  }

  .hero-content {
    position: relative;
    min-height: 500px;
  }

  .hero-writing {
    padding: 55px 0;
  }

  .eyebrow {
    font-size: 10px;
    letter-spacing: .12em;
    word-spacing: 0;
  }

  .eyebrow span {
    margin: 0 4px;
  }

  .hero-line {
    margin-bottom: 23px;
  }

  .home-hero h1 {
    font-size: clamp(39px,9vw,55px);
    max-width: 380px;
  }

  .home-hero p {
    font-size: 17px;
    max-width: 360px;
  }

  .primary-light-button {
    font-size: 13px;
    gap: 20px;
  }

  .section-space {
    padding: 42px 0 57px;
  }

  .section-heading-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }

  .section-heading-row h2 {
    font-size: 30px;
  }

  .section-more {
    font-size: 13px;
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .news-cover {
    height: 215px;
  }

  .news-card h3 {
    min-height: unset;
    font-size: 19px;
  }

  .news-empty {
    min-height: 180px;
    padding: 26px 14px;
  }

  .news-empty strong {
    font-size: 14px;
  }

  .news-empty span:last-child {
    font-size: 12px;
  }

  .site-footer {
    padding-top: 35px;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 5px;
    font-size: 11px;
  }

  .interior-head {
    padding: 50px 0;
  }

  .interior-head h1 {
    font-size: 36px;
  }

  .interior-head p {
    font-size: 15px;
  }

  .interior-decoration {
    display: none;
  }

  .section-block {
    padding: 50px 0;
  }

  .section-heading h2 {
    font-size: 28px;
  }

  .story-layout,.contact-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .story-photo img {
    height: 260px;
  }

  .story-copy h2,.contact-intro h2 {
    font-size: 29px;
  }

  .value-grid,.services-page-grid {
    grid-template-columns: 1fr;
  }

  .service-tile {
    min-height: 0;
    padding: 24px;
  }

  .service-note {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .service-note a {
    margin-left: 0;
  }

  .contact-card {
    padding: 25px;
  }

}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }

  *,*:before,*:after {
    transition: none !important;
    animation: none !important;
  }

}

/* ==========================================================================
   08. Diaporama de la page d’accueil
   Visuels, textes, boutons, commandes et responsive du diaporama.
   ========================================================================== */

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.home-slider {
  height: 558px;
  position: relative;
  background: #08254a;
  isolation: isolate;
  overflow: hidden;
}

.home-slider-track {
  position: absolute;
  inset: 0;
}

.home-slide {
  position: absolute;
  inset: 0;
  display: block;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .75s ease,visibility .75s ease;
  isolation: isolate;
}

.home-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.home-slide-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.home-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,rgba(4,29,62,.97) 0%,rgba(5,31,66,.93) 26%,rgba(6,37,75,.69) 47%,rgba(6,29,65,.13) 78%);
  z-index: 0;
}

.home-slide:first-child .home-slide-overlay {
  background: linear-gradient(90deg,rgba(4,29,60,.74) 0%,rgba(4,29,60,.56) 36%,rgba(4,29,60,.22) 72%,rgba(4,29,60,.08) 100%);
}

.home-slide .hero-content {
  height: 100%;
  min-height: 0;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
}

.home-slide .hero-writing {
  padding: 22px 0 72px;
  max-width: 660px;
}

.home-slide .eyebrow {
  font-size: 11px;
  margin-bottom: 22px;
  letter-spacing: .20em;
  font-weight: 750;
  color: #d6e6f7;
}

.home-slide .hero-line {
  background: #55b7ff;
  margin-bottom: 23px;
  width: 48px;
  height: 3px;
}

.home-slide h1,.home-slide h2 {
  font-size: clamp(40px,4.7vw,65px);
  max-width: 640px;
  color: #fff;
  margin: 0 0 18px;
  font-weight: 785;
  letter-spacing: -.045em;
  line-height: 1.12;
}

.home-slide p {
  max-width: 515px;
  font-size: 19px;
  line-height: 1.6;
  color: #e6effa;
  margin: 0 0 29px;
}

.home-slide .primary-light-button {
  border-radius: 8px;
  min-height: 52px;
  gap: 26px;
  padding-inline: 25px;
  background: #fff;
  color: #0b336e;
  box-shadow: 0 10px 27px #00142a32;
}

.home-slide .primary-light-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 35px #00142a50;
}

.slider-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 5;
  background: linear-gradient(0deg,rgba(4,25,55,.43),transparent);
  pointer-events: none;
}

.slider-controls-inner {
  height: 79px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  pointer-events: auto;
}

.slider-pagination {
  display: flex;
  align-items: center;
  gap: 7px;
}

.slider-dot {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}

.slider-dot span {
  display: block;
  width: 22px;
  height: 4px;
  border-radius: 9px;
  background: #fff7;
  transition: width .25s ease,background .25s;
}

.slider-dot:hover span {
  background: #fff;
}

.slider-dot.is-active span {
  width: 28px;
  background: #fff;
}

.slider-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.slider-count {
  font-size: 12px;
  letter-spacing: .1em;
  color: #f1f7ff;
  margin-right: 13px;
  font-weight: 680;
}

.slider-button {
  background: #ffffff22;
  border: 1px solid #ffffff63;
  color: white;
  width: 39px;
  height: 39px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .2s ease;
}

.slider-button:hover {
  background: #ffffff4a;
}

.slider-pause {
  margin-left: 3px;
}

.home-shortcuts {
  background: #fff;
  position: relative;
  z-index: 8;
  margin-top: 0;
  border-bottom: 1px solid #edf1f6;
}

.shortcuts-row {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 0;
}

.shortcut-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 26px 20px 26px 0;
  min-width: 0;
  position: relative;
  transition: background .2s;
}

.shortcut-item+.shortcut-item {
  padding-left: 25px;
  border-left: 1px solid #e8eef6;
}

.shortcut-item .shortcut-icon {
  color: #1b62a6;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #edf4fd;
  flex-shrink: 0;
}

.shortcut-item>span:nth-child(2) {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.shortcut-item strong {
  color: #112f55;
  font-weight: 760;
  font-size: 15px;
}

.shortcut-item small {
  font-size: 12px;
  color: #718199;
  line-height: 1.45;
}

.shortcut-item>svg {
  color: #2f70b4;
  transition: transform .2s;
  flex-shrink: 0;
}

.shortcut-item:hover>svg {
  transform: translate(3px,-3px);
}

.home-services-section {
  padding: 79px 0 87px;
  background: #fff;
}

.home-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 27px;
}

.home-section-kicker {
  display: block;
  color: #2161a3;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  margin-bottom: 12px;
}

.home-section-head h2,.home-intro-copy h2 {
  font-size: clamp(30px,3.4vw,41px);
  margin: 0 0 11px;
  letter-spacing: -.04em;
  line-height: 1.2;
  color: #102e53;
}

.home-section-head p {
  font-size: 15px;
  color: #64768c;
  margin: 0;
}

.home-section-head .section-more {
  padding-bottom: 6px;
}

.home-service-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 20px;
}

.home-service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: start;
  min-height: 222px;
  border: 1px solid #e2eaf4;
  border-radius: 13px;
  background: #fff;
  padding: 27px 23px;
  transition: transform .2s,box-shadow .2s,border-color .2s;
}

.home-service-card:hover {
  transform: translateY(-4px);
  border-color: #c5dbf2;
  box-shadow: 0 18px 40px rgba(11,45,79,.09);
}

.home-service-icon {
  height: 49px;
  width: 49px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #eaf3ff;
  color: #246ab5;
  margin-bottom: 16px;
}

.home-service-card h3 {
  font-size: 18px;
  line-height: 1.2;
  margin-bottom: 9px;
  letter-spacing: -.025em;
}

.home-service-card p {
  font-size: 13px;
  color: #64778f;
  line-height: 1.6;
  margin: 0;
  max-width: 260px;
}

.home-service-arrow {
  position: absolute;
  right: 20px;
  top: 31px;
  color: #337ac1;
}

.home-intro-section {
  background: #f5f8fc;
  padding: 78px 0;
}

.home-intro-grid {
  display: grid;
  grid-template-columns: minmax(0,408px) minmax(0,1fr);
  gap: clamp(48px,6.5vw,92px);
  align-items: center;
}

.home-intro-picture {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(23,61,94,.09);
}

.home-intro-picture img {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: cover;
  object-position: center;
}

.picture-caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: #fff;
  color: #114477;
  font-weight: 730;
  letter-spacing: .045em;
  font-size: 11px;
  border-radius: 5px;
  padding: 10px 13px;
  box-shadow: 0 8px 28px rgba(0,20,42,.12);
}

.home-intro-copy {
  padding-block: 15px;
}

.home-intro-copy h2 {
  max-width: 565px;
  margin-bottom: 21px;
}

.home-intro-copy p {
  font-size: 15px;
  line-height: 1.85;
  color: #5d7189;
  margin-bottom: 12px;
  max-width: 555px;
}

.dark-outline-button {
  display: inline-flex;
  align-items: center;
  gap: 19px;
  border: 1px solid #173f73;
  border-radius: 7px;
  min-height: 49px;
  padding: 11px 18px;
  font-weight: 760;
  color: #143f75;
  font-size: 13px;
  margin-top: 16px;
  transition: background .2s,color .2s;
}

.dark-outline-button:hover {
  background: #123f75;
  color: #fff;
}

.home-news.section-space {
  padding: 78px 0 92px;
}

.home-news .section-heading-row {
  margin-bottom: 28px;
}

.home-news .section-heading-row h2 {
  margin-bottom: 8px;
  font-size: 38px;
}

.home-news .section-heading-row .home-section-kicker {
  margin-bottom: 10px;
}

.home-news .news-empty {
  min-height: 150px;
  background: #f7faff;
  box-shadow: none;
  border-style: dashed;
}

@media (max-width:1100px) {
  .home-service-grid {
    gap: 13px;
  }

  .home-service-card {
    padding: 24px 19px;
  }

  .home-intro-grid {
    gap: 47px;
  }

  .shortcut-item {
    gap: 12px;
  }

  .shortcut-item+.shortcut-item {
    padding-left: 14px;
  }

  .shortcut-item .shortcut-icon {
    width: 48px;
    height: 48px;
  }

}

@media (max-width:840px) {
  .home-slider {
    height: 535px;
  }

  .home-slide h1,.home-slide h2 {
    font-size: 50px;
  }

  .home-slide p {
    font-size: 18px;
  }

  .home-slide .hero-writing {
    padding-bottom: 76px;
  }

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

  .shortcut-item {
    padding: 22px 8px 22px 0;
  }

  .shortcut-item+.shortcut-item {
    padding-left: 10px;
  }

  .shortcut-item>svg {
    display: none;
  }

  .shortcut-item strong {
    font-size: 13px;
  }

  .shortcut-item small {
    font-size: 11px;
  }

  .home-service-grid {
    grid-template-columns: repeat(2,1fr);
  }

  .home-intro-grid {
    gap: 29px;
  }

  .home-intro-copy h2 {
    font-size: 32px;
  }

}

@media (max-width:640px) {
  .home-slider {
    height: 535px;
  }

  .home-slide-image {
    object-position: 60% center;
  }

  .home-slide-overlay,.home-slide:first-child .home-slide-overlay {
    background: linear-gradient(90deg,rgba(4,29,62,.96),rgba(4,29,62,.82) 53%,rgba(4,29,62,.50));
  }

  .home-slide .hero-writing {
    padding: 26px 0 85px;
    max-width: 100%;
  }

  .home-slide .eyebrow {
    font-size: 10px;
    letter-spacing: .11em;
    margin-bottom: 16px;
  }

  .home-slide .hero-line {
    margin-bottom: 19px;
  }

  .home-slide h1,.home-slide h2 {
    font-size: clamp(37px,9vw,48px);
    max-width: 390px;
    margin-bottom: 18px;
  }

  .home-slide p {
    font-size: 16px;
    line-height: 1.62;
    max-width: 375px;
    margin-bottom: 24px;
  }

  .home-slide .primary-light-button {
    min-height: 48px;
    font-size: 12px;
    gap: 16px;
  }

  .slider-controls-inner {
    height: 69px;
  }

  .slider-count {
    font-size: 11px;
    margin-right: 3px;
  }

  .slider-actions {
    gap: 6px;
  }

  .slider-button {
    width: 35px;
    height: 35px;
  }

  .slider-pause {
    margin-left: 0;
  }

  .home-shortcuts .shortcuts-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .shortcut-item,.shortcut-item+.shortcut-item {
    padding: 15px 0;
    border-left: none;
    border-bottom: 1px solid #edf1f6;
  }

  .shortcut-item:last-child {
    border-bottom: 0;
  }

  .shortcut-item>svg {
    display: block;
    margin-left: auto;
  }

  .shortcut-item strong {
    font-size: 14px;
  }

  .shortcut-item small {
    font-size: 12px;
  }

  .shortcut-item .shortcut-icon {
    width: 46px;
    height: 46px;
  }

  .home-services-section {
    padding: 59px 0 65px;
  }

  .home-section-head {
    align-items: start;
    flex-direction: column;
    gap: 11px;
    margin-bottom: 23px;
  }

  .home-section-head h2,.home-intro-copy h2 {
    font-size: 30px;
  }

  .home-section-head p {
    font-size: 14px;
  }

  .home-service-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .home-service-card {
    min-height: 208px;
    padding: 20px 14px;
  }

  .home-service-icon {
    height: 43px;
    width: 43px;
    margin-bottom: 15px;
  }

  .home-service-card h3 {
    font-size: 15px;
  }

  .home-service-card p {
    font-size: 12px;
  }

  .home-service-arrow {
    right: 12px;
    top: 23px;
  }

  .home-service-arrow svg {
    width: 15px;
  }

  .home-intro-section {
    padding: 54px 0 57px;
  }

  .home-intro-grid {
    grid-template-columns: 1fr;
    gap: 29px;
  }

  .home-intro-picture img {
    aspect-ratio: 1.48/1;
  }

  .home-intro-copy {
    padding: 0;
  }

  .home-intro-copy p {
    font-size: 14px;
  }

  .home-news.section-space {
    padding: 55px 0 70px;
  }

  .home-news .section-heading-row h2 {
    font-size: 31px;
  }

}

@media (max-width:380px) {
  .home-slide h1,.home-slide h2 {
    font-size: 35px;
  }

  .slider-pagination {
    gap: 2px;
  }

  .slider-dot {
    width: 28px;
  }

  .slider-dot span {
    width: 17px;
  }

  .slider-dot.is-active span {
    width: 23px;
  }

  .home-service-grid {
    grid-template-columns: 1fr;
  }

  .home-service-card {
    min-height: 0;
  }

  .home-slide .eyebrow {
    letter-spacing: .07em;
  }

}

@media (prefers-reduced-motion:reduce) {
  .home-slide {
    transition: none !important;
  }

  .slider-dot span {
    transition: none !important;
  }

}

.home-slide .hero-writing {
  opacity: 0;
  transform: translateY(7px);
  transition: opacity .18s ease,transform .18s ease;
}

.home-slide.is-active .hero-writing {
  opacity: 1;
  transform: none;
  transition: opacity .48s ease .20s,transform .48s ease .20s;
}

@media (prefers-reduced-motion:reduce) {
  .home-slide .hero-writing,.home-slide.is-active .hero-writing {
    opacity: 1;
    transform: none;
    transition: none !important;
  }

}

/* ==========================================================================
   09. Actions du menu et boutons de contact
   Surcharges de l’en-tête et présentation des boutons de contact.
   ========================================================================== */

.header-content {
  gap: 18px;
}

.main-nav {
  gap: 20px;
  margin-left: auto;
}

.brand img {
  width: 260px;
}

.header-contact-link,.mobile-contact-link,.hero-contact-button,.hero-secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.header-contact-link {
  background: #0a356e;
  color: #fff;
  border-radius: 9px;
  padding: 12px 16px;
  min-height: 44px;
  font-size: 13px;
  box-shadow: 0 6px 18px #072f6930;
  transition: background .2s,transform .2s;
}

.header-contact-link:hover {
  background: #1553a1;
  transform: translateY(-1px);
}

.mobile-contact-link {
  display: none;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-wrap: wrap;
}

.hero-contact-button {
  min-height: 52px;
  border-radius: 8px;
  background: #fff;
  color: #093772;
  padding: 13px 23px;
  font-size: 14px;
  box-shadow: 0 10px 27px #00142a32;
  transition: transform .2s,background .2s;
}

.hero-contact-button:hover {
  background: #eef6ff;
  transform: translateY(-2px);
}

.hero-secondary-link {
  border: 1px solid #ffffffa8;
  min-height: 52px;
  border-radius: 8px;
  color: #fff;
  padding: 12px 20px;
  font-size: 13px;
  background: #ffffff0c;
  transition: background .2s;
}

.hero-secondary-link:hover {
  background: #ffffff23;
}

/* ==========================================================================
   10. En-tête sur écrans intermédiaires et mobiles
   Disposition de la navigation et des boutons selon la largeur de l’écran.
   ========================================================================== */

@media (max-width:1160px) {
  .site-header .header-content {
    gap: 14px;
  }

  .site-header .brand img {
    width: 222px;
  }

  .site-header .main-nav {
    gap: 13px;
  }

  .site-header .nav-link {
    font-size: 12px;
  }

  .header-contact-link {
    font-size: 12px;
    padding: 10px 12px;
  }

}

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

  .site-header .main-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    padding: 12px 25px 22px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    box-shadow: 0 18px 30px #05264e1b;
    border-top: 1px solid var(--line);
    margin-left: 0;
  }

  .site-header.menu-open .main-nav {
    display: flex;
  }

  .site-header .nav-link {
    padding: 14px 7px;
    font-size: 15px;
    border-bottom: 1px solid #eef2f7;
  }

  .site-header .nav-link.active:after {
    left: 0;
    right: auto;
    bottom: 10px;
    height: 3px;
    width: 24px;
  }

  .site-header.menu-open .nav-toggle-open {
    display: none;
  }

  .site-header.menu-open .nav-toggle-close {
    display: block;
  }

  .site-header .header-contact-link {
    margin-left: auto;
  }

}

@media (max-width:640px) {
  .site-header .brand img {
    width: min(45vw,205px);
  }

  .site-header .header-content {
    gap: 10px;
  }

  .site-header .header-contact-link {
    padding: 10px;
    min-height: 40px;
    font-size: 11px;
    gap: 6px;
    margin-left: auto;
  }

  .site-header .header-contact-link svg {
    width: 16px;
    height: 16px;
  }

  .site-header .nav-toggle {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }

  .hero-buttons {
    align-items: stretch;
    gap: 9px;
  }

  .hero-contact-button,.hero-secondary-link {
    min-height: 45px;
    font-size: 12px;
    padding: 10px 12px;
  }

  .hero-contact-button svg,.hero-secondary-link svg {
    width: 16px;
    height: 16px;
  }

}

@media (max-width:390px) {
  .site-header .header-contact-link {
    display: none;
  }

  .site-header .nav-toggle {
    margin-left: auto;
  }

  .site-header .mobile-contact-link {
    display: flex;
    margin-top: 12px;
    background: #0a356e;
    color: white;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 14px;
  }

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

  .hero-contact-button,.hero-secondary-link {
    min-height: 42px;
  }

}

@media (max-width:1040px) {
  .site-header .mobile-contact-link {
    display: flex;
    margin-top: 12px;
    background: #0a356e;
    color: #fff;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 14px;
  }

}

@media (max-width:640px) {
  .site-header .header-contact-link span {
    display: none;
  }

  .site-header .header-contact-link::after {
    content: "RDV";
    font-size: 12px;
  }

  .site-header .header-contact-link {
    flex-shrink: 0;
    padding: 8px 10px;
  }

}

@media (max-width:390px) {
  .site-header .header-contact-link {
    display: inline-flex;
  }

  .site-header .nav-toggle {
    margin-left: 0;
  }

}

/* ==========================================================================
   11. Introduction de la page d’accueil : responsive
   Présentation du texte et de l’image d’introduction selon la taille de l’écran.
   ========================================================================== */

@media (max-width:980px) {
  .home-intro-grid {
    grid-template-columns: minmax(0,.86fr) minmax(0,1.14fr);
    gap: clamp(24px,4vw,44px);
  }

  .home-intro-picture {
    max-width: 400px;
  }

  .home-intro-copy h2 {
    font-size: clamp(27px,3.5vw,35px);
  }

}

@media (max-width:700px) {
  .home-intro-section {
    padding: 54px 0 62px;
  }

  .home-intro-grid {
    grid-template-columns: minmax(0,1fr);
    gap: 28px;
  }

  .home-intro-picture {
    width: 100%;
    max-width: 430px;
    margin-inline: auto;
  }

  .home-intro-picture img {
    aspect-ratio: 1.3/1;
  }

  .home-intro-copy {
    padding: 0;
  }

  .home-intro-copy h2 {
    font-size: clamp(28px,6vw,34px);
  }

}

/* ==========================================================================
   12. Présentation de l’hôpital et de ses services
   Histoire, missions, services et recherche de services.
   ========================================================================== */

.hospital-page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(115deg,#edf4fc 0%,#f9fbfe 58%,#e6f0fb 100%);
  padding: 72px 0 76px;
  border-bottom: 1px solid #e5edf7;
}

.hospital-page-hero:before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 560px;
  height: 560px;
  border: 1px solid #c2d9f457;
  border-radius: 50%;
  top: -330px;
  right: -100px;
  box-shadow: 0 0 0 82px #cfdef41c,0 0 0 160px #c6dbf316;
}

.hospital-page-hero-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.hospital-page-hero-inner>div:first-child {
  max-width: 850px;
}

.hospital-breadcrumb {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  margin-bottom: 36px;
  color: #7b8da4;
}

.hospital-breadcrumb a {
  color: #3265a0;
}

.hospital-breadcrumb a:hover {
  text-decoration: underline;
}

.hospital-page-hero .section-label {
  margin-bottom: 15px;
}

.hospital-page-hero h1 {
  font-size: clamp(38px,4.25vw,59px);
  line-height: 1.1;
  margin: 0 0 19px;
  max-width: 810px;
  letter-spacing: -.045em;
}

.hospital-page-hero p {
  max-width: 710px;
  color: #536984;
  line-height: 1.75;
  font-size: 17px;
  margin: 0;
}

.hospital-hero-mark {
  width: 166px;
  height: 166px;
  flex: none;
  display: grid;
  place-items: center;
  color: #7ca7d5;
  opacity: .36;
}

.hospital-text-action {
  color: #125da8;
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 25px;
}

.hospital-text-action:hover {
  gap: 15px;
}

.hospital-about-story {
  padding: 91px 0 97px;
  background: #fff;
}

.hospital-about-grid {
  display: grid;
  grid-template-columns: minmax(0,.87fr) minmax(0,1.13fr);
  gap: clamp(45px,7vw,116px);
  align-items: center;
}

.hospital-about-photo-wrap {
  position: relative;
  max-width: 480px;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 24px 56px #123f7018;
}

.hospital-about-photo-wrap img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.17;
  object-fit: cover;
}

.hospital-about-copy h2 {
  max-width: 610px;
  font-size: clamp(30px,3vw,42px);
  margin: 0 0 21px;
}

.hospital-about-copy>p {
  color: #596f89;
  line-height: 1.85;
  font-size: 15.5px;
  max-width: 680px;
  margin: 0 0 24px;
}

.hospital-about-feature {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  border-top: 1px solid #e9eef5;
  padding: 18px 0;
}

.hospital-about-feature>span {
  display: grid;
  place-items: center;
  flex: none;
  color: #1764b1;
  background: #eef5fd;
  width: 45px;
  height: 45px;
  border-radius: 12px;
}

.hospital-about-feature strong {
  font-size: 14px;
  color: #17385e;
}

.hospital-about-feature p {
  font-size: 13px;
  color: #687d96;
  margin: 3px 0 0;
  line-height: 1.65;
}

.hospital-history-section {
  background: #f7fafc;
  padding: 55px 0;
  border-block: 1px solid #e7edf4;
}

.hospital-history-inner {
  display: grid;
  grid-template-columns: 78px minmax(0,800px);
  gap: 25px;
  align-items: start;
}

.hospital-history-icon {
  width: 68px;
  height: 68px;
  border: 1px solid #dce9f7;
  border-radius: 18px;
  background: #fff;
  color: #2b6bb0;
  display: grid;
  place-items: center;
}

.hospital-history-inner h2 {
  font-size: 29px;
  margin: 0 0 14px;
}

.hospital-history-inner p {
  font-size: 15px;
  line-height: 1.9;
  color: #566e88;
  margin: 0;
}

.hospital-missions-section {
  background: #f5f8fc;
  padding: 87px 0 96px;
}

.hospital-centered-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 39px;
}

.hospital-centered-head h2 {
  font-size: clamp(30px,3.4vw,41px);
  margin: 0 0 11px;
}

.hospital-centered-head p {
  color: #677a94;
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

.hospital-mission-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 21px;
}

.hospital-mission-card {
  position: relative;
  background: #fff;
  border: 1px solid #e5edf5;
  border-radius: 15px;
  padding: 32px 30px;
  min-height: 256px;
  box-shadow: 0 8px 28px #15457507;
}

.hospital-mission-icon {
  display: grid;
  place-items: center;
  width: 53px;
  height: 53px;
  border-radius: 14px;
  background: #edf5ff;
  color: #175ca6;
  margin-bottom: 23px;
}

.hospital-card-index {
  position: absolute;
  right: 25px;
  top: 25px;
  color: #c7d8eb;
  font-size: 19px;
  font-weight: 800;
}

.hospital-mission-card h3 {
  font-size: 23px;
  margin: 0 0 11px;
}

.hospital-mission-card p {
  color: #667c93;
  font-size: 14px;
  line-height: 1.75;
  margin: 0;
}

.hospital-cta-strip {
  background: linear-gradient(110deg,#0d315e,#082344);
  color: #fff;
  padding: 38px 0;
}

.hospital-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.hospital-cta-inner .section-label {
  color: #8abef3;
  margin-bottom: 8px;
}

.hospital-cta-inner h2 {
  font-size: 25px;
  max-width: 740px;
  margin: 0;
  color: #fff;
}

.hospital-cta-button {
  background: #fff;
  color: #0d3876;
  border-radius: 9px;
  padding: 14px 21px;
  font-weight: 780;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
}

.hospital-cta-button:hover {
  background: #edf5ff;
}

.hospital-services-hero {
  padding-bottom: 75px;
}

.hospital-services-content {
  background: #fff;
  padding: 74px 0 90px;
}

.hospital-services-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 44px;
}

.hospital-services-toolbar h2 {
  font-size: clamp(28px,3vw,38px);
  margin: 0;
}

.hospital-service-search {
  display: flex;
  align-items: center;
  gap: 11px;
  background: #f7faff;
  border: 1px solid #dfe9f4;
  border-radius: 12px;
  padding: 0 16px;
  height: 51px;
  color: #3167a2;
  max-width: 310px;
  min-width: 240px;
  flex: 0 1 310px;
}

.hospital-service-search input {
  width: 100%;
  min-width: 0;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none;
  font-size: 13px;
  color: #14375c;
}

.hospital-service-search input::placeholder {
  color: #7c92ab;
}

.hospital-service-group {
  margin-bottom: 52px;
}

.hospital-group-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid #e8edf3;
  padding: 0 0 19px;
  margin-bottom: 24px;
}

.hospital-group-heading>div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hospital-group-number {
  font-weight: 800;
  color: #2072bf;
  font-size: 12px;
  padding: 7px 9px;
  border-radius: 6px;
  background: #eaf3fd;
}

.hospital-group-heading h3 {
  font-size: 24px;
  margin: 0;
}

.hospital-group-heading p {
  margin: 0;
  color: #8598ad;
  font-size: 13px;
}

.hospital-service-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 20px;
}

.hospital-service-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e4ecf5;
  border-radius: 14px;
  padding: 18px 18px 24px;
  min-height: 225px;
  box-shadow: 0 8px 28px #0c3c7008;
  transition: border-color .2s,box-shadow .2s,transform .2s;
  overflow: hidden;
}

.hospital-service-card:hover {
  border-color: #bad2eb;
  box-shadow: 0 16px 40px #0c3c7012;
  transform: translateY(-2px);
}

.hospital-service-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.hospital-service-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #edf5fc;
  color: #1b66ac;
}

.hospital-service-rule {
  height: 2px;
  width: 33px;
  background: #e7edf4;
}

.hospital-service-card h4 {
  font-size: 19px;
  font-weight: 770;
  line-height: 1.3;
  letter-spacing: -.027em;
  margin: 0 0 10px;
  color: #12335c;
}

.hospital-service-card>p {
  color: #698097;
  font-size: 13.5px;
  line-height: 1.75;
  margin: 0 0 8px;
}

.hospital-service-details {
  margin-top: auto;
  padding-top: 16px;
}

.hospital-service-card-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: #155a9f;
  font-size: 13px;
  font-weight: 800;
}

.hospital-service-card-action:hover {
  text-decoration: underline;
}

.hospital-service-details summary {
  display: flex;
  gap: 7px;
  align-items: center;
  cursor: pointer;
  list-style: none;
  color: #1d62ab;
  font-size: 12.5px;
  font-weight: 800;
}

.hospital-service-details summary::-webkit-details-marker {
  display: none;
}

.hospital-service-details summary svg {
  transition: transform .2s;
}

.hospital-service-details[open] summary svg {
  transform: rotate(90deg);
}

.hospital-service-detail-copy {
  padding-top: 15px;
  border-top: 1px solid #e6edf5;
  margin-top: 13px;
}

.hospital-service-detail-copy strong {
  font-size: 12px;
  color: #143e74;
}

.hospital-service-detail-copy p {
  font-size: 13px;
  line-height: 1.8;
  color: #627991;
  margin: 5px 0 15px;
}

.hospital-service-no-results {
  background: #f4f8fd;
  text-align: center;
  color: #617993;
  border: 1px solid #e2eaf4;
  border-radius: 12px;
  padding: 25px;
}

.hospital-service-help {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #eff5fc;
  border: 1px solid #e0eaf7;
  border-radius: 15px;
  padding: 24px 27px;
  margin-top: 23px;
}

.hospital-help-icon {
  display: grid;
  place-items: center;
  border-radius: 12px;
  flex: none;
  width: 50px;
  height: 50px;
  background: #fff;
  color: #1c63ab;
}

.hospital-service-help>div {
  flex: 1;
}

.hospital-service-help h3 {
  font-size: 17px;
  margin: 0 0 5px;
}

.hospital-service-help p {
  font-size: 13px;
  color: #698198;
  margin: 0;
}

.hospital-service-help a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #155a9f;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 800;
}

.hospital-service-help a:hover {
  text-decoration: underline;
}

[data-service-card][hidden],[data-service-group][hidden],#hospital-service-no-results[hidden] {
  display: none !important;
}

@media (max-width:1100px) {
  .hospital-about-grid {
    gap: 50px;
  }

  .hospital-service-grid {
    gap: 15px;
  }

  .hospital-service-card {
    padding: 16px 16px 22px;
  }

}

@media (max-width:840px) {
  .hospital-page-hero {
    padding: 54px 0 61px;
  }

  .hospital-page-hero h1 {
    font-size: 44px;
  }

  .hospital-hero-mark {
    width: 90px;
    opacity: .25;
  }

  .hospital-hero-mark svg {
    width: 85px;
  }

  .hospital-about-story {
    padding: 65px 0;
  }

  .hospital-about-grid {
    grid-template-columns: .95fr 1.05fr;
    gap: 25px;
  }

  .hospital-about-photo-wrap img {
    aspect-ratio: .9;
  }

  .hospital-mission-card {
    padding: 24px 22px;
  }

  .hospital-service-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .hospital-service-help {
    flex-wrap: wrap;
  }

  .hospital-service-help a {
    margin-left: 70px;
  }

}

@media (max-width:650px) {
  .hospital-page-hero {
    padding: 34px 0 53px;
  }

  .hospital-breadcrumb {
    margin-bottom: 27px;
  }

  .hospital-page-hero h1 {
    font-size: 36px;
  }

  .hospital-page-hero p {
    font-size: 15px;
  }

  .hospital-hero-mark {
    display: none;
  }

  .hospital-about-story {
    padding: 56px 0;
  }

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

  .hospital-about-photo-wrap {
    width: 100%;
    max-width: 420px;
  }

  .hospital-about-photo-wrap img {
    aspect-ratio: 1.28;
  }

  .hospital-about-copy h2 {
    font-size: 31px;
  }

  .hospital-history-inner {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .hospital-history-icon {
    width: 52px;
    height: 52px;
  }

  .hospital-missions-section {
    padding: 58px 0 64px;
  }

  .hospital-centered-head {
    margin-bottom: 26px;
  }

  .hospital-mission-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .hospital-mission-card {
    min-height: 0;
    padding: 25px;
  }

  .hospital-mission-icon {
    margin-bottom: 15px;
  }

  .hospital-cta-strip {
    padding: 35px 0;
  }

  .hospital-cta-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .hospital-cta-inner h2 {
    font-size: 24px;
  }

  .hospital-services-content {
    padding: 53px 0 64px;
  }

  .hospital-services-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
    margin-bottom: 33px;
  }

  .hospital-services-toolbar h2 {
    font-size: 30px;
  }

  .hospital-service-search {
    min-width: 0;
    max-width: none;
    flex: none;
    width: 100%;
  }

  .hospital-group-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
  }

  .hospital-group-heading h3 {
    font-size: 21px;
  }

  .hospital-service-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .hospital-service-card {
    min-height: 0;
  }

  .hospital-service-group {
    margin-bottom: 37px;
  }

  .hospital-service-help {
    gap: 14px;
    padding: 23px 18px;
  }

  .hospital-service-help>div {
    min-width: calc(100% - 70px);
  }

  .hospital-service-help a {
    margin-left: 0;
  }

}

@media (prefers-reduced-motion:reduce) {
  .hospital-service-card,.hospital-service-details svg,.hospital-text-action {
    transition: none;
  }

}

/* ==========================================================================
   13. Annuaire des spécialistes : structure des cartes
   Grille, taille des cartes, typographie, filtres et ajustements responsive.
   ========================================================================== */

@media (min-width:1041px) and (max-width:1390px) {
  .site-header .main-nav {
    gap: 13px;
  }

  .site-header .nav-link {
    font-size: 12px;
  }

  .site-header .brand img {
    width: 220px;
  }

  .site-header .header-contact-link {
    padding: 10px 12px;
    font-size: 12px;
  }

}

.specialist-team-hero {
  background: linear-gradient(110deg,#f3f8fe 0%,#eef5fd 68%,#e5effa);
  padding: 65px 0 74px;
  border-bottom: 1px solid #e2ebf7;
}

.specialist-team-hero-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.specialist-team-hero-grid>div {
  max-width: 730px;
}

.specialist-crumb {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 29px;
  color: #607692;
  font-size: 12px;
}

.specialist-crumb a {
  color: #265c9b;
}

.specialist-crumb a:hover {
  text-decoration: underline;
}

.specialist-team-hero .section-label {
  display: block;
  letter-spacing: .18em;
}

.specialist-team-hero h1 {
  font-size: clamp(39px,4.2vw,59px);
  margin: 0 0 15px;
  letter-spacing: -.045em;
}

.specialist-team-hero p {
  max-width: 635px;
  color: #536b86;
  font-size: 16px;
  line-height: 1.8;
  margin: 0;
}

.specialist-hero-sign {
  display: grid;
  place-items: center;
  width: 185px;
  height: 185px;
  background: #dceafb;
  border-radius: 50%;
  color: #679bcd;
  opacity: .58;
  flex: none;
}

.specialist-team-main {
  padding: 66px 0 83px;
  background: #fff;
  min-height: 400px;
}

.specialist-team-heading {
  display: flex;
  gap: 28px;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 30px;
}

.specialist-team-heading h2 {
  font-size: clamp(26px,3vw,35px);
  margin: 0 0 9px;
}

.specialist-team-heading p {
  margin: 0;
  color: #64758b;
  font-size: 14px;
}

.specialist-team-search {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #d7e4f4;
  border-radius: 10px;
  background: #fbfdff;
  padding: 0 14px;
  min-width: 270px;
  color: #5583ba;
  flex: none;
}

.specialist-team-search input {
  min-height: 49px;
  min-width: 0;
  width: 100%;
  border: 0;
  background: transparent;
  outline: 0;
  font-size: 13px;
  color: #143454;
}

.specialist-team-search:focus-within {
  outline: 3px solid #d5e9ff;
  border-color: #4e88c6;
}

.specialist-screenreader {
  position: absolute;
  width: 1px;
  height: 1px;
  clip: rect(0,0,0,0);
  overflow: hidden;
  white-space: nowrap;
}

.specialist-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(250px,285px));
  justify-content: start;
  gap: 18px;
}

.specialist-member-card {
  border: 1px solid #e2ebf6;
  border-radius: 15px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 30px rgba(17,54,94,.05);
  transition: transform .2s,box-shadow .2s;
}

.specialist-member-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(17,54,94,.10);
}

.specialist-member-photo {
  background: #eef4fb;
  aspect-ratio: 1/1;
  overflow: hidden;
}

.specialist-member-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  transition: transform .25s;
}

.specialist-member-card:hover .specialist-member-photo img {
  transform: scale(1.025);
}

.specialist-member-content {
  padding: 19px 18px 21px;
}

.specialist-member-kicker {
  display: block;
  color: #346eb3;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
  margin-bottom: 10px;
}

.specialist-member-content h3 {
  font-size: 18px;
  letter-spacing: -.025em;
  margin: 0 0 6px;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.specialist-member-specialty {
  font-size: 13px;
  color: #175aa4;
  font-weight: 700;
  margin: 0 0 9px;
}

.specialist-member-department {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 11px;
  color: #6b7e93;
  line-height: 1.5;
  margin: 0;
}

.specialist-member-department svg {
  flex: none;
  margin-top: 1px;
}

.specialist-member-bio {
  font-size: 12px;
  color: #63778e;
  line-height: 1.7;
  border-top: 1px solid #eaf0f7;
  margin: 14px 0 0;
  padding-top: 11px;
}

.specialist-team-empty {
  max-width: 790px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  align-items: center;
  flex-direction: column;
  background: #f6f9fe;
  border: 1px solid #e2ecf7;
  border-radius: 17px;
  padding: 62px 45px;
}

.specialist-team-empty-icon {
  width: 75px;
  height: 75px;
  display: grid;
  place-items: center;
  border-radius: 19px;
  background: #e4effe;
  color: #1c60ad;
  margin-bottom: 22px;
}

.specialist-team-empty h3 {
  font-size: 24px;
  margin: 0 0 12px;
}

.specialist-team-empty p {
  font-size: 14px;
  color: #5e718b;
  line-height: 1.8;
  max-width: 510px;
  margin: 0 0 22px;
}

.specialist-team-contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #aac4e6;
  color: #18539a;
  border-radius: 8px;
  background: #fff;
  padding: 12px 18px;
  font-weight: 750;
  font-size: 13px;
}

.specialist-team-footer-cta {
  background: #f2f7fe;
  border-top: 1px solid #e2ecfa;
  padding: 35px 0;
}

.specialist-team-footer-cta>.container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.specialist-team-footer-cta strong {
  font-size: 19px;
  color: #12345d;
}

.specialist-team-footer-cta p {
  margin: 7px 0 0;
  color: #5f7490;
  font-size: 13px;
}

.specialist-team-footer-cta a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 19px;
  border-radius: 9px;
  color: #fff;
  background: #0b3c80;
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
}

.specialist-team-footer-cta a:hover {
  background: #1356a5;
}

.specialist-no-search {
  padding: 25px;
  text-align: center;
  font-size: 14px;
  color: #617892;
}

@media (max-width:1200px) {
  .specialist-team-grid {
    grid-template-columns: repeat(auto-fill,minmax(235px,1fr));
  }

}

@media (max-width:900px) {
  .specialist-team-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 16px;
  }

}

@media (max-width:720px) {
  .specialist-team-hero {
    padding: 39px 0 50px;
  }

  .specialist-hero-sign {
    display: none;
  }

  .specialist-crumb {
    margin-bottom: 24px;
  }

  .specialist-team-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .specialist-team-search {
    min-width: 0;
    width: 100%;
  }

  .specialist-team-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .specialist-team-main {
    padding: 45px 0 56px;
  }

  .specialist-team-empty {
    padding: 43px 23px;
  }

  .specialist-team-footer-cta>.container {
    align-items: flex-start;
    flex-direction: column;
  }

  .specialist-member-photo {
    aspect-ratio: 4/3;
  }

  .specialist-member-content {
    padding: 18px 18px 20px;
  }

}

@media (prefers-reduced-motion:reduce) {
  .specialist-member-card,.specialist-member-photo img {
    transition: none !important;
  }

}

/* ==========================================================================
   14. Navigation des spécialistes et annuaire des départements
   Sous-menu, liens, cartes de départements et styles mobiles.
   ========================================================================== */

.nav-specialists {
  display: flex;
  align-items: center;
  position: relative;
  align-self: stretch;
  gap: 3px;
}

.nav-specialists>.nav-link {
  height: 100%;
}

.specialist-submenu-toggle {
  display: grid;
  place-items: center;
  width: 23px;
  height: 34px;
  border: 0;
  background: transparent;
  color: #245a9b;
  cursor: pointer;
  padding: 0;
  transition: transform .18s;
}

.specialist-submenu-toggle svg {
  transform: rotate(90deg);
}

.nav-specialists.is-open .specialist-submenu-toggle svg {
  transform: rotate(-90deg);
}

.specialist-submenu-toggle:focus-visible,.specialist-submenu a:focus-visible {
  outline: 3px solid #8dbdf5;
  outline-offset: 3px;
  border-radius: 5px;
}

.specialist-submenu {
  display: none;
  position: absolute;
  z-index: 100;
  top: calc(100% - 7px);
  left: 0;
  min-width: 305px;
  max-width: 375px;
  max-height: min(65vh,580px);
  overflow: auto;
  padding: 13px;
  background: white;
  border: 1px solid #dce8f5;
  border-radius: 11px;
  box-shadow: 0 23px 60px rgba(8,36,74,.16);
}

.nav-specialists:hover .specialist-submenu,.nav-specialists:focus-within .specialist-submenu,.nav-specialists.is-open .specialist-submenu {
  display: block;
}

.submenu-heading {
  display: block;
  padding: 10px 12px;
  color: #71849a;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.specialist-submenu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.4;
  color: #1b395c;
  border-radius: 7px;
}

.specialist-submenu a:hover,.specialist-submenu a:focus-visible {
  background: #eef5fd;
  color: #134d94;
}

.specialist-submenu small {
  display: grid;
  place-items: center;
  flex: none;
  width: 25px;
  height: 25px;
  border-radius: 7px;
  color: #2861a8;
  background: #eaf2fc;
  font-size: 12px;
  font-weight: 750;
}

.specialist-submenu .submenu-all {
  color: #124d94;
  font-weight: 750;
  border-top: 1px solid #e6eef7;
  border-radius: 0;
  margin-top: 7px;
  padding-top: 15px;
}

.directory-directory {
  min-height: 420px;
}

.directory-departments-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 18px;
}

.directory-department-card {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 125px;
  padding: 23px 20px;
  border: 1px solid #e0eaf6;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(12,44,88,.04);
  transition: box-shadow .18s,transform .18s,border-color .18s;
}

.directory-department-card:hover {
  transform: translateY(-2px);
  border-color: #9ebee7;
  box-shadow: 0 14px 34px rgba(10,43,88,.10);
}

.directory-department-card:focus-visible {
  outline: 3px solid #72b3f3;
  outline-offset: 3px;
}

.directory-department-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 51px;
  height: 51px;
  border-radius: 11px;
  color: #1258a7;
  background: #eef5ff;
}

.directory-department-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.directory-department-text strong {
  font-size: 16px;
  line-height: 1.35;
  color: #12355c;
}

.directory-department-text small {
  font-size: 12px;
  color: #657e9a;
}

.directory-department-arrow {
  margin-left: auto;
  color: #1b64b5;
  flex: none;
}

.directory-department-back {
  margin: -3px 0 27px;
}

.directory-department-back a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 750;
  color: #1e5d9f;
}

.directory-department-back a:hover {
  text-decoration: underline;
}

@media (max-width:1040px) {
  .site-header .nav-specialists {
    flex-wrap: wrap;
    gap: 0;
    align-self: auto;
    border-bottom: 1px solid #eef2f7;
  }

  .site-header .nav-specialists>.nav-link {
    flex: 1 1 auto;
    border: 0;
    height: auto;
  }

  .site-header .specialist-submenu-toggle {
    width: 44px;
    height: 47px;
  }

  .site-header .specialist-submenu {
    position: static;
    flex: 1 0 100%;
    min-width: 0;
    max-width: none;
    max-height: 280px;
    border: 0;
    box-shadow: none;
    border-radius: 7px;
    background: #f3f7fd;
    padding: 5px 9px 10px;
    margin: 0 0 12px;
    overflow: auto;
  }

  .site-header .nav-specialists:hover .specialist-submenu,.site-header .nav-specialists:focus-within .specialist-submenu {
    display: none;
  }

  .site-header .nav-specialists.is-open .specialist-submenu {
    display: block;
  }

  .site-header .specialist-submenu a {
    font-size: 14px;
    padding: 12px 10px;
  }

  .directory-departments-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

}

@media (max-width:650px) {
  .directory-departments-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .directory-department-card {
    min-height: 96px;
    padding: 17px 15px;
  }

  .directory-department-text strong {
    font-size: 15px;
  }

}

@media (prefers-reduced-motion:reduce) {
  .directory-department-card,.specialist-submenu-toggle {
    transition: none;
  }

}

/* ==========================================================================
   15. Ajustements du logo institutionnel
   Surcharges définitives de largeur du logo dans l’en-tête et le pied de page.
   ========================================================================== */

.site-header .brand img {
  width: 230px;
  height: auto;
  max-height: 60px;
}

.footer-logo {
  width: 230px;
}

@media (min-width: 1041px) and (max-width: 1390px) {
  .site-header .brand img {
    width: 205px;
  }

}

@media (max-width: 1040px) {
  .site-header .brand img {
    width: 210px;
  }

}

@media (max-width: 640px) {
  .site-header .brand img {
    width: min(42vw, 180px);
  }

  .footer-logo {
    width: 210px;
    max-width: 100%;
  }

}

/* ==========================================================================
   16. Partenaires : cartes de base
   Apparence initiale des logos et des cartes de partenaires.
   ========================================================================== */

.home-partners {
  padding: 60px 0 76px;
  background: #f7f9fc;
  border-top: 1px solid #e8eef7;
}

.home-partners-heading {
  text-align: center;
  max-width: 670px;
  margin: 0 auto 30px;
}

.home-partners-heading h2 {
  font-size: clamp(27px,3vw,37px);
  letter-spacing: -.035em;
  color: #123760;
  margin: 9px 0 12px;
  line-height: 1.2;
}

.home-partners-heading p {
  font-size: 14px;
  line-height: 1.75;
  color: #647991;
  margin: 0;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 16px;
}

.partner-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 170px;
  padding: 20px 16px;
  background: white;
  border: 1px solid #e4ebf5;
  border-radius: 13px;
  text-decoration: none;
  color: #1e426a;
  transition: transform .18s,box-shadow .18s,border-color .18s;
}

.partner-tile:hover {
  transform: translateY(-3px);
  border-color: #b3cbe9;
  box-shadow: 0 12px 28px rgba(13,54,100,.075);
}

.partner-tile:focus-visible {
  outline: 3px solid #5697e5;
  outline-offset: 3px;
}

.partner-logo-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 88px;
  flex: none;
}

.partner-logo-frame img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 82px;
  object-fit: contain;
}

.partner-logo-frame img[hidden] {
  display: none;
}

.partner-logo-fallback {
  font-size: 22px;
  font-weight: 800;
  color: #1b4777;
  line-height: 1.1;
  text-align: center;
}

.partner-logo-fallback[hidden] {
  display: none;
}

.partner-label {
  text-align: center;
  color: #586f89;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 650;
}

@media (max-width:900px) {
  .partners-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 13px;
  }

  .home-partners {
    padding: 47px 0 56px;
  }

}

@media (max-width:480px) {
  .partner-tile {
    padding: 17px 12px;
    min-height: 148px;
  }

  .partner-logo-frame {
    height: 69px;
  }

  .partner-logo-frame img {
    max-height: 67px;
  }

  .partner-label {
    font-size: 11px;
  }

  .home-partners-heading {
    margin-bottom: 23px;
  }

}

@media (prefers-reduced-motion:reduce) {
  .partner-tile {
    transition: none;
  }

}

/* ==========================================================================
   17. Partenaires : densité et tailles réduites
   Surcharges des cartes et des logos pour un affichage plus compact.
   ========================================================================== */

.home-partners {
  padding: 52px 0 60px;
}

.home-partners-heading {
  margin-bottom: 25px;
}

.partners-grid {
  gap: 13px;
}

.partner-tile {
  min-height: 130px;
  gap: 8px;
  padding: 15px 14px;
  border-radius: 12px;
}

.partner-logo-frame {
  height: 62px;
}

.partner-logo-frame img {
  max-width: min(158px,88%);
  max-height: 52px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.partner-logo-fallback {
  font-size: clamp(14px,1.35vw,19px);
  overflow-wrap: anywhere;
}

.partner-label {
  font-size: 11px;
  line-height: 1.35;
}

@media (max-width:900px) {
  .home-partners {
    padding: 44px 0 51px;
  }

  .partners-grid {
    gap: 12px;
  }

}

@media (max-width:480px) {
  .partner-tile {
    min-height: 111px;
    padding: 12px 9px;
    gap: 5px;
  }

  .partner-logo-frame {
    height: 49px;
  }

  .partner-logo-frame img {
    max-height: 42px;
    max-width: min(140px,94%);
  }

  .partner-logo-fallback {
    font-size: 15px;
  }

  .partner-label {
    font-size: 10px;
  }

}

/* ==========================================================================
   18. Partenaires : carrousel
   Défilement des partenaires, navigation et versions mobiles.
   ========================================================================== */

.home-partners {
  padding: 48px 0 54px;
  background: #f7f9fc;
  border-top: 1px solid #e8eef7;
}

.home-partners-titlebar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 22px;
}

.home-partners-heading {
  text-align: left;
  max-width: none;
  margin: 0;
}

.home-partners-heading h2 {
  font-size: clamp(27px,2.7vw,35px);
  margin: 6px 0 7px;
}

.home-partners-heading p {
  font-size: 13px;
  line-height: 1.6;
}

.partners-carousel-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.partners-nav {
  height: 36px;
  width: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid #d0ddec;
  background: #fff;
  color: #1a528e;
  cursor: pointer;
  transition: background .2s,border-color .2s;
}

.partners-nav:hover {
  background: #e9f2fc;
  border-color: #9fbdde;
}

.partners-nav:focus-visible,.partners-dot:focus-visible {
  outline: 3px solid #5697e5;
  outline-offset: 3px;
}

.partners-nav[aria-pressed="true"] {
  background: #e8f1fc;
  color: #133e7b;
}

.partners-slider {
  min-width: 0;
  outline-offset: 5px;
  touch-action: pan-y;
}

.partners-slider:focus-visible {
  outline: 2px solid #8fb7e5;
}

.partners-slides {
  position: relative;
  min-width: 0;
}

.partners-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .48s ease,visibility 0s linear .48s;
}

.partners-slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .48s ease;
}

.partners-slide[data-count="2"] {
  grid-template-columns: repeat(2,minmax(0,300px));
  justify-content: center;
}

.partners-slide[data-count="1"] {
  grid-template-columns: minmax(0,300px);
  justify-content: center;
}

.partners-slide .partner-tile {
  width: 100%;
  height: 124px;
  min-height: 0;
  padding: 17px 14px;
  gap: 8px;
  background: #fff;
  border: 1px solid #e1e9f4;
  border-radius: 13px;
  box-shadow: 0 7px 20px rgba(13,46,89,.035);
}

.partners-slide .partner-logo-frame {
  height: 62px;
  position: relative;
}

.partners-slide .partner-logo-frame img {
  max-height: 49px;
  max-width: min(184px,92%);
  width: auto;
  height: auto;
  object-fit: contain;
  visibility: hidden;
  position: relative;
  z-index: 1;
}

.partners-slide .partner-logo-frame.logo-ready img {
  visibility: visible;
}

.partners-slide .partner-logo-fallback {
  font-size: clamp(14px,1.45vw,21px);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.partners-slide .partner-logo-frame.logo-ready .partner-logo-fallback {
  display: none;
}

.partners-slide .partner-label {
  font-size: 11px;
  line-height: 1.35;
  min-height: 28px;
  display: grid;
  place-items: center;
  text-align: center;
}

.partners-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.partners-dot {
  display: grid;
  place-items: center;
  width: 28px;
  height: 26px;
  border: 0;
  border-radius: 20px;
  background: transparent;
  cursor: pointer;
}

.partners-dot span {
  display: block;
  height: 7px;
  width: 7px;
  border-radius: 100px;
  background: #bacbdc;
  transition: width .22s ease,background .22s ease;
}

.partners-dot.is-active span {
  width: 23px;
  background: #1557a1;
}

@media (max-width:700px) {
  .home-partners {
    padding: 40px 0 46px;
  }

  .home-partners-titlebar {
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
  }

  .home-partners-heading h2 {
    font-size: 28px;
  }

  .home-partners-heading p {
    font-size: 12px;
  }

  .partners-carousel-controls {
    gap: 4px;
  }

  .partners-nav {
    height: 32px;
    width: 32px;
  }

  .partners-slide {
    gap: 9px;
  }

  .partners-slide .partner-tile {
    height: 106px;
    padding: 10px 8px;
    gap: 3px;
    border-radius: 11px;
  }

  .partners-slide .partner-logo-frame {
    height: 49px;
  }

  .partners-slide .partner-logo-frame img {
    max-height: 40px;
    max-width: 97%;
  }

  .partners-slide .partner-logo-fallback {
    font-size: 13px;
  }

  .partners-slide .partner-label {
    font-size: 10px;
    min-height: 31px;
  }

}

@media (max-width:500px) {
  .home-partners-titlebar {
    flex-wrap: wrap;
  }

  .home-partners-heading {
    flex: 1 1 100%;
  }

  .partners-carousel-controls {
    margin-left: auto;
  }

  .partners-slide {
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 6px;
  }

  .partners-slide[data-count="2"] {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .partners-slide[data-count="1"] {
    grid-template-columns: minmax(0,1fr);
    max-width: 180px;
    margin-inline: auto;
  }

  .partners-slide .partner-tile {
    height: 105px;
    padding: 8px 5px;
    gap: 4px;
  }

  .partners-slide .partner-logo-frame {
    height: 46px;
  }

  .partners-slide .partner-logo-frame img {
    max-height: 38px;
    max-width: 96%;
  }

  .partners-slide .partner-logo-fallback {
    font-size: 12px;
    overflow-wrap: anywhere;
  }

  .partners-slide .partner-label {
    font-size: 9px;
    line-height: 1.2;
    min-height: 37px;
    overflow-wrap: anywhere;
  }

  .partners-pagination {
    margin-top: 14px;
  }

}

@media (prefers-reduced-motion:reduce) {
  .partners-slide,.partners-slide.is-active,.partners-dot span,.partners-nav,.partners-slide .partner-tile {
    transition: none;
  }

}

/* ==========================================================================
   19. Contact ambulance : bandeau et bouton mobile
   Numéro de contact mis en avant sur ordinateur et bouton d’appel sur téléphone.
   ========================================================================== */

.site-header {
  height: auto;
}

.site-header .header-content {
  height: 90px;
}

.ambulance-contact-strip {
  background: #0d315d;
  color: #fff;
  min-height: 36px;
}

.ambulance-contact-inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ambulance-contact-location {
  font-size: 11px;
  line-height: 1.3;
  font-weight: 530;
  color: #c8dcf0;
  letter-spacing: .01em;
}

.ambulance-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  min-height: 36px;
  padding: 4px 0 4px 13px;
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity .2s;
}

.ambulance-contact-link:hover {
  color: #fff;
  opacity: .86;
}

.ambulance-contact-link strong {
  font-weight: 790;
  font-size: 12px;
  letter-spacing: .02em;
}

.ambulance-contact-icon {
  display: grid;
  place-items: center;
  background: #c92d43;
  border-radius: 50%;
  width: 23px;
  height: 23px;
  color: white;
}

.ambulance-contact-link:focus-visible,.ambulance-mobile-call:focus-visible,.ambulance-contact-row a:focus-visible {
  outline: 3px solid #6db7ff;
  outline-offset: 3px;
}

.ambulance-mobile-call {
  display: none;
}

.ambulance-contact-row {
  background: #fff4f5;
  border: 1px solid #f5d5db;
  border-radius: 12px;
  padding: 16px;
  margin: 8px 0 18px;
}

.ambulance-contact-row>span {
  background: #ffe0e5;
  color: #ba2039;
}

.ambulance-contact-row strong {
  color: #882038;
}

.ambulance-contact-row a {
  font-weight: 800;
  color: #ab2139;
  letter-spacing: .015em;
}

@media (max-width:840px) {
  .site-header .header-content {
    height: 76px;
  }

  .ambulance-contact-strip {
    display: none;
  }

  body {
    padding-bottom: calc(77px + env(safe-area-inset-bottom,0px));
  }

  .ambulance-mobile-call {
    position: fixed;
    z-index: 90;
    left: 50%;
    bottom: calc(12px + env(safe-area-inset-bottom,0px));
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 12px;
    width: min(350px,calc(100% - 32px));
    min-height: 57px;
    padding: 10px 16px;
    color: #fff;
    background: #b8253d;
    border: 1px solid #d54a60;
    border-radius: 13px;
    box-shadow: 0 10px 30px rgba(53,16,35,.26);
    text-decoration: none;
  }

  .ambulance-mobile-call>svg {
    flex: 0 0 auto;
  }

  .ambulance-mobile-call>span:nth-child(2) {
    display: flex;
    flex-direction: column;
    gap: 1px;
    line-height: 1.2;
  }

  .ambulance-mobile-call strong {
    font-size: 13px;
    font-weight: 800;
  }

  .ambulance-mobile-call small {
    font-size: 12px;
    color: #ffe5e8;
    letter-spacing: .02em;
  }

  .ambulance-mobile-action {
    margin-left: auto;
    font-size: 12px;
    font-weight: 750;
    padding: 7px 9px;
    border-radius: 7px;
    background: #ffffff26;
  }

}

@media (max-width:640px) {
  .site-header .header-content {
    height: 74px;
  }

}

@media (prefers-reduced-motion:reduce) {
  .ambulance-contact-link {
    transition: none;
  }

}

/* ==========================================================================
   20. Articles : typographie enrichie
   Paragraphes, titres, listes, liens et citations dans les articles.
   ========================================================================== */

.article-text p {
  margin: 0 0 1.15em;
}

.article-text h2 {
  font-size: clamp(23px,2.5vw,30px);
  font-weight: 800;
  line-height: 1.3;
  color: #102f55;
  margin: 1.45em 0 .65em;
}

.article-text h3 {
  font-size: clamp(19px,2.1vw,24px);
  font-weight: 780;
  line-height: 1.38;
  color: #16395f;
  margin: 1.3em 0 .55em;
}

.article-text strong {
  font-weight: 800;
  color: #183a60;
}

.article-text em {
  font-style: italic;
}

.article-text u {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-text ul,.article-text ol {
  padding-left: 1.75em;
  margin: 1.1em 0 1.4em;
  list-style-position: outside;
}

.article-text ul {
  list-style: disc;
}

.article-text ol {
  list-style: decimal;
}

.article-text li {
  padding-left: .2em;
  margin-bottom: .4em;
}

.article-text blockquote {
  border-left: 4px solid #2771b9;
  background: #f1f6fd;
  padding: 16px 22px;
  margin: 1.4em 0;
  color: #355576;
  border-radius: 0 7px 7px 0;
}

.article-text a {
  color: #165ca8;
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.article-text a:hover {
  color: #083a76;
}

/* ==========================================================================
   21. Actualités : carrousel et pagination
   Défilement horizontal des cartes d’actualités.
   ========================================================================== */

.news-heading-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 20px;
}

.news-carousel-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.news-nav {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid #d8e3f0;
  border-radius: 50%;
  color: #163d70;
  background: #fff;
  cursor: pointer;
  transition: background .2s,border-color .2s,color .2s;
}

.news-nav:hover,.news-nav:focus-visible {
  background: #113f7c;
  border-color: #113f7c;
  color: white;
}

.news-nav:focus-visible,.news-dot:focus-visible {
  outline: 3px solid #80b7f5;
  outline-offset: 3px;
}

.news-carousel {
  --news-visible: 2;
  --news-gap: 22px;
}

.news-carousel--three {
  --news-visible: 3;
}

.news-carousel-track {
  display: flex;
  gap: var(--news-gap);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 4px 2px 15px;
  margin: -4px -2px 0;
  touch-action: pan-x pan-y;
}

.news-carousel-track::-webkit-scrollbar {
  display: none;
}

.news-carousel-card {
  flex: 0 0 calc((100% - (var(--news-visible) - 1)*var(--news-gap))/var(--news-visible));
  scroll-snap-align: start;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.news-carousel-card .news-cover {
  flex-shrink: 0;
}

.news-carousel-card .news-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
}

.news-carousel-card .read-more {
  margin-top: auto;
}

.news-carousel-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
  min-height: 12px;
}

.news-dot {
  border: 0;
  cursor: pointer;
  width: 20px;
  height: 12px;
  background: transparent;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-dot span {
  height: 6px;
  width: 6px;
  border-radius: 20px;
  background: #c0cfe2;
  transition: width .24s,background .24s;
}

.news-dot.is-active span {
  width: 20px;
  background: #1b5ea8;
}

.news-carousel:not(.is-scrollable) .news-carousel-pagination,.news-carousel-controls.is-inactive {
  display: none;
}

@media (max-width:900px) {
  .news-carousel,.news-carousel--three {
    --news-visible: 2;
    --news-gap: 17px;
  }

}

@media (max-width:640px) {
  .news-carousel,.news-carousel--three {
    --news-visible: 1;
    --news-gap: 16px;
  }

  .news-heading-actions {
    width: 100%;
    justify-content: space-between;
    gap: 15px;
  }

  .news-carousel-controls {
    gap: 6px;
  }

  .news-nav {
    width: 35px;
    height: 35px;
  }

  .news-carousel-card .news-cover {
    height: 210px;
  }

  .news-carousel-pagination {
    margin-top: 11px;
  }

}

@media (prefers-reduced-motion:reduce) {
  .news-carousel-track {
    scroll-behavior: auto;
  }

  .news-dot span,.news-nav {
    transition: none;
  }

}

/* ==========================================================================
   22. Articles : images intégrées et résumés
   Photos présentes dans un article et résumés éditoriaux.
   ========================================================================== */

.article-text .news-inline-figure {
  width: 100%;
  margin: 32px auto 35px;
  max-width: 820px;
  text-align: center;
}

.article-text .news-inline-figure img {
  width: auto;
  max-width: 100%;
  max-height: 560px;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 10px 32px rgba(12,36,69,.12);
  margin: 0 auto;
}

.article-text .news-inline-figure figcaption {
  padding-top: 9px;
  font-size: 13px;
  line-height: 1.55;
  color: #687f98;
}

.article-summary {
  font-size: 16px;
  line-height: 1.7;
  color: #4b6078;
  max-width: 730px;
}

.article-summary p {
  margin: 0 0 8px;
}

.article-summary h2,.article-summary h3 {
  font-size: 19px;
  line-height: 1.35;
  margin: 7px 0;
  color: #19375d;
  font-weight: 750;
}

.article-summary ul,.article-summary ol,.news-summary ul,.news-summary ol {
  padding-left: 23px;
  margin: 8px 0;
  list-style-position: outside;
}

.article-summary ul,.news-summary ul {
  list-style: disc;
}

.article-summary ol,.news-summary ol {
  list-style: decimal;
}

.article-summary a,.news-summary a {
  color: #1d61a9;
  text-decoration: underline;
}

.news-summary {
  color: #596f85;
  line-height: 1.6;
  font-size: 14px;
  max-height: 155px;
  overflow: hidden;
  overflow-wrap: anywhere;
  margin-bottom: 13px;
}

.news-summary p {
  margin: 0 0 5px;
}

.news-summary h2,.news-summary h3 {
  font-size: 15px;
  line-height: 1.3;
  font-weight: 750;
  color: #1c3a5d;
  margin: 7px 0;
}

/* ==========================================================================
   23. Détail d’un service hospitalier
   Disposition de la fiche de service et de sa barre latérale.
   ========================================================================== */

.hospital-service-single-hero {
  padding-bottom: 60px;
}

.hospital-service-single-grid {
  display: block;
}

.hospital-service-single-copy {
  max-width: 810px;
}

.hospital-service-single-copy h1 {
  margin-bottom: 16px;
}

.hospital-service-single-copy p {
  font-size: 17px;
  line-height: 1.8;
  color: #5f7590;
  max-width: 680px;
}

.hospital-service-single-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 14px;
  border: 1px solid #bcd2e8;
  color: #124a86;
  background: #fff;
  font-weight: 800;
}

.ghost-button:hover {
  background: #f6faff;
}

.hospital-service-single-body {
  background: #fff;
  padding: 18px 0 84px;
}

.hospital-service-single-layout {
  display: grid;
  grid-template-columns: minmax(0,1.15fr) 340px;
  gap: 24px;
  align-items: start;
}

.hospital-service-main {
  display: grid;
  gap: 20px;
}

.hospital-service-content-card,.hospital-service-sidecard {
  background: #fff;
  border: 1px solid #e4ecf5;
  border-radius: 18px;
  box-shadow: 0 10px 30px #10376108;
}

.hospital-service-content-card {
  padding: 28px 28px 30px;
}

.hospital-service-content-card h2 {
  margin: 8px 0 14px;
  font-size: 26px;
}

.hospital-service-content-card p,.hospital-rich-copy {
  font-size: 15px;
  line-height: 1.9;
  color: #61788f;
}

.hospital-service-sidebar {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 95px;
}

.hospital-service-sidecard {
  padding: 22px 22px 24px;
}

.hospital-service-sidecard h3 {
  margin: 0 0 14px;
  font-size: 18px;
  color: #12345f;
}

.hospital-service-sidecard a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid #ebf1f6;
  color: #155a9f;
  font-weight: 700;
  font-size: 14px;
}

.hospital-service-sidecard a:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.hospital-service-sidecard a:hover {
  text-decoration: underline;
}

.hospital-service-teamlist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.hospital-service-teamlist li {
  display: grid;
  gap: 3px;
  padding-bottom: 12px;
  border-bottom: 1px solid #ebf1f6;
}

.hospital-service-teamlist li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.hospital-service-teamlist strong {
  font-size: 14px;
  color: #13365f;
}

.hospital-service-teamlist span,.hospital-service-side-note {
  font-size: 13px;
  line-height: 1.7;
  color: #6d8298;
}

@media (max-width:980px) {
  .hospital-service-single-grid {
    display: block;
  }

  .hospital-service-single-layout {
    grid-template-columns: 1fr;
  }

  .hospital-service-sidebar {
    position: static;
    grid-template-columns: 1fr 1fr;
  }

}

@media (max-width:650px) {
  .hospital-service-single-hero {
    padding-bottom: 48px;
  }

  .hospital-service-single-copy p {
    font-size: 15px;
  }

  .hospital-service-content-card {
    padding: 22px 18px 24px;
  }

  .hospital-service-content-card h2 {
    font-size: 23px;
  }

  .hospital-service-sidebar {
    grid-template-columns: 1fr;
  }

  .hospital-service-sidecard {
    padding: 20px 18px 22px;
  }

}

/* ==========================================================================
   24. Spécialistes : portraits circulaires
   Surcharges qui rendent les photographies rondes dans les cartes.
   ========================================================================== */

.specialist-member-card {
  border-radius: 18px;
}

.specialist-member-photo {
  aspect-ratio: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 0;
  padding: 31px 16px 12px;
  overflow: visible;
  background: linear-gradient(180deg,#f1f6fc 0%,#f9fbfe 77%,#fff 100%);
}

.specialist-member-photo img {
  width: min(212px,70%);
  height: auto;
  aspect-ratio: 1/1;
  flex: none;
  object-fit: cover;
  object-position: 50% 26%;
  border-radius: 50%;
  border: 6px solid #fff;
  outline: 2px solid #dbe8f6;
  box-shadow: 0 9px 26px rgba(12,54,106,.15);
  transition: transform .25s,box-shadow .25s;
}

.specialist-member-card:hover .specialist-member-photo img {
  transform: scale(1.035);
  box-shadow: 0 13px 30px rgba(12,54,106,.20);
}

.specialist-member-content {
  text-align: center;
  padding: 18px 23px 28px;
}

.specialist-member-bio {
  text-align: left;
}

@media (max-width:720px) {
  .specialist-member-photo {
    aspect-ratio: auto;
    padding: 28px 15px 10px;
  }

  .specialist-member-photo img {
    width: min(212px,67vw);
  }

}

/* ==========================================================================
   25. Spécialistes : département et affichage filtré
   Alignement de la mention du département et masquage des profils exclus par recherche.
   ========================================================================== */

.specialist-member-department {
  justify-content: center;
  text-align: center;
  align-items: center;
  margin: 6px 0 0;
}

.specialist-member-department svg {
  margin-top: 0;
}

.specialist-team-grid .specialist-member-card[hidden] {
  display: none !important;
}

/* ==========================================================================
   26. CFCGS et CESAMES : blocs institutionnels
   Présentation des deux structures, distinctes sur le site.
   ========================================================================== */

.hpgrb-cfcgs {
  background: #fff;
  padding: 54px 0;
  border-top: 1px solid #e8eff7;
  border-bottom: 1px solid #e8eff7;
}

.hpgrb-cfcgs-inner {
  display: grid;
  grid-template-columns: 76px minmax(0,1fr) auto;
  gap: 27px;
  align-items: center;
}

.hpgrb-cfcgs-symbol {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border: 1px solid #cfe2f6;
  border-radius: 21px;
  color: #135597;
  background: #eaf4fe;
}

.hpgrb-cfcgs-copy .home-section-kicker {
  margin-bottom: 9px;
  display: block;
}

.hpgrb-cfcgs-copy h2 {
  font-size: clamp(23px,2.35vw,32px);
  line-height: 1.22;
  margin: 0 0 11px;
  color: #112f59;
  font-weight: 790;
  letter-spacing: -.035em;
}

.hpgrb-cfcgs-copy h2 span {
  white-space: nowrap;
}

.hpgrb-cfcgs-copy p {
  color: #607690;
  font-size: 14.5px;
  line-height: 1.75;
  margin: 0;
  max-width: 750px;
}

.hpgrb-cfcgs-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 11px;
  background: #103f7e;
  color: #fff;
  border-radius: 12px;
  min-height: 50px;
  padding: 12px 19px;
  font-size: 13px;
  white-space: nowrap;
  font-weight: 770;
  transition: background .2s,transform .2s;
}

.hpgrb-cfcgs-link:hover {
  color: #fff;
  background: #0a3065;
  transform: translateY(-1px);
}

.hpgrb-cesame {
  margin: 4px 0 46px;
}

.hpgrb-cesame-card {
  display: grid;
  grid-template-columns: 64px minmax(0,1fr);
  gap: 22px;
  padding: 30px;
  border: 1px solid #d3e3f0;
  background: linear-gradient(120deg,#f1f7fd,#fff 65%);
  border-radius: 17px;
  box-shadow: 0 9px 29px rgba(21,63,112,.055);
}

.hpgrb-cesame-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #dbe9f5;
  color: #135a9d;
}

.hpgrb-cesame-content .home-section-kicker {
  margin-bottom: 7px;
  display: block;
}

.hpgrb-cesame-content h3 {
  font-size: 29px;
  letter-spacing: -.03em;
  margin: 0 0 10px;
  color: #112f59;
}

.hpgrb-cesame-content p {
  color: #617a96;
  font-size: 14.5px;
  line-height: 1.8;
  max-width: 750px;
  margin: 0 0 15px;
}

.hpgrb-cesame-content a {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  color: #145b9c;
  font-size: 13px;
  font-weight: 800;
}

.hpgrb-cesame-content a:hover {
  text-decoration: underline;
}

@media (max-width:1100px) {
  .hpgrb-cfcgs-inner {
    grid-template-columns: 64px minmax(0,1fr);
    gap: 21px;
  }

  .hpgrb-cfcgs-symbol {
    width: 64px;
    height: 64px;
  }

  .hpgrb-cfcgs-link {
    grid-column: 2;
    justify-self: start;
    margin-top: 1px;
  }

}

@media (max-width:650px) {
  .hpgrb-cfcgs {
    padding: 43px 0;
  }

  .hpgrb-cfcgs-inner {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .hpgrb-cfcgs-symbol {
    width: 56px;
    height: 56px;
    border-radius: 14px;
  }

  .hpgrb-cfcgs-copy h2 {
    font-size: 25px;
  }

  .hpgrb-cfcgs-copy p {
    font-size: 14px;
  }

  .hpgrb-cfcgs-link {
    grid-column: 1;
    justify-self: stretch;
  }

  .hpgrb-cesame {
    margin: 0 0 34px;
  }

  .hpgrb-cesame-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 22px 19px;
  }

  .hpgrb-cesame-icon {
    height: 54px;
    width: 54px;
  }

  .hpgrb-cesame-content h3 {
    font-size: 26px;
  }

}

/* ==========================================================================
   27. Réseaux sociaux et liens de contact
   Liens du pied de page et de la page Contact.
   ========================================================================== */

.footer-socials {
  margin-top: 19px;
}

.footer-socials h2 {
  color: #fff;
  font-size: 13px;
  font-weight: 760;
  margin: 0 0 11px;
  letter-spacing: .025em;
}

.footer-social-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  border: 1px solid #a3c0e044;
  border-radius: 10px;
  padding: 8px 11px;
  color: #f1f7ff;
  background: #ffffff10;
  text-decoration: none;
  transition: background .2s,border-color .2s;
}

.footer-social-link svg {
  flex: none;
}

.footer-social-link span {
  font-size: 12px;
  font-weight: 650;
}

.footer-social-link:hover,.footer-social-link:focus-visible {
  background: #ffffff24;
  border-color: #b6d2f2;
  color: #fff;
  text-decoration: none;
}

.footer-social-link:focus-visible {
  outline: 2px solid #b6d2f2;
  outline-offset: 3px;
}

.contact-social-section {
  padding: 12px 0 72px;
  background: #fff;
}

.contact-social-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border: 1px solid #e1eaf5;
  background: #f5f9fd;
  border-radius: 19px;
  padding: 27px 30px;
}

.contact-social-inner h2 {
  font-size: 24px;
  line-height: 1.27;
  margin: 8px 0 8px;
  color: #113764;
}

.contact-social-inner p {
  font-size: 14px;
  line-height: 1.65;
  color: #6b8299;
  max-width: 490px;
  margin: 0;
}

.contact-social-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
}

.contact-social-list a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #d5e3f1;
  border-radius: 12px;
  color: #154979;
  font-size: 13px;
  font-weight: 760;
  white-space: nowrap;
  transition: background .2s,border-color .2s;
}

.contact-social-list a:hover {
  background: #eaf4ff;
  border-color: #abc9e9;
  text-decoration: none;
}

.contact-social-list a svg:last-child {
  opacity: .6;
}

.social-admin-preview {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 13px;
  color: #51677b;
}

.social-admin-preview a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid #dbe7f3;
  background: #f4f9ff;
  border-radius: 9px;
  padding: 7px 11px;
  color: #11528b;
  text-decoration: none;
}

@media (max-width:900px) {
  .contact-social-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-social-list {
    justify-content: flex-start;
  }

}

@media (max-width:640px) {
  .footer-social-list {
    gap: 8px;
  }

  .footer-social-link {
    min-height: 40px;
  }

  .contact-social-inner {
    padding: 22px 18px;
  }

  .contact-social-inner h2 {
    font-size: 21px;
  }

  .contact-social-list {
    width: 100%;
  }

  .contact-social-list a {
    flex: 1;
    justify-content: center;
  }

}

/* ==========================================================================
   28. CESAMES : sous-titre et actions
   Liens vers le formulaire et les informations CESAMES.
   ========================================================================== */

.hpgrb-cesame-content .hpgrb-cesames-subtitle {
  font-size: 15px;
  font-weight: 750;
  line-height: 1.55;
  color: #174979;
  margin: -5px 0 11px;
}

.hpgrb-cesames-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 21px;
  margin-top: 20px;
}

.hpgrb-cesame-content .hpgrb-cesames-form-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 16px;
  border-radius: 10px;
  color: #fff;
  background: #145991;
  font-size: 13px;
  font-weight: 780;
  text-decoration: none;
  transition: background .18s;
}

.hpgrb-cesame-content .hpgrb-cesames-form-link:hover,.hpgrb-cesame-content .hpgrb-cesames-form-link:focus-visible {
  color: #fff;
  background: #103e6b;
  text-decoration: none;
}

.hpgrb-cesame-content .hpgrb-cesames-contact-link {
  color: #145991;
}

@media (max-width:650px) {
  .hpgrb-cesames-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .hpgrb-cesame-content .hpgrb-cesames-form-link {
    width: 100%;
  }

}

/* ==========================================================================
   29. CESAMES : encart de la page d’accueil
   Présentation spécifique du bloc CESAMES dans la page d’accueil.
   ========================================================================== */

.hpgrb-home-cesames {
  padding: 45px 0 47px;
  background: linear-gradient(110deg,#edf5fc 0%,#f5f9fe 65%,#eef6fd 100%);
  border-top: 1px solid #dae8f5;
  border-bottom: 1px solid #dae8f5;
}

.hpgrb-home-cesames-inner {
  display: grid;
  grid-template-columns: 76px minmax(0,1fr) auto;
  align-items: center;
  gap: 25px;
}

.hpgrb-home-cesames-symbol {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid #d4e5f4;
  color: #1464a8;
  box-shadow: 0 9px 26px #10395d09;
}

.hpgrb-home-cesames-copy .home-section-kicker {
  display: block;
  margin-bottom: 9px;
}

.hpgrb-home-cesames-copy h2 {
  font-size: clamp(24px,2.25vw,31px);
  font-weight: 800;
  color: #102f55;
  line-height: 1.25;
  letter-spacing: -.03em;
  margin: 0 0 10px;
}

.hpgrb-home-cesames-copy h2 span {
  font-size: .73em;
  font-weight: 700;
  letter-spacing: -.018em;
}

.hpgrb-home-cesames-copy p {
  font-size: 14px;
  color: #59728c;
  line-height: 1.78;
  max-width: 730px;
  margin: 0;
}

.hpgrb-home-cesames-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.hpgrb-home-cesames-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 17px;
  min-height: 49px;
  background: #124d85;
  border-radius: 11px;
  color: #fff;
  font-size: 13px;
  font-weight: 790;
  white-space: nowrap;
  transition: background .2s;
}

.hpgrb-home-cesames-button:hover,.hpgrb-home-cesames-button:focus-visible {
  color: #fff;
  background: #0b3664;
  text-decoration: none;
}

.hpgrb-home-cesames-details {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 6px 8px;
  color: #1b5a96;
  font-weight: 750;
  font-size: 12px;
  text-decoration: none;
}

.hpgrb-home-cesames-details:hover {
  text-decoration: underline;
}

@media (max-width:1100px) {
  .hpgrb-home-cesames-inner {
    grid-template-columns: 64px minmax(0,1fr);
    gap: 20px;
  }

  .hpgrb-home-cesames-symbol {
    width: 64px;
    height: 64px;
  }

  .hpgrb-home-cesames-actions {
    grid-column: 2;
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
  }

}

@media (max-width:650px) {
  .hpgrb-home-cesames {
    padding: 42px 0;
  }

  .hpgrb-home-cesames-inner {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .hpgrb-home-cesames-symbol {
    width: 56px;
    height: 56px;
    border-radius: 14px;
  }

  .hpgrb-home-cesames-copy h2 {
    font-size: 25px;
  }

  .hpgrb-home-cesames-copy h2 span {
    display: block;
    font-size: .63em;
    margin-top: 6px;
  }

  .hpgrb-home-cesames-copy p {
    font-size: 14px;
  }

  .hpgrb-home-cesames-actions {
    grid-column: 1;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .hpgrb-home-cesames-button {
    width: 100%;
  }

}


/* ======================================================================
   30. SÉLECTEUR DE LANGUE FR / EN
   - Barre supérieure sur ordinateur.
   - Menu déroulant sur tablette et mobile (jusqu'à 1040 px).
   ====================================================================== */
.header-top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .02em;
}

.language-switcher a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 27px;
  min-height: 27px;
  border-radius: 6px;
  transition: background .18s ease;
}

.language-switcher a:focus-visible {
  outline: 2px solid #6db7ff;
  outline-offset: 2px;
}

.language-switcher--top {
  color: #d1e4fa;
}

.language-switcher--top a:hover,
.language-switcher--top a.is-active {
  background: rgba(255, 255, 255, .19);
  color: #fff;
}

.language-switcher--mobile {
  display: none;
}

@media (max-width: 1040px) {
  .language-switcher--mobile {
    display: flex;
    justify-content: flex-start;
    margin: 10px 0 7px;
    padding: 8px 3px;
    color: #24598c;
  }

  .language-switcher--mobile a.is-active,
  .language-switcher--mobile a:hover {
    color: #083975;
    background: #eaf3fd;
  }
}

@media (max-width: 1040px) {
  /* À cette largeur, le menu bascule en navigation mobile. */
  .language-switcher--top {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .language-switcher a { transition: none; }
}

/* Protection de la disposition du sélecteur selon le menu actif. */
@media (min-width: 1041px) {
  .site-header .main-nav .language-switcher--mobile {
    display: none;
  }
}
