/* Page d'accueil de ConnectedMe2 (connectedme2.fr, FR et /en/). Fond blanc, une seule couleur
   (l'indigo de l'app, #5856D6), aucun flou, aucun dégradé, aucune animation : les captures de l'app
   font le travail. Police système, aucune ressource externe. Les pages légales gardent styles.css. */
:root {
  --bg: #ffffff;
  --soft: #f5f5f7;
  --ink: #0b0b0f;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: #e3e3e8;
  --accent: #5856d6;
  --max: 1120px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 18px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--accent); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { color: var(--ink); margin: 0; }
h1 { font-size: clamp(42px, 5.6vw, 72px); line-height: 1.03; font-weight: 700; letter-spacing: -0.03em; }
h2 { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.1; font-weight: 700; letter-spacing: -0.025em; }
h3 { font-size: 19px; line-height: 1.3; font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0; }

/* Logo : « ConnectedMe » puis la bulle du « 2 » */
.wordmark { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 21px; letter-spacing: -0.02em; }
.wordmark img { height: 1.22em; width: auto; margin-left: 0.08em; transform: translateY(0.06em); }

/* Barre du haut : blanche, opaque, filet en bas */
.nav { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.nav .links { display: flex; gap: 26px; margin-left: auto; font-size: 15px; }
.nav .links a { color: var(--muted); text-decoration: none; }
.nav .links a:hover { color: var(--ink); }
.nav .get { font-size: 15px; font-weight: 600; text-decoration: none; padding: 8px 16px; border-radius: 10px; background: var(--ink); color: #fff; }
.nav .get:hover { background: #2a2a30; }

/* Bouton App Store (noir, comme le badge d'Apple) */
.store { display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 20px 0 16px; border-radius: 12px; background: #000; color: #fff; text-decoration: none; }
.store:hover { background: #222; }
.store svg { width: 24px; height: 29px; flex: none; }
.store span { display: flex; flex-direction: column; line-height: 1.1; }
.store small { font-size: 11.5px; font-weight: 500; }
.store b { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }

/* Accueil */
.hero { padding: 72px 0 96px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.lead { margin-top: 24px; max-width: 520px; font-size: 21px; line-height: 1.5; color: var(--muted); }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 36px; }
.cta .more { font-weight: 600; text-decoration: none; }
.cta .more:hover { text-decoration: underline; }
.facts { margin-top: 28px; font-size: 14.5px; color: var(--muted); }
.duo { display: flex; justify-content: center; align-items: flex-start; gap: 22px; }
.duo .phone:first-child { margin-top: 64px; }

/* Téléphones dessinés autour des captures (960 × 2086) */
.phone {
  --w: 250px; width: var(--w); flex: none; padding: calc(var(--w) * 0.03); border-radius: calc(var(--w) * 0.17);
  background: #1c1c1e; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 24px 48px -12px rgba(0, 0, 0, 0.22);
}
.phone img { display: block; width: 100%; height: auto; aspect-ratio: 960 / 2086; border-radius: calc(var(--w) * 0.142); background: var(--soft); }

/* Sections */
.section { padding: 104px 0; }
.section.soft { background: var(--soft); }
.head { max-width: 640px; }
.head p { margin-top: 16px; font-size: 19px; color: var(--muted); }

/* Galerie des écrans */
.gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; margin-top: 56px; }
.gallery figure { margin: 0; }
.gallery .phone { width: 100%; padding: 6px; border-radius: 30px; }
.gallery .phone img { border-radius: 25px; }
.gallery figcaption { margin-top: 22px; }
.gallery figcaption p { margin-top: 6px; font-size: 15.5px; color: var(--muted); }

/* Listes à filets */
.list { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 56px; margin-top: 48px; }
.list > div { padding: 22px 0; border-top: 1px solid var(--line); }
.list h3 { font-size: 18px; }
.list p { margin-top: 6px; color: var(--muted); font-size: 16.5px; }
.list.three { grid-template-columns: repeat(3, 1fr); column-gap: 40px; }
.note { margin-top: 36px; font-size: 15.5px; color: var(--muted); }

/* ConnectedMe2+ */
.plus { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 64px; align-items: center; }
.plus-mark { color: var(--accent); }
.plus .list { grid-template-columns: 1fr; margin-top: 32px; }
.plus .list > div { padding: 16px 0; }
.plus .phone { --w: 260px; margin: 0 auto; }

/* Questions */
.faq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; font-size: 18px; font-weight: 600; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 24px; font-weight: 400; line-height: 1; color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 22px; color: var(--muted); font-size: 16.5px; max-width: 640px; }

/* Appel final */
.final { text-align: center; }
.final .big-mark { width: 72px; height: 72px; }
.final h2 { margin-top: 20px; }
.final p { margin-top: 12px; color: var(--muted); font-size: 19px; }
.final .cta { justify-content: center; }
.qr { display: inline-flex; align-items: center; gap: 14px; margin-top: 32px; font-size: 14.5px; color: var(--muted); text-align: left; }
.qr img { width: 76px; height: 76px; padding: 6px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }

/* Pied de page */
footer { padding: 36px 0 48px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
footer .wordmark { font-size: 17px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-left: auto; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--ink); }
footer .copy { flex-basis: 100%; }

/* Tablette */
@media (max-width: 1000px) {
  .nav .links { display: none; }
  .nav .get { margin-left: auto; }
  .hero { padding: 48px 0 72px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 56px; }
  .section { padding: 80px 0; }
  .gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 20px; margin: 44px -24px 0; padding: 0 24px 8px; scroll-padding-inline: 24px; scrollbar-width: none; }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery figure { flex: 0 0 230px; scroll-snap-align: start; }
  .list.three { grid-template-columns: repeat(2, 1fr); }
  .plus, .faq { grid-template-columns: 1fr; gap: 40px; }
}

/* Téléphone */
@media (max-width: 620px) {
  body { font-size: 17px; }
  .wrap { padding: 0 20px; }
  .lead { font-size: 19px; }
  .duo { gap: 14px; }
  .duo .phone { --w: 158px; }
  .duo .phone:first-child { margin-top: 40px; }
  .gallery { margin: 40px -20px 0; padding: 0 20px 8px; scroll-padding-inline: 20px; }
  .gallery figure { flex-basis: 210px; }
  .list, .list.three { grid-template-columns: 1fr; }
  .plus .phone { --w: 230px; }
  .qr { display: none; }
  footer nav { margin-left: 0; }
}
