:root {
  --bg: #0b0f14;
  --bg2: #10161e;
  --carte: #141b24;
  --bord: #222c3a;
  --texte: #d4dbe6;
  --dim: #8592a5;
  --blanc: #f1f5fb;
  --accent: #4ea1ff;
  --accent-fonce: #2c5fa8;
  --vert: #22c55e;
  --rouge: #f05252;
  --or: #e0b341;
  --rayon: 10px;
  --max: 1360px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--texte);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.conteneur { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* -- en-tete -- */
header.haut {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11, 15, 20, .88); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--bord);
}
header.haut .conteneur { display: flex; align-items: center; gap: 24px; height: 80px; }
.logo img { height: 46px; width: auto; }
.logo { font-weight: 800; letter-spacing: .02em; color: var(--blanc); font-size: 18px; }
.logo span { color: var(--accent); }
nav.menu { display: flex; gap: 22px; margin-left: auto; align-items: center; font-size: 15px; }
nav.menu a { color: var(--dim); }
nav.menu a:hover { color: var(--blanc); text-decoration: none; }
nav.menu .langue { border: 1px solid var(--bord); border-radius: 6px; padding: 3px 9px; }

.bouton {
  display: inline-block; padding: 12px 22px; border-radius: 8px; font-weight: 600;
  background: var(--accent-fonce); color: var(--blanc); border: 1px solid var(--accent);
  transition: transform .12s, background .12s;
}
.bouton:hover { background: #3570c4; text-decoration: none; transform: translateY(-1px); }
.bouton.second { background: transparent; border-color: var(--bord); color: var(--texte); }
.bouton.second:hover { border-color: var(--accent); background: rgba(78, 161, 255, .08); }
.bouton.petit { padding: 7px 14px; font-size: 14px; }

/* -- accroche -- */
.accroche { padding: 72px 0 40px; text-align: center; }
.accroche .etiquette {
  display: inline-block; font-size: 13px; font-weight: 600; color: var(--or);
  border: 1px solid rgba(224, 179, 65, .4); border-radius: 99px; padding: 4px 14px; margin-bottom: 18px;
}
.accroche h1 {
  font-size: clamp(34px, 5.2vw, 58px); line-height: 1.08; margin: 0 auto 18px; max-width: 900px;
  color: var(--blanc); letter-spacing: -.02em;
}
.accroche h1 em { font-style: normal; color: var(--accent); }
.accroche p.sous { font-size: 20px; color: var(--dim); max-width: 720px; margin: 0 auto 30px; }
.accroche .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.accroche .note { margin-top: 14px; font-size: 14px; color: var(--dim); }
.capture-principale {
  margin: 48px auto 0; border: 1px solid var(--bord); border-radius: var(--rayon); overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(78, 161, 255, .08);
}

/* -- sections -- */
section { padding: 76px 0; }
section.alt { background: var(--bg2); border-top: 1px solid var(--bord); border-bottom: 1px solid var(--bord); }
h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; color: var(--blanc); margin: 0 0 14px; letter-spacing: -.01em; }
.chapeau { color: var(--dim); font-size: 19px; max-width: 760px; margin: 0 0 40px; }
.centre { text-align: center; }
.centre .chapeau { margin-left: auto; margin-right: auto; }

.grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.carte {
  background: var(--carte); border: 1px solid var(--bord); border-radius: var(--rayon); padding: 24px;
}
.carte h3 { margin: 10px 0 8px; font-size: 19px; color: var(--blanc); }
.carte p { margin: 0; color: var(--dim); font-size: 16px; }
.icone {
  width: 40px; height: 40px; border-radius: 9px; display: grid; place-items: center;
  background: rgba(78, 161, 255, .12); color: var(--accent); font-size: 20px;
}

/* bloc image + texte en alternance */
.duo { display: grid; grid-template-columns: 1.55fr 1fr; gap: 56px; align-items: center; margin-top: 72px; }
.duo.inverse { grid-template-columns: 1fr 1.55fr; }
.duo.inverse > :first-child { order: 2; }
.duo img { border: 1px solid var(--bord); border-radius: var(--rayon); box-shadow: 0 18px 50px rgba(0, 0, 0, .45); }
.duo h3 { font-size: 26px; color: var(--blanc); margin: 0 0 12px; line-height: 1.2; }
.duo p { color: var(--dim); margin: 0 0 14px; }
.duo ul { margin: 0; padding-left: 0; list-style: none; }
.duo li { padding: 6px 0 6px 28px; position: relative; }
.duo li::before { content: "✓"; position: absolute; left: 0; color: var(--vert); font-weight: 700; }

/* -- tarifs -- */
.tarifs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.tarifs.deux { grid-template-columns: repeat(2, minmax(0, 360px)); justify-content: center; }
.tarif { background: var(--carte); border: 1px solid var(--bord); border-radius: 14px; padding: 30px 26px; display: flex; flex-direction: column; }
.tarif.vedette { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 20px 60px rgba(78, 161, 255, .12); position: relative; }
.tarif.vedette::before {
  content: attr(data-badge); position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #07111f; font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 99px;
}
.tarif h3 { margin: 0; color: var(--blanc); font-size: 20px; }
.prix { font-size: 44px; font-weight: 800; color: var(--blanc); margin: 12px 0 2px; letter-spacing: -.02em; }
.prix small { font-size: 16px; color: var(--dim); font-weight: 500; }
.tarif .detail { color: var(--dim); font-size: 15px; min-height: 48px; }
.tarif ul { list-style: none; padding: 0; margin: 18px 0 26px; flex: 1; }
.tarif li { padding: 5px 0 5px 26px; position: relative; font-size: 15px; }
.tarif li::before { content: "✓"; position: absolute; left: 0; color: var(--vert); font-weight: 700; }
.tarif .bouton { text-align: center; }
.bandeau-lancement {
  margin: -18px auto 34px; max-width: 760px; padding: 12px 18px; border-radius: 10px; font-size: 15px;
  background: rgba(224, 179, 65, .08); border: 1px solid rgba(224, 179, 65, .45); color: var(--texte);
}
.bandeau-lancement code { color: var(--or); font-weight: 700; font-size: 15px; }
.prix s.barre { font-size: 22px; color: var(--dim); font-weight: 500; margin-right: 4px; }
.mention-tarif { text-align: center; color: var(--dim); font-size: 14px; margin-top: 22px; }

/* -- comparatif -- */
table.comparatif { width: 100%; border-collapse: collapse; font-size: 15px; }
table.comparatif th, table.comparatif td { padding: 12px 14px; border-bottom: 1px solid var(--bord); text-align: center; }
table.comparatif th:first-child, table.comparatif td:first-child { text-align: left; }
table.comparatif thead th { color: var(--dim); font-weight: 600; }
table.comparatif thead th.nous { color: var(--accent); }
.oui { color: var(--vert); font-weight: 700; }
.non { color: #56627a; }
.tableau-defile { overflow-x: auto; }

/* -- FAQ -- */
details { background: var(--carte); border: 1px solid var(--bord); border-radius: var(--rayon); padding: 16px 20px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; color: var(--blanc); }
details p { color: var(--dim); margin: 10px 0 0; }

/* -- pied -- */
footer { border-top: 1px solid var(--bord); padding: 36px 0 48px; color: var(--dim); font-size: 14px; }
footer .liens { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 14px; }
footer .liens a { color: var(--dim); }
.avertissement { font-size: 13px; color: #6b778a; max-width: 900px; }

/* -- pages legales -- */
.legal { padding: 56px 0 80px; max-width: 820px; }
.legal h1 { color: var(--blanc); font-size: 36px; margin: 0 0 8px; }
.legal h2 { font-size: 24px; margin: 44px 0 10px; padding-top: 10px; }
.legal h3 { color: var(--blanc); font-size: 18px; margin: 24px 0 6px; }
.legal p, .legal li { color: var(--texte); }
.legal .maj { color: var(--dim); font-size: 14px; }
.sommaire { background: var(--carte); border: 1px solid var(--bord); border-radius: var(--rayon); padding: 14px 20px; }
.sommaire a { display: block; padding: 3px 0; }

@media (max-width: 860px) {
  .duo { grid-template-columns: 1fr; gap: 24px; margin-top: 48px; }
  .duo.inverse > :first-child { order: 0; }
  .tarifs, .tarifs.deux { grid-template-columns: 1fr; }
  nav.menu > a:not(.bouton) { display: none; }
  section { padding: 56px 0; }
  .accroche { padding-top: 48px; }
}

/* -- plateforme : badges, doubles captures, mention des donnees de demonstration -- */
.bientot { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--or); border: 1px solid var(--or); border-radius: 999px; padding: 2px 9px; margin-left: 6px; vertical-align: middle; }
.dispo { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--vert); border: 1px solid var(--vert); border-radius: 999px; padding: 2px 9px; margin-left: 6px; vertical-align: middle; }
.paire { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.paire img { border: 1px solid var(--bord); border-radius: var(--rayon); box-shadow: 0 18px 50px rgba(0, 0, 0, .45); }
.paire figcaption, .legende { color: var(--dim); font-size: 14px; margin-top: 8px; }
.note-demo { color: #6b778a; font-size: 13px; margin-top: 18px; }
.connexions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 22px 0 6px; }
.connexions > span { border: 1px solid var(--bord); border-radius: 10px; padding: 8px 14px; color: var(--texte); background: var(--carte); font-size: 15px; }
@media (max-width: 760px) { .paire { grid-template-columns: 1fr; } }

/* la capture principale prend toute la largeur de l'ecran (jusqu'a 1500 px) */
.accroche .capture-principale { max-width: 1500px; width: calc(100vw - 40px); position: relative;
  left: 50%; transform: translateX(-50%); }
.accroche h1, .accroche p.sous { max-width: 980px; }
.paire { gap: 24px; }
@media (max-width: 900px) { .duo, .duo.inverse { grid-template-columns: 1fr; gap: 28px; } .duo.inverse > :first-child { order: 0; } }

/* -- choix de la langue : un bouton (drapeau + langue + fleche), la liste s'ouvre au clic -- */
details.langues { position: relative; background: none; border: 0; padding: 0; margin: 0; border-radius: 0; }
details.langues summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 7px;
  border: 1px solid var(--bord); border-radius: 6px; padding: 4px 9px; color: var(--blanc); font-size: 14px; }
details.langues summary::-webkit-details-marker { display: none; }
details.langues svg { width: 20px; height: 14px; border-radius: 2px; flex: none; }
details.langues svg.fleche { width: 10px; height: 6px; border-radius: 0; color: var(--dim); transition: transform .15s; }
details.langues[open] svg.fleche { transform: rotate(180deg); }
details.langues .liste { position: absolute; right: 0; top: calc(100% + 6px); min-width: 170px; z-index: 50;
  background: var(--carte); border: 1px solid var(--bord); border-radius: 8px; padding: 6px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .5); }
details.langues .liste a { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 6px;
  color: var(--dim); font-size: 14px; }
details.langues .liste a:hover, details.langues .liste a.actif { background: rgba(255, 255, 255, .06); color: var(--blanc);
  text-decoration: none; }

/* -- captures plus grandes, toujours a cote du texte ; un clic l'ouvre en grand -- */
.duo { grid-template-columns: 2.3fr 1fr; gap: 44px; }
.duo.inverse { grid-template-columns: 1fr 2.3fr; }
a.zoom { display: block; cursor: zoom-in; }
a.zoom img { transition: transform .2s; }
a.zoom:hover img { transform: scale(1.01); }
@media (max-width: 860px) { .duo, .duo.inverse { grid-template-columns: 1fr; gap: 24px; } }
