/* EncriaPDF : site de vente. Aucune ressource externe (polices, scripts, statistiques) : rapide et respectueux de la vie privée. */
:root {
  --fond: #ffffff; --fond-2: #f5f6fb; --fond-3: #eceefa;
  --texte: #1a1f33; --doux: #566079; --ligne: #e1e4ef;
  --accent: #5b4cf0; --accent-fonce: #4638d6; --accent-pale: #eeecfe; --accent-texte: #4638d6;
  --graphite: #171a24; --ok: #12805c; --alerte: #b45309; --alerte-pale: #fff4e0;
  --ombre: 0 1px 2px rgba(20, 24, 45, .06), 0 8px 24px rgba(20, 24, 45, .08);
  --ombre-forte: 0 24px 60px rgba(30, 27, 107, .22);
  --rayon: 16px;
  color-scheme: light dark;
  font-family: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --fond: #11131b; --fond-2: #171a25; --fond-3: #1e2230;
    --texte: #eceef6; --doux: #a3abc2; --ligne: #2b3042;
    --accent: #8277ff; --accent-fonce: #9a91ff; --accent-pale: #26234f; --accent-texte: #b8b1ff;
    --ok: #3dd6a0; --alerte: #f5b04c; --alerte-pale: #3a2b12;
    --ombre: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .35);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--fond); color: var(--texte); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-texte); }
h1, h2, h3 { line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.015em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 750; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); font-weight: 720; }
h3 { font-size: 1.15rem; font-weight: 680; }
p { margin: 0 0 1em; }
.conteneur { width: min(1120px, 100% - 40px); margin: 0 auto; }
.conteneur.etroit { width: min(780px, 100% - 40px); }
.petit { font-size: .9rem; color: var(--doux); }
.saut { position: absolute; left: -999px; top: 8px; background: var(--accent); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 99; }
.saut:focus { left: 8px; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 20px; border-radius: 999px; border: 1.5px solid var(--ligne); background: var(--fond); color: var(--texte); font: inherit; font-weight: 640; text-decoration: none; cursor: pointer; transition: transform .12s, box-shadow .12s, background .12s; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--ombre); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-fonce); border-color: var(--accent-fonce); }
.btn.grand { padding: 14px 28px; font-size: 1.05rem; }
.btn.plein { width: 100%; }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Bandeaux */
.bandeau-lancement { background: linear-gradient(90deg, #4f46e5, #7c3aed); color: #fff; text-align: center; padding: 8px 16px; font-size: .95rem; }
.bandeau-provisoire { background: var(--alerte-pale); color: var(--alerte); border: 1px solid var(--alerte); border-radius: 12px; padding: 12px 16px; margin-bottom: 24px; }

/* En-tête */
.entete { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--fond) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--ligne); }
.entete-in { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.marque { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--texte); font-size: 1.2rem; letter-spacing: .1px; }
.marque b { color: var(--accent-texte); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { color: var(--texte); text-decoration: none; font-weight: 560; font-size: .98rem; }
.nav a:not(.btn):hover { color: var(--accent-texte); }
.menu-case, .menu-bouton { display: none; }
@media (max-width: 820px) {
  .menu-bouton { display: block; width: 44px; height: 44px; border-radius: 10px; cursor: pointer; position: relative; }
  .menu-bouton span, .menu-bouton span::before, .menu-bouton span::after { content: ""; position: absolute; left: 11px; width: 22px; height: 2.5px; border-radius: 2px; background: var(--texte); transition: transform .15s; }
  .menu-bouton span { top: 21px; } .menu-bouton span::before { left: 0; top: -7px; } .menu-bouton span::after { left: 0; top: 7px; }
  .menu-case:checked + .menu-bouton span { background: transparent; }
  .menu-case:checked + .menu-bouton span::before { transform: translateY(7px) rotate(45deg); }
  .menu-case:checked + .menu-bouton span::after { transform: translateY(-7px) rotate(-45deg); }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--fond); border-bottom: 1px solid var(--ligne); padding: 8px 20px 18px; }
  .nav a:not(.btn) { padding: 12px 4px; border-bottom: 1px solid var(--ligne); }
  .nav .btn { margin-top: 14px; }
  .menu-case:checked ~ .nav { display: flex; }
}

/* Sections */
.section { padding: clamp(48px, 8vw, 96px) 0; }
.section.fond { background: var(--fond-2); }
.titre-section { text-align: center; max-width: 720px; margin: 0 auto clamp(28px, 5vw, 52px); }
.titre-section p { color: var(--doux); font-size: 1.1rem; }
.surtitre { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-texte); margin-bottom: 10px; }

/* Héros */
.heros { padding: clamp(40px, 7vw, 88px) 0 clamp(32px, 5vw, 64px); background: radial-gradient(1200px 500px at 70% -10%, var(--accent-pale), transparent 70%); }
.heros-grille { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 980px) { .heros-grille { grid-template-columns: 1fr 1.25fr; } }
.heros p.intro { font-size: 1.2rem; color: var(--doux); max-width: 34em; }
.heros .actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 14px; }
.garanties { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; padding: 0; margin: 0; color: var(--doux); font-size: .92rem; }
.garanties li::before { content: "✓"; color: var(--ok); font-weight: 800; margin-right: 6px; }
.fenetre { border-radius: 14px; overflow: hidden; border: 1px solid var(--ligne); background: var(--graphite); box-shadow: var(--ombre-forte); }
.fenetre-barre { display: flex; align-items: center; gap: 7px; padding: 9px 14px; background: var(--graphite); color: #c8ccdc; font-size: .8rem; }
.fenetre-barre i { width: 11px; height: 11px; border-radius: 50%; background: #3a3f55; display: inline-block; }
.fenetre-barre span { margin-left: 8px; }
.fenetre img { width: 100%; }

/* Bande de confiance */
.confiance { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; padding: 28px 0; }
.confiance div { display: flex; gap: 12px; align-items: flex-start; font-size: .98rem; }
.confiance svg { flex: none; width: 26px; height: 26px; stroke: var(--accent); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.confiance b { display: block; }
.confiance span { color: var(--doux); font-size: .9rem; }

/* Cartes de fonctions */
.grille { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.carte { background: var(--fond); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 26px; box-shadow: var(--ombre); }
.carte h3 { margin-bottom: .4em; }
.carte p { color: var(--doux); margin: 0; }
.picto { width: 48px; height: 48px; border-radius: 13px; background: var(--accent-pale); display: grid; place-items: center; margin-bottom: 14px; }
.picto svg { width: 28px; height: 28px; stroke: var(--accent); fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.liste-fonctions { columns: 2 280px; column-gap: 40px; list-style: none; padding: 0; margin: 34px auto 0; max-width: 900px; }
.liste-fonctions li { break-inside: avoid; padding: 7px 0 7px 28px; position: relative; color: var(--texte); }
.liste-fonctions li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 800; }

/* Captures */
.alternance { display: grid; gap: 36px; align-items: center; grid-template-columns: 1fr; margin: 0 0 clamp(36px, 6vw, 72px); }
@media (min-width: 900px) { .alternance { grid-template-columns: 1fr 1.2fr; } .alternance.inverse > :first-child { order: 2; } }
.alternance ul { padding-left: 1.1em; color: var(--doux); }
.capture { border-radius: 14px; border: 1px solid var(--ligne); box-shadow: var(--ombre-forte); overflow: hidden; background: var(--fond-2); }

/* Vidéos */
.videos { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.video-bloc video { width: 100%; border-radius: 14px; border: 1px solid var(--ligne); box-shadow: var(--ombre); background: #000; aspect-ratio: 16 / 10; }
.video-bloc h3 { margin-top: 14px; }
.video-bloc p { color: var(--doux); margin: 0; }

/* Étapes */
.etapes { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: etape; list-style: none; padding: 0; margin: 0; }
.etapes li { counter-increment: etape; background: var(--fond); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 26px 24px 24px; position: relative; }
.etapes li::before { content: counter(etape); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 750; margin-bottom: 14px; }
.etapes b { display: block; font-size: 1.1rem; margin-bottom: 4px; }
.etapes span { color: var(--doux); }

/* Tarifs */
.tarifs { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); align-items: stretch; }
.tarif { background: var(--fond); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 28px 24px 24px; display: flex; flex-direction: column; box-shadow: var(--ombre); position: relative; }
.tarif.vedette { border: 2px solid var(--accent); box-shadow: var(--ombre-forte); }
.tarif .etiquette { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: .78rem; font-weight: 700; padding: 4px 14px; border-radius: 999px; white-space: nowrap; }
.tarif h3 { font-size: 1.25rem; }
.tarif .pour { color: var(--doux); font-size: .95rem; min-height: 3em; }
.prix { font-size: 2.6rem; font-weight: 760; line-height: 1.1; margin: 8px 0 0; letter-spacing: -.02em; }
.prix .barre { font-size: 1.2rem; font-weight: 500; color: var(--doux); text-decoration: line-through; }
.prix .unite { font-size: 1rem; font-weight: 500; color: var(--doux); }
.tarif .par { color: var(--doux); font-size: .9rem; margin: 2px 0 16px; }
.tarif ul { list-style: none; padding: 0; margin: 0 0 22px; flex: 1; font-size: .96rem; }
.tarif li { padding: 5px 0 5px 24px; position: relative; }
.tarif li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 800; }
.note-tarifs { text-align: center; color: var(--doux); font-size: .92rem; margin-top: 26px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--ligne); }
.faq summary { cursor: pointer; padding: 18px 36px 18px 0; font-weight: 650; list-style: none; position: relative; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 1.6rem; font-weight: 400; color: var(--accent-texte); transition: transform .15s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 20px; color: var(--doux); }
.faq details > div p:last-child { margin-bottom: 0; }

/* Appel final */
.appel { background: linear-gradient(135deg, #3f35c9, #6d28d9); color: #fff; border-radius: 24px; padding: clamp(32px, 6vw, 60px); text-align: center; }
.appel h2 { color: #fff; }
.appel p { color: #e3dfff; font-size: 1.1rem; }
.appel .btn { background: #fff; color: #2d2478; border-color: #fff; }
.appel .btn.sec { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }

/* Pages de contenu */
.entete-page { padding: clamp(36px, 6vw, 72px) 0 12px; background: radial-gradient(900px 360px at 80% -20%, var(--accent-pale), transparent 70%); }
.entete-page p { color: var(--doux); font-size: 1.15rem; max-width: 40em; }
.texte h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: .6em; }
.texte h2 { font-size: 1.4rem; margin: 1.8em 0 .5em; }
.texte li { margin-bottom: .4em; }
.doc .texte { font-size: 1rem; }
pre.avis { white-space: pre-wrap; word-break: break-word; font: .82rem/1.5 Consolas, "Cascadia Mono", monospace; background: var(--fond-2); border: 1px solid var(--ligne); border-radius: 12px; padding: 18px; overflow-x: auto; }
.encadre { background: var(--accent-pale); border-radius: 14px; padding: 18px 22px; margin: 22px 0; }
.encadre.alerte { background: var(--alerte-pale); }
.encadre p:last-child { margin-bottom: 0; }
table.comparaison { width: 100%; border-collapse: collapse; font-size: .96rem; margin: 20px 0; }
table.comparaison th, table.comparaison td { border-bottom: 1px solid var(--ligne); padding: 10px 12px; text-align: left; vertical-align: top; }
table.comparaison th { color: var(--doux); font-weight: 650; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; }
code { font: .9em Consolas, "Cascadia Mono", monospace; background: var(--fond-3); padding: 1px 6px; border-radius: 6px; }
.empreinte { word-break: break-all; font: .85rem Consolas, "Cascadia Mono", monospace; background: var(--fond-2); border: 1px solid var(--ligne); border-radius: 10px; padding: 10px 12px; }
.deux { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

/* Pied */
.pied { background: var(--graphite); color: #c6cbe0; padding: 56px 0 28px; margin-top: 40px; font-size: .95rem; }
.pied a { color: #c6cbe0; text-decoration: none; display: block; padding: 3px 0; }
.pied a:hover { color: #fff; text-decoration: underline; }
.pied h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: #8d94b0; margin-bottom: 10px; }
.pied .marque { color: #fff; } .pied .marque b { color: #b8b1ff; }
.pied .petit { color: #98a0bb; } .pied .petit a { display: inline; color: #c6cbe0; }
.pied-grille { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.pied-bas { border-top: 1px solid #2a2f44; margin-top: 36px; padding-top: 20px; color: #7f87a3; font-size: .8rem; }
.pied-bas p { margin: 0 0 .5em; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
@media print { .entete, .pied, .bandeau-lancement { display: none; } }

/* Sélecteur de langue du site */
.langues { display: inline-flex; gap: 2px; align-items: center; margin: 0 6px; font-size: 13px; font-weight: 600; }
.langues a { padding: 4px 7px; border-radius: 6px; color: inherit; opacity: .75; text-decoration: none; }
.langues a:hover { opacity: 1; background: rgba(127, 127, 160, .18); }
.langues a[aria-current="true"] { opacity: 1; background: rgba(79, 70, 229, .16); }
@media (max-width: 800px) { .langues { margin: 8px 0; } }