/* Cabinet Ilan Eskinazi — primaire bleu moderne, secondaire turquoise type Tiffany, Nunito */

:root {
  --header-safe-top: env(safe-area-inset-top, 0px);
  --color-primary: #0470b5;
  --color-primary-light: #0d8fd9;
  --color-primary-dark: #035a90;
  /* Tiffany / robin egg turquoise */
  --color-secondary: #0abab5;
  --color-secondary-light: #2dd4bf;
  --color-secondary-soft: #e6faf8;
  --color-accent: #14b8a6;
  --color-accent-soft: #ccfbf1;
  --color-surface: #f8fafc;
  --color-surface-elevated: #ffffff;
  --color-text: #0f172a;
  --color-text-muted: #475569;
  --color-border: #e2e8f0;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.1);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  /* Hauteur de référence barre (ancres, pages sans hero mobile) — logo mobile large / desktop + padding */
  --header-h: 148px;
  --header-pad-y: 0.8rem;
  --transition: 0.22s ease;
  --font-sans: "Nunito", system-ui, -apple-system, sans-serif;
  /* Titres : même famille, rendu « app » arrondi et lisible */
  --font-serif: "Nunito", system-ui, -apple-system, sans-serif;
  --space-section-y: clamp(2.75rem, 6vw, 4.25rem);
  --space-block: clamp(1.25rem, 3vw, 2rem);
  --container-gutter: clamp(1.25rem, 4vw, 2rem);
  --text-body: 1.0625rem;
  --leading-body: 1.65;
  --leading-tight: 1.35;
}

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

html {
  scroll-behavior: smooth;
}

/* Mobile : évite le défilement horizontal qui révèle le tiroir hors écran */
@media (max-width: 960px) {
  html {
    overflow-x: hidden;
    overscroll-behavior-x: none;
  }

  body {
    overflow-x: hidden;
    overscroll-behavior-x: none;
  }
}

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

  .site-header,
  .site-header__inner,
  .site-header__inner > .site-logo--brand,
  .site-header__inner > .site-logo--brand .site-logo__mark--hero,
  .site-header__inner > .site-logo--brand .site-logo__mark--nav,
  .nav-toggle,
  .header-contact {
    transition: none;
  }
}

html {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--color-text);
  background: var(--color-surface-elevated);
  -webkit-font-smoothing: antialiased;
}

#contenu-principal {
  flex: 1 0 auto;
}

h1,
h2,
h3,
.page-hero__title,
.hero__title,
.section__title {
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

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

a {
  color: var(--color-primary-light);
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition);
}

a:hover {
  color: var(--color-primary);
}

/* Soulignement discret uniquement dans les textes longs */
.prose a,
.article-block p a,
.legal-page a:not(.btn) {
  text-decoration: underline;
  text-decoration-color: rgba(4, 112, 181, 0.35);
  text-underline-offset: 3px;
}

.prose a:hover,
.article-block p a:hover,
.legal-page a:not(.btn):hover {
  text-decoration-color: var(--color-secondary);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: var(--color-primary);
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

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

.container {
  width: min(1120px, calc(100% - 2 * var(--container-gutter)));
  margin-inline: auto;
}

.container--narrow {
  width: min(42rem, calc(100% - 2 * var(--container-gutter)));
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(217, 212, 204, 0.85);
  transition:
    background 0.38s ease,
    border-color 0.38s ease,
    backdrop-filter 0.38s ease,
    box-shadow 0.38s ease;
}

/* Accueil, haut de page : barre transparente au-dessus du hero (scroll → barre opaque sticky via JS) */
.site-header--on-hero {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: blur(0);
  box-shadow: none;
}

/*
 * Mobile : header toujours fixe en haut (évite les soucis de position:sticky
 * avec overflow-x sur html et le hero plein écran).
 */
@media (max-width: 960px) {
  .site-header {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Pages sans hero : le contenu ne passe pas sous la barre */
  #contenu-principal:not(:has(> .hero)) {
    padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  }

  /* Moins d’air entre le logo et icônes / burger (sans changer la taille du logo) */
  .site-header--on-hero .header-tools {
    gap: 0.22rem 0.4rem;
  }

  .site-header--on-hero .nav-toggle {
    width: 44px;
    height: 44px;
  }

  .site-header--on-hero .nav-toggle svg {
    width: 20px;
    height: 20px;
  }
}

/* Logo sur le hero : lisibilité sur photo sombre */
.site-header--on-hero > .site-header__inner > .site-logo .site-logo__mark--hero {
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.45));
}

.site-header--on-hero > .site-header__inner .header-phone {
  color: #fff;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.site-header--on-hero > .site-header__inner .header-contact {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.site-header--on-hero > .site-header__inner .header-contact:hover,
.site-header--on-hero > .site-header__inner .header-contact.is-active {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.12);
}

/*
 * Mobile : flex — logo + tiroir + actions.
 * Desktop (≥961px) : grille 3 colonnes — logo | menu | RDV/tel (voir media query).
 */
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem 1rem;
  padding-top: max(var(--header-pad-y), calc(env(safe-area-inset-top, 0px) + 0.65rem));
  padding-bottom: var(--header-pad-y);
  min-height: var(--header-h);
}

/* Logo | navigation (desktop) | Contact + tel + burger */
.header-end {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  margin-left: auto;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.35rem 0.65rem;
  flex-wrap: nowrap;
}

.header-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--color-primary-dark);
  border: 1px solid var(--color-border);
  background: transparent;
  transition:
    background 0.38s ease,
    border-color 0.38s ease,
    color 0.38s ease,
    text-shadow 0.38s ease,
    filter 0.38s ease,
    box-shadow 0.38s ease;
  white-space: nowrap;
}

.header-contact:hover,
.header-contact:focus-visible {
  border-color: var(--color-primary-light);
  background: var(--color-accent-soft);
  color: var(--color-primary-dark);
  outline: none;
}

.header-contact.is-active {
  border-color: var(--color-primary);
  background: var(--color-accent-soft);
}

.header-contact__icon {
  flex-shrink: 0;
}

/* Mobile : bouton RDV = même carré que le burger (48×48), icône alignée */
@media (max-width: 960px) {
  .header-end .header-contact {
    position: relative;
    box-sizing: border-box;
    width: 48px;
    height: 48px;
    min-width: 48px;
    padding: 0;
    justify-content: center;
    align-items: center;
    border-radius: var(--radius-sm);
  }

  .header-end .header-contact .header-contact__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .header-end .header-contact .header-contact__icon.icon-inline {
    width: 22px;
    height: 22px;
  }

  .site-header--on-hero .header-end .header-contact {
    width: 44px;
    height: 44px;
    min-width: 44px;
  }

  .site-header--on-hero .header-end .header-contact .header-contact__icon.icon-inline {
    width: 20px;
    height: 20px;
  }
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

/*
 * Logo marque : ne jamais comprimer dans le flex du header (sinon il rétrécit
 * quand la barre d’actions mobile ou d’autres éléments prennent de la place).
 */
.site-header__inner > .site-logo--brand {
  position: relative;
  display: block;
  flex: 0 0 auto;
  flex-shrink: 0;
  min-width: min-content;
  /* Mobile / tablette : logo très visible dans la barre (desktop surchargé plus bas) */
  max-width: min(560px, calc(100vw - 6.5rem));
  min-height: clamp(72px, 22vw, 120px);
}

.site-logo__mark {
  display: block;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
  object-position: left center;
}

/*
 * Logos hero / barre : même emplacement (absolute) + fondu — pas de flash ni saut de hauteur parasite.
 */
.site-header__inner > .site-logo--brand .site-logo__mark--hero,
.site-header__inner > .site-logo--brand .site-logo__mark--nav {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  transition:
    opacity 0.38s ease,
    filter 0.38s ease;
}

.site-header__inner > .site-logo--brand .site-logo__mark--hero {
  opacity: 0;
  pointer-events: none;
  height: clamp(72px, 22vw, 120px);
  max-height: 120px;
  max-width: min(520px, calc(100vw - 6.5rem));
}

.site-header__inner > .site-logo--brand .site-logo__mark--nav {
  opacity: 1;
  pointer-events: auto;
  height: clamp(72px, 22vw, 120px);
  max-height: 120px;
  max-width: min(520px, calc(100vw - 6.5rem));
}

.site-header--on-hero .site-header__inner > .site-logo--brand .site-logo__mark--hero {
  opacity: 1;
  pointer-events: auto;
}

.site-header--on-hero .site-header__inner > .site-logo--brand .site-logo__mark--nav {
  opacity: 0;
  pointer-events: none;
}

/* Desktop : logo en pleine largeur de la colonne (20 %) — hauteur limitée pour la barre */
@media (min-width: 961px) {
  .site-header__inner > .site-logo--brand {
    width: 100%;
    max-width: 100%;
    min-height: clamp(64px, 12vw, 120px);
  }

  .site-header__inner > .site-logo--brand .site-logo__mark--hero,
  .site-header__inner > .site-logo--brand .site-logo__mark--nav {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: clamp(72px, 14vw, 120px);
    object-fit: contain;
    object-position: left center;
  }
}

.site-logo--brand .site-logo__mark {
  border-radius: 0;
}

/* Tiroir : logo discret (la barre porte le gros logo) */
.site-drawer__brand .site-logo__mark--drawer {
  display: block;
  height: clamp(40px, 9vw, 52px);
  max-height: 52px;
  max-width: 100%;
}

/* Pied de page */
.site-footer .site-logo--brand .site-logo__mark {
  height: clamp(44px, 10vw, 64px);
  max-height: 64px;
  max-width: min(300px, 100%);
}

.site-logo__text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.site-logo__name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.site-logo__tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.site-logo--footer .site-logo__name {
  color: #fff;
}

.site-logo--footer .site-logo__tag {
  color: rgba(255, 255, 255, 0.55);
}

.site-drawer__logo-link.site-logo {
  width: 100%;
}

/* Tiroir mobile : texte et liens toujours lisibles sur fond clair */
.site-drawer .site-logo__name {
  color: var(--color-text);
}

.site-drawer .site-logo__tag {
  color: var(--color-text-muted);
}

.site-drawer__brand {
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-border);
}

/* Lien Services dans le tiroir : même couleur que les autres liens */
.site-drawer .site-nav__link--services {
  color: var(--color-text);
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.header-phone--desktop {
  display: none;
}

.header-phone--mobile {
  margin-right: 0;
}

.icon-inline {
  width: 1.1em;
  height: 1.1em;
  vertical-align: -0.15em;
}

.nav-toggle {
  position: relative;
  z-index: 120;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: rgba(4, 112, 181, 0.1);
  color: var(--color-primary-dark);
  cursor: pointer;
  flex-shrink: 0;
  transition:
    background 0.38s ease,
    color 0.38s ease,
    border-color 0.38s ease,
    box-shadow 0.38s ease;
}

.nav-toggle__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2.25;
  flex-shrink: 0;
}

/* Hero : fond sombre — hamburger lisible */
.site-header--on-hero:not(.is-open) .nav-toggle {
  background: rgba(15, 23, 42, 0.55);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Menu ouvert : contraste fort pour l’icône fermer (lisible sur tout fond) */
.site-header.is-open .nav-toggle {
  background: #fff;
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.2);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
}

.site-header.is-open.site-header--on-hero .nav-toggle {
  background: #fff;
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.2);
}

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

.site-header.is-open .nav-toggle__icon--open {
  display: none;
}

.site-header.is-open .nav-toggle__icon--close {
  display: inline-flex;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 105;
  background: rgba(15, 23, 42, 0.45);
}

html.nav-open,
html.nav-open body {
  overflow: hidden;
}

.site-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 110;
  width: min(400px, 92vw);
  max-width: 100%;
  height: 100vh;
  height: 100dvh;
  padding: 0;
  background: #fff;
  box-shadow: var(--shadow-lg);
  transform: translate3d(100%, 0, 0);
  transition: transform 0.28s ease;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  touch-action: manipulation;
}

.site-header.is-open .site-drawer {
  transform: translate3d(0, 0, 0);
  visibility: visible;
}

/* Fermé : aucune interaction (évite survol / scroll tactile fantôme sur le panneau hors écran) */
@media (max-width: 960px) {
  .site-header:not(.is-open) .site-drawer {
    pointer-events: none;
    touch-action: none;
    visibility: hidden;
  }

  .site-header.is-open .site-drawer {
    pointer-events: auto;
    touch-action: manipulation;
  }

  /*
   * Croix : même coin que le tiroir (plein écran à droite), pas coincée dans le container du header.
   */
  .site-header.is-open .nav-toggle {
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + 0.65rem);
    right: calc(env(safe-area-inset-right, 0px) + 0.65rem);
    left: auto;
    z-index: 125;
    margin: 0;
  }
}

/* Tiroir : chevrons desktop (bas) vs mobile (droite, panneau Services) */
.site-nav__chevron-services--mobile {
  display: none;
  margin-left: auto;
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
  opacity: 0.75;
}

@media (max-width: 960px) {
  .site-nav__chevron-services--desktop {
    display: none !important;
  }

  .site-nav__chevron-services--mobile {
    display: block;
  }

  .site-nav__link--services {
    justify-content: flex-start;
  }
}

/* Panneau mobile Services (slide) */
.site-drawer__track {
  display: flex;
  flex: 1;
  flex-direction: row;
  min-height: 0;
  width: 100%;
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-drawer__track.is-services-open {
  transform: translateX(-50%);
}

.site-drawer__sheet--main {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 0;
}

.site-drawer__sheet--sub {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: #f8fafc;
  border-left: 1px solid var(--color-border);
}

.site-drawer__sub-head {
  flex-shrink: 0;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border);
}

.site-drawer__back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 0.65rem;
  padding: 0.35rem 0.5rem 0.35rem 0;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  cursor: pointer;
  border-radius: var(--radius-sm);
}

.site-drawer__back:hover,
.site-drawer__back:focus-visible {
  color: var(--color-primary);
  outline: none;
}

.site-drawer__back-icon {
  width: 1.1rem;
  height: 1.1rem;
}

.site-drawer__sub-title {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.site-drawer__sub-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding-top: 0.75rem;
  -webkit-overflow-scrolling: touch;
}

.site-drawer__sub-body .site-nav__sub {
  margin: 0;
  padding: 0;
  border: 0;
}

.site-drawer__rdv {
  margin-top: 0.25rem;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 960px) {
  .site-drawer__track {
    width: 200%;
  }

  .site-drawer__sheet--main {
    width: 50%;
    flex-shrink: 0;
    padding: 1rem 1.15rem 1.25rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .site-drawer__sheet--sub {
    width: 50%;
    flex-shrink: 0;
    padding: 1rem 1.15rem 1.25rem;
    overflow-y: auto;
  }

  .site-drawer__brand {
    padding-bottom: 0.65rem;
  }
}

@media (min-width: 961px) {
  .site-drawer__track {
    display: contents;
  }

  .site-drawer__sheet--main {
    display: contents;
  }

  .site-drawer__sheet--sub {
    display: none !important;
  }

  .site-drawer__rdv {
    display: none !important;
  }
}

.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.site-nav__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--color-text);
  font-weight: 500;
  background: transparent;
  transition: color 0.18s ease;
}

/* Trait animé sous les liens (mobile : barre pleine largeur type soulignement) */
.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.4rem;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s ease;
  border-radius: 1px;
  opacity: 0.9;
}

.site-nav__link:hover::after,
.site-nav__link:focus-visible::after {
  transform: scaleX(1);
}

.site-nav__link:focus-visible {
  outline: 2px solid var(--color-primary-light);
  outline-offset: 2px;
}

.site-nav__link.is-active::after {
  transform: scaleX(1);
}

.site-nav__link.is-active {
  color: var(--color-primary-dark);
  font-weight: 600;
}

.site-nav__icon {
  width: 1.15rem;
  height: 1.15rem;
}

.site-drawer__bottom {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

.site-drawer__tel {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--color-text);
}

.site-drawer__tel-num {
  display: block;
  font-weight: 700;
  font-size: 1.1rem;
}

.site-drawer__tel-hint {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

@media (min-width: 961px) {
  .nav-toggle {
    display: none;
  }

  .nav-backdrop {
    display: none !important;
  }

  .header-phone--mobile {
    display: none;
  }

  .header-phone--desktop {
    display: inline-flex;
  }

  /*
   * Grille 20 / 50 / 30 : logo | menu | RDV + tel
   * minmax(0, fr) évite les débordements ; gap fluide entre les zones.
   */
  .site-header__inner {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 5fr) minmax(0, 3fr);
    align-items: center;
    column-gap: clamp(0.85rem, 2.2vw, 1.65rem);
    row-gap: 0;
  }

  .site-header__inner > .site-logo--brand {
    grid-column: 1;
    justify-self: stretch;
    max-width: 100%;
  }

  .site-header__inner > .site-drawer {
    grid-column: 2;
    justify-self: stretch;
    align-self: center;
    min-width: 0;
  }

  .site-header__inner > .header-end {
    grid-column: 3;
    justify-self: end;
    margin-left: 0;
    min-width: 0;
  }

  .site-drawer {
    position: static;
    width: 100%;
    height: auto;
    padding: 0;
    background: transparent;
    box-shadow: none;
    transform: none !important;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
    justify-content: center;
    margin-inline-end: 0;
    overflow: visible;
  }

  .site-drawer__brand {
    display: none;
  }

  .site-nav {
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
    min-width: 0;
  }

  .site-nav__list {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.35rem;
  }

  .site-nav__link {
    padding: 0.48rem 0.75rem;
    font-size: clamp(0.94rem, 0.88rem + 0.2vw, 1.02rem);
    gap: 0.45rem;
  }

  .site-nav__link .site-nav__icon {
    width: 1.2rem;
    height: 1.2rem;
  }

  .site-nav__link::after {
    left: 0.65rem;
    right: 0.65rem;
    bottom: 0.2rem;
  }

  .header-tools {
    gap: 0.4rem 0.55rem;
  }

  .header-contact {
    padding: 0.45rem 0.85rem;
    font-size: 0.92rem;
  }

  .header-phone--desktop {
    font-size: 0.95rem;
  }

  /* Liens blancs au-dessus du hero (desktop — tiroir mobile : styles par défaut) */
  .site-header--on-hero .site-drawer .site-nav__link {
    color: rgba(255, 255, 255, 0.95);
  }

  .site-header--on-hero .header-end .header-phone--desktop {
    color: #fff;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
  }

  .site-header--on-hero .header-end .header-phone--desktop:hover {
    color: #fff;
    opacity: 0.92;
  }

  .header-end {
    flex-shrink: 0;
  }

  .site-drawer__bottom {
    display: none;
  }
}

/* Menu Services : un seul lien + chevron (pas de bouton séparé) */
.site-nav__link--services {
  position: relative;
  gap: 0.35rem;
  padding-inline-end: 0.55rem;
}

.site-nav__link--services .site-nav__icon {
  flex-shrink: 0;
}

.site-nav__link--services > span:first-of-type {
  flex: 1;
  min-width: 0;
}

.site-nav__chevron-services {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  margin-left: 0.1rem;
  opacity: 0.88;
  transition: transform 0.22s ease;
}

.site-nav__item--dropdown:hover .site-nav__chevron-services--desktop,
.site-nav__item--dropdown:focus-within .site-nav__chevron-services--desktop {
  transform: rotate(180deg);
}

@media (prefers-reduced-motion: reduce) {
  .site-nav__chevron-services--desktop {
    transition: none;
  }
}

/* Après les styles globaux Services : barre desktop, espacement lisible */
@media (min-width: 961px) {
  .site-nav__link--services {
    gap: 0.4rem;
    padding-inline-end: 0.55rem;
  }

  .site-nav__link--services > span:first-of-type {
    flex: 0 1 auto;
  }

  .site-nav__chevron-services.site-nav__chevron-services--desktop {
    width: 1rem;
    height: 1rem;
    margin-left: 0.08rem;
  }
}

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

.site-nav__sublink {
  position: relative;
  display: block;
  padding: 0.5rem 0.85rem 0.55rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  background: transparent;
  transition: color 0.15s ease;
}

.site-nav__sublink::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.35rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.2s ease;
  opacity: 0.85;
}

.site-nav__sublink:hover::after,
.site-nav__sublink:focus-visible::after {
  transform: scaleX(1);
}

.site-nav__sublink:focus-visible {
  outline: 2px solid var(--color-primary-light);
  outline-offset: 1px;
}

.site-nav__sublink.is-active {
  color: var(--color-primary-dark);
  font-weight: 600;
}

.site-nav__sublink.is-active::after {
  transform: scaleX(1);
}

.site-nav__sublink--rich {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.site-nav__sublink--rich::after {
  display: none;
}

.site-nav__sublink-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  flex-shrink: 0;
  border-radius: 11px;
  background: rgba(4, 112, 181, 0.1);
  color: var(--color-primary-dark);
}

.site-nav__sublink-icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.site-nav__sublink-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.site-nav__sublink-title {
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.25;
  color: var(--color-text);
}

.site-nav__sublink-desc {
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--color-text-muted);
}

.site-nav__sublink--rich:hover .site-nav__sublink-title,
.site-nav__sublink--rich:focus-visible .site-nav__sublink-title {
  color: var(--color-primary-dark);
}

.site-nav__sublink--rich:hover,
.site-nav__sublink--rich:focus-visible {
  background: rgba(4, 112, 181, 0.06);
  border-radius: var(--radius-sm);
}

.site-nav__sublink--rich.is-active .site-nav__sublink-title {
  color: var(--color-primary-dark);
}

@media (max-width: 960px) {
  .site-nav__item--dropdown {
    flex-direction: column;
    align-items: stretch;
  }

  /* Sous-menu Services : masqué ici — affiché dans le panneau latéral (slide) */
  .site-nav__item--dropdown .site-nav__sub {
    display: none !important;
  }

  .site-drawer__sub-body .site-nav__sub {
    display: flex !important;
    flex-direction: column;
    gap: 0.35rem;
  }

  .site-nav__sublink {
    padding: 0.5rem 0.65rem 0.55rem;
    font-size: 0.92rem;
  }

  .site-nav__sublink:not(.site-nav__sublink--rich)::after {
    left: 0.65rem;
    right: 0.65rem;
  }

  .site-nav__sublink--rich {
    padding: 0.5rem 0.5rem 0.55rem;
  }
}

@media (min-width: 961px) {
  .site-header,
  .site-header__inner,
  .site-drawer {
    overflow: visible;
  }

  .site-nav__item--dropdown {
    position: relative;
  }

  .site-header--on-hero .site-nav__link--services .site-nav__chevron-services--desktop {
    color: rgba(255, 255, 255, 0.92);
  }

  /*
   * Sous-menu Services : pas de marge sous le lien (sinon « trou » mort au survol).
   * Pont ::before pour relier le lien au panneau quand la souris descend en diagonale.
   */
  .site-nav__item--dropdown .site-nav__sub {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 17.75rem;
    margin-top: 0;
    padding: 0.55rem 0.45rem 0.45rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 140;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-2px);
    pointer-events: none;
    transition:
      opacity 0.18s ease,
      visibility 0.18s ease,
      transform 0.18s ease;
  }

  .site-nav__item--dropdown .site-nav__sub::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    height: 0.75rem;
  }

  .site-nav__sub--mega {
    min-width: 19rem;
  }

  .site-nav__item--dropdown:hover .site-nav__sub,
  .site-nav__item--dropdown:focus-within .site-nav__sub {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-nav__sublink:not(.site-nav__sublink--rich) {
    padding: 0.45rem 1rem 0.55rem;
    font-size: 0.9rem;
  }

  .site-nav__sublink:not(.site-nav__sublink--rich)::after {
    left: 1rem;
    right: 1rem;
  }

  .site-nav__sublink--rich {
    padding: 0.5rem 0.55rem;
  }
}

/* Hero plein écran */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  color: #fff;
}

.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
}

.hero__content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: calc(clamp(96px, 26vw, 140px) + env(safe-area-inset-top, 0px) + 0.75rem);
  padding-bottom: max(0.75rem, env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
}

@media (max-width: 960px) {
  .hero__content {
    padding-top: calc(clamp(120px, 34vw, 180px) + env(safe-area-inset-top, 0px) + 0.75rem);
  }
}

@media (min-width: 961px) {
  .hero__content {
    padding-top: calc(clamp(120px, 18vw, 200px) + env(safe-area-inset-top, 0px) + 0.75rem);
  }
}

.hero__center {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 0;
  width: 100%;
}

.hero__inner {
  width: 100%;
  max-width: 720px;
}

.hero__eyebrow-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.hero__accent-line {
  width: 40px;
  height: 3px;
  border-radius: 99px;
  background: var(--color-accent);
}

.hero__eyebrow {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.95;
  color: #99f6e4;
}

.hero__title {
  margin: 0 0 1.1rem;
  font-size: clamp(2rem, 5vw, 3.15rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.08;
}

.hero__title-line {
  display: block;
}

.hero__title-line--sub {
  font-size: 0.46em;
  font-weight: 600;
  font-family: var(--font-sans);
  letter-spacing: 0.02em;
  opacity: 0.94;
  margin-top: 0.5rem;
  color: rgba(255, 255, 255, 0.92);
}

.hero__lead {
  margin: 0 0 1.35rem;
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.75;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.92);
}

.hero__chips {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.86rem;
  font-weight: 500;
  backdrop-filter: blur(6px);
}

.hero__chip-icon {
  width: 1rem;
  height: 1rem;
  opacity: 0.95;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero__discover {
  flex-shrink: 0;
  align-self: center;
  margin-top: 0;
  padding-top: 1rem;
  padding-bottom: 0.35rem;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.hero__discover-chevron {
  width: 1.25rem;
  height: 1.25rem;
  animation: bounce-soft 2s ease-in-out infinite;
}

@keyframes bounce-soft {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__discover-chevron {
    animation: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.btn--primary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

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

.btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary-light);
}

.btn--outline:hover {
  background: var(--color-surface);
}

.btn--block {
  width: 100%;
}

.btn.is-loading {
  opacity: 0.75;
  pointer-events: none;
}

/* Sections */
.section {
  padding-block: var(--space-section-y);
}

.section--muted {
  background: var(--color-surface);
}

.section--white {
  background: #fff;
}

.section--accent {
  background: var(--color-primary-dark);
  color: #fff;
}

.section--accent a {
  color: #e0e7ff;
}

.section__header {
  text-align: center;
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
  max-width: 48rem;
  margin-inline: auto;
}

.section__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  line-height: var(--leading-tight);
  color: var(--color-text);
}

.section--accent .section__title,
.section--accent .section__subtitle {
  color: #fff;
}

.section__subtitle {
  margin: 0 auto;
  max-width: 38rem;
  color: var(--color-text-muted);
  font-size: clamp(0.98rem, 1.5vw, 1.0625rem);
  line-height: 1.62;
}

.section__note {
  margin: 2rem 0 0;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.98rem;
}

/* Ne pas styler les boutons comme des liens texte (sinon texte vert sur fond vert) */
.section__note a:not(.btn) {
  font-weight: 600;
  color: var(--color-primary);
  border-bottom: 1px solid rgba(4, 112, 181, 0.3);
}

.section__note a:not(.btn):hover {
  color: var(--color-primary-dark);
  border-bottom-color: var(--color-secondary-light);
}

.section__note--center {
  display: flex;
  justify-content: center;
}

.section__header--align-left {
  text-align: left;
  margin-inline: 0;
  max-width: none;
}

.section__subtitle--left {
  margin-left: 0;
  margin-right: 0;
}

/* Cards */
.cards-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .cards-grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

.card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: clamp(1.2rem, 3vw, 1.5rem);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.card--large {
  display: flex;
  flex-direction: column;
  padding: clamp(1.35rem, 3vw, 1.65rem);
}

.card__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--color-accent-soft);
  color: var(--color-secondary);
  margin-bottom: 0.75rem;
}

.card__icon svg {
  width: 22px;
  height: 22px;
}

.card__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.05rem, 1.8vw, 1.15rem);
  line-height: var(--leading-tight);
}

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

.card__title a:hover {
  color: var(--color-primary-light);
}

.card__text {
  margin: 0 0 0.85rem;
  color: var(--color-text-muted);
  font-size: clamp(0.94rem, 1.2vw, 1rem);
  line-height: 1.58;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 0.35rem;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  color: var(--color-primary-dark);
  transition: color 0.18s ease, gap 0.18s ease;
}

.card__link:hover,
.card__link:focus-visible {
  color: var(--color-primary);
  outline: none;
}

.card__link .icon-inline {
  width: 1em;
  height: 1em;
  transition: transform 0.2s ease;
}

.card__link:hover .icon-inline,
.card__link:focus-visible .icon-inline {
  transform: translateX(3px);
}

/* Bloc praticien (accueil) — grille + piliers */
.pro-block {
  overflow: hidden;
}

.pro-block__inner {
  padding-block: clamp(2rem, 5vw, 3.25rem);
}

.pro-block__layout {
  display: flex;
  flex-direction: column;
  gap: clamp(1.75rem, 4vw, 2.5rem);
}

.pro-block__figure {
  order: -1;
  margin: 0;
}

@media (min-width: 900px) {
  .pro-block__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
    gap: clamp(2rem, 5vw, 3.5rem);
    align-items: center;
  }

  .pro-block__figure {
    order: 0;
  }
}

.pro-block__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary-dark);
}

.pro-block__title {
  margin: 0 0 0.85rem;
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 3.2vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.18;
  color: var(--color-text);
}

.pro-block__lead {
  margin: 0 0 1rem;
  font-size: clamp(1.02rem, 1.8vw, 1.12rem);
  line-height: 1.58;
  color: var(--color-text);
  max-width: 52ch;
}

.pro-block__text {
  margin: 0 0 1.35rem;
  font-size: 0.98rem;
  line-height: 1.68;
  color: var(--color-text-muted);
  max-width: 58ch;
}

.pro-block__text a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.pro-block__text a:hover {
  color: var(--color-primary-dark);
}

.pro-block__pillars {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

@media (min-width: 640px) {
  .pro-block__pillars {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
  }
}

.pro-block__pillar {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.85rem 0.9rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
  min-height: 100%;
}

.pro-block__pillar-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 11px;
  background: var(--color-accent-soft);
  color: var(--color-primary-dark);
}

.pro-block__pillar-icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.pro-block__pillar-label {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-text);
}

.pro-block__img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-accent-soft);
  box-shadow: var(--shadow-lg);
}

.pro-block__img-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
  pointer-events: none;
}

.pro-block__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(520px, 70vh);
  object-fit: cover;
  object-position: center 18%;
  vertical-align: middle;
}

@media (min-width: 900px) {
  .pro-block__img {
    max-height: min(580px, 85vh);
  }
}

/* Address / cabinet */
.section--address {
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.cabinet-spot {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.25rem);
  align-items: start;
}

@media (min-width: 900px) {
  .cabinet-spot {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 2rem 2.5rem;
    align-items: stretch;
  }
}

.cabinet-spot__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.cabinet-spot__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--color-text);
}

.cabinet-spot__lead {
  margin: 0 0 1.25rem;
  max-width: 52ch;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}

.cabinet-spot__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.cabinet-spot__panel {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.map-embed--cabinet {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  min-height: 0;
}

.map-embed--cabinet .map-embed__iframe {
  height: min(320px, 42vw);
  display: block;
}

.cabinet-spot__meta {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1rem 1.1rem 1.15rem;
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
}

.cabinet-spot__addr {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--color-text);
}

.cabinet-spot__tel {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  color: var(--color-primary-dark);
}

.cabinet-spot__tel:hover,
.cabinet-spot__tel:focus-visible {
  text-decoration: underline;
  outline: none;
}

.cabinet-spot__meta-icon {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  margin-top: 0.12rem;
  color: var(--color-primary);
}

.address-layout {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .address-layout {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
  }
}

.map-embed {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  min-height: 280px;
}

.map-embed__iframe {
  width: 100%;
  height: 320px;
  border: 0;
}

.map-embed--contact .map-embed__iframe {
  height: 220px;
}

.map-embed--inline {
  margin-top: 1.5rem;
}

.address-card {
  font-style: normal;
  background: #fff;
  padding: clamp(1.15rem, 3vw, 1.4rem);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  font-size: var(--text-body);
  line-height: 1.55;
}

.address-card__line {
  display: flex;
  gap: 0.6rem;
  margin: 0 0 0.75rem;
  align-items: flex-start;
}

.address-card__line--title {
  font-weight: 600;
  font-size: 1.05rem;
}

/* CTA */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.section--accent .btn--primary {
  background: #fff;
  color: var(--color-primary-dark);
  border-color: #fff;
}

.section--accent .btn--ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

/* Inner pages */
.page-hero {
  position: relative;
  padding-block: clamp(2.5rem, 6vw, 3.75rem) clamp(1.75rem, 4vw, 2.5rem);
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.page-hero--compact {
  padding-block: clamp(2rem, 4vw, 2.75rem) clamp(1.35rem, 3vw, 1.75rem);
}

.page-hero--image {
  color: #fff;
  padding-block: clamp(3rem, 8vw, 4.5rem) clamp(2.5rem, 5vw, 3.5rem);
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
}

.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(3, 90, 144, 0.78);
}

.page-hero--image .page-hero__inner {
  position: relative;
  z-index: 1;
}

.page-hero__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary-light);
}

.page-hero--image .page-hero__eyebrow {
  color: rgba(255, 255, 255, 0.85);
}

.page-hero__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  color: var(--color-text);
}

.page-hero--image .page-hero__title {
  color: #fff;
}

.page-hero__lead {
  margin: 0;
  max-width: 40rem;
  color: var(--color-text-muted);
  font-size: clamp(1rem, 1.8vw, 1.08rem);
  line-height: 1.62;
}

.page-hero--image .page-hero__lead {
  color: rgba(255, 255, 255, 0.92);
}

.article-block {
  padding-block: clamp(2rem, 5vw, 3rem) clamp(2.5rem, 6vw, 4rem);
}

.article-block h2 {
  font-size: clamp(1.2rem, 2.2vw, 1.4rem);
  line-height: var(--leading-tight);
  margin: clamp(1.75rem, 3vw, 2.25rem) 0 0.85rem;
  color: var(--color-text);
}

.article-block h2:first-child {
  margin-top: 0;
}

.article-block p {
  margin: 0 0 1.1rem;
  color: var(--color-text-muted);
  font-size: var(--text-body);
  line-height: 1.68;
  max-width: 65ch;
}

.seo-prose h2 {
  margin-top: 2rem;
  color: var(--color-text);
}

.seo-prose h2:first-child {
  margin-top: 0;
}

.seo-prose h3 {
  font-family: var(--font-sans);
  font-size: clamp(1.05rem, 1.8vw, 1.15rem);
  font-weight: 700;
  color: var(--color-primary-dark);
  margin: 1.5rem 0 0.65rem;
}

/* Blocs SEO longs en pied de page : largeur site (container), marges latérales, typo discrète */
.section--seo-bottom {
  padding-block: clamp(2rem, 5vw, 3.5rem);
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
}

.seo-prose--bottom h2 {
  font-family: var(--font-sans);
  font-size: clamp(0.9rem, 1.2vw, 1.02rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.35;
  margin: 1.25rem 0 0.45rem;
  color: var(--color-text);
}

.seo-prose--bottom h2:first-child {
  margin-top: 0;
}

.seo-prose--bottom h3 {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary-dark);
  margin: 1.1rem 0 0.35rem;
}

.seo-prose--bottom p {
  font-size: 0.8125rem;
  line-height: 1.58;
  margin: 0 0 0.7rem;
  color: var(--color-text-muted);
  max-width: none;
}

.seo-prose__kicker {
  font-family: var(--font-sans);
  font-size: clamp(0.88rem, 1.1vw, 0.98rem);
  font-weight: 700;
  margin: 0 0 0.65rem;
  color: var(--color-text);
  letter-spacing: 0.02em;
}

.seo-prose--bottom p a {
  text-decoration: underline;
  text-decoration-color: rgba(4, 112, 181, 0.35);
  text-underline-offset: 2px;
}

.seo-prose--bottom p a:hover {
  text-decoration-color: var(--color-secondary-light);
}

.article-figure {
  margin: 0 0 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.article-figure img {
  width: 100%;
}

.article-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.placeholder {
  padding: 0 0.25rem;
  background: #fef3c7;
  color: #92400e;
  font-weight: 600;
}

/* Contact layout */
.main-inner__grid {
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.5rem);
  padding-block: clamp(1.75rem, 4vw, 2.5rem) clamp(2rem, 5vw, 3.5rem);
}

@media (min-width: 900px) {
  .main-inner__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    align-items: start;
    gap: clamp(2rem, 4vw, 3rem);
  }
}

.contact-aside {
  padding: clamp(1.25rem, 3vw, 1.65rem);
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.contact-aside__title {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  margin: 0 0 1.1rem;
  line-height: var(--leading-tight);
}

.contact-aside__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-aside__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: clamp(0.95rem, 1.4vw, 1.02rem);
  line-height: 1.5;
}

.contact-aside__list svg {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--color-primary);
}

.section--form {
  background: #fff;
  padding: clamp(1.35rem, 3vw, 1.75rem);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

.form-row--split {
  flex-direction: column;
}

@media (min-width: 560px) {
  .form-row--split {
    flex-direction: row;
  }

  .form-row--split .form-field {
    flex: 1;
  }
}

.form-field label,
.form-row label {
  font-weight: 600;
  font-size: 0.92rem;
}

.req {
  color: #b91c1c;
}

.label-optional {
  font-weight: 400;
  color: var(--color-text-muted);
  font-size: 0.88rem;
}

input,
textarea {
  font: inherit;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid #cbd5e1;
  background: #fff;
}

input:focus,
textarea:focus {
  outline: 2px solid var(--color-secondary-light);
  outline-offset: 1px;
  border-color: var(--color-primary-light);
}

textarea {
  resize: vertical;
  min-height: 140px;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-feedback {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.form-feedback--success {
  background: var(--color-secondary-soft);
  color: var(--color-primary-dark);
  border: 1px solid var(--color-secondary-light);
}

.form-feedback--error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* Footer — dark mode (ardoise, sans tons marron) */
.site-footer {
  margin-top: auto;
  background: #0f172a;
  color: rgba(255, 255, 255, 0.92);
  border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.site-footer__main {
  padding-block: clamp(1.75rem, 4vw, 2.5rem);
}

.site-footer a {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.15s ease, color 0.15s ease;
}

.site-footer a:hover {
  color: #fff;
  opacity: 0.88;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.site-footer .footer-col--brand .site-logo:hover {
  text-decoration: none;
  opacity: 0.92;
}

.site-footer a:focus-visible {
  color: #fff;
  outline: 2px solid rgba(94, 234, 212, 0.6);
  outline-offset: 3px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem 1.5rem;
  align-items: start;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem 2rem;
  }

  .footer-col--brand {
    grid-column: 1 / -1;
  }
}

@media (min-width: 960px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.5rem 2rem;
  }

  .footer-col--brand {
    grid-column: auto;
  }
}

.footer-col {
  min-width: 0;
}

.footer-col--brand .site-logo {
  align-items: flex-start;
}

.footer-tagline {
  margin: 0.75rem 0 0;
  max-width: 22rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.875rem;
  line-height: 1.5;
}

.footer-heading {
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

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

.footer-list li {
  margin: 0;
}

.footer-list--links li + li {
  margin-top: 0.2rem;
}

.footer-list--links a {
  display: block;
  padding: 0.35rem 0;
  font-size: 0.9375rem;
  line-height: 1.45;
}

.footer-row {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 0;
  padding: 0.35rem 0;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}

a.footer-row {
  color: #fff;
}

a.footer-row:hover {
  color: #fff;
  opacity: 0.88;
}

.footer-row--static {
  color: rgba(255, 255, 255, 0.88);
}

.footer-row__icon {
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.15rem;
  color: rgba(255, 255, 255, 0.75);
}

.footer-row__icon svg {
  width: 100%;
  height: 100%;
}

.footer-row__text {
  word-break: break-word;
  overflow-wrap: anywhere;
}

.site-footer__bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  padding-block: 0.85rem 1rem;
  background: #020617;
}

.site-footer__bottom-inner {
  text-align: center;
}

.footer-copy {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.5);
}

/* Barre d’actions mobile (footer flottant — RDV + appel) */
.mobile-sticky-actions {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  box-sizing: border-box;
  width: 100%;
  max-width: 100vw;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 0.5rem;
  padding: 0.55rem 0.65rem;
  padding-bottom: max(0.55rem, env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -6px 28px rgba(15, 23, 42, 0.1);
  transition:
    transform 0.22s ease,
    opacity 0.22s ease;
}

.mobile-sticky-actions--hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(110%);
}

.mobile-sticky-actions__btn {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0.55rem 0.45rem;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.8rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease,
    transform 0.12s ease;
}

.mobile-sticky-actions__btn:active {
  transform: scale(0.98);
}

.mobile-sticky-actions__btn--rdv {
  background: var(--color-primary);
  color: #fff;
  border: 2px solid var(--color-primary);
}

.mobile-sticky-actions__btn--rdv:hover,
.mobile-sticky-actions__btn--rdv:focus-visible {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: #fff;
  outline: none;
}

.mobile-sticky-actions__btn--call {
  background: #fff;
  color: var(--color-primary-dark);
  border: 2px solid rgba(4, 112, 181, 0.45);
}

.mobile-sticky-actions__btn--call:hover,
.mobile-sticky-actions__btn--call:focus-visible {
  background: var(--color-accent-soft);
  border-color: var(--color-primary);
  outline: none;
}

.mobile-sticky-actions__icon {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}

.mobile-sticky-actions__label {
  min-width: 0;
  word-break: break-word;
}

@media (min-width: 961px) {
  .mobile-sticky-actions {
    display: none;
  }

  body {
    padding-bottom: 0;
  }
}

/* Legal & sitemap */
.legal-page {
  padding-block: clamp(1.75rem, 4vw, 2.5rem) clamp(2.5rem, 6vw, 4rem);
}

.legal-section {
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.legal-section h2 {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  line-height: var(--leading-tight);
  margin: 0 0 0.85rem;
  color: var(--color-text);
}

.legal-page.seo-prose--bottom .legal-section h2 {
  font-family: var(--font-sans);
  font-size: clamp(0.9rem, 1.2vw, 1.02rem);
  font-weight: 700;
}

.legal-section p,
.legal-list li {
  font-size: var(--text-body);
  line-height: 1.68;
  color: var(--color-text-muted);
}

.legal-page.seo-prose--bottom .legal-section p,
.legal-page.seo-prose--bottom .legal-list li {
  font-size: 0.8125rem;
  line-height: 1.58;
  max-width: none;
}

.legal-address {
  font-style: normal;
  background: var(--color-surface);
  padding: 1rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  margin: 1rem 0;
}

.legal-list {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}

.sitemap-nav {
  padding-block: clamp(1.75rem, 4vw, 2.5rem) clamp(2.5rem, 6vw, 4rem);
}

.sitemap-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.sitemap-list ul {
  margin: 0.4rem 0 0.85rem 1.1rem;
  padding: 0;
  list-style: disc;
}

.sitemap-list a {
  font-weight: 500;
  font-size: clamp(0.98rem, 1.5vw, 1.05rem);
  padding: 0.25rem 0;
  display: inline-block;
}

.sitemap-list > li > a {
  font-weight: 600;
}

/* Ancres : éviter le recouvrement par le header fixe */
main[id] section[id],
.main-inner section[id] {
  scroll-margin-top: calc(var(--header-h) + var(--header-pad-y) + 0.75rem);
}

/* Très petits écrans */
@media (max-width: 420px) {
  .site-logo__tag {
    font-size: 0.6rem;
    letter-spacing: 0.05em;
  }

  .site-logo {
    gap: 0.5rem;
  }

  .site-header__inner > .site-logo--brand {
    max-width: min(500px, calc(100vw - 3.75rem));
  }

  .site-header__inner > .site-logo--brand .site-logo__mark--nav,
  .site-header__inner > .site-logo--brand .site-logo__mark--hero {
    height: clamp(64px, 21vw, 112px);
    max-height: 112px;
    max-width: min(480px, calc(100vw - 3.75rem));
  }

  .site-drawer__brand .site-logo__mark--drawer {
    max-height: 48px;
  }

  .site-footer .site-logo--brand .site-logo__mark {
    max-height: 56px;
  }

  .header-phone__num {
    font-size: 0.85rem;
  }
}

@media (max-width: 600px) {
  .map-embed__iframe {
    height: min(52vw, 260px);
  }

  .cards-grid {
    gap: 1rem;
  }
}
