/* ============================================================
   BATIYS — MOBILE FIXES v3 (FORCE)
   Correction définitive des bugs visuels mobile.
   Spécificité maximale pour gagner contre les rules in-page.
   ============================================================ */

@media (max-width: 720px) {

  /* ============================================================
     1. CHIPS sur les photos — fond solide blanc + texte BLEU
     ============================================================
     Override la rule .ch-v2-hero-card .overlay .chip de index.html
     avec spécificité supérieure (html body + double class)
     ============================================================ */
  html body .ch-v2-hero-card .overlay .chip,
  html body .ch-v2-card-media .chip,
  html body .dg-scope-media .chip,
  html body section .chip {
    background: rgba(255, 255, 255, .96) !important;
    color: var(--bleu, #0F2744) !important;
    border: 1px solid rgba(15, 39, 68, .1) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    font-size: .68rem !important;
    padding: 4px 10px !important;
    font-weight: 700 !important;
    letter-spacing: .04em !important;
    text-shadow: none !important;
    box-shadow: 0 2px 8px rgba(15, 39, 68, .15) !important;
  }

  /* ============================================================
     2. KPI Strip — chiffres BLANCS PLEINS (pas de gradient)
     ============================================================ */
  html body .ch-v2-metrics .kpi-strip .kpi-num,
  html body .kpi-strip .kpi-item .kpi-num {
    background: none !important;
    background-image: none !important;
    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
    -webkit-text-fill-color: #ffffff !important;
    color: #ffffff !important;
  }
  html body .kpi-strip .kpi-num span.count-up,
  html body .kpi-strip .kpi-num span {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: none !important;
  }
  html body .kpi-strip .kpi-num em {
    color: rgba(255, 215, 165, .9) !important;
    -webkit-text-fill-color: rgba(255, 215, 165, .9) !important;
    background: none !important;
  }
  html body .kpi-strip .kpi-label {
    color: rgba(255, 255, 255, .85) !important;
  }

  /* ============================================================
     3. HERO H1 — pas de gradient, blanc plein
     ============================================================ */
  html body .ch-v2-hero h1,
  html body .dg-hero h1 {
    background: none !important;
    background-image: none !important;
    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
    -webkit-text-fill-color: #ffffff !important;
    color: #ffffff !important;
  }
  html body .ch-v2-hero h1 em,
  html body .dg-hero h1 em {
    color: #FFCBA4 !important;
    -webkit-text-fill-color: #FFCBA4 !important;
    background: none !important;
  }
  html body .ch-v2-hero .lead,
  html body .dg-hero .lead {
    color: rgba(255, 255, 255, .9) !important;
  }

  /* ============================================================
     4. SECTION TITLES — couleur bleue plein, lisibles
     ============================================================ */
  html body section h1,
  html body section h2,
  html body section h3,
  html body section .section-title h3 {
    background: none !important;
    background-image: none !important;
    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
    -webkit-text-fill-color: var(--bleu, #0F2744) !important;
    color: var(--bleu, #0F2744) !important;
  }
  /* Sauf sur fonds sombres (zones, contact) où on garde blanc */
  html body .ch-v2-zones h2,
  html body .ch-v2-zones h3,
  html body .ch-v2-zones h4,
  html body .bty-section h2,
  html body .bty-section h3,
  html body .ch-v2-final h2,
  html body .ch-v2-final h3,
  html body .dg-guarantees h2,
  html body .dg-guarantees h3 {
    -webkit-text-fill-color: #ffffff !important;
    color: #ffffff !important;
  }
  /* Paragraphes sections sur fond clair : bleu doux, pas gris invisible */
  html body section p:not(.lead):not(.faq-a p) {
    color: #455565 !important;
  }
  html body .section-title p {
    color: #4B5867 !important;
  }
  html body .ch-v2-zones p,
  html body .bty-section p {
    color: rgba(255, 255, 255, .85) !important;
  }

  /* ============================================================
     5. CARTES SERVICES — h3 visible, pas tronqué
     ============================================================
     Stratégie : on désactive le position absolute du h3
     et on lui donne sa propre place avant le body
     ============================================================ */
  html body .ch-v2-services .ch-v2-card {
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    border-radius: 18px !important;
  }
  html body .ch-v2-services .ch-v2-card-media {
    position: relative !important;
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
    overflow: hidden !important;
    flex-shrink: 0;
  }
  html body .ch-v2-services .ch-v2-card-media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    position: absolute !important;
    inset: 0 !important;
  }
  /* Le H3 dans card-media : on le repositionne en bas avec un fond noir transparent */
  html body .ch-v2-services .ch-v2-card-media h3 {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 !important;
    padding: 14px 16px 14px !important;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .8) 70%) !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    font-size: 1.08rem !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    z-index: 2 !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .5);
  }
  html body .ch-v2-services .ch-v2-card-media .chip {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    z-index: 3 !important;
  }
  html body .ch-v2-services .ch-v2-card-body {
    padding: 18px !important;
  }
  html body .ch-v2-services .ch-v2-card-body p {
    font-size: .94rem !important;
    line-height: 1.6 !important;
    margin-bottom: 12px !important;
    color: #4B5867 !important;
  }
  html body .ch-v2-services .ch-v2-card-body ul {
    margin: 0 0 14px 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }
  html body .ch-v2-services .ch-v2-card-body ul li {
    font-size: .9rem !important;
    line-height: 1.55 !important;
    padding-left: 22px !important;
    margin-bottom: 6px !important;
    position: relative !important;
    color: #4B5867 !important;
  }
  html body .ch-v2-services .ch-v2-card-body ul li::before {
    content: '✓' !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    color: var(--orange, #E5671C) !important;
    font-weight: 800 !important;
    font-size: .85rem !important;
  }

  /* ============================================================
     6. ENCART "VOTRE COMMUNE" — éliminer le grand vide
     ============================================================ */
  html body .ch-v2-zones .zones-cta-call {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    padding: 18px 18px !important;
    margin: 22px auto 0 !important;
    border-radius: 16px !important;
    max-width: 460px !important;
    background: rgba(255, 255, 255, .05) !important;
    border: 1px solid rgba(255, 255, 255, .12) !important;
  }
  html body .ch-v2-zones .zones-cta-icon {
    width: 38px !important;
    height: 38px !important;
    font-size: 1.1rem !important;
    border-radius: 12px !important;
    margin: 0 !important;
    flex: 0 0 38px !important;
    display: grid !important;
    place-items: center !important;
  }
  html body .ch-v2-zones .zones-cta-call p {
    margin: 0 !important;
    text-align: center !important;
    font-size: .9rem !important;
    line-height: 1.55 !important;
    flex: 0 1 auto !important;
    color: rgba(255, 255, 255, .85) !important;
  }
  html body .ch-v2-zones .zones-cta-call p br {
    display: inline !important;
  }
  html body .ch-v2-zones .zones-cta-call p strong:first-child {
    display: block !important;
    margin-bottom: 4px !important;
    font-size: .96rem !important;
  }
  html body .ch-v2-zones .zones-cta-btn {
    margin: 0 !important;
    padding: 11px 20px !important;
    font-size: .94rem !important;
    width: auto !important;
    flex: 0 0 auto !important;
  }

  /* ============================================================
     7. FAQ — accordéon FORCE FERMÉ par défaut
     ============================================================ */
  html body .ch-v2-faq-section .faq-list {
    opacity: 1 !important;
    transform: none !important;
  }
  html body .ch-v2-faq-section .faq-item {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    margin-bottom: 8px !important;
  }
  /* Accordéon FERMÉ : max-height: 0, overflow hidden */
  html body .ch-v2-faq-section .faq-item:not(.open) .faq-a {
    max-height: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
  }
  html body .ch-v2-faq-section .faq-item:not(.open) .faq-a p {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin: 0 !important;
  }
  /* Accordéon OUVERT */
  html body .ch-v2-faq-section .faq-item.open .faq-a {
    max-height: 800px !important;
    overflow: hidden !important;
    transition: max-height .4s ease !important;
  }
  html body .ch-v2-faq-section .faq-item.open .faq-a p {
    padding: 0 16px 18px !important;
    margin: 0 !important;
    font-size: .92rem !important;
    line-height: 1.65 !important;
    color: #4B5867 !important;
  }
  /* Bouton question — layout simple */
  html body .ch-v2-faq-section .faq-q {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    width: 100% !important;
    padding: 16px 16px !important;
    background: none !important;
    border: none !important;
    text-align: left !important;
    cursor: pointer !important;
    font-size: .92rem !important;
    font-weight: 600 !important;
    color: var(--bleu, #0F2744) !important;
    line-height: 1.4 !important;
    min-height: 56px;
  }
  html body .ch-v2-faq-section .faq-q-text {
    display: inline !important;
    flex: 1 1 0 !important;
    min-width: 0 !important;
    color: var(--bleu, #0F2744) !important;
  }
  /* Tag : caché complètement sur mobile */
  html body .ch-v2-faq-section .faq-tag {
    display: none !important;
  }
  /* Icône + ronde orange */
  html body .ch-v2-faq-section .faq-icon {
    flex: 0 0 28px !important;
    width: 28px !important;
    height: 28px !important;
    background: rgba(229, 103, 28, .12) !important;
    color: var(--orange, #E5671C) !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.05rem !important;
    line-height: 1 !important;
    transition: transform .3s ease, background .25s ease !important;
  }
  html body .ch-v2-faq-section .faq-item.open .faq-icon {
    background: var(--orange, #E5671C) !important;
    color: #fff !important;
    transform: rotate(45deg) !important;
  }
  html body .ch-v2-faq-section .faq-item.open {
    border-color: var(--orange, #E5671C) !important;
    box-shadow: 0 6px 18px rgba(229, 103, 28, .12) !important;
  }
  /* Filtres FAQ scrollables */
  html body .ch-v2-faq-section .faq-tabs {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    gap: 8px !important;
    padding: 4px 16px 8px !important;
    margin: 14px -16px 18px !important;
    width: calc(100% + 32px) !important;
    max-width: none !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }
  html body .ch-v2-faq-section .faq-tabs::-webkit-scrollbar { display: none !important; }
  html body .ch-v2-faq-section .faq-tab {
    flex: 0 0 auto !important;
    font-size: .82rem !important;
    padding: 8px 14px !important;
    white-space: nowrap !important;
    background: #fff !important;
    border: 1px solid #d6e0ec !important;
    color: var(--bleu, #0F2744) !important;
  }
  html body .ch-v2-faq-section .faq-tab.active {
    background: var(--bleu, #0F2744) !important;
    color: #fff !important;
    border-color: transparent !important;
  }

  /* ============================================================
     8. SAFETY NETS — gris uniquement sur sections claires
     ============================================================
     Le selecteur exclut explicitement les sections sombres
     pour éviter de gagner la cascade contre nos règles blanches.
     ============================================================ */
  html body p:not([class*="muted"]):not(.lead):not(.bty-intro-sub) {
    color: #455565;
  }

  /* ===========================================================
     SECTIONS SOMBRES — texte BLANC, sélecteurs ULTRA-spécifiques
     pour battre tout safety-net + tout style inline
     =========================================================== */
  html body section.ch-v2-zones p,
  html body section.ch-v2-zones small,
  html body section.ch-v2-zones .zones-intro p,
  html body section.ch-v2-zones .zones-intro p strong,
  html body section.ch-v2-zones .zones-cta-call p,
  html body section.ch-v2-zones .zones-cta-call p strong,
  html body section.bty-section p,
  html body section.bty-section small,
  html body section.bty-section .bty-intro-sub,
  html body section.bty-section .bty-intro-copy p,
  html body section.bty-section .bty-intro p,
  html body section.ch-v2-final p,
  html body section.ch-v2-final small,
  html body section.dg-guarantees p,
  html body section.dg-guarantees small {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    opacity: 1 !important;
  }

  /* Texte d'intro zones — taille et confort lecture */
  html body section.ch-v2-zones .zones-intro p {
    font-size: .98rem !important;
    line-height: 1.65 !important;
  }

  /* Accent orange "tout le territoire français" reste orange */
  html body section.ch-v2-zones .zones-cta-call p strong[style*="orange"],
  html body section.ch-v2-zones .zones-cta-call p strong[style*="--orange"] {
    color: #FF9550 !important;
    -webkit-text-fill-color: #FF9550 !important;
  }

  /* Contact form : sous-titre du bandeau d'intro */
  html body section.bty-section .bty-intro-sub {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    opacity: 1 !important;
    font-size: 1rem !important;
    line-height: 1.65 !important;
  }
  html body section.bty-section .bty-intro-eyebrow {
    color: #FFCFA8 !important;
    -webkit-text-fill-color: #FFCFA8 !important;
  }
  html body section.bty-section .bty-intro-title {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
  }

  /* ============================================================
     11. HERO HOMEPAGE — espacement amélioré
     ============================================================ */
  html body section.ch-v2-hero {
    padding: 92px 18px 56px !important;
    overflow: hidden;
  }
  html body section.ch-v2-hero .ch-v2-hero-inner {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  /* Badge intro au-dessus du h1 : plus aéré */
  html body section.ch-v2-hero .ch-v2-badge {
    margin-bottom: 18px !important;
    padding: 8px 14px !important;
    font-size: .76rem !important;
    letter-spacing: .04em;
  }
  /* Titre principal : plus de respiration */
  html body section.ch-v2-hero h1 {
    font-size: clamp(1.85rem, 6.5vw, 2.4rem) !important;
    line-height: 1.15 !important;
    margin: 0 0 18px !important;
    letter-spacing: -.02em;
  }
  html body section.ch-v2-hero h1 em {
    font-style: italic;
    color: #FFCBA4 !important;
  }
  /* Lead (description sous le titre) */
  html body section.ch-v2-hero .lead {
    font-size: 1rem !important;
    line-height: 1.7 !important;
    margin: 0 0 28px !important;
    color: rgba(255, 255, 255, .9) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, .9) !important;
  }
  html body section.ch-v2-hero .lead strong {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-weight: 700;
  }
  /* Boutons hero — stack vertical, pleine largeur, espacement */
  html body section.ch-v2-hero .hero-btns {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    margin: 0 0 24px !important;
    width: 100%;
  }
  html body section.ch-v2-hero .hero-btns > a {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    padding: 14px 22px !important;
    font-size: 1rem !important;
    border-radius: 14px !important;
    min-height: 52px;
  }
  html body section.ch-v2-hero .hero-btns .btn-primary {
    background: linear-gradient(135deg, #E5671C, #D05714) !important;
    box-shadow: 0 6px 18px rgba(229, 103, 28, .35) !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    font-weight: 700;
  }
  html body section.ch-v2-hero .hero-btns .btn-outline-light {
    background: rgba(255, 255, 255, .08) !important;
    border: 1.5px solid rgba(255, 255, 255, .25) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    backdrop-filter: blur(8px);
    font-weight: 600;
  }
  /* Mini-trust (4,9/5 + 120 interventions) — bien lisible */
  html body section.ch-v2-hero .ch-v2-trust-mini {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 14px 18px !important;
    margin: 0 0 24px !important;
    background: rgba(255, 255, 255, .08) !important;
    border: 1px solid rgba(255, 255, 255, .15) !important;
    border-radius: 14px !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  html body section.ch-v2-hero .ch-v2-trust-mini .stars-row {
    color: #FFCBA4 !important;
    -webkit-text-fill-color: #FFCBA4 !important;
    font-size: .92rem !important;
    letter-spacing: 1px;
    flex-shrink: 0;
  }
  html body section.ch-v2-hero .ch-v2-trust-mini small {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-size: .82rem !important;
    line-height: 1.45 !important;
    opacity: 1 !important;
  }
  html body section.ch-v2-hero .ch-v2-trust-mini small strong {
    color: #FFCBA4 !important;
    -webkit-text-fill-color: #FFCBA4 !important;
  }

  /* ============================================================
     12. BOUTON DEVIS dans le menu mobile — FORCE override
     ============================================================ */
  html body div.nav-overlay a.btn-devis.btn-devis-mobile,
  html body .nav-overlay > a.btn-devis-mobile,
  html body #nav-overlay a.btn-devis-mobile {
    --devis-blue: #1e9bf0 !important;
    --devis-blue-deep: #0a6bbf !important;
    margin: 26px 0 8px !important;
    padding: 16px 24px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 14px !important;
    background:
      radial-gradient(120% 200% at 0% 0%, rgba(255, 255, 255, .25), transparent 50%),
      linear-gradient(135deg, #1e9bf0 0%, #0a6bbf 100%) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-family: 'Inter', system-ui, sans-serif !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: .08em !important;
    border: 2.5px solid #ffffff !important;
    border-radius: 18px !important;
    text-decoration: none !important;
    box-shadow:
      0 0 0 2px #1e9bf0,
      0 8px 24px rgba(30, 155, 240, .5),
      inset 0 1px 0 rgba(255, 255, 255, .35),
      inset 0 -2px 8px rgba(0, 60, 110, .2) !important;
    overflow: hidden !important;
    position: relative !important;
    z-index: 5 !important;
  }
  html body div.nav-overlay a.btn-devis.btn-devis-mobile .btn-devis-check,
  html body .nav-overlay a.btn-devis-mobile .btn-devis-check {
    width: 42px !important;
    height: 42px !important;
    flex: 0 0 42px !important;
    display: inline-flex !important;
    filter: drop-shadow(0 2px 4px rgba(0, 30, 60, .3));
  }
  html body div.nav-overlay a.btn-devis.btn-devis-mobile .btn-devis-check svg,
  html body .nav-overlay a.btn-devis-mobile .btn-devis-check svg {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
  }
  html body div.nav-overlay a.btn-devis.btn-devis-mobile .btn-devis-label,
  html body .nav-overlay a.btn-devis-mobile .btn-devis-label {
    display: inline-flex !important;
    flex-direction: column !important;
    line-height: .98 !important;
    gap: 3px !important;
    text-shadow: 0 1px 2px rgba(0, 30, 60, .35);
  }
  html body div.nav-overlay a.btn-devis.btn-devis-mobile .btn-devis-line1,
  html body .nav-overlay a.btn-devis-mobile .btn-devis-line1 {
    font-size: 1rem !important;
    letter-spacing: .14em !important;
  }
  html body div.nav-overlay a.btn-devis.btn-devis-mobile .btn-devis-line2,
  html body .nav-overlay a.btn-devis-mobile .btn-devis-line2 {
    font-size: 1.08rem !important;
    letter-spacing: .08em !important;
  }
  /* Animation halo bleu permanent */
  html body div.nav-overlay a.btn-devis.btn-devis-mobile {
    animation: devis-mobile-halo 3s ease-in-out infinite !important;
  }
  @keyframes devis-mobile-halo {
    0%, 100% {
      box-shadow:
        0 0 0 2px #1e9bf0,
        0 8px 24px rgba(30, 155, 240, .5),
        inset 0 1px 0 rgba(255, 255, 255, .35),
        inset 0 -2px 8px rgba(0, 60, 110, .2);
    }
    50% {
      box-shadow:
        0 0 0 2px #1e9bf0,
        0 14px 36px rgba(30, 155, 240, .75),
        inset 0 1px 0 rgba(255, 255, 255, .4),
        inset 0 -2px 8px rgba(0, 60, 110, .2);
    }
  }
  /* Compression au tap */
  html body div.nav-overlay a.btn-devis.btn-devis-mobile:active {
    transform: scale(.97) !important;
    transition: transform .12s ease !important;
  }

  /* ============================================================
     9. SECTION TESTIMONIALS — fond clair, texte sombre
     ============================================================ */
  html body .ch-v2-testimonials .ch-testimonial blockquote {
    color: #1A2430 !important;
    -webkit-text-fill-color: #1A2430 !important;
  }
  html body .ch-v2-testimonials .ch-testimonial-author strong {
    color: var(--bleu, #0F2744) !important;
  }
  html body .ch-v2-testimonials .ch-testimonial-author span {
    color: #6B7684 !important;
  }

  /* ============================================================
     10. MENU MOBILE (NAV OVERLAY) — refonte premium
     ============================================================
     Design : fond bleu profond + halo orange en coin,
     liens en blanc franc avec flèche au survol/tap,
     animation d'entrée en cascade des items,
     bouton Devis premium avec glow animé.
     ============================================================ */

  html body .nav-overlay {
    background:
      radial-gradient(circle at 100% 0%, rgba(229, 103, 28, .18) 0%, transparent 50%),
      radial-gradient(circle at 0% 100%, rgba(35, 88, 140, .25) 0%, transparent 50%),
      linear-gradient(180deg, #0a1d35 0%, #15365b 100%) !important;
    padding: 90px 24px max(40px, env(safe-area-inset-bottom, 40px)) 24px !important;
    overflow-y: auto;
    overflow-x: hidden;
  }

  /* Halo orbital subtil derrière le menu (effet premium) */
  html body .nav-overlay::before {
    content: '';
    position: fixed;
    top: -100px;
    right: -100px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(229, 103, 28, .12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: navmobile-orbit 18s linear infinite;
  }
  @keyframes navmobile-orbit {
    0%   { transform: rotate(0deg) translateX(0); }
    100% { transform: rotate(360deg) translateX(0); }
  }

  /* Liens du menu — BLANC FRANC, plus aérés, avec flèche orange */
  html body .nav-overlay > a:not(.btn-devis):not(.btn-devis-mobile) {
    position: relative;
    z-index: 1;
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-family: 'Fraunces', Georgia, serif !important;
    font-size: 1.5rem !important;
    font-weight: 500 !important;
    padding: 18px 12px !important;
    margin: 0 !important;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, .08) !important;
    text-decoration: none !important;
    letter-spacing: -.01em;
    transition: all .3s cubic-bezier(.4, 0, .2, 1) !important;
    opacity: 0;
    transform: translateX(20px);
    animation: navmobile-item-enter .5s cubic-bezier(.34, 1.56, .64, 1) forwards;
  }

  /* Flèche orange qui apparaît au survol/tap */
  html body .nav-overlay > a:not(.btn-devis):not(.btn-devis-mobile)::before {
    content: '→';
    color: var(--orange, #E5671C);
    font-size: 1.2rem;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    opacity: 0;
    transform: translateX(-12px);
    transition: all .3s cubic-bezier(.34, 1.56, .64, 1);
    flex-shrink: 0;
    width: 24px;
  }
  html body .nav-overlay > a:not(.btn-devis):not(.btn-devis-mobile):hover,
  html body .nav-overlay > a:not(.btn-devis):not(.btn-devis-mobile):active {
    color: var(--orange, #E5671C) !important;
    -webkit-text-fill-color: var(--orange, #E5671C) !important;
    padding-left: 18px !important;
    background: linear-gradient(90deg, rgba(229, 103, 28, .08), transparent) !important;
  }
  html body .nav-overlay > a:not(.btn-devis):not(.btn-devis-mobile):hover::before,
  html body .nav-overlay > a:not(.btn-devis):not(.btn-devis-mobile):active::before {
    opacity: 1;
    transform: translateX(0);
  }

  /* Animation d'entrée en cascade pour chaque lien */
  @keyframes navmobile-item-enter {
    0% {
      opacity: 0;
      transform: translateX(30px);
    }
    100% {
      opacity: 1;
      transform: translateX(0);
    }
  }
  /* Stagger : chaque lien arrive avec un léger décalage */
  html body .nav-overlay > a:nth-child(1) { animation-delay: .08s; }
  html body .nav-overlay > a:nth-child(2) { animation-delay: .16s; }
  html body .nav-overlay > a:nth-child(3) { animation-delay: .24s; }
  html body .nav-overlay > a:nth-child(4) { animation-delay: .32s; }
  html body .nav-overlay > a:nth-child(5) { animation-delay: .40s; }
  html body .nav-overlay > a:nth-child(6) { animation-delay: .48s; }

  /* ============================================================
     BOUTON DEVIS GRATUIT — version menu mobile premium
     ============================================================ */
  html body .nav-overlay .btn-devis-mobile,
  html body .nav-overlay a.btn-devis.btn-devis-mobile {
    --devis-blue: #1e9bf0;
    --devis-blue-deep: #0a6bbf;
    position: relative;
    z-index: 2;
    margin: 22px 0 12px !important;
    padding: 14px 22px !important;
    width: 100% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    background:
      radial-gradient(120% 200% at 0% 0%, rgba(255, 255, 255, .25), transparent 50%),
      linear-gradient(135deg, var(--devis-blue) 0%, var(--devis-blue-deep) 100%) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-family: 'Inter', system-ui, sans-serif !important;
    font-size: 1rem !important;
    font-weight: 900 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
    border: 2.5px solid #ffffff !important;
    border-radius: 18px !important;
    box-shadow:
      0 0 0 2px var(--devis-blue),
      0 8px 22px rgba(30, 155, 240, .45),
      0 2px 6px rgba(10, 107, 191, .35),
      inset 0 1px 0 rgba(255, 255, 255, .35),
      inset 0 -2px 8px rgba(0, 60, 110, .2) !important;
    overflow: hidden !important;
    isolation: isolate !important;
    text-decoration: none !important;
    animation:
      navmobile-item-enter .5s .55s cubic-bezier(.34, 1.56, .64, 1) backwards,
      devis-mobile-pulse 2.8s ease-in-out infinite .55s !important;
  }

  @keyframes devis-mobile-pulse {
    0%, 100% {
      box-shadow:
        0 0 0 2px var(--devis-blue, #1e9bf0),
        0 8px 22px rgba(30, 155, 240, .45),
        0 2px 6px rgba(10, 107, 191, .35),
        inset 0 1px 0 rgba(255, 255, 255, .35),
        inset 0 -2px 8px rgba(0, 60, 110, .2);
    }
    50% {
      box-shadow:
        0 0 0 2px var(--devis-blue, #1e9bf0),
        0 14px 32px rgba(30, 155, 240, .65),
        0 2px 6px rgba(10, 107, 191, .45),
        inset 0 1px 0 rgba(255, 255, 255, .4),
        inset 0 -2px 8px rgba(0, 60, 110, .2);
    }
  }

  /* Check : grand cercle dégradé bleu avec coche blanche */
  html body .nav-overlay .btn-devis-mobile .btn-devis-check {
    width: 38px !important;
    height: 38px !important;
    flex-shrink: 0;
    z-index: 3 !important;
    filter: drop-shadow(0 2px 4px rgba(0, 30, 60, .3));
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  html body .nav-overlay .btn-devis-mobile .btn-devis-check svg {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
  }

  /* Texte du bouton */
  html body .nav-overlay .btn-devis-mobile .btn-devis-label {
    z-index: 3 !important;
    text-shadow: 0 1px 2px rgba(0, 30, 60, .35);
    line-height: 1 !important;
  }
  html body .nav-overlay .btn-devis-mobile .btn-devis-line1 {
    font-size: 1rem !important;
    letter-spacing: .14em !important;
  }
  html body .nav-overlay .btn-devis-mobile .btn-devis-line2 {
    font-size: 1.05rem !important;
    letter-spacing: .08em !important;
  }

  /* Effet shine qui balaie le bouton */
  html body .nav-overlay .btn-devis-mobile::after {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(120deg,
      transparent 0%,
      rgba(255, 255, 255, .35) 50%,
      transparent 100%) !important;
    transform: translateX(-110%) skewX(-22deg) !important;
    z-index: 2 !important;
    pointer-events: none !important;
    animation: devis-mobile-shine 4s ease-in-out infinite .8s !important;
  }
  @keyframes devis-mobile-shine {
    0%, 60%, 100% { transform: translateX(-110%) skewX(-22deg); }
    80%           { transform: translateX(150%) skewX(-22deg); }
  }

  /* Au tap : compression légère */
  html body .nav-overlay .btn-devis-mobile:active {
    transform: scale(.98) !important;
    transition: transform .1s ease !important;
  }

  /* ============================================================
     BOUTON FERMER (×) du menu mobile — visible et stylé
     ============================================================ */
  html body .nav-overlay .nav-close,
  html body .nav-overlay button[aria-label*="fermer" i],
  html body .nav-overlay .close-nav {
    position: absolute !important;
    top: 18px !important;
    right: 18px !important;
    width: 44px !important;
    height: 44px !important;
    display: grid !important;
    place-items: center !important;
    background: rgba(255, 255, 255, .1) !important;
    border: 1px solid rgba(255, 255, 255, .15) !important;
    border-radius: 12px !important;
    color: #fff !important;
    font-size: 1.5rem !important;
    cursor: pointer !important;
    z-index: 10 !important;
    transition: all .25s ease !important;
  }
  html body .nav-overlay .nav-close:active {
    background: rgba(255, 255, 255, .2) !important;
    transform: scale(.95) !important;
  }

  /* Respect des preferences "reduce motion" */
  @media (prefers-reduced-motion: reduce) {
    html body .nav-overlay > a {
      animation: none !important;
      opacity: 1 !important;
      transform: none !important;
    }
    html body .nav-overlay::before {
      animation: none !important;
    }
    html body .nav-overlay .btn-devis-mobile {
      animation: none !important;
    }
    html body .nav-overlay .btn-devis-mobile::after {
      animation: none !important;
      display: none !important;
    }
  }
}
