/* Tyron Gym — feuille de styles
   Une seule famille (Archivo variable, auto-hébergée) : la largeur étendue
   reprend les capitales larges du logo, la largeur normale porte le texte. */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations"),
       url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-wdth-italic.woff2") format("woff2-variations"),
       url("../fonts/archivo-latin-wdth-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: italic;
  font-display: swap;
}

:root {
  --noir: #000000;
  --charbon: #12110f;
  --fumee: #1b1916;
  --ligne: #2c2924;
  --or: #d4af37;
  --or-sombre: #b89228;
  --ivoire: #f3efe6;
  --cendre: #a7a196;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --max: 1240px;
  --header-h: 76px;
  --section: clamp(5rem, 11vw, 9.5rem);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: var(--header-h);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--noir);
  color: var(--ivoire);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-stretch: 100%;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
h1, h2, h3 { margin: 0; font-weight: 700; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--or); color: var(--noir); }

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

.sr-only {
  position: absolute !important;
  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(--gutter);
  top: -100px;
  z-index: 100;
  padding: .75rem 1.1rem;
  background: var(--or);
  color: var(--noir);
  font-weight: 650;
  text-decoration: none;
}
.skip-link:focus { top: .75rem; }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Typographie ---------- */

.display {
  font-stretch: 125%;
  font-weight: 820;
  letter-spacing: -0.025em;
  line-height: .93;
}

.h2 {
  font-size: clamp(2.1rem, 4.4vw + .4rem, 4.25rem);
  font-stretch: 118%;
  font-weight: 780;
  letter-spacing: -0.022em;
  line-height: 1;
  text-wrap: balance;
}

.h3 {
  font-size: 1.3rem;
  font-stretch: 110%;
  font-weight: 680;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.lede {
  font-size: clamp(1.1rem, .5vw + 1rem, 1.3rem);
  line-height: 1.55;
  color: var(--cendre);
  max-width: 34em;
}

.muted { color: var(--cendre); }

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 3.25rem;
  padding: .85rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: .98rem;
  font-weight: 650;
  font-stretch: 110%;
  letter-spacing: .005em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn--or { background: var(--or); color: var(--noir); }
.btn--or:hover { background: var(--ivoire); }
.btn--ligne { border-color: rgba(243, 239, 230, .35); color: var(--ivoire); }
.btn--ligne:hover { border-color: var(--or); color: var(--or); }
.btn--plein { width: 100%; }

/* ---------- En-tête ---------- */

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled,
.header.is-open {
  background: rgba(0, 0, 0, .86);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--ligne);
}
.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  text-decoration: none;
}
.brand img { width: 46px; height: auto; }
.brand__name {
  font-stretch: 125%;
  font-weight: 760;
  font-size: 1.02rem;
  letter-spacing: .14em;
  line-height: 1;
}
.brand__name span { color: var(--or); }
.brand { flex: none; }
.brand__name, .btn--cta, .nav__link { white-space: nowrap; }

.nav { display: flex; align-items: center; gap: 1rem; }

/* Barre de navigation en capsule, pastille dorée qui suit le survol */
.nav__list {
  position: relative;
  display: flex;
  gap: .15rem;
  padding: 5px;
  border: 1px solid rgba(243, 239, 230, .16);
  border-radius: 999px;
  background: rgba(18, 17, 15, .55);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.nav__pill {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 0;
  width: 0;
  border-radius: 999px;
  background: var(--or);
  box-shadow: 0 6px 22px -6px rgba(212, 175, 55, .55);
  opacity: 0;
  pointer-events: none;
  transition: transform .45s var(--ease), width .45s var(--ease), opacity .25s var(--ease);
}
.nav__pill.is-visible { opacity: 1; }
.nav__link {
  position: relative;
  z-index: 1;
  display: block;
  padding: .62rem 1.15rem;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 620;
  font-stretch: 108%;
  line-height: 1.2;
  color: rgba(243, 239, 230, .86);
  text-decoration: none;
  white-space: nowrap;
  transition: color .3s var(--ease);
}
.nav__link:hover { color: var(--ivoire); }
.nav__link.is-on { color: var(--noir); }
/* Sans JavaScript : la section active garde son fond doré */
html:not(.js) .nav__link.is-active { background: var(--or); color: var(--noir); }

.btn--cta {
  position: relative;
  min-height: 3rem;
  padding: .7rem 1.35rem .7rem 1.1rem;
  border-radius: 999px;
  background: var(--or);
  color: var(--noir);
  font-size: .95rem;
  box-shadow: 0 8px 28px -8px rgba(212, 175, 55, .7);
  transition: background-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn--cta:hover {
  background: #e4c04a;
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -10px rgba(212, 175, 55, .85);
}
.btn--cta .point {
  position: relative;
  flex: none;
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: var(--noir);
}
@media (prefers-reduced-motion: no-preference) {
  .btn--cta .point::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--noir);
    animation: pulse 2.2s var(--ease) infinite;
  }
  @keyframes pulse {
    0% { transform: scale(1); opacity: .7; }
    70%, 100% { transform: scale(2.8); opacity: 0; }
  }
}
.header__cta { display: none; }
.cta-court { display: none; }

.menu-toggle {
  display: none;
  width: 48px; height: 48px;
  margin-right: -10px;
  background: none;
  border: 0;
  cursor: pointer;
  position: relative;
}
.menu-toggle span {
  position: absolute;
  left: 12px; right: 12px;
  height: 2px;
  background: var(--ivoire);
  transition: transform .3s var(--ease), opacity .2s;
}
.menu-toggle span:nth-child(1) { top: 18px; }
.menu-toggle span:nth-child(2) { top: 28px; right: 20px; background: var(--or); }
.header.is-open .menu-toggle span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.header.is-open .menu-toggle span:nth-child(2) { transform: translateY(-5px) rotate(-45deg); right: 12px; background: var(--ivoire); }

@media (max-width: 1180px) {
  .menu-toggle { display: block; }
  .header__cta {
    display: inline-flex;
    min-height: 2.6rem;
    margin-left: auto;
    padding: .5rem 1rem .5rem .85rem;
    font-size: .88rem;
  }
  .header__inner { gap: .75rem; }
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    height: calc(100dvh - var(--header-h));
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    gap: 2rem;
    padding: 2rem var(--gutter) 2rem;
    background: var(--noir);
    visibility: hidden;
    opacity: 0;
    transition: opacity .3s var(--ease), visibility .3s;
  }
  .header.is-open .nav { visibility: visible; opacity: 1; }
  .nav__list {
    flex-direction: column;
    gap: .6rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .nav__pill { display: none; }
  .nav__link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.05rem 1.35rem;
    border: 1px solid var(--ligne);
    border-radius: 999px;
    background: var(--charbon);
    font-size: 1.35rem;
    font-stretch: 118%;
    font-weight: 700;
    color: var(--ivoire);
  }
  .nav__link::after {
    content: "";
    width: .55rem;
    height: .55rem;
    border-top: 2px solid var(--or);
    border-right: 2px solid var(--or);
    transform: rotate(45deg);
  }
  .nav__link:hover,
  .nav__link.is-active { border-color: var(--or); }
  .nav__link.is-active { background: var(--or); color: var(--noir); }
  .nav__link.is-active::after { border-color: var(--noir); }
  .nav .btn--cta { min-height: 3.6rem; font-size: 1.05rem; }
}
@media (max-width: 680px) {
  .cta-long { display: none; }
  .cta-court { display: inline; }
}
@media (max-width: 480px) {
  .brand__name { display: none; }
  .header__cta { padding: .45rem .8rem .45rem .7rem; font-size: .8rem; gap: .45rem; }
}
@media (max-width: 359px) {
  .header__cta .point { display: none; }
  .header__cta { font-size: .74rem; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 3rem) 0 0;
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0 -6vw 0 auto;
  width: min(56vw, 900px);
  z-index: -1;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 30%;
  filter: brightness(1.18) contrast(1.06);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 42%), linear-gradient(to top, transparent 0%, #000 22%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0%, #000 42%), linear-gradient(to top, transparent 0%, #000 22%);
  mask-composite: intersect;
}
.hero__inner { padding-bottom: clamp(2.5rem, 6vh, 4.5rem); }
.hero__kicker {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
  color: var(--or);
  font-weight: 560;
  font-stretch: 112%;
  font-size: 1rem;
}
.hero__kicker::before {
  content: "";
  width: 2.75rem;
  height: 1px;
  background: var(--or);
}
.hero__title {
  font-size: clamp(2.2rem, 6.4vw + .4rem, 7rem);
  margin-bottom: 2rem;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__title .line > span { display: block; }
.hero__title .line--or { color: var(--or); }
.hero__text { max-width: 31rem; margin-bottom: 2.25rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; }

.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  margin-top: clamp(3rem, 8vh, 5.5rem);
  border-top: 1px solid var(--ligne);
}
.hero__facts li {
  padding: 1.25rem 2.5rem 0 0;
  margin-right: 2.5rem;
  border-right: 1px solid var(--ligne);
  font-size: .93rem;
  color: var(--cendre);
  line-height: 1.35;
}
.hero__facts li:last-child { border-right: 0; margin-right: 0; }
.hero__facts strong {
  display: block;
  color: var(--ivoire);
  font-weight: 700;
  font-stretch: 118%;
  font-size: 1.15rem;
  margin-bottom: .2rem;
}

/* Animation d'ouverture : un seul moment orchestré */
@media (prefers-reduced-motion: no-preference) {
  .js .hero__media img { opacity: 0; transform: scale(1.04); }
  .js .hero__title .line > span { transform: translateY(105%); }
  .js .hero__kicker,
  .js .hero__text,
  .js .hero__actions,
  .js .hero__facts { opacity: 0; }

  .js .is-loaded .hero__media img { opacity: 1; transform: none; transition: opacity 1.6s var(--ease), transform 2.4s var(--ease); }
  .js .is-loaded .hero__title .line > span { transform: none; transition: transform 1s var(--ease); }
  .js .is-loaded .hero__title .line:nth-child(2) > span { transition-delay: .09s; }
  .js .is-loaded .hero__title .line:nth-child(3) > span { transition-delay: .18s; }
  .js .is-loaded .hero__kicker,
  .js .is-loaded .hero__text,
  .js .is-loaded .hero__actions,
  .js .is-loaded .hero__facts { opacity: 1; transition: opacity .9s var(--ease) .45s; }
}

@media (max-width: 820px) {
  /* Mobile : la photo occupe le haut, le texte commence sous le visage */
  .hero { display: block; min-height: 0; padding: 0; }
  .hero__media { width: 100%; height: 66svh; inset: 0 0 auto 0; }
  .hero__inner { padding-top: 46svh; }
  .hero__title { font-size: clamp(2.2rem, 9.2vw, 3.6rem); }
  .hero__media img {
    object-position: 50% 0%;
    -webkit-mask-image: linear-gradient(to top, transparent 0%, #000 45%);
    mask-image: linear-gradient(to top, transparent 0%, #000 45%);
  }
  .hero__facts { grid-template-columns: 1fr 1fr 1fr; }
  .hero__facts li { padding-right: .9rem; margin-right: .9rem; font-size: .8rem; }
  .hero__facts strong { font-size: 1rem; }
  .hero__actions .btn { flex: 1 1 100%; }
}

/* ---------- Sections ---------- */

.section { padding-block: var(--section); }
.section--charbon { background: var(--charbon); }
.section__head { margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section__head .h2 { margin-bottom: 1.25rem; }

/* Méthode */
.methode__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(2.5rem, 6vw, 6.5rem);
  align-items: start;
}
.methode__photo {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.methode__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.piliers li {
  display: grid;
  grid-template-columns: minmax(11rem, 4fr) 6fr;
  gap: 1.5rem 2.5rem;
  padding: 2.25rem 0;
  border-top: 1px solid var(--ligne);
}
.piliers li:last-child { border-bottom: 1px solid var(--ligne); }
.piliers p { margin: 0; color: var(--cendre); }
.methode__cta { margin-top: 2.75rem; }

@media (max-width: 860px) {
  .methode__grid { grid-template-columns: 1fr; }
  .methode__photo { position: relative; top: 0; aspect-ratio: 4 / 3; order: 2; }
  .piliers li { grid-template-columns: 1fr; gap: .6rem; padding: 1.75rem 0; }
}

/* Histoire */
.citation {
  margin: 0 0 clamp(3.5rem, 7vw, 6rem);
  padding: 0;
  max-width: 21ch;
  font-size: clamp(1.9rem, 4.2vw + .3rem, 4rem);
  font-style: italic;
  font-stretch: 108%;
  font-weight: 560;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.citation::before {
  content: "";
  display: block;
  width: 2.75rem;
  height: 2px;
  margin-bottom: 1.75rem;
  background: var(--or);
}
.histoire__grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: start;
}
.histoire__texte { max-width: 38rem; }
.histoire__texte p { color: var(--cendre); }
.histoire__texte strong { color: var(--ivoire); font-weight: 620; }
.histoire__texte .h2 { margin-bottom: 2rem; }
.signature {
  margin-top: 2.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-stretch: 118%;
  font-weight: 700;
}
.signature span { color: var(--cendre); font-weight: 450; font-stretch: 100%; font-size: .95rem; }
.histoire__photo { aspect-ratio: 3 / 5; overflow: hidden; }
.histoire__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }

@media (max-width: 860px) {
  .histoire__grid { grid-template-columns: 1fr; }
  .histoire__photo { aspect-ratio: 4 / 5; max-height: 80vh; }
}

/* Formules */
.formules__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}
.duree {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin: 0;
  padding: 0;
  border: 0;
}
.duree legend {
  float: left;
  margin-right: 1rem;
  color: var(--cendre);
  font-size: .95rem;
}
.duree__options {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--ligne);
  border-radius: 2px;
}
.duree input { position: absolute; opacity: 0; pointer-events: none; }
.duree label {
  padding: .6rem 1.15rem;
  font-size: .95rem;
  font-weight: 600;
  font-stretch: 110%;
  color: var(--cendre);
  cursor: pointer;
  border-radius: 1px;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.duree input:checked + label { background: var(--ivoire); color: var(--noir); }
.duree input:focus-visible + label { outline: 2px solid var(--or); outline-offset: 2px; }

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.75rem);
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(2rem, 3.5vw, 3rem);
  background: var(--noir);
  border: 1px solid var(--ligne);
}
.plan--vedette {
  border-color: var(--or);
  box-shadow: 0 0 0 1px var(--or), 0 24px 60px -30px rgba(212, 175, 55, .45);
}
.plan__badge.plan__badge--vedette {
  flex: none;
  padding: .32rem .8rem;
  border-radius: 999px;
  background: var(--or);
  color: var(--noir);
  font-size: .82rem;
  font-weight: 700;
  font-stretch: 110%;
  letter-spacing: .01em;
}
.plan__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  min-height: 2.25rem;
  margin-bottom: 2rem;
}
.plan__nom { font-size: 1.5rem; font-stretch: 122%; font-weight: 760; letter-spacing: .01em; }
.plan__badge { margin: 0; color: var(--or); font-size: .9rem; font-weight: 560; text-align: right; }
.plan__prix {
  display: flex;
  align-items: baseline;
  gap: .5rem;
  margin-bottom: .5rem;
}
.plan__montant {
  font-size: clamp(3rem, 4.4vw, 4.25rem);
  font-stretch: 125%;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.plan__unite { color: var(--cendre); font-size: 1.05rem; }
.plan__total { color: var(--cendre); font-size: .97rem; margin-bottom: 2.25rem; min-height: 1.6em; }
.plan__total strong { color: var(--ivoire); font-weight: 650; font-variant-numeric: tabular-nums; }
.plan__liste { margin-bottom: 2.5rem; flex: 1; }
.plan__liste li {
  display: flex;
  gap: .9rem;
  align-items: baseline;
  padding: .8rem 0;
  border-top: 1px solid var(--ligne);
  color: var(--cendre);
  font-size: 1rem;
}
.plan__liste li::before {
  content: "";
  flex: none;
  width: .7rem;
  height: 2px;
  transform: translateY(-.3em);
  background: var(--ligne);
}
.plan__liste li.plus { color: var(--ivoire); }
.plan__liste li.plus::before { background: var(--or); }
.plan__liste li.plus { font-weight: 600; }
.plan__enplus {
  margin-left: auto;
  padding: .2rem .55rem;
  border-radius: 999px;
  background: rgba(212, 175, 55, .14);
  color: var(--or);
  font-size: .78rem;
  font-weight: 650;
  white-space: nowrap;
}
.formules__note { margin-top: 2rem; font-size: .93rem; color: var(--cendre); }
.formules__note a { color: var(--ivoire); text-underline-offset: 3px; }

@media (max-width: 1060px) {
  .plans { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
}
@media (max-width: 860px) {
  .duree legend { float: none; display: block; margin: 0 0 .5rem; }
  .duree { display: block; }
}

/* Vidéos YouTube */
.videos__grid {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: clamp(2.5rem, 5vw, 5.5rem);
  align-items: end;
}
.videos__intro .h2 { margin-bottom: 1.25rem; }
.videos__intro .lede { margin-bottom: 2rem; }
.videos__liste {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(.75rem, 1.5vw, 1.25rem);
}
.video {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 1px solid var(--ligne);
  border-radius: 6px;
  background: var(--fumee);
}
.video--chargement {
  background: linear-gradient(110deg, var(--fumee) 30%, #26231f 50%, var(--fumee) 70%);
  background-size: 250% 100%;
}
@media (prefers-reduced-motion: no-preference) {
  .video--chargement { animation: reflet 1.6s linear infinite; }
  @keyframes reflet { from { background-position: 100% 0; } to { background-position: -150% 0; } }
}
.video__lien {
  position: absolute;
  inset: 0;
  display: block;
  color: var(--ivoire);
  text-decoration: none;
}
.video__lien img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.video__lien::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 48%, rgba(0,0,0,.92) 100%);
}
.video__lien:hover img,
.video__lien:focus-visible img { transform: scale(1.045); }
.video__lien:focus-visible { outline-offset: -3px; }
.video__play {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(243, 239, 230, .4);
  border-radius: 50%;
  background: rgba(0, 0, 0, .5);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background-color .25s var(--ease), border-color .25s var(--ease);
}
.video__play::before {
  content: "";
  margin-left: 3px;
  border-left: 11px solid var(--or);
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  transition: border-left-color .25s var(--ease);
}
.video__lien:hover .video__play { background: var(--or); border-color: var(--or); }
.video__lien:hover .video__play::before { border-left-color: var(--noir); }
.video__info {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  padding: 1.15rem 1.15rem 1.25rem;
}
.video__date { margin: 0 0 .35rem; color: var(--or); font-size: .82rem; font-weight: 560; }
.video__titre {
  font-size: 1.02rem;
  font-weight: 660;
  font-stretch: 106%;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.video--16x9 .video__lien img { object-position: 50% 50%; }
.videos__erreur { grid-column: 1 / -1; color: var(--cendre); }
.videos__erreur a { color: var(--ivoire); text-underline-offset: 3px; }

@media (max-width: 860px) {
  .videos__grid { grid-template-columns: 1fr; }
  .videos__liste {
    display: flex;
    gap: .9rem;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .videos__liste::-webkit-scrollbar { display: none; }
  .video { flex: 0 0 min(66vw, 300px); scroll-snap-align: start; }
}

/* Parcours */
.parcours {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  counter-reset: etape;
  border-top: 1px solid var(--ligne);
}
.parcours li {
  counter-increment: etape;
  padding: 2.5rem 2.5rem 0 0;
}
.parcours li + li { padding-left: 2.5rem; border-left: 1px solid var(--ligne); }
.parcours li::before {
  content: counter(etape);
  display: block;
  margin-bottom: 1.5rem;
  color: var(--or);
  font-size: 3rem;
  font-stretch: 125%;
  font-weight: 300;
  line-height: 1;
}
.parcours .h3 { margin-bottom: .75rem; }
.parcours p { margin: 0; color: var(--cendre); }

@media (max-width: 860px) {
  .parcours { grid-template-columns: 1fr; }
  .parcours li, .parcours li + li { padding: 2rem 0; border-left: 0; border-bottom: 1px solid var(--ligne); }
  .parcours li::before { font-size: 2.25rem; margin-bottom: 1rem; }
}

/* Bandeau photo */
.bandeau {
  position: relative;
  min-height: clamp(26rem, 70vh, 46rem);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.bandeau img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
  z-index: -2;
}
.bandeau::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, #000 0%, rgba(0,0,0,.15) 30%, rgba(0,0,0,.25) 60%, #000 100%);
}
.bandeau__texte {
  padding-bottom: clamp(3rem, 8vw, 6rem);
  font-size: clamp(2.2rem, 6vw + .3rem, 6.25rem);
}
.bandeau__texte span { display: block; }
.bandeau__texte span:last-child { color: var(--or); }

/* Rendez-vous */
.rdv__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(2.5rem, 6vw, 6.5rem);
  align-items: start;
}
.rdv__intro .h2 { margin-bottom: 1.5rem; }
.rdv__prix {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin: 2rem 0 0;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--or-sombre);
  border-radius: 4px;
  color: var(--cendre);
  font-size: .97rem;
  line-height: 1.4;
}
.rdv__montant {
  flex: none;
  color: var(--or);
  font-size: 2.1rem;
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: -0.02em;
  line-height: 1;
}
.rdv__points { margin-top: 2.5rem; }
.rdv__points li {
  padding: 1rem 0;
  border-top: 1px solid var(--ligne);
  color: var(--cendre);
}
.rdv__points li:last-child { border-bottom: 1px solid var(--ligne); }
.rdv__points strong { color: var(--ivoire); font-weight: 620; }

.form {
  padding: clamp(1.75rem, 4vw, 3rem);
  background: var(--charbon);
  border: 1px solid var(--ligne);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.field { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.4rem; }
.field label, .field .label { font-size: .93rem; font-weight: 560; }
.field .opt { color: var(--cendre); font-weight: 400; }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3.1rem;
  padding: .8rem 1rem;
  background: var(--noir);
  border: 1px solid var(--ligne);
  border-radius: 2px;
  font-size: 1rem;
  transition: border-color .2s var(--ease);
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.75rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--or) 50%), linear-gradient(135deg, var(--or) 50%, transparent 50%);
  background-position: calc(100% - 1.35rem) 55%, calc(100% - 1rem) 55%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.field textarea { min-height: 8.5rem; resize: vertical; line-height: 1.5; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #4a463f; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--or); outline: none; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #e2725b; }
.field .aide { font-size: .85rem; color: var(--cendre); }

.consent {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  margin: .5rem 0 1.75rem;
  font-size: .9rem;
  color: var(--cendre);
  line-height: 1.5;
}
.consent input {
  flex: none;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: .15rem;
  accent-color: var(--or);
}
.consent a { color: var(--ivoire); text-underline-offset: 3px; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form__status { margin-top: 1.25rem; font-size: .97rem; min-height: 1.5em; }
.form__status.is-ok { color: var(--or); }
.form__status.is-error { color: #f0907c; }
.form button[disabled] { opacity: .6; cursor: progress; }

@media (max-width: 860px) {
  .rdv__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .form__row { grid-template-columns: 1fr; gap: 0; }
}

/* ---------- Pied de page ---------- */

.footer {
  padding: clamp(4rem, 8vw, 6rem) 0 2rem;
  border-top: 1px solid var(--ligne);
}
.footer__top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
}
.footer__logo { width: 190px; margin-bottom: 1.5rem; }
.footer__devise { color: var(--cendre); margin: 0; }
.footer h2 {
  margin-bottom: 1.1rem;
  font-size: .95rem;
  font-weight: 600;
  font-stretch: 110%;
  color: var(--or);
}
.footer li + li { margin-top: .55rem; }
.footer a { color: var(--cendre); text-decoration: none; transition: color .2s var(--ease); }
.footer a:hover { color: var(--ivoire); }
.footer__bas {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--ligne);
  font-size: .87rem;
  color: var(--cendre);
}
.footer__bas p { margin: 0; }

@media (max-width: 760px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__marque { grid-column: 1 / -1; }
}

/* ---------- Pages légales ---------- */

.legal-header {
  border-bottom: 1px solid var(--ligne);
}
.legal-header .header__inner { height: var(--header-h); }
.legal-header .retour {
  color: var(--cendre);
  text-decoration: none;
  font-size: .95rem;
}
.legal-header .retour:hover { color: var(--ivoire); }

.legal {
  max-width: calc(46rem + var(--gutter) * 2);
  margin-inline: auto;
  padding: clamp(3.5rem, 8vw, 6rem) var(--gutter) clamp(4rem, 8vw, 7rem);
}
.legal h1 {
  font-size: clamp(2.2rem, 4vw + .5rem, 3.6rem);
  font-stretch: 118%;
  font-weight: 780;
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin-bottom: 1rem;
}
.legal .maj { color: var(--cendre); margin-bottom: 3rem; font-size: .95rem; }
.legal h2 {
  margin: 3rem 0 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--ligne);
  font-size: 1.3rem;
  font-stretch: 110%;
  font-weight: 680;
}
.legal h3 { margin: 1.75rem 0 .6rem; font-size: 1.05rem; font-weight: 650; }
.legal p, .legal li { color: #d6d1c6; }
.legal ul { list-style: none; margin: 0 0 1.25rem; }
.legal ul li { position: relative; padding-left: 1.4rem; margin-bottom: .45rem; }
.legal ul li::before { content: ""; position: absolute; left: 0; top: .78em; width: .65rem; height: 2px; background: var(--or); }
.legal a { color: var(--or); text-underline-offset: 3px; }
.legal address { font-style: normal; color: #d6d1c6; margin-bottom: 1.1em; }
.legal .encadre {
  margin: 1.5rem 0;
  padding: 1.5rem;
  border: 1px solid var(--ligne);
  background: var(--charbon);
}
.legal .encadre p:last-child { margin-bottom: 0; }

/* Champs à compléter par l'éditeur avant la mise en ligne */
.a-completer {
  padding: 0 .3em;
  background: rgba(212, 175, 55, .16);
  color: var(--or);
  border-radius: 2px;
}

/* 404 */
.erreur {
  min-height: 100svh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: var(--gutter);
}
.erreur h1 { font-size: clamp(2.5rem, 7vw, 5rem); margin-bottom: 1rem; }
.erreur p { color: var(--cendre); margin-bottom: 2rem; }

@media print {
  .header, .menu-toggle, .hero__media, .bandeau, .form { display: none !important; }
  body { background: #fff; color: #000; }
}
