/* ============================================================================
   BIGO67 — Telegram Mini App
   Feuille de style principale
   Vente • Achat • Réparation d'iPhone en Alsace
   ============================================================================
   Sommaire
   01. Polices & variables
   02. Reset & base
   03. Utilitaires & typographie
   04. Arrière-plan & halos
   05. Layout applicatif
   06. En-tête
   07. Boutons
   08. Pastilles / chips
   09. Section Accueil (hero, cartes d'action, trust strip)
   10. Cartes produit & Accessoires
   11. Formulaires & champs
   12. Réparation (grille de sélection, devis)
   13. Rachat (wizard, stepper)
   14. Rendez-vous (calendrier, créneaux, récap)
   15. Suivi (recherche, timeline)
   16. Contact (boutons contact, carte, horaires)
   17. Footer
   18. Dock — navigation flottante façon Dynamic Island
   19. Panier & Fiche Produit Apple
   20. Sécurité Paiement Stripe
   21. Admin (bonus)
   22. Toast
   23. Animations
   24. Responsive
   25. Accessibilité & scrollbar
   ========================================================================= */

/* ============================================================================
   01. POLICES & VARIABLES
   ========================================================================= */
@import url('https://fonts.googleapis.com/css2?family=Monoton&family=Bungee&family=Exo+2:wght@400;500;600;700;800&display=swap');

:root{
  --ink:#050507;
  --surface:#14101F;
  --surface-2:#1E1730;

  --blue:#00E5FF;
  --pink:#FF2E92;
  --purple:#8A2BE2;
  --sunset:#FF6A00;
  --paper:#FFFFFF;

  --paper-04:rgba(255,255,255,.04);
  --paper-06:rgba(255,255,255,.06);
  --paper-08:rgba(255,255,255,.08);
  --paper-10:rgba(255,255,255,.10);
  --paper-14:rgba(255,255,255,.14);
  --paper-20:rgba(255,255,255,.20);
  --paper-40:rgba(255,255,255,.55);
  --paper-60:rgba(255,255,255,.60);
  --paper-75:rgba(255,255,255,.75);
  --paper-50:rgba(255,255,255,.50);
  --paper-90:rgba(255,255,255,.90);

  --ink-40:rgba(0,0,0,.40);
  --ink-60:rgba(0,0,0,.60);

  --grad-brand:linear-gradient(135deg,#00E5FF 0%,#FF2E92 100%);
  --grad-sunset:linear-gradient(135deg,#8A2BE2 0%,#FF2E92 55%,#FF6A00 100%);
  --grad-brand-soft:linear-gradient(135deg,rgba(0,229,255,.16),rgba(255,46,146,.10));
  --grad-text:linear-gradient(95deg,#00E5FF 0%,#FF2E92 90%);

  --glass-bg:rgba(255,255,255,.055);
  --glass-bg-strong:rgba(255,255,255,.09);
  --glass-border:rgba(255,255,255,.10);
  --glass-blur:24px;

  --r-xs:10px;
  --r-sm:14px;
  --r-md:18px;
  --r-lg:24px;
  --r-xl:32px;
  --r-full:999px;

  --shadow-soft:0 12px 35px rgba(0,0,0,.32);
  --shadow-lift:0 20px 55px rgba(0,0,0,.48);

  --glow-blue:
    0 0 1px rgba(0,229,255,.55),
    0 0 12px rgba(0,229,255,.18),
    0 6px 20px rgba(0,229,255,.14);

  --glow-pink:
    0 0 1px rgba(255,46,146,.55),
    0 0 12px rgba(255,46,146,.20),
    0 6px 20px rgba(255,46,146,.14);

  --font-display:'Bungee','Exo 2',sans-serif;
  --font-neon:'Monoton','Bungee',sans-serif;
  --font-body:'Exo 2',-apple-system,BlinkMacSystemFont,'SF Pro Text','Helvetica Neue',Arial,sans-serif;

  --gutter:18px;
  --header-h:60px;
  --dock-h:78px;

  --ease:cubic-bezier(.22,.9,.32,1);
  --fast:.18s;
  --med:.38s;
}

/* ============================================================================
   02. RESET & BASE
   ========================================================================= */
*, *::before, *::after{ box-sizing: border-box; }

/* Le sprite SVG ne sert qu'à définir des icônes réutilisables via <use> :
   il ne doit jamais prendre de place ni être visible. Sans cette règle,
   le navigateur lui donne une taille par défaut qui pousse tout le reste
   (y compris le header) vers le bas. */
.sprite{
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

html{
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  color-scheme: dark;
}

body{
  margin:0;
  min-height:100vh;
  min-height:100dvh;

  background: #000000;

  color:var(--paper);
  font-family:var(--font-body);

  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;

  overflow-x:hidden;

  /* Rendu "app native" plutôt que "page web" */
  -webkit-tap-highlight-color: transparent;
}

/* Aucun élément interactif ne doit garder le flash gris/bleu du tap mobile */
a, button, .product-card, .action-card, .contact-btn, .chip, .dock__item{
  -webkit-tap-highlight-color: transparent;
}

/* Empêche le menu "enregistrer l'image" au appui long façon app native */
img{ -webkit-touch-callout: none; }

/* ============================================================================
   03. UTILITAIRES & TYPOGRAPHIE
   ========================================================================= */
.icon{
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: currentColor;
}
.icon--xs{ width: 13px; height: 13px; }
.icon--sm{ width: 16px; height: 16px; }
.icon--lg{ width: 30px; height: 30px; }

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

.text-muted{ color: var(--paper-60); }

/* ============================================================================
   04. ARRIÈRE-PLAN & HALOS
   ========================================================================= */
.bg-glow{
  position: fixed;
  width: 60vw;
  height: 60vw;
  max-width: 420px;
  max-height: 420px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .22;
  pointer-events: none;
  z-index: 0;
}
.bg-glow--blue{ top: -10%; left: -20%; background: rgba(255,255,255,.06); filter: blur(100px); opacity: .35; }
.bg-glow--pink{
  bottom: 5%;
  right: -25%;
  background: transparent;
  filter: none;
  opacity: 0;
  animation: none;
}
@keyframes drift{
  from{ transform: translate(0,0) scale(1); }
  to{ transform: translate(-6%, 8%) scale(1.08); }
}

/* Grille horizon façon synthwave / Vice City, fixée derrière tout le contenu */
.vice-grid{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 26vh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: .22;
  mask-image: linear-gradient(180deg, transparent, #000 55%);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 55%);
}
.vice-grid::before{
  content: "";
  position: absolute;
  inset: -20% -50% 0 -50%;
  background-image:
    repeating-linear-gradient(90deg, rgba(0,229,255,.20) 0 1px, transparent 1px 60px),
    repeating-linear-gradient(0deg, rgba(255,46,146,.16) 0 1px, transparent 1px 34px);
  transform: perspective(220px) rotateX(58deg);
  transform-origin: bottom;
}
.vice-grid::after{
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--pink), transparent);
  box-shadow: 0 0 10px 1px rgba(255,46,146,.35);
}

/* ============================================================================
   05. LAYOUT APPLICATIF
   ========================================================================= */
#app{
  position:relative;
  max-width:480px;
  min-height:100dvh;
  margin:0 auto;

   background:
    radial-gradient(ellipse 120% 50% at 50% -5%, rgba(255,255,255,.035) 0%, transparent 55%),
    linear-gradient(180deg, #111114 0%, #0a0a0c 25%, #070708 60%, #000000 100%);

  overflow-x:hidden;
  isolation:isolate;

  border-left:1px solid rgba(255,255,255,.025);
  border-right:1px solid rgba(255,255,255,.025);

  animation:appIn .5s var(--ease);
}

/* Grain subtil : donne une texture "matière" plutôt qu'un aplat numérique plat */
#app::after{
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@keyframes appIn{
  from{ opacity: 0; }
  to{ opacity: 1; }
}

#mainContent{
  position: relative;
  z-index: 1;
  padding: 18px var(--gutter) 24px;
  min-height: 100vh;
  min-height: 100dvh;
  box-sizing: border-box;
}

.view{ display: none; }
.view.view--active{
  display: block;
}
@keyframes viewIn{
  from{ opacity: 0; transform: translateY(10px); }
  to{ opacity: 1; transform: translateY(0); }
}

.view-head {
  margin: 0 0 18px;
  animation: fadeInUp 0.5s var(--ease) both;
  padding: 10px 0 14px;
  border-radius: 0;
  background: none;
  border: none;
  box-shadow: none;
}

.view-head h2 {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 8px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 4px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #fff;
  -webkit-text-fill-color: #fff;
}

.view-head h2::before {
  display: none;
}

.view-head__icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  color: var(--blue);
  -webkit-text-fill-color: initial;
  filter: drop-shadow(0 1px 4px rgba(0, 229, 255, 0.08));
}
.view-head--premium {
  padding-bottom: 18px;
  margin-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.view-head--premium h2 {
  gap: 12px;
}

.view-head__icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.16), rgba(0, 229, 255, 0.04));
  border: 1px solid rgba(0, 229, 255, 0.18);
  box-shadow: 0 4px 14px rgba(0, 229, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.view-head--premium p {
  margin-top: 6px;
}
.view-head p {
  margin: 4px 0 0;
  padding-left: 8px;
  max-width: none;
  color: rgba(255,255,255,.45);
  font-size: 12px;
  line-height: 1.45;
  letter-spacing: 0;
}

.section-label{
  font-size: 13px;
  font-weight: 600;
  color: var(--paper-60);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 30px 2px 14px;
}

/* ============================================================================
   06. EN-TÊTE
   ========================================================================= */
.app-header {
  position: sticky;
  top: 10px;
  z-index: 40;

  width: fit-content;
  min-width: 190px;
  max-width: calc(100% - 32px);
  height: 48px;

  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;

  padding: 5px 7px;

  /* Même matière que le dock */
  background: rgba(18, 18, 21, 0.78);

  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 999px;

  backdrop-filter: blur(28px) saturate(140%);
  -webkit-backdrop-filter: blur(28px) saturate(140%);

  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.045);

  isolation: isolate;
}

/* Boutons intégrés dans le Dynamic Island */
.icon-btn,
.header-instagram {
  width: 36px;
  height: 36px;

  flex: 0 0 36px;

  display: grid;
  place-items: center;

  padding: 0;

  border: 1px solid transparent;
  border-radius: 50%;

  background: transparent;

  color: rgba(255, 255, 255, 0.72);

  box-shadow: none;

  transition:
    transform 0.16s ease,
    background 0.16s ease,
    color 0.16s ease,
    box-shadow 0.16s ease;
}

/* État normal */
.icon-btn:hover,
.header-instagram:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.055);
}

/* Ombre / profondeur au clic */
.icon-btn:active,
.header-instagram:active {
  transform: scale(0.88);

  color: #fff;

  background: rgba(255, 255, 255, 0.12);

  box-shadow:
    inset 0 2px 5px rgba(0, 0, 0, 0.45),
    0 0 0 3px rgba(255, 255, 255, 0.025);
}

.icon-btn[hidden] {
  display: none;
}

/* Instagram */
.header-instagram {
  margin-left: 0;
}

/* B67 reste dans le hero */
.header-brand {
  display: none !important;
}

/* Boutons de droite */
#btnHeaderAccount,
#btnHeaderContact {
  margin-left: 2px;
}

#btnHeaderContact {
  margin-right: 0;
}

/* Bouton retour */
#btnBack {
  margin-right: 2px;
}

/* Petits écrans */
@media (max-width: 360px) {
  .app-header {
    top: 8px;
    min-width: 176px;
    height: 44px;
    padding: 4px 6px;
  }

  .icon-btn,
  .header-instagram {
    width: 33px;
    height: 33px;
    flex-basis: 33px;
  }
}
/* ============================================================================
   07. BOUTONS
   ========================================================================= */
.btn {
  position: relative;
  overflow: hidden;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  border: none;
  border-radius: var(--r-full);

  padding: 13px 22px;

  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-body);

  transition:
    transform var(--fast) var(--ease),
    box-shadow var(--fast),
    opacity var(--fast);

  -webkit-user-select: none;
  user-select: none;
}

.btn:active {
  transform: scale(.97);
}

.btn--primary {
  background: rgba(0, 229, 255, 0.13);

  color: #ffffff;

  border: 1px solid rgba(0, 229, 255, 0.22);

  box-shadow:
    0 8px 22px rgba(0, 229, 255, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.btn--primary:hover {
  background: rgba(0, 229, 255, 0.18);

  border-color: rgba(0, 229, 255, 0.30);

  box-shadow:
    0 10px 26px rgba(0, 229, 255, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.btn--primary:disabled {
  opacity: .4;
  box-shadow: none;
  pointer-events: none;
}

.btn--ghost {
  background: var(--glass-bg);
  color: var(--paper);
  border: 1px solid var(--glass-border);
}

.btn--ghost:active {
  background: var(--paper-10);
}

.btn--block {
  width: 100%;
}

.btn--lg {
  padding: 16px 22px;
  font-size: 16px;
}

.btn--icon {
  padding: 13px 16px;
}

/* Effet ripple */
.btn .ripple {
  position: absolute;

  border-radius: 50%;

  background: rgba(255,255,255,.5);

  transform: scale(0);

  animation: rippleAnim .6s ease-out;

  pointer-events: none;
}

@keyframes rippleAnim {
  to {
    transform: scale(2.6);
    opacity: 0;
  }
}

/* ============================================================================
   08. PASTILLES / CHIPS
   ========================================================================= */
.pill{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--r-full);
  font-size: 12.5px;
  font-weight: 600;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--paper-75);
}
.pill--eyebrow .icon{ color: var(--pink); }

.chip-row{
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 18px;
}
.chip-row--scroll{
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-left: calc(var(--gutter) * -1);
  margin-right: calc(var(--gutter) * -1);
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.chip-row--scroll::-webkit-scrollbar{ display: none; }

#venteFilterRow{
  margin-top: 20px;
}

.chip{
  -webkit-appearance: none;
  appearance: none;
  font-family: inherit;
  cursor: pointer;
  flex-shrink: 0;
  padding: 4px 7px;
  border-radius: var(--r-full);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--paper-75);
  font-size: 9.5px;
  font-weight: 600;
  transition: all var(--fast) var(--ease);
  white-space: nowrap;
}
.chip.is-selected{
  background: rgba(0,229,255,.10);
  color: var(--blue);
  border-color: rgba(0,229,255,.25);
  box-shadow: none;
}
.chip:active{ transform: scale(.95); }
.chip:focus{ outline: none; }

.chip-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}
.chip-grid .chip{
  width: 100%;
  text-align: center;
  padding: 12px 8px;
  white-space: normal;
  font-size: 13px;
}
.chip-grid--icons .chip-icon{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 6px;
  border-radius: var(--r-md);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--paper-75);
  font-size: 12.5px;
  font-weight: 600;
  transition: all var(--fast) var(--ease);
}
.chip-grid--icons .chip-icon span.emoji{ font-size: 20px; }
.chip-grid--icons .chip-icon.is-selected{
  background: var(--grad-brand-soft);
  border-color: var(--blue);
  color: var(--paper);
  box-shadow: var(--glow-blue);
}
.chip-grid--icons{ grid-template-columns: repeat(4, 1fr); }

.badge{
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: var(--r-full);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.badge--blue{ background: rgba(0,229,255,.16); color: var(--blue); }
.badge--pink{ background: rgba(255,46,146,.16); color: var(--pink); }
.badge--outline{ background: transparent; border: 1px solid var(--paper-20); color: var(--paper-60); }

/* ============================================================================
   09. ACCUEIL — HERO & CARTES D'ACTION
   ========================================================================= */
.hero{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 0 20px;
}

.hero-logo {
  width: 42px;
  height: 42px;

  margin: 0 auto 18px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo__img {
  width: 100%;
  height: 100%;

  display: block;
  object-fit: contain;

  border-radius: 9px;

  filter: none;
}
.hero-logo__fallback {
  display: none;
}

.hero-logo--fallback .hero-logo__img {
  display: none;
}

.hero-logo--fallback .hero-logo__fallback {
  display: flex;
}

.hero-title {
  width: 100%;
  max-width: 100%;

  margin: 55px auto 0;

  text-align: center;

  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Display",
    "Helvetica Neue",
    Arial,
    sans-serif;

  font-size: clamp(29px, 7vw, 40px);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.055em;

  text-transform: none;

  color: #ffffff;
  -webkit-text-fill-color: #ffffff;

  text-shadow:
    0 2px 12px rgba(0, 0, 0, 0.16);

  opacity: 0;
  transform: translateY(10px);
  filter: blur(3px);

  animation:
    heroTitleMinimal 0.9s
    cubic-bezier(0.16, 1, 0.3, 1)
    0.1s
    forwards;
}

@keyframes heroTitleMinimal {
  0% {
    opacity: 0;
    transform: translateY(10px);
    filter: blur(3px);
  }

  60% {
    opacity: 1;
    transform: translateY(-1px);
    filter: blur(0);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}
.hero-title__accent{
  display: block;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', var(--font-body);
  font-size: .32em;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-top: 10px;
  color: var(--paper-60);
}

.hero-subtitle {
  width: 100%;
  max-width: none;

  margin: 14px auto 0;

  text-align: center;
  white-space: nowrap;

  color: rgba(255, 255, 255, 0.58);

  font-size: clamp(11px, 3.1vw, 14px);
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: -0.015em;

  animation: fadeInUp 0.65s var(--ease) both;
  animation-delay: 0.16s;
}

.hero-visual{
  position: relative;
  width: 100%;
  max-width: 250px;
  margin: 35px auto 18px;
  animation: fadeInUp .7s var(--ease) both;
  animation-delay: .22s;
}

.hero-visual__glow{
  position: absolute;
  inset: 10% 10%;
  background: var(--grad-brand);
  filter: blur(60px);
  opacity: .28;
  border-radius: 50%;
}

.iphone-wrap{
  position:relative;
  width:100%;
  animation: floatSlow 5.5s ease-in-out infinite;
}

/* Reflet façon "sol studio" sous l'appareil, pour ancrer le visuel */
.iphone-wrap::after{
  content: "";
  position: absolute;
  left: 50%;
  bottom: -14px;
  width: 62%;
  height: 22px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(0,0,0,.55), transparent 72%);
  filter: blur(4px);
  z-index: -1;
}

.hero-visual__device{
  position: relative;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 34px rgba(0,0,0,.55)) drop-shadow(0 2px 0 rgba(255,255,255,.04));
}

.hero-stats{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  width: 100%;
  margin-top: 22px;
  animation: fadeInUp .7s var(--ease) both;
  animation-delay: .3s;
}
.stat{
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 6px;
  border-radius: var(--r-md);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
}
.stat strong{
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
}
.stat span{
  font-size: 10.5px;
  color: var(--paper-60);
  line-height: 1.3;
}

.action-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;

  margin-top: 28px;
}
.action-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;

  width: 100%;
  min-height: 86px;

  padding: 15px 17px;

  border-radius: 40px;

  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.07);

  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);

  text-align: left;
  overflow: hidden;

  opacity: 0;

  animation: cardIn 0.55s var(--ease) both;
  animation-delay: calc(var(--d) * 70ms + 120ms);

  will-change: transform;

  transition:
    transform 0.22s var(--ease),
    border-color 0.22s ease;
}

.action-card::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      100deg,
      rgba(0, 229, 255, 0.025),
      transparent 40%,
      rgba(255, 46, 146, 0.02)
    );

  pointer-events: none;
}

.action-card::after {

  content: "";

  position: absolute;

  inset: 0;

  z-index: 2;

  border-radius: 40px;

  padding: 1.5px;

  background: linear-gradient(135deg, var(--blue), var(--purple), var(--pink)) border-box;

  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);

  mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);

  -webkit-mask-composite: xor;

  mask-composite: exclude;

  box-shadow:

    0 0 16px 1px rgba(0, 229, 255, 0.28),

    0 0 26px 3px rgba(255, 46, 146, 0.16);

  opacity: 0;

  pointer-events: none;

  transition: opacity 0.28s ease;

}

@media (hover: hover) {
  .action-card:hover::after {
    opacity: 1;
  }
}

.action-card:active {
  transform: scale(0.985);
  background: rgba(255, 255, 255, 0.065);
  border-color: rgba(255, 255, 255, 0.12);
}

@media (hover: hover) {
  .action-card:hover {
    transform: translateY(-3px);
    background: rgba(0, 229, 255, 0.10);
    border-color: rgba(0, 229, 255, 0.30);
    box-shadow:
      0 10px 26px rgba(0, 229, 255, 0.14),
      inset 0 1px 0 rgba(255, 255, 255, 0.09);
  }
}

/* Icônes SVG */
.action-card__icon {
  position: relative;
  z-index: 1;

  width: 44px;
  height: 44px;
  flex: 0 0 44px;

  display: grid;
  place-items: center;

  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);

  color: rgba(255, 255, 255, 0.88);

  transition: all var(--fast) var(--ease);
}

.action-card__icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.action-card:nth-child(1) .action-card__icon { color: #00E5FF; background: rgba(0,229,255,.06); border-color: rgba(0,229,255,.12); }
.action-card:nth-child(2) .action-card__icon { color: #FF2E92; background: rgba(255,46,146,.06); border-color: rgba(255,46,146,.12); }
.action-card:nth-child(3) .action-card__icon { color: #8A2BE2; background: rgba(138,43,226,.06); border-color: rgba(138,43,226,.12); }
.action-card:nth-child(4) .action-card__icon { color: #00E5FF; background: rgba(0,229,255,.06); border-color: rgba(0,229,255,.12); }
.action-card:nth-child(5) .action-card__icon { color: #FF6A00; background: rgba(255,106,0,.06); border-color: rgba(255,106,0,.12); }
.action-card:nth-child(6) .action-card__icon { color: #ffffff; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }

/* Texte */
.action-card__body {
  position: relative;
  z-index: 1;

  display: flex;
  flex-direction: column;
  gap: 6px;

  flex: 1;
  min-width: 0;
}

.action-card__title {
  font-size: 15.5px;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.action-card__desc {
  font-size: 12px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.52);
}

/* Flèche */
.action-card__arrow {
  position: relative;
  z-index: 1;

  width: 17px;
  height: 17px;
  flex: 0 0 17px;

  color: rgba(255, 255, 255, 0.28);

  transition:
    transform 0.2s ease,
    color 0.2s ease;
}

.action-card:active .action-card__arrow {
  transform: translateX(2px);
  color: var(--blue);
}

.trust-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;

  width: fit-content;
  max-width: 92%;

  margin: 24px auto 20px;
  padding: 10px 24px;

  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0,0,0,.14), inset 0 1px 0 rgba(255,255,255,.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.trust-strip__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;

  color: rgba(255,255,255,.60);
  font-size: 11.5px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0;
  white-space: nowrap;
}

.trust-strip__item .icon {
  width: 14px;
  height: 14px;
  padding: 0;
  color: rgba(0,229,255,.70);
  background: none;
  border: none;
  border-radius: 0;
  flex-shrink: 0;
}

.trust-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  flex-shrink: 0;
}
/* ============================================================================
   10. CARTES PRODUIT & ACCESSOIRES
   Une seule source de vérité par élément (générées par buildProductCard() en JS,
   partagée entre Boutique, Accessoires et la recherche).
   ========================================================================= */
.product-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.product-card{
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 16px;
  border-radius: 24px;
  background: #1c1c1e;
  border: 1px solid var(--paper-14);
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  box-shadow:
    0 1px 0 rgba(255,255,255,.06) inset,
    0 12px 28px rgba(0,0,0,.35);
  transition:
    transform .25s var(--ease),
    border-color .25s ease,
    box-shadow .25s ease;
  display: flex;
  flex-direction: column;
}

.product-card::before{
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  top: -60px;
  right: -60px;
  background: var(--blue);
  filter: blur(60px);
  opacity: .08;
  pointer-events: none;
  border-radius: 50%;
}

.product-card:active{ transform: scale(.97); }

@media (hover: hover){
  .product-card:hover{
    border-color: rgba(255,255,255,.20);
    box-shadow:
      0 1px 0 rgba(255,255,255,.12) inset,
      0 20px 44px rgba(0,0,0,.48),
      0 3px 8px rgba(0,0,0,.3);
  }
}

.product-card__image{
  width: 100%;
  height: 150px;
  margin: 0 auto;
  padding: 6px;
  object-fit: contain;
  border-radius: 20px;
  overflow: hidden;

  background:
    radial-gradient(
      circle at 50% 30%,
      rgba(255,255,255,.13),
      rgba(255,255,255,.02) 70%
    );

  border: 1px solid rgba(255,255,255,.09);
  box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 8px 18px rgba(0,0,0,.22) inset;
}

.product-card__image.accessoire-image{
  height: 120px;
  padding: 10px;
}

.product-card__body{
  padding-top: 8px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card__body h3{
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  margin: 0;
  letter-spacing: -.01em;
}

.product-card__specs{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.product-card__specs span,
.product-card__grade-tag {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
.product-card__specs span{
  padding: 3px 8px;
  font-size: 9.5px;
  font-weight: 600;
  white-space: nowrap;
  border-radius: var(--r-full);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--paper-75);
}

.product-card__bottom{
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.product-card__bottom strong{
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -.01em;
  color: var(--blue);
}

.product-card__actions{
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

/* "Voir" reste discret : le vrai CTA (Ajouter) doit ressortir seul */
.product-card__actions .product-btn{
  flex: 1;
  padding: 8px 10px;
  font-size: 11px;
  background: transparent;
  color: var(--paper-75);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: none;
}
.product-card__actions .product-btn:active{
  background: var(--paper-06);
}

.cart-btn{
  width: auto;
  min-width: 100px;
  height: 40px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  border-radius: 999px;
  border: 1.5px solid rgba(0,229,255,.35);
  background: #1c1c1e;
  color: #00E5FF;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.01em;
  box-shadow: none;
  transition: background .15s ease, transform .15s ease;
}

.cart-btn:active{
  transform: scale(.96);
  background: rgba(0,229,255,.08);
}

.cart-btn:disabled,
.cart-btn--disabled{
  background: #1c1c1e;
  border-color: var(--paper-14);
  color: var(--paper-40);
  box-shadow: none;
  cursor: not-allowed;
  opacity: .6;
}
.btn--primary.cart-btn {
  background: rgba(0,229,255,.14);

  color: #fff;

  border: 1px solid rgba(0,229,255,.24);

  border-radius: 999px;

  box-shadow:
    0 8px 22px rgba(0,229,255,.10),
    inset 0 1px 0 rgba(255,255,255,.08);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
/* Badges stock cachés — trop basique, on garde juste la logique interne */
.stock-badge{
  display: none;
}

/* ============================================================================
   11. FORMULAIRES & CHAMPS
   ========================================================================= */
.form-block{ margin-bottom: 20px; }
.form-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-row .form-block{ margin-bottom: 0; }

.form-label{
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--paper-75);
  margin-bottom: 9px;
}

.input{

  width: 100%;

  min-height: 48px;

  padding: 14px 16px;

  border-radius: 18px;

  background: rgba(255, 255, 255, 0.055);

  border: 1px solid rgba(255, 255, 255, 0.09);

  color: #ffffff;

  font-size: 15px;

  font-weight: 500;

  letter-spacing: 0.01em;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05);

  transition:
    border-color var(--fast),
    background var(--fast),
    box-shadow var(--fast);

  appearance: none;

  -webkit-appearance: none;

}

.input::placeholder{

  color: rgba(255, 255, 255, 0.38);

}

.input:focus{

  outline: none;

  border-color: rgba(0, 229, 255, 0.55);

  background: rgba(0, 229, 255, 0.055);

  box-shadow:
    0 0 0 3px rgba(0, 229, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);

}

.select-wrap{ position: relative; }
.select-wrap select{ padding-right: 42px; }
.select-wrap__chevron{
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--paper-40);
  pointer-events: none;
}

.search-row{

  display: flex;

  align-items: center;

  gap: 12px;

  margin: 28px 0 30px;

  padding: 10px;

  border-radius: 26px;

  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.085),
      rgba(255,255,255,.035)
    );

  border: 1px solid rgba(255,255,255,.11);

  box-shadow:
    0 18px 45px rgba(0,0,0,.32),
    inset 0 1px 0 rgba(255,255,255,.07);

}

.search-row .input{

  flex: 1;

  min-width: 0;

  min-height: 52px;

  padding: 0 17px;

  border: none;

  border-radius: 18px;

  background: rgba(0,0,0,.20);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.035);

}

.search-row .input:focus{

  border: none;

  background: rgba(0,229,255,.045);

  box-shadow:
    0 0 0 1px rgba(0,229,255,.28),
    0 0 22px rgba(0,229,255,.08);

}

.search-row .btn--icon{

  flex: 0 0 52px;

  width: 52px;

  height: 52px;

  padding: 0;

  border-radius: 18px;

  background:
    linear-gradient(
      135deg,
      rgba(0,229,255,.20),
      rgba(130,80,255,.16)
    );

  border: 1px solid rgba(0,229,255,.24);

  box-shadow:
    0 8px 22px rgba(0,229,255,.12),
    inset 0 1px 0 rgba(255,255,255,.08);

}
/* ============================================================================
   12. RÉPARATION
   ========================================================================= */
.estimate-card{

  position: relative;

  overflow: hidden;

  margin-top: 22px;

  padding: 24px 20px;

  border-radius: 26px;

  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.085),
      rgba(255,255,255,.035)
    );

  border: 1px solid rgba(255,255,255,.10);

  box-shadow:
    0 18px 45px rgba(0,0,0,.32),
    inset 0 1px 0 rgba(255,255,255,.065);

  animation: fadeInUp var(--med) var(--ease) both;

}
.estimate-card::before{
  content: "";
  position: absolute;
  top: -40%; right: -20%;
  width: 60%; height: 140%;
  background: var(--grad-brand);
  opacity: .10;
  filter: blur(40px);
}
.estimate-card__head{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--paper-60);
  margin-bottom: 14px;
}
.estimate-row{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  border-top: 1px solid var(--paper-06);
  font-size: 14px;
}
.estimate-row:first-of-type{ border-top: none; }
.estimate-row strong{ font-size: 15.5px; font-family: var(--font-display); }
.estimate-card .btn{ margin-top: 16px; position: relative; }

.repair-card {

  padding: 18px;

  border-radius: var(--r-lg);

  background: rgba(255, 255, 255, 0.045);

  border: 1px solid rgba(0, 229, 255, 0.18);

  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.055);

  margin-bottom: 20px;

}
.repair-card h3 { margin-bottom: 15px; }

.repair-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.repair-item {
  padding: 16px;
  border-radius: var(--r-md);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(var(--glass-blur));
}
.repair-item span { font-weight: 700; }
.repair-item strong { color: var(--blue); }

/* ============================================================================
   13. RACHAT — WIZARD & STEPPER
   ========================================================================= */
.stepper{
  display: flex;
  gap: 5px;
  margin-bottom: 20px;
}
.stepper__dot{
  flex: 1;
  height: 4px;
  border-radius: var(--r-full);
  background: var(--paper-08);
  overflow: hidden;
}
.stepper__dot i{
  display: block;
  height: 100%;
  width: 0%;
  background: var(--grad-brand);
  transition: width var(--med) var(--ease);
}
.stepper__dot.is-done i,
.stepper__dot.is-active i{ width: 100%; }

.wizard-card{
  border-radius: var(--r-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 20px 18px;
}

.wizard-question__title{
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 4px;
  font-family: var(--font-display);
}
.wizard-question__hint{
  font-size: 12.5px;
  color: var(--paper-60);
  margin: 0 0 16px;
}

.option-tiles{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.option-tiles--list{ grid-template-columns: 1fr; }

.option-tile{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1.5px solid var(--paper-08);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--paper-75);
  transition: all var(--fast) var(--ease);
  text-align: left;
}
.option-tile__check{
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--paper-20);
  flex-shrink: 0;
  display: grid;
  place-items: center;
  transition: all var(--fast);
}
.option-tile__check .icon{ width: 11px; height: 11px; opacity: 0; transform: scale(.5); transition: all var(--fast); }
.option-tile.is-selected{
  border-color: var(--blue);
  background: var(--grad-brand-soft);
  color: var(--paper);
}
.option-tile.is-selected .option-tile__check{ background: var(--grad-brand); border-color: transparent; }
.option-tile.is-selected .option-tile__check .icon{ opacity: 1; transform: scale(1); color: var(--paper); }
.buyback-live-price{

  margin: 20px 0 8px;

  padding: 20px 16px;

  border-radius: var(--r-lg);

  background: rgba(255, 255, 255, 0.045);

  border: 1px solid rgba(0, 229, 255, 0.18);

  text-align: center;

  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.055);

  animation: fadeInUp .4s var(--ease) both;

}
.buyback-live-price__label{
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--blue);
  margin-bottom: 8px;
}
.buyback-live-price__value{
  display: block;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.03em;
  line-height: 1;
}
.buyback-live-price__hint{
  display: block;
  margin-top: 10px;
  font-size: 11.5px;
  color: var(--paper-50);
}
.wizard-nav{
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.wizard-nav .btn{ flex: 1; }

.upload-zone{
  border: 1.5px dashed var(--paper-20);
  border-radius: var(--r-md);
  padding: 26px 16px;
  text-align: center;
  color: var(--paper-60);
  font-size: 13px;
  cursor: pointer;
}
.upload-zone .icon{ color: var(--blue); margin-bottom: 8px; }
.upload-zone input{ display: none; }
.upload-preview{
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.upload-preview img{
  width: 56px; height: 56px;
  object-fit: cover;
  border-radius: var(--r-sm);
  border: 1px solid var(--paper-10);
}

.result-highlight{
  text-align: center;
  padding: 6px 0 10px;
}
.result-highlight span{
  display: block;
  font-size: 12px;
  color: var(--paper-60);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 8px;
}
.result-highlight strong{
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
}

/* ============================================================================
   14. RENDEZ-VOUS — CALENDRIER & RÉCAP
   ========================================================================= */
#btnConfirmBooking { margin-top: 25px; }

.recap-card{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: var(--grad-brand-soft);
  border: 1px solid rgba(0,229,255,.3);
  font-size: 13px;
  margin-bottom: 20px;
  line-height: 1.5;
}
.recap-card strong{ display: block; font-size: 13.5px; margin-bottom: 2px; }

.calendar{
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--paper-08);
  padding: 16px;
}
.calendar__head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.calendar__head strong{ font-size: 14.5px; font-family: var(--font-display); text-transform: capitalize; }
.calendar__nav{
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--paper-06);
  display: grid;
  place-items: center;
  border: none;
  color: var(--paper);
}
.calendar__nav:disabled{ opacity: .25; pointer-events: none; }

.calendar__weekdays, .calendar__grid{
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.calendar__weekdays{ margin-bottom: 6px; }
.calendar__weekdays span{
  text-align: center;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--paper-40);
}
.calendar__day{
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: transparent;
  border: none;
  color: var(--paper-75);
  font-size: 13px;
  font-weight: 600;
}
.calendar__day--muted{ visibility: hidden; }
.calendar__day--disabled{ color: var(--paper-20); pointer-events: none; }
.calendar__day--today{ box-shadow: inset 0 0 0 1.5px var(--paper-20); }
.calendar__day--selected{
  background: var(--grad-brand);
  color: var(--paper);
  box-shadow: var(--glow-blue);
}

/* ============================================================================
   15. SUIVI — TIMELINE
   ========================================================================= */
.timeline-card{
  border-radius: var(--r-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 20px 18px;
  margin-top: 18px;
  animation: fadeInUp var(--med) var(--ease) both;
}
.timeline-card__head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.timeline-card__head strong{ font-family: var(--font-display); font-size: 16px; }

.timeline{ position: relative; padding-left: 6px; }
.timeline__step{
  position: relative;
  display: flex;
  gap: 14px;
  padding-bottom: 22px;
}
.timeline__step:last-child{ padding-bottom: 0; }
.timeline__step:last-child .timeline__line{ display: none; }

.timeline__dot{
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1.5px solid var(--paper-14);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  z-index: 1;
}
.timeline__dot .icon{ width: 13px; height: 13px; opacity: 0; }
.timeline__line{
  position: absolute;
  left: 13px;
  top: 26px;
  bottom: -22px;
  width: 2px;
  background: var(--paper-08);
}
.timeline__content{ padding-top: 3px; }
.timeline__label{ font-size: 14px; font-weight: 700; color: var(--paper-40); }
.timeline__date{ font-size: 11.5px; color: var(--paper-40); margin-top: 2px; }

.timeline__step.is-done .timeline__dot{ background: var(--grad-brand); border-color: transparent; }
.timeline__step.is-done .timeline__dot .icon{ opacity: 1; color: var(--paper); }
.timeline__step.is-done .timeline__line{ background: var(--grad-brand); }
.timeline__step.is-done .timeline__label{ color: var(--paper); }

.timeline__step.is-current .timeline__dot{
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0,229,255,.15);
  animation: pulseDot 1.8s ease-in-out infinite;
}
.timeline__step.is-current .timeline__label{ color: var(--paper); }
.timeline__step.is-current .timeline__date{ color: var(--blue); }

.empty-state{
  text-align: center;
  padding: 40px 16px;
  color: var(--paper-60);
}
.empty-state .icon{ width: 34px; height: 34px; color: var(--paper-20); margin-bottom: 10px; }
.empty-state strong{ display: block; color: var(--paper); font-size: 15px; margin-bottom: 4px; }
.empty-state p{ font-size: 13px; margin: 0; }

/* ============================================================================
   16. CONTACT
   ========================================================================= */
.contact-availability {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 13px;
  border-radius: 18px;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.06);
  color: var(--paper-75);
  box-shadow:
    0 5px 16px rgba(0,0,0,.12),
    inset 0 1px 0 rgba(255,255,255,.025);
}
.contact-availability__status {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: #55d66b;
  box-shadow:
    0 0 0 3px rgba(85,214,107,.10);
}

.contact-availability__content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-availability__content strong {
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.contact-availability__content span {
  font-size: 10.5px;
  color: var(--paper-40);
  white-space: nowrap;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 24px auto 26px;
  width: 92%;
}

.contact-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  margin: 0;
  padding: 8px 14px 8px 10px;
  box-sizing: border-box;

  border-radius: var(--r-lg);
  background: #1c1c1e;
  border: 1px solid var(--glass-border);

  color: var(--paper);
  text-decoration: none;

  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.035);

  transition: transform 0.18s ease;
}


.contact-btn:active {
  transform: scale(0.985);
  background: rgba(255, 255, 255, 0.07);
}

@media (hover: hover) {
  .contact-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.10);
  }
}

.contact-btn__icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;

  display: grid;
  place-items: center;

  border-radius: var(--r-sm);
  background: var(--paper-06);
  border: 1px solid var(--paper-08);

  color: rgba(255, 255, 255, 0.82);
}

.contact-btn__icon .icon {
  width: 21px;
  height: 21px;
}

.contact-btn__icon--whatsapp {
  background: rgba(255, 255, 255, 0.065);
  color: rgba(255, 255, 255, 0.88);
}

.contact-btn__icon--phone {
  background: rgba(255, 255, 255, 0.065);
  color: rgba(255, 255, 255, 0.88);
}

.contact-btn__text {
  position: relative;
  z-index: 1;

  display: flex;
  flex-direction: column;
  gap: 3px;

  flex: 1;
  min-width: 0;
}

.contact-btn__text strong {
  font-size: 15px;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.contact-btn__text small {
  font-size: 12px;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.38);
}

.contact-btn__arrow {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;

  color: rgba(255, 255, 255, 0.22);

  transition:
    transform 0.18s ease,
    color 0.18s ease;
}

.contact-btn:active .contact-btn__arrow {
  transform: translateX(3px);
  color: rgba(255, 255, 255, 0.65);
}

.contact-location {
  width: 88%;
  margin: 0 auto;
  padding: 13px;

  border-radius: 22px;

  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);

  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.contact-location__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;

  gap: 10px;
  margin-bottom: 11px;
}

.contact-location__eyebrow {
  display: block;

  margin-bottom: 4px;

  color: var(--paper-40);

  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.11em;
}

.contact-location__head h3 {
  margin: 0;

  font-size: 15px;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.contact-location__head p {
  margin: 4px 0 0;

  color: var(--paper-40);

  font-size: 10.5px;
  line-height: 1.35;
}

.contact-location__pin {
  width: 32px;
  height: 32px;

  flex: 0 0 32px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background: rgba(0, 229, 255, 0.08);
  color: var(--blue);
}

.contact-location__pin .icon {
  width: 16px;
  height: 16px;
}

.map-frame {
  width: 100%;
  height: 135px;

  overflow: hidden;

  border-radius: 17px;
  border: 1px solid rgba(255, 255, 255, 0.07);

  filter: grayscale(0.35) contrast(1.04) brightness(0.88);

  background: #101014;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map-note {
  margin: 7px 2px 0;

  color: var(--paper-40);

  font-size: 10px;
}

.hours-card {
  margin-top: 12px;
  padding: 6px 14px;

  border-radius: 22px;

  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);

  box-shadow:
    0 7px 20px rgba(0, 0, 0, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}
/* ============================================================================
   17. FOOTER
   ========================================================================= */
.app-footer {
  position: relative;
  z-index: 1;

  max-width: 480px;
  margin: 0 auto;

  padding: 18px var(--gutter) calc(var(--dock-h) + 22px + env(safe-area-inset-bottom));

  border-top: none;
  background: #000000;
}
/* Ligne de séparation en haut */
.app-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent);
}

/* Carte glassmorphism */
/* Identité BIGO67 — discrète */

/* =========================================================
   FOOTER — SIGNATURE MINIMALISTE
   ========================================================= */

.app-footer__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;

  margin: 0;
  padding: 2px 0 12px;
}

.app-footer__mark {
  width: 18px;
  height: 18px;

  display: block;
  flex: 0 0 18px;

  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.app-footer__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.app-footer__fallback {
  display: none;
}

.app-footer__mark.is-fallback .app-footer__img {
  display: none;
}

.app-footer__mark.is-fallback .app-footer__fallback {
  display: block;
}

.app-footer__brand div {
  display: block;
}

.app-footer__brand strong {
  font-family: var(--font-display);
  font-size: 11px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,.48);
}

.app-footer__brand span {
  display: none;
}
.app-footer__social {
  display: flex;
  gap: 10px;
  padding-bottom: 18px;
}

.app-footer__social a {
  flex: 1;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  color: var(--paper-75);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
  transition: all var(--fast) var(--ease);
}

.app-footer__social a svg {
  width: 18px;
  height: 18px;
}

.app-footer__social a:first-child {
  color: #2AABEE;
  background: rgba(42,171,238,.08);
  border-color: rgba(42,171,238,.15);
}

.app-footer__social a:last-child {
  color: #E1306C;
  background: rgba(225,48,108,.08);
  border-color: rgba(225,48,108,.15);
}

.app-footer__social a:active { transform: scale(.97); }

@media (hover: hover) {
  .app-footer__social a:first-child:hover {
    background: rgba(42,171,238,.14);
    border-color: rgba(42,171,238,.25);
  }
  .app-footer__social a:last-child:hover {
    background: rgba(225,48,108,.14);
    border-color: rgba(225,48,108,.25);
  }
}

/* Legal */
.app-footer__legal {
  display: flex;
  flex-direction: column;
  gap: 0;
  font-size: 11px;
  color: var(--paper-40);
  padding-bottom: 20px;
}

.app-footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 16px;
}

.app-footer__legal-link {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  padding: 7px 14px;
  border-radius: 999px;
  color: var(--paper-50);
  font-size: 11px;
  font-family: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--fast);
  letter-spacing: 0.01em;
}

.app-footer__legal-link:hover,
.app-footer__legal-link:active {
  color: var(--paper-90);
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.12);
}

/* Ligne de séparation copyright */
.app-footer__legal-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.05);
}

.app-footer__legal-bottom span {
  font-size: 10.5px;
  color: rgba(255,255,255,.25);
  font-weight: 500;
}

.app-footer__admin {
  background: none;
  border: none;
  color: rgba(255,255,255,.20);
  font-size: 10.5px;
  font-weight: 500;
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--fast);
}

.app-footer__admin:hover,
.app-footer__admin:active {
  color: rgba(255,255,255,.45);
  background: rgba(255,255,255,.04);
}
/* ============================================================================
   18. DOCK — NAVIGATION FLOTTANTE
   ========================================================================== */

.dock {
  position: fixed;
  left: 50%;
  bottom: calc(14px + env(safe-area-inset-bottom));
  transform: translateX(-50%);

  width: calc(100% - 28px);
  max-width: 420px;

  display: flex;
  justify-content: space-between;

  padding: 7px;

  border-radius: 999px;

  /* Noir profond et uniforme */
  background: rgba(12, 12, 15, 0.96);

  /* Contour très léger */
  border: 1px solid rgba(255, 255, 255, 0.07);

  /* Profondeur douce */
  box-shadow:
    0 14px 38px rgba(0, 0, 0, 0.45),
    0 4px 12px rgba(0, 0, 0, 0.18);

  /* Aucun reflet / aucun effet verre */
  backdrop-filter: none;
  -webkit-backdrop-filter: none;

  overflow: hidden;
  isolation: isolate;

  z-index: 50;

  transition: transform 0.35s ease;
}

.dock.hide {
  transform: translate(-50%, 120px);
}

/* Aucun reflet */
.dock::before,
.dock::after {
  content: none;
}
.dock__item{
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  background: none;
  border: none;
  color: var(--paper-40);
  padding: 9px 4px;
  border-radius: var(--r-full);
  font-size: 9.5px;
  font-weight: 600;
  transition: all var(--med) var(--ease);
}
.dock__item .icon{ width: 19px; height: 19px; transition: transform var(--med) var(--ease); }
.dock__emoji{ font-size: 17px; line-height: 19px; filter: grayscale(1) opacity(.55); transition: filter var(--med); }

.dock__item.is-active{
  color: var(--paper);
  background: var(--paper-08);
}
.dock__item.is-active .icon{ color: var(--blue); transform: translateY(-1px); }
.dock__item.is-active .dock__emoji{ filter: none; transform: translateY(-1px); }

/* Badge Panier Dock/Header */
.cart-icon {
  position: relative;
  display: inline-flex;
  color: var(--blue);
}
.cart-badge {
  position: absolute;
  top: -9px;
  right: -12px;
  min-width: 20px;
  height: 20px;
  background: #ff3b30;
  color: white;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #000;
}

/* ============================================================================
   19. PANIER
   ========================================================================= */

#panierList {
  display: flex;
  flex-direction: column;
  gap: 12px;

  padding: 4px 0;
}

#panierTotal {
  margin-top: 18px;
}

/* Carte produit */
.cart-item {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px;
  border-radius: var(--r-lg);
  background: #1c1c1e;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.cart-item::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: var(--glass-bg-strong);
  box-shadow: inset 0 0 0 1px var(--paper-14);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.cart-item:hover::after {
  opacity: 1;
}

/* Image */
.cart-item img {
  position: relative;
  z-index: 1;
  width: 88px;
  height: 88px;
  flex: 0 0 88px;
  object-fit: contain;
  padding: 10px;
  border-radius: var(--r-sm);
  background: var(--paper-04);
  border: 1px solid var(--paper-06);
}

/* Contenu */
.cart-item__content {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.cart-item h3 {
  margin: 0;
  color: #fff;
  font-size: 14.5px;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.cart-item__content span {
  display: inline;
  color: var(--paper-40);
  font-size: 11.5px;
  line-height: 1.4;
}

.cart-item__content span + span::before {
  content: "•";
  margin: 0 5px;
  color: var(--paper-20);
}

.cart-item strong {
  display: block;
  margin-top: 8px;
  color: var(--blue);
  font-size: 16px;
  font-weight: 750;
  letter-spacing: -0.02em;
}

/* Quantité — pill segmentée */
.cart-quantity {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-top: 10px;
  padding: 3px;
  width: fit-content;
  border-radius: var(--r-full);
  background: var(--paper-06);
  border: 1px solid var(--paper-08);
}

.cart-quantity button {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  padding: 0;
  border: none;
  border-radius: var(--r-full);
  background: transparent;
  color: var(--paper-75);
  font-size: 14px;
  transition: background 0.15s ease, transform 0.15s ease;
}

.cart-quantity button:active {
  transform: scale(0.88);
  background: var(--paper-10);
}

.cart-quantity span {
  width: 26px;
  display: grid;
  place-items: center;
  margin: 0;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

/* Supprimer */
.remove-cart {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  align-self: flex-start;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--paper-06);
  border-radius: var(--r-full);
  background: var(--paper-04);
  color: var(--paper-40);
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.remove-cart:hover {
  color: #ff6b8e;
  background: rgba(255, 46, 146, 0.08);
}

.remove-cart:active {
  transform: scale(0.92);
  color: #ff6b8e;
  background: rgba(255, 46, 146, 0.08);
}

/* Espacement du bloc récap (la carte visuelle est maintenant sur .cart-summary) */
#panierTotal {
  margin-top: 18px;
}

/* Page détail produit */
.product-page {
  padding: 20px;
  max-width: 520px;
  margin: 10px auto;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0) 40%), var(--surface);
  border-radius: 28px;
  border: 1px solid var(--paper-08);
  box-shadow: 0 20px 50px rgba(0,0,0,.4);
  color: white;
}
.product-page .btn {
  width: 100%;
  height: 52px;
  border-radius: var(--r-md);
  font-size: 16px;
  font-weight: 700;
  margin-top: 12px;
}
.product-page__image {
  position: relative;
  width: 100%;
  max-height: 260px;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background:
    radial-gradient(circle at 50% 38%, rgba(0,229,255,.08), transparent 60%),
    linear-gradient(145deg, var(--surface-2), #1c1c1e);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  padding: 14px;
  margin-bottom: 14px;
  box-shadow: 0 1px 0 rgba(255,255,255,.04) inset;
}
.product-page h1 {
  font-size: 28px;
  letter-spacing: -0.5px;
  font-weight: 800;
  margin: 0 0 8px;
  color: white;
}
.product-page__badge{
  display: inline-flex;
  padding: 5px 12px;
  border-radius: var(--r-full);
  background: var(--grad-brand-soft);
  border: 1px solid rgba(0,229,255,.3);
  font-size: 11px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 12px;
}
.product-page__price {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -.02em;
  background: linear-gradient(90deg, var(--blue), var(--pink));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
}
.product-page__info { margin: 15px 0; }
.product-page__description h3{
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--paper-60);
  font-weight: 700;
  margin-bottom: 8px;
}
.product-page__description p{
  color: var(--paper-75);
  line-height: 1.6;
  font-size: 14.5px;
}
.product-page__specs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.product-page__specs span {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: var(--surface-2);
  color: white;
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 600;
}

/* Barre d'action flottante en bas, façon Apple Store, au-dessus du dock */
.product-page__buttons {
  position: sticky;
  bottom: calc(var(--dock-h) + 14px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
  padding: 12px;
  border-radius: var(--r-lg);
  background: rgba(15,16,20,.78);
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 12px 30px rgba(0,0,0,.4);
}
.product-page__buttons .btn{ margin-top: 0; }

.accessoire-detail-image {
  width: 75%;
  max-height: 350px;
  margin: auto;
  display: block;
  object-fit: contain;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--paper);
  cursor: pointer;
  margin-bottom: 16px;
  overflow: hidden;
  transition: transform var(--fast) var(--ease), background var(--fast), border-color var(--fast), box-shadow var(--fast);

  /* Cache le texte "← Retour" venant du HTML : on ne garde que la pastille */
  font-size: 0;
  line-height: 0;
  color: transparent;
}

/* Flèche dessinée en pur CSS (deux bordures + rotation), affichée par-dessus le texte caché */
.back-btn::before{
  content: "";
  display: block;
  width: 9px;
  height: 9px;
  border-left: 2px solid var(--paper);
  border-bottom: 2px solid var(--paper);
  transform: rotate(45deg) translateX(1px);
}

.back-btn:active{
  transform: scale(.9);
  background: var(--paper-10);
}

@media (hover: hover){
  .back-btn:hover{
    border-color: rgba(0,229,255,.4);
    box-shadow: 0 0 14px rgba(0,229,255,.22);
  }
}
/* ============================================================================
   19b. RÉCAPITULATIF DE COMMANDE (panier)
   ========================================================================= */
.cart-summary {
  margin-top: 4px;
  padding: 22px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.cart-summary h3 {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--paper-40);
}

.summary-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  font-size: 14px;
  color: var(--paper-60);
}

.summary-line strong {
  color: #fff;
  font-weight: 600;
}

.summary-line.info strong {
  padding: 3px 9px;
  border-radius: var(--r-full);
  background: rgba(0, 229, 255, 0.10);
  color: var(--blue);
  font-weight: 700;
  font-size: 11px;
}

.cart-summary hr {
  border: none;
  border-top: 1px solid var(--paper-08);
  margin: 6px 0 14px;
}

.summary-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 4px;
}

.summary-total span {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.summary-total strong {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--blue);
  filter: drop-shadow(0 1px 8px rgba(0, 229, 255, 0.18));
}

.checkout-btn {
  width: 100%;
  min-height: 52px;
  margin-top: 18px;
  border-radius: var(--r-md);
  font-size: 15px;
  font-weight: 700;
}
/* ============================================================================
   19c. PAGE GRADES QUALITÉ
   ========================================================================= */
.product-card__grade-tag {
  padding: 2px 6px;
  border-radius: var(--r-full);
  font-size: 9.5px;
  font-weight: 700;
}
.product-card__specs .product-card__grade-tag--essentiel {
  background: var(--paper-08);
  color: var(--paper-75);
}

.product-card__specs .product-card__grade-tag--bon {
  background: rgba(0, 229, 255, 0.10);
  color: var(--blue);
}

.product-card__specs .product-card__grade-tag--premium {
  background: rgba(255, 200, 70, 0.14);
  color: #ffc846;
}
   .grade-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.grade-card {
  padding: 20px;
  border-radius: var(--r-lg);
  background: #1c1c1e;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.grade-card--essentiel {
  border-color: var(--paper-14);
}

.grade-card--bon {
  border-color: rgba(0, 229, 255, 0.18);
}

.grade-card--premium {
  border-color: rgba(255, 200, 70, 0.22);
}

.grade-card__head {
  margin-bottom: 10px;
}

.grade-card__badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: var(--r-full);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.grade-card__badge--essentiel {
  background: var(--paper-08);
  color: var(--paper-75);
  border: 1px solid var(--paper-14);
}

.grade-card__badge--bon {
  background: rgba(0, 229, 255, 0.10);
  color: var(--blue);
  border: 1px solid rgba(0, 229, 255, 0.25);
}

.grade-card__badge--premium {
  background: linear-gradient(135deg, rgba(255, 200, 70, 0.22), rgba(255, 200, 70, 0.06));
  color: #ffc846;
  border: 1px solid rgba(255, 200, 70, 0.35);
}

.grade-card__desc {
  margin: 0 0 12px;
  color: var(--paper-60);
  font-size: 13.5px;
  line-height: 1.5;
}

.grade-card__points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.grade-card__points li {
  position: relative;
  padding-left: 18px;
  color: var(--paper-75);
  font-size: 13px;
  line-height: 1.4;
}

.grade-card__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--paper-60);
}

.grade-card--essentiel .grade-card__points li::before {
  background: var(--paper-60);
}

.grade-card--bon .grade-card__points li::before {
  background: var(--blue);
}

.grade-card--premium .grade-card__points li::before {
  background: #ffc846;
}
/* ============================================================================
   20. SÉCURITÉ PAIEMENT STRIPE
   ========================================================================= */
.payment-security {
  margin-top: 14px;
  padding: 16px 18px;
  background: var(--paper-04);
  color: white;
  border-radius: var(--r-md);
  border: 1px solid var(--paper-08);
}
.security-title {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 6px;
}
.payment-security p {
  color: var(--paper-60);
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}
.security-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.security-items span {
  background: var(--surface-2);
  padding: 7px 12px;
  border-radius: var(--r-full);
  font-size: 11.5px;
  font-weight: 600;
}

/* ============================================================================
   21. ADMIN
   ========================================================================= */

.admin-login {
  width: 100%;
  max-width: 460px;
  margin: 20px auto 0;
  padding: 28px;
  box-sizing: border-box;
  text-align: center;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--paper-08);
}

.admin-login__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  border-radius: 18px;
  background: var(--paper-06);
  border: 1px solid var(--paper-10);
  display: grid;
  place-items: center;
  color: var(--blue);
}

.admin-login .form-block {
  text-align: left;
}

.admin-note {
  font-size: 12.5px;
  margin: 10px 0 0;
}

.admin-note--error {
  color: var(--pink);
}

.admin-hint {
  font-size: 12px;
  color: var(--paper-40);
  margin-top: 14px;
}

.admin-hint code {
  background: var(--paper-08);
  padding: 2px 7px;
  border-radius: 5px;
  color: var(--paper-75);
  font-family: 'SF Mono', Menlo, monospace;
}


/* --------------------------------------------------------------------------
   TABLEAU DE BORD
   -------------------------------------------------------------------------- */

.admin-dashboard {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}

.admin-overview {
  margin-bottom: 24px;
}

.admin-overview__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.admin-overview__eyebrow {
  display: block;
  margin-bottom: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--paper-40);
}

.admin-overview__header h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -.025em;
  color: var(--paper);
}


/* --------------------------------------------------------------------------
   NOTIFICATIONS
   -------------------------------------------------------------------------- */

.admin-notif-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  padding: 8px 13px;
  border-radius: 11px;
  border: 1px solid var(--paper-10);
  background: var(--paper-06);
  color: var(--paper-75);
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
}

.admin-notif-button .icon {
  width: 16px;
  height: 16px;
}

.admin-notif-status {
  margin: 9px 0 0;
  font-size: 11px;
  line-height: 1.4;
  color: var(--paper-40);
}

.admin-notif-list {
  margin-top: 10px;
  padding: 10px;
  border-radius: 14px;
  background: var(--paper-04);
  border: 1px solid var(--paper-08);
}


/* --------------------------------------------------------------------------
   STATISTIQUES
   -------------------------------------------------------------------------- */

.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0;
}

.admin-stat-card {
  min-height: 92px;
  padding: 18px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--paper-08);
}

.admin-stat-card strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1;
}

.admin-stat-card span {
  font-size: 12px;
  line-height: 1.35;
  color: var(--paper-60);
}


/* --------------------------------------------------------------------------
   ONGLETS ADMIN
   -------------------------------------------------------------------------- */

.admin-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  width: 100%;
  margin-bottom: 20px;
  padding: 5px;
  box-sizing: border-box;
  border-radius: 15px;
  background: var(--paper-04);
  border: 1px solid var(--paper-06);
}

.admin-tab {
  min-height: 44px;
  padding: 10px 12px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: var(--paper-40);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background .2s ease,
    color .2s ease;
}

.admin-tab.is-active {
  background: var(--surface);
  color: var(--paper);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
}
.admin-tab.is-active
.admin-panels {
  width: 100%;
}


/* --------------------------------------------------------------------------
   LISTES
   -------------------------------------------------------------------------- */

.admin-table {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.admin-row {
  width: 100%;
  box-sizing: border-box;
  padding: 20px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--paper-08);
}

.admin-row__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.admin-row__title {
  font-size: 15px;
  line-height: 1.35;
  font-weight: 700;
}

.admin-row__meta {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--paper-60);
}


/* --------------------------------------------------------------------------
   ACTIONS
   -------------------------------------------------------------------------- */

.admin-row__actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
  margin-top: 16px;
}

.admin-row__actions button {
  min-height: 42px;
  padding: 10px 12px;
  box-sizing: border-box;
  border-radius: 11px;
  border: 1px solid var(--paper-10);
  background: var(--paper-06);
  color: var(--paper-75);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.admin-row__actions button.danger {
  color: var(--pink);
  border-color: rgba(255, 46, 146, .3);
}

.admin-row__price-input {
  width: 100px;
  padding: 9px 10px;
  border-radius: 9px;
  border: 1px solid var(--paper-10);
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  font-weight: 700;
  text-align: right;
}


/* --------------------------------------------------------------------------
   STATUTS
   -------------------------------------------------------------------------- */

.status-pill {
  flex-shrink: 0;
  padding: 5px 10px;
  border-radius: var(--r-full);
  font-size: 10.5px;
  font-weight: 700;
}

.status-pill--blue {
  background: rgba(0, 229, 255, .16);
  color: var(--blue);
}

.status-pill--pink {
  background: rgba(255, 46, 146, .16);
  color: var(--pink);
}

.status-pill--muted {
  background: var(--paper-08);
  color: var(--paper-40);
}


/* --------------------------------------------------------------------------
   PIED DU TABLEAU DE BORD
   -------------------------------------------------------------------------- */

.admin-footer {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--paper-08);
}


/* --------------------------------------------------------------------------
   MOBILE
   -------------------------------------------------------------------------- */

@media (max-width: 600px) {

  .admin-dashboard {
    max-width: 100%;
  }

  .admin-overview__header {
    align-items: flex-start;
  }

  .admin-overview__header h3 {
    font-size: 20px;
  }

  .admin-stats {
    gap: 8px;
  }

  .admin-stat-card {
    min-height: 82px;
    padding: 14px;
  }

  .admin-stat-card strong {
    font-size: 22px;
  }

  .admin-stat-card span {
    font-size: 11px;
  }

  .admin-row {
    padding: 17px;
  }

  .admin-row__title {
    font-size: 14px;
  }

  .admin-row__meta {
    font-size: 12px;
  }

}


@media (max-width: 420px) {

  .admin-login {
    padding: 22px 18px;
  }

  .admin-notif-button span {
    display: none;
  }

  .admin-notif-button {
    width: 38px;
    height: 38px;
    min-height: 38px;
    padding: 0;
  }

  .admin-stat-card {
    padding: 12px;
  }

  .admin-stat-card strong {
    font-size: 20px;
  }

  .admin-tab {
    min-height: 42px;
    padding: 9px 7px;
    font-size: 11px;
  }

  .admin-row__actions {
    grid-template-columns: 1fr;
  }

}


@media (max-width: 340px) {

  .admin-stats {
    grid-template-columns: 1fr 1fr;
  }

  .admin-stat-card:last-child {
    grid-column: 1 / -1;
  }

}
/* ============================================================================
   22. TOAST
   ========================================================================= */
.toast {
  position: fixed;

  left: 50%;
  bottom: calc(var(--dock-h) + 28px + env(safe-area-inset-bottom));

  z-index: 100;

  display: flex;
  align-items: center;
  gap: 9px;

  width: max-content;
  max-width: calc(100% - 40px);

  padding: 10px 15px;

  border-radius: 999px;

  background: rgba(22, 22, 25, 0.86);

  border: 1px solid rgba(255, 255, 255, 0.11);

  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);

  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);

  color: #fff;

  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -0.01em;

  opacity: 0;
  transform: translateX(-50%) translateY(12px) scale(0.94);

  pointer-events: none;

  transition:
    opacity 0.28s ease,
    transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.is-show {
  opacity: 1;

  transform:
    translateX(-50%)
    translateY(0)
    scale(1);
}

/* Petit indicateur de validation */
.toast::before {
  content: "✓";

  width: 21px;
  height: 21px;

  display: grid;
  place-items: center;

  flex: 0 0 21px;

  border-radius: 50%;

  background: rgba(85, 214, 107, 0.14);

  color: #72e083;

  font-size: 12px;
  font-weight: 800;
}

.toast .icon{ width: 16px; height: 16px; color: var(--blue); }

/* ============================================================================
   23. ANIMATIONS
   ========================================================================= */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

@keyframes pulseDot {
  0%, 100% {
    box-shadow: 0 0 0 4px rgba(0,229,255,.15);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(0,229,255,.05);
  }
}

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

.spin {
  animation: spin 1s linear infinite;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

.skeleton {
  background:
    linear-gradient(
      90deg,
      var(--paper-04) 25%,
      var(--paper-10) 37%,
      var(--paper-04) 63%
    );

  background-size: 400% 100%;
  animation: shimmer 1.6s ease infinite;
  border-radius: var(--r-sm);
}

/* ============================================================================
   24. RESPONSIVE
   ========================================================================= */

@media (min-width: 481px) {
  body {
    background: linear-gradient(160deg, #050506, #0a0a0c);
  }

  #app {
    box-shadow: 0 0 80px rgba(0,0,0,.6);
  }
}

@media (max-width: 380px) {
  :root {
    --gutter: 16px;
  }

  .hero-title {
    font-size: 38px;
  }

  .action-card__icon {
    width: 44px;
    height: 44px;
    font-size: 22px;
  }

  .contact-actions {
    gap: 8px;
  }

  .product-grid {
    gap: 9px;
  }
}

@media (max-width: 340px) {
  .chip-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .chip-grid--icons {
    grid-template-columns: repeat(3, 1fr);
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ============================================================================
   25. ACCESSIBILITÉ & SCROLLBAR
   ========================================================================= */

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

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--paper-14);
  border-radius: var(--r-full);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }

  .bg-glow--pink {
    animation: none;
  }
}

/* ============================================================================
   HERO
   ========================================================================= */

.pill--eyebrow {
  display: none !important;
}

.hero-message {
  position: relative;

  width: max-content;
  max-width: none;

  margin: 14px auto 0;

  text-align: center;
  white-space: nowrap;

  color: rgba(255,255,255,.55);

  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.03em;

  opacity: 0;
  filter: blur(5px);

  animation:
    heroMessageIn 0.85s
    cubic-bezier(0.16, 1, 0.3, 1)
    0.55s
    forwards;
}


@keyframes heroMessageIn {
  0% {
    opacity: 0;
    transform: translateY(16px) scale(.96);
    filter: blur(5px);
  }

  60% {
    opacity: 1;
    transform: translateY(-2px) scale(1.01);
    filter: blur(0);
  }

  100% {
    opacity: .92;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* ============================================================================
   26. PAGES JURIDIQUES
   ========================================================================= */
.legal-content {
  padding: 0 2px 40px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--paper-75);
}

.legal-content .legal-version {
  font-size: 12px;
  color: var(--paper-40);
  margin-bottom: 8px;
}

.legal-content .legal-disclaimer {
  font-size: 12.5px;
  color: var(--paper-60);
  background: var(--paper-04);
  border: 1px solid var(--paper-08);
  border-radius: var(--r-md);
  padding: 12px 14px;
  margin-bottom: 28px;
}

.legal-content h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--paper);
  margin: 28px 0 12px;
  letter-spacing: -0.02em;
}

.legal-content h4 {
  font-size: 14.5px;
  font-weight: 650;
  color: var(--paper);
  margin: 20px 0 8px;
}

.legal-content p {
  margin: 0 0 12px;
}

.legal-content ul {
  margin: 0 0 16px;
  padding-left: 18px;
}

.legal-content li {
  margin-bottom: 6px;
}

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

.legal-content strong {
  color: var(--paper);
  font-weight: 650;
}
/* Placeholder grisé dans les inputs */
.input::placeholder {
  color: rgba(255, 255, 255, 0.35) !important;
  opacity: 1;
}

/* Première option du select (l'exemple) grisée */
.input option:first-child {
  color: rgba(255, 255, 255, 0.35);
}

/* Options normales du select en blanc */
.input option:not(:first-child) {
  color: #fff;
}
select.input.is-placeholder {
  color: rgba(255, 255, 255, 0.35);
}
select.input {
  color: #fff;
}
select.input option {
  color: #fff;
}
select.input option:first-child {
  color: rgba(255, 255, 255, 0.35);
}
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  position: relative;
  min-width: 300px;
}

.close {
  position: absolute;
  top: 10px;
  right: 15px;
  cursor: pointer;
  font-size: 20px;
}
/* =========================================================
   POPUP ESTIMATION RÉPARATION
   ========================================================= */

.repair-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.repair-modal[hidden] {
  display: none !important;
}

.repair-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.repair-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 370px;
  max-height: calc(100vh - 60px);
  overflow-y: auto;
  background: #141518;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 26px;
  padding: 24px 20px 20px;
  box-sizing: border-box;
  box-shadow:
    0 25px 70px rgba(0, 0, 0, 0.65),
    0 0 40px rgba(0, 229, 255, 0.08);
  animation: repairModalIn 0.22s ease-out;
}

@keyframes repairModalIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.repair-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    background 0.18s ease;
}

.repair-modal__close:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: scale(1.05);
}

.repair-modal__close:active {
  transform: scale(0.94);
}

.repair-modal__close .icon {
  width: 18px;
  height: 18px;
}

.repair-modal__content {
  text-align: center;
}

.repair-modal__content h3 {
  margin: 8px 40px 22px;
  color: #fff;
  font-size: 21px;
  line-height: 1.25;
}

.repair-modal__details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
  padding: 15px;
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  text-align: left;
}

.repair-modal__details > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.repair-modal__details span {
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
}

.repair-modal__details strong {
  color: #fff;
  font-size: 14px;
  text-align: right;
}

.repair-modal .estimate-card__price {
  margin: 18px 0;
  font-size: 30px;
  font-weight: 800;
  color: #00e5ff;
  line-height: 1.15;
}

.repair-modal .estimate-card__note {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 480px) {

  .repair-modal {
    padding: 14px;
  }

  .repair-modal__dialog {
    max-height: calc(100vh - 28px);
    border-radius: 23px;
    padding: 28px 18px 20px;
  }

  .repair-modal__content h3 {
    font-size: 19px;
  }

  .repair-modal .estimate-card__price {
    font-size: 28px;
  }
}
/* =========================================================
   POPUP ESTIMATION — STYLE PREMIUM
   ========================================================= */

.repair-modal__dialog {
  background:
    radial-gradient(
      circle at 50% -20%,
      rgba(0, 229, 255, 0.12),
      transparent 45%
    ),
    linear-gradient(
      180deg,
      #191b20 0%,
      #121316 100%
    );

  border: 1px solid rgba(255, 255, 255, 0.12);

  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(255, 255, 255, 0.025) inset,
    0 0 50px rgba(0, 229, 255, 0.07);
}

/* Petite ligne lumineuse en haut */
.repair-modal__dialog::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 229, 255, 0.8),
    transparent
  );

  opacity: 0.8;
}

/* Titre */
.repair-modal__content h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

/* Badge ESTIMATION */
.repair-modal__content .estimate-card__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 6px 11px;

  border-radius: 999px;

  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.18);

  color: #00e5ff;

  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

/* Bloc informations */
.repair-modal__details {
  margin-top: 4px;
  padding: 16px;

  background: rgba(255, 255, 255, 0.025);

  border: 1px solid rgba(255, 255, 255, 0.08);

  border-radius: 18px;

  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

/* Séparation entre modèle et réparation */
.repair-modal__details > div + div {
  padding-top: 11px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Labels */
.repair-modal__details span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}

/* Valeurs */
.repair-modal__details strong {
  font-size: 13px;
  font-weight: 650;
  color: rgba(255, 255, 255, 0.9);
}

/* Zone du prix */
.repair-modal .estimate-card__price {
  margin: 22px 0 8px;

  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.045em;

  color: #fff;

  text-shadow:
    0 0 25px rgba(0, 229, 255, 0.22);
}

/* "À partir de" en cyan */
.repair-modal .estimate-card__price strong {
  color: #00e5ff;
}

/* Texte sous le prix */
.repair-modal .estimate-card__note {
  max-width: 310px;
  margin: 0 auto 22px;

  font-size: 11.5px;
  line-height: 1.55;

  color: rgba(255, 255, 255, 0.42);
}

/* Bouton rendez-vous */
#btnRepairModalAppointment {
  min-height: 50px;

  border-radius: 15px;

  font-weight: 700;
  letter-spacing: -0.01em;

  box-shadow:
    0 8px 25px rgba(0, 229, 255, 0.12);
}

/* Bouton fermer */
.repair-modal__close {
  width: 34px;
  height: 34px;

  background: rgba(255, 255, 255, 0.045);

  border-color: rgba(255, 255, 255, 0.09);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.repair-modal__close .icon {
  opacity: 0.7;
}

/* Fond derrière la popup */
.repair-modal__backdrop {
  background: rgba(3, 4, 7, 0.82);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
/* =========================================================
   BIGO67 — FINALISER COMMANDE / PREMIUM IOS
   ========================================================= */

#view-commande-contact {
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  padding: 10px 16px 110px;
}

.commande-back {
  appearance: none;
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px 6px 4px 0;
  margin: 0 0 28px;
  color: #2daeff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.commande-back .icon {
  width: 22px;
  height: 22px;
}

.commande-back:active {
  opacity: .55;
  transform: scale(.97);
}

.commande-hero {
  margin-bottom: 28px;
}

.commande-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  margin-bottom: 12px;
  border: 1px solid rgba(45, 174, 255, .22);
  border-radius: 999px;
  background: rgba(45, 174, 255, .08);
  color: #2daeff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
}

.commande-hero h2 {
  margin: 0 0 9px;
  font-family: 'Exo 2', sans-serif;
  font-size: clamp(30px, 8vw, 40px);
  line-height: 1.05;
  letter-spacing: -1px;
  font-weight: 800;
  color: #fff;
}

.commande-hero p {
  max-width: 500px;
  margin: 0;
  color: rgba(255,255,255,.56);
  font-size: 15px;
  line-height: 1.55;
}

.commande-delivery {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px;
  margin-bottom: 28px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  background: linear-gradient(
    135deg,
    rgba(45,174,255,.10),
    rgba(255,46,166,.045)
  );
  box-shadow:
    0 14px 35px rgba(0,0,0,.22),
    inset 0 1px 0 rgba(255,255,255,.05);
}

.commande-delivery__icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #2daeff;
  background: rgba(45,174,255,.11);
  border: 1px solid rgba(45,174,255,.14);
}

.commande-delivery__icon .icon {
  width: 22px;
  height: 22px;
}

.commande-delivery__content {
  min-width: 0;
  flex: 1;
}

.commande-delivery__content > span {
  display: block;
  margin-bottom: 3px;
  color: #2daeff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .9px;
}

.commande-delivery__content strong {
  display: block;
  margin-bottom: 3px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.commande-delivery__content p {
  margin: 0;
  color: rgba(255,255,255,.46);
  font-size: 12px;
  line-height: 1.4;
}

.commande-delivery__arrow {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  color: rgba(255,255,255,.22);
}

.commande-section-title {
  margin: 0 4px 10px;
}

.commande-section-title span {
  color: rgba(255,255,255,.38);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
}

.commande-contacts {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.commande-contact {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  min-height: 62px;
  padding: 9px 12px;
  box-sizing: border-box;

  border: 1px solid rgba(255,255,255,0.07);
border-radius: 18px;
background: rgba(255,255,255,0.045);

  color: #fff;
  text-decoration: none;

  box-shadow:
  0 4px 14px rgba(0,0,0,0.16),
  inset 0 1px 0 rgba(255,255,255,0.035);

  -webkit-tap-highlight-color: transparent;

  transition:
    transform 0.18s cubic-bezier(.2,.8,.2,1),
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}


.commande-contact:active {
  transform: scale(0.985);
  background: rgba(255,255,255,0.075);
  border-color: rgba(255,255,255,0.10);
  box-shadow:
    0 2px 8px rgba(0,0,0,0.18),
    inset 0 1px 0 rgba(255,255,255,0.04);
}
.commande-contact__icon {
  flex: 0 0 auto;

  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 14px;

  font-size: 18px;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 3px 10px rgba(0,0,0,0.16);
}

.commande-contact__icon .icon {
  width: 21px;
  height: 21px;
}

.commande-contact__icon--sms {
  background: rgba(45,174,255,.12);
  color: #2daeff;
}

.commande-contact__icon--phone {
  background: rgba(48,209,88,.11);
  color: #30d158;
}

.commande-contact__icon--whatsapp {
  background: rgba(37,211,102,.11);
  color: #25d366;
}

.commande-contact__icon--snapchat {
  background: rgba(255,214,10,.10);
}

.commande-contact__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.commande-contact__body strong {
  color: #fff;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -.15px;
}

.commande-contact__body small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(255,255,255,.43);
  font-size: 12px;
}

.commande-contact__arrow {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  color: rgba(255,255,255,.25);
}

.commande-contact__arrow .icon {
  width: 17px;
  height: 17px;
}

.commande-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 20px 10px 0;
  color: rgba(255,255,255,.32);
  font-size: 11px;
  line-height: 1.4;
  text-align: center;
}

.commande-note .icon {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
}

@media (max-width: 480px) {

  #view-commande-contact {
    padding: 8px 14px calc(100px + env(safe-area-inset-bottom));
  }

  .commande-back {
    margin-bottom: 24px;
  }

  .commande-hero h2 {
    font-size: 31px;
  }

  .commande-delivery {
    padding: 15px;
    border-radius: 18px;
  }

  .commande-contact {
    min-height: 67px;
    border-radius: 17px;
  }
}

@media (prefers-reduced-motion: no-preference) {

  #view-commande-contact.view--active .commande-hero {
    animation: commandeFadeUp .35s ease both;
  }

  #view-commande-contact.view--active .commande-delivery {
    animation: commandeFadeUp .4s ease .04s both;
  }

  #view-commande-contact.view--active .commande-contact {
    animation: commandeFadeUp .4s ease both;
  }

  #view-commande-contact.view--active .commande-contact:nth-child(2) {
    animation-delay: .04s;
  }

  #view-commande-contact.view--active .commande-contact:nth-child(3) {
    animation-delay: .08s;
  }

  #view-commande-contact.view--active .commande-contact:nth-child(4) {
    animation-delay: .12s;
  }
}

@keyframes commandeFadeUp {

  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* =========================================================
   COMPTE — CARTES DES DEMANDES
   ========================================================= */

#clientRequestsList {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Carte */

.request-card {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.075);
  text-align: left;
}

/* En-tête */

.request-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.request-card__type {
  display: block;
  margin-bottom: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .35);
}

.request-card h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -.015em;
  color: #fff;
}

.request-card__date {
  margin-top: 5px;
  font-size: 11.5px;
  color: rgba(255, 255, 255, .38);
}

/* Statut */

.request-status {
  flex-shrink: 0;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .065);
  color: rgba(255, 255, 255, .68);
  font-size: 10px;
  font-weight: 650;
  white-space: nowrap;
}

.request-card.is-accepted .request-status {
  background: rgba(82, 214, 130, .10);
  color: #72d99a;
}

.request-card.is-progress .request-status {
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .82);
}

.request-card.is-ready .request-status {
  background: rgba(82, 214, 130, .13);
  color: #72d99a;
}

.request-card.is-complete .request-status {
  background: rgba(255, 255, 255, .07);
  color: rgba(255, 255, 255, .55);
}

.request-card.is-cancelled .request-status {
  background: rgba(255, 70, 70, .10);
  color: #ff7777;
}

/* Timeline */

.request-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 22px;
  position: relative;
}

.request-timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  right: 7px;
  top: 4px;
  height: 1px;
  background: rgba(255, 255, 255, .10);
}

.request-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  min-width: 0;
  z-index: 1;
}

.request-step__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #29292d;
  border: 1px solid rgba(255, 255, 255, .16);
}

.request-step__label {
  font-size: 8.5px;
  line-height: 1.1;
  text-align: center;
  color: rgba(255, 255, 255, .28);
}

.request-step.is-done .request-step__dot {
  background: #72d99a;
  border-color: #72d99a;
}

.request-step.is-done .request-step__label {
  color: rgba(255, 255, 255, .52);
}

.request-step.is-current .request-step__dot {
  width: 10px;
  height: 10px;
  background: #fff;
  border-color: #fff;
}

.request-step.is-current .request-step__label {
  color: rgba(255, 255, 255, .88);
  font-weight: 600;
}

/* Prêt */

.request-ready {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
  padding: 11px 12px;
  border-radius: 12px;
  background: rgba(82, 214, 130, .07);
  border: 1px solid rgba(82, 214, 130, .12);
}

.request-ready__icon {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(82, 214, 130, .13);
  color: #72d99a;
  font-size: 13px;
  font-weight: 700;
}

.request-ready strong {
  display: block;
  font-size: 11.5px;
  color: #fff;
}

.request-ready span {
  display: block;
  margin-top: 2px;
  font-size: 10.5px;
  color: rgba(255, 255, 255, .42);
}

/* Annulée */

.request-cancelled {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 17px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .07);
}

.request-cancelled > span {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 70, 70, .10);
  color: #ff7777;
  font-size: 11px;
}

.request-cancelled strong {
  display: block;
  font-size: 11.5px;
  color: rgba(255, 255, 255, .72);
}

.request-cancelled small {
  display: block;
  margin-top: 2px;
  font-size: 10.5px;
  color: rgba(255, 255, 255, .35);
}

/* Aucune demande */

.account-empty {
  padding: 30px 20px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 18px;
  background: rgba(255, 255, 255, .035);
}

.account-empty__icon {
  width: 42px;
  height: 42px;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .45);
}

.account-empty__icon .icon {
  width: 19px;
  height: 19px;
}

.account-empty strong {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, .82);
}

.account-empty span {
  display: block;
  max-width: 260px;
  margin: 6px auto 0;
  font-size: 11.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .35);
}
/* =========================================================
   COMPTE CLIENT — STYLE PROFIL
   ========================================================= */

#accountLoggedIn {
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
}

/* Avatar */

#accountLoggedIn .admin-login__icon {
  width: 72px;
  height: 72px;
  margin: 8px auto 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.72);
  box-shadow: none;
}

#accountLoggedIn .admin-login__icon .icon {
  width: 30px;
  height: 30px;
}

/* Nom */

#accountLoggedIn .account-name {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #fff;
}

/* Email */

#accountLoggedIn .account-email {
  margin: 5px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.42);
}

/* Section demandes */

#accountLoggedIn .account-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 30px 0 10px;
  padding: 0 2px 9px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
}

#accountLoggedIn .account-section-title h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: rgba(255, 255, 255, 0.92);
}

#accountLoggedIn .account-section-title span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.32);
}

/* Liste */

#accountLoggedIn #clientRequestsList {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

/* Déconnexion */

#accountLoggedIn #btnAccountLogout {
  margin-top: 24px;
}
/* BADGES NOTIFICATIONS ADMIN */
.admin-tab {
  position: relative;
}

.admin-tab__badge {
  position: absolute !important;
  top: 4px;
  right: 5px;

  width: 17px !important;
  height: 17px !important;
  min-width: 17px !important;

  padding: 0 !important;
  margin: 0 !important;

  display: flex !important;
  align-items: center;
  justify-content: center;

  border-radius: 50% !important;

  background: #ff3b30 !important;
  color: #fff !important;

  font-family: Arial, sans-serif;
  font-size: 9px !important;
  line-height: 17px !important;
  font-weight: 800 !important;

  border: 2px solid var(--surface) !important;

  box-sizing: border-box;

  box-shadow: 0 1px 5px rgba(0, 0, 0, .4);
}

.admin-tab__badge[hidden] {
  display: none !important;
}
/* Espace sécurisé iPhone / Safari */
body {
  padding-top: env(safe-area-inset-top);
}
.repair-head h2 {
  position: relative;
}

.contact-head.view-head--premium {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 28px;
}

#view-contact .contact-availability {
  margin: 20px auto 30px;
}
#view-contact .contact-actions {
  margin: 0 auto 30px;
}

#view-contact .contact-location {
  margin: 0 auto 24px;
}

.repair-head .view-head__icon {
  width: 30px;
  height: 30px;
  flex: 0 0 29px;
}

.repair-title {
  display: flex;
  align-items: center;
  gap: 9px;
}

/* =========================================================
   PAGE COMPTE — RENDU PREMIUM iOS
   ========================================================= */

/* ---- Carte principale ---- */
#view-compte .admin-login {
  background: rgba(28, 28, 30, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 28px;
  padding: 30px 24px;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* ---- Icône en haut ---- */
#view-compte .admin-login__icon {
  width: 68px;
  height: 68px;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255,255,255,.10), rgba(255,255,255,.03));
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: #fff;
  box-shadow: 0 10px 25px rgba(0,0,0,.3);
  margin-bottom: 18px;
}

/* ---- Onglets Connexion / Inscription (segmented control iOS) ---- */
#view-compte .tab-row {
  display: flex;
  gap: 3px;
  padding: 3px;
  border-radius: 12px;
  background: rgba(120, 120, 128, 0.18);
  margin-bottom: 24px;
}

#view-compte .tab {
  flex: 1;
  padding: 9px 0;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
}

#view-compte .tab.is-active {
  background: rgba(255, 255, 255, 0.92);
  color: #000;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}

/* ---- Champs de saisie style iOS ---- */
#view-compte .input {
  min-height: 50px;
  border-radius: 14px;
  background: rgba(120, 120, 128, 0.18);
  border: 1px solid transparent;
  box-shadow: none;
}

#view-compte .input:focus {
  background: rgba(120, 120, 128, 0.22);
  border-color: rgba(255, 255, 255, 0.20);
  box-shadow: none;
}

/* ---- Boutons style iOS ---- */
#view-compte .btn--primary {
  background: #0A84FF;
  border: none;
  color: #fff;
  box-shadow: 0 8px 20px rgba(10, 132, 255, 0.25);
}

#view-compte .btn--primary:hover {
  background: #2a94ff;
}

/* ---- Message d'erreur en rouge iOS ---- */
#view-compte .admin-note--error {
  color: #FF453A;
}
/* =========================================================
   FOOTER — RENDU PREMIUM iOS
   ========================================================= */

.app-footer {
  background: transparent;
  padding-top: 28px;
}

.app-footer::before {
  left: 24px;
  right: 24px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.10), transparent);
}

.app-footer__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;

  width: fit-content;
  margin: 0 auto;
  padding: 0 0 10px;

  background: transparent;
  border: 0;
  box-shadow: none;
}

.app-footer__mark {
  width: 16px;
  height: 16px;

  flex: 0 0 16px;

  display: block;
  padding: 0;
  margin: 0;

  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;

  overflow: hidden;
}

.app-footer__brand strong {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.app-footer__brand span {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.40);
}

/* =========================================================
   FOOTER — VERSION DISCRÈTE / iOS
   ========================================================= */

.app-footer__social {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 4px 0 12px;
  padding: 0;
}

.app-footer__social a {
  flex: 0 0 auto;

  height: 38px;

  display: flex;
  align-items: center;
  gap: 7px;

  padding: 0 11px;

  border-radius: 12px;

  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.055);

  box-shadow: none;

  text-decoration: none;

  font-size: 11px;
  font-weight: 500;
  letter-spacing: -0.01em;

  color: rgba(255, 255, 255, 0.55);

  position: relative;

  transition:
    background 0.15s ease,
    transform 0.15s ease;

  -webkit-tap-highlight-color: transparent;
}

/* Petites icônes */

.app-footer__social a svg {
  width: 14px;
  height: 14px;

  flex: 0 0 14px;

  padding: 0;

  border-radius: 0;

  box-shadow: none;
}

/* WhatsApp */

.app-footer__social a:first-child svg {
  background: transparent;
  color: rgba(37, 211, 102, 0.72);
}

/* Instagram */

.app-footer__social a:last-child svg {
  background: transparent;
  color: rgba(225, 48, 108, 0.72);
}

/* Pas de gros chevron */

.app-footer__social a::after {
  display: none;
}

/* Appui */

.app-footer__social a:active {
  transform: scale(0.97);
  background: rgba(255, 255, 255, 0.055);
}

/* Desktop */

@media (hover: hover) {
  .app-footer__social a:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: none;
  }
}

/* Très petits écrans */

@media (max-width: 380px) {
  .app-footer__social {
    gap: 6px;
  }

  .app-footer__social a {
    height: 36px;
    padding: 0 9px;
    gap: 6px;
    font-size: 10.5px;
    border-radius: 11px;
  }

  .app-footer__social a svg {
    width: 13px;
    height: 13px;
  }
}
/* ========== Correctifs contraste WCAG AA ========== */
.view-head p,
.contact-btn__text small,
.contact-location__head p,
.request-card__date,
.request-card__type,
.request-step__label,
.account-empty span,
.account-email,
.commande-delivery__content p,
.commande-contact__body small,
.commande-note,
.commande-section-title span,
.app-footer__legal-bottom span {
  color: rgba(255, 255, 255, 0.55);
}