:root{
  --iwf-rgpd-primary:#0b2a5a;
  --iwf-rgpd-primary-2:#14437f;
  --iwf-rgpd-accent:#ff7a00;
  --iwf-rgpd-accent-2:#ff8f2a;
  --iwf-rgpd-ink:#0b1020;
  --iwf-rgpd-muted:rgba(11,16,32,.70);
  --iwf-rgpd-line:rgba(11,16,32,.10);
  --iwf-rgpd-soft:#f6f8fc;
  --iwf-rgpd-shadow:0 34px 90px rgba(3,10,25,.28)
}
*{box-sizing:border-box}
.iwf-rgpd-overlay{
  position:fixed;inset:0;z-index:2147483000;display:grid;place-items:center;padding:0 24px;
  background:
    radial-gradient(circle at 15% 18%,rgba(255,122,0,.12),transparent 26%),
    radial-gradient(circle at 85% 80%,rgba(20,67,127,.20),transparent 30%),
    rgba(5,15,34,.68);
  backdrop-filter:blur(12px) saturate(115%);-webkit-backdrop-filter:blur(12px) saturate(115%);
}
.iwf-rgpd-overlay[hidden]{display:none!important}
.iwf-rgpd-modal{
  position:relative;width:min(1120px,100%);max-height:100vh;
  display:grid;grid-template-columns:minmax(420px,440px) minmax(0,1fr);overflow:hidden;
  background:linear-gradient(135deg,#fff 0%,#fff 66%,#fbfcff 100%);
  border:1px solid rgba(255,255,255,.72);border-radius:32px;
  box-shadow:var(--iwf-rgpd-shadow),0 0 0 1px rgba(255,255,255,.16) inset;
  font-family:Inter,Manrope,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--iwf-rgpd-ink)
}
.iwf-rgpd-modal:before{
  content:"";position:absolute;z-index:0;right:-120px;top:-120px;width:300px;height:300px;border-radius:50%;
  background:radial-gradient(circle,rgba(255,122,0,.08),rgba(255,122,0,0) 68%);pointer-events:none
}
.iwf-rgpd-visual{
  position:relative;min-height:590px;overflow:hidden;background:#f7f9fc;
  border-right:1px solid rgba(11,42,90,.08)
}
.iwf-rgpd-visual:before{
  content:"";position:absolute;z-index:2;inset:16px;border:1px solid rgba(255,255,255,.42);border-radius:22px;pointer-events:none
}
.iwf-rgpd-visual img{width:100%;height:100%;object-fit:cover;object-position:center center;display:block;transform:none}
.iwf-rgpd-visual:after{content:none}
.iwf-rgpd-content{position:relative;z-index:1;overflow:auto;padding:40px 46px 34px}
.iwf-rgpd-content::-webkit-scrollbar{width:8px}.iwf-rgpd-content::-webkit-scrollbar-thumb{background:rgba(11,42,90,.14);border-radius:999px}
.iwf-rgpd-logo{display:block;max-width:245px;max-height:70px;width:auto;height:auto;object-fit:contain;margin:0 0 24px}
.iwf-rgpd-kicker{
  display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;
  background:linear-gradient(90deg,rgba(255,122,0,.11),rgba(255,143,42,.06));
  border:1px solid rgba(255,122,0,.14);color:#9b4600;font-size:11px;font-weight:850;letter-spacing:.08em;text-transform:uppercase
}
.iwf-rgpd-kicker:before{content:"";width:8px;height:8px;border-radius:50%;background:var(--iwf-rgpd-accent);box-shadow:0 0 0 5px rgba(255,122,0,.10)}
.iwf-rgpd-content h2{font-size:clamp(34px,4vw,49px);line-height:1.01;letter-spacing:-.05em;margin:16px 0 16px;color:var(--iwf-rgpd-ink)}
.iwf-rgpd-content h2:after{content:"";display:block;width:74px;height:4px;margin-top:14px;border-radius:999px;background:linear-gradient(90deg,var(--iwf-rgpd-accent),var(--iwf-rgpd-accent-2))}
.iwf-rgpd-content p{font-size:15.5px;line-height:1.68;color:var(--iwf-rgpd-muted);margin:0}
.iwf-rgpd-trust{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0 16px}
.iwf-rgpd-trust span{display:inline-flex;align-items:center;gap:7px;padding:9px 11px;background:#f7f9fc;border:1px solid rgba(11,42,90,.08);border-radius:12px;color:#29405f;font-size:12px;font-weight:750}
.iwf-rgpd-trust i{display:grid;place-items:center;width:19px;height:19px;border-radius:50%;background:rgba(11,42,90,.08);color:var(--iwf-rgpd-primary);font-style:normal;font-size:11px;font-weight:900}
.iwf-rgpd-links{display:flex;flex-wrap:wrap;gap:8px 18px;margin:4px 0 24px;padding-top:2px}
.iwf-rgpd-links a{position:relative;display:inline!important;width:auto!important;min-height:0!important;margin:0!important;padding:0!important;color:var(--iwf-rgpd-primary)!important;background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;font-size:12.5px!important;font-weight:800!important;line-height:1.45!important;text-decoration:underline!important;text-decoration-thickness:1px!important;text-underline-offset:3px!important;appearance:none!important;-webkit-appearance:none!important}
.iwf-rgpd-links a:hover{color:var(--iwf-rgpd-accent)!important;background:none!important;border:0!important;box-shadow:none!important;text-decoration-color:var(--iwf-rgpd-accent)!important}
.iwf-rgpd-actions{display:grid;gap:10px}
.iwf-rgpd-actions-main{grid-template-columns:1fr 1fr 1fr;align-items:stretch}
.iwf-rgpd-btn{
  position:relative;min-height:54px;border-radius:16px;padding:0 17px;font:850 13.5px/1 system-ui,-apple-system,"Segoe UI",sans-serif;
  cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,background .18s ease,border-color .18s ease;
  border:1.5px solid var(--iwf-rgpd-primary);letter-spacing:-.01em
}
.iwf-rgpd-btn:hover{transform:translateY(-2px)}
.iwf-rgpd-btn:focus-visible,.iwf-rgpd-back:focus-visible,.iwf-rgpd-reopen:focus-visible,.iwf-rgpd-switch input:focus-visible+span{outline:3px solid rgba(255,122,0,.38);outline-offset:3px}
.iwf-rgpd-btn-choice{background:linear-gradient(135deg,var(--iwf-rgpd-primary),var(--iwf-rgpd-primary-2));color:#fff;box-shadow:0 12px 24px rgba(11,42,90,.16)}
.iwf-rgpd-btn-choice:hover{box-shadow:0 16px 30px rgba(11,42,90,.22)}
.iwf-rgpd-btn-custom{background:#fff;color:var(--iwf-rgpd-primary);border-color:rgba(11,42,90,.25);box-shadow:0 8px 18px rgba(3,10,25,.06)}
.iwf-rgpd-btn-custom:before{content:"⚙";margin-right:7px;font-size:14px}
.iwf-rgpd-btn-custom:hover{background:#f8faff;border-color:var(--iwf-rgpd-primary)}
.iwf-rgpd-btn-save{width:100%;background:linear-gradient(135deg,var(--iwf-rgpd-primary),var(--iwf-rgpd-primary-2));color:#fff;box-shadow:0 14px 28px rgba(11,42,90,.16)}
.iwf-rgpd-note{margin-top:13px!important;padding-top:12px;border-top:1px solid rgba(11,16,32,.07);font-size:11.5px!important;color:rgba(11,16,32,.54)!important}
.iwf-rgpd-note:before{content:"🔒";margin-right:6px;font-size:11px}
.iwf-rgpd-back{display:inline-flex;align-items:center;gap:6px;border:0;background:#f4f7fb;color:var(--iwf-rgpd-primary);font-weight:850;cursor:pointer;padding:9px 12px;margin:0 0 4px;border-radius:10px}
.iwf-rgpd-back:hover{background:#edf2f8}
.iwf-rgpd-view-settings h2{font-size:32px;margin-top:12px;margin-bottom:12px}
.iwf-rgpd-view-settings h2:after{width:56px;height:3px;margin-top:10px}
.iwf-rgpd-row{position:relative;display:grid;grid-template-columns:1fr auto;gap:20px;align-items:center;padding:15px 16px;margin-top:10px;border:1px solid rgba(11,42,90,.08);background:linear-gradient(180deg,#fff,#fbfcfe);border-radius:15px;box-shadow:0 8px 18px rgba(3,10,25,.035)}
.iwf-rgpd-row:hover{border-color:rgba(11,42,90,.15)}
.iwf-rgpd-row strong{display:block;font-size:14.5px;color:#10182b}.iwf-rgpd-row span{display:block;margin-top:4px;font-size:12.5px;line-height:1.42;color:var(--iwf-rgpd-muted)}
.iwf-rgpd-always{font-size:11px!important;font-weight:850;color:var(--iwf-rgpd-primary)!important;white-space:nowrap;padding:7px 9px;border-radius:999px;background:rgba(11,42,90,.07)}
.iwf-rgpd-actions-settings{margin-top:18px}
.iwf-rgpd-switch{position:relative;display:inline-flex;width:52px;height:30px;flex:0 0 auto}.iwf-rgpd-switch input{position:absolute;opacity:0;pointer-events:none}.iwf-rgpd-switch>span{position:absolute;inset:0;margin:0!important;border-radius:999px;background:#cfd6e2;cursor:pointer;transition:.2s;box-shadow:inset 0 1px 2px rgba(0,0,0,.08)}.iwf-rgpd-switch>span:after{content:"";position:absolute;width:22px;height:22px;left:4px;top:4px;border-radius:50%;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.18);transition:.2s}.iwf-rgpd-switch input:checked+span{background:linear-gradient(135deg,var(--iwf-rgpd-primary),var(--iwf-rgpd-primary-2))}.iwf-rgpd-switch input:checked+span:after{transform:translateX(22px)}
.iwf-rgpd-reopen{position:fixed;z-index:2147482990;left:18px;bottom:18px;display:inline-flex;align-items:center;gap:8px;border:1px solid rgba(11,42,90,.12);background:rgba(255,255,255,.96);color:var(--iwf-rgpd-primary);border-radius:999px;padding:12px 16px;font:850 12px/1 system-ui,-apple-system,"Segoe UI",sans-serif;box-shadow:0 12px 32px rgba(3,10,25,.16);cursor:pointer;backdrop-filter:blur(10px)}
.iwf-rgpd-reopen:before{content:"⚙";display:grid;place-items:center;width:23px;height:23px;border-radius:50%;background:var(--iwf-rgpd-primary);color:#fff;font-size:12px}.iwf-rgpd-reopen:hover{transform:translateY(-1px);box-shadow:0 15px 38px rgba(3,10,25,.20)}.iwf-rgpd-reopen[hidden]{display:none!important}
body.iwf-rgpd-lock{overflow:hidden!important}
@media(max-width:980px){.iwf-rgpd-modal{grid-template-columns:minmax(360px,400px) minmax(0,1fr)}.iwf-rgpd-content{padding:34px 34px 30px}.iwf-rgpd-actions-main{grid-template-columns:1fr 1fr}.iwf-rgpd-btn-custom{grid-column:1/-1;grid-row:2}.iwf-rgpd-btn-choice:first-child{grid-column:1}.iwf-rgpd-btn-choice:last-child{grid-column:2}}
@media(max-width:760px){
  .iwf-rgpd-overlay{padding:0 9px;align-items:end;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
  .iwf-rgpd-modal{grid-template-columns:1fr;max-height:100vh;border-radius:26px 26px 16px 16px}
  .iwf-rgpd-visual{display:none}.iwf-rgpd-content{padding:25px 20px 21px}.iwf-rgpd-logo{max-width:200px;max-height:54px;margin-bottom:16px}
  .iwf-rgpd-kicker{font-size:10px;padding:7px 10px}.iwf-rgpd-content h2{font-size:32px;line-height:1.04;margin-top:13px}.iwf-rgpd-content h2:after{width:58px;height:3px;margin-top:11px}
  .iwf-rgpd-content p{font-size:14px;line-height:1.58}.iwf-rgpd-trust{margin:16px 0 13px;gap:6px}.iwf-rgpd-trust span{font-size:11px;padding:7px 9px}.iwf-rgpd-links{margin-bottom:18px}
  .iwf-rgpd-actions-main{grid-template-columns:1fr}.iwf-rgpd-btn-custom,.iwf-rgpd-btn-choice:first-child,.iwf-rgpd-btn-choice:last-child{grid-column:auto;grid-row:auto}.iwf-rgpd-btn{min-height:49px}
  .iwf-rgpd-row{padding:13px 13px;gap:12px}.iwf-rgpd-row span{font-size:12px}.iwf-rgpd-view-settings h2{font-size:28px}
  .iwf-rgpd-reopen{left:12px;bottom:12px;padding:10px 13px}
}
@media(max-width:420px){.iwf-rgpd-content{padding:22px 17px 18px}.iwf-rgpd-trust span:nth-child(3){display:none}.iwf-rgpd-content h2{font-size:29px}.iwf-rgpd-row{grid-template-columns:1fr auto}.iwf-rgpd-always{white-space:normal;text-align:center;max-width:80px}.iwf-rgpd-switch{width:48px;height:28px}.iwf-rgpd-switch>span:after{width:20px;height:20px}.iwf-rgpd-switch input:checked+span:after{transform:translateX(20px)}}
@media(prefers-reduced-motion:reduce){.iwf-rgpd-btn,.iwf-rgpd-switch>span,.iwf-rgpd-switch>span:after,.iwf-rgpd-reopen{transition:none!important}}

/* ==========================================================
   V2.3 — Ajustements demandés : zéro marge verticale,
   illustration intégrale et liens de politique sans contour.
   ========================================================== */
.iwf-rgpd-overlay{
  padding-top:0!important;
  padding-bottom:0!important;
  margin:0!important;
}
.iwf-rgpd-modal{
  margin-top:0!important;
  margin-bottom:0!important;
  max-height:100dvh!important;
}
.iwf-rgpd-content{
  margin-top:0!important;
  margin-bottom:0!important;
}

/* Le visuel n'est plus recadré : tous les textes de l'image restent visibles. */
.iwf-rgpd-visual{
  min-height:0!important;
  display:flex!important;
  align-items:stretch!important;
  justify-content:center!important;
  background:#fff!important;
}
.iwf-rgpd-visual:before{
  content:none!important;
}
.iwf-rgpd-visual img{
  width:100%!important;
  height:100%!important;
  min-height:100%!important;
  object-fit:contain!important;
  object-position:center center!important;
  transform:none!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:#fff!important;
}

/* Liens juridiques : simples liens texte, aucun contour/fond, y compris au focus. */
.iwf-rgpd-links a,
.iwf-rgpd-links a:link,
.iwf-rgpd-links a:visited,
.iwf-rgpd-links a:hover,
.iwf-rgpd-links a:active,
.iwf-rgpd-links a:focus,
.iwf-rgpd-links a:focus-visible{
  display:inline!important;
  width:auto!important;
  min-width:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  border-width:0!important;
  border-style:none!important;
  border-radius:0!important;
  outline:0!important;
  outline-offset:0!important;
  box-shadow:none!important;
  -webkit-box-shadow:none!important;
  appearance:none!important;
  -webkit-appearance:none!important;
  text-decoration:underline!important;
  text-decoration-thickness:1px!important;
  text-underline-offset:3px!important;
}
.iwf-rgpd-links a:hover,
.iwf-rgpd-links a:focus,
.iwf-rgpd-links a:focus-visible{
  color:var(--iwf-rgpd-accent)!important;
  background:transparent!important;
}

/* Réduit encore les espaces internes haut/bas du contenu sans écraser la lecture. */
.iwf-rgpd-content{
  padding-top:28px!important;
  padding-bottom:24px!important;
}
.iwf-rgpd-logo{
  margin-top:0!important;
}
.iwf-rgpd-note{
  margin-bottom:0!important;
}

@media(max-width:760px){
  .iwf-rgpd-overlay{
    padding:0 8px!important;
  }
  .iwf-rgpd-modal{
    margin:0!important;
    max-height:100dvh!important;
  }
  .iwf-rgpd-visual{
    display:none!important;
  }
  .iwf-rgpd-content{
    padding-top:20px!important;
    padding-bottom:16px!important;
  }
}
