@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;600;700&family=Inter:wght@400;500;600;700&family=Space+Mono:wght@400;700&display=swap');

:root {
  /* Couleurs */
     --rouge-logo: #C90000;
    --bleu-logo: #010779;
  --navy-950: #050b14;
  --navy-900: #0a1929;
  --navy-800: #0f2138;
  --navy-700: #16304f;
  --blue-500: #2196f3;
  --blue-glow: #4fc3f7;
  --yellow-400: #ffc400;
  --yellow-300: #f7f7f7;
  --blue: Blue;
  --white: white;
  --whatzap: #25D366;
  --grey-300: #b8c4d0;
  --grey-500: #7c8ba1;

  /* Typo */
  --font-display: 'Rajdhani', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'Space Mono', monospace;

  /* Radius / ombres */
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-glow: 0 0 40px rgba(255, 196, 0, 0.25);
  --shadow-blue: 0 0 40px rgba(33, 150, 243, 0.25);
  --transition: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;   /* ← à ajouter : bloque le débordement horizontal sur mobile */
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--white);
  
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/*  FOND FIXE (identique sur toutes les pages)  */
.fixed-bg {
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
   /* radial-gradient(circle at 15% 20%, rgba(33, 150, 243, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(255, 196, 0, 0.12) 0%, transparent 45%),
    linear-gradient(180deg, #050b14 0%, #0a1929 50%, #050b14 100%),*/
    url('imagebackground.webp');
  
  background-size: cover, cover, cover, cover;
  background-position: center, center, center, center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
/* top text */
#cardrecorriger{
  margin-top: 80px;
}

.fixed-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(79, 195, 247, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 195, 247, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 80%);
}

/*  CONTAINER  */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}


/*  NAVIGATION  */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 3px solid var(--bleu-logo);
  box-shadow: 0 5px 22px rgba(1, 7, 121, 0.14);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 24px;
}

#log {
  width: 150px;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.logo svg {
  width: 30px;
  height: 30px;
}

.logo .accent {
  color: var(--rouge-logo);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-left: auto;
}

.nav-links a {
  color: var(--bleu-logo);
  font-size: 0.95rem;
  font-weight: 600;
  position: relative;
  padding: 9px 2px;
  transition: color 0.25s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 1px;
  width: 0;
  height: 3px;
  border-radius: 10px;
  background: var(--rouge-logo);
  transition: width 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--rouge-logo);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
 
}

.nav-links .mobile-only-cta {
  display: none;
}

/* Boutons de la navigation : uniquement les couleurs de la marque */
.nav-cta .btn-outline {
  background: var(--whatzap);
  color: var(--white);
  border: 1.5px solid var(--bleu-logo);
  box-shadow: 0 4px 12px rgba(1, 7, 121, 0.16);
}

.nav-cta .btn-outline:hover {
  background: var(--rouge-logo);
  border-color: var(--rouge-logo);
  transform: translateY(-2px);
}

#btn-catatalogue {
  background: var(--rouge-logo);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(201, 0, 0, 0.16);
}

#btn-catatalogue:hover {
  background: var(--bleu-logo);
  transform: translateY(-2px);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 2px solid var(--bleu-logo);
  border-radius: 10px;
  background: var(--bleu-logo);
  z-index: 1100;
  box-shadow: 0 5px 14px rgba(1, 7, 121, 0.18);
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/*  BOUTONS  */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--bleu-logo);
  color:var(--white);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 30px rgba(255, 196, 0, 0.4);
}

.btn-outline {
  background: var(--whatzap);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  
}

.btn-outline:hover {
  border-color: var(--blue-glow);
  background: var(--yellow-400);
  transform: translateY(-3px);
}

.btn-sm {
  padding: 9px 20px;
  font-size: 0.85rem;
  background: var(--whatzap);
}
#btn-catatalogue{
  background: var(--rouge-logo);
  
}


.btn-block {
  width: 100%;
  justify-content: center;
}

/*  BADGE / EYEBROW  */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 100px;
  background:var(--bleu-logo);
  border: 1px solid rgba(255, 196, 0, 0.3);
  color: var(--yellow-400);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--yellow-400);
  box-shadow: 0 0 10px var(--yellow-400);
  animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.7);
  }
}

/*  HERO  */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 60px 0 40px;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(33, 150, 243, 0.15) 0%, transparent 65%);
  z-index: -1;
  animation: float-glow 8s ease-in-out infinite;
}

@keyframes float-glow {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    transform: translate(-52%, -48%) scale(1.08);
  }
}

.hero-content {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.5px;
  margin-bottom: 22px;
}

.hero h1 .gradient-text {
  background: linear-gradient(90deg, var(--yellow-400), var(--blue-glow));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p.lead {
  font-size: 1.15rem;
  color: var(--white);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 50px;
  
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.trust-badges .badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
  color: var(--white);
}

.trust-badges svg {
  width: 16px;
  height: 16px;
  color: var(--yellow-400);
  flex-shrink: 0;
}

.scroll-hint {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--grey-500);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: bounce-y 2.2s infinite;
}

.scroll-hint .line {
  width: 1px;
  height: 34px;
  background: linear-gradient(var(--grey-500), transparent);
}

@keyframes bounce-y {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

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

/*  SECTION GENERIQUE  */
.section {
  padding: 110px 0;
  position: relative;
}

.section-tight {
  padding: 70px 0;
}

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 60px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.15;
}

.section-head p {
  color:var(--white);
  font-size: 1.05rem;
  line-height: 1.7;
}

.section-head.left {
  text-align: left;
  margin: 0 0 50px;
}

/*  STATS BAR  */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
}

.stat-item {
  background: rgba(10, 25, 41, 0.6);
  padding: 36px 20px;
  text-align: center;
}

.stat-item .num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--white);
  display: block;
}

.stat-item .label {
  color: var(--grey-300);
  font-size: 0.88rem;
  margin-top: 6px;
}

/*  FEATURE CARDS (tilt 3D)  */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.feature-card {
  background: rgba(45, 44, 45, 0.517);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: transform 0.15s ease, box-shadow var(--transition), border-color var(--transition);
  transform-style: preserve-3d;
  will-change: transform;
}

.feature-card:hover {
  border-color: rgba(255, 196, 0, 0.35);
  box-shadow: var(--shadow-glow);
}

.feature-card .icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 196, 0, 0.15), rgba(33, 150, 243, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-card .icon-wrap svg {
  width: 26px;
  height: 26px;
  color: var(--yellow-400);
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.feature-card p {
  color:var(--white);
  font-size: 0.92rem;
  line-height: 1.6;
}

/*CATALOGUE GRID  */
.filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 10px 24px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--grey-300);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--yellow-400);
  border-color: var(--yellow-400);
  color: var(--navy-950);
}

.catalogue-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.moto-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow var(--transition), border-color var(--transition);
  transform-style: preserve-3d;
  will-change: transform;
  display: flex;
  flex-direction: column;
}

.moto-card:hover {
  border-color: rgba(79, 195, 247, 0.4);
  box-shadow: var(--shadow-blue);
}

.moto-card .img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  overflow: hidden;
}

.moto-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.moto-card:hover .img-wrap img {
  transform: scale(1.08);
}

.moto-card .type-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(5, 11, 20, 0.75);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.moto-card .type-tag.moto {
  color: var(--blue-glow);
}

.moto-card .type-tag.tricycle {
  color: var(--yellow-400);
}

.moto-card .body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.moto-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
}

.moto-card .model-code {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--grey-500);
  margin-top: -10px;
}

.moto-card .price {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--yellow-400);
}

.moto-card .specs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.spec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--grey-300);
}

.spec-row .spec-label {
  display: flex;
  align-items: center;
  gap: 6px;
}

.spec-row svg {
  width: 13px;
  height: 13px;
  color: var(--blue-glow);
}

.battery-track {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 4px;
}

.battery-fill {
  height: 100%;
  width: 0%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--blue-glow), var(--yellow-400));
  transition: width 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.moto-card .cta-row {
  margin-top: auto;
  padding-top: 6px;
}

/*  STEPS (process)  */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  position: relative;
}

.step {
  text-align: center;
  padding: 10px;
}

.step .step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 196, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--yellow-400);
  margin: 0 auto 20px;
  background: rgba(255, 196, 0, 0.06);
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.step p {
  color: var(--grey-300);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* CTA BANNER  */
.cta-banner {
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 196, 0, 0.12), rgba(33, 150, 243, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 70px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 16px;
}

.cta-banner p {
  color: var(--white);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/*  TEAM / A PROPOS  */
.about-hero {
  padding: 140px 0 80px;
  text-align: center;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split img {
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.split .kicker {
  font-family: var(--font-mono);
  color: var(--blue-glow);
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: block;
}

.split h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 18px;
}

.split p {
  color: var(--grey-300);
  line-height: 1.75;
  margin-bottom: 16px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.team-card {
  text-align: center;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  transition: transform var(--transition), border-color var(--transition);
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 196, 0, 0.3);
}

.team-card .photo {
  aspect-ratio: 1;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
}

.team-card .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card .info {
  padding: 20px 14px;
}

.team-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.team-card .role {
  color: var(--yellow-400);
  font-size: 0.8rem;
  font-weight: 600;
}

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  aspect-ratio: 16/7;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.3) invert(0.92) contrast(0.9);
}

/*  FOOTER  */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 60px 0 30px;
  background: rgba(5, 11, 20, 0.6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-col a,
.footer-col p {
  color: var(--grey-300);
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--yellow-400);
}

.footer-brand p {
  color: var(--grey-300);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 14px 0 20px;
  max-width: 280px;
}

.social-row {
  display: flex;
  gap: 12px;
}

.social-row a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-row a:hover {
  background: var(--yellow-400);
  border-color: var(--yellow-400);
}

.social-row a:hover svg {
  color: var(--navy-950);
}

.social-row svg {
  width: 16px;
  height: 16px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--grey-500);
}

/*  REVEAL ANIMATIONS  */
[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].in-view {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal="scale"] {
  transform: scale(0.92);
}

[data-reveal="scale"].in-view {
  transform: scale(1);
}

.stagger-1 {
  transition-delay: 0.08s;
}

.stagger-2 {
  transition-delay: 0.16s;
}

.stagger-3 {
  transition-delay: 0.24s;
}

.stagger-4 {
  transition-delay: 0.32s;
}
/* 
   TEXTE À CÔTÉ DU LOGO */

.logo-slogan {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1;
    margin-left: 2px;
}

/* ZHONG HONG */

.logo-slogan strong {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    white-space: nowrap;
}

.logo-slogan strong span {
    color: #C90000;
}

.logo-slogan strong {
    color: #010779;
}

/* Slogan */

.logo-slogan small {
    margin-top: 5px;

    font-family: var(--font-body);
    font-size: 0.55rem;
    font-weight: 600;

    letter-spacing: 0.6px;

    color: #C90000;

    white-space: nowrap;
}@media (max-width: 600px) {

    .logo-slogan strong {
        font-size: 0.95rem;
    }

    .logo-slogan small {
        font-size: 0.45rem;
        letter-spacing: 0.35px;
    }
}

/*  MOBILE MENU  */
@media (max-width: 900px) {
  .navbar .container {
    height: 68px;
    padding-left: 16px;
    padding-right: 16px;
    gap: 12px;
  }

  #log {
    width: 128px;
    max-height: 52px;
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    margin-left: auto;
    gap: 8px;
  }

  .nav-cta .btn-outline,
  .nav-cta > a.btn-primary {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    top: 68px;
    right: 12px;
    width: min(330px, calc(100vw - 24px));
    max-width: none;
    height: auto;
    max-height: calc(100vh - 84px);
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px;
    gap: 4px;
    border: 2px solid var(--bleu-logo);
    border-top: 4px solid var(--rouge-logo);
    border-radius: 0 0 18px 18px;
    box-shadow: 0 18px 45px rgba(1, 7, 121, 0.22);
  }

  .nav-links.open a {
    width: 100%;
    color: var(--bleu-logo);
    padding: 14px 16px;
    font-size: 1rem;
    font-weight: 600;
    border: 0;
    border-radius: 10px;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  }

  .nav-links.open a::after {
    display: none;
  }

  .nav-links.open a:hover,
  .nav-links.open a.active {
    color: var(--white);
    background: var(--bleu-logo);
    transform: translateX(3px);
  }

  .nav-links .mobile-only-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white) !important;
    background: var(--rouge-logo) !important;
    border: 0;
    margin-top: 8px;
    padding: 13px 16px !important;
    border-radius: 10px;
  }

  .nav-links .mobile-only-cta:hover {
    background: var(--bleu-logo) !important;
    transform: none;
  }

  .nav-links.open::after {
    content: 'ZHONG HONG • IMPORT ET EXPORT CO';
    display: block;
    color: var(--rouge-logo);
    text-align: center;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 10px 4px 4px;
  }

  .hamburger.active {
    background: var(--rouge-logo);
    border-color: var(--rouge-logo);
  }

  .hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .menu-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    top: 68px;
    background: rgba(1, 7, 121, 0.25);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 900;
  }

  .menu-backdrop.open {
    display: block;
  }



  .catalogue-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .section {
    padding: 70px 0;
  }

  .hero {
    min-height: auto;
    padding: 50px 0 60px;
  }

  .features-grid,
  .catalogue-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .filter-bar {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}


/* 
   GALERIE DES MODÈLES — AJOUT UNIQUEMENT
   Ne remplace pas les styles existants. */

.zh-gallery {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .28s ease, visibility .28s ease;
}

.zh-gallery.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.zh-gallery-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 7, 121, .78);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

.zh-gallery-dialog {
  position: relative;
  z-index: 2;
  width: min(980px, 100%);
  max-height: 94vh;
  overflow: hidden;
  padding: 22px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(0,0,0,.38);
  transform: translateY(28px) scale(.94);
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
}

.zh-gallery.is-open .zh-gallery-dialog {
  transform: translateY(0) scale(1);
}

.zh-gallery-dialog::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--rouge-logo, #C90000) 0 50%, var(--bleu-logo, #010779) 50% 100%);
}

.zh-gallery-close {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 5;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--bleu-logo, #010779);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: background .25s ease, transform .25s ease;
}

.zh-gallery-close:hover {
  background: var(--rouge-logo, #C90000);
  transform: rotate(90deg);
}

.zh-gallery-head {
  padding: 4px 55px 15px;
  text-align: center;
}

.zh-gallery-head span {
  color: var(--rouge-logo, #C90000);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: 1.6px;
}

.zh-gallery-head h2 {
  margin: 4px 0 3px;
  color: var(--bleu-logo, #010779);
  font-size: 1.5rem;
}

.zh-gallery-head small {
  color: #777;
  font-size: .82rem;
}

.zh-gallery-main {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: min(61vh, 590px);
  min-height: 260px;
  overflow: hidden;
  border-radius: 15px;
  background: #f5f6fa;
}

.zh-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
  user-select: none;
  -webkit-user-drag: none;
  opacity: 1;
  transition: opacity .18s ease;
}

.zh-gallery-main img.zh-gallery-loading {
  opacity: .15;
}

.zh-gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--bleu-logo, #010779);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background .25s ease, transform .25s ease, opacity .25s ease;
}

.zh-gallery-arrow:hover {
  background: var(--rouge-logo, #C90000);
  transform: translateY(-50%) scale(1.08);
}

.zh-gallery-prev { left: 14px; }
.zh-gallery-next { right: 14px; }

.zh-gallery-thumbs {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 13px;
  padding: 3px 2px 5px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.zh-gallery-thumb {
  flex: 0 0 76px;
  width: 76px;
  height: 60px;
  padding: 0;
  overflow: hidden;
  border: 3px solid transparent;
  border-radius: 9px;
  background: #eee;
  cursor: pointer;
  transition: border-color .2s ease, transform .2s ease;
}

.zh-gallery-thumb:hover { transform: translateY(-2px); }

.zh-gallery-thumb.is-active {
  border-color: var(--rouge-logo, #C90000);
}

.zh-gallery-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Le bouton est ajouté automatiquement par le JS dans chaque carte. */
.zh-gallery-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  padding: 10px 15px;
  border: 2px solid var(--bleu-logo, #010779);
  border-radius: 10px;
  background: #fff;
  color: var(--bleu-logo, #010779);
  font: inherit;
  font-size: .88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, transform .25s ease, border-color .25s ease;
}

.zh-gallery-trigger:hover {
  border-color: var(--rouge-logo, #C90000);
  background: var(--rouge-logo, #C90000);
  color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 600px) {
  .zh-gallery { padding: 9px; }

  .zh-gallery-dialog {
    width: 100%;
    padding: 14px;
    border-radius: 17px;
  }

  .zh-gallery-head { padding: 4px 43px 11px; }
  .zh-gallery-head h2 { font-size: 1.2rem; }

  .zh-gallery-main {
    height: 55vh;
    min-height: 240px;
    border-radius: 12px;
  }

  .zh-gallery-main img { padding: 8px; }

  .zh-gallery-close {
    top: 9px;
    right: 9px;
    width: 37px;
    height: 37px;
    font-size: 24px;
  }

  .zh-gallery-arrow {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .zh-gallery-prev { left: 7px; }
  .zh-gallery-next { right: 7px; }

  .zh-gallery-thumb {
    flex-basis: 62px;
    width: 62px;
    height: 51px;
  }

  .zh-gallery-trigger {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .zh-gallery,
  .zh-gallery-dialog,
  .zh-gallery-trigger,
  .zh-gallery-arrow,
  .zh-gallery-close {
    transition: none !important;
  }
}


/* ===== AJOUT : vidéo de fond de l'accueil uniquement ===== */
#cardrecorriger.hero {
  position: relative;
  overflow: hidden;
}

#cardrecorriger.hero .home-background-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

#cardrecorriger.hero .home-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(1, 7, 121, 0.72),
    rgba(1, 7, 121, 0.38),
    rgba(201, 0, 0, 0.22)
  );
  pointer-events: none;
}

#cardrecorriger.hero > .container,
#cardrecorriger.hero > .scroll-hint {
  position: relative;
  z-index: 2;
}

.video-sound-toggle {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 999px;
  background: rgba(1,7,121,.82);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: .25s ease;
}

.video-sound-toggle:hover,
.video-sound-toggle.is-on {
  background: #C90000;
  transform: translateY(-2px);
}

@media (max-width: 600px) {
  .video-sound-toggle {
    right: 12px;
    bottom: 14px;
    padding: 9px 12px;
    font-size: .82rem;
  }

  #cardrecorriger.hero .home-video-overlay {
    background: linear-gradient(
      180deg,
      rgba(1, 7, 121, .70),
      rgba(1, 7, 121, .40),
      rgba(201, 0, 0, .24)
    );
  }
}
