/* ============================================================
   EMOCYNO — feuille de styles
   1. Jetons & socle       6. Sections & cartes
   2. Typographie          7. Formulaire
   3. Boutons              8. Frise & contenus longs
   4. En-tête              9. Pied de page & dock
   5. Hero                10. Accessibilité & mouvement
   ============================================================ */

/* ---------- 1. Jetons ---------- */
:root {
  /* couleurs */
  --ink:        #14120f;
  --ink-2:      #221d18;
  --ink-3:      #38312a;
  --cream:      #faf7f2;
  --sand:       #f3ede4;
  --sand-2:     #e8dfd2;
  --muted:      #6b6259;
  --muted-2:    #8b8177;
  --line:       rgb(20 18 15 / 12%);
  --line-light: rgb(250 247 242 / 16%);

  --brand:      #e2571c;
  --brand-600:  #c7440f;
  --brand-700:  #a2360c;
  --brand-soft: #fdeee5;
  --sage:       #6aa06c;
  --sage-deep:  #48764a;
  --sage-soft:  #eaf2ea;

  /* typographie */
  --font-display: 'Archivo', 'Segoe UI', system-ui, sans-serif;
  --font-body:    'Mulish', 'Segoe UI', system-ui, sans-serif;

  --step--1: clamp(.82rem, .79rem + .13vw, .89rem);
  --step-0:  clamp(1rem, .96rem + .18vw, 1.09rem);
  --step-1:  clamp(1.15rem, 1.08rem + .34vw, 1.36rem);
  --step-2:  clamp(1.38rem, 1.24rem + .68vw, 1.85rem);
  --step-3:  clamp(1.7rem, 1.42rem + 1.35vw, 2.6rem);
  --step-4:  clamp(2.1rem, 1.6rem + 2.4vw, 3.6rem);
  --step-5:  clamp(2.6rem, 1.7rem + 4.2vw, 5.2rem);

  /* mesures */
  --shell:   78rem;
  --gutter:  clamp(1.15rem, .6rem + 2.4vw, 3rem);
  --section: clamp(3.75rem, 2.4rem + 6vw, 7.5rem);
  --radius:  18px;
  --radius-sm: 11px;
  --radius-lg: 28px;

  --shadow-sm: 0 1px 2px rgb(20 18 15 / 6%), 0 3px 8px rgb(20 18 15 / 5%);
  --shadow:    0 2px 6px rgb(20 18 15 / 6%), 0 14px 34px -12px rgb(20 18 15 / 18%);
  --shadow-lg: 0 4px 12px rgb(20 18 15 / 8%), 0 30px 70px -20px rgb(20 18 15 / 30%);

  --ease: cubic-bezier(.22, .68, .3, 1);

  --header-h: 74px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1.5rem);
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.02em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--brand); color: #fff; }

:focus-visible {
  outline: 2.5px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 50%;
  top: .5rem;
  translate: -50% -200%;
  z-index: 200;
  background: var(--ink);
  color: var(--cream);
  padding: .7rem 1.2rem;
  border-radius: 99px;
  font-weight: 700;
  transition: translate .2s var(--ease);
}
.skip-link:focus-visible { translate: -50% 0; }

/* ---------- 2. Typographie & utilitaires ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.shell--narrow { max-width: 46rem; }

.section { padding-block: var(--section); }
.section--sand { background: var(--sand); }

.section__head {
  display: grid;
  gap: 1.1rem 3rem;
  margin-bottom: clamp(2.2rem, 1.4rem + 2.6vw, 3.75rem);
}
@media (min-width: 900px) {
  .section__head { grid-template-columns: 1.15fr .85fr; align-items: end; }
}
.section__head--center {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
}

.section__title { font-size: var(--step-3); }
.section__lead {
  font-size: var(--step-1);
  color: var(--muted);
  line-height: 1.6;
  max-width: 42ch;
  margin-top: 1rem;
}
.section__aside { color: var(--muted); max-width: 40ch; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-600);
  margin-bottom: .8rem;
}
.eyebrow--light { color: #f6a97e; }
.eyebrow .ico { opacity: .9; }

.lede {
  font-size: var(--step-1);
  color: var(--muted);
  max-width: 62ch;
  margin-bottom: clamp(2.5rem, 1.6rem + 3vw, 4.5rem);
  line-height: 1.65;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 800;
  color: var(--brand-600);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 2px solid rgb(226 87 28 / 28%);
  transition: gap .25s var(--ease), border-color .25s var(--ease);
}
.link-arrow:hover { gap: .85rem; border-color: var(--brand); }
.link-arrow--light { color: #f6a97e; border-color: rgb(246 169 126 / 35%); }
.link-arrow--light:hover { border-color: #f6a97e; }

/* média à ratio fixe (zéro décalage de mise en page) */
.media {
  position: relative;
  aspect-ratio: var(--ratio, 4 / 3);
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sand-2);
}
.media__img { width: 100%; height: 100%; object-fit: cover; }
.media--round { border-radius: var(--radius-lg); }

.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip {
  font-size: var(--step--1);
  font-weight: 700;
  padding: .3rem .7rem;
  border-radius: 99px;
  background: var(--sand);
  color: var(--muted);
  border: 1px solid var(--line);
}
.chips--light .chip {
  background: rgb(250 247 242 / 12%);
  color: var(--cream);
  border-color: var(--line-light);
  backdrop-filter: blur(6px);
}

.ticks { display: grid; gap: .5rem; }
.ticks li { display: flex; gap: .6rem; align-items: flex-start; color: var(--muted); }
.ticks .ico { color: var(--sage-deep); flex: none; margin-top: .38em; }

.callout {
  padding: .85rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: var(--step--1);
  line-height: 1.55;
  border-left: 3px solid;
}
.callout--info { background: var(--sage-soft); border-color: var(--sage); color: #335134; }
.callout--warn { background: var(--brand-soft); border-color: var(--brand); color: #85300b; }

/* ---------- 3. Boutons ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--cream);
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .78rem 1.4rem;
  border: 1.5px solid var(--btn-bd);
  border-radius: 99px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-0);
  letter-spacing: -.01em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .25s var(--ease),
              background-color .2s var(--ease), color .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn .ico { transition: translate .25s var(--ease); }
.btn:hover .ico { translate: 3px 0; }

.btn--primary { --btn-bg: var(--brand); --btn-fg: #fff; }
.btn--primary:hover { --btn-bg: var(--brand-600); }

.btn--dark { --btn-bg: var(--ink); --btn-fg: var(--cream); }
.btn--dark:hover { --btn-bg: var(--ink-2); }

.btn--outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--ink); }
.btn--outline:hover { --btn-bg: var(--ink); --btn-fg: var(--cream); }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line); }
.btn--ghost:hover { --btn-bg: var(--sand); }

.btn--glass {
  --btn-bg: rgb(250 247 242 / 12%);
  --btn-fg: #fff;
  --btn-bd: rgb(250 247 242 / 45%);
  backdrop-filter: blur(10px);
}
.btn--glass:hover { --btn-bg: rgb(250 247 242 / 22%); }

.btn--sm { padding: .55rem 1.05rem; font-size: var(--step--1); }
.btn--lg { padding: .95rem 1.75rem; font-size: var(--step-1); }
.btn--block { width: 100%; }

/* Sur fond sombre, le bouton contour passe en clair */
.cta-band .btn--outline,
.oops .btn--outline { --btn-fg: var(--cream); --btn-bd: rgb(250 247 242 / 45%); }
.cta-band .btn--outline:hover,
.oops .btn--outline:hover { --btn-bg: var(--cream); --btn-fg: var(--ink); }

/* ---------- 4. En-tête ---------- */
.announce {
  background: var(--ink);
  color: var(--cream);
  font-size: var(--step--1);
}
.announce__in {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  min-height: 40px;
  padding-block: .45rem;
  text-align: center;
  flex-wrap: wrap;
}
.announce__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 0 rgb(226 87 28 / 60%);
  animation: pulse 2.6s infinite;
  flex: none;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgb(226 87 28 / 0%); }
  100% { box-shadow: 0 0 0 0 rgb(226 87 28 / 0%); }
}
.announce__text { color: rgb(250 247 242 / 88%); }
.announce__cta {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .3rem .1rem;
  color: #f6a97e;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.announce__cta:hover { color: #fff; }
.announce__cta .ico { transition: translate .2s var(--ease); }
.announce__cta:hover .ico { translate: 3px 0; }

.masthead {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgb(250 247 242 / 82%);
  backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.masthead.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -14px rgb(20 18 15 / 25%);
}
.masthead__in {
  display: flex;
  align-items: center;
  gap: clamp(.7rem, .3rem + 1.2vw, 1.25rem);
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  margin-right: auto;
  min-width: 0;      /* autorise la troncature plutôt que le débordement */
}
.brand__mark {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--ink);
  padding: 0;
  flex: none;
  transition: transform .35s var(--ease);
}
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.05); }
/* la troncature se fait sur le texte seul : un overflow sur .brand rognerait
   la pastille quand elle tourne et grossit au survol */
.brand__txt { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; overflow: hidden; }
.brand__name {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1rem + .5vw, 1.32rem);
  font-weight: 700;
  letter-spacing: .1em;
  white-space: nowrap;
}
.brand__sub {
  font-size: .68rem;
  color: var(--muted);
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* le sous-titre n'est affiché que là où il tient sans compresser les actions */
@media (max-width: 1059px) { .brand__sub { display: none; } }

.nav { display: none; }
@media (min-width: 1060px) { .nav { display: block; } }
.nav__list { display: flex; align-items: center; gap: .25rem; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  padding: .55rem .8rem;
  border-radius: 99px;
  font-family: var(--font-display);
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.nav__link:hover { background: var(--sand); }
.nav__link.is-active { color: var(--brand-600); }
.nav__chev { transition: rotate .25s var(--ease); opacity: .55; }
.nav__item.has-sub:hover .nav__chev,
.nav__item.has-sub:focus-within .nav__chev { rotate: 180deg; }

.submenu {
  position: absolute;
  top: calc(100% + .45rem);
  left: 50%;
  translate: -50% 0;
  min-width: 17.5rem;
  padding: .45rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.nav__item.has-sub:hover .submenu,
.nav__item.has-sub:focus-within .submenu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.submenu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .6rem .8rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  transition: background-color .18s var(--ease), color .18s var(--ease);
}
.submenu__link:hover { background: var(--sand); color: var(--brand-600); }
.submenu__link.is-active { color: var(--brand-600); }
.submenu__arrow { opacity: 0; transition: opacity .18s var(--ease), translate .18s var(--ease); }
.submenu__link:hover .submenu__arrow { opacity: .7; translate: 2px -2px; }

.masthead__actions { display: flex; align-items: center; gap: .5rem; flex: none; }

.phone-link {
  display: none;
  align-items: center;
  gap: .45rem;
  font-family: var(--font-display);
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  padding: .5rem;
  border-radius: 10px;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.phone-link:hover { color: var(--brand-600); background: var(--sand); }
/* le numéro n'apparaît qu'à partir du menu desktop : en dessous, le dock
   mobile fixe assure déjà l'appel en un geste. */
@media (min-width: 1160px) { .phone-link { display: inline-flex; } }
.masthead__actions .btn { display: none; }
@media (min-width: 480px) { .masthead__actions .btn { display: inline-flex; } }

.burger {
  display: grid;
  place-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  transition: background-color .2s var(--ease);
}
.burger:hover { background: var(--sand); }
@media (min-width: 1060px) { .burger { display: none; } }
.burger__bar {
  width: 19px; height: 1.8px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.burger[aria-expanded='true'] .burger__bar:nth-child(1) { transform: translateY(6.8px) rotate(45deg); }
.burger[aria-expanded='true'] .burger__bar:nth-child(2) { opacity: 0; }
.burger[aria-expanded='true'] .burger__bar:nth-child(3) { transform: translateY(-6.8px) rotate(-45deg); }

/* Tiroir mobile */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgb(20 18 15 / 45%);
  opacity: 0;
  transition: opacity .3s var(--ease);
  backdrop-filter: blur(3px);
}
.drawer.is-open { opacity: 1; }
.drawer__panel {
  position: absolute;
  inset-block: 0;
  right: 0;
  width: min(24rem, 92vw);
  display: flex;
  flex-direction: column;
  background: var(--cream);
  padding: 1.25rem var(--gutter) calc(1.5rem + env(safe-area-inset-bottom));
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .34s var(--ease);
  box-shadow: var(--shadow-lg);
}
.drawer.is-open .drawer__panel { transform: translateX(0); }
.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1rem;
}
.drawer__title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: var(--step--1);
  color: var(--muted);
}
.drawer__close {
  display: grid; place-content: center;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
}
.drawer__close:hover { background: var(--sand); }
.drawer__nav { flex: 1; }
.drawer__link {
  display: block;
  padding: .7rem 0;
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -.02em;
}
.drawer__link.is-active { color: var(--brand-600); }
.drawer__sub {
  display: grid;
  gap: .1rem;
  margin: 0 0 .6rem;
  padding-left: .9rem;
  border-left: 2px solid var(--line);
}
.drawer__sublink {
  display: block;
  padding: .38rem 0;
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}
.drawer__sublink:hover, .drawer__sublink.is-active { color: var(--brand-600); }
.drawer__foot {
  display: grid;
  gap: .6rem;
  padding-top: 1.2rem;
  margin-top: 1rem;
  border-top: 1px solid var(--line);
}
.drawer__socials { display: flex; gap: .5rem; justify-content: center; padding-top: .4rem; }
.drawer__socials a {
  display: grid; place-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.drawer__socials a:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* ---------- 5. Hero ---------- */
.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: min(88svh, 46rem);
  padding-block: clamp(5rem, 4rem + 8vw, 9rem) clamp(3.5rem, 2.5rem + 5vw, 6rem);
  background: var(--ink);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 32%; }
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgb(20 18 15 / 94%) 6%, rgb(20 18 15 / 70%) 42%, rgb(20 18 15 / 26%) 78%),
    linear-gradient(to right, rgb(20 18 15 / 78%), rgb(20 18 15 / 8%) 68%);
}
.hero__in { position: relative; }
.hero__copy { max-width: 44rem; color: var(--cream); }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #f6a97e;
  padding: .4rem .9rem .4rem .7rem;
  border: 1px solid rgb(246 169 126 / 35%);
  border-radius: 99px;
  background: rgb(226 87 28 / 12%);
  backdrop-filter: blur(8px);
  margin-bottom: 2rem;
}
.hero__title { font-size: var(--step-5); letter-spacing: -.035em; }
.hero__title em {
  font-style: normal;
  color: var(--brand);
  -webkit-text-stroke: 0;
}
.hero__title-sm {
  display: block;
  font-size: var(--step-0);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgb(250 247 242 / 62%);
  margin-bottom: 1.1rem;
}
.hero__text {
  margin-top: 2rem;
  font-size: var(--step-1);
  line-height: 1.6;
  color: rgb(250 247 242 / 88%);
  max-width: 38rem;
}
.hero__text strong { color: #fff; }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 2.6rem;
}
.hero__bg picture { display: block; width: 100%; height: 100%; }

/* Mobile : la photo prend le haut de l'écran (le duo Elsa & Willow se voit en entier),
   puis le texte reprend sur fond encre — plus d'image écrasée sous le texte. */
@media (max-width: 700px) {
  .hero { display: block; min-height: 0; padding: 0; }
  .hero::after { display: none; }
  .hero__bg { position: relative; inset: auto; z-index: 0; height: clamp(21rem, 118vw, 32rem); }
  .hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgb(20 18 15 / 22%) 0%, transparent 26%, rgb(20 18 15 / 50%) 66%, var(--ink) 100%);
  }
  .hero__img { object-position: 50% 28%; }
  .hero__in { z-index: 1; margin-top: -4.2rem; padding-bottom: 3.8rem; }
  .hero__eyebrow { margin-bottom: 1.6rem; }
  .hero__text { margin-top: 1.8rem; }
  .hero__actions { margin-top: 2.2rem; }
}
.hero__scroll {
  position: absolute;
  bottom: 1.1rem;
  left: 50%;
  translate: -50% 0;
  display: grid;
  place-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-light);
  color: rgb(250 247 242 / 70%);
  animation: bob 2.6s ease-in-out infinite;
}
.hero__scroll:hover { color: #fff; border-color: rgb(250 247 242 / 45%); }
@keyframes bob { 0%, 100% { translate: -50% 0; } 50% { translate: -50% 6px; } }
@media (max-width: 700px) { .hero__scroll { display: none; } }

/* ---------- Bandeau chiffres ---------- */
.stats-band { background: var(--ink); color: var(--cream); }
.stats-band--flat { background: var(--sand); color: var(--ink); }
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-light);
  border-radius: var(--radius);
  overflow: hidden;
  margin-block: -1px;
}
.stats-band--flat .stats { background: var(--line); }
@media (min-width: 780px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat {
  background: var(--ink);
  padding: clamp(1.4rem, 1rem + 1.4vw, 2.2rem) 1.2rem;
  text-align: center;
}
.stats-band--flat .stat { background: var(--sand); }
.stat__value {
  font-family: var(--font-display);
  font-size: var(--step-4);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--brand);
}
.stat__value span { font-size: .55em; margin-left: .05em; }
.stat__label {
  font-size: var(--step--1);
  color: rgb(250 247 242 / 62%);
  margin-top: .5rem;
  line-height: 1.4;
}
.stats-band--flat .stat__label { color: var(--muted); }

.stats--inline {
  grid-template-columns: repeat(2, 1fr);
  background: var(--line);
  margin-top: 2.2rem;
  border-radius: var(--radius-sm);
}
.stats--inline .stat { background: var(--cream); padding: 1.1rem .8rem; }
.stats--inline .stat__value { font-size: var(--step-2); }
.stats--inline .stat__label { color: var(--muted); font-size: .78rem; }

/* ---------- 6. Sections & cartes ---------- */
.grid-split { display: grid; gap: clamp(2rem, 1.2rem + 3vw, 4rem); }
@media (min-width: 900px) { .grid-split { grid-template-columns: 1fr 1fr; align-items: start; } }
.grid-split__copy .link-arrow { margin-top: 1.6rem; }

.pains { display: grid; gap: .55rem; }
.pain a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.3rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  transition: transform .22s var(--ease), border-color .22s var(--ease),
              background-color .22s var(--ease), box-shadow .25s var(--ease);
}
.pain a:hover {
  transform: translateX(5px);
  border-color: var(--brand);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.pain__go {
  display: grid; place-content: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--sand);
  color: var(--muted);
  flex: none;
  transition: background-color .22s var(--ease), color .22s var(--ease);
}
.pain a:hover .pain__go { background: var(--brand); color: #fff; }

/* cartes services */
.cards {
  display: grid;
  gap: clamp(1rem, .7rem + 1.1vw, 1.6rem);
  grid-template-columns: 1fr;
}
@media (min-width: 620px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) {
  .cards { grid-template-columns: repeat(4, 1fr); }
  .card--wide { grid-column: 1 / -1; }
  .card--wide .card__link { flex-direction: row; align-items: stretch; }
  .card--wide .card__media { flex: 0 0 44%; }
  .card--wide .card__media .media__img { height: 100%; }
  .card--wide .card__body { padding: clamp(1.8rem, 1.2rem + 2vw, 3rem); justify-content: center; gap: .8rem; }
  .card--wide .card__title { font-size: var(--step-3); }
  .card--wide .card__text { font-size: var(--step-1); max-width: 46ch; flex: 0; }
}

.card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .28s var(--ease), box-shadow .3s var(--ease), border-color .28s var(--ease);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.card__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand-2); flex: none; }
.card--wide .card__media { aspect-ratio: auto; }
.card__media .media__img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.card:hover .card__media .media__img { transform: scale(1.05); }
.card__body {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  padding: 1.4rem 1.5rem 1.5rem;
  flex: 1;
}
.card__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--font-display);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-600);
}
.card__title { font-size: var(--step-2); }
.card__text { color: var(--muted); font-size: var(--step--1); line-height: 1.6; flex: 1; }
.card__cta {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: .4rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  transition: gap .25s var(--ease), color .2s var(--ease);
}
.card:hover .card__cta { gap: .8rem; color: var(--brand-600); }

/* ---------- Méthode ---------- */
.method__in { display: grid; gap: clamp(2.2rem, 1.4rem + 3vw, 4.5rem); }
@media (min-width: 900px) { .method__in { grid-template-columns: .85fr 1.15fr; align-items: center; } }
.method__media { position: relative; }
.method__stamp {
  position: absolute;
  right: clamp(-.5rem, -2vw, -1.6rem);
  bottom: clamp(1rem, 3vw, 2.4rem);
  display: grid;
  place-items: center;
  gap: .1rem;
  padding: 1.15rem 1.35rem;
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  text-align: center;
  rotate: -3deg;
}
.method__stamp-n {
  font-family: var(--font-display);
  font-size: 2.5rem; font-weight: 700; line-height: 1; letter-spacing: -.04em;
}
.method__stamp-t { font-size: .72rem; font-weight: 700; line-height: 1.25; text-transform: uppercase; letter-spacing: .08em; }

.perks { display: grid; gap: 1rem; margin-block: 2rem; }
@media (min-width: 620px) { .perks { grid-template-columns: repeat(2, 1fr); gap: 1.3rem; } }
.perk { display: flex; gap: .85rem; align-items: flex-start; }
.perk__ico {
  display: grid; place-content: center;
  width: 44px; height: 44px;
  flex: none;
  border-radius: 13px;
  background: var(--brand-soft);
  color: var(--brand-600);
}
.perk strong { display: block; font-family: var(--font-display); font-size: 1.02rem; margin-bottom: .15rem; }
.perk span span, .perk > span > span:last-child { color: var(--muted); font-size: var(--step--1); line-height: 1.55; }

/* ---------- Prévention ---------- */
.prevention__in { display: grid; gap: 1.1rem; }
@media (min-width: 900px) { .prevention__in { grid-template-columns: 1.35fr .65fr; } }
.prevention__card {
  padding: clamp(1.8rem, 1.2rem + 2.4vw, 3.2rem);
  border-radius: var(--radius-lg);
  color: var(--cream);
}
.prevention__card--main {
  background:
    linear-gradient(135deg, rgb(20 18 15 / 92%), rgb(56 49 42 / 88%)),
    url('../img/pole-ateliers-1080.webp') center / cover;
}
.prevention__in.prevention__in--single { grid-template-columns: 1fr; }
.prevention__title { font-size: var(--step-3); max-width: 20ch; }
.prevention__text {
  color: rgb(250 247 242 / 80%);
  margin-top: 1rem;
  max-width: 46ch;
  line-height: 1.6;
}
.prevention__actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.8rem; }

/* ---------- Avis ---------- */
.reviews__in { display: grid; gap: clamp(2rem, 1.2rem + 3vw, 3.5rem); }
@media (min-width: 900px) { .reviews__in { grid-template-columns: .8fr 1.2fr; align-items: start; } }
.rating { display: flex; gap: .18rem; margin-block: 1.1rem; }
.rating__star { color: #e8a33c; }
.rating__star .ico { fill: currentColor; stroke: currentColor; }
.rating--sm { margin-block: 0 1rem; }
.reviews__note { color: var(--muted); font-size: var(--step--1); margin-bottom: 1.4rem; }
.reviews__list { display: grid; gap: 1.1rem; }
.review {
  position: relative;
  padding: clamp(1.6rem, 1.1rem + 1.8vw, 2.4rem);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.review__quote {
  position: absolute;
  top: .1rem; right: 1.4rem;
  font-family: var(--font-display);
  font-size: 5.5rem;
  line-height: 1;
  color: var(--brand);
  opacity: .16;
}
.review__text {
  margin: 0;
  font-size: var(--step-1);
  line-height: 1.62;
  color: var(--ink-3);
}
.review__author {
  margin-top: 1.2rem;
  font-family: var(--font-display);
  font-weight: 700;
}
.review__author span { color: var(--muted); font-weight: 500; font-family: var(--font-body); font-size: var(--step--1); }

/* ---------- Zone ---------- */
.zone__in { display: grid; gap: clamp(2rem, 1.2rem + 3vw, 3.5rem); }
@media (min-width: 900px) { .zone__in { grid-template-columns: 1.25fr .75fr; align-items: start; } }
.zone__list {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: 1.8rem;
}
.zone__list li {
  padding: .38rem .85rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 99px;
  font-size: var(--step--1);
  font-weight: 600;
}
.section--sand .zone__list li { background: var(--cream); }
.zone__more { margin-top: 1.4rem; color: var(--muted); font-size: var(--step--1); }
.zone__more a { color: var(--brand-600); font-weight: 700; }
.zone__card {
  padding: clamp(1.6rem, 1.1rem + 1.8vw, 2.4rem);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.zone__ico {
  display: grid; place-content: center;
  width: 52px; height: 52px;
  border-radius: 15px;
  background: var(--brand-soft);
  color: var(--brand-600);
  margin-bottom: 1.2rem;
}
.zone__addr { font-size: var(--step-1); line-height: 1.5; margin-bottom: 1.4rem; }
.zone__contact {
  display: grid;
  gap: .55rem;
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}
.zone__contact a {
  display: flex;
  align-items: center;
  gap: .55rem;
  text-decoration: none;
  font-weight: 600;
  color: var(--muted);
  transition: color .2s var(--ease);
}
.zone__contact a:hover { color: var(--brand-600); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .6rem; max-width: 52rem; margin-inline: auto; }
.faq__item {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.faq__item[open] { border-color: rgb(226 87 28 / 40%); box-shadow: var(--shadow-sm); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1.1rem 1.3rem;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-1);
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--brand-600); }
.faq__icon {
  display: grid; place-content: center;
  width: 30px; height: 30px;
  flex: none;
  border-radius: 50%;
  background: var(--sand);
  color: var(--muted);
  transition: rotate .3s var(--ease), background-color .25s var(--ease), color .25s var(--ease);
}
.faq__item[open] .faq__icon { rotate: 180deg; background: var(--brand); color: #fff; }
.faq__a { padding: 0 1.3rem 1.3rem; color: var(--muted); line-height: 1.7; max-width: 62ch; }
.faq__more { text-align: center; margin-top: 2rem; }
.faq-section .section--sand & { background: transparent; }

/* ---------- Bandeau CTA ---------- */
.cta-band {
  background: var(--ink);
  color: var(--cream);
  padding-block: clamp(3rem, 2rem + 4vw, 5.5rem);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -30%; right: -6%;
  width: 42rem; height: 42rem;
  background: radial-gradient(circle, rgb(226 87 28 / 20%), transparent 62%);
  pointer-events: none;
}
.cta-band__in { position: relative; display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .cta-band__in { grid-template-columns: 1.2fr .8fr; gap: 3.5rem; } }
.cta-band__title { font-size: var(--step-3); }
.cta-band__text { color: rgb(250 247 242 / 78%); margin-top: 1rem; max-width: 46ch; line-height: 1.6; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.cta-band__note {
  display: flex;
  align-items: center;
  gap: .45rem;
  width: 100%;
  font-size: var(--step--1);
  color: rgb(250 247 242 / 58%);
  margin-top: .4rem;
}

/* ---------- En-tête de page ---------- */
.pagehead {
  position: relative;
  display: grid;
  align-items: end;
  min-height: clamp(20rem, 15rem + 20vw, 30rem);
  padding-block: clamp(4.5rem, 3.5rem + 6vw, 8rem) clamp(2.5rem, 2rem + 3vw, 4rem);
  background: var(--ink);
  overflow: hidden;
  isolation: isolate;
}
.pagehead--tall { min-height: clamp(24rem, 18rem + 22vw, 34rem); }
.pagehead--short { min-height: clamp(17rem, 13rem + 16vw, 24rem); }
.pagehead__bg { position: absolute; inset: 0; z-index: -2; }
.pagehead__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.pagehead::after {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgb(20 18 15 / 93%) 8%, rgb(20 18 15 / 62%) 55%, rgb(20 18 15 / 30%)),
    linear-gradient(to right, rgb(20 18 15 / 62%), transparent 70%);
}
.pagehead__in { color: var(--cream); }
.pagehead__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #f6a97e;
  margin-bottom: .7rem;
}
.pagehead__title { font-size: var(--step-4); max-width: 20ch; }
.pagehead__lead {
  margin-top: 1rem;
  font-size: var(--step-1);
  color: rgb(250 247 242 / 82%);
  max-width: 50ch;
  line-height: 1.6;
}
.pagehead .chips { margin-top: 1.5rem; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  font-size: var(--step--1);
  color: rgb(250 247 242 / 62%);
  margin-bottom: 1.2rem;
}
.crumbs a { text-decoration: none; transition: color .2s var(--ease); }
.crumbs a:hover { color: #f6a97e; }
.crumbs span[aria-hidden] { opacity: .45; }
.crumbs--dark { color: var(--muted); }
.crumbs--dark a:hover { color: var(--brand-600); }

/* sommaire ancré */
.jump {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 20px -18px rgb(20 18 15 / 40%);
}
.jump__in {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  min-height: 58px;
  overflow-x: auto;
  scrollbar-width: none;
}
.jump__in::-webkit-scrollbar { display: none; }
.jump__label {
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-2);
  flex: none;
}
.jump__list { display: flex; gap: .4rem; }
.jump__list a {
  display: inline-flex;
  align-items: baseline;
  gap: .45rem;
  padding: .42rem .9rem;
  border-radius: 99px;
  background: var(--sand);
  font-size: var(--step--1);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.jump__list a:hover { background: var(--ink); color: var(--cream); }
.jump__list em { font-style: normal; color: var(--brand-600); font-weight: 800; }
.jump__list a:hover em { color: #f6a97e; }

/* ---------- Pôles (page /services) ---------- */
.poles { display: grid; gap: clamp(3rem, 2rem + 4vw, 5.5rem); }
.pole { display: grid; gap: clamp(1.5rem, 1rem + 2.4vw, 3rem); }
@media (min-width: 900px) {
  .pole { grid-template-columns: .92fr 1.08fr; align-items: center; }
  .pole:nth-child(even) .pole__media { order: 2; }
}
.pole__media { position: relative; }
.pole__num {
  position: absolute;
  top: -.6rem; left: -.6rem;
  display: grid; place-content: center;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.24rem;
  font-weight: 700;
  box-shadow: var(--shadow);
}
.pole__title { font-size: var(--step-3); }
.pole__tagline {
  font-family: var(--font-display);
  font-size: var(--step-1);
  color: var(--brand-600);
  margin-top: .35rem;
}
.pole__text { color: var(--muted); margin-top: 1.1rem; line-height: 1.68; max-width: 54ch; }
.pole__items {
  display: grid;
  gap: 1px;
  margin-block: 1.8rem;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.pole__items a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .78rem 1.1rem;
  background: var(--cream);
  text-decoration: none;
  transition: background-color .2s var(--ease), padding-left .2s var(--ease);
}
.pole__items a:hover { background: var(--sand); padding-left: 1.4rem; }
.pole__item-name { font-weight: 600; }
.pole__item-price {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--brand-600);
  white-space: nowrap;
}

/* ---------- Prestations ---------- */
.prestas { display: grid; gap: clamp(2.5rem, 1.6rem + 4vw, 5rem); }
.presta { display: grid; gap: clamp(1.4rem, 1rem + 2vw, 2.8rem); scroll-margin-top: calc(var(--header-h) + 5rem); }
@media (min-width: 900px) {
  .presta { grid-template-columns: .84fr 1.16fr; align-items: start; }
  .presta--flip .presta__media { order: 2; }
}
.presta__media { position: relative; }
.presta__badge {
  position: absolute;
  left: .9rem; top: .9rem;
  padding: .38rem .85rem;
  border-radius: 99px;
  background: rgb(20 18 15 / 78%);
  color: var(--cream);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .04em;
  backdrop-filter: blur(8px);
}
.presta--featured .presta__badge { background: var(--brand); }
.presta__name { font-size: var(--step-2); }
.presta__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.3rem;
  margin-block: .9rem 1.3rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line);
  font-size: var(--step--1);
  color: var(--muted);
  font-weight: 600;
}
.presta__meta li { display: flex; align-items: center; gap: .45rem; }
.presta__meta .ico { color: var(--brand); }
.presta__lead { font-size: var(--step-1); line-height: 1.6; color: var(--ink-3); }
.presta__p { color: var(--muted); margin-top: .9rem; line-height: 1.7; }
.presta__note { color: var(--muted-2); font-size: var(--step--1); margin-top: .8rem; font-style: italic; }
.presta__list { margin-top: 1.5rem; }
.presta__list-title {
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: .6rem;
}
.presta .callout { margin-top: 1.3rem; }
.presta__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.8rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.price { display: flex; flex-direction: column; }
.price__value {
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.03em;
}
.price__note { font-size: var(--step--1); color: var(--muted); margin-top: .3rem; }

/* ---------- 7. Formulaire ---------- */
.quickcontact { background: var(--sand); padding-block: clamp(1.4rem, 1rem + 1.6vw, 2.2rem); }
.quickcontact__in { display: grid; gap: .8rem; }
@media (min-width: 760px) { .quickcontact__in { grid-template-columns: repeat(3, 1fr); } }
.qc {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: 1.05rem 1.2rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform .22s var(--ease), box-shadow .25s var(--ease), border-color .22s var(--ease);
}
.qc:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.qc__ico {
  display: grid; place-content: center;
  width: 46px; height: 46px;
  flex: none;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand-600);
}
.qc__body { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.qc__body strong { font-family: var(--font-display); font-size: 1.04rem; }
.qc__body span { color: var(--muted); font-size: var(--step--1); overflow: hidden; text-overflow: ellipsis; }
.qc__go { color: var(--muted-2); flex: none; transition: translate .22s var(--ease), color .22s var(--ease); }
.qc:hover .qc__go { translate: 3px 0; color: var(--brand); }

.contact__in { display: grid; gap: clamp(2rem, 1.2rem + 3vw, 3.5rem); }
@media (min-width: 960px) { .contact__in { grid-template-columns: 1.25fr .75fr; align-items: start; } }

.formwrap {
  padding: clamp(1.5rem, 1rem + 2.4vw, 2.8rem);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.formwrap__title { font-size: var(--step-2); }
.formwrap__lead { color: var(--muted); margin-top: .6rem; margin-bottom: 1.8rem; }

.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; gap: 1.1rem; }
@media (min-width: 620px) { .form__row { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: .4rem; }
.field__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step--1);
  letter-spacing: .01em;
}
.field__label span { color: var(--brand); }
.field__input {
  width: 100%;
  padding: .78rem 1rem;
  font: inherit;
  font-size: var(--step-0);
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  appearance: none;
}
.field__input::placeholder { color: var(--muted-2); opacity: .8; }
.field__input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgb(226 87 28 / 14%);
}
.field__input.is-error { border-color: #c0392b; }
.field__input--area { resize: vertical; min-height: 9rem; line-height: 1.6; }
select.field__input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%236b6259' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6.5 9.5 5.5 5.5 5.5-5.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .8rem center;
  padding-right: 2.6rem;
  cursor: pointer;
}
.field__error { color: #c0392b; font-size: var(--step--1); font-weight: 600; }

.field--check { margin-top: .3rem; }
.check { display: flex; gap: .7rem; align-items: flex-start; cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 0; height: 0; }
.check__box {
  display: grid; place-content: center;
  width: 22px; height: 22px;
  flex: none;
  margin-top: .12rem;
  border: 1.5px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: transparent;
  transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.check input:checked + .check__box { background: var(--brand); border-color: var(--brand); color: #fff; }
.check input:focus-visible + .check__box { outline: 2.5px solid var(--brand); outline-offset: 2px; }
.check__txt { font-size: var(--step--1); color: var(--muted); line-height: 1.55; }
.check__txt span { color: var(--brand); }

.form__note { font-size: var(--step--1); color: var(--muted-2); text-align: center; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.success { text-align: center; padding-block: 1.5rem; }
.success__ico {
  display: grid; place-content: center;
  width: 64px; height: 64px;
  margin: 0 auto 1.3rem;
  border-radius: 50%;
  background: var(--sage-soft);
  color: var(--sage-deep);
}
.success__title { font-size: var(--step-2); margin-bottom: .8rem; }
.success p { color: var(--muted); max-width: 42ch; margin: 0 auto 1.8rem; line-height: 1.65; }
.success a { color: var(--brand-600); font-weight: 700; }
.success .btn { color: var(--cream); }

.contact__aside { display: grid; gap: 1rem; }
.infocard {
  padding: clamp(1.4rem, 1rem + 1.6vw, 2rem);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.infocard--zones { background: var(--sand); }
.infocard__title { font-size: var(--step-1); margin-bottom: 1.2rem; }
.infocard__list { display: grid; gap: 1rem; }
.infocard__list li { display: flex; gap: .8rem; align-items: flex-start; }
.infocard__ico {
  display: grid; place-content: center;
  width: 38px; height: 38px;
  flex: none;
  border-radius: 11px;
  background: var(--brand-soft);
  color: var(--brand-600);
}
.infocard__list div { display: flex; flex-direction: column; min-width: 0; }
.infocard__list span:first-child {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.infocard__list a, .infocard__list p { font-weight: 600; text-decoration: none; margin-top: .1rem; }
.infocard__list a:hover { color: var(--brand-600); }
.infocard__socials {
  display: flex;
  gap: .5rem;
  margin-top: 1.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
.infocard__socials a {
  display: grid; place-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.infocard__socials a:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.infocard__sub {
  font-family: var(--font-display);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-block: 1.1rem .6rem;
}
.infocard__sub:first-of-type { margin-top: 0; }
.taglist { display: flex; flex-wrap: wrap; gap: .35rem; }
.taglist li {
  padding: .28rem .7rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 99px;
  font-size: .8rem;
  font-weight: 600;
}
.taglist--alt li { background: var(--brand-soft); border-color: rgb(226 87 28 / 22%); color: var(--brand-700); }
.infocard__note { font-size: var(--step--1); color: var(--muted); margin-top: 1.2rem; line-height: 1.55; }
.infocard__note a { color: var(--brand-600); font-weight: 700; }

/* ---------- 8. Frise & contenus longs ---------- */
.intro-split { display: grid; gap: clamp(2rem, 1.2rem + 3vw, 4rem); }
@media (min-width: 900px) { .intro-split { grid-template-columns: .8fr 1.2fr; align-items: center; } }

.timeline { display: grid; gap: clamp(2rem, 1.2rem + 3vw, 3.5rem); position: relative; }
@media (min-width: 900px) {
  .timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 1rem; bottom: 1rem;
    width: 2px;
    translate: -1px 0;
    background: linear-gradient(to bottom, transparent, var(--sand-2) 8%, var(--sand-2) 92%, transparent);
  }
}
.tl { position: relative; }
.tl__marker { display: none; }
@media (min-width: 900px) {
  .tl__marker {
    display: grid;
    place-content: center;
    position: absolute;
    left: 50%;
    top: 2.6rem;
    translate: -50% 0;
    width: 20px; height: 20px;
    border-radius: 50%;
    background: var(--sand);
    border: 2px solid var(--sand-2);
    z-index: 2;
  }
  .tl__marker span { width: 8px; height: 8px; border-radius: 50%; background: var(--muted-2); }
  .tl--highlight .tl__marker { border-color: var(--brand); }
  .tl--highlight .tl__marker span { background: var(--brand); }
}
.tl__card {
  display: grid;
  gap: 1.2rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 620px) { .tl__card { grid-template-columns: .8fr 1.2fr; gap: 0; align-items: stretch; } }
@media (min-width: 900px) {
  .tl__card { width: calc(50% - 2.4rem); grid-template-columns: 1fr; }
  .tl:nth-child(even) .tl__card { margin-left: auto; }
}
.tl__media .media { border-radius: 0; }
/* En deux colonnes, l'image occupe toute la hauteur de la carte : on neutralise
   le ratio, sinon la largeur serait déduite de la hauteur et ferait déborder la grille. */
@media (min-width: 620px) {
  .tl__media { height: 100%; }
  .tl__media .media { height: 100%; aspect-ratio: auto; min-height: 14rem; }
}
@media (min-width: 900px) {
  .tl__media { height: auto; }
  .tl__media .media { height: auto; aspect-ratio: 16 / 9; min-height: 0; }
}
.tl__body { padding: clamp(1.3rem, 1rem + 1.2vw, 1.9rem); }
.tl__year {
  display: inline-block;
  font-family: var(--font-display);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-600);
  padding: .25rem .7rem;
  background: var(--brand-soft);
  border-radius: 99px;
  margin-bottom: .8rem;
}
.tl--highlight .tl__year { background: var(--brand); color: #fff; }
.tl__title { font-size: var(--step-2); margin-bottom: .8rem; }
.tl__text { color: var(--muted); line-height: 1.7; }
.tl__text + .tl__text { margin-top: .8rem; }
.tl__tag {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: var(--step--1);
  font-weight: 700;
  color: var(--sage-deep);
}
.tl__tag .ico { flex: none; margin-top: .18em; }

.creds { display: grid; gap: .7rem; }
@media (min-width: 700px) { .creds { grid-template-columns: repeat(2, 1fr); } }
.cred {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: 1.05rem 1.2rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color .22s var(--ease), transform .22s var(--ease);
}
.cred:hover { border-color: var(--sage); transform: translateY(-2px); }
.cred__ico {
  display: grid; place-content: center;
  width: 42px; height: 42px;
  flex: none;
  border-radius: 12px;
  background: var(--sage-soft);
  color: var(--sage-deep);
}
.cred div { flex: 1; min-width: 0; }
.cred__title { font-family: var(--font-display); font-weight: 700; line-height: 1.3; }
.cred__detail { font-size: var(--step--1); color: var(--muted); line-height: 1.45; }
.cred__year {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step--1);
  color: var(--muted-2);
  flex: none;
}

.prose-section { padding-top: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.prose__h1 { font-size: var(--step-4); margin-bottom: 2rem; }
.prose { color: var(--muted); line-height: 1.75; }
.prose h2 {
  font-size: var(--step-2);
  color: var(--ink);
  margin-top: 2.6rem;
  margin-bottom: .8rem;
}
.prose p + p { margin-top: 1rem; }
.prose a { color: var(--brand-600); font-weight: 700; }
.prose strong { color: var(--ink); }
.prose__todo {
  padding: 1rem 1.2rem;
  background: var(--brand-soft);
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: #85300b;
  font-size: var(--step--1);
}

/* ---------- Erreurs ---------- */
.oops {
  background: var(--ink);
  color: var(--cream);
  min-height: 72svh;
  display: grid;
  place-items: center;
  padding-block: clamp(3.5rem, 2.5rem + 5vw, 7rem);
  text-align: center;
}
.oops__in { max-width: 40rem; margin-inline: auto; }
.oops__code {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 3rem + 8vw, 9rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.05em;
  color: var(--brand);
  opacity: .9;
}
.oops__title { font-size: var(--step-3); margin-top: .8rem; }
.oops__text { color: rgb(250 247 242 / 76%); margin-top: 1rem; line-height: 1.65; }
.oops__text a { color: #f6a97e; font-weight: 700; }
.oops__actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 2rem; }
.oops__links {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem .5rem;
  justify-content: center;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line-light);
}
.oops__links a {
  padding: .5rem .9rem;
  border-radius: 99px;
  border: 1px solid var(--line-light);
  font-size: var(--step--1);
  text-decoration: none;
  color: rgb(250 247 242 / 72%);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.oops__links a:hover { background: var(--cream); color: var(--ink); }

/* ---------- 9. Pied de page & dock ---------- */
.footer {
  background: var(--ink);
  color: rgb(250 247 242 / 72%);
  padding-block: clamp(3rem, 2rem + 4vw, 5rem) 0;
}
.footer__top {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
@media (min-width: 700px) { .footer__top { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer__top { grid-template-columns: 1.4fr .8fr .9fr 1.1fr; gap: 3rem; } }
.footer__mark { width: 56px; height: 56px; border-radius: 50%; margin-bottom: 1rem; }
.footer__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--cream);
}
.footer__baseline { color: var(--brand); font-weight: 600; margin-top: .2rem; }
.footer__who { margin-top: 1.2rem; color: var(--cream); font-weight: 700; line-height: 1.4; }
.footer__who span { color: rgb(250 247 242 / 60%); font-weight: 500; font-size: var(--step--1); }
.footer__socials { display: flex; gap: .5rem; margin-top: 1.4rem; }
.footer__socials a {
  display: grid; place-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-light);
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.footer__socials a:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

.footer__title {
  font-family: var(--font-display);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 1.1rem;
}
.footer__list { display: grid; gap: .15rem; }
.footer__list a {
  display: inline-block;
  padding-block: .45rem;      /* zone tactile confortable sur mobile */
  text-decoration: none;
  transition: color .2s var(--ease), padding-left .2s var(--ease);
}
.footer__list a:hover { color: var(--brand); padding-left: 4px; }
.footer__contact { display: grid; gap: .9rem; }
.footer__contact li { display: flex; gap: .65rem; align-items: flex-start; }
.footer__contact .ico { color: var(--brand); flex: none; margin-top: .2em; }
.footer__contact a { text-decoration: none; line-height: 1.5; }
.footer__contact a:hover { color: var(--brand); }
.footer__area { margin-top: 1.2rem; }
.footer__area span {
  display: inline-block;
  padding: .3rem .8rem;
  border-radius: 99px;
  background: rgb(226 87 28 / 14%);
  color: #f6a97e;
  font-size: var(--step--1);
  font-weight: 700;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 2rem;
  justify-content: space-between;
  padding-block: 1.5rem;
  border-top: 1px solid var(--line-light);
  font-size: var(--step--1);
  color: rgb(250 247 242 / 52%);
}

/* dock mobile */
.dock {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-light);
  border-top: 1px solid var(--line-light);
  padding-bottom: env(safe-area-inset-bottom);
  transform: translateY(110%);
  transition: transform .35s var(--ease);
}
.dock.is-visible { transform: translateY(0); }
@media (min-width: 860px) { .dock { display: none; } }
.dock__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .18rem;
  padding: .6rem .3rem .7rem;
  background: var(--ink);
  color: var(--cream);
  text-decoration: none;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.dock__btn--primary { background: var(--brand); color: #fff; }
.dock__btn:active { filter: brightness(1.2); }

/* évite que le dock masque le bas du pied de page */
@media (max-width: 859px) { .footer { padding-bottom: 4.5rem; } }

/* ---------- 10. Accessibilité & mouvement ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .dock { transform: translateY(0); }
}

@media print {
  .announce, .masthead, .dock, .cta-band, .hero__scroll { display: none !important; }
  body { background: #fff; color: #000; }
  .pagehead, .hero { min-height: auto; background: #fff; color: #000; }
  .pagehead__bg, .hero__bg, .pagehead::after, .hero::after { display: none; }
  .pagehead__in, .hero__copy, .pagehead__title, .hero__title { color: #000; }
}


/* ---------- Permis de détention (prestation phare, à plat sur fond encre) ---------- */
.permis { background: var(--ink); color: var(--cream); padding-block: var(--section); }
.permis__in { display: grid; gap: clamp(2rem, 1.2rem + 3vw, 4rem); align-items: center; }
@media (min-width: 900px) { .permis__in { grid-template-columns: .9fr 1.1fr; } }
.permis__media { position: relative; }
.permis__badge {
  position: absolute;
  left: 1rem; bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .5rem .95rem;
  border-radius: 99px;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 700;
}
.permis__title { font-size: var(--step-4); margin-top: .5rem; }
.permis__text { margin-top: 1.2rem; max-width: 50ch; line-height: 1.65; color: rgb(250 247 242 / 80%); }
.permis__facts { display: grid; gap: .7rem; margin-top: 1.6rem; font-weight: 600; }
.permis__facts li { display: flex; align-items: flex-start; gap: .6rem; }
.permis__facts .ico { flex: none; margin-top: .3em; color: var(--brand); }
.permis__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

/* ---------- Profils « Ils sont passés par EMOCYNO » ---------- */
.dogs {
  display: flex;
  gap: 1rem;
  width: max-content;
  max-width: 100%;
  margin: clamp(1.5rem, 1rem + 2vw, 2.5rem) auto 0;
  padding: .3rem var(--gutter) 1.4rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: thin;
}
.dog { flex: 0 0 min(68vw, 17rem); scroll-snap-align: start; }
.dog__photo { aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius); background: var(--sand-2); }
.dog__img { width: 100%; height: 100%; object-fit: cover; }
.dog__name { margin-top: .85rem; font-family: var(--font-display); font-size: var(--step-1); font-weight: 700; }
.dog__issue { display: flex; align-items: center; gap: .4rem; margin-top: .15rem; font-size: var(--step--1); color: var(--muted); }
.dog__issue .ico { color: var(--brand); flex: none; }
/* Barre de défilement masquée seulement quand les flèches existent (JS actif) :
   sans JS, elle reste le seul moyen de défiler à la souris. */
.dogs.has-nav { padding-bottom: .6rem; scrollbar-width: none; }
.dogs.has-nav::-webkit-scrollbar { display: none; }
.dogs__nav { display: flex; justify-content: center; gap: .75rem; margin-top: .2rem; }
.dogs__nav[hidden] { display: none; }
.dogs__btn {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--cream);
  cursor: pointer;
  transition: background .2s, color .2s, opacity .2s;
}
.dogs__btn:hover:not(:disabled) { background: var(--ink); color: var(--cream); }
.dogs__btn:disabled { opacity: .35; cursor: default; }
.dogs__btn--prev .ico { rotate: 180deg; }

/* ---------- Partenaires de suivi (page éducation) ---------- */
.partners {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  margin-top: clamp(2.5rem, 2rem + 3vw, 4.5rem);
  padding: clamp(1.4rem, 1rem + 2vw, 2.4rem);
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--cream);
}
.partners__ico {
  display: grid; place-content: center;
  width: 52px; height: 52px; flex: none;
  border-radius: 15px;
  background: var(--brand);
  color: #fff;
}
.partners__text { margin-top: .5rem; max-width: 52ch; font-size: var(--step-1); line-height: 1.5; }
.partners__list { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.2rem; }
.partners__list li {
  display: grid;
  padding: .7rem 1.1rem;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-sm);
  background: rgb(250 247 242 / 6%);
}
.partners__list strong { font-family: var(--font-display); }
.partners__list span { font-size: var(--step--1); color: rgb(250 247 242 / 70%); }
@media (max-width: 600px) { .partners { flex-direction: column; } }

/* ---------- Preuve chiffrée (page formations) ---------- */
.proof { background: var(--ink); color: var(--cream); padding-block: var(--section); }
.proof__in { display: grid; gap: clamp(1.8rem, 1.2rem + 3vw, 3.5rem); align-items: center; }
@media (min-width: 900px) { .proof__in { grid-template-columns: 1fr 1fr; } }
.proof__title { font-size: var(--step-3); margin-top: .4rem; }
.proof__text { margin-top: 1rem; max-width: 46ch; color: rgb(250 247 242 / 78%); line-height: 1.6; }
.proof__figures {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--line-light);
}
.proof__figures li { padding: clamp(1.4rem, 1rem + 2vw, 2.4rem) 1rem; background: var(--ink-2); text-align: center; }
.proof__value { font-family: var(--font-display); font-size: var(--step-5); font-weight: 700; line-height: 1; color: #fff; }
.proof__value span { color: var(--brand); }
.proof__label { margin-top: .6rem; font-size: var(--step--1); color: rgb(250 247 242 / 72%); }

/* ---------- Frise : sous-mention de diplôme et badge de spécialisation ---------- */
.tl__tag > span { display: block; }
.tl__tag-sub { display: block; margin-top: .15rem; font-style: normal; font-weight: 600; color: var(--muted); }
.tl__badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-top: 1rem;
  padding: .35rem 1rem .35rem .4rem;
  border: 1.5px solid var(--brand);
  border-radius: 99px;
  background: var(--brand-soft);
  color: var(--brand-700);
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 700;
}
.tl__badge-ico {
  display: grid; place-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
}

/* ---------- Label & partenaires (page parcours) ---------- */
.network__in { display: grid; gap: 1rem; }
@media (min-width: 900px) { .network__in { grid-template-columns: .8fr 1.2fr; } }
.network__label {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: clamp(1.4rem, 1rem + 2vw, 2.2rem);
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--cream);
}
.network__seal {
  display: grid; place-content: center;
  width: 64px; height: 64px; flex: none;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
}
.network__logo { width: 110px; height: auto; flex: none; }
.network__name { font-family: var(--font-display); font-size: var(--step-1); font-weight: 700; }
.network__name span { display: block; font-family: var(--font-body); font-size: var(--step--1); font-weight: 600; color: var(--brand-600); }
.network__text { margin-top: .3rem; font-size: var(--step--1); color: var(--muted); line-height: 1.55; }
.network__label .network__text { color: rgb(250 247 242 / 78%); }
.network__list { display: grid; gap: .8rem; align-content: start; }
.network__item { padding: 1.2rem 1.4rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--cream); }
