/* ==========================================================================
   Onda Replay — bandeau d'annonce (haut de page) + encart compact (bandeau Data Center)
   Pour retirer la promotion : supprimez ce fichier, la ligne <link> qui le
   charge et les blocs « ONDA REPLAY » dans index.html.
   ========================================================================== */

.onda-scope {
  --onda-navy: #314572;
  --onda-ink: #314572;
  --onda-blue: #38b3be;       /* badge « Nouveau » : turquoise, comme le logo Onda */
  --onda-badge-ink: #1f2d4d;
  --onda-orange: #e76e13;
  --onda-orange-hover: #c95a0d;
  --onda-teal: #39b2bd;
  --onda-body: #d0d8e5;
  --onda-soft: #aebbd0;
  --onda-chip: #41587f;
  --onda-chip-line: #5e7398;
}

/* Badge « Nouveau » commun aux trois formats */
.onda-badge {
  display: inline-block; flex: none;
  background: var(--onda-blue); color: var(--onda-badge-ink);
  font-weight: 800; text-transform: uppercase; letter-spacing: .08em; line-height: 1;
  border-radius: 4px;
}

.onda-icon { display: block; flex: none; }

/* ---------- 1. Bandeau d'annonce (tout en haut) ---------- */
.onda-bar {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 64px; padding: 10px var(--gutter, 20px);
  background: var(--onda-navy); color: #fff; text-decoration: none;
  font-size: 16px; font-weight: 500; line-height: 1.3;
}
.onda-bar:hover, .onda-bar:focus-visible { color: #fff; }
.onda-bar .onda-icon { width: 28px; height: 28px; }
.onda-bar .onda-badge { font-size: 12px; padding: 6px 9px; margin-right: 6px; }
.onda-bar strong { font-weight: 700; }
.onda-bar__link { color: #ffad71; font-weight: 700; white-space: nowrap; margin-left: 2px; }
.onda-bar:hover .onda-bar__link { text-decoration: underline; text-underline-offset: 3px; }
.onda-bar__link svg { display: inline-block; width: 12px; height: 12px; margin-left: 6px; vertical-align: -1px; }

@media (max-width: 760px) {
  /* sur téléphone : une phrase sur deux lignes, sans le logo */
  .onda-bar { display: block; min-height: 0; padding-block: 11px; font-size: 13px; line-height: 1.55; }
  .onda-bar .onda-icon { display: none; }
  .onda-bar .onda-badge { font-size: 10px; padding: 4px 6px; margin-right: 3px; vertical-align: 1px; }
  .onda-bar__link { margin-left: 5px; }
  .onda-bar__xl { display: none; }
}


/* ---------- 2. Encart, dans le bandeau « Data Center s'arrête en 2029 » ---------- */
/* Fond blanc pour ressortir sur le bleu nuit du bandeau */
.onda-mini {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px 56px;
  margin-top: 56px; padding: 28px 34px 30px 32px;
  background: #fff; color: #4c535d; font-family: var(--font);
  border-left: 5px solid var(--onda-orange); border-radius: 8px;
  box-shadow: 0 28px 56px -24px rgba(16, 24, 44, .6);
}
.onda-mini p { margin: 0; max-width: none; }
.onda-mini__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.onda-mini .onda-icon { width: 44px; height: 44px; }
.onda-mini p.onda-mini__name { display: flex; align-items: center; gap: 10px; color: var(--onda-ink); font-size: 17px; font-weight: 700; line-height: 1.25; }
.onda-mini p.onda-mini__by { color: #5f6470; font-size: 12px; font-weight: 500; line-height: 1.4; }
.onda-mini .onda-badge { font-size: 10px; padding: 4px 6px; }
.onda-mini__title { margin: 0 0 8px; color: var(--onda-ink); font-size: clamp(20px, 2vw, 24px); font-weight: 700; line-height: 1.25; }
.onda-mini p.onda-mini__text { color: #4c535d; font-size: 14px; line-height: 1.55; max-width: 560px; }
.onda-mini__side { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.onda-mini__points { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.onda-mini__points li { display: flex; align-items: center; gap: 9px; color: var(--onda-ink); font-size: 14px; font-weight: 700; }
.onda-mini__points svg { width: 16px; height: 16px; flex: none; }
.onda-mini__btn {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  height: 50px; padding: 0 22px; border-radius: 3px;
  background: var(--onda-orange); color: #fff; font-size: 16px; font-weight: 700; text-decoration: none;
  transition: background-color .2s;
}
.onda-mini__btn:hover { background: var(--onda-orange-hover); color: #fff; }
.onda-mini__btn svg { width: 13px; height: 13px; }
@media (max-width: 900px) {
  .onda-mini { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 44px; padding: 22px 20px 24px; }
  .onda-mini__btn { width: 100%; justify-content: center; }
  .onda-mini__side { align-items: stretch; }
}
