/* Jadis : une page sobre, aux couleurs de l'app.
   Blanc et gris neutres d'iOS (noir pur en mode sombre, comme l'app), un seul accent corail
   réservé aux liens et au bouton. Ni dégradé, ni flou, ni ombre : des filets fins.
   Titres à empattements (New York sur les appareils Apple), texte courant sans empattements. */
:root {
  --bg: #ffffff;
  --surface: #f2f2f7;
  --ink: #1d1d1f;
  --ink-soft: #5c5c61;
  --rule: #e2e2e7;
  --accent: #c8472f;
  --frame: #1d1d1f;
  --serif: "New York", ui-serif, "Iowan Old Style", Georgia, serif;
  --sans: -apple-system, ui-sans-serif, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000; --surface: #1c1c1e; --ink: #f2f2f7; --ink-soft: #a1a1a6;
    --rule: #2c2c2e; --accent: #ff8a70; --frame: #3a3a3c;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 18px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a, a:visited { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { text-wrap: pretty; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--bg); padding: 8px 12px; z-index: 10; }

/* En-tête opaque, séparé par un filet. */
.top {
  position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 12px clamp(18px, 4vw, 48px); background: var(--bg); border-bottom: 1px solid var(--rule);
}
.brand, .brand:visited { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--serif); font-weight: 600; font-size: 1.3rem; }
.brand img { border-radius: 8px; }
.menu { display: flex; gap: clamp(14px, 2.6vw, 28px); font-size: .95rem; }
.menu a, .menu a:visited { color: var(--ink-soft); text-decoration: none; padding: 10px 0; }
.menu a:hover { color: var(--ink); }

main > section, .gain, .article, .blog-head, main > .cards {
  max-width: 1080px; margin: 0 auto; padding: clamp(56px, 8vw, 112px) clamp(18px, 4vw, 48px);
}
main > section + section, main > .gains, .gain + .gain, main > .gains + section { border-top: 1px solid var(--rule); }

/* Captures : l'écran entier dans un cadre fin, sans ombre. */
.phone { width: 100%; max-width: 300px; border-radius: 28px; box-shadow: 0 12px 40px rgba(0,0,0,.12); }
.crop { width: 100%; max-width: 320px; border-radius: 28px; box-shadow: 0 12px 40px rgba(0,0,0,.12); }

/* Accroche : le texte, et l'écran du jour en grand. */
.hero { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(32px, 6vw, 88px); align-items: center; padding-top: clamp(40px, 6vw, 80px) !important; }
.hero .phone { justify-self: end; max-width: 320px; }
.lead { font-size: 1.2rem; color: var(--ink-soft); margin: 0 0 32px; max-width: 32em; }
.proof { color: var(--ink-soft); font-size: .95rem; margin: 18px 0 0; }
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; }
  .hero .phone { justify-self: start; max-width: 280px; }
}

/* Bouton : plein, pour la seule action de la page. */
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.button, .button:visited {
  display: inline-block; padding: 14px 24px; border-radius: 12px; background: var(--ink); color: var(--bg);
  font-weight: 600; text-decoration: none; min-height: 48px; transition: opacity .15s ease-out;
}
.button:hover { opacity: .85; }
.store-soon { color: var(--ink-soft); font-size: .95rem; }

/* Le problème : trois phrases, une colonne. */
.problem h2 { max-width: 20em; }
.problem p { font-size: 1.2rem; color: var(--ink-soft); max-width: 36em; margin: 0 0 14px; }

/* Le rituel : trois étapes, trois écrans différents. */
.steps h2 { max-width: 20em; }
.step-row { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 48px); }
.step-visual { height: 520px; display: flex; align-items: flex-start; margin-bottom: 24px; }
.step .phone { max-width: 240px; }
.step h3 { margin-bottom: 8px; }
.step .num { color: var(--accent); margin-right: 10px; font-variant-numeric: tabular-nums; }
.step p { color: var(--ink-soft); margin: 0; font-size: 1rem; }
@media (max-width: 820px) {
  .step-row { grid-template-columns: 1fr; }
  .step-visual { height: auto; }
}

/* L'écran verrouillé du rappel, dessiné en HTML avec le texte réel de la notification. */
.lockscreen {
  margin: 0; width: 240px; aspect-ratio: 1206 / 2622; border-radius: 40px; border: 7px solid var(--frame);
  background: #2c3a4a center / cover no-repeat; color: #fff; padding: 46px 10px 0; text-align: center;
}
.lockscreen .lock-date { margin: 0; font-size: .85rem; font-weight: 600; }
.lockscreen .lock-time { margin: 0 0 150px; font-size: 4.2rem; font-weight: 600; line-height: 1; letter-spacing: -.03em; }
.notif { display: flex; align-items: flex-start; gap: 8px; text-align: left; background: rgba(245, 245, 247, .9); color: #1d1d1f; border-radius: 16px; padding: 9px 10px; }
.notif img { flex: none; width: 30px; height: 30px; border-radius: 7px; }
.notif-text { min-width: 0; }
.lockscreen .notif p { margin: 0; font-size: .7rem; line-height: 1.3; }
.notif-head { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; }
.lockscreen .notif-head span { color: #6e6e73; flex: none; font-size: .64rem; }

/* Ce que vous y gagnez : texte et capture en alternance. */
.gain { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.gain:nth-child(even) .gain-text { order: 2; }
.gain:nth-child(even) .crop { justify-self: start; }
.gain .crop { justify-self: end; }
.gain:last-child { grid-template-columns: 1fr; }
.gain p { color: var(--ink-soft); font-size: 1.12rem; max-width: 30em; margin: 0; }
@media (max-width: 820px) {
  .gain { grid-template-columns: 1fr; }
  .gain:nth-child(even) .gain-text { order: 0; }
  .gain .crop { justify-self: start; }
}

/* Tarifs : deux colonnes de phrases. */
.pricing h2 { max-width: 20em; }
.plans { display: grid; grid-template-columns: 1fr 1fr; margin-top: 28px; border-top: 1px solid var(--ink); }
.plan { padding: 24px 32px 0 0; }
.plan + .plan { padding-left: 32px; border-left: 1px solid var(--rule); }
.plan p { color: var(--ink-soft); margin: 0; }
.plan.pro h3 { color: var(--accent); }
.value { margin: 32px 0 0; font-weight: 600; }
@media (max-width: 700px) { .plans { grid-template-columns: 1fr; } .plan + .plan { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); margin-top: 24px; } }

/* Questions. */
.faq details { border-top: 1px solid var(--rule); padding: 18px 0; max-width: 46em; }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; font-family: var(--serif); font-size: 1.15rem; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); color: var(--ink-soft); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--ink-soft); margin: 10px 0 0; }

/* Articles : une table des matières. */
.cards { list-style: none; padding: 0; margin: 24px 0 0; }
.cards li { border-top: 1px solid var(--rule); }
.cards li:last-child { border-bottom: 1px solid var(--rule); }
.cards a, .cards a:visited { display: block; padding: 22px 0; color: var(--ink); text-decoration: none; }
.cards h2, .cards h3 { font-size: 1.3rem; margin-bottom: 6px; }
.cards a:hover h2, .cards a:hover h3 { color: var(--accent); }
.cards p { color: var(--ink-soft); margin: 0; max-width: 46em; }
.cards .more { display: inline-block; margin-top: 10px; color: var(--accent); font-weight: 600; font-size: .95rem; }
.blog-head { padding-bottom: 0 !important; }

/* Dernier appel : l'icône, une phrase, le bouton. */
.final-cta { text-align: left; }
.final-cta img { border-radius: 16px; margin-bottom: 24px; }
.final-cta h2 { max-width: 18em; }
.final-cta p { color: var(--ink-soft); max-width: 34em; }

/* Article. */
.article { max-width: 700px; }
.article h1 { font-size: clamp(2.1rem, 5vw, 3rem); }
.article h2 { font-size: 1.55rem; margin-top: 1.8em; }
.article .meta, .crumbs { color: var(--ink-soft); font-size: .95rem; }
.crumbs a, .crumbs a:visited { color: var(--ink-soft); text-decoration: none; }
.article-cta { display: flex; gap: 18px; align-items: flex-start; margin: 48px 0; padding: 24px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); }
.article-cta img { border-radius: 12px; }
.article-cta strong { font-family: var(--serif); font-size: 1.2rem; }
.article-cta p { margin: 4px 0 14px; color: var(--ink-soft); }
.article-cta .more-link { margin: 14px 0 0; font-size: .95rem; }
.sources-title { font-family: var(--sans) !important; font-size: 1rem !important; color: var(--ink-soft); }
.sources { font-size: .92rem; color: var(--ink-soft); }

.foot { border-top: 1px solid var(--rule); padding: 36px clamp(18px, 4vw, 48px); color: var(--ink-soft); font-size: .92rem; }
.foot p { margin: 0; }
.langs { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 14px; }
.langs a, .langs a:visited, .foot a, .foot a:visited { color: var(--ink-soft); }
.langs a { text-decoration: none; padding: 6px 0; }
.langs a[aria-current] { color: var(--ink); font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
