/* styles.css - monjiujitsu.com (structure, grayscale/TBD).
   Toutes les couleurs passent par les tokens de tokens.css. Mobile-first. */

/* ===== Reset / base ===== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: hsl(var(--foreground));
  background: hsl(var(--background));
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; letter-spacing: -0.02em; font-weight: 700; }
ul, ol { list-style: none; padding: 0; }

/* ===== A11y helpers ===== */
.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;
}
.skip-link {
  position: absolute; left: var(--space-4); top: -60px; z-index: 100;
  background: hsl(var(--brand)); color: hsl(var(--brand-foreground));
  padding: var(--space-2) var(--space-4); border-radius: var(--radius-sm);
  transition: top var(--dur-micro) var(--ease);
}
.skip-link:focus { top: var(--space-4); }

:focus-visible {
  outline: 2px solid hsl(var(--accent));
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* ===== Layout ===== */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--space-6); }
.section { padding-block: var(--space-16); }
.section--surface { background: hsl(var(--surface)); }
@media (min-width: 768px) { .section { padding-block: var(--space-20); } }

.eyebrow {
  font-family: var(--font-body); font-weight: 600; font-size: var(--text-sm);
  letter-spacing: 0.08em; text-transform: uppercase; color: hsl(var(--muted));
  margin-bottom: var(--space-3);
}
.section__head { max-width: var(--measure); margin-bottom: var(--space-12); }
.section__title { font-size: var(--text-3xl); }
@media (min-width: 768px) { .section__title { font-size: var(--text-4xl); } }
.section__sub { color: hsl(var(--muted)); margin-top: var(--space-3); }

/* ===== Buttons ===== */
.btn {
  --btn-pad-y: 0.75rem; --btn-pad-x: 1.5rem;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  font-family: var(--font-body); font-weight: 600; font-size: var(--text-base);
  min-height: 44px; padding: var(--btn-pad-y) var(--btn-pad-x);
  border-radius: var(--radius); border: 1px solid transparent; cursor: pointer;
  transition: transform var(--dur-micro) var(--ease), box-shadow var(--dur-micro) var(--ease), background-color var(--dur-micro) var(--ease);
}
.btn--sm { min-height: 38px; padding: 0.5rem 1rem; font-size: var(--text-sm); }
.btn--lg { min-height: 52px; padding: 1rem 2rem; font-size: var(--text-lg); }
.btn--primary { background: hsl(var(--brand)); color: hsl(var(--brand-foreground)); }
.btn--primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--primary:active { transform: translateY(0); box-shadow: var(--shadow-sm); }
.btn--ghost { background: transparent; color: hsl(var(--foreground)); border-color: hsl(var(--border)); }
.btn--ghost:hover { transform: translateY(-1px); border-color: hsl(var(--foreground)); box-shadow: var(--shadow-sm); }
.btn--ghost:active { transform: translateY(0); }

/* ===== Link with arrow ===== */
.link-arrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-weight: 600; color: hsl(var(--foreground));
}
.link-arrow svg { transition: transform var(--dur-micro) var(--ease); }
.link-arrow:hover { color: hsl(var(--accent)); }
.link-arrow:hover svg { transform: translateX(3px); }
.link-arrow--sm { font-size: var(--text-sm); }

/* ===== Header / nav ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: hsl(var(--background) / 0.85); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-std) var(--ease), box-shadow var(--dur-std) var(--ease);
}
.site-header[data-scrolled="true"] { border-bottom-color: hsl(var(--border)); box-shadow: var(--shadow-sm); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; transition: min-height var(--dur-std) var(--ease); }
.site-header[data-scrolled="true"] .site-header__inner { min-height: 54px; }
.site-header[data-scrolled="true"] .brand { font-size: var(--text-base); }

.brand { display: inline-flex; align-items: center; gap: var(--space-2); font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); color: hsl(var(--foreground)); transition: font-size var(--dur-std) var(--ease); }
.brand__mark { display: inline-flex; color: hsl(var(--accent)); }
.brand__thin { font-weight: 500; color: hsl(var(--muted)); }
@media (max-width: 420px) { .brand__thin { display: none; } }

.nav { display: flex; align-items: center; gap: var(--space-3); }
.nav__toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: transparent; border: 0; color: hsl(var(--foreground)); cursor: pointer; }
.nav__icon-close { display: none; }
.nav__menu { display: flex; align-items: center; gap: var(--space-6); }
.nav__menu a { font-size: var(--text-base); font-weight: 500; color: hsl(var(--muted)); transition: color var(--dur-micro) var(--ease); }
.nav__menu a:hover { color: hsl(var(--foreground)); }
.nav__cta a { color: hsl(var(--brand-foreground)); }

/* Mobile nav */
@media (max-width: 767px) {
  .nav__toggle { order: 2; }
  .nav__menu {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: hsl(var(--background)); border-bottom: 1px solid hsl(var(--border));
    box-shadow: var(--shadow-md); padding: var(--space-2) var(--space-6) var(--space-6);
    display: flex; opacity: 0; visibility: hidden; transform: translateY(-10px); pointer-events: none;
    transition: opacity var(--dur-std) var(--ease), transform var(--dur-std) var(--ease), visibility var(--dur-std);
  }
  .nav__menu[data-open="true"] { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
  .nav__menu li { border-top: 1px solid hsl(var(--border)); opacity: 0; transform: translateY(-6px); transition: opacity var(--dur-std) var(--ease), transform var(--dur-std) var(--ease); }
  .nav__menu[data-open="true"] li { opacity: 1; transform: none; }
  .nav__menu[data-open="true"] li:nth-child(2) { transition-delay: .04s; }
  .nav__menu[data-open="true"] li:nth-child(3) { transition-delay: .08s; }
  .nav__menu[data-open="true"] li:nth-child(4) { transition-delay: .12s; }
  .nav__menu[data-open="true"] li:nth-child(5) { transition-delay: .16s; }
  .nav__menu[data-open="true"] li:nth-child(6) { transition-delay: .20s; }
  .nav__menu a { display: block; padding: var(--space-4) 0; }
  .nav__cta { border-top: 0 !important; padding-top: var(--space-4); }
  .nav__cta a { justify-content: center; }
  .nav__toggle[aria-expanded="true"] .nav__icon-open { display: none; }
  .nav__toggle[aria-expanded="true"] .nav__icon-close { display: block; }
}
@media (min-width: 768px) { .nav__toggle { display: none; } }

/* Selecteur de langue FR / EN (visible a tous les breakpoints) */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; padding: 3px; background: hsl(var(--muted-surface)); border: 1px solid hsl(var(--border)); border-radius: var(--radius); }
.lang-switch__btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 34px; min-height: 32px; padding: 2px 8px;
  font-family: var(--font-body); font-weight: 700; font-size: var(--text-sm); letter-spacing: 0.03em;
  color: hsl(var(--muted)); background: transparent; border: 0; border-radius: var(--radius-sm); cursor: pointer;
  transition: color var(--dur-micro) var(--ease), background-color var(--dur-micro) var(--ease);
}
.lang-switch__btn:hover { color: hsl(var(--foreground)); }
.lang-switch__btn.is-active { background: hsl(var(--brand)); color: hsl(var(--brand-foreground)); }
@media (max-width: 767px) { .lang-switch { order: 1; } }

/* ===== Media placeholder ===== */
.media-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-3);
  background: hsl(var(--muted-surface));
  border: 1px dashed hsl(var(--border)); border-radius: var(--radius-lg);
  color: hsl(var(--muted)); font-size: var(--text-sm); font-weight: 500; text-align: center;
}
.media-placeholder--portrait { aspect-ratio: 4 / 5; }
.media-placeholder--square { aspect-ratio: 1 / 1; }

/* Real photos */
.hero__img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 22%; border-radius: var(--radius-lg); display: block; box-shadow: var(--shadow-md); }
.hero__slideshow { position: relative; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.hero__slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero__slide.is-active { opacity: 1; animation: hero-kenburns 18s var(--ease) both; }
@keyframes hero-kenburns { from { transform: scale(1.02); } to { transform: scale(1.08); } }
.about__img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 38%; border-radius: var(--radius-lg); display: block; box-shadow: var(--shadow-sm); }

/* Coaches / equipe */
.coaches__grid { display: grid; gap: var(--space-8); grid-template-columns: 1fr; }
@media (min-width: 640px) { .coaches__grid { grid-template-columns: repeat(3, 1fr); } }
.coach { display: flex; flex-direction: column; }
.coach__img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 22%; border-radius: var(--radius-lg); margin-bottom: var(--space-4); box-shadow: var(--shadow-sm); }
.coach__ph { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); background: hsl(var(--muted-surface)); border: 1px dashed hsl(var(--border)); color: hsl(var(--muted)); margin-bottom: var(--space-4); }
.coach__name { font-size: var(--text-xl); }
.coach__role { margin-top: var(--space-1); font-weight: 600; font-size: var(--text-sm); color: hsl(var(--accent)); }
.coach--soon .coach__role { color: hsl(var(--muted)); }
.coach__cred { margin-top: var(--space-2); font-size: var(--text-sm); color: hsl(var(--muted)); }

/* Coach unique = feature 2 colonnes (photo + credentials) */
.coaches__grid--solo { grid-template-columns: 1fr; max-width: 820px; margin-inline: auto; }
.coach--feature { display: grid; gap: var(--space-6); }
@media (min-width: 640px) { .coach--feature { grid-template-columns: 0.85fr 1.15fr; gap: var(--space-8); align-items: center; } }
.coach--feature .coach__img { margin-bottom: 0; }
.coach__body { display: flex; flex-direction: column; gap: var(--space-1); }
.coach__creds { display: grid; gap: var(--space-2); margin-top: var(--space-4); }
.coach__creds li { position: relative; padding-left: var(--space-6); color: hsl(var(--muted)); font-size: var(--text-sm); }
.coach__creds li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 7px; height: 7px; border-radius: 50%; background: hsl(var(--accent)); }

/* Gallery / en action (masonry) */
.gallery { columns: 3; column-gap: var(--space-4); }
@media (max-width: 900px) { .gallery { columns: 2; } }
.gallery img { width: 100%; height: auto; margin-bottom: var(--space-4); border-radius: var(--radius); display: block; break-inside: avoid; box-shadow: var(--shadow-sm); transition: transform var(--dur-std) var(--ease); }
.gallery img { cursor: zoom-in; }
.gallery img:hover { transform: scale(1.015); }

/* ===== Lightbox galerie ===== */
.lightbox { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: var(--space-8); background: hsl(var(--foreground) / 0.9); opacity: 0; visibility: hidden; transition: opacity var(--dur-std) var(--ease), visibility var(--dur-std); }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__img { max-width: min(92vw, 1000px); max-height: 86vh; width: auto; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-lg); transform: scale(0.97); transition: transform var(--dur-std) var(--ease); }
.lightbox.is-open .lightbox__img { transform: scale(1); }
.lightbox__close { position: absolute; top: var(--space-4); right: var(--space-4); width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: hsl(var(--background) / 0.92); border: 0; border-radius: 50%; color: hsl(var(--foreground)); cursor: pointer; transition: background-color var(--dur-micro) var(--ease); }
.lightbox__close:hover { background: hsl(var(--background)); }
body.lightbox-open { overflow: hidden; }

/* Form (break down video) */
.form-wrap { max-width: 640px; }
.form { display: grid; gap: var(--space-6); margin-top: var(--space-8); }
.field { display: grid; gap: var(--space-2); }
.field label { font-weight: 600; font-size: var(--text-sm); }
.field input, .field textarea { width: 100%; font: inherit; color: hsl(var(--foreground)); background: hsl(var(--background)); border: 1px solid hsl(var(--border)); border-radius: var(--radius); padding: 0.7rem 0.85rem; transition: border-color var(--dur-micro) var(--ease); }
.field input:hover, .field textarea:hover { border-color: hsl(var(--muted) / 0.5); }
.field textarea { resize: vertical; min-height: 110px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4); }
.form__msg { font-size: var(--text-sm); font-weight: 600; margin: 0; color: hsl(var(--foreground)); }
.form__msg[data-state="ok"] { color: hsl(var(--success)); }
.form__msg[data-state="err"] { color: hsl(var(--danger)); }

/* ===== Checkout (boutons services -> Stripe) ===== */
button.link-arrow { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.card .btn { width: 100%; }
/* Slot secondaire reserve, hauteur FIXE 1 ligne : prix + bouton primaire alignes sur les 4 cartes */
.card__sub { height: 1.4em; display: flex; align-items: center; }
.card__alt { font-size: var(--text-sm); color: hsl(var(--muted)); text-decoration: underline; text-underline-offset: 2px; background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.card__alt:hover { color: hsl(var(--accent)); }
.btn[disabled], button.link-arrow[disabled] { opacity: 0.55; cursor: default; }
.checkout-status { margin-top: var(--space-4); min-height: 1.2em; font-size: var(--text-sm); font-weight: 600; color: hsl(var(--muted)); }
.checkout-status[data-state="err"] { color: hsl(var(--danger)); }
.services .checkout-status { text-align: center; margin-top: var(--space-8); }
.cta .checkout-status, .cta .checkout-status[data-state="err"] { color: hsl(var(--brand-foreground) / 0.85); }

/* ===== Merci (page de confirmation post-paiement) ===== */
.thanks { min-height: 68vh; display: grid; place-items: center; padding-block: var(--space-24); }
.thanks__inner { max-width: 560px; text-align: center; }
.thanks__icon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: hsl(var(--accent) / 0.12); color: hsl(var(--accent)); margin-bottom: var(--space-6); }
.thanks__title { font-size: var(--text-4xl); }
.thanks__lead { margin-top: var(--space-4); color: hsl(var(--muted)); font-size: var(--text-lg); }
.thanks__actions { margin-top: var(--space-8); }
.thanks__note { margin-top: var(--space-8); font-size: var(--text-sm); color: hsl(var(--muted)); }
.thanks__note a { color: hsl(var(--accent)); font-weight: 600; }

/* ===== Classique (grec/romain) - ECHANTILLON, accent seulement ===== */
/* Cinzel = capitales romaines d'inscription, sur les ACCENTS (logo-mot + sur-titres).
   Les gros titres restent en Archivo (force + lisibilite). */
.brand__text { font-family: var(--font-classical); letter-spacing: 0.06em; }
.eyebrow { font-family: var(--font-classical); font-weight: 600; letter-spacing: 0.13em; }
/* (Separateur meandre retire : un ornement isole entre hero et stats ne portait pas. La touche grecque
   vit dans le Cinzel + la texture du CTA.) */

/* ===== Telestration demo (illustration "analyse video" = le moat) ===== */
/* Ink en blanc (--brand-foreground) : haut contraste sur la photo ; le --accent grayscale serait invisible.
   Se recolore vers l'accent de marque plus tard si la couleur est assez claire. */
.telestration { margin: 0 0 var(--space-8); }
.telestration__frame {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg);
  overflow: hidden; background: hsl(var(--foreground)); box-shadow: var(--shadow-md);
}
.telestration__img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; display: block; }
.telestration__svg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  color: hsl(var(--brand-foreground));
  filter: drop-shadow(0 1px 2px hsl(var(--foreground) / 0.65));
}
.telestration__svg .anno {
  fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
}
.telestration.is-frozen .anno { transition: stroke-dashoffset var(--dur-lg) var(--ease); stroke-dashoffset: 0; }
.telestration.is-frozen .anno--arrow { transition-delay: 0.7s; }
/* Pointe de fleche : element separe qui apparait QUAND le trait finit (les marqueurs SVG ignorent le draw-on) */
.telestration__svg .anno-head { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.telestration.is-frozen .anno-head { transition: opacity var(--dur-std) var(--ease) 1.15s; opacity: 1; }
/* Note du coach : apparait apres le rond + la fleche, puis se tape "live" (JS) */
.telestration__note {
  position: absolute; top: 7%; right: 4%; max-width: 56%;
  display: inline-flex; align-items: center;
  font-family: var(--font-body); font-size: var(--text-base); font-weight: 700; line-height: 1.3;
  color: hsl(var(--brand-foreground)); background: hsl(var(--foreground) / 0.92);
  padding: 7px 13px; border-radius: var(--radius-sm); box-shadow: var(--shadow-md);
  opacity: 0; transform: translateY(4px);
}
.telestration.is-frozen .telestration__note {
  transition: opacity var(--dur-std) var(--ease) 1.2s, transform var(--dur-std) var(--ease) 1.2s;
  opacity: 1; transform: none;
}
.telestration__caret {
  display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; flex: none;
  background: hsl(var(--brand-foreground));
  animation: tele-caret 0.7s steps(1) infinite;
}
@keyframes tele-caret { 0%, 50% { opacity: 1; } 50.01%, 100% { opacity: 0; } }
.telestration.is-typed .telestration__caret { display: none; }
.telestration__cap { margin-top: var(--space-3); color: hsl(var(--muted)); font-size: var(--text-sm); }

/* ===== Hero ===== */
.hero { padding-block: var(--space-16) var(--space-12); }
@media (min-width: 768px) { .hero { padding-block: var(--space-24); } }
.hero__inner { display: grid; gap: var(--space-12); align-items: center; }
@media (min-width: 900px) { .hero__inner { grid-template-columns: 1.1fr 0.9fr; gap: var(--space-16); } }
.hero__title { font-size: var(--text-hero); font-weight: 800; max-width: 14ch; }
.hero__lead { margin-top: var(--space-6); font-size: var(--text-lg); color: hsl(var(--muted)); max-width: 52ch; }
.hero__actions { margin-top: var(--space-8); display: flex; flex-wrap: wrap; gap: var(--space-4); }
.hero__media { max-width: 460px; width: 100%; justify-self: center; }

/* Signature moment: accent underline that DRAWS under a keyword (SVG stroke = hand-drawn feel) */
.mark { position: relative; white-space: nowrap; }
.mark__line {
  position: absolute; left: 0; right: 0; bottom: -0.16em; width: 100%; height: 0.34em;
  overflow: visible; color: hsl(var(--accent)); pointer-events: none;
}
.mark__line path {
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: draw-underline var(--dur-lg) var(--ease) 0.6s forwards;
}
@keyframes draw-underline { to { stroke-dashoffset: 0; } }

/* Hero entrance cascade (above the fold -> runs on load, pure CSS, no JS needed) */
.hero__copy > * { animation: hero-rise var(--dur-lg) var(--ease) backwards; }
.hero__copy > .eyebrow { animation-delay: 0.05s; }
.hero__copy > .hero__title { animation-delay: 0.15s; }
.hero__copy > .hero__lead { animation-delay: 0.30s; }
.hero__copy > .hero__actions { animation-delay: 0.45s; }
@keyframes hero-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ===== Stats ===== */
.stats { border-block: 1px solid hsl(var(--border)); }
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }
.stat { display: flex; flex-direction: column; gap: var(--space-1); padding: var(--space-8) var(--space-4); text-align: center; }
.stat + .stat { border-left: 1px solid hsl(var(--border)); }
@media (max-width: 767px) { .stat:nth-child(3) { border-left: 0; } .stat:nth-child(odd) { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid hsl(var(--border)); } }
.stat__num { font-family: var(--font-display); font-weight: 700; font-size: var(--text-xl); }
.stat__label { font-size: var(--text-sm); color: hsl(var(--muted)); }

/* ===== About ===== */
.about__grid { display: grid; gap: var(--space-12); align-items: center; }
@media (min-width: 900px) { .about__grid { grid-template-columns: 0.85fr 1.15fr; gap: var(--space-16); } }
.about__media { max-width: 420px; width: 100%; }
.about__copy p { margin-top: var(--space-4); color: hsl(var(--muted)); max-width: var(--measure); }
.about__copy .section__title { color: hsl(var(--foreground)); }
.about__copy .link-arrow { margin-top: var(--space-6); }

/* ===== Services ===== */
.services__grid { display: grid; gap: var(--space-6); grid-template-columns: 1fr; }
@media (min-width: 600px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services__grid { grid-template-columns: repeat(4, 1fr); } }
.card {
  display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3);
  background: hsl(var(--background)); border: 1px solid hsl(var(--border));
  border-radius: var(--radius-lg); padding: var(--space-8);
  transition: transform var(--dur-std) var(--ease), box-shadow var(--dur-std) var(--ease), border-color var(--dur-std) var(--ease);
}
.section--surface .card { background: hsl(var(--background)); }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: hsl(var(--accent) / 0.4); }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  border-radius: var(--radius); background: hsl(var(--accent) / 0.10); color: hsl(var(--accent));
  margin-bottom: var(--space-2); transition: transform var(--dur-std) var(--ease);
}
.card:hover .card__icon { transform: scale(1.08); }
.card__title { font-size: var(--text-xl); }
.card__text { color: hsl(var(--muted)); font-size: var(--text-sm); flex-grow: 1; }
.card__price { display: flex; align-items: baseline; column-gap: 6px; }
.card__amount { font-family: var(--font-display); font-weight: 800; font-size: var(--text-3xl); line-height: 1.05; letter-spacing: -0.01em; color: hsl(var(--foreground)); }
.card__unit { font-size: var(--text-sm); font-weight: 600; color: hsl(var(--muted)); }

/* Featured service (Super forfait) */
.card-featured { margin-top: var(--space-8); background: hsl(var(--brand)); color: hsl(var(--brand-foreground)); border-radius: var(--radius-lg); padding: var(--space-8); display: grid; gap: var(--space-8); }
@media (min-width: 768px) { .card-featured { grid-template-columns: 0.85fr 1.15fr; gap: var(--space-16); padding: var(--space-12); align-items: center; } }
.eyebrow--invert { color: hsl(var(--brand-foreground) / 0.65); }
.card-featured__title { font-size: var(--text-3xl); color: hsl(var(--brand-foreground)); }
.card-featured__price { margin-top: var(--space-2); font-family: var(--font-display); font-weight: 800; font-size: var(--text-4xl); }
.card-featured__price span { font-size: var(--text-lg); font-weight: 500; color: hsl(var(--brand-foreground) / 0.7); }
.card-featured__body { display: flex; flex-direction: column; gap: var(--space-6); align-items: flex-start; }
.card-featured__list { display: grid; gap: var(--space-4); }
.card-featured__list li { display: flex; gap: var(--space-4); align-items: center; color: hsl(var(--brand-foreground) / 0.92); }
.forfait-med { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid hsl(var(--gold)); color: hsl(var(--gold)); display: flex; align-items: center; justify-content: center; }
.forfait-med svg { display: block; }
.forfait-svc { display: flex; flex-direction: column; gap: 1px; }
.forfait-svc__label { font-family: var(--font-classical); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: hsl(var(--gold)); }
/* Laurier (victoire) qui encadre le prix du forfait */
.price-laurel { display: inline-block; vertical-align: middle; color: hsl(var(--gold)); margin: 0 12px; }
.price-laurel--r { transform: scaleX(-1); }
.btn--invert { background: hsl(var(--background)); color: hsl(var(--foreground)); }
.btn--invert:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn--invert:active { transform: translateY(0); }

/* ===== Approach / steps ===== */
.steps { display: grid; gap: var(--space-8); grid-template-columns: 1fr; counter-reset: step; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); gap: var(--space-12); } }
.step { display: flex; flex-direction: column; gap: var(--space-3); }
.step__num {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border-radius: 50%; border: 1px solid hsl(var(--border));
  font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); color: hsl(var(--accent));
}
.step__title { font-size: var(--text-xl); }
.step p { color: hsl(var(--muted)); }

/* ===== Testimonials ===== */
.testimonials__grid { display: grid; gap: var(--space-6); grid-template-columns: 1fr; }
@media (min-width: 768px) { .testimonials__grid { grid-template-columns: repeat(3, 1fr); } }
.quote {
  background: hsl(var(--background)); border: 1px solid hsl(var(--border));
  border-radius: var(--radius-lg); padding: var(--space-8);
}
.quote blockquote { font-size: var(--text-lg); line-height: 1.5; }
.quote figcaption { margin-top: var(--space-4); font-size: var(--text-sm); font-weight: 600; color: hsl(var(--muted)); }

/* ===== CTA ===== */
.cta { background: hsl(var(--brand)); color: hsl(var(--brand-foreground)); }
.cta__inner { padding-block: var(--space-24); text-align: center; max-width: 640px; }
.container.cta__inner { margin-inline: auto; }
.cta__title { font-size: var(--text-4xl); color: hsl(var(--brand-foreground)); }
.cta__lead { margin-top: var(--space-4); font-size: var(--text-lg); color: hsl(var(--brand-foreground) / 0.8); }
.cta__inner .btn--primary { margin-top: var(--space-8); background: hsl(var(--background)); color: hsl(var(--foreground)); }
.cta__inner .btn--primary:hover { box-shadow: var(--shadow-lg); }
.cta__note { margin-top: var(--space-6); font-size: var(--text-sm); color: hsl(var(--brand-foreground) / 0.6); }

/* ===== Texture classique (grec) - moment "premium" fonce, REUTILISABLE ===== */
/* Cannelure de colonne (rainures verticales tres pales) + fin meandre grec en bordure.
   RESERVEE aux blocs SOMBRES premium (CTA + forfait vedette) : sur fond clair le meandre
   lit comme une regle, pas comme du classique. Subtil : texte creme haut contraste
   (rainures a 3.5% d'alpha, meandre a 16%). Classe partagee -> zero CSS duplique. */
.classical-band { position: relative; overflow: hidden; background-color: hsl(var(--brand)); background-image: repeating-linear-gradient(90deg, hsl(var(--brand-foreground) / 0.035) 0 1px, transparent 1px 16px); }
.classical-band > * { position: relative; z-index: 1; }
.classical-band::before, .classical-band::after {
  content: ""; position: absolute; left: 0; right: 0; height: 16px; pointer-events: none; opacity: 0.16; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='20'%20height='16'%20viewBox='0%200%2020%2016'%3E%3Cpath%20d='M0,13H20M4,13V3H16V11H8V7H11'%20fill='none'%20stroke='%23F2EADD'%20stroke-width='1.3'/%3E%3C/svg%3E");
  background-repeat: repeat-x; background-position: center; background-size: 20px 16px;
}
.classical-band::before { top: 0; }
.classical-band::after { bottom: 0; transform: scaleY(-1); }

/* ===== Footer ===== */
.site-footer { background: hsl(var(--surface)); border-top: 1px solid hsl(var(--border)); padding-block: var(--space-16) var(--space-8); }
.site-footer__grid { display: grid; gap: var(--space-12); grid-template-columns: 1fr; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 2fr 1fr 1fr; gap: var(--space-16); } }
.brand--footer { font-size: var(--text-base); }
.site-footer__tag { margin-top: var(--space-3); color: hsl(var(--muted)); font-size: var(--text-sm); max-width: 36ch; }
.site-footer__h { font-family: var(--font-body); font-size: var(--text-sm); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: hsl(var(--foreground)); margin-bottom: var(--space-4); }
.site-footer__nav a, .site-footer__contact a { display: inline-block; padding-block: var(--space-2); color: hsl(var(--muted)); transition: color var(--dur-micro) var(--ease); }
.site-footer__nav a:hover, .site-footer__contact a:hover { color: hsl(var(--foreground)); }
.site-footer__bottom { margin-top: var(--space-12); padding-top: var(--space-8); border-top: 1px solid hsl(var(--border)); display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); justify-content: space-between; color: hsl(var(--muted)); font-size: var(--text-sm); }
.site-footer__placeholder { color: hsl(var(--muted) / 0.7); }

/* ===== Reveal-on-scroll (avec stagger par frere, --reveal-d pose par main.js) ===== */
[data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity var(--dur-std) var(--ease), transform var(--dur-std) var(--ease); transition-delay: var(--reveal-d, 0ms); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero__copy > * { animation: none; opacity: 1; transform: none; }
  .mark__line path { stroke-dashoffset: 0; animation: none; }
  .hero__slide.is-active { animation: none; transform: none; }
  .telestration__note { opacity: 1 !important; transform: none !important; }
  .telestration__caret { display: none; }
}
