/* ==========================================================================
   OsteoMED Poliklinikë – Feuille de style principale
   Palette « Encre & Os » : blanc os / bleu nuit / pervenche (logo)
   Typographie : Fraunces (titres) + Instrument Sans (texte), auto-hébergées
   ========================================================================== */

/* ---------- Polices ---------- */
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-v38-latin-300.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-v38-latin-regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-v38-latin-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Instrument Sans';
  src: url('../fonts/instrument-sans-v4-latin-regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Instrument Sans';
  src: url('../fonts/instrument-sans-v4-latin-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Instrument Sans';
  src: url('../fonts/instrument-sans-v4-latin-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}

/* ---------- Jetons de design ---------- */
:root {
  /* Couleurs */
  --bone: #FAF9F6;          /* fond principal, blanc os */
  --bone-2: #F2F0EA;        /* surface alternée */
  --bone-3: #E9E6DD;        /* bordures chaudes */
  --ink: #101A30;           /* bleu nuit, texte + sections sombres */
  --ink-2: #1B263B;         /* bleu nuit du logo, surfaces sombres */
  --ink-soft: rgba(16, 26, 48, 0.66);
  --ink-faint: rgba(16, 26, 48, 0.42);
  --per: #5175E0;           /* pervenche du logo : icônes, décor, grands aplats */
  --per-strong: #3D56C0;    /* pervenche foncée : liens + boutons (AA sur fond clair) */
  --per-deep: #32479C;      /* état survol / actif */
  --per-light: #8BA0F0;     /* liens et accents sur fond bleu nuit */
  --per-wash: #EDF0FC;      /* lavis pervenche très pâle */
  --ivory: #F3F1EC;         /* texte sur fond sombre */
  --ivory-soft: rgba(243, 241, 236, 0.72);
  --line: rgba(16, 26, 48, 0.12);
  --line-dark: rgba(243, 241, 236, 0.16);

  /* Typographie */
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;
  --fs-display: clamp(2.625rem, 1.35rem + 5.4vw, 5.75rem);
  --fs-h1: clamp(2.375rem, 1.5rem + 3.4vw, 4.25rem);
  --fs-h2: clamp(1.875rem, 1.35rem + 2.2vw, 3.125rem);
  --fs-h3: clamp(1.3125rem, 1.15rem + 0.7vw, 1.6875rem);
  --fs-lead: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-eyebrow: 0.8125rem;

  /* Rythme */
  --space-section: clamp(5rem, 9vw, 8.5rem);
  --space-block: clamp(2.5rem, 5vw, 4.5rem);
  --container: 76rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 1rem;
  --radius-lg: 1.5rem;

  /* Mouvement */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.87, 0, 0.13, 1);
  --dur: 0.55s;

  /* Ombres douces, teintées d'encre */
  --shadow-1: 0 1px 2px rgba(16, 26, 48, 0.05), 0 4px 14px rgba(16, 26, 48, 0.06);
  --shadow-2: 0 2px 4px rgba(16, 26, 48, 0.05), 0 12px 32px rgba(16, 26, 48, 0.10);
  --shadow-3: 0 4px 8px rgba(16, 26, 48, 0.06), 0 24px 56px rgba(16, 26, 48, 0.14);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--ink);
  background: var(--bone);
  font-kerning: normal;
  font-feature-settings: 'kern' 1, 'liga' 1;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--per); color: #fff; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 0.6em;
  color: var(--ink);
  hyphens: none;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); font-weight: 300; }
h2 { font-size: var(--fs-h2); font-weight: 300; }
h3 { font-size: var(--fs-h3); font-weight: 400; line-height: 1.2; }
h4 { font-family: var(--sans); font-size: 1.0625rem; font-weight: 600; letter-spacing: 0; line-height: 1.4; }

p { margin: 0 0 1.1em; max-width: 65ch; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--per-strong);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(61, 86, 192, 0.35);
  transition: color 0.25s var(--ease-out), text-decoration-color 0.25s var(--ease-out);
}
a:hover { color: var(--per-deep); text-decoration-color: currentColor; }

:focus-visible {
  outline: 2px solid var(--per-strong);
  outline-offset: 3px;
  border-radius: 3px;
}

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

ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
li { margin-bottom: 0.45em; }
li::marker { color: var(--per); }

strong { font-weight: 600; }
em { font-style: italic; }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--space-block) 0; }

.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;
}

/* Lien d'évitement (accessibilité clavier) */
.skip-link {
  position: absolute; top: -100%; left: 1rem; z-index: 200;
  background: var(--ink); color: var(--ivory);
  padding: 0.75rem 1.25rem; border-radius: 0 0 0.5rem 0.5rem;
  text-decoration: none; font-weight: 600; font-size: var(--fs-small);
  transition: top 0.2s var(--ease-out);
}
.skip-link:focus { top: 0; color: #fff; }

/* ---------- Utilitaires de mise en page ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(48rem + 2 * var(--gutter)); }
.container--wide { max-width: calc(84rem + 2 * var(--gutter)); }

.section { padding-block: var(--space-section); position: relative; }
.section--tight { padding-block: var(--space-block); }
.section--alt { background: var(--bone-2); }
.section--dark { background: var(--ink); color: var(--ivory); }
.section--dark h2, .section--dark h3 { color: var(--ivory); }
.section--dark p { color: var(--ivory-soft); }
.section--dark a { color: var(--per-light); text-decoration-color: rgba(139, 160, 240, 0.4); }
.section--dark a:hover { color: #AEBEF5; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-family: var(--sans);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--per-strong);
  margin-bottom: 1.25rem;
}
.eyebrow::before {
  content: '';
  width: 2rem; height: 1px;
  background: var(--per);
  flex: none;
}
.section--dark .eyebrow { color: var(--per-light); }
.section--dark .eyebrow::before { background: var(--per-light); }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 58ch;
}
.section--dark .lead { color: var(--ivory-soft); }

/* Grille en deux colonnes asymétriques (5/7) */
.split {
  display: grid;
  gap: var(--space-block);
  align-items: start;
}
@media (min-width: 56rem) {
  .split { grid-template-columns: 5fr 7fr; gap: clamp(3rem, 7vw, 6.5rem); }
  .split--even { grid-template-columns: 1fr 1fr; }
  .split--rev > :first-child { order: 2; }
  .split--rev > :last-child { order: 1; }
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  font-family: var(--sans); font-size: 1rem; font-weight: 600;
  line-height: 1;
  padding: 1.05rem 1.9rem;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.3s var(--ease-out), border-color 0.3s var(--ease-out),
              color 0.3s var(--ease-out), transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.btn svg { width: 1.05em; height: 1.05em; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--per-strong); color: #fff; box-shadow: 0 10px 24px rgba(61, 86, 192, 0.28); }
.btn--primary:hover { background: var(--per-deep); color: #fff; box-shadow: 0 14px 30px rgba(61, 86, 192, 0.34); }

.btn--ink { background: var(--ink); color: var(--ivory); }
.btn--ink:hover { background: #1D2A47; color: #fff; }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.section--dark .btn--ghost { color: var(--ivory); border-color: var(--line-dark); }
.section--dark .btn--ghost:hover { border-color: var(--ivory); color: #fff; }

.btn--light { background: var(--ivory); color: var(--ink); }
.btn--light:hover { background: #fff; color: var(--ink); }

/* ---------- En-tête ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background-color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out),
              backdrop-filter 0.35s var(--ease-out);
}
.site-header.is-scrolled {
  background: rgba(250, 249, 246, 0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.header-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding-block: 1rem;
  transition: padding 0.35s var(--ease-out);
}
.site-header.is-scrolled .header-bar { padding-block: 0.65rem; }

.brand { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
.brand img { width: auto; height: 46px; transition: height 0.35s var(--ease-out); }
.site-header.is-scrolled .brand img { height: 38px; }

/* Écrans étroits : logo réduit pour que tout tienne sur 360px */
@media (max-width: 30rem) {
  .header-bar { gap: 0.75rem; }
  .brand img { height: 36px; }
  .site-header.is-scrolled .brand img { height: 32px; }
  .lang-switch a, .lang-switch span { padding: 0.3rem 0.5rem; }
}

.site-nav { display: none; }
@media (min-width: 64rem) {
  .site-nav { display: flex; align-items: center; gap: 2rem; }
  .site-nav a {
    font-size: var(--fs-small); font-weight: 500;
    color: var(--ink); text-decoration: none;
    padding: 0.35rem 0;
    position: relative;
  }
  .site-nav a::after {
    content: '';
    position: absolute; left: 0; bottom: 0;
    width: 100%; height: 1.5px;
    background: var(--per-strong);
    transform: scaleX(0); transform-origin: right center;
    transition: transform 0.35s var(--ease-out);
  }
  .site-nav a:hover::after,
  .site-nav a[aria-current='page']::after { transform: scaleX(1); transform-origin: left center; }
  .site-nav a[aria-current='page'] { color: var(--per-strong); }
}

.header-actions { display: flex; align-items: center; gap: 1rem; }
.header-cta { display: none; }
@media (min-width: 48rem) {
  .header-cta { display: inline-flex; padding: 0.8rem 1.4rem; font-size: var(--fs-small); }
}

/* Sélecteur de langue */
.lang-switch {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line); border-radius: 100px;
  padding: 0.2rem; gap: 0.1rem;
  background: rgba(250, 249, 246, 0.6);
}
.lang-switch a, .lang-switch span {
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em;
  padding: 0.3rem 0.65rem; border-radius: 100px;
  text-decoration: none; line-height: 1;
}
.lang-switch [aria-current='true'] { background: var(--ink); color: var(--ivory); }
.lang-switch a { color: var(--ink-soft); }
.lang-switch a:hover { color: var(--ink); }

/* Bouton burger */
.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px;
  background: transparent; border: 1px solid var(--line); border-radius: 50%;
  cursor: pointer;
}
.nav-toggle span {
  display: block; height: 1.5px; width: 100%;
  background: var(--ink); border-radius: 2px;
  transition: transform 0.35s var(--ease-out), opacity 0.25s var(--ease-out);
}
.nav-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
@media (min-width: 64rem) { .nav-toggle { display: none; } }

/* Menu mobile plein écran */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--ink);
  display: flex; flex-direction: column; justify-content: center;
  padding: 6rem var(--gutter) 3rem;
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s var(--ease-out), visibility 0s linear 0.4s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-menu nav a {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2rem, 8vw, 3rem); line-height: 1.25;
  color: var(--ivory); text-decoration: none;
  padding: 0.35rem 0;
  transform: translateY(24px); opacity: 0;
  transition: transform 0.5s var(--ease-out), opacity 0.5s var(--ease-out), color 0.25s;
}
.mobile-menu.is-open nav a { transform: translateY(0); opacity: 1; }
.mobile-menu nav a:hover, .mobile-menu nav a[aria-current='page'] { color: var(--per-light); }
.mobile-menu .menu-meta {
  margin-top: 3rem; padding-top: 1.5rem;
  border-top: 1px solid var(--line-dark);
  font-size: var(--fs-small); color: var(--ivory-soft);
  display: flex; flex-wrap: wrap; gap: 0.5rem 2rem;
}
.mobile-menu .menu-meta a { color: var(--ivory); text-decoration: none; }
body.menu-open { overflow: hidden; }
@media (min-width: 64rem) { .mobile-menu { display: none; } }

/* ---------- Héros ---------- */
.hero {
  position: relative;
  padding-top: clamp(9rem, 16vw, 13rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
  overflow: clip;
}
.hero-inner { position: relative; z-index: 2; }
.hero .eyebrow { margin-bottom: 1.75rem; }
.hero-title {
  font-size: var(--fs-display);
  font-weight: 300;
  line-height: 1.03;
  letter-spacing: -0.02em;
  max-width: 15ch;
  margin-bottom: 1.75rem;
}
.hero-title em { font-style: italic; color: var(--per-strong); }
.hero-title .line { display: block; overflow: clip; }
.hero-title .line > span { display: inline-block; }
.hero-lead { font-size: var(--fs-lead); color: var(--ink-soft); max-width: 46ch; margin-bottom: 2.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

/* Décor du héros : halo pervenche + trame fine */
.hero-decor {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none; overflow: hidden;
}
.hero-decor .halo {
  position: absolute;
  top: -22%; right: -14%;
  width: clamp(30rem, 55vw, 52rem); aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(81, 117, 224, 0.16), rgba(81, 117, 224, 0.05) 46%, transparent 70%);
}
.hero-decor .rings {
  position: absolute;
  top: 8%; right: -6%;
  width: clamp(22rem, 40vw, 40rem);
  color: var(--per);
  opacity: 0.5;
}
.hero-scroll-hint {
  position: relative; z-index: 2;
  margin-top: clamp(3rem, 7vw, 5.5rem);
  display: inline-flex; align-items: center; gap: 0.9rem;
  font-size: var(--fs-eyebrow); font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-faint);
  text-decoration: none;
}
.hero-scroll-hint .pulse-line {
  width: 1px; height: 3rem;
  background: linear-gradient(to bottom, var(--per), transparent);
  display: block;
}

/* Bandeau de confiance sous le héros */
.trust-bar {
  border-block: 1px solid var(--line);
  padding-block: 1.5rem;
}
.trust-bar ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 1rem 3rem;
  justify-content: space-between; align-items: center;
}
.trust-bar li {
  display: inline-flex; align-items: center; gap: 0.7rem;
  margin: 0;
  font-size: var(--fs-small); font-weight: 500; color: var(--ink-soft);
}
.trust-bar svg { width: 1.15rem; height: 1.15rem; color: var(--per-strong); flex: none; }

/* ---------- Chiffres clés ---------- */
.stats {
  display: grid; gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
}
.stat .stat-num {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.75rem, 5vw, 4rem);
  line-height: 1; letter-spacing: -0.02em;
  color: var(--per-strong);
  display: block; margin-bottom: 0.4rem;
  font-variant-numeric: lining-nums;
}
.stat .stat-label { font-size: var(--fs-small); color: var(--ink-soft); }
.section--dark .stat .stat-num { color: var(--per-light); }
.section--dark .stat .stat-label { color: var(--ivory-soft); }

/* ---------- Cartes de service ---------- */
.dept-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  margin-top: var(--space-block);
}
.dept-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem 2rem;
  display: flex; flex-direction: column; gap: 1.1rem;
  text-decoration: none; color: var(--ink);
  box-shadow: var(--shadow-1);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), border-color 0.45s var(--ease-out);
  overflow: clip;
}
.dept-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-3);
  border-color: rgba(81, 117, 224, 0.35);
  color: var(--ink);
}
.dept-card .dept-index {
  position: absolute; top: 1.4rem; right: 1.6rem;
  font-family: var(--serif); font-weight: 300;
  font-size: 1.05rem; color: var(--ink-faint);
  font-variant-numeric: lining-nums;
}
.dept-card .dept-icon {
  width: 3.25rem; height: 3.25rem;
  border-radius: 0.9rem;
  background: var(--per-wash);
  color: var(--per-strong);
  display: grid; place-items: center;
  transition: background-color 0.45s var(--ease-out), color 0.45s var(--ease-out);
}
.dept-card:hover .dept-icon { background: var(--per-strong); color: #fff; }
.dept-card .dept-icon svg { width: 1.6rem; height: 1.6rem; }
.dept-card h3 { margin-bottom: 0; }
.dept-card p { font-size: var(--fs-small); color: var(--ink-soft); flex: 1; }
.dept-card .dept-more {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: var(--fs-small); font-weight: 600; color: var(--per-strong);
}
.dept-card .dept-more svg { width: 1rem; height: 1rem; transition: transform 0.35s var(--ease-out); }
.dept-card:hover .dept-more svg { transform: translateX(4px); }

/* ---------- Sections département (page Shërbimet) ---------- */
.dept-section { padding-block: var(--space-section); border-top: 1px solid var(--line); }
.dept-section:first-of-type { border-top: 0; }
.dept-head { display: flex; align-items: baseline; gap: 1.5rem; margin-bottom: 1.5rem; }
.dept-head .big-index {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(3rem, 7vw, 5.5rem); line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(81, 117, 224, 0.55);
  flex: none;
  font-variant-numeric: lining-nums;
}
.service-list {
  list-style: none; margin: 1.75rem 0 0; padding: 0;
  display: grid; gap: 0.65rem 2.5rem;
}
@media (min-width: 48rem) { .service-list { grid-template-columns: 1fr 1fr; } }
.service-list li {
  position: relative; margin: 0;
  padding: 0.65rem 0 0.65rem 1.9rem;
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-small); line-height: 1.55;
}
.service-list li::before {
  content: '';
  position: absolute; left: 0; top: 1.18rem;
  width: 1rem; height: 1px;
  background: var(--per);
}

/* ---------- Bandeau citation (section sombre signature) ---------- */
.quote-band { text-align: left; position: relative; overflow: clip; }
.quote-band blockquote {
  margin: 0; max-width: 22ch;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.75rem, 1.1rem + 3vw, 3.25rem);
  line-height: 1.25; letter-spacing: -0.01em;
  color: var(--ivory);
}
.quote-band blockquote em { color: var(--per-light); font-style: italic; }
.quote-band figcaption {
  margin-top: 1.75rem;
  font-size: var(--fs-small); font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ivory-soft);
}
.ecg-line { width: 100%; height: auto; margin-top: clamp(2.5rem, 6vw, 4.5rem); color: var(--per-light); opacity: 0.85; }
.ecg-line path { stroke: currentColor; stroke-width: 1.5; fill: none; }

/* ---------- Liste « pourquoi nous » ---------- */
.value-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: value; }
.value-list li {
  counter-increment: value;
  display: grid; grid-template-columns: auto 1fr; gap: 1.5rem;
  align-items: baseline;
  padding: 1.4rem 0; margin: 0;
  border-bottom: 1px solid var(--line);
}
.value-list li::before {
  content: counter(value, decimal-leading-zero);
  font-family: var(--serif); font-weight: 300;
  font-size: 1.4rem; color: var(--per-strong);
  font-variant-numeric: lining-nums;
}
.value-list h3 { font-size: 1.25rem; margin-bottom: 0.3rem; }
.value-list p { font-size: var(--fs-small); color: var(--ink-soft); margin: 0; }

/* ---------- Équipe ---------- */
.team-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  margin-top: var(--space-block);
}
.team-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-1);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); }
.team-card .monogram {
  width: 4.5rem; height: 4.5rem;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--per) 0%, var(--per-deep) 100%);
  color: #fff;
  font-family: var(--serif); font-weight: 400; font-size: 1.5rem;
  margin-bottom: 1.4rem;
}
.team-card--placeholder .monogram { background: var(--bone-2); color: var(--ink-faint); border: 1px dashed var(--ink-faint); }
.team-card h3 { font-size: 1.3125rem; margin-bottom: 0.25rem; }
.team-card .team-role { font-size: var(--fs-small); font-weight: 600; color: var(--per-strong); margin-bottom: 0.75rem; }
.team-card p { font-size: var(--fs-small); color: var(--ink-soft); }
.placeholder-note {
  display: inline-block;
  font-size: 0.8125rem; font-weight: 500;
  color: var(--ink-faint);
  border: 1px dashed var(--ink-faint);
  border-radius: 0.5rem;
  padding: 0.25rem 0.6rem;
  margin-top: 0.75rem;
}

/* ---------- Témoignages ---------- */
.testimonial-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  margin-top: var(--space-block);
}
.testimonial {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-1);
  display: flex; flex-direction: column; gap: 1.25rem;
}
.testimonial blockquote {
  margin: 0; flex: 1;
  font-family: var(--serif); font-weight: 400;
  font-size: 1.1875rem; line-height: 1.5;
  color: var(--ink);
}
.testimonial figcaption { font-size: var(--fs-small); color: var(--ink-soft); }
.testimonial .stars { color: var(--per); letter-spacing: 0.15em; font-size: 0.9rem; }

/* ---------- FAQ ---------- */
.faq-list { margin-top: var(--space-block); border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.5rem 0.25rem;
  font-family: var(--serif); font-size: 1.3125rem; font-weight: 400;
  line-height: 1.35;
  transition: color 0.25s var(--ease-out);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--per-strong); }
.faq-item summary .faq-marker {
  flex: none;
  width: 2.25rem; height: 2.25rem;
  border: 1px solid var(--line); border-radius: 50%;
  display: grid; place-items: center;
  color: var(--per-strong);
  transition: transform 0.4s var(--ease-out), background-color 0.3s var(--ease-out), color 0.3s var(--ease-out);
}
.faq-item summary .faq-marker svg { width: 0.9rem; height: 0.9rem; }
.faq-item[open] summary .faq-marker { transform: rotate(45deg); background: var(--per-strong); color: #fff; border-color: var(--per-strong); }
.faq-item .faq-answer { padding: 0 0.25rem 1.75rem; max-width: 62ch; color: var(--ink-soft); }

/* ---------- Informations pratiques ---------- */
.info-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}
.info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-1);
}
.info-card .info-icon {
  width: 2.75rem; height: 2.75rem;
  border-radius: 0.75rem;
  background: var(--per-wash); color: var(--per-strong);
  display: grid; place-items: center;
  margin-bottom: 1.25rem;
}
.info-card .info-icon svg { width: 1.35rem; height: 1.35rem; }
.info-card h3 { font-size: 1.1875rem; margin-bottom: 0.6rem; }
.info-card p, .info-card address { font-size: var(--fs-small); color: var(--ink-soft); font-style: normal; margin: 0; }
.info-card a { font-weight: 500; }

/* Tableau des horaires */
.hours-table { width: 100%; border-collapse: collapse; max-width: 30rem; }
.hours-table th, .hours-table td {
  text-align: left; padding: 0.7rem 1rem 0.7rem 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-small);
}
.hours-table th { font-weight: 500; color: var(--ink); }
.hours-table td { color: var(--ink-soft); font-variant-numeric: tabular-nums lining-nums; }
.hours-table .today th, .hours-table .today td { color: var(--per-strong); font-weight: 600; }

/* Carte (chargement après consentement) */
.map-shell {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink);
  aspect-ratio: 16 / 10;
  box-shadow: var(--shadow-2);
}
.map-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.25rem;
  text-align: center; padding: 2rem;
  background:
    radial-gradient(circle at 30% 30%, rgba(81, 117, 224, 0.25), transparent 55%),
    var(--ink);
  color: var(--ivory);
}
.map-placeholder p { color: var(--ivory-soft); font-size: var(--fs-small); max-width: 40ch; }
.map-shell iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Formulaire de contact ---------- */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 3rem);
  box-shadow: var(--shadow-2);
}
.form-grid { display: grid; gap: 1.4rem; }
@media (min-width: 40rem) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .form-field--full { grid-column: 1 / -1; }
}
.form-field label {
  display: block;
  font-size: var(--fs-small); font-weight: 600;
  margin-bottom: 0.5rem;
}
.form-field .req { color: var(--per-strong); }
.form-field input, .form-field textarea {
  width: 100%;
  font: inherit; font-size: 1rem;
  color: var(--ink);
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 0.9rem 1.1rem;
  transition: border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background-color 0.25s;
}
.form-field input:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--per-strong);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(61, 86, 192, 0.15);
}
.form-field textarea { min-height: 9rem; resize: vertical; }
.form-field .field-error {
  display: none;
  font-size: 0.8125rem; font-weight: 500;
  color: #B4231F; margin-top: 0.4rem;
}
.form-field.has-error input, .form-field.has-error textarea { border-color: #B4231F; }
.form-field.has-error .field-error { display: block; }

.form-consent { display: flex; gap: 0.8rem; align-items: flex-start; font-size: var(--fs-small); color: var(--ink-soft); }
.form-consent input {
  width: 1.15rem; height: 1.15rem; margin-top: 0.2rem;
  accent-color: var(--per-strong); flex: none;
}
.form-note { font-size: 0.8125rem; color: var(--ink-faint); }
.form-status { font-size: var(--fs-small); font-weight: 600; margin-top: 1rem; display: none; }
.form-status.is-ok { display: block; color: #1E6B40; }
.form-status.is-error { display: block; color: #B4231F; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- Bandeau CTA final ---------- */
.cta-band { position: relative; overflow: clip; }
.cta-band .halo {
  position: absolute; bottom: -55%; left: 50%;
  transform: translateX(-50%);
  width: 60rem; aspect-ratio: 1.6;
  background: radial-gradient(ellipse at center, rgba(81, 117, 224, 0.28), transparent 65%);
  pointer-events: none;
}
.cta-band .cta-inner { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 2rem; }
.cta-band h2 { max-width: 18ch; margin-bottom: 0; }
.cta-band .hero-actions { justify-content: center; }
.cta-contact-line { font-size: var(--fs-small); color: var(--ivory-soft); }
.cta-contact-line a { font-weight: 600; }

/* ---------- Fil d'Ariane des pages intérieures ---------- */
.page-hero {
  padding-top: clamp(8.5rem, 14vw, 11.5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--line);
  position: relative; overflow: clip;
}
.page-hero h1 { max-width: 18ch; margin-bottom: 1rem; }
.page-hero .lead { margin-bottom: 0; }
.page-hero .halo {
  position: absolute; top: -30%; right: -12%;
  width: clamp(24rem, 42vw, 40rem); aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(81, 117, 224, 0.13), transparent 68%);
  pointer-events: none;
}

/* ---------- Pied de page ---------- */
.site-footer {
  background: var(--ink);
  color: var(--ivory-soft);
  padding-top: var(--space-section);
  font-size: var(--fs-small);
}
.footer-grid {
  display: grid; gap: 3rem;
  grid-template-columns: 1fr;
  padding-bottom: var(--space-block);
}
@media (min-width: 48rem) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; } }
.site-footer .brand img { height: 42px; }
.footer-about { max-width: 32ch; margin-top: 1.25rem; }
.site-footer h2 {
  font-family: var(--sans); font-size: 0.8125rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ivory); margin-bottom: 1.25rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.7rem; }
.site-footer a { color: var(--ivory-soft); text-decoration: none; transition: color 0.25s; }
.site-footer a:hover { color: #fff; }
.site-footer address { font-style: normal; line-height: 1.8; }
.social-links { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.social-links a {
  width: 2.5rem; height: 2.5rem;
  border: 1px solid var(--line-dark); border-radius: 50%;
  display: grid; place-items: center;
  color: var(--ivory-soft);
  transition: border-color 0.3s var(--ease-out), color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.social-links a:hover { border-color: var(--per-light); color: #fff; transform: translateY(-2px); }
.social-links svg { width: 1.1rem; height: 1.1rem; }

.footer-bottom {
  border-top: 1px solid var(--line-dark);
  margin-top: var(--space-block);
  padding-block: 1.75rem;
  display: flex; flex-wrap: wrap; gap: 1rem 2.5rem;
  align-items: center; justify-content: space-between;
  font-size: 0.8125rem;
}
.footer-bottom .legal-links { display: flex; flex-wrap: wrap; gap: 1.5rem; }

/* ---------- Décor SVG partagé ---------- */
.rings-svg circle { fill: none; stroke: currentColor; stroke-width: 1; }

/* ---------- Révélations au scroll ----------
   Le contenu reste visible par défaut : GSAP applique l'état initial
   uniquement quand JS + GSAP sont chargés (progressive enhancement). */
.js [data-reveal] { will-change: transform, opacity; }

/* ---------- Impression ---------- */
@media print {
  .site-header, .mobile-menu, .hero-decor, .cta-band, .site-footer .footer-grid { display: none; }
  body { background: #fff; color: #000; }
}
