/* =============================================
   D&L Mechanik SARL - Main Stylesheet
   Brand: Orange #F97316 | Navy #1E3A5F
   ============================================= */

/* ---------- CSS Variables ---------- */
:root {
  --orange:       #F97316;
  --orange-dark:  #EA6B0B;
  --orange-light: #FED7AA;
  --navy:         #1E3A5F;
  --navy-dark:    #0F2035;
  --navy-light:   #2D5080;
  --white:        #FFFFFF;
  --gray-50:      #F8FAFC;
  --gray-100:     #F1F5F9;
  --gray-200:     #E2E8F0;
  --gray-400:     #94A3B8;
  --gray-600:     #475569;
  --gray-800:     #1E293B;
  --text:         #1E293B;
  --text-muted:   #64748B;

  --radius:       12px;
  --radius-lg:    20px;
  --radius-xl:    30px;
  --shadow-sm:    0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:       0 4px 6px -1px rgba(0,0,0,.10), 0 2px 4px -2px rgba(0,0,0,.08);
  --shadow-md:    0 10px 15px -3px rgba(0,0,0,.10), 0 4px 6px -4px rgba(0,0,0,.08);
  --shadow-lg:    0 20px 25px -5px rgba(0,0,0,.12), 0 8px 10px -6px rgba(0,0,0,.08);
  --shadow-xl:    0 25px 50px -12px rgba(0,0,0,.25);
  --transition:   0.3s cubic-bezier(.4,0,.2,1);

  --container:    1240px;
  --navbar-h:     72px;
  --topbar-h:     36px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ---------- Container ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography Helpers ---------- */
.orange { color: var(--orange); }
.navy   { color: var(--navy); }
.section-tag {
  display: inline-block;
  background: var(--orange-light);
  color: var(--orange-dark);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--navy-dark);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-title span { color: var(--orange); }
.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 48px;
}
.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn svg, .btn i { width: 18px; height: 18px; flex-shrink: 0; }
/* Force stroke color on feather SVGs inside buttons (currentColor ne se propage pas toujours à l'attribut stroke) */
.btn--primary svg.feather,
.btn--navy svg.feather,
.btn--outline svg.feather,
.btn--nav svg.feather,
.btn--whatsapp svg.feather    { stroke: var(--white); fill: none; }
.btn--outline-navy svg.feather { stroke: var(--navy); fill: none; }
.btn--outline-navy:hover svg.feather { stroke: var(--white); }
.btn--outline:hover svg.feather      { stroke: var(--orange); }
.btn--primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(249,115,22,.4);
}
.btn--primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249,115,22,.5);
}
.btn--navy {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(30,58,95,.3);
}
.btn--navy:hover {
  background: var(--navy-dark);
  transform: translateY(-2px);
}
.btn--outline {
  border: 2px solid var(--white);
  color: var(--white);
  background: transparent;
}
.btn--outline:hover {
  background: var(--white);
  color: var(--orange);
}
.btn--outline-navy {
  border: 2px solid var(--navy);
  color: var(--navy);
  background: transparent;
}
.btn--outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}
.btn--nav {
  background: var(--orange);
  color: var(--white);
  padding: 9px 20px;
  font-size: .85rem;
  border-radius: 8px;
}
.btn--nav:hover { background: var(--orange-dark); }
.btn--whatsapp {
  background: #25D366;
  color: var(--white);
  border-radius: 8px;
  font-size: .85rem;
}
.btn--whatsapp:hover { background: #1ebe5d; }
.btn--lg {
  padding: 16px 36px;
  font-size: 1rem;
  border-radius: var(--radius-lg);
}
.mt-2 { margin-top: 12px; }

/* ---------- Top Bar ---------- */
.top-bar {
  background: var(--navy-dark);
  color: rgba(255,255,255,.85);
  font-size: .78rem;
  height: var(--topbar-h);
}
.top-bar__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 100%;
}
.top-bar__inner span { display: flex; align-items: center; gap: 6px; }
.top-bar__social { margin-left: auto; display: flex; gap: 12px; }
.top-bar__social a { color: rgba(255,255,255,.7); transition: color var(--transition); }
.top-bar__social a:hover { color: var(--orange); }
.top-bar__social i { width: 14px; height: 14px; }
.icon-xs { width: 13px; height: 13px; }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  height: var(--navbar-h);
  border-bottom: 2px solid var(--gray-100);
  box-shadow: 0 2px 12px rgba(15,32,53,.07);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: 0 4px 24px rgba(15,32,53,.14); }
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 32px;
}
.navbar__logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.navbar__logo-img { height: 56px; width: auto; object-fit: contain; }
.navbar__logo-wordmark { display: flex; flex-direction: column; line-height: 1.1; }
.navbar__logo-name {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.01em;
}
.navbar__logo-name .orange { color: var(--orange); }
.navbar__logo-sub {
  font-size: .62rem;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: .1em;
}
/* Fallback text logo (when no image) */
.navbar__logo-text { font-family: 'Poppins', sans-serif; font-size: 1.3rem; font-weight: 800; color: var(--navy); }
.navbar__nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-link {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: all var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--navy); background: var(--gray-100); }
.nav-link.active { font-weight: 600; }
.nav-highlight {
  color: var(--orange);
  font-weight: 700;
}
/* ---------- Services Dropdown ---------- */
.nav-dropdown {
  position: relative;
}
.nav-dropdown__trigger {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: inherit;
}
.nav-dropdown__chevron {
  width: 14px !important;
  height: 14px !important;
  transition: transform var(--transition);
}
.nav-dropdown.open .nav-dropdown__chevron,
.nav-dropdown:hover .nav-dropdown__chevron { transform: rotate(180deg); }

.nav-dropdown__panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: 640px;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 64px rgba(15,32,53,.18), 0 0 0 1px rgba(15,32,53,.06);
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 1100;
  overflow: hidden;
}
.nav-dropdown:hover .nav-dropdown__panel,
.nav-dropdown.open .nav-dropdown__panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.nav-dropdown__all {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: .78rem;
  color: var(--orange);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}
.nav-dropdown__all i { width: 13px; height: 13px; }
.nav-dropdown__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  padding: 8px;
}
.nav-dropdown__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius);
  transition: background var(--transition);
  text-decoration: none;
}
.nav-dropdown__item:hover,
.nav-dropdown__item.active { background: var(--gray-50); }
.nav-dropdown__item-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-dropdown__item-icon i { width: 18px; height: 18px; }
.nav-dropdown__item-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nav-dropdown__item-text strong {
  font-size: .84rem;
  font-weight: 700;
  color: var(--navy-dark);
  line-height: 1.2;
}
.nav-dropdown__item-text span {
  font-size: .75rem;
  color: var(--text-muted);
  line-height: 1.35;
}
/* Compact single-column dropdown (À Propos menu) */
.nav-dropdown__panel--sm { width: 240px; }
.nav-dropdown__grid--1col { grid-template-columns: 1fr; }

/* ---------- Service Detail Page ---------- */
.svc-hero { min-height: 320px; display: flex; align-items: center; padding: 56px 0; }
.svc-hero__inner {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 8px;
}
.svc-hero__icon-wrap {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.svc-detail-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 48px;
  align-items: start;
}
.svc-who-for {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 24px;
  border-left: 4px solid var(--orange);
}
.svc-who-for h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: .9rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 14px;
}
.svc-who-for h3 i { width: 18px; height: 18px; color: var(--orange); }
.svc-who-for ul { display: flex; flex-direction: column; gap: 8px; list-style: none; padding: 0; }
.svc-who-for ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .88rem;
  color: var(--gray-700);
}
.svc-who-for ul li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}
.svc-prestations-panel {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  position: sticky;
  top: calc(var(--navbar-h) + 16px);
}
.svc-prestations-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 24px;
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: .9rem;
  font-weight: 700;
}
.svc-prestations-header i { width: 18px; height: 18px; }
.svc-prestations-list {
  list-style: none;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.svc-prestations-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: .86rem;
  color: var(--gray-700);
  transition: background var(--transition);
}
.svc-prestations-list li:hover { background: var(--gray-50); }
.svc-prest-check {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.svc-prest-check i { width: 13px; height: 13px; }
.svc-avantages {
  margin: 0 16px 0;
  padding: 16px;
  border-top: 1px solid var(--gray-200);
  border-radius: 0 0 8px 8px;
}
.svc-avantages__title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 10px;
}
.svc-avantages__title i { width: 15px; height: 15px; }
.svc-avantage-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: .82rem;
  color: var(--gray-600);
  padding: 5px 0;
}
.svc-avantage-item i { width: 14px; height: 14px; flex-shrink: 0; margin-top: 2px; }

/* Related service cards */
.svc-related-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
  text-decoration: none;
}
.svc-related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--orange);
}
.svc-related-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.svc-related-card__title {
  font-family: 'Poppins', sans-serif;
  font-size: .9rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 4px;
}
.svc-related-card__desc {
  font-size: .78rem;
  color: var(--text-muted);
  line-height: 1.45;
}
.svc-related-card__arrow {
  width: 18px;
  height: 18px;
  color: var(--orange);
  margin-left: auto;
  flex-shrink: 0;
  transition: transform var(--transition);
}
.svc-related-card:hover .svc-related-card__arrow { transform: translateX(4px); }

.navbar__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.navbar__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}
.navbar__burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.navbar__burger.open span:nth-child(2) { opacity: 0; }
.navbar__burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 990;
}
.nav-overlay.show { display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--navbar-h) - var(--topbar-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-dark);
}
/* ── Slideshow ── */
.hero__slides { position: absolute; inset: 0; z-index: 0; }
.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1.4s cubic-bezier(.4,0,.2,1);
  will-change: opacity, transform;
}
.hero__slide.active {
  opacity: .45;
  animation: kenBurns 6s ease-out forwards;
}
@keyframes kenBurns {
  0%   { transform: scale(1)    translate(0,     0);     }
  33%  { transform: scale(1.05) translate(-0.4%,-0.3%); }
  66%  { transform: scale(1.09) translate(0.4%, 0.2%);  }
  100% { transform: scale(1.14) translate(0.8%,-0.5%);  }
}

/* ── Layout gauche/droite ── */
.hero__layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* ── Barre de progression ── */
.hero__progress {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: rgba(255,255,255,.08);
  z-index: 10;
}
.hero__progress-bar {
  height: 100%;
  background: var(--orange);
  width: 0%;
  transition: width 5s linear;
}

/* ── Dots navigation ── */
.hero__dots { display: flex; gap: 8px; margin-top: 32px; }
.hero__dot {
  width: 8px; height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,.3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all .35s ease;
}
.hero__dot.active { width: 28px; background: var(--orange); }
.hero__dot:hover:not(.active) { background: rgba(255,255,255,.6); }

/* ── Visuel droit ── */
.hero__visual {
  position: relative;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__visual-card {
  position: relative;
  width: 290px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(0,0,0,.55);
  border: 1.5px solid rgba(255,255,255,.12);
  animation: floatCard 6s ease-in-out infinite;
}
@keyframes floatCard { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-14px)} }
.hero__visual-img {
  height: 340px;
  background-size: cover;
  background-position: center;
  transition: opacity .5s ease;
}
.hero__visual-badge {
  background: rgba(10,26,48,.95);
  backdrop-filter: blur(12px);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.85);
  font-size: .82rem;
}
.hero__visual-badge strong { color: var(--orange); }

/* Stat bubbles */
.hero__stat-float {
  position: absolute;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 14px;
  padding: 12px 18px;
  min-width: 110px;
}
.hero__stat-float--1 { top: 40px; left: -16px; animation: floatBob 3.5s ease-in-out infinite; }
.hero__stat-float--2 { bottom: 70px; right: -16px; animation: floatBob 3.5s ease-in-out infinite 1.75s; }
@keyframes floatBob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
.hero__stat-num { font-family:'Poppins',sans-serif; font-size:1.4rem; font-weight:800; color:var(--orange); line-height:1; }
.hero__stat-lbl { font-size:.72rem; color:rgba(255,255,255,.7); margin-top:3px; }

/* Compteur */
.hero__counter {
  position: absolute;
  bottom: 16px; right: 0;
  background: rgba(10,26,48,.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 100px;
  padding: 5px 14px;
  color: rgba(255,255,255,.6);
  font-size: .78rem;
  font-weight: 600;
}
.hero__counter span { color: var(--orange); }

/* ── Animations d'entrée décalées ── */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero__anim { animation: heroFadeUp .8s ease both; }
.hero__anim--1 { animation-delay: .15s; }
.hero__anim--2 { animation-delay: .35s; }
.hero__anim--3 { animation-delay: .55s; }
.hero__anim--4 { animation-delay: .75s; }
.hero__anim--5 { animation-delay: .95s; }
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(15,32,53,.92) 0%, rgba(30,58,95,.65) 60%, rgba(249,115,22,.12) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  padding: 80px 0;
  max-width: 700px;
}
.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(249,115,22,.2);
  border: 1px solid rgba(249,115,22,.4);
  color: var(--orange);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.hero__tag::before { content: ''; width: 8px; height: 8px; background: var(--orange); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.3)} }
.hero__title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero__title span { color: var(--orange); }
.hero__desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,.8);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 560px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero__badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--white);
  font-size: .82rem;
  padding: 8px 16px;
  border-radius: 100px;
  backdrop-filter: blur(8px);
}
.hero__badge i { width: 14px; height: 14px; color: var(--orange); }
.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.5);
  font-size: .75rem;
  animation: bounce 2s infinite;
}
.hero__scroll i { width: 20px; height: 20px; }
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(8px)} }

/* ---------- Stats Bar ---------- */
.stats-bar {
  background: var(--orange);
  padding: 28px 0;
}
.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 8px 16px;
  border-right: 1px solid rgba(255,255,255,.25);
}
.stat-item:last-child { border-right: none; }
.stat-item__value {
  font-family: 'Poppins', sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.stat-item__label {
  font-size: .82rem;
  color: rgba(255,255,255,.85);
  margin-top: 4px;
}

/* ---------- Section Padding ---------- */
.section { padding: 80px 0; }
.section--light { background: var(--gray-50); }
.section--navy { background: var(--navy-dark); }
.section--orange { background: var(--orange); }

/* ---------- Motors Highlight (Homepage) ---------- */
.motors-section { padding: 80px 0; background: var(--gray-50); }
.motors-section__header { margin-bottom: 48px; }
.motors-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}
.motor-banner-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
  transition: transform var(--transition);
}
.motor-banner-card:hover { transform: translateY(-4px); }
.motor-banner-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}
.motor-banner-card:hover img { transform: scale(1.04); }
.motor-banner-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,32,53,.9) 0%, transparent 60%);
}
.motor-banner-card__body {
  position: relative;
  z-index: 2;
  padding: 28px;
  width: 100%;
}
.motor-banner-card__badge {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 8px;
  letter-spacing: .04em;
}
.motor-banner-card__title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
}
.motor-banner-card__sub {
  color: rgba(255,255,255,.75);
  font-size: .9rem;
  margin-bottom: 16px;
}
.motor-banner-card--full {
  grid-column: span 2;
  min-height: 240px;
}

/* Product Cards Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .4s ease, box-shadow .4s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}
.product-card__img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--gray-100);
  transition: height .45s cubic-bezier(.4,0,.2,1);
}
.product-card:hover .product-card__img-wrap { height: 300px; }
.product-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.4,0,.2,1), filter .4s ease;
}
.product-card:hover .product-card__img-wrap img {
  transform: scale(1.08);
  filter: brightness(1.06) saturate(1.08);
}
/* Overlay sombre → disparaît au survol */
.product-card__img-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15,32,53,.06) 0%, rgba(15,32,53,.40) 100%);
  transition: opacity .4s ease;
  z-index: 1;
  pointer-events: none;
}
.product-card:hover .product-card__img-wrap::before { opacity: 0; }
/* Icône loupe */
.product-card__img-wrap::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%23F97316' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") no-repeat center/22px;
  transform: translate(-50%,-50%) scale(0);
  transition: transform .35s cubic-bezier(.34,1.56,.64,1);
  z-index: 2;
  pointer-events: none;
  box-shadow: 0 4px 18px rgba(15,32,53,.22);
}
.product-card:hover .product-card__img-wrap::after {
  transform: translate(-50%,-50%) scale(1);
}
.product-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--orange);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: .05em;
  z-index: 3;
}
.product-card__badge--navy { background: var(--navy); }
.product-card__body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card__cat {
  font-size: .75rem;
  font-weight: 600;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 6px;
}
.product-card__name {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 8px;
}
.product-card__specs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.spec-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--gray-100);
  color: var(--gray-600);
  font-size: .72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
}
.spec-chip i { width: 12px; height: 12px; }
.product-card__desc {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 16px;
}
.product-card__footer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--gray-100);
}
.price-label {
  font-size: .8rem;
  color: var(--text-muted);
  flex: 1;
}
.price-label strong { display: block; color: var(--orange); font-size: .9rem; }

/* Filter Tabs */
.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.filter-tab {
  padding: 9px 20px;
  border-radius: 100px;
  border: 2px solid var(--gray-200);
  color: var(--gray-600);
  font-size: .85rem;
  font-weight: 600;
  background: var(--white);
  cursor: pointer;
  transition: all var(--transition);
}
.filter-tab:hover { border-color: var(--orange); color: var(--orange); }
.filter-tab.active {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(249,115,22,.3);
}

/* ---------- Services Grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover { border-color: var(--orange-light); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: var(--orange-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.service-icon i { width: 26px; height: 26px; color: var(--orange-dark); }
.service-icon--navy { background: #DBEAFE; }
.service-icon--navy i { color: var(--navy); }
.service-card__title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 10px;
}
.service-card__desc {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 18px;
}
.service-card__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.service-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: .83rem;
  color: var(--gray-600);
}
.service-card__list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  margin-top: 7px;
  flex-shrink: 0;
}

/* ---------- Service Visual Image Cards (services listing page) ---------- */
.svc-img-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.svc-img-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 340px;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  cursor: pointer;
  transition: transform .4s ease, box-shadow .4s ease;
  background: var(--navy-dark);
}
.svc-img-card:hover { transform: translateY(-8px); box-shadow: 0 28px 60px rgba(15,32,53,.35); }
.svc-img-card > img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s ease;
}
.svc-img-card:hover > img { transform: scale(1.08); }
.svc-img-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,20,40,.96) 0%, rgba(10,20,40,.45) 50%, rgba(10,20,40,.10) 100%);
  transition: opacity .4s;
}
.svc-img-card:hover .svc-img-card__overlay { opacity: .9; }
.svc-img-card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 46px; height: 46px;
  border-radius: 13px;
  display: flex;
  align-items: center; justify-content: center;
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255,255,255,.25);
  transition: transform .3s ease;
}
.svc-img-card:hover .svc-img-card__badge { transform: scale(1.1); }
.svc-img-card__body {
  position: relative;
  z-index: 2;
  padding: 22px 22px 24px;
  width: 100%;
}
.svc-img-card__title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
  line-height: 1.25;
}
.svc-img-card__desc {
  color: rgba(255,255,255,.72);
  font-size: .80rem;
  line-height: 1.5;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.svc-img-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  font-weight: 700;
  color: rgba(255,255,255,.9);
  background: rgba(255,255,255,.13);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 100px;
  padding: 6px 14px;
  transition: all .3s ease;
  letter-spacing: .02em;
}
.svc-img-card:hover .svc-img-card__link { background: var(--orange); border-color: var(--orange); }
/* stagger for services grid */
.svc-img-grid > .svc-img-card:nth-child(1) { animation-delay: .05s; }
.svc-img-grid > .svc-img-card:nth-child(2) { animation-delay: .15s; }
.svc-img-grid > .svc-img-card:nth-child(3) { animation-delay: .25s; }
.svc-img-grid > .svc-img-card:nth-child(4) { animation-delay: .35s; }
.svc-img-grid > .svc-img-card:nth-child(5) { animation-delay: .45s; }
.svc-img-grid > .svc-img-card:nth-child(6) { animation-delay: .55s; }

/* ---------- Service Detail Image Gallery ---------- */
.svc-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 240px 240px;
  gap: 10px;
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.svc-gallery__item { overflow: hidden; background: var(--gray-100); }
.svc-gallery__item:first-child { grid-row: span 2; }
.svc-gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .55s ease;
}
.svc-gallery__item:hover img { transform: scale(1.07); }
/* 3-image variant */
.svc-gallery--3 {
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 300px;
}
.svc-gallery--3 .svc-gallery__item:first-child { grid-row: span 1; }
/* 2-image variant */
.svc-gallery--2 {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 320px;
}
.svc-gallery--2 .svc-gallery__item:first-child { grid-row: span 1; }

/* ---------- Fade animations for alternating sections ---------- */
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
/* État initial masqué — IntersectionObserver ajoute .in-view */
.fade-left  { opacity: 0; transform: translateX(-40px); }
.fade-right { opacity: 0; transform: translateX(40px); }
.fade-left.in-view  { animation: fadeInLeft  .8s ease both; }
.fade-right.in-view { animation: fadeInRight .8s ease both; }

/* ---------- Yamaha Range Grid ---------- */
.yamaha-range-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.yamaha-range-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .4s ease, box-shadow .4s ease;
  display: flex;
  flex-direction: column;
}
.yamaha-range-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.yamaha-range-card__img {
  position: relative;
  height: 200px;
  overflow: hidden;
  transition: height .45s cubic-bezier(.4,0,.2,1);
}
.yamaha-range-card:hover .yamaha-range-card__img { height: 280px; }
.yamaha-range-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.4,0,.2,1), filter .4s ease;
}
.yamaha-range-card:hover .yamaha-range-card__img img {
  transform: scale(1.08);
  filter: brightness(1.06) saturate(1.08);
}
/* Overlay sombre qui disparaît au survol */
.yamaha-range-card__img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15,32,53,.08) 0%, rgba(15,32,53,.45) 100%);
  transition: opacity .4s ease;
  z-index: 1;
  pointer-events: none;
}
.yamaha-range-card:hover .yamaha-range-card__img::before { opacity: 0; }
/* Icône loupe au survol */
.yamaha-range-card__img::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23F97316' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") no-repeat center/20px;
  transform: translate(-50%,-50%) scale(0);
  transition: transform .35s cubic-bezier(.34,1.56,.64,1);
  z-index: 2;
  pointer-events: none;
  box-shadow: 0 4px 16px rgba(15,32,53,.25);
}
.yamaha-range-card:hover .yamaha-range-card__img::after {
  transform: translate(-50%,-50%) scale(1);
}
.yamaha-range-card__badge {
  position: absolute;
  top: 12px; right: 12px;
  font-size: .68rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: .05em;
  color: var(--white);
  z-index: 3;
}
.badge--2t { background: var(--orange); }
.badge--4t { background: var(--navy); }
.badge--acc { background: #059669; }
.yamaha-range-card__body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.yamaha-range-card__series {
  font-size: .72rem;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 4px;
}
.yamaha-range-card__body h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 8px;
}
.yamaha-range-card__body p {
  font-size: .84rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 14px;
}
.yamaha-range-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}
.yamaha-range-card__specs span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--gray-100);
  color: var(--gray-700);
  font-size: .72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
}
.yamaha-range-card__specs i { width: 11px; height: 11px; }

/* ---------- Process Steps ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 48px;
  left: calc(12.5% + 12px);
  right: calc(12.5% + 12px);
  height: 2px;
  background: linear-gradient(to right, var(--orange), var(--navy));
  z-index: 0;
}
.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.process-step__num {
  font-family: 'Poppins', sans-serif;
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--gray-100);
  line-height: 1;
  margin-bottom: -8px;
}
.process-step__icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 16px rgba(249,115,22,.35);
}
.process-step__icon i { width: 32px; height: 32px; color: var(--white); }
.process-step:nth-child(2) .process-step__icon,
.process-step:nth-child(4) .process-step__icon {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  box-shadow: 0 4px 16px rgba(30,58,95,.35);
}
.process-step h3 {
  font-family: 'Poppins', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 8px;
}
.process-step p {
  font-size: .84rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---------- Why Us ---------- */
.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.why-us__list { display: flex; flex-direction: column; gap: 16px; }
.why-us__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--orange);
  transition: all var(--transition);
}
.why-us__item:hover { box-shadow: var(--shadow-md); transform: translateX(4px); }
.why-us__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--white);
  font-size: .85rem;
  font-weight: 700;
}
.why-us__text { font-size: .92rem; font-weight: 500; color: var(--gray-800); }
.why-us__img {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 480px;
}
.why-us__img img { width: 100%; height: 100%; object-fit: cover; }
.why-us__img-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(15,32,53,.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(249,115,22,.3);
  color: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius);
}
.why-us__img-badge strong { color: var(--orange); font-family: 'Poppins', sans-serif; font-size: 1.1rem; display: block; }
.why-us__img-badge span { font-size: .82rem; color: rgba(255,255,255,.7); }

/* ---------- Clients Section ---------- */
.clients-section { padding: 60px 0; background: var(--white); border-top: 1px solid var(--gray-200); }
.clients-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.client-logo {
  filter: grayscale(1) opacity(.5);
  transition: all var(--transition);
  height: 60px;
  object-fit: contain;
}
.client-logo:hover { filter: grayscale(0) opacity(1); }
.client-name {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--gray-400);
  transition: color var(--transition);
  letter-spacing: .05em;
}
.client-name:hover { color: var(--navy); }

/* ===== Modern Design System — Decorative elements ===== */

/* Dot grid patterns */
.dec-dots-sm  { background-image: radial-gradient(circle, rgba(249,115,22,.14) 1.5px, transparent 1.5px); background-size: 20px 20px; }
.dec-dots-navy{ background-image: radial-gradient(circle, rgba(30,58,95,.10) 1.5px, transparent 1.5px);  background-size: 20px 20px; }
.dec-dots-white{background-image: radial-gradient(circle, rgba(255,255,255,.18) 1.5px, transparent 1.5px);background-size: 20px 20px;}

/* Image frame with corner accent lines */
.img-frame { position: relative; padding: 14px; }
.img-frame::before, .img-frame::after {
  content: '';
  position: absolute;
  width: 52px; height: 52px;
  pointer-events: none;
}
.img-frame::before { top: 0; left: 0; border-top: 3px solid var(--orange); border-left: 3px solid var(--orange); border-radius: 4px 0 0 0; }
.img-frame::after  { bottom: 0; right: 0; border-bottom: 3px solid var(--navy); border-right: 3px solid var(--navy); border-radius: 0 0 4px 0; }

/* Prestation cards (grid layout) */
.prest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
  gap: 14px;
  margin-top: 36px;
}
.prest-card {
  background: var(--white);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: 0 2px 14px rgba(15,32,53,.07);
  border: 1px solid rgba(15,32,53,.06);
  transition: transform .3s ease, box-shadow .3s ease;
}
.prest-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(15,32,53,.13); }
.prest-card__icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.prest-card__text { font-size: .875rem; color: var(--navy-dark); line-height: 1.55; font-weight: 500; margin: 0; }

/* Floating stat bubble */
.stat-bubble {
  position: absolute;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: 0 8px 32px rgba(15,32,53,.18);
  border: 1px solid rgba(255,255,255,.6);
  min-width: 110px;
}
.stat-bubble__val { font-family: 'Poppins', sans-serif; font-size: 1.6rem; font-weight: 900; line-height: 1; }
.stat-bubble__lbl { font-size: .72rem; color: var(--text-muted); font-weight: 600; margin-top: 3px; }

/* Who-for card (in navy section) */
.who-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: background .3s;
}
.who-card:hover { background: rgba(255,255,255,.12); }
.who-card__icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.who-card__text { font-size: .84rem; color: rgba(255,255,255,.85); line-height: 1.5; }

/* Advantage check item */
.av-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  background: var(--white);
  border-radius: 12px;
  border-left: 3px solid var(--orange);
  box-shadow: 0 2px 10px rgba(15,32,53,.06);
  transition: transform .25s ease;
}
.av-item:hover { transform: translateX(4px); }
.av-item p { margin: 0; font-size: .9rem; color: var(--navy-dark); line-height: 1.5; font-weight: 500; }

/* Mobile responsive for new components */
@media (max-width: 768px) {
  .img-frame { padding: 8px; }
  .img-frame::before, .img-frame::after { width: 32px; height: 32px; }
  .prest-grid { grid-template-columns: 1fr; }
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 350px; height: 350px;
  border-radius: 50%;
  background: rgba(249,115,22,.12);
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 250px; height: 250px;
  border-radius: 50%;
  background: rgba(249,115,22,.08);
}
.cta-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}
.cta-inner .section-title { color: var(--white); }
.cta-inner .section-subtitle { color: rgba(255,255,255,.75); }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.cta-contact-row {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}
.cta-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.85);
  font-size: .92rem;
}
.cta-contact-item i { width: 18px; height: 18px; color: var(--orange); }

/* ---------- About Section ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about__img-wrap {
  position: relative;
}
.about__img {
  width: 100%;
  border-radius: var(--radius-xl);
  object-fit: cover;
  height: 500px;
}
.about__img-accent {
  position: absolute;
  top: -20px; right: -20px;
  width: 140px; height: 140px;
  background: var(--orange);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: .3;
}
.about__img-accent-2 {
  position: absolute;
  bottom: -20px; left: -20px;
  width: 100px; height: 100px;
  background: var(--navy);
  border-radius: var(--radius);
  z-index: -1;
  opacity: .2;
}
.about__values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}
.value-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--orange-light);
  border-radius: 8px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--orange-dark);
}
.value-chip i { width: 16px; height: 16px; }

/* ---------- Hero Banner (inner pages) ---------- */
/* ═══ PAGE HERO — header animé ═══ */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 80px 0;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Anneau décoratif top-right — pulse */
.page-hero::after {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: rgba(249,115,22,.1);
  border: 2px solid rgba(249,115,22,.18);
  z-index: 2;
  animation: ringPulse 5s ease-in-out infinite;
}
/* Anneau décoratif bottom-left — tourne */
.page-hero::before {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 280px; height: 280px;
  border-radius: 50%;
  border: 2px dashed rgba(255,255,255,.08);
  z-index: 2;
  animation: ringRotate 18s linear infinite;
  pointer-events: none;
}
@keyframes ringPulse {
  0%,100% { transform: scale(1);    opacity: 1; }
  50%      { transform: scale(1.18); opacity: .5; }
}
@keyframes ringRotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Overlay avec balayage lumineux */
.page-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(10,24,45,.85) 0%, rgba(30,58,95,.65) 55%, rgba(249,115,22,.08) 100%);
  overflow: hidden;
}
.page-hero__overlay::after {
  content: '';
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,.04) 50%, transparent 100%);
  animation: shimmerSweep 7s ease-in-out infinite 1.5s;
  pointer-events: none;
}
@keyframes shimmerSweep {
  0%   { left: -80%; opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { left: 160%; opacity: 0; }
}

/* Particules flottantes via motif */
.page-hero .hero__slides::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: radial-gradient(circle, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 48px 48px;
  animation: particleDrift 24s linear infinite;
  pointer-events: none;
  opacity: .6;
}
@keyframes particleDrift {
  from { background-position: 0 0; }
  to   { background-position: 48px -48px; }
}

/* Image slides plus visibles sur page-hero */
.page-hero .hero__slide.active {
  opacity: .8;
}

.page-hero__content { position: relative; z-index: 3; }

/* ── Animations en cascade du contenu ── */
@keyframes phSlideUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes phSlideLeft {
  from { opacity: 0; transform: translateX(-22px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes phZoomIn {
  from { opacity: 0; transform: scale(.94) translateY(14px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.page-hero__content .breadcrumb      { animation: phSlideLeft .5s .05s ease both; }
.page-hero__content .page-hero__tag  { animation: phSlideUp   .55s .2s  ease both; }
.page-hero__content .svc-hero__inner { animation: phSlideUp   .6s  .18s ease both; }
.page-hero__content .page-hero__title{ animation: phZoomIn    .7s  .38s ease both; }
.page-hero__content .page-hero__sub  { animation: phSlideUp   .65s .56s ease both; }
.page-hero__content > div:last-child,
.page-hero__content > [style*="flex"] { animation: phSlideUp  .6s  .72s ease both; }

.page-hero__tag {
  display: inline-block;
  background: rgba(249,115,22,.2);
  color: var(--orange);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
  border: 1px solid rgba(249,115,22,.3);
}
.page-hero__title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 14px;
}
.page-hero__title span { color: var(--orange); }
.page-hero__sub { font-size: 1rem; color: rgba(255,255,255,.75); max-width: 560px; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 16px;
}
.breadcrumb a { color: rgba(255,255,255,.7); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb i { width: 14px; height: 14px; }

/* ---------- Contact Page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: all var(--transition);
}
.contact-info-card:hover { box-shadow: var(--shadow-md); transform: translateX(4px); }
.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon i { width: 22px; height: 22px; color: var(--white); }
.contact-icon--navy { background: var(--navy); }
.contact-info-card h4 { font-size: .9rem; font-weight: 700; color: var(--navy-dark); margin-bottom: 4px; }
.contact-info-card p, .contact-info-card a { font-size: .88rem; color: var(--text-muted); }
.contact-info-card a:hover { color: var(--orange); }

.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.contact-form-wrap h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 6px;
}
.contact-form-wrap p { font-size: .88rem; color: var(--text-muted); margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group--full { grid-column: span 2; }
.form-group label { font-size: .83rem; font-weight: 600; color: var(--gray-800); }
.form-group input,
.form-group textarea,
.form-group select {
  padding: 11px 14px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: .88rem;
  color: var(--text);
  background: var(--gray-50);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(249,115,22,.1);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit { margin-top: 8px; width: 100%; justify-content: center; }
.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: #DCFCE7;
  border: 1px solid #86EFAC;
  border-radius: var(--radius);
  color: #166534;
  font-size: .88rem;
  font-weight: 600;
  margin-top: 16px;
}
.form-success.show { display: flex; }

/* ---------- Service Detail ---------- */
.service-detail {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 32px;
}
.service-detail__header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
  padding: 28px 32px;
  border-bottom: 2px solid var(--gray-100);
}
.service-detail__body { padding: 32px; }
.service-detail__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}
.service-detail__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .88rem;
  color: var(--gray-700);
  padding: 8px 12px;
  background: var(--gray-50);
  border-radius: 8px;
}
.service-detail__list li::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

/* ---------- Footer ---------- */
.footer { background: var(--navy-dark); color: rgba(255,255,255,.8); }
.footer__top { padding: 64px 0 48px; }
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
}
.footer__logo { height: 56px; width: auto; object-fit: contain; margin-bottom: 14px; }
.footer__tagline { font-weight: 700; color: var(--orange); font-size: .9rem; margin-bottom: 10px; }
.footer__desc { font-size: .83rem; line-height: 1.7; color: rgba(255,255,255,.6); margin-bottom: 20px; }
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7);
  transition: all var(--transition);
}
.footer__social a:hover { background: var(--orange); color: var(--white); }
.footer__social i, .footer__social svg { width: 16px; height: 16px; }
.footer__heading { font-size: .85rem; font-weight: 700; color: var(--white); margin-bottom: 16px; letter-spacing: .04em; text-transform: uppercase; }
.footer__links { display: flex; flex-direction: column; gap: 8px; }
.footer__links a { font-size: .85rem; color: rgba(255,255,255,.6); transition: color var(--transition); }
.footer__links a:hover { color: var(--orange); padding-left: 4px; }
.footer__contact-list { display: flex; flex-direction: column; gap: 12px; }
.footer__contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .85rem;
  color: rgba(255,255,255,.6);
}
.footer__contact-list i { width: 16px; height: 16px; color: var(--orange); flex-shrink: 0; margin-top: 2px; }
.footer__contact-list a { color: rgba(255,255,255,.6); }
.footer__contact-list a:hover { color: var(--orange); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
}
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- WhatsApp Float & Back to Top ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 100px;
  right: 24px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37,211,102,.5);
  z-index: 900;
  transition: all var(--transition);
  animation: floatPulse 3s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); background: #1ebe5d; }
@keyframes floatPulse {
  0%,100%{ box-shadow: 0 4px 20px rgba(37,211,102,.5); }
  50%{ box-shadow: 0 4px 30px rgba(37,211,102,.8); }
}
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  box-shadow: var(--shadow-md);
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--orange); transform: translateY(-2px); }
.back-to-top i { width: 20px; height: 20px; }

/* ---------- Feather Icons — SVG sizing after feather.replace() ---------- */
/*
 * feather.replace() swaps <i data-feather="x"> for <svg class="feather feather-x">.
 * Any CSS that targeted <i> won't reach the SVG. Using data-width/data-height on
 * the <i> element passes size to feather via dataset, and adding svg alongside i
 * here covers both states.
 */

/* Service page icons */
.svc-prest-check i,    .svc-prest-check svg    { width: 13px; height: 13px; display: block; }
.svc-hero__icon-wrap i,.svc-hero__icon-wrap svg { width: 36px; height: 36px; }
.svc-avantages__title i,.svc-avantages__title svg { width: 15px; height: 15px; }
.svc-avantage-item i,  .svc-avantage-item svg  { width: 14px; height: 14px; }
.svc-who-for h3 i,     .svc-who-for h3 svg     { width: 18px; height: 18px; }
.svc-related-card__icon i, .svc-related-card__icon svg { width: 24px; height: 24px; }
.svc-related-card__arrow.feather { width: 18px; height: 18px; }

/* Nav dropdown */
.nav-dropdown__item-icon i,  .nav-dropdown__item-icon svg  { width: 18px; height: 18px; }
.nav-dropdown__all i,        .nav-dropdown__all svg        { width: 13px; height: 13px; }

/* Top bar */
.top-bar__social i,          .top-bar__social svg          { width: 14px; height: 14px; }

/* Hero */
.hero__badge i,              .hero__badge svg              { width: 14px; height: 14px; color: var(--orange); }
.hero__scroll i,             .hero__scroll svg             { width: 20px; height: 20px; }

/* Product cards */
.spec-chip i,                .spec-chip svg                { width: 12px; height: 12px; }
.yamaha-range-card__specs i, .yamaha-range-card__specs svg { width: 11px; height: 11px; }

/* Services section (index) */
.service-icon i,             .service-icon svg             { width: 26px; height: 26px; color: var(--orange-dark); }
.service-icon--navy i,       .service-icon--navy svg       { color: var(--navy); }
.svc-prestations-header i,   .svc-prestations-header svg   { width: 18px; height: 18px; }

/* Process steps */
.process-step__icon i,       .process-step__icon svg       { width: 32px; height: 32px; color: var(--white); }

/* CTA & values */
.cta-contact-item i,         .cta-contact-item svg         { width: 18px; height: 18px; color: var(--orange); }
.value-chip i,               .value-chip svg               { width: 16px; height: 16px; }

/* Breadcrumb */
.breadcrumb i,               .breadcrumb svg               { width: 14px; height: 14px; }

/* Contact icons */
.contact-icon i,             .contact-icon svg             { width: 22px; height: 22px; color: var(--white); }

/* Footer */
.footer__contact-list i,     .footer__contact-list svg     { width: 16px; height: 16px; color: var(--orange); flex-shrink: 0; margin-top: 2px; }
.footer__social i,           .footer__social svg           { width: 16px; height: 16px; }

/* Back to top */
.back-to-top i,              .back-to-top svg              { width: 20px; height: 20px; }

/* General rule: all feather SVGs flex-shrink:0 and preserve icon proportions */
svg.feather { flex-shrink: 0; }

/* ---------- Utility Animations ---------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* État initial masqué — IntersectionObserver ajoute .in-view au scroll */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
}
.fade-up.in-view { animation: fadeInUp .75s ease both; }

/* Stagger for grid children — animation-delay inline depuis PHP fonctionne */
.products-grid > .fade-up:nth-child(1) { animation-delay: .05s; }
.products-grid > .fade-up:nth-child(2) { animation-delay: .15s; }
.products-grid > .fade-up:nth-child(3) { animation-delay: .25s; }
.products-grid > .fade-up:nth-child(4) { animation-delay: .35s; }
.products-grid > .fade-up:nth-child(5) { animation-delay: .45s; }
.products-grid > .fade-up:nth-child(6) { animation-delay: .55s; }
.services-grid > .fade-up:nth-child(1) { animation-delay: .05s; }
.services-grid > .fade-up:nth-child(2) { animation-delay: .15s; }
.services-grid > .fade-up:nth-child(3) { animation-delay: .25s; }
.services-grid > .fade-up:nth-child(4) { animation-delay: .35s; }
.services-grid > .fade-up:nth-child(5) { animation-delay: .45s; }
.services-grid > .fade-up:nth-child(6) { animation-delay: .55s; }
.why-us__list > .fade-up:nth-child(1) { animation-delay: .05s; }
.why-us__list > .fade-up:nth-child(2) { animation-delay: .13s; }
.why-us__list > .fade-up:nth-child(3) { animation-delay: .21s; }
.why-us__list > .fade-up:nth-child(4) { animation-delay: .29s; }
.why-us__list > .fade-up:nth-child(5) { animation-delay: .37s; }
.why-us__list > .fade-up:nth-child(6) { animation-delay: .45s; }
.fade-up.visible { opacity: 1; transform: none; animation: none; }

/* ═══════════════════════════════════════════════════════════════
   AUTO-ANIMATE SYSTEM — classes injectées par JS au DOMContentLoaded
   IntersectionObserver ajoute .in-view lorsque l'élément entre
   dans le viewport (threshold 0.1, rootMargin -48px bas)
═══════════════════════════════════════════════════════════════ */

/* Keyframes supplémentaires */
@keyframes cardBounceIn {
  0%   { opacity: 0; transform: scale(0.87) translateY(32px); }
  55%  { opacity: 1; transform: scale(1.04) translateY(-6px); }
  75%  { transform: scale(0.97) translateY(3px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes imgFadeScale {
  from { opacity: 0; transform: scale(0.93) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-38px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(38px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes popIn {
  0%   { opacity: 0; transform: scale(0.78) translateY(22px); }
  65%  { opacity: 1; transform: scale(1.06) translateY(-5px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes titleReveal {
  from { opacity: 0; transform: translateY(20px); letter-spacing: .12em; }
  to   { opacity: 1; transform: translateY(0);    letter-spacing: inherit; }
}

/* ── États initiaux cachés ── */
.aa-card, .aa-slide, .aa-left, .aa-right, .aa-img, .aa-pop, .aa-title {
  opacity: 0;
  will-change: transform, opacity;
}
.aa-card  { transform: scale(0.87) translateY(32px); }
.aa-slide { transform: translateY(28px); }
.aa-left  { transform: translateX(-38px); }
.aa-right { transform: translateX(38px); }
.aa-img   { transform: scale(0.93) translateY(10px); }
.aa-pop   { transform: scale(0.78) translateY(22px); }
.aa-title { transform: translateY(20px); }

/* ── Déclenchement quand .in-view est ajouté ── */
.aa-card.in-view  { animation: cardBounceIn .7s  cubic-bezier(.34,1.56,.64,1) both; }
.aa-slide.in-view { animation: fadeInUp     .65s ease both; }
.aa-left.in-view  { animation: slideInLeft  .7s  ease both; }
.aa-right.in-view { animation: slideInRight .7s  ease both; }
.aa-img.in-view   { animation: imgFadeScale .8s  ease both; }
.aa-pop.in-view   { animation: popIn        .65s cubic-bezier(.34,1.56,.64,1) both; }
.aa-title.in-view { animation: titleReveal  .6s  ease both; }

/* ── Process steps — animations schéma étapes ── */
@keyframes procStepIn {
  0%   { opacity: 0; transform: scale(0.52) translateY(44px); }
  58%  { opacity: 1; transform: scale(1.07) translateY(-9px); }
  78%  { transform: scale(0.96) translateY(4px); }
  100% { opacity: 1; transform: scale(1)    translateY(0); }
}
@keyframes procLineGrow {
  from { transform: scaleX(0); opacity: 0; }
  to   { transform: scaleX(1); opacity: .2; }
}
.proc-step {
  opacity: 0;
  transform: scale(0.52) translateY(44px);
}
.proc-step.in-view {
  animation: procStepIn .75s cubic-bezier(.34,1.56,.64,1) both;
}

.proc-line {
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0;
}
.proc-line.in-view {
  animation: procLineGrow .9s ease .15s both;
}

/* ---------- About Page Director Card ---------- */
.director-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  gap: 0;
}
.director-card__img { width: 340px; flex-shrink: 0; object-fit: cover; }
.director-card__body {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.director-card__quote {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.8;
  font-style: italic;
  border-left: 4px solid var(--orange);
  padding-left: 20px;
  margin-bottom: 24px;
}
.director-card__name {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy-dark);
}
.director-card__title { color: var(--orange); font-size: .88rem; font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: span 2; }
  .why-us-grid { grid-template-columns: 1fr; }
  .why-us__img { height: 300px; }
  .about-grid { grid-template-columns: 1fr; }
  .about__img { height: 300px; }
  .director-card { flex-direction: column; }
  .director-card__img { width: 100%; height: 280px; }
  .motors-banner { grid-template-columns: 1fr; }
  .motor-banner-card--full { grid-column: span 1; }
  .yamaha-range-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }
  /* Service image cards — 2 cols on tablet */
  .svc-img-grid { grid-template-columns: repeat(2, 1fr); }
  /* Gallery — 2 cols on tablet */
  .svc-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 200px; }
  .svc-gallery .svc-gallery__item:first-child { grid-row: span 2; }
}

/* ── Réseaux sociaux dans le menu mobile ── */
.nav-social {
  display: none; /* caché sur desktop */
}
@media (max-width: 768px) {
  .nav-social {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px 16px 16px;
    border-top: 1px solid var(--gray-200);
    margin-top: 8px;
  }
  .nav-social__label {
    font-size: .72rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .08em;
  }
  .nav-social__links {
    display: flex;
    gap: 10px;
  }
  .nav-social__btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--navy-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition), color var(--transition), transform .2s ease;
  }
  .nav-social__btn:hover,
  .nav-social__btn:active { background: var(--orange); color: #fff; transform: scale(1.1); }
  .nav-social__btn--wa    { background: #25D366; color: #fff; }
  .nav-social__btn--wa:hover { background: #1ebe5d; }
}

@media (max-width: 768px) {
  :root { --navbar-h: 64px; }
  .top-bar { display: none; }

  .navbar__nav {
    position: fixed;
    top: var(--navbar-h);
    right: -100%;
    bottom: 0;
    width: 300px;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 2px;
    box-shadow: var(--shadow-xl);
    z-index: 995;
    transition: right var(--transition);
    overflow-y: auto;
  }
  .navbar__nav.open { right: 0; }
  .navbar__burger { display: flex; }
  .nav-link { padding: 12px 16px; }
  .btn--nav { margin-top: 8px; justify-content: center; }

  /* Mobile dropdown: show inline as accordion */
  .nav-dropdown { position: static; }
  .nav-dropdown__trigger { width: 100%; justify-content: space-between; }
  .nav-dropdown__panel {
    position: static;
    width: 100%;
    transform: none !important;
    left: auto;
    box-shadow: none;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    background: var(--gray-50);
    margin: 4px 0 8px;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease, opacity .2s ease;
    opacity: 0;
  }
  .nav-dropdown.open .nav-dropdown__panel {
    max-height: 600px;
    opacity: 1;
    visibility: visible;
    transform: none !important;
  }
  .nav-dropdown:hover .nav-dropdown__panel {
    max-height: 0;
    opacity: 0;
    visibility: hidden;
  }
  .nav-dropdown.open:hover .nav-dropdown__panel {
    max-height: 600px;
    opacity: 1;
    visibility: visible;
  }
  .nav-dropdown__grid { grid-template-columns: 1fr; padding: 4px; }
  .nav-dropdown__header { font-size: .72rem; }

  /* Service detail page */
  .svc-detail-grid { grid-template-columns: 1fr; }
  .svc-prestations-panel { position: static; }

  .hero__layout { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .hero__content { padding: 60px 0; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { justify-content: center; }

  .stats-bar__grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }

  .products-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .yamaha-range-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }

  /* Sur mobile : image plus grande par défaut (pas de hover disponible) */
  .yamaha-range-card__img { height: 240px; }
  .product-card__img-wrap { height: 250px; }
  /* Overlay retiré sur mobile */
  .yamaha-range-card__img::before,
  .product-card__img-wrap::before { opacity: 0; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group--full { grid-column: span 1; }

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

  .footer__grid { grid-template-columns: 1fr; }
  .footer__brand { grid-column: span 1; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }

  .service-detail__list { grid-template-columns: 1fr; }
  .service-detail__header { grid-template-columns: 1fr; }

  .cta-contact-row { flex-direction: column; align-items: center; }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; max-width: 280px; justify-content: center; }

  /* Service image cards — 1 col on mobile */
  .svc-img-grid { grid-template-columns: 1fr; }
  .svc-img-card { height: 260px; }
  /* Gallery — stack on mobile */
  .svc-gallery { grid-template-columns: 1fr; grid-template-rows: auto; }
  .svc-gallery .svc-gallery__item { height: 220px; }
  .svc-gallery .svc-gallery__item:first-child { grid-row: span 1; }
  .svc-gallery--3 { grid-template-columns: 1fr; grid-template-rows: auto; }
  .svc-gallery--2 { grid-template-columns: 1fr; }
  /* Sur mobile : pas de scale (performances), que des translateY */
  .aa-card             { transform: translateY(28px); }
  .aa-card.in-view     { animation: fadeInUp .55s ease both; }

  .aa-pop              { transform: translateY(22px); }
  .aa-pop.in-view      { animation: fadeInUp .55s ease both; }

  .proc-step           { transform: translateY(28px); }
  .proc-step.in-view   { animation: fadeInUp .55s ease both; }

  /* Sur mobile : fade-left/right et aa-left/right animent verticalement */
  .fade-left, .fade-right,
  .aa-left, .aa-right  { transform: translateY(28px); }
  .fade-left.in-view, .fade-right.in-view,
  .aa-left.in-view, .aa-right.in-view { animation: fadeInUp .55s ease both; }

  /* Page hero mobile */
  .page-hero { padding: 60px 0; min-height: 340px; }
  .page-hero::before { width: 160px; height: 160px; bottom: -40px; left: -40px; }
  .page-hero::after  { width: 200px; height: 200px; top: -40px;  right: -40px; }
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE MOBILE — grids et images inline-style
   Les styles inline PHP nécessitent !important pour être
   écrasés via des sélecteurs d'attributs CSS
══════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* ── Grids 2 colonnes → 1 colonne ── */
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns:1fr 1.1fr"],
  [style*="grid-template-columns:1.1fr 1fr"],
  [style*="grid-template-columns:1fr 1.15fr"],
  [style*="grid-template-columns:1.15fr 1fr"],
  [style*="grid-template-columns:1fr 1.2fr"],
  [style*="grid-template-columns:1.2fr 1fr"],
  [style*="grid-template-columns:1fr 1.4fr"],
  [style*="grid-template-columns:1.4fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  /* ── Grids 2 colonnes repeat() → 1 colonne ── */
  [style*="grid-template-columns:repeat(2,1fr)"] {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  /* ── Grids 3 colonnes → 1 colonne ── */
  [style*="grid-template-columns:repeat(3,1fr)"],
  [style*="grid-template-columns:2fr 1fr 1fr"],
  [style*="grid-template-columns:1.5fr 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  /* ── Grids 4 colonnes → 2 colonnes ── */
  [style*="grid-template-columns:repeat(4,1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  /* ── Galeries mosaïques avec grid-template-rows fixes → auto ── */
  [style*="grid-template-rows:240px"],
  [style*="grid-template-rows:220px"],
  [style*="grid-template-rows:300px"] {
    grid-template-rows: auto !important;
  }
  /* Cellule principale en span 2 → revenir à span 1 */
  [style*="grid-row:span 2"],
  [style*="grid-row: span 2"] {
    grid-row: span 1 !important;
  }

  /* ── Section min-height et height fixes → auto ── */
  [style*="min-height:420px"],
  [style*="min-height:400px"] {
    min-height: 0 !important;
  }
  section[style*="height:400px"],
  section[style*="height:380px"],
  section[style*="height:360px"],
  section[style*="height:420px"] {
    height: 260px !important;
  }

  /* ── Section padding réduit ── */
  [style*="padding:80px 0"]  { padding: 44px 0 !important; }
  [style*="padding:72px 0"]  { padding: 40px 0 !important; }
  [style*="padding:64px 0"]  { padding: 36px 0 !important; }
  [style*="padding:56px 0"]  { padding: 32px 0 !important; }

  /* ── Images → hauteurs adaptées ── */
  img[style*="height:460px"],
  img[style*="height:440px"],
  img[style*="height:420px"],
  img[style*="height:400px"],
  img[style*="height:380px"],
  img[style*="height:360px"] { height: 220px !important; }

  img[style*="height:300px"],
  img[style*="height:280px"],
  img[style*="height:260px"],
  img[style*="height:240px"] { height: 180px !important; }

  img[style*="height:220px"],
  img[style*="height:200px"],
  img[style*="height:180px"],
  img[style*="height:170px"],
  img[style*="height:160px"] { height: 140px !important; }

  /* ── Divs à hauteur fixe (galeries) ── */
  div[style*="height:220px"],
  div[style*="height:240px"],
  div[style*="height:200px"] { height: 160px !important; }

  div[style*="height:160px"],
  div[style*="height:170px"],
  div[style*="height:180px"] { height: 130px !important; }

  /* ── Stat bubbles → cachés (positions négatives débordent) ── */
  .stat-bubble { display: none !important; }

  /* ── img-frame → padding réduit ── */
  .img-frame { padding: 6px !important; }
  .img-frame::before, .img-frame::after { width: 28px !important; height: 28px !important; }

  /* ── process steps : ligne de connexion → caché ── */
  [style*="height:2px"][style*="background:linear-gradient"] { display: none !important; }

  /* ── Flex rows qui devraient se stacker ── */
  [style*="display:flex"][style*="justify-content:space-between"] {
    flex-direction: column !important;
    gap: 24px !important;
  }

  /* ── Textes et titres ── */
  .page-hero__title { font-size: clamp(1.4rem,6vw,2.2rem) !important; }
  .section-title    { font-size: clamp(1.3rem,5vw,1.8rem) !important; }

  /* ── Masquer les décorations qui débordent ── */
  .page-hero::before,
  .page-hero::after { opacity: .5; }

  /* ── Grille valeurs (2 images côte à côte) → empiler ── */
  [style*="grid-template-columns:1fr 1fr"][style*="min-height"] {
    min-height: 0 !important;
  }

  /* ── Mosaic 2fr 1fr 1fr → 2 colonnes ── */
  [style*="grid-template-columns:2fr 1fr 1fr"] {
    grid-template-columns: 1fr 1fr !important;
  }

  /* ── Grilles flex wrappées → s'adaptent déjà, ok ── */
}

@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .section { padding: 44px 0; }
  .hero__title { font-size: 1.75rem; }
  .stats-bar__grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item__value { font-size: 1.8rem; }
  .filter-tabs { gap: 6px; }
  .filter-tab { padding: 7px 14px; font-size: .8rem; }

  /* Grids 4 colonnes → 1 colonne sur très petit écran */
  [style*="grid-template-columns:repeat(4,1fr)"] {
    grid-template-columns: 1fr 1fr !important;
  }

  /* Sections bandeaux encore plus petites */
  section[style*="height:400px"],
  section[style*="height:380px"],
  section[style*="height:360px"],
  section[style*="height:420px"] {
    height: 200px !important;
  }

  img[style*="height:460px"],
  img[style*="height:440px"],
  img[style*="height:420px"],
  img[style*="height:400px"],
  img[style*="height:380px"] { height: 180px !important; }

  /* Prest-grid et who-card → 1 colonne */
  .prest-grid { grid-template-columns: 1fr !important; }
  [style*="grid-template-columns:1fr 1fr"][style*="gap:12px"] {
    grid-template-columns: 1fr !important;
  }
}

/* ── Zoom au tap sur mobile (classe .zoomed ajoutée par JS) ── */
@media (hover: none) {
  /* Appareils tactiles : hover désactivé, on utilise .zoomed au tap */
  .yamaha-range-card:hover .yamaha-range-card__img,
  .product-card:hover .product-card__img-wrap { height: auto; }
  .yamaha-range-card:hover,
  .product-card:hover { transform: none; box-shadow: var(--shadow); }
  .yamaha-range-card:hover .yamaha-range-card__img img,
  .product-card:hover .product-card__img-wrap img { transform: none; filter: none; }
  .yamaha-range-card:hover .yamaha-range-card__img::before,
  .product-card:hover .product-card__img-wrap::before { opacity: 0; }
  .yamaha-range-card:hover .yamaha-range-card__img::after,
  .product-card:hover .product-card__img-wrap::after { transform: translate(-50%,-50%) scale(0); }

  /* État zoomed au tap */
  .yamaha-range-card.zoomed { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
  .yamaha-range-card.zoomed .yamaha-range-card__img { height: 300px; }
  .yamaha-range-card.zoomed .yamaha-range-card__img img {
    transform: scale(1.08); filter: brightness(1.06) saturate(1.08);
  }
  .yamaha-range-card.zoomed .yamaha-range-card__img::after {
    transform: translate(-50%,-50%) scale(1);
  }

  .product-card.zoomed { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
  .product-card.zoomed .product-card__img-wrap { height: 320px; }
  .product-card.zoomed .product-card__img-wrap img {
    transform: scale(1.08); filter: brightness(1.06) saturate(1.08);
  }
  .product-card.zoomed .product-card__img-wrap::after {
    transform: translate(-50%,-50%) scale(1);
  }
}

/* ── Accessibilité : respecter prefers-reduced-motion ── */
@media (prefers-reduced-motion: reduce) {
  .aa-card, .aa-slide, .aa-left, .aa-right, .aa-img, .aa-pop, .aa-title,
  .fade-up, .fade-left, .fade-right {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
}
