/* ==========================================================================
   DirectRencontre.top - Design System
   Modern, performant, conversion-focused CSS
   ========================================================================== */

/* Variables CSS */
:root {
  /* Couleurs principales */
  --primary: #E91E63;
  --primary-dark: #C2185B;
  --primary-light: #F48FB1;
  --secondary: #212121;
  --secondary-light: #424242;
  --accent: #FF4081;

  /* Neutres */
  --white: #FFFFFF;
  --gray-50: #FAFAFA;
  --gray-100: #F5F5F5;
  --gray-200: #EEEEEE;
  --gray-300: #E0E0E0;
  --gray-700: #616161;
  --gray-900: #212121;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #E91E63 0%, #C2185B 100%);
  --gradient-hero: linear-gradient(135deg, #E91E63 0%, #9C27B0 100%);
  --gradient-card: linear-gradient(135deg, rgba(233, 30, 99, 0.1) 0%, rgba(156, 39, 176, 0.1) 100%);

  /* Espacements - Responsive fluid scaling (mobile → desktop) */
  /* Fluid XS: 6px → 8px */
  --spacing-xs: clamp(0.375rem, 1.5vw + 0.125rem, 0.5rem);
  /* Fluid SM: 12px → 16px */
  --spacing-sm: clamp(0.75rem, 2.5vw + 0.25rem, 1rem);
  /* Fluid MD: 16px → 24px */
  --spacing-md: clamp(1rem, 3vw + 0.5rem, 1.5rem);
  /* Fluid LG: 20px → 32px */
  --spacing-lg: clamp(1.25rem, 4vw + 0.5rem, 2rem);
  /* Fluid XL: 24px → 48px */
  --spacing-xl: clamp(1.5rem, 5vw + 0.75rem, 3rem);
  /* Fluid XXL: 32px → 64px */
  --spacing-xxl: clamp(2rem, 6vw + 1rem, 4rem);

  /* Typographie - Responsive fluid scaling (mobile → desktop) */
  --font-system: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  /* Fluid base: 15px mobile → 16px desktop */
  --font-size-base: clamp(0.9375rem, 2vw + 0.5rem, 1rem);
  /* Fluid small: 13px → 14px */
  --font-size-sm: clamp(0.8125rem, 2vw + 0.4rem, 0.875rem);
  /* Fluid large: 16px → 18px */
  --font-size-lg: clamp(1rem, 2.5vw + 0.5rem, 1.125rem);
  /* Fluid XL: 18px → 24px */
  --font-size-xl: clamp(1.125rem, 3vw + 0.75rem, 1.5rem);
  /* Fluid 2XL: 22px → 32px */
  --font-size-2xl: clamp(1.375rem, 4vw + 0.875rem, 2rem);
  /* Fluid 3XL: 26px → 48px */
  --font-size-3xl: clamp(1.625rem, 5vw + 1rem, 3rem);

  /* Autres */
  --border-radius: 12px;
  --border-radius-sm: 8px;
  --border-radius-lg: 20px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --box-shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: var(--font-size-base);
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-system);
  line-height: 1.6;
  color: var(--secondary);
  background: var(--gray-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

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

/* Header */
.header {
  background: var(--white);
  box-shadow: var(--box-shadow);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: var(--spacing-md) 0;
  transition: padding 0.3s ease, box-shadow 0.3s ease;
}

/* Header scrolled state */
.header--scrolled {
  padding: var(--spacing-sm) 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ==========================================================================
   Logo optimisé - Niveau 1.75 ULTRA
   ========================================================================== */

.header__logo {
  /* Layout & Spacing */
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--border-radius-sm);

  /* Typography - Responsive avec clamp() */
  font-size: clamp(1.25rem, 4vw, 1.5rem);
  font-weight: 700;
  line-height: 1;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  /* Gradient vibrant avec fallback */
  color: var(--primary);
  background: linear-gradient(135deg, #E91E63 0%, #F06292 50%, #C2185B 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -moz-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;

  /* Subtle shadow pour depth */
  filter: drop-shadow(0 1px 2px rgba(233, 30, 99, 0.1));

  /* Interactivité - Transitions séparées pour meilleur contrôle */
  transition:
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    filter 0.3s ease,
    background-position 0.6s ease,
    box-shadow 0.3s ease;
  cursor: pointer;

  /* Performance - GPU acceleration */
  transform: translateZ(0);
  will-change: transform;
}

/* Hover - Multi-layer effect */
.header__logo:hover {
  transform: translateY(-2px) scale(1.03);
  filter:
    drop-shadow(0 2px 4px rgba(233, 30, 99, 0.2))
    brightness(1.1);
  background-position: 100% 100%;
  box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.05);
}

/* Active - Tactile feedback */
.header__logo:active {
  transform: translateY(0) scale(0.97);
  filter: drop-shadow(0 0 1px rgba(233, 30, 99, 0.15));
  transition-duration: 0.1s;
}

/* Focus - Accessibility keyboard navigation */
.header__logo:focus {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(233, 30, 99, 0.15),
    0 0 0 5px rgba(233, 30, 99, 0.05);
}

.header__logo:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

/* Logo Icon - Heart avec animation naturelle */
.header__logo-icon {
  font-size: 1.25em;
  display: inline-block;
  transform-origin: center;
  animation: pulse-heart 3s ease-in-out infinite;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

@keyframes pulse-heart {
  0%, 100% {
    transform: scale(1);
  }
  14% {
    transform: scale(1.15);
  }
  28% {
    transform: scale(1);
  }
  42% {
    transform: scale(1.1);
  }
  56% {
    transform: scale(1);
  }
}

.header__logo:hover .header__logo-icon {
  animation: pulse-heart-fast 0.8s ease-in-out infinite;
}

@keyframes pulse-heart-fast {
  0%, 100% {
    transform: scale(1) rotate(0deg);
  }
  25% {
    transform: scale(1.2) rotate(-5deg);
  }
  75% {
    transform: scale(1.2) rotate(5deg);
  }
}

/* Logo Text - Gradient animé subtil */
.header__logo-text {
  background: linear-gradient(135deg, #E91E63 0%, #F06292 50%, #C2185B 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -moz-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: background-position 0.6s ease;
}

.header__logo:hover .header__logo-text {
  background-position: 100% 100%;
}

/* Logo compact au scroll - Class ajoutée via JS */
.header--scrolled .header__logo {
  font-size: clamp(1.1rem, 3.5vw, 1.3rem);
  padding: 0.35rem 0.6rem;
  gap: 0.3rem;
}

.header--scrolled .header__logo-icon {
  font-size: 1.1em;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  .header__logo,
  .header__logo-text {
    color: var(--primary);
    background: none;
    -webkit-text-fill-color: currentColor;
    filter: none;
  }
}

/* Reduced Motion Support - Respect user preferences */
@media (prefers-reduced-motion: reduce) {
  .header__logo {
    transition: none;
    animation: none;
  }

  .header__logo-icon {
    animation: none;
  }

  .header__logo:hover {
    transform: none;
    filter: brightness(1.1);
  }
}

/* Mobile - Tap target optimization */
@media (max-width: 768px) {
  .header__logo {
    padding: 0.6rem 0.8rem;
    min-height: 44px; /* iOS minimum tap target */
    min-width: 44px;
  }
}

/* Hamburger Toggle - Mobile only */
.header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  z-index: 101;
  transition: var(--transition);
}

.header__toggle-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--secondary);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  border-radius: 2px;
}

/* Animation hamburger → X */
.header__toggle[aria-expanded="true"] .header__toggle-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.header__toggle[aria-expanded="true"] .header__toggle-line:nth-child(2) {
  opacity: 0;
}

.header__toggle[aria-expanded="true"] .header__toggle-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Navigation Desktop */
.header__nav-list {
  display: flex;
  gap: var(--spacing-md);
  list-style: none;
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  padding: var(--spacing-xl) 0;

  /* Image de fond avec fallback */
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.4) 100%),
    url('../images/hero/variation_2_lifestyle.jpg') center center / cover no-repeat;

  /* Fallback pour navigateurs qui ne supportent pas WebP */
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.4) 100%),
    url('../images/hero/variation_2_lifestyle.webp') center center / cover no-repeat;
}

/* Overlay gradient uniforme pour la lisibilité centrée */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0.5) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* Overlay supplémentaire pour renforcer le contraste en haut et bas */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.4) 0%,
    transparent 30%,
    transparent 70%,
    rgba(0, 0, 0, 0.4) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  width: 100%;
  text-align: center;

  /* Fond semi-transparent derrière le texte pour renforcer la lisibilité */
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.15) 100%
  );
  padding: var(--spacing-lg) var(--spacing-xl);
  border-radius: var(--border-radius-lg);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);

  /* Animation subtile au chargement */
  animation: fadeInUp 0.8s ease-out;
}

.hero__title {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  margin-bottom: var(--spacing-md);
  line-height: 1.2;
  text-shadow:
    2px 2px 4px rgba(0, 0, 0, 0.8),
    0 0 20px rgba(0, 0, 0, 0.5);
}

.hero__subtitle {
  font-size: var(--font-size-xl);
  margin-bottom: var(--spacing-xl);
  font-weight: 300;
  line-height: 1.4;
  text-shadow:
    1px 1px 3px rgba(0, 0, 0, 0.8),
    0 0 15px rgba(0, 0, 0, 0.5);
}

/* Animation au chargement */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   BUTTONS CTA - ULTRA PREMIUM CONVERSION-FOCUSED DESIGN
   Version 2.0 - Optimized for maximum click-through rate
   ========================================================================== */

/* Base Button - Foundation commune */
.btn {
  /* Layout & Spacing */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
  padding: 1rem 2rem;

  /* Typography */
  font-family: var(--font-system);
  font-size: var(--font-size-lg);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.3px;
  white-space: nowrap;

  /* Visual Design */
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;

  /* Transitions - Séparées pour meilleur contrôle */
  transition:
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    background 0.3s ease,
    color 0.3s ease;

  /* Performance - GPU acceleration */
  transform: translateZ(0);
  will-change: transform;

  /* Accessibility */
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

/* Primary Button - Maximum Impact (Hero CTA) */
.btn--primary {
  /* Gradient blanc brillant avec subtle pink tint */
  background: linear-gradient(135deg, #FFFFFF 0%, #FFF5F8 100%);
  color: var(--primary);

  /* Shadow stack - Profondeur 3D */
  box-shadow:
    0 4px 14px rgba(233, 30, 99, 0.25),
    0 2px 6px rgba(0, 0, 0, 0.08),
    inset 0 -2px 8px rgba(233, 30, 99, 0.08);

  /* Border subtil pour définition */
  border: 1px solid rgba(233, 30, 99, 0.15);
}

.btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(233, 30, 99, 0.08) 0%, rgba(255, 64, 129, 0.12) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.btn--primary:hover {
  transform: translateY(-3px) scale(1.02);
  color: var(--primary-dark);

  /* Enhanced shadow - Effet "floating" */
  box-shadow:
    0 12px 28px rgba(233, 30, 99, 0.35),
    0 6px 12px rgba(0, 0, 0, 0.12),
    inset 0 -2px 12px rgba(233, 30, 99, 0.12),
    0 0 0 4px rgba(233, 30, 99, 0.08);
}

.btn--primary:hover::before {
  opacity: 1;
}

.btn--primary:active {
  transform: translateY(-1px) scale(0.98);
  box-shadow:
    0 6px 16px rgba(233, 30, 99, 0.3),
    0 2px 6px rgba(0, 0, 0, 0.1),
    inset 0 2px 8px rgba(233, 30, 99, 0.15);
  transition-duration: 0.1s;
}

/* Secondary Button - Gradient Premium */
.btn--secondary {
  /* Gradient animé multi-étapes */
  background: linear-gradient(135deg,
    #E91E63 0%,
    #F06292 25%,
    #EC407A 50%,
    #E91E63 75%,
    #C2185B 100%
  );
  background-size: 200% 200%;
  background-position: 0% 50%;
  color: var(--white);

  /* Shadow avec teinte gradient */
  box-shadow:
    0 4px 14px rgba(233, 30, 99, 0.4),
    0 2px 6px rgba(156, 39, 176, 0.2),
    inset 0 1px 2px rgba(255, 255, 255, 0.2);
}

.btn--secondary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.2) 0%,
    transparent 50%,
    rgba(255, 255, 255, 0.1) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.btn--secondary:hover {
  transform: translateY(-3px) scale(1.02);
  background-position: 100% 50%;
  color: var(--white); /* Force white text on hover */

  /* Glow effect intense */
  box-shadow:
    0 12px 32px rgba(233, 30, 99, 0.5),
    0 6px 16px rgba(156, 39, 176, 0.3),
    inset 0 1px 3px rgba(255, 255, 255, 0.3),
    0 0 0 4px rgba(233, 30, 99, 0.15);
}

.btn--secondary:hover::before {
  opacity: 1;
}

.btn--secondary:active {
  transform: translateY(-1px) scale(0.98);
  color: var(--white); /* Force white text on active */
  box-shadow:
    0 6px 20px rgba(233, 30, 99, 0.45),
    0 3px 10px rgba(156, 39, 176, 0.25),
    inset 0 2px 6px rgba(0, 0, 0, 0.2);
  transition-duration: 0.1s;
}

/* Ghost Button - Subtil mais visible */
.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.4);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.2),
    inset 0 1px 2px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn--ghost::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.15) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.btn--ghost:hover {
  transform: translateY(-2px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.3),
    inset 0 1px 3px rgba(255, 255, 255, 0.2),
    0 0 0 3px rgba(255, 255, 255, 0.1);
}

.btn--ghost:hover::before {
  opacity: 1;
}

.btn--ghost:active {
  transform: translateY(-1px) scale(0.98);
  transition-duration: 0.1s;
}

/* Size Variants */
.btn--large {
  padding: 1.25rem 2.5rem;
  font-size: var(--font-size-xl);
  border-radius: calc(var(--border-radius) + 2px);
  min-height: 60px;
}

.btn--medium {
  padding: 0.875rem 1.75rem;
  font-size: var(--font-size-base);
  min-height: 48px;
}

.btn--small {
  padding: 0.625rem 1.25rem;
  font-size: var(--font-size-sm);
  min-height: 40px;
  border-radius: calc(var(--border-radius) - 2px);
}

/* Focus States - Accessibility Enhanced */
.btn:focus {
  outline: none;
}

.btn:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 4px;
  box-shadow:
    0 0 0 4px rgba(233, 30, 99, 0.2),
    0 4px 14px rgba(233, 30, 99, 0.35);
}

.btn--secondary:focus-visible {
  outline-color: var(--white);
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.3),
    0 4px 14px rgba(233, 30, 99, 0.5);
}

/* Shimmer Effect - Animé au hover */
.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 100%
  );
  transform: skewX(-25deg);
  transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.btn:hover::after {
  left: 150%;
}

/* Disabled State */
.btn:disabled,
.btn--disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
  pointer-events: none;
}

/* Loading State */
.btn--loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}

.btn--loading::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: btn-spin 0.6s linear infinite;
  opacity: 1;
  background: transparent;
}

@keyframes btn-spin {
  to { transform: rotate(360deg); }
}

/* Cities Grid */
.cities {
  padding: var(--spacing-xxl) 0;
}

.cities__header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
  position: relative;
  padding: var(--spacing-lg) var(--spacing-md);
  background: linear-gradient(135deg, rgba(233, 30, 99, 0.02) 0%, rgba(156, 39, 176, 0.02) 100%);
  border-radius: var(--border-radius-lg);
}

.cities__header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.cities__title {
  font-size: var(--font-size-2xl);
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: var(--spacing-sm);
  padding-top: var(--spacing-sm);
  line-height: 1.3;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -moz-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

.cities__subtitle {
  font-size: var(--font-size-lg);
  color: var(--gray-700);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  font-weight: 400;
}

.cities__grid {
  display: grid;
  /* Auto-adapt : minimum 260px par carte, max 1fr */
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: clamp(1rem, 3vw, 2rem);
  margin-top: var(--spacing-xl);
}

/* City Card */
.city-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.city-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--box-shadow-lg);
}

.city-card__image {
  height: clamp(160px, 35vw, 200px);
  position: relative;
  overflow: hidden;
  background: var(--gray-200);
}

.city-card__image picture,
.city-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.city-card__image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 100%);
  opacity: 0.6;
  transition: opacity 0.3s ease;
  z-index: 1;
  pointer-events: none;
}

.city-card:hover .city-card__image img {
  transform: scale(1.08);
}

.city-card:hover .city-card__image::before {
  opacity: 0.4;
}

.city-card__content {
  padding: var(--spacing-md);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.city-card__title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: var(--spacing-xs);
  transition: color 0.3s ease;
}

.city-card__description {
  color: var(--gray-700);
  margin-bottom: var(--spacing-md);
  flex-grow: 1;
  transition: color 0.3s ease;
}

/* Fix hover text readability - Preserve colors on hover */
.city-card:hover .city-card__title {
  color: var(--primary);
}

.city-card:hover .city-card__description {
  color: var(--secondary);
}

.city-card__stats {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
  font-size: var(--font-size-sm);
  color: var(--gray-700);
}

.city-card__stat {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  color: var(--gray-700);
  transition: color 0.3s ease;
}

/* Fix hover text readability for stats badges */
.city-card:hover .city-card__stat {
  color: var(--primary);
  font-weight: 600;
}

/* City images - Using real AI-generated photos instead of gradients */

/* Features Section */
.features {
  background: var(--white);
  padding: var(--spacing-xxl) 0;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
}

.feature {
  text-align: center;
}

.feature__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--spacing-md);
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.feature__title {
  font-size: var(--font-size-lg);
  font-weight: 700;
  margin-bottom: var(--spacing-xs);
  color: var(--secondary);
}

.feature__description {
  color: var(--gray-700);
}

/* CTA Section */
.cta {
  background: var(--gradient-hero);
  color: var(--white);
  padding: var(--spacing-xxl) 0;
  text-align: center;
}

.cta__title {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  margin-bottom: var(--spacing-md);
}

.cta__subtitle {
  font-size: var(--font-size-lg);
  opacity: 0.95;
  margin-bottom: var(--spacing-xl);
}

/* Footer */
.footer {
  background: var(--secondary);
  color: var(--white);
  padding: var(--spacing-xl) 0;
  text-align: center;
}

.footer__content {
  opacity: 0.8;
  font-size: var(--font-size-sm);
}

.footer__links {
  display: flex;
  justify-content: center;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
  list-style: none;
}

.footer__link {
  color: var(--white);
  opacity: 0.8;
  transition: var(--transition);
}

.footer__link:hover {
  opacity: 1;
  color: var(--primary-light);
}

/* Page Ville */
.ville-hero {
  background: var(--gradient-hero);
  color: var(--white);
  padding: var(--spacing-xxl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* City-specific hero backgrounds */
.ville-hero--toulouse {
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.4) 100%),
    url('../images/cities/toulouse.webp') center center / cover no-repeat;
}

.ville-hero--paris {
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.4) 100%),
    url('../images/cities/paris.webp') center center / cover no-repeat;
}

.ville-hero--lille {
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.4) 100%),
    url('../images/cities/lille.webp') center center / cover no-repeat;
}

.ville-hero--lyon {
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.4) 100%),
    url('../images/cities/lyon.webp') center center / cover no-repeat;
}

.ville-hero--marseille {
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.4) 100%),
    url('../images/cities/marseille.webp') center center / cover no-repeat;
}

.ville-hero--bordeaux {
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.4) 100%),
    url('../images/cities/bordeaux.webp') center center / cover no-repeat;
}

.ville-hero--nice {
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.4) 100%),
    url('../images/cities/nice.webp') center center / cover no-repeat;
}

.ville-hero--strasbourg {
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.4) 100%),
    url('../images/cities/strasbourg.webp') center center / cover no-repeat;
}

.ville-hero--nantes {
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.4) 100%),
    url('../images/cities/nantes.webp') center center / cover no-repeat;
}

.ville-hero--montpellier {
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.4) 100%),
    url('../images/cities/montpellier.webp') center center / cover no-repeat;
}

.ville-hero--rennes {
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.4) 100%),
    url('../images/cities/rennes.webp') center center / cover no-repeat;
}

.ville-hero--toulon {
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.4) 100%),
    url('../images/cities/toulon.webp') center center / cover no-repeat;
}

.ville-hero--metz {
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.4) 100%),
    url('../images/cities/metz.webp') center center / cover no-repeat;
}

.ville-hero--reims {
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.4) 100%),
    url('../images/cities/reims.webp') center center / cover no-repeat;
}

.ville-hero--dijon {
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.4) 100%),
    url('../images/cities/dijon.webp') center center / cover no-repeat;
}

.ville-hero--le-havre {
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.4) 100%),
    url('../images/cities/le-havre.webp') center center / cover no-repeat;
}

.ville-hero--grenoble {
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.4) 100%),
    url('../images/cities/grenoble.webp') center center / cover no-repeat;
}

.ville-hero--angers {
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.4) 100%),
    url('../images/cities/angers.webp') center center / cover no-repeat;
}

.ville-hero--villeurbanne {
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.4) 100%),
    url('../images/cities/villeurbanne.webp') center center / cover no-repeat;
}

.ville-hero--clermont-ferrand {
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.4) 100%),
    url('../images/cities/clermont-ferrand.webp') center center / cover no-repeat;
}

.ville-hero__title {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  margin-bottom: var(--spacing-md);
}

.ville-hero__subtitle {
  font-size: var(--font-size-xl);
  opacity: 0.95;
  margin-bottom: var(--spacing-xl);
}

.ville-content {
  padding: var(--spacing-xxl) 0;
  max-width: 800px;
  margin: 0 auto;
}

.ville-section {
  margin-bottom: var(--spacing-xxl);
}

.ville-section__title {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: var(--spacing-md);
}

.ville-section__content {
  color: var(--gray-700);
  line-height: 1.8;
}

.ville-section__list {
  list-style: none;
  margin-top: var(--spacing-md);
}

.ville-section__list li {
  padding: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
  background: var(--gradient-card);
  border-radius: var(--border-radius-sm);
  position: relative;
  padding-left: var(--spacing-xl);
}

.ville-section__list li::before {
  content: '✓';
  position: absolute;
  left: var(--spacing-sm);
  color: var(--primary);
  font-weight: 700;
  font-size: var(--font-size-lg);
}

/* FAQ */
.faq {
  background: var(--white);
  padding: var(--spacing-xxl) 0;
}

.faq__item {
  background: var(--gray-50);
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-md);
  border-radius: var(--border-radius);
  border-left: 4px solid var(--primary);
}

.faq__question {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: var(--spacing-xs);
}

.faq__answer {
  color: var(--gray-700);
  line-height: 1.8;
}

/* ==========================================================================
   RESPONSIVE MOBILE - Progressive Enhancement
   Les tailles de police/spacing utilisent clamp() et s'adaptent automatiquement
   ========================================================================== */
@media (max-width: 768px) {
  /* Hero Section - Mobile optimizations */
  .hero {
    min-height: 350px;
    /* padding utilise déjà var(--spacing-*) qui sont fluid */
  }

  .hero__content {
    max-width: 100%;
    text-align: center;
    /* padding utilise déjà var(--spacing-*) qui sont fluid */
  }

  /* Font-sizes removed - handled by clamp() automatically */

  /* Renforcer l'overlay sur mobile pour meilleure lisibilité */
  .hero::before {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.7) 0%,
      rgba(0, 0, 0, 0.5) 50%,
      rgba(0, 0, 0, 0.7) 100%
    );
  }

  /* Cities header - reduce decorative bar size */
  .cities__header::before {
    width: 60px;
    height: 3px;
  }

  /* City grid removed - now uses auto-fill with min(100%, 260px) */

  /* Hamburger visible on mobile */
  .header__toggle {
    display: flex;
  }

  /* Navigation - Slide from right */
  .header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(280px, 80vw);
    height: 100vh;
    background: var(--white);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    padding: 80px 24px 24px;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
    overflow-y: auto;
  }

  .header__nav.active {
    right: 0;
  }

  .header__nav-list {
    flex-direction: column;
    gap: 0;
  }

  .header__nav-list li {
    border-bottom: 1px solid var(--gray-200);
  }

  .header__nav-list a {
    display: block;
    padding: var(--spacing-md) var(--spacing-sm);
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--secondary);
    transition: var(--transition);
  }

  .header__nav-list a:hover,
  .header__nav-list a:focus {
    color: var(--primary);
    background: var(--gray-50);
    padding-left: var(--spacing-md);
  }
}

/* ==========================================================================
   CTA OPTIMIZATION STYLES - Conversion-focused design
   ========================================================================== */

/* Hero Stats - Preuve sociale - Grid responsive auto-adapt */
.hero-stats {
  display: grid;
  /* Auto-fit : minimum 90px, max 1fr - s'adapte automatiquement */
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  gap: clamp(0.5rem, 2vw, 1rem);
  margin: var(--spacing-xl) 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(0.625rem, 2vw, 1rem);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  /* min-width removed - grid handles sizing */
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stat:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.2);
}

.hero-stat__icon {
  font-size: clamp(1.25rem, 4vw, 2rem);
  margin-bottom: var(--spacing-xs);
}

.hero-stat__value {
  font-size: clamp(1rem, 3vw, 1.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: var(--spacing-xs);
}

.hero-stat__label {
  font-size: clamp(0.6875rem, 2vw, 0.875rem);
  opacity: 0.9;
  text-align: center;
  line-height: 1.2;
}

/* Hero Reassurance Text */
.hero-reassurance {
  margin-top: var(--spacing-md);
  font-size: var(--font-size-sm);
  opacity: 0.95;
  color: var(--white);
}

/* Button Enhancements */
.btn {
  position: relative;
  overflow: hidden;
}

.btn__text {
  position: relative;
  z-index: 2;
  color: inherit; /* Inherit from parent button */
}

.btn__badge {
  display: inline-block;
  margin-left: var(--spacing-xs);
  padding: 2px 8px;
  background: var(--primary);
  color: var(--white);
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn--primary .btn__badge {
  background: var(--primary);
  color: var(--white);
}

.btn--secondary .btn__badge {
  background: var(--white);
  color: var(--primary);
}

.btn__arrow {
  display: inline-block;
  margin-left: var(--spacing-xs);
  transition: transform 0.3s ease;
  font-size: 1.2rem;
  color: inherit; /* Inherit from parent button */
}

.btn:hover .btn__arrow {
  transform: translateX(4px);
}

/* Force text color inheritance to prevent link color override */
.btn--primary .btn__text,
.btn--primary .btn__arrow {
  color: var(--primary);
}

.btn--primary:hover .btn__text,
.btn--primary:hover .btn__arrow {
  color: var(--primary-dark);
}

.btn--secondary .btn__text,
.btn--secondary .btn__arrow {
  color: var(--white);
}

.btn--secondary:hover .btn__text,
.btn--secondary:hover .btn__arrow,
.btn--secondary:active .btn__text,
.btn--secondary:active .btn__arrow {
  color: var(--white) !important; /* Force white on gradient background */
}

.btn--ghost .btn__text,
.btn--ghost .btn__arrow {
  color: var(--white);
}

/* ==========================================================================
   ADVANCED BUTTON MODIFIERS - Conversion Enhancers
   ========================================================================== */

/* Pulse Effect - Urgence et attention */
@keyframes btn-pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(233, 30, 99, 0.7);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(233, 30, 99, 0);
    transform: scale(1.02);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(233, 30, 99, 0);
    transform: scale(1);
  }
}

.btn--pulse {
  animation: btn-pulse-ring 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.btn--pulse:hover {
  animation: btn-pulse-ring 1s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Glow Effect - Premium attention magnet */
@keyframes btn-glow {
  0%, 100% {
    filter: drop-shadow(0 0 8px rgba(233, 30, 99, 0.4))
            drop-shadow(0 0 16px rgba(233, 30, 99, 0.2));
  }
  50% {
    filter: drop-shadow(0 0 16px rgba(233, 30, 99, 0.6))
            drop-shadow(0 0 32px rgba(233, 30, 99, 0.3))
            drop-shadow(0 0 48px rgba(233, 30, 99, 0.15));
  }
}

.btn--glow {
  animation: btn-glow 2.5s ease-in-out infinite;
}

.btn--glow:hover {
  animation: btn-glow 1.2s ease-in-out infinite;
}

/* Magnetic Effect - Premium 3D interaction */
.btn--magnetic {
  transition:
    transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.2s ease;
  perspective: 1000px;
}

.btn--magnetic:hover {
  transform: translateY(-4px) translateZ(20px) scale(1.03);
  box-shadow:
    0 16px 40px rgba(233, 30, 99, 0.4),
    0 8px 16px rgba(0, 0, 0, 0.15),
    inset 0 -2px 8px rgba(0, 0, 0, 0.1);
}

.btn--magnetic:active {
  transform: translateY(-2px) translateZ(10px) scale(0.98);
}

/* ==========================================================================
   ACCESSIBILITY & RESPONSIVE - Universal Design
   ========================================================================== */

/* Reduced Motion - Respect user preferences */
@media (prefers-reduced-motion: reduce) {
  .btn,
  .btn--pulse,
  .btn--glow,
  .btn--magnetic {
    animation: none !important;
    transition: opacity 0.2s ease, background 0.2s ease;
  }

  .btn:hover {
    transform: none;
  }

  .btn::after {
    display: none;
  }
}

/* High Contrast Mode - Enhanced visibility */
@media (prefers-contrast: high) {
  .btn {
    border: 2px solid currentColor;
  }

  .btn--primary {
    background: var(--white);
    color: var(--primary);
    border-color: var(--primary);
  }

  .btn--secondary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--white);
  }

  .btn--ghost {
    border-width: 3px;
  }
}

/* Mobile Touch Optimization */
@media (max-width: 768px) {
  .btn {
    /* Minimum touch target 44x44px (iOS guidelines) */
    min-height: 44px;
    min-width: 44px;
    padding: 0.875rem 1.5rem;
  }

  .btn--large {
    min-height: 48px;
    padding: 0.875rem 1.5rem;
    /* Font-size handled by fluid var(--font-size-lg) */
    flex-wrap: nowrap;
    gap: 0.375rem;
  }

  .btn--small {
    min-height: 40px;
    padding: 0.625rem 1rem;
  }

  /* Compact button text on very small screens */
  .btn__text {
    font-size: inherit;
    white-space: nowrap;
  }

  /* Reduce hover effects on touch devices */
  .btn:hover {
    transform: translateY(-2px) scale(1.01);
  }

  .btn:active {
    transform: translateY(0) scale(0.98);
  }

  /* Shimmer less intrusive on mobile */
  .btn::after {
    opacity: 0.6;
  }

  /* Disable magnetic on mobile (too intense for touch) */
  .btn--magnetic:hover {
    transform: translateY(-2px) scale(1.01);
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  .btn--primary {
    background: linear-gradient(135deg, #2A2A2A 0%, #3A2A30 100%);
    color: var(--primary-light);
    border-color: var(--primary);
    box-shadow:
      0 4px 14px rgba(233, 30, 99, 0.35),
      0 2px 6px rgba(0, 0, 0, 0.3),
      inset 0 1px 2px rgba(233, 30, 99, 0.1);
  }

  .btn--primary:hover {
    background: linear-gradient(135deg, #3A2A30 0%, #4A2A38 100%);
  }
}

/* CTA Mid - Enhanced conversion box */
.cta-mid {
  text-align: center;
  padding: var(--spacing-xl);
  background: linear-gradient(135deg, #FFF 0%, #F8F8FF 100%);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow-lg);
  margin: var(--spacing-xl) auto;
  max-width: 700px;
  border: 2px solid var(--primary-light);
  position: relative;
  overflow: hidden;
}

.cta-mid::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.cta-mid__badge {
  display: inline-block;
  padding: var(--spacing-xs) var(--spacing-md);
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: 20px;
  font-size: var(--font-size-sm);
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.cta-mid__title {
  font-size: var(--font-size-2xl);
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: var(--spacing-sm);
  line-height: 1.3;
}

.cta-mid__subtitle {
  font-size: var(--font-size-lg);
  color: var(--gray-700);
  margin-bottom: var(--spacing-lg);
}

.cta-mid__note {
  margin-top: var(--spacing-md);
  font-size: var(--font-size-sm);
  color: var(--gray-700);
  font-style: italic;
}

/* Trust Badges */
.trust-badges {
  display: flex;
  justify-content: center;
  gap: var(--spacing-lg);
  margin: var(--spacing-lg) 0;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-sm) var(--spacing-md);
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius);
  font-size: var(--font-size-sm);
  font-weight: 600;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.trust-badge__icon {
  font-size: 1.2rem;
}

/* CTA Urgency Badge */
.cta__urgency-badge {
  display: inline-block;
  padding: var(--spacing-xs) var(--spacing-lg);
  background: var(--accent);
  color: var(--white);
  border-radius: 20px;
  font-size: var(--font-size-sm);
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  animation: pulse-badge 1.5s infinite;
}

@keyframes pulse-badge {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.cta__disclaimer {
  margin-top: var(--spacing-md);
  font-size: var(--font-size-sm);
  opacity: 0.9;
}

/* Sticky CTA for Mobile - Compact version */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
  padding: clamp(0.5rem, 2vw, 0.75rem) var(--spacing-md);
  z-index: 999;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.sticky-cta.visible {
  transform: translateY(0);
}

.sticky-cta__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: var(--spacing-sm);
}

.sticky-cta__text {
  flex: 1;
}

.sticky-cta__title {
  font-size: clamp(0.8125rem, 2.5vw, 0.875rem);
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 2px;
  line-height: 1.2;
}

.sticky-cta__subtitle {
  font-size: clamp(0.6875rem, 2vw, 0.75rem);
  color: var(--gray-700);
  line-height: 1.2;
}

.sticky-cta .btn {
  white-space: nowrap;
  padding: 0.625rem 1rem;
  font-size: clamp(0.8125rem, 2.5vw, 0.875rem);
  min-height: 40px;
}

/* Activity Indicator - Real-time feel */
.activity-indicator {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-xs) var(--spacing-sm);
  background: rgba(76, 175, 80, 0.1);
  border-radius: var(--border-radius-sm);
  font-size: var(--font-size-sm);
  color: #2E7D32;
  font-weight: 600;
}

.activity-indicator__dot {
  width: 8px;
  height: 8px;
  background: #4CAF50;
  border-radius: 50%;
  animation: blink 1.5s infinite;
}

@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

/* Enhanced CTA Section Styling */
.cta {
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.cta > .container {
  position: relative;
  z-index: 2;
}

/* CTA Optimizations - Mobile responsive */
@media (max-width: 768px) {
  /* Hero stats removed - now uses grid with auto-fit and fluid sizing */

  .trust-badges {
    gap: var(--spacing-sm);
  }

  .trust-badge {
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: 0.75rem;
  }

  .cta-mid {
    padding: var(--spacing-lg);
    margin: var(--spacing-lg) 0;
  }

  .cta-mid__title {
    font-size: var(--font-size-xl);
  }

  /* Badge stays inline - removed display: block to keep buttons compact */
  .btn__badge {
    padding: 1px 6px;
    font-size: 0.65rem;
    /* Keep inline-block for compact button height */
  }
}

/* Utilities */
.text-center {
  text-align: center;
}

.mb-sm {
  margin-bottom: var(--spacing-sm);
}

.mb-md {
  margin-bottom: var(--spacing-md);
}

.mb-lg {
  margin-bottom: var(--spacing-lg);
}

.mt-lg {
  margin-top: var(--spacing-lg);
}

.mt-xl {
  margin-top: var(--spacing-xl);
}

/* ==========================================================================
   SEO Enhancements - Breadcrumbs, Internal Linking, Content Boxes
   ========================================================================== */

/* Breadcrumbs */
.breadcrumbs {
  background: var(--white);
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: var(--font-size-sm);
}

.breadcrumbs__list {
  display: flex;
  align-items: center;
  list-style: none;
  flex-wrap: wrap;
  gap: var(--spacing-xs);
}

.breadcrumbs__item {
  display: flex;
  align-items: center;
}

.breadcrumbs__item:not(:last-child)::after {
  content: '›';
  margin-left: var(--spacing-xs);
  color: var(--gray-700);
  font-size: 1.2em;
}

.breadcrumbs__link {
  color: var(--gray-700);
  transition: var(--transition);
}

.breadcrumbs__link:hover {
  color: var(--primary);
}

.breadcrumbs__current {
  color: var(--secondary);
  font-weight: 500;
}

/* Success Tips & Info Boxes */
.success-tip {
  background: linear-gradient(135deg, rgba(233, 30, 99, 0.05) 0%, rgba(156, 39, 176, 0.05) 100%);
  border-left: 4px solid var(--primary);
  padding: var(--spacing-md);
  margin-top: var(--spacing-md);
  border-radius: var(--border-radius-sm);
  font-size: 0.95rem;
  line-height: 1.6;
}

.success-tip strong {
  color: var(--primary);
  display: block;
  margin-bottom: var(--spacing-xs);
  font-size: 1rem;
}

/* Subtitle in Sections (H3) */
.ville-section__subtitle {
  font-size: var(--font-size-lg);
  color: var(--secondary);
  font-weight: 600;
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-xs);
  border-bottom: 2px solid var(--gray-200);
}

/* Other Cities Section (Internal Linking) */
.other-cities {
  background: var(--white);
  padding: var(--spacing-xl) 0;
}

.other-cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-md);
  margin: var(--spacing-lg) 0;
}

.other-city-card {
  display: flex;
  align-items: center;
  padding: var(--spacing-md);
  background: var(--gray-50);
  border: 2px solid var(--gray-200);
  border-radius: var(--border-radius);
  transition: var(--transition);
  text-decoration: none;
  color: var(--secondary);
  font-weight: 500;
}

.other-city-card:hover {
  border-color: var(--primary);
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--box-shadow);
  color: var(--primary);
}

.other-city-card__emoji {
  font-size: 2rem;
  margin-right: var(--spacing-md);
  flex-shrink: 0;
}

.other-city-card__name {
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .breadcrumbs {
    font-size: 0.8rem;
  }

  .breadcrumbs__list {
    gap: 0.25rem;
  }

  .breadcrumbs__item:not(:last-child)::after {
    margin-left: 0.25rem;
  }

  .success-tip {
    padding: var(--spacing-sm);
    font-size: 0.9rem;
  }

  .other-cities-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
  }

  .other-city-card {
    padding: var(--spacing-sm);
  }

  .other-city-card__emoji {
    font-size: 1.5rem;
    margin-right: var(--spacing-sm);
  }

  .other-city-card__name {
    font-size: 0.9rem;
  }
}
