:root {
  --corail: #f56b5f; --framboise: #c43a78; --rouge: #f04d61;
  --encre: #17171a; --texte: #3c3c43; --doux: #6e6e76; --ligne: #e8e8ed;
  --fond: #ffffff; --fond2: #f6f5f7; --carte: #ffffff;
  --degrade: linear-gradient(160deg, #f6705f 0%, #e9586a 45%, #c43a78 100%);
  --rayon: 22px; --max: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root { --encre: #f5f5f7; --texte: #d1d1d6; --doux: #98989f; --ligne: #2c2c30;
          --fond: #0e0e10; --fond2: #161619; --carte: #1c1c1f; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--fond); color: var(--texte);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--rouge); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { color: var(--encre); font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", system-ui, sans-serif;
  font-weight: 700; letter-spacing: -0.025em; line-height: 1.08; margin: 0; }
h2 { font-size: clamp(30px, 4.4vw, 48px); }
h3 { font-size: 21px; letter-spacing: -0.015em; }
p { margin: 0; }
.cadre { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.centre { text-align: center; }
.surtitre { display: inline-block; font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--rouge); margin-bottom: 12px; }
.chapo { font-size: clamp(18px, 2vw, 21px); color: var(--doux); max-width: 640px; margin: 18px auto 0; }

/* Barre du haut */
.barre { position: sticky; top: 0; z-index: 10; backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
  background: color-mix(in srgb, var(--fond) 78%, transparent); border-bottom: 1px solid var(--ligne); }
.barre .cadre { display: flex; align-items: center; gap: 24px; height: 60px; }
.marque { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; color: var(--encre); letter-spacing: -0.02em; }
.marque:hover { text-decoration: none; }
.marque img { width: 30px; height: 30px; }
.liens { display: flex; gap: 22px; margin-left: auto; font-size: 15px; }
.liens a { color: var(--texte); }
.langue { appearance: none; -webkit-appearance: none; font: inherit; font-size: 14px; color: var(--texte); background: var(--fond2);
  border: 1px solid var(--ligne); border-radius: 999px; padding: 6px 30px 6px 14px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23888' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; }
@media (max-width: 480px) { .famille { flex-basis: calc(50% - 6px); } }
@media (max-width: 760px) { .liens { display: none; } .langue { margin-left: auto; } }

/* Boutons */
.bouton { display: inline-flex; align-items: center; gap: 12px; padding: 14px 26px; border-radius: 14px; font-weight: 600; font-size: 17px;
  background: #111; color: #fff; transition: transform .15s ease, box-shadow .15s ease; box-shadow: 0 10px 30px -10px rgba(0,0,0,.45); }
.bouton:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 14px 34px -10px rgba(0,0,0,.5); }
.bouton svg { width: 22px; height: 22px; flex: none; }
.bouton small { display: block; font-size: 11px; font-weight: 500; opacity: .75; line-height: 1.1; }
.bouton span { line-height: 1.15; text-align: left; }
.bouton.clair { background: #fff; color: #111; }
.note { font-size: 14px; color: var(--doux); margin-top: 14px; }

/* Héros */
.heros { background: var(--degrade); color: #fff; padding: 84px 0 0; overflow: hidden; position: relative; }
.heros::after { content: ""; position: absolute; inset: auto 0 0 0; height: 160px; background: linear-gradient(transparent, var(--fond)); pointer-events: none; }
.heros h1 { color: #fff; font-size: clamp(42px, 7vw, 80px); letter-spacing: -0.035em; }
.heros .chapo { color: rgba(255,255,255,.88); }
.heros .note { color: rgba(255,255,255,.8); }
.heros .icone { width: 96px; height: 96px; margin: 0 auto 26px; filter: drop-shadow(0 14px 24px rgba(80,0,30,.35)); }
.heros .actions { margin-top: 34px; }
.fenetre { position: relative; z-index: 1; margin: 60px auto 0; max-width: 1000px; border-radius: 14px;
  box-shadow: 0 50px 100px -30px rgba(60,0,30,.6), 0 0 0 1px rgba(255,255,255,.08); }
.fenetre img { border-radius: 14px; width: 100%; height: auto; aspect-ratio: 1600 / 1018; }

/* Familles */
.familles { padding: 40px 0 96px; position: relative; z-index: 1; }
.grille-familles { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
.famille { flex: 0 1 140px; min-width: 0; background: var(--fond2); border: 1px solid var(--ligne); border-radius: 18px; padding: 18px; }
.famille i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; margin-bottom: 12px; color: #fff; }
.famille i svg { width: 21px; height: 21px; }
.famille b { display: block; color: var(--encre); font-size: 16px; }
.famille span { display: block; font-size: 13.5px; color: var(--doux); line-height: 1.4; margin-top: 2px; }

/* Étapes */
.etapes { background: var(--fond2); padding: 96px 0; }
.grille-etapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; counter-reset: e; }
.etape { background: var(--carte); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 30px; }
.etape::before { counter-increment: e; content: counter(e); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--degrade); color: #fff; font-weight: 700; margin-bottom: 18px; }
.etape p { margin-top: 8px; color: var(--doux); }
@media (max-width: 800px) { .grille-etapes { grid-template-columns: 1fr; } }

/* Fonctions */
.fonction { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; padding: 72px 0; }
.fonction:nth-child(even) { grid-template-columns: 7fr 5fr; }
.fonction:nth-child(even) .texte { order: 2; }
.fonction p { margin-top: 16px; font-size: 18px; color: var(--doux); }
.fonction h2 { font-size: clamp(28px, 3.6vw, 40px); }
.fonction img { border-radius: 12px; box-shadow: 0 30px 70px -25px rgba(0,0,0,.45), 0 0 0 1px rgba(0,0,0,.06); width: 100%; height: auto; aspect-ratio: 1600 / 1018; }
.puces { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.puces li { position: relative; padding-left: 30px; color: var(--texte); }
.puces li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--degrade); }
.puces li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 5px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
@media (max-width: 860px) {
  .fonction, .fonction:nth-child(even) { grid-template-columns: 1fr; gap: 32px; padding: 48px 0; }
  .fonction:nth-child(even) .texte { order: 0; }
}

/* Confidentialité */
.prive { background: #0d0d10; color: #c7c7cc; padding: 104px 0; }
.prive h2 { color: #fff; }
.prive .chapo { color: #a1a1a8; }
.prive .bouclier { width: 64px; height: 64px; margin: 0 auto 22px; display: grid; place-items: center; border-radius: 18px; background: #1f8f4e; }
.prive .bouclier svg { width: 34px; height: 34px; }
.grille-prive { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 52px; }
.grille-prive div { border: 1px solid #26262b; background: #151518; border-radius: 18px; padding: 22px; }
.grille-prive b { display: block; color: #fff; font-size: 17px; margin-bottom: 4px; }
.grille-prive span { font-size: 14.5px; color: #98989f; }
@media (max-width: 860px) { .grille-prive { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .grille-prive { grid-template-columns: 1fr; } }

/* Tarifs */
.tarifs { padding: 104px 0; }
.grille-tarifs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 820px; margin: 48px auto 0; }
.offre { border: 1px solid var(--ligne); border-radius: 26px; padding: 34px; background: var(--carte); }
.offre.plus { border: 0; background: var(--degrade); color: #fff; box-shadow: 0 30px 60px -28px rgba(196,58,120,.7); }
.offre.plus h3, .offre.plus .prix { color: #fff; }
.offre .prix { font-size: 40px; font-weight: 700; letter-spacing: -0.03em; color: var(--encre); margin: 10px 0 2px; }
.offre .prix small { font-size: 17px; font-weight: 500; letter-spacing: 0; opacity: .75; }
.offre .detail { font-size: 15px; color: var(--doux); }
.offre.plus .detail { color: rgba(255,255,255,.85); }
.offre.plus .puces li { color: #fff; }
.offre.plus .puces li::before { background: rgba(255,255,255,.25); }
.mentions { max-width: 640px; margin: 24px auto 0; font-size: 13px; color: var(--doux); text-align: center; }
@media (max-width: 700px) { .grille-tarifs { grid-template-columns: 1fr; } }

/* Questions */
.questions { background: var(--fond2); padding: 104px 0; }
.liste-questions { max-width: 760px; margin: 44px auto 0; }
details { background: var(--carte); border: 1px solid var(--ligne); border-radius: 16px; margin-bottom: 10px; }
summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 22px; font-weight: 600; color: var(--encre); position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--doux); transition: transform .2s; }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { padding: 0 22px 20px; color: var(--doux); }

/* Final et pied */
.final { background: var(--degrade); color: #fff; padding: 96px 0; }
.final h2 { color: #fff; }
.final .icone { width: 84px; height: 84px; margin: 0 auto 24px; filter: drop-shadow(0 12px 22px rgba(80,0,30,.35)); }
.final .actions { margin-top: 30px; }
.pied { padding: 36px 0 48px; font-size: 14px; color: var(--doux); }
.pied .cadre { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.pied nav { display: flex; flex-wrap: wrap; gap: 22px; margin-left: auto; }
.pied a { color: var(--doux); }

/* Pages simples (assistance) */
.page { max-width: 760px; margin: 0 auto; padding: 72px 24px 96px; }
.page h1 { font-size: clamp(36px, 5vw, 52px); letter-spacing: -0.035em; }
.page .chapo { margin: 16px 0 0; max-width: none; }
.page h2 { font-size: 22px; margin: 44px 0 10px; letter-spacing: -0.015em; }
.page p + p { margin-top: 10px; }
.contact { margin-top: 32px; padding: 28px; border-radius: var(--rayon); background: var(--degrade); color: #fff; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.contact b { display: block; font-size: 19px; }
.contact span { opacity: .85; font-size: 15px; }

.apparait { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.apparait.vu { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .apparait { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
