/* Naranza.fr : le même langage que l'application.
   Crème et encre en Blanc, gris surélevés en Noir (suit le réglage du téléphone).
   Un seul accent : la menthe, sur le bouton principal (en Noir, le gris clair
   de l'app). Titres en Fraunces, texte en police système, filets fins, cartes
   unies sans ombre. Aucun script. */

@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 400 700; font-display: swap; src: url('fonts/fraunces-italic-latin-ext.woff2') format('woff2-variations'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 400 700; font-display: swap; src: url('fonts/fraunces-italic-latin.woff2') format('woff2-variations'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('fonts/fraunces-normal-latin-ext.woff2') format('woff2-variations'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('fonts/fraunces-normal-latin.woff2') format('woff2-variations'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  color-scheme: light dark;
  --bg: #F5F0E8;
  --card: #FDFCF9;
  --ink: #2C2F33;
  --muted: rgba(44, 47, 51, .62);
  --line: #EDE8DE;
  --btn: #5EE6A8;
  --btn-ink: #062517;
  --bezel: #15191B;
  --shadow: 0 44px 80px -36px rgba(44, 47, 51, .42);
  --ease: cubic-bezier(.23, 1, .32, 1);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1C1C1E;
    --card: #2C2C2E;
    --ink: #FFFFFF;
    --muted: rgba(255, 255, 255, .62);
    --line: rgba(255, 255, 255, .10);
    --btn: #E5E5EA;
    --btn-ink: #1C1C1E;
    --bezel: #3A3A3C;
    --shadow: 0 44px 80px -36px rgba(0, 0, 0, .7);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--card); padding: 10px 16px; border-radius: 12px; z-index: 20; }
.skip:focus { left: 12px; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* En-tête */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
}
.bar { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: block; line-height: 0; }
.brand img { height: 26px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; font-size: 15px; }
.nav a { color: var(--muted); text-decoration: none; transition: color .16s; }
.nav a:hover { color: var(--ink); }
.nav .btn, .nav .btn:hover { color: var(--btn-ink); }
.nav .lang { color: var(--ink); font-weight: 600; letter-spacing: .6px; }
@media (max-width: 719px) { .nav a:not(.lang):not(.btn) { display: none; } }

/* Typographie */
h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; font-weight: 400; letter-spacing: -.02em; margin: 0; }
.kicker { margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: 1.1px; text-transform: uppercase; color: var(--muted); }
h1 { font-size: clamp(48px, 9vw, 88px); line-height: .98; }
h1 em { display: block; font-style: italic; }
h2 { font-size: clamp(32px, 5vw, 50px); line-height: 1.06; max-width: 16em; }
.lead { margin: 22px 0 0; font-size: 19px; line-height: 1.5; color: var(--muted); max-width: 31em; }
.sub { margin: 14px 0 0; color: var(--muted); max-width: 34em; }

/* Boutons */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 28px; border-radius: 999px;
  background: var(--btn); color: var(--btn-ink);
  font-size: 17px; font-weight: 600; text-decoration: none;
  transition: transform .16s var(--ease), opacity .16s;
}
.btn:hover { opacity: .92; }
.btn:active { transform: scale(.97); }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.link { font-weight: 500; text-decoration: none; padding-bottom: 2px; border-bottom: 1px solid var(--line); transition: border-color .16s; }
.link:hover { border-color: var(--ink); }
.fine { margin: 18px 0 0; font-size: 14px; color: var(--muted); }

/* Hero */
.hero { display: grid; gap: 56px; padding-block: 40px 88px; }
@media (min-width: 900px) { .hero { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 72px; padding-block: 72px 112px; } }
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .7s var(--ease) both; }
  .rise:nth-child(2) { animation-delay: .06s; }
  .rise:nth-child(3) { animation-delay: .12s; }
  .rise:nth-child(4) { animation-delay: .18s; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } }
}

/* Téléphone : la vraie capture, dans un cadre fin */
.phone {
  width: min(100%, 300px); margin: 0 auto; padding: 9px;
  border-radius: 53px; background: var(--bezel); box-shadow: var(--shadow);
}
.phone img { display: block; width: 100%; height: auto; border-radius: 44px; background: var(--card); }
.hero .phone { width: min(100%, 320px); }

/* Sections */
.section { padding: 88px 0; }
.section + .section { padding-top: 24px; }
.head { margin-bottom: 48px; }

/* Les six écrans */
.shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px 20px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 760px) { .shots { grid-template-columns: repeat(2, 1fr); gap: 72px 40px; } }
@media (min-width: 1000px) { .shots { grid-template-columns: repeat(3, 1fr); gap: 72px 40px; } }
.shot { margin: 0; text-align: center; }
.shot .phone { width: min(100%, 260px); padding: 7px; border-radius: 45px; }
.shot .phone img { border-radius: 38px; }
.shot figcaption { margin-top: 24px; }
.shot .kicker { margin-bottom: 6px; }
.shot h3 { font-size: clamp(22px, 3vw, 26px); line-height: 1.15; }
.shot p { margin: 8px auto 0; max-width: 20em; font-size: 15px; line-height: 1.45; color: var(--muted); }

/* Listes groupées, comme les Réglages de l'app */
.lists { display: grid; gap: 28px; }
@media (min-width: 900px) { .lists { grid-template-columns: 1fr 1fr; align-items: start; gap: 40px; } }
.group-title { margin: 0 0 12px 4px; }
.group { background: var(--card); border-radius: 24px; overflow: hidden; margin: 0; padding: 0; list-style: none; }
.row { display: flex; gap: 16px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.row:last-child { border-bottom: 0; }
.row svg { flex: none; width: 22px; height: 22px; margin-top: 2px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.row h3 { font: 600 17px/1.3 -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, sans-serif; letter-spacing: 0; }
.row p { margin: 3px 0 0; font-size: 15px; line-height: 1.45; color: var(--muted); }
.row .body { min-width: 0; }

/* Le mot de la mascotte */
.mots { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .mots { grid-template-columns: 1fr 1fr; gap: 72px; } }
.mot { align-items: center; }
.mot img { flex: none; width: 52px; height: 58px; object-fit: contain; }
.mot p { margin: 0; font-size: 17px; font-weight: 500; line-height: 1.4; color: var(--ink); }

/* Données */
.plain .row { display: block; }
.plain .row h3 { margin-bottom: 0; }

/* FAQ */
.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 4px; cursor: pointer; list-style: none; font-size: 18px; font-weight: 600; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex: none; width: 9px; height: 9px; margin-right: 4px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg); transition: transform .24s var(--ease);
}
.faq details[open] summary::after { transform: rotate(225deg); }
.faq details p { margin: 0 4px 22px; color: var(--muted); max-width: 40em; }

/* Appel final */
.closing { text-align: center; padding-block: 96px 104px; }
.closing h2 { margin: 0 auto; }
.closing .actions { justify-content: center; }
.closing .fine { margin-top: 20px; }

/* Pied de page */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 56px; font-size: 14px; color: var(--muted); }
.foot { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: center; }
.foot ul { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; }
.foot a { text-decoration: none; transition: color .16s; }
.foot a:hover { color: var(--ink); }
.foot .brand img { height: 22px; }

/* Vente : constat chiffré, trois gestes, bénéfices, avant / après */
.btn-sm { height: 38px; padding: 0 18px; font-size: 15px; gap: 8px; }
.nav { gap: 22px; }
@media (max-width: 719px) { .nav { gap: 16px; } }

.prob { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .prob { grid-template-columns: 1fr 1.1fr; gap: 80px; } }
.bignum { margin: 0; font-family: 'Fraunces', Georgia, serif; font-size: clamp(88px, 17vw, 168px); line-height: .9; letter-spacing: -.04em; font-variant-numeric: lining-nums; }
.biglabel { margin: 30px 0 0; font-family: 'Fraunces', Georgia, serif; font-style: italic; font-size: clamp(22px, 3.2vw, 30px); line-height: 1.2; max-width: 14em; }
.src { margin: 18px 0 0; font-size: 13px; color: var(--muted); }
.src a { text-decoration: none; border-bottom: 1px solid var(--line); }
.src a:hover { border-color: var(--ink); }
.problem .sub { max-width: 28em; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 72px; }
.step { display: grid; gap: 28px; justify-items: start; }
.step .phone { width: min(100%, 290px); }
.stepcopy { max-width: 26em; }
.stepnum { margin: 0 0 6px; font-family: 'Fraunces', Georgia, serif; font-style: italic; font-size: 64px; line-height: 1; color: var(--muted); }
.stepcopy h3 { font-size: clamp(30px, 4.4vw, 42px); line-height: 1.08; margin-top: 6px; }
.stepcopy p:last-child { margin: 16px 0 0; color: var(--muted); }
.stage-col { display: none; }

/* Grand écran avec script : le téléphone reste en place, son écran change avec l'étape lue. */
@media (min-width: 900px) {
  .js .steps2 { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 96px; align-items: start; }
  .js .stage-col { display: block; position: sticky; top: 92px; }
  .js .step { min-height: 78vh; align-content: center; gap: 0; }
  .js .step-phone { display: none; }
  .js .steps { gap: 0; }
}
.stage { display: grid; justify-items: center; gap: 22px; }
.stage .phone { width: min(100%, 290px, calc((100vh - 270px) * .46)); }
.stage-screens { display: grid; }
.stage-shot { grid-area: 1 / 1; opacity: 0; transform: translateY(14px) scale(.985); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.stage-shot picture, .stage-shot img { display: block; width: 100%; height: auto; border-radius: 38px; }
.stage[data-step="1"] .stage-shot[data-n="1"],
.stage[data-step="2"] .stage-shot[data-n="2"],
.stage[data-step="3"] .stage-shot[data-n="3"] { opacity: 1; transform: none; }
.stage .talk { margin-top: 0; }

.gain { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .gain { grid-template-columns: .8fr 1.2fr; gap: 88px; } }
.gain .phone { width: min(100%, 290px); }
.gains { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 0; background: var(--card); border-radius: 24px; overflow: hidden; }
.gainrow { padding: 20px 22px; border-bottom: 1px solid var(--line); }
.gainrow:last-child { border-bottom: 0; }
.gainrow h3 { font-family: 'Fraunces', Georgia, serif; font-weight: 400; font-size: 24px; line-height: 1.15; }
.gainrow p { margin: 6px 0 0; color: var(--muted); font-size: 16px; line-height: 1.45; }

.vsline { margin: 0; font-size: 17px; line-height: 1.4; }
.vs-no .vsline { color: var(--muted); }

/* ───────── La mascotte : les calques de l'application, animés avec son caractère ───────── */
.mascot {
  position: relative; flex: none; aspect-ratio: 8 / 9; cursor: pointer; -webkit-tap-highlight-color: transparent;
  --float: 5px; --sway: 1.5deg; --leaf: 4deg; --tempo: 1;
}
.mascot[data-mood="amoureux"] { --float: 6px; --sway: 2deg; --leaf: 5deg; --tempo: .8; }
.mascot[data-mood="suspicieux"] { --float: 3px; --sway: 2.5deg; --leaf: 3deg; --tempo: 1.3; }
.m-look { position: absolute; inset: 0; transform: translateX(calc(var(--lx, 0) * 6px)) rotate(calc(var(--lx, 0) * 2.5deg)); transition: transform .4s var(--ease); }
.m-body { position: absolute; inset: 0; transform-origin: 50% 92%; animation: m-breathe calc(1.4s * var(--tempo)) ease-in-out infinite alternate; }
.m-set { position: absolute; inset: 0; opacity: 0; transition: opacity .28s ease; }
.mascot[data-mood="neutral"] .m-neutral,
.mascot[data-mood="suspicieux"] .m-suspicieux,
.mascot[data-mood="amoureux"] .m-amoureux { opacity: 1; }
.m-set img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.m-lv { animation: m-leaf calc(1.4s * var(--tempo) * .85) ease-in-out infinite alternate; }
.m-blink { opacity: 0; animation: m-blink 7.6s linear infinite; }
.m-hearts { animation: m-hearts calc(1.4s * .8) ease-in-out infinite alternate; }
@keyframes m-breathe { from { transform: translateY(0) rotate(calc(var(--sway) * -1)); } to { transform: translateY(calc(var(--float) * -1)) rotate(var(--sway)); } }
@keyframes m-leaf { from { transform: rotate(calc(var(--leaf) * -1)); } to { transform: rotate(var(--leaf)); } }
/* Un clignement simple, un double, puis un simple : moins mécanique qu'un métronome. */
@keyframes m-blink { 0%, 36% { opacity: 0; } 37%, 39% { opacity: 1; } 40%, 60% { opacity: 0; } 61%, 63% { opacity: 1; } 64%, 70% { opacity: 0; } 71%, 73% { opacity: 1; } 74%, 100% { opacity: 0; } }
@keyframes m-hearts { from { opacity: .75; transform: translateY(0) scale(.96); } to { opacity: 1; transform: translateY(-6px) scale(1.04); } }
.mascot.pop .m-body { animation: m-squash .55s var(--ease); }
.mascot.pop .m-lv { animation: m-kick .55s var(--ease); }
@keyframes m-squash { 0% { transform: scale(1); } 30% { transform: scale(1.09, .91); } 62% { transform: scale(.97, 1.04); } 100% { transform: scale(1); } }
@keyframes m-kick { 30% { transform: rotate(14deg); } 100% { transform: rotate(0); } }

/* Sa bulle */
.talk { display: flex; align-items: center; gap: 12px; margin-top: 30px; }
.talk .mascot { width: 104px; }
.bubble { position: relative; margin: 0; display: flex; align-items: center; min-height: 64px; max-width: 19em; padding: 12px 18px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; font-size: 16px; line-height: 1.35; font-weight: 500; }
.bubble::before { content: ''; position: absolute; left: -7px; top: 50%; width: 12px; height: 12px; margin-top: -6px; background: var(--card); border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); transform: rotate(45deg); }
.bubble-text { display: inline-block; transition: opacity .14s ease, transform .14s ease; }
.bubble-text.out { opacity: 0; transform: translateY(4px); }
.talk-hero { margin-top: 36px; }
.talk-hero .bubble { min-height: 76px; }
.talk-problem .mascot { width: 92px; }
.talk-stage .mascot { width: 84px; }
.talk-stage .bubble { min-height: 56px; font-size: 15px; }
.talk-close { flex-direction: column; gap: 16px; margin: 0 0 8px; }
.talk-close .mascot { width: 168px; }
.talk-close .bubble::before { left: 50%; top: -7px; margin: 0 0 0 -6px; transform: rotate(135deg); }
.closing .talk-close { justify-content: center; }

.mot .mini, .mini { position: relative; flex: none; width: 52px; aspect-ratio: 8 / 9; display: block; }
.mot .mini img, .mini img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.closing h2 { margin-top: 18px; }

@media (prefers-reduced-motion: reduce) {
  .m-body, .m-lv, .m-blink, .m-hearts { animation: none; }
  .m-look, .stage-shot, .bubble-text, .m-set { transition: none; }
  .mascot { cursor: default; }
}

/* ───────── Au défilement : les blocs entrent un à un ───────── */
.reveal-ready [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .75s var(--ease), transform .85s var(--ease); transition-delay: var(--d, 0s); will-change: opacity, transform; }
.reveal-ready [data-reveal].in { opacity: 1; transform: none; will-change: auto; }
.reveal-ready .shots [data-reveal] { transform: translateY(40px) scale(.97); }
.reveal-ready .lists > div:first-child[data-reveal] { transform: translateX(-28px); }
.reveal-ready .lists > div:last-child[data-reveal] { transform: translateX(28px); }
.reveal-ready .lists > div[data-reveal].in { transform: none; }
/* Réduire les animations : on garde l'apparition en fondu, sans déplacement. */
.reveal-fade [data-reveal], .reveal-fade .shots [data-reveal], .reveal-fade .lists > div[data-reveal] { transform: none; transition: opacity .4s ease; }

.bignum { font-variant-numeric: tabular-nums lining-nums; }

/* En-tête : un filet apparaît dès qu'on a quitté le haut de page. */
.site-header { transition: box-shadow .3s ease; }
.site-header.scrolled { box-shadow: 0 1px 0 var(--line); }

/* Mobile : chaque étape a sa mascotte ; sur grand écran avec script, la scène fixe la remplace. */
.step-talk .talk { margin-top: 4px; }
.talk-step .mascot { width: 76px; }
.talk-step .bubble { min-height: 52px; font-size: 15px; }
@media (min-width: 900px) { .js .step-talk { display: none; } }
