html, body { background: #fff; color: #18181B; }
.cadre { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
h2 { font-size: 40px; line-height: 1.1; letter-spacing: -0.03em; font-weight: 650; margin: 0; }
.noir { display: inline-flex; align-items: center; height: 46px; padding: 0 20px; border-radius: 8px; background: #18181B; color: #fff; font-weight: 600; font-size: 15px; }
.contour { display: inline-flex; align-items: center; height: 46px; padding: 0 20px; border-radius: 8px; border: 1px solid #D4D4D8; color: #18181B; font-weight: 600; font-size: 15px; }

/* ---------- en-tête : blanc sur la photo, puis clair quand on défile ---------- */
.entete { position: fixed; top: 0; left: 0; right: 0; z-index: 10; height: 64px; display: flex; align-items: center; color: #fff; transition: background .25s, color .25s, border-color .25s; border-bottom: 1px solid transparent; }
.entete .cadre { display: flex; align-items: center; justify-content: space-between; }
.entete .logo b { font-size: 20px; }
.entete .logo img { width: 24px; height: 24px; border-radius: 6px; }
.entete .liens { display: flex; gap: 26px; font-size: 14px; font-weight: 500; }
.entete .droite { display: flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 500; }
.entete .pill { height: 34px; padding: 0 14px; border-radius: 999px; background: #fff; color: #18181B; display: inline-flex; align-items: center; font-weight: 600; font-size: 13.5px; transition: background .25s, color .25s; }
.entete.pleine { background: rgba(255,255,255,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: #E7E7EA; color: #18181B; }
.entete.pleine .pill { background: #18181B; color: #fff; }

/* ---------- ouverture ---------- */
.scene { position: relative; height: 100vh; min-height: 680px; overflow: hidden; background: #111; color: #fff; }
.scene .photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 30%; }
.scene .voile { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.55) 0%, rgba(0,0,0,.25) 40%, rgba(0,0,0,.1) 65%, rgba(0,0,0,.35) 100%), radial-gradient(ellipse 70% 60% at 18% 85%, rgba(0,0,0,.5), transparent 70%); }
.scene .texte { position: absolute; z-index: 2; left: max(24px, calc((100% - 1200px) / 2)); bottom: 72px; }
.scene small { display: block; font-size: 15px; font-weight: 600; margin-bottom: 18px; }
.scene h1 { font-size: clamp(54px, 6.4vw, 84px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 700; margin: 0 0 30px; }
.scene .noir { background: #fff; color: #18181B; }

/* ---------- intro + faits ---------- */
.intro { padding: 96px 0 0; }
.intro p { font-size: 30px; line-height: 1.3; letter-spacing: -0.02em; font-weight: 500; color: #8E8E96; margin: 0; max-width: 1040px; }
.intro p span { color: #18181B; }
.faits { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #18181B; }
.faits li { padding: 18px 20px 20px 0; border-right: 1px solid #E7E7EA; margin-right: 20px; }
.faits li:last-child { border-right: 0; margin-right: 0; }
.faits b { display: block; font-size: 24px; font-weight: 650; letter-spacing: -0.03em; line-height: 1.1; }
.faits span { display: block; margin-top: 4px; font-size: 14px; color: #71717A; }

/* ---------- blocs produit ---------- */
.bloc { padding: 112px 0 0; }
.deux { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.col p { font-size: 18px; line-height: 1.5; color: #52525B; margin: 4px 0 0; max-width: 540px; }
.visuel { margin: 44px 0 0; border: 1px solid #E4E4E7; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 24px 60px -28px rgba(0,0,0,.25); }
.visuel img { width: 100%; display: block; }
.visuel.coupe { max-height: 560px; }
.paire { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; }
.trio { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; margin-top: 44px; }
.paire figure, .trio figure { margin: 0; }
.paire img, .trio img { width: 100%; display: block; border: 1px solid #E4E4E7; border-radius: 10px; box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 16px 40px -24px rgba(0,0,0,.25); }
figcaption { margin-top: 12px; font-size: 14.5px; color: #71717A; line-height: 1.45; }
figcaption b { color: #18181B; font-weight: 650; margin-right: 6px; }

/* ---------- fonctions ---------- */
.fonctions { padding: 120px 0 0; }
.modules { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 40px; }
.modules li { display: flex; flex-direction: column; gap: 3px; padding: 14px 0 16px; border-top: 1px solid #E7E7EA; font-size: 15px; }
.modules b { font-weight: 650; }
.modules span { color: #71717A; }

/* ---------- pour qui ---------- */
.pourqui { padding: 120px 0 0; }
.metiers { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; margin-top: 28px; border-top: 1px solid #18181B; }
.metiers div { padding-top: 16px; }
.metiers b { display: block; font-size: 17px; font-weight: 650; margin-bottom: 6px; }
.metiers span { font-size: 14.5px; color: #71717A; line-height: 1.45; }

/* ---------- tarifs ---------- */
.tarifs { padding: 120px 0 0; }
.tarifs .sous { font-size: 18px; color: #52525B; margin: 18px 0 26px; max-width: 420px; }
.tarifs dl { margin: 6px 0 0; border-top: 1px solid #18181B; }
.tarifs dl div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid #E7E7EA; font-size: 15px; }
.tarifs dt { color: #71717A; }
.tarifs dd { margin: 0; font-weight: 500; }

/* ---------- questions ---------- */
.questions { padding: 120px 0 0; }
.qr { margin-top: 28px; border-top: 1px solid #18181B; }
details { border-bottom: 1px solid #E7E7EA; }
summary { list-style: none; cursor: pointer; padding: 18px 0; font-size: 18px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-weight: 500; color: #71717A; font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin: -6px 0 20px; font-size: 16px; line-height: 1.55; color: #52525B; max-width: 760px; }

/* ---------- télécharger ---------- */
.telecharger { padding: 120px 0 0; }
.telecharger .cadre { border-top: 1px solid #18181B; padding-top: 40px; display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.telecharger h2 { font-size: 28px; }
.telecharger .boutons { display: flex; gap: 12px; }

/* ---------- pied ---------- */
footer { padding: 100px 0 40px; }
.colonnes { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.colonnes h4 { margin: 0 0 14px; font-size: 13px; font-weight: 600; color: #71717A; }
.colonnes a { display: block; font-size: 14px; font-weight: 500; margin: 0 0 10px; color: #3F3F46; }
.marque .logo b { font-size: 20px; }
.marque .logo img { width: 24px; height: 24px; border-radius: 6px; }
.marque p { margin: 10px 0 0; font-size: 13px; color: #71717A; }
.bas { display: flex; justify-content: space-between; margin-top: 48px; padding-top: 20px; border-top: 1px solid #E7E7EA; font-size: 13px; color: #71717A; }

/* captures d'écran longues : l'ouverture prend la hauteur d'un écran */
html.capture .scene { height: 900px; }

/* ---------- téléphone ---------- */
@media (max-width: 860px) {
  .entete .liens, .entete .connexion { display: none; }
  .scene { min-height: 560px; }
  html.capture .scene { height: 760px; }
  .scene .texte { left: 24px; right: 24px; bottom: 48px; }
  .intro { padding: 64px 0 0; }
  .intro p { font-size: 22px; }
  .faits { grid-template-columns: 1fr 1fr; margin-top: 36px; }
  .faits li:nth-child(2n) { border-right: 0; margin-right: 0; }
  .faits li { padding-right: 12px; margin-right: 12px; }
  h2 { font-size: 30px; }
  .bloc, .fonctions, .pourqui, .tarifs, .questions, .telecharger { padding-top: 72px; }
  .deux { grid-template-columns: 1fr; gap: 16px; }
  .visuel { margin-top: 28px; border-radius: 8px; }
  .visuel.coupe { max-height: 300px; }
  .paire, .trio { grid-template-columns: 1fr; gap: 24px; margin-top: 28px; }
  .modules { grid-template-columns: 1fr; margin-top: 28px; }
  .metiers { grid-template-columns: 1fr 1fr; }
  .telecharger .cadre { flex-direction: column; align-items: flex-start; }
  .telecharger .boutons { flex-wrap: wrap; }
  .colonnes { grid-template-columns: 1fr 1fr; }
  footer { padding-top: 64px; }
}

/* ======================= pages intérieures ======================= */
body.page .entete { color: #18181B; }
body.page main { padding-top: 136px; }
.titre-page { max-width: 760px; margin-bottom: 56px; }
.titre-page h1 { font-size: 52px; line-height: 1.05; letter-spacing: -0.035em; font-weight: 650; margin: 0 0 16px; }
.titre-page p { font-size: 19px; line-height: 1.5; color: #52525B; margin: 0; }
.note { margin: 10px 0 0; font-size: 14px; color: #71717A; }
.note a { color: #18181B; font-weight: 500; }

/* fonctions */
.groupe { padding: 72px 0 0; }
.groupe .col p { margin: 6px 0 0; }
.liste-modules { margin: 32px 0 0; border-top: 1px solid #18181B; }
.liste-modules div { display: grid; grid-template-columns: 240px 1fr; gap: 24px; padding: 16px 0; border-bottom: 1px solid #E7E7EA; }
.liste-modules dt { font-weight: 650; font-size: 16px; }
.liste-modules dd { margin: 0; font-size: 15.5px; line-height: 1.5; color: #52525B; max-width: 720px; }
.groupe .visuel, .groupe .paire, .groupe .trio { margin-top: 36px; }
.groupe .trio { margin-top: 24px; }
.appel { margin-top: 96px; padding: 48px 0 0; border-top: 1px solid #18181B; display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.appel h2 { font-size: 30px; max-width: 620px; }
.appel .boutons { display: flex; gap: 12px; flex: none; }

/* tarifs */
.carte-prix { border: 1px solid #18181B; border-radius: 14px; padding: 40px; display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 40px; align-items: center; }
.carte-prix .chiffre { display: block; font-size: 88px; font-weight: 700; letter-spacing: -0.05em; line-height: 1; }
.carte-prix .unite { display: block; margin-top: 8px; font-size: 17px; color: #52525B; line-height: 1.3; }
.inclus { list-style: none; margin: 0; padding: 0; }
.inclus li { padding: 9px 0; border-bottom: 1px solid #E7E7EA; font-size: 15.5px; }
.inclus li:last-child { border-bottom: 0; }
.carte-prix .action { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.carte-prix small { font-size: 14px; color: #71717A; }
.etapes, .apres { padding: 96px 0 0; }
.etapes ol, .apres ol { list-style: none; margin: 28px 0 0; padding: 0; counter-reset: etape; border-top: 1px solid #18181B; }
.etapes li, .apres li { counter-increment: etape; display: grid; grid-template-columns: 56px 300px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid #E7E7EA; align-items: baseline; }
.etapes li::before, .apres li::before { content: counter(etape, decimal-leading-zero); font-weight: 600; color: #71717A; font-variant-numeric: tabular-nums; }
.etapes b, .apres b { font-size: 18px; font-weight: 650; }
.etapes span, .apres span { font-size: 15.5px; line-height: 1.5; color: #52525B; max-width: 640px; }
body.page .questions { padding-top: 96px; }

/* télécharger */
.plateformes { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
.plateforme { border: 1px solid #E4E4E7; border-radius: 14px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.plateforme h2 { font-size: 26px; }
.plateforme p { margin: 0; font-size: 15px; line-height: 1.5; color: #52525B; }
.plateforme .noir { align-self: flex-start; }
.plateforme ol { margin: 6px 0 0; padding-left: 18px; font-size: 14.5px; line-height: 1.6; color: #52525B; }
.plateforme.bientot { background: #FAFAFA; border-style: dashed; }
.version-actuelle { color: #18181B; font-weight: 500; }

/* contact */
.coordonnees { border-top: 1px solid #18181B; }
.coordonnees div { display: grid; grid-template-columns: 240px 1fr; gap: 24px; padding: 16px 0; border-bottom: 1px solid #E7E7EA; font-size: 16px; }
.coordonnees dt { color: #71717A; }
.coordonnees dd { margin: 0; font-weight: 500; }
.coordonnees a { text-decoration: underline; text-underline-offset: 3px; }

/* textes légaux */
.texte-legal { max-width: 760px; }
.texte-legal h1 { font-size: 40px; letter-spacing: -0.035em; font-weight: 650; line-height: 1.1; margin: 0 0 8px; }
.texte-legal .version { color: #71717A; font-size: 14px; margin: 0 0 28px; }
.texte-legal .intro-legal { font-size: 18px; color: #52525B; }
.texte-legal h2 { font-size: 20px; letter-spacing: -0.02em; margin: 36px 0 10px; font-weight: 650; }
.texte-legal p { font-size: 16px; line-height: 1.6; color: #3F3F46; margin: 0 0 12px; }
.texte-legal a { text-decoration: underline; text-underline-offset: 3px; }

/* menu téléphone */
.entete .menu { display: none; width: 36px; height: 36px; border: 0; background: transparent; padding: 0; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.entete .menu span { display: block; width: 20px; height: 2px; background: currentColor; transition: transform .2s; }
.entete.ouvert .menu span:first-child { transform: translateY(4px) rotate(45deg); }
.entete.ouvert .menu span:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 860px) {
  body.page main { padding-top: 104px; }
  .entete .menu { display: flex; }
  .entete .liens { display: none; }
  .entete.ouvert .liens { display: flex; flex-direction: column; gap: 0; position: absolute; top: 64px; left: 0; right: 0; background: #fff; border-bottom: 1px solid #E7E7EA; padding: 8px 24px 12px; }
  .entete.ouvert .liens a { padding: 12px 0; font-size: 16px; border-top: 1px solid #F0F0F2; color: #18181B; }
  .titre-page h1 { font-size: 36px; }
  .titre-page p { font-size: 17px; }
  .liste-modules div, .coordonnees div { grid-template-columns: 1fr; gap: 4px; }
  .appel { flex-direction: column; align-items: flex-start; margin-top: 64px; }
  .carte-prix { grid-template-columns: 1fr; padding: 28px; gap: 24px; }
  .carte-prix .chiffre { font-size: 64px; }
  .etapes li, .apres li { grid-template-columns: 40px 1fr; }
  .etapes span, .apres span { grid-column: 2; }
  .etapes, .apres { padding-top: 64px; }
  .plateformes { grid-template-columns: 1fr; }
}

/* fiche des mentions légales */
.fiche { margin: 0 0 16px; border-top: 1px solid #18181B; }
.fiche div { display: grid; grid-template-columns: 240px 1fr; gap: 16px; padding: 10px 0; border-bottom: 1px solid #E7E7EA; font-size: 15.5px; }
.fiche dt { color: #71717A; }
.fiche dd { margin: 0; }
@media (max-width: 860px) { .fiche div { grid-template-columns: 1fr; gap: 2px; } }
