/* ClickRegul — blog SEO
   Feuille posée sur un bureau administratif : quadrillage de registre,
   hexagones du logo en trame, liseré dégradé du lion, filigrane.
   Tout est en CSS/SVG : aucune image de décor à charger. */

:root{
  --cr-bleu:#0A63A8;
  --cr-bleu-fonce:#08497c;
  --cr-vert:#0A6B32;
  --cr-ambre:#96690A;
  --cr-rouge:#B03318;
  --cr-encre:#1b1f26;
  --cr-texte:#2b3039;
  --cr-gris:#5f6675;
  --cr-feuille:#fffdf9;
  --cr-bord:#e2dcd0;
  --cr-bureau:#e9e4da;
  --cr-bureau-ligne:rgba(10,99,168,.07);
}

*,*::before,*::after{box-sizing:border-box}

html{-webkit-text-size-adjust:100%}

body{
  margin:0;
  font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  font-size:17px;
  line-height:1.75;
  color:var(--cr-texte);
  background:var(--cr-bureau);
  background-image:
    linear-gradient(var(--cr-bureau-ligne) 1px,transparent 1px),
    linear-gradient(90deg,var(--cr-bureau-ligne) 1px,transparent 1px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='104' viewBox='0 0 120 104'%3E%3Cg fill='none' stroke='%230A63A8' stroke-opacity='.07' stroke-width='2'%3E%3Cpath d='M30 2 L58 18 L58 50 L30 66 L2 50 L2 18 Z'/%3E%3Cpath d='M90 54 L118 70 L118 102 L90 118 L62 102 L62 70 Z'/%3E%3C/g%3E%3C/svg%3E");
  background-size:28px 28px,28px 28px,120px 104px;
}

.crb-evite{position:absolute;left:-9999px}
.crb-evite:focus{left:8px;top:8px;background:#fff;padding:10px 14px;z-index:20;border-radius:6px}

/* -------- barre supérieure -------- */
.crb-barre{background:var(--cr-encre);color:#fff}
.crb-barre-in{max-width:1000px;margin:0 auto;padding:14px 20px;display:flex;align-items:center;
  justify-content:space-between;gap:16px;flex-wrap:wrap}
.crb-marque{display:inline-flex;align-items:center;gap:10px;color:#fff;text-decoration:none;
  font-weight:800;font-size:19px;letter-spacing:-.01em}
.crb-hex{width:20px;height:22px;display:inline-block;
  background:linear-gradient(135deg,#0A63A8,#0A6B32 35%,#96690A 70%,#B03318);
  clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%)}
.crb-nav{display:flex;gap:18px;flex-wrap:wrap}
.crb-nav a{color:#e8ecf3;text-decoration:none;font-size:15.5px}
.crb-nav a:hover,.crb-nav a[aria-current]{color:#fff;text-decoration:underline}
.crb-liseré{height:4px;background:linear-gradient(90deg,#0A63A8,#0A6B32 33%,#96690A 66%,#B03318)}

/* -------- feuille -------- */
.crb-bureau{padding:34px 16px 54px}
.crb-feuille{position:relative;max-width:820px;margin:0 auto;background:var(--cr-feuille);
  border:1px solid var(--cr-bord);border-radius:4px;padding:38px 42px 46px;
  box-shadow:0 1px 0 rgba(0,0,0,.04),0 18px 40px -26px rgba(27,31,38,.45)}
.crb-feuille::before{content:"";position:absolute;left:0;right:0;top:0;height:5px;
  background:linear-gradient(90deg,#0A63A8,#0A6B32 33%,#96690A 66%,#B03318);
  border-radius:4px 4px 0 0}
.crb-filigrane{position:absolute;right:26px;top:74px;width:150px;height:170px;opacity:.05;
  pointer-events:none;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 112'%3E%3Cpath d='M50 2 L96 28 L96 84 L50 110 L4 84 L4 28 Z' fill='none' stroke='%231b1f26' stroke-width='4'/%3E%3Ctext x='50' y='68' text-anchor='middle' font-family='Georgia,serif' font-size='34' font-weight='700' fill='%231b1f26'%3ECR%3C/text%3E%3C/svg%3E") no-repeat center/contain}

/* -------- textes -------- */
h1,h2,h3{color:var(--cr-encre);line-height:1.25;letter-spacing:-.015em}
h1{font-size:33px;font-weight:800;margin:0 0 14px}
h2{font-size:25px;font-weight:700;margin:38px 0 14px}
h3{font-size:19px;font-weight:700;margin:26px 0 10px}
p{margin:0 0 17px}
a{color:var(--cr-bleu)}
a:hover{color:var(--cr-bleu-fonce)}
strong{color:var(--cr-encre)}

.crb-meta{font-size:14px;color:var(--cr-gris);margin:0 0 22px}
.crb-chapo{font-size:19.5px;line-height:1.65;color:#3a4150;margin:0 0 26px}

ul{margin:0 0 20px;padding:0;list-style:none}
ul li{position:relative;padding-left:22px;margin:0 0 10px}
ul li::before{content:"";position:absolute;left:2px;top:11px;width:7px;height:7px;
  border-radius:50%;background:var(--cr-vert)}
ol{margin:0 0 20px;padding-left:22px}
ol li{margin:0 0 10px}

/* -------- illustration et photo -------- */
.crb-photo{display:block;width:100%;height:auto;margin:0 0 8px;border:1px solid var(--cr-bord);
  border-radius:8px}
.crb-illu{display:block;width:100%;height:auto;margin:0 0 8px;border:1px solid var(--cr-bord);
  border-radius:8px;background:#fff}
.crb-legende{font-size:13.5px;color:var(--cr-gris);margin:0 0 26px;line-height:1.55}

/* -------- encadrés et tableaux -------- */
.crb-encadre,.crb-alerte{background:#fffefb;border:1px solid var(--cr-bord);border-radius:8px;
  padding:20px 22px;margin:0 0 26px}
.crb-encadre{border-left:3px solid var(--cr-bleu)}
.crb-alerte{border-left:3px solid var(--cr-rouge)}
.crb-encadre p:last-child,.crb-alerte p:last-child{margin:0}

.crb-tab-env{overflow-x:auto;margin:0 0 26px;border:1px solid var(--cr-bord);border-radius:8px;
  background:#fffefb}
.crb-tab{border-collapse:collapse;width:100%;min-width:480px;font-size:15.5px}
.crb-tab th,.crb-tab td{padding:12px 15px;text-align:left;border-bottom:1px solid #ece7dd;
  vertical-align:top}
.crb-tab thead th{background:#f4f1ea;font-size:13.5px;font-weight:700;color:#3a4150}
.crb-tab tbody tr:last-child td{border-bottom:0}

/* -------- appel à l'action -------- */
.crb-cta{background:#e8f0f8;border:1px solid #c7d8ea;border-radius:10px;padding:30px 26px;
  margin:34px 0 26px;text-align:center}
.crb-cta p{text-align:center;max-width:560px;margin-left:auto;margin-right:auto}
.crb-cta-t{font-size:21px;font-weight:700;color:var(--cr-encre);margin:0 0 8px;line-height:1.3}
a.crb-bouton{display:inline-block;background:var(--cr-bleu);color:#fff;text-decoration:none;
  padding:16px 32px;border-radius:8px;font-size:17px;font-weight:700;line-height:1.3;margin:6px 0 0;
  max-width:100%}
a.crb-bouton:hover{background:var(--cr-bleu-fonce);color:#fff}
.crb-sous{font-size:13.5px;color:var(--cr-gris);margin:14px 0 0;line-height:1.55}

/* -------- bloc de fin d'article (ajouté automatiquement) -------- */
.crb-fin{background:#f3f7fb;border:1px solid #c7d8ea;border-top:4px solid var(--cr-bleu);
  border-radius:10px;padding:30px 26px;margin:38px 0 10px;text-align:center}
.crb-fin p{text-align:center;max-width:580px;margin-left:auto;margin-right:auto}
.crb-fin-t{font-size:21px;font-weight:700;color:var(--cr-encre);margin:0 0 10px;line-height:1.3}
.crb-fin-boutons{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin:18px 0 0}
a.crb-bouton-2{background:transparent;color:var(--cr-bleu);border:2px solid var(--cr-bleu);
  padding:14px 28px}
a.crb-bouton-2:hover{background:var(--cr-bleu);color:#fff}

/* -------- FAQ et pied d'article -------- */
.crb-faq{border-top:1px solid var(--cr-bord);margin:34px 0 0;padding:26px 0 0}
.crb-faq h3{margin-top:22px}
.crb-faq h3:first-of-type{margin-top:0}
.crb-pied{font-size:13px;color:var(--cr-gris);border-top:1px solid var(--cr-bord);margin:34px 0 0;
  padding:20px 0 0;line-height:1.6}
.crb-insec{white-space:nowrap}

/* -------- liste des articles -------- */
.crb-liste{list-style:none;margin:0;padding:0}
.crb-liste li{padding:0;margin:0 0 4px}
.crb-carte{display:flex;gap:18px;padding:20px 0;border-bottom:1px solid var(--cr-bord)}
.crb-carte:last-child{border-bottom:0}
.crb-carte img{width:170px;height:114px;object-fit:cover;border-radius:8px;border:1px solid var(--cr-bord);flex:none}
.crb-carte h2{margin:0 0 6px;font-size:21px}
.crb-carte h2 a{text-decoration:none;color:var(--cr-encre)}
.crb-carte h2 a:hover{color:var(--cr-bleu)}
.crb-carte p{margin:0 0 6px;font-size:16px}
.crb-carte .crb-meta{margin:0}
.crb-liste li::before{display:none}
.crb-pagination{display:flex;gap:14px;justify-content:space-between;margin:28px 0 0;font-size:15.5px}

/* -------- pied de site -------- */
.crb-pied-site{background:var(--cr-encre);color:#c9cfdb;margin-top:0}
.crb-pied-in{max-width:820px;margin:0 auto;padding:28px 20px 34px;font-size:14px;line-height:1.7}
.crb-pied-in p{margin:0 0 10px}
.crb-pied-in strong{color:#fff}
.crb-pied-site a{color:#cfe0f2}
.crb-copy{color:#8d94a3}

/* -------- téléphone -------- */
@media (max-width:640px){
  body{font-size:16.5px}
  .crb-bureau{padding:18px 12px 36px}
  .crb-feuille{padding:26px 20px 32px}
  .crb-filigrane{display:none}
  h1{font-size:27px}
  h2{font-size:22px}
  .crb-chapo{font-size:18px}
  a.crb-bouton{display:block;padding:15px 20px}
  .crb-carte{flex-direction:column;gap:12px}
  .crb-carte img{width:100%;height:190px}
  .crb-fin{padding:24px 18px}
  .crb-fin-boutons{flex-direction:column}
}

/* -------- mode sombre -------- */
@media (prefers-color-scheme:dark){
  :root{
    --cr-feuille:#191c22;
    --cr-bord:#333842;
    --cr-bureau:#101216;
    --cr-bureau-ligne:rgba(255,255,255,.035);
    --cr-texte:#d6dae2;
    --cr-encre:#f2f4f8;
    --cr-gris:#9aa2b1;
  }
  body{color:var(--cr-texte)}
  .crb-encadre,.crb-alerte,.crb-tab-env{background:#1d2129}
  .crb-tab thead th{background:#242933;color:#c9d0dc}
  .crb-tab th,.crb-tab td{border-bottom-color:#2e3440}
  .crb-cta{background:#14273a;border-color:#22415f}
  .crb-fin{background:#14273a;border-color:#22415f}
  a.crb-bouton-2{color:#7fb6e8;border-color:#7fb6e8}
  .crb-carte h2 a{color:var(--cr-encre)}
  a{color:#7fb6e8}
  .crb-illu{background:#fffdf9}
}

/* -------- impression -------- */
@media print{
  body{background:#fff}
  .crb-barre,.crb-pied-site,.crb-cta,.crb-filigrane{display:none}
  .crb-feuille{box-shadow:none;border:0;padding:0;max-width:none}
}
