.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.85rem 1.6rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius-md);
  transition: transform var(--transition-base), box-shadow var(--transition-base),
              background var(--transition-base), border-color var(--transition-base),
              color var(--transition-base);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  font-family: var(--font-display);
  cursor: pointer;
}

.btn:focus-visible {
  outline: 2px solid var(--neon-blue);
  outline-offset: 3px;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.btn:hover::before { opacity: 1; }

.btn--primary {
  background: var(--accent-gradient);
  color: var(--text-dark);
  border: none;
  box-shadow: 0 6px 20px rgba(0, 150, 255, 0.25);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(0, 170, 255, 0.4), var(--glow-blue);
}

.btn--secondary {
  background: rgba(0, 200, 255, 0.06);
  color: var(--neon-blue);
  border: 1px solid rgba(0, 200, 255, 0.45);
}

.btn--secondary:hover {
  background: var(--neon-blue);
  color: var(--text-dark);
  box-shadow: var(--glow-blue);
  transform: translateY(-2px);
}

.btn--outline-light {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
}

.btn--outline-light:hover {
  border-color: var(--neon-blue);
  color: var(--neon-blue);
  transform: translateY(-2px);
}

.btn--lg { padding: 1.05rem 2.1rem; font-size: var(--fs-base); }
.btn--sm { padding: 0.55rem 1.1rem; font-size: var(--fs-xs); }

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  height: var(--header-height);
  transition: all var(--transition-base);
}

.header--scrolled {
  background: rgba(10, 10, 15, 0.95);
  border-bottom-color: rgba(0, 200, 255, 0.1);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.header__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  position: relative;
}

.header__logo::after {
  content: '';
  position: absolute;
  left: -6px;
  top: 50%;
  width: 40px;
  height: 40px;
  transform: translateY(-50%);
  background: var(--neon-blue-dim);
  filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.header__logo:hover::after { opacity: 1; }

.logo__mark {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  color: var(--neon-blue);
  transition: color var(--transition-base), transform var(--transition-base);
}

.logo__word {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--text-primary);
}

.logo__word-accent {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header__logo:hover .logo__mark {
  color: var(--neon-blue-soft);
  transform: rotate(-4deg) scale(1.04);
}

@media (max-width: 480px) {
  .logo__mark { width: 27px; height: 27px; }
  .logo__word { font-size: 1.2rem; }
}

.nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav__link {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-muted);
  padding: var(--space-xs) 0;
  position: relative;
  transition: color var(--transition-fast);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--neon-blue);
  transition: width var(--transition-base);
  box-shadow: var(--glow-blue);
}

.nav__link:hover,
.nav__link[aria-current="page"] {
  color: var(--neon-blue);
}

.nav__link:hover::after,
.nav__link[aria-current="page"]::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--neon-blue);
  position: relative;
  z-index: 2;
}

.nav-toggle__bar {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
  transition: all var(--transition-base);
}

.nav-toggle__bar::before,
.nav-toggle__bar::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: all var(--transition-base);
}

.nav-toggle__bar::before { top: -7px; }
.nav-toggle__bar::after { top: 7px; }
.nav-toggle--active .nav-toggle__bar { background: transparent; }
.nav-toggle--active .nav-toggle__bar::before { top: 0; transform: rotate(45deg); }
.nav-toggle--active .nav-toggle__bar::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(16px);
    padding: var(--space-xl);
    border-bottom: 1px solid var(--border-glass);
    transform: translateY(-110%);
    opacity: 0;
    transition: all var(--transition-base);
    pointer-events: none;
  }

  .nav--open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav__list {
    flex-direction: column;
    gap: var(--space-md);
  }

  .nav__link { font-size: var(--fs-lg); padding: var(--space-sm) 0; }
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

#particles-canvas {
  position: absolute;
  inset: 0;
  z-index: var(--z-bg);
  pointer-events: none;
}

.hero__grid-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  transform: perspective(800px) rotateX(15deg);
  transform-origin: bottom;
  animation: grid-scroll 20s linear infinite;
  opacity: 0.5;
}

@keyframes grid-scroll {
  0% { transform: perspective(800px) rotateX(15deg) translateY(0); }
  100% { transform: perspective(800px) rotateX(15deg) translateY(60px); }
}

.hero__vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(ellipse at center, transparent 40%, var(--bg-deep) 100%);
}

.hero__content {
  position: relative;
  z-index: var(--z-content);
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: var(--space-2xl);
  align-items: center;
  min-height: calc(100vh - var(--header-height));
  padding-top: var(--header-height);
}

.hero__text-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero__watermark {
  display: inline-flex;
  align-items: center;
  gap: 0.1em;
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  background: rgba(0, 200, 255, 0.05);
  margin-bottom: var(--space-lg);
  opacity: 0;
  animation: tagline-reveal 0.6s 0.2s forwards;
  white-space: nowrap;
}

.hero__watermark .tc {
  color: var(--neon-blue);
  text-shadow: 0 0 20px var(--neon-blue-dim);
}

.hero__watermark .s {
  color: var(--neon-violet);
  text-shadow: 0 0 20px var(--neon-violet-dim);
}

.hero__watermark-sep {
  color: var(--text-faint);
  margin: 0 0.1em;
}

.hero__watermark-text {
  color: var(--text-body);
  font-weight: 600;
}

.hero__tagline {
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: var(--tracking-tight);
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  opacity: 0;
  transform: translateY(20px);
  animation: tagline-reveal 0.8s 0.5s forwards;
}

.hero__subtitle {
  font-size: var(--fs-lg);
  line-height: var(--leading-normal);
  color: var(--text-body);
  max-width: 34ch;
  margin-bottom: var(--space-md);
  opacity: 0;
  transform: translateY(20px);
  animation: tagline-reveal 0.8s 0.7s forwards;
}

.hero__tagline strong {
  display: block;
  background: linear-gradient(120deg, var(--text-primary) 30%, var(--neon-blue-soft));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding-bottom: 0.08em;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  opacity: 0;
  transform: translateY(30px);
  animation: cta-reveal 0.8s 0.9s forwards;
}

.hero__image-col {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero__pc-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 100%;
  opacity: 0;
  transform: translateY(80px) scale(0.95);
  filter: brightness(0.6) blur(3px);
  animation: ascent-neon 1.4s 0.3s forwards;
  box-shadow:
    0 0 15px var(--neon-blue-dim),
    0 0 30px var(--neon-blue-dim),
    inset 0 0 20px rgba(0, 200, 255, 0.05);
  border: 1px solid rgba(0, 200, 255, 0.2);
}

.hero__pc-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(
    135deg,
    rgba(0, 200, 255, 0.1) 0%,
    transparent 40%,
    transparent 60%,
    rgba(123, 47, 255, 0.1) 100%
  );
  pointer-events: none;
  z-index: 2;
}

/* Ne surtout pas relancer ascent-neon ici : au survol, l'image repartait
   a l'opacite zero avant de revenir en fondu, ce qui ressemble beaucoup
   a une image qui ne charge pas. */
.hero__pc-frame:hover {
  box-shadow:
    0 0 25px var(--neon-blue-dim),
    0 0 50px var(--neon-blue-dim),
    inset 0 0 25px rgba(0, 200, 255, 0.1);
}

.hero__pc-image {
  width: 100%;
  height: auto;
  max-height: 65vh;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-lg);
  transition: transform 0.4s ease;
}

.hero__pc-frame:hover .hero__pc-image {
  transform: scale(1.03);
}

.hero__pc-frame::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius-lg) + 2px);
  z-index: -1;
  background: linear-gradient(
    135deg,
    var(--neon-blue),
    transparent 40%,
    transparent 60%,
    var(--neon-violet)
  );
  opacity: 0;
  transition: opacity var(--transition-base);
}

.hero__pc-frame:hover::before {
  opacity: 0.6;
}

@media (max-width: 768px) {
  .hero__content {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    text-align: center;
    padding-top: calc(var(--header-height) + var(--space-lg));
  }

  .hero__text-col {
    align-items: center;
    order: 2;
  }

  .hero__image-col {
    order: 1;
  }

  .hero__pc-frame {
    width: 100%;
  }

  .hero__pc-image {
    width: 100%;
    height: 38vh;
    max-height: none;
    object-fit: cover;
  }

  .hero__watermark {
    font-size: var(--fs-xl);
  }

  .hero__tagline {
    max-width: 18ch;
  }

  .hero__subtitle {
    max-width: 44ch;
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__actions .btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .hero__pc-image { height: 32vh; }

  .hero__content {
    gap: var(--space-lg);
  }
}

.hero__scanline {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
  opacity: 0.5;
  animation: scanline-move 3s linear infinite;
  z-index: 3;
  pointer-events: none;
}

@keyframes scanline-move {
  0% { top: 0; opacity: 0; }
  10% { opacity: 0.5; }
  90% { opacity: 0.5; }
  100% { top: 100%; opacity: 0; }
}

.hero__scroll-indicator {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: var(--z-content);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-muted);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  pointer-events: none;
  animation: cta-reveal 0.8s 1.5s forwards;
  opacity: 0;
}

/* Sur mobile la colonne de texte descend jusqu'en bas du heros :
   l'indicateur venait se superposer aux boutons. */
@media (max-width: 768px) {
  .hero__scroll-indicator { display: none; }
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--neon-blue), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

@media (max-width: 640px) {
  .hero__logo-text { font-size: var(--fs-2xl); }
  .hero__subtitle { font-size: var(--fs-base); }
  .hero__actions { flex-direction: column; align-items: center; }
  .hero__actions .btn { width: 100%; max-width: 280px; }
}

/* ===== CONFIG CARDS ===== */
.config-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  position: relative;
  display: flex;
  flex-direction: column;
}

.config-card:hover {
  border-color: rgba(0, 200, 255, 0.3);
  transform: translateY(-6px);
  box-shadow: var(--glow-blue);
}

.config-card__badge {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 2;
}

.config-card__badge--available {
  background: rgba(0, 200, 255, 0.15);
  color: var(--neon-blue);
  border: 1px solid rgba(0, 200, 255, 0.3);
}

.config-card__badge--order {
  background: rgba(123, 47, 255, 0.15);
  color: var(--neon-violet);
  border: 1px solid rgba(123, 47, 255, 0.3);
}

.config-card__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 1px solid var(--border-glass);
}

.config-card__body {
  padding: var(--space-xl);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.config-card__name {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-xs);
  color: var(--text-primary);
  padding-bottom: 2px;
}

.config-card__desc {
  color: var(--text-body);
  font-size: var(--fs-sm);
  line-height: var(--leading-normal);
  margin-bottom: var(--space-lg);
  /* Hauteur reservee pour trois lignes : sans elle, une description plus
     longue decale le tableau de specs d une carte par rapport aux
     autres, et l oeil le voit tout de suite. */
  min-height: calc(3 * var(--fs-sm) * var(--leading-normal));
}

@media (max-width: 640px) {
  .config-card__desc { min-height: 0; }
}

.config-card__specs {
  margin-bottom: var(--space-lg);
  flex: 1;
}

.config-card__spec {
  display: flex;
  justify-content: space-between;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: var(--fs-sm);
}

.config-card__spec:last-child { border-bottom: none; }

.config-card__spec-label { color: var(--text-muted); }
.config-card__spec-value { color: var(--text-primary); font-weight: 500; }

.config-card__price {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  color: var(--text-primary);
  white-space: nowrap;
  margin-bottom: var(--space-md);
}

.config-card__price-sub {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0;
  white-space: normal;
}

.config-card .btn { width: 100%; }

/* ===== FORM ===== */
.form {
  max-width: 700px;
  margin: 0 auto;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
}

.form__group { margin-bottom: var(--space-xl); }

.form__label {
  display: block;
  font-weight: 500;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
  font-size: var(--fs-sm);
}

.form__label--inline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  cursor: pointer;
  font-weight: 400;
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: var(--space-md);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--neon-blue);
  box-shadow: 0 0 0 3px var(--neon-blue-dim);
}

.form__textarea { min-height: 120px; resize: vertical; }

.form__select option { background: var(--bg-deep); color: var(--text-primary); }

.form__error {
  color: #ff4466;
  font-size: var(--fs-sm);
  margin-top: var(--space-xs);
  display: none;
}

.form__input--error { border-color: #ff4466; }
.form__input--error ~ .form__error { display: block; }

.form__budget-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  outline: none;
}

.form__budget-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--neon-blue);
  cursor: pointer;
  box-shadow: 0 0 12px var(--neon-blue-dim);
}

.form__budget-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--neon-blue);
  cursor: pointer;
  border: none;
}

.form__budget-value {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  color: var(--neon-blue);
  font-weight: 600;
  margin-top: var(--space-sm);
}

.form__checkbox-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
}

@media (max-width: 640px) {
  .form__checkbox-group { grid-template-columns: 1fr; }
}

.form__checkbox {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: var(--fs-sm);
}

.form__checkbox:hover {
  border-color: var(--neon-blue-dim);
  background: rgba(0, 200, 255, 0.05);
}

.form__checkbox input:checked + span {
  color: var(--neon-blue);
}

.form__checkbox:has(input:checked) {
  border-color: var(--neon-blue);
  background: rgba(0, 200, 255, 0.08);
}

.form__checkbox input[type="checkbox"] {
  accent-color: var(--neon-blue);
}

.form__submit {
  width: 100%;
  position: relative;
}

.form__submit--loading .btn__text { opacity: 0; }
.form__submit--loading .btn__spinner { display: block; }

.btn__spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: var(--text-dark);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  position: absolute;
}

@keyframes spin { to { transform: rotate(360deg); } }

.form__success {
  display: none;
  text-align: center;
  padding: var(--space-3xl) var(--space-2xl);
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--neon-blue-dim);
}

.form__success--visible { display: block; }

.form__success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-lg);
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-violet));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--text-dark);
}

/* ===== ABOUT ===== */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.about__image img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.about__image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  box-shadow: inset 0 0 60px var(--neon-blue-dim);
  pointer-events: none;
}

.about__values {
  display: grid;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.value-item {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.value-item:hover {
  border-color: rgba(0, 200, 255, 0.2);
  transform: translateX(4px);
}

.value-item__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-md);
  background: rgba(0, 200, 255, 0.08);
  border: 1px solid var(--border-glass);
  color: var(--neon-blue);
}

.value-item__icon svg { width: 22px; height: 22px; }

.value-item__title {
  font-family: var(--font-display);
  font-size: var(--fs-base);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-xs);
}

.value-item__text {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .about__grid { grid-template-columns: 1fr; }
}

/* ===== TIMELINE ===== */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--neon-blue), var(--neon-violet));
}

.timeline__item {
  position: relative;
  padding-left: 56px;
  padding-bottom: var(--space-2xl);
}

.timeline__item:last-child { padding-bottom: 0; }

.timeline__dot {
  position: absolute;
  left: 12px;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--neon-blue);
  border: 3px solid var(--bg-deep);
  box-shadow: 0 0 12px var(--neon-blue-dim);
}

.timeline__title {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.timeline__text {
  color: var(--text-muted);
  margin-bottom: 0;
  font-size: var(--fs-sm);
}

/* ===== CONTACT INFO ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
}

.contact-info__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
}

.contact-item__icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-md);
  background: rgba(0, 200, 255, 0.08);
  border: 1px solid var(--border-glass);
  color: var(--neon-blue);
}

.contact-item__icon svg { width: 22px; height: 22px; }

.contact-item__title {
  font-size: var(--fs-base);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-xs);
}

.contact-item__value {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  margin-bottom: 0;
}

.contact-item__value a { color: var(--neon-blue); }

.social-links {
  display: flex;
  gap: var(--space-md);
}

.social-link {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  color: var(--text-muted);
}

.social-link:hover {
  background: rgba(0, 200, 255, 0.1);
  border-color: var(--neon-blue);
  color: var(--neon-blue);
  transform: translateY(-2px);
  box-shadow: var(--glow-blue);
}

/* ===== FOOTER ===== */
.footer {
  background: rgba(10, 10, 15, 0.9);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: var(--space-md);
}

.footer__brand .logo__mark { width: 27px; height: 27px; }
.footer__brand .logo__word { font-size: 1.2rem; }



.footer__text {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  margin-bottom: var(--space-lg);
}

.footer__title {
  font-family: var(--font-display);
  font-size: var(--fs-base);
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__link {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  transition: color var(--transition-fast);
}

.footer__link:hover { color: var(--neon-blue); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
  .footer__bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 640px) {
  .footer__grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

/* ===== ERROR PAGE ===== */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-4xl) var(--space-lg);
}

.error-page__code {
  font-family: var(--font-display);
  font-size: clamp(6rem, 20vw, 12rem);
  line-height: 1;
  font-weight: 700;
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-md);
}

.error-page__text {
  color: var(--text-muted);
  font-size: var(--fs-lg);
  margin-bottom: var(--space-xl);
}
/* --- Mentions RGPD et consentement dans les formulaires --- */
.form__legal {
  margin: var(--space-sm) 0 var(--space-md);
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.form__legal a {
  color: var(--neon-blue);
  text-decoration: underline;
}

.form__checkbox--consent {
  align-items: flex-start;
  line-height: 1.5;
}

.form__group--error .form__checkbox--consent {
  border-color: #ff4466;
}

.form__group--error .form__error {
  display: block;
}


/* =====================================================================
   FINITION — cartes de fonctionnalités, icônes, détails d'interface
   ===================================================================== */

.feature-grid {
  gap: var(--space-lg);
}

.feature-card {
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  text-align: left;
}

.feature-card__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-md);
  background: rgba(0, 200, 255, 0.08);
  border: 1px solid var(--border-glass);
  color: var(--neon-blue);
  transition: background var(--transition-base), color var(--transition-base),
              border-color var(--transition-base);
}

.feature-card__icon svg { width: 23px; height: 23px; }

.feature-card:hover .feature-card__icon {
  background: rgba(0, 200, 255, 0.16);
  border-color: rgba(0, 200, 255, 0.4);
}

.feature-card__title {
  font-size: var(--fs-lg);
  font-weight: 600;
  letter-spacing: var(--tracking-tight);
  margin: 0;
}

.feature-card__text {
  color: var(--text-body);
  font-size: var(--fs-sm);
  line-height: var(--leading-normal);
  margin: 0;
}

.timeline__icon {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-right: var(--space-sm);
  vertical-align: -0.45em;
  border-radius: var(--radius-sm);
  background: rgba(0, 200, 255, 0.08);
  border: 1px solid var(--border-glass);
  color: var(--neon-blue);
}

.timeline__icon svg { width: 17px; height: 17px; }

/* --- Lisibilité générale du corps de texte --- */
.legal p,
.legal li {
  color: var(--text-body);
  line-height: var(--leading-normal);
}

.legal h2 {
  font-size: var(--fs-xl);
  letter-spacing: var(--tracking-tight);
}

.legal ul {
  margin-bottom: var(--space-md);
  padding-left: 0;
}

.legal li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: var(--space-sm);
}

.legal li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--neon-blue);
  opacity: 0.6;
}

.legal a {
  color: var(--neon-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal code {
  font-size: 0.85em;
  padding: 0.15em 0.4em;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: var(--neon-blue-soft);
}

/* --- Barre de défilement --- */
@supports (scrollbar-color: red blue) {
  html {
    scrollbar-color: rgba(0, 200, 255, 0.3) transparent;
    scrollbar-width: thin;
  }
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb {
  background: rgba(0, 200, 255, 0.25);
  border-radius: var(--radius-full);
  border: 3px solid var(--bg-deep);
}
::-webkit-scrollbar-thumb:hover { background: rgba(0, 200, 255, 0.45); }


/* =====================================================================
   PAGE PÉRIPHÉRIQUES — affiliation
   ===================================================================== */

.section--tight { padding: var(--space-2xl) 0; }
.section--top-tight { padding-top: var(--space-lg); }

/* --- Bandeau de transparence --- */
.disclosure {
  display: flex;
  gap: var(--space-lg);
  max-width: 880px;
  margin: 0 auto;
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(0, 200, 255, 0.07), rgba(123, 47, 255, 0.05));
  border: 1px solid var(--border-glass);
}

.disclosure__icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-md);
  background: rgba(0, 200, 255, 0.12);
  color: var(--neon-blue);
}

.disclosure__icon svg { width: 22px; height: 22px; }

.disclosure__title {
  font-size: var(--fs-lg);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-md);
}

.disclosure__body p {
  color: var(--text-body);
  font-size: var(--fs-sm);
  line-height: var(--leading-normal);
  margin-bottom: var(--space-md);
}

.disclosure__body p:last-child { margin-bottom: 0; }
.disclosure__body strong { color: var(--text-primary); }

.disclosure__body a {
  color: var(--neon-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Complément replié : la mention Amazon reste visible, le reste attend
   un clic. La sélection apparaît ainsi dès l'arrivée sur la page. */
.disclosure { flex-wrap: wrap; }
.disclosure__body { flex: 1; min-width: 0; }

/* Ligne pleine largeur sous le texte : le bouton reste centré dans
   l'encadré et descend avec ce qu'il déplie. */
.disclosure__bascule {
  flex-basis: 100%;
  display: flex;
  justify-content: center;
}

.disclosure__bascule:has(.disclosure__bouton[hidden]) { display: none; }

.disclosure__bouton {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(0, 200, 255, 0.35);
  background: rgba(0, 200, 255, 0.06);
  color: var(--neon-blue);
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.disclosure__bouton::after {
  content: '+';
  font-size: 1.05rem;
  line-height: 1;
  transition: transform var(--transition-fast);
}

.disclosure__bouton[aria-expanded="true"]::after { transform: rotate(45deg); }

.disclosure__bouton:hover,
.disclosure__bouton:focus-visible {
  background: rgba(0, 200, 255, 0.14);
  border-color: rgba(0, 200, 255, 0.6);
}

.disclosure__body > p:last-of-type { margin-bottom: 0; }
.disclosure__suite { margin-top: var(--space-md); }
.disclosure__suite p:last-child { margin-bottom: 0; }

@media (max-width: 640px) {
  .disclosure {
    flex-direction: column;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
  }
  .disclosure__icon { width: 34px; height: 34px; }
  .disclosure__title { font-size: var(--fs-base); margin-bottom: var(--space-sm); }
}

/* --- Filtres --- */
.filtres {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
}

.filtre {
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-body);
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 600;
  cursor: pointer;
  transition: color var(--transition-fast), border-color var(--transition-fast),
              background var(--transition-fast);
}

.filtre:hover {
  color: var(--text-primary);
  border-color: rgba(0, 200, 255, 0.4);
}

.filtre--actif {
  color: var(--text-dark);
  background: var(--accent-gradient);
  border-color: transparent;
}

/* --- Grille de produits --- */
.peripheriques-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--space-lg);
  align-items: stretch;
}

.peripherique {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  transition: transform var(--transition-base), border-color var(--transition-base),
              box-shadow var(--transition-base);
}

.peripherique:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 200, 255, 0.28);
  box-shadow: var(--glow-soft);
}

/* --- Visuel : photo tirée d'une vidéo, ou illustration --- */
.peripherique__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0b0b12;
  border-bottom: 1px solid var(--border-subtle);
}

.peripherique__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.peripherique:hover .peripherique__media img { transform: scale(1.045); }

/* Voile du bas : les pastilles restent lisibles sur n'importe quelle photo */
.peripherique__media::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(8, 8, 14, 0.55), transparent 28%),
    linear-gradient(to top, rgba(8, 8, 14, 0.7), transparent 34%);
}

.peripherique__media--illu {
  display: grid;
  place-items: center;
  background:
    radial-gradient(60% 70% at 50% 55%, rgba(0, 200, 255, 0.12), transparent 70%),
    radial-gradient(40% 50% at 80% 20%, rgba(123, 47, 255, 0.12), transparent 70%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 22px 22px,
    #0b0b12;
}

.peripherique__illu {
  width: 58%;
  height: auto;
  filter: drop-shadow(0 0 10px rgba(0, 200, 255, 0.35));
  transition: transform 0.7s var(--ease-out);
}

.peripherique:hover .peripherique__illu { transform: scale(1.06) rotate(-1.5deg); }

.peripherique__tags {
  position: absolute;
  z-index: 1;
  top: var(--space-sm);
  left: var(--space-sm);
  right: var(--space-sm);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
}

.peripherique__categorie,
.peripherique__teste,
.peripherique__lecture {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.65rem;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.peripherique__categorie {
  background: rgba(8, 8, 14, 0.62);
  border: 1px solid rgba(0, 200, 255, 0.35);
  color: var(--neon-blue);
}

.peripherique__teste {
  background: rgba(123, 47, 255, 0.35);
  border: 1px solid rgba(157, 107, 255, 0.6);
  color: #fff;
}

.peripherique__source {
  position: absolute;
  z-index: 1;
  left: var(--space-sm);
  bottom: var(--space-sm);
  font-size: 0.66rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.02em;
}

.peripherique__lecture {
  position: absolute;
  z-index: 1;
  right: var(--space-sm);
  bottom: var(--space-sm);
  background: rgba(8, 8, 14, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  text-decoration: none;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.peripherique__lecture:hover,
.peripherique__lecture:focus-visible {
  background: rgba(0, 200, 255, 0.22);
  border-color: rgba(0, 200, 255, 0.6);
}

/* --- Texte : l'essentiel visible, le reste replié --- */
.peripherique__corps {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--space-lg);
}

.peripherique__nom {
  font-size: var(--fs-lg);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  margin-bottom: 2px;
}

.peripherique__accroche {
  color: var(--neon-blue-soft);
  font-size: var(--fs-sm);
  font-weight: 500;
  margin-bottom: var(--space-md);
}

.peripherique__points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: var(--space-md);
  padding: 0;
}

.peripherique__point {
  padding: 0.28rem 0.7rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  color: var(--text-body);
  white-space: nowrap;
}

.peripherique__details {
  margin-bottom: var(--space-md);
  border-top: 1px solid var(--border-subtle);
}

.peripherique__details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.peripherique__details summary::-webkit-details-marker { display: none; }

.peripherique__details summary::after {
  content: '+';
  font-size: 1.1rem;
  line-height: 1;
  color: var(--neon-blue);
  transition: transform var(--transition-fast);
}

.peripherique__details[open] summary::after { transform: rotate(45deg); }

.peripherique__details summary:hover,
.peripherique__details[open] summary { color: var(--text-primary); }

.peripherique__pourquoi {
  color: var(--text-body);
  font-size: var(--fs-sm);
  line-height: var(--leading-normal);
  margin-bottom: var(--space-sm);
}

.peripherique__pour {
  margin-bottom: var(--space-xs);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.035);
  border-left: 2px solid var(--neon-violet);
  font-size: var(--fs-sm);
  color: var(--text-body);
}

.peripherique__pour span {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--neon-violet-soft);
  margin-bottom: 2px;
}

.peripherique__pied { margin-top: auto; }

.peripherique__cta { width: 100%; }

.peripherique__mention {
  margin: var(--space-xs) 0 0;
  text-align: center;
  font-size: 0.7rem;
  color: var(--text-muted);
  cursor: help;
}

/* --- Téléphone : deux fiches côte à côte ---
   On garde l'image, le nom, l'accroche et le bouton. Les points clés
   s'effacent (ils sont dans l'argumentaire replié), les pastilles se
   réduisent et le bouton vidéo devient une simple icône lecture. */
@media (max-width: 640px) {
  .peripheriques-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-sm);
  }

  .peripherique { border-radius: var(--radius-md); }
  .peripherique:hover { transform: none; }

  .peripherique__tags { top: 6px; left: 6px; right: 6px; justify-content: flex-end; }
  .peripherique__categorie,
  .peripherique__source { display: none; }

  .peripherique__teste {
    padding: 0.18rem 0.45rem;
    font-size: 0.56rem;
    letter-spacing: 0.03em;
  }

  .peripherique__lecture {
    right: 6px;
    bottom: 6px;
    gap: 0;
    padding: 0.42rem;
    font-size: 0;
  }

  .peripherique__corps { padding: 10px 10px 12px; }

  .peripherique__nom {
    font-size: 0.9rem;
    line-height: 1.25;
    margin-bottom: 4px;
  }

  .peripherique__accroche {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.74rem;
    line-height: 1.35;
    margin-bottom: 8px;
  }

  .peripherique__points { display: none; }

  .peripherique__details { margin-bottom: 8px; }
  .peripherique__details summary { padding: 6px 0; font-size: 0.72rem; }
  .peripherique__pourquoi,
  .peripherique__pour { font-size: 0.74rem; }
  .peripherique__pour { padding: 6px 8px; }

  .peripherique__code {
    flex-direction: column;
    gap: 0;
    margin-bottom: 8px;
    padding: 6px 8px;
  }
  .peripherique__code span { font-size: 0.58rem; }
  .peripherique__code strong { font-size: 0.85rem; }

  .peripherique .peripherique__cta {
    gap: 0.3rem;
    padding: 0.6rem 0.4rem;
    font-size: 0.74rem;
    white-space: normal;
    text-align: center;
  }

  .peripherique__mention { font-size: 0.6rem; line-height: 1.3; }
}

.peripheriques__avis,
.peripheriques__vide {
  max-width: 760px;
  margin: 0 auto var(--space-xl);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
  background: rgba(0, 200, 255, 0.05);
  color: var(--text-body);
  font-size: var(--fs-sm);
  text-align: center;
}

/* --- Méthode --- */
.methode-grid { align-items: stretch; }
.methode-grid .feature-card { height: 100%; }

.methode-note {
  max-width: 780px;
  margin: var(--space-2xl) auto 0;
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--neon-blue);
  background: rgba(255, 255, 255, 0.03);
}

.methode-note p {
  margin: 0;
  color: var(--text-body);
  font-size: var(--fs-sm);
  line-height: var(--leading-normal);
}

/* --- Panneau d'appel à l'action --- */
.cta-panel {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: var(--space-2xl);
  align-items: center;
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 15% 20%, rgba(0, 200, 255, 0.1), transparent 55%),
    radial-gradient(circle at 85% 80%, rgba(123, 47, 255, 0.1), transparent 55%),
    var(--surface-1);
  border: 1px solid var(--border-glass);
}

.cta-panel .section__text { margin-left: 0; }
.cta-panel .section__title { margin-bottom: var(--space-sm); }

.cta-panel__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.cta-panel__actions .btn { width: 100%; }

@media (max-width: 860px) {
  .cta-panel { grid-template-columns: 1fr; padding: var(--space-xl); }
}

@media (max-width: 480px) {
  .hero__watermark {
    font-size: var(--fs-xs);
    letter-spacing: 0.1em;
    padding: 0.35rem 0.75rem;
  }
}

/* --- Badge « testé en vidéo » et code promo --- */
.peripherique__code {
  display: flex;
  align-items: baseline;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  background: rgba(0, 200, 255, 0.07);
  border: 1px dashed rgba(0, 200, 255, 0.45);
}

.peripherique__code span {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.peripherique__code strong {
  font-family: var(--font-display);
  font-size: var(--fs-base);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--neon-blue);
}

/* --- Pages légales : rythme vertical défini une fois pour toutes --- */
.legal > h2 {
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}

.legal > h2:first-of-type { margin-top: var(--space-xl); }

.legal__note {
  padding: var(--space-md) var(--space-lg);
  margin-bottom: var(--space-lg);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  background: rgba(0, 200, 255, 0.05);
}

.legal__note p:last-child { margin-bottom: 0; }

.legal__maj {
  margin-top: var(--space-2xl);
  margin-bottom: 0;
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: var(--fs-sm);
}


/* =====================================================================
   SCENE 3D — le heros devient la scene de la visite guidee
   ---------------------------------------------------------------------
   Sans la classe .scene3d--3d (mobile, pas de WebGL, mouvement reduit),
   on a un heros classique avec sa photo, suivi des cartes statiques.
   Avec, le heros reste epingle : la photo laisse place au rendu 3D, et
   le texte d'accueil s'efface au profit du panneau de visite.
   ===================================================================== */

.scene3d { position: relative; }

.hero__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero__detail { display: none; }
.pc3d { display: none; }

/* --- Mode 3D actif --- */
.scene3d--3d { height: 430vh; }

.scene3d--3d .hero {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 0;
}

.scene3d--3d .hero__content {
  box-sizing: border-box;
  height: 100vh;
  min-height: 0;
}

.scene3d--3d .hero__text-col {
  display: grid;
  align-items: center;
  position: relative;
  z-index: 2;
}

.scene3d--3d .hero__intro,
.scene3d--3d .hero__detail { grid-area: 1 / 1; }

/* L'accueil s'efface des les premiers pour-cent de defilement... */
.scene3d--3d .hero__intro {
  opacity: calc(1 - (var(--progression, 0) - 0.02) * 18);
  transform: translateY(calc(var(--progression, 0) * -180px));
}

/* ...et le panneau de visite prend sa place, au meme endroit. */
.scene3d--3d .hero__detail {
  display: flex;
  visibility: hidden;
  max-width: 440px;
  opacity: calc((var(--progression, 0) - 0.075) * 18);
}

.scene3d--detail .hero__detail { visibility: visible; }
.scene3d--detail .hero__intro { visibility: hidden; }
.scene3d--detail .hero__scroll-indicator { visibility: hidden; }

/* En mode 3D, l indicateur se range sous le texte : centre, il tombait
   sur la machine. */
.scene3d--3d .hero__scroll-indicator {
  left: max(var(--space-lg), calc((100vw - 1280px) / 2 + var(--space-lg)));
  transform: none;
  /* Le bloc reste calé à gauche, mais le trait se centre sous le mot */
  align-items: center;
}

.scene3d--3d .hero__pc-frame { display: none; }
.scene3d--3d .hero__image-col { align-self: stretch; }

/* Le rendu couvre tout l'ecran d'accueil, plus seulement la colonne de
   droite : il n'a plus de bord a montrer. La camera decale la machine
   vers la droite (hero-3d.js), le texte reste au-dessus.
   Pour que le rendu sorte de sa colonne, les conteneurs intermediaires
   ne doivent plus servir de repere (position: static) ni creer de
   contexte d'empilement (z-index: auto), sinon le melange de couleurs
   ne verrait pas le fond de la page. */
.scene3d--3d .hero { background: var(--bg-base); }
.scene3d--3d .hero__content { position: static; z-index: auto; }
.scene3d--3d .hero__image-col { position: static; }
.scene3d--3d .hero__text-col { z-index: 4; }
.scene3d--3d .hero__grid-bg,
.scene3d--3d .hero__vignette { pointer-events: none; }
.scene3d--3d .pc3d__pastilles { z-index: 3; }

.scene3d--3d .pc3d {
  display: block;
  position: absolute;
  inset: 0;
  cursor: grab;
}

.pc3d--saisi { cursor: grabbing; }

.pc3d__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  /* Le post-traitement rend un fond opaque, noir pur. Le melange
     « lighten » garde le plus clair des deux : le noir laisse voir la
     page, la machine et ses lumieres passent devant. Aucun cadre. */
  mix-blend-mode: lighten;
  animation: tagline-reveal 0.9s 0.1s both;
}

/* --- Panneau de visite --- */
.scene3d__panneau {
  flex-direction: column;
  min-width: 0;
}

.scene3d__titre {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 700;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
}

.scene3d__fiche {
  position: relative;
  min-height: 178px;
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(20, 20, 32, 0.9), rgba(12, 12, 20, 0.75));
  border: 1px solid var(--border-glass);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 18px 50px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.scene3d__fiche::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12%;
  bottom: 12%;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--neon-blue), var(--neon-violet), transparent);
}

.scene3d__fiche-index {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--neon-blue);
  margin-bottom: var(--space-sm);
}

.scene3d__fiche-nom {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.scene3d__fiche-role {
  font-size: var(--fs-sm);
  line-height: var(--leading-normal);
  color: var(--text-body);
  margin: 0;
}

.scene3d__fiche--vide .scene3d__fiche-index { opacity: 0.45; }
.scene3d__fiche--vide .scene3d__fiche-nom { color: var(--text-muted); }

@keyframes fiche-entre {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.scene3d__fiche--anime .scene3d__fiche-index,
.scene3d__fiche--anime .scene3d__fiche-nom,
.scene3d__fiche--anime .scene3d__fiche-role {
  animation: fiche-entre 0.42s var(--ease-out) both;
}

.scene3d__fiche--anime .scene3d__fiche-nom { animation-delay: 0.04s; }
.scene3d__fiche--anime .scene3d__fiche-role { animation-delay: 0.08s; }

/* --- Rail de progression --- */
.scene3d__rail {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: var(--space-lg) 0 0;
  padding: 0;
}

.scene3d__jalon {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 3px 0;
}

.scene3d__jalon-trait {
  flex-shrink: 0;
  width: 22px;
  height: 2px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.14);
  transition: width var(--transition-base), background var(--transition-base),
              box-shadow var(--transition-base);
}

.scene3d__jalon-nom {
  font-size: 0.78rem;
  color: var(--text-faint);
  transition: color var(--transition-base);
}

.scene3d__jalon--passe .scene3d__jalon-trait { background: rgba(0, 200, 255, 0.45); }
.scene3d__jalon--passe .scene3d__jalon-nom { color: var(--text-muted); }

.scene3d__jalon--actif .scene3d__jalon-trait {
  width: 38px;
  background: var(--accent-gradient);
  box-shadow: 0 0 12px rgba(0, 200, 255, 0.55);
}

.scene3d__jalon--actif .scene3d__jalon-nom {
  color: var(--text-primary);
  font-weight: 600;
}

.scene3d__astuce {
  margin: var(--space-lg) 0 0;
  font-size: var(--fs-xs);
  color: var(--text-faint);
}

/* Ecrans peu hauts : le rail passe a la trappe pour que la fiche respire */
@media (max-height: 780px) {
  .scene3d__rail,
  .scene3d__astuce { display: none; }
}

/* --- Pastilles posees sur les pieces : le nom seul, jamais un paragraphe --- */
.pc3d__pastilles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.pc3d__pastille {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: 14px;
  margin-top: -13px;
  padding: 5px 11px;
  border-radius: var(--radius-full);
  background: rgba(8, 8, 14, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 200, 255, 0.35);
  box-shadow: 0 0 18px rgba(0, 200, 255, 0.18);
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text-primary);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  will-change: transform, opacity;
}

.pc3d__pastille--gauche { flex-direction: row-reverse; margin-left: 0; }

.pc3d__pastille-point {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon-blue);
  box-shadow: 0 0 8px var(--neon-blue);
}

/* --- Version statique : aussi ce que lisent moteurs et lecteurs d'ecran --- */
.scene3d__statique { padding: var(--space-4xl) 0; }

.scene3d--3d .scene3d__statique {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.scene3d__cartes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  padding: 0;
}

.compo-carte {
  position: relative;
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  transition: border-color var(--transition-base), transform var(--transition-base);
}

.compo-carte:hover {
  border-color: rgba(0, 200, 255, 0.28);
  transform: translateY(-3px);
}

.compo-carte__num {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--neon-blue);
  margin-bottom: var(--space-sm);
}

.compo-carte__nom {
  font-size: var(--fs-base);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  margin-bottom: 4px;
}

.compo-carte__role {
  font-size: var(--fs-sm);
  line-height: var(--leading-normal);
  color: var(--text-body);
  margin: 0;
}

@media (max-width: 768px) {
  .scene3d__statique { padding: var(--space-3xl) 0; }
  .hero__intro { align-items: center; }
}

/* --- Renvoi vers le sur-mesure, sous les trois configurations --- */
.bascule {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  max-width: 760px;
  margin: var(--space-2xl) auto 0;
  padding: var(--space-lg) var(--space-xl);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
}

.bascule__texte {
  margin: 0;
  font-size: var(--fs-base);
  color: var(--text-body);
}

.bascule__texte strong { color: var(--text-primary); }

@media (max-width: 640px) {
  .bascule { flex-direction: column; text-align: center; }
  .bascule .btn { width: 100%; }
}

/* --- Les photos sont enveloppees dans <picture> pour servir du WebP ---
   L'element picture est en ligne par defaut : sans ca, il ajoute un
   espace sous l'image et casse les hauteurs de carte. */
picture {
  display: block;
  min-width: 0;
}

.config-card picture { width: 100%; }
.hero__pc-frame picture { line-height: 0; }
.about__image picture { height: 100%; }

/* --- Choix entre machine complete et composants separes --- */
.form__perimetre {
  display: grid;
  gap: var(--space-sm);
}

.form__option {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.form__option:hover { border-color: var(--neon-blue-dim); }

.form__option:has(input:checked) {
  border-color: var(--neon-blue);
  background: rgba(0, 200, 255, 0.07);
}

.form__option input[type="radio"] {
  flex-shrink: 0;
  margin-top: 3px;
  accent-color: var(--neon-blue);
}

.form__option-corps {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.form__option-titre {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-primary);
}

.form__option:has(input:checked) .form__option-titre { color: var(--neon-blue); }

.form__option-detail {
  font-size: var(--fs-sm);
  line-height: var(--leading-normal);
  color: var(--text-body);
}

/* --- Note d explication sur les prix du marche ---
   Bloc temporaire : a retirer quand les prix du materiel se seront
   calmes. Il justifie le niveau des tarifs affiches. */
.note-marche {
  max-width: 820px;
  margin: 0 auto var(--space-2xl);
  padding: var(--space-lg) var(--space-xl);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--neon-violet);
}

.note-marche__titre {
  font-size: var(--fs-base);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.note-marche p {
  font-size: var(--fs-sm);
  line-height: var(--leading-normal);
  color: var(--text-body);
  margin-bottom: var(--space-sm);
}

.note-marche p:last-child { margin-bottom: 0; }
.note-marche strong { color: var(--text-primary); }

/* --- Offre de configuration d occasion / reconditionnee --- */
.offre-occasion {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-2xl);
  align-items: center;
  margin-top: var(--space-2xl);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 12% 30%, rgba(123, 47, 255, 0.12), transparent 55%),
    var(--surface-1);
  border: 1px solid var(--border-subtle);
}

.offre-occasion__titre {
  font-size: var(--fs-lg);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-sm);
}

.offre-occasion p {
  font-size: var(--fs-sm);
  line-height: var(--leading-normal);
  color: var(--text-body);
  margin-bottom: var(--space-sm);
}

.offre-occasion p:last-child { margin-bottom: 0; }
.offre-occasion strong { color: var(--text-primary); }

.offre-occasion__detail { color: var(--text-muted); }

@media (max-width: 760px) {
  .offre-occasion { grid-template-columns: 1fr; gap: var(--space-lg); }
  .offre-occasion .btn { width: 100%; }
}

/* --- Tarif en deux lignes : le prix des pieces et celui du travail ---
   Le client doit voir d un coup d oeil d ou vient chaque euro. C est
   tout l interet du modele : rien n est cache dans un prix global. */
.tarif {
  margin-bottom: var(--space-md);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border-subtle);
}

.tarif__ligne {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: 3px 0;
}

.tarif__libelle {
  font-size: var(--fs-sm);
  color: var(--text-body);
}

.tarif__valeur {
  font-family: var(--font-display);
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
}

.tarif__ligne--service {
  margin-top: 4px;
  padding-top: var(--space-sm);
  border-top: 1px solid var(--border-subtle);
}

.tarif__ligne--service .tarif__libelle { color: var(--text-primary); }

.tarif__ligne--service .tarif__valeur {
  font-size: var(--fs-lg);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tarif__note {
  margin: var(--space-sm) 0 0;
  font-size: 0.76rem;
  line-height: 1.5;
  color: var(--text-muted);
}

/* --- Les six etapes de la prestation --- */
/* Six etapes sur trois colonnes : deux rangees pleines. En auto-fit on
   obtenait quatre colonnes puis deux fiches orphelines calees a gauche. */
.etapes {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-lg);
  padding: 0;
}

@media (max-width: 1024px) {
  .etapes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .etapes { grid-template-columns: 1fr; }
}

.etape {
  position: relative;
  padding: var(--space-lg);
  padding-left: calc(var(--space-lg) + 46px);
  border-radius: var(--radius-lg);
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  transition: border-color var(--transition-base), transform var(--transition-base);
}

.etape:hover {
  border-color: rgba(0, 200, 255, 0.28);
  transform: translateY(-3px);
}

.etape__num {
  position: absolute;
  left: var(--space-lg);
  top: var(--space-lg);
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 700;
  letter-spacing: -0.03em;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.etape__titre {
  font-size: var(--fs-base);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  margin-bottom: 4px;
}

.etape__texte {
  font-size: var(--fs-sm);
  line-height: var(--leading-normal);
  color: var(--text-body);
  margin: 0;
}

/* --- Les trois garanties de franchise, avant les exemples --- */
.franchise {
  max-width: 980px;
  margin: 0 auto var(--space-2xl);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 10% 15%, rgba(0, 200, 255, 0.1), transparent 55%),
    var(--surface-1);
  border: 1px solid var(--border-glass);
}

.franchise__entete {
  font-size: var(--fs-lg);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-lg);
  text-align: center;
}

.franchise__liste {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-lg);
  padding: 0;
}

.franchise__titre {
  font-size: var(--fs-base);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  color: var(--neon-blue);
  margin-bottom: 6px;
}

.franchise__point p {
  font-size: var(--fs-sm);
  line-height: var(--leading-normal);
  color: var(--text-body);
  margin: 0;
}

/* --- Rappel que les photos sont indicatives --- */
.note-visuels {
  max-width: 820px;
  margin: 0 auto var(--space-xl);
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.note-visuels strong { color: var(--text-body); }

/* =====================================================================
   GRILLE TARIFAIRE
   ===================================================================== */

.formules {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-lg);
  align-items: stretch;
}

@media (max-width: 1100px) {
  .formules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .formules { grid-template-columns: 1fr; }
}

.formule {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  transition: border-color var(--transition-base), transform var(--transition-base);
}

.formule:hover {
  border-color: rgba(0, 200, 255, 0.28);
  transform: translateY(-3px);
}

/* La formule la plus courante est mise en avant : sans reperes, le
   visiteur se rabat souvent sur la moins chere par defaut. */
.formule--phare {
  border-color: rgba(0, 200, 255, 0.45);
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 200, 255, 0.1), transparent 60%),
    var(--surface-2);
  box-shadow: var(--glow-soft);
}

.formule__ruban {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 12px;
  border-radius: var(--radius-full);
  background: var(--accent-gradient);
  color: var(--text-dark);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.formule__nom {
  font-size: var(--fs-base);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-sm);
  min-height: calc(2 * var(--fs-base) * 1.25);
}

.formule__prix {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-sm);
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}

.formule__resume {
  font-size: var(--fs-sm);
  line-height: var(--leading-normal);
  color: var(--text-body);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border-subtle);
}

.formule__liste {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.formule__liste li {
  position: relative;
  padding-left: 1.3rem;
  font-size: var(--fs-sm);
  line-height: 1.45;
  color: var(--text-body);
}

.formule__liste li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.5em;
  width: 7px;
  height: 4px;
  border-left: 1.8px solid var(--neon-blue);
  border-bottom: 1.8px solid var(--neon-blue);
  transform: rotate(-45deg);
}

/* --- Options a la carte --- */
.options {
  max-width: 860px;
  margin: var(--space-2xl) auto 0;
  padding: var(--space-lg) var(--space-xl);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
}

.options__titre {
  font-size: var(--fs-base);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-md);
}

.options__liste {
  margin: 0;
  padding: 0;
}

.option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px var(--space-md);
  padding: var(--space-sm) 0;
  border-top: 1px solid var(--border-subtle);
}

.option:first-child { border-top: none; }

.option__nom {
  font-weight: 600;
  color: var(--text-primary);
  font-size: var(--fs-sm);
}

.option__prix {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--neon-blue);
  white-space: nowrap;
}

.option__detail {
  grid-column: 1;
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

@media (max-width: 520px) {
  .options { padding: var(--space-md); }
  .option { grid-template-columns: 1fr; }
  .option__prix { grid-column: 1; grid-row: auto; align-self: start; }
}

.tarifs__note {
  max-width: 760px;
  margin: var(--space-xl) auto 0;
  text-align: center;
  font-size: var(--fs-sm);
  line-height: var(--leading-normal);
  color: var(--text-muted);
}

/* Lien vers le detail, depuis les fiches de configuration */
.tarif__note a {
  display: inline-block;
  margin-top: 4px;
  color: var(--neon-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* --- Prix d entree, entre le sous-titre et les boutons ---
   Annoncer le tarif des le premier ecran qualifie les visiteurs : celui
   pour qui c est trop cher part tout de suite, les autres savent a quoi
   s attendre avant de remplir le formulaire. */
.hero__prix {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 0.75rem;
  margin-bottom: var(--space-xl);
  font-size: var(--fs-sm);
  color: var(--text-muted);
  opacity: 0;
  transform: translateY(16px);
  animation: tagline-reveal 0.8s 0.8s forwards;
}

.hero__prix-bloc { white-space: nowrap; }

.hero__prix strong {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-right: 2px;
}

.hero__prix-sep { color: var(--text-faint); }

.hero__prix-lien {
  color: var(--neon-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .hero__prix { animation: none; opacity: 1; transform: none; }
}

@media (max-width: 480px) {
  .hero__prix { justify-content: center; font-size: var(--fs-xs); }
  .hero__prix strong { font-size: var(--fs-base); }
}

/* =====================================================================
   FINITION GLOBALE
   ===================================================================== */

/* Profondeur : deux halos fixes derriere tout le site, pour que le fond
   ne soit pas un aplat noir entre les sections. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60vw 55vh at 88% -8%, rgba(0, 200, 255, 0.075), transparent 70%),
    radial-gradient(55vw 55vh at -12% 62%, rgba(123, 47, 255, 0.07), transparent 70%),
    radial-gradient(45vw 40vh at 70% 110%, rgba(0, 200, 255, 0.05), transparent 70%);
}

/* Lueur qui suit le pointeur sur les cartes. Les coordonnees --mx / --my
   sont posees par main.js ; sans JavaScript, il ne se passe rien. */
.config-card,
.etape,
.formule,
.peripherique,
.compo-carte,
.feature-card,
.value-item { position: relative; }

.config-card::after,
.etape::after,
.formule::after,
.peripherique::after,
.compo-carte::after,
.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%),
    rgba(0, 200, 255, 0.11), rgba(123, 47, 255, 0.05) 45%, transparent 70%);
  opacity: 0;
  transition: opacity 0.35s var(--ease-out);
}

.config-card:hover::after,
.etape:hover::after,
.formule:hover::after,
.peripherique:hover::after,
.compo-carte:hover::after,
.feature-card:hover::after { opacity: 1; }

/* Le halo clignotant au survol des fiches faisait gadget : la lueur
   du pointeur le remplace. */
.config-card:hover { animation: none; }

/* A propos de l'accueil : texte a gauche, valeurs a droite */
.about__values { margin-top: 0; }

/* Trait lumineux sous l'entete des que la page a defile */
.header--scrolled {
  box-shadow: 0 1px 0 rgba(0, 200, 255, 0.12), 0 10px 30px rgba(0, 0, 0, 0.35);
}

@media (prefers-reduced-motion: reduce) {
  .config-card::after,
  .etape::after,
  .formule::after,
  .peripherique::after,
  .compo-carte::after,
  .feature-card::after { display: none; }
}

/* Piège à robots des formulaires : hors de l'écran, jamais visible */
.form__piege {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
