/* Oltea — site vitrine. Sobre et clair : blanc, gris très pâle, encre, un seul accent (l'indigo de l'app). */
:root {
  --bg: #ffffff;
  --bg-soft: #f5f6fa;
  --ink: #14161a;
  --ink-soft: #3a3e47;
  --muted: #6b7079;
  --line: #e4e7ee;
  --indigo: #1d46d6;
  --indigo-deep: #141b4a;
  --indigo-soft: #eceefb;
  --green: #1b6b3a;
  --radius: 16px;
  --sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Bricolage Grotesque', 'Instrument Sans', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(36px, 5vw, 58px); }
@media (max-width: 359px) { h1 { font-size: 32px; } } /* « quelques minutes. » reste insécable : il doit tenir dans 280 px */
h2 { font-size: clamp(28px, 3.6vw, 40px); }
h3 { font-size: 20px; font-weight: 600; }
p { margin: 0; }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-soft); max-width: 58ch; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--indigo); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.accent { color: var(--indigo); }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 22px; text-decoration: none; }
.brand .ring { width: 24px; height: 24px; border-radius: 50%; border: 4px solid var(--ink); position: relative; }
.brand .ring::after { content: ''; position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--indigo); right: -5px; top: -5px; box-shadow: 0 0 0 3px #fff; }
.nav nav { margin-left: auto; display: flex; gap: 22px; align-items: center; font-weight: 500; font-size: 15px; }
.nav nav a { text-decoration: none; color: var(--ink-soft); }
.nav nav a:hover { color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 20px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 1.5px solid transparent; transition: background 0.15s ease, color 0.15s ease; cursor: pointer; font-size: 16px; line-height: 1; }
.btn.ink { background: var(--ink); color: #fff; }
.btn.ink:hover { background: #2a2e36; }
.btn.accent { background: var(--indigo); color: #fff; }
.btn.accent:hover { background: #172aa3; }
.btn.ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn.ghost:hover { border-color: var(--ink); }
.btn.sm { padding: 10px 16px; font-size: 14px; }
@media (max-width: 760px) { .nav nav a:not(.btn) { display: none; } }

/* Hero */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(36px, 5vw, 64px); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero h1 { margin: 14px 0 18px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero .proof { margin-top: 24px; display: flex; gap: 8px 20px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.hero .proof span::before { content: '✓'; color: var(--green); margin-right: 6px; font-weight: 700; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }

/* Téléphone. L'écran est une capture de l'application à 3x (déclinée en 390, 520, 780 et 1170 px de large) ;
   le cadre, la barre d'état et l'indicateur d'accueil sont dessinés en CSS, donc nets à toute taille. */
.device { --w: 256px; position: relative; flex: none; width: var(--w); padding: calc(var(--w) * 0.034); border-radius: calc(var(--w) * 0.168); background: #0f1012; box-shadow: inset 0 0 0 1.5px #34373e, 0 2px 4px rgba(20, 22, 26, 0.08), 0 28px 56px -16px rgba(20, 22, 26, 0.32); }
.device::before, .device::after { content: ''; position: absolute; width: 3px; border-radius: 2px; background: #2b2d33; }
.device::before { right: -2px; top: 25%; height: 11%; }
.device::after { left: -2px; top: 20%; height: 6.5%; box-shadow: 0 calc(var(--w) * 0.19) 0 #2b2d33; }
.screen { position: relative; overflow: hidden; border-radius: 13.4% / 6.2%; container-type: inline-size; background: #f2f3f9; }
.screen img { width: 100%; height: auto; }
.sb { position: absolute; inset: 0 0 auto; height: 15cqw; display: grid; grid-template-columns: 1fr 32.4cqw 1fr; align-items: center; color: #0b0b0c; pointer-events: none; }
.sb .t { justify-self: center; transform: translateX(1.6cqw); font: 600 4.4cqw/1 -apple-system, 'SF Pro Text', var(--sans); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.sb .island { align-self: start; margin-top: 2.8cqw; height: 9.5cqw; border-radius: 99px; background: #000; }
.sb svg { justify-self: center; transform: translateX(-1.6cqw); width: 18cqw; height: auto; }
.screen .home { position: absolute; left: 50%; bottom: 2.1cqw; width: 34.4cqw; height: 1.3cqw; border-radius: 99px; background: #0b0b0c; transform: translateX(-50%); }

/* Deux téléphones superposés et décalés : le premier en haut à gauche, le second devant, en bas à droite,
   assez bas pour ne rien cacher du haut du premier écran (où se trouve son bouton). */
.duo { --main: min(272px, 58cqw); --second: min(214px, 45cqw); position: relative; display: grid; width: min(100%, 500px); margin: 0 auto; container-type: inline-size; }
.duo::before { content: ''; position: absolute; inset: 10% 0 6%; border-radius: 32px; background: var(--bg-soft); }
.soft .duo::before { background: #fff; }
.duo .device { grid-area: 1 / 1; align-self: start; }
.duo .device:first-of-type { --w: var(--main); justify-self: start; margin-left: 8cqw; }
.duo .device:last-of-type { --w: var(--second); justify-self: end; margin-right: 6cqw; margin-top: calc(var(--main) * 0.94); }
@media (max-width: 599px) {
  .duo { --main: 70cqw; --second: 54cqw; }
  .duo .device:first-of-type { margin-left: 0; }
  .duo .device:last-of-type { margin-right: 0; }
}

/* Sections */
section { padding: clamp(52px, 7vw, 96px) 0; }
section.soft { background: var(--bg-soft); }
section.ink { background: var(--ink); color: #fff; }
section.ink .lead, section.ink .muted { color: rgba(255, 255, 255, 0.72); }
.head { max-width: 720px; margin-bottom: 36px; }
.head h2 { margin: 10px 0 14px; }
.grid { display: grid; gap: 18px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.grid.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) { .grid.three, .grid.two, .grid.four { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.soft .card { border-color: transparent; }
.ink .card { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.12); }
.step .n { font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--indigo); background: var(--indigo-soft); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; }
.ink .step .n { background: rgba(255, 255, 255, 0.12); color: #fff; }
.step h3 { margin: 14px 0 8px; }
.step p { color: var(--ink-soft); font-size: 16px; }
.ink .step p { color: rgba(255, 255, 255, 0.75); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Cascade */

/* Tarifs */
.price { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .price { grid-template-columns: 1fr; } }
.big { font-family: var(--display); font-size: clamp(56px, 7vw, 92px); line-height: 1; font-weight: 700; letter-spacing: -0.03em; }
.big small { font-size: 0.3em; font-weight: 500; letter-spacing: 0; margin-left: 10px; color: var(--muted); font-family: var(--sans); }
.lines { list-style: none; margin: 18px 0 0; padding: 0; }
.lines li { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.lines li b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.receipt { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; font-variant-numeric: tabular-nums; }
.receipt .row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line); gap: 12px; font-size: 16px; }
.receipt .row.total { border: none; font-weight: 700; padding-top: 14px; font-size: 18px; }
.receipt .row span:first-child { color: var(--ink-soft); }

/* Faits */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.facts div { border-top: 2px solid var(--indigo); padding-top: 14px; }
.facts b { display: block; font-family: var(--display); font-size: 20px; margin-bottom: 6px; }
.facts p { color: var(--ink-soft); font-size: 15px; }
@media (max-width: 860px) { .facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } }

/* FAQ */
details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 2px 20px; }
details + details { margin-top: 8px; }
summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-size: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 22px; color: var(--indigo); line-height: 1; }
details[open] summary::after { content: '–'; }
details p { padding: 0 0 16px; color: var(--ink-soft); font-size: 16px; }

/* Téléchargement */
.download { background: var(--ink); color: #fff; border-radius: 24px; padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 30px; align-items: center; }
.download h2 { color: #fff; }
.download .lead { color: rgba(255, 255, 255, 0.78); }
.download .stores { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
/* Badges officiels des stores : 48 px de haut (minimum d'Apple : 40), écart de 14 px (au moins un quart de la hauteur). */
.stores .badge { display: block; line-height: 0; border-radius: 8px; }
.stores .badge img { display: block; height: 48px; width: auto; }
@media (max-width: 860px) { .download { grid-template-columns: 1fr; } }
/* QR code vers /telecharger/ : sur ordinateur seulement (un téléphone ne scanne pas son propre écran). */
.qr, .qr-card { display: flex; align-items: center; gap: 18px; margin: 26px 0 0; padding: 14px 18px 14px 14px; background: #fff; color: var(--ink); border-radius: 16px; max-width: 460px; }
.qr img, .qr-card img { width: 132px; height: 132px; flex: none; }
.qr figcaption, .qr-card figcaption { font-size: 15px; line-height: 1.4; color: var(--ink-soft); }
.qr figcaption b, .qr-card figcaption b { display: block; color: var(--ink); font-size: 17px; margin-bottom: 4px; }
.qr-card { border: 1px solid var(--line); margin: 0; }
.get { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 32px; margin-top: 28px; }
.get-stores .stores { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 10px; }
@media (hover: none), (pointer: coarse), (max-width: 760px) {
  .qr, .qr-card { display: none; }
  .get-stores > .muted { display: none; }
}
.download-device { display: grid; place-items: center; }
.download .device { --w: 236px; box-shadow: inset 0 0 0 1.5px #3a3d44, 0 0 0 1px rgba(255, 255, 255, 0.1), 0 28px 56px -16px rgba(0, 0, 0, 0.55); }

/* Pied de page */
footer { padding: 36px 0 56px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer .wrap { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 30px; }
footer h4 { margin: 0 0 10px; font-size: 14px; color: var(--ink); }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); text-decoration: underline; }
footer .marks { grid-column: 1 / -1; margin: 6px 0 0; font-size: 12px; line-height: 1.5; }
@media (max-width: 760px) { footer .wrap { grid-template-columns: 1fr; } }

/* Pages juridiques */
.prose { max-width: 800px; }
.prose h1 { font-size: clamp(30px, 4.5vw, 46px); margin-bottom: 10px; }
.prose h2 { font-size: 22px; margin: 36px 0 10px; }
.prose p, .prose li { color: var(--ink-soft); font-size: 16px; }
.prose p { margin: 10px 0; }
.prose ul, .prose ol { padding-left: 22px; }
.prose .version { color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.toc { background: var(--bg-soft); border-radius: 12px; padding: 16px 20px; margin: 22px 0; font-size: 14px; }
.toc ol { margin: 8px 0 0; padding-left: 20px; columns: 2; gap: 24px; }
.toc a { text-decoration: none; color: var(--ink-soft); }
@media (max-width: 700px) { .toc ol { columns: 1; } }

/* Bandeau de page intérieure */
.page-hero { padding: clamp(40px, 6vw, 80px) 0 20px; }
.page-hero h1 { margin: 12px 0 16px; max-width: 16ch; }
.page-hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.pros { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.pros div { background: var(--bg-soft); border-radius: 14px; padding: 18px 20px; }
.pros b { display: block; font-family: var(--display); font-size: 24px; margin-bottom: 4px; color: var(--indigo); }
@media (max-width: 860px) { .pros { grid-template-columns: 1fr; } }
