:root {
  --bg: #07080b;
  --surface: #12151c;
  --surface-high: #1c212b;
  --text: #f4f5f7;
  --soft: #c9cfd8;
  --muted: #8b93a1;
  --accent: #f5b33b;
  --accent-deep: #3a2a0c;
  --radius: 14px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
}
h1,
h2,
h3 {
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}
p {
  margin: 0;
}

/* --- Barre du haut ----------------------------------------------------- */
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(20px, 5vw, 64px);
  background: rgb(7 8 11 / 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgb(255 255 255 / 0.06);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.02em;
}
.top nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.5vw, 28px);
  font-size: 15px;
}
.top nav a:not(.button) {
  text-decoration: none;
  color: var(--soft);
}
.top nav a:not(.button):hover {
  color: var(--text);
}

/* --- Boutons ------------------------------------------------------------ */
.button {
  display: inline-block;
  padding: 13px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: #111;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgb(245 179 59 / 0.25);
}
.button.ghost {
  background: rgb(255 255 255 / 0.08);
  color: var(--text);
}
.button.ghost:hover {
  box-shadow: none;
  background: rgb(255 255 255 / 0.14);
}
.button.small {
  padding: 8px 16px;
  font-size: 14px;
}

/* --- En-tête -------------------------------------------------------------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(48px, 9vw, 120px) clamp(20px, 5vw, 64px) clamp(40px, 6vw, 80px);
  max-width: 1280px;
  margin: 0 auto;
  background: radial-gradient(60% 70% at 85% 30%, rgb(245 179 59 / 0.13), transparent 70%);
}
.kicker {
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(38px, 5.4vw, 64px);
  margin: 14px 0 20px;
  font-weight: 800;
}
.lead {
  color: var(--soft);
  font-size: clamp(17px, 1.6vw, 19px);
  max-width: 34em;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 18px;
}
.note {
  color: var(--muted);
  font-size: 14px;
}

/* Illustration de la TV */
.tv {
  position: relative;
}
.screen {
  aspect-ratio: 9 / 5;
  border-radius: 16px;
  border: 10px solid #1a1d24;
  background: var(--bg);
  box-shadow:
    0 40px 90px rgb(0 0 0 / 0.6),
    0 0 0 1px rgb(255 255 255 / 0.05);
  display: flex;
  overflow: hidden;
}
.stand {
  width: 30%;
  height: 14px;
  margin: 0 auto;
  background: linear-gradient(#1a1d24, #0e1015);
  border-radius: 0 0 10px 10px;
}
.screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- Aperçu --------------------------------------------------------------- */
.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}
.tabs button {
  font: 600 15px var(--font);
  color: var(--soft);
  background: rgb(255 255 255 / 0.06);
  border: 0;
  border-radius: 999px;
  padding: 10px 20px;
  cursor: pointer;
}
.tabs button:hover {
  color: var(--text);
}
.tabs button[aria-selected="true"] {
  background: var(--accent);
  color: #111;
}
.tabs button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.shot {
  max-width: 1040px;
  margin: 0 auto;
}
.shot img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  border: 1px solid rgb(255 255 255 / 0.08);
  box-shadow: 0 30px 80px rgb(0 0 0 / 0.55);
}
.shot figcaption {
  color: var(--soft);
  text-align: center;
  margin-top: 18px;
  font-size: 17px;
}
.center {
  text-align: center;
}

/* --- Sections ------------------------------------------------------------- */
.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 104px) clamp(20px, 5vw, 64px);
}
.section h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800;
  text-align: center;
  max-width: 22em;
  margin: 0 auto 44px;
}
.section {
  scroll-margin-top: 40px;
}
.center {
  text-align: center;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 14px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 18px;
}
.grid article {
  background: var(--surface);
  border: 1px solid rgb(255 255 255 / 0.05);
  border-radius: var(--radius);
  padding: 26px;
}
.grid h3 {
  font-size: 19px;
  margin: 14px 0 8px;
}
.grid p {
  color: var(--soft);
  font-size: 15px;
}
.icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--accent-deep);
  color: var(--accent);
  font-size: 20px;
}

.steps-section {
  background: linear-gradient(180deg, transparent, rgb(255 255 255 / 0.025), transparent);
  max-width: none;
}
.steps {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 1050px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.steps li {
  text-align: center;
}
.steps span {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #111;
  font-weight: 800;
  font-size: 20px;
}
.steps h3 {
  font-size: 20px;
  margin: 16px 0 8px;
}
.steps p {
  color: var(--soft);
  max-width: 18em;
  margin: 0 auto;
}

/* --- Premium -------------------------------------------------------------- */
.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 380px));
  justify-content: center;
  gap: 22px;
  margin: 36px 0 22px;
}
.plan {
  position: relative;
  background: var(--surface);
  border: 1px solid rgb(255 255 255 / 0.06);
  border-radius: 18px;
  padding: 30px;
}
.plan.featured {
  border-color: rgb(245 179 59 / 0.55);
  background: linear-gradient(170deg, #1d1a12, var(--surface) 45%);
}
.plan h3 {
  font-size: 22px;
}
.price {
  font-size: 38px;
  font-weight: 800;
  margin: 10px 0 2px;
}
.price small {
  font-size: 16px;
  color: var(--muted);
  font-weight: 600;
}
.alt {
  color: var(--soft);
  font-size: 14px;
}
.plan ul {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 10px;
}
.plan li {
  padding-left: 28px;
  position: relative;
  color: var(--soft);
}
.plan li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
}
.badge {
  position: absolute;
  top: -13px;
  left: 30px;
  background: var(--accent);
  color: #111;
  font-weight: 800;
  font-size: 13px;
  padding: 4px 12px;
  border-radius: 999px;
}

/* --- Installer ------------------------------------------------------------ */
.install-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-bottom: 22px;
}
.install-grid article {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.install-grid h3 {
  font-size: 20px;
}
.install-grid p {
  color: var(--soft);
}
.address {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  color: var(--accent) !important;
  word-break: break-all;
}

/* --- Questions ------------------------------------------------------------ */
.faq {
  max-width: 820px;
}
.faq details {
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
  padding: 6px 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 36px 16px 0;
  font-weight: 700;
  font-size: 18px;
  position: relative;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 12px;
  font-size: 24px;
  color: var(--accent);
  transition: transform 0.2s;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  color: var(--soft);
  padding: 0 0 18px;
}

/* --- Pied de page ------------------------------------------------------- */
.bottom {
  border-top: 1px solid rgb(255 255 255 / 0.06);
  padding: 40px clamp(20px, 5vw, 64px) 56px;
  text-align: center;
  display: grid;
  gap: 10px;
  justify-items: center;
  color: var(--soft);
}
.bottom .brand {
  font-size: 18px;
  color: var(--text);
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* --- Téléphone ------------------------------------------------------------ */
@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 40px;
  }
  .steps,
  .install-grid,
  .plans {
    grid-template-columns: 1fr;
  }
  .top nav a:not(.button) {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .button {
    transition: none;
  }
}
