/* ═══════════════════════════════════════════════════════════════
   Dukiwi SA — Main Stylesheet
   ═══════════════════════════════════════════════════════════════ */

/* ── Variables ─────────────────────────────────────────────────── */
:root {
  --primary:       #013861;
  --primary-light: #025a9e;
  --primary-dark:  #012745;
  --accent:        #00a8e8;
  --accent-dark:   #0090c8;
  --white:         #ffffff;
  --off-white:     #f8fafc;
  --gray-100:      #f1f5f9;
  --gray-200:      #e2e8f0;
  --gray-400:      #94a3b8;
  --gray-600:      #475569;
  --gray-800:      #1e293b;
  --success:       #22c55e;
  --danger:        #ef4444;
  --warning:       #f59e0b;

  --shadow-sm: 0 1px 2px rgba(1,56,97,0.05);
  --shadow-md: 0 4px 6px -1px rgba(1,56,97,0.1), 0 2px 4px -1px rgba(1,56,97,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(1,56,97,0.1), 0 4px 6px -2px rgba(1,56,97,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(1,56,97,0.1), 0 10px 10px -5px rgba(1,56,97,0.04);
  --radius:    8px;
  --radius-lg: 16px;
  --transition: 0.2s ease;
}

/* ── Reset ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: var(--white);
  color: var(--gray-800);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ── Container ─────────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9375rem;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary   { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-light); }
.btn-accent    { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-accent:hover { background: var(--accent-dark); }
.btn-outline   { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.btn-outline-white:hover { background: rgba(255,255,255,0.15); border-color: #fff; }
.btn-white     { background: #fff; color: var(--primary); }
.btn-white:hover { background: var(--gray-100); }
.btn-danger    { background: var(--danger); color: #fff; border-color: var(--danger); }
.btn-danger:hover { background: #dc2626; }
.btn-lg  { padding: 14px 32px; font-size: 1rem; }
.btn-sm  { padding: 8px 16px; font-size: 0.875rem; }
.btn-xs  { padding: 4px 12px; font-size: 0.8125rem; }
.btn-full { width: 100%; justify-content: center; }

/* ── Navbar ────────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .35s ease, border-color .35s ease, padding .25s ease, box-shadow .35s ease;
}
.navbar.scrolled {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 4px 24px rgba(0,0,0,.25);
}
/* Backdrop via ::after so it never creates a containing block for fixed children (mobile menu) */
.navbar.scrolled::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(1,56,97,0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: -1;
  pointer-events: none;
}
/* Top-gradient so navbar text is readable over bright hero images */
.navbar::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 130px;
  background: linear-gradient(to bottom, rgba(0,0,0,.45) 0%, transparent 100%);
  z-index: -1;
  pointer-events: none;
  transition: opacity .35s;
}
.navbar.scrolled::before { opacity: 0; }
.nav-inner { display: flex; align-items: center; gap: 32px; }
.nav-logo  { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 1.25rem; }
.nav-logo span { color: var(--accent); }
.logo-img { height: 36px; width: auto; display: block; object-fit: contain; }
.nav-links { display: flex; list-style: none; gap: 2px; margin-left: auto; }
.nav-mobile-lang { display: none; }
.nav-links > li > a {
  color: rgba(255,255,255,.92);
  padding: 7px 10px;
  border-radius: 6px;
  font-size: .875rem;
  font-weight: 500;
  transition: all var(--transition);
  display: flex; align-items: center; gap: .3rem;
  white-space: nowrap;
}
.nav-links > li > a:hover { color: #fff; background: rgba(255,255,255,.12); }

/* ── Dropdown menus ─────────────────────────────────────────── */
.nav-chevron { font-size: .6rem; transition: transform .2s; }
.nav-chevron-sm { font-size: .55rem; }
.nav-has-dropdown { position: relative; display: flex; flex-wrap: wrap; align-items: stretch; }
.nav-has-dropdown > a { flex: 1; }
.nav-dd-toggle {
  background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,.92); padding: 7px 10px 7px 2px;
  display: flex; align-items: center; transition: color .2s;
}
.nav-dd-toggle:hover { color: #fff; }
.nav-dropdown .nav-dd-toggle { color: #94a3b8; padding: 11px 16px 11px 16px; }
.nav-dropdown .nav-dd-toggle:hover { color: #013861; background: #f1f5f9; }
.nav-has-dropdown.dd-open > .nav-dd-toggle .nav-chevron,
.nav-has-dropdown.dd-open > .nav-dd-toggle .nav-chevron-sm { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute;
  top: 100%; left: -8px;
  margin-top: 6px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,.15), 0 2px 8px rgba(0,0,0,.08);
  border: 1px solid rgba(0,0,0,.07);
  min-width: 230px; max-width: 280px;
  list-style: none; padding: .35rem 0;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .18s, transform .18s, visibility .18s;
  z-index: 500;
}
/* Invisible bridge between nav item and dropdown to keep hover active */
.nav-has-dropdown::after {
  content: '';
  position: absolute;
  bottom: -8px; left: 0; right: 0; height: 8px;
}
.nav-has-dropdown.dd-open > .nav-dropdown {
  opacity: 1; visibility: visible; pointer-events: auto; transform: none;
}

/* Dropdown items */
.nav-dropdown > li > a {
  display: flex; align-items: center; gap: .5rem;
  padding: .5rem 1rem;
  color: #1e293b !important; font-size: .84rem; font-weight: 500;
  background: none !important; border-radius: 0;
  transition: background .12s, color .12s;
  white-space: nowrap;
}
.nav-dropdown > li > a:hover {
  background: #f1f5f9 !important;
  color: #013861 !important;
}
.nav-dropdown > li + li { border-top: 1px solid #f1f5f9; }

/* Sub-label (grey hint text) */
.nav-dd-sub-label {
  font-size: .72rem; color: #94a3b8; font-weight: 400;
  display: block; line-height: 1.2; margin-top: 1px;
}
.nav-dropdown > li > a { flex-direction: column; align-items: flex-start; }

/* Sub-dropdown (2nd + 3rd level) */
.nav-has-sub { position: relative; }
.nav-has-sub > .nav-dropdown {
  top: -.35rem; left: calc(100% + 2px);
}
/* nav-has-sub is also nav-has-dropdown — dd-open handles both levels */
.nav-actions { display: flex; align-items: center; gap: 8px; }
/* Buttons always readable on dark navbar (transparent or scrolled) */
.navbar .btn-outline {
  color: rgba(255,255,255,.92);
  border-color: rgba(255,255,255,.45);
  background: transparent;
}
.navbar .btn-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: #fff;
  color: #fff;
}
.navbar .btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.navbar .btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.lang-switcher { display: flex; gap: 2px; }
.lang-btn {
  font-size: .7rem; font-weight: 700; letter-spacing: .05em;
  padding: .25rem .5rem; border-radius: 4px;
  color: rgba(255,255,255,.85); transition: color var(--transition), background var(--transition);
}
.lang-btn:hover { color: #fff; background: rgba(255,255,255,.12); }
.lang-btn.active { color: #fff; background: rgba(0,168,232,.35); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: var(--transition); }
.nav-mobile-logo { display: none; }

/* ── Hero Carousel (identique à dukiwi-landing-v3.html) ────────── */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}
.hero-slide.active { opacity: 1; }
.hero-slide-bg {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
}
.hero-slide-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(1,56,97,0.7) 0%, rgba(1,56,97,0.4) 100%);
}
.hero-slide-content {
  position: absolute;
  top: 50%; left: 0; right: 0;
  transform: translateY(-50%);
  text-align: center;
  color: #fff;
  padding: 0 2rem;
}
.title-wrapper,
.subtitle-wrapper { overflow: hidden; padding: 10px 0; }
.hero-title {
  font-size: clamp(1.8rem, 5vw, 3.5rem);
  font-weight: 800;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-100vw);
  margin-bottom: 0;
}
.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 400;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(100vw);
}
.hero-subtitle .highlight { color: var(--accent); font-weight: 600; }

@keyframes slideFromLeft {
  0%   { opacity: 0; transform: translateX(-100vw); }
  5%   { opacity: 1; transform: translateX(-100vw); }
  10%  { transform: translateX(-2vw); }  /* arrive près du centre */
  85%  { opacity: 1; transform: translateX(2vw); }  /* dérive lentement vers la droite */
  95%  { opacity: 1; transform: translateX(100vw); }
  100% { opacity: 0; transform: translateX(100vw); }
}
@keyframes slideFromRight {
  0%   { opacity: 0; transform: translateX(100vw); }
  5%   { opacity: 1; transform: translateX(100vw); }
  10%  { transform: translateX(2vw); }   /* arrive près du centre */
  85%  { opacity: 1; transform: translateX(-2vw); } /* dérive lentement vers la gauche */
  95%  { opacity: 1; transform: translateX(-100vw); }
  100% { opacity: 0; transform: translateX(-100vw); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroProgress {
  from { width: 0%; }
  to   { width: 100%; }
}

.hero-slide.active .hero-title    { animation: slideFromLeft  6s linear forwards; }
.hero-slide.active .hero-subtitle { animation: slideFromRight 6s linear 0.15s forwards; }

.hero-cta-group {
  margin-top: 2.5rem;
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.5s forwards;
}
.btn-hero-primary {
  background: var(--white); color: var(--primary);
  padding: 1rem 2rem; border-radius: 10px; text-decoration: none;
  font-weight: 700; font-size: 1rem;
  display: inline-flex; align-items: center; gap: 0.6rem;
  transition: all 0.3s;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.btn-hero-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(0,0,0,0.3); }
.btn-hero-secondary {
  background: transparent; color: var(--white);
  padding: 1rem 2rem; border-radius: 10px; text-decoration: none;
  font-weight: 600; font-size: 1rem;
  border: 2px solid rgba(255,255,255,0.5);
  display: inline-flex; align-items: center; gap: 0.6rem;
  transition: all 0.3s;
}
.btn-hero-secondary:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

/* Dots */
.hero-nav-dots {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 12px; z-index: 10;
}
.hero-nav-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: rgba(255,255,255,0.4); cursor: pointer;
  transition: all 0.3s ease; border: 2px solid transparent;
}
.hero-nav-dot:hover { background: rgba(255,255,255,0.7); }
.hero-nav-dot.active { background: #fff; border-color: rgba(255,255,255,0.5); transform: scale(1.2); }

/* Arrows */
.hero-nav-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 50px; height: 50px;
  background: rgba(255,255,255,0.15); border: none; border-radius: 50%;
  cursor: pointer; z-index: 10;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s ease;
}
.hero-nav-arrow:hover { background: rgba(255,255,255,0.3); }
.hero-nav-arrow::before {
  content: ''; width: 12px; height: 12px;
  border-top: 3px solid white; border-right: 3px solid white;
}
.hero-nav-arrow.prev { left: 20px; }
.hero-nav-arrow.prev::before { transform: rotate(-135deg); margin-left: 5px; }
.hero-nav-arrow.next { right: 20px; }
.hero-nav-arrow.next::before { transform: rotate(45deg); margin-right: 5px; }

/* Progress bar — fixed at very top of page, above navbar */
.hero-progress-bar {
  position: fixed; top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #7dd3fc, var(--accent));
  background-size: 200% 100%;
  width: 0%; z-index: 102;
  border-radius: 0 2px 2px 0;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute; bottom: 60px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.6); font-size: 0.75rem; z-index: 10;
}
.mouse {
  width: 24px; height: 38px; border: 2px solid rgba(255,255,255,0.4); border-radius: 12px;
  display: flex; justify-content: center; padding-top: 6px;
}
.wheel {
  width: 4px; height: 8px; background: rgba(255,255,255,0.6); border-radius: 2px;
  animation: scrollWheel 1.5s ease-in-out infinite;
}
@keyframes scrollWheel {
  0%   { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(10px); opacity: 0; }
}

/* ── Partners / Technologies ──────────────────────────────────── */
.partners-section { background: var(--gray-50); }
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.partner-group {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 1.5rem;
}
.partner-group-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-400);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.partner-logos {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.partner-logo-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
}
.partner-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary);
}
.partner-note {
  font-size: 0.78rem;
  color: var(--gray-400);
}
.partner-group-oss { grid-column: 1 / -1; }
.partner-logos-oss {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.partner-oss-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.75rem;
  background: var(--gray-100);
  color: var(--gray-600);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid var(--gray-200);
}

/* ── Trust Bar ─────────────────────────────────────────────────── */
/* ── Tech strip (professional solutions logos) ─────────────────────── */
.tech-strip { background: #fff; padding: 2.5rem 0 2rem; border-bottom: 1px solid var(--gray-100); }
.tech-strip-title {
  text-align: center; font-size: .82rem; font-weight: 600;
  color: var(--gray-400); text-transform: uppercase; letter-spacing: .12em;
  margin: 0 0 1.5rem;
}
.tech-strip-logos {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(1.5rem, 5vw, 4rem); flex-wrap: wrap;
}
.tech-strip-logos img {
  height: 36px; width: auto; max-width: 160px; object-fit: contain;
  filter: grayscale(1) opacity(.55);
  transition: filter .25s ease, transform .25s ease;
}
.tech-strip-logos img:hover { filter: grayscale(0) opacity(1); transform: translateY(-2px); }
@media (max-width: 600px) {
  .tech-strip-logos { gap: 1.5rem 2rem; }
  .tech-strip-logos img { height: 28px; }
}

.trust-bar { background: var(--gray-100); border-bottom: 1px solid var(--gray-200); padding: 16px 0; }
.trust-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.trust-label { font-size: 0.8125rem; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.05em; white-space: nowrap; }
.trust-logos { display: flex; gap: 24px; flex-wrap: wrap; }
.trust-logo { display: flex; align-items: center; gap: 8px; color: var(--gray-600); font-size: 0.875rem; font-weight: 500; }
.trust-logo i { color: var(--primary-light); }

/* ── Sections ──────────────────────────────────────────────────── */
.section { padding: 96px 0; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(1,56,97,0.08); color: var(--primary-light);
  padding: 6px 16px; border-radius: 100px; font-size: 0.875rem; font-weight: 600; margin-bottom: 16px;
}
.section-header h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; color: var(--primary); margin-bottom: 16px; line-height: 1.2; }
.section-header p  { color: var(--gray-600); font-size: 1.0625rem; }

/* ── Pain Points ───────────────────────────────────────────────── */
.pain-section { background: var(--off-white); }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.pain-card {
  background: #fff; border-radius: var(--radius-lg); padding: 28px;
  border: 1px solid var(--gray-200); box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.pain-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pain-icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 16px;
}
.pain-card h3 { font-size: 1.125rem; font-weight: 700; color: var(--gray-800); margin-bottom: 8px; }
.pain-card p  { color: var(--gray-600); font-size: 0.9375rem; }

/* ── Solutions ─────────────────────────────────────────────────── */
.solutions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-bottom: 64px; }
.solution-card {
  background: #fff; border-radius: var(--radius-lg); padding: 32px;
  border: 2px solid var(--gray-200); box-shadow: var(--shadow-sm);
  position: relative; transition: all var(--transition);
  display: flex; flex-direction: column;
}
.solution-card:hover { border-color: var(--accent); box-shadow: var(--shadow-xl); transform: translateY(-4px); }
.solution-card.popular { border-color: var(--primary); background: linear-gradient(135deg, #fff 0%, #f0f7ff 100%); }
.popular-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff; padding: 4px 16px; border-radius: 100px; font-size: 0.8125rem; font-weight: 600; white-space: nowrap;
}
.solution-icon { width: 56px; height: 56px; background: rgba(1,56,97,0.08); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--primary); margin-bottom: 12px; }
.solution-tag { font-size: 0.8125rem; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 0.05em; }
.solution-card h3 { font-size: 1.25rem; font-weight: 700; color: var(--primary); margin: 8px 0; }
.solution-card p { color: var(--gray-600); margin-bottom: 16px; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 8px; flex: 1; margin-bottom: 24px; }
.feature-list li { display: flex; align-items: center; gap: 8px; font-size: 0.9375rem; color: var(--gray-700); }
.feature-list li i { color: var(--success); font-size: 0.875rem; }
.solution-footer { display: flex; flex-direction: column; align-items: stretch; gap: 12px; margin-top: auto; }
.solution-price { font-weight: 700; color: var(--primary); font-size: 1.05rem; }
.solution-footer .btn { width: 100%; justify-content: center; }
.extra-services { background: var(--gray-100); border-radius: var(--radius-lg); padding: 40px; }
.extra-services h3 { font-size: 1.375rem; font-weight: 700; color: var(--primary); margin-bottom: 24px; }
.extra-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.extra-item { display: flex; gap: 16px; }
.extra-item > i { font-size: 1.5rem; color: var(--accent); margin-top: 4px; flex-shrink: 0; }
.extra-item strong { display: block; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.extra-item p { color: var(--gray-600); font-size: 0.9rem; margin-bottom: 8px; }
.extra-item a { color: var(--accent); font-weight: 600; font-size: 0.875rem; }
.extra-item a:hover { text-decoration: underline; }

/* ── Stats ─────────────────────────────────────────────────────── */
.stats-section { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); padding: 64px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 32px; text-align: center; }
.stat-item { color: #fff; }
.stat-icon { font-size: 1.75rem; color: var(--accent); margin-bottom: 12px; }
.stat-value { font-size: 2.25rem; font-weight: 800; line-height: 1; margin-bottom: 4px; }
.stat-label { font-size: 0.9375rem; color: rgba(255,255,255,0.8); }

/* ── Testimonials ──────────────────────────────────────────────── */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }

/* ── Google Reviews Carousel (grc-*) ─────────────────────────── */
.grc { max-width: 920px; margin: 0 auto; }
.grc-header {
  display: flex; align-items: center; justify-content: center; gap: 1.5rem;
  margin-bottom: 1.5rem; padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--gray-200); flex-wrap: wrap;
}
.grc-google-logo { height: 26px; width: auto; }
.grc-rating-block { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.grc-stars-row { display: flex; align-items: center; gap: 4px; color: #f59e0b; font-size: 1.05rem; }
.grc-rating-num { color: var(--primary); font-size: 1.25rem; font-weight: 800; margin-left: 6px; }
.grc-rating-meta { font-size: .82rem; color: var(--gray-500); font-weight: 500; }
.grc-track-wrap { position: relative; }
.grc-track { position: relative; min-height: 320px; overflow: hidden; }
.grc-slide {
  position: absolute; inset: 0;
  background: #fff; border: 1px solid var(--gray-200); border-radius: 16px;
  padding: 2rem 2.25rem; box-shadow: 0 4px 24px rgba(1,56,97,.06);
  display: flex; flex-direction: column; gap: 1rem;
  opacity: 0; pointer-events: none; transform: translateX(20px);
  transition: opacity .35s ease, transform .35s ease;
}
.grc-slide.is-active { opacity: 1; pointer-events: auto; transform: none; }
.grc-quote-icon {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(0,168,232,.12); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.grc-text {
  flex: 1; font-size: 1rem; line-height: 1.65; color: var(--gray-700);
  font-style: italic; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden;
}
.grc-stars { color: #f59e0b; font-size: .9rem; display: flex; gap: 2px; }
.grc-author-row {
  display: flex; align-items: center; gap: .85rem;
  padding-top: .75rem; border-top: 1px solid var(--gray-100);
}
.grc-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: #f1f5f9; }
.grc-avatar-letter {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.1rem;
}
.grc-author-meta { display: flex; flex-direction: column; line-height: 1.3; }
.grc-author-meta strong { color: var(--primary); font-size: .95rem; font-weight: 700; }
.grc-author-meta span { color: var(--gray-500); font-size: .78rem; }
.grc-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 40px; height: 40px; border-radius: 50%;
  background: #fff; border: 1px solid var(--gray-200); color: var(--primary);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
  transition: background .15s, color .15s, transform .15s;
}
.grc-nav:hover { background: var(--primary); color: #fff; transform: translateY(-50%) scale(1.05); }
.grc-nav-prev { left: -10px; }
.grc-nav-next { right: -10px; }
.grc-nav i { font-size: .85rem; }
.grc-dots { display: flex; justify-content: center; gap: 6px; margin-top: 1.25rem; }
.grc-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gray-300); border: 0; cursor: pointer; padding: 0; transition: background .15s, transform .15s; }
.grc-dot.is-active { background: var(--accent); transform: scale(1.4); }
.grc-footer { text-align: center; margin-top: 1.25rem; }
.grc-google-link {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--gray-200); border-radius: 8px;
  padding: 9px 16px; color: var(--gray-700); text-decoration: none;
  font-size: .88rem; font-weight: 600; transition: all .15s;
}
.grc-google-link:hover { background: var(--gray-50); color: var(--primary); border-color: var(--primary); }
.grc-google-link i { color: #4285F4; font-size: 1rem; }
@media (max-width: 720px) {
  .grc-slide { padding: 1.5rem 1.25rem; }
  .grc-track { min-height: 380px; }
  .grc-nav { width: 34px; height: 34px; }
  .grc-nav-prev { left: 4px; }
  .grc-nav-next { right: 4px; }
  .grc-text { -webkit-line-clamp: 8; }
}
.testimonial-card {
  background: #fff; border-radius: var(--radius-lg); padding: 32px;
  border: 1px solid var(--gray-200); box-shadow: var(--shadow-sm);
}
.testimonial-stars { color: #f59e0b; margin-bottom: 16px; }
.testimonial-card blockquote { color: var(--gray-700); font-style: italic; margin-bottom: 24px; line-height: 1.7; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 0.875rem; }
.testimonial-author strong { display: block; font-weight: 700; color: var(--primary); }
.testimonial-author span { font-size: 0.875rem; color: var(--gray-400); }

/* ── CTA Section ───────────────────────────────────────────────── */
.cta-section { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%); padding: 96px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.cta-content { color: #fff; }
.cta-content h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; margin-bottom: 12px; }
.cta-content p  { color: rgba(255,255,255,0.8); font-size: 1.125rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── Footer ────────────────────────────────────────────────────── */
.footer { background: var(--primary-dark); color: rgba(255,255,255,0.7); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.6; max-width: 280px; }
.social-links { display: flex; gap: 8px; margin-top: 16px; }
.social-links a {
  width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.6);
  transition: all var(--transition);
}
.social-links a:hover { background: rgba(0,168,232,0.2); color: var(--accent); }
.footer-col h4 { color: #fff; font-weight: 700; margin-bottom: 16px; font-size: 0.9375rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col a { font-size: 0.9rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--accent); }
.contact-list { display: flex; flex-direction: column; gap: 10px; font-size: 0.9rem; }
.contact-list li { display: flex; align-items: flex-start; gap: 10px; }
.contact-list i { color: var(--accent); margin-top: 3px; flex-shrink: 0; }
.footer-sms {
  display: flex; align-items: center; justify-content: center; gap: 2rem;
  padding: 1.5rem 0 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap;
}
.footer-sms-link {
  display: inline-flex; align-items: center;
  background: #fff; border-radius: 8px;
  padding: 8px 14px;
  transition: transform .15s, box-shadow .15s;
}
.footer-sms-link:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.25); }
.footer-sms-link img { display: block; height: 40px; width: auto; }
@media (max-width: 600px) {
  .footer-sms { gap: 1rem; padding: 1.25rem 0 1rem; }
  .footer-sms-link img { height: 32px; }
}

.footer-bottom { padding-top: 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.875rem; }
.badges { display: flex; gap: 16px; }
.badges span { display: flex; align-items: center; gap: 6px; color: var(--gray-400); font-size: 0.8125rem; }

/* ── Page Hero ─────────────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #fff; padding: 120px 0 64px; text-align: center;
}
.page-hero-sm { padding: 80px 0 48px; }
.page-hero h1 { font-size: clamp(1.75rem, 4vw, 3rem); font-weight: 800; margin-bottom: 16px; }
.page-hero p  { color: rgba(255,255,255,0.8); font-size: 1.125rem; }
.page-hero small { display: block; font-size: 0.875em; color: var(--accent); font-weight: 600; margin-top: 4px; }
.trust-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 24px; }
.trust-pills span {
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  padding: 6px 16px; border-radius: 100px; font-size: 0.875rem; display: flex; align-items: center; gap: 6px;
}
.page-hero-success { background: linear-gradient(135deg, #1a4731 0%, #166534 100%); }
.page-hero-shop {
  background:
    linear-gradient(135deg, rgba(1,24,41,.85) 0%, rgba(2,90,158,.75) 100%),
    url('https://images.unsplash.com/photo-1556742049-0cfed4f6a45d?w=1920&auto=format&fit=crop') center/cover no-repeat;
}
.success-icon { font-size: 4rem; color: var(--success); margin-bottom: 16px; }
.order-recap {
  background: rgba(255,255,255,0.1); border-radius: var(--radius); padding: 20px 32px;
  display: inline-block; margin: 24px auto; text-align: left; min-width: 300px;
}
.order-recap-row { display: flex; justify-content: space-between; gap: 32px; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.order-recap-row:last-child { border: none; }

/* ── Shop ──────────────────────────────────────────────────────── */
.shop-container { display: grid; grid-template-columns: 1fr 300px; gap: 32px; padding: 48px 24px; max-width: 1200px; margin: 0 auto; align-items: start; }
.shop-products  { order: -1; }
.cart-sidebar {
  position: sticky; top: 100px;
  background: #fff; border-radius: var(--radius-lg); padding: 24px;
  border: 2px solid var(--gray-200); box-shadow: var(--shadow-md);
}
.cart-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.cart-header h3 { font-size: 1.125rem; font-weight: 700; color: var(--primary); }
.cart-count { background: var(--primary); color: #fff; width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8125rem; font-weight: 700; }
.cart-empty { color: var(--gray-400); font-size: 0.9rem; text-align: center; padding: 16px 0; }
.cart-item { display: flex; justify-content: space-between; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--gray-100); gap: 8px; }
.cart-item-name { font-size: 0.875rem; font-weight: 600; color: var(--gray-800); }
.cart-item-sub  { font-size: 0.8125rem; color: var(--gray-400); }
.cart-item-price { font-weight: 700; color: var(--primary); white-space: nowrap; }
.cart-item-remove { color: var(--danger); background: none; border: none; font-size: 0.875rem; cursor: pointer; }
.cart-footer { border-top: 2px solid var(--gray-200); padding-top: 16px; margin-top: 8px; }
.cart-total { display: flex; justify-content: space-between; margin-bottom: 4px; font-size: 1.0625rem; }
.cart-vat   { font-size: 0.8125rem; color: var(--gray-400); margin-bottom: 16px; }
.product-section { margin-bottom: 48px; }
.product-section-header { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.product-section-icon { width: 52px; height: 52px; background: rgba(1,56,97,0.08); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--primary); flex-shrink: 0; }
.product-section-header h2 { font-size: 1.5rem; font-weight: 700; color: var(--primary); }
.product-section-header p  { color: var(--gray-600); font-size: 0.9375rem; }
.cgv-link { margin-left: auto; color: var(--accent); font-size: 0.875rem; font-weight: 600; display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.cgv-link:hover { text-decoration: underline; }
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.product-card {
  background: #fff; border-radius: var(--radius-lg); padding: 24px;
  border: 2px solid var(--gray-200); box-shadow: var(--shadow-sm);
  position: relative; transition: all var(--transition);
  display: flex; flex-direction: column; gap: 12px;
}
.product-card:hover { border-color: var(--primary-light); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.product-icon { font-size: 2rem; color: var(--accent); }
.product-info h3 { font-size: 1rem; font-weight: 700; color: var(--primary); }
.product-subtitle { font-size: 0.8125rem; color: var(--accent); font-weight: 600; }
.product-info p  { font-size: 0.875rem; color: var(--gray-600); }
.product-features { list-style: none; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.product-features li { display: flex; align-items: center; gap: 6px; font-size: 0.8125rem; color: var(--gray-600); }
.product-features i { color: var(--success); font-size: 0.75rem; }
.product-footer { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.product-price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price-amount { font-size: 1.25rem; font-weight: 800; color: var(--primary); }
.price-amount.price-promo { color: #dc2626; }
.price-original { font-size: 0.9rem; font-weight: 500; color: var(--gray-400); text-decoration: line-through; }
.price-period { font-size: 0.8125rem; color: var(--gray-400); }
.promo-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: #dc2626; color: #fff; padding: 4px 16px; border-radius: 100px;
  font-size: 0.8125rem; font-weight: 600; white-space: nowrap;
}
.qty-control  { display: flex; align-items: center; gap: 0; }
.qty-btn { width: 32px; height: 32px; border: 1px solid var(--gray-200); background: var(--gray-100); color: var(--gray-800); font-size: 1.25rem; display: flex; align-items: center; justify-content: center; }
.qty-btn:first-child { border-radius: 6px 0 0 6px; }
.qty-btn:last-child  { border-radius: 0 6px 6px 0; }
.qty-input { width: 48px; height: 32px; border: 1px solid var(--gray-200); border-left: none; border-right: none; text-align: center; font-size: 0.9375rem; font-weight: 600; }
.btn-add { justify-content: center; }
/* Checkout */
.checkout-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 24px; }
.checkout-customer h3, .checkout-summary h3 { font-size: 1.125rem; font-weight: 700; color: var(--primary); margin-bottom: 16px; }
.summary-total { border-top: 1px solid var(--gray-200); margin-top: 12px; padding-top: 12px; }
.total-line { display: flex; justify-content: space-between; padding: 4px 0; }
.total-final { font-size: 1.125rem; font-weight: 700; border-top: 2px solid var(--gray-200); padding-top: 8px; margin-top: 4px; }
.secure-note { text-align: center; font-size: 0.8125rem; color: var(--gray-400); margin-top: 8px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.text-muted { color: var(--gray-400); }
.checkout-actions { text-align: center; }
.modal-wide { max-width: 720px; }
#summaryItems { display: flex; flex-direction: column; gap: 8px; }
.summary-item { display: flex; justify-content: space-between; font-size: 0.9rem; padding: 6px 0; border-bottom: 1px solid var(--gray-100); }
.cgv-checkbox { display: flex; align-items: flex-start; gap: 10px; padding: 10px; background: var(--gray-100); border-radius: var(--radius); margin-bottom: 8px; }
.cgv-checkbox input { margin-top: 3px; flex-shrink: 0; }
.cgv-checkbox label { font-size: 0.875rem; color: var(--gray-700); }

/* ── Shop layout toggle (mobile only) ─────────────────────────── */
.shop-layout-bar {
  display: none; /* visible via media query */
  align-items: center; justify-content: flex-end; gap: .6rem;
  margin-bottom: 1rem;
}
.shop-layout-label { font-size: .8rem; color: #64748b; }
.shop-layout-btns  { display: flex; gap: 4px; }
.shop-layout-btn {
  width: 34px; height: 34px; border: 1.5px solid #e2e8f0;
  background: #fff; border-radius: 7px; color: #94a3b8;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .2s;
}
.shop-layout-btn.active,
.shop-layout-btn[aria-pressed="true"] {
  background: var(--primary); border-color: var(--primary); color: #fff;
}

/* ── CGV Content ───────────────────────────────────────────────── */
.cgv-content, .legal-content { max-width: 800px; margin: 0 auto; }
.cgv-content h2, .legal-content h2 { font-size: 1.375rem; font-weight: 700; color: var(--primary); margin: 32px 0 12px; }
.cgv-content h2:first-child, .legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 1.05rem; font-weight: 700; color: #025a9e; margin: 20px 0 8px; }
.cgv-content p, .cgv-content li, .legal-content p, .legal-content li { color: var(--gray-700); line-height: 1.8; margin-bottom: 10px; }
.cgv-content ul, .legal-content ul { padding-left: 24px; margin-bottom: 16px; }
.legal-content a { color: var(--accent); text-decoration: underline; }
.legal-content a:hover { color: var(--primary); }
.legal-id { list-style: none; padding: 0; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px; padding: 16px 20px; }
.legal-id li { margin-bottom: 6px; }
.legal-id li:last-child { margin-bottom: 0; }
.legal-links { list-style: none; padding: 0; display: grid; gap: 8px; }
.legal-links li { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.legal-links a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; background: #f1f5f9; border-radius: 8px; color: var(--primary); text-decoration: none; transition: background .15s; flex: 1; min-width: 200px; }
.legal-links a:hover { background: #e2e8f0; }
.legal-links a.legal-pdf { flex: 0 0 auto; background: #013861; color: #fff; font-size: .85rem; }
.legal-links a.legal-pdf:hover { background: #025a9e; }
.legal-footer-note {
  margin-top: 40px; padding: 14px 18px;
  background: #eff6ff; color: #025a9e; border-radius: 10px;
  display: flex; align-items: center; gap: 10px; font-size: .9rem;
}
.cgv-table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; }
.cgv-table th { background: var(--primary); color: #fff; padding: 10px 16px; text-align: left; font-weight: 600; }
.cgv-table td { padding: 10px 16px; border-bottom: 1px solid var(--gray-200); }
.cgv-table tr:nth-child(even) td { background: var(--gray-100); }

/* ── Forms ─────────────────────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.875rem; font-weight: 600; color: var(--gray-700); }
.form-group input, .form-group select, .form-group textarea {
  padding: 10px 14px; border: 2px solid var(--gray-200); border-radius: var(--radius);
  font-size: 0.9375rem; color: var(--gray-800); background: #fff;
  transition: border-color var(--transition);
  width: 100%;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--primary-light);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-error { background: #fef2f2; color: var(--danger); border: 1px solid #fecaca; border-radius: var(--radius); padding: 12px 16px; font-size: 0.9rem; margin-bottom: 12px; }
.form-success { text-align: center; padding: 32px; }
.form-success i { font-size: 3rem; color: var(--success); margin-bottom: 12px; }
.form-success h3 { font-size: 1.375rem; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.form-help { display: block; font-size: 0.8125rem; color: var(--gray-400); margin-top: 4px; }
.form-help code { background: var(--gray-100); padding: 2px 6px; border-radius: 4px; font-family: 'JetBrains Mono', monospace; }

/* ── Modal ─────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(1,24,41,0.7); backdrop-filter: blur(4px);
  z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; pointer-events: none; transition: opacity var(--transition);
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal {
  background: #fff; border-radius: var(--radius-lg); padding: 40px; max-width: 560px; width: 100%;
  max-height: 90vh; overflow-y: auto; position: relative;
  transform: translateY(20px); transition: transform var(--transition);
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal-close {
  position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border-radius: 8px;
  border: 1px solid var(--gray-200); background: var(--gray-100); color: var(--gray-600);
  font-size: 1.25rem; display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.modal-close:hover { background: var(--danger); color: #fff; border-color: var(--danger); }
.modal-header { text-align: center; margin-bottom: 32px; }
.modal-icon {
  width: 64px; height: 64px; margin: 0 auto 16px;
  background: rgba(1,56,97,0.08); border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem; color: var(--primary);
}
.modal-header h2 { font-size: 1.5rem; font-weight: 800; color: var(--primary); margin-bottom: 6px; }
.modal-header p  { color: var(--gray-400); }
.modal-form { display: flex; flex-direction: column; gap: 16px; }

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .shop-container { grid-template-columns: 1fr; }
  .cart-sidebar   { display: none; } /* panier via modale mobile */
  .footer-grid    { grid-template-columns: 1fr 1fr; gap: 32px; }
  .checkout-grid  { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  /* Shop mobile */
  .shop-container { padding: 24px 16px; }
  .shop-layout-bar { display: flex; }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .products-grid.grid-1col { grid-template-columns: 1fr; }

  /* Carte compacte en mode 2-col */
  .products-grid:not(.grid-1col) .product-card { padding: 14px 12px; gap: 8px; }
  .products-grid:not(.grid-1col) .product-icon { font-size: 1.4rem; }
  .products-grid:not(.grid-1col) .product-info h3 { font-size: .875rem; }
  .products-grid:not(.grid-1col) .product-info p { display: none; }
  .products-grid:not(.grid-1col) .product-subtitle { font-size: .75rem; }
  .products-grid:not(.grid-1col) .price-amount { font-size: 1.05rem; }
  .products-grid:not(.grid-1col) .product-features { display: none; }
  .products-grid:not(.grid-1col) .qty-control { justify-content: center; }
  .products-grid:not(.grid-1col) .promo-badge { font-size: .7rem; padding: 3px 10px; }

  /* Section header mobile */
  .product-section-header { gap: 10px; margin-bottom: 14px; }
  .product-section-icon { width: 40px; height: 40px; font-size: 1.1rem; }
  .product-section-header h2 { font-size: 1.15rem; }
  .product-section-header p  { font-size: .825rem; }
  .cgv-link { font-size: .78rem; }
}
@media (max-width: 768px) {
  .nav-links {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: var(--primary-dark);
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 0; z-index: 200;
    padding: 5rem 0 5rem; overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links > li > a { font-size: 1.1rem; padding: 11px 24px; }
  .nav-dd-toggle { color: rgba(255,255,255,.85); padding: 11px 16px 11px 16px; }

  /* Mobile dropdowns — accordion */
  .nav-dropdown {
    position: static !important;
    flex-basis: 100%;
    opacity: 1 !important; visibility: hidden !important; pointer-events: none !important;
    transform: none !important;
    max-height: 0; overflow: hidden;
    background: rgba(0,0,0,.22);
    border-radius: 0; box-shadow: none; border: none;
    padding: 0; min-width: unset; max-width: unset;
    transition: max-height .3s ease, visibility .3s;
  }
  .nav-has-dropdown.mob-open > .nav-dropdown {
    visibility: visible !important; pointer-events: auto !important; max-height: 800px;
  }
  .nav-dropdown > li > a {
    color: rgba(255,255,255,.85) !important; font-size: 1rem !important;
    padding: 10px 24px 10px 2.5rem !important;
    flex-direction: row !important; align-items: center !important;
    border-top: 1px solid rgba(255,255,255,.06) !important;
    background: none !important;
  }
  .nav-dropdown > li > a:hover { background: rgba(255,255,255,.08) !important; color: #fff !important; }
  /* 2nd level indent */
  .nav-has-sub > .nav-dropdown > li > a { padding-left: 3.5rem !important; }
  /* 3rd level indent */
  .nav-has-sub .nav-has-sub > .nav-dropdown > li > a { padding-left: 4.5rem !important; }
  /* 4th level indent */
  .nav-has-sub .nav-has-sub .nav-has-sub > .nav-dropdown > li > a { padding-left: 5.5rem !important; }
  .nav-dd-sub-label { display: none; }
  .nav-chevron { transition: transform .2s; }
  .nav-has-dropdown.mob-open > .nav-dd-toggle .nav-chevron,
  .nav-has-dropdown.mob-open > .nav-dd-toggle .nav-chevron-sm { transform: rotate(180deg); }
  .nav-mobile-logo {
    display: block; position: fixed; bottom: 0; left: 0; right: 0;
    text-align: center; padding: 1rem 0 1.25rem;
    border-top: 1px solid rgba(255,255,255,.08);
    background: var(--primary-dark);
    z-index: 201;
  }
  .nav-mobile-logo a { padding: 0 !important; background: none !important; }
  .nav-mobile-logo img { opacity: 1; pointer-events: none; }
  /* Burger on the right */
  .nav-actions { margin-left: auto; }
  .lang-switcher { display: none; }
  .nav-mobile-lang {
    display: flex; gap: 12px; padding: 6px 0;justify-content: center;
  }
  .nav-mobile-lang .lang-btn {
    font-size: 1rem !important;
    padding: 8px 22px !important;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 6px;
    opacity: .65;
    background: none;
  }
  .nav-mobile-lang .lang-btn.active {
    opacity: 1;
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(0,168,232,.12);
  }
  li.nav-mobile-logo a {
        justify-content: center;
  }
  .nav-toggle { display: flex; z-index: 201; }
  .nav-actions .btn { display: none; }
  .nav-actions .btn:last-child { display: none; }  /* hide all buttons on mobile, burger only */
  .cta-inner     { flex-direction: column; text-align: center; }
  .footer-grid   { grid-template-columns: 1fr; }
  .form-row      { grid-template-columns: 1fr; }
  .solutions-grid { grid-template-columns: 1fr; }
  .modal-wide      { max-width: 100%; }
  .modal-overlay   { padding: 10px; }
  .modal           { padding: 20px; }
  /* Hero mobile */
  .hero-slide-content { left: 0 !important; right: 0 !important; padding: 0 1.25rem; }
  .hero-title    { font-size: clamp(1.2rem, 4vw, 2rem) !important; white-space: normal; }
  .hero-subtitle { font-size: clamp(0.85rem, 3vw, 1.1rem) !important; white-space: normal; }
  .hero-sep { display: block; line-height: 1; opacity: .45; font-size: .7em; margin: .1em 0; }
  .hero-nav-arrow { display: none; }
  .hero-nav-dots  { bottom: 20px; }
  .scroll-indicator { bottom: 60px; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section   { padding: 64px 0; }
}

/* ── Mobile Cart Button ─────────────────────────────────────── */
.mobile-cart-btn {
  display: none;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  color: white;
  font-size: 1.2rem;
  padding: 8px;
  margin-right: 4px;
}
.mobile-cart-count {
  position: absolute;
  top: 2px; right: 2px;
  background: var(--accent);
  color: white;
  font-size: 0.6rem;
  font-weight: 700;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}
@media (max-width: 768px) {
  .mobile-cart-btn { display: flex; align-items: center; }
}

/* ── Cookie banner & FAB ────────────────────────────────────── */
.cookie-banner {
  position: fixed; left: 50%; bottom: 1.5rem; transform: translateX(-50%) translateY(20px);
  z-index: 10000; width: min(680px, calc(100% - 2rem));
  background: #fff; color: #0f172a;
  border: 1px solid #e2e8f0; border-radius: 14px;
  box-shadow: 0 20px 60px rgba(1,56,97,.25);
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.cookie-banner.open { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.cookie-banner-inner {
  display: grid; grid-template-columns: 44px 1fr auto; gap: 1rem;
  align-items: center; padding: 1rem 1.25rem;
}
.cookie-banner-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, #013861, #025a9e);
  color: #00a8e8; display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.cookie-banner-body strong { display: block; font-size: .95rem; color: #013861; margin-bottom: .15rem; }
.cookie-banner-body p { font-size: .85rem; color: #475569; line-height: 1.5; margin: 0; }
.cookie-banner-actions { display: flex; gap: .5rem; flex-shrink: 0; }
.cookie-btn {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .55rem 1rem; border-radius: 8px;
  font-size: .85rem; font-weight: 600; cursor: pointer;
  border: 1px solid transparent; transition: all .15s;
}
.cookie-btn-primary { background: #013861; color: #fff; border-color: #013861; }
.cookie-btn-primary:hover { background: #025a9e; border-color: #025a9e; }
.cookie-btn-secondary { background: #f1f5f9; color: #475569; border-color: #e2e8f0; }
.cookie-btn-secondary:hover { background: #e2e8f0; }

@media (max-width: 600px) {
  .cookie-banner { bottom: 1rem; }
  .cookie-banner-inner { grid-template-columns: 1fr; padding: 1rem; gap: .75rem; text-align: left; }
  .cookie-banner-icon { display: none; }
  .cookie-banner-actions { justify-content: stretch; }
  .cookie-btn { flex: 1; justify-content: center; }
}

.cookie-fab {
  position: fixed; bottom: 1.5rem; left: 1.5rem; z-index: 9000;
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; color: #013861; border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(1,56,97,.18);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  font-size: 1.1rem; transition: transform .15s, box-shadow .15s, background .15s;
}
.cookie-fab:hover { background: #013861; color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(1,56,97,.35); }
@media (max-width: 480px) { .cookie-fab { left: 1rem; bottom: 1rem; width: 40px; height: 40px; } }

/* ── Support FAB (TeamViewer) ───────────────────────────────── */
.support-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem 1.15rem;
  background: #013861;
  color: #fff;
  border-radius: 2rem;
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(1,56,97,.35);
  transition: background .2s, transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.support-fab:hover {
  background: #025a9e;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(1,56,97,.45);
  color: #fff;
}
.support-fab i { font-size: .95rem; }
.support-fab-label { letter-spacing: .03em; }

@media (max-width: 480px) {
  .support-fab { padding: .65rem; border-radius: 50%; bottom: 1rem; right: 1rem; }
  .support-fab-label { display: none; }
}

/* ── Swiss flag icon (FA Pro replacement) ──────────────────────────────
   `fa-flag-switzerland` is a Pro-only Font Awesome icon. We replace it
   with an inline SVG so the existing markup `<i class="fa-solid fa-flag-switzerland">`
   keeps rendering on the free CDN.                                          */
.fa-flag-switzerland {
  display: inline-block;
  width: 1em; height: 1em;
  vertical-align: -.125em;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><rect width='32' height='32' fill='%23da291c'/><path d='M13 6h6v7h7v6h-7v7h-6v-7H6v-6h7z' fill='%23fff'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  border-radius: 2px;
}
/* Override Font Awesome's default ::before glyph so it doesn't render a missing-icon box */
.fa-flag-switzerland::before { content: ''; display: none; }
/* Allow some breathing room when used next to inline text */
.fa-flag-switzerland + * { margin-left: 4px; }
