/* =========================================================
   AXXESS — SECTIONS HOME
   CTA secondaires : contraste, cible tactile et cohérence.
   ========================================================= */

#top.home .axxess-bento-card .avia_textblock > p:last-child > a,
#top.home .axxess-proof-card > p:last-child > a,
#top.home a.axxess-cta-button,
#top.home .axxess-news-grid a.more-link {
  display: inline-flex !important;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 8px;
  padding: 0 18px !important;
  border: 1px solid #BDBE00 !important;
  border-radius: 999px;
  color: #231F20 !important;
  background: #BDBE00 !important;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: .015em;
  text-decoration: none !important;
  box-shadow: 0 9px 20px rgba(35,31,32,.10);
  transition: transform .2s var(--axxess-ease), background-color .2s ease, box-shadow .2s ease;
}

#top.home .axxess-bento-card .avia_textblock > p:last-child > a::after,
#top.home .axxess-proof-card > p:last-child > a::after,
#top.home a.axxess-cta-button::after,
#top.home .axxess-news-grid a.more-link::after {
  content: "→";
  font-size: 16px;
  line-height: 1;
}

#top.home .axxess-bento-card .avia_textblock > p:last-child > a:hover,
#top.home .axxess-bento-card .avia_textblock > p:last-child > a:focus-visible,
#top.home .axxess-proof-card > p:last-child > a:hover,
#top.home .axxess-proof-card > p:last-child > a:focus-visible,
#top.home a.axxess-cta-button:hover,
#top.home a.axxess-cta-button:focus-visible,
#top.home .axxess-news-grid a.more-link:hover,
#top.home .axxess-news-grid a.more-link:focus-visible {
  color: #231F20 !important;
  background: #C5C51B !important;
  box-shadow: 0 12px 26px rgba(35,31,32,.15);
  transform: translateY(-2px);
}

#top.home a.axxess-cta-button + a.axxess-cta-button {
  margin-left: 10px;
}

@media only screen and (max-width: 767px) {
  #top.home .axxess-bento-card .avia_textblock > p:last-child > a,
  #top.home .axxess-proof-card > p:last-child > a,
  #top.home a.axxess-cta-button,
  #top.home .axxess-news-grid a.more-link {
    min-height: 46px;
    padding: 0 16px !important;
  }

  #top.home a.axxess-cta-button + a.axxess-cta-button {
    margin-left: 0;
  }
}


/* =========================================================
   HOME — UNIVERS EN CARTES HOMOGÈNES
   Trois cartes par rangée, zones image et CTA alignés.
   ========================================================= */
#top.home .axxess-home-univers .entry-content-wrapper {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px !important;
}

#top.home .axxess-home-univers [class*="av-home-univers-intro-"] {
  grid-column: 1 / -1;
}

#top.home .axxess-home-univers .axxess-bento-card {
  display: flex !important;
  flex-direction: column;
  width: auto !important;
  grid-column: auto !important;
  grid-row: auto !important;
  min-height: 100%;
  margin: 0 !important;
  overflow: hidden;
  border: 1px solid #e5e4dc;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(35,31,32,.07);
}

#top.home .axxess-home-univers .axxess-bento-card__image,
#top.home .axxess-home-univers .axxess-bento-card__image .avia-image-container-inner,
#top.home .axxess-home-univers .axxess-bento-card__image .avia-image-overlay-wrap {
  display: block !important;
  width: 100% !important;
  height: clamp(230px, 19vw, 286px) !important;
  margin: 0 !important;
}

#top.home .axxess-home-univers .axxess-bento-card__image img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
  background: #F4F2EC;
}

#top.home .axxess-home-univers .axxess-bento-card .av_textblock_section {
  display: flex;
  flex: 1 1 auto;
  padding: 28px 28px 30px;
}

#top.home .axxess-home-univers .axxess-bento-card .avia_textblock {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}

#top.home .axxess-home-univers .axxess-bento-card .avia_textblock > p:last-child {
  margin-top: auto !important;
  padding-top: 18px;
}

@media only screen and (max-width: 989px) {
  #top.home .axxess-home-univers .entry-content-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px !important;
  }
}

@media only screen and (max-width: 767px) {
  #top.home .axxess-home-univers .entry-content-wrapper {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px !important;
  }

  #top.home .axxess-home-univers .axxess-bento-card__image,
  #top.home .axxess-home-univers .axxess-bento-card__image .avia-image-container-inner,
  #top.home .axxess-home-univers .axxess-bento-card__image .avia-image-overlay-wrap {
    height: 240px !important;
  }
}


/* ==========================================================================
   HOME — SECTIONS DE FINITION VALIDÉES
   Sélection, besoins, méthode, présence locale et témoignages
   ========================================================================== */

#top.home .axxess-home-selection,
#top.home .axxess-home-selection .av-section-color-overlay-wrap {
  background: #231F20 !important;
}

#top.home .axxess-home-selection .entry-content-wrapper {
  align-items: center !important;
}

#top.home .axxess-home-selection [class*="av-home-selection-copy-"] {
  align-self: center !important;
}

#top.home .axxess-home-selection h2 {
  max-width: 680px;
  color: #FFFFFF !important;
}

#top.home .axxess-home-selection .axxess-reading-lead,
#top.home .axxess-home-selection p:not(.axxess-section-eyebrow) {
  color: rgba(255,255,255,.88) !important;
}

#top.home .axxess-home-needs .entry-content-wrapper,
#top.home .axxess-home-method .entry-content-wrapper,
#top.home .axxess-home-reviews .entry-content-wrapper {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px !important;
  align-items: stretch;
}

#top.home .axxess-home-needs [class*="av-home-needs-intro-"],
#top.home .axxess-home-method [class*="av-home-method-intro-"],
#top.home .axxess-home-reviews [class*="av-home-reviews-intro-"],
#top.home .axxess-home-reviews [class*="av-home-reviews-link-"] {
  grid-column: 1 / -1;
  width: 100% !important;
  margin: 0 !important;
}

#top.home .axxess-home-needs [class*="av-home-need1-"],
#top.home .axxess-home-needs [class*="av-home-need2-"],
#top.home .axxess-home-needs [class*="av-home-need3-"],
#top.home .axxess-home-needs [class*="av-home-need4-"],
#top.home .axxess-home-method [class*="av-home-method1-"],
#top.home .axxess-home-method [class*="av-home-method2-"],
#top.home .axxess-home-method [class*="av-home-method3-"],
#top.home .axxess-home-method [class*="av-home-method4-"] {
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
}

#top.home .axxess-home-needs [class*="av-home-need"] .av_textblock_section,
#top.home .axxess-home-needs [class*="av-home-need"] .avia_textblock,
#top.home .axxess-home-method [class*="av-home-method"] .av_textblock_section,
#top.home .axxess-home-method [class*="av-home-method"] .avia_textblock {
  height: 100%;
}

#top.home .axxess-home-needs .axxess-proof-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 30px 28px;
  border: 1px solid #e4e2d9;
  border-radius: 22px;
  background: #FFFFFF;
  box-shadow: 0 18px 50px rgba(35,31,32,.07);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

#top.home .axxess-home-needs .axxess-proof-card:hover {
  transform: translateY(-4px);
  border-color: rgba(189,190,0,.55);
  box-shadow: 0 24px 60px rgba(35,31,32,.11);
}

#top.home .axxess-home-needs .axxess-proof-card h3 {
  min-height: 2.25em;
  margin-bottom: 16px;
}

#top.home .axxess-home-needs .axxess-proof-card > p:last-child {
  margin-top: auto !important;
  padding-top: 22px;
}

#top.home .axxess-home-method [class*="av-home-method1-"],
#top.home .axxess-home-method [class*="av-home-method2-"],
#top.home .axxess-home-method [class*="av-home-method3-"],
#top.home .axxess-home-method [class*="av-home-method4-"] {
  position: relative;
}

#top.home .axxess-home-method [class*="av-home-method1-"]::after,
#top.home .axxess-home-method [class*="av-home-method2-"]::after,
#top.home .axxess-home-method [class*="av-home-method3-"]::after {
  position: absolute;
  z-index: 2;
  top: 47px;
  right: -24px;
  width: 24px;
  height: 2px;
  content: "";
  background: #BDBE00;
}

#top.home .axxess-home-method .axxess-bento-card {
  min-height: 100%;
  padding: 30px 28px 32px;
  border: 1px solid #dfddd4;
  border-top: 4px solid #BDBE00;
  border-radius: 0 0 22px 22px;
  background: #FFFFFF;
  box-shadow: 0 16px 42px rgba(35,31,32,.06);
}

#top.home .axxess-home-method [class*="av-home-method1-"] .axxess-section-eyebrow,
#top.home .axxess-home-method [class*="av-home-method2-"] .axxess-section-eyebrow,
#top.home .axxess-home-method [class*="av-home-method3-"] .axxess-section-eyebrow,
#top.home .axxess-home-method [class*="av-home-method4-"] .axxess-section-eyebrow {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin: 0 0 24px !important;
  border-radius: 50%;
  background: #BDBE00;
  color: #231F20 !important;
  font-weight: 800;
}

#top.home .axxess-home-local .entry-content-wrapper {
  display: grid !important;
  grid-template-columns: minmax(0, 1.55fr) minmax(330px, .65fr);
  gap: 28px !important;
  align-items: stretch;
}

#top.home .axxess-home-local [class*="av-home-local-copy-"],
#top.home .axxess-home-local [class*="av-home-local-proof-"] {
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
}

#top.home .axxess-home-local [class*="av-home-local-copy-"] {
  padding: 42px 44px;
  border: 1px solid #e3e1d8;
  border-radius: 24px;
  background: #FFFFFF;
  box-shadow: 0 18px 52px rgba(35,31,32,.06);
}

#top.home .axxess-home-local [class*="av-home-local-copy-"] .avia_textblock > p:last-child {
  margin-top: 26px !important;
}

#top.home .axxess-home-local [class*="av-home-local-copy-"] .avia_textblock > p:last-child a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  padding: 13px 22px;
  border: 1px solid #BDBE00;
  border-radius: 999px;
  background: #BDBE00;
  color: #231F20 !important;
  font-weight: 800;
  text-decoration: none !important;
  transition: transform .2s ease, background-color .2s ease;
}

#top.home .axxess-home-local [class*="av-home-local-copy-"] .avia_textblock > p:last-child a:hover {
  transform: translateY(-2px);
  background: #C5C51B;
}

#top.home .axxess-home-local [class*="av-home-local-proof-"] .av_textblock_section,
#top.home .axxess-home-local [class*="av-home-local-proof-"] .avia_textblock,
#top.home .axxess-home-local [class*="av-home-local-proof-"] .axxess-proof-card {
  height: 100%;
}

#top.home .axxess-home-local [class*="av-home-local-proof-"] .axxess-proof-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: center;
  padding: 42px 36px;
  border-radius: 24px;
  background: #231F20;
  box-shadow: 0 22px 58px rgba(35,31,32,.18);
}

#top.home .axxess-home-local [class*="av-home-local-proof-"] h3,
#top.home .axxess-home-local [class*="av-home-local-proof-"] p,
#top.home .axxess-home-local [class*="av-home-local-proof-"] a {
  color: #FFFFFF !important;
}

#top.home .axxess-home-local [class*="av-home-local-proof-"] h3 {
  position: relative;
  margin-bottom: 24px;
  padding-top: 22px;
}

#top.home .axxess-home-local [class*="av-home-local-proof-"] h3::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 54px;
  height: 4px;
  content: "";
  border-radius: 999px;
  background: #BDBE00;
}

#top.home .axxess-home-reviews .entry-content-wrapper {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#top.home .axxess-home-reviews [class*="av-home-review1-"],
#top.home .axxess-home-reviews [class*="av-home-review2-"],
#top.home .axxess-home-reviews [class*="av-home-review3-"] {
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
}

#top.home .axxess-home-reviews [class*="av-home-review"] .av_textblock_section,
#top.home .axxess-home-reviews [class*="av-home-review"] .avia_textblock {
  height: 100%;
}

#top.home .axxess-home-reviews .axxess-proof-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 32px 30px;
  border: 1px solid #e3e1d8;
  border-radius: 22px;
  background: #FFFFFF;
  box-shadow: 0 18px 52px rgba(35,31,32,.07);
}

#top.home .axxess-home-reviews .axxess-proof-card > p:last-child {
  margin-top: auto !important;
  padding-top: 20px;
}

#top.home .axxess-home-reviews [class*="av-home-reviews-link-"] {
  padding-top: 8px;
  text-align: center;
}

#top.home .axxess-home-reviews [class*="av-home-reviews-link-"] a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  padding: 13px 22px;
  border: 1px solid #BDBE00;
  border-radius: 999px;
  background: #BDBE00;
  color: #231F20 !important;
  font-weight: 800;
  text-decoration: none !important;
}

@media only screen and (max-width: 1100px) {
  #top.home .axxess-home-needs .entry-content-wrapper,
  #top.home .axxess-home-method .entry-content-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #top.home .axxess-home-method [class*="av-home-method1-"]::after,
  #top.home .axxess-home-method [class*="av-home-method2-"]::after,
  #top.home .axxess-home-method [class*="av-home-method3-"]::after {
    display: none;
  }
}

@media only screen and (max-width: 989px) {
  #top.home .axxess-home-local .entry-content-wrapper {
    grid-template-columns: minmax(0, 1fr);
  }

  #top.home .axxess-home-reviews .entry-content-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media only screen and (max-width: 767px) {
  #top.home .axxess-home-needs .entry-content-wrapper,
  #top.home .axxess-home-method .entry-content-wrapper,
  #top.home .axxess-home-reviews .entry-content-wrapper {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px !important;
  }

  #top.home .axxess-home-needs .axxess-proof-card h3 {
    min-height: 0;
  }

  #top.home .axxess-home-local [class*="av-home-local-copy-"],
  #top.home .axxess-home-local [class*="av-home-local-proof-"] .axxess-proof-card {
    padding: 28px 24px;
  }
}


/* Finition structurelle : neutralise les éléments de clearfix Enfold dans les grilles */
#top.home .axxess-home-univers .entry-content-wrapper::before,
#top.home .axxess-home-univers .entry-content-wrapper::after,
#top.home .axxess-home-univers .entry-content-wrapper > br,
#top.home .axxess-home-needs .entry-content-wrapper::before,
#top.home .axxess-home-needs .entry-content-wrapper::after,
#top.home .axxess-home-needs .entry-content-wrapper > br,
#top.home .axxess-home-method .entry-content-wrapper::before,
#top.home .axxess-home-method .entry-content-wrapper::after,
#top.home .axxess-home-method .entry-content-wrapper > br,
#top.home .axxess-home-local .entry-content-wrapper::before,
#top.home .axxess-home-local .entry-content-wrapper::after,
#top.home .axxess-home-local .entry-content-wrapper > br,
#top.home .axxess-home-reviews .entry-content-wrapper::before,
#top.home .axxess-home-reviews .entry-content-wrapper::after,
#top.home .axxess-home-reviews .entry-content-wrapper > br {
  display: none !important;
}

#top.home .axxess-home-reviews .axxess-bento-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 32px 30px;
  border: 1px solid #e3e1d8;
  border-radius: 22px;
  background: #FFFFFF;
  box-shadow: 0 18px 52px rgba(35,31,32,.07);
}

#top.home .axxess-home-reviews .axxess-bento-card > p:last-child {
  margin-top: auto !important;
  padding-top: 20px;
}
