/* =========================================================
   GNT Télécom — Système de design
   ========================================================= */

/* Titres : Hurme Geometric Sans 3 Bold (fichier fourni, licence web à vérifier) */
@font-face {
  font-family: 'Hurme Geometric Sans 3';
  src: local('Hurme Geometric Sans No.3 Bold'), local('HurmeGeometricSans3-Bold'),
       url('../fonts/HurmeGeometricSans_No3_6_Bold.otf') format('opentype');
  font-weight: 600 800;
  font-style: normal;
  font-display: swap;
}
/* Paragraphes : Objectivity (pour l'auto-héberger, déposer les .woff dans assets/fonts et remplacer les URL) */
@font-face {
  font-family: 'Objectivity';
  src: local('Objectivity Regular'), local('Objectivity-Regular'), url('https://fonts.cdnfonts.com/s/18151/Objectivity-Regular.woff') format('woff');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Objectivity';
  src: local('Objectivity Medium'), local('Objectivity-Medium'), url('https://fonts.cdnfonts.com/s/18151/Objectivity-Medium.woff') format('woff');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Objectivity';
  src: local('Objectivity Bold'), local('Objectivity-Bold'), url('https://fonts.cdnfonts.com/s/18151/Objectivity-Bold.woff') format('woff');
  font-weight: 600 800; font-style: normal; font-display: swap;
}

:root {
  --z: 1; /* échelle d'affichage du site (voir « Échelle d'affichage » plus bas) */
  --red: #DC002E;
  --red-600: #B80026;
  --red-050: #FDEBEF;
  --ink: #101319;
  --night: #171C25;
  --night-2: #1E2430;
  --white: #FFFFFF;
  --grey-050: #F5F6F8;
  --grey-100: #ECEEF1;
  --grey-200: #DFE2E7;
  --grey: #747B86;
  --text: #101319;
  --muted: #747B86;
  --ok: #138A4B;
  --warn: #B86E00;

  --font-head: 'Hurme Geometric Sans 3', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Objectivity', 'Segoe UI', system-ui, sans-serif;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(16, 19, 25, .06), 0 2px 8px rgba(16, 19, 25, .04);
  --shadow: 0 10px 30px -12px rgba(16, 19, 25, .18), 0 2px 6px rgba(16, 19, 25, .05);
  --shadow-lg: 0 30px 60px -20px rgba(16, 19, 25, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 72px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; margin: 0; letter-spacing: -0.01em; font-weight: 700; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { width: 20px; height: 20px; flex: none; }

/* Largeur du contenu : marges latérales réduites de 40 % par rapport à l'ancien conteneur de 1240 px
   (marge = 60 % de l'ancienne ; 100vw / var(--z) = largeur réelle de l'écran malgré l'échelle d'affichage) */
.container { width: 100%; max-width: calc(0.4 * 100vw / var(--z) + 744px); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: 920px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 26px; border-radius: 999px;
  font-weight: 600; font-size: 15px; letter-spacing: .005em; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s, border-color .25s;
  border: 1.5px solid transparent;
}
.btn .ic { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .ic-arrow, .btn:hover .ic:last-child { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 10px 24px -10px rgba(220, 0, 46, .7); }
.btn-primary:hover { background: var(--red-600); box-shadow: 0 14px 30px -10px rgba(220, 0, 46, .8); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--night-2); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--grey-050); }
.btn-outline { border-color: var(--grey-200); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .55; pointer-events: none; }
.btn.is-loading::after { content: ''; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.icon-btn {
  position: relative; display: inline-grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%;
  transition: background .2s, color .2s;
}
.icon-btn:hover { background: rgba(127, 127, 127, .12); }
.icon-btn .count {
  position: absolute; top: 3px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--red); color: #fff; font-size: 11px; font-weight: 700;
  display: grid; place-items: center; line-height: 1; transform: scale(0); transition: transform .3s var(--ease);
}
.icon-btn .count.on { transform: scale(1); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--red); }
.link-arrow .ic { width: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover .ic { transform: translateX(4px); }

/* ---------- En-tête ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  color: #fff; transition: background .35s, color .35s, box-shadow .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
/* Barre du menu : sombre à 70 %, flou de l'arrière-plan et grain (effet verre dépoli), sur toutes les pages, en haut comme au défilement */
.site-header, .site-header.solid, body.header-solid .site-header {
  background: rgba(6, 7, 10, .7); color: #fff;
  backdrop-filter: saturate(140%) blur(24px); -webkit-backdrop-filter: saturate(140%) blur(24px);
  border-bottom-color: rgba(255, 255, 255, .08);
}
/* Grain : bruit fin superposé au verre */
.site-header::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .16; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.site-header .header-inner { position: relative; z-index: 1; }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: inline-flex; align-items: center; }
.logo-img { height: 44px; width: auto; }
.logo .on-light { display: none; }
.login-card .logo .on-dark { display: none; }
.login-card .logo .on-light { display: block; }
.site-footer .logo-img { height: 58px; }
.main-nav { display: flex; gap: 4px; }
.main-nav { align-items: center; }
.main-nav .nav-link {
  position: relative; display: inline-flex; align-items: center; gap: 4px; padding: 8px 16px; font-size: 15px; font-weight: 500; border-radius: 999px;
  opacity: .82; transition: opacity .2s, background .2s;
}
.main-nav .nav-link:hover { opacity: 1; }
.main-nav .nav-link.active { opacity: 1; }
.nav-caret { width: 14px; height: 14px; transition: transform .3s; }
.nav-item { position: relative; }
.nav-item:hover .nav-caret, .nav-item:focus-within .nav-caret { transform: rotate(180deg); }
.nav-dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; min-width: 250px; padding: 8px;
  background: #fff; color: var(--ink); border-radius: 16px; box-shadow: var(--shadow-lg); border: 1px solid var(--grey-100);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .25s, transform .25s var(--ease), visibility .25s;
}
.nav-dropdown::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav-item:hover .nav-dropdown, .nav-item:focus-within .nav-dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-dropdown a { display: block; padding: 10px 14px; border-radius: 10px; font-size: 14.5px; font-weight: 500; transition: background .2s, color .2s; }
.nav-dropdown a:hover { background: var(--grey-050); color: var(--red); }
.nav-dropdown a.current { color: var(--red); }
.mobile-nav .mobile-group { font-family: var(--font-head); font-size: 30px; font-weight: 700; padding: 14px 0 6px; }
.mobile-nav .mobile-group.active { color: var(--red); }
.mobile-nav nav a.mobile-sub { font-size: 18px; padding: 10px 0 10px 16px; font-family: var(--font-body); font-weight: 500; }
/* Ligne rouge aux extrémités arrondies, qui s'ouvre depuis le centre au survol */
.main-nav .nav-link::after {
  content: ''; position: absolute; left: 22%; right: 22%; bottom: 0; height: 2px;
  background: var(--red);
  border-radius: 999px;
  transform: scaleX(0); transform-origin: center;
  transition: transform .45s cubic-bezier(.2, .8, .2, 1);
}
/* Halo lumineux sous la ligne (le clip-path empêche une ombre directe) */
.main-nav .nav-link::before {
  content: ''; position: absolute; left: 18%; right: 18%; bottom: -3px; height: 8px; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(255, 30, 70, .75) 0%, rgba(220, 0, 46, .35) 40%, rgba(220, 0, 46, 0) 72%);
  filter: blur(2px); opacity: 0;
  transform: scaleX(0); transform-origin: center;
  transition: transform .45s cubic-bezier(.2, .8, .2, 1), opacity .45s;
}
.main-nav .nav-link:hover::after, .main-nav .nav-link:focus-visible::after, .main-nav .nav-link.active::after { transform: scaleX(1); }
.main-nav .nav-link:hover::before, .main-nav .nav-link:focus-visible::before, .main-nav .nav-link.active::before { transform: scaleX(1); opacity: 1; }
.header-actions { display: flex; align-items: center; gap: 2px; }
.menu-toggle { display: none; }

/* Menu mobile */
.mobile-nav {
  position: fixed; inset: 0; z-index: 60; background: var(--ink); color: #fff;
  padding: 24px; display: flex; flex-direction: column;
  transform: translateY(-100%); transition: transform .5s var(--ease); visibility: hidden;
}
.mobile-nav.open { transform: none; visibility: visible; }
.mobile-nav-head { display: flex; justify-content: space-between; align-items: center; }
.mobile-nav nav { display: flex; flex-direction: column; margin-top: 40px; }
.mobile-nav nav a {
  font-family: var(--font-head); font-size: 30px; font-weight: 600; padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08); display: flex; justify-content: space-between; align-items: center;
}
.mobile-nav nav a.active { color: var(--red); }
.mobile-nav-foot { margin-top: auto; display: grid; gap: 12px; }

/* ---------- Sections ---------- */
.section { padding: 120px 0; position: relative; }
.section-sm { padding: 80px 0; }
.section-sm + .section:not([class*="section-"]) { padding-top: 40px; }
.section-dark { background: var(--ink); color: #fff; }
.section-night { background: var(--night); color: #fff; }
.section-grey { background: var(--grey-050); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 18px;
}
.h-display { font-size: clamp(40px, 6.2vw, 78px); font-weight: 700; letter-spacing: -0.02em; }
.h1 { font-size: clamp(34px, 4.6vw, 58px); letter-spacing: -0.02em; }
.h2 { font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -0.02em; }
.h3 { font-size: 22px; }
.lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--muted); line-height: 1.65; }
.section-dark .lead, .section-night .lead, .hero .lead { color: rgba(255, 255, 255, .68); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 56px; }
.section-head .lead { max-width: 520px; margin-top: 16px; }
.text-red { color: var(--red); }
.center { text-align: center; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; background: var(--ink); color: #fff;
  min-height: calc(100vh / var(--z)); min-height: calc(100svh / var(--z)); display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 80px;
}
.hero-sub { min-height: 0; padding: calc(var(--header-h) + 90px) 0 100px; }
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 60% at 75% 45%, rgba(220, 0, 46, .28), transparent 65%),
    radial-gradient(40% 50% at 10% 100%, rgba(80, 96, 130, .22), transparent 70%);
}
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 70% at 60% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(70% 70% at 60% 40%, #000 30%, transparent 80%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; width: 100%; }
.hero h1 { margin-bottom: 26px; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero .lead { max-width: 560px; margin-bottom: 40px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; margin-bottom: 28px;
  border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; font-size: 13px; color: rgba(255, 255, 255, .8);
  background: rgba(255, 255, 255, .04);
}
.hero-badge .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--red); display: grid; place-items: center; }
.hero-badge .dot::after { content: ''; width: 6px; height: 6px; background: #fff; border-radius: 50%; }

/* Composition des smartphones */
.phone-stage { position: relative; height: min(640px, 72vh); perspective: 1600px; }
.phone-stage .ph { position: absolute; top: 50%; left: 50%; width: 38%; filter: drop-shadow(0 40px 50px rgba(0, 0, 0, .55)); will-change: transform; }
.phone-stage .ph-1 { transform: translate(-115%, -46%) rotate(-12deg) rotateY(18deg); z-index: 1; animation: float1 8s ease-in-out infinite; }
.phone-stage .ph-2 { transform: translate(-50%, -54%); z-index: 3; width: 42%; animation: float2 7s ease-in-out infinite; }
.phone-stage .ph-3 { transform: translate(20%, -44%) rotate(11deg) rotateY(-18deg); z-index: 2; animation: float3 9s ease-in-out infinite; }
.phone-stage .halo {
  position: absolute; left: 50%; top: 55%; width: 90%; aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; background: radial-gradient(circle, rgba(220, 0, 46, .45), transparent 62%); filter: blur(30px);
}
.phone-stage .floor {
  position: absolute; left: 10%; right: 10%; bottom: 2%; height: 40px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .7), transparent); filter: blur(8px);
}
.phone-stage .ring { position: absolute; left: 50%; top: 52%; width: 78%; aspect-ratio: 1; transform: translate(-50%, -50%); border: 1px solid rgba(255, 255, 255, .08); border-radius: 50%; }
.phone-stage .ring.r2 { width: 104%; border-style: dashed; border-color: rgba(255, 255, 255, .06); animation: turn 60s linear infinite; }
@keyframes turn { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes float1 { 50% { transform: translate(-115%, -49%) rotate(-11deg) rotateY(18deg); } }
@keyframes float2 { 50% { transform: translate(-50%, -57%); } }
@keyframes float3 { 50% { transform: translate(20%, -41%) rotate(12deg) rotateY(-18deg); } }

.hero-scroll { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .45); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hero-scroll::after { content: ''; width: 1px; height: 38px; background: linear-gradient(rgba(255, 255, 255, .5), transparent); animation: scrollcue 2s ease-in-out infinite; }
@keyframes scrollcue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Hero de page secondaire */
.page-hero-grid { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.page-hero-visual { position: relative; height: 360px; isolation: isolate; }
.page-hero-visual .ph { position: absolute; left: 50%; top: 50%; width: 46%; transform: translate(-50%, -50%) rotate(-8deg); filter: drop-shadow(0 40px 40px rgba(0, 0, 0, .5)); }
.page-hero-visual .ph + .ph { transform: translate(-5%, -44%) rotate(9deg); width: 40%; z-index: -1; opacity: .9; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 13px; color: rgba(255, 255, 255, .55); margin-bottom: 22px; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Présentation (accueil) ---------- */
.about { overflow: hidden; padding-top: 0; }
.about-intro { position: relative; padding: 130px 0 150px; }
.about-text { color: #4a505b; font-size: 16px; line-height: 1.75; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.about { padding-bottom: 0; }

/* ---------- Intro d'ouverture (accueil) ---------- */
.intro { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; background: #fff; transition: opacity .5s ease; }
.no-intro .intro { display: none; }
html.intro-on, html.intro-on body { overflow: hidden; }
.intro-logo { position: relative; width: min(220px, 46vw); animation: intro-in .7s cubic-bezier(.2, .7, .2, 1) both; }
.intro-logo img { display: block; width: 100%; height: auto; transition: opacity .3s ease, transform .55s cubic-bezier(.7, 0, .84, 0); }
/* Le point rouge du logo (cx 412.7 / cy 113.8 / r 15.7 dans le viewBox du logo) */
.intro-dot {
  position: absolute; left: 94.13%; top: 10.26%; width: 11.76%; aspect-ratio: 1; border-radius: 50%;
  background: #C91517; transform: translate(-50%, -50%) scale(1);
  animation: intro-glow 1s ease .55s both;
  transition: transform .55s cubic-bezier(.7, 0, .84, 0);
}
.intro.zoom .intro-dot { transform: translate(-50%, -50%) scale(var(--zoom, 200)); box-shadow: none; animation: none; }
.intro.zoom .intro-logo img { opacity: 0; transform: scale(1.4); }
.intro.out { opacity: 0; pointer-events: none; }
@keyframes intro-in { from { opacity: 0; transform: scale(.92); } }
@keyframes intro-glow {
  0% { box-shadow: 0 0 0 0 rgba(220, 0, 46, 0); }
  45% { box-shadow: 0 0 22px 8px rgba(220, 0, 46, .75), 0 0 60px 18px rgba(220, 0, 46, .35); }
  100% { box-shadow: 0 0 12px 3px rgba(220, 0, 46, .55); }
}
/* Pendant l'intro, le contenu du hero attend pour apparaître juste après */
html.intro-on .hero .reveal { opacity: 0 !important; transform: translateY(28px) !important; }

/* ---------- Hero vidéo (YouTube en fond, sans contrôles ni interaction) ---------- */
.hero-video::before, .hero-image::before { display: none; }
.hero-image .hero-media {
  left: 30%; background: transparent;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
}
.hero-image .hero-poster { object-position: 60% center; }
@media (max-width: 980px) {
  .hero-image .hero-media { left: 0; -webkit-mask-image: none; mask-image: none; }
}
.hero-media { position: absolute; inset: 0; overflow: hidden; background: #000; pointer-events: none; }
.hero-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 1.2s; }
.hero-media iframe { position: absolute; top: 50%; left: 50%; border: 0; opacity: 0; transition: opacity 1.2s; pointer-events: none; }
.hero-media.playing iframe { opacity: 1; }
.hero-media.playing .hero-poster { opacity: 0; }
.hero-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    /* voile noir doux sous le bloc de texte */
    radial-gradient(ellipse 58% 68% at 22% 55%, rgba(0, 0, 0, .86) 0%, rgba(0, 0, 0, .55) 45%, rgba(0, 0, 0, 0) 78%),
    linear-gradient(90deg, rgba(16, 19, 25, .9) 0%, rgba(16, 19, 25, .62) 38%, rgba(16, 19, 25, .1) 75%),
    linear-gradient(0deg, rgba(16, 19, 25, .85) 0%, rgba(16, 19, 25, 0) 35%),
    linear-gradient(180deg, rgba(16, 19, 25, .55) 0%, rgba(16, 19, 25, 0) 22%);
}
.hero-video .hero-inner { grid-template-columns: minmax(0, 640px); }
@media (max-width: 980px) {
  .hero.hero-video { min-height: calc(100vh / var(--z)); min-height: calc(100svh / var(--z)); }
  .hero-shade {
    background:
      radial-gradient(ellipse 90% 55% at 30% 50%, rgba(0, 0, 0, .7) 0%, rgba(0, 0, 0, 0) 75%),
      linear-gradient(0deg, rgba(16, 19, 25, .95) 0%, rgba(16, 19, 25, .7) 55%, rgba(16, 19, 25, .4) 100%);
  }
}

/* ---------- Vidéo YouTube (chargement différé) ---------- */
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; background: var(--ink); box-shadow: var(--shadow-lg); }
.yt img, .yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.yt img { transition: transform .8s var(--ease), filter .4s; filter: brightness(.82); }
.yt:hover img { transform: scale(1.03); filter: brightness(.7); }
.yt-play {
  position: absolute; left: 50%; top: 50%; width: 88px; height: 88px; margin: -44px 0 0 -44px; border-radius: 50%;
  background: var(--red); color: #fff; display: grid; place-items: center;
  box-shadow: 0 0 0 10px rgba(220, 0, 46, .25), 0 20px 40px -10px rgba(0, 0, 0, .5); transition: transform .3s var(--ease), box-shadow .3s;
}
.yt-play svg { width: 34px; height: 34px; margin-left: 4px; }
.yt:hover .yt-play { transform: scale(1.08); box-shadow: 0 0 0 16px rgba(220, 0, 46, .2), 0 20px 40px -10px rgba(0, 0, 0, .5); }
@media (max-width: 720px) { .yt { border-radius: 16px; } .yt-play { width: 64px; height: 64px; margin: -32px 0 0 -32px; } .yt-play svg { width: 26px; height: 26px; } }

/* ---------- Partenariat TECNO ---------- */
.tp-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.tp-stat { display: flex; align-items: center; gap: 20px; margin-top: 32px; padding: 20px 24px; background: #fff; border-left: 3px solid var(--red); border-radius: 0 16px 16px 0; box-shadow: var(--shadow-sm); }
.tp-stat b { font-family: var(--font-head); font-size: 42px; line-height: 1; color: var(--red); white-space: nowrap; }
.tp-stat span { font-size: 14.5px; color: #4a505b; line-height: 1.5; }
.tp-media { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tp-media figure { margin: 0; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--grey-100); }
.tp-media .tp-main { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.tp-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tp-media figure:hover img { transform: scale(1.04); }

/* Vidéo pleine hauteur sur toute la moitié gauche, fondue dans le gris du fond côté texte (texte à droite) */
#partenariat-tecno { position: relative; overflow: hidden; }
#partenariat-tecno .tp-grid { grid-template-columns: 1.1fr 1fr; }
#partenariat-tecno .tp-grid > div:first-child { position: relative; z-index: 1; grid-column: 2; }
.tp-video {
  position: absolute; top: 0; bottom: 0; left: 0; right: 40%;
  -webkit-mask-image: linear-gradient(270deg, transparent 0%, rgba(0, 0, 0, .35) 20%, #000 48%), linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(270deg, transparent 0%, rgba(0, 0, 0, .35) 20%, #000 48%), linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask-composite: intersect;
}
.tp-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
@media (max-width: 980px) {
  #partenariat-tecno .tp-grid { grid-template-columns: 1fr; }
  #partenariat-tecno .tp-grid > div:first-child { grid-column: auto; }
  .tp-video {
    position: relative; left: auto; right: auto; height: 300px; margin: 0 calc(var(--gutter) * -1) -90px;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 35%, #000 85%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 35%, #000 85%, transparent 100%);
  }
}

/* ---------- Politique qualité ---------- */
.pq-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: center; }
.pq-photo { position: relative; margin: 0; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--grey-100); box-shadow: var(--shadow-lg); }
.pq-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.pq-photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 28px 24px; color: #fff; display: flex; flex-direction: column; gap: 2px;
  background: linear-gradient(0deg, rgba(16, 19, 25, .85) 0%, rgba(16, 19, 25, 0) 100%);
}
.pq-photo figcaption b { font-family: var(--font-head); font-size: 20px; }
.pq-photo figcaption span { font-size: 14px; opacity: .8; }
.pq-sign { display: flex; flex-direction: column; gap: 2px; margin-top: 32px; padding-left: 16px; border-left: 3px solid var(--red); }
.pq-sign b { font-family: var(--font-head); font-size: 17px; }
.pq-sign span { font-size: 13.5px; color: var(--muted); }
.pq-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pq-list li { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 14px; padding: 16px 20px; background: #fff; border: 1px solid var(--grey-100); border-radius: 16px; font-size: 15px; font-weight: 500; line-height: 1.45; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.pq-list li span { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--red-050); color: var(--red); font-family: var(--font-head); font-weight: 700; font-size: 14px; }
.pq-list li:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); border-color: transparent; }
@media (max-width: 980px) { .pq-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- Certification ISO 9001 ---------- */
.iso-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: center; }
.iso-badge { display: grid; place-items: center; }
.iso-wrap { position: relative; width: min(280px, 72%); filter: drop-shadow(0 22px 30px rgba(130, 20, 30, .25)); }
.iso-wrap img { display: block; width: 100%; height: auto; }
/* L'éclat est découpé à la silhouette du badge */
.iso-shine {
  position: absolute; inset: 0; pointer-events: none;
  -webkit-mask: url('../img/iso-9001-msecb-base.png') center / 100% 100% no-repeat;
  mask: url('../img/iso-9001-msecb-base.png') center / 100% 100% no-repeat;
}
/* Éclat qui balaie le badge en diagonale, puis pause d'environ 3 s, en boucle */
.iso-shine { background: linear-gradient(110deg, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, .7) 49%, rgba(255, 255, 255, .15) 53%, rgba(255, 255, 255, 0) 62%) no-repeat; background-size: 260% 100%; background-position: 160% 0; }
.iso-badge.in .iso-shine { animation: iso-shine 4.2s cubic-bezier(.4, 0, .2, 1) 2.2s infinite; }
@keyframes iso-shine { 0% { background-position: 160% 0; } 28%, 100% { background-position: -60% 0; } }
.iso-check { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.iso-check path { fill: none; stroke: #fff; stroke-dasharray: 100; stroke-dashoffset: 100; }
.iso-ring { stroke-width: 7; stroke-linecap: round; }
.iso-tick { stroke-width: 20; stroke-linejoin: miter; stroke-linecap: butt; }
/* Animation « confirmé » : le cercle se trace, puis la coche, puis un éclat lumineux */
.iso-badge.in .iso-ring { animation: iso-draw .9s cubic-bezier(.6, 0, .3, 1) .35s forwards; }
.iso-badge.in .iso-tick { animation: iso-draw .45s cubic-bezier(.3, 0, .2, 1) 1.15s forwards; }
.iso-badge.in .iso-wrap { animation: iso-pop .6s cubic-bezier(.3, 1.6, .5, 1) 1.55s; }
.iso-badge.in .iso-check { animation: iso-flash 1.1s ease 1.55s; }
@keyframes iso-draw { to { stroke-dashoffset: 0; } }
@keyframes iso-pop { 40% { transform: scale(1.06); } }
@keyframes iso-flash { 30% { filter: drop-shadow(0 0 10px rgba(255, 255, 255, .95)) drop-shadow(0 0 22px rgba(255, 120, 140, .7)); } }
@media (prefers-reduced-motion: reduce) { .iso-check path { stroke-dashoffset: 0; } .iso-badge.in .iso-shine { animation: none; } }
.iso-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
.iso-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; font-weight: 500; line-height: 1.45; }
.iso-list .ic { flex: none; width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--red-050); color: var(--red); stroke-width: 2.4; }

/* ---------- Marques internationales : texte + bandeau défilant ---------- */
.xp-head { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; }
.xp-text p { color: #4a505b; font-size: 16px; line-height: 1.75; }
.xp-text p + p { margin-top: 14px; }
.xp-marquee {
  margin-top: 72px; overflow: hidden; padding: 28px 0; border-top: 1px solid var(--grey-100); border-bottom: 1px solid var(--grey-100);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.xp-track { display: flex; align-items: center; gap: 72px; width: max-content; animation: xp-scroll 38s linear infinite; }
.xp-track img { height: 40px; width: auto; max-width: 150px; /* logos plus petits : restent nets (images sources de 120 à 190 px de haut) */ object-fit: contain; filter: grayscale(1) contrast(.9); opacity: .55; flex: none; }
.xp-marquee:hover .xp-track { animation-play-state: paused; }
@keyframes xp-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .xp-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; gap: 40px; } }

/* ---------- Bandeau Djezzy pleine largeur ---------- */
.dz-full .dz-banner { display: block; border-radius: 0; padding: 110px 0; }
.dz-full .dz-banner::after { right: 4%; }
.dz-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }

/* ---------- Points forts : section noire, texte révélé par une « torche » rouge ---------- */
@property --tr { syntax: '<length>'; inherits: true; initial-value: 0px; }
@property --tx { syntax: '<length>'; inherits: true; initial-value: 0px; }
@property --ty { syntax: '<length>'; inherits: true; initial-value: 0px; }
@property --vx { syntax: '<length>'; inherits: true; initial-value: 0px; }
@property --vy { syntax: '<length>'; inherits: true; initial-value: 0px; }
.values-torch { position: relative; overflow: hidden; padding: 130px 0; background: #050608; color: #fff; --tr: 0px; transition: --tr .9s cubic-bezier(.2, .7, .2, 1); }
.values-torch.lit { --tr: 420px; }
/* Retour fluide de la lumière vers le centre (désactivé pendant que la souris la guide) */
.values-torch.glide { transition: --tr .9s cubic-bezier(.2, .7, .2, 1), --tx .8s ease, --ty .8s ease, --vx .8s ease, --vy .8s ease; }
.torch-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(calc(var(--tr) * 1.7) circle at var(--tx) var(--ty), rgba(220, 0, 46, .4) 0%, rgba(220, 0, 46, .18) 35%, rgba(220, 0, 46, .06) 60%, transparent 80%);
}
.values-torch .values {
  position: relative;
  /* Hors de la lumière, le texte reste visible à 8 % pour inviter à le découvrir */
  -webkit-mask-image: radial-gradient(var(--tr) circle at var(--vx) var(--vy), #000 25%, rgba(0, 0, 0, .7) 45%, rgba(0, 0, 0, .3) 70%, rgba(0, 0, 0, .08) 100%);
  mask-image: radial-gradient(var(--tr) circle at var(--vx) var(--vy), #000 25%, rgba(0, 0, 0, .7) 45%, rgba(0, 0, 0, .3) 70%, rgba(0, 0, 0, .08) 100%);
}
.values-torch .value p { color: rgba(255, 255, 255, .78); }
.values-torch .value-ico [stroke="#101319"] { stroke: #fff; }
/* Écrans tactiles : pas de survol, le texte reste visible */
@media (hover: none) {
  .values-torch .values { -webkit-mask-image: none; mask-image: none; }
  .torch-glow { background: radial-gradient(60% 50% at 50% 40%, rgba(220, 0, 46, .25), transparent 75%); }
}
@media (max-width: 980px) {
  .tp-grid, .iso-grid, .xp-head { grid-template-columns: 1fr; gap: 28px; }
  .dz-inner { grid-template-columns: 1fr; }
  .dz-full .dz-banner { padding: 80px 0; }
  .values-torch { padding: 90px 0; }
  .xp-track { gap: 64px; }
  .xp-track img { height: 48px; }
}
@media (max-width: 720px) {
  .iso-list { grid-template-columns: 1fr; }
  .tp-stat b { font-size: 34px; }
}

/* ---------- Livraison nationale ---------- */
.dl-head { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; padding-bottom: 56px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.dl-head .lead { max-width: 520px; justify-self: end; }
.dl-body { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: center; padding: 56px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.dl-map svg { display: block; width: 100%; height: auto; overflow: visible; }
/* Contour de l'Algérie : tracé qui se dessine, ligne rouge lumineuse, impulsions qui font le tour */
.dl-map .land-fill { fill: rgba(220, 0, 46, .04); }
.dl-map .land-line { fill: #DC002E; filter: url(#land-glow); opacity: 0; }
.dl-map .land-draw { fill: none; stroke: #ff2a55; stroke-width: 5; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 100; filter: url(#land-glow); }
.dl-map .land-pulse { fill: none; stroke: #ffd3dc; stroke-width: 6; stroke-linecap: round; stroke-dasharray: 3.5 96.5; stroke-dashoffset: 100; filter: url(#land-glow); opacity: 0; }
.dl-map.in .land-draw { animation: land-draw 3.2s cubic-bezier(.5, 0, .3, 1) forwards; }
.dl-map.in .land-line { animation: land-on .8s ease 2.6s forwards; }
.dl-map.in .land-pulse { animation: land-pulse 10s linear 3s infinite; }
.dl-map.in .land-pulse.p2 { animation-delay: 8s; }
@keyframes land-draw { to { stroke-dashoffset: 0; opacity: .55; } }
@keyframes land-on { to { opacity: 1; } }
@keyframes land-pulse { 0% { stroke-dashoffset: 100; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .dl-map .land-line { opacity: 1; }
  .dl-map .land-draw, .dl-map .land-pulse { display: none; }
}
.dl-map .route { fill: none; stroke: rgba(255, 255, 255, .22); stroke-width: 1; transition: stroke .4s; }
.dl-map .city { fill: rgba(255, 255, 255, .55); transition: fill .4s; }
.dl-map .zone-on .route { stroke: rgba(220, 0, 46, .7); filter: drop-shadow(0 0 3px rgba(220, 0, 46, .55)); }
.dl-map .route-flow {
  fill: none; stroke: #ff3b63; stroke-width: 2.6; stroke-linecap: round;
  stroke-dasharray: 9 91; stroke-dashoffset: 100; filter: url(#route-glow);
  opacity: 0; transition: opacity .4s; animation: route-flow 3.2s linear infinite;
}
.dl-map .zone-on .route-flow { opacity: 1; }
@keyframes route-flow { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .dl-map .route-flow { display: none; } }
.dl-map .zone-on .city { fill: #fff; }
.dl-map .hub-ring { fill: none; stroke: #DC002E; stroke-width: 1; opacity: 0; transition: opacity .4s; }
.dl-map .zone-on .hub-ring { opacity: 1; }
.dl-map .hub-dot { fill: #DC002E; stroke: var(--ink); stroke-width: 3; }
.dl-map .hub-name { fill: #fff; font-family: var(--font-head); font-weight: 700; font-size: 19px; }
.dl-map .city-name { fill: rgba(255, 255, 255, .5); font-family: var(--font-body); font-size: 13px; }
.dl-sites { list-style: none; margin: 0; padding: 0; }
.dl-sites li { display: grid; grid-template-columns: 76px 1fr; align-items: start; padding: 26px 0; border-top: 1px solid rgba(255, 255, 255, .1); cursor: default; }
.dl-sites li:first-child { border-top: 0; padding-top: 0; }
.dl-sites .num {
  width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .28);
  display: grid; place-items: center; margin-top: -10px;
  font-family: var(--font-head); font-size: 18px; font-weight: 700; color: #fff;
  transition: background .3s, border-color .3s, color .3s;
}
.dl-sites h3 { font-size: 30px; line-height: 1; display: inline; }
.dl-sites .zone { display: inline-block; margin-left: 12px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--red); vertical-align: 5px; }
.dl-sites p { margin-top: 10px; font-size: 15px; color: rgba(255, 255, 255, .6); }
.dl-sites li.on .num, .dl-sites li:hover .num { background: var(--red); border-color: var(--red); color: #fff; }
.dl-points { display: grid; grid-template-columns: repeat(3, 1fr); padding-top: 48px; }
.dl-points > div { padding: 0 40px; border-left: 1px solid rgba(255, 255, 255, .1); }
.dl-points > div:first-child { padding-left: 0; border-left: 0; }
.dl-points h3 { font-size: 18px; margin-bottom: 8px; }
.dl-points p { font-size: 15px; color: rgba(255, 255, 255, .6); }
.value { text-align: center; }
.value-ico { width: 64px; height: 64px; margin: 0 auto 18px; }
.value h3 { font-size: 22px; padding-bottom: 16px; margin-bottom: 18px; border-bottom: 2px solid var(--red); }
.value p { font-size: 15px; line-height: 1.7; color: var(--muted); }
.about-bg {
  position: absolute; top: 0; bottom: 0; right: 0; left: 38%; pointer-events: none;
  background: url('../img/production-ecrans.webp') center / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
}
.about-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .92) 18%, rgba(255, 255, 255, .45) 48%, rgba(255, 255, 255, .1) 80%, rgba(255, 255, 255, .2) 100%),
    linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0) 22%, rgba(255, 255, 255, 0) 55%, rgba(255, 255, 255, .7) 80%, #fff 100%);
}
.about-grid { position: relative; display: grid; grid-template-columns: minmax(0, 620px); align-items: center; }
.about-points { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; margin-top: 44px; }
.about-point .ico { width: 46px; height: 46px; border-radius: 14px; background: var(--red-050); color: var(--red); display: grid; place-items: center; margin-bottom: 14px; }
.about-point .ico .ic { width: 22px; height: 22px; }
.about-point h3 { font-size: 17px; margin-bottom: 6px; letter-spacing: -0.01em; }
.about-point p { font-size: 14.5px; color: var(--muted); }
.mosaic { display: grid; grid-template-columns: 1.1fr .9fr; grid-template-rows: 260px 220px; gap: 16px; }
.mosaic > * { border-radius: var(--r-lg); overflow: hidden; position: relative; }
.mosaic .m-a { grid-row: span 2; background: var(--ink); }
.mosaic .m-a img, .mosaic .m-c img { width: 100%; height: 100%; object-fit: cover; }
.mosaic .m-b { background: linear-gradient(150deg, #f1f2f5, #dfe2e7); display: grid; place-items: center; padding: 18px; }
.mosaic .m-b .gen-phone { height: 100%; width: auto; filter: drop-shadow(0 20px 20px rgba(16, 19, 25, .25)); transform: rotate(-8deg); }
.mosaic .m-c { background: var(--red); color: #fff; padding: 26px; display: flex; flex-direction: column; justify-content: space-between; }
.mosaic .m-c strong { font-family: var(--font-head); font-size: clamp(18px, 1.7vw, 23px); line-height: 1.2; letter-spacing: -0.02em; font-weight: 600; }
.mosaic .m-c .ic { width: 34px; height: 34px; }
.img-caption { position: absolute; left: 16px; bottom: 16px; font-size: 12px; color: rgba(255, 255, 255, .7); background: rgba(16, 19, 25, .55); backdrop-filter: blur(6px); padding: 5px 10px; border-radius: 999px; }

/* ---------- Production ---------- */
.prod-visual { position: relative; border-radius: 28px; overflow: hidden; background: #0b0e13; aspect-ratio: 21 / 9; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }
.prod-visual img { width: 100%; height: 100%; object-fit: cover; }
.prod-head { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 56px; }
.prod-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 56px; background: rgba(255, 255, 255, .08); border-radius: var(--r-lg); overflow: hidden; }
.prod-features > div { background: var(--ink); padding: 32px; }
.prod-features .ic { color: var(--red); width: 26px; height: 26px; margin-bottom: 18px; }
.prod-features h3 { font-size: 18px; margin-bottom: 8px; }
.prod-features p { color: rgba(255, 255, 255, .6); font-size: 15px; }

/* ---------- Cartes produit ---------- */
/* 4 produits par ligne sur grand écran (3 sous 1180 px, 2 sur tablette, 1 sur téléphone), cartes compactes */
.grid-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid-products .p-media { aspect-ratio: 6 / 5; padding: 16px; }
.grid-products .p-media img { inset: 16px; width: calc(100% - 32px); height: calc(100% - 32px); }
.grid-products .p-name { font-size: 15.5px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.p-card {
  position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 20px;
  border: 1px solid var(--grey-100); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.p-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.p-media {
  position: relative; aspect-ratio: 1 / 1; background: linear-gradient(160deg, #f7f8fa, #eceef2);
  display: grid; place-items: center; padding: 22px; overflow: hidden;
}
.p-media .gen-phone { height: 92%; width: auto; transition: transform .6s var(--ease); filter: drop-shadow(0 18px 18px rgba(16, 19, 25, .22)); }
.p-media .gen-tile { position: absolute; inset: 0; width: 100%; height: 100%; }
.p-media img { position: absolute; inset: 22px; width: calc(100% - 44px); height: calc(100% - 44px); object-fit: contain; object-position: center; transition: transform .6s var(--ease); }
.p-card:hover .p-media .gen-phone, .p-card:hover .p-media img { transform: scale(1.05); /* petit zoom au survol, sans rotation */ }
.p-badges { position: absolute; top: 14px; left: 14px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; z-index: 2; }
.badge {
  display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .02em; background: var(--red); color: #fff;
}
.badge-dark { background: var(--ink); }
.badge-demo { background: #fff; color: var(--warn); border: 1px dashed #e0b366; font-weight: 600; }
.badge-soft { background: var(--grey-100); color: var(--ink); }
.fav-btn {
  position: absolute; top: 12px; right: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 50%;
  background: #fff; display: grid; place-items: center; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), color .2s;
}
.fav-btn .ic { width: 18px; height: 18px; }
.fav-btn:hover { transform: scale(1.08); }
.fav-btn.on { color: var(--red); }
.fav-btn.on .ic { fill: var(--red); }
.p-body { padding: 14px 18px 18px; display: flex; flex-direction: column; flex: 1; }
/* Carte compacte (presque carrée) : référence et description restent sur la fiche produit */
.p-card .p-ref, .p-card .p-desc { display: none; }
.p-card .p-name { margin: 4px 0 10px; line-height: 1.3; }
.p-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; column-gap: 10px; }
.p-foot .price, .p-foot .stock { flex-basis: 100%; }
.p-foot .stock { margin-top: 2px; }
.p-foot .p-actions { flex-basis: 100%; margin-top: 12px; }
.p-cat { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.p-name { font-size: 17px; margin: 6px 0 2px; letter-spacing: -0.01em; }
.p-name a:hover { color: var(--red); }
.p-ref { font-size: 12.5px; color: var(--muted); }
.p-desc { font-size: 14px; color: var(--muted); margin: 10px 0 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.p-foot { margin-top: auto; }
.price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price strong { font-family: var(--font-head); font-size: 20px; letter-spacing: -0.02em; font-weight: 600; }
.price del { color: var(--muted); font-size: 14px; }
.price .on-demand { font-size: 15px; font-weight: 600; color: var(--ink); }
.stock { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; margin-top: 6px; }
.stock::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.stock.in { color: var(--ok); } .stock.low { color: var(--warn); } .stock.out { color: var(--muted); }
.p-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 16px; }
.p-actions .btn { height: 44px; padding: 0 16px; font-size: 14px; }
.p-actions .btn-outline { width: 44px; padding: 0; }

/* Cartes vitrines (accueil) */
.series-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.series-card {
  position: relative; display: flex; flex-direction: column; padding: 22px 22px 20px; border-radius: 24px; overflow: hidden;
  background: radial-gradient(90% 60% at 50% 40%, #ffffff 0%, #eceef2 80%); color: var(--ink);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.series-card::after { content: ''; position: absolute; inset: auto -30% -40% -30%; height: 60%; background: radial-gradient(closest-side, rgba(220, 0, 46, .18), transparent); opacity: 0; transition: opacity .5s; }
.series-card:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .08); }
.series-card:hover::after { opacity: 1; }
.series-top { display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 1; }
.series-card .p-cat { color: var(--muted); }
.series-card .visual { flex: 1; display: grid; place-items: center; padding: 10px 0 14px; position: relative; z-index: 1; }
.series-card .gen-phone { height: 170px; width: auto; filter: drop-shadow(0 24px 22px rgba(16, 19, 25, .28)); transition: transform .6s var(--ease); }
.series-card .visual img { max-height: 170px; object-fit: contain; }
.series-card .gen-tile { width: 150px; border-radius: 18px; }
.series-card:hover .gen-phone { transform: translateY(-8px); }
.series-name { font-family: var(--font-head); font-size: 18px; font-weight: 700; line-height: 1.25; position: relative; z-index: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.series-desc { font-size: 13.5px; line-height: 1.5; color: var(--muted); margin: 4px 0 12px; position: relative; z-index: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.series-card .link-arrow { position: relative; z-index: 1; color: var(--ink); }
.series-card:hover .link-arrow .ic { transform: translateX(4px); color: var(--red); }

/* ---------- Bannière Djezzy ---------- */
.dz-banner {
  position: relative; overflow: hidden; border-radius: 32px; padding: 80px 72px;
  background: radial-gradient(80% 120% at 100% 0%, #ff2a57 0%, var(--red) 40%, #8f001e 100%);
  color: #fff; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center;
}
.dz-banner::after {
  content: ''; position: absolute; right: -120px; bottom: -160px; width: 520px; height: 520px; border-radius: 50%;
  border: 70px solid rgba(255, 255, 255, .07);
}
.dz-banner .lead { color: rgba(255, 255, 255, .85); max-width: 520px; margin: 18px 0 34px; }
.dz-banner .eyebrow { color: #fff; }
.dz-cards { position: relative; z-index: 1; height: 300px; }
/* Bandeau Djezzy de l'accueil : logo officiel à droite */
.dz-logo { position: relative; z-index: 1; display: grid; place-items: center; }
.dz-logo img { width: min(240px, 60%); height: auto; filter: drop-shadow(0 24px 40px rgba(60, 0, 8, .35)); animation: dz-float 6s ease-in-out infinite; }
@keyframes dz-float { 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .dz-logo img { animation: none; } }
@media (max-width: 980px) { .dz-logo img { width: 150px; } }
.dz-logo-hero img { width: min(300px, 70%); }
@media (max-width: 980px) { .dz-logo-hero img { width: 170px; } }
.dz-cards .sim-card {
  position: absolute; width: 210px; height: 140px; border-radius: 18px; background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(10px); padding: 20px; display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .5);
}
.dz-cards .sim-card .chip { width: 42px; height: 32px; border-radius: 7px; background: linear-gradient(135deg, #f5dfa8, #c9a14e); }
.dz-cards .sim-card span { font-family: var(--font-head); font-weight: 600; font-size: 14px; letter-spacing: .1em; }
.dz-cards .c1 { left: 6%; top: 10%; transform: rotate(-10deg); }
.dz-cards .c2 { left: 30%; top: 40%; transform: rotate(6deg); background: #fff; color: var(--red); }
.dz-cards .c2 .chip { background: linear-gradient(135deg, #f3d48b, #b8862c); }

/* ---------- Engagements ---------- */
.commit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.commit {
  padding: 34px 28px; border-radius: var(--r-lg); background: var(--grey-050); border: 1px solid transparent;
  transition: transform .4s var(--ease), background .4s, border-color .4s, box-shadow .4s;
}
.commit:hover { transform: translateY(-6px); background: #fff; border-color: var(--grey-100); box-shadow: var(--shadow); }
.commit .num { font-family: var(--font-head); font-size: 13px; color: var(--muted); }
.commit .ico { width: 54px; height: 54px; border-radius: 16px; background: var(--ink); color: #fff; display: grid; place-items: center; margin: 22px 0 26px; transition: background .3s; }
.commit:hover .ico { background: var(--red); }
.commit .ico .ic { width: 24px; height: 24px; }
.commit h3 { font-size: 19px; margin-bottom: 10px; }
.commit p { font-size: 14.5px; color: var(--muted); }

/* ---------- Partenaires ---------- */
.partners { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.partner {
  height: 200px; border-radius: var(--r-lg); border: 1px solid var(--grey-100); background: #fff;
  display: grid; place-items: center; position: relative; transition: box-shadow .3s, transform .3s var(--ease);
}
.partner:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.partner img { height: 52px; width: auto; }
.partner small { position: absolute; bottom: 16px; font-size: 12px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .72); padding: 90px 0 0; font-size: 14.5px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 60px; }
.site-footer .logo { color: #fff; margin-bottom: 20px; }
.site-footer h4 { color: #fff; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 20px; font-family: var(--font-body); font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.site-footer a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .ic { width: 18px; height: 18px; color: var(--red); margin-top: 3px; }
.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .14); display: grid; place-items: center; transition: background .2s, border-color .2s; }
.socials a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.socials .ic { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 24px 0; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; color: rgba(255, 255, 255, .5); }
.footer-bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }
.demo-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; border: 1px dashed rgba(255, 255, 255, .25); font-size: 12px; }

/* ---------- Cover de la page Produits (image claire) ---------- */
.hero-products { background: #fff; padding-top: var(--header-h); overflow: hidden; }
.hp-media { position: relative; }
.hp-media > img { display: block; width: 118%; max-width: none; height: auto; min-height: 340px; object-fit: cover; object-position: 75% center; }
.hp-inner { position: absolute; inset: 0; display: flex; align-items: center; }
.hp-text { max-width: 42%; }
.hero-products .breadcrumb { color: var(--muted); }
.hero-products .breadcrumb a:hover { color: var(--ink); }
@media (max-width: 980px) {
  .hp-inner { position: static; padding-top: 36px; }
  .hp-text { max-width: none; }
  .hp-media { display: flex; flex-direction: column-reverse; }
  .hp-media > img { width: 100%; min-height: 0; height: 240px; object-position: 72% center; }
}

/* ---------- Barre de filtres (boutique) ---------- */
.shop-bar {
  position: sticky; top: var(--header-h); z-index: 20; background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--grey-100);
}
.shop-bar-inner { display: flex; align-items: center; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; flex: 1; padding: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--grey-200);
  font-size: 14px; font-weight: 500; background: #fff; transition: all .2s; display: inline-flex; align-items: center; gap: 8px;
}
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip .n { font-size: 12px; opacity: .55; }
.shop-tools { display: flex; gap: 10px; align-items: center; }
.search-field { position: relative; }
.search-field .ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; color: var(--muted); }
.search-field input { height: 40px; width: 220px; border-radius: 999px; border: 1px solid var(--grey-200); padding: 0 16px 0 40px; font-size: 14px; background: var(--grey-050); transition: border-color .2s, background .2s, width .3s var(--ease); }
.search-field input:focus { outline: none; border-color: var(--ink); background: #fff; }
.select-sm { height: 40px; border-radius: 999px; border: 1px solid var(--grey-200); padding: 0 34px 0 16px; font-size: 14px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23101319' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 14px; appearance: none; -webkit-appearance: none; }
.toggle-fav.active { background: var(--red-050); border-color: var(--red); color: var(--red); }
.shop-meta { display: flex; justify-content: space-between; align-items: center; margin: 24px 0 18px; color: var(--muted); font-size: 14px; }
.shop-meta button.link-arrow, .empty button.link-arrow { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; font-weight: 600; color: var(--red); }
.empty {
  text-align: center; padding: 80px 20px; border: 1px dashed var(--grey-200); border-radius: var(--r-lg); color: var(--muted);
}
.empty .ic { width: 40px; height: 40px; margin: 0 auto 16px; color: var(--grey-200); }
.empty h3 { color: var(--ink); margin-bottom: 8px; font-size: 20px; }

/* Bandeau démo */
.demo-note {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: 14px;
  background: #FFF8EB; border: 1px solid #F3DDB0; color: #6B4A0B; font-size: 14px;
}
.demo-note .ic { color: var(--warn); margin-top: 2px; width: 18px; height: 18px; }

/* ---------- Fiche produit ---------- */
.pdp { padding: calc(var(--header-h) + 36px) 0 100px; }
.pdp-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: start; }
.gallery { position: sticky; top: calc(var(--header-h) + 24px); }
.gallery-main {
  position: relative; aspect-ratio: 1 / 1; border-radius: 28px; background: linear-gradient(160deg, #f7f8fa, #e8ebef);
  display: grid; place-items: center; overflow: hidden; padding: 40px;
}
.gallery-main .gen-phone { height: 90%; width: auto; filter: drop-shadow(0 30px 30px rgba(16, 19, 25, .25)); animation: fadein .5s var(--ease); }
.gallery-main .gen-tile { position: absolute; inset: 0; width: 100%; height: 100%; }
/* Photo produit centrée dans le cadre quel que soit son format (marge intérieure identique sur les 4 côtés) */
.gallery-main img { position: absolute; inset: 40px; width: calc(100% - 80px); height: calc(100% - 80px); object-fit: contain; object-position: center; animation: fadein .5s var(--ease); }
@keyframes fadein { from { opacity: 0; transform: scale(.97); } }
.gallery-nav { position: absolute; inset: 50% 16px auto; display: flex; justify-content: space-between; transform: translateY(-50%); pointer-events: none; }
.gallery-nav button { pointer-events: auto; width: 44px; height: 44px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); display: grid; place-items: center; }
.thumbs { display: flex; gap: 12px; margin-top: 14px; overflow-x: auto; }
.thumb { flex: none; width: 84px; height: 84px; border-radius: 16px; background: var(--grey-050); border: 2px solid transparent; display: grid; place-items: center; padding: 8px; overflow: hidden; transition: border-color .2s; }
.thumb .gen-phone { height: 100%; width: auto; }
.thumb .gen-tile, .thumb img { width: 100%; height: 100%; object-fit: contain; object-position: center; min-height: 0; }
.thumb.active { border-color: var(--ink); }
.pdp-info h1 { font-size: clamp(30px, 3.4vw, 44px); margin: 10px 0 8px; }
.pdp-info .p-ref { font-size: 14px; }
.pdp-price { display: flex; align-items: baseline; gap: 14px; margin: 26px 0 6px; flex-wrap: wrap; }
.pdp-price strong { font-family: var(--font-head); font-size: 36px; letter-spacing: -0.03em; font-weight: 600; }
.pdp-price del { font-size: 18px; color: var(--muted); }
.pdp-price .ttc { font-size: 13px; color: var(--muted); }
.pdp-block { padding: 24px 0; border-top: 1px solid var(--grey-100); }
.pdp-block h4 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; font-family: var(--font-body); font-weight: 600; }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px 0 8px; border-radius: 999px; border: 1.5px solid var(--grey-200); font-size: 14px; font-weight: 500; transition: border-color .2s; }
.swatch i { width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.swatch.active { border-color: var(--ink); }
.qty { display: inline-flex; align-items: center; height: 50px; border: 1.5px solid var(--grey-200); border-radius: 999px; }
.qty button { width: 46px; height: 100%; display: grid; place-items: center; }
.qty button .ic { width: 16px; }
.qty input { width: 44px; text-align: center; border: 0; font-weight: 600; background: transparent; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty-sm { height: 38px; }
.qty-sm button { width: 34px; }
.qty-sm input { width: 32px; font-size: 14px; }
.buy-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.buy-row .btn-primary { flex: 1; min-width: 200px; }
.buy-row .fav-big { width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid var(--grey-200); display: grid; place-items: center; transition: all .2s; }
.buy-row .fav-big.on { color: var(--red); border-color: var(--red); }
.buy-row .fav-big.on .ic { fill: var(--red); }
.perks { display: grid; gap: 12px; font-size: 14px; color: var(--muted); }
.perks div { display: flex; gap: 12px; align-items: center; }
.perks .ic { color: var(--ink); width: 20px; }
.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.spec { padding: 22px; border-radius: 18px; background: var(--grey-050); }
.spec .ic { color: var(--red); width: 22px; height: 22px; margin-bottom: 14px; }
.spec small { display: block; font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.spec b { font-family: var(--font-head); font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
.desc-text { color: #3b414c; max-width: 760px; font-size: 16.5px; line-height: 1.75; white-space: pre-line; }

/* ---------- Tiroirs (panier / compte) ---------- */
.overlay { position: fixed; inset: 0; background: rgba(16, 19, 25, .5); backdrop-filter: blur(3px); z-index: 70; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.overlay.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 80; width: min(440px, 100%); background: #fff;
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform .45s var(--ease); box-shadow: var(--shadow-lg);
}
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--grey-100); }
.drawer-head h3 { font-size: 20px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer-foot { padding: 20px 24px 24px; border-top: 1px solid var(--grey-100); display: grid; gap: 12px; }
.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--grey-100); align-items: center; }
.line:last-child { border-bottom: 0; }
.line-img { width: 76px; height: 76px; border-radius: 14px; background: var(--grey-050); display: grid; place-items: center; padding: 6px; overflow: hidden; }
.line-img .gen-phone { height: 100%; width: auto; }
.line-img .gen-tile, .line-img img { width: 100%; height: 100%; object-fit: contain; }
.line-name { font-weight: 600; font-size: 15px; line-height: 1.3; }
.line-meta { font-size: 13px; color: var(--muted); margin: 2px 0 8px; }
.line-right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.line-right strong { font-family: var(--font-head); font-weight: 600; font-size: 15px; white-space: nowrap; }
.remove-btn { color: var(--muted); font-size: 13px; display: inline-flex; gap: 4px; align-items: center; }
.remove-btn:hover { color: var(--red); }
.remove-btn .ic { width: 15px; }
.totals { display: grid; gap: 8px; font-size: 15px; }
.totals div { display: flex; justify-content: space-between; }
.totals .totals-sep { display: block; border-top: 1px dashed var(--grey-200); margin: 2px 0; }
.totals .grand { font-size: 18px; font-weight: 700; padding-top: 12px; border-top: 1px solid var(--grey-100); margin-top: 4px; }
.totals .grand span:last-child { font-family: var(--font-head); }
.muted { color: var(--muted); }
.small { font-size: 13px; }

.acc-section { padding: 22px 0; border-bottom: 1px solid var(--grey-100); }
.acc-section h4 { font-size: 15px; margin-bottom: 14px; font-family: var(--font-body); font-weight: 600; }
.fav-mini { display: flex; gap: 12px; align-items: center; padding: 10px 0; }
.fav-mini .line-img { width: 54px; height: 54px; }
.fav-mini a { font-weight: 600; font-size: 14px; flex: 1; }
.fav-mini a:hover { color: var(--red); }

/* ---------- Recherche plein écran ---------- */
.search-overlay {
  position: fixed; inset: 0 0 auto 0; z-index: 90; background: #fff; padding: 28px 0 36px; box-shadow: var(--shadow-lg);
  transform: translateY(-105%); transition: transform .45s var(--ease);
}
.search-overlay.open { transform: none; }
.search-overlay .bar { display: flex; align-items: center; gap: 14px; border-bottom: 2px solid var(--ink); padding-bottom: 10px; }
.search-overlay input { flex: 1; border: 0; font-size: clamp(20px, 3vw, 30px); font-family: var(--font-head); padding: 6px 0; outline: none; background: transparent; min-width: 0; }
.search-results { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; margin-top: 24px; max-height: 60vh; overflow-y: auto; }
.search-results a { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 14px; transition: background .2s; }
.search-results a:hover { background: var(--grey-050); }
.search-results .line-img { width: 56px; height: 56px; }
.search-results b { display: block; font-size: 14.5px; }
.search-results small { color: var(--muted); }
.search-hint { color: var(--muted); font-size: 14px; margin-top: 18px; }

/* ---------- Formulaires ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 13.5px; font-weight: 600; }
.field label .req { color: var(--red); }
.input {
  width: 100%; height: 52px; border-radius: 14px; border: 1.5px solid var(--grey-200); background: #fff;
  padding: 0 16px; font-size: 15px; transition: border-color .2s, box-shadow .2s;
}
textarea.input { height: auto; min-height: 150px; padding: 14px 16px; resize: vertical; line-height: 1.55; }
select.input { appearance: none; -webkit-appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23101319' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center / 16px; padding-right: 44px; }
.input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(16, 19, 25, .06); }
.field.invalid .input { border-color: var(--red); box-shadow: 0 0 0 4px rgba(220, 0, 46, .08); }
.field .err { font-size: 12.5px; color: var(--red); display: none; }
.field.invalid .err { display: block; }
.hint { font-size: 12.5px; color: var(--muted); }
.radio-cards { display: grid; gap: 12px; }
.radio-card { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 16px; border: 1.5px solid var(--grey-200); cursor: pointer; transition: border-color .2s, background .2s; }
.radio-card input { accent-color: var(--red); width: 18px; height: 18px; margin-top: 3px; }
.radio-card:has(input:checked) { border-color: var(--ink); background: var(--grey-050); }
.radio-card.disabled { opacity: .5; cursor: not-allowed; }
.radio-card b { display: block; font-size: 15px; }
.radio-card small { color: var(--muted); font-size: 13.5px; }
.type-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.type-pills label { position: relative; }
.type-pills input { position: absolute; opacity: 0; }
.type-pills span { display: inline-flex; height: 42px; align-items: center; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--grey-200); font-size: 14px; font-weight: 500; cursor: pointer; transition: all .2s; }
.type-pills input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.type-pills input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.dropzone {
  border: 1.5px dashed var(--grey-200); border-radius: 16px; padding: 26px; text-align: center; cursor: pointer;
  transition: border-color .2s, background .2s; display: flex; flex-direction: column; align-items: center; gap: 6px; background: #fff;
}
.dropzone:hover, .dropzone.drag { border-color: var(--red); background: var(--red-050); }
.dropzone .ic { width: 28px; height: 28px; color: var(--red); }
.dropzone.has-file { border-style: solid; border-color: var(--ok); background: #F1FAF5; }
.field.invalid .dropzone { border-color: var(--red); }
.check-row { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.check-row input { accent-color: var(--red); width: 18px; height: 18px; margin-top: 2px; flex: none; }

/* ---------- Toasts & modale ---------- */
.toasts { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 200; display: grid; gap: 10px; width: min(440px, calc(100% - 32px)); }
.toast {
  display: flex; gap: 12px; align-items: center; padding: 14px 18px; border-radius: 16px; background: var(--ink); color: #fff;
  box-shadow: var(--shadow-lg); font-size: 14.5px; animation: toastin .45s var(--ease);
  border: 1px solid rgba(255, 255, 255, .12);
}
.toast .ic { width: 20px; height: 20px; flex: none; }
.toast.ok .ic { color: #3ddc84; }
.toast.err { background: var(--red); }
.toast a { margin-left: auto; font-weight: 600; text-decoration: underline; white-space: nowrap; }
.toast.out { animation: toastout .35s var(--ease) forwards; }
@keyframes toastin { from { opacity: 0; transform: translateY(20px) scale(.96); } }
@keyframes toastout { to { opacity: 0; transform: translateY(10px); } }

.modal { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 20px; visibility: hidden; }
.modal.open { visibility: visible; }
.modal .overlay { z-index: 0; }
.modal-box {
  position: relative; z-index: 1; width: min(560px, 100%); max-height: calc((100vh - 40px) / var(--z)); overflow-y: auto; background: #fff; border-radius: 24px; padding: 32px;
  transform: translateY(20px) scale(.97); opacity: 0; transition: transform .35s var(--ease), opacity .35s;
}
.modal.open .modal-box { transform: none; opacity: 1; }
.modal-close { position: absolute; top: 16px; right: 16px; }

/* ---------- Commande (tunnel) ---------- */
.checkout { padding: calc(var(--header-h) + 40px) 0 100px; background: var(--grey-050); min-height: calc(100vh / var(--z)); }
.stepper { display: flex; gap: 8px; margin: 28px 0 36px; counter-reset: step; overflow-x: auto; scrollbar-width: none; }
.stepper::-webkit-scrollbar { display: none; }
.step {
  flex: 1; min-width: 130px; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #fff;
  font-size: 14px; font-weight: 500; color: var(--muted); border: 1px solid var(--grey-100);
}
.step i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--grey-100); font-style: normal; font-size: 12.5px; font-weight: 700; flex: none; }
.step.active { color: var(--ink); border-color: var(--ink); }
.step.active i { background: var(--red); color: #fff; }
.step.done { color: var(--ink); }
.step.done i { background: var(--ink); color: #fff; }
.checkout-grid { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; }
.panel { background: #fff; border-radius: 24px; padding: 32px; border: 1px solid var(--grey-100); }
.panel h2 { font-size: 24px; margin-bottom: 6px; }
.panel > .muted { margin-bottom: 24px; }
.summary { position: sticky; top: calc(var(--header-h) + 24px); }
.summary .line { grid-template-columns: 56px 1fr auto; padding: 12px 0; }
.summary .line-img { width: 56px; height: 56px; }
.panel-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.recap-block { padding: 18px 20px; border-radius: 16px; background: var(--grey-050); font-size: 14.5px; }
.recap-block h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 8px; font-family: var(--font-body); font-weight: 600; display: flex; justify-content: space-between; }
.recap-block h4 button { color: var(--red); text-transform: none; letter-spacing: 0; font-weight: 600; }
.pay-line { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 500; }
.pay-line .ic { color: var(--red); }
.confirm-recap { display: grid; gap: 18px; }
.recap-items { display: grid; gap: 8px; font-size: 15px; }
.recap-items > div { display: flex; justify-content: space-between; gap: 16px; }
.recap-items > div span:last-child { white-space: nowrap; font-weight: 600; }
.confirm-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--grey-100); }
@media (max-width: 480px) { .confirm-actions { flex-direction: column-reverse; } .confirm-actions .btn { width: 100%; } }
.confirm { text-align: center; padding: 40px 10px; }
.confirm .tick { width: 84px; height: 84px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; margin: 0 auto 26px; animation: pop .6s var(--ease); box-shadow: 0 20px 40px -12px rgba(220, 0, 46, .6); }
.confirm .tick .ic { width: 40px; height: 40px; stroke-width: 2.4; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.order-num { display: inline-block; margin: 20px 0; padding: 14px 24px; border-radius: 14px; background: var(--grey-050); font-family: var(--font-head); font-size: 22px; letter-spacing: .04em; border: 1px dashed var(--grey-200); }

/* ---------- Djezzy ---------- */
.hero-dz { background: radial-gradient(70% 90% at 85% 30%, #ff1f4d 0%, var(--red) 35%, #6d0017 75%, var(--ink) 100%); }
.hero-dz::before { background: radial-gradient(50% 60% at 15% 90%, rgba(0, 0, 0, .5), transparent 70%); }
.dz-visual { position: relative; height: 380px; isolation: isolate; }
.dz-visual .sim-big {
  position: absolute; left: 50%; top: 50%; width: 300px; height: 200px; border-radius: 24px; padding: 28px; transform: translate(-50%, -50%) rotate(-8deg);
  background: linear-gradient(140deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .06)); border: 1px solid rgba(255, 255, 255, .35);
  backdrop-filter: blur(14px); box-shadow: 0 50px 80px -30px rgba(0, 0, 0, .6); display: flex; flex-direction: column; justify-content: space-between;
}
.dz-visual .sim-big .chip { width: 62px; height: 48px; border-radius: 10px; background: linear-gradient(135deg, #f7e2ad, #c39445); }
.dz-visual .sim-big b { font-family: var(--font-head); font-size: 22px; letter-spacing: .05em; }
.dz-visual .sim-big.back { transform: translate(-30%, -70%) rotate(10deg); background: rgba(16, 19, 25, .5); z-index: -1; }
.dz-visual .waves { position: absolute; right: 4%; top: 6%; display: flex; gap: 8px; align-items: flex-end; }
.dz-visual .waves span { width: 10px; border-radius: 4px; background: #fff; opacity: .85; animation: bars 1.6s ease-in-out infinite; }
.dz-visual .waves span:nth-child(1) { height: 18px; } .dz-visual .waves span:nth-child(2) { height: 32px; animation-delay: .15s; }
.dz-visual .waves span:nth-child(3) { height: 46px; animation-delay: .3s; } .dz-visual .waves span:nth-child(4) { height: 60px; animation-delay: .45s; }
@keyframes bars { 50% { opacity: .35; } }
.role-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.role-list { display: grid; gap: 14px; }
.role-item { display: flex; gap: 18px; padding: 22px 24px; border-radius: 20px; border: 1px solid var(--grey-100); background: #fff; transition: box-shadow .3s, transform .3s var(--ease); }
.role-item:hover { box-shadow: var(--shadow); transform: translateX(4px); }
.role-item .ico { width: 46px; height: 46px; border-radius: 14px; background: var(--red); color: #fff; display: grid; place-items: center; flex: none; }
.role-item h3 { font-size: 17px; margin-bottom: 4px; }
.role-item p { font-size: 14.5px; color: var(--muted); }
.dist-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.dist-card { padding: 32px; border-radius: var(--r-lg); background: var(--night-2); border: 1px solid rgba(255, 255, 255, .06); transition: border-color .3s, transform .3s var(--ease); }
.dist-card:hover { border-color: rgba(220, 0, 46, .6); transform: translateY(-4px); }
.dist-card .ic { width: 28px; height: 28px; color: var(--red); margin-bottom: 20px; }
.dist-card h3 { font-size: 19px; margin-bottom: 8px; }
.dist-card p { color: rgba(255, 255, 255, .6); font-size: 15px; }

/* ---------- Carrière ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-card { padding: 30px 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--grey-100); transition: transform .35s var(--ease), box-shadow .35s; }
.why-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.why-card .ic { width: 28px; height: 28px; color: var(--red); margin-bottom: 22px; }
.why-card h3 { font-size: 18px; margin-bottom: 8px; }
.why-card p { font-size: 14.5px; color: var(--muted); }
.jobs { display: grid; gap: 14px; }
.job { border-radius: 20px; background: #fff; border: 1px solid var(--grey-100); overflow: hidden; transition: box-shadow .3s; }
.job:hover { box-shadow: var(--shadow-sm); }
.job-head { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; padding: 24px 28px; cursor: pointer; width: 100%; text-align: left; }
.job-head h3 { font-size: 20px; margin-bottom: 10px; }
.job-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--grey-050); font-size: 13px; color: #3b414c; }
.tag .ic { width: 14px; height: 14px; }
.job-toggle { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--grey-200); display: grid; place-items: center; transition: transform .3s var(--ease), background .2s; }
.job.open .job-toggle { transform: rotate(180deg); background: var(--ink); color: #fff; border-color: var(--ink); }
.job-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.job.open .job-body { grid-template-rows: 1fr; }
.job-body > div { overflow: hidden; }
.job-content { padding: 0 28px 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.job-content h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 8px; font-family: var(--font-body); font-weight: 600; }
.job-content p { font-size: 15px; color: #3b414c; white-space: pre-line; }
.job-content .btn { grid-column: 1 / -1; justify-self: start; }
.apply-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }

/* ---------- Contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: -70px; position: relative; z-index: 2; }
.c-card { background: #fff; border-radius: 22px; padding: 26px; box-shadow: var(--shadow); }
.c-card .ico { width: 46px; height: 46px; border-radius: 14px; background: var(--red-050); color: var(--red); display: grid; place-items: center; margin-bottom: 18px; }
.c-card small { display: block; font-size: 12.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; margin-bottom: 6px; }
.c-card p, .c-card a { font-weight: 600; font-size: 15px; line-height: 1.45; word-break: break-word; }
.c-card a:hover { color: var(--red); }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: stretch; }
.map-wrap { border-radius: 24px; overflow: hidden; min-height: 420px; background: var(--grey-100); position: relative; }
.contact-layout { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; }
.contact-info h2 { margin-bottom: 20px; }
.contact-list { display: grid; grid-template-columns: 110px 1fr; gap: 14px 20px; margin: 0 0 32px; font-size: 16px; line-height: 1.5; }
.contact-list dt { color: var(--muted); }
.contact-list dd { margin: 0; font-weight: 500; }
.contact-list a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.contact-info .map-wrap { min-height: 300px; }
@media (max-width: 980px) { .contact-layout { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 480px) { .contact-list { grid-template-columns: 1fr; gap: 2px; } .contact-list dd { margin-bottom: 12px; } }
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.25) contrast(1.05); }

/* ---------- Pages de contenu (retour, CGV) ---------- */
.doc-head { padding: calc(var(--header-h) + 56px) 0 48px; background: var(--grey-050); border-bottom: 1px solid var(--grey-100); }
.doc-head .breadcrumb { color: var(--muted); }
.doc-head .breadcrumb a:hover { color: var(--ink); }
.doc-keys { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 36px; border-top: 1px solid var(--grey-200); }
.doc-keys > div { padding: 22px 24px 0 0; }
.doc-keys > div + div { padding-left: 24px; border-left: 1px solid var(--grey-200); }
.doc-keys b { display: block; font-family: var(--font-head); font-size: 30px; color: var(--red); line-height: 1.1; }
.doc-keys span { font-size: 14.5px; color: var(--muted); }
.doc-company { margin-top: 24px; font-size: 14.5px; color: #4a505b; line-height: 1.7; }
.doc-company a, .doc-body a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.doc-body { padding-top: 56px; padding-bottom: 110px; }
.doc-body section { padding: 30px 0; border-bottom: 1px solid var(--grey-100); }
.doc-body section:first-child { padding-top: 0; }
.doc-body h2 { display: flex; align-items: center; gap: 14px; font-size: 21px; margin-bottom: 14px; }
.doc-body h2 span { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--red); color: var(--red); display: grid; place-items: center; font-size: 14px; }
.doc-body p, .doc-body li { color: #3b414c; font-size: 16px; line-height: 1.75; }
.doc-body p + p { margin-top: 10px; }
.doc-body ul { margin: 10px 0 0; padding-left: 20px; }
.doc-body li + li { margin-top: 6px; }
.doc-note { padding: 12px 16px; border-left: 3px solid var(--red); background: var(--red-050); border-radius: 0 10px 10px 0; }
.doc-special { margin-top: 24px; padding: 32px !important; background: var(--grey-050); border-radius: 20px; border: 0 !important; }
.doc-foot { margin-top: 32px; color: var(--muted); }
@media (max-width: 720px) {
  .doc-keys { grid-template-columns: 1fr; }
  .doc-keys > div, .doc-keys > div + div { padding: 16px 0 0; border-left: 0; }
  .doc-special { padding: 22px !important; }
}

/* ---------- Pages légales ---------- */
.legal { padding: calc(var(--header-h) + 60px) 0 100px; }
.legal h2 { font-size: 26px; margin: 48px 0 14px; }
.legal p, .legal li { color: #3b414c; }
.legal a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Apparition au défilement ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; } .reveal-d4 { transition-delay: .32s; }
.skeleton { background: linear-gradient(90deg, var(--grey-100), var(--grey-050), var(--grey-100)); background-size: 200% 100%; animation: shimmer 1.2s infinite; border-radius: 20px; min-height: 420px; }
@keyframes shimmer { to { background-position: -200% 0; } }

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

/* =========================================================
   Responsive
   ========================================================= */
.ic-xs { display: inline-block; width: 13px; height: 13px; vertical-align: -1px; margin-left: 2px; opacity: .6; }

@media (max-width: 1180px) {
  .grid-products { grid-template-columns: repeat(3, 1fr); }
  .series-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .footer-top > :last-child { grid-column: 1 / -1; }
  .commit-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  :root {
  --z: 1; /* échelle d'affichage du site (voir « Échelle d'affichage » plus bas) */ --header-h: 64px; }
  .main-nav { display: none; }
  .menu-toggle { display: inline-grid; }
  .hero-inner, .page-hero-grid, .about-grid, .prod-head, .role-grid, .apply-wrap, .contact-grid, .pdp-grid, .checkout-grid { grid-template-columns: 1fr; }
  .hero { min-height: 0; padding-top: calc(var(--header-h) + 50px); }
  .phone-stage { height: 460px; }
  .about-grid { gap: 56px; }
  .about-intro { padding: 0 0 70px; }
  .values { grid-template-columns: 1fr; gap: 48px; }
  .dl-head, .dl-body { grid-template-columns: 1fr; gap: 24px; }
  .dl-head .lead { justify-self: start; }
  .dl-body { gap: 40px; }
  .dl-points { grid-template-columns: 1fr; gap: 28px; }
  .dl-points > div { padding: 0; border-left: 0; }
  .about-bg { position: relative; left: auto; height: 300px; margin-bottom: -40px; -webkit-mask-image: none; mask-image: none; }
  .about-bg::after { background: linear-gradient(180deg, rgba(255, 255, 255, .15) 0%, rgba(255, 255, 255, .25) 55%, #fff 100%); }
  .prod-head { gap: 20px; }
  .prod-features { grid-template-columns: 1fr; }
  .dz-banner { grid-template-columns: 1fr; padding: 56px 40px; }
  .dz-cards { height: 220px; }
  .section { padding: 90px 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .gallery { position: static; }
  .summary { position: static; }
  .dist-grid { grid-template-columns: 1fr; }
  .page-hero-visual { height: 280px; }
  .shop-bar-inner { flex-wrap: wrap; }
  .shop-tools { width: 100%; }
  .shop-tools .search-field { flex: 1; }
  .shop-tools .search-field input { width: 100%; }
}
@media (max-width: 720px) {
  :root {
  --z: 1; /* échelle d'affichage du site (voir « Échelle d'affichage » plus bas) */ --gutter: 16px; }
  .grid-products, .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .p-body { padding: 14px; }
  .p-name { font-size: 15px; }
  .p-desc { display: none; }
  .price strong { font-size: 17px; }
  .p-actions { grid-template-columns: 1fr; }
  .p-actions .btn-outline { display: none; }
  .shop-tools { flex-wrap: wrap; }
  .shop-bar { position: static; } /* sur téléphone, la barre de filtres ne reste pas collée en haut */
  .shop-tools .search-field { flex: 1 1 100%; }
  .shop-tools .select-sm { flex: 1; }
  .about-points, .form-grid, .job-content, .specs { grid-template-columns: 1fr; }
  .specs { grid-template-columns: 1fr 1fr; }
  .mosaic { grid-template-rows: 220px 180px; }
  .commit-grid, .why-grid, .partners, .contact-cards { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > :first-child { grid-column: 1 / -1; }
  .dz-banner { padding: 44px 24px; border-radius: 24px; }
  .dz-cards .sim-card { width: 170px; height: 112px; }
  .panel { padding: 22px; border-radius: 20px; }
  .job-head { padding: 20px; }
  .job-content { padding: 0 20px 22px; }
  .phone-stage { height: 380px; }
  .header-actions .hide-sm { display: none; }
  .hero-scroll { display: none; }
  .line { grid-template-columns: 64px 1fr; }
  .line-img { width: 64px; height: 64px; }
  .line-right { grid-column: 2; flex-direction: row; justify-content: space-between; width: 100%; align-items: center; }
  .modal-box { padding: 24px; }
  .contact-cards { margin-top: -50px; }
  .btn-row .btn { flex: 1; }
}
@media (max-width: 560px) {
  .series-grid { grid-template-columns: 1fr; }
}
@media (max-width: 400px) {
  .grid-products, .grid-3 { grid-template-columns: 1fr; }
}

/* Couleur choisie dans le panier et le récapitulatif de commande */
.color-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); margin: 3px 0 2px; }
.color-tag i { width: 14px; height: 14px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(16, 19, 25, .2); flex: none; }
.color-tag b { color: var(--ink); font-weight: 600; }

/* =========================================================
   Recharge Djezzy en ligne (recharge.html)
   ========================================================= */
.rch-hero { position: relative; overflow: hidden; color: #fff; padding: calc(var(--header-h) + 48px) 0 56px;
  background: radial-gradient(70% 120% at 88% 20%, #ff1f4d 0%, var(--red) 38%, #6d0017 78%, var(--ink) 100%); }
.rch-hero-inner { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.rch-hero .breadcrumb { color: rgba(255, 255, 255, .7); }
.rch-hero .lead { color: rgba(255, 255, 255, .85); max-width: 560px; }
.rch-hero-logo { width: 150px; height: auto; filter: drop-shadow(0 20px 36px rgba(60, 0, 8, .4)); }
.rch-steps { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 28px 0 0; padding: 0; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .9); }
.rch-steps li { display: flex; align-items: center; gap: 8px; }
.rch-steps b { width: 26px; height: 26px; border-radius: 50%; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .35); display: grid; place-items: center; font-size: 13px; }
.rch-body { background: var(--grey-050); padding: 40px 0 100px; }
.rch-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.rch-form { display: grid; gap: 18px; min-width: 0; }
.rch-block-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.rch-block-head h2 { font-size: 20px; }
.rch-block-head p { font-size: 14px; margin-top: 2px; }
.rch-num { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-weight: 700; font-family: var(--font-head); }
/* Numéro */
.rch-phone { position: relative; display: flex; align-items: center; border: 1.5px solid var(--grey-200); border-radius: 16px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.rch-phone:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(16, 19, 25, .06); }
.rch-prefix { padding: 0 6px 0 20px; font-family: var(--font-head); font-size: 22px; color: var(--muted); }
.rch-phone .input { border: 0; box-shadow: none; height: 64px; font-family: var(--font-head); font-size: 26px; letter-spacing: .04em; padding-left: 8px; background: transparent; }
.rch-phone .input:focus { outline: none; }
.rch-phone-ok { position: absolute; right: 18px; width: 30px; height: 30px; border-radius: 50%; background: #1f9d55; color: #fff; display: grid; place-items: center; transform: scale(0); transition: transform .25s var(--ease); }
.rch-phone-ok .ic { width: 16px; height: 16px; }
.rch-phone.ok { border-color: #1f9d55; }
.rch-phone.ok .rch-phone-ok { transform: scale(1); }
.field.invalid .rch-phone { border-color: var(--red); }
/* Montants */
.rch-amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.rch-amount { position: relative; cursor: pointer; }
.rch-amount input[type=radio] { position: absolute; opacity: 0; pointer-events: none; }
.rch-amount > span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 84px; padding: 12px; border-radius: 16px; border: 1.5px solid var(--grey-200); background: #fff;
  font-family: var(--font-head); font-size: 26px; font-weight: 700; transition: border-color .2s, background .2s, color .2s, transform .2s var(--ease); }
.rch-amount > span small { font-family: var(--font-body); font-size: 13px; font-weight: 600; color: var(--muted); }
.rch-amount:hover > span { border-color: var(--ink); transform: translateY(-2px); }
.rch-amount input:checked + span { border-color: var(--red); background: var(--red); color: #fff; box-shadow: 0 12px 26px -12px rgba(220, 0, 46, .7); }
.rch-amount input:checked + span small { color: rgba(255, 255, 255, .8); }
.rch-amount input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.rch-other { grid-column: 1 / -1; }
.rch-other > span { flex-direction: row; justify-content: space-between; min-height: 64px; font-size: 17px; padding: 10px 12px 10px 20px; }
.rch-other .input { width: 180px; height: 44px; font-size: 17px; text-align: right; }
.rch-other input:checked + span .input { color: var(--ink); }
/* Modes de paiement */
.rch-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rch-method { position: relative; display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: 16px; border: 1.5px solid var(--grey-200); background: #fff; cursor: pointer; transition: border-color .2s, background .2s; }
.rch-method input { position: absolute; opacity: 0; pointer-events: none; }
.rch-method:has(input:checked) { border-color: var(--ink); background: var(--grey-050); box-shadow: inset 0 0 0 1px var(--ink); }
.rch-method b { display: block; font-size: 15px; }
.rch-method small { color: var(--muted); font-size: 13px; }
.rch-card-art { flex: none; width: 56px; height: 38px; border-radius: 7px; position: relative; overflow: hidden; }
.rch-card-art i { position: absolute; left: 8px; top: 12px; width: 13px; height: 10px; border-radius: 2px; background: linear-gradient(135deg, #f6dfa6, #c79a45); }
.rch-card-art.cib { background: linear-gradient(135deg, #1d4f9a, #0f2f63); }
.rch-card-art.edahabia { background: linear-gradient(135deg, #f2c230, #d39a12); }
.check-line { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; cursor: pointer; }
.check-line input { width: 18px; height: 18px; accent-color: var(--red); margin-top: 2px; flex: none; }
.check-line a { text-decoration: underline; }
/* Résumé */
.rch-summary { position: sticky; top: calc(var(--header-h) + 20px); }
.rch-sum-head { display: flex; gap: 12px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--grey-100); }
.rch-sum-head img { width: 40px; height: auto; }
.rch-sum-head b { display: block; font-family: var(--font-head); font-size: 18px; }
.rch-sum-head small { color: var(--muted); font-size: 13px; }
.rch-sum { display: grid; gap: 12px; margin: 18px 0; }
.rch-sum div { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; }
.rch-sum dt { color: var(--muted); }
.rch-sum dd { margin: 0; font-weight: 600; text-align: right; }
.rch-total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0; border-top: 1px dashed var(--grey-200); }
.rch-total strong { font-family: var(--font-head); font-size: 28px; color: var(--red); }
.rch-submit { height: 58px; font-size: 16px; }
.rch-secure { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--muted); margin-top: 14px; line-height: 1.5; }
.rch-secure .ic { flex: none; width: 16px; height: 16px; color: #1f9d55; margin-top: 1px; }
/* Confirmation */
.rch-confirm > img { width: 44px; height: auto; margin-bottom: 12px; }
.rch-confirm-amount { margin: 20px 0 6px; padding: 18px; border-radius: 16px; background: var(--grey-050); text-align: center; font-family: var(--font-head); font-size: 34px; font-weight: 700; color: var(--red); }
.rch-confirm-amount small { display: block; font-family: var(--font-body); font-size: 14px; font-weight: 500; color: var(--muted); margin-top: 2px; }
@media (max-width: 980px) {
  .rch-grid { grid-template-columns: 1fr; }
  .rch-summary { position: static; }
  .rch-hero-logo { display: none; }
}
@media (max-width: 560px) {
  .rch-amounts { grid-template-columns: repeat(2, 1fr); }
  .rch-methods { grid-template-columns: 1fr; }
  .rch-phone .input { font-size: 21px; height: 58px; }
  .rch-prefix { font-size: 18px; padding-left: 14px; }
  .rch-other > span { flex-wrap: wrap; }
  .rch-other .input { width: 100%; }
}

/* =========================================================
   Page Djezzy : services cliquables (Recharge mise en avant)
   ========================================================= */
.dz-services { display: grid; gap: 14px; }
.dz-service { display: flex; align-items: center; gap: 18px; padding: 22px 24px; border-radius: 20px; border: 1px solid var(--grey-100); background: #fff;
  transition: box-shadow .3s, transform .3s var(--ease), border-color .3s; }
.dz-service:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--grey-200); }
.dz-service .ico { flex: none; width: 52px; height: 52px; border-radius: 15px; background: var(--red); color: #fff; display: grid; place-items: center; }
.dz-service h3 { font-size: 18px; margin-bottom: 3px; }
.dz-service p { font-size: 14.5px; color: var(--muted); }
.dz-service .go { margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; color: var(--red); white-space: nowrap; }
.dz-service .go .ic { transition: transform .25s var(--ease); }
.dz-service:hover .go .ic { transform: translateX(4px); }
/* Recharge : carte principale, rouge, avec halo qui invite à cliquer */
.dz-service.featured { position: relative; padding: 30px 28px; border: 0; color: #fff; overflow: hidden; isolation: isolate;
  background: radial-gradient(90% 140% at 100% 0%, #ff2a55 0%, var(--red) 45%, #8a0020 100%); box-shadow: 0 24px 50px -24px rgba(220, 0, 46, .75); }
.dz-service.featured::after { content: ''; position: absolute; z-index: -1; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 36px solid rgba(255, 255, 255, .08); }
.dz-service.featured .ico { width: 60px; height: 60px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3); }
.dz-service.featured h3 { font-size: 22px; }
.dz-service.featured p { color: rgba(255, 255, 255, .85); }
.dz-service.featured .go { color: var(--ink); background: #fff; padding: 12px 20px; border-radius: 999px; box-shadow: 0 0 0 0 rgba(255, 255, 255, .6); animation: dz-pulse 2.4s ease-out infinite; }
.dz-service.featured .tag { display: inline-flex; width: fit-content; max-width: 100%; height: auto; font-size: 11px; font-weight: 700; letter-spacing: .08em; line-height: 1.35; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; color: #fff; background: rgba(255, 255, 255, .18); margin-bottom: 10px; }
@keyframes dz-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .55); } 70%, 100% { box-shadow: 0 0 0 14px rgba(255, 255, 255, 0); } }
@media (prefers-reduced-motion: reduce) { .dz-service.featured .go { animation: none; } }
@media (max-width: 560px) {
  .dz-service { flex-wrap: wrap; }
  .dz-service .go { margin-left: 0; width: 100%; justify-content: center; }
}

/* =========================================================
   Échelle d'affichage : le site s'affiche à 100 % (--z = 1).
   Les hauteurs « plein écran » utilisent var(--z) au cas où une échelle serait réintroduite.
   ========================================================= */
/* Modif 34 : retour à l'affichage 100 % (plus de réduction à 80 %) ; --z reste à 1 */


/* Vidéo de fond de l'accueil (fichier du site) */
.hero-media .hero-video-file { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   Cartes produits : texte gris clair et fin, tout centré, bouton « Acheter » à contour rouge
   ========================================================= */
.p-card .p-body { align-items: center; text-align: center; }
.p-card .p-cat { color: #9aa0aa; font-weight: 500; }
.p-card .p-name { font-family: var(--font-body); font-weight: 400; color: #5f6570; letter-spacing: 0; }
.p-card .p-name a:hover { color: var(--red); }
.p-card .p-foot { width: 100%; display: flex; flex-direction: column; flex-wrap: nowrap; justify-content: center; align-items: center; gap: 12px; }
.p-card .p-foot > * { flex-basis: auto; margin-top: 0; }
.p-card .price { justify-content: center; }
.p-card .price strong { font-family: var(--font-body); font-weight: 500; color: #5f6570; letter-spacing: 0; }
.p-card .price .on-demand { font-weight: 400; color: #8a909a; }
.p-card .p-actions { display: flex; justify-content: center; }
.btn-buy {
  display: inline-flex; align-items: center; justify-content: center; height: 38px; min-width: 130px; padding: 0 26px;
  border-radius: 999px; border: 1.5px solid var(--red); background: transparent; color: var(--red);
  font-family: var(--font-body); font-size: 14.5px; font-weight: 500; cursor: pointer;
  transition: background .25s, color .25s, box-shadow .25s;
}
.btn-buy:hover, .btn-buy:focus-visible { background: var(--red); color: #fff; box-shadow: 0 10px 22px -10px rgba(220, 0, 46, .7); }
.btn-buy.is-loading { opacity: .6; pointer-events: none; }

/* Politique qualité : texte seul, centré au milieu de la page (photo retirée) */
.pq-grid.pq-centered { display: block; }
.pq-centered .pq-intro { max-width: 860px; margin: 0 auto; text-align: center; }
.pq-centered .eyebrow { justify-content: center; }
.pq-centered .pq-sign { align-items: center; padding: 18px 0 0; border-left: 0; position: relative; }
.pq-centered .pq-sign::before { content: ""; position: absolute; top: 0; left: 50%; width: 48px; height: 3px; margin-left: -24px; border-radius: 3px; background: var(--red); }

/* ===== Modif 30 ===== */
/* --- Diaporama du haut de page --- */
.hero-slider { display: block; padding: 0; }
.hero-slider .hs-slide {
  position: absolute; inset: 0; display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 110px;
  opacity: 0; visibility: hidden; transition: opacity 1s var(--ease), visibility 0s 1s;
}
.hero-slider .hs-slide.is-active { position: relative; min-height: inherit; opacity: 1; visibility: visible; transition: opacity 1s var(--ease); z-index: 1; }
.hero-slider .hs-slide .hero-inner { z-index: 1; }
.hs-text > * { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.hs-slide.is-active .hs-text > * { opacity: 1; transform: none; }
.hs-slide.is-active .hs-text > :nth-child(2) { transition-delay: .12s; }
.hs-slide.is-active .hs-text > :nth-child(3) { transition-delay: .24s; }
.hs-slide.is-active .hs-text > :nth-child(4) { transition-delay: .36s; }
.hs-kicker {
  display: inline-block; margin-bottom: 18px; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255, 255, 255, .78);
}
.hero-slider .h-display { margin-bottom: 22px; }
.hero-slider .h-display em { font-style: normal; color: var(--red); }
.hs-image .hero-media { background: #02061a; }
.hs-image .hero-media img { object-position: 78% center; }
.hero-shade-soft {
  background:
    linear-gradient(90deg, rgba(5, 8, 16, .82) 0%, rgba(5, 8, 16, .45) 40%, rgba(5, 8, 16, 0) 70%),
    linear-gradient(0deg, rgba(5, 8, 16, .7) 0%, rgba(5, 8, 16, 0) 30%),
    linear-gradient(180deg, rgba(5, 8, 16, .5) 0%, rgba(5, 8, 16, 0) 22%);
}
.hs-dots { position: absolute; left: 50%; bottom: 38px; transform: translateX(-50%); z-index: 3; display: flex; gap: 10px; }
.hs-dot { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; }
.hs-dot i { position: relative; width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, .4); transition: background .3s, transform .3s; }
.hs-dot:hover i { background: rgba(255, 255, 255, .75); }
.hs-dot.is-active i { background: #fff; transform: scale(1.15); }
/* anneau rouge qui se remplit pendant l'affichage du slide */
.hs-dot.is-active i::after {
  content: ''; position: absolute; inset: -5px; border-radius: 50%;
  background: conic-gradient(var(--red) calc(var(--p, 0) * 1%), transparent 0);
  -webkit-mask: radial-gradient(closest-side, transparent 70%, #000 72%); mask: radial-gradient(closest-side, transparent 70%, #000 72%);
}
@property --p { syntax: '<number>'; inherits: false; initial-value: 0; }
.hs-run .hs-dot.is-active i::after { animation: hsfill var(--hs-dur, 9s) linear forwards; }
@keyframes hsfill { from { --p: 0; } to { --p: 100; } }
@media (prefers-reduced-motion: reduce) { .hs-text > * { transition: none; } .hs-run .hs-dot.is-active i::after { animation: none; --p: 100; } }
@media (max-width: 980px) {
  .hero-slider .hs-slide { padding: calc(var(--header-h) + 50px) 0 100px; align-items: flex-end; }
  .hs-image .hero-media img { object-position: 72% center; }
  .hero-shade-soft { background: linear-gradient(0deg, rgba(5, 8, 16, .92) 0%, rgba(5, 8, 16, .55) 50%, rgba(5, 8, 16, .1) 100%); }
  .hs-dots { bottom: 26px; }
}

/* --- Ils nous ont fait confiance --- */
.cl-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.cl-head .eyebrow { justify-content: center; }
.cl-head .lead { margin-top: 16px; }
.cl-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.cl-grid li {
  height: 112px; display: grid; place-items: center; padding: 20px 22px; background: #fff; border-radius: 18px;
  border: 1px solid var(--grey-100); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.cl-grid li:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: transparent; }
.cl-grid img { max-width: 100%; max-height: 64px; width: auto; height: auto; object-fit: contain; }
.cl-name span { font-family: var(--font-head); font-weight: 700; font-size: 19px; letter-spacing: .02em; color: #6a707b; text-align: center; transition: color .35s; }
.cl-grid li:hover .cl-name span, .cl-name:hover span { color: var(--ink); }
@media (max-width: 1180px) { .cl-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 700px) { .cl-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } .cl-grid li { height: 92px; padding: 16px; } .cl-grid img { max-height: 52px; } }

/* --- Page Qualité --- */
.qa-hero { padding-bottom: 90px; }
.qa-hero .lead { max-width: 640px; }
.qa-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: none; }
.qa-steps li { position: relative; padding: 28px 24px 26px; background: #fff; border-radius: 20px; border: 1px solid var(--grey-100); }
.qa-steps b { display: block; font-family: var(--font-head); font-size: 15px; color: var(--red); margin-bottom: 18px; }
.qa-steps h3 { font-size: 18px; margin-bottom: 8px; }
.qa-steps p { font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.qa-goals { max-width: 860px; margin: 48px auto 0; }
.qa-goals h3 { font-size: 20px; margin-bottom: 18px; text-align: center; }
.qa-goals .pq-list { grid-template-columns: 1fr 1fr; }
.qa-goals .pq-list li { text-align: left; }
@media (max-width: 980px) { .qa-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .qa-steps, .qa-goals .pq-list { grid-template-columns: 1fr; } }

/* --- Cartes produit : fond de la page gris, pastille produit blanche, carte entièrement cliquable --- */
body[data-page="produits"] main { background: var(--grey-050); }
body[data-page="produits"] .shop-bar { background: rgba(245, 246, 248, .92); }
.p-media { background: #fff; }
.p-card { cursor: pointer; }
.p-link::after { content: ''; position: absolute; inset: 0; z-index: 3; border-radius: inherit; }
.p-link:focus-visible { outline: none; }
.p-card:has(.p-link:focus-visible) { outline: 2px solid var(--red); outline-offset: 3px; }
.p-card .p-name a { color: inherit; }
.p-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--red); }
.p-more .ic { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.p-card:hover .p-more .ic { transform: translateX(4px); }
.p-foot .p-more { flex-basis: 100%; justify-content: center; }

/* --- Fiche produit : image plus petite, sans miniatures, caractéristiques avant les couleurs --- */
@media (min-width: 981px) { .pdp-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 56px; } }
.gallery-main { max-width: 480px; margin: 0 auto; width: 100%; padding: 28px; background: #fff; border: 1px solid var(--grey-100); }
.gallery-main img { inset: 28px; width: calc(100% - 56px); height: calc(100% - 56px); }
.thumbs { display: none; }
.pdp-info h1 { font-size: clamp(26px, 2.6vw, 36px); }
.pdp-price { margin-top: 14px; }
.pdp-price strong { font-size: 30px; }
.spec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; margin: 0; }
.spec-list > div { display: grid; grid-template-columns: 20px 1fr; column-gap: 10px; align-items: start; padding: 10px 0; border-bottom: 1px solid var(--grey-100); }
.spec-list .ic { width: 18px; height: 18px; color: var(--red); margin-top: 2px; grid-row: span 2; }
.spec-list dt { font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.spec-list dd { margin: 2px 0 0; font-size: 14px; line-height: 1.45; color: var(--ink); }
.pdp-specs { padding-bottom: 18px; }
.qty { height: 42px; }
.qty button { width: 38px; }
.buy-row .btn-primary { flex: none; min-width: 0; height: 42px; padding: 0 22px; font-size: 14px; }
@media (max-width: 980px) { .gallery-main { max-width: 380px; } }
@media (max-width: 560px) { .spec-list { grid-template-columns: 1fr; } }

/* ===== Modif 31 ===== */
/* --- Accueil : points forts intégrés au bloc Livraison (même fond, mêmes colonnes) --- */
.dl-values { margin-top: 56px; border-top: 1px solid rgba(255, 255, 255, .1); }
.dl-values .value-ico { display: block; width: 44px; height: 44px; margin: 0 0 16px; }
.dl-values .value-ico [stroke="#101319"] { stroke: #fff; }
.dl-values p { line-height: 1.7; }

/* --- Accueil : clients et marques dans un seul bloc --- */
.trust-block #clients { margin-bottom: 110px; }
.trust-block .xp-text p { color: #4a505b; }
@media (max-width: 980px) { .trust-block #clients { margin-bottom: 72px; } }

/* --- Fiche produit : typographie façon Apple (Inter, proche de SF Pro), tout visible sans défiler --- */
@font-face {
  font-family: 'Inter var'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('../fonts/inter-var-latin.woff2') format('woff2');
}
.pdp {
  --apple-ink: #1d1d1f; --apple-grey: #6e6e73; --apple-line: #e5e5ea;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter var', 'Helvetica Neue', 'Segoe UI', Arial, sans-serif;
  color: var(--apple-ink); -webkit-font-smoothing: antialiased; letter-spacing: -0.011em;
  padding: calc(var(--header-h) + 18px) 0 56px;
}
.pdp h1, .pdp h2, .pdp .pdp-price strong, .pdp .btn { font-family: inherit; }
.pdp .breadcrumb { color: var(--apple-grey); font-size: 14px; margin-bottom: 18px; }
.pdp .breadcrumb a { color: var(--apple-grey); }
.pdp .breadcrumb a:hover { color: var(--apple-ink); text-decoration: underline; }
.pdp .breadcrumb span:last-child { color: var(--apple-ink); }
.pdp .pdp-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.pdp .gallery { position: sticky; top: calc(var(--header-h) + 18px); }
.pdp .gallery-main {
  aspect-ratio: 1 / 1; width: 100%; max-width: min(520px, calc(100vh / var(--z) - var(--header-h) - 110px)); margin: 0 auto;
  background: #fff; border: 0; border-radius: 28px; padding: 32px; box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}
.pdp .gallery-main img { inset: 32px; width: calc(100% - 64px); height: calc(100% - 64px); }
.pdp-tags { display: flex; align-items: center; gap: 10px; }
.pdp .p-cat { font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--red); }
.pdp .badge { height: 22px; font-size: 11px; }
.pdp .pdp-info h1 { font-size: 46px; font-weight: 600; letter-spacing: -0.025em; line-height: 1.08; margin: 8px 0 10px; }
.pdp .pdp-price { margin: 0; gap: 10px; align-items: baseline; }
.pdp .pdp-price strong { font-size: 28px; font-weight: 500; letter-spacing: -0.015em; }
.pdp .pdp-price del { font-size: 16px; color: var(--apple-grey); }
.pdp .pdp-price .ttc { font-size: 15px; color: var(--apple-grey); }
.pdp-specs { margin-top: 24px; }
.pdp-specs h2, .pdp-colors h2 { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 10px; }
.pdp .spec-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 32px; margin: 0; }
.pdp .spec-list > div { display: grid; grid-template-columns: 20px 1fr; column-gap: 12px; padding: 12px 0; border: 0; border-top: 1px solid var(--apple-line); }
.pdp .spec-list .ic { width: 20px; height: 20px; color: var(--apple-grey); margin-top: 1px; grid-row: span 2; }
.pdp .spec-list dt { font-size: 14px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--apple-grey); }
.pdp .spec-list dd { margin: 3px 0 0; font-size: 16.5px; line-height: 1.4; font-weight: 400; color: var(--apple-ink); }
.pdp-note { margin-top: 12px; font-size: 16px; color: var(--apple-grey); }
.pdp-buy { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px; margin-top: 18px; padding-top: 20px; border-top: 1px solid #d2d2d7; }
.pdp-colors h2 span { font-weight: 400; color: var(--apple-grey); margin-left: 6px; }
.pdp .swatches { gap: 8px; }
.pdp .swatch { height: 44px; padding: 0 16px 0 7px; gap: 9px; font-size: 15.5px; font-weight: 500; border: 1px solid #d2d2d7; background: #fff; color: var(--apple-ink); }
.pdp .swatch i { width: 30px; height: 30px; }
.pdp .swatch.active { border-color: var(--apple-ink); box-shadow: inset 0 0 0 1px var(--apple-ink); }
.pdp-cta { display: flex; align-items: center; gap: 10px; }
.pdp .qty { height: 48px; border: 1px solid #d2d2d7; background: #fff; }
.pdp .qty input { font-family: inherit; font-size: 17px; }
.pdp .pdp-cta .btn { height: 48px; padding: 0 26px; font-size: 17px; font-weight: 500; letter-spacing: -0.01em; }
.pdp .perks { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 16px; font-size: 15px; color: var(--apple-grey); }
.pdp .perks .ic { width: 20px; color: var(--apple-grey); }
@media (max-width: 980px) {
  .pdp .pdp-grid { grid-template-columns: 1fr; gap: 28px; }
  .pdp .gallery { position: static; }
  .pdp .gallery-main { max-width: 380px; }
  .pdp .pdp-info h1 { font-size: 32px; }
  .pdp-buy { flex-direction: column; align-items: stretch; }
  .pdp-cta .btn { flex: 1; }
}
/* Fiche produit : version compacte pour tout voir sans défiler */
@media (min-width: 981px) { .pdp .pdp-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; } }
.pdp .spec-list { grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 0 26px; }
.pdp .spec-list > div { grid-template-rows: auto 1fr; align-content: start; padding: 10px 0; }
.pdp .spec-list dt, .pdp .spec-list dd { align-self: start; }
.pdp .spec-list dd { font-size: 15.5px; line-height: 1.38; }
.pdp .pdp-info h1 { font-size: 42px; margin: 6px 0 6px; }
@media (max-width: 980px) { .pdp .pdp-info h1 { font-size: 32px; } .pdp .gallery-main { max-width: 340px; } }
.pdp-specs { margin-top: 18px; }
.pdp-buy { margin-top: 14px; padding-top: 16px; }
.pdp .perks { margin-top: 12px; }
.pdp .gallery-main { max-width: min(460px, calc(100vh / var(--z) - var(--header-h) - 110px)); }

/* ===== Modif 32 ===== */
/* Fond gris encore plus clair (boutique + fiche produit + commande) */
body[data-page="produits"] main { background: #fafafb; }
body[data-page="produits"] .shop-bar { background: rgba(250, 250, 251, .92); }
/* Fiche produit : la photo occupe toute la hauteur de la colonne de gauche */
@media (min-width: 981px) {
  .pdp .pdp-grid { align-items: stretch; }
  .pdp .gallery { position: static; display: flex; }
  .pdp .gallery-main { flex: 1; aspect-ratio: auto; max-width: none; height: auto; min-height: 420px; padding: 36px; }
  .pdp .gallery-main img { inset: 36px; width: calc(100% - 72px); height: calc(100% - 72px); }
}
/* Couleurs, puis quantité + « Acheter » en dessous */
.pdp-buy { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 16px; }
.pdp-cta .btn { min-width: 180px; }
@media (max-width: 980px) { .pdp-buy { align-items: stretch; } }

/* ===== Modif 33 ===== */
/* Logos clients en gris, comme le bandeau des marques partenaires */
.cl-grid img { filter: grayscale(1) contrast(.9); opacity: .55; }
.cl-name span { color: #8a8f98; }
/* En-tête : avec le passage à 100 % (modif 34), la taille d'origine correspond déjà à +25 % de l'affichage à 80 % */

/* ===== Modif 34 ===== */
/* Sous-menu de l'en-tête en verre dépoli */
.nav-dropdown {
  background: rgba(255, 255, 255, .62); border: 1px solid rgba(255, 255, 255, .55);
  -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%);
  box-shadow: 0 18px 40px -12px rgba(16, 19, 25, .35), inset 0 1px 0 rgba(255, 255, 255, .7);
}
.nav-dropdown a:hover { background: rgba(255, 255, 255, .55); }

/* Fiche produit à l'affichage 100 % : tailles ajustées */
.pdp .breadcrumb { font-size: 13px; }
.pdp .p-cat { font-size: 12px; }
.pdp .pdp-info h1 { font-size: 40px; font-weight: 700; letter-spacing: -0.03em; margin: 6px 0 2px; }
.pdp-specs { margin-top: 16px; }
.pdp-specs h2, .pdp-colors h2 { font-size: 17px; }
.pdp .spec-list { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0 24px; }
.pdp .spec-list > div { padding: 9px 0; }
.pdp .spec-list .ic { width: 17px; height: 17px; }
.pdp .spec-list > div { grid-template-columns: 17px 1fr; column-gap: 10px; }
.pdp .spec-list dt { font-size: 12.5px; }
.pdp .spec-list dd { font-size: 14px; line-height: 1.4; }
/* Mémoire RAM et stockage mis en avant */
.pdp .spec-list .spec-key dd { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.pdp .spec-list .spec-key .ic { color: var(--red); }
.pdp .swatch { height: 38px; font-size: 14px; padding: 0 14px 0 6px; }
.pdp .swatch i { width: 26px; height: 26px; }
/* Couleurs | séparation | prix, quantité et « Acheter » */
.pdp-buy { gap: 0; }
.pdp-order { width: 100%; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 16px; padding-top: 16px; border-top: 1px solid #d2d2d7; }
.pdp .pdp-order .pdp-price strong { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
.pdp .pdp-order .pdp-price .ttc { font-size: 13px; }
.pdp .qty { height: 44px; }
.pdp .qty input { font-size: 16px; }
.pdp .pdp-cta .btn { height: 44px; font-size: 16px; padding: 0 26px; }
.pdp .perks { font-size: 13px; }
.pdp .perks .ic { width: 18px; }
@media (max-width: 980px) { .pdp .pdp-info h1 { font-size: 30px; } .pdp-order { flex-direction: column; align-items: stretch; } }

/* ===== Modif 36 ===== */
/* Batterie mise en avant comme la RAM et le stockage : capacité en grand, détail en dessous */
.pdp .spec-list .spec-key dd .spec-big { display: block; font-size: 21px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.pdp .spec-list .spec-key dd .spec-more { display: block; margin-top: 3px; font-size: 13px; font-weight: 400; letter-spacing: 0; line-height: 1.4; color: var(--apple-grey); }

/* ===== Modif 38 ===== */
/* Prix, puis quantité + « Acheter » en dessous ; bloc un peu plus éloigné des couleurs / caractéristiques */
.pdp-order { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 14px; margin-top: 26px; padding-top: 22px; }
@media (max-width: 980px) { .pdp-order { align-items: stretch; } }
/* Bouton « Acheter » : éclat lumineux qui balaie le bouton (même effet que le badge ISO), en boucle */
.pdp-cta #add { position: relative; overflow: hidden; isolation: isolate; }
.pdp-cta #add::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, .55) 49%, rgba(255, 255, 255, .12) 53%, rgba(255, 255, 255, 0) 62%) no-repeat;
  background-size: 260% 100%; background-position: 160% 0;
  animation: buy-shine 3.6s cubic-bezier(.4, 0, .2, 1) 1s infinite;
}
@keyframes buy-shine { 0% { background-position: 160% 0; } 32%, 100% { background-position: -60% 0; } }
@media (prefers-reduced-motion: reduce) { .pdp-cta #add::after { animation: none; } }
/* Prix + quantité/Acheter à gauche, livraison et paiement à droite */
@media (min-width: 981px) {
  .pdp-order { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 40px; row-gap: 14px; }
  .pdp-order .pdp-price { grid-column: 1; grid-row: 1; }
  .pdp-order .pdp-cta { grid-column: 1; grid-row: 2; }
  .pdp-order .perks { grid-column: 2; grid-row: 1 / span 2; align-self: end; justify-self: end; flex-direction: column; align-items: flex-start; gap: 10px; margin: 0 0 12px; }
}

/* ===== Modif 39 ===== */
/* Logo NG Electro (blanc) à la place du petit texte au-dessus du titre */
.hs-logo { display: block; width: auto; height: 56px; margin-bottom: 22px; }
@media (max-width: 700px) { .hs-logo { height: 46px; } }

/* ===== Modif 40 ===== */
/* Page Qualité : vidéo de production en fond du bandeau, photo de la ligne pour la section TECNO */
.qa-hero { position: relative; overflow: hidden; }
.qa-hero::before { display: none; }
.qa-hero .container { position: relative; z-index: 1; }
.tp-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Nouveautés : titre centré, plus petit */
.news-head { text-align: center; margin: 0 auto 40px; }
.news-head .eyebrow { justify-content: center; }
.news-head h2 { font-size: clamp(26px, 2.6vw, 34px); margin-top: 6px; }
.news-more { text-align: center; margin-top: 32px; }

/* Badges des cartes produit : triangle dans le coin haut gauche (le coin arrondi de la carte le découpe) */
.p-card .p-badges { top: 0; left: 0; gap: 0; }
.p-card .badge-corner {
  position: relative; width: 96px; height: 96px; padding: 0; border-radius: 0; display: block;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.p-card .badge-corner > span {
  position: absolute; left: 33px; top: 33px; width: 96px; text-align: center;
  transform: translate(-50%, -50%) rotate(-45deg);
  font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1; color: #fff; white-space: nowrap;
}

/* Zoom sur le POVA Curve 2 5G (visuels TECNO, charte du site : fond nuit, accents rouges) */
.pv { position: relative; padding: 110px 0 90px; background: radial-gradient(70% 50% at 50% 0%, #2a2350 0%, #0b0d14 60%), #0b0d14; color: #fff; overflow: hidden; }
.pv-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.pv-head .eyebrow { justify-content: center; }
.pv-head h2 { font-size: clamp(38px, 5vw, 64px); letter-spacing: -0.02em; margin: 8px 0 14px; background: linear-gradient(180deg, #fff 30%, #b9b4e6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pv-head p { color: rgba(255, 255, 255, .72); font-size: 17px; line-height: 1.6; }
.pv-bento { display: grid; grid-template-columns: 1.15fr 1fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.pv-card { position: relative; display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: #12141d; border: 1px solid rgba(255, 255, 255, .08); transition: transform .5s var(--ease), border-color .5s; }
.pv-card:hover { transform: translateY(-4px); border-color: rgba(220, 0, 46, .45); }
.pv-card > img { display: block; width: 100%; height: 220px; object-fit: cover; }
.pv-txt { padding: 20px 22px 24px; }
.pv-tag { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.pv-card h3 { font-size: 21px; margin-bottom: 6px; }
.pv-card p { font-size: 14.5px; line-height: 1.55; color: rgba(255, 255, 255, .65); }
.pv-design { grid-row: span 2; background: radial-gradient(80% 60% at 60% 70%, #3b3478 0%, #12141d 70%); }
.pv-design > img { height: auto; flex: 1; object-fit: contain; max-height: 520px; padding: 0 24px 10px; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .6)); }
.pv-battery { grid-column: span 2; }
.pv-battery > img { height: 250px; }
.pv-stats { list-style: none; margin: 16px 0 0; padding: 26px 10px; display: grid; grid-template-columns: repeat(6, 1fr); border-radius: 24px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); }
.pv-stats li { text-align: center; padding: 0 10px; border-left: 1px solid rgba(255, 255, 255, .1); }
.pv-stats li:first-child { border-left: 0; }
.pv-stats b { display: block; font-family: var(--font-head); font-size: 32px; line-height: 1.1; }
.pv-stats small { font-size: 15px; margin-left: 3px; color: var(--red); }
.pv-stats span { font-size: 13px; color: rgba(255, 255, 255, .6); }
.pv-hand { display: grid; grid-template-columns: 1fr .8fr; gap: 40px; align-items: center; margin-top: 70px; }
.pv-hand h3 { font-size: clamp(28px, 3.2vw, 42px); margin: 8px 0 14px; }
.pv-hand p { color: rgba(255, 255, 255, .7); font-size: 16px; line-height: 1.7; max-width: 520px; }
.pv-hand > img { width: 100%; max-width: 440px; justify-self: center; filter: drop-shadow(0 40px 50px rgba(0, 0, 0, .6)); }
.pv-colors { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 28px; }
.pv-colors span { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 6px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); font-size: 13.5px; }
.pv-colors i { width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.pv-note { margin-top: 40px; font-size: 12px; color: rgba(255, 255, 255, .4); text-align: center; max-width: 900px; margin-left: auto; margin-right: auto; }
@media (max-width: 1100px) {
  .pv-bento { grid-template-columns: 1fr 1fr; }
  .pv-design { grid-row: auto; grid-column: span 2; }
  .pv-design > img { max-height: 380px; }
  .pv-stats { grid-template-columns: repeat(3, 1fr); row-gap: 22px; }
  .pv-stats li:nth-child(4) { border-left: 0; }
}
@media (max-width: 700px) {
  .pv { padding: 80px 0 64px; }
  .pv-bento { grid-template-columns: 1fr; }
  .pv-design, .pv-battery { grid-column: auto; }
  .pv-battery > img { height: 190px; }
  .pv-stats { grid-template-columns: repeat(2, 1fr); }
  .pv-stats li:nth-child(odd) { border-left: 0; }
  .pv-stats li:nth-child(4) { border-left: 1px solid rgba(255, 255, 255, .1); }
  .pv-hand { grid-template-columns: 1fr; margin-top: 48px; }
  .pv-hand > img { max-width: 300px; }
}
/* Grille POVA : design (haut gauche, 2 lignes) | batterie (2 colonnes) + écran, processeur | charge (2 lignes à droite) */
@media (min-width: 1101px) {
  .pv-bento { grid-template-columns: 1.15fr 1fr 1fr .85fr; }
  .pv-design { grid-column: 1; grid-row: 1 / span 2; }
  .pv-battery { grid-column: 2 / span 2; grid-row: 1; }
  .pv-charge { grid-column: 4; grid-row: 1 / span 2; }
  .pv-charge > img { height: auto; flex: 1; min-height: 0; object-fit: cover; }
}
.pv-battery > img { height: auto; aspect-ratio: 890 / 550; object-fit: cover; }
.pv-hand > img { max-width: 360px; max-height: 560px; object-fit: contain; }
/* Badge long (ex. « Prochainement ») : triangle plus grand, texte plus petit */
.p-card .badge-corner.badge-long { width: 124px; height: 124px; }
.p-card .badge-corner.badge-long > span { left: 43px; top: 43px; width: 124px; font-size: 9px; letter-spacing: .04em; }

/* ===== Modif 41 ===== */
/* Badge triangulaire plus petit, dans le coin bas gauche de la carte */
.p-card .p-badges { top: auto; bottom: 0; left: 0; }
.p-card .badge-corner { width: 72px; height: 72px; clip-path: polygon(0 0, 0 100%, 100% 100%); }
.p-card .badge-corner > span { left: 25px; top: 47px; width: 72px; transform: translate(-50%, -50%) rotate(45deg); font-size: 9px; }
.p-card .badge-corner.badge-long { width: 100px; height: 100px; }
.p-card .badge-corner.badge-long > span { left: 35px; top: 65px; width: 100px; font-size: 8px; }

/* ===== Modif 42 ===== */
/* Badges (New, Prochainement…) masqués à l'affichage : ils restent dans les données et gardent leur rôle
   (sélection des Nouveautés, disponibilité « Prochainement »), mais ne sont plus visibles. */
.p-card .p-badges, .pdp .pdp-tags .badge { display: none !important; }

/* ===== Modif 43 ===== */
/* En-tête : le verre (fond + flou) passe sur un pseudo-élément, pour que le sous-menu puisse lui aussi flouter
   ce qui se trouve derrière lui (un parent avec backdrop-filter empêche le flou de ses enfants). */
.site-header, .site-header.solid, body.header-solid .site-header { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: rgba(6, 7, 10, .7);
  -webkit-backdrop-filter: saturate(140%) blur(24px); backdrop-filter: saturate(140%) blur(24px);
}
/* Sous-menu en verre dépoli : le contenu de la page derrière lui est flouté */
.nav-dropdown {
  background: rgba(255, 255, 255, .5); border: 1px solid rgba(255, 255, 255, .45);
  -webkit-backdrop-filter: blur(26px) saturate(180%); backdrop-filter: blur(26px) saturate(180%);
}
.nav-dd-label { display: block; padding: 10px 14px 4px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(16, 19, 25, .5); }
.nav-dd-label:not(:first-child) { margin-top: 6px; border-top: 1px solid rgba(16, 19, 25, .08); padding-top: 12px; }
.mobile-nav .mobile-dd-label { display: block; padding: 12px 0 2px 16px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .55; }
/* Le grain en « mix-blend-mode: overlay » isolait l'en-tête et bloquait le flou du sous-menu : fusion normale, opacité réduite */
.site-header::before { mix-blend-mode: normal; opacity: .05; }

/* ===== Modif 44 ===== */
/* Smartphone vedette : version claire, charte du site (fond blanc, texte encre, accents rouges) */
.pv-light { background: radial-gradient(60% 45% at 50% 0%, #efedfb 0%, #ffffff 65%), #fff; color: var(--ink); }
.pv-star {
  display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 16px 0 12px; border-radius: 999px;
  background: var(--red); color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  box-shadow: 0 10px 24px -10px rgba(220, 0, 46, .6);
}
.pv-star svg { width: 16px; height: 16px; }
.pv-kicker { margin-top: 18px; font-size: 15px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.pv-light .pv-head h2 { margin-top: 4px; background: linear-gradient(180deg, var(--ink) 35%, #5b55a8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pv-light .pv-head p:not(.pv-kicker) { color: #4a505b; }
.pv-light .pv-card { background: #fff; border-color: var(--grey-100); box-shadow: 0 1px 2px rgba(16, 19, 25, .04); }
.pv-light .pv-card:hover { border-color: rgba(220, 0, 46, .35); box-shadow: var(--shadow); }
.pv-light .pv-card p { color: var(--muted); }
.pv-light .pv-design { background: radial-gradient(80% 60% at 60% 70%, #dcd8f5 0%, #ffffff 72%); }
.pv-light .pv-design > img { filter: drop-shadow(0 30px 34px rgba(60, 50, 120, .28)); }
.pv-light .pv-stats { background: #fff; border-color: var(--grey-100); box-shadow: 0 1px 2px rgba(16, 19, 25, .04); }
.pv-light .pv-stats li { border-left-color: var(--grey-100); }
.pv-light .pv-stats span { color: var(--muted); }
.pv-light .pv-hand p { color: #4a505b; }
.pv-light .pv-hand > img { filter: drop-shadow(0 34px 40px rgba(60, 50, 120, .25)); }
.pv-light .pv-colors span { border-color: var(--grey-200); background: #fff; }
.pv-light .pv-colors i { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.pv-light .pv-note { color: #9aa0aa; }
@media (max-width: 700px) { .pv-light .pv-stats li:nth-child(4) { border-left-color: var(--grey-100); } }
.pv-light .pv-head .pv-kicker { color: var(--muted); }

/* ===== Modif 45 ===== */
/* En-tête agrandi de 15 % (hauteur, logo, menu et icônes) */
:root { --header-h: 83px; }
.site-header .header-inner > * { zoom: 1.15; }
@media (max-width: 980px) { :root { --header-h: 74px; } }
/* Fiche produit : marge du haut réduite pour compenser l'en-tête plus grand (tout reste visible sans défiler) */
.pdp { padding-top: calc(var(--header-h) + 10px); }
.pdp .breadcrumb { margin-bottom: 12px; }

/* ===== Modif 46 ===== */
/* « Voir la fiche » : bouton arrondi à contour rouge (comme les autres), rempli au survol de la carte ; taille du texte inchangée */
.p-foot .p-more {
  flex-basis: auto; align-self: center; margin: 12px auto 0; height: 34px; padding: 0 18px;
  border: 1.5px solid var(--red); border-radius: 999px; color: var(--red); background: transparent;
  transition: background .25s, color .25s, box-shadow .25s;
}
.p-card:hover .p-foot .p-more { background: var(--red); color: #fff; box-shadow: 0 10px 22px -10px rgba(220, 0, 46, .7); }

/* ===== Modif 47 ===== */
/* En-tête réduit de 8 % par rapport à la modif 45 (83 → 76 px ; échelle 1,15 → 1,06) */
:root { --header-h: 76px; }
.site-header .header-inner > * { zoom: 1.06; }
@media (max-width: 980px) { :root { --header-h: 68px; } }

/* ===== Modif 49 ===== */
/* --- Entrées de texte plus douces : montée plus longue, léger flou qui se dissipe, courbe très amortie --- */
:root { --ease-soft: cubic-bezier(.22, 1, .36, 1); }
.reveal { opacity: 0; transform: translateY(40px); filter: blur(6px); transition: opacity 1.1s var(--ease-soft), transform 1.25s var(--ease-soft), filter 1.1s var(--ease-soft); }
.reveal.in { opacity: 1; transform: none; filter: none; }
.reveal-d1 { transition-delay: .12s; } .reveal-d2 { transition-delay: .24s; } .reveal-d3 { transition-delay: .36s; } .reveal-d4 { transition-delay: .48s; }
.hs-text > * { opacity: 0; transform: translateY(38px); filter: blur(8px); transition: opacity 1.1s var(--ease-soft), transform 1.3s var(--ease-soft), filter 1.1s var(--ease-soft); }
.hs-ready .hs-slide.is-active .hs-text > * { opacity: 1; transform: none; filter: none; }
.hs-ready .hs-slide.is-active .hs-text > :nth-child(1) { transition-delay: .15s; }
.hs-ready .hs-slide.is-active .hs-text > :nth-child(2) { transition-delay: .3s; }
.hs-ready .hs-slide.is-active .hs-text > :nth-child(3) { transition-delay: .45s; }
.hs-ready .hs-slide.is-active .hs-text > :nth-child(4) { transition-delay: .6s; }

/* --- Boutons : une pastille ronde apparaît puis s'étire en capsule (comme les contrôles du diaporama) --- */
@keyframes btn-pop {
  0% { opacity: 0; transform: translateY(12px) scale(.9); clip-path: inset(0 calc(50% - 25px) round 999px); }
  35% { opacity: 1; transform: none; clip-path: inset(0 calc(50% - 25px) round 999px); }
  100% { opacity: 1; transform: none; clip-path: inset(0 0 round 999px); }
}
.hs-ready .hs-slide.is-active .hs-text .btn { animation: btn-pop 1s var(--ease-soft) backwards; animation-delay: .75s; }
.hs-ready .hs-slide.is-active .hs-text .btn + .btn { animation-delay: .88s; }
.reveal.in .btn, .btn.reveal.in { animation: btn-pop 1s var(--ease-soft) backwards; animation-delay: .35s; }
.reveal.in .btn + .btn { animation-delay: .48s; }

/* --- Contrôles du diaporama : capsule de points + bouton lecture / pause --- */
.hs-ctrl { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); z-index: 3; display: flex; align-items: center; gap: 10px; }
.hs-ctrl .hs-dots {
  position: static; transform: none; display: flex; align-items: center; gap: 0; height: 46px; padding: 0 13px; border-radius: 999px;
  background: rgba(42, 42, 46, .72); -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%);
}
.hs-ctrl .hs-dot { width: 22px; height: 46px; display: grid; place-items: center; transition: width .55s var(--ease-soft); }
.hs-ctrl .hs-dot i { position: relative; width: 8px; height: 8px; border-radius: 999px; overflow: hidden; background: rgba(255, 255, 255, .42); transform: none; transition: width .55s var(--ease-soft), background .3s; }
.hs-ctrl .hs-dot:hover i { background: rgba(255, 255, 255, .7); transform: none; }
.hs-ctrl .hs-dot.is-active { width: 58px; }
.hs-ctrl .hs-dot.is-active i { width: 42px; background: rgba(255, 255, 255, .32); transform: none; }
/* remplissage blanc du point actif pendant la durée du slide */
.hs-ctrl .hs-dot.is-active i::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; background: #fff;
  -webkit-mask: none; mask: none; transform-origin: left center; transform: scaleX(0);
}
.hs-run .hs-ctrl .hs-dot.is-active i::after { animation: hs-bar var(--hs-dur, 9s) linear forwards; }
.hs-paused .hs-ctrl .hs-dot.is-active i::after { animation-play-state: paused; }
@keyframes hs-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hs-play {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: rgba(42, 42, 46, .72); -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%);
  transition: background .25s, transform .25s var(--ease-soft);
}
.hs-play:hover { background: rgba(60, 60, 66, .85); transform: scale(1.06); }
.hs-play svg { width: 18px; height: 18px; }
.hs-play .i-play, .hs-paused .hs-play .i-pause { display: none; }
.hs-paused .hs-play .i-play { display: block; }

/* Apparition : une pastille ronde monte, s'étire en capsule, puis les points et le bouton apparaissent */
.hs-ctrl:not(.hs-in) .hs-dots, .hs-ctrl:not(.hs-in) .hs-play { opacity: 0; }
@keyframes hs-pill-in {
  0% { opacity: 0; transform: translateY(18px) scale(.85); clip-path: inset(0 calc(50% - 23px) round 999px); }
  30% { opacity: 1; transform: none; clip-path: inset(0 calc(50% - 23px) round 999px); }
  100% { opacity: 1; transform: none; clip-path: inset(0 0 round 999px); }
}
@keyframes hs-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes hs-pop-in { 0% { opacity: 0; transform: scale(.35); } 100% { opacity: 1; transform: scale(1); } }
.hs-ctrl.hs-in .hs-dots { animation: hs-pill-in 1s var(--ease-soft) backwards; }
.hs-ctrl.hs-in .hs-dot i { animation: hs-fade-in .5s ease .55s backwards; }
.hs-ctrl.hs-in .hs-play { animation: hs-pop-in .6s cubic-bezier(.34, 1.56, .64, 1) .65s backwards; }
@media (max-width: 980px) { .hs-ctrl { bottom: 22px; } }

@media (prefers-reduced-motion: reduce) {
  .reveal, .hs-text > * { filter: none; transition: none; }
  .hs-ready .hs-slide.is-active .hs-text .btn, .reveal.in .btn, .btn.reveal.in,
  .hs-ctrl.hs-in .hs-dots, .hs-ctrl.hs-in .hs-dot i, .hs-ctrl.hs-in .hs-play { animation: none; }
  .hs-ctrl:not(.hs-in) .hs-dots, .hs-ctrl:not(.hs-in) .hs-play { opacity: 1; }
}
/* Sans JavaScript (ou mouvement réduit) : le texte du slide actif reste visible */
.no-js .hs-slide.is-active .hs-text > * { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) { .hs-slide.is-active .hs-text > * { opacity: 1; transform: none; } }

/* ===== Modif 50 ===== */
/* --- Smartphone vedette : cartes claires, plus de photos à fond noir --- */
.pv-soft { justify-content: space-between; overflow: hidden; }
.pv-soft .pv-txt { position: relative; z-index: 1; padding: 26px 26px 28px; }
.pv-big {
  font-family: var(--font-head); font-weight: 700; font-size: clamp(46px, 5vw, 72px); line-height: .95; letter-spacing: -0.03em; margin: 6px 0 12px;
  background: linear-gradient(120deg, #5b55a8 0%, #8b7fe0 45%, var(--red) 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pv-big small { font-size: .38em; letter-spacing: 0; margin-left: 6px; }
.pv-light .pv-soft p:not(.pv-big) { color: var(--muted); }
.pv-light .pv-battery { background: radial-gradient(90% 120% at 100% 0%, #e7f1ff 0%, #ffffff 60%); }
.pv-light .pv-screen { background: radial-gradient(90% 110% at 100% 100%, #f3e9ff 0%, #ffffff 62%); }
.pv-light .pv-cpu { background: radial-gradient(90% 110% at 0% 100%, #eceefb 0%, #ffffff 62%); }
.pv-light .pv-charge { background: radial-gradient(100% 70% at 50% 100%, #ffe9ee 0%, #ffffff 65%); }
/* batterie dessinée qui se remplit à l'apparition */
.pv-battery { flex-direction: row; align-items: center; }
.pv-batt { position: relative; flex: none; width: 92px; height: 170px; margin: 0 40px 0 10px; border-radius: 22px; border: 3px solid #cfd3dc; padding: 7px; }
.pv-batt i { position: absolute; top: -12px; left: 50%; width: 34px; height: 9px; margin-left: -17px; border-radius: 6px 6px 0 0; background: #cfd3dc; }
.pv-batt-fill { position: absolute; left: 7px; right: 7px; bottom: 7px; height: 0; border-radius: 14px; background: linear-gradient(180deg, #8bd99a, #2fbf71); box-shadow: 0 0 24px rgba(47, 191, 113, .35); transition: height 1.8s var(--ease-soft, ease) .5s; }
.pv-battery.in .pv-batt-fill { height: calc(100% - 14px); }
/* anneau de charge 50 % */
.pv-ring { position: relative; width: 150px; height: 150px; margin: 0 auto 30px; }
.pv-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.pv-ring circle { fill: none; stroke: #f1e3e7; stroke-width: 10; }
.pv-ring .pv-ring-fill { stroke: var(--red); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.6s var(--ease-soft, ease) .5s; }
.pv-charge.in .pv-ring-fill { stroke-dashoffset: 50; }
.pv-ring b { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 28px; color: var(--ink); }
.pv-ring b small { font-family: var(--font-body); font-size: 12.5px; font-weight: 500; color: var(--muted); margin-top: 2px; }
@media (max-width: 700px) {
  .pv-battery { flex-direction: column-reverse; align-items: stretch; }
  .pv-batt { width: 70px; height: 120px; margin: 30px auto 0; }
}

/* --- En-tête : à l'entrée du site, les titres du menu apparaissent un par un (fondu, flou, lueur) --- */
@keyframes nav-in {
  0% { opacity: 0; filter: blur(10px); transform: translateX(-14px); text-shadow: 0 0 0 rgba(255, 255, 255, 0); }
  55% { opacity: 1; filter: blur(0); transform: none; text-shadow: 0 0 14px rgba(255, 255, 255, .95), 0 0 30px rgba(220, 0, 46, .75); }
  100% { filter: blur(0); transform: none; text-shadow: 0 0 0 rgba(255, 255, 255, 0); }
}
.nav-intro .main-nav > * { animation: nav-in 1.1s cubic-bezier(.22, 1, .36, 1) backwards; }
.nav-intro .main-nav > :nth-child(1) { animation-delay: calc(var(--nav-delay, 0ms) + 0ms); }
.nav-intro .main-nav > :nth-child(2) { animation-delay: calc(var(--nav-delay, 0ms) + 120ms); }
.nav-intro .main-nav > :nth-child(3) { animation-delay: calc(var(--nav-delay, 0ms) + 240ms); }
.nav-intro .main-nav > :nth-child(4) { animation-delay: calc(var(--nav-delay, 0ms) + 360ms); }
.nav-intro .main-nav > :nth-child(5) { animation-delay: calc(var(--nav-delay, 0ms) + 480ms); }
.nav-intro .main-nav > :nth-child(6) { animation-delay: calc(var(--nav-delay, 0ms) + 600ms); }
.nav-intro .main-nav > :nth-child(7) { animation-delay: calc(var(--nav-delay, 0ms) + 720ms); }
/* priorité sur « .pv-card p » : les grands chiffres gardent leur taille et leur dégradé */
.pv-light .pv-card .pv-big { font-size: clamp(46px, 5vw, 72px); line-height: .95; color: transparent; margin: 6px 0 12px; }

/* ===== Modif 52 ===== */
/* Cartes produit : fond transparent (opacité 0 %), seul le contour fin reste */
.p-card, .p-media { background: transparent; }
/* Page Produits : fond blanc (barre de filtres comprise) */
body[data-page="produits"] main:has(#grid) { background: #fff; }
body[data-page="produits"]:has(#grid) .shop-bar { background: rgba(255, 255, 255, .92); }

/* ===== Modif 53 ===== */
/* En-tête : noir à 85 % d'opacité, grain à 10 % */
.site-header::after { background: rgba(6, 7, 10, .85); }
.site-header::before { opacity: .10; }
/* Cartes produit : sans contour (fond transparent, aucune bordure) */
.p-card, .p-card:hover { border-color: transparent; border-width: 0; }

/* ===== Modif 54 ===== */
/* Logos clients : gris par défaut, en couleur au survol */
.cl-grid img { transition: filter .35s ease, opacity .35s ease; }
.cl-grid li:hover img { filter: none; opacity: 1; }
.cl-grid li:hover .cl-name span { color: var(--ink); }

/* ===== Modif 55 ===== */
/* Fiche produit : fond blanc */
body[data-page="produits"] main:has(#pdp) { background: #fff; }
.pdp .gallery-main { box-shadow: 0 1px 2px rgba(16, 19, 25, .04), 0 0 0 1px var(--grey-100); }
/* Titre du smartphone : mots un par un, de gauche à droite, avec fondu, flou et lueur (même effet que le menu) */
@keyframes title-in {
  0% { opacity: 0; filter: blur(10px); transform: translateX(-14px); text-shadow: 0 0 0 rgba(220, 0, 46, 0); }
  55% { opacity: 1; filter: blur(0); transform: none; text-shadow: 0 0 16px rgba(220, 0, 46, .55), 0 0 32px rgba(91, 85, 168, .45); }
  100% { opacity: 1; filter: blur(0); transform: none; text-shadow: 0 0 0 rgba(220, 0, 46, 0); }
}
.pdp-title span { display: inline-block; animation: title-in 1.1s cubic-bezier(.22, 1, .36, 1) backwards; animation-delay: calc(.15s + var(--i, 0) * .14s); }
@media (prefers-reduced-motion: reduce) { .pdp-title span { animation: none; } }

/* ===== Modif 56 ===== */
/* Lueur blanche (au lieu de rouge / violette) pour l'entrée du menu et du titre de la fiche produit */
@keyframes nav-in {
  0% { opacity: 0; filter: blur(10px); transform: translateX(-14px); text-shadow: 0 0 0 rgba(255, 255, 255, 0); }
  55% { opacity: 1; filter: blur(0); transform: none; text-shadow: 0 0 12px rgba(255, 255, 255, 1), 0 0 28px rgba(255, 255, 255, .85); }
  100% { filter: blur(0); transform: none; text-shadow: 0 0 0 rgba(255, 255, 255, 0); }
}
@keyframes title-in {
  0% { opacity: 0; filter: blur(10px); transform: translateX(-14px); text-shadow: 0 0 0 rgba(255, 255, 255, 0); }
  55% { opacity: 1; filter: blur(0); transform: none; text-shadow: 0 0 12px rgba(255, 255, 255, 1), 0 0 28px rgba(255, 255, 255, .9); }
  100% { opacity: 1; filter: blur(0); transform: none; text-shadow: 0 0 0 rgba(255, 255, 255, 0); }
}
/* Fiche produit : cadre de la photo sans contour ni ombre */
.pdp .gallery-main { box-shadow: none; border: 0; }

/* ===== Modif 57 ===== */
/* Cartes produit : « TECNO POVA » en gras en haut, modèle en medium au milieu, prix en light */
.p-card .p-cat { font-weight: 700; color: var(--ink); letter-spacing: .1em; }
.p-card .p-name { font-weight: 500; color: var(--ink); }
.p-card .price strong, .p-card .price .on-demand { font-weight: 300; }

/* ===== Modif 58 ===== */
/* Nouvelle police pour tout le site : Geist (Vercel, licence libre OFL), hébergée sur le site */
@font-face {
  font-family: 'Geist'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('../fonts/geist-var-latin.woff2') format('woff2');
}
:root {
  --font-head: 'Geist', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: 'Geist', 'Segoe UI', system-ui, -apple-system, sans-serif;
}
body { font-feature-settings: 'ss01' on; }
h1, h2, h3, h4, .h1, .h2, .h-display { letter-spacing: -0.035em; }
h1, h2, .h1, .h2, .h-display { font-weight: 700; }
.pdp { font-family: var(--font-body); }
.btn { letter-spacing: -0.01em; }

/* ===== Modif 60 ===== */
/* Survol des cartes produit plus discret : ombre très légère, petite montée, zoom de la photo réduit */
.p-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px -18px rgba(16, 19, 25, .18); }
.p-card:hover .p-media img, .p-card:hover .p-media .gen-phone { transform: scale(1.02); }

/* ===== Modif 65 ===== */
/* --- Page Produits : diaporama du bandeau (TECNO / NG Electro) --- */
.hp-slider { position: relative; }
.hp-slider .hp-slide { transition: opacity .9s var(--ease-soft, ease), visibility 0s .9s; }
.hp-slider .hp-slide:not(.is-active) { opacity: 0; visibility: hidden; }
.hp-slider .hp-slide.is-active { opacity: 1; visibility: visible; transition: opacity .9s var(--ease-soft, ease); }
.hp-slider .hp-ng { position: absolute; left: 0; right: 0; bottom: 0; top: var(--header-h); overflow: hidden; background: #050a2e; color: #fff; z-index: 1; }
.hp-ng picture, .hp-ng picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 75% center; }
.hp-ng-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3, 8, 40, .85) 0%, rgba(3, 8, 40, .45) 45%, rgba(3, 8, 40, 0) 75%); }
.hp-ng-inner { position: relative; height: 100%; display: flex; align-items: center; }
.hp-ng-text { max-width: 560px; }
.hp-ng-logo { display: block; height: 46px; width: auto; margin-bottom: 14px; }
.hp-ng .h-display { font-size: clamp(30px, 3.4vw, 50px); margin-bottom: 12px; color: #fff; }
.hp-ng .h-display em { font-style: normal; color: var(--red); }
.hp-ng .lead { color: rgba(255, 255, 255, .78); margin-bottom: 22px; }
.hp-ng-text > * { opacity: 0; transform: translateY(24px); filter: blur(6px); transition: opacity .9s var(--ease-soft, ease), transform 1s var(--ease-soft, ease), filter .9s ease; }
.hp-ng.is-active .hp-ng-text > * { opacity: 1; transform: none; filter: none; }
.hp-ng.is-active .hp-ng-text > :nth-child(2) { transition-delay: .12s; }
.hp-ng.is-active .hp-ng-text > :nth-child(3) { transition-delay: .24s; }
.hp-ng.is-active .hp-ng-text > :nth-child(4) { transition-delay: .36s; }
.hp-slider .hp-ctrl { bottom: 18px; z-index: 3; }
.hp-slider .hp-ctrl .hs-dots { height: 38px; }
.hp-slider .hp-ctrl .hs-dot { height: 38px; }
@media (max-width: 980px) {
  .hp-ng-shade { background: linear-gradient(0deg, rgba(3, 8, 40, .9) 0%, rgba(3, 8, 40, .55) 55%, rgba(3, 8, 40, .15) 100%); }
  .hp-ng-inner { align-items: flex-end; padding-bottom: 70px; }
  .hp-ng .lead { display: none; }
}
@media (prefers-reduced-motion: reduce) { .hp-ng-text > * { opacity: 1; transform: none; filter: none; transition: none; } }

/* --- Partie NG Electro en fin de page Produits --- */
.ng-section { padding-top: 30px; padding-bottom: 90px; }
.ng-head { display: flex; align-items: center; gap: 22px; margin: 10px 0 30px; padding-top: 40px; border-top: 1px solid var(--grey-100); }
.ng-head img { height: 56px; width: auto; }
.ng-head .h2 { font-size: clamp(24px, 2.4vw, 32px); margin-top: 4px; }

/* ===== Modif 70 ===== */
/* Iconographie « outline bold » : traits épais aux extrémités et angles arrondis, sur tout le site et l'admin */
svg.ic { stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }
.search-field .ic { stroke-width: 2.25; }
.value-ico { stroke-width: 3; }

/* ===== Modif 71 ===== */
/* Smartphone vedette : module photo avec repères animés, sur toute la partie droite */
.pv-hand { grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); gap: 48px; }
.pv-cam { position: relative; margin: 0; width: 100%; aspect-ratio: 1520 / 835; border-radius: 28px; overflow: hidden; background: #000; box-shadow: 0 30px 60px -30px rgba(40, 30, 100, .45); }
.pv-cam > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 2.2s var(--ease-soft, ease); }
.pv-cam.in > img { transform: none; }
.pv-cam-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.pv-cam .cl { fill: none; stroke: rgba(200, 196, 255, .85); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.1s var(--ease-soft, ease); }
.pv-cam .cd { fill: #fff; opacity: 0; transform-box: fill-box; transform-origin: center; transition: opacity .4s; }
.pv-cam.in .cl { stroke-dashoffset: 0; }
.pv-cam.in .cd { opacity: 1; animation: cam-pulse 2.2s ease-out infinite; }
.pv-cam.in .cl-2, .pv-cam.in .cd-2 { transition-delay: .35s; }
.pv-cam.in .cl-3, .pv-cam.in .cd-3 { transition-delay: .7s; }
.pv-cam.in .cd-1 { transition-delay: 1s; } .pv-cam.in .cd-2 { transition-delay: 1.35s; animation-delay: .4s; } .pv-cam.in .cd-3 { transition-delay: 1.7s; animation-delay: .8s; }
@keyframes cam-pulse { 0% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(255, 255, 255, .9)); } 50% { transform: scale(1.5); filter: drop-shadow(0 0 8px rgba(190, 185, 255, .9)); } 100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0)); } }
.pv-co { position: absolute; display: flex; flex-direction: column; color: #fff; opacity: 0; transform: translateY(10px); filter: blur(6px); transition: opacity .8s ease, transform .9s var(--ease-soft, ease), filter .8s ease; }
.pv-co b { font-family: var(--font-head); font-size: clamp(22px, 2.6vw, 40px); line-height: 1; letter-spacing: -0.03em; background: linear-gradient(120deg, #fff, #b9b4f2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pv-co b small { font-size: .62em; margin-left: 2px; }
.pv-co span { margin-top: 4px; font-size: clamp(11px, 1vw, 14px); color: rgba(255, 255, 255, .72); }
.pv-co-1 { left: 4%; top: 6%; }
.pv-co-2 { left: 4%; bottom: 7%; }
.pv-co-3 { right: 4%; top: 7%; text-align: right; align-items: flex-end; }
.pv-cam.in .pv-co { opacity: 1; transform: none; filter: none; }
.pv-cam.in .pv-co-1 { transition-delay: .9s; } .pv-cam.in .pv-co-2 { transition-delay: 1.25s; } .pv-cam.in .pv-co-3 { transition-delay: 1.6s; }
@media (max-width: 1100px) { .pv-hand { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .pv-cam .cl, .pv-cam .pv-co, .pv-cam > img { transition: none; } .pv-cam.in .cd { animation: none; } }
@media (max-width: 560px) { .pv-co span { display: none; } .pv-cam { border-radius: 20px; } }
.pv-co span { text-shadow: 0 1px 8px rgba(0, 0, 0, .85); } .pv-co b { filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .6)); }

/* ===== Modif 72 ===== */
/* Smartphone vedette : bloc « MediaTek Dimensity 7100 » (remplace le module photo) */
.pv-chip { grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); }
.pv-chip-sub { margin: -6px 0 14px; font-size: 19px; font-weight: 600; color: var(--ink) !important; letter-spacing: -0.02em; }
.pv-chip-stats { list-style: none; margin: 22px 0 28px; padding: 0; display: flex; gap: 12px; flex-wrap: wrap; }
.pv-chip-stats li { min-width: 104px; padding: 14px 18px; border-radius: 16px; background: #f4f3fb; display: flex; flex-direction: column; }
.pv-chip-stats b { font-family: var(--font-head); font-size: 30px; line-height: 1; letter-spacing: -0.03em; background: linear-gradient(120deg, #5b55a8, var(--red)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pv-chip-stats b small { font-size: .5em; margin-left: 2px; }
.pv-chip-stats span { margin-top: 4px; font-size: 13px; color: var(--muted); }
.pv-chip-fig { margin: 0; position: relative; border-radius: 28px; overflow: hidden; background: #070816; aspect-ratio: 1240 / 1030; box-shadow: 0 30px 60px -30px rgba(40, 30, 100, .45); }
.pv-chip-fig img { width: 100%; height: 100%; object-fit: cover; display: block; animation: chip-float 6s ease-in-out infinite; }
.pv-chip-fig::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(45% 35% at 50% 55%, rgba(140, 130, 255, .22), transparent 70%); animation: chip-glow 3.5s ease-in-out infinite alternate; }
@keyframes chip-float { 50% { transform: translateY(-10px) scale(1.015); } }
@keyframes chip-glow { from { opacity: .4; } to { opacity: 1; } }
@media (max-width: 1100px) { .pv-chip { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .pv-chip-fig img, .pv-chip-fig::after { animation: none; } }

/* ===== Modif 73 ===== */
/* Puce Dimensity 7100 transparente : lévitation, brouillard qui la traverse, arcs électriques */
.pv-chip-fig { position: relative; margin: 0; aspect-ratio: auto; background: none; box-shadow: none; border-radius: 0; overflow: visible; padding: 40px 10px 60px; isolation: isolate; }
.pv-chip-fig::after { display: none; }
.pv-chip-fig .chip-float { position: relative; z-index: 2; animation: chip-hover 6s ease-in-out infinite; }
.pv-chip-fig .chip-float img { display: block; width: 100%; height: auto; animation: none; filter: drop-shadow(0 30px 40px rgba(40, 30, 120, .35)); }
@keyframes chip-hover { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-22px) rotate(.6deg); } }
.chip-shadow { position: absolute; left: 18%; right: 18%; bottom: 18px; height: 40px; z-index: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(60, 50, 140, .35), transparent); filter: blur(6px); animation: chip-shadow 6s ease-in-out infinite; }
@keyframes chip-shadow { 50% { transform: scaleX(.82); opacity: .55; } }
/* brouillard : nappes floues qui passent derrière et devant la puce */
.chip-fog { position: absolute; pointer-events: none; border-radius: 50%; filter: blur(34px); }
.chip-fog-back { z-index: 0; width: 80%; height: 45%; left: 10%; top: 30%; background: radial-gradient(closest-side, rgba(140, 130, 255, .45), transparent); animation: fog-pulse 7s ease-in-out infinite alternate; }
.chip-fog-front { z-index: 3; width: 70%; height: 32%; top: 52%; left: -40%; background: radial-gradient(closest-side, rgba(215, 212, 240, .85), rgba(215, 212, 240, 0)); animation: fog-pass 11s linear infinite; }
.chip-fog-front.f2 { top: 22%; height: 26%; width: 60%; animation-duration: 15s; animation-delay: -7s; opacity: .8; }
@keyframes fog-pass { 0% { transform: translateX(0); opacity: 0; } 12% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translateX(260%); opacity: 0; } }
@keyframes fog-pulse { from { opacity: .45; transform: scale(.92); } to { opacity: 1; transform: scale(1.06); } }
/* arcs électriques */
.chip-zap { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 2; }
.chip-zap .bolt { fill: none; stroke: #8fa6ff; stroke-width: 6; stroke-linejoin: round; stroke-linecap: round; opacity: .9; }
.chip-zap .bolt.thin { stroke-width: 3; opacity: .7; }
.chip-zap .bolt-core { fill: none; stroke: #fff; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.pv-chip-fig.zapping .chip-float img { filter: drop-shadow(0 30px 40px rgba(40, 30, 120, .35)) drop-shadow(0 0 22px rgba(120, 150, 255, .75)) brightness(1.12); }
@media (prefers-reduced-motion: reduce) { .chip-float, .chip-shadow, .chip-fog { animation: none !important; } .chip-fog-front { display: none; } }
/* arcs plus visibles sur fond blanc, brouillard plus dense */
.chip-zap .bolt { stroke: #4f63ff; stroke-width: 7; opacity: 1; }
.chip-zap .bolt.thin { stroke: #7d8dff; stroke-width: 3.5; opacity: .9; }
.chip-zap .bolt-core { stroke: #f4f6ff; stroke-width: 2.5; }
.chip-fog-front { background: radial-gradient(closest-side, rgba(200, 196, 235, .95), rgba(200, 196, 235, 0)); filter: blur(28px); }
.chip-zap .bolt { stroke-width: 13; }
.chip-zap .bolt.thin { stroke-width: 6; }
.chip-zap .bolt-core { stroke-width: 4.5; }
.chip-fog-front { height: 40%; width: 85%; animation-duration: 9s; }
.chip-fog-front.f2 { animation-duration: 12s; }

/* ===== Modif 74 ===== */
/* Puce Dimensity 7100 : effet électrique retiré, image réduite de 40 % (centrée dans sa colonne) */
.chip-zap { display: none; }
.pv-chip-fig .chip-float { width: 60%; margin: 0 auto; }
.pv-chip-fig .chip-shadow { left: 30%; right: 30%; }
.pv-chip-fig .chip-fog-back { left: 20%; width: 60%; }

/* ===== Modif 75 ===== */
/* Menu mobile : défilement possible, tailles réduites, sous-menus en accordéon */
.mobile-nav { overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding: 18px 22px 28px; }
.mobile-nav nav { margin-top: 26px; }
.mobile-nav nav > a, .mobile-nav .mobile-group { font-family: var(--font-head); font-size: 22px; font-weight: 600; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); display: flex; justify-content: space-between; align-items: center; width: 100%; color: inherit; text-align: left; }
.mobile-nav .mobile-group.active { color: var(--red); }
.mobile-nav .mobile-group .mg-caret { width: 20px; height: 20px; transition: transform .3s var(--ease); }
.mobile-nav .mobile-group[aria-expanded="true"] .mg-caret { transform: rotate(180deg); }
.mobile-nav .mobile-subs { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.mobile-nav .mobile-subs > * { overflow: hidden; min-height: 0; }
.mobile-nav .mobile-subs { overflow: hidden; }
.mobile-nav .mobile-subs:not(.open) { display: none; }
.mobile-nav .mobile-subs.open { display: block; padding-bottom: 6px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.mobile-nav nav a.mobile-sub { font-size: 16.5px; font-weight: 500; padding: 11px 0 11px 14px; border-bottom: 0; }
.mobile-nav .mobile-dd-label { padding: 12px 0 2px 14px; font-size: 11px; }
.mobile-nav nav a .ic { width: 18px; height: 18px; flex: none; }
.mobile-nav-foot { margin-top: 28px; }

/* ===== Modif 76 ===== */
/* Boutons en verre dépoli : grain (noise) fin superposé, flou de l'arrière-plan, reflet en haut */
:root {
  --btn-noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}
.btn, .btn-buy, .p-more, .hs-ctrl .hs-dots, .hs-play, .chip, .qty, .swatch, .pv-colors span, .mobile-nav-foot .btn {
  background-image: var(--btn-noise), linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 55%) !important;
  background-size: 140px 140px, 100% 100% !important;
  background-repeat: repeat, no-repeat !important;
  background-blend-mode: overlay, normal;
  -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22);
}
.btn-primary { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 10px 24px -10px rgba(220, 0, 46, .7); }
.btn-primary:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 14px 30px -10px rgba(220, 0, 46, .8); }
.chip.active { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18); }

/* ===== Modif 77 ===== */
/* Police Hurme Geometric Sans No.3 pour tout le site (Regular, Bold, SemiBold Oblique) — fichiers hébergés sur le site */
@font-face { font-family: 'Hurme GNT'; font-style: normal; font-weight: 100 549; font-display: swap; src: url('../fonts/hurme-regular.woff2') format('woff2'); }
@font-face { font-family: 'Hurme GNT'; font-style: normal; font-weight: 550 900; font-display: swap; src: url('../fonts/hurme-bold.woff2') format('woff2'); }
@font-face { font-family: 'Hurme GNT'; font-style: italic; font-weight: 100 900; font-display: swap; src: url('../fonts/hurme-semibold-oblique.woff2') format('woff2'); }
:root {
  --font-head: 'Hurme GNT', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: 'Hurme GNT', 'Segoe UI', system-ui, -apple-system, sans-serif;
}
body { font-feature-settings: normal; }
h1, h2, h3, h4, .h1, .h2, .h-display { letter-spacing: -0.01em; }
.pdp, .pdp h1, .pdp h2, .pdp .btn { font-family: var(--font-body); letter-spacing: 0; }
.pdp .pdp-info h1 { letter-spacing: -0.01em; }

/* ===== Modif 78 ===== */
/* Page Produits : slide NG Electro avec la vidéo des écouteurs de l'accueil */
.hp-ng .hp-ng-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hp-ng { background: #000; }
.hp-ng-shade { background: linear-gradient(90deg, rgba(0, 0, 0, .85) 0%, rgba(0, 0, 0, .45) 45%, rgba(0, 0, 0, 0) 75%); }
@media (max-width: 980px) { .hp-ng-shade { background: linear-gradient(0deg, rgba(0, 0, 0, .92) 0%, rgba(0, 0, 0, .55) 55%, rgba(0, 0, 0, .15) 100%); } }

/* ===== Modif 79 ===== */
/* Partie NG : logo en en-tête (à la place du texte « NG Électro »), titre en dessous */
.ng-head { flex-direction: column; align-items: flex-start; gap: 14px; }
.ng-head img { height: 64px; }
.ng-head .h2 { margin-top: 0; }

/* ===== Modif 82 ===== */
/* Page Produits : le bandeau passe sous l'en-tête — fond noir (plus de bande blanche derrière l'en-tête translucide),
   vidéo NG étendue jusqu'en haut de la page */
.hero-products.hp-slider { background: #000; }
.hp-slider .hp-ng { top: 0; }
.hp-slider .hp-ng .hp-ng-inner { padding-top: var(--header-h); }
.hp-slider .hp-slide:first-child { background: #fff; }

/* ===== Modif 83 ===== */
/* Accueil : « Les derniers accessoires » sous les derniers smartphones */
.news-acc { margin-top: 80px; padding-top: 70px; border-top: 1px solid var(--grey-100); }
@media (max-width: 700px) { .news-acc { margin-top: 56px; padding-top: 48px; } }


/* ===== Modif 84 ===== */
/* --- Nouvelle entrée du site : fond noir, logo blanc en verre dépoli, plongée dans le cercle rouge --- */
@property --ir { syntax: '<length>'; inherits: false; initial-value: 0px; }
.intro { background: none; display: block; transition: opacity .45s ease; }
.intro-bg {
  position: absolute; inset: 0; background-color: #050608;
  background-image: var(--btn-noise), radial-gradient(60% 50% at 50% 50%, #12141c 0%, #050608 70%);
  background-size: 160px 160px, 100% 100%; background-blend-mode: overlay, normal;
  /* trou circulaire centré sur le point rouge : le site est visible à travers */
  --ir: 0px;
  -webkit-mask: radial-gradient(circle at var(--ix, 50%) var(--iy, 50%), transparent var(--ir), #000 calc(var(--ir) + 1px));
  mask: radial-gradient(circle at var(--ix, 50%) var(--iy, 50%), transparent var(--ir), #000 calc(var(--ir) + 1px));
}
.intro.peek .intro-bg { --ir: var(--rp, 90px); transition: --ir .6s cubic-bezier(.2, .7, .2, 1); }
/* contour lumineux rouge de la fenêtre */
.intro-ring { position: absolute; left: var(--ix, 50%); top: var(--iy, 50%); width: 0; height: 0; border-radius: 50%; transform: translate(-50%, -50%); box-shadow: 0 0 0 2px rgba(220, 0, 46, .9), 0 0 30px 6px rgba(220, 0, 46, .45); opacity: 0; pointer-events: none; transition: width .6s cubic-bezier(.2, .7, .2, 1), height .6s cubic-bezier(.2, .7, .2, 1), opacity .3s; }
.intro.peek .intro-ring { width: calc(var(--rp, 90px) * 2); height: calc(var(--rp, 90px) * 2); opacity: 1; }
.intro.dive .intro-ring { width: calc(var(--far, 150vmax) * 2); height: calc(var(--far, 150vmax) * 2); opacity: 0; transition: width .95s cubic-bezier(.7, 0, .2, 1), height .95s cubic-bezier(.7, 0, .2, 1), opacity .9s ease; }
.intro.dive .intro-bg { --ir: var(--far, 150vmax); transition: --ir .95s cubic-bezier(.7, 0, .2, 1); }
.intro-card {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(320px, 70vw); padding: 44px 50px 40px; border-radius: 32px;
  background-color: rgba(255, 255, 255, .06);
  background-image: var(--btn-noise), linear-gradient(160deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .02) 60%);
  background-size: 140px 140px, 100% 100%; background-blend-mode: overlay, normal;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 30px 80px -30px rgba(0, 0, 0, .8);
  -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
  animation: intro-card-in .9s cubic-bezier(.2, .7, .2, 1) both;
  transition: transform .95s cubic-bezier(.7, 0, .2, 1), opacity .7s ease, filter .7s ease;
}
@keyframes intro-card-in { from { opacity: 0; transform: translate(-50%, -46%) scale(.94); filter: blur(10px); } }
.intro-card .intro-logo { width: 100%; animation: none; }
.intro-card .intro-logo img { opacity: 1; transform: none; transition: none; }
/* le point rouge pulse puis se transforme en fenêtre (il disparaît quand le trou s'ouvre) */
.intro-card .intro-dot { animation: intro-glow 1s ease .5s both; transition: opacity .25s ease; }
.intro.peek .intro-dot { opacity: 0; }
/* plongée : la carte et le logo filent vers l'avant avec un flou de mouvement */
.intro.dive .intro-card { transform: translate(-50%, -50%) scale(5); opacity: 0; filter: blur(14px); }
/* lignes de vitesse autour du cercle pendant la plongée */
.intro-speed {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: repeating-conic-gradient(from 0deg at var(--ix, 50%) var(--iy, 50%), rgba(255, 255, 255, .0) 0deg 4deg, rgba(255, 255, 255, .09) 4deg 4.6deg);
  -webkit-mask: radial-gradient(circle at var(--ix, 50%) var(--iy, 50%), transparent 8%, #000 30%, transparent 75%);
  mask: radial-gradient(circle at var(--ix, 50%) var(--iy, 50%), transparent 8%, #000 30%, transparent 75%);
}
.intro.dive .intro-speed { animation: intro-speed .95s ease-out both; }
@keyframes intro-speed { 0% { opacity: 0; transform: scale(.6); } 35% { opacity: 1; } 100% { opacity: 0; transform: scale(2.2); } }
.intro.out { opacity: 0; }
/* le site, vu à travers le cercle : d'abord minuscule et flou, puis il grandit jusqu'à sa taille réelle */
html.intro-on body > :is(main, .site-header, .site-footer) { transform-origin: var(--ix, 50%) var(--iy, 50%); transform: scale(var(--is0, .06)); filter: blur(4px); }
html.intro-on.intro-peek body > :is(main, .site-header, .site-footer) { transform: scale(var(--is, .1)); filter: blur(.6px); transition: transform .6s cubic-bezier(.2, .7, .2, 1), filter .6s ease; }
html.intro-on.intro-dive body > :is(main, .site-header, .site-footer) { transform: none; filter: blur(0); transition: transform .95s cubic-bezier(.7, 0, .2, 1), filter .95s ease; }
html.intro-on body { background: #050608; }
@media (prefers-reduced-motion: reduce) { .intro { display: none; } }


/* ===== Modif 85 ===== */
/* Entrée du site simplifiée : logo blanc sur fond noir (sans verre), puis on entre dans le point rouge */
.intro-card, .intro-ring, .intro-speed { display: none !important; }
.intro > .intro-logo { position: absolute; left: 50%; top: 50%; width: min(240px, 52vw); margin: 0; transform: translate(-50%, -50%); animation: intro-logo-in 1s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes intro-logo-in { from { opacity: 0; filter: blur(8px); transform: translate(-50%, -46%) scale(.94); } }
.intro > .intro-logo img { opacity: 1; transform: none; transition: none; }
.intro > .intro-logo .intro-dot { animation: intro-glow 1s ease .6s both; opacity: 1; transition: none; }
.intro-bg { background-image: radial-gradient(60% 50% at 50% 50%, #12141c 0%, #050608 70%); }
/* ouverture : le trou part de la taille du point rouge et s'agrandit jusqu'aux bords */
.intro.open .intro-bg { --ir: var(--r0, 10px); }
.intro.open .intro-dot { opacity: 0; }
.intro.dive .intro-bg { --ir: var(--far, 150vmax); transition: --ir 1.35s cubic-bezier(.6, 0, .25, 1); }
/* on fonce dans le point : le logo grossit autour du point rouge et s'efface en se floutant */
.intro.dive > .intro-logo { animation: none; transform: translate(-50%, -50%) scale(14); opacity: 0; filter: blur(10px); transition: transform 1.35s cubic-bezier(.6, 0, .25, 1), opacity .9s ease .1s, filter .9s ease; }
/* le site, d'abord à la taille du point rouge, grandit jusqu'à l'écran complet */
html.intro-on body > :is(main, .site-header, .site-footer) { transform-origin: var(--ix, 50%) var(--iy, 50%); transform: scale(var(--is0, .02)); filter: none; }
html.intro-on.intro-peek body > :is(main, .site-header, .site-footer) { transform: scale(var(--is0, .02)); filter: blur(2px); transition: none; }
html.intro-on.intro-dive body > :is(main, .site-header, .site-footer) { transform: none; filter: blur(0); transition: transform 1.35s cubic-bezier(.6, 0, .25, 1), filter 1.1s ease .2s; }


/* ===== Modif 86 ===== */
/* Entrée du site : logo, contour du point rouge qui se trace puis se remplit, puis le site apparaît en fondu */
html.intro-on body > :is(main, .site-header, .site-footer), html.intro-on.intro-peek body > :is(main, .site-header, .site-footer) { transform: none; filter: none; transition: none; }
.intro { transition: opacity .8s ease, visibility 0s .8s; }
.intro-bg { -webkit-mask: none; mask: none; }
.intro > .intro-logo { animation: intro-logo-in 1s cubic-bezier(.2, .7, .2, 1) both; transition: transform .8s ease, filter .8s ease; }
.intro-dot2 { position: absolute; left: 94.13%; top: 10.25%; width: 11.75%; height: auto; aspect-ratio: 1; transform: translate(-50%, -50%); overflow: visible; }
.intro-dot2 .d-ring { fill: none; stroke: #C91517; stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transform: rotate(-90deg); transform-origin: 20px 20px; animation: dot-ring .8s cubic-bezier(.65, 0, .35, 1) .75s forwards; }
.intro-dot2 .d-fill { fill: #C91517; transform: scale(0); transform-origin: 20px 20px; animation: dot-fill .5s cubic-bezier(.34, 1.4, .64, 1) 1.5s forwards; }
.intro-dot2 { filter: drop-shadow(0 0 0 rgba(220, 0, 46, 0)); animation: dot-glow .9s ease 1.85s forwards; }
@keyframes dot-ring { to { stroke-dashoffset: 0; } }
@keyframes dot-fill { to { transform: scale(1); } }
@keyframes dot-glow { 50% { filter: drop-shadow(0 0 10px rgba(220, 0, 46, .9)); } to { filter: drop-shadow(0 0 5px rgba(220, 0, 46, .6)); } }
/* sortie : le logo s'éloigne légèrement, le fond s'efface et révèle le site */
.intro.out { opacity: 0; visibility: hidden; }
.intro.out > .intro-logo { transform: translate(-50%, -50%) scale(.92); filter: blur(4px); }

/* ===== Modif 87 ===== */
/* Fiche produit : bouton « Panier » (ajout direct) et animation vers le panier de l'en-tête */
.pdp-cta .btn-cart { height: 44px; padding: 0 20px; font-size: 16px; gap: 8px; border: 1.5px solid var(--ink); color: var(--ink); background-color: #fff; }
.pdp-cta .btn-cart:hover { background-color: var(--ink); color: #fff; }
.pdp-cta .btn-cart.done { border-color: #1f9d55; background-color: #1f9d55; color: #fff; }
.pdp-cta .btn-cart .ic { width: 18px; height: 18px; }
.cart-fly { position: fixed; z-index: 2000; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; pointer-events: none; box-shadow: 0 10px 24px -8px rgba(220, 0, 46, .7), 0 0 18px rgba(220, 0, 46, .5); }
.cart-fly .ic { width: 22px; height: 22px; }
/* le panier de l'en-tête s'illumine à l'arrivée */
.icon-btn.cart-hit { animation: cart-glow 1.1s ease-out; }
@keyframes cart-glow {
  0% { box-shadow: 0 0 0 0 rgba(220, 0, 46, 0); transform: scale(1); }
  20% { box-shadow: 0 0 0 6px rgba(220, 0, 46, .35), 0 0 26px 8px rgba(255, 60, 90, .75); transform: scale(1.18); color: #fff; }
  100% { box-shadow: 0 0 0 14px rgba(220, 0, 46, 0), 0 0 0 0 rgba(220, 0, 46, 0); transform: scale(1); }
}
.icon-btn .count.bump { animation: count-bump .6s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes count-bump { 0% { transform: scale(1); } 40% { transform: scale(1.6); box-shadow: 0 0 12px rgba(255, 60, 90, .9); } 100% { transform: scale(1); } }
@media (max-width: 560px) { .pdp-cta { flex-wrap: wrap; } .pdp-cta .btn-cart { flex: 1; } }

/* ===== Modif 88 ===== */
/* Commande : modes de paiement côte à côte (3 choix), bouton « Retour vers les produits » dans le résumé */
.pay-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pay-opt { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 16px 16px 18px; border-radius: 16px; border: 1.5px solid var(--grey-200); background: #fff; cursor: pointer; transition: border-color .2s, background .2s, box-shadow .2s; }
.pay-opt:hover { border-color: #b8bcc5; }
.pay-opt input { position: absolute; opacity: 0; pointer-events: none; }
.pay-dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #b8bcc5; display: grid; place-items: center; transition: border-color .2s; }
.pay-dot::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--red); transform: scale(0); transition: transform .25s cubic-bezier(.34, 1.56, .64, 1); }
.pay-opt b { display: block; font-size: 15px; line-height: 1.3; }
.pay-opt small { display: block; margin-top: 4px; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.pay-opt:has(input:checked) { border-color: var(--ink); background: var(--grey-050); box-shadow: 0 0 0 1px var(--ink); }
.pay-opt:has(input:checked) .pay-dot { border-color: var(--red); }
.pay-opt:has(input:checked) .pay-dot::after { transform: scale(1); }
.pay-opt:has(input:focus-visible) { outline: 2px solid var(--red); outline-offset: 2px; }
@media (max-width: 760px) { .pay-options { grid-template-columns: 1fr; } .pay-opt { flex-direction: row; align-items: flex-start; } .pay-dot { flex: none; margin-top: 1px; } }
.summary .btn-back { height: 46px; font-size: 14.5px; gap: 8px; }
.summary .btn-back .ic { width: 18px; height: 18px; }

/* ===== Modif 89 ===== */
/* Commande : le résumé a la même hauteur que la carte des informations (boutons calés en bas) */
@media (min-width: 981px) {
  .checkout-grid { align-items: stretch; }
  .checkout-grid > div { display: flex; flex-direction: column; }
  .checkout-grid > div > #order-form { flex: 1; }
  .checkout-grid .summary { position: static; display: flex; flex-direction: column; }
  .checkout-grid .summary > button[type="submit"] { margin-top: auto; }
  .checkout-grid .summary > .pay-line { margin-bottom: 24px; }
}


/* ===== Modif 90 ===== */
/* Résumé : détail du prix (HT, TVA, timbre) replié derrière une petite flèche grise */
.totals-toggle { display: flex; align-items: center; justify-content: center; width: 100%; height: 30px; margin: 6px 0 2px; color: #a3a8b1; border-top: 1px dashed var(--grey-200); padding-top: 6px; }
.totals-toggle .ic { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.totals-toggle:hover { color: var(--ink); }
.totals-toggle[aria-expanded="true"] .ic { transform: rotate(180deg); }
.totals .totals-detail { display: grid; gap: 8px; justify-content: stretch; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .35s var(--ease), opacity .3s; }
.totals .totals-detail.open { max-height: 220px; opacity: 1; }

/* ===== Modif 91 ===== */
/* Résumé de commande : bouton « Retirer » sous le prix de chaque article */
.summary .line-right { gap: 6px; }
.summary .remove-btn { font-size: 12.5px; }
.summary .remove-btn .ic { width: 14px; height: 14px; }


/* ===== Modif 95 ===== */
/* Logos clients et marques partenaires : toujours en couleur, sans effet au survol */
.cl-grid img, .cl-grid li:hover img, .xp-track img { filter: none; opacity: 1; transition: none; }
.cl-grid li, .cl-grid li:hover { transform: none; box-shadow: none; border-color: var(--grey-100); transition: none; }
/* 19 logos : 5 par ligne, dernière ligne centrée */
.cl-grid { display: flex; flex-wrap: wrap; justify-content: center; }
.cl-grid li { flex: 0 0 calc((100% - 4 * 14px) / 5); }
.cl-grid img { max-height: 72px; max-width: 86%; }
@media (max-width: 1180px) { .cl-grid li { flex-basis: calc((100% - 3 * 14px) / 4); } }
@media (max-width: 700px) { .cl-grid li { flex-basis: calc((100% - 10px) / 2); } .cl-grid img { max-height: 56px; } }


/* ===== Modif 100 ===== */
/* Fenêtre de téléchargement de l'application */
.app-dl { text-align: center; }
.app-dl form { text-align: left; }
.app-dl-ic { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--red); color: #fff; box-shadow: 0 12px 30px -12px rgba(220, 0, 46, .6); }
.app-dl-ic .ic { width: 30px; height: 30px; }
.app-page { min-height: 70vh; display: grid; place-items: center; padding: 140px 16px 80px; }
.app-page .app-card { width: min(440px, 100%); background: #fff; border-radius: 28px; padding: 40px 32px; box-shadow: var(--shadow-sm); border: 1px solid var(--grey-100); }

/* ===== Modif 102 ===== */
/* Menu « App » (8e rubrique) : même apparition, à la suite des autres */
.nav-intro .main-nav > :nth-child(8) { animation-delay: calc(var(--nav-delay, 0ms) + 840ms); }
.nav-intro .main-nav > :nth-child(9) { animation-delay: calc(var(--nav-delay, 0ms) + 960ms); }


/* ===== Modif 104 ===== */
/* Capacités (RAM / stockage) : choix sur la fiche produit, prix « À partir de » sur les cartes */
.price .from { display: block; font-size: 12px; font-weight: 500; color: var(--grey-500, #6b7280); margin-bottom: 2px; letter-spacing: .01em; }
.pdp-variants { margin-bottom: 22px; }
.variant-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.variant-chip { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 150px; padding: 10px 16px; border-radius: 14px; border: 1px solid #d2d2d7; background: #fff; color: var(--apple-ink, #1d1d1f); text-align: left; transition: border-color .2s, box-shadow .2s; }
.variant-chip b { font-size: 15.5px; font-weight: 600; }
.variant-chip small { font-size: 13px; color: var(--apple-grey, #6e6e73); }
.variant-chip:hover { border-color: #86868b; }
.variant-chip.active { border-color: var(--apple-ink, #1d1d1f); box-shadow: inset 0 0 0 1px var(--apple-ink, #1d1d1f); }
@keyframes price-bump { 0% { transform: scale(1); } 40% { transform: scale(1.06); } 100% { transform: scale(1); } }
.pdp-price.bump strong { display: inline-block; animation: price-bump .35s ease; }
.variant-tag { margin-right: 8px; }


/* ===== Modif 107 : espace entreprises (B2B) ===== */
/* Bouton rouge « B2B » dans l'en-tête, avant les icônes */
.btn-b2b { display: inline-flex; align-items: center; justify-content: center; height: 34px; padding: 0 16px; margin-right: 6px; border-radius: 999px;
  background: var(--red); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 13.5px; letter-spacing: .06em;
  box-shadow: 0 6px 18px -8px rgba(220, 0, 46, .8); transition: transform .2s, box-shadow .2s, background .2s; }
.btn-b2b:hover { transform: translateY(-1px); background: #f0103f; box-shadow: 0 10px 24px -8px rgba(220, 0, 46, .9); color: #fff; }
.btn-b2b.current { box-shadow: 0 0 0 2px rgba(255, 255, 255, .85), 0 6px 18px -8px rgba(220, 0, 46, .8); }
@media (max-width: 700px) { .btn-b2b { height: 30px; padding: 0 12px; font-size: 12px; margin-right: 2px; } }
.mobile-nav-foot .btn-primary + .btn-ghost-light { margin-top: 0; }
.pdp-b2b { display: inline-flex; align-items: center; gap: 8px; color: var(--red); font-weight: 600; font-size: 14px; }
.pdp-b2b .ic { width: 18px; height: 18px; }
.pdp-b2b:hover { text-decoration: underline; }

/* Page B2B */
.b2b-hero .hero-poster { object-position: center; }
.b2b-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 48px; max-width: 880px; }
.b2b-facts div { padding: 16px 18px; border-radius: 18px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.b2b-facts b { display: block; color: #fff; font-family: var(--font-head); font-size: 22px; }
.b2b-facts span { color: rgba(255, 255, 255, .72); font-size: 13.5px; }
.b2b-offers .why-card { display: flex; flex-direction: column; color: inherit; }
.b2b-offers .why-card p { flex: 1; }
.b2b-offers .link-arrow { margin-top: 16px; color: var(--red); font-weight: 600; font-size: 14px; display: inline-flex; gap: 6px; align-items: center; }
.b2b-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.b2b-steps li { position: relative; padding: 28px 24px; border-radius: var(--r-lg); background: var(--grey-050, #f6f7f9); }
.b2b-steps b { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--font-head); margin-bottom: 14px; }
.b2b-steps h3 { font-size: 18px; margin-bottom: 6px; }
.b2b-steps p { color: var(--muted); font-size: 14.5px; }
.b2b-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.b2b-card { display: flex; flex-direction: column; background: #fff; border-radius: 22px; border: 1px solid var(--grey-100); overflow: hidden; }
.b2b-card .ph { display: grid; place-items: center; height: 210px; padding: 18px; background: radial-gradient(60% 60% at 50% 45%, #f2f3f6, #fff 80%); }
.b2b-card .ph img, .b2b-card .ph svg { max-height: 180px; width: auto; max-width: 100%; object-fit: contain; }
.b2b-card .bd { display: flex; flex-direction: column; flex: 1; padding: 6px 20px 20px; }
.b2b-card h3 { font-size: 18px; margin: 4px 0 10px; }
.b2b-card .facts { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 6px; flex: 1; }
.b2b-card .facts li { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: #4a505b; }
.b2b-card .facts .ic { width: 16px; height: 16px; flex: none; margin-top: 1px; color: var(--red); }
.b2b-card .acts { display: flex; gap: 8px; flex-wrap: wrap; }
.b2b-card .acts .btn { flex: 1; min-width: 0; padding-left: 12px; padding-right: 12px; }
.b2b-pick.on { background: #0a7d3b; border-color: #0a7d3b; color: #fff; }
.b2b-form-wrap { display: grid; grid-template-columns: 360px 1fr; gap: 48px; align-items: start; }
.b2b-side { position: sticky; top: calc(var(--header-h) + 24px); }
.b2b-contact { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.b2b-contact li { display: flex; gap: 14px; align-items: flex-start; }
.b2b-contact .ic { width: 22px; height: 22px; color: var(--red); flex: none; margin-top: 2px; }
.b2b-contact small { display: block; color: var(--muted); font-size: 12.5px; }
.b2b-contact a, .b2b-contact span { font-weight: 600; }
.b2b-panel { background: #fff; border: 1px solid var(--grey-100); border-radius: 28px; padding: 32px; box-shadow: var(--shadow-sm); }
.b2b-items { display: grid; gap: 8px; }
.b2b-item { display: grid; grid-template-columns: 1fr auto 40px; gap: 12px; align-items: center; padding: 8px 8px 8px 16px; border-radius: 14px; background: var(--grey-050, #f6f7f9); }
.b2b-item .nm { font-weight: 600; }
.b2b-item .qt { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.b2b-item .qt .input { width: 96px; height: 38px; }
.b2b-add { margin-top: 8px; }
#b2b-types label span { white-space: nowrap; }
@media (max-width: 1100px) { .b2b-steps { grid-template-columns: 1fr 1fr; } .b2b-form-wrap { grid-template-columns: 1fr; gap: 28px; } .b2b-side { position: static; } }
@media (max-width: 700px) { .b2b-facts { grid-template-columns: 1fr 1fr; } .b2b-steps { grid-template-columns: 1fr; } .b2b-panel { padding: 20px; border-radius: 22px; } .b2b-item { grid-template-columns: 1fr 40px; } .b2b-item .qt { grid-column: 1; grid-row: 2; } }


/* ===== Modif 109 : fiche technique PDF générée à la demande ===== */
.pdp-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
button.pdp-b2b { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; font-weight: 600; font-size: 14px; }
.pdp-b2b.is-loading, [data-fiche].is-loading { opacity: .6; pointer-events: none; }


/* ===== Modif 110 : cartes B2B ===== */
/* Les deux boutons l'un sous l'autre, pleine largeur (plus de chevauchement) ; la carte elle-même n'est pas cliquable */
.b2b-card .acts { display: grid; grid-template-columns: 1fr; gap: 8px; }
.b2b-card .acts .btn { width: 100%; flex: none; justify-content: center; white-space: nowrap; gap: 8px; padding-left: 14px; padding-right: 14px; }
.b2b-card .acts .btn .ic { flex: none; }
.b2b-card .ph { cursor: default; }


/* ===== Modif 111 (modif 114 : 90 %) : échelle d affichage sur ordinateur ===== */
/* Même rendu qu un zoom navigateur à 90 %. Les hauteurs « plein écran » utilisent var(--z) pour rester à la hauteur de la fenêtre.
   Mobile et tablette (moins de 1100 px) restent à 100 % ; le back-office aussi (classe no-scale). */
@media (min-width: 1100px) {
  html:not(.no-scale) { zoom: .9; --z: .9; }
}


/* ===== Modif 113 : formulaire B2B simplifié ===== */
.b2b-sub { font-size: 17px; margin: 26px 0 14px; padding-top: 22px; border-top: 1px solid var(--grey-100); }


/* ===== Modif 120 : rupture de stock ===== */
.stock-band { position: absolute; left: -12%; right: -12%; top: 50%; transform: translateY(-50%) rotate(-24deg); z-index: 3; pointer-events: none;
  display: flex; align-items: center; justify-content: center; height: 38px;
  background: linear-gradient(90deg, rgba(220, 0, 46, 0) 0%, rgba(220, 0, 46, .88) 18%, rgba(220, 0, 46, .92) 50%, rgba(220, 0, 46, .88) 82%, rgba(220, 0, 46, 0) 100%);
  color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 14px; letter-spacing: .22em; text-transform: uppercase; white-space: nowrap; text-shadow: 0 1px 6px rgba(120, 0, 0, .35); }
.p-media, .b2b-card .ph { position: relative; overflow: hidden; }
.p-card.is-out .p-media img, .b2b-card.is-out .ph img { opacity: .55; filter: grayscale(.35); }
.p-card.is-out .price strong { color: var(--muted, #6b7280); }
.pdp-stockout { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; margin-bottom: 14px; border-radius: 14px; background: #fff1f3; border: 1.5px solid #d4002a; color: #a1001f; }
.pdp-stockout .ic { width: 22px; height: 22px; flex: none; color: #d4002a; margin-top: 1px; }
.pdp-stockout b { display: block; font-family: var(--font-head); font-size: 17px; letter-spacing: .04em; text-transform: uppercase; color: #d4002a; }
.pdp-stockout span { font-size: 14px; }
.btn-stockout, .btn-stockout:disabled { background: #d4002a; color: #fff; border: 0; opacity: 1; cursor: not-allowed; letter-spacing: .04em; text-transform: uppercase; }

/* Rupture : l encadré occupe toute la largeur, au-dessus du prix */
.pdp-order .pdp-stockout { flex: 0 0 100%; width: 100%; order: -1; margin-bottom: 0; }
@media (min-width: 981px)  {
  .pdp-order .pdp-stockout { grid-column: 1 / -1; grid-row: 1; }
  .pdp-order:has(.pdp-stockout) { grid-template-rows: auto auto auto; }
  .pdp-order:has(.pdp-stockout) .pdp-price { grid-row: 2; }
  .pdp-order:has(.pdp-stockout) .pdp-cta { grid-row: 3; }
  .pdp-order:has(.pdp-stockout) .perks { grid-row: 2 / span 2; }
}


/* ===== Modif 121 : rupture de stock minimaliste ===== */
.stock-pill { position: absolute; top: 12px; left: 12px; z-index: 3; pointer-events: none; display: inline-flex; align-items: center; height: 24px; padding: 0 11px;
  border-radius: 999px; background: #e52727; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 12px; letter-spacing: .04em; }
.p-card.is-out .p-media img, .b2b-card.is-out .ph img { opacity: 1; filter: none; }
.p-card.is-out .price strong { color: inherit; }
