.guides-onglets{margin-bottom:8px;scroll-margin-top:80px}

.guides-onglets .onglets-pages{
  display:flex;
  align-items:flex-end;
  gap:8px;

  border-bottom:2px solid var(--brand-blue);
  margin-bottom:28px;
}

.guides-onglets .onglet{
  position:relative;
  bottom:-2px;
  background:var(--surface);
  border:2px solid var(--brand-blue);
  border-bottom:2px solid var(--brand-blue);
  border-radius:10px 10px 0 0;
  padding:11px 22px;
  font:inherit;
  font-size:15px;
  font-weight:700;
  color:var(--brand-blue);
  cursor:pointer;
  transition:background .12s,color .12s;
}
.guides-onglets .onglet:hover{background:var(--surface-tint)}

.guides-onglets .onglet.is-active{
  background:var(--brand-blue);
  border-color:var(--brand-blue);
  color:#fff;
}
.guides-onglets .onglet.is-active:hover{background:var(--brand-blue-dark)}
.guides-onglets .onglet:focus-visible{
  outline:2px solid var(--accent);
  outline-offset:2px;
}

.guides-panneau:focus{outline:none}

.guides-onglets.est-replie .aide-faq>h2{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip:rect(0,0,0,0);white-space:nowrap;border:0;
}

@media (max-width:520px){

  .guides-onglets .onglets-pages{gap:4px}
  .guides-onglets .onglet{padding:10px 12px;font-size:13.5px}
}

.guides .page-head,
.guide .page-head{
  border-bottom:1px solid var(--border);
  padding-bottom:20px;
  margin-bottom:32px;
}

.guides .page-head h1{
  font-size:26px;line-height:1.2;
  text-transform:uppercase;font-weight:800;letter-spacing:.01em;color:var(--brand-blue);
}
.guides .page-head p{max-width:70ch;line-height:1.6}

.guides-liste{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  gap:16px;
  margin-bottom:48px;
}

.guide-carte{
  background:var(--surface);
  border:1px solid var(--brand-blue);
  border-radius:var(--r-panel);
  padding:22px 24px;
  display:flex;
  flex-direction:column;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.guide-carte:hover{
  transform:translateY(-6px);
  box-shadow:0 18px 34px rgba(10,27,61,.14);
  border-color:var(--accent);
}

.guide-carte h2{
  font-size:17px;line-height:1.3;margin:0 0 10px;
  text-transform:uppercase;font-weight:800;letter-spacing:.02em;
}
.guide-carte h2 a{color:var(--brand-blue);text-decoration:none}
.guide-carte h2 a:hover{color:var(--accent-strong)}

.guide-carte h2 em{font-style:normal;color:var(--accent)}
.guide-carte h2 a:hover em{color:var(--accent-strong)}

.guide-carte>p{
  color:var(--ink-soft);
  line-height:1.6;
  margin:0 0 14px;
}

.guide-puces{
  list-style:none;
  padding:0;
  margin:0 0 18px;
  font-size:14px;
  color:var(--ink-soft);
}

.guide-puces li{
  position:relative;
  padding-left:18px;
  margin-bottom:6px;
  line-height:1.5;
}
.guide-puces li::before{
  content:"";
  position:absolute;
  left:0;
  top:8px;
  width:8px;
  height:2px;
  background:var(--accent);
}

.guide-carte .guide-lien{
  margin-top:auto;
  font-weight:700;
  color:var(--brand-blue);
  text-decoration:none;
}
.guide-carte .guide-lien::after{content:" →"}
.guide-carte .guide-lien:hover{color:var(--accent)}

.guides-sources{
  background:var(--surface);
  border:1px solid var(--brand-blue);
  border-left:4px solid var(--brand-blue);
  border-radius:var(--r-panel);
  padding:24px 28px;
  margin-bottom:16px;
}
.guides-sources h2{
  font-size:16px;margin:0 0 10px;text-transform:uppercase;font-weight:800;
  letter-spacing:.02em;color:var(--brand-blue);
}
.guides-sources p{max-width:70ch;line-height:1.6;margin:0 0 12px;color:var(--ink-soft)}
.guides-sources .guide-lien{
  font-weight:700;
  color:var(--brand-blue);
  text-decoration:none;
}
.guides-sources .guide-lien::after{content:" →"}
.guides-sources .guide-lien:hover{color:var(--accent)}

.guides .aide-faq h2,
.guides .aide-sortie h2{font-size:20px;margin:0 0 16px}

.guides-fin{
  background:var(--surface-tint);
  border:1px solid var(--brand-blue);
  border-radius:var(--r-panel);
  padding:28px 30px;
}
.guides-fin h2{
  font-size:18px;margin:0 0 10px;text-transform:uppercase;font-weight:800;
  letter-spacing:.02em;color:var(--brand-blue);
}
.guides-fin p{max-width:70ch;line-height:1.6;margin:0 0 14px}
.guides-fin .btn{margin-right:10px}

.fil{
  font-size:13px;
  color:var(--ink-soft);
  margin-bottom:18px;
}
.fil a{color:var(--ink-soft);text-decoration:none}
.fil a:hover{color:var(--brand-blue);text-decoration:underline}
.fil span{margin:0 6px}
.fil .fil-ici{color:var(--ink);margin:0}

.guide h1{
  max-width:26ch;font-size:28px;line-height:1.2;
  text-transform:uppercase;font-weight:800;letter-spacing:.01em;color:var(--brand-blue);
}
.guide-chapo{
  max-width:68ch;
  font-size:18px;
  line-height:1.65;
  color:var(--ink-soft);
}

.guide-corps{
  display:grid;
  grid-template-columns:minmax(0,1fr) 320px;
  gap:40px;
  align-items:start;
}

.guide-figure{margin:0 0 32px}
.guide-figure img{
  display:block;width:100%;height:auto;border-radius:14px;
  border:1px solid var(--border);background:var(--surface-alt);
}

.guide-figure figcaption{
  margin-top:9px;font-size:13px;line-height:1.5;font-style:italic;color:var(--ink-soft);
}

.guide-section{margin-bottom:36px}
.guide-section h2{
  font-size:18px;
  margin:0 0 14px;
  padding-bottom:8px;
  text-transform:uppercase;
  font-weight:800;
  letter-spacing:.02em;
  color:var(--brand-blue);
  border-bottom:1px solid var(--brand-blue);
}
.guide-texte p{
  max-width:68ch;
  line-height:1.7;
  margin:0 0 14px;
}
.guide-texte code{
  background:var(--surface-alt);
  border:1px solid var(--border);
  border-radius:4px;
  padding:1px 5px;
  font-size:13px;
}

.guide-limite{
  background:var(--warn-tint);
  border:1px solid var(--border);
  border-left:4px solid var(--warn);
  border-radius:var(--r-panel);
  padding:20px 24px;
  margin-bottom:36px;
}
.guide-limite h2{
  font-size:17px;
  margin:0 0 10px;
  border:0;
  padding:0;
  color:var(--warn);
}
.guide-limite p{margin:0;max-width:68ch;line-height:1.65}

.guide-cote{
  position:sticky;
  top:calc(var(--header-h) + 16px);
  display:flex;
  flex-direction:column;
  gap:16px;
}

.guide-resume,
.guide-liees{
  background:var(--surface);
  border:1px solid var(--brand-blue);
  border-radius:var(--r-panel);
  padding:20px 22px;
}

.guide-resume h2,
.guide-liees h2{
  font-size:12px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--ink-soft);
  margin:0 0 12px;
}

.guide-resume ul{
  list-style:none;
  padding:0;
  margin:0 0 18px;
  font-size:14px;
  line-height:1.55;
}
.guide-resume li{
  position:relative;
  padding-left:18px;
  margin-bottom:9px;
}
.guide-resume li::before{
  content:"";
  position:absolute;
  left:0;
  top:8px;
  width:8px;
  height:2px;
  background:var(--accent);
}
.guide-resume .btn{width:100%;text-align:center}
.guide-note{
  font-size:13px;
  color:var(--ink-soft);
  margin:12px 0 0;
  line-height:1.5;
}

.guide-liees ul{list-style:none;padding:0;margin:0;font-size:14px}
.guide-liees li{margin-bottom:8px;line-height:1.45}
.guide-liees a{color:var(--brand-blue);text-decoration:none}
.guide-liees a:hover{color:var(--accent);text-decoration:underline}

.guide-retour{
  margin-top:32px;
  padding-top:20px;
  border-top:1px solid var(--border);
  font-size:14px;
}
.guide-retour a{color:var(--ink-soft);text-decoration:none}
.guide-retour a:hover{color:var(--brand-blue)}

@media (max-width:980px){
  .guide-corps{grid-template-columns:1fr;gap:24px}
  .guide-cote{position:static}
}

.guide-pas-amorce{
  max-width:68ch;margin:0 0 22px;font-size:15.5px;line-height:1.68;color:var(--ink-soft);
}

.guide-etapes{
  list-style:none;margin:0 0 22px;padding:0;
  display:grid;grid-template-columns:repeat(2,1fr);gap:16px;
}

.guide-etapes > li{
  display:flex;flex-direction:column;
  background:var(--surface);
  border:1px solid var(--brand-blue);
  border-radius:var(--r-panel);
  overflow:hidden;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.guide-etapes > li:hover{
  transform:translateY(-6px);
  box-shadow:0 18px 34px rgba(10,27,61,.14);
  border-color:var(--accent);
}
.guide-etapes figure{
  margin:0;background:var(--surface-tint);border-bottom:1px solid var(--brand-blue);
}
.croquis{display:block;width:100%;height:auto}
.guide-etape-txt{padding:16px 18px 18px}

.guide-etape-txt h3{
  display:flex;align-items:center;gap:10px;
  margin:0 0 8px;font-size:14.5px;line-height:1.3;
  text-transform:uppercase;font-weight:800;letter-spacing:.02em;color:var(--brand-blue);
}

.guide-etape-n{
  flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;
  width:24px;height:24px;border-radius:50%;
  background:var(--accent);color:#fff;font-size:13px;font-weight:800;letter-spacing:0;
}
.guide-etape-txt p{margin:0;font-size:14px;line-height:1.62;color:var(--ink-soft)}

.guide-pas-chute{
  max-width:68ch;margin:0;padding:14px 18px;
  border-left:4px solid var(--accent);border-radius:0 12px 12px 0;
  background:rgba(255,100,0,.07);
  font-size:14.5px;line-height:1.65;
}

@media (max-width:700px){
  .guide-etapes{grid-template-columns:1fr}
}

.guide h1 em,
.guide-section h2 em{font-style:normal;color:var(--accent)}

.guide-liste{
  list-style:none;margin:0 0 14px;padding:0;max-width:68ch;
}
.guide-liste li{
  position:relative;padding-left:20px;margin-bottom:10px;
  font-size:15.5px;line-height:1.7;color:var(--ink-soft);
}
.guide-liste li::before{
  content:"";position:absolute;left:0;top:11px;
  width:10px;height:2px;background:var(--accent);
}
.guide-liste strong{color:var(--ink)}

.guides .btn-brand,
.guide .btn-brand{
  background:var(--accent);
  border-color:var(--accent);
  color:#fff;
  box-shadow:0 8px 18px rgba(255,100,0,.26);
}
.guides .btn-brand:hover,
.guide .btn-brand:hover{
  background:var(--accent-strong);
  border-color:var(--accent-strong);
  box-shadow:0 12px 24px rgba(255,100,0,.32);
}

.guides-fin{
  position:relative;
  overflow:hidden;
  background:linear-gradient(180deg,#FFF6F0,var(--surface));
}
.guides-fin::before{
  content:"";position:absolute;left:0;right:0;top:0;height:4px;
  background:linear-gradient(90deg,var(--accent),var(--brand-blue));
}
.guides-fin h2{padding-top:6px}

.guide-resume h2,
.guide-liees h2,
.guides-sources h2{
  display:flex;align-items:center;gap:9px;
}
.guide-resume h2::before,
.guide-liees h2::before,
.guides-sources h2::before{
  content:"";width:18px;height:3px;border-radius:2px;background:var(--accent);
  flex:0 0 auto;
}

.guides .aide-groupe h3{
  display:flex;align-items:center;gap:9px;
  font-size:13px;font-weight:800;letter-spacing:.06em;
}
.guides .aide-groupe h3::before{
  content:"";width:18px;height:3px;border-radius:2px;background:var(--accent);
  flex:0 0 auto;
}

.guides .aide-q{
  border:1px solid var(--brand-blue);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.guides .aide-q:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 22px rgba(10,27,61,.10);
  border-color:var(--accent);
}
.guides .aide-q summary:hover{background:var(--surface-tint)}

.guides .aide-q[open]{
  border-color:var(--accent);
  border-left-width:4px;
  background:linear-gradient(180deg,#FFF8F3,var(--surface));
}
.guides .aide-q[open] summary{color:var(--brand-blue)}

.guides .aide-q summary::after{border-color:var(--accent)}
.guides .aide-q[open] summary::after{border-color:var(--accent-strong)}
