/* Harmonisation transversale — typographie, rythme éditorial et cartes */
:root{--harmony-line:#c9d7dd;--harmony-shadow:0 12px 34px rgba(16,47,73,.06);--harmony-shadow-hover:0 20px 46px rgba(16,47,73,.11)}
html{overflow-x:clip}.cw-ticker{max-width:100vw;overflow:hidden}
main p{overflow-wrap:break-word}main p,main li{line-height:1.72}main img{max-width:100%;height:auto}
.article-body p,.course-article p,.course-article li,.cr-timeline article>p,.ac-degree p,.access-list p,.domain p,.wb-video-copy p,.tr-offer p{max-width:78ch}

/* Les ensembles deviennent des cartes distinctes, jamais une grille collée. */
.defender-grid,.threat-grid,.telemetry-grid,.metrics-grid,.master-grid,.master-skill-grid{gap:1.15rem!important;background:transparent!important;border:0!important}
.defender-grid>section,.science-block,.master-card,.master-skill-grid>*{border:1px solid var(--harmony-line)!important;box-shadow:var(--harmony-shadow)}
.master-grid{gap:1.35rem!important}.master-card{background:#fff!important;transition:transform .2s,box-shadow .2s,border-color .2s}.master-card:hover{transform:translateY(-3px);border-color:#8db6c6!important;box-shadow:var(--harmony-shadow-hover)}
.master-skill-grid>*{background:#fff!important}

/* Parcours professionnel et académique */
.cr-timeline{display:grid;gap:1.35rem}.cr-timeline>li{padding:2.5rem!important;border:1px solid var(--cr-line)!important;background:#fff;box-shadow:var(--harmony-shadow)}
.ac-degree{margin-bottom:1.35rem;padding:2.5rem!important;border:1px solid var(--ac-line)!important;background:#fff;box-shadow:var(--harmony-shadow)}

/* Ressources et académies */
.access-list{display:grid;gap:1.25rem;border-top:0!important}.access-list article{padding:2.25rem!important;border:1px solid var(--harmony-line)!important;background:#fff;box-shadow:var(--harmony-shadow)}
.academy-facts{gap:1rem!important;background:transparent!important}.academy-facts span{border:1px solid rgba(255,255,255,.2)}
.learning-path ol{gap:1rem!important;background:transparent!important;border:0!important}.learning-path li{padding:1.5rem!important;border:1px solid #bfd0d8;background:#fff;box-shadow:var(--harmony-shadow)}.learning-path li:before{top:-5px;left:1.4rem}
.course-list{display:grid;gap:.75rem;border-top:0!important}.course-list>a,.course-future{padding:1.25rem!important;border:1px solid var(--academy-line)!important;background:#fff}

/* Webinaires, formations et expertise */
.wb-presentation-grid,.wb-online-grid,.wb-featured-grid,.tr-offer-grid,.tr-bridges>div,.domain-cols{gap:1.25rem!important}
.wb-presentation-card,.wb-online-grid>*,.tr-offer-grid>article,.tr-bridges article,.domain-cols>*{border:1px solid var(--harmony-line)!important;background:#fff;box-shadow:var(--harmony-shadow)}
.wb-featured-grid{background:transparent}
.wb-featured-grid>*{border:1px solid var(--harmony-line)!important;box-shadow:var(--harmony-shadow)}
.wb-featured-grid>.wb-video-copy{background:var(--wb-navy);color:#fff}
.wb-presentation-card,.tr-offer-grid>article,.tr-bridges article,.domain-cols>*{padding:1.75rem!important}

/* Articles et cours */
.article-cve-chain{gap:1.15rem}.article-cve,.course-quiz-item,.course-flow{border:1px solid var(--harmony-line);background:#fff;box-shadow:var(--harmony-shadow)}
.takeaways{display:grid;gap:.75rem}.takeaways li{padding:1.15rem 1.15rem 1.15rem 3.7rem!important;border:1px solid var(--harmony-line)!important;background:#fff}
.article-refs li{padding:1rem 1.1rem;border:1px solid var(--harmony-line);background:#fff}.article-refs{display:grid;gap:.75rem;border-top:0!important}

@media(max-width:760px){
  main p,main li{line-height:1.65}.cr-timeline>li,.ac-degree,.access-list article{padding:1.35rem!important}
  .cr-timeline>li{grid-template-columns:1fr!important}.cr-date{gap:.65rem!important}.cr-date span{font-size:2.5rem!important}
  .learning-path li{padding:1.15rem 1.15rem 1.15rem 2.7rem!important}.learning-path li:before{left:1rem}
  .wb-presentation-card,.tr-offer-grid>article,.tr-bridges article,.domain-cols>*{padding:1.3rem!important}
}
@media(max-width:1100px){#main-nav .nav-menu:not(.open){display:none!important}#main-nav .nav-menu.open{display:block!important}}
@media(max-width:900px){.master-hero>*{min-width:0;width:100%;max-width:100%}.master-hero aside{padding-inline:1.5rem!important}}

/* Parcours académique : ouverture plus compacte et plus lisible. */
.ac-hero{padding-block:clamp(5rem,7vw,7rem) clamp(3.5rem,5vw,5rem)!important}
.ac-hero-grid{gap:6vw!important;align-items:center!important}
.ac-hero h1{font-size:clamp(3.6rem,5.7vw,6.4rem)!important;line-height:.94!important;margin:1.5rem 0 0!important}
.ac-hero-copy{max-width:720px}.ac-facts{margin-top:3rem!important}.ac-list{padding-block:clamp(4.5rem,6vw,6rem)!important}
@media(max-width:800px){.ac-hero-grid{gap:2rem!important}.ac-hero-copy{max-width:none}}
@media(max-width:620px){.ac-hero{padding-top:4rem!important;padding-bottom:3rem!important}.ac-hero h1{font-size:clamp(3rem,13vw,4rem)!important}.ac-facts{margin-top:2rem!important}}
