/* ===== AUX ATELIERS — FINITIONS RESPONSIVE V0.11 ===== */

/* 1) Les pages Site Core occupent réellement toute la largeur.
   Les largeurs de lecture restent gérées par les wrappers internes. */
body.aa-sitecore-fullwidth .site-content > .ast-container{
  width:100%!important;
  max-width:none!important;
  padding-left:0!important;
  padding-right:0!important;
}
body.aa-sitecore-fullwidth #primary,
body.aa-sitecore-fullwidth .site-main,
body.aa-sitecore-fullwidth .ast-article-single,
body.aa-sitecore-fullwidth .entry-content{
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
  padding-left:0!important;
  padding-right:0!important;
}

/* Gutenberg "flow" injectait encore parfois un espace blanc entre deux
   sections plein écran. Les wrappers Site Core possèdent leur propre rythme. */
.aa-home-v41-page > *,
.aa-loisirs-v4-page > *,
.aa-gameside-page > *,
.aa-activity-page > *,
.aa-v35-page > *{
  margin-block-start:0!important;
  margin-block-end:0!important;
}

/* 2) Liens / boutons : focus clavier visible et cohérent. */
.aa-sitecore-fullwidth a:focus-visible,
.site-header a:focus-visible,
.site-header button:focus-visible,
.site-footer a:focus-visible{
  outline:3px solid #FFF276!important;
  outline-offset:3px!important;
  border-radius:6px;
}

/* 3) Les médias ne provoquent jamais de débordement horizontal. */
.aa-sitecore-fullwidth img,
.aa-sitecore-fullwidth video,
.aa-sitecore-fullwidth iframe{
  max-width:100%;
}
.aa-sitecore-fullwidth .wp-block-embed,
.aa-sitecore-fullwidth .wp-block-embed__wrapper{
  max-width:100%;
}

/* 4) Les tableaux restent utilisables sur mobile. */
.aa-sitecore-fullwidth .wp-block-table,
.aa-sitecore-fullwidth .aa-v35-price-table{
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}
.aa-sitecore-fullwidth .wp-block-table table,
.aa-sitecore-fullwidth .aa-v35-price-table table{
  min-width:620px;
}

/* 5) Widgets externes / 4escape. */
.aa-sitecore-fullwidth .aa-booking,
.aa-sitecore-fullwidth .forescape-catalog,
.aa-sitecore-fullwidth .forescape-cart{
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box;
}

/* 6) Home : supprime définitivement les bandes blanches entre les sections. */
.aa-home-v41-page{
  background:#0E0F11;
}
.aa-home-v41-page > section,
.aa-home-v41-page > div{
  margin:0!important;
}

/* 7) Hub Loisirs : cartes plus régulières. */
.aa-loisirs-v4-grid{
  grid-auto-rows:1fr;
}
.aa-loisirs-v4-card{
  min-width:0;
}
.aa-loisirs-v4-card-body{
  min-width:0;
}
.aa-loisirs-v4-card h3,
.aa-loisirs-v4-card p{
  overflow-wrap:anywhere;
}

/* 8) Pages activité : les groupes de boutons évitent les lignes bancales. */
.aa-act-actions,
.aa-gs-actions,
.aa-v35-actions,
.aa-gs-outro-actions,
.aa-act-outro-actions{
  align-items:center!important;
}


/* 9) HEADER / NAVIGATION — NETTOYAGE V0.68.3
   Astra gère désormais entièrement :
   - logo et identité du site ;
   - libellé BELFORT / slogan ;
   - hauteur et grille du header ;
   - breakpoint desktop / tablette / mobile ;
   - dimensions, bordure et alignement du burger ;
   - comportement sticky/fixed éventuel du header.

   Site Core ne surcharge volontairement plus #masthead / #ast-mobile-header.
*/


/* 11) OUTRO FICHES LOISIRS V0.15
   Même logique que le CTA final de la Home :
   noir profond -> ligne jaune -> footer graphite. */
.aa-gs-outro,
.aa-act-outro{
  background:#0E0F11!important;
  color:#fff!important;
  padding:clamp(54px,5vw,72px) 28px!important;
  text-align:center!important;
  border-top:8px solid #FFF276!important;
  border-bottom:0!important;
}

.aa-gs-outro .aa-gs-section-kicker,
.aa-act-outro .aa-act-eyebrow{
  margin:0 0 10px!important;
  color:#FFF276!important;
  font-size:11px!important;
  font-weight:800!important;
  line-height:1.25!important;
  letter-spacing:.14em!important;
  text-transform:uppercase!important;
}

.aa-gs-outro-title,
.aa-act-outro-title{
  margin:0!important;
  color:#fff!important;
  font-size:clamp(34px,4.3vw,58px)!important;
  line-height:1.03!important;
  font-weight:800!important;
  letter-spacing:-.04em!important;
}

.aa-gs-outro-copy,
.aa-act-outro-copy{
  max-width:720px!important;
  margin:14px auto 24px!important;
  color:rgba(255,255,255,.72)!important;
  font-size:17px!important;
  line-height:1.6!important;
}

.aa-gs-outro-actions,
.aa-act-outro-actions{
  justify-content:center!important;
  gap:12px!important;
  flex-wrap:wrap!important;
}

.aa-gs-outro-actions .wp-block-button__link,
.aa-act-outro-actions .wp-block-button__link{
  min-height:44px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:10px 22px!important;
  border-radius:999px!important;
  border:1px solid #FFF276!important;
  background:#FFF276!important;
  color:#0E0F11!important;
  font-weight:800!important;
  text-decoration:none!important;
}

.aa-gs-outro-actions .is-style-outline .wp-block-button__link,
.aa-act-outro-actions .is-style-outline .wp-block-button__link{
  border-color:rgba(255,255,255,.48)!important;
  background:transparent!important;
  color:#fff!important;
}

.aa-gs-outro-actions .wp-block-button__link:hover,
.aa-act-outro-actions .wp-block-button__link:hover{
  transform:translateY(-1px);
}

.aa-gs-outro-actions .is-style-outline .wp-block-button__link:hover,
.aa-act-outro-actions .is-style-outline .wp-block-button__link:hover{
  border-color:#FFF276!important;
  color:#FFF276!important;
}

@media (max-width:600px){
  .aa-gs-outro,
  .aa-act-outro{
    padding:48px 18px!important;
  }

  .aa-gs-outro-copy,
  .aa-act-outro-copy{
    font-size:15px!important;
  }
}


/* 12) WRAPPERS PRINCIPAUX — V0.16
   Le groupe racine de nos pages ne doit ajouter aucun padding/marge.
   Les espacements sont gérés uniquement par les sections internes. */
.aa-home-v41-page,
.aa-loisirs-v4-page,
.aa-gameside-page,
.aa-activity-page,
.aa-v35-page{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  box-sizing:border-box!important;
}

/* Sécurité Gutenberg/Astra : le groupe racine reste réellement full width. */
.entry-content > .aa-home-v41-page,
.entry-content > .aa-loisirs-v4-page,
.entry-content > .aa-gameside-page,
.entry-content > .aa-activity-page,
.entry-content > .aa-v35-page{
  margin-left:0!important;
  margin-right:0!important;
  padding-left:0!important;
  padding-right:0!important;
}


/* 13) TARIFS + FOOTER RESPONSIVE V0.17 */

/* Contraste garanti dans les tableaux posés sur une section sombre. */
.aa-v35-price-table tbody td,
.aa-v35-dark .aa-v35-price-table tbody td{
  color:#212223!important;
  background:#fff!important;
}
.aa-v35-price-table thead th{
  color:#fff!important;
  background:#212223!important;
}

/* Catalogue de tarifs centralisé. */
.aa-price-inner{
  width:min(1020px,calc(100% - 36px));
  margin:0 auto;
}
.aa-price-card-note{
  margin-top:10px!important;
  color:rgba(33,34,35,.66)!important;
  font-size:13px!important;
  line-height:1.45!important;
}
.aa-v35-dark .aa-price-card-note{
  color:rgba(255,255,255,.65)!important;
}
.aa-price-highlight{
  max-width:780px;
  margin:24px auto 0;
  padding:18px 22px;
  border-radius:14px;
  border:1px solid rgba(33,34,35,.12);
  background:#FFF276;
  color:#0E0F11;
  line-height:1.55;
}
.aa-price-two-cols{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
  max-width:860px;
  margin:26px auto 0;
}
.aa-price-two-cols > div{
  padding:24px;
  border-radius:16px;
  background:#fff;
  box-shadow:0 10px 26px rgba(0,0,0,.06);
}
.aa-price-big{
  font-size:22px!important;
  font-weight:800!important;
}

/* Le footer passe en vraie disposition mobile plus tôt.
   Évite la colonne CTA écrasée vers 430-600px. */
@media (max-width:700px){
  .site-primary-footer-wrap .ast-builder-grid-row{
    display:grid!important;
    grid-template-columns:1fr!important;
    row-gap:34px!important;
  }

  .site-primary-footer-wrap .site-footer-section{
    width:100%!important;
    max-width:420px!important;
    margin-left:auto!important;
    margin-right:auto!important;
    text-align:center!important;
  }

  .site-primary-footer-wrap .widget,
  .site-primary-footer-wrap .wp-block-group{
    margin-left:auto!important;
    margin-right:auto!important;
  }

  .site-primary-footer-wrap ul{
    padding-left:0!important;
    list-style:none!important;
  }

  .site-below-footer-wrap .ast-builder-grid-row{
    display:grid!important;
    grid-template-columns:1fr!important;
    row-gap:10px!important;
    text-align:center!important;
  }

  .aa-price-two-cols{
    grid-template-columns:1fr!important;
  }
}

@media (max-width:520px){
  .aa-price-inner{
    width:min(100% - 24px,1020px);
  }

  .aa-v35-price-table{
    overflow-x:auto!important;
    -webkit-overflow-scrolling:touch;
  }

  .aa-v35-price-table table{
    min-width:560px!important;
  }

  .aa-price-two-cols > div{
    padding:20px;
  }
}


/* 14) FINITIONS VISUELLES TARIFS V0.18
   Les petits libellés jaunes perdaient du contraste sur fond clair. */

/* Fond clair : le jaune devient un vrai repère visuel, pas un texte pâle. */
.aa-v35-light .aa-v35-section-kicker,
.aa-v35-alt .aa-v35-section-kicker{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  margin:0 auto 12px!important;
  padding:5px 10px!important;
  border-radius:999px!important;
  background:#FFF276!important;
  color:#0E0F11!important;
  font-size:10px!important;
  font-weight:800!important;
  line-height:1.2!important;
  letter-spacing:.12em!important;
  text-transform:uppercase!important;
}

/* Fond sombre : le jaune texte fonctionne déjà très bien. */
.aa-v35-dark .aa-v35-section-kicker{
  color:#FFF276!important;
  background:transparent!important;
}

/* Un peu plus de présence pour les cartes tarifs sur fond clair. */
.aa-v35-light .aa-v35-card,
.aa-v35-alt .aa-v35-card{
  border:1px solid rgba(33,34,35,.07)!important;
  box-shadow:0 8px 24px rgba(14,15,17,.055)!important;
}

/* Les prix doivent rester le niveau d'information le plus lisible. */
.aa-price-card > p:first-of-type strong,
.aa-price-two-cols .aa-price-big{
  color:#0E0F11!important;
}

/* Aération légère sur mobile sans rallonger inutilement la page. */
@media (max-width:520px){
  .aa-v35-light .aa-v35-section-kicker,
  .aa-v35-alt .aa-v35-section-kicker{
    font-size:9px!important;
    padding:5px 9px!important;
    margin-bottom:10px!important;
  }

  .aa-price-card-note{
    font-size:12px!important;
    line-height:1.4!important;
  }
}


/* 15) FOOTER RESPONSIVE V0.19
   Desktop inchangé.
   Tablette/mobile : marque pleine largeur, 2 colonnes de liens,
   CTA pleine largeur. Le footer reste compact sans écraser la colonne CTA. */

@media (max-width:900px){

  .site-footer .site-primary-footer-wrap{
    padding-top:44px!important;
    padding-bottom:34px!important;
  }

  .site-footer .site-primary-footer-wrap .ast-builder-grid-row{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    grid-auto-flow:row!important;
    column-gap:34px!important;
    row-gap:30px!important;
    align-items:start!important;
  }

  .site-footer .site-primary-footer-wrap .site-footer-section{
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin:0!important;
  }

  /* Marque */
  .site-footer .site-primary-footer-wrap .site-footer-primary-section-1{
    grid-column:1 / -1!important;
    text-align:center!important;
  }

  /* Navigation : deux colonnes lisibles */
  .site-footer .site-primary-footer-wrap .site-footer-primary-section-2,
  .site-footer .site-primary-footer-wrap .site-footer-primary-section-3{
    grid-column:auto!important;
    text-align:left!important;
  }

  /* CTA + réseaux + adresse */
  .site-footer .site-primary-footer-wrap .site-footer-primary-section-4{
    grid-column:1 / -1!important;
    width:min(100%,440px)!important;
    margin-left:auto!important;
    margin-right:auto!important;
    text-align:center!important;
  }

  .site-footer .site-primary-footer-wrap .site-footer-primary-section-4 .ast-header-social-wrap,
  .site-footer .site-primary-footer-wrap .site-footer-primary-section-4 .ast-builder-social-element{
    justify-content:center!important;
  }

  .site-footer .site-primary-footer-wrap ul{
    margin:0!important;
    padding-left:0!important;
    list-style:none!important;
  }

  .site-footer .site-primary-footer-wrap li{
    margin:0 0 5px!important;
    line-height:1.45!important;
  }

  .site-footer .site-primary-footer-wrap a{
    text-decoration:none!important;
  }

  .site-footer .site-primary-footer-wrap a:hover{
    color:#FFF276!important;
  }

  /* Rangée légale */
  .site-footer .site-below-footer-wrap{
    padding-top:16px!important;
    padding-bottom:16px!important;
  }

  .site-footer .site-below-footer-wrap .ast-builder-grid-row{
    display:grid!important;
    grid-template-columns:1fr!important;
    row-gap:9px!important;
    text-align:center!important;
    justify-items:center!important;
  }

  .site-footer .site-below-footer-wrap .site-footer-section{
    width:100%!important;
    text-align:center!important;
    justify-content:center!important;
  }

  .site-footer .site-below-footer-wrap .footer-nav-wrap .astra-footer-horizontal-menu{
    display:flex!important;
    flex-wrap:wrap!important;
    justify-content:center!important;
    gap:4px 14px!important;
  }
}

@media (max-width:560px){

  .site-footer .site-primary-footer-wrap{
    padding:36px 20px 30px!important;
  }

  .site-footer .site-primary-footer-wrap .ast-builder-grid-row{
    column-gap:20px!important;
    row-gap:28px!important;
  }

  /* Les 2 colonnes de navigation restent volontairement côte à côte :
     beaucoup plus compact qu'un footer de 2 écrans. */
  .site-footer .site-primary-footer-wrap .site-footer-primary-section-2,
  .site-footer .site-primary-footer-wrap .site-footer-primary-section-3{
    font-size:12px!important;
  }

  .site-footer .site-primary-footer-wrap .site-footer-primary-section-2 a,
  .site-footer .site-primary-footer-wrap .site-footer-primary-section-3 a{
    line-height:1.45!important;
  }

  .site-footer .site-primary-footer-wrap .widget-title,
  .site-footer .site-primary-footer-wrap h2,
  .site-footer .site-primary-footer-wrap h3{
    overflow-wrap:anywhere;
  }

  .site-footer .site-primary-footer-wrap .site-footer-primary-section-4{
    max-width:320px!important;
  }

  .site-footer .site-primary-footer-wrap .site-footer-primary-section-4 .wp-block-button,
  .site-footer .site-primary-footer-wrap .site-footer-primary-section-4 .wp-block-button__link{
    max-width:220px!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }

  .site-footer .site-below-footer-wrap{
    font-size:11px!important;
    line-height:1.45!important;
  }
}

/* Sécurité sur les très petits téléphones. */
@media (max-width:340px){
  .site-footer .site-primary-footer-wrap .ast-builder-grid-row{
    grid-template-columns:1fr!important;
  }

  .site-footer .site-primary-footer-wrap .site-footer-primary-section-1,
  .site-footer .site-primary-footer-wrap .site-footer-primary-section-2,
  .site-footer .site-primary-footer-wrap .site-footer-primary-section-3,
  .site-footer .site-primary-footer-wrap .site-footer-primary-section-4{
    grid-column:1!important;
    text-align:center!important;
  }
}


/* 16) PLACEHOLDER RÉSERVATION 4ESCAPE V0.21 */
.aa-booking-pending{
  max-width:760px;
  margin:24px auto 0;
  padding:28px;
  border:1px solid rgba(33,34,35,.12);
  border-radius:16px;
  background:#fff;
  color:#212223;
  text-align:center;
  box-shadow:0 10px 30px rgba(14,15,17,.06);
}
.aa-booking-pending-kicker{
  margin:0 0 8px!important;
  color:#8a7600!important;
  font-size:11px!important;
  font-weight:800!important;
  letter-spacing:.12em!important;
  text-transform:uppercase!important;
}
.aa-booking-pending h3{
  margin:0 0 8px!important;
  color:#0E0F11!important;
  font-size:28px!important;
}
.aa-booking-pending p{
  margin:0 auto 16px!important;
  max-width:580px;
}
.aa-booking-pending-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:9px 20px;
  border-radius:999px;
  background:#FFF276;
  color:#0E0F11!important;
  font-weight:800;
  text-decoration:none!important;
}
.aa-act-gift-actions{
  justify-content:center!important;
  margin-top:18px!important;
}


/* 17) ADMIN AUDIT MOBILE V0.22 */
@media (max-width:782px){
  body.tools_page_aa-site-audit .wrap{
    margin-right:10px;
  }
  body.tools_page_aa-site-audit .widefat{
    display:block;
    width:100%;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    white-space:normal;
  }
  body.tools_page_aa-site-audit .widefat th,
  body.tools_page_aa-site-audit .widefat td{
    min-width:120px;
    vertical-align:top;
  }
  body.tools_page_aa-site-audit .widefat code{
    word-break:break-word!important;
    overflow-wrap:anywhere!important;
  }
}


/* 18) ADMIN AUDIT PERFORMANCE MOBILE V0.23 */
@media (max-width:782px){
  body.tools_page_aa-performance-audit .widefat{
    display:block;
    width:100%;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
  }
  body.tools_page_aa-performance-audit .widefat th,
  body.tools_page_aa-performance-audit .widefat td{
    min-width:125px;
    vertical-align:top;
  }
}


/* 19) MENU MOBILE — NETTOYAGE V0.68.3
   Les dimensions du header, du logo, du bouton et la mise en page du menu mobile
   ne sont plus imposées ici. Elles sont pilotées depuis Astra / CSS additionnel.
*/


/* 20) ADMIN OPTIMISATION MÉDIAS MOBILE V0.26 */
@media(max-width:782px){
  body.tools_page_aa-media-optimization .widefat{
    display:block;
    width:100%;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
  }
  body.tools_page_aa-media-optimization .widefat th,
  body.tools_page_aa-media-optimization .widefat td{
    min-width:120px;
    vertical-align:top;
  }
}


/* 21) ADMIN AUDIT ASSETS MOBILE V0.29 */
@media(max-width:782px){
  body.tools_page_aa-assets-audit .widefat{
    display:block;
    width:100%;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
  }
  body.tools_page_aa-assets-audit .widefat th,
  body.tools_page_aa-assets-audit .widefat td{
    min-width:120px;
    vertical-align:top;
  }
}


/* 25) IDENTITÉ DU SITE — NETTOYAGE V0.68.3
   Aucun pseudo-élément n'injecte désormais « BELFORT ».
   Le logo, le titre et le slogan sont ceux configurés dans Astra.
*/

/* Compatibilite des contenus Besancon 0.68.0 */
/* Tablet */
@media (max-width:900px){
  .aa-home-v41-wrap,
  .aa-gs-hero > *,
  .aa-act-hero > *,
  .aa-v35-hero > *,
  .aa-loisirs-v4-hero > *{
    max-width:100%;
  }

  .aa-home-v41-feature-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }

  .aa-home-v41-dest-grid{
    grid-template-columns:1fr!important;
  }

  .aa-loisirs-v4-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }

  .aa-gs-icons,
  .aa-act-icons,
  .aa-v35-icon-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }

  .aa-gs-gallery-grid,
  .aa-act-gallery-grid,
  .aa-v35-gallery-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

/* Mobile */
@media (max-width:600px){
  html,body{
    max-width:100%;
    overflow-x:hidden;
  }

  .aa-home-v41-wrap{
    width:calc(100% - 32px)!important;
  }

  .aa-home-v41-hero{
    min-height:590px!important;
  }

  .aa-home-v41-hero-inner{
    width:calc(100% - 32px)!important;
    padding-top:54px!important;
    padding-bottom:54px!important;
  }

  .aa-home-v41-place-logo{
    width:112px!important;
    margin-bottom:18px!important;
  }

  .aa-home-v41-kicker{
    max-width:320px;
    margin-left:auto!important;
    margin-right:auto!important;
    font-size:10px!important;
    line-height:1.35!important;
  }

  .aa-home-v41-hero h1{
    font-size:clamp(36px,10.5vw,43px)!important;
    line-height:1.01!important;
  }

  .aa-home-v41-hero-copy{
    font-size:15px!important;
    line-height:1.55!important;
    margin-top:18px!important;
  }

  .aa-home-v41-stats-inner{
    width:calc(100% - 24px)!important;
  }

  .aa-home-v41-feature-grid,
  .aa-home-v41-dest-grid,
  .aa-loisirs-v4-grid,
  .aa-gs-gallery-grid,
  .aa-act-gallery-grid,
  .aa-v35-gallery-grid{
    grid-template-columns:1fr!important;
  }

  .aa-home-v41-feature-card{
    aspect-ratio:4/5!important;
  }

  .aa-home-v41-dest-card{
    grid-template-columns:1fr!important;
  }

  .aa-home-v41-dest-card img{
    min-height:200px!important;
    height:200px!important;
  }

  .aa-home-v41-heading h2,
  .aa-loisirs-v4-h2,
  .aa-gs-section-title,
  .aa-act-section-title,
  .aa-v35-section-title{
    text-wrap:balance;
  }

  .aa-loisirs-v4-activities,
  .aa-gs-intro,
  .aa-gs-videos,
  .aa-gs-booking-wrap,
  .aa-gs-gallery,
  .aa-gs-outro,
  .aa-act-intro,
  .aa-act-feature,
  .aa-act-booking,
  .aa-act-external-booking,
  .aa-act-info,
  .aa-act-gallery,
  .aa-act-outro,
  .aa-v35-section,
  .aa-v35-feature,
  .aa-v35-gallery,
  .aa-v35-video-section{
    padding-left:18px!important;
    padding-right:18px!important;
  }

  .aa-gs-icons,
  .aa-act-icons,
  .aa-v35-icon-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }

  /* TikTok et autres embeds ne doivent pas élargir la page */
  .aa-gs-video-grid,
  .aa-v35-video-grid{
    margin-left:0!important;
    margin-right:0!important;
  }

  .aa-gs-video-grid > .wp-block-column,
  .aa-v35-video-grid > .wp-block-column{
    min-width:0!important;
    flex-basis:100%!important;
  }

  /* Footer : un peu plus d'air et lisibilité sur téléphone. */
  .site-primary-footer-wrap{
    padding-top:36px!important;
    padding-bottom:30px!important;
  }
  .site-primary-footer-wrap .ast-builder-grid-row{
    row-gap:28px!important;
  }
  .site-below-footer-wrap{
    padding-top:18px!important;
    padding-bottom:18px!important;
  }
}

/* Très petit mobile : boutons empilés, sans toucher au contenu. */
@media (max-width:420px){
  .aa-home-v41-hero-actions{
    flex-direction:column;
    align-items:center;
  }
  .aa-home-v41-hero-actions .aa-home-v41-btn{
    width:min(280px,100%);
  }

  .aa-gs-actions,
  .aa-act-actions,
  .aa-v35-actions{
    flex-direction:column!important;
    align-items:stretch!important;
  }
  .aa-gs-actions .wp-block-button,
  .aa-act-actions .wp-block-button,
  .aa-v35-actions .wp-block-button{
    width:100%!important;
  }
  .aa-gs-actions .wp-block-button__link,
  .aa-act-actions .wp-block-button__link,
  .aa-v35-actions .wp-block-button__link{
    width:100%!important;
    text-align:center!important;
  }
}

