/* ==========================================================================
   ACCUEIL — version validée, posée par-dessus styles.css
   ========================================================================== */

main { overflow-x: clip; }

/* --- Boutons ronds -------------------------------------------------------- */
.btn { border-radius: 999px; min-height: 58px; padding: 0 36px; }
.btn::before { border-radius: 50% 50% 0 0 / 40% 40% 0 0; }
.btn--sm, .mbar .btn { padding: 0 12px; }

/* --- Titres : Playfair + un mot en écriture ------------------------------- */
.sw {
  position: relative; display: inline-block;
  font-family: var(--display); font-weight: 400; font-style: normal;
  font-size: 1.5em; line-height: .78; letter-spacing: 0; text-transform: none;
  color: var(--brique); padding: 0 .1em;
}
.u { position: absolute; left: -2%; bottom: -.2em; width: 104%; height: .3em; fill: var(--terracotta); overflow: visible; clip-path: inset(0 100% 0 0); transition: clip-path 1.1s var(--swing) .55s; pointer-events: none; }
.in .u, .u.in { clip-path: inset(0 -2% 0 0); }
.w { display: inline-block; }
.split-on .w { opacity: 0; transform: translateY(.55em) rotate(2.5deg); transform-origin: 0 100%; transition: opacity .75s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--w) * 55ms); }
.split-on.in .w { opacity: 1; transform: none; }

.pres h2 { font-size: clamp(30px, 3.3vw, 48px); line-height: 1.28; text-transform: none; max-width: 980px; }
.exp__head .title { font-size: clamp(32px, 3.5vw, 52px); line-height: 1.32; }
.media h2 { font: 400 clamp(29px, 2.7vw, 40px)/1.3 var(--serif); margin: 10px 0 16px; }
.about h2, .news h2 { font: 400 clamp(29px, 2.7vw, 40px)/1.25 var(--serif); }
.about h2 { margin-bottom: 20px; }
.talk h2 { font: 400 clamp(30px, 3vw, 44px)/1.3 var(--serif); margin-bottom: 40px; }
.std .title { font-size: clamp(34px, 3.5vw, 52px); }
.faq h2 { font-size: clamp(30px, 3vw, 44px); text-align: center; margin-bottom: 28px; }
.rdv__c h2 { white-space: nowrap; }
.rdv__c .sw { font-size: 1.32em; }
.rdv__c .sw { color: #ffe3d3; }
.rdv__c .u { fill: #ffe3d3; }
.pro .sw { color: #fff; font-size: 1.7em; }

/* --- Formes moins carrées ------------------------------------------------- */
.player { border-radius: 34px; }
.media__img { border-radius: 0 56px 56px 0; }
.rdv__g { border-radius: 40px; overflow: hidden; }
.cmp { border-radius: 30px; }
.cmp__lb { border-radius: 20px; }
.vcard { border-radius: 30px; }
.std__g { align-items: start; }
.std__g figure { border-radius: 999px 999px 28px 28px; }
.std__g figure:nth-child(2) { margin-top: 44px; }
.rev { border-radius: 24px; }
.ft { border-radius: 56px 56px 0 0; }
.drop { border-radius: 18px; }
.faq details { border: 0; margin-bottom: 10px; padding-inline: 24px; background: #faf5f0; border-radius: 22px; transition: background .4s; }
.faq details[open] { background: var(--peche); }
.faq summary svg { box-sizing: content-box; padding: 10px; border-radius: 50%; background: #fff; }
.stairs li::before { left: 0; top: .28em; width: 13px; height: 13px; border-radius: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cpath fill='%23823520' d='M4 58C8 34 24 12 56 3 34 16 18 34 9 59c-2 1-4 1-5-1Z'/%3E%3C/svg%3E") center / contain no-repeat; }

/* --- Courbe sous l'accueil ------------------------------------------------- */
.lid { position: relative; z-index: 3; margin-top: -6.944vw; height: 6.944vw; pointer-events: none; }
.lid svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.pres { padding-top: 14px; }

/* --- Cils qui flottent ----------------------------------------------------- */
.cil { position: absolute; z-index: 0; width: var(--s, 44px); height: var(--s, 44px); fill: var(--brique); opacity: var(--a, .45); pointer-events: none; animation: drift var(--t, 9s) ease-in-out infinite alternate; animation-delay: var(--dl, 0s); }
@keyframes drift { from { transform: translateY(-10px) rotate(calc(var(--r, 0deg) - 7deg)); } to { transform: translateY(14px) rotate(calc(var(--r, 0deg) + 9deg)); } }
.exp, .std, .talk { position: relative; overflow: hidden; }

/* --- Ruban défilant --------------------------------------------------------- */
.band { overflow: hidden; background: var(--peche); padding: 22px 0 14px; margin-block: 10px 0; transform: rotate(-1.2deg) scale(1.02); }
.band__t { display: flex; width: max-content; animation: slide 34s linear infinite; }
.band__g { display: flex; align-items: center; gap: 44px; padding-right: 44px; font: 400 clamp(40px, 4.4vw, 62px)/1.25 var(--display); color: var(--brique); white-space: nowrap; }
.band svg { width: 42px; height: 28px; fill: var(--terracotta); overflow: visible; flex: none; }
@keyframes slide { to { transform: translateX(-50%); } }
.band:hover .band__t { animation-play-state: paused; }

/* --- Mobile ------------------------------------------------------------------ */
@media (max-width: 760px) {
  .lid { margin-top: -15.28vw; height: 15.28vw; overflow-x: clip; }
  .lid svg { width: 220%; max-width: none; left: -60%; right: auto; }
  .pres { padding-top: 0; }
  .media__img { border-radius: 0 0 44px 44px; }
  .player { width: calc(100% - 28px); border-radius: 24px; }
  .rdv__g { margin-inline: 14px; border-radius: 30px; }
  .std__g figure:nth-child(2) { margin-top: 0; }
  .ft { border-radius: 36px 36px 0 0; }
  .cil--hide { display: none; }
  .faq details { padding-inline: 18px; }
  .sw { font-size: 1.42em; }
  .band__g { gap: 28px; padding-right: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .split-on .w { opacity: 1; transform: none; }
  .u { clip-path: none; }
  .band__t, .cil { animation: none; }
}

/* ==========================================================================
   VAGUE 2 — header flottant, preuves, animations
   ========================================================================== */

/* --- Barre d'annonce --------------------------------------------------------- */
.ann { position: relative; height: 34px; overflow: hidden; background: var(--brique); color: #fff; font-size: 12.5px; letter-spacing: .04em; text-align: center; transition: height .45s var(--ease); }
.ann__t span { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transform: translateY(100%); transition: transform .7s var(--swing), opacity .5s; }
.ann__t span.on { opacity: 1; transform: none; }
.ann__t span.out { opacity: 0; transform: translateY(-100%); }
.hd.is-solid .ann { height: 0; }

/* --- Header en capsule flottante --------------------------------------------- */
.hd, .hd.is-solid { background: none; box-shadow: none; backdrop-filter: none; }
.hd.is-hidden { transform: none; }
.hd__in { position: relative; height: 76px; margin: 12px 16px 0; padding-inline: 24px 14px; border-radius: 38px; background: rgba(255, 255, 255, .66); backdrop-filter: blur(16px) saturate(1.3); box-shadow: 0 10px 34px -18px rgba(90, 40, 20, .35), inset 0 0 0 1px rgba(255, 255, 255, .55); transition: height .45s var(--ease), max-width .6s var(--ease), margin .45s var(--ease), background .4s; }
.hd__logo img { width: 92px; }
.hd.is-solid .hd__in { height: 62px; max-width: 1400px; margin: 10px auto 0; width: calc(100% - 32px); background: rgba(255, 255, 255, .93); }
.hd.is-solid .hd__logo img { width: 68px; }
.hd__left, .hd__right { gap: 16px; }
.hd__cta { min-height: 46px; padding: 0 22px; font-size: 12.5px; letter-spacing: .04em; margin-left: 6px; }
.hd__bar { position: absolute; left: 34px; right: 34px; bottom: 0; height: 2px; background: var(--brique); border-radius: 2px; transform: scaleX(var(--pg, 0)); transform-origin: left; opacity: 0; transition: opacity .4s; pointer-events: none; }
.hd.is-solid .hd__bar { opacity: .8; }

/* Menu : pastille qui glisse */
.nav { position: relative; gap: 2px; isolation: isolate; }
.nav a, .nav button { padding: 8px 14px; }
.nav > li > a::after, .nav > li > button::after { display: none; }
.nav__ind { position: absolute; z-index: -1; left: 0; top: 50%; height: 36px; margin-top: -18px; border-radius: 18px; background: var(--peche); opacity: 0; transition: transform .5s var(--ease), width .5s var(--ease), opacity .3s; pointer-events: none; }
.nav a[aria-current] { color: var(--brique); font-weight: 500; }

/* Méga-menu Formations */
.nav > li.has-mega { position: static; }
.mega { position: absolute; left: var(--mx, 50%); top: calc(100% + 24px); width: min(1040px, calc(100vw - 48px)); display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 14px; padding: 18px; background: #fff; border-radius: 32px; box-shadow: 0 34px 70px -30px rgba(60, 25, 10, .45); opacity: 0; visibility: hidden; transform: translate(-50%, 14px); transition: opacity .3s, transform .5s var(--ease), visibility .3s; }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -32px; height: 32px; }
.nav li:hover > .mega, .nav li:focus-within > .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega__l { padding: 10px 14px; }
.mega__l .eyebrow { margin-bottom: 8px; }
.nav .mega__l a { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 9px 0; transition: transform .45s var(--ease), color .3s; }
.mega__l b { font: 400 18px/1.25 var(--serif); }
.mega__l em { font-style: normal; font-size: 13px; color: var(--muted); white-space: nowrap; }
.nav .mega__l a:hover { transform: translateX(6px); color: var(--brique); }
.nav .mega__c { position: relative; display: block; padding: 0; min-height: 290px; border-radius: 22px; overflow: hidden; }
.mega__c img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mega__c::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(30, 12, 5, .72)); }
.mega__c span { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 16px; color: #fff; font-size: 13px; }
.mega__c b { display: block; font: 400 21px/1.2 var(--serif); margin-bottom: 2px; }
.mega__c:hover img { transform: scale(1.07); }

/* Le hero laisse la place au header */
.hero { min-height: 790px; }
.hero__in { padding-top: 126px; }
.hero__cta { margin-top: 24px; }

/* --- Pastille de preuve dans le hero ------------------------------------------ */
.pill { display: inline-flex; align-items: center; gap: 14px; margin-top: 22px; padding: 10px 24px 10px 12px; background: rgba(255, 255, 255, .78); backdrop-filter: blur(10px); border-radius: 36px; box-shadow: 0 16px 34px -20px rgba(130, 53, 32, .55); font-size: 12.5px; line-height: 1.25; text-align: left; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
@media (hover: hover) { .pill:hover { transform: translateY(-3px); box-shadow: 0 24px 40px -22px rgba(130, 53, 32, .7); } }
.pill b { display: block; font: 500 21px/1.1 var(--serif); color: var(--brique); }
.pill .pill__s { font: 400 15px/1.25 var(--sans); letter-spacing: .08em; color: #e0a100; }
.pill > i { width: 1px; height: 34px; background: var(--line); }
.gg { width: 22px; height: 22px; flex: none; }
.avs { display: flex; }
.avs img { width: 42px; height: 42px; border-radius: 50%; border: 2px solid #fff; object-fit: cover; margin-left: -12px; }
.avs img:first-child { margin-left: 0; }

/* --- Cartes de chiffres ---------------------------------------------------------- */
.stats { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 16px; padding-block: 44px 40px; }
.stat { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 310px; padding: 30px 32px; border-radius: 40px; overflow: hidden; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
a.stat:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -32px rgba(90, 40, 20, .6); }
.stat--a { background: var(--peche); }
.stat--b { background: var(--brique); color: #fff; }
.stat--c { background: var(--soft); justify-content: center; text-align: center; }
.stat .avs { margin-bottom: 14px; }
.stat .avs img { width: 56px; height: 56px; margin-left: -16px; }
.stat .avs img:first-child { margin-left: 0; }
.stat__n, .pill b, .std .title { font-variant-numeric: lining-nums; }
.stat__n { font: 400 clamp(84px, 8.6vw, 128px)/.95 var(--serif); letter-spacing: -.02em; color: var(--brique); }
.stat--b .stat__n { color: #fff; }
.stat .stat__s { align-self: flex-start; font-size: clamp(34px, 3vw, 44px); line-height: 1.1; margin-top: 4px; padding: 0; }
.stat--b .stat__s { color: #ffe3d3; }
.stat .stat__big { font-size: clamp(50px, 4.6vw, 68px); line-height: 1.1; padding: 0 0 10px; }
.stat__p { margin-top: 8px; font-size: 14.5px; line-height: 1.5; max-width: 26em; }
.stat--c .stat__p { margin-inline: auto; }
.stat__stars { margin-bottom: 8px; display: flex; order: -1; gap: 4px; font-size: 27px; line-height: 1; color: #ffcf6b; }
.stat__stars i { font-style: normal; transform: scale(0) rotate(-40deg); transition: transform .7s cubic-bezier(.3, 1.6, .5, 1); transition-delay: calc(var(--n) * 110ms + 350ms); }
.stat.in .stat__stars i { transform: none; }
.pres { padding-top: 50px; }

/* --- Texte qui s'allume au défilement ---------------------------------------- */
.lw { opacity: .2; transition: opacity .25s linear; }

/* --- Photos qui glissent dans leur cadre ------------------------------------- */
.media__img img, .rdv__img img { scale: 1.14; will-change: translate; }

/* --- Bulle qui suit la souris ---------------------------------------------------- */
.bub { position: fixed; left: 0; top: 0; z-index: 70; width: 86px; height: 86px; margin: -43px 0 0 -43px; display: grid; place-items: center; border-radius: 50%; background: var(--brique); color: #fff; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; pointer-events: none; opacity: 0; scale: .4; transition: opacity .3s, scale .45s var(--ease); }
.bub.on { opacity: .94; scale: 1; }

/* --- Grande signature dans le pied de page ----------------------------------- */

.band__t.js-run { animation: none; }

@media (max-width: 1100px) {
  .hd__cta { display: none; }
  .hd__in { padding-inline: 20px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat--c { grid-column: 1 / -1; min-height: 200px; }
}
@media (max-width: 760px) {
  .ann { font-size: 11.5px; }
  .hd__in { height: 62px; margin: 8px 8px 0; padding-inline: 16px; }
  .hd__logo img, .hd.is-solid .hd__logo img { width: 66px; }
  .hd.is-solid .hd__in { width: calc(100% - 16px); margin-top: 8px; }
  .hero { min-height: 100svh; }
  .hero__in { padding-top: 0; }
  .pill { gap: 9px; padding: 8px 14px 8px 8px; margin-top: 14px; max-width: 100%; }
  .pill b { font-size: 18px; }
  .pill .pill__s { font-size: 13px; }
  .pill > i { height: 28px; }
  .pill .gg { display: none; }
  .avs img { width: 34px; height: 34px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 10px; padding-block: 20px 10px; }
  .stat { min-height: 250px; padding: 22px 20px; border-radius: 30px; }
  .stat .avs img { width: 44px; height: 44px; }
  .stat__stars { font-size: 20px; }
  .stat__n { font-size: 66px; }
  .stat .stat__s { font-size: 26px; white-space: nowrap; }
  .stat__p { font-size: 13.5px; }
  .stat .stat__big { font-size: 48px; }
  .pres { padding-top: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  .lw { opacity: 1; }
  .stat__stars i { transform: none; }
}

/* --- Nos formations en ligne : lecture claire, frise qui se remplit ---------- */
.steps2 { display: grid; grid-template-columns: .82fr 1.18fr; gap: 40px clamp(36px, 6vw, 96px); margin: 60px var(--gut) 0; padding: clamp(56px, 6.6vw, 96px) clamp(24px, 5.6vw, 84px); background: var(--peche); border-radius: 56px; }
.steps2__l { position: sticky; top: 104px; align-self: start; }
.steps2__l .eyebrow { color: var(--brique); letter-spacing: .24em; font-weight: 500; }
.steps2__l .title { font-size: clamp(38px, 3.9vw, 58px); line-height: 1.2; margin: 16px 0 30px; }
.steps2__g { position: relative; }
.steps2__g::before, .steps2__fill { content: ""; position: absolute; left: 31px; top: 32px; bottom: 32px; width: 2px; background: rgba(130, 53, 32, .18); }
.steps2__fill { background: var(--brique); transform: scaleY(0); transform-origin: top; }
.steps2__g li { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: start; }
.steps2__g li + li { margin-top: 16px; }
.steps2__n { position: relative; z-index: 1; display: grid; place-items: center; width: 64px; height: 64px; margin-top: 18px; border-radius: 50%; background: #fff; color: var(--brique); border: 1px solid rgba(130, 53, 32, .3); font: 400 26px/1 var(--serif); font-variant-numeric: lining-nums; transition: background .5s, color .5s, border-color .5s, transform .6s cubic-bezier(.3, 1.5, .5, 1); }
.steps2__g li.on .steps2__n { background: var(--brique); color: #fff; border-color: var(--brique); transform: scale(1.06); }
.steps2__c { padding: 26px 30px 28px; background: #fff; border-radius: 28px; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
@media (hover: hover) { .steps2__c:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(90, 40, 20, .5); } }
.steps2__c h3 { font: 500 clamp(22px, 1.8vw, 26px)/1.25 var(--serif); color: var(--ink); margin-bottom: 8px; }
.steps2__c p { font-size: 16.5px; line-height: 1.65; color: #352a24; }
.steps2__cta-m { display: none; }

@media (max-width: 900px) {
  .steps2 { grid-template-columns: minmax(0, 1fr); }
  .steps2__l { position: static; text-align: center; }
  .steps2__l .title { margin-bottom: 8px; }
  .steps2__l .btn { display: none; }
  .steps2__cta-m { display: flex; width: 100%; margin-top: 22px; padding: 0 12px; }
}
@media (max-width: 760px) {
  .steps2 { margin-inline: 10px; padding: 50px 16px 22px; border-radius: 36px; }
  .steps2__g::before, .steps2__fill { left: 21px; top: 26px; bottom: 26px; }
  .steps2__g li { grid-template-columns: 44px minmax(0, 1fr); gap: 10px; }
  .steps2__n { width: 44px; height: 44px; font-size: 20px; margin-top: 16px; }
  .steps2__c { padding: 20px 20px 22px; border-radius: 24px; }
}

/* ==========================================================================
   VAGUE 3 — visage, phrase clé, médailles, téléphone, vidéos, pied de page
   ========================================================================== */

/* --- Phrase clé -------------------------------------------------------------- */
.hero__p { margin-top: 16px; }

/* --- Cadrage du visage sur téléphone ------------------------------------------- */
@media (max-width: 760px) {
  .hero { align-items: flex-end; padding-bottom: 40px; }
  .hero picture img { position: absolute; left: 0; top: 36px; width: 100%; height: auto; object-fit: initial; object-position: initial; transform-origin: 50% 30%; }
  .hero::after { inset: 100vw 0 0; background: linear-gradient(180deg, rgba(253, 238, 230, 0) 0, rgba(253, 238, 230, .88) 12vw, var(--peche) 20vw); }
  .hero__in { padding-top: 114vw; }
}

/* --- Cadrage comme sur ordinateur, sur tablette ---------------------------------- */
@media (min-width: 761px) and (max-width: 1100px) {
  .hero { min-height: max(100svh, 780px); }
  .hero picture { overflow: hidden; }
  .hero picture img { position: absolute; left: -69vw; top: 0; width: 190vw; max-width: none; height: auto; object-fit: initial; -webkit-mask-image: linear-gradient(180deg, #000 74%, transparent 100%); mask-image: linear-gradient(180deg, #000 74%, transparent 100%); }
  .hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(255, 244, 239, .94) 40%, rgba(255, 244, 239, 0) 60%); }
  .hero__in { width: 54vw; margin-left: 1.5vw; }
  .hero h1 { font-size: 60px; }
}

/* --- Sur écrans tactiles : la vie sans le survol ---------------------------------- */
@media (hover: none) {
  .hero picture img { animation: settle 2.6s var(--ease) both, breathe 13s ease-in-out 2.6s infinite alternate; }
  .btn:active { color: var(--fg-h); border-color: var(--fill); }
  .btn:active::before { transform: translateY(-100%); }
  .hero__cta .btn:first-child::after, .mbar .btn:first-child::after, .hd__cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .34) 50%, transparent 62%); transform: translateX(-130%); animation: sheen 4.6s ease-in-out 1.8s infinite; }
}
@keyframes breathe { from { scale: 1; } to { scale: 1.045; } }
@keyframes sheen { 0% { transform: translateX(-130%); } 42%, 100% { transform: translateX(130%); } }

/* --- Cartes qui s'allument --------------------------------------------------------- */
.stat__n { font-variant-numeric: lining-nums tabular-nums; }
.stat::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(112deg, transparent 34%, rgba(255, 255, 255, .55) 50%, transparent 66%); transform: translateX(-125%); }
.stat--b::after { background: linear-gradient(112deg, transparent 34%, rgba(255, 220, 200, .28) 50%, transparent 66%); }
.stat.lit::after { animation: sweep 1.25s var(--ease) .15s; }
.stat.lit { animation: glow 1.5s var(--ease); }
@keyframes sweep { to { transform: translateX(125%); } }
@keyframes glow { 0% { box-shadow: 0 0 0 0 rgba(200, 118, 78, 0); } 35% { box-shadow: 0 18px 56px -8px rgba(200, 118, 78, .55); } 100% { box-shadow: 0 0 0 0 rgba(200, 118, 78, 0); } }
.stat__n.thump { animation: thump .5s cubic-bezier(.3, 1.7, .5, 1); }
@keyframes thump { 0% { transform: scale(1); } 45% { transform: scale(1.09); } 100% { transform: scale(1); } }
.stat__n { transform-origin: 0 100%; }

/* --- Médailles et coupes -------------------------------------------------------------- */
.stat--c { justify-content: center; gap: 2px; }
.tro { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 8px; margin-bottom: 6px; height: 104px; }
.tro svg { overflow: visible; flex: none; transform: translateY(44px) scale(.3); opacity: 0; transition: transform .85s cubic-bezier(.3, 1.55, .5, 1), opacity .3s; transition-delay: calc(var(--n) * 95ms + 200ms); }
.stat--c.in .tro svg { transform: none; opacity: 1; }
.tro .c-s { width: 44px; height: 56px; }
.tro .c-b { width: 72px; height: 92px; }
.tro .m { width: 44px; height: 66px; align-self: flex-start; transform-origin: 50% 0; }
.stat--c.in .tro .m { animation: swing 3.4s ease-in-out 1.2s infinite alternate; }
.tro .m:nth-of-type(4) { animation-delay: 1.7s; }
.stat--c.in .tro .c-b { animation: bob 3.8s ease-in-out 1.2s infinite alternate; }
@keyframes swing { from { rotate: -7deg; } to { rotate: 7deg; } }
@keyframes bob { from { translate: 0 0; } to { translate: 0 -5px; } }
.tro i { position: absolute; font-style: normal; color: #d9a441; font-size: 16px; line-height: 1; opacity: 0; }
.stat--c.in .tro i { animation: twinkle 2.6s ease-in-out infinite; animation-delay: calc(var(--n) * .7s + 1s); }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(.4) rotate(0); } 50% { opacity: 1; transform: scale(1.1) rotate(45deg); } }
.stat--c .stat__big { padding-bottom: 2px; }
.stat--c .stat__p { margin-top: 4px; }

/* --- Étapes qui s'activent ------------------------------------------------------------ */
.steps2__c { opacity: .5; transform: translateX(18px); transition: opacity .6s var(--ease), transform .8s var(--ease), box-shadow .6s var(--ease); }
.steps2__g li.on .steps2__c { opacity: 1; transform: none; box-shadow: 0 22px 40px -32px rgba(90, 40, 20, .6); }
@media (hover: hover) { .steps2__g li.on .steps2__c:hover { transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) { .steps2__c { opacity: 1; transform: none; } }

/* --- Glissement des deux vidéos ---------------------------------------------------------- */
.talk__row { cursor: grab; touch-action: pan-x pan-y; }
.talk__row video { pointer-events: none; }
.talk__nav { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 16px; }
.talk__nav[hidden] { display: none; }
.talk__nav > button { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); transition: background .35s, color .35s; }
.talk__nav > button svg { width: 8px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.talk__nav > button:active { background: var(--brique); color: #fff; }
.talk__dots { display: flex; gap: 8px; }
.talk__dot { width: 9px; height: 9px; border-radius: 5px; background: rgba(130, 53, 32, .25); transition: width .4s var(--ease), background .4s; }
.talk__dot.on { width: 26px; background: var(--brique); }

/* --- Pied de page -------------------------------------------------------------------------- */
.ft { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 50% 0, #93412a 0, var(--brique) 46%, #6d2a18 100%); padding-top: 70px; }
.ft .page { position: relative; z-index: 1; }
.ft__mono { position: absolute; z-index: 0; right: -60px; top: 30px; width: min(620px, 80vw); filter: invert(1); opacity: .05; pointer-events: none; }
.ft__top { display: flex; flex-direction: column; align-items: center; text-align: center; padding-bottom: 46px; margin-bottom: 44px; border-bottom: 1px solid rgba(255, 255, 255, .24); }
.ft__logo { width: 136px; filter: invert(1); }
.ft__tag.sw { color: #ffe3d3; font-size: clamp(34px, 3.4vw, 48px); line-height: 1.25; margin-top: 14px; padding: 0; }
.ft__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }
.ft .btn--ghost { --fg-h: var(--brique); }
.ft h2 { font: 500 12.5px/1.3 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: #ffd9c4; margin-bottom: 18px; }
.ft__g li { transition: transform .45s var(--ease); }
@media (hover: hover) { .ft__g li:hover { transform: translateX(6px); } }
.ft__pay { justify-content: center; }
@media (max-width: 760px) {
  .ft { padding-top: 52px; }
  .ft__g { text-align: center; gap: 30px; }
  .ft__cta { width: 100%; }
  .ft__cta .btn { width: 100%; padding: 0 12px; }
  .ft__b { flex-direction: column; text-align: center; }
  .ft__soc { justify-content: center; }
  .ft__mono { right: -30%; top: 10px; }
}

@media (max-width: 760px) {
  .tro { height: 92px; }
  .tro .c-b { width: 62px; height: 80px; }
  .tro .c-s { width: 38px; height: 48px; }
  .tro .m { width: 38px; height: 58px; }
}
@media (prefers-reduced-motion: reduce) {
  .tro svg { transform: none; opacity: 1; }
}

@media (max-width: 1100px) { .hero .cil { display: none; } }

/* ==========================================================================
   VAGUE 4 — dernières retouches
   ========================================================================== */

/* Phrase clé : entière, d'un seul bloc */
.hero__sub { margin-top: 6px; font: 500 clamp(21px, 1.75vw, 27px)/1.3 var(--serif); color: var(--brique); white-space: nowrap; }
.kp { position: relative; display: inline-block; }
.hero .kp .u { left: 3%; width: 94%; bottom: -.34em; height: .3em; transition: clip-path 1.7s cubic-bezier(.5, 0, .2, 1) .15s; }
.hero__p { margin-top: 22px; }
@media (min-width: 761px) and (max-width: 1100px) { .hero__sub { font-size: 20px; } }
@media (max-width: 760px) { .hero__sub { font-size: 4.9vw; margin-top: 4px; } }

/* Carte Multi-médaillée */
.stat__role { font: 400 clamp(22px, 1.8vw, 26px)/1.2 var(--serif); color: var(--ink); margin-top: -2px; }
.stat--c .stat__p { margin-top: 8px; }
.tro { height: 112px; gap: 10px; }
.tro .c-b { width: 66px; height: 99px; }
.tro .c-s { width: 40px; height: 68px; }
.tro .m { width: 42px; height: 68px; }

/* Signature finale */
.ft__sig { margin: clamp(46px, 6vw, 92px) calc(50% - 50vw) clamp(6px, 1.4vw, 20px); padding-block: .1em; overflow: hidden; text-align: center; font: 400 9vw/1.3 var(--display); white-space: nowrap; }
.ft__sig .l1, .ft__sig .l2 { display: inline-block; padding: .14em .2em .3em; margin: -.14em -.2em -.3em; color: transparent; background: linear-gradient(100deg, #ffe3d3 0 38%, #fff 50%, #ffe3d3 62%) 100% 0 / 280% 100%; -webkit-background-clip: text; background-clip: text; clip-path: inset(-10% 100% -10% 0); transition: clip-path 1.5s var(--swing); }
.ft__sig .l2 { transition-delay: 1.15s; transition-duration: 1.1s; }
.ft__sig.in .l1, .ft__sig.in .l2 { clip-path: inset(-10% -3% -10% 0); animation: sigshine 6s ease-in-out 2.6s infinite; }
@keyframes sigshine { 0% { background-position: 100% 0; } 50%, 100% { background-position: 0 0; } }
.ft__b { margin-top: 0; }

@media (max-width: 760px) {
  .ft__sig { font-size: 14.2vw; line-height: 1.12; margin-top: 44px; }
  .ft__sig .l1, .ft__sig .l2 { display: block; }
  .tro { height: 100px; }
  .tro .c-b { width: 58px; height: 87px; }
  .tro .c-s { width: 34px; height: 58px; }
  .tro .m { width: 36px; height: 58px; }
}
@media (prefers-reduced-motion: reduce) {
  .ft__sig .l1, .ft__sig .l2 { clip-path: none; animation: none; }
}
