:root{--encre:#0d1117;--doux:#4a5260;--fond:#fff;--teinte:#f4f6f9;--trait:#dfe3ea;--bleu:#0b5fe0;--bleu-fonce:#084bb3;--rayon:14px}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-behavior:smooth}
body{font-family:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:1.0625rem;line-height:1.6;color:var(--encre);background:var(--fond);overflow-wrap:break-word}
a{color:var(--bleu);text-underline-offset:.18em}
a:hover{color:var(--bleu-fonce)}
:focus-visible{outline:3px solid var(--bleu);outline-offset:3px;border-radius:4px}
ul,ol{list-style:none}
h1,h2,h3{line-height:1.18;letter-spacing:-.015em;text-wrap:balance}
h1{font-size:clamp(2.05rem,6vw,3.1rem);letter-spacing:-.03em}
h2{font-size:clamp(1.6rem,4.6vw,2.3rem)}
h3{font-size:1.15rem}
[id]{scroll-margin-top:5rem}
.boite{width:100%;max-width:70rem;margin-inline:auto;padding-inline:1.25rem}
.etroite{max-width:47rem}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.saut{position:absolute;left:1rem;top:-5rem;background:var(--encre);color:#fff;padding:.6rem 1rem;border-radius:8px;z-index:20}
.saut:focus{top:.6rem;color:#fff}

/* En-tête */
.entete{position:sticky;top:0;z-index:10;background:rgba(255,255,255,.96);border-bottom:1px solid var(--trait)}
.barre{display:flex;align-items:center;justify-content:space-between;gap:.75rem;min-height:4rem}
.marque{display:inline-flex;align-items:center;min-height:44px}
.logo{display:block;width:88px;height:19px}
.nav-large{display:none}
.actions{display:flex;align-items:center;gap:.5rem}
.connexion{display:inline-flex;align-items:center;min-height:44px;padding-inline:.4rem;color:var(--encre);font-size:.95rem;font-weight:500;text-decoration:none;white-space:nowrap}

.menu summary{display:grid;place-items:center;width:44px;height:44px;cursor:pointer;list-style:none;border:1px solid var(--trait);border-radius:10px}
.menu summary::-webkit-details-marker{display:none}
.burger,.burger::before,.burger::after{display:block;width:18px;height:2px;background:var(--encre);border-radius:2px}
.burger{position:relative}
.burger::before,.burger::after{content:"";position:absolute;left:0}
.burger::before{top:-6px}.burger::after{top:6px}
.menu[open] summary{background:var(--teinte)}
.menu nav{position:absolute;left:0;right:0;top:100%;background:#fff;border-bottom:1px solid var(--trait);box-shadow:0 18px 30px rgba(13,17,23,.1);padding:.5rem 1.25rem 1rem}
.menu nav a{display:block;padding:.8rem 0;color:var(--encre);font-weight:500;text-decoration:none;border-bottom:1px solid var(--trait)}
.menu nav li:last-child a{border:0;color:var(--bleu)}
a[aria-current="page"]{color:var(--bleu)!important}

/* Boutons */
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:.65rem 1.35rem;border-radius:10px;border:1px solid var(--encre);background:var(--encre);color:#fff;font-weight:600;text-align:center;text-decoration:none;line-height:1.25}
.btn:hover{background:var(--bleu-fonce);border-color:var(--bleu-fonce);color:#fff}
.btn.secondaire{background:transparent;color:var(--encre);border-color:#b9c0cc}
.btn.secondaire:hover{background:var(--teinte);color:var(--encre)}
.btn.clair{background:#fff;border-color:#fff;color:var(--encre)}
.btn.clair:hover{background:#dce8fc;color:var(--encre)}
.btn.petit{min-height:44px;padding:.5rem 1.1rem;font-size:.95rem}
.btn.commencer{display:none}
.boutons{display:flex;flex-direction:column;gap:.75rem;margin-top:1.75rem}
.suite{display:inline-block;padding:.6rem 0;font-weight:600}
.suite::after{content:"\00a0→"}

/* Sections */
.hero{padding:2.75rem 0 3.5rem;background:linear-gradient(var(--teinte),#fff)}
.hero-grille{display:grid;gap:3rem;align-items:center}
.hero h1{text-wrap:pretty}
.hero h1 span{color:var(--bleu)}
.chapo{margin-top:1.1rem;font-size:1.15rem;color:var(--doux);max-width:34rem}
.section{padding:3.5rem 0}
.teinte{background:var(--teinte)}
.surtitre{font-size:.8rem;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:var(--bleu);margin-bottom:.6rem}
.surtitre a{text-decoration:none}
.intro{margin-top:.9rem;color:var(--doux);max-width:40rem}
.etroite h2+p{margin-top:1rem}
.etroite h2~p{margin-top:.8rem}

.grille{display:grid;gap:1rem;margin-top:2rem}
.carte{background:#fff;border:1px solid var(--trait);border-radius:var(--rayon);padding:1.4rem}
.carte p{margin-top:.55rem;color:var(--doux)}
.carte h2{font-size:1.25rem}

.etapes{display:grid;gap:1.75rem;margin-top:2.25rem;counter-reset:etape}
.etapes li{counter-increment:etape;border-top:2px solid var(--encre);padding-top:1rem}
.etapes li::before{content:"0" counter(etape);display:block;font-weight:700;font-size:.9rem;color:var(--bleu);margin-bottom:.4rem}
.etapes p{margin-top:.5rem;color:var(--doux)}

/* Tarifs */
.palier h2,.palier h3{font-size:1rem;font-weight:600;color:var(--doux);letter-spacing:0}
.palier .prix{margin-top:.5rem;font-size:2.1rem;font-weight:700;line-height:1.1;color:var(--encre);font-variant-numeric:tabular-nums;white-space:nowrap}
.palier .unite{margin-top:.2rem;font-size:.95rem}
.coches{display:grid;gap:.55rem;margin-top:1.75rem}
.coches li{position:relative;padding-left:1.7rem}
.coches li::before{content:"";position:absolute;left:.35rem;top:.42em;width:.35rem;height:.65rem;border:solid var(--bleu);border-width:0 2px 2px 0;transform:rotate(45deg)}
table{width:100%;border-collapse:collapse;font-size:.975rem}
caption{text-align:left;font-weight:700;font-size:1.15rem;padding-bottom:.5rem}
th,td{text-align:left;vertical-align:top;padding:.65rem 0;border-top:1px solid var(--trait)}
.carte th{font-weight:400}
.carte td{text-align:right;padding-left:1rem;font-weight:600;white-space:nowrap}

/* FAQ */
.faq{margin-top:1.75rem;border-bottom:1px solid var(--trait)}
.faq details{border-top:1px solid var(--trait)}
.faq summary{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:1.05rem 0;font-weight:600;cursor:pointer;list-style:none}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";flex:none;font-size:1.5rem;font-weight:400;line-height:1;color:var(--bleu)}
.faq details[open] summary::after{content:"−"}
.faq details p{padding-bottom:1.2rem;color:var(--doux)}

.final{background:var(--encre);color:#fff;padding:3.75rem 0;text-align:center}
.final h2 span{display:block;color:#a9c8ff}
.final .boutons{align-items:center}
.final :focus-visible{outline-color:#fff}

/* Ressources et article */
.billet{margin-top:2rem}
.billet h2{margin-top:.35rem}
.billet h2 a{color:var(--encre)}
.billet h2 a:hover{color:var(--bleu)}
.carte .meta,.meta{font-size:.9rem;color:var(--doux)}
.prose h1{font-size:clamp(1.8rem,5.5vw,2.7rem)}
.prose .meta{margin:1rem 0 2rem}
.prose p{margin-top:1rem}
.prose h2{font-size:clamp(1.4rem,4vw,1.8rem);margin-top:2.75rem}
.prose h3{margin-top:1.75rem}
.table{margin-top:1.5rem;overflow-x:auto}
.prose th,.prose td{padding:.7rem .8rem .7rem 0}
.prose thead th{border-top:0;border-bottom:2px solid var(--encre)}

/* Illustration */
.illustration{position:relative;width:100%;max-width:26rem;aspect-ratio:3/2;margin-inline:auto;font-size:clamp(.75rem,3.2vw,.95rem)}
.lettre{position:absolute;inset:6% 4%;background:#fff;border:1px solid var(--trait);border-radius:10px;box-shadow:0 22px 45px rgba(13,17,23,.12);transform:rotate(-2deg)}
.lettre.arriere{background:#dbe7fb;border-color:#c5d8f7;transform:rotate(4deg);box-shadow:none}
.timbre{position:absolute;right:7%;top:10%;width:13%;aspect-ratio:4/5;background:var(--bleu);border:3px dotted #fff;outline:1px solid var(--bleu)}
.expediteur{position:absolute;left:8%;top:13%;width:26%;height:6px;border-radius:3px;background:var(--trait)}
.expediteur.court{top:21%;width:17%}
.adresse{position:absolute;left:34%;bottom:14%;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;line-height:1.7;color:var(--doux);white-space:nowrap}
.adresse b{color:var(--bleu)}

/* Pied de page */
.pied{border-top:1px solid var(--trait);padding:3rem 0 2rem;font-size:.975rem}
.pied-grille{display:grid;grid-template-columns:1fr 1fr;gap:2rem 1rem}
.pied-grille>div{grid-column:1/-1}
.pied p{margin-top:.5rem;color:var(--doux)}
.pied h2{font-size:.8rem;letter-spacing:.09em;text-transform:uppercase;margin-bottom:.5rem}
.pied li a{display:inline-block;padding:.5rem 0;color:var(--doux);text-decoration:none}
.pied li a:hover{color:var(--bleu);text-decoration:underline}
.droits{margin-top:2rem;font-size:.875rem}

@media (max-width:22.4rem){.connexion{font-size:.85rem}.logo{width:72px;height:16px}}
@media (min-width:36rem){
.boutons{flex-direction:row;flex-wrap:wrap}
.final .boutons{justify-content:center}
.etapes,.deux,.quatre,.paliers{grid-template-columns:repeat(2,1fr)}
.coches.en-ligne{display:flex;flex-wrap:wrap;gap:.6rem 1.5rem}
}
@media (min-width:52rem){
.nav-large{display:block}
.nav-large ul{display:flex;gap:1.75rem}
.nav-large a{display:inline-flex;align-items:center;min-height:44px;color:var(--encre);font-weight:500;font-size:.95rem;text-decoration:none}
.nav-large a:hover{color:var(--bleu)}
.menu{display:none}
.btn.commencer{display:inline-flex}
.logo{width:105px;height:23px}
.hero{padding:5rem 0}
.hero-grille{grid-template-columns:1.15fr 1fr}
.section{padding:5rem 0}
.trois{grid-template-columns:repeat(3,1fr)}
.pied-grille{grid-template-columns:2fr 1fr 1fr}
.pied-grille>div{grid-column:auto}
}
@media (min-width:64rem){.etapes,.quatre,.paliers{grid-template-columns:repeat(4,1fr)}}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
