/* Site de Joris, corrections du 02/12/2026 à midi (retours de Greg à 12 h 05). Chargée après maquettes.css.
   1. Rien ne clignote à l'arrivée : les titres découpés en mots sont cachés avant le premier affichage.
   2. Plus de pastille au-dessus des titres, plus de mention sous les photos.
   3. Le O du logo, qui tourne doucement, comme séparateur.
   4. La vraie application, mise en scène : la demande, la fenêtre de Joris avec son gros plan, « C'est fait. »
   5. Les vrais résultats du mois en grands chiffres, les réveils des sentinelles, les mesures « plus vite à chaque fois ». */

/* ---------- 1. Titres sans clignement ---------- */
html.js :is(.m-tete h2, .m-grand h2, .m-cote h2, .m-cote-e h2, .m-fil-fin h2, .m-perdu h2, .m-chiffre-g h2, .m-faq-b h2, .m-encart-g h3, .m-moment-t h2, .m-fil-nuit h3, .m-guillemet, .m-def, .m-ligne p, .m-plat-l, .m-sc-t h2):not(.m-mots),
html.js :is(.entete-sec h2, .final h2, .faq-deux .cote h2):not(.mots-defile) { opacity: 0; animation: m-montre 0s 3s forwards; }
@keyframes m-montre { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  html.js :is(.m-tete h2, .m-grand h2, .m-cote h2, .m-cote-e h2, .m-fil-fin h2, .m-perdu h2, .m-chiffre-g h2, .m-faq-b h2, .m-encart-g h3, .m-moment-t h2, .m-fil-nuit h3, .m-guillemet, .m-def, .m-ligne p, .m-plat-l, .m-sc-t h2, .entete-sec h2, .final h2, .faq-deux .cote h2) { opacity: 1; animation: none; }
}

/* ---------- 2. Pastilles et mentions ---------- */
.haut .sur, .m-couv .sur { display: none !important; }
.m-precision, .precision { display: none !important; }
.m-bande figcaption, .m-bande figcaption { position: static; max-width: 720px; margin: 22px auto 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; color: var(--encre); padding: 0; border-radius: 0; text-align: center; font: 400 clamp(19px, 1.8vw, 24px)/1.4 var(--titre); letter-spacing: -.015em; }
.m-bande figure { overflow: visible; aspect-ratio: auto; border-radius: 0; box-shadow: none; }
.m-bande figure img { border-radius: 40px 140px 40px 140px; aspect-ratio: 16 / 7; height: auto; box-shadow: 0 50px 100px -60px rgba(11, 26, 51, .5); }
@media (max-width: 900px) {
  .m-bande figure img { aspect-ratio: 4 / 3.2; border-radius: 26px 80px 26px 80px; }
  .m-bande figcaption { background: none; font-size: 19px; padding: 0 8px; }
}

/* ---------- 3. Le O du logo ---------- */
.m-sep { display: flex; align-items: center; justify-content: center; gap: 16px; }
.m-sep i { width: clamp(56px, 9vw, 110px); height: 1px; background: linear-gradient(90deg, transparent, rgba(201, 161, 90, .9)); }
.m-sep i:last-child { background: linear-gradient(270deg, transparent, rgba(201, 161, 90, .9)); }
.m-sep .m-o { width: 38px; height: 38px; display: block; filter: drop-shadow(0 0 10px rgba(233, 200, 138, .45)); }
.m-sep .m-o img { width: 100%; height: 100%; display: block; animation: m-o 4.2s ease-in-out infinite; }
.m-sep.gauche i:first-child { display: none; }
@keyframes m-o { 0%, 100% { transform: rotate(0) scale(1); } 50% { transform: rotate(45deg) scale(1.12); } }
.m-vague .m-sep i { background: linear-gradient(90deg, transparent, rgba(233, 200, 138, .7)); }
.m-vague .m-sep i:last-child { background: linear-gradient(270deg, transparent, rgba(233, 200, 138, .7)); }

/* Le grand chiffre doré ne coupe plus son dernier chiffre */
.m-chiffre-g > strong { padding: 0 .1em 0 .02em; margin-right: -.06em; }
.m-encart-g > strong, .m-semaine strong, .m-res-g strong { padding-right: .06em; }

/* ---------- 4. La vraie application, mise en scène ---------- */
.m-sc { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(36px, 5vw, 84px); align-items: center; max-width: 1220px; margin: 0 auto; }
.m-sc.inverse { grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); }
.m-sc.inverse .m-sc-t { order: 2; }
.m-sc.large { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: clamp(30px, 4vw, 56px); }
.m-sc.large .m-sc-t { max-width: 760px; }
.m-sc + .m-sc { margin-top: clamp(80px, 9vw, 130px); }
.m-sc-dem { font: 400 clamp(21px, 2vw, 27px)/1.4 var(--titre); letter-spacing: -.015em; color: #fff; text-wrap: balance; }
.m-sc-dem span { display: block; font: 500 15px/1.4 var(--titre); letter-spacing: 0; color: var(--m-or-n); margin-bottom: 10px; }
.m-sc-t h2 { margin-top: 26px; font-size: clamp(32px, 3.6vw, 50px); letter-spacing: -.035em; line-height: 1.08; color: #fff; text-wrap: balance; }
.m-sc-t h2 em { font-style: normal; color: var(--m-or-n); }
.m-sc-p { margin-top: 18px; font-size: 18px; line-height: 1.6; color: #c9d1e2; max-width: 520px; }
.m-sc.large .m-sc-p { margin-inline: auto; }
/* Sur fond clair */
.m-clair .m-sc-dem { color: var(--encre); }
.m-clair .m-sc-dem span { color: var(--m-or); }
.m-clair .m-sc-t h2 { color: var(--encre); }
.m-clair .m-sc-t h2 em { color: var(--m-or); }
.m-clair .m-sc-p { color: var(--texte); }

.m-gp { position: relative; margin: 0; width: min(100%, calc(var(--l) * 1.12)); justify-self: center; }
.m-gp::before { content: ""; position: absolute; inset: 6% -8% -4%; background: radial-gradient(closest-side, rgba(226, 181, 82, .2), rgba(42, 77, 176, .14) 55%, transparent 75%); filter: blur(24px); z-index: 0; pointer-events: none; }
.m-gp-fen { position: relative; z-index: 1; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 1px 2px rgba(15, 27, 51, .06), 0 30px 80px rgba(3, 8, 30, .5), 0 0 0 1px rgba(255, 255, 255, .08); transform: translateY(0); transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.m-clair .m-gp-fen { box-shadow: 0 1px 2px rgba(15, 27, 51, .06), 0 18px 48px rgba(15, 27, 51, .16), 0 0 0 1px #e6e6e6; }
.m-gp-barre { height: 36px; display: flex; align-items: center; gap: 8px; padding: 0 14px; background: #f9f9f9; border-bottom: 1px solid #e6e6e6; font: 500 13.5px/1 var(--titre); color: #142057; }
.m-gp-barre img { width: 18px; height: 18px; }
.m-gp-pts { margin-left: auto; display: flex; gap: 7px; }
.m-gp-pts i { width: 9px; height: 9px; border-radius: 50%; background: #d8d8d8; }
.m-gp-ecran { position: relative; background: #fff; }
.m-gp-ecran video, .m-gp-ecran img { display: block; width: 100%; height: 100%; object-fit: contain; background: #fff; }
/* 02/12, 17 h : la relance passe par l'image de fin posée devant la vidéo (fondu vers le début), plus par le blanc. */
.m-gp-ecran .m-gp-final { position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease; pointer-events: none; }
.m-gp.repart .m-gp-ecran .m-gp-final { opacity: 1; transition: none; }
.m-gp.calme video { display: none; }
.m-gp.calme .m-gp-ecran .m-gp-final { position: static; opacity: 1; }
.m-gp-fait { position: absolute; z-index: 2; left: -22px; bottom: 30px; display: flex; gap: 10px; align-items: center; background: #fff; color: #0f1b33; font: 500 17px/1 var(--titre); padding: 10px 20px 10px 10px; border-radius: 999px; box-shadow: 0 18px 48px rgba(15, 27, 51, .3); opacity: 0; transform: translateY(14px) scale(.94); transition: opacity .5s cubic-bezier(.2, .7, .2, 1), transform .5s cubic-bezier(.2, .7, .2, 1); pointer-events: none; }
.m-gp-fait span { width: 30px; height: 30px; border-radius: 50%; background: #1c9a52; color: #fff; display: grid; place-items: center; }
.m-gp-fait svg { width: 17px; height: 17px; }
.m-gp.fini .m-gp-fait { opacity: 1; transform: none; }
.m-gp.repart .m-gp-fait { opacity: 0; }
@media (hover: hover) and (pointer: fine) { .m-gp:hover .m-gp-fen { transform: translateY(-4px); } }
@media (max-width: 900px) {
  .m-sc, .m-sc.inverse { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .m-sc.inverse .m-sc-t { order: 0; }
  .m-gp { width: 100%; }
  .m-gp-fait { left: 10px; bottom: 12px; font-size: 15px; padding: 8px 16px 8px 8px; }
  .m-gp-fait span { width: 26px; height: 26px; }
  .m-gp-barre { height: 30px; font-size: 12.5px; }
}

/* ---------- 5. Les vrais résultats du mois ---------- */
.m-res { padding: clamp(90px, 10vw, 130px) 0; background: #fff; }
.m-res.ivoire { background: var(--fond-2); }
.m-res-g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; max-width: 1160px; margin: 0 auto; border-top: 1px solid #e8e2d2; }
.m-res-g article { padding: 38px 34px 40px 0; border-bottom: 1px solid #e8e2d2; }
.m-res-g article:not(:nth-child(3n + 1)) { padding-left: 34px; border-left: 1px solid #e8e2d2; }
.m-res-g strong { display: block; font: 500 clamp(52px, 5.4vw, 76px)/.95 var(--titre); letter-spacing: -.05em; background: linear-gradient(180deg, #E2B466, #B88334); -webkit-background-clip: text; background-clip: text; color: transparent; }
.m-res-u { display: block; margin-top: 8px; font: 500 15px/1.35 var(--titre); color: var(--m-or); }
.m-res-g h3 { margin-top: 18px; font-size: 21px; letter-spacing: -.02em; line-height: 1.25; }
.m-res-g p { margin-top: 8px; font-size: 16px; line-height: 1.6; color: var(--texte); }
.m-res-pied { max-width: 1160px; margin: 26px auto 0; font-size: 14px; color: #646875; text-align: center; }
@media (max-width: 900px) {
  .m-res-g { grid-template-columns: minmax(0, 1fr); }
  .m-res-g article, .m-res-g article:not(:nth-child(3n + 1)) { padding: 30px 0; border-left: 0; }
}

/* Les réveils des sentinelles : ce que tu dis, ce qui arrive, ce que je fais */
.m-rev { padding: clamp(90px, 10vw, 130px) 0; background: #fff; }
.m-rev-g { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; max-width: 1080px; margin: 0 auto; }
.m-rev-g article { position: relative; background: var(--fond-2); border-radius: 26px; padding: 32px 34px 30px; }
.m-rev-q { font: 400 clamp(20px, 1.8vw, 24px)/1.35 var(--titre); letter-spacing: -.015em; color: var(--encre); text-wrap: balance; }
.m-rev-q::before { content: "Tu me dis"; display: block; font: 500 14px/1 var(--titre); letter-spacing: 0; color: var(--m-or); margin-bottom: 12px; }
.m-rev-l { position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 14px; align-items: baseline; margin-top: 22px; padding-left: 22px; }
.m-rev-l::before { content: ""; position: absolute; left: 0; top: .45em; width: 10px; height: 10px; border-radius: 50%; background: #c08a1e; box-shadow: 0 0 0 5px rgba(192, 138, 30, .16); }
.m-rev-l.fait::before { background: #1c9a52; box-shadow: 0 0 0 5px rgba(28, 154, 82, .15); }
.m-rev-l + .m-rev-l { margin-top: 14px; }
.m-rev-l + .m-rev-l::after { content: ""; position: absolute; left: 4.5px; top: -22px; height: 22px; width: 1px; background: #e2d6b8; }
.m-rev-h { font: 500 16px/1.2 var(--titre); color: var(--encre); font-variant-numeric: tabular-nums; }
.m-rev-e { font-size: 17px; line-height: 1.5; color: var(--texte); }
.m-rev-l.fait .m-rev-e { color: var(--encre); font-weight: 600; }
@media (max-width: 900px) { .m-rev-g { grid-template-columns: minmax(0, 1fr); } .m-rev-g article { padding: 26px 22px; } .m-rev-l { grid-template-columns: 58px minmax(0, 1fr); } }

/* Les mesures : la 1re fois, puis ensuite */
.m-mes { padding: clamp(90px, 10vw, 130px) 0; background: var(--fond-2); }
.m-mes-g { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 56px; max-width: 1080px; margin: 0 auto; }
.m-mes-g h3 { font-size: 20px; letter-spacing: -.02em; line-height: 1.3; }
.m-mes-b { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 14px; align-items: center; margin-top: 14px; font-size: 15px; color: var(--texte); }
.m-mes-b i { display: block; height: 10px; border-radius: 99px; background: #d8d3c4; width: 0; transition: width 1.4s cubic-bezier(.2, .7, .2, 1) .2s; }
.m-mes-b.vite i { background: linear-gradient(90deg, #E2B466, #B88334); transition-delay: .7s; }
.m-mes-g article.vu .m-mes-b i { width: var(--w); }
.m-mes-b b { font: 500 17px/1 var(--titre); color: var(--encre); white-space: nowrap; font-variant-numeric: tabular-nums; }
.m-mes-b.vite b { color: var(--m-or); }
.m-mes-src { max-width: 1080px; margin: 34px auto 0; font-size: 14px; color: #646875; text-align: center; }
@media (max-width: 900px) { .m-mes-g { grid-template-columns: minmax(0, 1fr); } .m-mes-b { grid-template-columns: 78px minmax(0, 1fr) auto; } }
@media (prefers-reduced-motion: reduce) { .m-mes-b i { width: var(--w); transition: none; } .m-sep .m-o img { animation: none; } }

/* À propos : Joris et Revelys, côte à côte */
.m-qui { padding: clamp(90px, 10vw, 130px) 0; background: #fff; }
.m-qui-g { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; max-width: 1120px; margin: 0 auto; }
.m-qui-g article { border-radius: 28px; padding: clamp(30px, 3.4vw, 46px); background: var(--fond-2); }
.m-qui-g article.nuit { background: linear-gradient(160deg, #0e1d3f, #0B1A33 60%); color: #c9d1e2; }
.m-qui-g article img { height: 34px; width: auto; display: block; margin-bottom: 26px; }
.m-qui-g h2 { font-size: clamp(28px, 2.8vw, 38px); letter-spacing: -.03em; line-height: 1.12; }
.m-qui-g article.nuit h2 { color: #fff; }
.m-qui-g h2 em { font-style: normal; color: var(--m-or); }
.m-qui-g article.nuit h2 em { color: var(--m-or-n); }
.m-qui-g p { margin-top: 16px; font-size: 17px; line-height: 1.65; }
.m-qui-g dl { margin-top: 22px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 18px; font-size: 15.5px; }
.m-qui-g dt { color: #646875; }
.m-qui-g article.nuit dt { color: #93a3c6; }
.m-qui-g dd { margin: 0; color: var(--encre); font-weight: 500; }
.m-qui-g article.nuit dd { color: #fff; }
@media (max-width: 900px) { .m-qui-g { grid-template-columns: minmax(0, 1fr); } }

/* Mon espace, discret à côté du bouton */
.entete .actions .espace { font: 500 15px/1 var(--titre); color: var(--encre); text-decoration: none; padding: 10px 6px; white-space: nowrap; }
.entete .actions .espace:hover { color: var(--m-or); }
.menu-mobile .espace-m { display: block; text-align: center; margin-top: 14px; font: 500 16px var(--titre); color: var(--encre); }
@media (max-width: 1180px) { .entete .actions .espace { display: none; } }

/* La note des illustrations, dans le pied de page */
.pied .illustrations { margin-top: 10px; font-size: 13px; color: #646875; }

/* ---------- Compléments ---------- */
.m-reel { padding: clamp(90px, 10vw, 140px) 0; background: var(--fond-2); position: relative; overflow: hidden; }
.m-reel::before { content: ""; position: absolute; inset: -20% -10% auto; height: 70%; background: radial-gradient(640px circle at 78% 30%, rgba(226, 181, 82, .12), transparent 62%), radial-gradient(560px circle at 18% 70%, rgba(42, 77, 176, .08), transparent 60%); pointer-events: none; }
.m-reel > .c { position: relative; }
.m-vague + .m-reel, .m-reel + .m-res { padding-top: clamp(70px, 8vw, 110px); }
.m-deux-apres { margin-top: clamp(70px, 8vw, 110px); }
.m-deux-src { margin-top: 26px; text-align: center; font-size: 14px; color: #93a3c6; }
/* Réveils : l'heure au-dessus de ce qui se passe */
.m-rev-l { display: block; }
.m-rev-h { display: block; font-size: 14px; color: #8a6420; margin-bottom: 3px; }
.m-rev-l.fait .m-rev-h { color: #136c3a; }

/* La fenêtre du gros plan tient toujours dans la hauteur de l'écran ; « C'est fait. » est posé sous la fenêtre, sans rien couvrir. */
.m-gp { width: min(100%, calc(var(--l) * 1.12), calc((100vh - 110px) * var(--r))); }
.m-gp-fait { left: 50%; bottom: -26px; transform: translate(-50%, 14px) scale(.94); white-space: nowrap; }
.m-gp.fini .m-gp-fait { transform: translate(-50%, 0); }
.m-sc .m-gp { margin-bottom: 26px; }
@media (max-width: 900px) { .m-gp { width: 100%; } .m-gp-fait { left: 50%; bottom: -22px; } }
