/* =========================================================================
   SMART TEC — Plateforme de navigation des normes ISO
   ========================================================================= */

:root {
  --navy:        #0A1628;
  --navy-2:      #0D2040;
  --navy-3:      #14305A;
  --navy-4:      #1C3E6C;
  --cyan:        #00B4D8;
  --cyan-d:      #0096B7;
  --green:       #00C896;
  --gold:        #F9A825;
  --orange:      #FF6B35;
  --red:         #D92D20;
  --red-soft:    #FEF3F2;
  --ink:         #10233B;
  --ink-2:       #3D556A;
  --grey:        #5A6B7F;
  --grey-2:      #8A9AAC;
  --line:        #DCE6F0;
  --line-2:      #EEF3F8;
  --bg:          #F4F7FB;
  --white:       #FFFFFF;
  --radius:      12px;
  --radius-sm:   8px;
  --shadow:      0 1px 2px rgba(16,35,59,.06), 0 4px 16px rgba(16,35,59,.06);
  --shadow-lg:   0 8px 40px rgba(10,22,40,.16);
  --font:        "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

button, input, select, textarea { font-family: inherit; font-size: inherit; }
a { color: var(--cyan-d); }

.hidden { display: none !important; }

/* =============================================================== AUTH === */
#auth {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
}

.auth-brand {
  background:
    radial-gradient(900px 600px at 15% 10%, #16325C 0%, transparent 60%),
    radial-gradient(700px 500px at 90% 90%, #0C2F57 0%, transparent 55%),
    var(--navy);
  color: #fff;
  padding: 56px 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.auth-brand::after {
  content: "";
  position: absolute; inset: auto -120px -160px auto;
  width: 460px; height: 460px; border-radius: 50%;
  background: rgba(0,180,216,.09);
}
.auth-brand > * { position: relative; z-index: 1; }

.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, var(--cyan), #0072A8);
  display: grid; place-items: center;
  font-weight: 800; color: #fff; font-size: 17px; letter-spacing: -.5px;
}
.logo-text { font-size: 19px; font-weight: 700; letter-spacing: -.2px; }
.logo-text span { color: var(--cyan); }
.logo-sub { font-size: 11px; color: #92AFC8; letter-spacing: 2px; text-transform: uppercase; margin-top: 1px; }

.auth-brand h1 {
  font-size: 40px; line-height: 1.12; font-weight: 800;
  letter-spacing: -1px; margin-bottom: 18px;
}
.auth-brand h1 em { font-style: normal; color: var(--cyan); }
.auth-brand p.lead { font-size: 15.5px; color: #A9C2D8; max-width: 440px; }

.brand-points { list-style: none; margin-top: 30px; display: grid; gap: 13px; }
.brand-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: #C3D6E7; }
.brand-points svg { flex: none; margin-top: 2px; }

.auth-foot { font-size: 12px; color: #7B96AE; }
.auth-foot a { color: #9FC4DC; text-decoration: none; }

.auth-panel {
  background: var(--white);
  padding: 46px 56px;
  display: flex; flex-direction: column;
  overflow-y: auto;
}
.auth-inner { width: 100%; max-width: 470px; margin: auto; padding: 8px 0; }

.tabs { display: flex; gap: 4px; background: var(--line-2); padding: 4px; border-radius: 10px; margin-bottom: 26px; }
.tabs button {
  flex: 1; border: 0; background: transparent; padding: 9px 12px; border-radius: 7px;
  font-weight: 600; font-size: 14px; color: var(--grey); cursor: pointer; transition: .15s;
}
.tabs button.on { background: var(--white); color: var(--navy); box-shadow: 0 1px 3px rgba(16,35,59,.12); }

.auth-panel h2 { font-size: 23px; font-weight: 750; letter-spacing: -.4px; margin-bottom: 5px; }
.auth-panel .sub { color: var(--grey); font-size: 14px; margin-bottom: 24px; }

.field { margin-bottom: 15px; }
.field label { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.field .req { color: var(--red); }
.field input, .field select {
  width: 100%; padding: 10px 13px; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); background: var(--white); color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus {
  outline: 0; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0,180,216,.14);
}
.field input::placeholder { color: #A9B7C6; }
.field .hint { font-size: 11.5px; color: var(--grey-2); margin-top: 5px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.row-phone { display: grid; grid-template-columns: 152px 1fr; gap: 8px; }
.row-phone select { padding-left: 9px; padding-right: 4px; }

.consents { margin: 20px 0 6px; padding: 15px 16px; background: var(--line-2); border-radius: var(--radius-sm); }
.consents .ctitle { font-size: 12px; font-weight: 700; color: var(--ink-2); text-transform: uppercase; letter-spacing: .6px; margin-bottom: 11px; }
.check { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; cursor: pointer; }
.check:last-child { margin-bottom: 0; }
.check input { width: 17px; height: 17px; flex: none; margin-top: 1px; accent-color: var(--cyan-d); cursor: pointer; }
.check span { font-size: 13px; color: var(--ink-2); line-height: 1.45; }

.btn {
  width: 100%; padding: 12px 18px; border: 0; border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #0E4C8A, var(--navy-3));
  color: #fff; font-weight: 650; font-size: 15px; cursor: pointer;
  transition: filter .15s, transform .08s; margin-top: 16px;
}
.btn:hover { filter: brightness(1.12); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .6; cursor: not-allowed; }
.btn-ghost {
  background: transparent; color: var(--grey); border: 1.5px solid var(--line);
  font-weight: 600;
}
.btn-ghost:hover { filter: none; background: var(--line-2); }

.msg { padding: 11px 14px; border-radius: var(--radius-sm); font-size: 13.5px; margin-bottom: 16px; display: none; }
.msg.show { display: block; }
.msg.err { background: var(--red-soft); color: #912018; border: 1px solid #FDA29B; }
.msg.ok  { background: #ECFDF3; color: #05603A; border: 1px solid #A6F4C5; }

/* ================================================================ APP === */
#app { min-height: 100vh; display: flex; flex-direction: column; }

.topbar {
  background: var(--navy); color: #fff; padding: 0 22px;
  height: 60px; display: flex; align-items: center; gap: 18px; flex: none;
}
.topbar .logo-mark { width: 34px; height: 34px; border-radius: 9px; font-size: 13px; }
.topbar .logo-text { font-size: 15.5px; }
.topbar .spacer { flex: 1; }
.crumb { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: #A9C2D8; }
.crumb b { color: #fff; font-weight: 600; }
.crumb .sep { color: #47617C; }

.userchip {
  display: flex; align-items: center; gap: 9px; padding: 5px 7px 5px 5px;
  border-radius: 30px; background: rgba(255,255,255,.08); cursor: default;
}
.avatar {
  width: 28px; height: 28px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, var(--cyan), #0072A8);
  display: grid; place-items: center; font-size: 11.5px; font-weight: 700; color: #fff;
}
.userchip .nm { font-size: 13px; font-weight: 600; }
.linkbtn {
  background: transparent; border: 1px solid rgba(255,255,255,.22); color: #C8DCEB;
  padding: 6px 13px; border-radius: 7px; font-size: 12.5px; font-weight: 600; cursor: pointer;
  transition: .15s;
}
.linkbtn:hover { background: rgba(255,255,255,.1); color: #fff; }

/* ------------------------------------------------------------- HUB ----- */
#hub { flex: 1; padding: 42px 30px 60px; }
.wrap { max-width: 1120px; margin: 0 auto; }

.hub-head { text-align: center; margin-bottom: 36px; }
.hub-head .eyebrow {
  font-size: 11.5px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--cyan-d); margin-bottom: 9px;
}
.hub-head h2 { font-size: 30px; font-weight: 800; letter-spacing: -.7px; margin-bottom: 9px; }
.hub-head p { color: var(--grey); max-width: 620px; margin: 0 auto; font-size: 14.5px; }

.grid-std { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }

.std {
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 19px 18px 17px; cursor: pointer; text-align: left; position: relative;
  transition: .16s; overflow: hidden;
}
.std::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--line);
  transition: .16s;
}
.std.live:hover { border-color: var(--cyan); transform: translateY(-2px); box-shadow: var(--shadow); }
.std.live::before { background: var(--acc, var(--cyan)); }
.std.soon { cursor: not-allowed; background: #FAFCFE; }
.std.soon .std-code, .std.soon .std-name { color: var(--grey-2); }

.std-code { font-size: 18px; font-weight: 800; letter-spacing: -.4px; color: var(--navy); }
.std-ver { font-size: 11px; font-weight: 700; color: var(--acc, var(--cyan-d)); margin-left: 6px; }
.std-name { font-size: 12.5px; color: var(--grey); margin-top: 5px; line-height: 1.4; min-height: 34px; }
.badge {
  display: inline-block; margin-top: 11px; font-size: 10.5px; font-weight: 700;
  padding: 3px 9px; border-radius: 20px; letter-spacing: .4px; text-transform: uppercase;
}
.badge.on   { background: #E6FAF5; color: #00795C; }
.badge.off  { background: #F1F5F9; color: #8A9AAC; }

.toast {
  position: fixed; left: 50%; bottom: 34px; transform: translate(-50%, 20px);
  background: var(--navy); color: #fff; padding: 12px 20px; border-radius: 10px;
  font-size: 13.5px; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none;
  transition: .25s; z-index: 90; max-width: 90vw; text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------------------------------------------------------- BROWSER --- */
#browser { flex: 1; display: flex; flex-direction: column; min-height: 0; }

.std-bar {
  background: var(--white); border-bottom: 1px solid var(--line);
  padding: 15px 26px; display: flex; align-items: center; gap: 18px; flex: none;
}
.std-bar h2 { font-size: 18px; font-weight: 750; letter-spacing: -.3px; }
.std-bar .meta { font-size: 12.5px; color: var(--grey); margin-top: 2px; }
.std-bar .spacer { flex: 1; }
.search {
  position: relative; width: 250px;
}
.search input {
  width: 100%; padding: 8px 12px 8px 33px; border: 1.5px solid var(--line);
  border-radius: 20px; font-size: 13px; background: var(--bg);
}
.search input:focus { outline: 0; border-color: var(--cyan); background: #fff; }
.search svg { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); opacity: .45; }

/* PDCA strip */
.pdca {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
  padding: 16px 26px; background: var(--white); border-bottom: 1px solid var(--line); flex: none;
}
.pq {
  border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 13px;
  cursor: pointer; transition: .15s; background: var(--white); text-align: left;
  position: relative; overflow: hidden;
}
.pq:hover { border-color: var(--pc); }
.pq.on { border-color: var(--pc); background: var(--pbg); }
.pq-top { display: flex; align-items: center; gap: 9px; }
.pq-let {
  width: 26px; height: 26px; border-radius: 7px; flex: none; display: grid; place-items: center;
  font-weight: 800; font-size: 13px; color: #fff; background: var(--pc);
}
.pq-name { font-size: 13.5px; font-weight: 700; color: var(--navy); }
.pq-desc { font-size: 11.5px; color: var(--grey); margin-top: 6px; line-height: 1.35; }
.pq-chaps { font-size: 11px; color: var(--pc); font-weight: 700; margin-top: 7px; letter-spacing: .3px; }

.split { flex: 1; display: flex; min-height: 0; }

/* tree */
.tree {
  width: 310px; flex: none; background: var(--white); border-right: 1px solid var(--line);
  overflow-y: auto; padding: 12px 0 40px;
}
.tree-hd {
  font-size: 10.5px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--grey-2); padding: 8px 20px 10px;
}
.ch { border-bottom: 1px solid var(--line-2); }
.ch-btn {
  width: 100%; display: flex; align-items: center; gap: 10px; padding: 11px 18px;
  background: transparent; border: 0; cursor: pointer; text-align: left; transition: background .12s;
}
.ch-btn:hover { background: var(--line-2); }
.ch-num {
  width: 25px; height: 25px; border-radius: 7px; flex: none; display: grid; place-items: center;
  font-size: 12px; font-weight: 750; color: #fff; background: var(--pc, var(--cyan));
}
.ch-ttl { flex: 1; font-size: 13.2px; font-weight: 640; color: var(--navy); line-height: 1.3; }
.ch-arw { flex: none; transition: transform .18s; opacity: .45; }
.ch.open .ch-arw { transform: rotate(90deg); }
.ch-list { display: none; padding: 0 0 8px; }
.ch.open .ch-list { display: block; }

.cl-btn {
  width: 100%; display: flex; gap: 9px; padding: 8px 18px 8px 30px;
  background: transparent; border: 0; border-left: 3px solid transparent;
  cursor: pointer; text-align: left; transition: .12s; align-items: flex-start;
}
.cl-btn:hover { background: var(--line-2); }
.cl-btn.on { background: #EAF7FC; border-left-color: var(--cyan); }
.cl-btn.on .cl-id, .cl-btn.on .cl-ttl { color: var(--cyan-d); }
.cl-id { font-size: 12px; font-weight: 700; color: var(--grey); flex: none; min-width: 34px; }
.cl-ttl { font-size: 12.5px; color: var(--ink-2); line-height: 1.35; flex: 1; }
.dot-new {
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; margin-top: 6px;
}

/* content */
.doc { flex: 1; overflow-y: auto; padding: 32px 44px 80px; }
.doc-inner { max-width: 820px; }

.empty { display: grid; place-items: center; height: 100%; text-align: center; color: var(--grey-2); }
.empty .ei { font-size: 42px; margin-bottom: 14px; opacity: .35; }
.empty h3 { font-size: 17px; color: var(--grey); font-weight: 650; margin-bottom: 6px; }
.empty p { font-size: 13.5px; max-width: 330px; }

.cl-head { margin-bottom: 22px; padding-bottom: 18px; border-bottom: 2px solid var(--line-2); }
.cl-path { font-size: 12px; color: var(--grey-2); margin-bottom: 9px; font-weight: 600; }
.cl-path b { color: var(--cyan-d); }
.cl-head h1 { font-size: 27px; font-weight: 780; letter-spacing: -.6px; line-height: 1.22; }
.cl-head .num {
  display: inline-block; background: var(--navy); color: #fff; font-size: 15px; font-weight: 750;
  padding: 3px 11px; border-radius: 7px; margin-right: 11px; vertical-align: 3px; letter-spacing: -.2px;
}
.tag-new {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 13px;
  background: #FFF8E6; color: #92610A; border: 1px solid #F5D38A;
  font-size: 11.5px; font-weight: 700; padding: 4px 11px; border-radius: 20px;
  text-transform: uppercase; letter-spacing: .5px;
}

.body p { margin-bottom: 13px; color: var(--ink); }
.body ol, .body ul { margin: 0 0 15px 0; padding-left: 0; list-style: none; counter-reset: alpha; }
.body ol li {
  counter-increment: alpha; position: relative; padding-left: 32px; margin-bottom: 9px; color: var(--ink);
}
.body ol li::before {
  content: counter(alpha, lower-alpha) ")"; position: absolute; left: 0; top: 0;
  font-weight: 700; color: var(--cyan-d); font-size: 13.5px; width: 26px;
}
.body ul li { position: relative; padding-left: 32px; margin-bottom: 9px; color: var(--ink); }
.body ul li::before {
  content: ""; position: absolute; left: 11px; top: 9px; width: 6px; height: 6px;
  border-radius: 50%; background: var(--cyan);
}
.body .nb {
  background: var(--line-2); border-left: 3px solid var(--grey-2); padding: 10px 15px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin-bottom: 14px;
  font-size: 13.2px; color: var(--grey); line-height: 1.5;
}

/* le mot d'obligation */
.shall {
  font-style: normal; font-weight: 800; color: var(--red);
  background: linear-gradient(transparent 62%, rgba(217,45,32,.13) 62%);
  padding: 0 1px;
}

.callout {
  border-radius: var(--radius); padding: 17px 20px; margin: 22px 0;
  border: 1px solid; position: relative;
}
.callout .ct {
  font-size: 11.5px; font-weight: 750; text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 8px; display: flex; align-items: center; gap: 7px;
}
.callout p { font-size: 13.8px; line-height: 1.58; margin: 0; }

.c-new  { background: #FFFBF1; border-color: #F5D38A; }
.c-new .ct { color: #B0740B; }
.c-new p { color: #6B4905; }

.c-note { background: #F2FAFD; border-color: #B7E5F3; }
.c-note .ct { color: var(--cyan-d); }
.c-note p { color: #0F3F52; }

.refs { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.refs .rl { font-size: 11.5px; color: var(--grey-2); font-weight: 650; text-transform: uppercase; letter-spacing: .6px; margin-right: 3px; }
.ref {
  font-size: 11.5px; background: var(--white); border: 1px solid var(--line);
  color: var(--grey); padding: 3px 10px; border-radius: 20px; font-weight: 600;
}

.pager { display: flex; gap: 10px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); }
.pager button {
  flex: 1; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 11px 15px; cursor: pointer; text-align: left; transition: .15s;
}
.pager button:hover:not(:disabled) { border-color: var(--cyan); }
.pager button:disabled { opacity: .4; cursor: not-allowed; }
.pager .pl { font-size: 11px; color: var(--grey-2); font-weight: 650; text-transform: uppercase; letter-spacing: .6px; }
.pager .pt { font-size: 13px; color: var(--navy); font-weight: 620; margin-top: 3px; }
.pager .nx { text-align: right; }

.legal {
  margin-top: 30px; padding: 14px 17px; background: #FBFCFD; border: 1px dashed var(--line);
  border-radius: var(--radius-sm); font-size: 11.8px; color: var(--grey-2); line-height: 1.55;
}

/* ------------------------------------------------------- RESPONSIVE --- */
@media (max-width: 1080px) {
  .grid-std { grid-template-columns: repeat(3, 1fr); }
  .tree { width: 260px; }
  .doc { padding: 26px 28px 70px; }
}
@media (max-width: 900px) {
  #auth { grid-template-columns: 1fr; }
  .auth-brand { padding: 34px 26px; }
  .auth-brand h1 { font-size: 30px; }
  .brand-points { display: none; }
  .auth-panel { padding: 30px 24px 50px; }
  .pdca { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .grid-std { grid-template-columns: repeat(2, 1fr); }
  .split { flex-direction: column; }
  .tree { width: 100%; max-height: 220px; border-right: 0; border-bottom: 1px solid var(--line); }
  .crumb { display: none; }
  .search { width: 160px; }
  .std-bar { flex-wrap: wrap; gap: 10px; padding: 12px 16px; }
  .row2, .row-phone { grid-template-columns: 1fr; }
  .doc { padding: 22px 18px 60px; }
  .cl-head h1 { font-size: 21px; }
  .pager { flex-direction: column; }
}
@media (max-width: 460px) {
  .grid-std { grid-template-columns: 1fr; }
  .pdca { grid-template-columns: 1fr; }
  .userchip .nm { display: none; }
}

/* ===================================================== OFFRE SMART TEC === */
:root { --norme: var(--cyan); }

.offre {
  margin: 26px 0 8px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #FBFDFE 0%, var(--white) 55%);
  overflow: hidden;
}

.offre-hd {
  display: flex; align-items: flex-start; gap: 13px;
  padding: 16px 20px 14px;
  background: var(--navy);
  border-bottom: 3px solid var(--norme);
}
.offre-ic {
  width: 30px; height: 30px; border-radius: 9px; flex: none;
  display: grid; place-items: center; font-size: 13px;
  background: var(--norme); color: var(--navy); font-weight: 800;
}
.offre-t { font-size: 14px; font-weight: 700; color: #fff; letter-spacing: -.2px; }
.offre-s { font-size: 11.8px; color: #A9C2D8; margin-top: 3px; line-height: 1.4; }

.offre-cols {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
}
.offre-col { padding: 17px 20px 15px; }
.offre-col + .offre-col { border-left: 1px solid var(--line-2); }

.oc-t {
  display: flex; align-items: center; gap: 8px;
  font-size: 11.5px; font-weight: 750; text-transform: uppercase;
  letter-spacing: .9px; color: var(--ink-2); margin-bottom: 12px;
}
.oc-ic { font-size: 10px; line-height: 1; }
.oc-f { color: var(--norme); }
.oc-s { color: var(--navy-3); }

/* --- éléments sélectionnables --- */
.op-list { display: grid; gap: 4px; }

.op-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 8px 10px; border-radius: 8px; cursor: pointer;
  border: 1.5px solid transparent; transition: background .13s, border-color .13s;
}
.op-item:hover { background: var(--line-2); }

.op-chk { position: absolute; opacity: 0; width: 0; height: 0; }

.op-box {
  flex: none; margin-top: 1px;
  width: 17px; height: 17px; border-radius: 5px;
  border: 1.8px solid #C3D0DE; background: var(--white);
  position: relative; transition: .13s;
}
.op-box::after {
  content: ""; position: absolute; left: 4.5px; top: 1px;
  width: 4px; height: 9px; border: solid #fff;
  border-width: 0 2.2px 2.2px 0; transform: rotate(45deg) scale(0);
  transition: transform .13s;
}

.op-txt { font-size: 12.8px; color: var(--ink); line-height: 1.45; }

.op-chk:checked ~ .op-box { background: var(--c); border-color: var(--c); }
.op-chk:checked ~ .op-box::after { transform: rotate(45deg) scale(1); }
.op-chk:checked ~ .op-txt { font-weight: 640; color: var(--navy); }
.op-item:has(.op-chk:checked) { background: #F1F8FC; border-color: #CFE6F3; }
.op-chk:focus-visible ~ .op-box { box-shadow: 0 0 0 3px rgba(0,180,216,.28); }
.op-chk:disabled ~ .op-box { opacity: .55; }
.op-item:has(.op-chk:disabled) { cursor: default; }
.op-item:has(.op-chk:disabled):hover { background: transparent; }
.op-item:has(.op-chk:checked):has(.op-chk:disabled) { background: #F1F8FC; }

.offre-cta {
  display: flex; align-items: center; gap: 15px; flex-wrap: wrap;
  padding: 15px 20px; background: var(--line-2);
  border-top: 1px solid var(--line);
}
.btn-interet {
  border: 0; border-radius: var(--radius-sm); cursor: pointer;
  background: linear-gradient(135deg, #0E4C8A, var(--navy-3));
  color: #fff; font-weight: 700; font-size: 14px;
  padding: 11px 22px; transition: filter .15s, transform .08s;
  box-shadow: 0 2px 8px rgba(14,76,138,.22);
}
.btn-interet:hover { filter: brightness(1.14); }
.btn-interet:active { transform: translateY(1px); }
.btn-interet:disabled { opacity: .65; cursor: wait; }
.cta-note { font-size: 12px; color: var(--grey); flex: 1; min-width: 180px; }

.cta-ok {
  font-size: 13.5px; font-weight: 650; color: #05603A;
  background: #ECFDF3; border: 1px solid #A6F4C5;
  padding: 11px 16px; border-radius: var(--radius-sm); width: 100%;
  line-height: 1.45;
}

@media (max-width: 760px) {
  .offre-cols { grid-template-columns: 1fr; }
  .offre-col + .offre-col { border-left: 0; border-top: 1px solid var(--line-2); }
  .btn-interet { width: 100%; }
  .cta-note { min-width: 0; }
}


/* ---------------------------- sélection, alerte et confirmation ---------- */
.offre-cta { flex-direction: column; align-items: stretch; gap: 11px; }
.offre-cta .btn-interet { align-self: flex-start; }

.cta-row { display: flex; align-items: center; gap: 15px; flex-wrap: wrap; }
.cta-note.on { color: var(--cyan-d); font-weight: 650; }

.cta-alerte {
  display: none; align-items: flex-start; gap: 10px;
  background: var(--red-soft); border: 1px solid #FDA29B;
  color: #912018; font-size: 13px; line-height: 1.45;
  padding: 11px 14px; border-radius: var(--radius-sm);
}
.cta-alerte.show { display: flex; }
.al-ic {
  flex: none; width: 19px; height: 19px; border-radius: 50%;
  background: var(--red); color: #fff; font-weight: 800; font-size: 12px;
  display: grid; place-items: center; margin-top: 1px;
}
.cta-alerte.secoue { animation: secousse .42s ease; }
@keyframes secousse {
  0%, 100% { transform: translateX(0); }
  20%      { transform: translateX(-6px); }
  40%      { transform: translateX(6px); }
  60%      { transform: translateX(-4px); }
  80%      { transform: translateX(4px); }
}

.offre.manque { border-color: #FDA29B; box-shadow: 0 0 0 4px rgba(217,45,32,.09); }
.offre.manque .op-box { border-color: #F2A9A2; }

.cta-ok {
  font-size: 13.5px; color: #05603A;
  background: #ECFDF3; border: 1px solid #A6F4C5;
  padding: 13px 16px; border-radius: var(--radius-sm); width: 100%;
  line-height: 1.5;
}
.ok-t { font-weight: 700; }
.ok-s { margin-top: 7px; font-size: 12.3px; color: #157347; }
.ok-l { list-style: none; margin: 6px 0 0; padding: 0; }
.ok-l li {
  position: relative; padding-left: 16px; font-size: 12.5px;
  color: #0B4A2E; margin-top: 4px; line-height: 1.4;
}
.ok-l li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: #129A6A; font-weight: 800; font-size: 11px;
}
