/* Novembre Bleu 2026 — campaign page and site banner (tokens from the campaign identity) */
:root {
  --nb-bleu: #0569A6;
  --nb-bleu-profond: #04558A;
  --nb-azur: #0097D8;
  --nb-ciel: #00C9FF;
  --nb-brume: #E5F7FD;
  --nb-marine: #01375B;
  --nb-nuit: #000C19;
  --nb-texte: #1e2a3a;
  --nb-texte-doux: #55657c;
  --nb-filet: #BFE0F0;
  --nb-display: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --nb-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --nb-arabic: "Cairo", "Segoe UI", Tahoma, sans-serif;
}

.nb { font-family: var(--nb-body); color: var(--nb-texte); }
.nb[lang="ar"] { font-family: var(--nb-arabic); }
.nb .container { max-width: 1140px; }

/* Hero */
.nb-hero { position: relative; overflow: hidden; background: var(--nb-marine); color: #fff; padding: 2.5rem 0 4.5rem; }
.nb-hero-inner { position: relative; z-index: 1; }
.nb-hero-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 3rem; }
.nb-hero-lockup { width: min(520px, 100%); height: auto; }
.nb-lang { color: #fff; border: 1.5px solid rgba(255,255,255,.55); border-radius: 999px; padding: .4rem 1rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.nb-lang:hover, .nb-lang:focus-visible { background: #fff; color: var(--nb-marine); }
.nb-lang[lang="ar"] { font-family: var(--nb-arabic); }
.nb-hero-body { max-width: 640px; }
.nb-hero-ribbon { position: absolute; right: 6%; bottom: 2.5rem; width: 240px; height: auto; z-index: 0; }
.nb[dir="rtl"] .nb-hero-ribbon { right: auto; left: 6%; }

.nb-tag { display: inline-block; background: var(--nb-ciel); color: var(--nb-nuit); font: 600 .78rem/1 var(--nb-body); letter-spacing: .12em; text-transform: uppercase; padding: .5rem .9rem; border-radius: 999px; }
.nb[lang="ar"] .nb-tag { font-family: var(--nb-arabic); letter-spacing: 0; font-size: .9rem; font-weight: 700; }
.nb-h1 { font: 700 clamp(2.3rem, 5.4vw, 4rem)/1.05 var(--nb-display); letter-spacing: -.02em; margin: 1.1rem 0 1rem; color: #fff; text-wrap: balance; }
.nb-h1 em { font-style: normal; color: var(--nb-ciel); }
.nb[lang="ar"] .nb-h1 { font: 700 clamp(2.1rem, 5vw, 3.4rem)/1.45 var(--nb-arabic); letter-spacing: 0; }
.nb-chapo { font-size: 1.15rem; line-height: 1.65; margin: 0 0 1.75rem; opacity: .94; }
.nb[lang="ar"] .nb-chapo { font-size: 1.2rem; line-height: 1.9; }

/* Buttons */
.nb-actions, .nb-share-btns { display: flex; flex-wrap: wrap; gap: .75rem; }
.nb-btn { display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.4rem; border-radius: 999px; font: 600 1rem/1.25 var(--nb-body); text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.nb[lang="ar"] .nb-btn { font-family: var(--nb-arabic); font-weight: 700; }
.nb-btn:focus-visible, .nb-lang:focus-visible, .nb a:focus-visible { outline: 3px solid var(--nb-ciel); outline-offset: 2px; }
.nb-btn-ciel { background: var(--nb-ciel); color: var(--nb-nuit); }
.nb-btn-ciel:hover { background: #67E5FF; color: var(--nb-nuit); }
.nb-btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.nb-btn-ghost:hover { background: #fff; color: var(--nb-marine); }

/* Sections */
.nb-section { padding: 4.5rem 0; }
.nb-brume { background: var(--nb-brume); }
.nb-eyebrow { font: 600 .78rem/1 var(--nb-body); letter-spacing: .12em; text-transform: uppercase; color: var(--nb-bleu); margin: 0 0 .75rem; }
.nb[lang="ar"] .nb-eyebrow { font: 700 1rem/1.4 var(--nb-arabic); letter-spacing: 0; }
.nb-h2 { font: 700 clamp(1.75rem, 3.4vw, 2.6rem)/1.15 var(--nb-display); letter-spacing: -.015em; color: var(--nb-marine); margin: 0 0 2rem; text-wrap: balance; }
.nb[lang="ar"] .nb-h2 { font: 700 clamp(1.6rem, 3.2vw, 2.3rem)/1.5 var(--nb-arabic); letter-spacing: 0; }
.nb-h3 { font: 600 1.3rem/1.3 var(--nb-display); color: var(--nb-marine); margin: 0 0 .5rem; }
.nb[lang="ar"] .nb-h3 { font: 700 1.3rem/1.6 var(--nb-arabic); }
.nb p { line-height: 1.65; }
.nb[lang="ar"] p { line-height: 1.9; font-size: 1.06rem; }

.nb-grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.nb-grid-2 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .nb-grid-2 { grid-template-columns: 1fr 1fr; } }
.nb-card { background: #fff; border: 1px solid var(--nb-filet); border-radius: 14px; padding: 1.75rem; }
.nb-card p { margin: 0; color: var(--nb-texte); }
.nb-icon { display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--nb-brume); color: var(--nb-bleu); font-size: 1.2rem; margin-bottom: 1rem; }

.nb-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; counter-reset: none; }
.nb-step { background: #fff; border-radius: 14px; padding: 1.75rem; }
.nb-step p { margin: 0; }
.nb-step-num { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--nb-bleu); color: #fff; font: 700 1.15rem/1 var(--nb-display); margin-bottom: 1rem; }
.nb-cta-line { margin: 2rem 0 0; font: 600 1.15rem/1.4 var(--nb-display); color: var(--nb-bleu); }
.nb[lang="ar"] .nb-cta-line { font: 700 1.2rem/1.6 var(--nb-arabic); }

.nb-myth { background: var(--nb-brume); border-radius: 14px; padding: 1.75rem; display: flex; flex-direction: column; gap: .6rem; }
.nb-myth p { margin: 0; }
.nb-myth hr { border: 0; border-top: 1px solid var(--nb-filet); margin: .4rem 0; opacity: 1; }
.nb-label { font: 600 .75rem/1.2 var(--nb-body); letter-spacing: .12em; text-transform: uppercase; color: var(--nb-texte-doux); }
.nb-label-real { color: var(--nb-bleu); }
.nb[lang="ar"] .nb-label { font: 700 .95rem/1.4 var(--nb-arabic); letter-spacing: 0; }
.nb-myth-q { font: 600 1.25rem/1.35 var(--nb-display); color: var(--nb-marine); }
.nb[lang="ar"] .nb-myth-q { font: 700 1.25rem/1.7 var(--nb-arabic); }

/* Share band */
.nb-share { background: var(--nb-nuit); color: #fff; padding: 4rem 0; }
.nb-share-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: center; }
.nb-on-dark { color: #fff; margin-bottom: 1rem; }
.nb-share .nb-chapo { margin: 0; }

/* About */
.nb-about { padding: 3.5rem 0 4rem; border-top: 1px solid var(--nb-filet); }
.nb-about-inner { display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: 2.5rem; align-items: center; }
.nb-about-lockup { width: 100%; height: auto; }
.nb-about a { color: var(--nb-bleu); font-weight: 600; }
.nb-small { font-size: .88rem; color: var(--nb-texte-doux); margin: .5rem 0 0; }

@media (max-width: 991px) {
  .nb-hero-ribbon { width: 150px; opacity: .35; bottom: 1rem; }
  .nb-share-inner, .nb-about-inner { grid-template-columns: 1fr; }
}
@media (max-width: 575px) {
  .nb-hero { padding: 1.5rem 0 3rem; }
  .nb-hero-top { margin-bottom: 2rem; }
  .nb-hero-ribbon { display: none; }
  .nb-section { padding: 3rem 0; }
  .nb-btn { width: 100%; justify-content: center; }
}

/* ── Site banner (all three sites) ── */
.nb-bandeau { display: flex; align-items: center; gap: .75rem; min-height: 48px; padding: .45rem .75rem .45rem 1rem; background: var(--nb-bleu); color: #fff; font: 600 .95rem/1.35 var(--nb-body); position: relative; z-index: 1040; }
.nb-bandeau[dir="rtl"] { font-family: var(--nb-arabic); padding: .45rem 1rem .45rem .75rem; }
.nb-bandeau img { width: 26px; height: 26px; flex: none; }
.nb-bandeau-msg { flex: 1; min-width: 0; }
.nb-bandeau a { color: #fff; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.nb-bandeau a:hover { color: #fff; text-decoration-thickness: 2px; }
.nb-bandeau button { width: 34px; height: 34px; flex: none; border: 0; border-radius: 999px; background: transparent; color: #fff; font-size: 1.35rem; line-height: 1; cursor: pointer; }
.nb-bandeau button:hover { background: rgba(255,255,255,.15); }
.nb-bandeau a:focus-visible, .nb-bandeau button:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.nb-bandeau[hidden] { display: none; }
@media (max-width: 575px) { .nb-bandeau { font-size: .85rem; } .nb-bandeau-hide-sm { display: none; } }
