/* GROUPE OPEX — CHARTE UNIFIEE FORMATION V14
   CSS exclusivement appliqué aux pages publiques class="opex-unified".
   Aucune modification aux cinq fichiers images des pastilles. */
:root{--opex-night:#07101f;--opex-dark:#081a35;--opex-navy:#0b2d56;--opex-gold:#e4b66c;--opex-goldsoft:#efcf99;--opex-text:#e9edf5;--opex-muted:#b4c2d3;--opex-border:rgba(228,182,108,.29)}
body.opex-unified{background:var(--opex-night);color:var(--opex-text);font-family:Arial,Helvetica,sans-serif;line-height:1.65}
/* bandeau commun */
body.opex-unified .site-header{position:relative!important;top:auto!important;background:linear-gradient(110deg,#06172f,#0b2d56)!important;border-bottom:1px solid rgba(228,182,108,.50)!important;box-shadow:0 4px 20px #0008!important;z-index:1000}
body.opex-unified .site-header+main{padding-top:0!important}
body.opex-unified .header-inner{max-width:1600px!important;height:auto!important;min-height:92px!important;padding:12px 24px!important;gap:20px!important;margin:0 auto!important;display:flex!important;align-items:center!important;justify-content:space-between!important}
body.opex-unified .brand{min-width:0!important;flex:0 0 auto;display:flex;align-items:center;gap:11px}
body.opex-unified .brand-logo{width:62px;height:62px;flex:none;object-fit:contain}
body.opex-unified .brand-copy strong{font-size:clamp(25px,2.5vw,41px)!important;color:var(--opex-gold)!important;line-height:1!important;white-space:nowrap}
body.opex-unified .brand-copy small{color:#e6d6bd!important;font-size:9px!important;margin-top:5px;letter-spacing:.03em}
body.opex-unified .nav{display:flex;align-items:center;justify-content:flex-end;gap:clamp(10px,1.25vw,24px)!important;color:#f5f6fa!important;font-size:13px;font-weight:700;min-width:0}
body.opex-unified .nav>a:not(.phone):not(.restricted-access){color:#f5f6fa!important;padding:14px 0!important;white-space:nowrap!important;font-size:13px!important}
body.opex-unified .nav>a:not(.phone):not(.restricted-access)::after{height:2px!important;bottom:5px!important;background:var(--opex-gold)!important}
body.opex-unified .nav>a[aria-current="page"]:not(.phone):not(.restricted-access),body.opex-unified .nav>a:hover:not(.phone):not(.restricted-access){color:var(--opex-gold)!important}
body.opex-unified .nav>.restricted-access{background:transparent!important;color:var(--opex-gold)!important;border:1px solid #d6af73!important;border-radius:11px;padding:12px 15px;box-shadow:none!important;white-space:nowrap}
body.opex-unified .nav>.phone{background:#243a56!important;color:var(--opex-gold)!important;border-radius:11px;padding:12px 15px;box-shadow:none!important;margin:0!important;white-space:nowrap}
body.opex-unified .menu{display:none!important;background:#243a56!important;border:1px solid #d6af73!important;color:#d6af73!important}
/* Sections de page : même trame OPEX Sécurité, sans modifier l'ordre ni le contenu */
body.opex-unified main{background:#07101f;color:var(--opex-text)}
body.opex-unified .course-hero,body.opex-unified .tariff-hero,body.opex-unified .legal-hero{background:radial-gradient(ellipse at 75% 30%,#30415c 0%,transparent 50%),linear-gradient(135deg,#071326,#0a2342 65%,#0a182b)!important;border-bottom:1px solid var(--opex-border);color:#fff!important}
body.opex-unified .course-hero h1,body.opex-unified .tariff-hero h1,body.opex-unified .legal-hero h1{color:#fff!important}
body.opex-unified .course-hero p,body.opex-unified .tariff-hero p,body.opex-unified .legal-hero p{color:#d4ddea!important}
body.opex-unified .eyebrow{color:var(--opex-gold)!important}
body.opex-unified h2{color:#fff!important}
body.opex-unified h3{color:var(--opex-goldsoft)!important}
body.opex-unified .section,body.opex-unified .legal-page,body.opex-unified .tariff-section{background:#07101f!important;color:#e9edf5!important}
body.opex-unified .panel-section,body.opex-unified .audit-section,body.opex-unified .quality-section{background:#0b1b31!important;border-color:var(--opex-border)!important}
body.opex-unified .section p,body.opex-unified .section-head p,body.opex-unified .legal-page p,body.opex-unified .course-block p,body.opex-unified .course-block li,body.opex-unified .tariff-section p,body.opex-unified .about-grid p{color:#c7d3df!important}
body.opex-unified .card,body.opex-unified .training-card,body.opex-unified .course-block,body.opex-unified .course-aside,body.opex-unified .commitment,body.opex-unified .org-facts>div,body.opex-unified .quality-card,body.opex-unified .quality-meta>div,body.opex-unified .indicator-card,body.opex-unified .session-card,body.opex-unified .planning-toolbar,body.opex-unified .selected-session,body.opex-unified .tariff-table-wrap,body.opex-unified .tariff-callout-inner,body.opex-unified .legal-note,body.opex-unified .legal-updated,body.opex-unified .indicator-note,body.opex-unified .planning-empty{
 background:linear-gradient(145deg,#102743,#0b1b31)!important;color:#e9edf5!important;border:1px solid var(--opex-border)!important;box-shadow:none!important
}
body.opex-unified .card p,body.opex-unified .training-card p,body.opex-unified .commitment p,body.opex-unified .course-aside p,body.opex-unified .indicator-card p,body.opex-unified .quality-card p,body.opex-unified .quality-note,body.opex-unified .indicator-note p{color:#c7d3df!important}
body.opex-unified .training-card h3,body.opex-unified .card h3,body.opex-unified .course-block h2,body.opex-unified .commitment strong,body.opex-unified .course-aside strong,body.opex-unified .quality-card strong,body.opex-unified .quality-meta strong,body.opex-unified .indicator-card h3,body.opex-unified .org-facts strong,body.opex-unified .tariff-callout h2{color:var(--opex-goldsoft)!important}
body.opex-unified .training-link,body.opex-unified .course-aside a,body.opex-unified .tariff-table a,body.opex-unified .legal-page a{color:var(--opex-goldsoft)!important}
body.opex-unified .tag{background:rgba(255,255,255,.08)}
/* Les pastilles/images restent strictement intactes */
body.opex-unified .expertise-strip{background:#0b1b31!important;border-bottom:1px solid var(--opex-border)}
body.opex-unified .expertise-head h2,body.opex-unified .expertise-tile strong{color:#fff!important}
body.opex-unified .expertise-head p{color:#c7d3df!important}
body.opex-unified .expertise-head>span{background:var(--opex-border)!important}
body.opex-unified .expertise-tile{background:linear-gradient(145deg,#102743,#0b1b31)!important;border:1px solid var(--opex-border)!important;border-radius:13px;margin:6px;padding:18px 8px}
body.opex-unified .expertise-icon,body.opex-unified .expertise-icon img{background:transparent!important;box-shadow:none!important;filter:none!important;object-fit:contain!important}
body.opex-unified .expertise-icon img{width:100%!important;height:100%!important}
/* CTA et formulaire : lisibilité garantie */
body.opex-unified .contact{background:#0a1b33!important;color:#fff!important;border-top:1px solid var(--opex-border)}
body.opex-unified .contact h2,body.opex-unified .contact h3{color:#fff!important}
body.opex-unified .contact p{color:#d6e0ec!important}
body.opex-unified .location-panel{background:#102743!important;border:1px solid var(--opex-border)!important}
body.opex-unified .map-consent{background:#0a1b33!important}
body.opex-unified .button.primary{background:var(--opex-gold)!important;color:#081a35!important;border:1px solid var(--opex-gold)!important}
body.opex-unified .button.ghost,body.opex-unified .button.hero-outline{background:transparent!important;color:var(--opex-goldsoft)!important;border:1px solid rgba(228,182,108,.65)!important}
body.opex-unified input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),body.opex-unified select,body.opex-unified textarea{background:#fff!important;color:#17233a!important}
body.opex-unified label{color:#eef2f7!important}
body.opex-unified .tariff-table th{background:#1b3554!important;color:#f7dfb4!important}
body.opex-unified .tariff-table td{background:#102743!important;border-color:#30445f!important;color:#e9edf5!important}
body.opex-unified .tariff-table tbody tr:hover td{background:#1a3555!important}
body.opex-unified .tariff-price{color:var(--opex-goldsoft)!important}
body.opex-unified .quality-mark,body.opex-unified .indicator-value,body.opex-unified .quality-meta span{color:var(--opex-gold)!important}
body.opex-unified .session-card dt{color:var(--opex-goldsoft)!important}
body.opex-unified .session-card dd{color:#fff!important}
body.opex-unified .planning-toolbar label{color:#fff!important}
body.opex-unified .session-status,body.opex-unified .availability-text{color:inherit}
body.opex-unified .session-status-available,body.opex-unified .availability-text.is-available{background:#e9f8ee!important;color:#187a38!important}
body.opex-unified .session-status-warning,body.opex-unified .availability-text.is-warning{background:#fff2df!important;color:#c65f00!important}
body.opex-unified .session-status-full,body.opex-unified .availability-text.is-full{background:#fdeaea!important;color:#b3261e!important}
body.opex-unified .legal-page section{border-color:var(--opex-border)!important}
body.opex-unified footer{max-width:none!important;background:linear-gradient(110deg,#06172f,#0b2d56)!important;border-top:1px solid rgba(228,182,108,.5)!important;color:#e9edf5!important;padding:25px max(20px,calc((100vw - 1450px)/2))!important;display:flex;flex-wrap:wrap;justify-content:space-between;gap:14px}
body.opex-unified footer strong,body.opex-unified footer a{color:var(--opex-goldsoft)!important}
/* Page V13 possède des sélecteurs propres, préserver sa trame et ses titres bicolores */
body.opex-unified.opex-formation-security-theme .formation-intro{background:radial-gradient(ellipse at 75% 30%,#30415c 0%,transparent 50%),linear-gradient(135deg,#071326,#0a2342 65%,#0a182b)!important}
body.opex-unified.opex-formation-security-theme .formation-intro h1 .white{color:#fff!important}
body.opex-unified.opex-formation-security-theme .formation-intro h1 .gold{color:var(--opex-gold)!important}
body.opex-unified.opex-formation-security-theme .content-block{color:#e9edf5}
/* Largeur responsive stable et sans débordement du menu */
@media(max-width:1350px){
 body.opex-unified .menu{display:block!important}
 body.opex-unified .nav{display:none!important;position:absolute!important;top:100%!important;left:0!important;right:0!important;flex-direction:column!important;align-items:stretch!important;background:#081c39!important;padding:12px 24px 20px!important;border:1px solid rgba(228,182,108,.5)!important;border-top:0!important;gap:0!important;max-height:calc(100vh - 80px);overflow:auto}
 body.opex-unified .nav.open{display:flex!important}
 body.opex-unified .nav>a:not(.phone):not(.restricted-access){padding:11px 6px!important}
 body.opex-unified .nav>a:not(.phone):not(.restricted-access)::after{display:none!important}
 body.opex-unified .header-inner{min-height:80px!important;height:auto!important}
 body.opex-unified .nav>.phone,body.opex-unified .nav>.restricted-access{margin-top:8px!important;text-align:center}
}
@media(max-width:720px){
 body.opex-unified .header-inner{padding:10px 16px!important}
 body.opex-unified .brand-logo{width:52px;height:52px}
 body.opex-unified .brand-copy strong{font-size:clamp(21px,5vw,30px)!important}
 body.opex-unified .brand-copy small{font-size:8px!important}
 body.opex-unified .training-grid,body.opex-unified .grid{grid-template-columns:1fr!important}
 body.opex-unified .expertise-tiles{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.opex-unified .expertise-tile:last-child{grid-column:1/-1}
 body.opex-unified footer{flex-direction:column}
}
@media(max-width:420px){body.opex-unified .expertise-tiles{grid-template-columns:1fr!important}body.opex-unified .expertise-tile:last-child{grid-column:auto}}
