/* Transcriphone — feuille de style unique, aux couleurs de l'application Android
   (icône : dégradé indigo → violet → magenta). Polices hébergées sur ce site :
   aucune requête vers un tiers (RGPD), rien de superflu. */

@font-face { font-family: "Bricolage Grotesque"; src: url("/fonts/bricolage-grotesque.woff2") format("woff2"); font-weight: 500 800; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("/fonts/ibm-plex-sans.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/fonts/ibm-plex-mono.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

/* ---------- Thème (mêmes valeurs que la fiche de l'application) ---------- */
:root {
  --ground: #f6f5fb;
  --panel: #ffffff;
  --panel-2: #fbfafe;
  --ink: #211b39;
  --muted: #6b6584;
  --hair: #e6e2f2;
  --indigo: #4338ca;
  --violet: #7c3aed;
  --magenta: #a21caf;
  --ok: #1e7a46;
  --ok-soft: #e3f4ea;
  --link: #4338ca;
  --tint: #efeafd;
  --on-accent: #ffffff;
  --frame: #1b1530;
  --glow-1: rgba(124, 58, 237, 0.20);
  --glow-2: rgba(162, 28, 175, 0.14);
  --shadow: 0 1px 2px rgba(33, 27, 57, 0.05), 0 18px 44px -18px rgba(33, 27, 57, 0.32);
  --grad: linear-gradient(155deg, var(--indigo), var(--violet) 55%, var(--magenta));
  --radius: 18px;
  --maxw: 1120px;
  --font: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Bricolage Grotesque", "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Code", Consolas, monospace;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #131120; --panel: #1c1830; --panel-2: #211c38; --ink: #edeaf8; --muted: #a79fc4; --hair: #332b4e;
    --ok: #5fd08a; --ok-soft: #14301f; --link: #b9b0ff; --tint: #2a2350; --frame: #2d2748;
    --glow-1: rgba(124, 58, 237, 0.28); --glow-2: rgba(162, 28, 175, 0.20);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.35), 0 18px 44px -18px rgba(0, 0, 0, 0.75);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ground: #131120; --panel: #1c1830; --panel-2: #211c38; --ink: #edeaf8; --muted: #a79fc4; --hair: #332b4e;
  --ok: #5fd08a; --ok-soft: #14301f; --link: #b9b0ff; --tint: #2a2350; --frame: #2d2748;
  --glow-1: rgba(124, 58, 237, 0.28); --glow-2: rgba(162, 28, 175, 0.20);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.35), 0 18px 44px -18px rgba(0, 0, 0, 0.75);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ground); color: var(--ink); font-family: var(--font); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; letter-spacing: -0.02em; margin: 0; font-weight: 700; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--ground); padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px;
  border-radius: 999px; border: 1.5px solid transparent; font: inherit; font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--grad); color: var(--on-accent); box-shadow: 0 10px 26px -10px var(--violet); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 30px -10px var(--violet); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--hair); }
.btn-ghost:hover { border-color: var(--muted); background: var(--panel); }
.btn-small { min-height: 40px; padding: 0 18px; font-size: .95rem; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--ground) 84%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--hair); }
.bar { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.02em; }
.logo { width: 36px; height: 36px; flex: none; border-radius: 10px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: .97rem; padding: 8px 14px; border-radius: 999px; }
.nav a:hover { color: var(--ink); background: var(--tint); }
.bar-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 999px; border: 1.5px solid var(--hair); background: transparent; color: var(--ink); cursor: pointer; }
.icon-btn:hover { background: var(--panel); border-color: var(--muted); }
.icon-btn svg { width: 20px; height: 20px; }
.burger { display: none; }
@media (max-width: 1080px) {
  .burger { display: inline-grid; }
  .bar-cta { display: none; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; margin: 0; flex-direction: column; gap: 0; padding: 8px 20px 18px; background: var(--ground); border-bottom: 1px solid var(--hair); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 6px; border-radius: 0; border-bottom: 1px solid var(--hair); font-size: 1.05rem; }
  .bar-actions { margin-left: auto; }
}

/* ---------- Héros ---------- */
.hero { position: relative; overflow: hidden; padding: 56px 0 0; }
.hero::before {
  content: ""; position: absolute; inset: -20% -15% auto auto; width: 820px; height: 820px; pointer-events: none;
  background: radial-gradient(closest-side, var(--glow-1), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; inset: auto auto -10% -12%; width: 620px; height: 620px; pointer-events: none;
  background: radial-gradient(closest-side, var(--glow-2), transparent 70%);
}
.hero > .container { position: relative; z-index: 1; }
.hero-text { max-width: 840px; text-align: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 999px; background: var(--panel); border: 1px solid var(--hair); font-size: .9rem; font-weight: 500; color: var(--muted); }
.pill .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 4px var(--tint); }
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); margin: 22px 0 20px; letter-spacing: -0.035em; line-height: 1.02; font-weight: 800; }
.lead { font-size: clamp(1.1rem, 2vw, 1.25rem); color: var(--muted); max-width: 36em; margin-inline: auto; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; list-style: none; padding: 0; margin: 26px 0 0; color: var(--muted); font-size: .95rem; font-weight: 500; }
.facts li { display: inline-flex; align-items: center; gap: 8px; }
.facts svg { width: 18px; height: 18px; color: var(--ok); flex: none; }

/* Bande de captures d'écran : une seule ligne, téléphones coupés en bas */
.phone-shot {
  position: relative; aspect-ratio: 9 / 19.5; background: var(--frame); border: 7px solid var(--frame); border-radius: 34px;
  box-shadow: var(--shadow); overflow: hidden;
}
.phone-shot::after { content: ""; position: absolute; top: 9px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--frame); box-shadow: inset 0 0 0 2px rgba(255,255,255,.08); z-index: 2; }
.phone-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 27px; background: var(--panel); }
.phone-shot.crop { aspect-ratio: 9 / 16.5; border-bottom: 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.phone-shot.crop img { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 52px; align-items: start; }
.shot { margin: 0; text-align: center; min-width: 0; }
.shot figcaption { margin-top: 16px; }
.shot strong { display: block; font-family: var(--display); font-size: 1.05rem; letter-spacing: -0.01em; }
.shot span { display: block; margin-top: 3px; color: var(--muted); font-size: .88rem; line-height: 1.35; }
.caption { margin: 22px 0 0; font-size: .84rem; color: var(--muted); text-align: center; }
@media (max-width: 760px) {
  .hero { padding-top: 36px; }
  /* Sur mobile, la ligne reste unique : on la fait défiler au doigt */
  .strip { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 20px 8px; margin: 40px -20px 0; scrollbar-width: none; }
  .strip::-webkit-scrollbar { display: none; }
  .shot { flex: 0 0 56%; scroll-snap-align: center; }
  .shot span { display: none; }
}
/* ---------- Sections ---------- */
section { padding: 84px 0; }
.band { background: var(--panel-2); border-block: 1px solid var(--hair); }
.eyebrow { font-family: var(--mono); color: var(--link); font-weight: 500; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.sec-head { max-width: 42rem; margin-bottom: 44px; }
.sec-head h2 { font-size: clamp(1.95rem, 4.2vw, 3rem); margin-top: 10px; }
.sec-head p { margin-top: 14px; color: var(--muted); font-size: 1.12rem; }
@media (max-width: 700px) { section { padding: 60px 0; } }

.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card { background: var(--panel); border: 1px solid var(--hair); border-radius: var(--radius); padding: 26px; box-shadow: 0 1px 2px rgba(33, 27, 57, 0.03); }
.card h3 { font-size: 1.25rem; margin: 18px 0 8px; }
.card p { color: var(--muted); font-size: 1rem; }
.ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--grad); color: #fff; flex: none; }
.ico svg { width: 22px; height: 22px; }
.ico.ok { background: var(--ok); }

/* Métiers */
.trades { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 0; margin: 0; list-style: none; }
.trades li { padding: 8px 16px; border-radius: 999px; background: var(--panel); border: 1px solid var(--hair); color: var(--muted); font-weight: 500; font-size: .95rem; }
.trades-wrap { padding: 28px 0 8px; text-align: center; }
.trades-wrap p { color: var(--muted); font-size: .95rem; margin-bottom: 14px; }

/* Parcours */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: etape; list-style: none; padding: 0; margin: 0; }
.steps li { position: relative; background: var(--panel); border: 1px solid var(--hair); border-radius: var(--radius); padding: 26px; counter-increment: etape; }
.steps li::before {
  content: counter(etape); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--grad); color: #fff; font-family: var(--display); font-weight: 800; margin-bottom: 18px;
}
.steps h3 { font-size: 1.15rem; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: .98rem; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Fiche des fonctions */
.fiche .card { padding: 26px 28px; }
.card-head { display: flex; align-items: flex-start; gap: 16px; }
.card-head h3 { margin: 2px 0 2px; font-size: 1.25rem; }
.card .sub { color: var(--muted); font-size: .95rem; }
.points { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 11px; }
.points li { position: relative; padding-left: 20px; color: var(--ink); font-size: .99rem; line-height: 1.55; opacity: .9; }
.points li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
.points b { font-weight: 600; opacity: 1; }

/* Offres */
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.checks svg { width: 22px; height: 22px; color: var(--ok); flex: none; margin-top: 2px; }
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; align-items: stretch; padding-top: 14px; }
.plan { background: var(--panel); border: 1px solid var(--hair); border-radius: 22px; padding: 32px; display: flex; flex-direction: column; }
.plan.pro { border: 2px solid transparent; background: linear-gradient(var(--panel), var(--panel)) padding-box, var(--grad) border-box; box-shadow: var(--shadow); position: relative; }
.plan .tag { position: absolute; top: -13px; left: 28px; background: var(--grad); color: #fff; font-family: var(--mono); font-size: .75rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.plan h3 { font-size: 1.6rem; }
.plan .sub { color: var(--muted); margin-top: 4px; }
.plan .price { margin: 22px 0 6px; font-family: var(--display); font-size: 1.7rem; font-weight: 800; letter-spacing: -0.03em; }
.plan .price small { font-family: var(--font); font-size: .95rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan .checks { margin: 20px 0 28px; flex: 1; align-content: start; }
.plan .btn { width: 100%; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }
.table-wrap { margin-top: 40px; overflow-x: auto; background: var(--panel); border: 1px solid var(--hair); border-radius: var(--radius); }
.compare { width: 100%; border-collapse: collapse; font-size: .97rem; }
.compare caption { text-align: left; padding: 18px 22px 6px; font-family: var(--display); font-weight: 700; font-size: 1.1rem; }
.compare th, .compare td { padding: 13px 22px; text-align: left; border-top: 1px solid var(--hair); vertical-align: top; }
.compare thead th { color: var(--muted); font-family: var(--mono); font-weight: 500; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; border-top: 0; padding-top: 10px; }
.compare tbody th { font-weight: 500; color: var(--ink); width: 52%; }
.compare td { color: var(--muted); }
.compare td.no { opacity: .7; }
.fineprint { margin-top: 14px; color: var(--muted); font-size: .9rem; }
@media (max-width: 640px) { .compare th, .compare td { padding: 11px 12px; font-size: .9rem; } .compare caption { padding: 16px 12px 6px; } .compare tbody th { width: 46%; } }

/* FAQ */
.faq { max-width: 780px; display: grid; gap: 10px; }
.faq details { background: var(--panel); border: 1px solid var(--hair); border-radius: 14px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--violet); font-weight: 500; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 22px 20px; color: var(--muted); }
.faq .answer p + p { margin-top: 10px; }

/* Appel à l'action */
.cta { background: var(--grad); color: #fff; border-radius: 28px; padding: 60px 32px; text-align: center; position: relative; overflow: hidden; box-shadow: var(--shadow); }
.cta::before { content: ""; position: absolute; inset: -40% auto auto -10%; width: 520px; height: 520px; background: radial-gradient(closest-side, rgba(255,255,255,.22), transparent 70%); }
.cta h2 { position: relative; font-size: clamp(1.9rem, 4vw, 2.8rem); }
.cta p { position: relative; max-width: 34em; margin: 14px auto 28px; color: rgba(255,255,255,.88); font-size: 1.1rem; }
.cta .btn { position: relative; background: #fff; color: var(--indigo); box-shadow: 0 10px 26px -12px rgba(0,0,0,.5); }

/* Pied de page */
.site-footer { padding: 48px 0 40px; border-top: 1px solid var(--hair); color: var(--muted); font-size: .95rem; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot h4 { margin: 0 0 12px; font-family: var(--mono); font-weight: 500; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }
.foot p { margin-top: 12px; }
.legal-note { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--hair); font-size: .85rem; display: grid; gap: 6px; }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr; } }

/* Pages juridiques */
.page-head { padding: 56px 0 8px; }
.page-head h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 10px 0 12px; }
.page-head p { color: var(--muted); }
.prose { max-width: 760px; padding: 24px 0 90px; }
.prose h2 { font-size: 1.45rem; margin: 40px 0 12px; }
.prose p, .prose li { color: var(--muted); }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 1.2em; display: grid; gap: 6px; margin: 12px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: .96rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--hair); vertical-align: top; }
.prose th { color: var(--ink); font-weight: 600; }
.todo { background: #fff3a8; color: #3b3200; padding: 1px 6px; border-radius: 5px; font-weight: 600; }
.notice { background: var(--tint); border: 1px solid var(--hair); border-radius: 14px; padding: 16px 18px; color: var(--muted); margin-bottom: 24px; }
.not-found { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 60px 20px; }
.not-found h1 { font-size: clamp(3rem, 12vw, 6rem); margin: 0 0 10px; }


/* ---------- Sélecteur de langue ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lang-select {
  appearance: none; -webkit-appearance: none; height: 42px; padding: 0 34px 0 16px; border-radius: 999px;
  border: 1.5px solid var(--hair); background: var(--panel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236b6584' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center;
  color: var(--ink); font: inherit; font-size: .92rem; font-weight: 500; cursor: pointer; max-width: 150px;
}
.lang-select:hover { border-color: var(--muted); }
.langs { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.langs li { display: inline; }

/* ---------- Sections avec image à côté du texte ---------- */
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.split h2 { font-size: clamp(1.95rem, 4.2vw, 3rem); margin: 10px 0 16px; }
.split-lead { color: var(--muted); font-size: 1.12rem; }
.split .checks { margin-top: 24px; }
.split .checks li { color: var(--ink); opacity: .9; }
.split-visual { margin: 0; justify-self: center; width: 100%; }
.split-visual .phone-shot { max-width: 270px; margin-inline: auto; }
.split-reverse { grid-template-columns: .95fr 1.05fr; }
.split-reverse > .split-visual { order: 2; }
.duo-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 520px; }
.duo-shots figure { margin: 0; }
.duo-shots .phone-shot { max-width: 230px; }
.duo-shots .caption { margin-top: 12px; }
.duo-shots .duo-note { grid-column: 1 / -1; margin: 6px 0 0; }
.site-lang { margin-top: 22px; padding: 14px 18px; border-radius: 14px; background: var(--tint); color: var(--ink); font-size: .96rem; }
.checks li.limit { color: var(--muted); font-size: .94rem; padding-left: 34px; }
@media (max-width: 900px) {
  .split, .split-reverse { grid-template-columns: 1fr; gap: 36px; }
  .split-reverse > .split-visual { order: 0; }
}
@media (max-width: 640px) { .lang-select { max-width: 124px; padding-left: 12px; } }
/* Petits écrans : l'en-tête garde le logo seul (le nom reste lu par les lecteurs d'écran) */
@media (max-width: 520px) {
  .bar { gap: 10px; }
  .bar .brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .bar-actions { gap: 8px; }
  .site-footer .brand span { position: static; width: auto; height: auto; clip: auto; }
}
/* Apparition au défilement (uniquement si JS actif) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; }
.js .reveal.d2 { transition-delay: .16s; }
.js .reveal.d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* =====================================================================
   Mise en avant Android : héros avec téléphone, section « showcase »
   ===================================================================== */

/* ---------- Héros en deux colonnes ---------- */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 48px; align-items: center; }
.hero-grid .hero-text { text-align: left; max-width: none; }
.hero-grid h1 { font-size: clamp(2.5rem, 5.2vw, 4.3rem); }
.hero-grid .lead { margin-inline: 0; }
.hero-grid .hero-actions, .hero-grid .facts { justify-content: flex-start; }
.hero-device { position: relative; margin: 0 auto; width: 100%; max-width: 300px; }
.hero-device .phone-shot { border-width: 8px; border-radius: 40px; box-shadow: 0 2px 4px rgba(33, 27, 57, .08), 0 40px 80px -30px rgba(67, 56, 202, .55); }
.hero-device .phone-shot img { border-radius: 32px; }
.hero-device .notif { position: absolute; left: -84px; bottom: 96px; width: 290px; z-index: 3; }
.strip { grid-template-columns: repeat(3, 1fr); max-width: 860px; margin-inline: auto; }
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-grid .hero-text { text-align: center; }
  .hero-grid .lead { margin-inline: auto; }
  .hero-grid .hero-actions, .hero-grid .facts { justify-content: center; }
  .hero-device { max-width: 260px; }
  .hero-device .notif { left: -48px; bottom: 64px; width: 262px; }
}
@media (max-width: 520px) {
  .hero-device { max-width: 224px; }
  .hero-device .notif { left: -30px; bottom: 48px; width: 236px; }
}

/* ---------- Notification Android (illustration) ---------- */
.notif {
  display: flex; gap: 12px; align-items: flex-start; padding: 13px 14px; border-radius: 20px;
  background: #ffffff; color: #211b39; text-align: left;
  box-shadow: 0 1px 2px rgba(17, 12, 34, .10), 0 18px 40px -16px rgba(17, 12, 34, .45);
}
.notif-ico { width: 30px; height: 30px; flex: none; border-radius: 9px; }
.notif-body { min-width: 0; flex: 1; }
.notif-app { font-size: .74rem; color: #6b6584; line-height: 1.3; }
.notif-title { font-weight: 600; font-size: .92rem; line-height: 1.3; margin-top: 2px; display: flex; justify-content: space-between; gap: 8px; }
.notif-title span { font-family: var(--mono); font-weight: 500; color: #7c3aed; }
.notif-actions { display: flex; gap: 18px; margin-top: 9px; font-size: .82rem; font-weight: 600; color: #4338ca; }
.notif-static { width: 100%; max-width: 300px; }

/* ---------- Section « Application Android » (fond sombre dans les deux thèmes) ---------- */
.showcase { --sc-bg: #16112b; --sc-card: rgba(255, 255, 255, .045); --sc-line: rgba(255, 255, 255, .09); --sc-ink: #f1eefb; --sc-muted: #b4acd2;
  position: relative; overflow: hidden; background: var(--sc-bg); color: var(--sc-ink); }
:root[data-theme="dark"] .showcase { --sc-bg: #0d0a1a; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .showcase { --sc-bg: #0d0a1a; } }
.showcase::before {
  content: ""; position: absolute; inset: -30% -10% auto auto; width: 760px; height: 760px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(124, 58, 237, .32), transparent 70%);
}
.showcase > .container { position: relative; }
.showcase .eyebrow { color: #c4b8ff; }
.showcase .sec-head p { color: var(--sc-muted); }
.showcase .card { background: var(--sc-card); border-color: var(--sc-line); box-shadow: none; }
.showcase .card h3 { color: var(--sc-ink); }
.showcase .card p { color: var(--sc-muted); }
.droid .card { display: flex; flex-direction: column; }
.droid .mock + h3 { margin-top: 0; }

.mock {
  height: 148px; margin-bottom: 22px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, rgba(67, 56, 202, .38), rgba(162, 28, 175, .22)); border: 1px solid var(--sc-line);
  padding: 14px;
}

/* Réglages rapides */
.mock-qs { gap: 14px; }
.qs { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 62px; }
.qs b { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .12); color: #e9e5fb; }
.qs b svg { width: 22px; height: 22px; }
.qs i { font-style: normal; font-size: .72rem; color: var(--sc-muted); white-space: nowrap; max-width: 70px; overflow: hidden; text-overflow: ellipsis; }
.qs.on b { background: #ffffff; color: #6d28d9; box-shadow: 0 0 0 4px rgba(255, 255, 255, .16), 0 10px 24px -8px rgba(0, 0, 0, .6); }
.qs.on i { color: #ffffff; font-weight: 600; }

/* Menu de partage */
.mock-share { flex-direction: column; align-items: stretch; justify-content: flex-end; padding: 14px 14px 0; }
.mock-share .sheet-title, .mock-share .tgts { background: #f6f5fb; }
.mock-share .sheet-title { border-radius: 16px 16px 0 0; padding: 12px 16px 2px; font-weight: 600; font-size: .86rem; color: #211b39; }
.tgts { display: flex; justify-content: space-around; padding: 10px 8px 14px; }
.tgt { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 64px; }
.tgt b { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--grad); }
.tgt:nth-child(2) b { background: #4338ca; }
.tgt:nth-child(3) b { background: #a21caf; }
.tgt:nth-child(4) b { background: #e6e2f2; color: #6b6584; }
.tgt b svg { width: 20px; height: 20px; }
.tgt i { font-style: normal; font-size: .7rem; color: #6b6584; white-space: nowrap; max-width: 68px; overflow: hidden; text-overflow: ellipsis; }

/* Versions d'Android */
.versions { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.versions li { font-family: var(--mono); font-size: .8rem; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--sc-line); color: var(--sc-ink); background: rgba(255, 255, 255, .05); }

@media (max-width: 640px) { .mock { height: 136px; } .qs { width: 56px; } .qs b { width: 46px; height: 46px; } }

/* En-tête : un peu plus serré, le bouton d'action ne passe plus sur deux lignes */
.nav a { padding: 8px 11px; }
.bar-cta { white-space: nowrap; }

/* Notification dans la carte « écran éteint » : version compacte */
.mock-notif .notif { padding: 11px 12px; gap: 10px; }
.mock-notif .notif-ico { width: 26px; height: 26px; border-radius: 8px; }
.mock-notif .notif-title { display: block; font-size: .86rem; }
.mock-notif .notif-title span { display: block; margin-top: 1px; }
.mock-notif .notif-actions { margin-top: 6px; }

/* Colonnes égales, et maquettes protégées des styles génériques des cartes */
.droid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 980px) { .droid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .droid { grid-template-columns: minmax(0, 1fr); } }
.mock-qs { gap: 8px; }
.qs { width: 56px; }
.card .notif p.notif-app { color: #6b6584; font-size: .74rem; }
.card .notif p.notif-title { color: #211b39; }
.card .notif p.notif-actions { color: #4338ca; font-size: .82rem; }
.card .mock-share p.sheet-title { color: #211b39; font-size: .86rem; }
.versions { gap: 5px; }
.versions li { padding: 3px 8px; }
@media (max-width: 520px) { .hero-device .notif-title { font-size: .84rem; } .hero-device .notif { padding: 11px 12px; } }
