/* ==========================================================================
   KRIMECH CARDIO — Feuille de style principale
   Sommaire :
     1. Polices          6. Composants
     2. Reset            7. Header / navigation
     3. Base             8. Sections
     4. Accessibilité    9. Footer
     5. Mise en page    10. Utilitaires
   ========================================================================== */

/* ==========================================================================
   1. POLICES — auto-hébergées, aucune requête externe
   ========================================================================== */

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/jakarta-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
                 U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F,
                 U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/jakarta-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
                 U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
                 U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0,
                 U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ==========================================================================
   2. RESET
   ========================================================================== */

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

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--s-4));
}

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

body {
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
  font-weight: var(--fw-normal);
  color: var(--c-text);
  background-color: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

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

p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }

ul[role='list'], ol[role='list'] { list-style: none; padding: 0; }

/* ==========================================================================
   3. BASE — typographie
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-weight: var(--fw-bold);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-tight);
  color: var(--c-secondary-deep);
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); font-weight: var(--fw-extra); }
h2 { font-size: var(--fs-h2); font-weight: var(--fw-extra); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
h5 { font-size: var(--fs-lg); }
h6 { font-size: var(--fs-md); }

p { text-wrap: pretty; }

a {
  color: var(--c-primary);
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
  transition: color var(--t-fast);
}
a:hover { color: var(--c-primary-dark); }

strong, b { font-weight: var(--fw-semibold); }

small { font-size: var(--fs-sm); }

hr {
  border: 0;
  border-top: 1px solid var(--c-border);
  margin: var(--s-10) 0;
}

blockquote {
  margin: var(--s-8) 0;
  padding: var(--s-6) var(--s-8);
  background: var(--c-primary-tint);
  border-left: 3px solid var(--c-primary);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: var(--fs-lg);
}

/* Zone de contenu éditée dans WordPress (blocs natifs) */
.entry-content > * + * { margin-top: var(--s-5); }
.entry-content h2 { margin-top: var(--s-12); }
.entry-content h3 { margin-top: var(--s-10); }
.entry-content ul,
.entry-content ol { padding-left: var(--s-6); }
.entry-content li + li { margin-top: var(--s-2); }
.entry-content img { border-radius: var(--r-lg); }

/* ==========================================================================
   4. ACCESSIBILITÉ
   ========================================================================== */

/* Lien d'évitement — premier élément focusable de la page */
.skip-link {
  position: absolute;
  left: var(--s-4);
  top: -100px;
  z-index: var(--z-toast);
  padding: var(--s-3) var(--s-5);
  background: var(--c-secondary);
  color: var(--c-text-inv);
  border-radius: var(--r-md);
  font-weight: var(--fw-semibold);
  text-decoration: none;
  transition: top var(--t-base);
}
.skip-link:focus { top: var(--s-4); color: var(--c-text-inv); }

/* Masqué visuellement mais lu par les lecteurs d'écran */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus visible homogène sur tout le site */
:focus-visible {
  outline: 3px solid var(--c-accent);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}
:focus:not(:focus-visible) { outline: none; }

/* ==========================================================================
   5. MISE EN PAGE
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--container-narrow); }
.container--wide   { max-width: var(--container-wide); }

.section        { padding-block: var(--section-y); }
.section--lg    { padding-block: var(--section-y-lg); }
.section--tight { padding-block: clamp(2.5rem, 4vw, 3.5rem); }

.section--alt   { background: var(--c-bg-alt); }
.section--soft  { background: var(--c-primary-tint); }
.section--blue  { background: var(--c-secondary-soft); }
.section--white { background: var(--c-surface); }

/* Section sombre — inverse toute la typographie */
.section--dark {
  background: var(--c-secondary);
  color: var(--c-text-inv-2);
}
.section--dark h1, .section--dark h2,
.section--dark h3, .section--dark h4 { color: var(--c-text-inv); }
.section--dark .section-head__title { color: var(--c-text-inv); }
.section--dark .section-head__intro { color: var(--c-text-inv-2); }

/* En-tête de section réutilisable */
.section-head { margin-bottom: var(--s-12); max-width: 700px; }
.section-head--center { margin-inline: auto; text-align: center; }

.section-head__title { margin-top: var(--s-4); }

.section-head__intro {
  margin-top: var(--s-4);
  font-size: var(--fs-lg);
  color: var(--c-text-2);
}

/* Grilles */
.grid { display: grid; gap: var(--s-6); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Grille auto-adaptative : aucune media query nécessaire */
.grid--auto {
  grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr));
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

/* ==========================================================================
   6. COMPOSANTS
   ========================================================================== */

/* --- Eyebrow : petite pilule au-dessus des titres ------------------------ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-2) var(--s-4);
  background: var(--c-primary-soft);
  color: var(--c-primary);
  border-radius: var(--r-full);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  line-height: 1;
}
.eyebrow svg { width: 14px; height: 14px; flex-shrink: 0; }

.section--dark .eyebrow {
  background: rgba(255, 255, 255, .1);
  color: var(--c-sand);
}

/* --- Boutons ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: var(--s-4) var(--s-8);
  min-height: 52px;            /* cible tactile confortable */
  border: 1px solid transparent;
  border-radius: var(--r-full);
  font-size: var(--fs-md);
  font-weight: var(--fw-semibold);
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--t-base), color var(--t-base),
              border-color var(--t-base), transform var(--t-fast),
              box-shadow var(--t-base);
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 19px; height: 19px; flex-shrink: 0; }

.btn--primary {
  background: var(--c-accent);
  color: var(--c-text-inv);
  box-shadow: var(--sh-primary);
}
.btn--primary:hover {
  background: var(--c-primary-dark);
  color: var(--c-text-inv);
  box-shadow: 0 10px 28px rgba(156, 59, 48, .3);
}

.btn--dark {
  background: var(--c-secondary);
  color: var(--c-text-inv);
}
.btn--dark:hover { background: var(--c-secondary-deep); color: var(--c-text-inv); }

.btn--outline {
  background: transparent;
  color: var(--c-secondary);
  border-color: var(--c-border-strong);
}
.btn--outline:hover {
  background: var(--c-surface);
  border-color: var(--c-secondary);
  color: var(--c-secondary);
}

.btn--whatsapp { background: var(--c-whatsapp); color: #05391B; }
.btn--whatsapp:hover { background: var(--c-whatsapp-dark); color: #fff; }

.btn--ghost { background: transparent; color: var(--c-primary); padding-inline: var(--s-3); }
.btn--ghost:hover { color: var(--c-primary-dark); }

.btn--sm { min-height: 44px; padding: var(--s-3) var(--s-5); font-size: var(--fs-sm); }
.btn--block { width: 100%; }

.section--dark .btn--outline { color: var(--c-text-inv); border-color: var(--c-border-dark); }
.section--dark .btn--outline:hover { background: rgba(255,255,255,.08); color: var(--c-text-inv); }

/* Groupe de boutons */
.btn-group { display: flex; flex-wrap: wrap; gap: var(--s-3); }

/* --- Cartes -------------------------------------------------------------- */
.card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--s-8);
  transition: border-color var(--t-base), box-shadow var(--t-base),
              transform var(--t-base);
}
.card--hover:hover {
  border-color: var(--c-sand);
  box-shadow: var(--sh-md);
  transform: translateY(-3px);
}
.card__title { font-size: var(--fs-xl); margin-bottom: var(--s-3); }
.card__text  { color: var(--c-text-2); font-size: var(--fs-base); }

.section--dark .card {
  background: var(--c-surface-dark);
  border-color: var(--c-border-dark);
}
.section--dark .card__text { color: var(--c-text-inv-2); }

/* Carte cliquable en entier (lien étiré) */
.card--link { position: relative; }
.card--link .stretched-link::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

/* --- Pastille d'icône ---------------------------------------------------- */
.icon-badge {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: var(--r-lg);
  background: var(--c-primary-soft);
  color: var(--c-primary);
  margin-bottom: var(--s-5);
  flex-shrink: 0;
}
.icon-badge svg { width: 27px; height: 27px; }
.icon-badge--round { border-radius: var(--r-full); }
.icon-badge--blue  { background: var(--c-secondary-soft); color: var(--c-secondary); }
.icon-badge--sm    { width: 44px; height: 44px; margin-bottom: 0; }
.icon-badge--sm svg{ width: 21px; height: 21px; }

.section--dark .icon-badge {
  background: rgba(255, 255, 255, .1);
  color: var(--c-sand);
}

/* --- Liste à puces cochées ---------------------------------------------- */
.check-list { list-style: none; padding: 0; display: grid; gap: var(--s-3); }
.check-list--2 { grid-template-columns: repeat(2, 1fr); gap: var(--s-3) var(--s-6); }

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
}
.check-list svg {
  width: 20px; height: 20px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--c-primary);
}
.section--dark .check-list svg { color: var(--c-sand); }

/* --- Fil d'Ariane -------------------------------------------------------- */
.breadcrumb {
  padding-block: var(--s-4);
  font-size: var(--fs-sm);
  color: var(--c-text-2);
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-2);
  list-style: none;
  padding: 0;
}
.breadcrumb li { display: flex; align-items: center; gap: var(--s-2); }
.breadcrumb li:not(:last-child)::after {
  content: '/';
  color: var(--c-border-strong);
}
.breadcrumb a { color: var(--c-text-2); text-decoration: none; }
.breadcrumb a:hover { color: var(--c-primary); text-decoration: underline; }
.breadcrumb [aria-current='page'] { color: var(--c-text); font-weight: var(--fw-medium); }

/* --- Formulaires --------------------------------------------------------- */
.field { display: grid; gap: var(--s-2); margin-bottom: var(--s-5); }

.field label {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--c-text);
}
.field .required { color: var(--c-error); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: var(--s-4);
  min-height: 52px;
  background: var(--c-surface);
  border: 1px solid var(--c-border-strong);
  border-radius: var(--r-md);
  font-size: var(--fs-base);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { min-height: 140px; resize: vertical; line-height: var(--lh-normal); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px var(--c-primary-soft);
}

.field__hint  { font-size: var(--fs-xs); color: var(--c-text-3); }
.field__error { font-size: var(--fs-xs); color: var(--c-error); font-weight: var(--fw-medium); }
.field input[aria-invalid='true'],
.field textarea[aria-invalid='true'] { border-color: var(--c-error); }

.form-notice {
  padding: var(--s-4) var(--s-5);
  border-radius: var(--r-md);
  font-size: var(--fs-base);
  margin-bottom: var(--s-6);
}
.form-notice--ok  { background: var(--c-success-soft); color: var(--c-success); }
.form-notice--err { background: var(--c-error-soft);   color: var(--c-error); }

/* Anti-spam : champ leurre, jamais visible ni lu */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0;
  pointer-events: none;
}

/* --- Accordéon FAQ ------------------------------------------------------- */
.faq { display: grid; gap: var(--s-3); }

.faq__item {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.faq__item[open] { border-color: var(--c-sand); }

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-5) var(--s-6);
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  color: var(--c-secondary-deep);
  cursor: pointer;
  list-style: none;
  transition: color var(--t-fast);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--c-primary); }

.faq__q::after {
  content: '';
  width: 11px; height: 11px;
  flex-shrink: 0;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform var(--t-base);
}
.faq__item[open] .faq__q::after { transform: rotate(-135deg) translate(-3px, -3px); }

.faq__a {
  padding: 0 var(--s-6) var(--s-6);
  color: var(--c-text-2);
}
.faq__a > * + * { margin-top: var(--s-3); }

/* --- Bandeau d'information / alerte ------------------------------------- */
.alert {
  display: flex;
  gap: var(--s-4);
  padding: var(--s-5) var(--s-6);
  border-radius: var(--r-lg);
  background: var(--c-warning-soft);
  border: 1px solid rgba(197, 138, 40, .28);
  font-size: var(--fs-base);
}
.alert svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--c-warning); }
.alert--urgent { background: var(--c-error-soft); border-color: rgba(179, 38, 30, .25); }
.alert--urgent svg { color: var(--c-error); }

/* --- Pagination ---------------------------------------------------------- */
.pagination { display: flex; justify-content: center; gap: var(--s-2); margin-top: var(--s-12); }
.pagination .page-numbers {
  display: grid;
  place-items: center;
  min-width: 44px; height: 44px;
  padding-inline: var(--s-3);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  background: var(--c-surface);
  color: var(--c-text);
  text-decoration: none;
  font-weight: var(--fw-medium);
}
.pagination .page-numbers:hover { border-color: var(--c-primary); color: var(--c-primary); }
.pagination .page-numbers.current {
  background: var(--c-secondary);
  border-color: var(--c-secondary);
  color: var(--c-text-inv);
}

/* ==========================================================================
   7. HEADER / NAVIGATION
   ========================================================================== */

/* Bandeau supérieur — coordonnées */
.topbar {
  background: var(--c-secondary);
  color: var(--c-text-inv-2);
  font-size: var(--fs-sm);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
  min-height: 44px;
  flex-wrap: wrap;
}
.topbar__list { display: flex; align-items: center; gap: var(--s-6); list-style: none; padding: 0; flex-wrap: wrap; }
.topbar__item { display: flex; align-items: center; gap: var(--s-2); }
.topbar__item svg { width: 15px; height: 15px; color: var(--c-sand); flex-shrink: 0; }
.topbar a { color: var(--c-text-inv-2); text-decoration: none; }
.topbar a:hover { color: var(--c-text-inv); text-decoration: underline; }

/* Header principal */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
  transition: box-shadow var(--t-base);
}
.site-header.is-scrolled { box-shadow: var(--sh-sm); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
  min-height: var(--header-h);
}

/* Logo */
.brand { display: flex; align-items: center; gap: var(--s-3); text-decoration: none; flex-shrink: 0; }
.brand__mark { width: 42px; height: 42px; flex-shrink: 0; color: var(--c-primary); }
.brand__text { display: grid; line-height: 1.15; }
.brand__name {
  font-size: var(--fs-md);
  font-weight: var(--fw-extra);
  color: var(--c-secondary-deep);
  letter-spacing: var(--ls-tight);
}
.brand__role {
  font-size: var(--fs-xs);
  color: var(--c-primary);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide);
}

/* Navigation principale */
.nav { display: flex; align-items: center; gap: var(--s-1); }
.nav ul { display: flex; align-items: center; gap: var(--s-1); list-style: none; padding: 0; margin: 0; }

.nav a {
  display: block;
  padding: var(--s-3);
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--c-text);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--t-fast), background var(--t-fast);
}
.nav a:hover { color: var(--c-primary); background: var(--c-primary-tint); }

.nav .current-menu-item > a,
.nav .current_page_item > a,
.nav .current-menu-parent > a { color: var(--c-primary); font-weight: var(--fw-semibold); }

/* Sous-menu */
.nav .menu-item-has-children { position: relative; }
.nav .menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  margin-left: var(--s-2);
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
.nav .sub-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 262px;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: var(--s-2);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--t-base), transform var(--t-base), visibility var(--t-base);
}
.nav .menu-item-has-children:hover > .sub-menu,
.nav .menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav .sub-menu a { white-space: normal; padding: var(--s-3) var(--s-4); }

/* Actions du header */
.header-actions { display: flex; align-items: center; gap: var(--s-3); flex-shrink: 0; }

.header-phone { display: flex; align-items: center; gap: var(--s-3); text-decoration: none; }
.header-phone__icon {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: var(--r-full);
  background: var(--c-primary-soft);
  color: var(--c-primary);
  flex-shrink: 0;
}
.header-phone__icon svg { width: 19px; height: 19px; }
.header-phone__text { display: grid; line-height: 1.2; }
.header-phone__label { font-size: var(--fs-xs); color: var(--c-text-2); }
.header-phone__num { font-size: var(--fs-sm); font-weight: var(--fw-bold); color: var(--c-secondary-deep); }

/* Bouton burger */
.nav-toggle {
  display: none;
  place-items: center;
  width: 46px; height: 46px;
  background: transparent;
  border: 1px solid var(--c-border-strong);
  border-radius: var(--r-md);
  cursor: pointer;
}
.nav-toggle__bars { display: grid; gap: 4px; width: 20px; }
.nav-toggle__bars span {
  display: block; height: 2px; width: 100%;
  background: var(--c-secondary-deep);
  border-radius: 2px;
  transition: transform var(--t-base), opacity var(--t-base);
}
.nav-toggle[aria-expanded='true'] .nav-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded='true'] .nav-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   8. SECTIONS
   ========================================================================== */

/* --- HERO ---------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 520px at 88% 12%, var(--c-primary-tint) 0%, transparent 62%),
    linear-gradient(180deg, var(--c-bg) 0%, var(--c-surface) 100%);
  padding-block: clamp(3rem, 6vw, 5.5rem);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero__title { margin-top: var(--s-5); font-size: var(--fs-display); }
.hero__title em {
  font-style: normal;
  color: var(--c-primary);
  display: block;
}

.hero__subtitle {
  margin-top: var(--s-4);
  font-size: var(--fs-xl);
  font-weight: var(--fw-semibold);
  color: var(--c-secondary-light);
  letter-spacing: var(--ls-tight);
}

.hero__text {
  margin-top: var(--s-5);
  font-size: var(--fs-lg);
  color: var(--c-text-2);
  max-width: 56ch;
}

.hero__actions { margin-top: var(--s-8); }

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-6);
  margin-top: var(--s-8);
  padding-top: var(--s-6);
  border-top: 1px solid var(--c-border);
  list-style: none;
}
.hero__trust li {
  display: flex; align-items: center; gap: var(--s-2);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--c-text-2);
}
.hero__trust svg { width: 18px; height: 18px; color: var(--c-primary); flex-shrink: 0; }

/* Visuel du hero */
.hero__media { position: relative; }
.hero__img {
  width: 100%;
  border-radius: var(--r-2xl);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--c-sand-soft);
}

/* Carte flottante */
.hero__badge {
  position: absolute;
  right: -8px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: var(--s-4);
  max-width: 268px;
  padding: var(--s-4) var(--s-5);
  background: var(--c-surface);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
}
.hero__badge-title { font-size: var(--fs-sm); font-weight: var(--fw-bold); color: var(--c-secondary-deep); line-height: 1.3; }
.hero__badge-text  { font-size: var(--fs-xs); color: var(--c-text-2); line-height: 1.45; margin-top: 2px; }

/* --- Bandeau CTA --------------------------------------------------------- */
.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s-6);
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  background: var(--c-primary-tint);
  border: 1px solid var(--c-sand-soft);
  border-radius: var(--r-2xl);
}
.cta-band__title { font-size: var(--fs-h3); }
.cta-band__text  { margin-top: var(--s-2); color: var(--c-text-2); max-width: 52ch; }

/* --- Bloc « à propos » --------------------------------------------------- */
.about__media { position: relative; }
.about__img {
  width: 100%;
  border-radius: var(--r-2xl);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--c-sand-soft);
}
.about__badge {
  position: absolute;
  left: -14px;
  bottom: 26px;
  padding: var(--s-4) var(--s-6);
  background: var(--c-secondary);
  color: var(--c-text-inv);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  text-align: center;
}
.about__badge strong { display: block; font-size: var(--fs-h3); font-weight: var(--fw-extra); line-height: 1.1; }
.about__badge span   { font-size: var(--fs-xs); color: var(--c-text-inv-2); }

/* Liste des diplômes */
.credentials { list-style: none; padding: 0; display: grid; gap: var(--s-4); margin-top: var(--s-6); }
.credentials li {
  display: flex;
  gap: var(--s-4);
  padding-bottom: var(--s-4);
  border-bottom: 1px solid var(--c-border);
}
.credentials li:last-child { border-bottom: 0; padding-bottom: 0; }
.credentials__label { font-weight: var(--fw-semibold); color: var(--c-secondary-deep); }
.credentials__meta  { font-size: var(--fs-sm); color: var(--c-text-2); margin-top: 2px; }

/* --- Grille de services -------------------------------------------------- */
.service-card { display: flex; flex-direction: column; height: 100%; }
.service-card__title { font-size: var(--fs-lg); margin-bottom: var(--s-2); }
.service-card__title a { color: inherit; text-decoration: none; }
.service-card__text { color: var(--c-text-2); font-size: var(--fs-base); flex-grow: 1; }
.service-card__more {
  display: inline-flex; align-items: center; gap: var(--s-2);
  margin-top: var(--s-5);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--c-primary);
  text-decoration: none;
}
.service-card__more svg { width: 16px; height: 16px; transition: transform var(--t-base); }
.card--hover:hover .service-card__more svg { transform: translateX(4px); }

/* --- Chiffres clés (factuels uniquement) --------------------------------- */
.facts { display: grid; gap: var(--s-6); grid-template-columns: repeat(auto-fit, minmax(min(200px,100%), 1fr)); }
.fact { text-align: center; padding: var(--s-6); }
.fact__num {
  font-size: var(--fs-h2);
  font-weight: var(--fw-extra);
  color: var(--c-primary);
  line-height: 1.1;
  letter-spacing: var(--ls-tighter);
}
.fact__label { margin-top: var(--s-2); font-size: var(--fs-sm); color: var(--c-text-2); }
.section--dark .fact__num { color: var(--c-sand); }
.section--dark .fact__label { color: var(--c-text-inv-2); }

/* --- Bloc contact -------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,4vw,3.5rem); align-items: start; }

.contact-list { list-style: none; padding: 0; display: grid; gap: var(--s-5); }
.contact-list li { display: flex; gap: var(--s-4); align-items: flex-start; }
.contact-list__label { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: var(--ls-caps); color: var(--c-text-3); font-weight: var(--fw-bold); }
.contact-list__value { font-size: var(--fs-md); font-weight: var(--fw-semibold); color: var(--c-secondary-deep); margin-top: 2px; }
.contact-list__value a { color: inherit; text-decoration: none; }
.contact-list__value a:hover { color: var(--c-primary); }

.map-embed {
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 0;
  border-radius: var(--r-xl);
  background: var(--c-bg-alt);
}

/* --- En-tête de page interne --------------------------------------------- */
.page-hero {
  background:
    radial-gradient(760px 340px at 78% 0%, var(--c-primary-tint) 0%, transparent 65%),
    var(--c-bg);
  padding-block: clamp(2rem, 4vw, 3.25rem) clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--c-border);
}
.page-hero__title { margin-top: var(--s-3); max-width: 20ch; }
.page-hero__intro { margin-top: var(--s-4); font-size: var(--fs-lg); color: var(--c-text-2); max-width: 62ch; }

/* --- Cartes d'articles ---------------------------------------------------- */
.post-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; padding: 0; }
.post-card__thumb { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; background: var(--c-bg-alt); }
.post-card__body { padding: var(--s-6); display: flex; flex-direction: column; flex-grow: 1; }
.post-card__meta { display: flex; flex-wrap: wrap; gap: var(--s-3); font-size: var(--fs-xs); color: var(--c-text-3); margin-bottom: var(--s-3); }
.post-card__title { font-size: var(--fs-lg); margin-bottom: var(--s-2); }
.post-card__title a { color: inherit; text-decoration: none; }
.post-card__excerpt { color: var(--c-text-2); font-size: var(--fs-sm); flex-grow: 1; }

/* --- Barre d'action mobile fixe ------------------------------------------ */
.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: var(--z-sticky);
  gap: var(--s-2);
  padding: var(--s-3);
  padding-bottom: max(var(--s-3), env(safe-area-inset-bottom));
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  box-shadow: 0 -4px 20px rgba(39, 43, 58, .1);
}
.mobile-bar .btn { flex: 1; min-height: 48px; font-size: var(--fs-sm); padding-inline: var(--s-3); }

/* ==========================================================================
   9. FOOTER
   ========================================================================== */

.site-footer {
  background: var(--c-secondary);
  color: var(--c-text-inv-2);
  padding-top: var(--section-y);
  font-size: var(--fs-sm);
}
.site-footer h3 {
  font-size: var(--fs-md);
  color: var(--c-text-inv);
  margin-bottom: var(--s-5);
  letter-spacing: var(--ls-wide);
}
.site-footer a { color: var(--c-text-inv-2); text-decoration: none; }
.site-footer a:hover { color: var(--c-text-inv); text-decoration: underline; }

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: clamp(2rem, 4vw, 3rem);
  padding-bottom: var(--s-12);
}
.footer__about { max-width: 34ch; line-height: var(--lh-normal); }
.footer__list { list-style: none; padding: 0; display: grid; gap: var(--s-3); }
.footer__contact li { display: flex; gap: var(--s-3); align-items: flex-start; }
.footer__contact svg { width: 17px; height: 17px; color: var(--c-sand); flex-shrink: 0; margin-top: 3px; }

.footer__brand .brand__name { color: var(--c-text-inv); }
.footer__brand .brand__role { color: var(--c-sand); }
.footer__brand .brand__mark { color: var(--c-sand); }

.socials { display: flex; gap: var(--s-3); margin-top: var(--s-6); }
.socials a {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, .08);
  transition: background var(--t-base);
}
.socials a:hover { background: var(--c-primary); }
.socials svg { width: 18px; height: 18px; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding-block: var(--s-6);
  border-top: 1px solid var(--c-border-dark);
  font-size: var(--fs-xs);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: var(--s-5); list-style: none; padding: 0; }

/* Mention médicale obligatoire */
.footer__disclaimer {
  padding: var(--s-5) 0;
  border-top: 1px solid var(--c-border-dark);
  font-size: var(--fs-xs);
  color: #9AA1B2;
  line-height: var(--lh-normal);
}

/* ==========================================================================
   10. UTILITAIRES
   ========================================================================== */

.text-center { text-align: center; }
.mt-0  { margin-top: 0; }
.mt-4  { margin-top: var(--s-4); }
.mt-6  { margin-top: var(--s-6); }
.mt-8  { margin-top: var(--s-8); }
.mt-12 { margin-top: var(--s-12); }
.mb-0  { margin-bottom: 0; }

.text-muted { color: var(--c-text-2); }
.text-sm    { font-size: var(--fs-sm); }
.lead       { font-size: var(--fs-lg); color: var(--c-text-2); }

.order-first { order: -1; }

/* Animation d'apparition au scroll — désactivée si reduced-motion */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--t-slow), transform var(--t-slow);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   11. RESPONSIVE
   ========================================================================== */

/* Entre 900 et 1240px, la barre du header sature : navigation, téléphone
   et bouton ne tiennent plus sur une ligne. On dégraisse par étapes plutôt
   que de laisser le bouton déborder. */
@media (max-width: 1240px) {
  .header-phone__text { display: none; }
  .nav a { padding-inline: var(--s-3); }
}

@media (max-width: 1120px) {
  .nav a { font-size: var(--fs-xs); padding-inline: var(--s-2); }
  .brand__role { display: none; }
}

@media (max-width: 1080px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 480px; margin-inline: auto; order: -1; }
  .hero__img { aspect-ratio: 3 / 2.4; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }

  /* Navigation en tiroir */
  .nav-toggle { display: grid; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    display: block;
    padding: var(--s-6) var(--gutter) var(--s-16);
    background: var(--c-surface);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity var(--t-base), transform var(--t-base), visibility var(--t-base);
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }

  .nav ul { display: block; }
  .nav li { border-bottom: 1px solid var(--c-border); }
  .nav a { padding: var(--s-4) 0; font-size: var(--fs-md); border-radius: 0; }
  .nav a:hover { background: transparent; }

  .nav .sub-menu {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0;
    padding: 0 0 var(--s-3) var(--s-5);
    min-width: 0;
  }
  .nav .sub-menu li { border: 0; }
  .nav .sub-menu a { padding: var(--s-3) 0; font-size: var(--fs-sm); }
  .nav .menu-item-has-children > a::after { display: none; }

  .header-phone__text { display: none; }
  .header-actions .btn--primary { display: none; }

  .split,
  .contact-grid { grid-template-columns: 1fr; }
  .split .about__media { max-width: 440px; margin-inline: auto; }

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

  .topbar__inner { justify-content: center; }
  .topbar__list { gap: var(--s-4); justify-content: center; }
}

@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .check-list--2 { grid-template-columns: 1fr; }

  .hero__badge { position: static; max-width: none; margin-top: var(--s-4); box-shadow: var(--sh-md); }
  .about__badge { left: 12px; bottom: 12px; }

  .card { padding: var(--s-6); }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .cta-band .btn-group { width: 100%; }
  .cta-band .btn { flex: 1; }

  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { justify-content: center; text-align: center; }

  /* Barre d'action fixe en bas — appel & WhatsApp toujours accessibles */
  .mobile-bar { display: flex; }
  body { padding-bottom: 76px; }

  .topbar { display: none; }
}

/* ==========================================================================
   12. IMPRESSION
   ========================================================================== */

@media print {
  .site-header, .site-footer, .mobile-bar, .topbar,
  .cta-band, .nav-toggle { display: none !important; }
  body { background: #fff; padding: 0; font-size: 11pt; }
  a[href^='http']::after { content: ' (' attr(href) ')'; font-size: 9pt; color: #555; }
}
