/* Guide de l'impression 3D — chargé après will.min.css + industrial-home.css (thème sombre). */
.guide-page { background: #0c1015; }
.guide-main { padding: 7.5rem 0 3rem; }
.guide-page .container { max-width: 1200px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; font-size: .8rem; color: #8190a3; margin-bottom: 1.4rem; }
.crumbs a { color: #9fb0c2; text-decoration: none; }
.crumbs a:hover { color: var(--teal); }
.crumbs i { font-size: .55rem; color: #4b5868; }

/* En-tête d'article */
.ghead { max-width: 820px; margin-bottom: 2.2rem; }
.ghead__tag { display: inline-flex; align-items: center; gap: .4rem; font-size: .75rem; font-weight: 700; color: var(--teal); background: rgba(45, 212, 191, .1); border: 1px solid rgba(45, 212, 191, .25); padding: .3rem .7rem; border-radius: 999px; margin-bottom: 1rem; }
.ghead h1, .ghub-head h1 { font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.12; letter-spacing: -.035em; font-weight: 800; margin: 0 0 1.1rem; color: #f1f5f9; }
.ghead__intro p { font-size: 1.12rem; line-height: 1.7; color: #b8c4d2; margin: 0; }
.ghead__meta { display: flex; flex-wrap: wrap; gap: .4rem 1.3rem; margin: 1.2rem 0 0; font-size: .8rem; color: #8190a3; }
.ghead__meta i { color: var(--teal); margin-right: .3rem; }

/* Mise en page article + sommaire */
.glayout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 3rem; align-items: start; }
.gbody { min-width: 0; max-width: 780px; font-size: 1.04rem; line-height: 1.8; color: #c9d4df; }
.gbody h2 { font-size: 1.6rem; line-height: 1.25; letter-spacing: -.025em; color: #f1f5f9; margin: 2.6rem 0 1rem; scroll-margin-top: 96px; }
.gbody h3 { font-size: 1.18rem; color: #e2e8f0; margin: 1.8rem 0 .6rem; scroll-margin-top: 96px; }
.gbody p { margin: 0 0 1.15rem; }
.gbody ul, .gbody ol { margin: 0 0 1.3rem; padding-left: 1.3rem; }
.gbody li { margin: .35rem 0; }
.gbody li::marker { color: var(--teal); }
.gbody strong { color: #f1f5f9; }
.gbody a { color: var(--teal); text-decoration: underline; text-decoration-color: rgba(45, 212, 191, .4); text-underline-offset: 3px; }
.gbody a:hover { text-decoration-color: var(--teal); }
.gbody table { width: 100%; border-collapse: collapse; margin: 1.3rem 0 1.6rem; font-size: .9rem; line-height: 1.5; display: block; overflow-x: auto; }
.gbody thead th { background: #151d27; color: #f1f5f9; text-align: left; font-weight: 700; }
.gbody th, .gbody td { padding: .7rem .85rem; border: 1px solid #243040; vertical-align: top; }
.gbody tbody tr:nth-child(even) td { background: rgba(255, 255, 255, .015); }
.gbody .callout { margin: 1.6rem 0; padding: 1.1rem 1.25rem; border-radius: 14px; background: linear-gradient(135deg, rgba(45, 212, 191, .09), rgba(108, 124, 255, .07)); border: 1px solid rgba(45, 212, 191, .28); }
.gbody .callout strong { display: flex; align-items: center; gap: .45rem; color: var(--teal); font-size: .86rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: .35rem; }
.gbody .callout strong::before { content: "\f0eb"; font-family: "Font Awesome 6 Free"; font-weight: 900; }
.gbody .callout p { margin: 0; }
.gside { position: sticky; top: 96px; display: grid; gap: 1rem; }
.gtoc { padding: 1.1rem 1.2rem; border-radius: 16px; background: #121820; border: 1px solid #222c38; }
.gtoc strong { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: #8190a3; margin-bottom: .6rem; }
.gtoc ol { margin: 0; padding-left: 1.1rem; display: grid; gap: .4rem; font-size: .86rem; }
.gtoc a { color: #b8c4d2; text-decoration: none; line-height: 1.4; }
.gtoc a:hover, .gtoc a.on { color: var(--teal); }
.gside__cta { padding: 1.1rem 1.2rem; border-radius: 16px; background: linear-gradient(160deg, #142624, #121820); border: 1px solid rgba(45, 212, 191, .25); }
.gside__cta strong { color: #f1f5f9; display: block; margin-bottom: .4rem; }
.gside__cta strong i { color: var(--teal); }
.gside__cta p { font-size: .84rem; color: #9fb0c2; line-height: 1.55; margin: 0 0 .8rem; }
.gside__cta .btn { width: 100%; justify-content: center; }

/* FAQ */
.gfaq { margin-top: 2.6rem; }
.gfaq details { border: 1px solid #222c38; border-radius: 12px; background: #121820; margin-bottom: .6rem; }
.gfaq summary { cursor: pointer; padding: .9rem 1.1rem; font-weight: 700; color: #f1f5f9; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.gfaq summary::-webkit-details-marker { display: none; }
.gfaq summary::after { content: "+"; color: var(--teal); font-size: 1.2rem; line-height: 1; }
.gfaq details[open] summary::after { content: "–"; }
.gfaq details p { margin: 0; padding: 0 1.1rem 1rem; color: #b8c4d2; }

/* Appel à l'action */
.guide-cta { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.2rem; align-items: center; margin: 2.6rem 0 1rem; padding: 1.5rem; border-radius: 20px; background: radial-gradient(ellipse 70% 120% at 0% 0%, rgba(45, 212, 191, .14), transparent 60%), #121820; border: 1px solid rgba(45, 212, 191, .3); }
.guide-cta__icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: rgba(45, 212, 191, .14); color: var(--teal); font-size: 1.4rem; }
.guide-cta h2 { margin: 0 0 .3rem; font-size: 1.2rem; color: #f1f5f9; }
.guide-cta p { margin: 0; color: #9fb0c2; font-size: .92rem; line-height: 1.6; }

/* Cartes (hub, articles liés) */
.gcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.gcard { display: flex; flex-direction: column; gap: .55rem; padding: 1.2rem; border-radius: 16px; background: #121820; border: 1px solid #222c38; color: #e2e8f0; text-decoration: none; transition: transform .2s, border-color .2s; }
.gcard:hover { transform: translateY(-3px); border-color: rgba(45, 212, 191, .45); }
.gcard__tag { font-size: .7rem; font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: .06em; }
.gcard strong { font-size: 1.02rem; line-height: 1.35; color: #f1f5f9; }
.gcard__desc { font-size: .85rem; line-height: 1.55; color: #8f9fb1; flex: 1; }
.gcard__more { font-size: .82rem; font-weight: 700; color: var(--teal); }
.grelated { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid #1f2934; }
.grelated h2 { font-size: 1.4rem; color: #f1f5f9; margin: 0 0 1.1rem; }
.grelated__all { margin-top: 1.2rem; }
.grelated__all a { color: var(--teal); font-weight: 700; text-decoration: none; }

/* Hub */
.ghub-head { max-width: 860px; margin-bottom: 2.4rem; }
.ghub-head > p { font-size: 1.12rem; line-height: 1.7; color: #b8c4d2; }
.ghub-jump { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.3rem; }
.ghub-jump a { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .9rem; border-radius: 999px; background: #131922; border: 1px solid #27313d; color: #cbd5e1; font-weight: 700; font-size: .85rem; text-decoration: none; }
.ghub-jump a:hover { border-color: var(--teal); color: var(--teal); }
.ghub-jump i { color: var(--teal); }
.ghub-cluster { margin: 0 0 3rem; scroll-margin-top: 96px; }
.ghub-cluster__head { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.2rem; }
.ghub-cluster__icon { width: 46px; height: 46px; flex: none; border-radius: 13px; display: grid; place-items: center; background: rgba(45, 212, 191, .1); color: var(--teal); font-size: 1.15rem; }
.ghub-cluster h2 { margin: 0 0 .25rem; font-size: 1.45rem; color: #f1f5f9; letter-spacing: -.02em; }
.ghub-cluster__head p { margin: 0; color: #8f9fb1; }

/* Pied de page du guide */
.guide-footer { border-top: 1px solid #1f2934; background: #0a0e13; padding: 3rem 0 2rem; color: #8190a3; font-size: .86rem; }
.guide-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 2rem; }
.guide-footer h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 .7rem; }
.guide-footer h3 a { color: #e2e8f0; text-decoration: none; }
.guide-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.guide-footer a { color: #9fb0c2; text-decoration: none; }
.guide-footer a:hover { color: var(--teal); }
.guide-footer .logo { display: inline-flex; gap: .5rem; align-items: center; margin-bottom: .8rem; }
.guide-footer .logo__brand { color: #fff; font-weight: 800; }
.guide-footer__legal { margin: 2rem 0 0; padding-top: 1.5rem; border-top: 1px solid #1f2934; font-size: .78rem; }
.guide-narrow { max-width: 760px; }

@media (max-width: 1000px) {
  .glayout { grid-template-columns: 1fr; }
  .gside { position: static; order: -1; }
  .gside__cta { display: none; }
  .guide-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .guide-main { padding-top: 6.5rem; }
  .guide-cta { grid-template-columns: 1fr; text-align: left; }
  .guide-cta .btn { justify-content: center; }
  .guide-footer__grid { grid-template-columns: 1fr; }
  .gbody { font-size: 1rem; }
}
