/* Landing v5 : moins de texte, plus visuel. Téléphone d'abord. */
body.v5 { background: var(--creme); }
.v5 section { padding: clamp(64px, 9vw, 120px) 0; border-top: 0; }
.v5 h2 { font-size: clamp(32px, 5vw, 60px); line-height: 1.02; letter-spacing: -.03em; font-weight: 700; max-width: 14em; }
.v5 h2 span { color: var(--bleu); }
.v5 .bleu h2 span, .v5 .sombre h2 span { color: var(--or); }
.sur-titre { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--bleu); margin-bottom: 14px; }
.bleu .sur-titre, .sombre .sur-titre { color: var(--or); }

/* Détails repliables : on lit si on veut */
.plus { margin-top: 28px; border-top: 1px solid var(--ligne); }
.sombre .plus, .bleu .plus { border-color: var(--ligne-claire); }
.plus summary { list-style: none; cursor: pointer; padding: 16px 0; font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 10px; }
.plus summary::-webkit-details-marker { display: none; }
.plus summary::before { content: "+"; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; font-weight: 400; line-height: 1; transition: transform .2s; flex: 0 0 auto; }
.plus[open] summary::before { transform: rotate(45deg); }
.plus-corps { padding: 0 0 12px; max-width: 46em; font-size: 15px; line-height: 1.65; opacity: .88; }
.plus-corps p + p { margin-top: .8em; }
.caps-liens a { font-weight: 600; }

/* ---------- Ouverture ---------- */
.h5 { position: relative; padding: clamp(36px, 6vw, 84px) 0 clamp(56px, 7vw, 96px) !important; overflow: hidden; }
.h5-grille { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.h5 h1 { font-size: clamp(42px, 5.6vw, 78px); line-height: .98; letter-spacing: -.04em; margin: 0 0 28px; font-weight: 800; }
.h5 h1 span { display: block; color: var(--or); }
.h5-pastilles { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 30px; }
.h5-pastilles li { border: 1.5px solid rgba(255,255,255,.5); border-radius: 999px; padding: 7px 16px; font-weight: 600; font-size: 15px; }
.h5-note { margin-top: 16px; font-size: 13px; opacity: .8; letter-spacing: .02em; }
.h5-photo { margin: 0; position: relative; }
.h5-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; }
.h5-photo figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(20,22,36,.7); color: #fff; font-size: 12px; padding: 6px 10px; border-radius: 999px; backdrop-filter: blur(4px); }
.h5-defile { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; opacity: .7; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.h5-defile i { width: 2px; height: 26px; background: currentColor; border-radius: 2px; animation: goutte 1.6s ease-in-out infinite; transform-origin: top; }
@keyframes goutte { 0% { transform: scaleY(0); opacity: 1; } 70% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Scènes de marque ---------- */
.scenes { padding-bottom: 40px !important; background: var(--encre); color: var(--creme); }
.scenes-tete { margin-bottom: 36px; }
.scenes .sur-titre { color: var(--or); }
.scenes h2 span { color: var(--or); }
.scene { position: relative; }
.scene-colle { padding: 18px 0; }
.scene-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 64px); align-items: center; }
.scene-visu { position: relative; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; }
.scene-visu img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transform: scale(1.04); transition: opacity .6s ease, transform 1.2s ease; }
.scene-visu img.capture { padding: 10px; }
.scene-visu img.on { opacity: 1; transform: none; }
.scene-txt { position: relative; padding: 8px 0; }
.scene-marque { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-size: clamp(30px, 3.4vw, 46px); font-weight: 800; letter-spacing: -.03em; line-height: 1; margin-bottom: 22px; }
.scene-marque span { flex-basis: 100%; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; opacity: .75; margin-top: 8px; }
.scene-pas { list-style: none; display: grid; gap: 14px; }
.scene-pas li { display: flex; flex-direction: column; gap: 2px; transition: opacity .5s ease, transform .5s ease; }
.phrase { font-size: clamp(21px, 2.2vw, 30px); font-weight: 600; line-height: 1.2; letter-spacing: -.015em; }
.gros { font-size: clamp(44px, 5.4vw, 76px); font-weight: 800; line-height: 1; letter-spacing: -.04em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sous { font-size: 14px; font-weight: 500; opacity: .8; letter-spacing: .01em; }
.scene-points { display: flex; gap: 6px; margin-top: 22px; }
.scene-points i { width: 22px; height: 4px; border-radius: 4px; background: currentColor; opacity: .2; transition: opacity .3s; }
.scene-points i.on { opacity: .9; }

/* Défilement actif : la scène reste collée et se remplit étape par étape */
.scenes-on .scene { height: calc(var(--n, 4) * 62vh + 100vh); height: calc(var(--n, 4) * 62svh + 100svh); }
.scenes-on .scene-colle { position: sticky; top: 64px; height: calc(100vh - 64px); height: calc(100svh - 64px); display: flex; align-items: center; padding: 0; }
.scenes-on .scene-pas li { opacity: 0; transform: translateY(14px); }
.scenes-on .scene-pas li.on { opacity: .45; transform: none; }
.scenes-on .scene-pas li.on.dernier { opacity: 1; }
.scenes-on .scene-pas li.on:has(.fort) { opacity: 1; }
.scenes-on .scene-visu img:not(.on) { opacity: 0; }
html:not(.scenes-on) .scene-visu img { opacity: 0; }
html:not(.scenes-on) .scene-visu img.on { opacity: 1; }
html:not(.scenes-on) .scene + .scene { margin-top: 48px; }

/* Univers Marius */
.s-marius .scene-colle { background: #FCF6EC; color: #10264A; }
.s-marius .scene-marque em { font-style: normal; font-family: "Permanent Marker", cursive; font-weight: 400; color: #E2477C; transform: rotate(-3deg); display: inline-block; }
.s-marius .scene-visu { background: #10264A; }
.s-marius .gros { color: #2F6FE4; }
.s-marius .marqueur { font-family: "Permanent Marker", cursive; font-weight: 400; color: #E2477C; font-size: clamp(24px, 2.4vw, 34px); }
/* Univers OBORO */
.s-oboro .scene-colle { background: #F1E9DA; color: #2E241D; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='40' viewBox='0 0 80 40'%3E%3Cg fill='none' stroke='%23A3201B' stroke-opacity='.08' stroke-width='2'%3E%3Ccircle cx='40' cy='40' r='36'/%3E%3Ccircle cx='40' cy='40' r='26'/%3E%3Ccircle cx='40' cy='40' r='16'/%3E%3Ccircle cx='0' cy='40' r='36'/%3E%3Ccircle cx='0' cy='40' r='26'/%3E%3Ccircle cx='0' cy='40' r='16'/%3E%3Ccircle cx='80' cy='40' r='36'/%3E%3Ccircle cx='80' cy='40' r='26'/%3E%3Ccircle cx='80' cy='40' r='16'/%3E%3C/g%3E%3C/svg%3E"); }
.s-oboro .scene-marque, .s-oboro .gros { font-family: "Shippori Mincho", serif; color: #1C1410; }
.s-oboro .scene-marque em { font-style: normal; }
.s-oboro .gros.fort { color: #8E1A15; }
.s-oboro .scene-visu { background: #1C1410; }
.s-oboro .sceau { position: absolute; top: 12px; right: 12px; background: #A3201B; color: #F1E9DA; font-family: "Shippori Mincho", serif; font-weight: 800; writing-mode: vertical-rl; padding: 8px 6px; border-radius: 3px; font-size: 18px; z-index: 2; }
.s-oboro .barre { position: relative; display: inline-block; width: max-content; }
.s-oboro .barre::after { content: ""; position: absolute; left: -4%; right: -4%; top: 52%; height: 4px; background: #A3201B; transform: scaleX(0); transform-origin: left; transition: transform .6s ease .1s; }
.s-oboro[data-k]:not([data-k="0"]) .barre::after { transform: scaleX(1); }
html:not(.scenes-on) .s-oboro .barre::after { transform: scaleX(1); }
/* Univers Bahya */
.s-bahya .scene-colle { background: #053056; color: #E6EDF5; }
.s-bahya .scene-marque { font-family: "Jost", sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: #fff; }
.s-bahya .gros { font-family: "Jost", sans-serif; color: #F14812; }
.s-bahya .phrase { font-family: "Jost", sans-serif; font-weight: 500; }
.s-bahya .scene-visu { background: #031F38; }
.s-bahya .arabe { position: absolute; top: 10px; left: 0; right: 0; text-align: center; font-family: "Noto Kufi Arabic", sans-serif; font-weight: 800; color: #F14812; font-size: 34px; z-index: 2; text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.scenes-pied { margin-top: 28px; }

/* ---------- 12IA avant / après ---------- */
.ia5 h2 { margin-bottom: 28px; }
.bascule { max-width: 760px; }
.bascule-boutons { display: inline-flex; background: var(--creme-2); border-radius: 999px; padding: 4px; margin-bottom: 18px; }
.bascule-boutons button { border: 0; background: none; padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--encre); transition: background .25s, color .25s; }
.bascule-boutons button[aria-selected="true"] { background: var(--encre); color: var(--creme); }
.bascule-cotes { display: grid; }
.cote { grid-area: 1 / 1; opacity: 0; transform: translateY(8px); transition: opacity .45s, transform .45s; pointer-events: none; cursor: pointer; }
.cote.actif { opacity: 1; transform: none; pointer-events: auto; }
.cote b { display: block; font-size: clamp(64px, 11vw, 132px); font-weight: 800; letter-spacing: -.05em; line-height: .95; }
.cote.avant b { color: #9a9488; }
.cote.apres b { color: var(--bleu); }
.cote span { display: block; font-size: 17px; font-weight: 500; margin: 8px 0 16px; max-width: 30em; }
.cote img { width: 100%; border-radius: 12px; border: 1px solid var(--ligne); }
.bascule-indice { font-size: 13px; opacity: .65; margin-top: 12px; }
.ia5-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 28px; max-width: 760px; }
.ia5-photos img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; }

/* ---------- Méthode ---------- */
.meth5 h2 { margin-bottom: 28px; }

/* ---------- C'est pour toi ---------- */
.cible5 h2 { margin-bottom: 26px; }

/* ---------- On est deux ---------- */
.deux5-chiffres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 32px 0 40px; }
.deux5-chiffres div { border-top: 2px solid var(--or); padding-top: 12px; }
.deux5-chiffres b { display: block; font-size: clamp(56px, 8vw, 104px); font-weight: 800; line-height: 1; letter-spacing: -.05em; color: var(--or); }
.deux5-chiffres span { font-size: 14px; opacity: .85; display: block; margin-top: 6px; }
.deux5-grille { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(20px, 4vw, 48px); align-items: start; }
.deux5-photo { margin: 0; position: relative; }
.deux5-photo img { width: 100%; border-radius: 16px; aspect-ratio: 4 / 5; object-fit: cover; }
.deux5-photo figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(20,22,36,.7); color: #fff; font-size: 12px; padding: 6px 10px; border-radius: 999px; }
.fiches { display: grid; gap: 14px; }
.fiche { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 16px; padding: 20px; }
.fiche-qui { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--or); margin-bottom: 10px; }
.fiche-ligne { font-size: 18px; font-weight: 600; line-height: 1.35; }
.fiche-chiffres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.fiche-chiffres b { display: block; font-size: clamp(24px, 2.8vw, 34px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; white-space: nowrap; }
.fiche-chiffres span { font-size: 12px; opacity: .8; }
.fiche-logos { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin-top: 16px; padding: 10px 14px; background: var(--creme); color: var(--encre); border-radius: 10px; }
.fiche-logos img { height: 28px; width: auto; max-width: 110px; object-fit: contain; }
.fiche-logos b { font-size: 13px; letter-spacing: .08em; }
.fiche-logos span { font-size: 12px; opacity: .7; }
.fiche details { margin-top: 12px; }
.fiche summary { cursor: pointer; font-size: 14px; font-weight: 600; opacity: .85; list-style: none; }
.fiche summary::-webkit-details-marker { display: none; }
.fiche summary::after { content: " +"; }
.fiche details[open] summary::after { content: " −"; }
.fiche details p { font-size: 15px; line-height: 1.6; opacity: .9; margin-top: 8px; }
.deux5-phrase { margin-top: 36px; font-size: clamp(20px, 2.4vw, 28px); font-weight: 600; line-height: 1.3; max-width: 30em; }

/* ---------- Collabs ---------- */
.collabs5 h2 { margin-bottom: 26px; }
.glisse5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.c5 { margin: 0; }
.c5 img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; background: #eee; }
.c5 figcaption { margin-top: 10px; display: flex; flex-direction: column; gap: 2px; }
.c5 figcaption b { font-size: 16px; }
.c5 figcaption span { font-size: 13px; opacity: .7; }

/* ---------- 120 jours ---------- */
.jours5 h2 { margin-bottom: 32px; }
.frise { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; counter-reset: f; }
.frise li { position: relative; padding: 22px 20px; border: 1px solid var(--ligne-claire); border-radius: 16px; display: flex; flex-direction: column; gap: 8px; }
.frise i { font-style: normal; width: 36px; height: 36px; border-radius: 50%; background: var(--or); color: var(--encre); display: grid; place-items: center; font-weight: 800; }
.frise b { font-size: 21px; line-height: 1.2; }
.frise span { font-size: 15px; opacity: .78; }
.jours5-note { margin-top: 24px; font-size: 15px; opacity: .8; }

/* ---------- Garantie ---------- */
.garantie5 h2 { margin-bottom: 28px; }
.calc { max-width: 640px; background: #fff; border: 1px solid var(--ligne); border-radius: 18px; padding: 8px 20px 18px; }
.calc-ligne { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--ligne); }
.calc-ligne span { font-size: 15px; opacity: .75; }
.calc-ligne b { font-size: 20px; white-space: nowrap; }
.calc-ligne .plus-v { color: #1a8a4a; }
.calc-ligne .moins-v { color: #b3261e; }
.calc-ligne.total { border-bottom: 0; }
.calc-ligne.total span { opacity: 1; font-weight: 600; }
.calc-ligne.total b { font-size: 32px; color: var(--bleu); }
.calc-pied { font-size: 14px; opacity: .75; }

/* ---------- FAQ, étapes ---------- */
.faq5 h2 { margin-bottom: 20px; }
.etapes5 { padding: 0 0 56px !important; }
.etapes5-liste { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; counter-reset: e; }
.etapes5-liste li { counter-increment: e; padding: 16px; border-radius: 14px; background: var(--creme-2); display: flex; flex-direction: column; gap: 2px; }
.etapes5-liste li::before { content: counter(e); font-weight: 800; color: var(--bleu); font-size: 14px; }
.etapes5-liste b { font-size: 17px; }
.etapes5-liste span { font-size: 13px; opacity: .7; }

/* Formulaire : écran « ce qu'on voit déjà » */
.vu { display: none; }
.vu.actif { display: block; animation: entre .35s ease; }
.vu h3 { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 14px; }
.vu-levier { font-size: 17px; line-height: 1.55; margin-bottom: 16px; }
.vu-liste { margin: 0 0 22px; padding-left: 20px; }
.vu-liste li { margin-bottom: 6px; font-size: 15px; }
.agenda h3::first-letter { text-transform: uppercase; }

/* ---------- Téléphone ---------- */
@media (max-width: 760px) {
  .h5-grille { grid-template-columns: 1fr; }
  .h5-photo { order: -1; }
  .h5-photo img { aspect-ratio: 16 / 11; }
  .h5 h1 { font-size: 42px; margin-bottom: 20px; }
  .h5-pastilles { margin-bottom: 22px; }
  .h5-defile { display: none; }

  .scene-in { grid-template-columns: 1fr; gap: 14px; }
  .scene-visu { aspect-ratio: auto; height: 46vh; height: 46svh; min-height: 240px; max-height: 440px; border-radius: 14px; }
  .scene-marque { font-size: 30px; margin-bottom: 14px; }
  .scene-pas { gap: 10px; }
  .phrase { font-size: 20px; }
  .gros { font-size: 46px; }
  .s-marius .marqueur { font-size: 22px; }
  .scene-points { margin-top: 14px; }
  .scenes-on .scene-colle { align-items: flex-start; padding-top: 14px; }
  .s-oboro .sceau { font-size: 14px; padding: 6px 4px; }
  .s-bahya .arabe { font-size: 26px; }

  .glisse5 { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gout) * -1); padding: 0 var(--gout) 6px; scrollbar-width: none; }
  .glisse5::-webkit-scrollbar { display: none; }
  .c5 { flex: 0 0 62%; scroll-snap-align: start; }

  .deux5-chiffres { gap: 10px; margin: 24px 0 28px; }
  .deux5-chiffres b { font-size: 56px; }
  .deux5-chiffres span { font-size: 12px; }
  .deux5-grille { grid-template-columns: 1fr; }
  .deux5-photo img { aspect-ratio: 16 / 11; }
  .fiche-chiffres b { font-size: 22px; }

  .frise { grid-template-columns: 1fr; gap: 10px; }
  .etapes5-liste { grid-template-columns: 1fr 1fr; }
  .calc-ligne b { font-size: 18px; }
  .calc-ligne.total b { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .h5-defile i { animation: none; }
  .scene-visu img { transition: none; }
}
.h5-photo img, .deux5-photo img { height: auto; }

/* Retours du 5 déc. : images entières, rien posé dessus */
.s-bahya .arabe { display: none; }
.s-oboro .sceau { top: auto; bottom: 10px; left: 10px; right: auto; }
.s-marius .scene-visu { background: #fff; }
/* Les trois leviers, tous visibles */
.leviers5 { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 8px; }
.leviers5 li { border: 1px solid var(--ligne-claire); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.leviers5 i { font-style: normal; font-weight: 800; color: var(--or); font-size: 14px; letter-spacing: .1em; }
.leviers5 .lv-titre { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; opacity: .7; margin-top: -6px; }
.leviers5 b { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; letter-spacing: -.02em; }
.leviers5 span { font-size: 16px; opacity: .8; }
.leviers5 em { font-style: normal; font-weight: 600; color: var(--or); font-size: 15px; margin-top: auto; }
.meth5 h2 span { color: var(--or); }
@media (max-width: 760px) { .leviers5 { grid-template-columns: 1fr; gap: 12px; } .leviers5 li { padding: 18px; } }
/* C'est pour toi si / pas pour toi si */
.cible5 .deux-col { margin-top: 18px; }
.cible5-btn { margin-top: 28px; }
/* Téléphone : l'image prend toute la place laissée par le texte */
@media (max-width: 760px) {
  .scenes-on .scene-colle { padding: 10px 0 12px; }
  .scenes-on .scene-in { display: flex; flex-direction: column; align-items: stretch; height: 100%; gap: 12px; width: 100%; }
  .scenes-on .scene-visu { flex: 1 1 auto; height: auto; min-height: 200px; max-height: none; }
  .scenes-on .scene-txt { flex: 0 0 auto; padding: 0; }
  .scene-marque { font-size: 26px; margin-bottom: 10px; }
  .scene-marque span { margin-top: 4px; font-size: 11px; }
  .scene-pas { gap: 8px; }
  .phrase { font-size: 18px; line-height: 1.25; }
  .gros { font-size: 40px; }
  .s-marius .marqueur { font-size: 20px; }
  .scene-points { margin-top: 10px; }
}
/* Ce qui s'ouvre doit se voir : de vrais boutons, avec flèche */
.plus summary { display: inline-flex; padding: 10px 16px 10px 12px; margin: 8px 0; border: 1.5px solid currentColor; border-radius: 999px; }
.plus summary::after { content: "▾"; margin-left: 2px; transition: transform .2s; }
.plus[open] summary::after { transform: rotate(180deg); }
.fiche summary { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1.5px solid currentColor; border-radius: 999px; opacity: 1; margin-top: 4px; }
.fiche summary::after { content: "▾"; }
.fiche details[open] summary::after { content: "▴"; }
.fiche details[open] summary { margin-bottom: 10px; }
