/*
Theme Name: Hello Elementor Child
Template: hello-elementor
*/


/* ============================================================
   HERO CENTRE — Titre dynamique
   ============================================================ */

.c-hero-title__line2 {
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .c-hero-title__line2 {
    white-space: normal;
  }
}


/* ============================================================
   HERO CENTRE — Carte avis Google (.c-rating-card)
   ============================================================ */

.elementor-element.c-rating-card.e-con.e-con {
  width: auto;
  min-width: 270px;
  height: 121px;
  margin-left: -10px;
  border: none;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 14px 14px;
}

.elementor-element.c-rating-card > .e-con:first-child {
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: auto;
  padding: 0;
}

.c-rating-card__logo {
  width: auto;
}

.c-rating-card__logo img {
  display: block;
  width: 50px;
  height: auto;
}

.c-rating-card__stars-icons .e-rating-wrapper {
  gap: 2px;
}

.c-rating-card__meta {
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  padding: 0;
}

.c-rating-card__meta h2.elementor-heading-title {
  margin: 0;
  line-height: 1;
}

.c-rating-card__count {
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
}


/* ============================================================
   HERO CENTRE — Carte infos pratiques (.c-info-card)
   ------------------------------------------------------------
   DESKTOP (état par défaut)
   ============================================================ */

.elementor-element.c-info-card.e-con.e-con {
  width: fit-content !important;
  flex-grow: 0 !important;
  flex-shrink: 0 !important;
  align-self: flex-start;
  padding: 14px 12px;
  border-radius: 4px 4px 4px 4px;
  background-color: #FFFFFF;
}

.c-centre-line {
  display: inline-block;
  font-family: "Outfit", sans-serif;
  font-weight: 400;
  font-size: 20px;
  color: #ffcc2b;
}

.c-info-card__header {
  align-items: center;
}

.c-info-card__header * {
  white-space: nowrap;
}

.c-info-card__address {
  align-items: center;
}

.c-info-card__address p {
  margin: 0;
  font-size: 16px;
  color: #002654;
}

.c-info-card__distance,
.c-info-card__phone {
  align-items: center;
}

.c-info-card__btn--primary,
.c-info-card__btn--primary a {
  border-radius: 14px 4px 14px 4px;
  background-color: #FFCC2B !important;
  color: #002654 !important;
}

.c-info-card__btn--secondary,
.c-info-card__btn--secondary a {
  border-radius: 14px 4px 14px 4px;
  background-color: #002654 !important;
  color: #FFFFFF !important;
}

.c-info-card__btn--ghost a {
  display: block;
  width: 100%;
  border-radius: 14px 4px 14px 4px;
  background-color: transparent !important;
  color: #002654 !important;
  border: 1.5px solid #777777 !important;
  text-align: center;
}

.c-info-card__btn--primary .elementor-button-icon,
.c-info-card__btn--secondary .elementor-button-icon,
.c-info-card__btn--ghost .elementor-button-icon {
  width: 24px;
  height: 24px;
}

.c-info-card__btn--primary .elementor-button-icon svg,
.c-info-card__btn--secondary .elementor-button-icon svg,
.c-info-card__btn--ghost .elementor-button-icon svg {
  width: 100%;
  height: 100%;
}

.c-info-card__btn--primary .elementor-button-content-wrapper,
.c-info-card__btn--secondary .elementor-button-content-wrapper,
.c-info-card__btn--ghost .elementor-button-content-wrapper {
  align-items: center;
}


/* ============================================================
   HERO CENTRE — Carte infos pratiques (.c-info-card)
   ------------------------------------------------------------
   MOBILE (<= 768px)
   ============================================================ */

@media (max-width: 768px) {

  /* ============================================================
     FIX GLOBAL MOBILE — Colonne gauche body = pleine largeur
     En desktop, cette colonne (7d3332b) partage la largeur avec la
     sidebar sticky (avis+pack). En mobile la sidebar disparaît : on
     force la colonne à 100% avec padding latéral symétrique (16/16).
     Bénéficie à TOUS les blocs du body (Assurances, éditorial, etc.).
     ============================================================ */
  /* COLONNE BODY (fond blanc) : bord à bord, AUCUN padding latéral
     (le fond doit toucher les bords de l'écran). L'air est porté
     par les enfants ci-dessous, donc à l'INTERIEUR du fond. */
  .elementor-element.elementor-element-7d3332b {
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  /* Enfants directs (Assurances, éditorial...) : pleine largeur,
     fond BORD A BORD (pas de padding latéral sur le conteneur, sinon
     le fond des sous-blocs est repoussé vers l'intérieur). L'air du
     contenu est géré à l'intérieur de chaque bloc. */
  .elementor-element.elementor-element-7d3332b > .e-con {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  /* Conteneurs BOXED : leur .e-con-inner est plafonné par la content-width
     d'Elementor -> on le force à 100% (sinon vide latéral résiduel) */
  .elementor-element.elementor-element-7d3332b > .e-con-boxed > .e-con-inner {
    width: 100% !important;
    max-width: 100% !important;
  }
  /* Bloc éditorial : le fond blanc (37b9dc7) va bord à bord ;
     l'air du contenu est porté EN INTERNE (padding) pour ne pas
     repousser le fond. Ajuste la valeur si besoin. */
  .elementor-element.elementor-element-37b9dc7 {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* --- La carte : pleine largeur, centrée, plafonnée --- */
  .elementor-element.c-info-card.e-con.e-con {
    width: 100% !important;
    max-width: 480px;
    background-color: rgba(255, 255, 255, 0.8);
    margin-inline: auto !important;
    align-self: center !important;
    align-items: center !important;
    text-align: center !important;
    border-radius: 14px 4px 14px 4px !important;
  }

  /* --- Grand-parent du hero : padding latéral symétrique --- */
  .elementor-element.elementor-element-55e22b0 {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* --- Centrage par défaut des sous-conteneurs de la carte --- */
  .elementor-element.c-info-card .c-info-card__header,
  .elementor-element.c-info-card .c-info-card__address,
  .elementor-element.c-info-card .c-info-card__phone,
  .elementor-element.c-info-card .c-info-card__distance,
  .elementor-element.c-info-card > .e-con,
  .elementor-element.c-info-card .e-con {
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }

  /* --- Adresse + Téléphone : ferrés à gauche --- */
  .elementor-element.c-info-card .c-info-card__address,
  .elementor-element.c-info-card .c-info-card__phone {
    justify-content: flex-start !important;
    text-align: left !important;
  }

  /* --- Téléphone : forcer le bleu navy (écrase le rose du thème) --- */
  .elementor-element.c-info-card .c-info-card__phone,
  .elementor-element.c-info-card .c-info-card__phone *,
  .elementor-element.c-info-card .c-info-card__phone a {
    color: #002654 !important;
  }

  /* --- Horaire (widget shortcode) : tentative ferrage à gauche --- */
  .elementor-element.c-info-card .elementor-widget-shortcode {
    text-align: left !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
  }
  .elementor-element.c-info-card .elementor-widget-shortcode .elementor-shortcode {
    text-align: left !important;
    justify-content: flex-start !important;
    display: block !important;
  }

  /* --- Adresse : 16px -> 13px (Figma Centre Mobile V2) --- */
  .c-info-card__address p {
    font-size: 13px;
    line-height: 1.2;
  }

  /* --- Sous-titre "Centre de [ville]" : interligne + turquoise --- */
  .c-centre-line {
    line-height: 1.25;
    color: #009FE6;
  }

  /* --- Bouton PRENDRE RDV : pleine largeur, 20px de marge --- */
  .elementor-element.c-info-card .c-info-card__btn--primary {
    width: calc(100% - 40px) !important;
    margin-left: 20px !important;
    margin-right: 20px !important;
  }
  .elementor-element.c-info-card .c-info-card__btn--primary a,
  .elementor-element.c-info-card .c-info-card__btn--primary .elementor-button {
    width: 100% !important;
  }

  /* --- Bloc "OU" : trait — OU — trait sur une ligne --- */
  .elementor-element.c-info-card .elementor-element-fa53a91 {
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
  }
  .elementor-element.c-info-card .elementor-element-fa53a91 > .elementor-widget-divider {
    flex: 1 1 0 !important;
  }
  .elementor-element.c-info-card .elementor-element-fa53a91 > .elementor-widget-text-editor {
    flex: 0 0 auto !important;
  }

  /* --- APPELER | ITINÉRAIRE : sur une ligne, séparateur fin au milieu --- */
  .elementor-element.c-info-card .c-info-card__cta > .e-con-inner {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .elementor-element.c-info-card .c-info-card__cta .c-info-card__btn--ghost {
    flex: 1 1 0 !important;
    width: auto !important;
  }
  .elementor-element.c-info-card .c-info-card__cta .sospb-separator-v {
    flex: 0 0 auto !important;
    width: 1px !important;
  }

  /* ============================================================
     BLOC ASSURANCES — mobile (<= 768px)
     Badge (icône + texte) à gauche, pastilles assureurs en grille
     wrap à droite/dessous, lien "Calculez" centré en pleine largeur.
     ============================================================ */

  /* Conteneur principal Assurances : flex row wrap, centré */
  .elementor-element.elementor-element-369c480 {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }
  .elementor-element.elementor-element-369c480 > .e-con-inner {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Badge icône SOS : taille fixe, à gauche */
  .elementor-element.elementor-element-340bca7 {
    flex: 0 0 auto !important;
    width: auto !important;
  }
  .elementor-element.elementor-element-340bca7 .elementor-icon svg {
    width: 48px !important;
    height: auto !important;
  }

  /* Texte "+200 ASSUREURS PRIS EN CHARGE" : à droite de l'icône, 2 lignes */
  .elementor-element.elementor-element-25d562b {
    flex: 0 0 auto !important;
    width: auto !important;
    text-align: left !important;
    white-space: nowrap !important;
  }

  /* Conteneur grille : pleine largeur, wrap, pastilles ferrées à gauche */
  .elementor-element.elementor-element-d308d75 {
    flex: 1 1 100% !important;
    width: 100% !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    margin-top: 6px !important;
  }

  /* Les pastilles assureurs : largeur auto, ne s'étirent pas */
  .elementor-element.elementor-element-d308d75 > .e-con.u-fit-contentv2 {
    flex: 0 0 auto !important;
    width: auto !important;
  }

  /* Le lien "Calculez votre franchise" : pleine largeur, centré, sous la grille */
  .elementor-element.elementor-element-2e68bfa {
    flex: 1 1 100% !important;
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    margin-top: 8px !important;
  }
  .elementor-element.elementor-element-f0181b7 {
    text-align: center !important;
    width: 100% !important;
  }
  .elementor-element.elementor-element-f0181b7 p {
    text-align: center !important;
    margin: 0 !important;
  }
}


/* ============================================================
   BLOC NOTATION + PICTOS — Carte Avis + Carte Avantages
   ------------------------------------------------------------
   CIBLE (mobile ET tablette, <= 1024px) :
   - Les 2 cartes CÔTE À CÔTE (Avis étroite | Avantages large)
   - Carte Avis : tout empilé colonne centrée
     (logo G > étoiles > note > avis clients)
   - Carte Avantages : header (ouvrier + logo Pack sur une ligne),
     puis 3 lignes de réassurance empilées (icône | texte centrés)
   Ciblage par IDs Elementor (l'éditeur ne reflète pas le front).
   Breakpoint 1200 : largeur a laquelle les textes commencent a se chevaucher.
   ============================================================ */

@media (max-width: 1200px) {

  /* --- CONTENEUR PARENT (9d7898b) : 2 cartes côte à côte, hauteur égale --- */
  .elementor-element.elementor-element-9d7898b {
    flex-direction: row !important;
    align-items: stretch !important;        /* hauteur égale des 2 cartes */
    justify-content: center !important;
    flex-wrap: nowrap !important;
    gap: 12px !important;
    padding: 0 !important;
    /* Overlap 50/50 géré dynamiquement par card-overlap.js
       (margin-bottom négatif = 50% de la hauteur réelle des cartes) */
    position: relative !important;
    z-index: 2 !important;
  }

  /* --- CARTE AVIS (b3d57fd) : étroite, colonne centrée --- */
  .elementor-element.elementor-element-b3d57fd.c-rating-card {
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    flex: 0 0 32% !important;
    flex-direction: column !important;
    min-width: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 16px 8px !important;
    margin-left: 0 !important;
  }

  /* Sous-bloc logo Google + étoiles : empilé centré */
  .elementor-element.elementor-element-50314c7 {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    width: 100% !important;
    margin: 0 !important;
  }

  /* LOGO GOOGLE : ~44px */
  .elementor-element.elementor-element-6c5ac59 img {
    width: 44px !important;
    height: auto !important;
    margin: 0 auto !important;
  }

  /* ETOILES : compactes */
  .elementor-element.elementor-element-bec5f73 .e-rating-wrapper {
    gap: 2px !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
  }
  .elementor-element.elementor-element-bec5f73 .e-icon svg {
    width: 14px !important;
    height: 14px !important;
  }

  /* Sous-bloc note + count : empilé centré, visible */
  .elementor-element.elementor-element-3491a52 {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    text-align: center !important;
  }

  /* Note 4,6/5 : 24px centrée */
  .elementor-element.elementor-element-1db942d .elementor-heading-title {
    text-align: center !important;
    font-size: 24px !important;
    line-height: 1.1 !important;
    margin: 0 !important;
  }

  /* Count avis : 12px centré */
  .elementor-element.elementor-element-ce765bb.c-rating-card__count {
    text-align: center !important;
    white-space: normal !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    margin: 0 !important;
  }
  .elementor-element.elementor-element-ce765bb p {
    margin: 0 !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
  }


  /* --- CARTE AVANTAGES (679fed4) : large, header + lignes empilées --- */
  .elementor-element.elementor-element-679fed4 {
    flex: 1 1 auto !important;
    height: auto !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: center !important;
    gap: 10px !important;
    padding: 18px 16px !important;
    margin-bottom: 0 !important;
  }

  /* HEADER carte Pack (3b3ab53) : ouvrier + logo sur UNE ligne */
  .elementor-element.elementor-element-3b3ab53 {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    width: 100% !important;
    margin: 0 !important;
  }
  /* Icône ouvrier : taille fixe, ne grandit pas */
  .elementor-element.elementor-element-dbeadc0 {
    flex: 0 0 auto !important;
    width: auto !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
  }
  .elementor-element.elementor-element-5132f95 .elementor-icon svg {
    width: 40px !important;
    height: 40px !important;
  }
  /* Logo "Pack sécurité SOS" : ne s'étale pas, plafonné */
  .elementor-element.elementor-element-7ba5e9e {
    flex: 0 1 auto !important;
    width: auto !important;
    justify-content: flex-start !important;
    align-items: center !important;
    margin: 0 !important;
  }
  .elementor-element.elementor-element-7ba5e9e img {
    width: auto !important;
    max-width: 150px !important;
    height: auto !important;
  }

  /* Les 3 lignes icône+texte : empilées, chacune en ROW, centrées vertical */
  .elementor-element.elementor-element-cb676ed,
  .elementor-element.elementor-element-f7e1e5f,
  .elementor-element.elementor-element-162adc8 {
    flex-direction: row !important;
    align-items: center !important;         /* icône et texte centrés verticalement */
    justify-content: flex-start !important;
    gap: 12px !important;
    width: 100% !important;
    margin: 0 !important;
  }

  /* Wrapper ICÔNE : taille fixe, centré vertical */
  .elementor-element.elementor-element-2d5081a,
  .elementor-element.elementor-element-9494f5c,
  .elementor-element.elementor-element-2587685 {
    flex: 0 0 auto !important;
    width: auto !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: center !important;
    margin: 0 !important;
  }

  /* Wrapper TEXTE : prend le reste, texte ferré à gauche, centré vertical */
  .elementor-element.elementor-element-4b33b8f,
  .elementor-element.elementor-element-e086c7c,
  .elementor-element.elementor-element-2a64e31 {
    flex: 1 1 auto !important;
    align-items: flex-start !important;
    justify-content: center !important;
    align-self: center !important;
    text-align: left !important;
    margin: 0 !important;
  }

  .elementor-element.elementor-element-42f0dec p,
  .elementor-element.elementor-element-952313e p,
  .elementor-element.elementor-element-46ffa21 p {
    text-align: left !important;
    font-size: 14px !important;
    margin: 0 !important;
    line-height: 1.2 !important;
  }

  /* Icônes des lignes : ~30px homogène */
  .elementor-element.elementor-element-679fed4 .elementor-icon svg {
    width: 30px !important;
    height: 30px !important;
  }
}


/* ============================================================
   FIL D'ARIANE — Rank Math Breadcrumb
   ============================================================ */

.rank-math-breadcrumb a {
  color: #009fe6;
  text-decoration: none;
  transition: color 0.2s ease;
}

.rank-math-breadcrumb a:hover,
.rank-math-breadcrumb a:focus {
  color: #8a9bb0;
}

.rank-math-breadcrumb .last {
  color: #0d2255;
}

.rank-math-breadcrumb .separator {
  color: #0d2255;
}


/* ============================================================
   MENU HEADER
   ============================================================ */

.btn--menu--header .elementor-button {
  border-radius: 14px 4px 14px 4px;
  background-color: #F4C731 !important;
  color: #002654 !important;
  white-space: nowrap;
}

.main_menu_wordpress .elementor-nav-menu a.elementor-item:hover,
.main_menu_wordpress .elementor-nav-menu a.elementor-item:focus,
.main_menu_wordpress .elementor-nav-menu a.elementor-item.elementor-item-active {
  color: #FFCC2B !important;
  text-decoration: underline !important;
}


/* ============================================================
   UTILITAIRES — Largeur / alignement containers Elementor
   ============================================================ */

.u-fit-content {
  width: fit-content !important;
  flex-grow: 0 !important;
  flex-shrink: 0 !important;
}

.u-fill {
  flex-grow: 1 !important;
  flex-shrink: 1 !important;
}

.u-items-center {
  align-items: center !important;
}

.u-self-center {
  align-self: center !important;
}

.u-fit-contentv2 {
  width: fit-content !important;
  height: fit-content !important;
  flex-grow: 0 !important;
  flex-shrink: 0 !important;
}

.sospb-separator-v {
  width: 1px !important;
  height: 40px !important;
  border: none !important;
  background: #99A1AF;
  margin: 0 !important;
}

.sospb-separator-v hr {
  width: 1px !important;
  height: 40px !important;
  border: none !important;
  background: currentColor;
  margin: 0 !important;
}

.avantage-low {
  display: inline-block;
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: 12px;
  color: #000000;
}


/* ============================================================
   STYLES GÉNÉRAUX
   ============================================================ */

.titre-accent {
  color: #FFCC2B;
}

.texte-accent {
  color: #21326A;
  font-weight: 700;
}

.avis-client-auteur {
  color: #009FE6;
  font-weight: 700;
}


/* ============================================================
   SIDEBAR BODY (colonne droite : avis + pack)
   Le JS sticky gère la position fixe (desktop uniquement).
   ============================================================ */

.c-sidebar.e-con.e-con {
  flex: 0 0 auto !important;
  align-self: flex-start !important;
  width: fit-content !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.c-sidebar .c-rating-card.e-con.e-con,
.c-sidebar .c-avantages-card.e-con.e-con {
  margin-left: 0 !important;
  flex-grow: 0 !important;
  flex-shrink: 0 !important;
}

/* ============================================================
   Menu desktop - Mega
   ============================================================ */

/* === Conteneur de navigation : entrées en ligne, espacement uniforme === */
.main-nav__list {
  display: flex;
  align-items: center;
  gap: 32px;            /* espacement entre toutes les entrées, à ajuster */
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav__item {
  position: relative;   /* contexte pour les panneaux mega */
  list-style: none;
}

/* === Entrées de premier niveau en blanc (header), sans toucher au panneau === */
.main-nav__item > a,
.main-nav__item > a:hover,
.main-nav__item > a:focus {
  color: #fff !important;
  text-decoration: none;
}
/* repère jaune sous l'entrée active, jamais sur le texte */
.main-nav__item--active > a {
  box-shadow: inset 0 -3px 0 #FFD000;
}

/* === Mega panel deux colonnes === */
.has-mega > .mega-panel {
  position: absolute;
  top: calc(100% + 30px); /* décalage de 30px sous le header */
  left: 0;                /* ouverture vers la droite, aligné sur l'entrée */
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 40px;
  min-width: 560px;
  max-width: 92vw;
  padding: 24px 28px;
  background: #fff;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 4px 16px rgba(33,50,106,0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .15s ease, transform .15s ease;
  z-index: 50;
}

/* Panneau Pro plus étroit (2 colonnes courtes), limite le risque de débordement à droite */
.has-mega--pro > .mega-panel {
  min-width: 440px;
}

/* Pont invisible de 30px pour ne pas couper le survol dans le vide */
.has-mega > .mega-panel::before {
  content: "";
  position: absolute;
  top: -30px;
  left: 0;
  right: 0;
  height: 30px;
}

/* Ouverture au survol ET au clavier (focus-within = accessible) */
.has-mega:hover > .mega-panel,
.has-mega:focus-within > .mega-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* === Titres de groupe avec icône === */
.mega-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 700 13px/1.2 "Poppins", sans-serif;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #0D1660;
  margin: 0 0 8px;
}
.mega-title::before {
  content: "";
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  background: url("https://sosparebrise.devstratall.fr/wp-content/uploads/2026/05/ico-1.svg") center / contain no-repeat;
}

/* === Liens du panneau (navy, forcé pour battre le blanc du header) === */
.mega-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mega-panel li { margin: 0; }
.mega-panel a {
  display: block;
  padding: 6px 0;
  color: #0D1660 !important;
  text-decoration: none;
  font: 400 15px/1.3 "Inter", sans-serif;
}
.mega-panel a:hover { text-decoration: underline; } /* survol navy, pas jaune */

/* === Lien "Voir tous les services" === */
.mega-all {
  grid-column: 1 / -1;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(33,50,106,0.12);
  font-weight: 700 !important;
  color: #0D1660 !important;
}

/* === Mobile : nav empilée, flyout désactivé, accordéon du drawer === */
@media (max-width: 1024px) {
  .main-nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .has-mega > .mega-panel {
    position: static;
    top: auto;
    left: auto;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    min-width: 0;
    grid-template-columns: 1fr;
  }
  .has-mega--pro > .mega-panel { min-width: 0; }
  .has-mega > .mega-panel::before { display: none; }
}

/* Hero */
#hero-sos-parebrise {
  position: relative;
}

/* Dégradé — gardé */
#hero-sos-parebrise::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(33, 50, 106, 0.95) 45.92%,
    rgba(33, 50, 106, 0.85) 54.81%,
    rgba(33, 50, 106, 0.30) 80.29%,
    rgba(33, 50, 106, 0.10) 100%
  );
}

/* Contenu au-dessus du dégradé — SANS piéger la vidéo */
#hero-sos-parebrise > .e-con-inner > *:not(.elementor-background-video-container) {
  position: relative;
  z-index: 2;
}

/* Mobile — gardé */
@media (max-width: 767px) {
  #hero-sos-parebrise {
    background-position: 85% 50% !important;
  }
}
