/* Syndik — site public.
   (06/11, 3e passe) « Comme Apple, fond blanc » — son choix, après deux versions sombres refusées (« ça fait trop IA »,
   « c'est vraiment moche »). Fond blanc, gros titres centrés, une bande par outil (blanc / gris clair en alternance),
   et pour chaque outil un gros plan d'une VRAIE capture de l'application (statique/ecrans/). Le rose nacré ne vit que
   dans le logo. Polices du système (SF Pro sur Apple). */

:root {
  --blanc: #fff;
  --gris: #f5f5f7;
  --encre: #1d1d1f;
  --doux: #6e6e73;
  --discret: #86868b;
  --trait: #d2d2d7;
  --bleu: #0071e3;
  --largeur: 1120px;
  --gouttiere: clamp(16px, 4vw, 40px);
  --police: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --police-titre: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  margin: 0; background: var(--blanc); color: var(--encre);
  font: 400 1.0625rem/1.5 var(--police); letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--police-titre); margin: 0; font-weight: 600; letter-spacing: -0.03em; line-height: 1.07; }
p { margin: 0; }
h1, h2, .hero-intro, .bande-phrase { text-wrap: balance; }
a { color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
svg { display: block; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

:focus-visible { outline: 2px solid var(--bleu); outline-offset: 3px; border-radius: 8px; }
.evitement {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--encre); color: var(--blanc); padding: 10px 14px; border-radius: 10px; font-weight: 600; text-decoration: none;
}
.evitement:focus { top: 12px; }

/* ── En-tête ───────────────────────────────────────────────────────────── */
.entete {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.8); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.entete-in { max-width: var(--largeur); margin: 0 auto; padding: 0 var(--gouttiere); height: 52px; display: flex; align-items: center; gap: 32px; }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font: 600 1.0625rem/1 var(--police-titre); letter-spacing: -0.02em; }
.logo-marque { width: 20px; height: 20px; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a, .langue { color: var(--encre); opacity: 0.8; text-decoration: none; font-size: 0.8125rem; }
.nav a:hover, .langue:hover { opacity: 1; }
.entete-actions { display: flex; align-items: center; gap: 16px; }
.langue { padding: 6px 4px; }
.bouton-mini {
  display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px;
  background: var(--bleu); color: #fff; text-decoration: none; font-size: 0.8125rem; font-weight: 500;
}
.bouton-mini:hover { background: #0077ed; }
.bouton-mini--sobre { background: var(--gris); color: var(--encre); }

/* ── Héros ─────────────────────────────────────────────────────────────── */
.hero { text-align: center; padding: clamp(56px, 9vw, 104px) var(--gouttiere) 0; display: flex; flex-direction: column; align-items: center; }
.hero h1 { font-size: clamp(2.75rem, 7vw, 5rem); font-weight: 700; letter-spacing: -0.045em; line-height: 1.03; max-width: 14ch; }
.hero-intro { margin-top: 18px; max-width: 30em; color: var(--doux); font-size: clamp(1.1875rem, 2vw, 1.5rem); line-height: 1.35; letter-spacing: -0.02em; }
.hero .dl-groupe { margin-top: 32px; justify-content: center; }
.hero .dl-conseil { display: none; }
.hero-image { width: 100%; max-width: var(--largeur); margin-top: clamp(48px, 7vw, 80px); }

/* ── Les captures ──────────────────────────────────────────────────────── */
.capture {
  display: block; width: 100%; height: auto; border-radius: 18px; background: #000;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.06);
}

/* ── Boutons de téléchargement ─────────────────────────────────────────── */
.dl-groupe { display: flex; flex-wrap: wrap; gap: 10px; }
.dl {
  position: relative; display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 18px 0 14px;
  border-radius: 12px; background: var(--blanc); border: 1px solid var(--trait); color: var(--encre); text-decoration: none;
  transition: border-color .15s;
}
.dl:hover { border-color: var(--discret); }
.dl-ico { width: 22px; height: 22px; flex: none; }
.dl-txt { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.dl-txt small { font-size: 0.6875rem; color: var(--doux); }
.dl-txt strong { font-size: 1rem; font-weight: 600; }
.dl--principal { background: var(--encre); border-color: var(--encre); color: #fff; }
.dl--principal:hover { background: #000; border-color: #000; }
.dl--principal .dl-txt small { color: rgba(255, 255, 255, 0.7); }
.dl-puce { margin-left: 6px; padding: 2px 7px; border-radius: 6px; font-size: 0.6875rem; font-weight: 600; background: var(--gris); color: var(--doux); }
.dl--principal .dl-puce { background: rgba(255, 255, 255, 0.14); color: rgba(255, 255, 255, 0.8); }
.dl-conseil { margin-top: 12px; min-height: 1.4em; color: var(--discret); font-size: 0.8125rem; }

/* ── Bandes ────────────────────────────────────────────────────────────── */
.bande { padding: clamp(72px, 10vw, 120px) 0; }
.hero + #application > .bande:first-child { margin-top: clamp(72px, 10vw, 120px); }
.bande--gris { background: var(--gris); }
.bande-in { max-width: var(--largeur); margin: 0 auto; padding: 0 var(--gouttiere); text-align: center; }
.bande-in--etroit { max-width: 780px; }
.bande h2 { font-size: clamp(2.25rem, 5.4vw, 3.5rem); font-weight: 700; letter-spacing: -0.04em; }
.bande-phrase { margin: 14px auto 0; max-width: 32em; color: var(--doux); font-size: clamp(1.125rem, 1.9vw, 1.375rem); line-height: 1.38; letter-spacing: -0.02em; }
.bande .capture { margin-top: clamp(36px, 5vw, 56px); }
.points { margin: clamp(32px, 4vw, 48px) auto 0; max-width: 980px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 40px; text-align: left; }
.points li { position: relative; padding-top: 14px; border-top: 1px solid var(--trait); font-size: 1rem; line-height: 1.45; color: var(--encre); }
.aussi { text-align: center; padding: clamp(40px, 6vw, 64px) var(--gouttiere); color: var(--doux); font-size: 1.0625rem; }

/* Sécurité */
.garanties { margin: clamp(36px, 5vw, 56px) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; text-align: left; }
.garanties > div { background: var(--blanc); border-radius: 18px; padding: 26px 26px 28px; }
.garanties dt { font-weight: 600; font-size: 1.125rem; letter-spacing: -0.02em; }
.garanties dd { margin: 8px 0 0; color: var(--doux); font-size: 0.9875rem; }
.remarque { margin: 28px auto 0; max-width: 40em; color: var(--discret); font-size: 0.875rem; }

/* FAQ */
.faq { margin-top: clamp(32px, 4vw, 44px); text-align: left; border-top: 1px solid var(--trait); }
.faq details { border-bottom: 1px solid var(--trait); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 2px; font-weight: 600; font-size: 1.0625rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 12px; height: 12px;
  background: linear-gradient(var(--doux), var(--doux)) center / 12px 1.5px no-repeat, linear-gradient(var(--doux), var(--doux)) center / 1.5px 12px no-repeat;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 2px 22px; color: var(--doux); max-width: 40em; }
.faq a, .appel-bientot a, .legal a { color: var(--bleu); text-decoration: none; }
.faq a:hover, .appel-bientot a:hover, .legal a:hover { text-decoration: underline; }

/* Télécharger */
.appel { display: flex; flex-direction: column; align-items: center; }
.appel-marque { width: 72px; height: 72px; margin-bottom: 28px; }
.appel h2 { max-width: 16ch; }
.appel .dl-groupe { margin-top: 36px; justify-content: center; }
.appel-bientot { margin-top: 8px; max-width: 34em; color: var(--discret); font-size: 0.9375rem; }

/* ── Pied ──────────────────────────────────────────────────────────────── */
.pied { background: var(--gris); border-top: 1px solid var(--trait); }
.pied-in { max-width: var(--largeur); margin: 0 auto; padding: 28px var(--gouttiere) 40px; display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: flex-start; font-size: 0.8125rem; }
.pied-marque p { margin-top: 10px; color: var(--discret); }
.pied-liens { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-left: auto; padding-top: 3px; }
.pied-liens a, .pied-langue { color: var(--doux); text-decoration: none; }
.pied-liens a:hover, .pied-langue:hover { color: var(--encre); text-decoration: underline; }
.pied-langue { padding-top: 3px; }

/* ── Pages légales ─────────────────────────────────────────────────────── */
.legal { max-width: 760px; margin: 0 auto; padding: clamp(48px, 8vw, 88px) var(--gouttiere) clamp(64px, 9vw, 104px); }
.legal .retour { display: inline-block; color: var(--doux) !important; text-decoration: none; font-size: 0.875rem; margin-bottom: 28px; }
.legal .retour::before { content: "← "; }
.legal h1 { font-size: clamp(2.25rem, 6vw, 3.25rem); letter-spacing: -0.04em; }
.legal .maj { margin-top: 12px; color: var(--discret); font-size: 0.875rem; }
.legal h2 { font-size: 1.25rem; margin: 44px 0 14px; letter-spacing: -0.015em; }
.legal p, .legal li, .legal dd { color: var(--doux); }
.legal p + p { margin-top: 12px; }
.legal > p:first-of-type:not(.maj) { margin-top: 32px; }
.legal ul { margin-top: 10px; padding-left: 0; }
.legal li { position: relative; padding-left: 20px; margin-top: 8px; }
.legal li::before { content: ""; position: absolute; left: 4px; top: 0.72em; width: 5px; height: 5px; border-radius: 50%; background: var(--discret); }
.legal strong { color: var(--encre); font-weight: 600; }
.fiche { display: grid; grid-template-columns: minmax(160px, 34%) 1fr; margin: 0; border-top: 1px solid var(--trait); }
.fiche dt, .fiche dd { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--trait); }
.fiche dt { color: var(--encre); font-weight: 500; font-size: 0.9375rem; padding-right: 16px; }
.note-langue { margin-top: 28px !important; padding: 14px 16px; border-radius: 12px; background: var(--gris); font-size: 0.875rem; }
mark.a-completer {
  background: #fff4d6; color: #8a5a00; border: 1px dashed #e0b84d;
  border-radius: 6px; padding: 1px 7px; font-size: 0.9em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* ── 404 ───────────────────────────────────────────────────────────────── */
.introuvable { max-width: 640px; margin: 0 auto; padding: 120px var(--gouttiere) 120px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.introuvable .hero-marque { width: 64px; height: 64px; margin-bottom: 28px; }
.introuvable h1 { font-size: clamp(2.25rem, 6vw, 3.25rem); letter-spacing: -0.04em; }
.introuvable p { margin-top: 16px; color: var(--doux); }
.introuvable p:last-child { display: flex; gap: 10px; justify-content: center; margin-top: 32px; }

/* ── Tablette ──────────────────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .garanties, .points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .entete-actions { margin-left: auto; }
}

/* ── Téléphone ─────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .dl-groupe { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; gap: 8px; }
  .dl { min-width: 0; width: 100%; height: 62px; padding: 8px 4px; gap: 6px; flex-direction: column; justify-content: center; text-align: center; }
  .dl .dl-txt { text-align: center; }
  .dl .dl-txt small { display: none; }
  .dl .dl-puce { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; padding: 0; margin: 0; }
  .dl .dl-txt strong { font-size: 0.8125rem; font-weight: 500; white-space: nowrap; }
  .dl-ico { width: 20px; height: 20px; }
  .dl--principal { grid-column: 1 / -1; height: 54px; flex-direction: row; gap: 12px; padding: 0 18px; }
  .dl--principal .dl-txt { text-align: left; }
  .dl--principal .dl-txt small { display: block; }
  .dl--principal .dl-txt strong { font-size: 1.0625rem; font-weight: 600; }
  .dl--principal .dl-puce { position: static; width: auto; height: auto; overflow: visible; clip: auto; padding: 2px 7px; margin-left: auto; }
  .dl--principal .dl-ico { width: 24px; height: 24px; }
  .capture { border-radius: 12px; }
  .garanties, .points { grid-template-columns: 1fr; }
  .points { gap: 14px; }
  .fiche { grid-template-columns: 1fr; }
  .fiche dt { padding-bottom: 2px; border-bottom: 0; color: var(--discret); font-size: 0.8125rem; }
  .fiche dd { padding-top: 0; }
  .pied-liens { margin-left: 0; }
}

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