/* ==========================================================
   Voxelis Music — feuille de style
   Univers : catalogue hi-fi / pochette de disque.
   Papier crème, encre noire, surligneur jaune Voxelis,
   framboise en simple témoin lumineux.
   ========================================================== */

:root {
  --paper: #efe7da;
  --paper-2: #e5dac8;
  --ink: #16110e;
  --ink-2: #241c17;
  --ink-3: #2f2520;
  --muted: #6c5f55;
  --muted-ink: #a99b8c;
  --line: rgba(22, 17, 14, 0.16);
  --line-ink: rgba(239, 231, 218, 0.14);
  --yellow: #ffee00;
  --pink: #cc3366;

  --font: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;

  --max: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-stretch: 100%;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.grain {
  position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: 0.18; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.4 0 0 0 0 0.33 0 0 0 0 0.25 0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }

h1, h2, h3 { margin: 0 0 0.5em; line-height: 0.98; letter-spacing: -0.01em; }
h1 {
  font-size: clamp(2.7rem, 5.6vw, 5.1rem);
  font-weight: 850; font-stretch: 66%;
  text-transform: uppercase; letter-spacing: -0.005em;
}
h1 em { font-style: normal; font-weight: 300; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.5rem); font-weight: 800; font-stretch: 72%; }
h3 { font-size: 1.4rem; font-weight: 750; font-stretch: 80%; line-height: 1.1; }

/* Surligneur jaune */
.hl { background: linear-gradient(transparent 58%, var(--yellow) 58%, var(--yellow) 92%, transparent 92%); padding: 0 0.08em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hl--dark { background: none; color: var(--yellow); padding: 0; }

.container { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.container--narrow { max-width: 880px; }

.mono, .tag {
  font-family: var(--mono); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
  display: inline-flex; align-items: center; gap: 0.7rem;
  margin-bottom: 1.2rem;
}
.mono::before { content: ""; width: 26px; height: 1.5px; background: currentColor; }
.tag { border: 1.5px solid var(--ink); color: var(--ink); padding: 0.35rem 0.75rem; border-radius: 3px; }
.tag__live { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: 0.25; } }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 1rem 1.7rem;
  border: 1.5px solid var(--ink); border-radius: 4px;
  background: var(--ink); color: var(--paper);
  font-family: var(--font); font-size: 0.95rem; font-weight: 700; font-stretch: 90%;
  text-transform: uppercase; letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
}
.btn:hover { background: var(--yellow); color: var(--ink); transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--yellow { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.btn--yellow:hover { background: var(--paper); border-color: var(--paper); box-shadow: 4px 4px 0 var(--yellow); }
.btn--small { padding: 0.6rem 1.1rem; font-size: 0.8rem; }
.btn--full { width: 100%; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 0.65rem; }
.logo__bars { display: flex; align-items: center; gap: 3px; height: 22px; }
.logo__bars i { width: 3.5px; background: currentColor; animation: bar 1.4s ease-in-out infinite; }
.logo__bars i:nth-child(1) { height: 45%; animation-delay: -0.2s; }
.logo__bars i:nth-child(2) { height: 100%; animation-delay: -0.6s; }
.logo__bars i:nth-child(3) { height: 65%; animation-delay: -0.9s; }
.logo__bars i:nth-child(4) { height: 30%; animation-delay: -0.4s; }
.logo__text { font-weight: 800; font-stretch: 75%; font-size: 1.25rem; letter-spacing: 0.04em; }
.logo__text b { font-weight: 300; margin-left: 0.2rem; }
@keyframes bar { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(0.4); } }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 50; border-bottom: 1.5px solid transparent; transition: background 0.3s, border-color 0.3s; }
.header.is-scrolled { background: rgba(239, 231, 218, 0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-color: var(--ink); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.nav { display: flex; align-items: center; gap: 1.3rem; }
.nav a:not(.btn) { font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; font-stretch: 85%; }
.nav a:not(.btn):hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: var(--pink); }
.nav .nav__tel { font-family: var(--mono); font-stretch: 100%; letter-spacing: 0; text-transform: none; }

.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink); transition: transform 0.3s var(--ease); }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 26px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: 140px 0 90px; position: relative; }
.hero__inner { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 4rem; align-items: center; }
.lead { font-size: 1.2rem; max-width: 38rem; margin: 1.6rem 0 2.2rem; color: var(--ink-3); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- Deck (lecteur hi-fi) ---------- */
.deck {
  background: linear-gradient(180deg, #2b211b, var(--ink) 60%);
  color: var(--paper);
  border-radius: 14px;
  padding: 1.4rem;
  box-shadow: 12px 12px 0 var(--ink), 0 30px 60px -20px rgba(22, 17, 14, 0.45);
  border: 1.5px solid var(--ink);
  position: relative;
}
.deck::before { content: ""; position: absolute; inset: 6px; border-radius: 10px; border: 1px solid rgba(239, 231, 218, 0.06); pointer-events: none; }
.deck__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1.1rem; }
.deck__brand { font-weight: 800; font-stretch: 75%; letter-spacing: 0.06em; }
.deck__brand b { font-weight: 300; margin-left: 0.15rem; }
.deck__model { font-family: var(--mono); font-size: 0.68rem; color: var(--muted-ink); letter-spacing: 0.06em; }

.deck__meters { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; margin-bottom: 1rem; }
.vu {
  position: relative; aspect-ratio: 1.7; overflow: hidden;
  border-radius: 6px;
  background: radial-gradient(120% 90% at 50% 100%, #fff4cf, #f0dfae);
  box-shadow: inset 0 0 0 2px #0b0806, inset 0 8px 18px rgba(0, 0, 0, 0.35);
}
.vu__scale {
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 118'%3E%3Cpath d='M22 104 A80 80 0 0 1 178 104' fill='none' stroke='%2316110e' stroke-width='9' stroke-dasharray='1.4 11.2'/%3E%3Cpath d='M27 104 A73 73 0 0 1 173 104' fill='none' stroke='%2316110e' stroke-width='1.2'/%3E%3Cpath d='M164 67.5 A73 73 0 0 1 173 104' fill='none' stroke='%23cc3366' stroke-width='5'/%3E%3Ctext x='100' y='86' font-family='monospace' font-size='13' text-anchor='middle' fill='%2316110e'%3EVU%3C/text%3E%3Ctext x='30' y='30' font-family='monospace' font-size='10' fill='%2316110e'%3E-20%3C/text%3E%3Ctext x='164' y='30' font-family='monospace' font-size='10' fill='%23cc3366'%3E+3%3C/text%3E%3C/svg%3E") center bottom / 100% auto no-repeat;
}
.vu__needle {
  position: absolute; left: 50%; bottom: 10%; width: 2px; height: 78%;
  background: var(--ink); transform-origin: 50% 100%; transform: rotate(-52deg);
  transition: transform 0.6s var(--ease);
}
.vu__needle::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--ink); }
.vu span { position: absolute; right: 8px; bottom: 6px; font-family: var(--mono); font-size: 0.65rem; color: var(--ink); }
.deck.is-playing .vu__needle { animation: needle 0.42s ease-in-out infinite alternate; }
.deck.is-playing .vu__needle--r { animation-duration: 0.37s; animation-delay: -0.2s; }
@keyframes needle {
  0% { transform: rotate(-22deg); }
  30% { transform: rotate(8deg); }
  55% { transform: rotate(-6deg); }
  80% { transform: rotate(24deg); }
  100% { transform: rotate(2deg); }
}

.deck__screen {
  display: grid; grid-template-columns: auto 1fr auto; gap: 0.8rem; align-items: center;
  font-family: var(--mono); font-size: 0.82rem;
  background: #0b0806; border-radius: 6px; padding: 0.75rem 0.9rem; margin-bottom: 1rem;
  color: var(--yellow); text-shadow: 0 0 8px rgba(255, 238, 0, 0.45);
  box-shadow: inset 0 0 0 1px rgba(255, 238, 0, 0.12);
}
.deck__screen strong { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.deck__state { font-size: 0.7rem; opacity: 0.8; }

.deck__controls { display: flex; align-items: center; gap: 0.8rem; }
.deck__presets { display: flex; gap: 0.4rem; flex: 1; }
.preset {
  flex: 1; position: relative;
  font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--paper); background: var(--ink-3);
  border: 1px solid rgba(239, 231, 218, 0.12); border-radius: 4px;
  padding: 0.85rem 0.3rem 0.6rem; cursor: pointer;
  box-shadow: 0 3px 0 #0b0806;
  transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
}
.preset::before { content: ""; position: absolute; top: 5px; left: 50%; margin-left: -3px; width: 6px; height: 3px; border-radius: 2px; background: #4a3d34; }
.preset.is-active::before { background: var(--yellow); box-shadow: 0 0 6px var(--yellow); }
.preset:active, .preset.is-active { transform: translateY(2px); box-shadow: 0 1px 0 #0b0806; }
.preset:hover { background: #3a2e27; }
.deck__next {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; cursor: pointer;
  background: var(--ink-3); border: 1px solid rgba(239, 231, 218, 0.15);
  box-shadow: 0 3px 0 #0b0806; transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
}
.deck__next:hover { background: #3a2e27; }
.deck__next:active { transform: translateY(2px); box-shadow: 0 1px 0 #0b0806; }
.deck__next svg { width: 18px; height: 18px; fill: var(--paper); }
.deck__play {
  width: 58px; height: 58px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; cursor: pointer;
  background: var(--yellow); border: 0;
  box-shadow: 0 4px 0 #b3a700, 0 0 0 4px rgba(255, 238, 0, 0.12);
  transition: transform 0.15s, box-shadow 0.15s;
}
.deck__play:active { transform: translateY(3px); box-shadow: 0 1px 0 #b3a700; }
.deck__play svg { width: 26px; height: 26px; fill: var(--ink); }
.deck__play .i-pause, .deck.is-playing .deck__play .i-play { display: none; }
.deck.is-playing .deck__play .i-pause { display: block; }
.deck__hint { margin: 0.9rem 0 0; font-family: var(--mono); font-size: 0.66rem; color: var(--muted-ink); text-align: center; letter-spacing: 0.05em; }

/* ---------- Formulaire express ---------- */
.quickform { background: var(--ink); color: var(--paper); padding: 2.6rem 0; }
.quickform__form { display: grid; gap: 1.4rem; }
.quickform__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 2rem; }
.quickform__head .mono { color: var(--yellow); margin-bottom: 0.6rem; }
.quickform__head h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: 0; }
.quickform__fields { display: grid; grid-template-columns: repeat(5, 1fr) auto; gap: 0.7rem; align-items: end; }
.quickform .form__legal { margin: 0.2rem 0 0; font-family: var(--mono); font-size: 0.68rem; color: var(--muted-ink); }
.form__legal a { text-decoration: underline; text-underline-offset: 2px; }
.form__status { grid-column: 1 / -1; }

/* ---------- Champs de formulaire ---------- */
.quickform label, .form label { display: grid; gap: 0.35rem; font-family: var(--mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted-ink); }
.quickform input, .quickform select, .form input, .form select {
  width: 100%; font: inherit; font-family: var(--font); font-size: 1rem; text-transform: none; letter-spacing: 0;
  color: var(--paper); background: var(--ink-2);
  border: 1px solid var(--line-ink); border-radius: 4px;
  padding: 0.85rem 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.quickform select, .form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--yellow) 50%), linear-gradient(135deg, var(--yellow) 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.2rem; }
.quickform input:focus, .quickform select:focus, .form input:focus, .form select:focus { outline: none; border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(255, 238, 0, 0.15); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
button:disabled { opacity: 0.7; cursor: wait; transform: none !important; box-shadow: none !important; }
.is-invalid { border-color: var(--pink) !important; }
.form__status { margin: 0.4rem 0 0; font-family: var(--mono); font-size: 0.8rem; color: var(--yellow); }
.form__status:empty { display: none; }

/* ---------- Sections ---------- */
.section { padding: clamp(84px, 11vw, 140px) 0; position: relative; }
.section--paper2 { background: var(--paper-2); border-block: 1.5px solid var(--ink); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink .mono { color: var(--muted-ink); }
.section__head { max-width: 820px; margin-bottom: 3.5rem; }
.section__intro { font-size: 1.15rem; color: var(--ink-3); }

/* ---------- Lieux ---------- */
.places { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.place { border-top: 3px solid var(--ink); padding-top: 1.4rem; }
.place__idx { display: block; font-size: 4.5rem; font-weight: 900; font-stretch: 62%; line-height: 0.9; color: transparent; -webkit-text-stroke: 1.5px var(--ink); margin-bottom: 1.2rem; transition: color 0.3s; }
.place:hover .place__idx { color: var(--yellow); }
.place p { color: var(--ink-3); margin: 0; }
.places__ex { margin: 2.5rem 0 0; text-transform: none; letter-spacing: 0.02em; font-size: 0.85rem; }

/* ---------- Qualité ---------- */
.quality { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 5rem; align-items: center; }
.quality__text h2 { font-size: clamp(2.4rem, 5vw, 4.2rem); text-transform: uppercase; font-stretch: 64%; font-weight: 850; }
.quality__text > p { color: var(--muted-ink); font-size: 1.12rem; }
.specs { list-style: none; padding: 0; margin: 2rem 0 0; border-top: 1px solid var(--line-ink); }
.specs li { display: grid; grid-template-columns: 120px 1fr; gap: 1rem; padding: 0.85rem 0; border-bottom: 1px solid var(--line-ink); }
.specs span { font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--yellow); padding-top: 0.2rem; }

.tracks { display: grid; gap: 1rem; }
.track { display: grid; grid-template-columns: 46% 1fr; gap: 1.3rem; align-items: center; padding: 0.8rem; border: 1px solid var(--line-ink); border-radius: 8px; background: var(--ink-2); transition: border-color 0.3s; }
.track:hover { border-color: var(--yellow); }
.track__media { border-radius: 4px; overflow: hidden; background: #000; }
.track__media video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.track__info .mono { color: var(--yellow); margin-bottom: 0.4rem; font-size: 0.68rem; }
.track__info .mono::before { display: none; }
.track__info h3 { font-size: 1.7rem; text-transform: uppercase; font-stretch: 68%; margin-bottom: 0.2rem; }
.track__info p { margin: 0; color: var(--muted-ink); font-size: 0.92rem; }

/* ---------- Calculateur ---------- */
.calc { display: grid; grid-template-columns: 1.15fr 0.85fr; border: 1.5px solid var(--ink); border-radius: 10px; overflow: hidden; background: #f6f0e6; box-shadow: 10px 10px 0 var(--ink); }
.calc__inputs { padding: 2.4rem; display: grid; gap: 1.8rem; align-content: start; }
.calc__type { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.calc__type legend { font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 0.8rem; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; }
.pill span { display: flex; flex-direction: column; gap: 0.15rem; height: 100%; padding: 0.85rem 1rem; border-radius: 6px; border: 1.5px solid var(--line); font-weight: 700; font-stretch: 85%; font-size: 1rem; transition: border-color 0.2s, background 0.2s; }
.pill__ex { display: block; margin-top: 0.45rem; font-family: var(--font); font-style: normal; font-weight: 400; font-stretch: 100%; font-size: 0.68rem; line-height: 1.35; color: var(--muted); }
.pill small { font-family: var(--mono); font-weight: 400; font-size: 0.7rem; color: var(--muted); }
.pill input:checked + span { border-color: var(--ink); background: var(--yellow); }
.pill input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }

.calc__field label { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-weight: 600; margin-bottom: 0.8rem; }
.calc__field output { font-size: 1.7rem; font-weight: 800; font-stretch: 70%; font-variant-numeric: tabular-nums; white-space: nowrap; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; background: linear-gradient(90deg, var(--ink) var(--p, 50%), rgba(22, 17, 14, 0.15) var(--p, 50%)); cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 30px; border-radius: 3px; background: var(--yellow); border: 1.5px solid var(--ink); box-shadow: 2px 2px 0 var(--ink); }
input[type="range"]::-moz-range-thumb { width: 14px; height: 28px; border-radius: 3px; background: var(--yellow); border: 1.5px solid var(--ink); }
input[type="range"]:focus-visible { outline: 2px solid var(--ink); outline-offset: 8px; }

.switch { display: flex; align-items: center; gap: 0.8rem; font-size: 0.92rem; cursor: pointer; }
.switch input { appearance: none; width: 42px; height: 24px; border-radius: 12px; background: rgba(22, 17, 14, 0.18); position: relative; cursor: pointer; transition: background 0.2s; flex-shrink: 0; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--paper); transition: transform 0.2s var(--ease); }
.switch input:checked { background: var(--ink); }
.switch input:checked::after { transform: translateX(18px); background: var(--yellow); }

.calc__result { padding: 2.4rem; background: var(--ink); color: var(--paper); display: flex; flex-direction: column; justify-content: center; }
.calc__result .mono { color: var(--muted-ink); }
.calc__total { display: flex; align-items: baseline; flex-wrap: wrap; font-size: clamp(3.4rem, 7vw, 5.4rem); font-weight: 900; font-stretch: 62%; line-height: 0.95; color: var(--yellow); margin: 0 0 0.5rem; font-variant-numeric: tabular-nums; }
.calc__detail { color: var(--muted-ink); }
.calc__detail strong { color: var(--paper); }
.calc__total small { font-size: 1rem; font-weight: 500; font-stretch: 100%; color: var(--muted-ink); margin-left: 0.5rem; letter-spacing: 0; }
.saving {
  position: relative; align-self: flex-start;
  display: flex; flex-direction: column; align-items: flex-start;
  margin: 1.4rem 0 1.8rem; padding: 1rem 1.3rem 1.1rem;
  background: var(--yellow); color: var(--ink);
  border-radius: 6px; transform: rotate(-2.5deg);
  box-shadow: 5px 5px 0 rgba(239, 231, 218, 0.18);
  animation: wobble 4s ease-in-out infinite;
}
.saving::before { content: ""; position: absolute; inset: 5px; border: 1.5px dashed rgba(22, 17, 14, 0.45); border-radius: 4px; pointer-events: none; }
.saving__kicker { font-family: var(--mono); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.1em; background: var(--ink); color: var(--yellow); padding: 0.15rem 0.5rem; border-radius: 2px; margin-bottom: 0.5rem; }
.saving__text { font-weight: 700; font-stretch: 85%; font-size: 1rem; line-height: 1.2; }
.saving__amount { font-size: clamp(2.2rem, 4vw, 2.9rem); font-weight: 900; font-stretch: 62%; line-height: 1; margin: 0.15rem 0; font-variant-numeric: tabular-nums; }
@keyframes wobble { 0%, 100% { transform: rotate(-2.5deg); } 50% { transform: rotate(-1deg) translateY(-2px); } }
.calc__note { font-size: 0.9rem; color: var(--muted-ink); margin: 0.6rem 0 1.6rem; padding-top: 1rem; border-top: 1px solid var(--line-ink); }
.calc__sources { margin-top: 1.8rem; font-family: var(--mono); font-size: 0.7rem; color: var(--muted); }

/* ---------- Arguments ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.6rem 2rem; }
.feature { border-top: 1.5px solid var(--ink); padding-top: 1.3rem; position: relative; }
.feature::before { content: ""; position: absolute; top: -1.5px; left: 0; width: 44px; height: 4px; background: var(--ink); transition: width 0.4s var(--ease), background 0.3s; }
.feature:hover::before { width: 100%; background: var(--yellow); }
.feature p { color: var(--ink-3); margin: 0; }

/* ---------- Service ---------- */
.service { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; align-items: stretch; }
.service__card { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 2.2rem 2rem; border: 1.5px solid var(--ink); border-radius: 10px; background: #f6f0e6; box-shadow: 8px 8px 0 var(--ink); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.service__card:hover { transform: translate(-3px, -3px); box-shadow: 11px 11px 0 var(--ink); }
.service__card--ink { background: var(--ink); color: var(--paper); box-shadow: 8px 8px 0 var(--yellow); }
.service__card--ink:hover { box-shadow: 11px 11px 0 var(--yellow); }
.service__idx { display: inline-block; font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.08em; padding: 0.2rem 0.55rem; border: 1.5px solid currentColor; border-radius: 3px; margin-bottom: 1.4rem; }
.service__card h3 { font-size: 1.9rem; text-transform: uppercase; font-stretch: 64%; font-weight: 850; line-height: 1; margin-bottom: 0.8rem; }
.service__card > p { color: var(--ink-3); margin-bottom: 1.4rem; }
.service__card--ink > p { color: var(--muted-ink); }
.spec { list-style: none; padding: 0; margin: 0; width: 100%; border-top: 1px solid var(--line); }
.service__card--ink .spec { border-color: var(--line-ink); }
.spec li { position: relative; padding: 0.6rem 0 0.6rem 1.6rem; border-bottom: 1px solid var(--line); font-size: 0.93rem; line-height: 1.4; }
.service__card--ink .spec li { border-color: var(--line-ink); }
.spec li::before { content: "+"; position: absolute; left: 0; top: 0.55rem; font-family: var(--mono); font-weight: 500; }
.service__card--ink .spec li::before { color: var(--yellow); }
.spec a { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--yellow); text-underline-offset: 3px; font-weight: 600; }
.week { display: flex; gap: 0.35rem; margin-top: auto; width: 100%; }
.week span { flex: 1; text-align: center; font-family: var(--mono); font-size: 0.75rem; padding: 0.55rem 0; border-radius: 3px; background: var(--ink); color: var(--yellow); }
.week .is-on { background: var(--yellow); color: var(--ink); border: 1.5px solid var(--ink); }
.week .is-off { background: transparent; color: var(--muted); border: 1.5px dashed var(--line); }

/* Encart messages (on air) */
.onair { margin-top: 2.6rem; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; padding: 2.6rem; border: 1.5px solid var(--ink); border-radius: 10px; background: var(--yellow); box-shadow: 8px 8px 0 var(--ink); }
.onair__badge { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; background: var(--ink); color: var(--paper); padding: 0.35rem 0.75rem; border-radius: 3px; margin-bottom: 1.3rem; }
.onair__light { width: 9px; height: 9px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 10px var(--pink); animation: blink 1.2s infinite; }
.onair h3 { font-size: clamp(2rem, 3.6vw, 2.9rem); text-transform: uppercase; font-stretch: 62%; font-weight: 900; line-height: 0.98; margin-bottom: 1.3rem; }
.onair__list { list-style: none; padding: 0; margin: 0; border-top: 1.5px solid var(--ink); }
.onair__list li { position: relative; padding: 0.75rem 0 0.75rem 1.7rem; border-bottom: 1px solid rgba(22, 17, 14, 0.25); line-height: 1.45; }
.onair__list li::before { content: "▶"; position: absolute; left: 0; top: 0.85rem; font-size: 0.7rem; }
.onair__side { display: grid; gap: 1.2rem; }
.onair__photo { position: relative; margin: 0; border: 1.5px solid var(--ink); border-radius: 8px; overflow: hidden; background: var(--ink); }
.onair__photo img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 42%; }
.onair__photo figcaption { position: absolute; left: 0.8rem; bottom: 0.8rem; font-family: var(--mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; background: var(--yellow); color: var(--ink); padding: 0.3rem 0.6rem; border-radius: 3px; }
.onair__demo { background: var(--ink); color: var(--paper); border-radius: 8px; padding: 1.6rem; box-shadow: inset 0 0 0 1px rgba(255, 238, 0, 0.2); }
.onair__label { font-family: var(--mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted-ink); margin-bottom: 0.9rem; }
.timeline { position: relative; height: 54px; border-radius: 4px; overflow: hidden; background: repeating-linear-gradient(90deg, #3a2e27 0 6px, #2f2520 6px 9px); }
.timeline__spot { position: absolute; top: 0; bottom: 0; width: 3.2%; background: var(--yellow); display: grid; place-items: center; transition: left 0.5s var(--ease); }
.timeline__spot::after { content: "SPOT"; font-family: var(--mono); font-size: 0.5rem; color: var(--ink); writing-mode: vertical-rl; transform: rotate(180deg); letter-spacing: 0.1em; }
.timeline__scale { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 0.65rem; color: var(--muted-ink); margin: 0.4rem 0 1.3rem; }
.freq { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; font-size: 0.88rem; }
.freq span { margin-right: 0.3rem; color: var(--muted-ink); }
.freq__btn { font-family: var(--mono); font-size: 0.75rem; padding: 0.45rem 0.7rem; border-radius: 3px; border: 1px solid rgba(239, 231, 218, 0.25); background: transparent; color: var(--paper); cursor: pointer; transition: background 0.2s, color 0.2s; }
.freq__btn:hover { border-color: var(--yellow); }
.freq__btn.is-active { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }

/* ---------- Réseaux ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.split__text > p:not(.mono) { color: var(--muted-ink); font-size: 1.1rem; }
.list { list-style: none; padding: 0; margin: 1.6rem 0; border-top: 1px solid var(--line-ink); }
.list li { padding: 0.8rem 0 0.8rem 1.8rem; border-bottom: 1px solid var(--line-ink); position: relative; }
.list li::before { content: "→"; position: absolute; left: 0; color: var(--yellow); font-family: var(--mono); }
.split__mono { font-family: var(--mono); font-size: 0.85rem; color: var(--yellow) !important; margin: 1.4rem 0 2rem; }

.network { position: relative; aspect-ratio: 1; max-width: 460px; margin-inline: auto; }
.network::before, .network::after { content: ""; position: absolute; border-radius: 50%; border: 1px dashed var(--line-ink); }
.network::before { inset: 8%; }
.network::after { inset: 28%; animation: spin 50s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.network__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.network__lines path { fill: none; stroke: var(--yellow); stroke-width: 1; stroke-dasharray: 3 7; opacity: 0.7; animation: flow 2.5s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -20; } }
.network__hub { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); color: var(--ink); box-shadow: 0 0 0 10px rgba(255, 238, 0, 0.1), 0 0 0 22px rgba(255, 238, 0, 0.05); z-index: 1; }
.network__hub .logo__bars { height: 34px; gap: 4px; }
.network__hub .logo__bars i { width: 5px; }
.network__node { position: absolute; z-index: 1; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.45rem 0.85rem; border-radius: 3px; background: var(--ink); border: 1px solid rgba(239, 231, 218, 0.4); font-family: var(--mono); font-size: 0.78rem; white-space: nowrap; }
.network__node i { width: 7px; height: 7px; border-radius: 50%; background: #6bd18f; animation: blink 2.4s infinite; }
.n1 { left: 20%; top: 17.5%; }
.n2 { left: 82.5%; top: 21%; }
.n3 { left: 15%; top: 62.5%; }
.n4 { left: 82.5%; top: 75%; }
.n5 { left: 42.5%; top: 89%; }
.n6 { left: 52.5%; top: 10%; }
.n2 i { animation-delay: -0.6s; } .n3 i { animation-delay: -1.1s; } .n4 i { animation-delay: -1.7s; } .n5 i { animation-delay: -0.3s; } .n6 i { animation-delay: -2s; }

/* ---------- Tarifs ---------- */
.pricing { display: grid; grid-template-columns: 1.2fr 0.8fr; border: 1.5px solid var(--ink); border-radius: 10px; overflow: hidden; background: #f6f0e6; box-shadow: 10px 10px 0 var(--ink); }
.pricing__inputs { padding: 2.4rem; display: grid; gap: 1.8rem; align-content: start; }
.tiers { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.tier { display: flex; flex-direction: column; gap: 0.2rem; padding: 0.9rem 1rem; border: 1.5px solid var(--line); border-radius: 6px; transition: background 0.25s, border-color 0.25s; }
.tier__range { font-family: var(--mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.tier strong { font-size: 1.5rem; font-weight: 850; font-stretch: 66%; line-height: 1.05; }
.tier.is-active { background: var(--yellow); border-color: var(--ink); }
.tier.is-active .tier__range { color: var(--ink); }
.carefree { border: 1.5px solid var(--ink); border-radius: 8px; padding: 1.4rem 1.5rem; background: var(--paper); position: relative; }
.carefree__title { font-size: 1.7rem; font-weight: 900; font-stretch: 62%; text-transform: uppercase; line-height: 1; margin-bottom: 1.1rem; }
.carefree__title span { background: linear-gradient(transparent 55%, var(--yellow) 55%, var(--yellow) 92%, transparent 92%); }
.carefree__foot { margin: 1.1rem 0 0; padding-top: 0.9rem; border-top: 1px dashed var(--line); font-family: var(--mono); font-size: 0.78rem; color: var(--muted); }
.section__intro strong { background: linear-gradient(transparent 60%, var(--yellow) 60%, var(--yellow) 92%, transparent 92%); font-weight: 600; }
.pricing__incl { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 1.5rem; }
.pricing__incl li { position: relative; padding-left: 1.5rem; font-size: 0.93rem; }
.pricing__incl li::before { content: "✓"; position: absolute; left: 0; font-weight: 700; }
.pricing__result { padding: 2.4rem; background: var(--ink); color: var(--paper); display: flex; flex-direction: column; justify-content: center; }
.pricing__result .mono { color: var(--muted-ink); }
.pricing__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 0.6rem; }
.pricing__price span { font-size: clamp(3.6rem, 7.5vw, 6rem); font-weight: 900; font-stretch: 62%; line-height: 0.95; color: var(--yellow); font-variant-numeric: tabular-nums; }
.pricing__price small { font-family: var(--mono); font-size: 0.8rem; color: var(--muted-ink); text-transform: uppercase; letter-spacing: 0.06em; }
.pricing__total { color: var(--muted-ink); margin-bottom: 1.8rem; min-height: 1.6em; }

/* ---------- Étapes ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.step { border-left: 1.5px solid var(--ink); padding-left: 1.4rem; }
.step__num { display: block; font-size: 3.6rem; font-weight: 900; font-stretch: 62%; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--ink); margin-bottom: 1rem; }
.step p { color: var(--ink-3); margin: 0; }

/* Schéma d'installation */
.install { margin: 4.5rem 0 0; display: grid; grid-template-columns: 1.6fr 0.6fr; gap: 3rem; align-items: end; }
.install__art { position: relative; }
.install__art img { width: 100%; height: auto; }
.install__cables { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.cable { fill: none; stroke-width: 6; stroke-linecap: round; stroke-dasharray: 2 22; animation: signal 1.4s linear infinite; }
.cable--jack { stroke: var(--pink); }
.cable--net { stroke: var(--yellow); }
@keyframes signal { to { stroke-dashoffset: -48; } }
.install__tag { position: absolute; transform: translate(-50%, -50%); font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap; background: var(--paper); border: 1.5px solid var(--ink); padding: 0.3rem 0.6rem; border-radius: 3px; }
.install__tag--main { background: var(--yellow); font-weight: 500; }
.t-sono { left: 68%; top: 33%; }
.t-jack { left: 22%; top: 83%; }
.t-net { left: 84%; top: 62%; }
.t-player { left: 63%; top: 101%; }
.install__caption { font-size: 1.05rem; color: var(--ink-3); border-left: 3px solid var(--yellow); padding-left: 1.2rem; }
.install__caption strong { display: block; font-size: 1.9rem; font-weight: 900; font-stretch: 62%; text-transform: uppercase; line-height: 1; color: var(--ink); margin-bottom: 0.6rem; }

/* ---------- Cadre légal ---------- */
.legal { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.legal__col { padding: 2rem; border: 1.5px solid var(--ink); border-radius: 8px; background: var(--paper); }
.legal__col h3 { display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap; font-size: 1.8rem; text-transform: uppercase; font-stretch: 66%; }
.legal__col p { color: var(--ink-3); margin: 0; }
.badge { font-family: var(--mono); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.3rem 0.6rem; border-radius: 3px; border: 1.5px solid var(--ink); }
.badge--yes { background: var(--yellow); }
.legal__note { margin-top: 1.4rem; font-size: 0.95rem; color: var(--ink-3); text-align: center; }

/* ---------- FAQ ---------- */
.faq { border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1.5px solid var(--ink); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.35rem 0; font-size: 1.3rem; font-weight: 750; font-stretch: 80%; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-size: 1.4rem; width: 34px; height: 34px; flex-shrink: 0; display: grid; place-items: center; border: 1.5px solid var(--ink); border-radius: 50%; transition: transform 0.3s var(--ease), background 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--yellow); }
.faq details p { color: var(--ink-3); padding-bottom: 1.5rem; margin: 0; max-width: 740px; }
.faq a { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--yellow); text-underline-offset: 3px; }

/* ---------- CTA final ---------- */
.cta-final__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.cta-final__text h2 { font-size: clamp(2.4rem, 4.8vw, 4rem); text-transform: uppercase; font-stretch: 64%; font-weight: 850; }
.cta-final__text > p:not(.mono) { color: var(--muted-ink); font-size: 1.1rem; }
.contact__info { list-style: none; padding: 0; margin: 2rem 0 0; border-top: 1px solid var(--line-ink); }
.contact__info li { display: flex; align-items: baseline; gap: 1.5rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line-ink); }
.contact__info span { width: 90px; font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted-ink); }
.contact__info a { font-size: 1.6rem; font-weight: 800; font-stretch: 70%; font-variant-numeric: tabular-nums; }
.contact__info a:hover { color: var(--yellow); }
.form { display: grid; gap: 1rem; padding: 2rem; border: 1px solid var(--line-ink); border-radius: 10px; background: var(--ink-2); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ---------- Footer ---------- */
.footer { padding: 4rem 0 1.6rem; border-top: 1.5px solid var(--ink); background: var(--paper-2); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 2.5rem; }
.footer__brand p { margin: 1rem 0 0; color: var(--ink-3); font-size: 0.95rem; max-width: 22rem; }
.footer__contact { font-family: var(--mono); font-size: 0.78rem !important; }
.footer__contact a { font-weight: 500; }
.footer__col { display: flex; flex-direction: column; gap: 0.55rem; font-size: 0.95rem; }
.footer__title { font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin: 0 0 0.4rem; }
.footer__col a:hover, .footer__contact a:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.footer__all { font-weight: 700; margin-top: 0.3rem; }
.footer__bottom { margin-top: 3rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.footer__bottom p { margin: 0; font-family: var(--mono); font-size: 0.72rem; color: var(--muted); }

/* ---------- Guides (accueil) ---------- */
.guides { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.4rem; }
.guide { display: flex; flex-direction: column; gap: 0.6rem; padding: 1.8rem; border: 1.5px solid var(--ink); border-radius: 10px; background: #f6f0e6; box-shadow: 6px 6px 0 var(--ink); transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.guide:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink); }
.guide .mono { margin: 0; }
.guide h3 { font-size: 1.7rem; text-transform: uppercase; font-stretch: 64%; font-weight: 850; margin: 0; }
.guide p { color: var(--ink-3); margin: 0; flex: 1; }
.blog-list { padding-top: 1rem; }
.blog-list__title { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 1.6rem; }
.guides__all { margin-top: 2rem; }
.guide__date { font-family: var(--mono); font-size: 0.7rem; color: var(--muted); }
.guide__more { font-weight: 700; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 4px; }

/* ---------- Pages guides ---------- */
.article-hero { padding: 130px 0 40px; }
.crumbs { font-family: var(--mono); font-size: 0.75rem; color: var(--muted); margin-bottom: 1.4rem; }
.crumbs a { text-decoration: underline; text-underline-offset: 3px; }
.crumbs span { margin: 0 0.4rem; }
.article-title { font-size: clamp(2.3rem, 5vw, 4.2rem); margin-top: 1rem; }
.article-meta { font-family: var(--mono); font-size: 0.75rem; color: var(--muted); }
.article { padding: 0 0 clamp(60px, 8vw, 100px); }
.article h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 2.8rem 0 1rem; }
.article p, .article li { font-size: 1.08rem; color: var(--ink-3); }
.article ul { padding-left: 1.2rem; }
.article li { margin-bottom: 0.6rem; }
.article a:not(.btn) { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.answer { border: 1.5px solid var(--ink); border-left: 8px solid var(--yellow); border-radius: 8px; background: #f6f0e6; padding: 1.4rem 1.6rem; }
.answer .mono { margin-bottom: 0.6rem; }
.answer p:last-child { margin: 0; font-size: 1.15rem; color: var(--ink); }
.table-wrap { overflow-x: auto; border: 1.5px solid var(--ink); border-radius: 8px; margin: 1rem 0 0.6rem; }
.article table { width: 100%; border-collapse: collapse; font-size: 0.95rem; background: #f6f0e6; }
.article th { background: var(--ink); color: var(--paper); font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; text-align: left; padding: 0.7rem 0.9rem; }
.article td { padding: 0.6rem 0.9rem; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; white-space: nowrap; }
.article td:nth-child(2), .article td:nth-child(4) { font-weight: 700; }
.article td:nth-child(3), .article th:nth-child(3) { border-left: 1.5px solid var(--ink); }
.source { font-family: var(--mono); font-size: 0.72rem !important; color: var(--muted) !important; }
.examples { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0.8rem; margin: 1rem 0 1.4rem; }
.example { display: flex; flex-direction: column; gap: 0.4rem; padding: 1rem 1.1rem; border: 1.5px solid var(--ink); border-radius: 8px; background: #f6f0e6; }
.example .mono { margin: 0; font-size: 0.68rem; }
.example .mono::before { display: none; }
.example strong { font-size: 1.8rem; font-weight: 900; font-stretch: 62%; line-height: 1; }
.example--dark { background: var(--ink); color: var(--paper); }
.example--dark strong { color: var(--yellow); }
.example--dark .mono { color: var(--muted-ink); }
.related { margin-top: 3rem; padding-top: 1.4rem; border-top: 1.5px solid var(--ink); }
.related ul { list-style: none; padding: 0; }
.related li a { font-weight: 700; }

/* ---------- Apparition ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .nav .nav__tel { display: none; }
}

@media (max-width: 1100px) {
  .hero__inner { grid-template-columns: 1fr; gap: 3.5rem; }
  .deck { max-width: 460px; }
  .quickform__form { grid-template-columns: 1fr; gap: 1.4rem; }
  .quickform__fields { grid-template-columns: repeat(3, 1fr); }
  .places { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
  .quality { grid-template-columns: 1fr; gap: 3rem; }
  .calc { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .service { grid-template-columns: 1fr; max-width: 640px; }
  .onair { grid-template-columns: 1fr; gap: 2rem; }
  .install { grid-template-columns: 1fr; gap: 2.4rem; }
  .split { grid-template-columns: 1fr; gap: 3rem; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
  .cta-final__inner { grid-template-columns: 1fr; gap: 3rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1000px) {
  .nav-toggle { display: block; z-index: 2; }
  .nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 1.5rem;
    background: var(--paper);
    opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav { height: 100vh; height: 100dvh; overflow-y: auto; padding: 90px 16px 40px; justify-content: safe center; }
  /* le flou de l'en-tête enfermerait le menu plein écran dans la barre : on le coupe quand le menu est ouvert */
  .header.menu-open { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--paper); }
  .nav a:not(.btn) { font-size: 2rem; font-weight: 800; font-stretch: 70%; }
  .nav .nav__tel { display: block; font-size: 1.1rem !important; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .hero { padding: 110px 0 70px; }
  .deck { box-shadow: 6px 6px 0 var(--ink); }
  .deck__controls { flex-wrap: wrap; }
  .deck__presets { flex-basis: 100%; }
  .preset { min-width: 0; }
  .deck__next { margin-left: auto; }
  .quickform__fields { grid-template-columns: 1fr; }
  .places, .features, .legal, .steps { grid-template-columns: 1fr; }
  .track { grid-template-columns: 1fr; }
  .calc { box-shadow: 6px 6px 0 var(--ink); }
  .calc__inputs, .calc__result { padding: 1.5rem; }
  .calc__type { grid-template-columns: 1fr; }
  .pricing { box-shadow: 6px 6px 0 var(--ink); }
  .pricing__inputs, .pricing__result { padding: 1.5rem; }
  .tiers, .pricing__incl { grid-template-columns: 1fr; }
  .form { padding: 1.4rem; }
  .form__row { grid-template-columns: 1fr; }
  .network { width: 86%; }
  .network__node { font-size: 0.66rem; padding: 0.35rem 0.6rem; }
  .network__hub { width: 74px; height: 74px; }
  .specs li { grid-template-columns: 1fr; gap: 0.2rem; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .onair { padding: 1.5rem; box-shadow: 6px 6px 0 var(--ink); }
  .install__tag { font-size: 0.56rem; padding: 0.2rem 0.4rem; }
  .cable { stroke-width: 12; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
