/* ============================================================
   STELVAR — refonte
   Tokens repris de client2.0 / base.css
   ============================================================ */
:root {
  --bg: #080808;
  --surface: #111214;
  --border: rgba(255, 255, 255, 0.07);
  --border-gold: rgba(243, 210, 79, 0.28);
  --text: #f7f1da;
  --muted: #b7a97b;
  --muted-2: #8e825f;
  --brand: #f3d24f;
  /* teintes dérivées (unifiées — utilisées par produit.css / contact.css) */
  --on-brand: #121212;                       /* texte sur fond jaune */
  --surface-soft: rgba(255, 255, 255, 0.015);/* fond de carte très discret */
  --brand-soft: rgba(243, 210, 79, 0.06);    /* teinte jaune d'état actif */
  --brand-ring: rgba(243, 210, 79, 0.25);    /* halo de focus */
  --overlay: rgba(8, 8, 8, 0.55);            /* voile sombre (flèches, étiquettes) */
  --dot: rgba(255, 255, 255, 0.28);          /* point de carrousel */
  --dot-strong: rgba(255, 255, 255, 0.5);    /* point au survol */
  --stage-a: #16171a;                        /* dégradé de scène (haut) */
  --stage-b: #0b0c0e;                        /* dégradé de scène (bas) */
  --font: "Manrope", "Avenir Next", sans-serif;
  --content: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }

.container { width: min(var(--content), calc(100% - 48px)); margin: 0 auto; }

::selection { background: rgba(243, 210, 79, 0.25); color: #fff; }

/* ============================================================
   NAV
   ============================================================ */
.topnav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8, 8, 8, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background .35s ease;
}
.topnav.is-scrolled { background: rgba(5, 5, 6, 0.92); }
.topnav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
  transition: padding .35s ease;
}
.topnav.is-scrolled .topnav-inner { padding: 11px 0; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-word {
  font-weight: 800; font-size: 17px; letter-spacing: 0.16em; color: var(--text);
}
.brand-word.small { font-size: 14px; }
.brand-logo {
  display: block;
  height: 42px;
  width: auto;
  transition: height .35s ease;
}
.topnav.is-scrolled .brand-logo { height: 34px; }
.brand-logo.small { height: 30px; }
.nav-links { display: flex; align-items: center; gap: 4px; position: relative; }
.nav-links a {
  position: relative; z-index: 1;
  font-size: 14px; font-weight: 600; color: var(--muted);
  padding: 9px 18px; border-radius: 999px;
  transition: color .25s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.is-active { color: var(--brand); }
.nav-pill {
  position: absolute; top: 50%;
  transform: translateY(-50%);
  height: 36px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.04);
  left: 0; width: 0; opacity: 0;
  transition:
    left .4s cubic-bezier(0.3, 0.7, 0.2, 1),
    width .4s cubic-bezier(0.3, 0.7, 0.2, 1),
    opacity .3s ease;
  pointer-events: none;
}
.nav-cta {
  font-size: 13.5px; font-weight: 700; color: var(--brand);
  border: 1px solid var(--border-gold);
  border-radius: 999px; padding: 9px 20px;
  transition: background .2s ease, color .2s ease;
}
.nav-cta:hover { background: var(--brand); color: #121212; }

.topnav-tools { display: flex; align-items: center; gap: 16px; }
.lang-switch {
  display: flex; align-items: center; gap: 5px;
  font-size: 12.5px; font-weight: 800; letter-spacing: 0.05em;
}
.lang-switch a {
  color: var(--muted-2);
  padding: 4px 2px;
  transition: color .2s ease;
}
.lang-switch a:hover { color: var(--text); }
.lang-switch a.on { color: var(--brand); }
.lang-switch .sep-slash { color: var(--muted-2); opacity: 0.5; }

/* ---- menu mobile (façon Apple) ---- */
.menu-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 42px; height: 42px;
  background: none; border: none; cursor: pointer;
  padding: 0;
}
.menu-toggle span {
  display: block;
  width: 22px; height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform .35s cubic-bezier(0.4, 0, 0.2, 1);
}
body.menu-open .menu-toggle span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
body.menu-open .menu-toggle span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(6, 6, 7, 0.9);
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
  display: flex; align-items: center; justify-content: center;
  padding-top: 60px;
  opacity: 0; visibility: hidden;
  transition: opacity .4s ease, visibility .4s;
}
body.menu-open .mobile-menu { opacity: 1; visibility: visible; }
body.menu-open { overflow: hidden; }

.mobile-menu-links {
  display: flex; flex-direction: column; align-items: center;
  gap: 6px; text-align: center;
}
.mobile-menu-links a {
  font-size: 30px; font-weight: 800; letter-spacing: -0.02em;
  color: var(--text);
  padding: 10px 24px;
  transition: color .2s ease;
}
.mobile-menu-links a:hover, .mobile-menu-links a.is-active { color: var(--brand); }

/* rangée « Produits » : le libellé reste un LIEN (catalogue) + un bouton flèche (déplie) */
.mobile-menu-parent { display: inline-flex; align-items: center; gap: 0; }
.mobile-menu-parent-link { padding-right: 6px !important; }
.mobile-menu-chevron-btn {
  display: inline-flex; align-items: center;
  background: none; border: 0; cursor: pointer;
  color: var(--text); padding: 10px 22px 10px 4px;
  transition: color .2s ease;
}
.mobile-menu-chevron { transition: transform .3s ease; opacity: 0.75; }
.mobile-menu-chevron-btn:hover,
.mobile-menu-chevron-btn[aria-expanded="true"] { color: var(--brand); }
.mobile-menu-chevron-btn[aria-expanded="true"] .mobile-menu-chevron { transform: rotate(180deg); opacity: 1; }
@keyframes menu-link-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
body.menu-open .mobile-menu-links > a,
body.menu-open .mobile-menu-links > .mobile-menu-parent {
  animation: menu-link-in .45s cubic-bezier(0.2, 0.6, 0.2, 1) both;
}
body.menu-open .mobile-menu-links > *:nth-child(1) { animation-delay: .06s; }
body.menu-open .mobile-menu-links > *:nth-child(2) { animation-delay: .11s; }
body.menu-open .mobile-menu-links > *:nth-child(3) { animation-delay: .16s; }
body.menu-open .mobile-menu-links > *:nth-child(4) { animation-delay: .21s; }
body.menu-open .mobile-menu-links > *:nth-child(5) { animation-delay: .26s; }
body.menu-open .mobile-menu-links > *:nth-child(6) { animation-delay: .31s; }
body.menu-open .mobile-menu-links > *:nth-child(7) { animation-delay: .36s; }
.mobile-menu-links a.mobile-menu-cta {
  margin-top: 22px;
  font-size: 16px;
  font-weight: 700;
  color: var(--brand);
  border: 1px solid var(--border-gold);
  border-radius: 999px;
  padding: 14px 34px;
  transition: background .2s ease, color .2s ease;
}
.mobile-menu-links a.mobile-menu-cta:hover,
.mobile-menu-links a.mobile-menu-cta:active {
  background: var(--brand);
  color: #121212;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;                   /* la carte plein écran ne crée pas de scroll */
  min-height: calc(100vh - 65px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: flex-start;
  text-align: center;
  padding: 34px 24px 20px;
}
.hero.short {
  min-height: 0; padding: 110px 24px 30px;
  justify-content: center;
}
.hero h1 {
  font-size: clamp(48px, 7.6vw, 94px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.0;
  margin: 0 0 24px;
  text-wrap: balance;
}
.hero-sub {
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 500;
  color: var(--muted);
  margin: 0 0 34px;
  max-width: 44ch;
  line-height: 1.55;
}
.hero-actions { display: flex; align-items: center; gap: 26px; margin-bottom: 20px; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--brand);
  color: #121212; font-weight: 700; font-size: 15.5px;
  border: none; cursor: pointer;
  border-radius: 999px; padding: 15px 30px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(243, 210, 79, 0.28);
}
.link-more {
  font-size: 15.5px; font-weight: 600; color: var(--brand);
  display: inline-flex; align-items: center; gap: 7px;
}
.link-more:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---- carte NFC 3D : intro plein écran puis repos en bas ---- */
/* Le canvas couvre TOUT le hero : la carte peut occuper l'écran entier
   pendant l'intro, puis redescendre dans la zone basse (.hero-stage). */
.card-3d {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block; z-index: 1;
  opacity: 0; transition: opacity .6s ease;
  pointer-events: none;
}
.hero.card3d-ready .card-3d { opacity: 1; }
/* la carte démarre foncée (valeur par défaut) puis s'éclaircit progressivement.
   fill-mode both => elle reste foncée au tout début au lieu de revenir à son état clair. */
.hero.will-animate .card-3d { filter: brightness(0); }
.hero.will-animate.scene-ready .card-3d { animation: cardReveal 1.8s ease both; }
@keyframes cardReveal {
  0%   { filter: brightness(0); }     /* invisible au départ */
  20%  { filter: brightness(0.05); }  /* reste très sombre un court instant */
  100% { filter: brightness(1); }     /* devient plus claire */
}
.card-fallback {
  position: absolute; left: 50%; bottom: 6%;
  width: 210px; max-width: 58%;
  transform: translateX(-50%) rotate(-4deg);
  border-radius: 14px;
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.6)) drop-shadow(0 14px 26px rgba(0, 0, 0, 0.45));
  z-index: 1;
}
.hero.card3d-ready .card-fallback { display: none; }
/* pendant le chargement du 3D on montre le logo qui pulse, pas la carte statique */
.js-anim .card-fallback { display: none; }
/* si le WebGL échoue, on remet la carte statique comme repli */
.hero.card3d-failed .card-fallback { display: block; }

/* ============================================================
   CHARGEMENT DU HÉROS
   Logo Stelvar qui pulse, centré dans la zone de la carte (sous le texte,
   jamais par-dessus). Remplacé par la carte 3D dès qu'elle est prête.
   ============================================================ */
#hero-loader {
  position: absolute; inset: 0;           /* centré dans .hero-stage = la zone de la carte */
  display: none;                          /* caché par défaut (sans JS / reduced-motion) */
  align-items: center; justify-content: center;
  pointer-events: none;
}
.js-anim #hero-loader { display: flex; } /* affiché pendant le chargement du 3D */
/* carte prête (succès) OU échec => on retire le logo */
.hero.card3d-ready #hero-loader,
.hero.card3d-failed #hero-loader { display: none; }
.hero-loader-logo {
  width: 210px; max-width: 50%;
  opacity: .85;
  animation: loaderPulse 1.5s ease-in-out infinite;
}
@keyframes loaderPulse {
  0%, 100% { opacity: .3; transform: scale(.94); }
  50%      { opacity: .95; transform: scale(1); }
}

/* zone basse : repère de position pour les avis (la carte y flotte au repos) */
.hero-stage {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  width: min(680px, 96vw);
  min-height: 300px;
  margin-top: 6px;
}

/* ============================================================
   MUR D'AVIS : cartes Google qui apparaissent en cascade au scroll
   (les notifications autour de la carte du héros ont été déplacées ici)
   ============================================================ */
.reviews-wall-head { text-align: center; max-width: 720px; margin: 0 auto; }
.reviews-wall-head h2 {
  font-size: clamp(30px, 4.2vw, 48px);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.08;
  margin: 8px 0 6px; text-wrap: balance;
}
/* « Google » coloré : léger resserrement des lettres, comme le logo */
.reviews-wall-head .g-logo { letter-spacing: -0.02em; white-space: nowrap; }
.reviews-wall-head p { color: var(--muted); font-size: 1.05rem; line-height: 1.55; margin: 0; }

/* marquee : bandeau d'avis qui défile en boucle continue */
.rw-marquee {
  position: relative;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
/* fondu premium sur les bords : calques dégradés (le mask-image bloquait le
   rafraîchissement de l'animation sur Chrome — elle n'avançait qu'au scroll) */
.rw-marquee::before,
.rw-marquee::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 9%;
  z-index: 2;
  pointer-events: none;
}
.rw-marquee::before { left: 0;  background: linear-gradient(90deg, var(--bg), rgba(8, 8, 8, 0)); }
.rw-marquee::after  { right: 0; background: linear-gradient(270deg, var(--bg), rgba(8, 8, 8, 0)); }
.rw-row { overflow: hidden; }
.rw-track { display: flex; width: max-content; }
.rw-row-a .rw-track { animation: rw-scroll-left 46s linear infinite; }
.rw-row-b .rw-track { animation: rw-scroll-right 46s linear infinite; }
@keyframes rw-scroll-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes rw-scroll-right {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

/* carte d'avis — look bulle Google authentique */
.rw-card {
  flex: 0 0 300px;
  margin-right: 18px;      /* marge sur chaque carte : boucle -50% sans à-coup */
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 26px 55px rgba(0, 0, 0, 0.55);
  padding: 18px 20px;
  text-align: left;
}
/* un peu de variété dans la couleur des avatars */
.rw-card:nth-child(3n+2) .rn-avatar { background: #b06a4f; }
.rw-card:nth-child(3n+3) .rn-avatar { background: #4f8a6b; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.rn-head { display: flex; align-items: center; gap: 9px; }
.rn-avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: #5b6b9e; color: #fff;
  font-weight: 600; font-size: 13px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.rn-meta { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.rn-name { font-size: 13px; font-weight: 600; color: #202124; }
.rn-sub { font-size: 11px; color: #5f6368; }
.rn-google { margin-left: auto; display: flex; flex-shrink: 0; }
.rn-stars { color: #fbbc04; font-size: 14px; letter-spacing: 1.5px; margin: 9px 0 4px; }
.rn-text { margin: 0; font-size: 12.5px; line-height: 1.45; color: #3c4043; }

/* ---- fiche Google d'exemple : note globale (profil d'entreprise) ---- */
.rw-profile {
  display: flex;
  align-items: center;
  gap: 16px;
  width: max-content;
  max-width: 100%;
  margin: 34px auto 6px;
  padding: 15px 24px 15px 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.45), 0 0 40px rgba(243, 210, 79, 0.06);
}
.rw-profile-g { display: flex; align-items: center; }
.rw-profile-g svg { width: 30px; height: 30px; }
.rw-profile-meta { display: flex; flex-direction: column; gap: 3px; text-align: left; }
.rw-profile-name { font-size: 15px; font-weight: 700; color: var(--text); letter-spacing: -0.01em; }
.rw-profile-rating { display: flex; align-items: center; gap: 9px; }
.rw-profile-score { font-size: 18px; font-weight: 800; color: var(--brand); line-height: 1; }
.rw-profile-stars { color: #fbbc04; font-size: 14px; letter-spacing: 1.5px; }
.rw-profile-count { font-size: 12px; color: var(--muted-2); }

/* mention « exemple fictif » : discrète, sous la grille */
.rw-note { margin: 24px 0 0; text-align: center; font-size: 12.5px; color: var(--muted-2); }

/* ============================================================
   HERO : texte (la chute) qui apparaît quand la carte a fini son intro
   ============================================================ */
.hero-copy {
  position: relative; z-index: 3;
  display: flex; flex-direction: column; align-items: center; width: 100%;
}
/* Le texte du héros s'affiche IMMÉDIATEMENT (élément LCP) : il n'est plus
   masqué en attendant l'intro 3D. La carte 3D se révèle en arrière-plan
   comme bonus, sans jamais bloquer le titre. */
.hero-copy { opacity: 1; }

/* interactions : le canvas de la carte est sous le texte/les avis ; on rend ces
   couches transparentes au pointeur pour que le glissement atteigne la carte,
   tout en gardant les boutons (et liens) parfaitement cliquables. */
.hero-stage { pointer-events: none; }
.hero-copy { pointer-events: none; }
.hero-copy a, .hero-copy button { pointer-events: auto; }


/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 150px 0; }
.section-tight { padding: 110px 0; }

.kicker {
  font-size: 12px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted-2); margin-bottom: 22px; display: block;
}

.statement { text-align: center; }
.statement h2 {
  font-size: clamp(34px, 4.6vw, 58px);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.12;
  margin: 0; text-wrap: balance;
}
.statement h2 span { color: var(--brand); }

.how { text-align: center; }
.how h2 {
  font-size: clamp(32px, 4.4vw, 54px);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.08;
  margin: 0 0 56px; text-wrap: balance;
}
.how h2 span { color: var(--brand); }

/* vidéo (format téléphone) à gauche, étapes à droite */
.how-layout {
  display: grid;
  grid-template-columns: minmax(240px, 300px) 1fr;
  gap: 56px;
  align-items: center;
  text-align: left;
  max-width: 920px;
  margin: 0 auto;
}
.how-video {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--border);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
}
.how-video-el {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

/* liste d'étapes : badge numéro + texte, révélées en séquence au scroll */
.how-steps { display: flex; flex-direction: column; gap: 28px; }
.how-item {
  display: flex; align-items: flex-start; gap: 18px; text-align: left;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s ease, transform .6s cubic-bezier(0.22, 0.9, 0.24, 1);
  transition-delay: calc(var(--i, 0) * 160ms);
}
.how.is-visible .how-item { opacity: 1; transform: none; }
.how-num {
  flex-shrink: 0;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 15px; font-weight: 800;
}
.how-item h3 {
  font-size: 20px; font-weight: 800; letter-spacing: -0.01em;
  margin: 8px 0 6px;
}
.how-item p {
  font-size: 15px; line-height: 1.6; color: var(--muted);
  margin: 0; max-width: 42ch;
}

/* ---- Variante GRILLE (page produit : « Le produit », 3 points) ----
   Style « tech-specs » Apple : pas de boîtes, colonnes nues séparées par un
   filet fin en haut de chaque item. Le badge .how-num contient ici un MOT
   (MATÉRIAU/NFC/FINITION) : label discret, pas de pastille. N'affecte pas
   les étapes de l'accueil (.how-steps). */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 44px;
  margin-top: 28px;
  text-align: left;
}
.how-grid .how-item {
  display: block;
  padding: 24px 0 0;
  border: 0;
  border-top: 1px solid var(--border);
  border-radius: 0;
  background: none;
}
.how.is-visible .how-grid .how-item { opacity: 1; transform: none; }
.how-grid .how-num {
  display: inline-block;
  width: auto; height: auto; padding: 0; margin: 0 0 16px;
  border: 0; border-radius: 0; background: none;
  color: var(--muted-2);
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}
.how-grid .how-item h3 {
  margin: 0 0 9px;
  font-size: 22px; font-weight: 700; letter-spacing: -0.02em;
  color: var(--text);
}
.how-grid .how-item p { max-width: none; font-size: 15px; }

@media (max-width: 760px) {
  .how-grid { grid-template-columns: 1fr; column-gap: 0; margin-top: 18px; }
  .how-grid .how-item { padding: 22px 0; }
  .how-grid .how-num { margin-bottom: 10px; }
}

/* ---- grande image ---- */
.bigimg-wrap { width: min(1280px, calc(100% - 48px)); margin: 0 auto; }
.bigimg {
  position: relative;
  min-height: clamp(460px, 66vw, 780px);
  display: flex; align-items: flex-end; justify-content: center;
}
/* Look "placeholder" uniquement quand aucune vraie photo n'est en place */
.bigimg:has(.img-note) {
  border-radius: 28px;
  overflow: hidden;
  min-height: clamp(380px, 55vw, 620px);
  border: 1px solid var(--border);
  background:
    radial-gradient(100% 80% at 50% 20%, rgba(243, 210, 79, 0.06), transparent 60%),
    linear-gradient(170deg, #151618 0%, #0a0b0c 100%);
}
/* Vraie photo : se fond dans le noir de la page, aucun cadre, aucun bord net */
.bigimg-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 64%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 64%, transparent 100%);
}
.bigimg.contain .bigimg-photo {
  object-fit: contain;
  -webkit-mask-image: none;
  mask-image: none;
}
.bigimg-shade {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 50%;
  background: linear-gradient(180deg, transparent, var(--bg) 90%);
  pointer-events: none;
}
.bigimg .img-note {
  position: absolute; top: 18px; right: 20px;
  font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted-2); font-weight: 700;
  background: rgba(8, 8, 8, 0.55); border: 1px solid var(--border);
  padding: 5px 10px; border-radius: 999px;
}
.bigimg-caption {
  position: relative; z-index: 1;
  padding: 0 24px 54px;
  text-align: center;
}
.bigimg-caption h2 {
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 800; letter-spacing: -0.025em;
  margin: 0 0 8px; text-wrap: balance;
}
.bigimg-caption p { font-size: 16px; color: var(--muted); margin: 0; }
.bigimg-caption h2 .accent { color: var(--brand); }

/* ============================================================
   PERSONNALISATION : carrousel coverflow de cartes clients
   ============================================================ */
.perso { text-align: center; }
.perso-head { max-width: 640px; margin: 0 auto 40px; }
.perso-head h2 {
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.08;
  margin: 8px 0 16px; text-wrap: balance;
}
.perso-head h2 span { color: var(--brand); }
.perso-head p { font-size: 16px; color: var(--muted); line-height: 1.6; margin: 0; }

.cover { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.cover-viewport { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; }
.cover-stage {
  position: relative;
  flex: 1 1 auto;
  height: clamp(360px, 52vw, 480px);
  perspective: 1400px;
  overflow: hidden;
  touch-action: pan-y;   /* garde le scroll vertical ; le swipe horizontal est géré en JS */
}
.cover-card {
  position: absolute;
  top: 50%; left: 50%;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--border-gold);
  box-shadow: 0 30px 65px rgba(0, 0, 0, 0.65);
  transform-style: preserve-3d;
  transition: transform .5s cubic-bezier(0.22, 0.9, 0.24, 1), opacity .5s ease;
  will-change: transform, opacity;
  opacity: 0;           /* positionné/révélé par le JS */
  cursor: pointer;
}
.cover-card img {
  display: block;
  height: clamp(340px, 50vw, 460px);
  width: auto; max-width: none;
  pointer-events: none; -webkit-user-drag: none;
}
.cover-arrow {
  flex: 0 0 auto;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer; z-index: 20;
  transition: border-color .2s ease, transform .2s ease, opacity .2s ease;
}
.cover-arrow:hover { border-color: var(--border-gold); transform: translateY(-2px); }
.cover-arrow:disabled { opacity: .3; cursor: default; transform: none; }
.cover-dots { display: flex; justify-content: center; gap: 9px; }
.cover-dot {
  width: 8px; height: 8px; border-radius: 50%; padding: 0;
  background: var(--dot); border: none; cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.cover-dot.is-active { background: var(--brand); transform: scale(1.3); }

.perso-actions { justify-content: center; margin: 44px 0 0; }

@media (max-width: 640px) {
  .perso-head { margin-bottom: 30px; }
  .cover { gap: 18px; }
  .cover-arrow { width: 40px; height: 40px; }
}

/* ---- vitrine produit : image détourée qui flotte sur le noir (façon Apple) ---- */
.showcase { text-align: center; }
.showcase-media {
  width: min(340px, 72%);
  margin: 0 auto 46px;
  filter:
    drop-shadow(0 50px 70px rgba(0, 0, 0, 0.6))
    drop-shadow(0 16px 30px rgba(0, 0, 0, 0.45));
  animation: showcase-float 8s ease-in-out infinite;
}
@keyframes showcase-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.showcase-media img { width: 100%; display: block; }
.showcase h2 {
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.08;
  margin: 0 0 14px; text-wrap: balance;
}
.showcase p {
  font-size: clamp(16px, 1.7vw, 19px);
  color: var(--muted); margin: 0 auto; max-width: 40ch;
}
@media (prefers-reduced-motion: reduce) {
  .showcase-media { animation: none; }
}

/* ---- statistique ---- */
.stat { text-align: center; }
.stat-num {
  font-size: clamp(90px, 14vw, 170px);
  font-weight: 800; letter-spacing: -0.04em; line-height: 1;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
  display: block; margin-bottom: 18px;
}
.stat p {
  font-size: clamp(17px, 1.8vw, 21px);
  color: var(--muted); margin: 0; font-weight: 500;
}

/* ---- secteurs ---- */
.sectors { text-align: center; }
.sectors h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.1;
  margin: 0 0 30px; text-wrap: balance;
}
.sectors h2 span { color: var(--brand); }
.sector-chips {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
  max-width: 720px; margin: 0 auto;
}
.sector-chip {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 15px; font-weight: 600;
  transition: border-color .2s ease, color .2s ease, transform .2s ease;
}
.sector-chip.is-strong {
  border-color: var(--border-gold);
  background: var(--brand-soft);
  color: var(--text);
}
.sector-chip:hover {
  border-color: var(--border-gold);
  color: var(--text);
  transform: translateY(-2px);
}

/* ---- témoignage ---- */
.quote { text-align: center; max-width: 760px; margin: 0 auto; }
.quote .stars { color: var(--brand); font-size: 17px; letter-spacing: 4px; display: block; margin-bottom: 30px; }
.quote blockquote {
  font-size: clamp(21px, 2.6vw, 32px);
  font-weight: 700; letter-spacing: -0.015em; line-height: 1.4;
  margin: 0 0 28px; text-wrap: balance;
}
.quote-author { font-size: 14px; color: var(--muted-2); font-weight: 600; }
.quote-author b { color: var(--muted); display: block; font-size: 15px; margin-bottom: 3px; }

/* ---- FAQ ---- */
.faq-head { text-align: center; margin-bottom: 60px; }
.faq-head h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800; letter-spacing: -0.025em; margin: 0;
}
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 26px 4px; text-align: left;
  color: var(--text); font-size: 16.5px; font-weight: 700;
  transition: color .2s ease;
}
.faq-q:hover { color: var(--brand); }
.faq-icon {
  flex-shrink: 0; color: var(--muted-2); font-size: 20px; font-weight: 400;
  transition: transform .3s ease, color .3s ease;
}
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--brand); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p {
  margin: 0; padding: 0 40px 26px 4px;
  font-size: 15px; line-height: 1.7; color: var(--muted);
}

/* ---- CTA final ---- */
.finale { text-align: center; padding: 160px 0 150px; }
.finale h2 {
  font-size: clamp(34px, 4.6vw, 58px);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.1;
  margin: 0 0 34px; text-wrap: balance;
}
.finale .hero-actions { justify-content: center; margin-bottom: 0; }

/* ============================================================
   FORMULAIRE (contact)
   ============================================================ */
.form-wrap { max-width: 640px; margin: 0 auto; }
.form-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  margin-bottom: 26px;
}
.form-grid label {
  display: flex; flex-direction: column; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.04em;
  color: var(--muted); text-align: left;
}
.form-grid label.full { grid-column: 1 / -1; }
.form-grid input,
.form-grid textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  font-size: 15px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
  resize: vertical;
}
.form-grid input:focus,
.form-grid textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(243, 210, 79, 0.08);
}
.form-actions { text-align: center; }
.form-message.success {
  margin-bottom: 26px;
  padding: 15px 18px;
  border-radius: 14px;
  background: rgba(151, 231, 168, 0.08);
  border: 1px solid rgba(151, 231, 168, 0.3);
  color: #97e7a8;
  font-weight: 700;
  font-size: 14.5px;
  text-align: center;
}
.field-error {
  color: #ff9d9d;
  font-size: 12.5px;
  font-weight: 600;
}
.form-note { margin-top: 20px; font-size: 13px; color: var(--muted-2); }
.form-note a { color: var(--brand); }

/* ============================================================
   BOUTIQUE / PRODUITS
   ============================================================ */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 860px;
  margin: 0 auto;
}
.product-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(180deg, #101113 0%, #0a0b0c 100%);
  transition: transform .3s ease, border-color .3s ease;
}
.product-card:hover { transform: translateY(-6px); border-color: var(--border-gold); }
.product-media {
  position: relative;
  height: 240px;
  background:
    radial-gradient(90% 90% at 50% 20%, rgba(243, 210, 79, 0.05), transparent 60%),
    linear-gradient(165deg, #16171a 0%, #0b0c0e 100%);
  display: flex; align-items: center; justify-content: center;
}
.product-media svg { opacity: 0.28; }
.soon-badge {
  position: absolute; top: 14px; left: 14px;
  font-size: 10.5px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--brand);
  background: rgba(243, 210, 79, 0.1);
  border: 1px solid var(--border-gold);
  border-radius: 999px;
  padding: 6px 13px;
}
.product-body { padding: 22px 24px 26px; text-align: left; }
.product-body h3 {
  font-size: 17.5px; font-weight: 800; letter-spacing: -0.01em;
  margin: 0 0 6px; color: var(--text);
}
.product-body .product-desc {
  font-size: 13.5px; line-height: 1.55; color: var(--muted);
  margin: 0 0 18px;
}
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.btn-order {
  display: inline-block;
  border: 1px solid var(--border-gold);
  color: var(--brand);
  font-size: 13.5px; font-weight: 700;
  border-radius: 999px; padding: 10px 22px;
  transition: background .2s ease, color .2s ease;
}
.btn-order:hover { background: var(--brand); color: #121212; }
.product-price {
  font-size: 13.5px; font-weight: 700; color: var(--muted-2);
  letter-spacing: 0.02em;
}
.shop-note {
  text-align: center;
  margin-top: 56px;
  font-size: 15px; color: var(--muted);
}
.shop-note a { color: var(--brand); font-weight: 700; }
.shop-note a:hover { text-decoration: underline; text-underline-offset: 4px; }

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

/* ============================================================
   GUIDE — structure identique à guide.php
   ============================================================ */
.guide-page {
  width: min(680px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 72px;
}
.guide-page .brand { margin-bottom: 28px; }
.guide-page h1 {
  font-size: clamp(36px, 6vw, 54px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin: 0 0 12px;
}
.guide-page h2 {
  font-size: clamp(24px, 4vw, 33px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 0 12px;
}
.guide-intro,
.guide-subtext,
.guide-step-text,
.guide-final p {
  color: var(--muted);
  line-height: 1.75;
}
.guide-intro { margin: 0; max-width: 46ch; font-size: 16px; }

.guide-main-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.guide-main-btn {
  position: relative;
  padding: 0 2px 12px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: color 0.2s ease;
}
.guide-main-btn::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -9px;
  height: 2px;
  border-radius: 999px;
  background: transparent;
  transition: background 0.2s ease;
}
.guide-main-btn:hover { color: var(--brand); }
.guide-main-btn.active { color: var(--brand); }
.guide-main-btn.active::after { background: var(--brand); }

.guide-section { margin-top: 54px; }
.guide-main-panel, .guide-panel { display: none; }
.guide-main-panel.is-visible, .guide-panel.is-visible { display: block; }
.guide-installation-overview .guide-subtext { margin: 10px 0 24px; }

.guide-subnav { display: flex; gap: 10px; flex-wrap: wrap; }

.guide-steps { margin: 20px 0 0; padding: 0; list-style: none; }
.guide-step {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 16px 0;
  border-top: 1px solid var(--border);
}
.guide-step:first-child { border-top: 0; padding-top: 0; }
.guide-step-number {
  color: var(--brand);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.6;
}
.guide-step-text { margin: 0; }
.guide-step-text strong { color: var(--text); }
.guide-inline-link { color: var(--brand); text-decoration: none; }
.guide-inline-link:hover { color: #ffe07a; }

.guide-placeholder {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 934 / 2024;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(243, 210, 79, 0.25);
  border-radius: 12px;
  overflow: hidden;
  margin: 10px 0 24px;
}
.guide-placeholder-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.device-toggle {
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 18px 0 24px;
}
.device-btn {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--brand);
  background: transparent;
  color: var(--brand);
  font-size: 14.5px;
  font-weight: 800;
  cursor: pointer;
}
.device-btn.active { background: var(--brand); color: #080808; }
.device-content { display: none; }
.device-content.is-visible { display: block; }

.guide-final { margin-top: 54px; text-align: center; }
.guide-final p { max-width: 40ch; margin: 0 auto 24px; }
.guide-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--brand);
  color: #080808;
  font-weight: 800;
}

@media (max-width: 640px) {
  .guide-page {
    width: min(680px, calc(100% - 24px));
    padding-top: 32px;
    padding-bottom: 56px;
  }
  .guide-step { grid-template-columns: 28px minmax(0, 1fr); gap: 12px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
footer { border-top: 1px solid var(--border); padding: 42px 0; }
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; flex-wrap: wrap;
}
.footer-links { display: flex; gap: 28px; font-size: 13.5px; color: var(--muted-2); }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 12.5px; color: var(--muted-2); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px 28px; flex-wrap: wrap;
  margin-top: 28px; padding-top: 24px;
  border-top: 1px solid var(--border);
}
.footer-legal { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-legal a {
  font-size: 12.5px; color: var(--muted-2);
  transition: color .2s ease;
}
.footer-legal a:hover { color: var(--brand); }
@media (max-width: 640px) {
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-legal { gap: 14px 22px; }
}

/* ============================================================
   REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  body.menu-open .mobile-menu-links a { opacity: 1; transform: none; }
  .rw-row { overflow-x: auto; }
  .how-item { opacity: 1; transform: none; }
  .hero-copy { opacity: 1; transform: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .topnav-inner .nav-cta { display: none; }
  .menu-toggle { display: flex; }
  .how h2 { margin-bottom: 40px; }
  .how-layout { grid-template-columns: 1fr; gap: 34px; max-width: 380px; }
  .how-video { max-width: 260px; margin: 0 auto; }
  .how-steps { gap: 22px; }
  .section { padding: 100px 0; }
  .section-tight { padding: 80px 0; }
  .finale { padding: 110px 0 100px; }

  /* hero : le texte en haut + la scène 3D remplit le reste de l'écran */
  .hero { padding: 22px 22px 20px; }
  .hero h1 { font-size: clamp(40px, 12vw, 52px); margin-bottom: 18px; }
  .hero-sub { font-size: 16px; margin-bottom: 22px; }
  .hero-actions { margin-bottom: 8px; }
  .hero-stage { margin-top: 6px; min-height: 260px; }
  .card-fallback { width: 150px; }
  .tap-phone { width: 68px; height: 136px; }

  /* mobile : une seule rangée, cartes un peu plus étroites, défilement plus vif */
  .rw-marquee { margin-top: 30px; }
  .rw-row-b { display: none; }
  .rw-card { flex-basis: 260px; margin-right: 14px; }
  .rw-row-a .rw-track { animation-duration: 34s; }
  .rn-text { font-size: 11.5px; }
  .rn-avatar { width: 26px; height: 26px; font-size: 12px; }
  .hero-actions { flex-direction: column; gap: 18px; }
  .form-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PAGE NFC — hero « rayons X » (carte en coupe)
   ============================================================ */
.nfc-hero { padding: 90px 0 72px; }
.nfc-hero-inner {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 50px; align-items: center;
}
.nfc-hero-copy h1 {
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.03;
  margin: 0 0 20px;
}
.nfc-hero-copy h1 span { color: var(--brand); }
.nfc-hero-sub {
  font-size: 17px; line-height: 1.6; color: var(--muted);
  margin: 0 0 28px; max-width: 44ch;
}
.nfc-hero-visual { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.nfc-hero-video {
  width: 100%; max-width: 460px; height: auto; display: block;
  border-radius: 16px;
}

@media (max-width: 820px) {
  .nfc-hero { padding: 56px 0 40px; }
  .nfc-hero-inner { grid-template-columns: 1fr; gap: 34px; }
  .nfc-hero-copy { text-align: center; }
  .nfc-hero-sub { margin-left: auto; margin-right: auto; }
  .nfc-hero-copy .hero-actions { justify-content: center; }
}

/* PAGE NFC — section « c'est quoi le NFC ? » (analogie paiement) */
.nfc-what { text-align: center; }
.nfc-what-inner { max-width: 680px; margin: 0 auto; }
.nfc-what h2 {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.06;
  margin: 10px 0 20px; text-wrap: balance;
}
.nfc-what h2 span { color: var(--brand); }
.nfc-what p {
  font-size: 17px; line-height: 1.65; color: var(--muted);
  margin: 0 auto; max-width: 52ch;
}
.nfc-analogy {
  display: flex; align-items: center; justify-content: center;
  gap: 16px 22px; margin-top: 34px; flex-wrap: wrap;
}
.nfc-analogy-item {
  display: inline-flex; align-items: center; gap: 11px;
}
.nfc-analogy-item svg { width: 32px; height: 32px; color: var(--brand); flex-shrink: 0; }
.nfc-analogy-item span { font-size: 16px; font-weight: 600; color: var(--text); }
.nfc-analogy-eq { font-size: 24px; font-weight: 700; color: var(--brand); opacity: .75; }

@media (max-width: 560px) {
  .nfc-analogy { gap: 12px 16px; }
  .nfc-analogy-item span { font-size: 15px; }
}

/* PAGE NFC — section portail : reproduction fidèle de l'espace client (tokens client2.0) */
.nfc-portal-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.nfc-portal-head h2 {
  font-size: clamp(28px, 3.6vw, 46px);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.08;
  margin: 10px 0 16px; text-wrap: balance;
}
.nfc-portal-head h2 span { color: var(--brand); }
.nfc-portal-head p { font-size: 16px; line-height: 1.65; color: var(--muted); margin: 0 auto; max-width: 52ch; }

/* le mockup emprunte la police du vrai portail (Avenir Next), pas Manrope */
.portal-mock {
  max-width: 900px; margin: 0 auto;
  font-family: "Avenir Next", "Helvetica Neue", "Segoe UI", sans-serif;
}
/* grande carte « espace client » : recette de carte du portail + lueur dorée du fond */
.portal-mock-hero {
  position: relative; overflow: hidden;
  border-radius: 26px; padding: 40px 44px;
  border: 1px solid rgba(243, 210, 79, 0.20);
  background:
    radial-gradient(150% 120% at 0% -20%, rgba(243, 210, 79, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(23, 24, 27, 0.98), rgba(15, 16, 18, 0.98));
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.28);
}
.portal-mock-hero::before {
  content: ""; position: absolute; inset: 0 auto auto 0; width: 100%; height: 1px;
  background: linear-gradient(90deg, rgba(243, 210, 79, 0.75), transparent 72%);
}
.portal-mock-eyebrow {
  display: block; font-size: 14px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 12px;
}
.portal-mock-title {
  font-size: clamp(34px, 5vw, 54px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.02;
  color: var(--text); margin: 0 0 14px;
}
.portal-mock-text { font-size: 16px; line-height: 1.5; color: var(--muted); margin: 0; max-width: 60ch; }
/* rangée de 3 tuiles KPI : même recette de carte + ligne dorée en haut */
.portal-mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.portal-mock-card {
  position: relative; overflow: hidden;
  border-radius: 20px; padding: 22px 24px;
  border: 1px solid rgba(243, 210, 79, 0.18);
  background: linear-gradient(180deg, rgba(18, 20, 22, 0.98), rgba(14, 15, 17, 0.98));
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}
.portal-mock-card::before {
  content: ""; position: absolute; inset: 0 auto auto 0; width: 100%; height: 1px;
  background: linear-gradient(90deg, rgba(243, 210, 79, 0.75), transparent 72%);
}
.portal-mock-label {
  font-size: 14px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px;
}
.portal-mock-value {
  font-size: clamp(30px, 4vw, 40px); font-weight: 800; color: var(--text); line-height: 1;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.portal-mock-value .stars { color: var(--brand); font-size: 0.58em; letter-spacing: 2px; }
.portal-mock-trend {
  display: inline-flex; align-items: center; margin-top: 12px;
  padding: 6px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  color: #97e7a8; background: rgba(90, 201, 117, 0.14); border: 1px solid rgba(90, 201, 117, 0.2);
}
.portal-note { margin-top: 16px; font-size: 12px; color: var(--muted-2); text-align: center; }

@media (max-width: 720px) {
  .portal-mock-hero { padding: 30px 26px; }
  .portal-mock-kpis { grid-template-columns: 1fr; }
}

/* ============================================================
   NAV — sous-menu « Produits » (desktop) + sous-liens (mobile)
   ============================================================ */
.nav-item { position: relative; display: flex; align-items: center; }
.nav-item.has-sub > a { position: relative; z-index: 1; }

.nav-sub {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 190px; padding: 8px;
  background: rgba(12, 12, 13, 0.96);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  z-index: 60;
}
/* petit pont invisible pour éviter que le survol « tombe » entre le lien et le menu */
.nav-item.has-sub::after {
  content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 10px;
}
.nav-item.has-sub:hover .nav-sub,
.nav-item.has-sub:focus-within .nav-sub {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-sub-link {
  padding: 9px 14px; border-radius: 9px;
  font-size: 13.5px; font-weight: 600; color: var(--muted); white-space: nowrap;
  transition: color .18s ease, background .18s ease;
}
.nav-sub-link:hover { color: var(--text); background: var(--surface-soft); }

/* Accordéon : sous-menu replié par défaut, s'ouvre au clic sur « Produits ». */
.mobile-submenu {
  display: flex; flex-direction: column; align-items: center;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height .35s cubic-bezier(0.2, 0.6, 0.2, 1), opacity .3s ease;
}
.mobile-submenu.is-open { max-height: 220px; opacity: 1; }

/* Sous-liens (Carte / Plaque) : blanc, épurés, taille intermédiaire sous le gros menu. */
.mobile-menu-links a.mobile-menu-sub {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
  opacity: 0.72;
  transform: none;
  padding: 7px 24px;
}
.mobile-menu-links a.mobile-menu-sub:hover,
.mobile-menu-links a.mobile-menu-sub:active {
  color: var(--brand);
  opacity: 1;
}

/* ============================================================
   PAGE CATALOGUE — en-tête + grille de produits
   ============================================================ */
/* En-tête catalogue : le titre est juste au-dessus de la grille — pas de gros
   vide entre les deux (les deux sections section-tight s'additionnaient). */
.catalog-head-section { padding-top: 120px; padding-bottom: 28px; }
.catalog-grid-section { padding-top: 48px; }
.catalog-head h1 {
  font-size: clamp(30px, 5vw, 46px); font-weight: 800; color: var(--text);
  line-height: 1.08; margin: 0;
}

.catalog-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.catalog-card {
  display: flex; flex-direction: column;
  /* surface continue (léger dégradé) — plus de « boîte image » distincte */
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01));
  border: 1px solid var(--border);
  border-radius: 22px; overflow: hidden;
  transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.catalog-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-5px);
  box-shadow: 0 26px 54px rgba(0, 0, 0, 0.45);
}
.catalog-card-media {
  position: relative; aspect-ratio: 1 / 1;
  /* halo doux (légère teinte or) au lieu d'un carré plat : le produit flotte, pas collé */
  background: radial-gradient(62% 50% at 50% 44%, rgba(243, 210, 79, 0.07), transparent 72%);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  padding: 40px 40px 22px;
}
/* produit affiché en entier (vraies proportions), plus petit, centré — façon vitrine */
.catalog-card-photo {
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.5));
  transition: transform .4s ease;
}
.catalog-card:hover .catalog-card-photo { transform: scale(1.03); }
.catalog-card-note { font-size: 12.5px; color: var(--muted-2); padding: 0 16px; text-align: center; }

.catalog-card-body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.catalog-card-name { font-size: 22px; font-weight: 800; color: var(--text); margin: 0; }
.catalog-card-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto; padding-top: 18px; border-top: 1px solid var(--border);
}
.catalog-card-price { display: flex; flex-direction: column; line-height: 1.2; }
.catalog-card-from { font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted-2); }
.catalog-card-price strong { font-size: 20px; font-weight: 800; color: var(--text); }
.catalog-card-cta {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13.5px; font-weight: 700; color: var(--brand);
}
.catalog-card-cta svg { transition: transform .25s ease; }
.catalog-card:hover .catalog-card-cta svg { transform: translateX(3px); }

@media (max-width: 720px) {
  .catalog-grid { grid-template-columns: 1fr; }
  .catalog-head-section { padding-top: 100px; }
  /* marges latérales un peu plus serrées sur mobile (titre + cartes alignés) */
  .catalog-head, .catalog-grid { width: min(var(--content), calc(100% - 36px)); }
}
