/* =========================================================
   AXXESS FERMETURES
   CTA GLOBAL AVANT FOOTER
   VERSION VALIDATION
   ========================================================= */


/* =========================================================
   1. SECTION PRINCIPALE
   ========================================================= */

#top .axxess-global-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  width: 100%;
  margin: 0 0 -1px;
  padding: 0;

  color: var(--axxess-black, #231F20);
  background: var(--axxess-green, #BDBE00);

  border: 0;
}


/*
 * Décor de fond :
 * suppression du quadrillage au profit d’une forme douce.
 */

#top .axxess-global-cta::before {
  content: "";

  position: absolute;
  top: -310px;
  right: -250px;
  z-index: -2;

  width: 760px;
  height: 760px;

  border: 105px solid rgba(35, 31, 32, .065);
  border-radius: 50%;

  pointer-events: none;
}


/*
 * Halo discret derrière la carte de contact.
 */

#top .axxess-global-cta::after {
  content: "";

  position: absolute;
  right: 4%;
  bottom: -260px;
  z-index: -1;

  width: 650px;
  height: 450px;

  background:
    radial-gradient(
      circle,
      rgba(35, 31, 32, .14) 0%,
      rgba(35, 31, 32, .055) 44%,
      rgba(35, 31, 32, 0) 72%
    );

  pointer-events: none;
}


/* =========================================================
   2. CONTENEUR
   ========================================================= */

#top .axxess-global-cta__frame {
  display: grid;
  grid-template-columns:
    minmax(0, 1.25fr)
    minmax(400px, .75fr);
  align-items: center;
  gap: clamp(55px, 6vw, 105px);

  width: min(
    calc(100% - 64px),
    var(--axxess-wide, 1480px)
  );

  max-width: var(--axxess-wide, 1480px);

  margin: 0 auto;
  padding: 105px 0 120px;
}


/* =========================================================
   3. PARTIE ÉDITORIALE
   ========================================================= */

#top .axxess-global-cta__copy {
  position: relative;
  z-index: 2;

  min-width: 0;
}


/* Surtitre de réassurance */

#top .axxess-global-cta__eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;

  margin: 0 0 29px;
  padding: 0;

  color: var(--axxess-black, #231F20);

  font-family: "Montserrat", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .13em;
  text-transform: uppercase;
}


#top .axxess-global-cta__eyebrow span {
  display: block;
  flex: 0 0 11px;

  width: 11px;
  height: 11px;

  background: var(--axxess-black, #231F20);
}


/* Accroche principale */

#top .axxess-global-cta__title {
  max-width: 900px;

  margin: 0;
  padding: 0;

  color: var(--axxess-black, #231F20);

  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(54px, 5.35vw, 86px);
  font-weight: 700;
  line-height: .96;
  letter-spacing: -.06em;

  text-transform: none;
}


/* Texte d’accompagnement */

#top .axxess-global-cta__lead {
  position: relative;

  max-width: 680px;

  margin: 36px 0 0;
  padding: 0 0 0 31px;

  color: rgba(35, 31, 32, .84);

  font-family: "Open Sans", Arial, sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.55;
}


#top .axxess-global-cta__lead::before {
  content: "";

  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;

  width: 6px;

  background: var(--axxess-black, #231F20);
}


/* =========================================================
   4. CARTE DE CONTACT
   ========================================================= */

#top .axxess-global-cta__card {
  position: relative;
  z-index: 3;

  min-width: 0;
  padding: 43px 42px 35px;

  overflow: hidden;

  color: #FFFFFF;
  background: #151513;

  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 18px;

  box-shadow:
    0 34px 78px rgba(35, 31, 32, .30),
    0 12px 28px rgba(35, 31, 32, .18);

  transform: translateY(24px);
}


/* Numéro de département en filigrane */

#top .axxess-global-cta__card::before {
  content: "04";

  position: absolute;
  top: -31px;
  right: -12px;
  z-index: 0;

  color: rgba(255, 255, 255, .055);

  font-family: "Montserrat", Arial, sans-serif;
  font-size: 170px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.09em;

  pointer-events: none;
}


/* Signature graphique Axxess */

#top .axxess-global-cta__card::after {
  content: "";

  position: absolute;
  top: 23px;
  right: 23px;
  z-index: 2;

  width: 32px;
  height: 32px;

  border-top: 4px solid var(--axxess-green, #BDBE00);
  border-right: 4px solid var(--axxess-green, #BDBE00);

  pointer-events: none;
}


#top .axxess-global-cta__card > * {
  position: relative;
  z-index: 1;
}


/* Libellé de la carte */

#top .axxess-global-cta__card-label {
  margin: 0 0 14px;
  padding: 0;

  color: var(--axxess-green, #BDBE00);

  font-family: "Montserrat", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .14em;
  text-transform: uppercase;
}


/* Numéro de téléphone */

#top .axxess-global-cta__phone {
  display: inline-block;

  margin: 0;
  padding: 0;

  color: #FFFFFF !important;

  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(35px, 3.1vw, 50px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.055em;
  text-decoration: none !important;

  transition:
    color .2s ease,
    transform .2s ease;
}


#top .axxess-global-cta__phone:hover,
#top .axxess-global-cta__phone:focus-visible {
  color: var(--axxess-green, #BDBE00) !important;
  transform: translateX(3px);
}


/* Texte de contact */

#top .axxess-global-cta__card-text {
  max-width: 420px;

  margin: 24px 0 0;
  padding: 0;

  color: rgba(255, 255, 255, .74);

  font-family: "Open Sans", Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.58;
}


/* =========================================================
   5. ACTIONS
   ========================================================= */

#top .axxess-global-cta__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;

  margin-top: 30px;
}


#top .axxess-global-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 13px;

  min-height: 53px;
  padding: 0 18px;

  border: 1px solid transparent;
  border-radius: 7px;

  font-family: "Montserrat", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;

  transition:
    color .2s ease,
    background-color .2s ease,
    border-color .2s ease,
    transform .2s ease;
}


#top .axxess-global-cta__button::after {
  content: "→";

  flex: 0 0 auto;

  font-size: 18px;
  font-weight: 400;
  line-height: 1;
}


/* Bouton principal */

#top .axxess-global-cta__button--primary {
  color: var(--axxess-black, #231F20) !important;
  background: #FFFFFF;
  border-color: #FFFFFF;
}


#top .axxess-global-cta__button--primary:hover,
#top .axxess-global-cta__button--primary:focus-visible {
  color: var(--axxess-black, #231F20) !important;
  background: var(--axxess-green, #BDBE00);
  border-color: var(--axxess-green, #BDBE00);

  transform: translateY(-2px);
}


/* Bouton secondaire */

#top .axxess-global-cta__button--secondary {
  color: #FFFFFF !important;
  background: transparent;
  border-color: rgba(255, 255, 255, .34);
}


#top .axxess-global-cta__button--secondary:hover,
#top .axxess-global-cta__button--secondary:focus-visible {
  color: var(--axxess-black, #231F20) !important;
  background: var(--axxess-green, #BDBE00);
  border-color: var(--axxess-green, #BDBE00);

  transform: translateY(-2px);
}


/* =========================================================
   6. PREUVES
   ========================================================= */

#top .axxess-global-cta__proofs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 20px;

  margin-top: 29px;
  padding-top: 20px;

  border-top: 1px solid rgba(255, 255, 255, .13);
}


#top .axxess-global-cta__proofs span {
  position: relative;

  padding-left: 13px;

  color: rgba(255, 255, 255, .64);

  font-family: "Open Sans", Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}


#top .axxess-global-cta__proofs span::before {
  content: "";

  position: absolute;
  top: .5em;
  left: 0;

  width: 5px;
  height: 5px;

  border-radius: 50%;
  background: var(--axxess-green, #BDBE00);
}


/* =========================================================
   7. TABLETTE LARGE
   ========================================================= */

@media only screen and (max-width: 1100px) {

  #top .axxess-global-cta__frame {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(370px, .78fr);

    gap: 45px;
  }


  #top .axxess-global-cta__title {
    font-size: clamp(48px, 5.7vw, 67px);
  }


  #top .axxess-global-cta__card {
    padding-right: 32px;
    padding-left: 32px;
  }


  #top .axxess-global-cta__actions {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   8. TABLETTE
   ========================================================= */

@media only screen and (max-width: 989px) {

  #top .axxess-global-cta::before {
    top: -290px;
    right: -320px;

    width: 690px;
    height: 690px;

    border-width: 90px;
  }


  #top .axxess-global-cta__frame {
    grid-template-columns: 1fr;
    gap: 53px;

    width: calc(100% - 48px);
    padding: 85px 0 92px;
  }


  #top .axxess-global-cta__copy {
    max-width: 850px;
  }


  #top .axxess-global-cta__title {
    font-size: clamp(51px, 8vw, 74px);
  }


  #top .axxess-global-cta__card {
    width: 100%;
    max-width: 690px;

    transform: none;
  }


  #top .axxess-global-cta__actions {
    grid-template-columns: 1fr 1fr;
  }
}


/* =========================================================
   9. MOBILE
   ========================================================= */

@media only screen and (max-width: 767px) {

  #top .axxess-global-cta::before {
    top: -180px;
    right: -230px;

    width: 470px;
    height: 470px;

    border-width: 65px;
  }


  #top .axxess-global-cta::after {
    right: -40%;
    bottom: -220px;

    width: 520px;
  }


  #top .axxess-global-cta__frame {
    gap: 43px;

    width: calc(100% - 36px);
    padding: 67px 0 72px;
  }


  #top .axxess-global-cta__eyebrow {
    align-items: flex-start;

    margin-bottom: 23px;

    font-size: 10px;
    line-height: 1.5;
    letter-spacing: .09em;
  }


  #top .axxess-global-cta__eyebrow span {
    margin-top: 2px;

    width: 9px;
    height: 9px;
    flex-basis: 9px;
  }


  #top .axxess-global-cta__title {
    font-size: clamp(42px, 12vw, 59px);
    line-height: .98;
    letter-spacing: -.055em;
  }


  #top .axxess-global-cta__lead {
    margin-top: 27px;
    padding-left: 22px;

    font-size: 16px;
    line-height: 1.5;
  }


  #top .axxess-global-cta__lead::before {
    width: 4px;
  }


  #top .axxess-global-cta__card {
    padding: 34px 27px 28px;

    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 13px;

    box-shadow:
      0 25px 58px rgba(35, 31, 32, .28),
      0 9px 22px rgba(35, 31, 32, .17);
  }


  #top .axxess-global-cta__card::before {
    top: -16px;

    font-size: 125px;
  }


  #top .axxess-global-cta__card::after {
    top: 18px;
    right: 18px;

    width: 25px;
    height: 25px;

    border-top-width: 3px;
    border-right-width: 3px;
  }


  #top .axxess-global-cta__phone {
    font-size: clamp(32px, 9.4vw, 43px);
  }


  #top .axxess-global-cta__actions {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   10. PETIT MOBILE
   ========================================================= */

@media only screen and (max-width: 420px) {

  #top .axxess-global-cta__frame {
    width: calc(100% - 28px);
  }


  #top .axxess-global-cta__title {
    font-size: 39px;
  }


  #top .axxess-global-cta__card {
    padding: 31px 21px 25px;
  }


  #top .axxess-global-cta__phone {
    font-size: 31px;
    letter-spacing: -.045em;
  }


  #top .axxess-global-cta__button {
    min-height: 51px;
    padding: 0 15px;
  }
}

/* =========================================================
   AXXESS FERMETURES
   HERO UNIVERSEL DES PAGES INTÉRIEURES
   Version complète — marge basse réduite
   ========================================================= */

/* =========================================================
   1. SECTION GÉNÉRALE
   ========================================================= */

#top .axxess-subhero {
  position: relative;
  overflow: hidden;
  border: 0 !important;
  border-bottom: 1px solid #E7E7E1 !important;
  background: #FFFFFF !important;
}

#top .axxess-subhero .av-section-color-overlay-wrap,
#top .axxess-subhero .container,
#top .axxess-subhero .content,
#top .axxess-subhero .post-entry,
#top .axxess-subhero .entry-content-wrapper,
#top .axxess-subhero .flex_column {
  height: auto !important;
  min-height: 0 !important;
}

#top .axxess-subhero .container {
  width: min(calc(100% - 64px), 1480px) !important;
  max-width: 1480px !important;
  margin: 0 auto !important;
  padding: 42px 0 18px !important;
  box-sizing: border-box;
}

#top .axxess-subhero .content {
  padding: 0 !important;
}

/* =========================================================
   2. STRUCTURE DES DEUX COLONNES
   ========================================================= */

#top .axxess-subhero .entry-content-wrapper {
  display: grid !important;
  grid-template-columns:
    minmax(0, 1.02fr)
    minmax(480px, 0.98fr) !important;
  align-items: center !important;
  gap: clamp(48px, 5.5vw, 90px) !important;
}

#top .axxess-subhero .entry-content-wrapper > .flex_column {
  float: none !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
}

/* Texte toujours à gauche */

#top .axxess-subhero .entry-content-wrapper > .axxess-subhero-copy {
  grid-column: 1 !important;
  grid-row: 1 !important;
  align-self: center !important;
}

/* Image toujours à droite */

#top .axxess-subhero .entry-content-wrapper > .axxess-subhero-visual {
  grid-column: 2 !important;
  grid-row: 1 !important;
  align-self: center !important;
}

/* Éléments techniques ajoutés par Enfold */

#top .axxess-subhero .entry-content-wrapper > .clear,
#top .axxess-subhero .entry-content-wrapper > .clearfix,
#top .axxess-subhero .entry-content-wrapper > .av-clear,
#top .axxess-subhero .entry-content-wrapper > .av-break-at-tablet,
#top .axxess-subhero .entry-content-wrapper > br {
  display: none !important;
}

/* =========================================================
   3. COLONNE TEXTE
   ========================================================= */

#top .axxess-subhero-copy {
  padding: 0 !important;
}

#top .axxess-subhero-text {
  width: 100%;
  max-width: 680px;
  margin: 0 !important;
}

/* Repère supérieur */

#top .axxess-subhero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 17px !important;
  color: #231F20 !important;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

#top .axxess-subhero-eyebrow::before {
  display: block;
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #BDBE00;
  content: "";
}

/* Titre principal */

#top .axxess-subhero h1 {
  width: 100%;
  max-width: 680px;
  margin: 0 !important;
  padding: 0 !important;
  color: #231F20 !important;
  font-size: clamp(45px, 4vw, 62px);
  font-weight: 750;
  line-height: 1.01;
  letter-spacing: -0.047em;
  text-transform: none !important;
}

/* Introduction */

#top .axxess-subhero-intro {
  width: 100%;
  max-width: 630px;
  margin: 20px 0 0 !important;
  color: #545050 !important;
  font-size: 17px;
  line-height: 1.58;
}

/* =========================================================
   4. BOUTONS
   ========================================================= */

#top .axxess-subhero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 25px;
}

#top .axxess-subhero-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 21px;
  border: 1px solid transparent;
  border-radius: 8px;
  box-sizing: border-box;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
  transition:
    transform 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
}

#top .axxess-subhero-button:hover {
  transform: translateY(-2px);
}

/* Bouton principal */

#top .axxess-subhero-button-primary {
  border-color: #BDBE00;
  background: #BDBE00;
  color: #231F20 !important;
}

#top .axxess-subhero-button-primary:hover {
  border-color: #231F20;
  background: #231F20;
  color: #FFFFFF !important;
}

/* Bouton secondaire */

#top .axxess-subhero-button-secondary {
  border-color: #231F20;
  background: transparent;
  color: #231F20 !important;
}

#top .axxess-subhero-button-secondary:hover {
  border-color: #231F20;
  background: #231F20;
  color: #FFFFFF !important;
}

/* =========================================================
   5. COLONNE IMAGE
   ========================================================= */

#top .axxess-subhero-visual {
  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  overflow: visible;
  padding: 0 !important;
}

/* Neutralisation des anciennes décorations */

#top .axxess-subhero-visual::before,
#top .axxess-subhero-visual::after {
  display: none !important;
  content: none !important;
}

/* Conteneur du visuel */

#top .axxess-subhero-media {
  position: relative;
  z-index: 1;
  display: block;
  width: 100% !important;
  max-width: 550px !important;
  margin: 0 0 0 auto !important;
  isolation: isolate;
  overflow: visible;
}

/* Aplat greige derrière l’image */

#top .axxess-subhero-media::before {
  position: absolute;
  z-index: -2;
  top: 18px;
  right: -18px;
  bottom: -18px;
  left: 18px;
  border-radius: 4px;
  background: #F4F4EE;
  content: "";
}

/* Accent vert Axxess */

#top .axxess-subhero-media::after {
  position: absolute;
  z-index: -1;
  top: 36px;
  right: -27px;
  width: 9px;
  height: 92px;
  border-radius: 0 3px 3px 0;
  background: #BDBE00;
  content: "";
}

#top .axxess-subhero-media .avia-image-container-inner,
#top .axxess-subhero-media .avia_image {
  position: relative;
  z-index: 2;
  display: block;
  width: 100% !important;
  max-width: none !important;
}

#top .axxess-subhero-media img {
  display: block;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 3px;
  object-fit: contain;
  box-shadow: 0 20px 48px rgba(35, 31, 32, 0.14);
}

/* Suppression de l’ancien cartouche */

#top .axxess-subhero-signature {
  display: none !important;
}

/* =========================================================
   6. TABLETTE
   ========================================================= */

@media only screen and (max-width: 989px) {

  #top .axxess-subhero .container {
    width: min(calc(100% - 48px), 760px) !important;
    padding: 38px 0 18px !important;
  }

  #top .axxess-subhero .entry-content-wrapper {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 34px !important;
  }

  #top .axxess-subhero .entry-content-wrapper > .axxess-subhero-copy {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  #top .axxess-subhero .entry-content-wrapper > .axxess-subhero-visual {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }

  #top .axxess-subhero-text {
    max-width: 720px;
  }

  #top .axxess-subhero h1 {
    max-width: 700px;
    font-size: clamp(44px, 7vw, 58px);
  }

  #top .axxess-subhero-visual {
    justify-content: flex-start;
  }

  #top .axxess-subhero-media {
    width: calc(100% - 20px) !important;
    max-width: 560px !important;
    margin: 0 !important;
  }

  #top .axxess-subhero-media::before {
    top: 15px;
    right: -15px;
    bottom: -15px;
    left: 15px;
  }

  #top .axxess-subhero-media::after {
    top: 32px;
    right: -23px;
    width: 8px;
    height: 82px;
  }
}

/* =========================================================
   7. MOBILE
   ========================================================= */

@media only screen and (max-width: 767px) {

  #top .axxess-subhero .container {
    width: calc(100% - 36px) !important;
    padding: 28px 0 16px !important;
  }

  #top .axxess-subhero .entry-content-wrapper {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 27px !important;
  }

  #top .axxess-subhero .entry-content-wrapper > .axxess-subhero-copy {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  #top .axxess-subhero .entry-content-wrapper > .axxess-subhero-visual {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }

  #top .axxess-subhero-eyebrow {
    gap: 8px;
    margin-bottom: 14px !important;
    font-size: 10px;
    letter-spacing: 0.09em;
  }

  #top .axxess-subhero-eyebrow::before {
    width: 7px;
    height: 7px;
  }

  #top .axxess-subhero h1 {
    font-size: clamp(38px, 11.2vw, 49px);
    line-height: 1.02;
  }

  #top .axxess-subhero-intro {
    margin-top: 17px !important;
    font-size: 16px;
    line-height: 1.52;
  }

  #top .axxess-subhero-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin-top: 22px;
  }

  #top .axxess-subhero-button {
    width: 100%;
  }

  #top .axxess-subhero-media {
    width: calc(100% - 12px) !important;
    max-width: none !important;
    margin: 0 !important;
  }

  #top .axxess-subhero-media::before {
    top: 10px;
    right: -10px;
    bottom: -10px;
    left: 10px;
  }

  #top .axxess-subhero-media::after {
    top: 24px;
    right: -16px;
    width: 6px;
    height: 62px;
  }

  #top .axxess-subhero-media img {
    box-shadow: 0 15px 34px rgba(35, 31, 32, 0.13);
  }
}