/* =============================================================
   AQUAZURO — Enhancements v2
   Scroll animations · Mobile · Aesthetic polish
   ============================================================= */

/* ── Hero index : pas de filtre sombre ── */
.hero::after {
  background: none !important;
}

/* ── Utility: screen-reader only ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.services-intro-mobile {
  display: none;
}

/* ── HTML – Smooth native scroll ── */
html {
  scroll-behavior: smooth;
}

/* ═══════════════════════════════════════
   NAVBAR MOBILE — hamburger | logo | tel
═══════════════════════════════════════ */

/* Caché sur desktop */
.nav-tel {
  display: none;
}

@media (max-width: 1000px) {
  /* Grille 3 colonnes : [burger] [logo] [tel] */
  .navbar-inner {
    display: grid;
    grid-template-columns: 48px 1fr 48px;
    align-items: center;
    gap: 0;
    padding: 0 16px;
  }

  /* Burger — colonne 1 */
  .nav-toggle {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    z-index: 21000;
  }

  /* Navbar — padding réduit sur mobile */
  .navbar {
    position: fixed !important;
    top: 0 !important;
    padding: 10px 0 !important;
  }

  body {
    padding-top: 0 !important;
  }

  .home-page-body .header {
    padding-top: 72px !important;
  }

  .forfaits-page-body .fp-hero {
    margin-top: 72px !important;
  }

  /* Logo — colonne 2, centré */
  .brand {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* Contraindre par la hauteur pour préserver les proportions du SVG */
  .brand-mark {
    width: 180px !important;
    height: 54px !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .brand-mark img {
    height: 54px !important;
    width: 54px !important;
    max-width: none !important;
    display: block;
    object-fit: contain;
    /* Même scale que desktop mais centré = logo visible et centré */
    transform: translateY(-3%) scale(2.7) !important;
    transform-origin: center center !important;
  }

  .brand-text {
    display: none !important;
  }

  /* Icône téléphone — colonne 3 */
  .nav-tel {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: #0EA5E9;
    border-radius: 8px;
    transition: background 0.2s ease, color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
  }

  .nav-tel:hover,
  .nav-tel:active {
    background: rgba(14, 165, 233, 0.1);
    color: #38bdf8;
  }

  .nav-tel svg {
    display: block;
    flex-shrink: 0;
  }

  /* Cacher nav-cta sur mobile (déjà caché, renfort) */
  .nav-cta {
    display: none !important;
  }
}

/* ═══════════════════════════════════════
   1. SCROLL PROGRESS RING
═══════════════════════════════════════ */
.aq-scroll-ring {
  position: fixed;
  bottom: 24px;
  right: 20px;
  width: 58px;
  height: 58px;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.aq-scroll-ring.is-visible {
  opacity: 1;
  transform: scale(1);
}
.aq-ring-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.aq-ring-track {
  fill: rgba(15, 15, 16, 0.82);
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 2.5;
}
.aq-ring-progress {
  fill: none;
  stroke: #FFA500;
  stroke-width: 3;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.12s linear;
}
.aq-ring-logo {
  position: absolute;
  inset: 6px;
  width: calc(100% - 12px);
  height: calc(100% - 12px);
  object-fit: contain;
  border-radius: 50%;
}
@media (max-width: 900px) {
  .aq-scroll-ring {
    width: 50px;
    height: 50px;
    bottom: 18px;
    right: 14px;
  }
}

/* ═══════════════════════════════════════
   3. SCROLL REVEAL – Easing naturel
═══════════════════════════════════════ */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--sr-delay, 0ms);
}

.fade-up.in-view {
  opacity: 1;
  transform: none;
}

.fade-left {
  opacity: 0;
  transform: translateX(-40px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--sr-delay, 0ms);
}

.fade-right {
  opacity: 0;
  transform: translateX(40px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--sr-delay, 0ms);
}

.fade-scale {
  opacity: 0;
  transform: scale(0.92) translateY(14px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--sr-delay, 0ms);
}

.fade-left.in-view,
.fade-right.in-view,
.fade-scale.in-view {
  opacity: 1;
  transform: none;
}

/* Stagger individuel – why-cards (géré via JS) */
.why-card {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.3s ease;
  transition-delay: var(--stagger-delay, 0ms);
}

.why-card.is-revealed {
  opacity: 1;
  transform: none;
}

/* ═══════════════════════════════════════
   4. CARDS – Hover avec halo bleu
═══════════════════════════════════════ */
.card {
  transition:
    box-shadow 0.28s ease,
    opacity 0.7s ease,
    transform 0.7s ease;
}

.card:hover {
  box-shadow:
    0 12px 24px rgba(14, 165, 233, 0.08),
    0 3px 10px rgba(0, 0, 0, 0.06);
}

/* ═══════════════════════════════════════
   5. BOUTONS – Lift + ombre au hover
═══════════════════════════════════════ */
.btn-outline,
.nav-cta,
.form-submit,
.band .btn-light {
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease !important;
}

.btn-outline:hover {
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.25);
}

/* ═══════════════════════════════════════
   6. STEP CARDS – Hover fluide
═══════════════════════════════════════ */
.steps-section.is-inview .step-card {
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease !important;
}

.steps-section.is-inview .step-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 52px rgba(14, 165, 233, 0.16);
}

/* ═══════════════════════════════════════
   7. FORFAIT COL – Hover accent
═══════════════════════════════════════ */
.forfait-col {
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease !important;
}

.forfait-col:hover {
  transform: translateY(-8px);
  box-shadow:
    0 20px 44px rgba(14, 165, 233, 0.13),
    0 3px 8px rgba(0, 0, 0, 0.06);
}

/* ═══════════════════════════════════════
   8. WHY CARD – Hover sombre
═══════════════════════════════════════ */
.why-card {
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.3s ease !important;
  border-radius: 8px;
}

.why-card.is-revealed:hover {
  background: rgba(14, 165, 233, 0.07) !important;
  transform: translateY(-6px);
}

.why-card::before {
  transition: background 0.3s ease;
}

.why-card:hover::before {
  background: #38bdf8;
}

/* ═══════════════════════════════════════
   9. PHOTO FRAME – Coins arrondis
═══════════════════════════════════════ */
.photo-frame {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.14);
}

/* ═══════════════════════════════════════
   10. ZONE MAP – Cadre raffiné
═══════════════════════════════════════ */
.zone-map-frame {
  border: 1px solid rgba(14, 165, 233, 0.22) !important;
  border-radius: 14px !important;
  box-shadow: 0 8px 32px rgba(14, 165, 233, 0.08);
  transition: box-shadow 0.35s ease;
  overflow: hidden;
}

.zone-map-frame:hover {
  box-shadow: 0 12px 44px rgba(14, 165, 233, 0.15);
}

/* ═══════════════════════════════════════
   11. FORFAIT CARD (accueil) – Premium highlight
═══════════════════════════════════════ */
#forfait-premium {
  border-color: #FFA500 !important;
  box-shadow: none !important;
}

/* ═══════════════════════════════════════
   12. FOOTER – Accent top
═══════════════════════════════════════ */
.site-footer {
  border-top: 1px solid rgba(14, 165, 233, 0.15);
}

/* ═══════════════════════════════════════
   13. SECTIONS – Ligne de séparation subtile
═══════════════════════════════════════ */
.steps-section {
  position: relative;
}

.steps-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.18), transparent);
  pointer-events: none;
}


/* ═══════════════════════════════════════
   16. MOBILE – Hero mi-écran + slider masqué
═══════════════════════════════════════ */
@media (max-width: 900px) {
  .hero-desktop-copy {
    display: none !important;
  }

  .hero-mobile-copy {
    display: inline !important;
  }

  /* Hero réduit — ~44vh */
  .home-page-body {
    padding-top: 0 !important;
  }

  .hero {
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 1272 / 895 !important;
    background: #111 !important;
  }

  .hero::before {
    background-size: cover !important;
    background-position: center center !important;
  }

  /* Moins de marge autour du texte du hero */
  .hero-content {
    left: 16px !important;
    right: 16px !important;
    padding: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
  }

  .hero-title {
    font-size: 28px !important;
    line-height: 1.2;
    margin-bottom: 10px !important;
  }

  .hero-kicker {
    font-size: 11px;
    letter-spacing: 2px;
    margin-bottom: 6px !important;
  }

  .hero-kicker .hero-mobile-copy {
    font-size: 13px !important;
    letter-spacing: 0.8px !important;
    text-transform: none !important;
    color: #e7e7e7 !important;
    font-weight: 400 !important;
  }

  .hero-subtitle {
    font-size: 13px;
    margin-bottom: 16px !important;
  }

  /* Masquer le slider photo — on garde uniquement le texte */
  .photo-box {
    display: none !important;
  }

  /* Le split devient une seule colonne centrée sur le texte */
  .split {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  .section-specialist {
    padding-top: 20px !important;
  }

  .section-specialist .container {
    padding-top: 20px !important;
    padding-bottom: 36px !important;
  }

  /* ── SERVICES ACCORDION mobile ── */

  /* Sortir le bloc services des marges du container */
  .services .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  /* Mais garder le titre centré avec un peu de padding */
  .services .container > h2 {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .services-marquee {
    overflow-x: clip !important;
    overflow-y: visible !important;
    padding: 0 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .services-marquee::before,
  .services-marquee::after,
  .services-nav { display: none !important; }

  .services-track {
    animation: none !important;
    will-change: auto !important;
    transform: none !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 12px !important;
    padding: 0 !important;
  }

  .services-track .card:nth-child(n+7) { display: none !important; }

  /* ── CARTE : une seule ligne bleue [icône | titre | +] ── */
  .services-track .card {
    flex: none !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 0 !important;
    column-gap: 12px !important;
    padding: 14px 16px !important;
    background: #0ea5e9 !important;
    border: none !important;
    border-top: none !important;
    border-left: 4px solid var(--promo-orange) !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    min-height: 0 !important;
    height: auto !important;
    width: 100% !important;
    cursor: pointer !important;
    -webkit-tap-highlight-color: transparent !important;
    overflow: hidden !important;
    transition: background 0.15s ease !important;
  }

  /* Icône — fond semi-transparent pour cohérence avec la palette bleue */
  .services-track .card-media {
    order: 0 !important;
    flex: 0 0 34px !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 7px !important;
    background: rgba(255,255,255,0.22) !important;
    box-shadow: none !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
  }

  .services-track .card-media img {
    width: 26px !important;
    height: 26px !important;
    object-fit: contain !important;
    margin: 0 !important;
    box-shadow: none !important;
    filter: none !important;
  }

  .services-track .card-media svg {
    width: 22px !important;
    height: 22px !important;
    flex-shrink: 0 !important;
  }

  /* Titre blanc */
  .services-track .card h4 {
    order: 1 !important;
    flex: 1 1 0 !important;
    min-width: 0 !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    text-align: left !important;
    margin: 0 !important;
    min-height: 0 !important;
    line-height: 1.3 !important;
    background: transparent !important;
    padding: 0 !important;
    position: static !important;
  }

  /* Pas de pseudo-élément sur h4 */
  .services-track .card h4::after {
    display: none !important;
    content: "" !important;
  }

  /* Bouton + sur la carte */
  .services-track .card::after {
    order: 2 !important;
    content: "+" !important;
    display: flex !important;
    flex: 0 0 auto !important;
    align-self: center !important;
    color: #fff !important;
    font-size: 22px !important;
    font-weight: 300 !important;
    line-height: 1 !important;
    padding-left: 10px !important;
  }

  /* ── Wrapper CSS Grid : animation de hauteur fluide ── */
  .services-track .card .svc-expand-wrapper {
    order: 3 !important;
    flex: 0 0 auto !important;
    width: calc(100% + 32px) !important;  /* compense les 16px de padding gauche + droite */
    display: grid !important;
    grid-template-rows: 0fr !important;
    transition: grid-template-rows 0.38s cubic-bezier(0.4, 0, 0.2, 1) !important;
    margin: 0 -16px -14px -16px !important;
  }

  /* Contenu : fond transparent — montre le bleu de la carte, texte sombre */
  .services-track .card .svc-expand-wrapper > div {
    min-height: 0 !important;
    background: transparent !important;
    overflow: hidden !important;
    opacity: 0 !important;
    transition: opacity 0.2s ease-in-out !important;
  }

  /* Ouvert : fade-in fluide */
  .services-track .card.svc-open .svc-expand-wrapper > div {
    opacity: 1 !important;
    transition: opacity 0.3s ease-in-out 0.08s !important;
  }

  /* Liste à puces — texte blanc, points blancs, homogène avec la carte */
  .services-track .card .svc-list,
  .services-track .card p {
    order: unset !important;
    flex: unset !important;
    max-height: none !important;
    overflow: visible !important;
    margin: 10px 0 12px !important;
    padding: 0 16px 0 40px !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #fff !important;
    min-height: 0 !important;
    background: transparent !important;
    transition: none !important;
    list-style: disc outside !important;
    display: grid !important;
    gap: 6px !important;
  }

  .services-track .card .svc-list li {
    color: #fff !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: inherit !important;
  }

  .services-track .card .svc-list li::marker {
    color: var(--promo-orange) !important;
    font-size: 1.1em !important;
  }

  /* Bouton "VOIR CE SERVICE" */
  .services-track .card .btn-outline {
    display: block !important;
    order: unset !important;
    flex: unset !important;
    max-height: none !important;
    overflow: visible !important;
    background: var(--promo-orange) !important;
    color: #111111 !important;
    border: none !important;
    border-top: none !important;
    border-radius: 0 0 10px 10px !important;
    margin: 0 !important;
    padding: 11px 16px 14px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-align: center !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    width: 100% !important;
    min-width: 0 !important;
    transition: background 0.2s ease !important;
    box-sizing: border-box !important;
  }

  /* ── OUVERT : carte légèrement plus foncée pour différencier header / contenu ── */
  .services-track .card.svc-open {
    background: #0ea5e9 !important;
  }

  .services-track .card.svc-open::after {
    content: "−" !important;
  }

  .services-track .card.svc-open .svc-expand-wrapper {
    grid-template-rows: 1fr !important;
    border-top: 1px solid rgba(255, 255, 255, 0.35) !important;
    margin-top: 10px !important;
  }
}

@media (min-width: 901px) {
  .hero-mobile-copy {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 26px !important;
  }

  .hero-subtitle {
    font-size: 13px;
  }

  /* iOS – prévenir le zoom au focus */
  input,
  select,
  textarea {
    font-size: 16px !important;
  }

  .promo-track span {
    font-size: 11px;
  }
}

/* ═══════════════════════════════════════
   17. MOBILE – Band section
═══════════════════════════════════════ */
@media (max-width: 768px) {
  .band-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .band h3 {
    font-size: 22px !important;
    line-height: 1.35;
  }

  .band small {
    font-size: 12px;
    margin-bottom: 8px;
  }
}

/* ═══════════════════════════════════════
   18. MOBILE – Marquee services plus lent
   NOTE: à ≤900px l'animation est déjà désactivée (accordion).
   Cette règle est conservée comme garde-fou si le breakpoint change.
═══════════════════════════════════════ */
@media (max-width: 600px) {
  .services-track {
    animation-duration: 22s !important;
  }
}

/* ═══════════════════════════════════════
   19. FOCUS VISIBLE – Accessibilité
═══════════════════════════════════════ */
:focus-visible {
  outline: 2px solid #0EA5E9;
  outline-offset: 3px;
  border-radius: 3px;
}

/* ═══════════════════════════════════════
   20. PREFERS REDUCED MOTION
═══════════════════════════════════════ */
/* ═══════════════════════════════════════
   PAGE TRANSITIONS
═══════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════
   NAVBAR — Fix GPU compositing (logo drift bug sur Safari/iOS)
   Le scale(2.7) + promo animation CSS causent un drift visuel
   → forcer la navbar sur sa propre couche GPU
   ══════════════════════════════════════════════════════ */
.navbar {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
/* Promo banner — statique, centré, pas d'animation */
.promo-track-inner {
  animation: none !important;
  will-change: auto !important;
  transform: none !important;
  justify-content: center !important;
}
.promo-track {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}
/* Masquer le span dupliqué (utile seulement pour le défilement en boucle) */
.promo-track-inner span[aria-hidden="true"] {
  display: none !important;
}
/* Supprimer le dégradé de fondu côté gauche */
.promo-banner::before {
  display: none !important;
}
.promo-banner {
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}
.promo-track span {
  text-transform: uppercase !important;
  letter-spacing: 0.3px !important;
  font-size: 13px !important;
  font-weight: 400 !important;
}
.promo-track span strong {
  font-weight: 700 !important;
}
body {
  opacity: 1;
  transition: opacity 0.22s ease;
}
body.page-leaving {
  opacity: 0;
  transition: opacity 0.22s ease;
}
body.page-ready {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  body,
  body.page-leaving,
  body.page-ready {
    transition: none !important;
  }

  .fade-up,
  .fade-left,
  .fade-right,
  .fade-scale,
  .why-card {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .why-card.is-revealed {
    opacity: 1;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ═══════════════════════════════════════════════════════
   MOBILE PREMIUM POLISH — Corrections responsive
   Aquazuro v3 · Mars 2026
   ══════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .container { padding-top: 24px !important; padding-bottom: 24px !important; }
  .section-specialist .container { padding-top: 16px !important; padding-bottom: 24px !important; }
  .services-page .container { padding-top: 0 !important; padding-bottom: 0 !important; }
}
@media (max-width: 900px) {
  .services-page-body .services-intro,
  .forfaits-page-body .services-intro,
  .contact-page-body .services-intro {
    margin-top: 72px !important;
  }

  .services-intro { padding-top: 80px !important; padding-bottom: 40px !important; }
  .services-intro .container { padding-top: 60px !important; }
}
@media (max-width: 600px) {
  .services-page-body .services-intro,
  .forfaits-page-body .services-intro,
  .contact-page-body .services-intro {
    margin-top: 72px !important;
  }

  .services-intro { padding-top: 60px !important; padding-bottom: 32px !important; }
  .services-intro .container { padding-top: 40px !important; }
  .services-intro h1 { font-size: 22px !important; line-height: 1.3 !important; }
  .services-intro p { font-size: 14px !important; }

  .services-page-body .services-intro-desktop {
    display: none !important;
  }

  .services-page-body .services-intro-mobile {
    display: inline !important;
  }

  .services-page-body .services-intro h1 {
    text-align: center !important;
  }

  .services-page-body .services-intro p {
    display: none !important;
  }
}
@media (max-width: 640px) {
  .trust-strip-inner { grid-template-columns: 1fr !important; gap: 14px !important; }
}
@media (max-width: 640px) {
  .wave-title .wave-svg { height: 0 !important; overflow: hidden !important; opacity: 0 !important; pointer-events: none !important; }
  .wave-title {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
  }
  .wave-title::before {
    content: "RÉSERVER EN 3 ÉTAPES";
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    text-align: center !important;
    font-family: "Montserrat", sans-serif; font-weight: 700;
    font-size: 17px; letter-spacing: 0.5px; color: #0b1320; line-height: 1.4;
    padding: 0 0 16px !important;
    margin: 0 !important;
  }
}
@media (max-width: 768px) {
  .steps-section { padding: 40px 0 10px !important; }
  .steps-section > .container > p { margin-bottom: 16px !important; }
}
@media (max-width: 600px) {
  .services h2, .zone-service h2, .forfaits h2 { font-size: 24px !important; letter-spacing: 1px !important; margin-bottom: 20px !important; }
  .section-title { font-size: 22px !important; letter-spacing: 0.5px !important; }
}
@media (max-width: 900px) {
  /* Espace pour le badge "Meilleur vendeur" qui déborde au-dessus */
  #forfait-premium {
    margin-top: 40px !important;
  }
  .card { min-height: auto !important; }
  .card p { min-height: 0 !important; }
  .card h4 { min-height: 0 !important; }
  .forfait-tagline { min-height: 0 !important; }
  .forfait-card { min-height: auto !important; }
  .why-card-title { min-height: 0 !important; }
  .forfait-tag { min-height: 0 !important; }
  .forfait-head { min-height: 0 !important; }
  .services-popup { bottom: calc(84px + env(safe-area-inset-bottom, 0px)) !important; }
  .why-card { padding: 14px 14px 14px 28px !important; }
  .services-nav { display: none !important; }
  .section-specialist { padding: 40px 0 !important; }
}
@media (max-width: 700px) {
  .zone-actions {
    align-items: stretch !important;
    max-width: 320px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .zone-actions .btn-outline {
    min-width: 0 !important;
    width: 100% !important;
    text-align: center !important;
    font-size: 13px !important;
    padding: 14px 12px !important;
  }
}
@media (max-width: 600px) {
  .band-actions {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    gap: 10px !important;
  }
  .band .btn-light,
  .band .btn-outline {
    width: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    min-width: 0 !important;
    min-height: 56px !important;
    padding: 0 14px !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
  }
  .section-specialist { display: none !important; }
  .trust-strip {
    min-height: 3px !important;
    padding: 0 !important;
    background: #0b0b0b !important;
    border-top: 3px solid var(--promo-orange) !important;
  }
  .trust-strip-inner {
    display: none !important;
  }
}

/* ═══════════════════════════════════════════════════════
   EFFET WOW MOBILE
   ══════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .hero-btn { display: none !important; }
  .hero::after {
    background: rgba(0, 0, 0, 0.25) !important;
  }
  .hero-kicker {
    display: block !important;
    padding: 0 !important;
    font-size: 10px !important;
    letter-spacing: 2px !important;
    margin-bottom: 10px !important;
    text-align: left !important;
  }
  .hero-title { font-size: 32px !important; font-weight: 700 !important; line-height: 1.18 !important; margin-bottom: 12px !important; letter-spacing: -0.5px !important; }
  .hero-subtitle { font-size: 14px !important; letter-spacing: 0.8px !important; margin-bottom: 0 !important; }
  .trust-item h3 { font-size: 22px !important; }
  .trust-item p { font-size: 10px !important; letter-spacing: 1.5px !important; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 28px !important; }
}
@media (max-width: 640px) {
  .wave-title::before {
    font-size: 20px !important;
    color: #0b1320 !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #0b1320 !important;
    background-clip: unset !important;
    text-align: center !important;
    letter-spacing: 1px !important;
    padding-bottom: 18px !important;
  }
}

/* ═══════════════════════════════════════════════════════
   STEPS — VERTICAL TIMELINE sur mobile (≤768px)
   ══════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .steps-rail { display: none !important; }
  .steps-section .container { padding-left: 20px !important; padding-right: 20px !important; }
  .steps-cards {
    display: flex !important; flex-direction: column !important;
    grid-template-columns: none !important; gap: 0 !important;
    position: relative !important; padding-left: 52px !important;
    counter-reset: step-num;
  }
  .steps-cards::before {
    content: "" !important; position: absolute !important;
    left: 14px !important; top: 30px !important; bottom: 30px !important;
    width: 2px !important;
    background: linear-gradient(to bottom, #0ea5e9, rgba(14,165,233,0.2)) !important;
    border-radius: 2px !important; z-index: 0 !important;
  }
  .step-card {
    position: relative !important; text-align: left !important;
    padding: 16px 18px !important; margin-bottom: 14px !important; border-radius: 12px !important;
  }
  .step-card:last-child { margin-bottom: 0 !important; }
  .step-card::before {
    counter-increment: step-num;
    content: counter(step-num);
    position: absolute !important; left: -40px !important; top: 14px !important;
    width: 28px !important; height: 28px !important; border-radius: 50% !important;
    background: #0ea5e9 !important; color: #fff !important;
    font-family: "Montserrat", sans-serif !important; font-weight: 700 !important; font-size: 13px !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
    z-index: 1 !important;
    box-shadow: 0 0 0 3px #fafcff, 0 0 0 5px rgba(14,165,233,0.3) !important;
  }
  .step-card .step-icon { margin: 0 0 10px 0 !important; width: 40px !important; height: 40px !important; }
  .step-card .step-icon img { width: 22px !important; height: 22px !important; }
  .step-card h3 { text-align: left !important; font-size: 16px !important; margin-bottom: 4px !important; }
  .step-card p { text-align: left !important; font-size: 14px !important; margin: 0 !important; }
}

/* ═══════════════════════════════════════════════════════
   FOOTER — Centré sur mobile
   ══════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .footer-inner { text-align: center !important; justify-items: center !important; }
  .footer-inner > div { text-align: center !important; min-width: 0 !important; width: 100% !important; }
  .footer-list { text-align: center !important; }
  .footer-title { text-align: center !important; }
  .footer-bottom { text-align: center !important; }
}

/* ═══════════════════════════════════════════════════════
   MOBILE AUDIT v4 — Améliorations complètes
   Aquazuro · Mars 2026
   ══════════════════════════════════════════════════════ */

/* ── 1. HERO : désactiver l'animation zoom coûteuse sur mobile ── */
@media (max-width: 900px) {
  .hero::before {
    animation: none !important;
    transform: scale(1) !important;
  }
}

/* ── 2. iOS ZOOM FIX : font-size 16px sur tous les inputs (pas seulement ≤480px) ── */
@media (max-width: 900px) {
  input,
  select,
  textarea {
    font-size: 16px !important;
  }
}

/* ── 3. TOUCH TARGETS : hauteur minimum 44px sur tous les boutons/CTAs ── */
@media (max-width: 900px) {
  .btn-outline,
  .band .btn-light,
  .form-submit,
  .nav-cta,
  .tab-btn {
    min-height: 44px !important;
  }

  /* form-submit pleine largeur sur mobile */
  .form-submit {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* tab-btn doit aussi être accessible */
  .forfait-tabs .tab-btn {
    padding: 10px 18px !important;
    min-height: 44px !important;
  }
}

/* ── 4. FORMULAIRES : inputs plus grands et aérés sur mobile ── */
@media (max-width: 768px) {
  input,
  select,
  textarea {
    padding: 12px 12px !important;
    border-radius: 8px !important;
  }

  .form-row,
  .devis-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .card-form {
    padding: 20px !important;
    border-radius: 12px !important;
  }

  /* Formulaire contact : empiler les colonnes */
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  /* Ordre mobile : titre → formulaire → coordonnées */
  .contact-grid .fade-left {
    order: 1 !important;
    grid-column: auto !important;
    grid-row: auto !important;
  }
  .contact-grid .card-form {
    order: 2 !important;
    grid-column: auto !important;
    grid-row: auto !important;
  }
  .contact-grid > .contact-info {
    order: 3 !important;
    grid-column: auto !important;
    grid-row: auto !important;
    margin-top: 4px !important;
    width: fit-content;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* ── 5. SECTIONS : padding uniforme sur mobile ── */
@media (max-width: 768px) {
  /* Sections de contenu standard */
  .zone-service .container,
  .forfaits .container,
  .services .container {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }

  /* Band CTA (bande noire) */
  .band {
    padding: 28px 0 !important;
  }
  .band-inner {
    padding: 0 20px !important;
  }

  /* Services CTA band */
  .services-cta-band .container {
    padding-top: 36px !important;
    padding-bottom: 36px !important;
    align-items: stretch !important;
  }
  .services-cta-band .btn-outline {
    width: 100% !important;
    max-width: 320px !important;
  }

  /* Form section */
  .form-wrap {
    padding: 32px 20px 48px !important;
  }
}

/* ── 6. TYPOGRAPHIE : uniformiser les titres h2 sur mobile ── */
@media (max-width: 600px) {
  /* Tous les h2 de section principaux */
  .services h2,
  .zone-service h2,
  .forfaits h2,
  .section-title {
    font-size: 22px !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 18px !important;
  }

  /* h1 dans les intros de page */
  .services-intro h1 {
    font-size: 20px !important;
  }

  /* Sous-titres et textes */
  .services-intro p {
    font-size: 13px !important;
  }

  /* Titres de band */
  .band h3 {
    font-size: 20px !important;
    line-height: 1.3 !important;
  }
}

/* ── 7. HERO mobile : centré verticalement ── */
@media (max-width: 900px) {
  .hero-content {
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    left: 16px !important;
    right: 16px !important;
  }
}

/* ── 8. TRUST STRIP : centré sur la page, 1 colonne mobile ── */
@media (max-width: 900px) {
  .trust-strip {
    width: 100% !important;
  }
  .trust-strip-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 24px 0 28px !important;
    margin: 0 !important;
    gap: 18px !important;
    box-sizing: border-box !important;
  }
  .trust-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .trust-item h3,
  .trust-item p {
    text-align: center !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* ── 9. SECTION SPECIALIST : texte lisible sans image ── */
@media (max-width: 900px) {
  .trust-strip {
    min-height: 3px !important;
    padding: 0 !important;
    background: #0b0b0b !important;
    border-top: 3px solid var(--promo-orange) !important;
  }
  .trust-strip-inner {
    display: none !important;
  }
  .specialist-text {
    padding: 0 !important;
  }
  .section-specialist .section-title {
    font-size: 22px !important;
    line-height: 1.4 !important;
    letter-spacing: 0.3px !important;
  }
  .section-specialist .section-text {
    font-size: 15px !important;
    line-height: 1.65 !important;
  }
}

/* ── 10. FORFAIT CARDS (accueil) : uniformes sur mobile ── */
@media (max-width: 680px) {
  .forfait-card {
    border-radius: 12px !important;
    padding: 18px !important;
  }
  .forfait-footer {
    margin-top: 16px !important;
  }
  .forfait-card .btn-outline {
    min-width: 0 !important;
    width: 100% !important;
  }
  /* Badge "Meilleur vendeur" déborde au-dessus de la carte :
     on ajoute de l'espace pour éviter qu'il chevauche la carte précédente */
  .forfait-card:has(.card-badge) {
    margin-top: 28px !important;
  }
}

/* Ombre de base sur les forfait-cards pour que le hover soit fluide (pas de saut visuel) */
.home-page-body .forfait-card {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.home-page-body .forfait-card:hover {
  box-shadow: 0 10px 28px rgba(14, 165, 233, 0.14), 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* ── 11. FORFAITS PAGE : panels lisibles sur petit écran ── */
@media (max-width: 768px) {
  .forfaits-page-body .forfait-texts {
    min-height: 0 !important;
  }
  .forfait-text {
    padding: 16px !important;
    border-radius: 10px !important;
  }
  .forfait-media {
    min-height: 180px !important;
    border-radius: 10px !important;
  }
  .forfait-headline small {
    font-size: 20px !important;
  }
  .forfait-headline h3 {
    font-size: 20px !important;
    margin-bottom: 6px !important;
  }
  .forfait-actions {
    padding: 0 0 8px !important;
  }
  .forfait-actions .btn-outline {
    width: 100% !important;
    min-width: 0 !important;
  }
  .forfaits-showcase .forfait-block {
    padding: 24px 0 32px !important;
  }
}

/* ── 12. SERVICES PAGE (détail) : aération et lisibilité ── */
@media (max-width: 768px) {
  .service-detail.service-alt-a,
  .service-detail.service-alt-b {
    padding: 28px 16px !important;
    gap: 20px !important;
  }

  .service-body h2 {
    font-size: 20px !important;
    margin-bottom: 12px !important;
  }
  .service-body p {
    font-size: 15px !important;
  }
  .service-subhead {
    font-size: 13px !important;
    margin: 8px 0 8px !important;
  }
  .service-bullets {
    font-size: 15px !important;
  }
  .service-cta .btn-outline {
    width: 100% !important;
    min-width: 0 !important;
    background: #0EA5E9 !important;
    color: #fff !important;
    border-color: #0EA5E9 !important;
    padding: 15px 24px !important;
    font-size: 13px !important;
    letter-spacing: 2px !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18) !important;
    transition: background 0.22s ease, box-shadow 0.22s ease, transform 0.15s ease !important;
  }
  .service-cta .btn-outline::after {
    content: " →" !important;
    margin-left: 6px !important;
    font-size: 15px !important;
    letter-spacing: 0 !important;
    transition: transform 0.2s ease !important;
    display: inline-block !important;
  }
  .service-cta .btn-outline:hover {
    background: #0284c7 !important;
    border-color: #0284c7 !important;
    color: #fff !important;
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.22) !important;
    transform: translateY(-1px) !important;
  }
  .service-cta .btn-outline:hover::after {
    transform: translateX(3px) !important;
  }
  .service-cta {
    margin-top: 20px !important;
  }

  /* Media stack mobile : carte de fond + photo par-dessus (effet desktop préservé) */
  .media-stack {
    height: 200px !important;
    position: relative !important;
  }
  .services-page-body .media-stack {
    height: 220px !important;
  }
  /* Cacher uniquement la petite card sur mobile */
  .media-card-sm {
    display: none !important;
  }
  /* Carte de fond (icône) — visible, légèrement décalée */
  .media-card-lg {
    display: block !important;
    position: absolute !important;
    width: 88% !important;
    height: 88% !important;
    top: 0 !important;
    left: 0 !important;
    border-radius: 14px !important;
    box-shadow: 0 6px 24px rgba(0,0,0,0.15) !important;
    opacity: 1 !important;
  }
  /* Photo principale par-dessus, décalée en bas à droite */
  .media-card-md {
    position: absolute !important;
    width: 75% !important;
    height: 75% !important;
    bottom: 0 !important;
    right: 0 !important;
    top: auto !important;
    left: auto !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 28px rgba(0,0,0,0.22) !important;
  }
}

/* ── SERVICES PROCEDURE ACCORDION ── */
.service-media-inline {
  display: none;
}

.procedure-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 10px;
  margin-top: 24px;
  padding: 13px 0;
  background: transparent;
  border: none;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  color: #475569;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: color 0.18s, border-color 0.18s;
  box-sizing: border-box;
  text-align: left;
}
.procedure-toggle:hover {
  color: #0EA5E9;
  border-top-color: #bae6fd;
  border-bottom-color: #bae6fd;
}
.procedure-toggle .toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  transition: background 0.18s, border-color 0.18s, transform 0.28s;
  flex-shrink: 0;
  order: 2;
}
.procedure-toggle .toggle-icon svg {
  stroke: #64748b;
}
.procedure-toggle.is-open {
  color: #0EA5E9;
  border-top-color: #bae6fd;
  border-bottom-color: #bae6fd;
}
.procedure-toggle.is-open .toggle-icon {
  background: #0EA5E9;
  border-color: #0EA5E9;
  transform: rotate(180deg);
}
.procedure-toggle.is-open .toggle-icon svg {
  stroke: #fff;
}
.procedure-steps {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.3s ease;
  opacity: 0;
}
.procedure-steps.is-open {
  max-height: 600px;
  opacity: 1;
}
.procedure-steps ul {
  margin: 12px 0 4px 0;
  padding-left: 0;
  list-style: none;
}
.procedure-steps ul li {
  position: relative;
  padding: 6px 0 6px 22px;
  font-size: 14px;
  color: #334155;
  line-height: 1.5;
  border-bottom: 1px solid #f0f4f8;
}
.procedure-steps ul li:last-child {
  border-bottom: none;
}
.procedure-steps ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0EA5E9;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .services-page-body .service-detail > .service-media {
    display: none !important;
  }

  .services-page-body .service-body .service-media-inline {
    display: flex !important;
    justify-content: center !important;
    margin: 18px 0 8px !important;
  }

  .services-page-body .service-body .service-media-inline .media-stack {
    width: 100% !important;
    max-width: 420px !important;
    height: 220px !important;
  }
}

/* ── 13. POPUP SERVICES : mieux centré, pas de chevauchement ── */
@media (max-width: 680px) {
  .services-popup {
    left: 12px !important;
    right: 12px !important;
    bottom: 16px !important;
    border-radius: 12px !important;
    padding: 14px 16px !important;
  }
  .services-popup .popup-title {
    font-size: 15px !important;
  }
  .services-popup .popup-text {
    font-size: 13px !important;
  }
}

/* ── 14. ZONE MAP : hauteur réduite sur très petits écrans ── */
@media (max-width: 480px) {
  .zone-map-frame {
    height: 220px !important;
  }
  .zone-actions {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .zone-actions .btn-outline {
    width: 100% !important;
    min-width: 0 !important;
    font-size: 13px !important;
  }
}

/* ── 15. MODAL DEVIS : safe-area et lisibilité sur mobile ── */
@media (max-width: 680px) {
  .devis-modal-dialog {
    width: calc(100vw - 16px) !important;
    max-height: calc(100dvh - 16px) !important;
    margin: 8px auto !important;
    border-radius: 14px !important;
  }
  .devis-modal-head {
    padding: 18px 18px 14px !important;
  }
  .devis-modal-head h2 {
    font-size: 22px !important;
  }
  .devis-modal-body {
    padding: 16px 14px 20px !important;
  }
}

/* ── 16. NAVBAR : zone cliquable du burger agrandie ── */
@media (max-width: 1000px) {
  .nav-toggle {
    width: 44px !important;
    height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
  }

  /* Réduire la taille des liens dans l'overlay mobile pour petits écrans */
  .nav-links a {
    font-size: 20px !important;
    padding: 16px 32px !important;
  }
}

/* ── 17. PROMO BANNER : hauteur stable et texte lisible ── */
@media (max-width: 480px) {
  .promo-banner {
    height: 28px !important;
  }
  .promo-inner {
    padding: 0 12px !important;
    gap: 6px !important;
  }
  .promo-icon {
    font-size: 13px !important;
  }
  .promo-track span {
    font-size: 13px !important;
  }
}

/* Neutraliser le hover sur .why-card non révélées (conflit styles.css) */
.why-card:not(.is-revealed):hover {
  transform: none !important;
}

/* ── 18. WHY CHOOSE : cartes alignées et padding uniforme ── */
@media (max-width: 768px) {
  .why-choose {
    padding: 58px 0 40px !important;
  }
  .why-layout {
    gap: 14px !important;
  }
  .why-title {
    font-size: 20px !important;
    text-align: center !important;
    margin-bottom: 12px !important;
  }
  .why-subtitle {
    font-size: 14px !important;
    text-align: center !important;
    margin-bottom: 20px !important;
  }
  .why-cards {
    gap: 12px !important;
  }
  .why-card {
    border-radius: 10px !important;
    padding: 14px 14px 14px 28px !important;
  }
  .why-card-title {
    font-size: 14px !important;
    min-height: 0 !important;
  }
  .why-text {
    font-size: 14px !important;
  }
}

/* ── 19. FOOTER : espacement et font-size optimisés ── */
@media (max-width: 768px) {
  .site-footer {
    padding: 36px 20px 20px !important;
  }
  .footer-inner {
    gap: 20px !important;
  }
  .footer-list {
    font-size: 14px !important;
    line-height: 2 !important;
  }
  .footer-title {
    font-size: 13px !important;
    margin-bottom: 8px !important;
  }
  .footer-bottom {
    font-size: 12px !important;
    margin-top: 18px !important;
    padding-top: 12px !important;
  }
}

/* ── 20. SERVICES ACCORDION : bouton "Voir ce service" accessible ── */
@media (max-width: 900px) {
  /* Le lien "Voir ce service" est caché dans l'accordion — s'assurer que
     le clic sur la carte entière est bien perçu */
  .services-track .card {
    -webkit-tap-highlight-color: transparent !important;
    user-select: none !important;
  }

  /* Description ouverte : police légèrement plus grande */
  .services-track .card.svc-open p {
    font-size: 14px !important;
    line-height: 1.55 !important;
  }
}

/* ── 21. BORDER-RADIUS : uniformiser les cartes et éléments ── */
@media (max-width: 900px) {
  .card {
    border-radius: 12px !important;
  }
  .step-card {
    border-radius: 12px !important;
  }
  .zone-map-frame {
    border-radius: 12px !important;
  }
}

/* ── 22. STEPS SECTION : padding top cohérent + titre centré page ── */
@media (max-width: 768px) {
  .steps-section {
    padding: 40px 0 10px !important;
  }
  .steps-section > .container > p {
    font-size: 14px !important;
    margin-bottom: 16px !important;
    text-align: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  /* Titre centré sur la page entière, pas sur la carte */
  .steps-section > .container > h2.steps-title {
    width: 100% !important;
    box-sizing: border-box !important;
    text-align: center !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* ── 23. SERVICES INTRO : background-size moins agrandi sur mobile ── */
@media (max-width: 700px) {
  .services-page-body .services-intro,
  .forfaits-page-body .services-intro,
  .contact-page-body .services-intro {
    background-size: cover !important;
    background-position: center 30% !important;
  }
}

/* ── 23b. FORFAITS PAGE : supprimer le bloc bleu/blanc entre hero et Essentiel ── */
@media (max-width: 900px) {
  .forfaits-page-body .services-intro + main .forfaits-showcase {
    padding-top: 0 !important;
  }
  .forfaits-page-body .services-intro + main .forfaits-showcase::before {
    display: none !important;
  }
}

/* ── 24. BAND-GAP : marge cohérente ── */
@media (max-width: 900px) {
  .band-gap {
    margin-top: 0 !important;
  }
}

/* ── 25. DEVIS-MODAL : champs select lisibles sur iOS ── */
@media (max-width: 900px) {
  .devis-modal select,
  .devis-modal input,
  .devis-modal textarea {
    font-size: 16px !important;
  }
}

/* ── 26. SCROLL REVEAL : désactiver fade-left/right sur mobile (performance) ── */
@media (max-width: 600px) {
  .fade-left,
  .fade-right {
    transform: translateY(24px) !important;
  }
  .fade-left.in-view,
  .fade-right.in-view {
    transform: none !important;
  }
}

/* ── 27. SERVICES CTA BAND : centrer le texte sur mobile ── */
@media (max-width: 768px) {
  .services-cta-band .container {
    text-align: center !important;
    align-items: center !important;
  }
  .services-cta-text h3 {
    font-size: 18px !important;
  }
  .services-cta-text p {
    font-size: 14px !important;
  }
}

/* ── 28. FORM NOTE : visibilité améliorée ── */
@media (max-width: 768px) {
  .form-note {
    font-size: 13px !important;
    margin-top: 10px !important;
    text-align: center !important;
  }
}

/* ── 29. DIMENSION ROW dans le devis : empilé sur mobile ── */
@media (max-width: 600px) {
  .dimension-row {
    flex-wrap: wrap !important;
  }
  .dimension-row select {
    width: 100% !important;
    flex: 1 1 100% !important;
  }
}

/* ── 30. PROMO BANNER animation : moins rapide sur mobile ── */
@media (max-width: 600px) {
  .promo-track-inner {
    animation-duration: 24s !important;
  }
}

/* ── 31. Wave SVG : désactiver l'animation GPU sur mobile, garder le texte statique ── */
@media (max-width: 900px) {
  /* Wave SVG : désactiver l'animation GPU sur mobile, garder le texte statique */
  .wave-svg g {
    display: none !important;
  }
}

/* ── WIZARD DROPDOWN (section 3 étapes) ── */
.ws-selector {
  position: relative;
  margin-top: 12px;
}

.ws-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border: 2px solid #0ea5e9;
  border-radius: 10px;
  background: #fff;
  color: #0ea5e9;
  font-size: 13px;
  font-weight: 700;
  font-family: "Montserrat", sans-serif;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
  text-align: left;
}

.ws-btn:hover {
  background: #e0f2fe;
}

.ws-btn.ws-selected {
  background: #0ea5e9;
  color: #fff;
  border-color: #0ea5e9;
}

.ws-caret {
  font-size: 16px;
  line-height: 1;
  transition: transform 0.2s ease;
  flex-shrink: 0;
  margin-left: 8px;
}

.ws-btn.ws-open .ws-caret {
  transform: rotate(180deg);
}

.ws-list {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #fff;
  border: 2px solid #0ea5e9;
  border-radius: 10px;
  overflow: hidden;
  z-index: 50;
  box-shadow: 0 8px 24px rgba(14,165,233,0.15);
  list-style: none;
  margin: 0;
  padding: 4px 0;
}

.ws-list.ws-open {
  display: block;
}

.ws-list li {
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  color: #1e3a5f;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.ws-list li:hover {
  background: #e0f2fe;
  color: #0ea5e9;
}

.ws-list li.ws-active {
  background: #f0f9ff;
  color: #0ea5e9;
}

.wizard-locked {
  pointer-events: none;
}

.wizard-locked .ws-btn {
  border-color: #c5c5c5 !important;
  color: #aaaaaa !important;
  background: #f4f4f4 !important;
  cursor: not-allowed !important;
}

.wizard-locked .ws-caret {
  color: #aaaaaa !important;
}

.ws-btn {
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}

/* Chaque carte wizard doit être positionnée + avoir un z-index décroissant
   pour que le dropdown de la carte 1 passe DEVANT la carte 2, etc. */
.step-card.wizard-step {
  overflow: visible;
  position: relative;
}

/* Désactiver le translateY sur les cartes wizard — cause un tremblement
   car la carte remonte sous le curseur créant une boucle hover infinie */
.steps-section.is-inview .step-card.wizard-step:hover {
  transform: none !important;
}


#wizard-step-1 { z-index: 30; }
#wizard-step-2 { z-index: 20; }
#wizard-step-3 { z-index: 10; }

/* ═══════════════════════════════════════════════════════
   PHONE PLACEHOLDER — moins visible
   ══════════════════════════════════════════════════════ */
input[type="tel"]::placeholder {
  color: rgba(30, 58, 95, 0.32) !important;
  opacity: 1 !important;
}

/* ═══════════════════════════════════════════════════════
   FORFAITS PAGE — overlay card sur photo (mobile ≤900px)
   ══════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .forfaits-page-body .forfait-panels {
    display: block !important;
    position: relative !important;
    overflow: hidden !important;
    border-radius: 16px !important;
  }
  .forfaits-page-body .forfait-media {
    min-height: 400px !important;
    background-position: center top !important;
    background-size: cover !important;
    width: 100% !important;
  }

  /* Le container devient LA carte blanche — tout ce qu'il contient est dedans */
  .forfaits-page-body .forfait-texts {
    position: absolute !important;
    top: auto !important;
    left: 14px !important;
    right: 14px !important;
    bottom: 14px !important;
    width: auto !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    margin-top: 0 !important;
    padding-bottom: 0 !important;
    /* Fond blanc transféré ici pour englober le prix */
    background: rgba(255, 255, 255, 0.92) !important;
    border: 1px solid rgba(230, 236, 242, 0.9) !important;
    box-shadow: 0 10px 24px rgba(15, 30, 60, 0.08) !important;
    border-radius: 14px !important;
  }

  /* .forfait-text perd son propre fond (déjà porté par .forfait-texts) */
  .forfaits-page-body .forfait-text {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }

  /* Prix dans le flux — toujours visible en bas de la carte */
  .forfaits-page-body .forfait-panel-price {
    position: static !important;
    display: block !important;
    flex-shrink: 0 !important;
    text-align: right !important;
    padding: 8px 18px 14px !important;
    margin-top: auto !important;
    border-top: 1px solid rgba(230, 236, 242, 0.7) !important;
  }

  /* ── INCLUSIONS actif : carte à taille naturelle, tout visible, zéro scroll ── */
  .forfaits-page-body .forfait-texts:has(.forfait-text[data-tab="inclu"].is-active) {
    max-height: none !important;  /* s'adapte au contenu */
  }
  .forfaits-page-body .forfait-text[data-tab="inclu"].is-active {
    display: flex !important;
    flex-direction: column !important;
    overflow: visible !important;
  }
  .forfaits-page-body .forfait-text[data-tab="inclu"].is-active > ul {
    overflow: hidden !important;  /* pas de scroll */
    flex: 0 0 auto !important;
  }

  /* ── EN SAVOIR PLUS actif : carte limitée, accordéon scrollable ── */
  .forfaits-page-body .forfait-texts:has(.forfait-text[data-tab="details"].is-active) {
    max-height: 60% !important;
  }
  .forfaits-page-body .forfait-text[data-tab="details"].is-active {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    overflow: hidden !important;
    min-height: 0 !important;
  }
  .forfaits-page-body .forfait-text[data-tab="details"].is-active > small,
  .forfaits-page-body .forfait-text[data-tab="details"].is-active > h4 {
    flex-shrink: 0 !important;
  }
  .forfaits-page-body .forfait-text[data-tab="details"].is-active > .forfait-accordion {
    flex: 1 1 auto !important;
    overflow-y: scroll !important;
    min-height: 0 !important;
    -webkit-overflow-scrolling: touch !important;
  }

  /* Barre de défilement — visible, fine, bleue */
  .forfaits-page-body .forfait-text[data-tab="details"].is-active > .forfait-accordion::-webkit-scrollbar {
    width: 4px !important;
  }
  .forfaits-page-body .forfait-text[data-tab="details"].is-active > .forfait-accordion::-webkit-scrollbar-track {
    background: rgba(14, 165, 233, 0.08) !important;
    border-radius: 4px !important;
  }
  .forfaits-page-body .forfait-text[data-tab="details"].is-active > .forfait-accordion::-webkit-scrollbar-thumb {
    background: rgba(14, 165, 233, 0.55) !important;
    border-radius: 4px !important;
  }

}

/* ═══════════════════════════════════════════════════════
   BADGE "MEILLEUR VENDEUR" — page forfaits
   ══════════════════════════════════════════════════════ */
.forfait-best-badge {
  display: inline-block;
  background: #FFA500;
  color: #111;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 10px;
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════
   POPUP CONTACT MOBILE
   ══════════════════════════════════════════════════════ */
.contact-popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 9100;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}
.contact-popup-overlay.is-open {
  display: flex;
}
.contact-popup-modal {
  background: #fff;
  border-radius: 20px 20px 0 0;
  padding: 24px 20px 40px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  position: relative;
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.18);
}
.contact-popup-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: #f0f4f8;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 20px;
  color: #555;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0;
}
.contact-popup-title {
  margin: 0 0 20px;
  font-size: 18px;
  font-weight: 700;
  color: #1e3a5f;
  text-align: center;
  padding-right: 32px;
}
.contact-popup-modal .card-form {
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}
.contact-popup-modal .form-submit {
  width: 100% !important;
  margin-top: 18px !important;
}

/* ═══════════════════════════════════════════════════════
   CHAMPS REQUIS — rouge si vide à la soumission
   ══════════════════════════════════════════════════════ */
.aq-field-error > label {
  color: #dc2626 !important;
}
.aq-field-error > input,
.aq-field-error > select,
.aq-field-error > textarea {
  border-color: #dc2626 !important;
  background: #fff5f5 !important;
}

/* ═══════════════════════════════════════════════════════
   OVERLAY SUCCÈS — grand cercle vert centré
   ══════════════════════════════════════════════════════ */
.aq-success-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.65);
  animation: aq-overlay-in 0.2s ease;
}
@keyframes aq-overlay-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.aq-success-box {
  background: #fff;
  border-radius: 22px;
  padding: 52px 40px 44px;
  text-align: center;
  max-width: 360px;
  width: calc(100vw - 48px);
  position: relative;
  box-shadow: 0 24px 60px rgba(0,0,0,0.22);
  animation: aq-box-in 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes aq-box-in {
  from { transform: scale(0.82); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}
.aq-success-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 26px;
  line-height: 1;
  color: #9ca3af;
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.15s;
}
.aq-success-close:hover { color: #1f2937; }
.aq-success-icon {
  width: 88px;
  height: 88px;
  background: #22c55e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 8px 24px rgba(34,197,94,0.35);
}
.aq-success-box h3 {
  font-size: 26px;
  font-weight: 800;
  color: #0f0f10;
  margin: 0 0 10px;
  font-family: "Montserrat", sans-serif;
}
.aq-success-box p {
  font-size: 15px;
  color: #4b5563;
  margin: 0;
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════════════
   MODAL MOBILE — hauteur réduite + scroll
   ══════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .devis-modal-dialog {
    max-height: 82dvh !important;
  }
  .devis-modal-body {
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
}

/* ═══════════════════════════════════════════════════════
   SCROLL ANIMATIONS MOBILE — plus subtil, plus rapide
   ══════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  /* Distance de déplacement réduite : moins de "saut" */
  .fade-up {
    transform: translateY(18px) !important;
    transition-duration: 0.48s !important;
    transition-delay: calc(var(--sr-delay, 0ms) * 0.3) !important;
  }
  .fade-left {
    transform: translateX(-18px) !important;
    transition-duration: 0.48s !important;
    transition-delay: calc(var(--sr-delay, 0ms) * 0.3) !important;
  }
  .fade-right {
    transform: translateX(18px) !important;
    transition-duration: 0.48s !important;
    transition-delay: calc(var(--sr-delay, 0ms) * 0.3) !important;
  }
  .fade-scale {
    transform: scale(0.97) translateY(8px) !important;
    transition-duration: 0.48s !important;
    transition-delay: calc(var(--sr-delay, 0ms) * 0.3) !important;
  }
  /* État final — même délai réduit pour la transition entrante */
  .fade-up.in-view,
  .fade-left.in-view,
  .fade-right.in-view,
  .fade-scale.in-view {
    transform: none !important;
    opacity: 1 !important;
    transition-delay: calc(var(--sr-delay, 0ms) * 0.3) !important;
  }
}
