/* ===== Couleurs : modifiez-les ici ===== */
:root {
  --bg: #000;
  --bg-alt: #0b0b0d;
  --card: #141416;
  --line: #26262a;
  --text: #fff;
  --muted: #a1a1aa;
  --accent: #e8b84a;      /* doré : couleur de la marque */
  --radius: 10px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg); color: var(--text);
  line-height: 1.55; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
.wrap { width: min(1320px, 92%); margin: 0 auto; }
.wrap--narrow { width: min(820px, 92%); }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px; border-radius: 6px; font-weight: 700; font-size: .98rem;
  border: 1px solid transparent; transition: background .2s, transform .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--light { background: #fff; color: #000; }
.btn--light:hover { background: #e6e6e6; }
.btn--glass { background: rgba(255, 255, 255, .14); backdrop-filter: blur(8px); }
.btn--glass:hover { background: rgba(255, 255, 255, .24); }
.btn--outline { border-color: #3a3a40; }
.btn--outline:hover { border-color: #fff; }
.btn--sm { padding: 9px 18px; font-size: .9rem; }
.btn--block { width: 100%; }

.eyebrow {
  text-transform: uppercase; letter-spacing: 2.5px; font-size: .78rem;
  font-weight: 700; color: var(--accent); margin-bottom: 14px;
}
.center { text-align: center; }

/* En-tête */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s;
  background: linear-gradient(#000c, transparent);
}
.header.scrolled { background: rgba(0, 0, 0, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header__inner { height: 70px; display: flex; align-items: center; gap: 44px; }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 900; font-size: 1.35rem; letter-spacing: 1px; }
.logo__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px var(--accent); }
.nav { display: flex; gap: 28px; flex: 1; }
.nav a { font-weight: 600; font-size: .95rem; color: #d4d4d8; transition: color .2s; }
.nav a:hover { color: #fff; }
.header__right { display: flex; align-items: center; gap: 14px; }
.burger { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.burger span { display: block; width: 24px; height: 2px; background: #fff; margin: 6px 0; }

/* Affiche principale */
.billboard { position: relative; min-height: min(92vh, 820px); display: flex; align-items: flex-end; overflow: hidden; }
.billboard__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 72% 38%, rgba(232, 120, 60, .55), transparent 55%),
    radial-gradient(ellipse at 85% 70%, rgba(150, 30, 40, .6), transparent 55%),
    radial-gradient(ellipse at 40% 20%, rgba(232, 184, 74, .25), transparent 50%),
    linear-gradient(135deg, #1a0a08, #3a120c 45%, #120607);
  animation: drift 18s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: scale(1.08) translate(-1.5%, 1%); } }
.billboard__shade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, #000 0%, #000a 38%, transparent 70%),
              linear-gradient(0deg, #000 0%, transparent 35%);
}
.billboard__content { position: relative; padding-bottom: 110px; max-width: 1320px; }
.billboard__title {
  font-size: clamp(2.8rem, 8vw, 6.2rem); font-weight: 900; line-height: .95;
  letter-spacing: -2px; max-width: 900px;
}
.billboard__meta { margin: 22px 0 14px; color: #d4d4d8; font-weight: 500; display: flex; align-items: center; gap: 10px; }
.pill { border: 1px solid #fff8; border-radius: 4px; padding: 1px 7px; font-size: .8rem; font-weight: 700; }
.billboard__text { max-width: 520px; color: #d4d4d8; font-size: 1.08rem; }
.billboard__actions { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }

/* Bandeau */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.strip__inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip__inner div { padding: 26px 10px; text-align: center; border-right: 1px solid var(--line); }
.strip__inner div:last-child { border-right: 0; }
.strip strong { display: block; font-size: 1.25rem; font-weight: 800; }
.strip span { color: var(--muted); font-size: .9rem; }

/* Rangées */
.rows { padding: 50px 0 20px; }
.row { margin-bottom: 46px; }
.row__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.row__head h2 { font-size: 1.4rem; font-weight: 800; }
.row__nav { display: flex; gap: 8px; }
.arrow {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--card); cursor: pointer; font-size: 1.4rem; line-height: 1;
  transition: border-color .2s;
}
.arrow:hover { border-color: #fff; }
.row__track {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  --gutter: max(4vw, calc((100vw - 1320px) / 2));
  padding: 6px var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none;
}
.row__track::-webkit-scrollbar { display: none; }

.tile {
  position: relative; flex: none; scroll-snap-align: start;
  border-radius: var(--radius); overflow: hidden; cursor: pointer;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 18px; transition: transform .25s, box-shadow .25s;
}
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #000d, transparent 60%); }
.tile > * { position: relative; z-index: 1; }
.tile:hover { transform: scale(1.04); box-shadow: 0 14px 40px #000c; }
.tile h3 { font-size: 1.1rem; font-weight: 800; line-height: 1.2; }
.tile p { color: #d4d4d8; font-size: .85rem; margin-top: 3px; }
.tile--wide { width: 340px; aspect-ratio: 16 / 9; }
.tile--poster { width: 210px; aspect-ratio: 2 / 3; }
.tile--poster h3 { font-size: 1.25rem; }
.live, .badge {
  position: absolute !important; top: 12px; left: 12px;
  font-size: .7rem; font-weight: 800; letter-spacing: 1px; padding: 4px 8px; border-radius: 4px;
}
.live { background: #e11d2e; }
.badge { background: var(--accent); color: #000; }

/* Visuels (dégradés) : remplaçables par des images via background-image */
.p1 { background: linear-gradient(135deg, #0f3b5f, #0a1626); }
.p2 { background: linear-gradient(135deg, #1f4d2b, #0a1a10); }
.p3 { background: linear-gradient(160deg, #a2381c, #2a0a06); }
.p4 { background: linear-gradient(135deg, #4b1f6b, #120821); }
.p5 { background: linear-gradient(135deg, #5c4a12, #1a1405); }
.p6 { background: linear-gradient(160deg, #1d3a6e, #050a18); }
.p7 { background: linear-gradient(160deg, #6b1414, #150404); }
.p8 { background: linear-gradient(160deg, #a8641c, #2b1504); }
.p9 { background: linear-gradient(160deg, #2d2d33, #0a0a0c); }
.p10 { background: linear-gradient(160deg, #c27a2c, #4a1d0c); }
.p11 { background: linear-gradient(160deg, #26394d, #0b0f15); }
.p12 { background: linear-gradient(160deg, #2b8a7e, #0c2622); }

/* Sections */
.section { padding: 100px 0; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__title { text-align: center; font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 900; letter-spacing: -1px; line-height: 1.1; }
.section__sub { text-align: center; color: var(--muted); max-width: 580px; margin: 14px auto 56px; font-size: 1.05rem; }
.left { text-align: left; margin-left: 0; }

/* Offres */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plans--3 { grid-template-columns: repeat(3, 1fr); max-width: 1050px; margin: 0 auto; }
.plan {
  position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; padding: 32px 26px; display: flex; flex-direction: column;
}
.plan h3 { font-size: 1rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 1.5px; }
.price { font-size: 3rem; font-weight: 900; letter-spacing: -1.5px; margin-top: 10px; }
.price span { font-size: 1.1rem; font-weight: 700; color: var(--muted); }
.plan__note { color: var(--accent); font-size: .9rem; font-weight: 600; margin-bottom: 22px; }
.plan ul { list-style: none; flex: 1; margin-bottom: 28px; }
.plan li { padding: 10px 0 10px 26px; border-top: 1px solid var(--line); font-size: .95rem; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; font-weight: 800; }
.plan--top { background: #fff; color: #000; border-color: #fff; }
.plan--top h3, .plan--top .price span { color: #555; }
.plan--top .plan__note { color: #a1750f; }
.plan--top li { border-color: #e4e4e7; }
.plan--top .btn--light { background: #000; color: #fff; }
.plan--top .btn--light:hover { background: #222; }
.plan__flag {
  position: absolute; top: -13px; left: 26px; background: var(--accent); color: #000;
  font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
  padding: 5px 12px; border-radius: 4px;
}

/* Appareils */
.devices { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.devices__list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.devices__list li {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 26px 10px; text-align: center; font-weight: 600;
}
.devices__list span { display: block; font-size: 1.9rem; margin-bottom: 8px; }

/* FAQ */
.faq { border-bottom: 1px solid var(--line); }
.faq:first-of-type { margin-top: 40px; border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer; padding: 24px 0; font-weight: 700; font-size: 1.08rem; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.7rem; font-weight: 300; transition: transform .2s; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); padding-bottom: 24px; }

/* Contact */
.cta {
  padding: 110px 0; text-align: center;
  background:
    radial-gradient(ellipse at 50% 120%, rgba(232, 184, 74, .28), transparent 60%),
    var(--bg);
  border-top: 1px solid var(--line);
}
.cta h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 900; letter-spacing: -1px; }
.cta__inner > p:first-of-type { color: var(--muted); margin: 12px 0 32px; font-size: 1.1rem; }
.cta__mail { margin-top: 22px; color: var(--muted); }
.cta__mail a { color: #fff; text-decoration: underline; }

/* Pied de page */
.footer { border-top: 1px solid var(--line); padding-top: 56px; background: var(--bg-alt); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer__desc { color: var(--muted); margin-top: 14px; max-width: 300px; font-size: .95rem; }
.footer h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 14px; }
.footer__grid a:not(.logo) { display: block; color: var(--muted); padding: 4px 0; font-size: .95rem; }
.footer__grid a:not(.logo):hover { color: #fff; }
.footer__bottom { border-top: 1px solid var(--line); padding: 22px 0; color: #71717a; font-size: .85rem; }

/* WhatsApp flottant */
.float-wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%; background: #25d366;
  display: grid; place-items: center; box-shadow: 0 8px 24px #0009; transition: transform .2s;
}
.float-wa:hover { transform: scale(1.08); }

/* Responsive */
@media (max-width: 1050px) {
  .plans, .plans--3 { grid-template-columns: repeat(2, 1fr); }
  .devices { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 820px) {
  .burger { display: block; }
  .header__inner { gap: 0; justify-content: space-between; }
  .nav {
    position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: #000; border-bottom: 1px solid var(--line); display: none;
  }
  .nav a { padding: 16px 4%; border-top: 1px solid var(--line); }
  .nav.open { display: flex; }
  .header .btn--sm { display: none; }
  .strip__inner { grid-template-columns: repeat(2, 1fr); }
  .strip__inner div:nth-child(2) { border-right: 0; }
  .strip__inner div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .row__nav { display: none; }
  .tile--wide { width: 270px; }
  .tile--poster { width: 150px; }
  .tile--poster h3 { font-size: 1rem; }
  .billboard { min-height: min(82vh, 640px); }
  .billboard__content { padding-bottom: 70px; }
  .section { padding: 70px 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .plans, .plans--3 { grid-template-columns: 1fr; }
  .devices__list { grid-template-columns: repeat(2, 1fr); }
}
