/* ===== COULEURS : modifiables ici ===== */
:root {
  --bleu-nuit: #071a3e;
  --bleu-fonce: #0c2a63;
  --bleu-clair: #2fa4ff;
  --bleu-pale: #eaf4ff;
  --blanc: #ffffff;
  --texte: #14233f;
  --gris: #5b6b86;
  --whatsapp: #25d366;
  --rayon: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  color: var(--texte);
  background: var(--blanc);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--bleu-clair); outline-offset: 2px; }
.container { width: min(1120px, 92%); margin-inline: auto; }

/* ===== BOUTONS ===== */
.btn {
  display: inline-block; padding: 13px 24px; border-radius: 999px;
  font-weight: 700; font-size: 0.98rem; border: 2px solid transparent;
  cursor: pointer; font-family: inherit; transition: transform .15s, background .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-wa { background: var(--whatsapp); color: #06331a; }
.btn-wa:hover { background: #3be97f; }
.btn-ghost { border-color: rgba(255,255,255,.55); color: var(--blanc); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-block { width: 100%; margin-top: 18px; }

/* ===== NAVIGATION ===== */
.header { position: sticky; top: 0; z-index: 50; background: var(--bleu-nuit); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 68px; }
.logo { font-weight: 800; letter-spacing: .02em; color: var(--blanc); font-size: 1.02rem; }
.logo span { color: var(--bleu-clair); }
.menu { display: flex; align-items: center; gap: 26px; color: #d6e6ff; font-weight: 500; }
.menu a:not(.btn):hover { color: var(--blanc); }
.menu .btn { padding: 9px 20px; }
.menu-btn { display: none; background: none; border: 0; color: var(--blanc); font-size: 1.7rem; cursor: pointer; }

/* ===== ACCUEIL ===== */
.hero {
  background: radial-gradient(900px 500px at 85% 20%, rgba(47,164,255,.28), transparent 60%),
              linear-gradient(160deg, var(--bleu-nuit), var(--bleu-fonce));
  color: var(--blanc); padding: 90px 0 100px;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.12; font-weight: 800; }
.lead { margin: 22px 0 32px; font-size: 1.12rem; color: #cfe2ff; max-width: 52ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Téléviseur décoratif en CSS */
.tv-screen {
  aspect-ratio: 16 / 10; border-radius: 18px; border: 10px solid #0a1c40;
  background: linear-gradient(135deg, #1b6fd6, var(--bleu-clair));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; position: relative; box-shadow: 0 30px 60px rgba(0,0,0,.4);
}
.tv-screen strong { font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: .04em; }
.tv-screen small { color: #e3f1ff; }
.tv-live {
  position: absolute; top: 14px; left: 14px; background: var(--blanc); color: var(--bleu-fonce);
  font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px;
}
.tv-stand { width: 28%; height: 14px; margin: 0 auto; background: #0a1c40; border-radius: 0 0 12px 12px; }

/* ===== SECTIONS ===== */
.section { padding: 84px 0; }
.section-light { background: var(--bleu-pale); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--bleu-fonce); line-height: 1.2; }
.section-sub { color: var(--gris); margin: 10px 0 36px; max-width: 60ch; }
.grid { display: grid; gap: 22px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--blanc); border-radius: var(--rayon); padding: 26px;
  border: 1px solid #d9e6f7; display: flex; flex-direction: column; gap: 8px;
}
.card h3 { color: var(--bleu-fonce); font-size: 1.1rem; }
.card p { color: var(--gris); font-size: .96rem; }
#avantages .card { border-top: 4px solid var(--bleu-clair); }

/* Cartes de prix */
.price-card .prix { font-size: 1.5rem; font-weight: 800; color: var(--bleu-fonce); margin-top: auto; padding-top: 10px; }
.price-card .prix small { font-size: .8rem; font-weight: 500; color: var(--gris); }
.price-card .prix.a-renseigner { font-size: 1.05rem; color: var(--gris); }
.price-card .btn { text-align: center; margin-top: 8px; padding: 11px 16px; }
.price-card.vedette { border: 2px solid var(--bleu-clair); box-shadow: 0 14px 34px rgba(47,164,255,.2); }
.badge {
  align-self: flex-start; background: var(--bleu-clair); color: var(--bleu-nuit);
  font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px;
}

/* ===== RÉABONNEMENT ===== */
.reab-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.steps { list-style: none; margin-top: 28px; counter-reset: etape; display: grid; gap: 22px; }
.steps li { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; counter-increment: etape; }
.steps li::before {
  content: counter(etape); grid-row: span 2; width: 44px; height: 44px; border-radius: 50%;
  background: var(--bleu-fonce); color: var(--blanc); font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.steps strong { color: var(--bleu-fonce); }
.steps span { color: var(--gris); }
.panel { background: var(--bleu-pale); border-radius: 18px; padding: 30px; border: 1px solid #cfe1f7; }
.panel h3 { color: var(--bleu-fonce); margin-bottom: 8px; }
label { display: block; margin: 14px 0 6px; font-weight: 600; font-size: .92rem; }
input, select {
  width: 100%; padding: 12px 14px; border: 1px solid #b9cfe9; border-radius: 10px;
  font: inherit; background: var(--blanc); color: var(--texte);
}

/* ===== CONTACT ===== */
.contact { background: linear-gradient(160deg, var(--bleu-nuit), var(--bleu-fonce)); color: var(--blanc); }
.contact h2 { color: var(--blanc); }
.lead-light { color: #cfe2ff; margin: 14px 0 26px; max-width: 46ch; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.infos { list-style: none; display: grid; gap: 14px; }
.infos li {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--rayon); padding: 16px 20px; display: grid;
}
.infos span { color: #a9c8f5; font-size: .85rem; }

/* ===== PIED DE PAGE ===== */
.footer { background: var(--bleu-nuit); color: #b9cdee; padding-top: 56px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 36px; }
.footer p { margin-top: 12px; max-width: 38ch; }
.footer h4 { color: var(--blanc); margin-bottom: 12px; }
.footer-grid a { display: block; margin-bottom: 8px; }
.footer-grid a:hover { color: var(--blanc); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0; }

/* ===== BOUTON WHATSAPP FLOTTANT ===== */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 60px; height: 60px;
  border-radius: 50%; background: var(--whatsapp); display: flex; align-items: center;
  justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,.3);
}

/* ===== TABLETTE ===== */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .reab-grid, .contact-grid { grid-template-columns: 1fr; }
  .tv { max-width: 460px; }
}

/* ===== TÉLÉPHONE ===== */
@media (max-width: 720px) {
  .menu-btn { display: block; }
  .menu {
    display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--bleu-nuit);
    flex-direction: column; align-items: flex-start; padding: 20px 4%; gap: 16px;
    border-top: 1px solid rgba(255,255,255,.1);
  }
  .menu.ouvert { display: flex; }
  .hero { padding: 60px 0 70px; }
  .section { padding: 60px 0; }
  .grid-4, .grid-3, .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
/* Identité visuelle DIGITAL PARTNER SERVICES */
.logo-marque { display: inline-flex; align-items: center; gap: 10px; line-height: 1.2; }
.logo-marque img { width: 54px; height: 54px; object-fit: contain; border-radius: 50%; background: white; flex-shrink: 0; }
.logo-marque em { font-style: normal; color: var(--bleu-clair); }
@media (max-width: 720px) { .logo-marque { font-size: .78rem; gap: 7px; } .logo-marque img { width: 42px; height: 42px; } }

/* Promotions : invisibles lorsqu'aucune offre n'est active */
.promo-section { background: #f6f9ff; }
.promo-section[hidden] { display: none !important; }
.promo-card { border-top: 4px solid var(--bleu-clair); }
.promo-card del { color: var(--gris); }
.promo-date { font-size: .85rem; }

/* Visuels CANAL+ ajoutés au site */
.tv-canal-logo { display: block; width: min(86%, 340px); max-height: 160px; object-fit: contain; margin: 22px auto 12px; }
.produit-image { display: block; width: 100%; height: 170px; object-fit: contain; margin: 0 auto 16px; border-radius: 10px; background: #fff; }

/* Image CANAL+ fournie pour l’écran d’accueil */
.tv-screen { overflow: hidden; background: #111; }
.tv-screen .tv-canal-logo { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; object-fit: cover; margin: 0; border-radius: 0; }
.tv-screen .tv-live { z-index: 1; }
.tv-screen small { position: absolute; bottom: 12px; z-index: 1; background: rgba(0,0,0,.65); padding: 5px 10px; border-radius: 8px; }

/* Deux photos pour le service décodeur et installation */
.produit-images { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
.produit-images .produit-image { width: 100%; height: 145px; object-fit: cover; border-radius: 10px; }
@media(max-width: 480px) { .produit-images .produit-image { height: 120px; } }

/* Option SUPERSPORTS (DSTV) */
.section-dstv { background: #edf4ff; }
.dstv-card { border-top: 4px solid var(--bleu-clair); }
.dstv-card-note, .dstv-note { color: #4b5871; font-size: .9rem; }
.dstv-note { margin-top: 18px; }

/* Logo SuperSport dans la rubrique DSTV */
.dstv-logo-wrap { display:flex; justify-content:center; margin: 1rem 0 1.5rem; }
.dstv-logo { display:block; width:min(100%, 380px); height:auto; border-radius:12px; object-fit:contain; }
