/* ===================================
   MYCLEAN CI - STYLES PRINCIPAUX
   Charte graphique officielle MyClean
   Couleurs: #223857 | #2180a7 | #18a7e5 | #939393
   Typo: Montserrat
=================================== */

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

:root {
  /* =========================================
     COULEURS OFFICIELLES MYCLEAN
     #223857 | #2180a7 | #18a7e5 | #939393
  ========================================= */
  --primary: #223857;          /* Navy - couleur principale (logo) */
  --primary-dark: #1a2d47;     /* Navy foncé - hover */
  --primary-light: #eaf0f7;    /* Navy très clair - fonds */
  --accent: #18a7e5;           /* Bleu clair - accent vif */
  --accent-dark: #2180a7;      /* Bleu moyen */
  --accent-light: #e8f5fc;     /* Bleu clair fond */
  --navy: #223857;             /* Alias navy */
  --navy-mid: #2a4a70;
  --success: #49A361;
  --danger: #e53e3e;
  --black: #223857;            /* Texte principal */
  --gray-dark: #4a5568;
  --gray: #939393;             /* Gris officiel MyClean */
  --gray-light: #e2e8f0;
  --gray-bg: #f4f7fb;
  --white: #FFFFFF;
  --shadow-sm: 0 1px 4px rgba(34,56,87,0.08);
  --shadow: 0 4px 16px rgba(34,56,87,0.12);
  --shadow-lg: 0 12px 40px rgba(34,56,87,0.18);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --transition: .3s ease;
  --font: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-chrome: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1140px;
}

html { scroll-behavior: smooth; }

/* Amélioration touch mobile */
@media (hover: none) and (pointer: coarse) {
  .btn, .tab-btn, .radio-option, .service-card, .app-btn, .social-links a {
    -webkit-tap-highlight-color: transparent;
  }
  .btn { min-height: 44px; }
  .nav.open a { min-height: 44px; }
  .hamburger { min-width: 44px; min-height: 44px; justify-content: center; align-items: center; }
  .scroll-top { bottom: 20px; right: 16px; }
}

body {
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
input, select, textarea, button { font-family: var(--font); }

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

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0,195,255,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
}

.btn-block {
  width: 100%;
  justify-content: center;
  padding: 14px;
  font-size: 16px;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 14px;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  height: 72px;
  transition: var(--transition);
  font-family: var(--font-chrome);
}

.header.scrolled {
  box-shadow: var(--shadow);
}

.header-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  display: block;
  height: 44px;
  width: auto;
}

.logo-white .logo-img {
  filter: brightness(0) invert(1);
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
}

.nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-dark);
  transition: color var(--transition);
  position: relative;
  white-space: nowrap;
  padding: 4px 6px;
  border-radius: 6px;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--primary);
  transition: width var(--transition);
}

.nav a:hover { color: var(--primary); }
.nav a:hover::after { width: 100%; }

/* ── LANGUAGE SWITCHER ── */
.lang-switcher {
  display: flex;
  align-items: center;
  background: var(--primary-light);
  border-radius: 50px;
  padding: 3px;
  gap: 2px;
  flex-shrink: 0;
}
.lang-btn {
  padding: 5px 11px;
  border: none;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 800;
  font-family: var(--font);
  cursor: pointer;
  background: transparent;
  color: var(--gray);
  transition: background .2s, color .2s;
  letter-spacing: .6px;
}
.lang-btn.active {
  background: var(--primary);
  color: white;
  box-shadow: 0 2px 8px rgba(34,56,87,.2);
}
.lang-btn:not(.active):hover {
  background: rgba(34,56,87,.08);
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.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(--black);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: #223857;
  z-index: 0;
  overflow: hidden;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(34,56,87,0.82) 0%,
    rgba(34,56,87,0.65) 50%,
    rgba(33,128,167,0.55) 100%
  );
  z-index: 1;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
  padding-top: 60px;
  padding-bottom: 60px;
  position: relative;
  z-index: 2;
}

.hero-content { color: var(--white); }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(34,56,87,0.25);
  border: 1px solid rgba(255,255,255,0.3);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-content h1 {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(36px, 5.5vw, 58px);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.highlight {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 40px;
  max-width: 460px;
}

.hero-stats {
  display: flex;
  gap: 32px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat strong {
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
}

.stat span {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}

/* ===== BOOKING CARD ===== */
.booking-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}

.booking-header {
  background: linear-gradient(135deg, var(--navy), var(--primary-dark));
  padding: 16px 24px;
}

.booking-header h3 {
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.booking-form {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-dark);
  display: flex;
  align-items: center;
  gap: 6px;
}

.form-group label i { color: var(--primary); }

.form-group input,
.form-group select,
.form-group textarea {
  padding: 10px 14px;
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--black);
  transition: var(--transition);
  background: var(--white);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,195,255,0.12);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.frequency-options {
  display: flex;
  gap: 8px;
}

.radio-option {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px;
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.radio-option input { display: none; }

.radio-option.active,
.radio-option:has(input:checked) {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary);
}

.price-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--gray-bg);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--gray);
}

.price-summary .price {
  font-size: 20px;
  font-weight: 700;
  color: var(--black);
}

.booking-note {
  text-align: center;
  font-size: 12px;
  color: var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.booking-note i { color: var(--success); }

/* ===== SECTIONS ===== */
.section {
  padding: 80px 0;
}

.section-gray { background: var(--gray-bg); }

.section-blue {
  background: linear-gradient(135deg, #223857, #2180a7);
  color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-badge {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent-dark);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.section-header p {
  font-size: 17px;
  color: var(--gray);
  max-width: 500px;
  margin: 0 auto;
}

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.service-card {
  background: var(--white);
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.service-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.service-badge-top {
  position: absolute;
  top: -12px; left: 24px;
  background: var(--primary);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--black);
}

.service-card p {
  font-size: 14px;
  color: var(--gray);
  flex: 1;
}

.service-sub-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.sub-tag {
  background: var(--accent-light);
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 50px;
  border: 1px solid rgba(33,128,167,0.2);
}

.service-price {
  font-size: 13px;
  color: var(--gray);
  margin-top: 4px;
}

.service-price strong {
  color: var(--black);
  font-size: 16px;
}

/* ===== HOW IT WORKS ===== */
.steps-grid {
  display: flex;
  align-items: center;
  gap: 16px;
}

.step-card {
  flex: 1;
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--gray-light);
  transition: var(--transition);
}

.step-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.step-number {
  font-size: 42px;
  font-weight: 800;
  color: var(--primary-light);
  line-height: 1;
  margin-bottom: 16px;
  -webkit-text-stroke: 2px var(--primary);
}

.step-icon {
  width: 56px;
  height: 56px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 22px;
  margin: 0 auto 16px;
}

.step-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 14px;
  color: var(--gray);
}

.step-arrow {
  color: var(--primary);
  font-size: 20px;
  flex-shrink: 0;
}

/* ===== MYCLEAN ACADEMY ===== */
.academy-section {
  position: relative;
  overflow: hidden;
  background: #f4f8fc;
}

.academy-bg-deco {
  position: absolute;
  top: -120px; right: -120px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(24,167,229,.08) 0%, transparent 70%);
  pointer-events: none;
}

/* Stats */
.academy-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}

.academy-stat {
  background: white;
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  border: 1.5px solid var(--gray-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.academy-stat:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.academy-stat-icon {
  width: 48px; height: 48px;
  background: var(--primary-light);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
  font-size: 20px;
  color: var(--primary);
}
.academy-stat strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}
.academy-stat span { font-size: 13px; color: var(--gray); }

/* Grille des niveaux */
.academy-tracks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
  align-items: start;
}

.academy-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: white;
  border: 1.5px solid var(--gray-light);
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s;
}
.academy-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.academy-featured {
  border-color: var(--primary);
  box-shadow: 0 12px 40px rgba(34,56,87,.18);
  transform: scale(1.03);
}
.academy-featured:hover { transform: scale(1.03) translateY(-6px); }

.academy-card-header {
  padding: 32px 28px;
  color: white;
  position: relative;
}
.academy-level-badge {
  display: inline-block;
  background: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  margin-bottom: 20px;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.academy-recommended-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: #F97316;
  color: white;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 50px;
  display: flex; align-items: center; gap: 5px;
}
.academy-card-icon {
  width: 56px; height: 56px;
  background: rgba(255,255,255,.18);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}
.academy-card-header h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}
.academy-card-header p {
  font-size: 13px;
  opacity: .8;
  line-height: 1.5;
}

.academy-card-body { padding: 28px; }

.academy-modules {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}
.academy-modules li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--black);
}
.academy-modules li i.fa-check-circle { color: var(--success); flex-shrink: 0; }
.academy-modules li.muted { color: var(--gray); }
.academy-modules li.muted i { color: var(--gray-light); flex-shrink: 0; }

.academy-duration {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 20px;
  padding: 10px 14px;
  background: var(--primary-light);
  border-radius: 8px;
}
.academy-duration i { color: var(--primary); }
.academy-duration strong { color: var(--primary); font-weight: 700; }

.academy-btn { margin-top: 4px; }

/* Avantages */
.academy-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.academy-benefit {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: white;
  border-radius: var(--radius);
  padding: 24px;
  border: 1.5px solid var(--gray-light);
  transition: var(--transition);
}
.academy-benefit:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}
.benefit-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 20px;
  flex-shrink: 0;
}
.academy-benefit h4 {
  font-size: 15px; font-weight: 700;
  margin-bottom: 6px; color: var(--black);
}
.academy-benefit p { font-size: 13px; color: var(--gray); line-height: 1.6; }
.academy-benefit strong { color: var(--primary); }

/* Responsive Academy */
@media (max-width: 1024px) {
  .academy-stats { grid-template-columns: repeat(2, 1fr); }
  .academy-tracks { grid-template-columns: 1fr; }
  .academy-featured { transform: scale(1); }
  .academy-featured:hover { transform: translateY(-6px); }
}
@media (max-width: 640px) {
  .academy-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .academy-benefits { grid-template-columns: 1fr; }
}

/* ===== TRUST SECTION ===== */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.trust-item {
  text-align: center;
  color: var(--white);
}

.trust-item i {
  font-size: 36px;
  color: var(--accent);
  margin-bottom: 16px;
}

.trust-item h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.trust-item p {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.testimonial-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.stars { color: #f5a623; font-size: 14px; }

.testimonial-card p {
  font-size: 15px;
  color: var(--gray-dark);
  flex: 1;
  font-style: italic;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--navy));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
}

.testimonial-author span {
  font-size: 12px;
  color: var(--gray);
}

/* ===== APP SECTION ===== */
.app-section {
  background: linear-gradient(135deg, #e8f5fc, #f4f8fc);
}

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

.app-text .section-badge { display: block; margin-bottom: 12px; }

.app-text h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}

.app-text p {
  font-size: 16px;
  color: var(--gray);
  margin-bottom: 32px;
  max-width: 440px;
}

.app-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.app-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--black);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.app-btn:hover {
  background: var(--gray-dark);
  transform: translateY(-2px);
}

.app-btn i { font-size: 26px; }
.app-btn span { font-size: 11px; opacity: 0.7; display: block; }
.app-btn strong { font-size: 15px; }

/* PHONE MOCKUP */
.app-image { display: flex; justify-content: center; }

.app-mobile-img {
  width: 280px;
  height: auto;
  filter: drop-shadow(0 20px 60px rgba(34,56,87,0.3));
}

.phone-mockup {
  width: 260px;
  height: 500px;
  background: #223857;
  border-radius: 36px;
  padding: 20px 14px;
  box-shadow: 0 20px 60px rgba(34,56,87,0.3);
  border: 6px solid #2a4a70;
  position: relative;
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 6px;
  background: #2a4a70;
  border-radius: 50px;
}

.phone-screen {
  height: 100%;
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  padding: 32px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.app-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

/* logo-text removed - using SVG logo */

.app-preview-card {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 12px;
  padding: 14px;
  color: var(--white);
}

.preview-label { font-size: 10px; opacity: 0.8; margin-bottom: 4px; }

.app-preview-card h4 { font-size: 14px; font-weight: 700; margin-bottom: 6px; }

.preview-date { font-size: 11px; opacity: 0.85; display: flex; align-items: center; gap: 4px; margin-bottom: 10px; }

.preview-agent {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 6px 10px;
}

.agent-avatar {
  width: 28px; height: 28px;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
}

.preview-agent strong { font-size: 12px; display: block; }

.stars-small { color: var(--accent); font-size: 9px; }

.app-preview-services {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.preview-service-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: var(--gray-bg);
  border-radius: 8px;
  padding: 10px 6px;
  font-size: 10px;
  color: var(--gray-dark);
}

.preview-service-item i { color: var(--primary); font-size: 16px; }

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 24px; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  width: 44px; height: 44px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 18px;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 14px;
  color: var(--gray);
}

.contact-form {
  background: var(--white);
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ===== PARTENAIRES ===== */
.partner-section {
  background: linear-gradient(160deg, #f4f7fb 0%, #eaf0f7 100%);
  position: relative;
  overflow: hidden;
}

.partner-section::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(24,167,229,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.partner-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

/* --- Pitch gauche --- */
.partner-pitch h2 {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}

.partner-pitch > p {
  font-size: 16px;
  color: var(--gray);
  margin-bottom: 32px;
  line-height: 1.7;
}

.partner-avantages {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.avantage-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.avantage-icon {
  width: 46px;
  height: 46px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 18px;
  flex-shrink: 0;
}

.avantage-item h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--black);
}

.avantage-item p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.6;
}

.partner-stats {
  display: flex;
  gap: 28px;
  padding: 20px 24px;
  background: var(--primary);
  border-radius: var(--radius);
}

.p-stat {
  display: flex;
  flex-direction: column;
  color: var(--white);
}

.p-stat strong {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.1;
}

.p-stat span {
  font-size: 12px;
  opacity: 0.7;
  margin-top: 3px;
}

/* --- Formulaire droite --- */
.partner-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.partner-form-header {
  background: linear-gradient(135deg, var(--primary), var(--navy-mid));
  padding: 28px 28px 24px;
  color: var(--white);
}

.partner-form-header i {
  font-size: 32px;
  color: var(--accent);
  margin-bottom: 10px;
  display: block;
}

.partner-form-header h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 6px;
}

.partner-form-header p {
  font-size: 13px;
  opacity: 0.8;
  line-height: 1.5;
}

.partner-form {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Checkbox grid services */
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 2px;
}

.checkbox-option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-dark);
  cursor: pointer;
  padding: 7px 10px;
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  user-select: none;
}

.checkbox-option input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  cursor: pointer;
  flex-shrink: 0;
}

.checkbox-option:has(input:checked) {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 600;
}

.checkbox-option:hover { border-color: var(--accent-dark); }

/* Champ obligatoire */
.required { color: var(--danger); margin-left: 2px; }

/* Checkbox CGU */
.terms-check {
  border: none;
  background: none;
  padding: 4px 0;
  font-size: 13px;
  color: var(--gray);
}

.terms-link {
  color: var(--accent-dark);
  font-weight: 600;
  text-decoration: underline;
}

/* ===== FAQ ===== */
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow .2s, border-color .2s;
}
.faq-item:hover {
  border-color: #18a7e5;
  box-shadow: 0 4px 16px rgba(24,167,229,.1);
}
.faq-item.open {
  border-color: #18a7e5;
  box-shadow: 0 4px 20px rgba(24,167,229,.12);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  color: #223857;
  transition: background .2s;
}
.faq-question:hover { background: #f8fafc; }
.faq-item.open .faq-question { background: #eaf5fc; color: #223857; }

.faq-icon {
  font-size: 13px;
  color: #18a7e5;
  flex-shrink: 0;
  transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.faq-item.open .faq-icon { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s cubic-bezier(.4,0,.2,1), padding .2s;
  padding: 0 24px;
}
.faq-item.open .faq-answer {
  max-height: 400px;
  padding: 0 24px 20px;
}
.faq-answer p {
  font-size: 14px;
  color: #4a5568;
  line-height: 1.8;
  margin: 0;
}
.faq-answer a { color: #18a7e5; font-weight: 600; }

/* Carte CTA */
.faq-cta-card {
  position: sticky;
  top: 88px;
  background: linear-gradient(145deg, #223857 0%, #2a4a70 100%);
  border-radius: 16px;
  padding: 32px 28px;
  color: white;
  text-align: center;
}
.faq-cta-icon {
  width: 64px; height: 64px;
  background: rgba(24,167,229,.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 26px;
  color: #18a7e5;
}
.faq-cta-card h3 {
  font-size: 17px; font-weight: 800;
  margin-bottom: 10px; line-height: 1.4;
}
.faq-cta-card p {
  font-size: 13px; opacity: .75;
  margin-bottom: 24px; line-height: 1.6;
}
.faq-contact-links {
  display: flex; gap: 12px; margin-top: 12px;
}
.faq-contact-links a {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px;
  color: white; font-size: 13px; font-weight: 600;
  text-decoration: none; transition: background .2s;
}
.faq-contact-links a:hover { background: rgba(255,255,255,.18); }

.faq-ia-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%;
  margin-top: 14px;
  padding: 11px 16px;
  background: linear-gradient(135deg, #18a7e5, #2180a7);
  border: none; border-radius: 8px;
  color: white; font-size: 13px; font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  transition: opacity .2s, transform .15s;
}
.faq-ia-btn:hover { opacity: .88; transform: translateY(-1px); }

@media (max-width: 900px) {
  .faq-layout { grid-template-columns: 1fr; }
  .faq-cta-card { position: static; }
}
@media (max-width: 480px) {
  .faq-question { padding: 16px 18px; font-size: 14px; }
  .faq-item.open .faq-answer { padding: 0 18px 16px; }
}

/* ===== ANIMATIONS DYNAMIQUES ===== */

/* Barre de progression lecture */
#read-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #18a7e5, #223857);
  z-index: 9999;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* Texte rotatif */
#typed-text {
  color: var(--accent);
  border-right: 2px solid var(--accent);
  padding-right: 2px;
  animation: blink-cursor 0.75s step-end infinite;
  white-space: nowrap;
}
@keyframes blink-cursor {
  0%, 100% { border-color: var(--accent); }
  50%       { border-color: transparent; }
}

/* Scroll reveal — états initiaux */
.reveal-init { transition: opacity 0.6s ease, transform 0.6s ease; }

.reveal-fade-up    { opacity: 0; transform: translateY(36px); }
.reveal-fade-left  { opacity: 0; transform: translateX(-36px); }
.reveal-fade-right { opacity: 0; transform: translateX(36px); }
.reveal-scale-in   { opacity: 0; transform: scale(0.88); }

.reveal-init.revealed {
  opacity: 1 !important;
  transform: none !important;
}

/* Ripple bouton */
.btn { overflow: hidden; }
.btn-ripple {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  transform: scale(0);
  pointer-events: none;
  animation: ripple-expand 0.55s ease-out forwards;
}
@keyframes ripple-expand {
  to { transform: scale(60); opacity: 0; }
}

/* Sticky CTA bar */
#sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 990;
  background: var(--primary);
  color: white;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 -4px 24px rgba(34,56,87,.25);
}
#sticky-cta.sticky-cta-visible { transform: translateY(0); }
#sticky-cta span { font-size: 14px; font-weight: 600; }
#sticky-cta .btn {
  background: white;
  color: var(--primary);
  border-color: white;
  padding: 10px 20px;
  font-size: 14px;
  white-space: nowrap;
  flex-shrink: 0;
}
#sticky-cta .btn:hover { background: var(--accent); border-color: var(--accent); color: white; }
@media (max-width: 480px) {
  #sticky-cta span { font-size: 12px; }
}

/* Toast notifications */
.mc-toast {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  background: var(--primary);
  color: white;
  padding: 13px 22px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font);
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  box-shadow: 0 8px 32px rgba(34,56,87,.3);
  z-index: 9997;
  pointer-events: none;
}
.mc-toast i { color: #48bb78; font-size: 16px; }
.mc-toast-in  { animation: toast-in 0.4s cubic-bezier(.4,0,.2,1) forwards; }
.mc-toast-out { animation: toast-out 0.35s ease forwards; }
@keyframes toast-in  {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
@keyframes toast-out {
  to { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

/* Active nav link */
.nav a.nav-active {
  color: var(--primary);
  font-weight: 700;
}
.nav a.nav-active::after { width: 100%; }

/* Testimonial spotlight */
.testimonial-card {
  transition: var(--transition), box-shadow 0.3s, transform 0.3s;
}
.testimonial-spotlight {
  box-shadow: 0 8px 32px rgba(24,167,229,.22);
  transform: translateY(-4px) scale(1.02);
  border-color: var(--accent) !important;
}

/* Particules hero */
.hero-particle {
  position: absolute;
  border-radius: 50%;
  background: white;
  pointer-events: none;
  animation: particle-float linear infinite;
}
@keyframes particle-float {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 0.8; }
  100% { transform: translateY(-120px) translateX(30px); opacity: 0; }
}

/* Tilt cartes – transition douce au retour */
.service-card { transition: transform 0.2s ease, border-color 0.3s, box-shadow 0.3s; }

/* ===== CHATBOT IA ===== */

/* Bouton flottant */
.mc-chat-toggle {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #223857, #18a7e5);
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(34,56,87,.4);
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s, box-shadow .2s;
  color: white; font-size: 22px;
}
.mc-chat-toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 32px rgba(34,56,87,.5);
}
.mc-chat-icon-open, .mc-chat-icon-close { display: flex; }

.mc-chat-badge {
  position: absolute;
  top: -4px; right: -4px;
  width: 20px; height: 20px;
  background: #e53e3e;
  color: white;
  border-radius: 50%;
  font-size: 11px; font-weight: 800;
  display: none;
  align-items: center; justify-content: center;
  border: 2px solid white;
}
@keyframes mc-pulse {
  0%,100% { transform: scale(1); }
  50%      { transform: scale(1.2); }
}

/* Fenêtre de chat */
.mc-chat-window {
  position: fixed;
  bottom: 100px;
  right: 28px;
  z-index: 9998;
  width: 370px;
  max-height: 560px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(34,56,87,.22);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(.9) translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: transform .3s cubic-bezier(.4,0,.2,1), opacity .25s;
  font-family: 'Montserrat', sans-serif;
}
.mc-chat-window.mc-chat-open {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: all;
}

/* Header */
.mc-chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: linear-gradient(135deg, #223857 0%, #2180a7 100%);
  color: white;
  flex-shrink: 0;
}
.mc-chat-avatar {
  position: relative;
  width: 40px; height: 40px;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.mc-chat-status {
  position: absolute;
  bottom: 1px; right: 1px;
  width: 10px; height: 10px;
  background: #48bb78;
  border-radius: 50%;
  border: 2px solid #223857;
}
.mc-chat-header-info {
  flex: 1;
  display: flex; flex-direction: column;
}
.mc-chat-header-info strong { font-size: 14px; font-weight: 800; }
.mc-chat-header-info span   { font-size: 11px; opacity: .7; margin-top: 1px; }
.mc-chat-close {
  background: rgba(255,255,255,.12);
  border: none; cursor: pointer; color: white;
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; transition: background .2s;
}
.mc-chat-close:hover { background: rgba(255,255,255,.25); }

/* Zone messages */
.mc-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #f8fafc;
  scroll-behavior: smooth;
}
.mc-chat-messages::-webkit-scrollbar { width: 4px; }
.mc-chat-messages::-webkit-scrollbar-thumb { background: #cbd5e0; border-radius: 4px; }

/* Messages */
.mc-chat-msg {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  max-width: 100%;
}
.mc-msg-bot { justify-content: flex-start; }
.mc-msg-user { justify-content: flex-end; }

.mc-msg-in {
  animation: mc-fadein .3s ease;
}
@keyframes mc-fadein {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.mc-bot-avatar {
  width: 28px; height: 28px; flex-shrink: 0;
  background: linear-gradient(135deg, #223857, #18a7e5);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 12px;
}
.mc-msg-bubble {
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 13px;
  line-height: 1.6;
  max-width: 80%;
  word-break: break-word;
}
.mc-msg-bot .mc-msg-bubble {
  background: white;
  color: #2d3748;
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.mc-msg-user .mc-msg-bubble {
  background: linear-gradient(135deg, #223857, #2180a7);
  color: white;
  border-bottom-right-radius: 4px;
}

/* Typing indicator */
.mc-typing-indicator .mc-msg-bubble {
  display: flex; align-items: center; gap: 4px;
  padding: 12px 16px;
}
.mc-typing-indicator .mc-msg-bubble span {
  width: 7px; height: 7px;
  background: #18a7e5;
  border-radius: 50%;
  animation: mc-bounce .9s infinite;
}
.mc-typing-indicator .mc-msg-bubble span:nth-child(2) { animation-delay: .15s; }
.mc-typing-indicator .mc-msg-bubble span:nth-child(3) { animation-delay: .3s; }
@keyframes mc-bounce {
  0%,80%,100% { transform: translateY(0); opacity: .5; }
  40%          { transform: translateY(-6px); opacity: 1; }
}

/* Suggestions rapides */
.mc-chat-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 14px;
  background: #f8fafc;
  border-top: 1px solid #f0f4f8;
  min-height: 0;
}
.mc-qr-btn {
  background: white;
  border: 1px solid #18a7e5;
  color: #18a7e5;
  border-radius: 50px;
  padding: 5px 12px;
  font-size: 12px; font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.mc-qr-btn:hover { background: #18a7e5; color: white; }

/* Zone de saisie */
.mc-chat-input-area {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid #e2e8f0;
  background: white;
  flex-shrink: 0;
}
#mc-chat-input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 50px;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  color: #2d3748;
  background: #f8fafc;
  transition: border-color .2s;
}
#mc-chat-input:focus { border-color: #18a7e5; background: white; }
#mc-chat-send {
  width: 38px; height: 38px; flex-shrink: 0;
  background: linear-gradient(135deg, #223857, #18a7e5);
  border: none; border-radius: 50%;
  color: white; font-size: 14px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: transform .15s, opacity .15s;
}
#mc-chat-send:hover { transform: scale(1.08); }
#mc-chat-send:active { opacity: .8; }

/* Responsive */
@media (max-width: 480px) {
  .mc-chat-window {
    width: calc(100vw - 24px);
    right: 12px;
    bottom: 90px;
    max-height: 70vh;
  }
  .mc-chat-toggle { right: 16px; bottom: 20px; }
}

/* ===== FOOTER ===== */
.footer {
  background: #223857;
  color: var(--white);
  padding: 64px 0 0;
  font-family: var(--font-chrome);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* footer logo uses SVG */

.footer-brand p {
  margin: 16px 0 24px;
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  max-width: 280px;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--white);
}

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

.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}

.footer-col ul li a:hover { color: var(--primary); }

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.footer-links {
  display: flex;
  gap: 20px;
  margin-left: auto;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--primary); }

.payment-methods {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
}

.payment-badge {
  background: rgba(255,255,255,0.08);
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 11px;
  color: rgba(255,255,255,0.6);
}

/* ===== MODAL ===== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal[hidden] { display: none; }

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  box-shadow: var(--shadow-lg);
}

.modal-icon {
  font-size: 52px;
  margin-bottom: 16px;
}

.modal-icon.success { color: var(--success); }

.modal-content h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.modal-content p {
  font-size: 15px;
  color: var(--gray);
  margin-bottom: 24px;
}

/* ===== LOCALISATION / GOOGLE MAPS ===== */

.location-input-wrapper {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.location-input-wrapper input {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font);
  color: var(--black);
  transition: var(--transition);
  outline: none;
}

.location-input-wrapper input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(34,56,87,0.1);
}

.btn-map-pick {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  font-family: var(--font);
}

.btn-map-pick:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-map-pick i { font-size: 15px; }

.location-confirmed {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--success);
}

/* MODALE CARTE */
.map-modal-content {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 720px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.map-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: var(--primary);
  color: var(--white);
}

.map-modal-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.map-modal-title i { font-size: 20px; color: var(--accent); }
.map-modal-title h3 { font-size: 17px; font-weight: 700; }

.map-modal-close {
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,0.15);
  border: none;
  border-radius: 50%;
  color: var(--white);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.map-modal-close:hover { background: rgba(255,255,255,0.25); }

/* Barre de recherche */
.map-search-bar {
  padding: 14px 16px;
  background: var(--gray-bg);
  border-bottom: 1px solid var(--gray-light);
}

.map-search-input-wrapper {
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
}

.map-search-input-wrapper:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(34,56,87,0.1);
}

.map-search-input-wrapper > i {
  padding: 0 12px;
  color: var(--gray);
  font-size: 14px;
  flex-shrink: 0;
}

#map-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 14px;
  font-family: var(--font);
  color: var(--black);
  padding: 10px 0;
  background: transparent;
}

#map-locate-me {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: var(--primary);
  color: var(--white);
  border: none;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font);
  transition: var(--transition);
  white-space: nowrap;
}

#map-locate-me:hover { background: var(--primary-dark); }
#map-locate-me i { font-size: 14px; }

/* Conteneur carte */
.map-container-wrapper {
  position: relative;
  flex: 1;
  min-height: 360px;
}

#google-map {
  width: 100%;
  height: 100%;
  min-height: 360px;
}

/* Épingle centrale fixe */
.map-pin-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -100%);
  pointer-events: none;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.map-pin-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(34,56,87,0.35);
  border: 3px solid white;
}

.map-pin-icon i {
  transform: rotate(45deg);
  color: white;
  font-size: 16px;
}

.map-pin-shadow {
  width: 14px;
  height: 6px;
  background: rgba(0,0,0,0.2);
  border-radius: 50%;
  margin-top: 2px;
}

/* Aperçu adresse sur la carte */
.map-address-preview {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border-radius: 50px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  box-shadow: var(--shadow);
  white-space: nowrap;
  max-width: 90%;
  overflow: hidden;
  text-overflow: ellipsis;
  z-index: 10;
}

.map-address-preview i { color: var(--accent); flex-shrink: 0; }

/* Footer modale */
.map-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  border-top: 1px solid var(--gray-light);
  background: var(--white);
}

.map-selected-address {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.map-selected-address > i {
  color: var(--accent);
  font-size: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

.map-addr-label {
  font-size: 11px;
  color: var(--gray);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.map-addr-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 320px;
}

#confirm-location-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none !important;
}

/* Google Places autocomplete dropdown */
.pac-container {
  border-radius: var(--radius-sm) !important;
  box-shadow: var(--shadow) !important;
  border: 1px solid var(--gray-light) !important;
  font-family: var(--font) !important;
  margin-top: 4px;
}

.pac-item { padding: 10px 14px !important; font-size: 14px !important; cursor: pointer; }
.pac-item:hover { background: var(--gray-bg) !important; }
.pac-item-query { color: var(--black) !important; font-weight: 600 !important; }
.pac-matched { color: var(--accent-dark) !important; }

/* ===== SÉCURITÉ — BADGES & VALIDATION ===== */

/* Badges de sécurité sous le bouton réservation */
.security-badges {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.sec-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--gray-bg);
  border: 1px solid var(--gray-light);
  color: var(--gray-dark);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 50px;
}

.sec-badge i { color: var(--success); font-size: 11px; }

/* Info paiement sécurisé */
.payment-secure-info {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 12px;
  color: #166534;
  line-height: 1.5;
}

.payment-secure-info i { color: var(--success); flex-shrink: 0; margin-top: 1px; }

/* Validation champs */
.input-error {
  border-color: var(--danger) !important;
  background: #fff5f5 !important;
}

.input-valid {
  border-color: var(--success) !important;
  background: #f0fdf4 !important;
}

.field-error {
  display: block;
  font-size: 11px;
  color: var(--danger);
  font-weight: 600;
  margin-top: 4px;
}

/* Toast alerte sécurité */
.security-alert-toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #1a1a2e;
  color: white;
  padding: 12px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.security-alert-toast i { color: var(--accent); }

.security-alert-toast.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Honeypot invisible */
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
  aria-hidden: true;
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
  z-index: 999;
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.scroll-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

/* ==============================================
   RESPONSIVE — MyClean CI
   Breakpoints: 1200 | 1024 | 768 | 480 | 360
============================================== */

/* ---- TABLET LARGE (≤ 1200px) ---- */
@media (max-width: 1200px) {
  :root { --max-width: 960px; }
  .services-grid { grid-template-columns: repeat(4, 1fr); }
  .hero-container { gap: 36px; }
  .booking-card { min-width: 360px; }
}

/* ---- TABLET (≤ 1024px) ---- */
@media (max-width: 1024px) {
  /* HERO */
  .hero { min-height: auto; padding: 100px 0 60px; }
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-content { order: 1; }
  .hero-content p { margin: 0 auto 32px; max-width: 500px; }
  .hero-badge { margin: 0 auto 20px; display: inline-flex; }
  .hero-stats { justify-content: center; gap: 40px; }
  .booking-card { max-width: 600px; margin: 0 auto; width: 100%; }

  /* SERVICES */
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  /* TRUST */
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }

  /* TESTIMONIALS */
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }

  /* APP */
  .app-content { grid-template-columns: 1fr; text-align: center; gap: 32px; }
  .app-text p { margin: 0 auto 28px; }
  .app-buttons { justify-content: center; }
  .app-image { display: none; }

  /* PARTENAIRES */
  .partner-layout { grid-template-columns: 1fr; gap: 36px; }
  .partner-stats { gap: 20px; }

  /* CONTACT */
  .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 32px; }

  /* FOOTER */
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 28px; }
  .footer-col:last-child { grid-column: span 1; }
  .footer-brand { grid-column: span 3; display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 24px; }
  .footer-brand p { margin: 0; }
  .social-links { justify-self: start; }

  /* PRICING */
  .pricing-grid { gap: 16px; }
  .pricing-card { padding: 24px 20px; }

  /* STEPS */
  .step-card { padding: 24px 16px; }
}

/* ---- MOBILE (≤ 768px) ---- */
@media (max-width: 768px) {
  /* HEADER */
  .header { height: 64px; }
  .header-inner { padding: 0 16px; gap: 12px; }
  .nav { display: none; }
  .hamburger { display: flex; }
  .header-actions .btn-outline { display: none; }
  .header-actions .btn-primary { padding: 9px 16px; font-size: 13px; }

  .nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: var(--white);
    padding: 16px 20px 24px;
    box-shadow: 0 8px 24px rgba(34,56,87,0.12);
    gap: 4px;
    z-index: 999;
    border-top: 2px solid var(--accent-light);
  }

  .nav.open a {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition);
  }

  .nav.open a:hover {
    background: var(--accent-light);
    color: var(--primary);
  }

  /* HERO */
  .hero { padding: 88px 0 48px; }
  .hero-container { gap: 32px; }
  .hero-content h1 { font-size: 30px; }
  .hero-content p { font-size: 16px; }
  .hero-stats { flex-wrap: wrap; justify-content: center; gap: 20px 36px; }
  .stat strong { font-size: 22px; }
  .booking-card { border-radius: var(--radius); }

  /* SERVICES */
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .service-card { padding: 20px 16px; }
  .service-icon { width: 44px; height: 44px; font-size: 18px; }
  .service-card h3 { font-size: 15px; }
  .service-card p { font-size: 13px; }

  /* STEPS */
  .steps-grid { flex-direction: column; gap: 12px; }
  .step-arrow { transform: rotate(90deg); font-size: 16px; }
  .step-card { padding: 24px 20px; }

  /* PRICING */
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .pricing-card.featured { order: -1; }

  /* TRUST */
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .trust-item i { font-size: 28px; }

  /* TESTIMONIALS */
  .testimonials-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }

  /* APP */
  .app-buttons { flex-direction: column; align-items: center; }
  .app-btn { width: 100%; max-width: 260px; justify-content: center; }

  /* PARTENAIRES */
  .partner-form { padding: 20px 16px; }
  .partner-form-header { padding: 22px 20px; }
  .checkbox-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .partner-stats { flex-wrap: wrap; gap: 16px; }

  /* CONTACT */
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-form { padding: 24px 20px; }
  .contact-info { flex-direction: row; flex-wrap: wrap; gap: 16px; }
  .contact-item { flex: 1; min-width: 180px; }

  /* FORMS */
  .form-row { grid-template-columns: 1fr; }
  .frequency-options { gap: 6px; }
  .booking-form { padding: 16px; gap: 14px; }

  /* FOOTER */
  .footer { padding: 48px 0 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-brand { grid-column: span 2; grid-template-columns: 1fr; text-align: center; }
  .footer-brand p { margin: 12px 0 16px; }
  .social-links { justify-content: center; justify-self: center; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 12px; }
  .footer-links { margin-left: 0; flex-wrap: wrap; justify-content: center; }
  .payment-methods { justify-content: center; }

  /* MAP MODAL */
  .map-modal-content { width: 100%; max-height: 100dvh; border-radius: 0; }
  .map-container-wrapper { min-height: 280px; }
  #google-map { min-height: 280px; }
  .map-modal-footer { flex-direction: column; gap: 12px; }
  .map-modal-footer .btn { width: 100%; justify-content: center; }
  #map-locate-me span { display: none; }
  .map-addr-value { max-width: 100%; }

  /* SECTION */
  .section { padding: 56px 0; }
  .section-header { margin-bottom: 36px; }
  .section-header h2 { font-size: 26px; }
}

/* ---- MOBILE SMALL (≤ 480px) ---- */
@media (max-width: 480px) {
  .container { padding: 0 14px; }

  /* HERO */
  .hero { padding: 80px 0 40px; }
  .hero-content h1 { font-size: 26px; line-height: 1.2; }
  .hero-badge { font-size: 12px; }
  .hero-stats { gap: 16px 24px; }
  .stat strong { font-size: 20px; }
  .stat span { font-size: 12px; }

  /* SERVICES — 1 colonne sur très petits écrans */
  .services-grid { grid-template-columns: 1fr; }
  .service-sub-tags { gap: 4px; }
  .sub-tag { font-size: 10px; padding: 2px 7px; }

  /* TRUST */
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .trust-item { padding: 0 8px; }
  .trust-item p { font-size: 12px; }

  /* FOOTER */
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }

  /* HEADER */
  .logo-img { height: 36px; }

  /* FORMS */
  .booking-form { padding: 12px; }
  .price-summary .price { font-size: 17px; }
  .btn-block { padding: 12px; font-size: 15px; }

  /* SECTION */
  .section { padding: 44px 0; }
  .section-header { margin-bottom: 28px; }
  .section-header h2 { font-size: 22px; }
  .section-header p { font-size: 14px; }

  /* PARTENAIRES */
  .checkbox-grid { grid-template-columns: 1fr 1fr; gap: 5px; }
  .checkbox-option { font-size: 12px; padding: 6px 8px; }
  .avantage-icon { width: 38px; height: 38px; font-size: 15px; }

  /* PRICING */
  .pricing-grid { max-width: 100%; }

  /* MAP */
  .map-search-bar { padding: 10px 12px; }
  .map-modal-header { padding: 14px 16px; }
  .map-modal-footer { padding: 12px 14px; }
}

/* ── ILS NOUS FONT CONFIANCE ── */
.trust-brands-section {
  background: #1a3050;
  padding: 70px 0;
}
.trust-brands-header {
  margin-bottom: 52px;
}
.trust-brands-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: rgba(255,255,255,0.6);
  font-weight: 400;
  letter-spacing: -0.5px;
}
.trust-brands-header h2 strong {
  color: #fff;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: #18a7e5;
  text-underline-offset: 6px;
  text-decoration-thickness: 3px;
}
.trust-brands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.trust-brand-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: #fff;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: default;
  height: 130px;
}
.trust-brand-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}
.brand-logo-img {
  width: 100%;
  height: 100%;
  max-height: 64px;
  object-fit: contain;
}
.brand-logo-text {
  color: rgba(255,255,255,0.45);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-align: center;
  transition: color 0.2s;
  line-height: 1.3;
}
.brand-logo-text em {
  font-style: normal;
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  opacity: 0.7;
}
.trust-brand-item:hover .brand-logo-text {
  color: rgba(255,255,255,0.9);
}
@media (max-width: 900px) {
  .trust-brands-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
}
@media (max-width: 500px) {
  .trust-brands-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .trust-brand-item { padding: 18px 12px; min-height: 96px; }
  .brand-logo-img { max-height: 56px; }
}

/* ── ILS PARLENT DE NOUS ── */
.press-section {
  background: #f8fafc;
  padding: 70px 0;
  border-bottom: 1px solid #e2e8f0;
}
.press-section .trust-brands-header h2 {
  color: rgba(26, 48, 80, 0.45);
}
.press-section .trust-brands-header h2 strong {
  color: #1a3050;
  text-decoration-color: #18a7e5;
}
.press-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
}
.press-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  border: 1px solid #e2e8f0;
  transition: background 0.2s;
  cursor: default;
}
.press-item:hover { background: #fff; }
.press-logo-text {
  color: #94a3b8;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.3;
  transition: color 0.2s;
}
.press-logo-text em {
  font-style: normal;
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1px;
  opacity: 0.8;
}
.press-item:hover .press-logo-text { color: #223857; }
@media (max-width: 900px) {
  .press-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 500px) {
  .press-grid { grid-template-columns: repeat(2, 1fr); }
  .press-item { padding: 22px 12px; }
}

/* ---- MOBILE XS (≤ 360px) ---- */
@media (max-width: 360px) {
  .hero-content h1 { font-size: 22px; }
  .header-actions .btn-primary { display: none; }
  .booking-header h3 { font-size: 14px; }
  .step-number { font-size: 32px; }
  .app-btn { padding: 10px 16px; }
  .app-btn i { font-size: 20px; }
}
