/* CV Damien Ladurelle — grille de tuiles en verre, plein écran sur ordinateur */

/* Bento « en un coup d'œil » : une tuile = une idée, quelques mots, un grand chiffre. Le détail en 1 clic. */
:root {
  --bg: #EEF0F5; --ink: #0A0A0D; --ink-2: #33363F; --muted: #686C78; --hair: rgba(10, 10, 13, .09);
  --accent: #0060DF; --accent-ink: #FFFFFF; --accent-soft: rgba(0, 96, 223, .14);
  --glass: rgba(255, 255, 255, .56); --glass-strong: rgba(255, 255, 255, .84); --glass-border: rgba(255, 255, 255, .9); --glass-hi: rgba(255, 255, 255, 1);
  --shadow: 0 18px 40px -18px rgba(20, 24, 40, .22); --scrim: rgba(12, 14, 22, .34);
  --inv: #0B0C10; --inv-ink: #F5F6F8; --inv-muted: #9EA2AE;
  --btn: #0A0A0D; --btn-ink: #FFFFFF; --ok: #1E9E5A; --ok-soft: rgba(30, 158, 90, .14); --ok-ink: #11663D; --gold: #E2A100;
  --orb-a: #8DB8FF; --orb-b: #D2B4FF; --orb-c: #FFC9A8; --orb-d: #9FE6D4; --orb-op: .66;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #06070A; --ink: #F5F6F8; --ink-2: #CFD2D9; --muted: #9195A1; --hair: rgba(255, 255, 255, .1);
  --accent: #5AA2FF; --accent-ink: #06070A; --accent-soft: rgba(90, 162, 255, .16);
  --glass: rgba(27, 30, 39, .58); --glass-strong: rgba(40, 44, 56, .84); --glass-border: rgba(255, 255, 255, .09); --glass-hi: rgba(255, 255, 255, .1);
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, .6); --scrim: rgba(0, 0, 0, .55);
  --inv: #F3F4F7; --inv-ink: #0A0A0D; --inv-muted: #5E626D;
  --btn: #F5F6F8; --btn-ink: #06070A; --ok: #4FD08A; --ok-soft: rgba(79, 208, 138, .16); --ok-ink: #8BE6B3; --gold: #FFC93D;
  --orb-a: #1E4FD6; --orb-b: #6B2FD0; --orb-c: #B8502A; --orb-d: #0F8C78; --orb-op: .42; color-scheme: dark; } }
:root[data-theme="dark"] {
  --bg: #06070A; --ink: #F5F6F8; --ink-2: #CFD2D9; --muted: #9195A1; --hair: rgba(255, 255, 255, .1);
  --accent: #5AA2FF; --accent-ink: #06070A; --accent-soft: rgba(90, 162, 255, .16);
  --glass: rgba(27, 30, 39, .58); --glass-strong: rgba(40, 44, 56, .84); --glass-border: rgba(255, 255, 255, .09); --glass-hi: rgba(255, 255, 255, .1);
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, .6); --scrim: rgba(0, 0, 0, .55);
  --inv: #F3F4F7; --inv-ink: #0A0A0D; --inv-muted: #5E626D;
  --btn: #F5F6F8; --btn-ink: #06070A; --ok: #4FD08A; --ok-soft: rgba(79, 208, 138, .16); --ok-ink: #8BE6B3; --gold: #FFC93D;
  --orb-a: #1E4FD6; --orb-b: #6B2FD0; --orb-c: #B8502A; --orb-d: #0F8C78; --orb-op: .42; color-scheme: dark; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.4; letter-spacing: -.012em; -webkit-font-smoothing: antialiased; padding-inline: 14px; padding-block: 0 96px; overflow-x: hidden; }
a { color: var(--accent); text-decoration: none; }
button { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 12px; }

.orbs { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: var(--orb-op); }
.orb.a { width: 640px; height: 640px; left: -240px; top: -200px; background: var(--orb-a); animation: da 34s ease-in-out infinite alternate; }
.orb.b { width: 560px; height: 560px; right: -220px; top: 16%; background: var(--orb-b); animation: db 40s ease-in-out infinite alternate; }
.orb.c { width: 520px; height: 520px; left: 10%; bottom: -260px; background: var(--orb-c); animation: dc 44s ease-in-out infinite alternate; }
.orb.d { width: 440px; height: 440px; right: -120px; bottom: -120px; background: var(--orb-d); animation: dd 38s ease-in-out infinite alternate; }
@keyframes da { to { transform: translate(16vw, 10vh); } }
@keyframes db { to { transform: translate(-14vw, 12vh); } }
@keyframes dc { to { transform: translate(12vw, -12vh); } }
@keyframes dd { to { transform: translate(-10vw, -14vh); } }

.glass { background: var(--glass); -webkit-backdrop-filter: blur(30px) saturate(180%); backdrop-filter: blur(30px) saturate(180%); border: 1px solid var(--glass-border); box-shadow: inset 0 1px 0 var(--glass-hi), var(--shadow); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 0 20px; border-radius: 999px; border: 0; font-size: 15px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: transform .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(.97); }
.btn-dark { background: var(--btn); color: var(--btn-ink); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--hair); }
.btn-sm { min-height: 38px; padding: 0 15px; font-size: 14px; }

.top { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 12px); z-index: 20; max-width: 1200px; margin: 12px auto 14px; padding: 6px; border-radius: 999px; display: flex; align-items: center; gap: 8px; }
.mono { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--btn); color: var(--btn-ink); font-size: 13px; font-weight: 700; flex: none; }
.top .who { font-size: 14px; font-weight: 600; }
.top .right { margin-left: auto; display: flex; gap: 6px; }

/* Grille */
.bento { max-width: 1200px; margin: 0 auto; display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas: "id id" "story story" "y c" "m k" "dispo dispo" "par par" "note note"; }
.tile { border-radius: 28px; padding: 20px; min-width: 0; position: relative; overflow: hidden; }
.eb { font-size: 13px; font-weight: 600; color: var(--muted); }
.t-id { grid-area: id; display: flex; flex-direction: column; padding: 0; }
.t-story { grid-area: story; } .t-y { grid-area: y; } .t-c { grid-area: c; } .t-m { grid-area: m; } .t-k { grid-area: k; }
.t-par { grid-area: par; } .t-note { grid-area: note; } .t-dispo { grid-area: dispo; }

/* Identité */
.photo { position: relative; height: 270px; border: 0; padding: 0; background: none; cursor: pointer; width: 100%; overflow: hidden; }
.photo img { position: absolute; left: 50%; bottom: 0; height: 100%; width: auto; max-width: none; transform: translateX(-50%); transition: opacity .5s ease, transform .6s cubic-bezier(.16, 1, .3, 1); filter: drop-shadow(0 18px 24px rgba(20, 24, 40, .2)); }
.photo .pied { opacity: 0; height: 104%; transform: translate(-50%, 6%); }
.photo.on .buste { opacity: 0; transform: translate(-50%, -4%) scale(.96); }
.photo.on .pied { opacity: 1; transform: translate(-50%, 2%); }
@media (hover: hover) { .t-id:hover .buste { opacity: 0; transform: translate(-50%, -4%) scale(.96); } .t-id:hover .pied { opacity: 1; transform: translate(-50%, 2%); } .t-id:hover .conv { opacity: 1; transform: none; } }
.conv { position: absolute; left: 14px; top: 14px; font-size: 12px; font-weight: 600; padding: 6px 11px; border-radius: 999px; background: var(--btn); color: var(--btn-ink); opacity: 0; transform: translateY(6px); transition: opacity .35s .15s ease, transform .35s .15s ease; }
.photo.on .conv { opacity: 1; transform: none; }
.id-txt { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 6px; border-top: 1px solid var(--hair); }
.name { font-size: clamp(34px, 9vw, 44px); font-weight: 700; letter-spacing: -.05em; line-height: 1; }
.title { font-size: 16px; color: var(--ink-2); font-weight: 500; }
.id-cta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

/* Story (tuile sombre) */
.t-story { background: var(--inv); color: var(--inv-ink); border: 0; cursor: pointer; text-align: left; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 230px; box-shadow: var(--shadow); width: 100%; font: inherit; }
.t-story .eb { color: var(--inv-muted); }
.t-story h2 { font-size: clamp(30px, 6vw, 44px); font-weight: 700; letter-spacing: -.05em; line-height: 1; }
.t-story .bars { display: flex; gap: 5px; }
.t-story .bars i { flex: 1; height: 3px; border-radius: 3px; background: rgba(128, 128, 140, .35); }
.t-story .bars i:first-child { background: var(--accent); }
.t-story .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.play { width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; flex: none; transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
.t-story:hover .play { transform: scale(1.08); }
.av { width: 54px; height: 54px; border-radius: 50%; padding: 3px; background: conic-gradient(from 200deg, var(--accent), #8FBCFF, var(--accent)); flex: none; }
.av span { display: block; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; border: 2px solid var(--inv); background: var(--inv); }
.av img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; }

/* Chiffres */
.num { display: flex; flex-direction: column; justify-content: space-between; gap: 10px; min-height: 150px; }
.num b { font-size: clamp(40px, 11vw, 64px); font-weight: 700; letter-spacing: -.055em; line-height: .95; font-variant-numeric: tabular-nums; white-space: nowrap; }
.num b.accent { color: var(--accent); }
.num b small { font-size: .5em; letter-spacing: -.03em; }
.num span.cap { font-size: 13px; color: var(--muted); line-height: 1.3; }

/* Disponibilité */
.t-dispo { display: flex; flex-direction: column; gap: 10px; }
.live { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ok-ink); }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px var(--ok-soft); }
.t-dispo strong { font-size: clamp(24px, 5vw, 30px); letter-spacing: -.04em; line-height: 1.05; }
.t-dispo .cap { font-size: 13px; color: var(--muted); }
.t-dispo .btn { margin-top: auto; align-self: flex-start; }

/* Parcours */
.t-par { display: flex; flex-direction: column; gap: 16px; cursor: pointer; border: 1px solid var(--glass-border); text-align: left; font: inherit; color: inherit; width: 100%; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; position: relative; }
.steps::before { content: ""; position: absolute; left: 6px; right: 6px; top: 6px; height: 2px; background: var(--accent-soft); }
.step { position: relative; display: flex; flex-direction: column; gap: 3px; padding-top: 22px; min-width: 0; }
.step::before { content: ""; position: absolute; left: 0; top: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 3px solid var(--accent); }
.step.now::before { background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
.step .y { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.step .co { font-size: 16px; font-weight: 700; letter-spacing: -.03em; line-height: 1.15; }
.step .r { font-size: 12px; color: var(--muted); line-height: 1.3; }
.more { font-size: 14px; font-weight: 600; color: var(--accent); }

/* Avis */
.t-note { display: flex; flex-direction: column; justify-content: space-between; gap: 10px; }
.t-note b { font-size: clamp(40px, 10vw, 56px); font-weight: 700; letter-spacing: -.055em; line-height: 1; }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 15px; }
.t-note .cap { font-size: 13px; color: var(--muted); }

/* Bouton WhatsApp flottant (mobile) */
.float { position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 14px); transform: translateX(-50%); z-index: 30; min-height: 54px; padding: 0 26px; box-shadow: 0 18px 34px -12px rgba(10, 10, 13, .5); }

/* Fiches */
.scrim { position: fixed; inset: 0; z-index: 50; background: var(--scrim); display: flex; align-items: flex-end; justify-content: center; animation: fade .2s ease both; }
.sheet { width: 100%; max-width: 680px; max-height: 88vh; overflow-y: auto; border-radius: 30px 30px 0 0; padding: 10px 22px calc(env(safe-area-inset-bottom, 0px) + 26px); background: var(--glass-strong); animation: up .35s cubic-bezier(.16, 1, .3, 1) both; }
.grab { width: 40px; height: 5px; border-radius: 5px; background: var(--hair); margin: 0 auto 10px; }
.sh { display: flex; align-items: center; justify-content: space-between; padding: 6px 0 14px; }
.sh h2 { font-size: 26px; letter-spacing: -.04em; }
.x { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--hair); background: var(--glass); cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.job { padding: 16px 0; border-top: 1px solid var(--hair); }
.job .y { font-size: 13px; color: var(--muted); }
.job h3 { font-size: 20px; letter-spacing: -.03em; margin-top: 2px; }
.job .r { font-size: 14px; color: var(--ink-2); }
.job ul { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 15px; color: var(--ink-2); }
.job li { display: flex; gap: 10px; }
.job li::before { content: ""; width: 12px; height: 1px; background: var(--accent); margin-top: 11px; flex: none; }
.small { font-size: 13px; color: var(--muted); margin-top: 14px; line-height: 1.55; }
.line { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 0; border-top: 1px solid var(--hair); }
.line span { min-width: 0; overflow-wrap: anywhere; font-weight: 600; }
.line small { display: block; font-size: 12px; font-weight: 400; color: var(--muted); }
@keyframes fade { from { opacity: 0; } }
@keyframes up { from { opacity: 0; transform: translateY(36px); } }

/* Story plein écran */
.story { position: fixed; inset: 0; z-index: 60; background: var(--bg); display: flex; flex-direction: column; animation: fade .2s ease both; }
.story .orbs { z-index: 0; }
.st-bars { position: relative; z-index: 3; display: flex; gap: 5px; padding: calc(env(safe-area-inset-top, 0px) + 16px) 20px 0; max-width: 720px; width: 100%; margin: 0 auto; }
.st-bars i { flex: 1; height: 3px; border-radius: 3px; background: var(--hair); overflow: hidden; }
.st-bars i span { display: block; height: 100%; width: 0; background: var(--ink); }
.st-top { position: relative; z-index: 3; display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; max-width: 720px; width: 100%; margin: 0 auto; font-size: 13px; color: var(--muted); }
.st-stage { position: relative; z-index: 4; flex: 1; display: grid; align-items: center; padding: 0 28px 70px; max-width: 720px; width: 100%; margin: 0 auto; pointer-events: none; }
.slide { display: flex; flex-direction: column; gap: 16px; animation: sin .34s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes sin { from { opacity: 0; transform: translateX(30px); } }
.slide .k { font-size: clamp(96px, 28vw, 200px); font-weight: 700; letter-spacing: -.06em; line-height: .86; color: var(--accent); }
.slide h2 { font-size: clamp(30px, 7vw, 52px); font-weight: 700; letter-spacing: -.045em; line-height: 1.02; }
.slide p { font-size: 18px; color: var(--ink-2); max-width: 40ch; }
.slide img { height: min(44vh, 380px); width: auto; align-self: flex-start; filter: drop-shadow(0 24px 30px rgba(20, 24, 40, .22)); }
.slide .cta { display: flex; flex-wrap: wrap; gap: 10px; pointer-events: auto; }
.st-zone { position: absolute; top: 96px; bottom: 0; z-index: 3; border: 0; background: transparent; cursor: pointer; }
.st-zone.prev { left: 0; width: 30%; } .st-zone.mid { left: 30%; width: 40%; } .st-zone.next { right: 0; width: 30%; }

@media (min-width: 720px) {
  .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-areas: "id id story story" "id id y c" "m k dispo dispo" "par par par par" "note note note note"; }
}
@media (min-width: 1080px) {
  body { padding-inline: 28px; padding-block: 0 28px; }
  .float { display: none; }
  .bento { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: 248px 248px 214px;
    grid-template-areas:
      "id id id id y y c c story story story story"
      "id id id id m m k k story story story story"
      "par par par par par par note note note dispo dispo dispo"; }
  .photo { height: 300px; }
  .num { min-height: 0; }
  .num b { font-size: clamp(48px, 4.6vw, 66px); }
  .t-dispo strong { font-size: 26px; }
  .t-story { min-height: 0; padding: 30px; }
  .t-story h2 { font-size: 52px; }
  .scrim { align-items: center; }
  .sheet { border-radius: 30px; }
}
/* Ordinateur : la page occupe exactement la hauteur de l'écran, sans défilement */
@media (min-width: 1080px) and (min-height: 620px) {
  html, body { height: 100%; }
  body { height: 100vh; height: 100dvh; display: flex; flex-direction: column; padding-block: 0; overflow: hidden; }
  .top { position: relative; top: 0; flex: none; width: 100%; margin: clamp(10px, 1.6vh, 18px) auto; }
  .top, .bento { max-width: min(calc(100vw - 56px), max(1200px, calc((100vh - 110px) * 1.52))); }
  .bento { flex: 1; min-height: 0; width: 100%; margin: 0 auto clamp(14px, 2.4vh, 28px); gap: clamp(10px, 1.4vh, 16px); grid-template-rows: minmax(0, 1fr) minmax(0, 1fr) minmax(0, .92fr); }
  .t-dispo { gap: clamp(4px, 1.1vh, 10px); }
  .t-par { gap: clamp(8px, 1.6vh, 16px); }
  .tile { padding: clamp(16px, 2.4vh, 30px); }
  .t-id { padding: 0; }
  .photo { flex: 1; min-height: 0; height: auto; }
  .id-txt { padding: clamp(14px, 2vh, 24px) clamp(18px, 2.4vh, 28px) clamp(16px, 2.4vh, 28px); }
  .name { font-size: clamp(32px, 4.8vh, 56px); }
  .title { font-size: clamp(14px, 1.8vh, 18px); }
  .id-cta { margin-top: clamp(6px, 1.2vh, 14px); }
  .num b { font-size: clamp(42px, 7vh, 84px); }
  .t-story { padding: clamp(20px, 3.2vh, 40px); }
  .t-story h2 { font-size: clamp(36px, 6vh, 72px); }
  .play { width: clamp(52px, 7vh, 76px); height: clamp(52px, 7vh, 76px); }
  .t-note b { font-size: clamp(40px, 6.4vh, 72px); }
  .t-dispo strong { font-size: clamp(22px, 3vh, 34px); }
  .step .co { font-size: clamp(15px, 2.2vh, 26px); }
  .eb, .cap, .num span.cap, .t-note .cap, .t-dispo .cap, .step .y, .step .r, .more, .live { font-size: clamp(12px, 1.45vh, 18px); }
  .btn { font-size: clamp(14px, 1.6vh, 19px); min-height: clamp(42px, 5.2vh, 60px); padding: 0 clamp(16px, 2vh, 26px); }
  .btn-sm { min-height: clamp(36px, 4.2vh, 50px); }
  .top .who { font-size: clamp(14px, 1.6vh, 19px); }
  .stars { font-size: clamp(14px, 1.7vh, 22px); }
  .t-par { justify-content: space-between; }
  .steps { margin-block: auto; }
}
@media (max-width: 520px) { .top .who { display: none; } }
@media (max-width: 719px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; } .steps::before { display: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Socle */
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Pages dédiées (/pour/…) : même grille, même principe plein écran */
.dedie { max-width: 1200px; margin: 0 auto; display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "enj" "plan" "go"; }
.d-intro { grid-area: intro; display: flex; flex-direction: column; gap: 12px; justify-content: space-between; }
.d-intro h1 { font-size: clamp(28px, 6vw, 44px); font-weight: 700; letter-spacing: -.045em; line-height: 1.05; }
.d-intro p { color: var(--ink-2); }
.d-enj { grid-area: enj; display: flex; flex-direction: column; gap: 6px; overflow: auto; }
.d-enj .m { padding: 12px 0; border-top: 1px solid var(--hair); display: grid; gap: 4px; }
.d-enj .m:first-of-type { border-top: 0; }
.d-enj .m strong { font-size: 17px; letter-spacing: -.02em; }
.d-enj .m span { font-size: 14px; color: var(--ink-2); }
.d-plan { grid-area: plan; display: flex; flex-direction: column; gap: 12px; }
.phases { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
.phase { padding: 14px 16px; border-radius: 20px; background: var(--glass-strong); border: 1px solid var(--glass-border); }
.phase .j { font-size: 12px; font-weight: 700; color: var(--accent); }
.phase h3 { font-size: 17px; letter-spacing: -.02em; margin: 2px 0 6px; }
.phase ul { margin: 0; padding-left: 16px; font-size: 14px; color: var(--ink-2); display: grid; gap: 4px; }
.d-go { grid-area: go; display: flex; flex-direction: column; gap: 10px; justify-content: space-between; }
.d-go h2 { font-size: clamp(30px, 6vw, 48px); letter-spacing: -.05em; line-height: 1; }
.ph { color: #B54708; background: rgba(255, 200, 120, .28); border-radius: 6px; padding: 0 4px; }
@media (min-width: 900px) {
  .dedie { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-areas: "intro intro intro intro intro enj enj enj enj enj enj enj" "plan plan plan plan plan plan plan plan plan go go go"; }
  .phases { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1080px) and (min-height: 620px) {
  .dedie { flex: 1; min-height: 0; width: 100%; max-width: min(calc(100vw - 56px), max(1200px, calc((100vh - 110px) * 1.52))); margin: 0 auto clamp(14px, 2.4vh, 28px); gap: clamp(10px, 1.4vh, 16px); grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); }
  .dedie .tile { overflow: auto; }
  .d-intro h1 { font-size: clamp(30px, 4.6vh, 56px); }
  .d-go h2 { font-size: clamp(32px, 5vh, 60px); }
}

/* Story : écrans avec photo (plein cadre 9:16, flou d'ambiance sur les côtés) */
.st-blur, .st-bg { position: absolute; z-index: 1; opacity: 0; transition: opacity .35s ease; background-size: cover; background-position: center; pointer-events: none; }
.st-blur { inset: -40px; filter: blur(40px) saturate(1.2); transform: scale(1.1); }
.st-bg { top: 0; bottom: 0; left: 50%; width: min(100vw, calc(100dvh * 9 / 16)); transform: translateX(-50%); }
.st-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0, 0, 0, .38) 0%, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 42%, rgba(0, 0, 0, .78) 100%); }
.story.has-img .st-blur, .story.has-img .st-bg { opacity: 1; }
.story.has-img .st-bars, .story.has-img .st-top, .story.has-img .st-stage { max-width: min(100vw, calc(100dvh * 9 / 16)); }
.story.has-img .st-stage { align-items: end; padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 40px); }
.story.has-img .slide h2, .story.has-img .slide p, .story.has-img .slide .k { color: #FFFFFF; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.story.has-img .slide .k { font-size: clamp(84px, 22vw, 150px); }
.story.has-img .slide p { color: rgba(255, 255, 255, .9); }
.story.has-img .st-bars i { background: rgba(255, 255, 255, .35); }
.story.has-img .st-bars i span { background: #FFFFFF; }
.story.has-img .st-top { color: rgba(255, 255, 255, .9); }
.story.has-img .x { color: #FFFFFF; background: rgba(0, 0, 0, .28); border-color: rgba(255, 255, 255, .3); }

/* Tuile story : photo de couverture */
.t-story.has-cover { isolation: isolate; color: #FFFFFF; background: #15161A; justify-content: flex-end; gap: 14px; }
.t-story.has-cover > .eb { position: absolute; }
.t-story.has-cover > .eb { top: 20px; left: 20px; }
.t-story .cover { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; transition: transform .8s cubic-bezier(.16, 1, .3, 1); }
.t-story.has-cover::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12, 12, 16, .35) 0%, rgba(12, 12, 16, 0) 22%, rgba(12, 12, 16, 0) 42%, rgba(12, 12, 16, .82) 100%); }
.t-story.has-cover .eb, .t-story.has-cover .hint { color: rgba(255, 255, 255, .85); }
.t-story.has-cover h2 { text-shadow: 0 2px 20px rgba(0, 0, 0, .35); }
.t-story.has-cover .bars i { background: rgba(255, 255, 255, .35); }
.t-story .hint { font-size: 13px; font-weight: 600; }
.t-story:hover .cover { transform: scale(1.04); }
@media (min-width: 1080px) { .t-story .cover { object-position: 50% 12%; } .t-story.has-cover > .eb { top: clamp(20px, 3.2vh, 40px); left: clamp(20px, 3.2vh, 40px); } .t-story.has-cover h2 { font-size: clamp(32px, 4.6vh, 56px); } }
@media (min-width: 720px) and (max-width: 1079px) { .t-story.has-cover > .eb { top: 20px; left: 20px; } }
/* Dernier écran de la story sur photo : bouton secondaire lisible */
.story.has-img .slide .btn-ghost { color: #FFFFFF; background: rgba(0, 0, 0, .3); border-color: rgba(255, 255, 255, .45); }
@media (max-width: 719px) { .t-story.has-cover { min-height: 380px; } .t-story .cover { object-position: 50% 6%; } }
.slide .st-info { font-size: 14px; font-weight: 600; opacity: .8; margin-top: -6px; }
.story.has-img .slide .btn-dark { background: #FFFFFF; color: #111114; }
/* Story en pause : survol (ordinateur) ou toucher (mobile) */
.st-pause { position: absolute; z-index: 5; top: calc(env(safe-area-inset-top, 0px) + 64px); left: 50%; transform: translate(-50%, -4px); display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; color: #FFFFFF; background: rgba(0, 0, 0, .45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.story.paused .st-pause { opacity: 1; transform: translate(-50%, 0); }
