/* Mission 90 · site public. Même monde que le livre et l'app : noir, ivoire, or, Bebas Neue et Barlow. */

@font-face { font-family: "Bebas Neue"; src: url("fonts/BebasNeue-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/Barlow-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/Barlow-Medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/Barlow-SemiBold.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/Barlow-Bold.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("fonts/BarlowCondensed-SemiBold.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "IBM Plex Serif"; src: url("fonts/IBMPlexSerif-Italic.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
    --black: #0B0B0C;
    --surface: #151618;
    --surface-2: #1E2023;
    --line: #2A2D31;
    --ivory: #EFEBE3;
    --ivory-soft: #CFCAC0;
    --muted: #9A958C;
    --gold: #C9A45C;
    --gold-hover: #D8B673;
    --gold-soft: #3A3120;
    --risk: #E0907E;
    --paper: #EFEBE3;
    --ink: #151618;
    --ink-soft: #4D4943;

    --display: "Bebas Neue", "Barlow Condensed", sans-serif;
    --text: "Barlow", system-ui, sans-serif;
    --label: "Barlow Condensed", "Barlow", sans-serif;
    --quote: "IBM Plex Serif", Georgia, serif;

    --gutter: clamp(16px, 4vw, 48px);
    --section: clamp(72px, 10vw, 136px);
    --radius: 10px;
    --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--black);
    color: var(--ivory);
    font: 400 17px/1.6 var(--text);
    font-variant-numeric: lining-nums;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    scrollbar-color: #3A3D42 var(--black);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }
::selection { background: var(--gold); color: var(--black); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

.wrap { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; padding: 10px 16px; background: var(--gold); color: var(--black); font-weight: 600; border-radius: 6px; }
.skip:focus { top: 12px; }

.display { font-family: var(--display); font-weight: 400; line-height: .95; letter-spacing: .01em; text-wrap: balance; }
.accent { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: .07em; text-underline-offset: .12em; text-decoration-skip-ink: none; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--ivory-soft); max-width: 36em; }

/* Boutons */
.button {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 52px; padding: 0 24px; border: 0; border-radius: 8px;
    font: 700 16px/1 var(--text); text-decoration: none; cursor: pointer;
    transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.button--gold { background: var(--gold); color: var(--black); }
.button--gold:hover { background: var(--gold-hover); }
.button--gold:active { transform: translateY(1px); }
.button--small { min-height: 40px; padding: 0 16px; font-size: 15px; }
.button[disabled] { opacity: .6; cursor: progress; }

/* Bandeau d'annonce */
.announce { background: var(--surface-2); color: var(--ivory-soft); font-size: 14px; text-align: center; }
.announce p { padding-block: 10px; }
.announce a { text-decoration: none; }
.announce a:hover { color: var(--ivory); text-decoration: underline; }

/* En-tête */
.header { position: sticky; top: 0; z-index: 20; background: rgba(11, 11, 12, .92); border-bottom: 1px solid transparent; transition: border-color .3s; }
@supports (backdrop-filter: blur(1px)) { .header { background: rgba(11, 11, 12, .8); backdrop-filter: saturate(1.2) blur(14px); } }
.header.is-scrolled { border-bottom-color: var(--line); }
.header__inner { display: flex; align-items: center; gap: 32px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__word { font: 400 27px/1 var(--display); letter-spacing: .05em; padding-top: 3px; }
.mark { width: 38px; height: 38px; flex: none; }
.mark__tick { stroke: #5C5F64; stroke-width: 1.6; stroke-linecap: round; transition: stroke .25s; }
.mark__tick.is-on { stroke: var(--gold); }
.mark__num { font: 400 30px var(--display); fill: var(--ivory); }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { font: 600 15px/1 var(--label); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: var(--ivory-soft); padding-block: 8px; }
.nav a:hover { color: var(--ivory); }
.menu { display: none; }

/* Premier écran */
.hero { padding-block: clamp(32px, 5vw, 72px) clamp(56px, 7vw, 96px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 9fr) minmax(0, 11fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero__title { font-size: clamp(56px, 6.8vw, 96px); margin-bottom: 28px; }
.hero__title .accent { display: inline-block; }
.hero .lead { margin-bottom: 32px; }
.hero__media img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }

.facts { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 0; margin: 40px 0 0; padding-top: 28px; border-top: 1px solid var(--line); }
.facts__item { display: flex; flex-direction: column-reverse; gap: 6px; padding-right: 22px; margin-right: 22px; border-right: 1px solid var(--line); white-space: nowrap; }
.facts__item:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.facts dd { margin: 0; font: 400 44px/1 var(--display); letter-spacing: .01em; }
.facts dt { font: 600 13px/1.2 var(--label); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* Formulaire */
.signup { max-width: 560px; }
.signup__label { display: block; margin-bottom: 8px; font: 600 14px/1 var(--label); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.signup__row { display: flex; gap: 10px; }
.signup__input {
    flex: 1 1 auto; min-width: 0; height: 52px; padding: 0 16px;
    background: var(--surface); color: var(--ivory); caret-color: var(--gold);
    border: 1px solid var(--line); border-radius: 8px; font: 400 17px var(--text);
    transition: border-color .2s;
}
.signup__input::placeholder { color: #7D796F; }
.signup__input:hover { border-color: #3C4046; }
.signup__input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 164, 92, .22); }
.signup__input[aria-invalid="true"] { border-color: var(--risk); }
.signup__submit { flex: none; }
.signup__note { margin-top: 10px; font-size: 14px; color: var(--muted); }
.signup__note a { color: var(--ivory-soft); }
.signup__status { min-height: 0; font-size: 15px; font-weight: 600; color: var(--gold); }
.signup__status:not(:empty) { margin-top: 12px; }
.signup__status.is-error { color: var(--risk); }
.signup.is-done .signup__label, .signup.is-done .signup__row, .signup.is-done .signup__note { display: none; }
.signup.is-done .signup__status { margin-top: 0; padding: 16px 20px; border: 1px solid var(--gold); border-radius: 8px; font-size: 17px; }
.signup__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Sections */
.section { padding-block: var(--section); }
.section__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.section__title { font-size: clamp(46px, 5.4vw, 84px); }
.section__intro { font-size: 19px; color: var(--ivory-soft); max-width: 34em; }

/* Produits */
.duo { background: var(--black); border-top: 1px solid var(--line); }
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.products--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product__media { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--surface); margin-bottom: 24px; }
.product__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.product:hover .product__media img { transform: scale(1.03); }
.product__media--phone { display: flex; justify-content: center; align-items: flex-start; padding-top: 8%; background: radial-gradient(120% 90% at 50% 100%, #26282C 0%, var(--surface) 60%); }
.product__media--phone .phone { width: 54%; flex: none; }
.product__name { font: 600 22px/1.2 var(--text); margin-bottom: 8px; }
.product__desc { color: var(--ivory-soft); max-width: 34em; }
.product__price { margin-top: 16px; font-weight: 600; color: var(--gold); }
.product__status { margin-top: 4px; font-size: 15px; color: var(--muted); }

/* Double page du jour 1 : le moment de la page, en pleine largeur */
.spread { padding-block: var(--section); border-top: 1px solid var(--line); }
.spread__title { margin-bottom: clamp(32px, 4vw, 56px); max-width: 12em; }
.spread__media { margin: 0; }
.spread__media img { width: 100%; max-height: 92vh; object-fit: cover; object-position: 50% 45%; }
.spread__band { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr) minmax(0, 3fr) minmax(0, 3fr); gap: 24px 40px; padding-top: 32px; }
.spread__band p { color: var(--ivory-soft); }
.spread__caption, .appsec__media figcaption { font: 600 14px/1.4 var(--label); letter-spacing: .08em; text-transform: uppercase; color: var(--muted) !important; }
.spread__qr { display: flex; gap: 14px; align-items: flex-start; color: var(--ivory) !important; font-weight: 500; }
.spread__qr svg { width: 28px; height: 28px; flex: none; fill: var(--gold); margin-top: 1px; }

/* Section papier : les objections */
.paper { background: var(--paper); color: var(--ink); }
.paper .section__intro { color: var(--ink-soft); }
.paper ::selection { background: var(--ink); color: var(--paper); }
.objections { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px); }
.objection img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); margin-bottom: 28px; }
.objection__quote { margin: 0 0 14px; font: italic 400 clamp(23px, 2vw, 28px)/1.25 var(--quote); letter-spacing: -.01em; }
.objection p { color: var(--ink-soft); }

/* Méthode : pages du livre */
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.feature + .feature { margin-top: var(--section); }
.feature--flip .feature__media { order: 2; }
.feature__text .section__title { margin-bottom: 28px; }
.feature__text p { color: var(--ivory-soft); max-width: 36em; }
.feature__text p + p { margin-top: 16px; }
.feature__rule { color: var(--ivory) !important; font-size: 20px; font-weight: 600; }
.feature__note { font-size: 15px; color: var(--muted) !important; }
.page-shot { justify-self: center; width: min(100%, 440px); }
.page-shot img { width: 100%; border-radius: 3px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .75), 0 8px 18px rgba(0, 0, 0, .35); }
.page-shot--dark img { outline: 1px solid var(--line); }

/* App */
.appsec { background: var(--surface); }
.appsec__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.appsec__text .section__title { margin-bottom: 36px; }
.ticks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ticks li { position: relative; padding: 16px 0 16px 36px; border-bottom: 1px solid var(--line); color: var(--ivory-soft); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 50%; width: 14px; height: 2px; background: var(--gold); }
.appsec__media { margin: 0; justify-self: center; width: min(100%, 360px); text-align: center; }
.appsec__media figcaption { margin-top: 20px; }

/* Téléphone : vrai rendu de l'écran d'accueil de l'app, dans un cadre */
.phone { position: relative; margin: 0; width: 100%; padding: 3.4%; border-radius: 14% / 6.6%; background: #050506; box-shadow: inset 0 0 0 1.5px #34373C, 0 40px 80px -30px rgba(0, 0, 0, .9); }
.phone__screen { width: 100%; border-radius: 11% / 5.1%; }
.phone__island { position: absolute; top: 3.1%; left: 50%; width: 30%; height: 2.9%; transform: translateX(-50%); border-radius: 99px; background: #000; }

/* Parcours : la règle couvre les 90 jours, les trois phases sont sous leurs 30 jours */
.journey { border-top: 1px solid var(--line); }
.journey__track { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr) minmax(0, 3fr) minmax(0, 3fr) minmax(0, 2fr); column-gap: 28px; row-gap: 28px; }
.ruler { grid-column: 2 / 5; display: flex; justify-content: space-between; align-items: flex-end; height: 40px; }
.ruler__tick { width: 1px; height: 12px; background: #3D4046; }
.ruler__tick--week { height: 20px; background: #6A6D72; }
.ruler__tick--phase { width: 2px; height: 40px; background: var(--gold); }
.steps { display: contents; list-style: none; }
.step { grid-row: 2; display: flex; flex-direction: column; gap: 6px; }
.step__name { font: 400 40px/1 var(--display); color: var(--ivory); }
.step__when { font: 600 14px/1.2 var(--label); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.step__text { margin-top: 4px; color: var(--ivory-soft); font-size: 16px; }
.journey__reviews { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 19px; max-width: 44em; }

/* Prix */
.price { background: var(--surface); }
.price__rows { border-top: 1px solid var(--line); }
.price__row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 5fr); gap: 16px 48px; align-items: baseline; padding-block: 32px; border-bottom: 1px solid var(--line); }
.price__label { font: 600 15px/1.2 var(--label); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.price__figure { font-size: clamp(38px, 3.6vw, 56px); color: var(--ivory); }
.price__text { color: var(--ivory-soft); }
.price__foot { margin-top: 28px; font-weight: 600; color: var(--gold); }

/* Questions */
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 32px 64px; align-items: start; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 22px 0; font: 600 19px/1.35 var(--text); cursor: pointer; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: translateY(-3px) rotate(45deg); transition: transform .3s var(--ease); }
.faq__item[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq__item summary:hover { color: var(--gold-hover); }
.faq__item p { padding: 0 0 24px; color: var(--ivory-soft); max-width: 44em; }

/* Appel final */
.cta { position: relative; overflow: hidden; padding-block: clamp(96px, 14vw, 200px); isolation: isolate; }
.cta__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; z-index: -2; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11, 11, 12, .92) 0%, rgba(11, 11, 12, .7) 45%, rgba(11, 11, 12, .25) 100%); }
.cta__title { font-size: clamp(56px, 7.4vw, 112px); max-width: 9em; margin-bottom: 24px; }
.cta .lead { margin-bottom: 32px; color: var(--ivory); }

/* Pied de page */
.footer { background: var(--paper); color: var(--ink); padding-top: clamp(56px, 7vw, 88px); }
.footer ::selection { background: var(--ink); color: var(--paper); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding-bottom: 48px; }
.footer__brand { display: flex; align-items: center; gap: 14px; font: 400 36px/1 var(--display); letter-spacing: .05em; }
.footer .mark { width: 48px; height: 48px; }
.footer .mark__tick { stroke: var(--ink); }
.footer .mark__num { fill: var(--ink); }
.footer__tagline { margin-top: 16px; font: italic 400 20px/1.4 var(--quote); color: var(--ink-soft); }
.footer__title { margin-bottom: 14px; font: 600 14px/1 var(--label); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer p + p { margin-top: 10px; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer :focus-visible { outline-color: var(--ink); }
.footer__base { padding-block: 22px; border-top: 1px solid #CFC9BD; font-size: 14px; color: var(--ink-soft); }

/* Entrée du premier écran : un seul moment, l'objet qui se pose. */
@media (prefers-reduced-motion: no-preference) {
    .js .hero__media img { animation: settle 1.4s var(--ease) both; }
    .js .hero__text > * { animation: rise .9s var(--ease) both; }
    .js .hero__text > :nth-child(2) { animation-delay: .08s; }
    .js .hero__text > :nth-child(3) { animation-delay: .16s; }
    .js .hero__text > :nth-child(4) { animation-delay: .24s; }
}
@keyframes settle { from { opacity: 0; transform: scale(1.04); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Tablette */
@media (max-width: 1080px) {
    .nav { gap: 20px; }
}

/* Mobile */
@media (max-width: 900px) {
    body { font-size: 16px; }
    .header__inner { gap: 12px; min-height: 64px; }
    .brand__word { font-size: 24px; }
    .mark { width: 32px; height: 32px; }
    .header__cta { margin-left: auto; }
    .menu { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 4px 0 8px; background: none; border: 0; color: var(--ivory); font: 600 15px/1 var(--label); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
    .menu__bars { position: relative; width: 18px; height: 2px; background: currentColor; }
    .menu__bars::before, .menu__bars::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; transition: transform .3s var(--ease); }
    .menu__bars::before { top: -6px; } .menu__bars::after { top: 6px; }
    .menu[aria-expanded="true"] .menu__bars { background: transparent; }
    .menu[aria-expanded="true"] .menu__bars::before { transform: translateY(6px) rotate(45deg); }
    .menu[aria-expanded="true"] .menu__bars::after { transform: translateY(-6px) rotate(-45deg); }
    .menu__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; margin: 0; padding: 8px var(--gutter) 20px; background: var(--black); border-bottom: 1px solid var(--line); }
    .nav.is-open { display: flex; }
    .nav a { padding-block: 16px; font-size: 17px; border-bottom: 1px solid var(--line); }
    .nav a:last-child { border-bottom: 0; }

    .hero__grid, .feature, .appsec__grid, .faq__grid, .section__head { grid-template-columns: minmax(0, 1fr); }
    .spread__band { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .spread__media img { aspect-ratio: 4 / 3; }
    .hero__media { order: -1; }
    .hero__title { font-size: clamp(56px, 15vw, 88px); }
    .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
    .facts__item { margin-right: 0; padding-right: 16px; border-right: 0; }
    .facts dd { font-size: 38px; }
    .signup__row { flex-direction: column; }
    .signup__submit { width: 100%; }
    .products, .products--three, .objections { grid-template-columns: minmax(0, 1fr); }
    .objection img { aspect-ratio: 16 / 10; }
    .feature--flip .feature__media { order: 0; }
    .page-shot { width: min(78%, 360px); }
    .appsec__media { width: min(78%, 320px); }
    .journey__track { grid-template-columns: minmax(0, 1fr); row-gap: 24px; }
    .ruler { grid-column: 1; height: 28px; }
    .ruler__tick--phase { height: 28px; }
    .ruler__tick--week { height: 14px; }
    .ruler__tick { height: 8px; }
    .step { grid-row: auto; }
    .price__row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
    .footer__grid { grid-template-columns: minmax(0, 1fr); }
    .cta::before { background: linear-gradient(180deg, rgba(11, 11, 12, .55) 0%, rgba(11, 11, 12, .9) 100%); }
}
@media (max-width: 420px) {
    .header__cta { padding: 0 12px; font-size: 14px; }
    .brand__word { display: none; }
}
