/* Reshoot — AI Beauty Photography (concept Black Ops Studio). Recréation du prompt PROMPT.md, sections 3 à 9. */
@font-face { font-family: Inter; src: url(/assets/fonts/inter-var.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url(/assets/fonts/instrument-serif-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

/* ── root scale (section 4) ── */
html { font-size: 1.484375rem; }
@media screen and (max-width: 2560px) { html { font-size: calc(-0.006009615384615419rem + 0.9314903846153846vw); } }
@media screen and (max-width: 1728px) { html { font-size: calc(-0.009345794392523143rem + 0.9345794392523362vw); } }
@media screen and (max-width: 991px) { html { font-size: calc(0.021640258215962493rem + 1.8779342723004695vw); } }
@media screen and (max-width: 767px) { html { font-size: calc(-0.0025905678851174934rem + 4.14490861618799vw); } }

:root { --h1: 5.5rem; --h2: 7.5rem; --h25: 4rem; --h3: 3.25rem; --body2: 1rem; --tag: 1.125rem; --title1: 1rem; --title2: 0.875rem; --title3: 1.5rem; --btn: 1.0625rem; }
@media screen and (max-width: 991px) { :root { --h1: 4.5rem; --h2: 5.5rem; } }
@media screen and (max-width: 767px) { :root { --h1: 2.5rem; --h2: 2.25rem; --h25: 2.25rem; --h3: 1.5rem; --body2: 0.875rem; --tag: 1rem; } }

/* ── colour tokens (section 5) ── */
.body { --mainbg: #0b090d; --mainbg-gradient: #0b090d00; --fonts-100: #f6e9f4; --fonts-64: #f6e9f4a3; --fonts-50: #f6e9f480; --fonts-30: #f6e9f44d; --fonts-20: #f6e9f433; --secondbg: #141117; --lines: #25202a; --menu: #272030; --pill-ink: #f6e9f4; --menu-colors: #ffffff2e; --prc: #ffffff1f; --dots-pattern: #1b171f; --dash: #18141c; --btn-bg: #cbb6ea; --btn-ink: #2c1433; --accent: #e58fb6; --flash-a: #c05ae0; --flash-b: #f28db5; --card: #18141c; --card-2: #ffffff0f; }
.body.light { --mainbg: #f9f0f5; --mainbg-gradient: #f9f0f500; --fonts-100: #3a1d43; --fonts-64: #3a1d43a3; --fonts-50: #3a1d4380; --fonts-30: #3a1d434d; --fonts-20: #3a1d4333; --secondbg: #f3e6f0; --lines: #e8d7e4; --menu: #cbb6ea; --pill-ink: #3a1d43; --menu-colors: #3a1d432b; --prc: #3a1d431a; --dots-pattern: #ecdcef; --dash: #25142d; --btn-bg: #cbb6ea; --btn-ink: #2c1433; --accent: #e58fb6; --flash-a: #b14bd9; --flash-b: #f28db5; --card: #ffffff; --card-2: #3a1d430d; }

/* ── resets ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overscroll-behavior: none; }
body { background-color: var(--mainbg); color: var(--fonts-100); display: flex; flex-flow: column; font-size: 1vw; font-family: Inter, Arial, sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
a { color: inherit; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
img { display: block; }
button { font: inherit; color: inherit; cursor: pointer; }
main.page { display: flex; flex-direction: column; min-height: 100svh; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── utilities ── */
.u-h1 { font-size: var(--h1); line-height: 0.94; font-weight: 400; letter-spacing: -0.165rem; }
.u-h2 { font-size: var(--h2); line-height: 1; font-weight: 400; letter-spacing: -0.225rem; }
.u-h2-5 { font-size: var(--h25); line-height: 1; font-weight: 400; letter-spacing: -0.12rem; }
.u-h3 { font-size: var(--h3); line-height: 1.05; font-weight: 500; letter-spacing: -0.1rem; }
.u-body-2 { font-size: var(--body2); line-height: 1.25; font-weight: 400; }
.u-tag { font-size: var(--tag); line-height: 1.5; font-weight: 400; }
.u-title-2 { font-size: var(--title2); line-height: 1.5; font-weight: 500; letter-spacing: -0.01313rem; }
.u-title-3 { font-size: var(--title3); line-height: 1.5; font-weight: 500; letter-spacing: -0.01313rem; }
.u-small-text-1 { font-size: 0.75rem; line-height: 1.5; font-weight: 400; }
.u-small-text-2 { font-size: 0.625rem; line-height: 1; font-weight: 500; letter-spacing: -0.0125rem; text-transform: uppercase; }
.u-btn { font-size: var(--btn); line-height: 1.2; font-weight: 400; letter-spacing: -0.02125rem; }
.u-fonts-50 { color: var(--fonts-50); }
.u-fonts-64 { color: var(--fonts-64); }
.u-indent { padding-left: 1.75rem; }
@media screen and (max-width: 767px) { .u-h2-5 { letter-spacing: -0.045rem; } .u-indent { padding-left: 1.5rem; } }
.it { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -0.01em; }

.ph { background-color: var(--secondbg); background-repeat: no-repeat; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

@keyframes spinStep { to { rotate: 360deg; } }
@keyframes hero-row { from { transform: translate(var(--tx, 0%), var(--ty, 0%)); } to { transform: translate(var(--tx-end, 0%), var(--ty-end, -100%)); } }
@keyframes columnanima { from { transform: translateY(0%); } to { transform: translateY(-100%); } }
@keyframes marquee { from { transform: translateX(0%); } to { transform: translateX(-100%); } }

/* ── buttons ── */
.btn { height: 3rem; padding: 0.875rem 1.5rem; border-radius: 99rem; display: flex; align-items: center; justify-content: center; background: var(--btn-bg); color: var(--btn-ink); text-decoration: none; white-space: nowrap; transition: all .2s; }
.btn:hover { background: var(--accent); }
[hover-stagger] { text-decoration: none; }

/* ── preloader (6.1) ── */
.preloader { position: fixed; inset: 0; z-index: 9999; pointer-events: none; background: var(--mainbg); display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; padding: 2rem; }
.preloader > * { will-change: opacity, filter; }
html.is-loading .preloader > * { opacity: 0; visibility: hidden; }
.preloader__row { width: 100%; display: flex; justify-content: space-between; align-items: center; }
.preloader__logo, .preloader__spin, .preloader__spin svg { width: 3.5rem; height: 3.5rem; color: var(--fonts-100); }
.preloader__spin svg { animation: spinStep 1s steps(8) infinite; }
.preloader__center { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.preloader__box { position: relative; width: 16rem; height: 24rem; }
.preloader__box .ph { position: absolute; inset: 0; }
@media screen and (max-width: 767px) {
  .preloader__logo, .preloader__spin, .preloader__spin svg { width: 2.5rem; height: 2.5rem; }
  .preloader__box { width: 10.5rem; height: 16rem; }
}

/* ── header (6.2) ── */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 999; display: flex; justify-content: space-between; align-items: center; padding: 1.5rem 2rem; transition: all .2s ease; will-change: transform; pointer-events: none; }
.header > * { pointer-events: auto; }
.header__left { width: 10.75rem; }
.header__logo { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--fonts-100); }
.header__logo svg { width: 2.6rem; height: 2.6rem; transition: opacity .2s; }
.header__logo:hover svg { opacity: 0.64; }
.header__word { font-size: 1.45rem; font-weight: 500; letter-spacing: -0.04rem; }
.header__main { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 1.5rem; height: 3rem; padding: 0.5rem; border-radius: 99rem; background: var(--menu); color: var(--pill-ink); }
.menu-btn { background: none; border: 0; display: flex; align-items: center; gap: 0.75rem; padding: 0.5rem 0 0.5rem 0.5rem; color: var(--pill-ink); transition: opacity .2s; }
.menu-btn:hover { opacity: 0.64; }
.menu-btn__icon { width: 1.65rem; height: 1.65rem; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; }
.menu-btn__line { position: absolute; width: 1.65rem; height: 0.0625rem; background: var(--pill-ink); }
.menu-btn__label { flex: none; width: 3rem; text-align: left; }
.round { width: 2rem; height: 2rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: transparent; flex: none; }
.theme-btn { border: 1px solid var(--menu-colors); color: var(--pill-ink); transition: border-color .2s; }
.theme-btn:hover, .lang-btn:hover { border-color: var(--fonts-64); }
.theme-btn svg { width: 1rem; height: 1rem; }
.body .theme-btn .ic-sun { display: none; }
.body.light .theme-btn .ic-sun { display: block; }
.body.light .theme-btn .ic-moon { display: none; }
.lang-btn { border: 1px solid var(--menu-colors); color: var(--pill-ink); text-decoration: none; font-size: 0.68rem; font-weight: 500; letter-spacing: 0.02rem; transition: border-color .2s; }
.prc { height: 2rem; padding: 0 0.55rem; border-radius: 99rem; background: var(--prc); display: flex; align-items: center; }
.prc span { width: 2.5rem; text-align: center; display: block; }
.header__right { display: flex; align-items: center; gap: 0.65rem; }
.signin { border: 1px solid var(--fonts-20); color: var(--fonts-100); transition: border-color .2s; }
.signin:hover { border-color: var(--fonts-64); }
.signin svg { width: 1rem; height: 1rem; }

/* ── menu (6.3) ── */
.menu { position: fixed; top: 0; left: 0; right: 0; z-index: 998; display: flex; justify-content: center; padding-top: 0.75rem; pointer-events: none; transition: all .2s; }
.menu__wrap-main { width: 18rem; display: flex; justify-content: center; align-items: flex-start; }
.menu__wrap { display: flex; flex-direction: column; gap: 3rem; width: 15rem; height: 0; padding: 0; transform: translateY(2rem); border-radius: 2rem; background: var(--dots-pattern); overflow: hidden; pointer-events: auto; }
.menu__item { display: flex; flex-direction: column; gap: 0.65rem; opacity: 0; }
.menu__links { display: flex; flex-direction: column; gap: 0.2rem; }
.menu__row { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.menu__item a { color: var(--fonts-100); text-decoration: none; transition: opacity .2s; }
.menu__item a:hover { opacity: 0.64; }
.menu__item.is-lined { border-top: 1px solid var(--fonts-20); padding-top: 1.5rem; }
.menu__item.is-last { padding-top: 3rem; }
.menu__item.is-auth { display: none; }
.menu__item.is-auth .btn { color: var(--btn-ink); }
.menu__item.is-auth .btn:hover { opacity: 1; }

/* ── hero (6.4) ── */
.hero { position: relative; width: 100%; height: 100svh; min-height: 56rem; padding: 2rem 2rem 4rem; display: flex; justify-content: center; align-items: flex-end; overflow: hidden; --R: min(22vw, 35svh); }
.hero__wrap { position: relative; z-index: 2; width: 100%; display: flex; justify-content: center; align-items: flex-end; }
.hero__cell { flex: 1; display: flex; }
.hero__cell.is-end { justify-content: flex-end; }
.hero__copy { position: absolute; }
.hero__cell a { text-decoration: none; }
.hero__slider { position: absolute; top: 10rem; bottom: 10rem; right: 2rem; z-index: 3; display: flex; justify-content: flex-end; align-items: center; }
.hero__slider-wrap { position: relative; height: 17rem; display: flex; flex-direction: column; align-items: flex-end; overflow: hidden; }
.hero__row { display: flex; flex-direction: column; align-items: flex-end; gap: 0.5rem; padding-bottom: 0.5rem; animation: hero-row 24s linear infinite; }
.chip { padding: 0.35rem 1rem 0.4rem; border: 1px solid var(--fonts-20); border-radius: 0.5rem; background: var(--mainbg); white-space: nowrap; font-size: 1rem; font-weight: 500; line-height: 1.5; color: var(--fonts-100); }
.hero__fade { position: absolute; left: 0; right: 0; height: 7rem; pointer-events: none; z-index: 1; }
.hero__fade.is-top { top: 0; background: linear-gradient(180deg, var(--mainbg), var(--mainbg-gradient)); }
.hero__fade.is-bottom { bottom: 0; background: linear-gradient(180deg, var(--mainbg-gradient), var(--mainbg)); }
.hero__carousel__wrap { position: absolute; inset: 0; z-index: 3; display: flex; align-items: center; justify-content: center; pointer-events: none; padding-top: 2.5rem; }
.hero__carousel__in { position: relative; width: calc(var(--R) * 2.9); height: calc(var(--R) * 2.9); display: flex; align-items: center; justify-content: center; }
.hero__carousel__deg { position: absolute; }
.hero__card { position: relative; top: calc(var(--R) * -1); width: calc(var(--R) * 0.37); height: calc(var(--R) * 0.44); border-radius: calc(var(--R) * 0.12); background: var(--lines); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.hero__card .ph { flex: none; width: calc(var(--R) * 0.52); height: calc(var(--R) * 0.52); }
.hero__center { position: absolute; inset: 0; z-index: 4; display: flex; align-items: center; justify-content: center; pointer-events: none; padding-top: 2.5rem; }
.hero__title { pointer-events: auto; font-size: calc(var(--R) * 0.172); line-height: 0.98; font-weight: 400; letter-spacing: -0.04em; text-align: center; color: var(--fonts-100); }
.hero__title .it { font-size: 1.08em; letter-spacing: -0.02em; }

/* ── how it works (6.5) ── */
.how { position: relative; display: flex; flex-direction: column; padding: 9rem 2rem 7rem; border-top: 1px solid var(--lines); }
.how__main { display: flex; align-items: stretch; gap: 4rem; }
.how__left { flex: none; width: 33rem; padding-top: 2rem; display: flex; flex-direction: column; gap: 3.5rem; }
.how__title { font-size: 4.6rem; line-height: 1.02; font-weight: 400; letter-spacing: -0.14rem; }
.how__title .it { font-size: 1.06em; }
.how__right { flex: 1; height: 34rem; display: flex; flex-direction: column; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%); }
.how__col { animation: columnanima 24s linear infinite; }
.how__item { padding: 1.6rem 0 1.9rem; }
.how__phrase { font-size: 6.5rem; line-height: 1; font-weight: 500; letter-spacing: -0.24rem; white-space: nowrap; }
.how__phrase .it { font-size: 1.06em; font-weight: 400; letter-spacing: -0.1rem; }
.how__bottom { display: flex; align-items: flex-start; margin-top: 4.5rem; padding-top: 2.5rem; border-top: 1px solid var(--lines); }
.how__bottom-left { width: 33rem; flex: none; }
.how__marquee { position: relative; flex: 1; min-width: 0; display: flex; overflow: hidden; }
.how__mrow { display: flex; gap: 1.25rem; padding-right: 1.25rem; animation: marquee 24s linear infinite; flex: none; }
.tile { width: 13rem; height: 9.5rem; border-radius: 1rem; background: var(--secondbg); display: flex; align-items: center; justify-content: center; color: var(--fonts-100); flex: none; }
.mark { font-size: 1.65rem; line-height: 1; white-space: nowrap; }
.mark.a { font-weight: 600; letter-spacing: -0.06rem; }
.mark.b { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-size: 2rem; }
.mark.c { font-weight: 400; letter-spacing: 0.32rem; text-transform: uppercase; font-size: 1.05rem; }
.mark.d { font-weight: 500; letter-spacing: -0.03rem; }
.mark.d i { display: inline-block; width: 0.42em; height: 0.42em; border-radius: 50%; background: currentColor; margin-right: 0.3em; vertical-align: 0.12em; }
.mark.e { font-weight: 300; letter-spacing: 0.05rem; }
.how__fade { position: absolute; top: 0; bottom: 0; width: 6.5rem; pointer-events: none; z-index: 1; }
.how__fade.is-left { left: 0; background: linear-gradient(90deg, var(--mainbg), var(--mainbg-gradient)); }
.how__fade.is-right { right: 0; background: linear-gradient(-90deg, var(--mainbg), var(--mainbg-gradient)); }

/* ── photoshoots (6.6) ── */
.ai { display: flex; flex-direction: column; }
#pdp { margin-top: -6.5rem; padding-top: 6.5rem; }
.ai__top { position: relative; width: 100%; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; height: 70rem; padding: 5rem; border-radius: 3rem; background: var(--secondbg); overflow: hidden; }
.spark { position: absolute; bottom: 1rem; right: 1rem; z-index: 5; width: 4rem; height: 4rem; border-radius: 50%; background: #fff; color: #2c1433; display: flex; align-items: center; justify-content: center; transition: all .2s; }
.spark:hover { background: var(--accent); transform: scale(0.9); }
.spark svg { width: 2rem; height: 2rem; }
.ai__tag { position: relative; z-index: 2; display: flex; align-items: center; gap: 0.5rem; }
.ai__tag i { width: 0.25rem; height: 0.25rem; border-radius: 50%; background: var(--fonts-30); }
.ai__title { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 1rem; width: 36rem; }
.ai__title h3 { width: 88%; }
.ai__title p { width: 80%; }
.ai__grid { position: absolute; top: 5rem; left: 5rem; right: 0; height: 45rem; display: flex; align-items: center; gap: 3.5rem; pointer-events: none; }
.ai__input { flex: none; width: 17.5rem; height: 26.5rem; border-radius: 2rem; overflow: hidden; border: 1px solid var(--mainbg); }
.ai__input .ph { width: 100%; height: 100%; }
.ai__arrow { flex: none; width: 1.5rem; height: 1.5rem; color: var(--fonts-30); }
.d2 { flex: 1; display: flex; border-radius: 2rem 0 0 2rem; overflow: hidden; background: var(--dash); color: #f6e9f4; border: 1px solid var(--mainbg); border-right: 0; }
.d2__main { flex: 1; min-width: 0; padding: 1.6rem 0 1.6rem 1.6rem; display: flex; flex-direction: column; gap: 1.2rem; }
.d2__head { display: flex; justify-content: space-between; align-items: center; padding-right: 1.6rem; }
.d2__t { font-size: 1.1rem; font-weight: 500; }
.d2__s { font-size: 0.72rem; font-weight: 400; color: #f6e9f480; margin-top: 0.15rem; }
.d2__gen { height: 2.2rem; padding: 0 1rem; border-radius: 99rem; background: #cbb6ea; color: #2c1433; font-size: 0.78rem; font-weight: 500; display: flex; align-items: center; gap: 0.4rem; white-space: nowrap; }
.d2__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.7rem; padding-right: 1.6rem; }
.d2__cell { position: relative; aspect-ratio: 3 / 4; border-radius: 1rem; overflow: hidden; background: #ffffff0d; }
.d2__cell .ph { position: absolute; inset: 0; }
.d2__check { position: absolute; top: 0.55rem; right: 0.55rem; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: #ffffffd9; color: #2c1433; display: flex; align-items: center; justify-content: center; z-index: 1; }
.d2__check svg { width: 0.75rem; height: 0.75rem; }
.d2__cell.sel { outline: 2px solid #cbb6ea; outline-offset: -2px; }
.d2__cell.sel .d2__check { background: #cbb6ea; }
.ai__grid-alt { display: none; }

/* ── four steps (6.7) ── */
.list { margin-top: 8rem; }
.list__wrap { position: relative; display: flex; flex-direction: column; }
.list__main__wrap { position: relative; overflow: hidden; }
.list__main__slide { height: 100vh; }
.list__main__content-wrap { width: 100%; height: 100%; perspective: 250vw; position: relative; }
.list__main__content { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 7.5rem 3rem 3rem; color: #3a1d43; --ink: #3a1d43; overflow: hidden; }
.s1 { background: linear-gradient(180deg, #f9d6c8 0%, #efcfdc 48%, #d8c5f1 100%); }
.s2 { background: linear-gradient(180deg, #f6d0d9 0%, #e7c9e8 50%, #cdb9ef 100%); }
.s3 { background: linear-gradient(180deg, #f8dccd 0%, #f1cfe0 50%, #dcc3ee 100%); }
.s4 { background: linear-gradient(180deg, #efd2ea 0%, #e2c6ef 50%, #c9b6f0 100%); }
.st__titlerow { display: flex; justify-content: space-between; align-items: flex-start; }
.st__h { font-size: 4.6rem; line-height: 1; font-weight: 400; letter-spacing: -0.14rem; }
.st__h .it { font-size: 1.08em; letter-spacing: -0.04rem; }
.st__num { font-size: 8.5rem; line-height: 0.85; font-weight: 500; letter-spacing: -0.4rem; }
.st__info { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 2.6rem; }
.st__tag { display: flex; align-items: center; gap: 0.7rem; font-size: 1.45rem; font-weight: 500; letter-spacing: -0.03rem; }
.st__tag::before { content: ""; width: 0.8rem; height: 0.8rem; border-radius: 50%; background: #b9a4ea; flex: none; }
.st__p { margin: 0.6rem 0 0 1.5rem; font-size: 1.15rem; line-height: 1.4; color: #3a1d43b3; }
.st__row { display: flex; gap: 1rem; height: min(27rem, 37vh); }
.st__card { position: relative; flex: 1; border-radius: 1.6rem; overflow: hidden; box-shadow: 0 1.5rem 3rem #3a1d431a; }
.st__card.w { flex: 1.95; }
.st__card .ph { position: absolute; inset: 0; }
.st__card.pick { outline: 3px solid #fff; outline-offset: -3px; }
.st__cap { position: absolute; left: 0.8rem; right: 0.8rem; bottom: 0.8rem; z-index: 2; height: 2.8rem; padding: 0 1rem; border-radius: 1rem; display: flex; justify-content: space-between; align-items: center; background: #2c143352; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; font-size: 0.85rem; font-weight: 500; }
.st__chip { position: absolute; top: 0.8rem; left: 0.8rem; z-index: 2; display: flex; align-items: center; gap: 0.4rem; padding: 0.35rem 0.7rem; border-radius: 99rem; background: #ffffffd9; color: #3a1d43; font-size: 0.72rem; font-weight: 500; }
.st__chip svg { width: 0.8rem; height: 0.8rem; }
.st__chip.spin svg { animation: spinStep 1s steps(8) infinite; }
.st__cta { display: none; }

/* ── ≤ 991 (section 7) ── */
@media screen and (max-width: 991px) {
  .hero { --R: min(30vw, 30svh); min-height: 52rem; }
  .hero__slider { top: auto; bottom: 5.5rem; left: 0; right: 0; height: 2.5rem; justify-content: center; align-items: center; }
  .hero__slider-wrap { width: 32rem; height: auto; flex-direction: row; gap: 0; }
  .hero__row { flex-direction: row; padding-right: 0.5rem; padding-bottom: 0; --ty-end: 0%; --tx-end: -100%; flex: none; }
  .hero__fade { top: 0; bottom: 0; height: auto; width: 7rem; }
  .hero__fade.is-top { left: 0; right: auto; background: linear-gradient(90deg, var(--mainbg), var(--mainbg-gradient)); }
  .hero__fade.is-bottom { right: 0; left: auto; background: linear-gradient(90deg, var(--mainbg-gradient), var(--mainbg)); }
  .how__main { flex-direction: column; gap: 0; }
  .how__left { width: 100%; gap: 2rem; padding-bottom: 3rem; }
  .how__right { flex: none; height: 26rem; }
  .how__bottom { flex-direction: column; gap: 1.25rem; }
  .how__bottom-left, .how__marquee { width: 100%; }
  .ai__top { height: 66rem; }
  .ai__grid { display: none; }
  .ai__grid-alt { display: flex; position: absolute; top: 9rem; left: 0; right: 0; padding: 0 2rem; gap: 1rem; align-items: flex-start; justify-content: center; }
  .ai__col { display: flex; flex-direction: column; gap: 1rem; padding-top: 2.5rem; }
  .ai__col.md { flex: 1; padding-top: 0; }
  .ai__grid-alt .ph { border-radius: 0.5rem; width: 13rem; height: 13rem; }
  .ai__grid-alt .ph.t { height: 18rem; }
  .ai__col.md .ph { width: 100%; }
  .ai__col.md .ph:first-child { height: 24rem; }
  .ai__col.md .ph:nth-child(2) { height: 13rem; }
  .list__main__content { padding: 6.5rem 2rem 2rem; }
  .st__h { font-size: 3.6rem; }
  .st__num { font-size: 6rem; }
}

/* ── ≤ 767 ── */
@media screen and (max-width: 767px) {
  .header { align-items: flex-start; padding: 1.2rem 1rem; }
  .header__left { width: auto; }
  .header__word { display: none; }
  .header__right { display: none; }
  .menu { justify-content: flex-end; padding-right: 0.65rem; }
  .menu__wrap-main { width: 16.2rem; }
  .menu__wrap { gap: 2rem; }
  .menu__item { padding-bottom: 1rem; }
  .menu__item.is-auth { display: flex; flex-direction: row; gap: 0.25rem; }
  .menu__item.is-auth .btn { flex: 1; }
  .hero { --R: min(35vw, 28svh); min-height: 42rem; padding: 8rem 1rem 2rem; }
  .hero__carousel__wrap, .hero__center { bottom: 4rem; }
  .hero__slider { bottom: 3.5rem; }
  .hero__slider-wrap { width: 100%; }
  .hero__title { font-size: calc(var(--R) * 0.165); }
  .how { padding: 5rem 1rem; }
  .how__title { font-size: 2.5rem; letter-spacing: -0.06rem; }
  .how__right { height: 15rem; }
  .how__phrase { font-size: 2.6rem; letter-spacing: -0.08rem; }
  .how__item { padding: 1rem 0 1.2rem; }
  .how__bottom { margin-top: 2.5rem; }
  .tile { width: 9rem; height: 6.5rem; }
  .how__mrow { gap: 0.75rem; padding-right: 0.75rem; }
  .mark { font-size: 1.15rem; }
  .mark.b { font-size: 1.4rem; }
  .mark.c { font-size: 0.75rem; }
  .ai__top { border-radius: 1.5rem; height: 36.5rem; padding: 2rem; }
  .spark { width: 2.5rem; height: 2.5rem; top: 1.35rem; right: 2rem; bottom: auto; }
  .spark svg { width: 1.4rem; height: 1.4rem; }
  .ai__title, .ai__title h3, .ai__title p { width: 100%; }
  .ai__title p br { display: none; }
  .ai__grid-alt { top: 5rem; padding: 0 1rem; gap: 0.5rem; }
  .ai__col { gap: 0.5rem; padding-top: 1.5rem; }
  .ai__grid-alt .ph { width: 6rem; height: 6rem; }
  .ai__grid-alt .ph.t { height: 8.5rem; }
  .ai__col.md .ph:first-child { height: 13rem; }
  .ai__col.md .ph:nth-child(2) { display: none; }
  .list { margin-top: 5rem; }
  .list__main__content { padding: 6rem 1rem 1.25rem; }
  .st__h { font-size: 2.25rem; letter-spacing: -0.05rem; }
  .st__num { font-size: 3.4rem; letter-spacing: -0.12rem; }
  .st__info { grid-template-columns: 1fr; gap: 1rem; margin-top: 1.5rem; }
  .st__tag { font-size: 1.05rem; }
  .st__p { font-size: 0.9rem; margin-top: 0.3rem; }
  .st__row { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 9rem 7rem; height: auto; gap: 0.5rem; }
  .st__card.w { grid-column: 1 / -1; }
  .st__card:nth-child(4) { display: none; }
  .st__cap { height: 2.2rem; font-size: 0.75rem; }
}

/* ── reduced motion (section 9) ── */
@media (prefers-reduced-motion: reduce) {
  .preloader { display: none; }
  .hero__row, .how__col, .how__mrow, .preloader__spin svg, .st__chip.spin svg { animation: none !important; }
}

/* lettres du roulement au survol (8.7) */
.char { display: inline-block; position: relative; }
[hover-stagger] > span { white-space: nowrap; }
