/* =====================================================
   MOVAWAY — HOME (sections homepage)
   ===================================================== */

/* ============ HERO ============ */
.hero {
  padding: 50px 0 70px;
  position: relative;
  overflow: hidden;
}
.hero-curve {
  position: absolute;
  right: -260px;
  bottom: -180px;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  border: 80px solid var(--primary);
  z-index: 0;
  pointer-events: none;
  opacity: 0.95;
}
.hero-grid {
  /* Propriétés du container intégrées : cette grille n'est PLUS une .container
     (sinon Salient/WPBakery y injectent padding vertical + pseudo-éléments clearfix
     qui deviennent des items de grille → décalage). Largeur/centrage repris ici. */
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  column-gap: 50px;
  row-gap: 0;
  align-items: center;
  position: relative;
  z-index: 1;
  direction: ltr; /* blindage : empêche toute inversion de colonnes (dir=rtl hérité, etc.) */
}
/* Placement EXPLICITE des colonnes : texte à gauche, vidéo à droite.
   Robuste face à un éventuel grid-auto-flow / direction externe. */
.hero-grid > .hero-text   { grid-column: 1; min-width: 0; }
.hero-grid > .hero-visual { grid-column: 2; min-width: 0; }
.hero h1 {
  font-size: clamp(2.4rem, 2rem + 3vw, 4.5rem);
  letter-spacing: -1px;
  margin-bottom: 32px;
}
.hero p.lead {
  font-size: clamp(1.05rem, 0.9rem + 0.4vw, 1.3rem);
  color: var(--ink-soft);
  margin-bottom: 44px;
  font-weight: 500;
  line-height: 1.55;
}
.hero-cta-label {
  font-weight: 600;
  color: var(--ink);
  font-size: 14px;
  margin-right: 4px;
}
.hero-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-soft);
}
.trust-badge strong { font-weight: 800; color: var(--ink); }
.stars {
  display: inline-flex;
  gap: 2px;
  color: var(--gold);
  font-size: 16px;
  align-items: center;
}
.stars img { display: inline-block; }
.trust-badge a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  z-index: 1;
  width: 100%;
  max-width: 420px;
  margin-left: auto;
}
.hero-visual img,
.hero-visual video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-sticker {
  position: absolute;
  top: 16px; left: 16px;
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.95);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 2px solid rgba(255,255,255,0.5);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.play-btn:hover { transform: translate(-50%, -50%) scale(1.08); background: rgba(255,255,255,0.5); }
.play-btn::before {
  content: "";
  width: 0; height: 0;
  border-left: 16px solid #fff;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  margin-left: 5px;
}
.hero-caption {
  position: absolute;
  left: 20px; bottom: 20px;
  color: #fff;
  font-weight: 900;
  font-size: 22px;
  z-index: 2;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

/* ============ STATS ROW ============ */
.stats {
  padding: 50px 0 80px;
}
.stats-grid {
  /* Idem hero-grid : plus de classe .container (anti-pollution Salient/WPBakery). */
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  column-gap: 40px;
  row-gap: 0;
  align-items: center;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}
.stat-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.stat-num {
  font-weight: 900;
  color: var(--primary);
}
.stat p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  font-weight: 500;
  max-width: 220px;
  line-height: 1.4;
}
.stat p strong { color: var(--ink); font-weight: 800; }

.testimonial {
  background: transparent;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.testimonial-head {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.testimonial-photo {
  width: 48px; height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #ffc99b, #d97757);
  position: relative;
}
.testimonial-photo img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-name {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 800;
  font-size: 1.05rem;
}
.verified {
  width: 16px; height: 16px;
  background: var(--primary);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}
.testimonial p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  font-weight: 500;
  max-width: 280px;
  line-height: 1.4;
}

/* ============ POURQUOI MOVAWAY (centered) ============ */
.why {
  padding: 80px 0 100px;
  text-align: center;
}
.why h2 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  margin-bottom: 32px;
  letter-spacing: -0.03em;
}
.why p {
  max-width: 880px;
  margin: 0 auto;
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  color: var(--ink-soft);
  font-weight: 500;
  line-height: 1.55;
}
.why p strong { color: var(--ink); font-weight: 800; }

/* ============ WHAT YOU SEE (collage + pills) ============ */
.what-see {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 80px 60px;
}
.what-see-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Image de fond "people" à gauche */
.what-see-image {
  position: relative;
  max-width: 480px;
}
.what-see-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Features pills (horizontaux) */
.what-see-text h2 { margin-bottom: 14px; font-size: clamp(2.2rem, 4.5vw, 3.6rem); line-height: 1.05; }
.what-see-sub {
  color: var(--ink-soft); /* a11y : ink-mute (2,7:1) sous le seuil de 4,5:1 */
  font-weight: 500;
  margin-bottom: 32px;
  font-size: 0.95rem;
}
.feature-pills { display: flex; flex-direction: column; gap: 12px; }
.feature-pill {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #dee1e6;
  padding: 18px 22px;
  border-radius: var(--radius-pill);
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature-pill:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}
.feature-pill .ico {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}
.feature-pill .ico img,
.feature-pill .ico svg {
  width: 26px;
  height: 26px;
  object-fit: contain;
}
.feature-pill p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
}

/* ============ BILLBOARD ============ */
.billboard {
  padding: 80px 0;
}
.billboard-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* ============ ON S'OCCUPE DE TOUT ============ */
.handle-all-section { padding: 60px 0 90px; }
.handle-all-section .section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}
.handle-all-section .section-head h2 { margin-bottom: 20px; }
.handle-all-section .section-head p {
  color: var(--ink-soft);
  font-weight: 500;
}
.handle-all-section .section-head p strong { color: var(--ink); font-weight: 800; }
.cards-4 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.handle-card {
  background: #dee1e6;
  padding: 32px 30px;
  border-radius: var(--radius-md);
  transition: transform .3s ease, box-shadow .3s ease;
}
.handle-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.handle-card h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
  color: var(--color-txt);
}
.handle-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.6;
  font-weight: 500;
}

/* ============ NEWSLETTER ============ */
.newsletter-section { padding: 50px 0; }
.newsletter {
  text-align: center;
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 140px 24px 90px;
  position: relative;
  overflow: hidden;
  background-color: #ffffff;
  background-image: url("https://movaway.fr/wp-content/uploads/2025/11/bg-NL.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.newsletter > * { position: relative; z-index: 1; }
.newsletter h2 {
  color: var(--ink);
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}
.newsletter p {
  max-width: 600px;
  margin: 0 auto 40px;
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  color: var(--ink-soft);
  font-weight: 500;
  line-height: 1.5;
}
.newsletter p u {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.newsletter-form {
  display: flex;
  gap: 8px;
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  padding: 6px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
}
.newsletter-form input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 14px 24px;
  font-size: 15px;
  font-family: inherit;
  font-weight: 500;
  color: var(--ink);
}
.newsletter-form input::placeholder { color: var(--ink-mute); }
.newsletter-form button {
  background: var(--primary-cta);
  color: #fff;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 15px;
  font-family: inherit;
  transition: background .2s ease;
}
.newsletter-form button:hover { background: var(--primary-dark); }

/* ============ EXPÉRIENCE 3 ÉTAPES + 2 STORIES ============ */
.experience {
  padding: 80px 0;
}
.experience .exp-box {
  background-color: var(--bg-soft);
  background-image: url("https://movaway.fr/wp-content/uploads/2025/11/bg-experience.svg");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: auto 110%;
  border-radius: var(--radius-lg);
  padding: 70px 60px;
}
.experience .section-head {
  text-align: center;
  max-width: 100%;
  margin: 0 0 50px;
}
.experience .section-head h2 {
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 900;
}
.exp-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
}
.steps {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.step {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  text-align: left;
}
.step-num {
  flex-shrink: 0;
  position: relative;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-num::before {
  position: absolute;
  content: '';
  width: 60px;
  height: 60px;
  background: var(--color-1);
  top: 0;
  left: 0;
  border-radius: 50%;
  z-index: 0;
}
.step-num img {
  width: 60px !important;
  padding: 16px;
  z-index: 1;
  position: relative;
  filter: var(--filter-light);
  display: block;
}
.step h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--ink);
}
.step p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.55;
  max-width: 420px;
  margin: 0;
}

/* Stories (vidéos rondes) */
.stories {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
}
.story {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 130px;
}
.story-thumb {
  position: relative;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow:
    0 0 0 3px #ffffff,
    0 0 0 9px var(--ring-color, rgba(30, 99, 255, 0.35));
  cursor: pointer;
  transition: transform .2s ease;
}
.story { --ring-color: rgba(30, 99, 255, 0.35); }
.story-thumb:hover { transform: scale(1.04); }
.story-thumb video,
.story-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.story-thumb .story-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.story-thumb .story-play::before {
  content: "";
  width: 0; height: 0;
  border-left: 10px solid #fff;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  margin-left: 3px;
}
.story-caption {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
  line-height: 1.25;
}

/* ============ NOS VILLES ============ */
/* ============ AVIS VÉRIFIÉS — Skeepers carousel (juste avant les villes) ============ */
.skeepers-section {
  padding: 60px 0;
  background: #fff;
}
.skeepers-section .skeepers_carousel_container {
  width: 100%;
  /* Le widget Skeepers gère son propre layout interne et s'étend à 100% du .container parent
     (max-width 1400px, padding 0 28px) pour rester aligné avec les autres sections. */
}

.cities {
  padding: 80px 0;
}
.cities .section-head { text-align: center; max-width: 600px; margin: 0 auto 50px; }
.cities-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
/* Chaque ligne a son propre nombre de colonnes via --cols (calculé en PHP selon
   le nombre de villes : max 4/ligne, lignes équilibrées). Les cartes d'une ligne
   plus courte s'élargissent pour combler (minmax(0,1fr)). */
.cities-row {
  display: grid;
  grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr));
  gap: 28px;
}
.city-card {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-md);
}
.city-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.city-card:hover img { transform: scale(1.06); }
.city-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(10, 23, 51, 0.75));
}
.city-info {
  position: absolute;
  left: 30px; bottom: 30px;
  z-index: 2;
  color: #fff;
}
.city-info h3 {
  font-size: 1.85rem;
  color: #fff;
  margin-bottom: 6px;
  font-weight: 900;
}
.city-info span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.95;
}


/* ============ Responsive home ============ */
/* Note : le responsive du header (nav, burger, drawer) est dans css/header.css.
   Le responsive du footer (grid 4 → 2 → 1 cols) est dans css/footer.css. */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  /* En 1 colonne, on annule le placement explicite (grid-column:1/2) pour
     EMPILER texte puis visuel — sinon le texte est coincé en col.1 à 0px. */
  .hero-grid > .hero-text,
  .hero-grid > .hero-visual { grid-column: 1; }
  .hero-visual { max-width: 380px; margin: 0 auto; aspect-ratio: 4/4.5; }
  .hero-curve { width: 480px; height: 480px; right: -300px; bottom: -280px; border-width: 50px; }
  /* On garde les 3 colonnes à ce breakpoint, juste un gap plus serré */
  .stats-grid { gap: 24px; }
  .what-see-grid { grid-template-columns: 1fr; gap: 40px; }
  .what-see { padding: 60px 32px; margin: 0 16px; }
  .what-see-image { max-width: 380px; margin: 0 auto; }
  .cards-4 { grid-template-columns: 1fr; }
  /* Tablette : on force 2 colonnes par ligne, quel que soit --cols. */
  .cities-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .exp-grid { grid-template-columns: 1fr; gap: 40px; }
  .experience .exp-box { padding: 50px 28px; background-size: 200% auto; background-position: right -40% bottom; }
  .stories { gap: 32px; }
  .billboard-panel { width: 80%; }
  section, .why, .stats, .billboard, .handle-all-section, .experience, .cities, .blog, .faq, .newsletter-section { padding: 50px 0; }
  .container { padding: 0 20px; }
  .hero-grid, .stats-grid { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 540px) {
  .newsletter-form { flex-direction: column; border-radius: 28px; padding: 10px; }
  .newsletter-form input, .newsletter-form button { width: 100%; border-radius: var(--radius-pill); }
  .header-inner { gap: 10px; }
  .hero-row { gap: 10px; }
  .hero-cta-label { width: 100%; margin-bottom: 4px; }
  .city-info h3 { font-size: 1.5rem; }
  .billboard-panel { width: 90%; aspect-ratio: 1.8/1; padding: 20px; transform: none; }
  /* Stats : on collapse à 1 colonne uniquement sur très petit mobile */
  .stats-grid { grid-template-columns: 1fr; gap: 32px; }
  /* Villes : 1 colonne sur mobile. */
  .cities-row { grid-template-columns: 1fr; }
}

