/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue: #1565C0;
  --blue-dark: #0D47A1;
  --blue-light: #1976D2;
  --red: #D32F2F;
  --red-light: #EF5350;
  --white: #ffffff;
  --gray-50: #f8faff;
  --gray-100: #f1f5fe;
  --gray-200: #e3eaf8;
  --gray-600: #6b7a99;
  --gray-800: #1e2a45;
  --shadow-sm: 0 2px 8px rgba(21,101,192,0.08);
  --shadow-md: 0 8px 24px rgba(21,101,192,0.12);
  --shadow-lg: 0 20px 60px rgba(21,101,192,0.16);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: all 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--gray-800);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-primary:hover {
  background: var(--red-light);
  border-color: var(--red-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(211,47,47,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

/* ===== NAVBAR ===== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: var(--transition);
}
#navbar.scrolled {
  box-shadow: var(--shadow-md);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 32px;
}
.logo { flex-shrink: 0; display: flex; align-items: center; }
.logo img { height: 60px; width: auto; max-width: none; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  text-decoration: none;
  color: var(--gray-800);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transition: var(--transition);
}
.nav-links a:hover { color: var(--blue); }
.nav-links a:hover::after { transform: scaleX(1); }
/* Boutons CTA mobile (dans nav-links) — cachés sur desktop */
.nav-mobile-ctas {
  display: none;
}
.nav-ctas {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-ctas .btn { padding: 10px 20px; font-size: 0.88rem; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-800);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO ===== */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  overflow: hidden;
  background: linear-gradient(135deg, #e8f0fe 0%, #f8faff 50%, #fce8e8 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(21,101,192,0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(211,47,47,0.05) 0%, transparent 60%);
}
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 24px;
  position: relative;
  z-index: 1;
}
.hero-text .badge {
  display: inline-block;
  background: rgba(21,101,192,0.1);
  color: var(--blue);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero-text h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--gray-800);
  margin-bottom: 20px;
}
.hero-text h1 .highlight { color: var(--blue); }
.hero-text p {
  font-size: 1.1rem;
  color: var(--gray-600);
  margin-bottom: 32px;
  max-width: 480px;
}
.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.hero-trust {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
}
.trust-item i { color: #22c55e; font-size: 1rem; }

/* Hero visual */
.hero-visual {
  position: relative;
  height: 560px;
}
.hero-map {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Wrapper = même ratio que carte.png (≈ 400×600 → ratio 2:3) */
.map-wrapper {
  position: relative;
  height: 500px;
  width: auto;
  display: inline-block;
}
.map-img {
  height: 100%;
  width: auto;
  display: block;
  opacity: 0.88;
  filter: drop-shadow(0 8px 32px rgba(21,101,192,0.25));
}

/* ── Pins positionnés en % du wrapper (= % de l'image) ── */
.map-pin {
  position: absolute;
  color: var(--red);
  font-size: 1.4rem;
  animation: bounce 2s ease-in-out infinite;
  filter: drop-shadow(0 3px 6px rgba(211,47,47,0.6));
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  z-index: 2;
}

/*
  Calibration exacte sur carte.png (525×1066 px naturels, rendu 246×500px)
  Pointe du fa-map-marker-alt = bas de l'icône (≈4.5% de hauteur icon/wrapper)
  → top = position_ville_% - 4.5%

  Tunis  : dot naturel x=280/525=53.3%  y=237/1066=22.2% → top=17.7%≈18%
  Sousse : dot naturel x=265/525=50.5%  y=472/1066=44.3% → top=39.8%≈40%
  Sfax   : dot naturel x=293/525=55.8%  y=626/1066=58.7% → top=54.2%≈54%
*/
.pin-1 { left: 53.3%; top: 5%;   animation-delay: 0s; }    /* Tunis     */
.pin-2 { left: 60.5%; top: 18%;  animation-delay: 0.7s; }  /* Sousse    */
.pin-3 { left: 55.8%; top: 33%;  animation-delay: 1.4s; }  /* Sfax      */
.pin-4 { left: 41%;   top: -4%;  animation-delay: 0.3s; }  /* Bizerte   */
.pin-5 { left: 18%;   top: 3%;   animation-delay: 1.0s; }  /* Jendouba  */
.pin-6 { left: 22%;   top: 32%;  animation-delay: 1.7s; }  /* Gafsa     */
.pin-7 { left: 60%;   top: 47%;  animation-delay: 2.1s; }  /* Médenine  */

.pin-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--red);
  background: rgba(255,255,255,0.95);
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
  letter-spacing: 0.3px;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  z-index: 2;
  animation: floatCard 4s ease-in-out infinite;
}
.hero-card i {
  font-size: 1.8rem;
  color: var(--blue);
}
.hero-card strong { display: block; font-size: 0.9rem; font-weight: 600; }
.hero-card span { font-size: 0.8rem; color: var(--gray-600); }
.hero-card .status {
  margin-left: auto;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}
.status.delivered { background: #d1fae5; color: #065f46; }
.status.transit { background: #fef3c7; color: #92400e; }
.card-1 { top: -10%; right: 0; animation-delay: 0s; }
.card-2 { bottom: 15%; right: 5%; animation-delay: 2s; }
@keyframes floatCard {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}
.hero-wave {
  position: absolute;
  bottom: 0; left: 0; right: 0;
}
.hero-wave svg { display: block; }

/* ===== STATS ===== */
#stats {
  background: var(--gray-50);
  padding: 60px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-item {
  padding: 32px 16px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.stat-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stat-num {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
}
.stat-suffix { font-size: 2rem; font-weight: 800; color: var(--red); }
.stat-item p {
  margin-top: 8px;
  color: var(--gray-600);
  font-size: 0.95rem;
  font-weight: 500;
}

/* ===== SECTION HEADERS ===== */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-badge {
  display: inline-block;
  background: rgba(21,101,192,0.1);
  color: var(--blue);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--gray-800);
  margin-bottom: 12px;
}
.section-header p {
  color: var(--gray-600);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ===== SERVICES ===== */
#services { padding: 100px 0; background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 36px;
  border: 2px solid transparent;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--blue);
  transform: scaleY(0);
  transition: var(--transition);
}
.service-card:hover { border-color: var(--blue); background: var(--white); box-shadow: var(--shadow-md); }
.service-card:hover::before { transform: scaleY(1); }
.service-card.featured {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: var(--white);
  border-color: transparent;
}
.service-card.featured::before { background: var(--red); transform: scaleY(1); }
.service-card.featured h3,
.service-card.featured p,
.service-card.featured li { color: var(--white) !important; }
.service-card.featured .service-icon { background: rgba(255,255,255,0.2) !important; color: var(--white) !important; }
.ribbon {
  position: absolute;
  top: 20px; right: -30px;
  background: var(--red);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 40px;
  transform: rotate(45deg);
}
.service-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.service-icon.blue { background: rgba(21,101,192,0.12); color: var(--blue); }
.service-icon.red { background: rgba(211,47,47,0.1); color: var(--red); }
.service-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; }
.service-card > p { color: var(--gray-600); font-size: 0.95rem; margin-bottom: 20px; }
.service-card ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.service-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--gray-600);
}
.service-card li i { color: #22c55e; font-size: 0.85rem; }

/* ===== HOW IT WORKS ===== */
#how { padding: 100px 0; background: var(--gray-50); }
.steps-wrapper { position: relative; }
.steps-line {
  position: absolute;
  top: 52px;
  left: calc(12.5% + 1px);
  right: calc(12.5% + 1px);
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--red));
  z-index: 0;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}
.step { text-align: center; }
.step-num {
  width: 40px;
  height: 40px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  margin: 0 auto 12px;
  position: relative;
  z-index: 2;
}
.step-icon {
  width: 80px;
  height: 80px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--blue);
  margin: 0 auto 20px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}
.step:hover .step-icon {
  background: var(--blue);
  color: var(--white);
  transform: scale(1.1);
}
.step h4 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.step p { color: var(--gray-600); font-size: 0.9rem; }

/* ===== TRACKING ===== */
#tracking {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
}
.tracking-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.tracking-text .section-badge {
  background: rgba(255,255,255,0.2);
  color: var(--white);
}
.tracking-text h2 { color: var(--white); margin-bottom: 12px; }
.tracking-text > p { color: rgba(255,255,255,0.8); margin-bottom: 28px; }
.tracking-form {
  display: flex;
  gap: 12px;
  background: rgba(255,255,255,0.12);
  padding: 8px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.2);
  max-width: 480px;
}
.tracking-form input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  padding: 8px 16px;
}
.tracking-form input::placeholder { color: rgba(255,255,255,0.6); }
.track-result {
  margin-top: 16px;
  padding: 16px 20px;
  background: rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 0.9rem;
  border: 1px solid rgba(255,255,255,0.3);
}
.track-result.hidden { display: none; }

/* Track steps */
.track-steps { display: flex; flex-direction: column; gap: 0; }
.track-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  position: relative;
  padding-bottom: 28px;
}
.track-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 38px;
  bottom: 0;
  width: 2px;
  background: rgba(255,255,255,0.2);
}
.track-step.done::before { background: rgba(255,255,255,0.5); }
.ts-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.5);
  border: 2px solid rgba(255,255,255,0.2);
}
.track-step.done .ts-dot {
  background: #22c55e;
  color: var(--white);
  border-color: #22c55e;
}
.track-step.active .ts-dot {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  box-shadow: 0 0 0 6px rgba(211,47,47,0.2);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(211,47,47,0.2); }
  50% { box-shadow: 0 0 0 12px rgba(211,47,47,0.05); }
}
.ts-info strong { display: block; color: var(--white); font-size: 0.95rem; }
.ts-info span { color: rgba(255,255,255,0.65); font-size: 0.82rem; }

/* ===== TESTIMONIALS ===== */
#testimonials { padding: 100px 0; background: var(--white); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testi-card {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 32px;
  border: 2px solid transparent;
  transition: var(--transition);
}
.testi-card:hover { border-color: var(--blue); box-shadow: var(--shadow-md); }
.testi-card.featured {
  background: var(--white);
  border-color: var(--blue);
  box-shadow: var(--shadow-lg);
}
.stars { color: #f59e0b; font-size: 1.2rem; margin-bottom: 16px; }
.testi-card > p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}
.testi-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.author-avatar.blue { background: linear-gradient(135deg, var(--red), #b71c1c); }
.testi-author strong { display: block; font-size: 0.9rem; }
.testi-author span { color: var(--gray-600); font-size: 0.8rem; }

/* ===== PRICING ===== */
#pricing { padding: 100px 0; background: var(--gray-50); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}
.pricing-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  border: 2px solid var(--gray-200);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.pricing-card:hover { border-color: var(--blue); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.pricing-card.featured {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  border-color: transparent;
  transform: scale(1.04);
}
.pricing-card.featured:hover { transform: scale(1.04) translateY(-4px); }
.pricing-card.featured h3,
.pricing-card.featured p,
.pricing-card.featured .price,
.pricing-card.featured li { color: var(--white) !important; }
.pricing-card.featured .price span { color: rgba(255,255,255,0.7) !important; }
.pricing-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 16px; color: var(--gray-600); text-transform: uppercase; letter-spacing: 1px; }
.price { font-size: 2.8rem; font-weight: 800; color: var(--gray-800); line-height: 1; margin-bottom: 8px; }
.price span { font-size: 1rem; font-weight: 500; color: var(--gray-600); }
.pricing-card > p { color: var(--gray-600); font-size: 0.9rem; margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--gray-200); }
.pricing-card.featured > p { border-color: rgba(255,255,255,0.2); }
.pricing-card ul { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.pricing-card li { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; color: var(--gray-600); }
.pricing-card li i { color: #22c55e; }
.pricing-card.featured li i { color: #86efac; }

/* ===== CONTACT ===== */
#contact { padding: 100px 0; background: var(--white); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 12px; }
.contact-info > p { color: var(--gray-600); margin-bottom: 36px; }
.contact-items { display: flex; flex-direction: column; gap: 20px; margin-bottom: 36px; }
.contact-item { display: flex; align-items: center; gap: 16px; }
.ci-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(21,101,192,0.1);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-item strong { display: block; font-size: 0.9rem; font-weight: 600; }
.contact-item span { color: var(--gray-600); font-size: 0.9rem; }
.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1rem;
  transition: var(--transition);
}
.social-links a:hover { background: var(--blue); color: var(--white); transform: translateY(-3px); }

/* Contact form */
.contact-form {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 40px;
  border: 1px solid var(--gray-200);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 0.875rem; font-weight: 600; color: var(--gray-800); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
  background: var(--white);
  color: var(--gray-800);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(21,101,192,0.1);
}
.form-group textarea { resize: vertical; }

/* ===== FOOTER ===== */
footer {
  background: var(--gray-800);
  color: rgba(255,255,255,0.8);
  padding: 70px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo { height: 48px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; color: rgba(255,255,255,0.6); margin-bottom: 20px; }
.footer-badges { display: flex; flex-direction: column; gap: 8px; }
.footer-badges span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}
.footer-badges i { color: var(--red); }
.footer-links h4 { color: var(--white); font-size: 0.95rem; font-weight: 700; margin-bottom: 20px; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  text-decoration: none;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--white); padding-left: 6px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { font-size: 0.85rem; color: rgba(255,255,255,0.5); }

/* ===== FLOATING ELEMENTS ===== */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
  z-index: 999;
  transition: var(--transition);
  animation: pulse-wa 3s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); }
@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 8px 24px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 8px 32px rgba(37,211,102,0.7); }
}
.back-to-top {
  position: fixed;
  bottom: 110px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.9rem;
  box-shadow: var(--shadow-md);
  z-index: 999;
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}
.back-to-top.visible { opacity: 1; pointer-events: all; transform: translateY(0); }
.back-to-top:hover { background: var(--blue-dark); transform: translateY(-3px); }

/* ===== ANIMATIONS AOS (sections sous le fold) ===== */
[data-aos] { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
[data-aos].aos-animate { opacity: 1; transform: translateY(0); }

/* ===== HERO : animations CSS directes (pas d'IntersectionObserver) ===== */
.hero-animate-left {
  animation: slideInLeft 0.9s cubic-bezier(0.22,1,0.36,1) both;
}
.hero-animate-right {
  animation: slideInRight 0.9s cubic-bezier(0.22,1,0.36,1) 0.2s both;
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(50px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-ctas { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    background: var(--white);
    padding: 24px;
    gap: 20px;
    border-top: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
  }
  /* Afficher les CTAs dans le menu mobile ouvert */
  .nav-mobile-ctas {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    padding-top: 8px;
    border-top: 1px solid var(--gray-200);
    margin-top: 4px;
  }
  .nav-mobile-ctas .btn {
    text-align: center;
    width: 100%;
    padding: 12px 20px;
  }
  .hamburger { display: flex; }

  /* ── Hero mobile : tout compact pour que carte soit visible ── */
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 20px 20px 16px;
    gap: 16px;
  }
  .hero-text .badge { margin-bottom: 10px; font-size: 0.78rem; padding: 4px 12px; }
  .hero-text h1 { font-size: 1.75rem; margin-bottom: 10px; line-height: 1.25; }
  .hero-text p { font-size: 0.9rem; margin-bottom: 16px; }
  .hero-btns { gap: 10px; margin-bottom: 14px; }
  .btn-lg { padding: 12px 24px; font-size: 0.9rem; }
  .hero-trust { gap: 10px; flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .trust-item { font-size: 0.78rem; }
  .hero-visual { height: 310px; }
  .map-wrapper { height: 270px; }
  .map-pin { font-size: 1rem; }
  .pin-label { font-size: 0.56rem; padding: 1px 4px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .services-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-line { display: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .tracking-inner { grid-template-columns: 1fr; gap: 48px; }
  .tracking-form {
    flex-direction: column;
    border-radius: 16px;
    padding: 12px;
    gap: 8px;
    max-width: 100%;
  }
  .tracking-form input {
    padding: 8px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255,255,255,0.25);
  }
  .tracking-form .btn {
    width: 100%;
    justify-content: center;
    border-radius: 50px;
  }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom .container { flex-direction: column; gap: 8px; text-align: center; }
  .form-row { grid-template-columns: 1fr; }

  .card-1, .card-2 { display: none; }
  #hero { min-height: auto; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
  .hero-text h1 { font-size: 1.55rem; }
  .hero-btns { flex-direction: column; align-items: center; gap: 8px; }
  .hero-visual { height: 280px; }
  .map-wrapper { height: 245px; }
  .map-pin { font-size: 0.95rem; gap: 1px; }
  .pin-label { font-size: 0.52rem; padding: 1px 4px; }
  .whatsapp-float { bottom: 24px; right: 24px; }
  .back-to-top { bottom: 96px; right: 24px; }
}
