/*
 Theme Name:   Amtheus
 Theme URI:    https://amtheus.enjin-dev.fr/
 Description:  Thème enfant Bricks pour Amtheus
 Author:       Enjin
 Author URI:   https://enjin.fr/
 Template:     bricks
 Version:      1.4.0
 Text Domain:  amtheus
*/

/**
 * Amtheus — styles thème enfant
 * (ex-cssCustom Bricks + styles globaux boutons/GF)
 */

/* 15004/ambar0 */
/* Barre bleue header — responsive */
@media (max-width: 991px) {
  #am-bar-links .brxe-text-link .text { display: none !important; }
  #am-bar-links .brxe-text-link { font-size: 0 !important; line-height: 1 !important; }
  #am-bar-links .brxe-text-link .icon,
  #am-bar-links .brxe-text-link .icon i { font-size: 16px !important; line-height: 1 !important; }
}
@media (max-width: 500px) {
  #am-bar { padding-top: 5px !important; padding-bottom: 5px !important; }
  #am-bar > .brxe-container {
    flex-direction: column !important;
    align-items: flex-end !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    gap: 4px !important;
    row-gap: 4px !important;
  }
  #am-bar-address {
    order: 1 !important;
    margin-left: auto !important;
    justify-content: flex-end !important;
    line-height: 1.15 !important;
  }
  #am-bar-address, #am-bar-address .brxe-text-basic, #am-bar-address p {
    line-height: 1.15 !important;
    text-align: right !important;
  }
  #am-bar-links {
    order: 2 !important;
    margin-left: auto !important;
    justify-content: flex-end !important;
    gap: 12px !important;
    line-height: 1 !important;
  }
}

/* 14627/d10jop — point de rupture 768px (hors Bricks) */
@media (max-width: 768px) {
  #brxe-d10jop { grid-template-columns: 1fr !important; }
  #am-home-news-actions, #am-home-news-fb { grid-column: auto; }
}

/* 14627/hmfbco — intérieur de l'embed Facebook */
#am-home-news-fb-embed,
#am-home-news-fb .am-fb-embed-inner {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden !important;
  box-sizing: border-box;
}
#am-home-news-fb iframe {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: 500px !important;
  border: 0 !important;
  background: transparent !important;
}

/* 15682/6yqyfy */
#am-single-blog-hero {
  background: #00355c;
}

/* 15682/631hf2 */
#am-single-blog-title {
  margin: 0;
}

/* 15682/b1xxnx */
#am-single-blog-image {
  object-fit: cover;
}

/* 15682/w0gc6f */
#am-single-blog-content {
  background: #ffffff;
}

/* 15682/uv3grs */
#am-single-blog-layout {
  gap: 48px;
}
#am-single-blog-layout > #am-single-blog-main {
  flex: 1 1 auto;
  min-width: 0;
}
#am-single-blog-sidebar {
  flex: 0 0 320px;
}
@media (max-width: 991px) {
  #am-single-blog-layout {
    flex-direction: column;
  }
  #am-single-blog-sidebar {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
  }
}

/* 15682/sbmain */
#am-single-blog-main {
  gap: 28px;
}

/* 15682/qcsvix */
#am-single-blog-actions {
  width: 100%;
  display: flex !important;
  justify-content: center !important;
}

/* 15682/ae1ec3 */
#am-single-blog-back {
  background: #00355c;
  margin-left: auto;
  margin-right: auto;
}
#am-single-blog-back:hover {
  background: #ffffff;
}

/* 15682/sbside */
#am-single-blog-sidebar {
  gap: 20px;
  height: 100%;
  align-self: stretch;
  display: flex;
  flex-direction: column;
}
#am-single-blog-actions {
  margin-top: auto;
  width: 100%;
  display: flex !important;
  justify-content: center !important;
}

/* 15682/sblist */
#am-single-blog-side-list {
  gap: 20px;
}

/* 15682/sbcard */
#brxe-sbcard {
  gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0, 53, 92, 0.12);
}
#brxe-sbcard:last-child {
  border-bottom: none;
  padding-bottom: 0;
}



.am-form_wrapper.gform-theme,
.am-form.gform-theme {
  --gf-form-gap-y: 16px;
  --gf-form-gap-x: 16px;
  --gf-field-gap-y: 6px;
  --gf-label-space-primary: 6px;
  --gf-ctrl-label-font-family-primary: "Dosis", sans-serif;
  --gf-ctrl-label-font-family-secondary: "Dosis", sans-serif;
  --gf-ctrl-label-font-family-tertiary: "Dosis", sans-serif;
  --gf-ctrl-label-font-family-quaternary: "Dosis", sans-serif;
  --gf-ctrl-label-font-weight-primary: 600;
  --gf-ctrl-label-font-weight-secondary: 600;
  --gf-ctrl-label-font-weight-tertiary: 600;
  --gf-ctrl-label-font-weight-quaternary: 600;
  --gf-ctrl-label-font-size-primary: 14px;
  --gf-ctrl-label-font-size-secondary: 14px;
  --gf-ctrl-label-font-size-tertiary: 14px;
  --gf-ctrl-label-font-size-quaternary: 14px;
  --gf-ctrl-label-color-primary: #00355c;
  --gf-ctrl-label-color-secondary: #00355c;
  --gf-ctrl-label-color-tertiary: #00355c;
  --gf-ctrl-label-color-quaternary: #00355c;
  --gf-color-primary: #00355c;
  --gf-color-primary-rgb: 0, 53, 92;
  --gf-color-primary-darker: #002844;
  --gf-color-primary-lighter: #145dc7;
  --gf-color-in-ctrl-primary: #00355c;
  --gf-color-in-ctrl-primary-rgb: 0, 53, 92;
  --gf-radius: 0;
}
.am-form_wrapper .gform_fields,
.am-form .gform_fields {
  row-gap: 16px !important;
  column-gap: 16px !important;
}
.am-form_wrapper .gform-field-label,
.am-form_wrapper .gfield_label,
.am-form_wrapper .gform-field-label__text,
.am-form_wrapper label.gfield_label,
.am-form_wrapper .ginput_complex label,
.am-form .gform-field-label,
.am-form .gfield_label,
.am-form .gform-field-label__text,
.am-form label.gfield_label,
.am-form .ginput_complex label {
  font-family: "Dosis", sans-serif !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  line-height: 1.3 !important;
  color: #00355c !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
.am-form_wrapper .gfield_required,
.am-form_wrapper .gfield_required_asterisk,
.am-form .gfield_required,
.am-form .gfield_required_asterisk {
  color: #00355c !important;
  font-weight: 600 !important;
}
.am-form_wrapper .gform_heading,
.am-form .gform_heading { margin: 0 0 8px; }
.am-form_wrapper .gform_required_legend,
.am-form .gform_required_legend {
  margin: 0 0 20px !important;
  font-family: "Dosis", sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  color: #585e6a !important;
}

/* Submit = bouton bleu site + même hover */
.am-form_wrapper .gform_button,
.am-form_wrapper .gform_footer .button,
.am-form_wrapper input[type="submit"].gform_button,
.am-form_wrapper button.gform_button,
.am-form .gform_button,
.am-form .gform_footer .button,
.am-form input[type="submit"].gform_button,
.am-form button.gform_button,
#gform_submit_button_2,
#gform_submit_button_3 {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: Dosis, sans-serif !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  line-height: 1 !important;
  color: #ffffff !important;
  background: #00355c !important;
  background-color: #00355c !important;
  border: 1px solid #00355c !important;
  border-radius: 0 !important;
  padding: 14px 28px !important;
  box-shadow: none !important;
  cursor: pointer !important;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease !important;
}
.am-form_wrapper .gform_button:hover,
.am-form_wrapper .gform_footer .button:hover,
.am-form_wrapper input[type="submit"].gform_button:hover,
.am-form_wrapper button.gform_button:hover,
.am-form .gform_button:hover,
.am-form .gform_footer .button:hover,
.am-form input[type="submit"].gform_button:hover,
.am-form button.gform_button:hover,
#gform_submit_button_2:hover,
#gform_submit_button_3:hover,
.am-form_wrapper .gform_button:focus,
.am-form .gform_button:focus,
#gform_submit_button_2:focus,
#gform_submit_button_3:focus {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #00355c !important;
  border-color: #00355c !important;
}

.bricks-button,
a.bricks-button,
button.bricks-button,
.brxe-button {
  font-family: Dosis, sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  line-height: 1 !important;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease !important;
}
.bricks-button:not(.am-util-btn):not(.am-util-btn--newsletter):not(.am-util-btn--recrutement):not(.am-util-btn--contact),
a.bricks-button:not(.am-util-btn):not(.am-util-btn--newsletter):not(.am-util-btn--recrutement):not(.am-util-btn--contact),
.brxe-button:not(.am-util-btn):not(.am-util-btn--newsletter):not(.am-util-btn--recrutement):not(.am-util-btn--contact) {
  padding: 14px 28px !important;
  font-size: 15px !important;
}
@media (max-width: 767px) {
  .bricks-button:not(.am-util-btn):not(.am-util-btn--newsletter):not(.am-util-btn--recrutement):not(.am-util-btn--contact),
  a.bricks-button:not(.am-util-btn):not(.am-util-btn--newsletter):not(.am-util-btn--recrutement):not(.am-util-btn--contact),
  .brxe-button:not(.am-util-btn):not(.am-util-btn--newsletter):not(.am-util-btn--recrutement):not(.am-util-btn--contact) {
    padding: 12px 20px !important;
    font-size: 14px !important;
  }
}

/* Bleu */
.am-btn-blue,
.bricks-button.bricks-background-primary,
a.bricks-button.bricks-background-primary,
.brxe-button.bricks-background-primary {
  background: #00355c !important;
  background-color: #00355c !important;
  color: #ffffff !important;
  border: 1px solid #00355c !important;
}
.am-btn-blue:hover,
.bricks-button.bricks-background-primary:hover,
a.bricks-button.bricks-background-primary:hover,
.brxe-button.bricks-background-primary:hover {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #00355c !important;
  border-color: #00355c !important;
}

/* Magenta */
.am-btn-magenta,
#palet-cta-btn {
  background: #f02361 !important;
  background-color: #f02361 !important;
  color: #ffffff !important;
  border: 1px solid #f02361 !important;
}
.am-btn-magenta:hover,
#palet-cta-btn:hover {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #f02361 !important;
  border-color: #f02361 !important;
}

/* Transparent / ghost */
.am-btn-ghost {
  background: transparent !important;
  background-color: transparent !important;
  color: #00355c !important;
  border: 1px solid #00355c !important;
}
.am-btn-ghost:hover {
  background: #00355c !important;
  background-color: #00355c !important;
  color: #ffffff !important;
  border-color: #00355c !important;
}

/* Liens suite / offre */
.am-link-suite,
a.am-link-suite,
a.brxe-text-link.am-link-suite,
#brxe-3vmdac,
#brxe-m3jsfn,
#brxe-s6qhvh,
#brxe-w5897f {
  color: #00355c !important;
  font-family: Dosis, sans-serif !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  transition: color .25s ease !important;
}
.am-link-suite:hover,
a.am-link-suite:hover,
a.brxe-text-link.am-link-suite:hover,
#brxe-3vmdac:hover,
#brxe-m3jsfn:hover,
#brxe-s6qhvh:hover,
#brxe-w5897f:hover {
  color: #f02361 !important;
}

#brxe-offwrp {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}
#brxe-btnrow {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Cartes actus / offres : lien toujours en bas */
.am-card-grid {
  align-items: stretch !important;
}
.am-card-unit {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}
.am-card-unit > .am-link-suite,
.am-card-unit > a.am-link-suite,
.am-card-unit > .brxe-text-link.am-link-suite,
#brxe-ekcknx > #brxe-w5897f,
#brxe-79o1cn > #brxe-3vmdac,
#brxe-anews1 > #brxe-m3jsfn,
#brxe-anews1 > #brxe-s6qhvh {
  margin-top: auto !important;
  padding-top: 16px !important;
}


/* Archive recrutement — 3 colonnes flex (wrap → 2 → 1) */
#brxe-6ud5gt {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: stretch !important;
  gap: 28px !important;
}
#brxe-6ud5gt > .brxe-ekcknx,
#brxe-6ud5gt > .brxe-block,
#brxe-6ud5gt > .am-card-unit {
  flex: 1 1 calc(33.333% - 19px) !important;
  min-width: min(100%, 300px) !important;
  max-width: 100% !important;
  margin-bottom: 0 !important;
  box-sizing: border-box;
}

/* ==========================================================================
   Amtheus — Responsive site-wide (menu #am-nav exclu)
   ========================================================================== */

html { overflow-x: clip; }
body { overflow-x: clip; }

img,
iframe,
svg {
  max-width: 100%;
  height: auto;
}

/* Hero vidéo : cover plein cadre (hauteurs 520/420 en natif Bricks) */
#am-home-hero .bricks-background-video-wrapper {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  overflow: hidden !important;
}
#am-home-hero .bricks-background-video-wrapper video {
  max-width: none !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  transform: none !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
}

@media (max-width: 768px) {
  #am-home-hero { height: 340px !important; }
}

@media (max-width: 500px) {
  #am-home-hero { height: 260px !important; }
}

/*
 * Conteneurs : largeur fluide, plafond 1400px (jamais width:1400px fixe).
 * Les IDs Bricks en width:1400px/900px/800px sont ramenés au même modèle.
 */
.brxe-section > .brxe-container,
.brxe-container,
#brxe-41czb4,
#brxe-cscon1,
#brxe-755fia,
#brxe-54pfkl,
#brxe-fkora0,
#brxe-dda862,
#brxe-9wrd4v,
#am-single-blog-hero-inner,
#am-single-blog-layout {
  width: 100% !important;
  max-width: 1400px !important;
  box-sizing: border-box;
}

/* Médias Palet : garder le ratio, pas une hauteur fixe 600px */
#brxe-fkora0,
#brxe-dda862,
#brxe-9wrd4v {
  height: auto !important;
  aspect-ratio: 4 / 3;
}

/* Cartes recrutement / actus */
.am-card-unit,
.am-card-grid,
.am-card-grid > * {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

/* Textes hero */
#am-archive-recrutement-hero .brxe-text-basic,
#am-single-recrutement-hero .brxe-text-basic,
#am-archive-news-hero .brxe-text-basic,
#am-contact-hero .brxe-text-basic,
#am-single-blog-hero .brxe-text-basic {
  max-width: 100% !important;
  width: auto !important;
}

/* Formulaires GF */
.am-form_wrapper,
.am-form,
.gform_wrapper,
.gform_wrapper form {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}
.am-form_wrapper input,
.am-form_wrapper textarea,
.am-form_wrapper select,
.am-form input,
.am-form textarea,
.am-form select,
.gform_wrapper input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.gform_wrapper textarea,
.gform_wrapper select {
  max-width: 100% !important;
  box-sizing: border-box;
}
.am-form_wrapper .gform_footer,
.am-form .gform_footer,
.gform_wrapper .gform_footer {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
}

/* Footer legal wrap */
#am-footer-copy,
#am-footer-legal-inner {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Conteneurs contenus plus étroits (formulaires / single) */
#brxe-cscon1,
#brxe-755fia,
#brxe-54pfkl {
  max-width: 900px !important;
}

/* ---------- ≤ 991px ---------- */
@media (max-width: 991px) {
  #am-archive-recrutement-hero,
  #am-archive-recrutement,
  #am-candidature-spontanee,
  #am-single-recrutement-hero,
  #am-single-recrutement,
  #am-archive-news-hero,
  #am-archive-news,
  #am-contact-hero,
  #am-contact-main,
  #am-single-blog-hero {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }


  #brxe-d4vsos {
    padding: 24px !important;
  }

  #brxe-uk9bme,
  #am-archive-recrutement-hero .brxe-heading,
  #am-single-recrutement-hero .brxe-heading,
  #am-archive-news-hero .brxe-heading,
  #am-contact-hero .brxe-heading {
    font-size: clamp(1.6rem, 4vw, 2.2rem) !important;
    line-height: 1.15 !important;
  }

  #am-home-news-fb iframe {
    height: 420px !important;
  }
}

/* ---------- ≤ 768px ---------- */
@media (max-width: 768px) {
  #am-archive-recrutement-hero,
  #am-archive-recrutement,
  #am-candidature-spontanee,
  #am-single-recrutement-hero,
  #am-single-recrutement,
  #am-archive-news-hero,
  #am-archive-news,
  #am-contact-hero,
  #am-contact-main {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .am-card-unit,
  #brxe-6ud5gt > .brxe-block,
  #brxe-6ud5gt > .am-card-unit,
  .brxe-ekcknx.brxe-block {
    padding: 22px !important;
  }

  #brxe-y14lve {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  #am-bandeau-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  #am-footer-main-inner {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  #am-footer-cta-actions {
    flex-direction: column !important;
    align-items: center !important;
    width: auto !important;
  }

  #am-footer-btn-contact,
  #am-footer-btn-phone {
    width: auto !important;
    max-width: none !important;
    flex: 0 0 auto !important;
    text-align: center !important;
    justify-content: center !important;
  }

  #am-single-blog-layout {
    flex-direction: column !important;
    gap: 28px !important;
  }

  #am-single-blog-sidebar {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
  }

  .gform_wrapper .gform_fields {
    grid-template-columns: 1fr !important;
  }
  .gform_wrapper .gfield--width-half,
  .gform_wrapper .gfield {
    grid-column: 1 / -1 !important;
  }

  #am-home-news-fb iframe {
    height: 380px !important;
  }

  .am-sector,
  #brxe-y14lve .brxe-text-link {
    min-height: 150px !important;
  }
}

/* ---------- ≤ 500px ---------- */
@media (max-width: 500px) {
  #brxe-y14lve {
    grid-template-columns: 1fr !important;
  }

  #am-bandeau-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  #am-archive-recrutement-hero,
  #am-archive-recrutement,
  #am-candidature-spontanee,
  #am-single-recrutement-hero,
  #am-single-recrutement,
  #am-archive-news-hero,
  #am-archive-news,
  #am-contact-hero,
  #am-contact-main,
  #am-single-blog-hero {
    padding-top: 36px !important;
    padding-bottom: 36px !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .am-card-unit,
  #brxe-6ud5gt > .brxe-block,
  #brxe-6ud5gt > .am-card-unit,
  .brxe-ekcknx.brxe-block,
  #brxe-d4vsos,
  #brxe-csbox1 {
    padding: 18px !important;
  }

  #brxe-uk9bme {
    font-size: 1.7rem !important;
  }

  #am-home-news-fb iframe {
    height: 340px !important;
  }

  #am-footer-legal-inner {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }
}

/* ==========================================================================
   Complianz — aligné charte Amtheus
   ========================================================================== */
#cmplz-cookiebanner-container,
#cmplz-manage-consent,
.cmplz-cookiebanner {
  --cmplz_banner_background_color: #ffffff;
  --cmplz_banner_border_color: #dddddd;
  --cmplz_banner_border_width: 1px;
  --cmplz_banner_border_radius: 0;
  --cmplz_text_color: #00355c;
  --cmplz_hyperlink_color: #145dc7;
  --cmplz_button_accept_background_color: #00355c;
  --cmplz_button_accept_border_color: #00355c;
  --cmplz_button_accept_text_color: #ffffff;
  --cmplz_button_deny_background_color: transparent;
  --cmplz_button_deny_border_color: #00355c;
  --cmplz_button_deny_text_color: #00355c;
  --cmplz_button_settings_background_color: #ffffff;
  --cmplz_button_settings_border_color: #00355c;
  --cmplz_button_settings_text_color: #00355c;
  --cmplz_button_border_radius: 0;
  --cmplz_slider_active_color: #00355c;
  --cmplz_slider_inactive_color: #cccccc;
  --cmplz_slider_bullet_color: #ffffff;
  --cmplz_category_header_always_active_color: #00355c;
  --cmplz_title_font_size: 1.15rem;
  --cmplz_text_font_size: 14px;
  --cmplz_link_font_size: 13px;
  --cmplz_button_font_size: 15px;
  --cmplz_category_header_title_font_size: 14px;
  font-family: Lato, sans-serif;
}

#cmplz-cookiebanner-container .cmplz-cookiebanner {
  background: #ffffff !important;
  color: #00355c !important;
  border: 1px solid #dddddd !important;
  border-radius: 0 !important;
  box-shadow: 0 18px 48px rgba(0, 53, 92, 0.18) !important;
  max-width: min(560px, calc(100% - 24px));
  padding: 28px 28px 24px !important;
}

#cmplz-cookiebanner-container .cmplz-cookiebanner::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: rgba(0, 53, 92, 0.45);
  pointer-events: none;
}

#cmplz-cookiebanner-container .cmplz-title {
  font-family: Dosis, sans-serif !important;
  font-weight: 700 !important;
  font-size: 1.25rem !important;
  letter-spacing: 0.02em;
  color: #00355c !important;
  text-transform: none;
}

#cmplz-cookiebanner-container .cmplz-message,
#cmplz-cookiebanner-container .cmplz-description,
#cmplz-cookiebanner-container .cmplz-category-title,
#cmplz-cookiebanner-container .cmplz-always-active {
  font-family: Lato, sans-serif !important;
  color: #00355c !important;
  line-height: 1.45 !important;
}

#cmplz-cookiebanner-container .cmplz-message a,
#cmplz-cookiebanner-container .cmplz-links .cmplz-link {
  color: #145dc7 !important;
  font-weight: 600;
  text-underline-offset: 2px;
}

#cmplz-cookiebanner-container .cmplz-categories .cmplz-category {
  background: #f4f4f4 !important;
  border: 1px solid #dddddd !important;
  border-radius: 0 !important;
}

#cmplz-cookiebanner-container .cmplz-buttons {
  gap: 10px !important;
}

#cmplz-cookiebanner-container .cmplz-buttons .cmplz-btn {
  font-family: Dosis, sans-serif !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  line-height: 1 !important;
  border-radius: 0 !important;
  border-width: 1px !important;
  min-height: 48px !important;
  padding: 14px 18px !important;
  box-shadow: none !important;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease !important;
}

#cmplz-cookiebanner-container .cmplz-buttons .cmplz-btn.cmplz-accept {
  background: #00355c !important;
  background-color: #00355c !important;
  color: #ffffff !important;
  border-color: #00355c !important;
}

#cmplz-cookiebanner-container .cmplz-buttons .cmplz-btn.cmplz-accept:hover,
#cmplz-cookiebanner-container .cmplz-buttons .cmplz-btn.cmplz-accept:focus {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #00355c !important;
  border-color: #00355c !important;
}

#cmplz-cookiebanner-container .cmplz-buttons .cmplz-btn.cmplz-deny {
  background: transparent !important;
  background-color: transparent !important;
  color: #00355c !important;
  border-color: #00355c !important;
}

#cmplz-cookiebanner-container .cmplz-buttons .cmplz-btn.cmplz-deny:hover,
#cmplz-cookiebanner-container .cmplz-buttons .cmplz-btn.cmplz-deny:focus {
  background: #00355c !important;
  background-color: #00355c !important;
  color: #ffffff !important;
  border-color: #00355c !important;
}

#cmplz-cookiebanner-container .cmplz-buttons .cmplz-btn.cmplz-view-preferences,
#cmplz-cookiebanner-container .cmplz-buttons .cmplz-btn.cmplz-save-preferences,
#cmplz-cookiebanner-container .cmplz-buttons .cmplz-btn.cmplz-manage-options {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #00355c !important;
  border-color: #00355c !important;
}

#cmplz-cookiebanner-container .cmplz-buttons .cmplz-btn.cmplz-view-preferences:hover,
#cmplz-cookiebanner-container .cmplz-buttons .cmplz-btn.cmplz-save-preferences:hover,
#cmplz-cookiebanner-container .cmplz-buttons .cmplz-btn.cmplz-manage-options:hover,
#cmplz-cookiebanner-container .cmplz-buttons .cmplz-btn.cmplz-view-preferences:focus,
#cmplz-cookiebanner-container .cmplz-buttons .cmplz-btn.cmplz-save-preferences:focus,
#cmplz-cookiebanner-container .cmplz-buttons .cmplz-btn.cmplz-manage-options:focus {
  background: #f02361 !important;
  background-color: #f02361 !important;
  color: #ffffff !important;
  border-color: #f02361 !important;
}

#cmplz-cookiebanner-container .cmplz-close {
  color: #00355c !important;
}

#cmplz-manage-consent .cmplz-manage-consent {
  font-family: Dosis, sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  background: #00355c !important;
  color: #ffffff !important;
  border: 1px solid #00355c !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

#cmplz-manage-consent .cmplz-manage-consent:hover,
#cmplz-manage-consent .cmplz-manage-consent:focus {
  background: #ffffff !important;
  color: #00355c !important;
}

/* Documents légaux Complianz */
#cmplz-document,
.cmplz-document #brx-content {
  color: #00355c;
  font-family: Lato, sans-serif;
}

#cmplz-document h1,
#cmplz-document h2,
#cmplz-document h3,
.cmplz-document h1,
.cmplz-document h2,
.cmplz-document h3 {
  font-family: Dosis, sans-serif !important;
  color: #00355c !important;
}

@media (max-width: 768px) {
  #cmplz-cookiebanner-container .cmplz-cookiebanner {
    padding: 22px 18px 18px !important;
  }
  #cmplz-cookiebanner-container .cmplz-buttons .cmplz-btn {
    font-size: 14px !important;
    min-height: 44px !important;
  }
}

/* ==========================================================================
   Retour en haut
   ========================================================================== */
.am-back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9990;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  margin: 0;
  border: 1px solid #00355c;
  border-radius: 0;
  background: #00355c;
  color: #ffffff;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  box-shadow: none;
}
.am-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.am-back-to-top:hover,
.am-back-to-top:focus {
  background: #ffffff;
  color: #00355c;
  border-color: #00355c;
  outline: none;
}
.am-back-to-top:focus-visible {
  outline: 2px solid #145dc7;
  outline-offset: 2px;
}
@media (max-width: 768px) {
  .am-back-to-top {
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
  }
}

/* ==========================================================================
   Ex-CSS custom Bricks non gérable en natif (migration 2026-10-20)
   ========================================================================== */

/* 15004/0tcxpy — Header : menu mobile ouvert */
#am-nav.brx-open :where(.brx-dropdown-content) {
  min-width: 0;
  width: 100%;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  align-items: center;
  text-align: center;
}
#am-nav.brx-open :where(.brx-dropdown-content>li) {
  justify-content: center;
  text-align: center;
}
#am-nav.brx-open :where(.brx-dropdown-content>li)>a {
  justify-content: center;
  text-align: center;
}
#am-nav.brx-open :where(.brx-dropdown-content .brx-submenu-toggle) {
  justify-content: center;
  text-align: center;
}
#am-nav.brx-open :where(.brx-dropdown-content .brx-submenu-toggle>*) {
  justify-content: center;
  text-align: center;
}
#am-nav.brx-open :where(.brx-dropdown-content)>li:hover {
  background-color: transparent !important;
}
#am-nav.brx-open :where(.brx-dropdown-content) .brx-submenu-toggle:hover {
  background-color: transparent !important;
}
#am-nav.brx-open :where(.brx-dropdown-content>li)>a:hover {
  color: #ff2172 !important;
  background-color: transparent !important;
}
#am-nav.brx-open :where(.brx-dropdown-content .brx-submenu-toggle>*):hover {
  color: #ff2172 !important;
  background-color: transparent !important;
}

/* 15582/ox4ie1 — Bandeau partenaires : logos */
#am-bandeau-logos a img {
  filter: grayscale(1);
  transition: transform .35s ease, filter .35s ease;
  transform-origin: center center;
}
#am-bandeau-logos a:hover img {
  filter: grayscale(0);
  transform: scale(1.08);
}

/* 15682/5kp6ln — Single actualité : corps de l'article */
#am-single-blog-body>.brxe-section {
  align-items: stretch !important;
  width: 100% !important;
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
#am-single-blog-body .am-post-bricks-body {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  align-self: stretch !important;
}
#am-single-blog-body .brxe-text {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  align-self: stretch !important;
}
#am-single-blog-body .brxe-section>* {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  align-self: stretch !important;
}

/* 15682/sbcard — Single actualité : image carte latérale */
#am-single-blog-side-card.am-single-blog-side-card .brxe-image {
  overflow: hidden;
  height: 140px;
  width: 100%;
  display: block;
}
.am-single-blog-side-card .brxe-image {
  overflow: hidden;
  height: 140px;
  width: 100%;
  display: block;
}
#am-single-blog-side-card.am-single-blog-side-card .brxe-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.am-single-blog-side-card .brxe-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 3153/qc98tz — Contact : Gravity Forms */
#brxe-qc98tz #gform_wrapper_2.gform-theme {
  --gf-form-gap-y: 16px;
  --gf-form-gap-x: 16px;
  --gf-field-gap-y: 6px;
  --gf-label-space-primary: 6px;
  --gf-ctrl-label-font-family-primary: "Dosis", sans-serif;
  --gf-ctrl-label-font-family-secondary: "Dosis", sans-serif;
  --gf-ctrl-label-font-family-tertiary: "Dosis", sans-serif;
  --gf-ctrl-label-font-family-quaternary: "Dosis", sans-serif;
  --gf-ctrl-label-font-weight-primary: 600;
  --gf-ctrl-label-font-weight-secondary: 600;
  --gf-ctrl-label-font-weight-tertiary: 600;
  --gf-ctrl-label-font-weight-quaternary: 600;
  --gf-ctrl-label-font-size-primary: 14px;
  --gf-ctrl-label-font-size-secondary: 14px;
  --gf-ctrl-label-font-size-tertiary: 14px;
  --gf-ctrl-label-font-size-quaternary: 14px;
  --gf-ctrl-label-color-primary: #00355c;
  --gf-ctrl-label-color-secondary: #00355c;
  --gf-ctrl-label-color-tertiary: #00355c;
  --gf-ctrl-label-color-quaternary: #00355c;
  --gf-color-primary: #00355c;
  --gf-color-primary-rgb: 0, 53, 92;
  --gf-color-primary-darker: #002844;
  --gf-color-primary-lighter: #145dc7;
  --gf-color-in-ctrl-primary: #00355c;
  --gf-color-in-ctrl-primary-rgb: 0, 53, 92;
}
#brxe-qc98tz #gform_wrapper_2 .gform_fields {
  row-gap: 16px !important;
  column-gap: 16px !important;
}
#brxe-qc98tz #gform_wrapper_2 .gform-field-label {
  font-family: "Dosis", sans-serif !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  line-height: 1.3 !important;
  color: #00355c !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
#brxe-qc98tz #gform_wrapper_2 .gfield_label {
  font-family: "Dosis", sans-serif !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  line-height: 1.3 !important;
  color: #00355c !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
#brxe-qc98tz #gform_wrapper_2 .gform-field-label__text {
  font-family: "Dosis", sans-serif !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  line-height: 1.3 !important;
  color: #00355c !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
#brxe-qc98tz #gform_wrapper_2 label.gfield_label {
  font-family: "Dosis", sans-serif !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  line-height: 1.3 !important;
  color: #00355c !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
#brxe-qc98tz #gform_wrapper_2 .ginput_complex label {
  font-family: "Dosis", sans-serif !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  line-height: 1.3 !important;
  color: #00355c !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
#brxe-qc98tz #gform_wrapper_2 .gfield_required {
  color: #00355c !important;
  font-weight: 600 !important;
}
#brxe-qc98tz #gform_wrapper_2 .gfield_required_asterisk {
  color: #00355c !important;
  font-weight: 600 !important;
}
#brxe-qc98tz #gform_wrapper_2 .gform_heading {
  margin: 0 0 8px;
}
#brxe-qc98tz #gform_wrapper_2 .gform_required_legend {
  margin: 0 0 20px !important;
  font-family: "Dosis", sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  color: #585e6a !important;
}

/* 3153/dhsyyn — Contact : carte Leaflet en niveaux de gris */
#brxe-dhsyyn .leaflet-tile-pane {
  filter: grayscale(100%);
}
#brxe-dhsyyn .leaflet-marker-pane {
  filter: none;
}
#brxe-dhsyyn .leaflet-shadow-pane {
  filter: none;
}
#brxe-dhsyyn .leaflet-overlay-pane {
  filter: none;
}
#brxe-dhsyyn .leaflet-tooltip-pane {
  filter: none;
}
#brxe-dhsyyn .leaflet-popup-pane {
  filter: none;
}

/* 15277/ofsiaa — Notre Histoire : chronologie */
#am-histoire-chrono {
  list-style: none;
  padding: 0;
}
#am-histoire-chrono::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 10px;
  bottom: 24px;
  width: 2px;
  background: var(--color-brand);
  opacity: 0.22;
}
#am-histoire-chrono>li {
  position: relative;
  padding: 0 0 32px 48px;
}
#am-histoire-chrono>li:last-child {
  padding-bottom: 0;
}
#am-histoire-chrono>li .content {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 8px;
}
#am-histoire-chrono>li .icon {
  position: absolute;
  left: 0;
  top: 2px;
  z-index: 1;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-surface-alt);
  color: var(--color-brand);
  box-shadow: inset 0 0 0 2px var(--color-brand);
}
#am-histoire-chrono>li .icon i {
  font-size: 12px;
  line-height: 1;
}
#am-histoire-chrono>li .title {
  margin: 0;
}
#am-histoire-chrono>li .description {
  margin: 0;
}
#am-histoire-chrono>li .separator {
  display: none !important;
}

/* 15517/un9i3s qo9r2r mdd7vq g0heua qhbajq — Nos partenaires : logos */
#am-partenaire-0,
#am-partenaire-1,
#am-partenaire-2,
#am-partenaire-3,
#am-partenaire-4 {
  box-sizing: border-box;
}
#am-partenaire-0 img,
#am-partenaire-1 img,
#am-partenaire-2 img,
#am-partenaire-3 img {
  filter: none;
  transition: transform .35s ease;
  transform-origin: center center;
}
#am-partenaire-4 img {
  filter: grayscale(1);
  transition: transform .35s ease, filter .35s ease;
  transform-origin: center center;
}
#am-partenaire-0:hover img,
#am-partenaire-1:hover img,
#am-partenaire-2:hover img,
#am-partenaire-3:hover img,
#am-partenaire-4:hover img {
  transform: scale(1.08);
}
#am-partenaire-4:hover img {
  filter: grayscale(0);
}

/* 14983/9obesv — Design System : hero (dégradé multicouche) */
#am-hero {
  background: radial-gradient(circle at 20% 30%, rgba(255,255,255,.12) 0 1px, transparent 1px) 0 0 / 18px 18px,
    linear-gradient(180deg, rgba(0,53,92,.55), rgba(0,53,92,.75)),
    linear-gradient(135deg, #1a3a52, #0a2438 55%, #14324a);
}

/* Classe globale ds-nav — survol des liens et sous-menu */
.ds-nav > a:hover,
.ds-nav > li:hover > a {
  background: #f02361;
}
.ds-nav .sub-menu a {
  border-right: 0;
}

/* Classe globale ds-form — focus */
.ds-form input:focus,
.ds-form textarea:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* Classe globale am-top__inner — enfants du header */
.am-top__inner>.am-brand {
  flex: 0 0 auto;
}
.am-top__inner>.am-utils {
  flex: 1 1 auto;
  margin-left: auto;
  min-width: 0;
}

/* Classe globale am-brand__groupe — texte vertical */
.am-brand__groupe {
  writing-mode: vertical-rl;
}

/* Classe globale am-nav — liens directs, survols, sous-menu */
.am-nav>a {
  flex: 1 1 0;
  justify-content: center;
  text-align: center;
}
.am-nav > a:hover,
.am-nav > .brxe-text-link:hover,
.am-nav > li:hover > a,
.am-nav > li.current-menu-item > a,
.am-nav > li.current-menu-ancestor > a {
  background: #f02361;
}
.am-nav .sub-menu a:hover,
.am-nav .sub-menu li:hover > a {
  background: linear-gradient(4deg, rgba(0,0,0,.1), rgba(0,0,0,.5));
}

/* Classe globale am-util-btn — boutons utilitaires du header */
.am-util-btn {
  background: transparent !important;
  box-shadow: none !important;
  text-transform: none !important;
}
.am-util-btn::before {
  content: none !important;
  display: none !important;
}
.am-util-btn .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: color .25s ease;
}
a.am-util-btn--newsletter.bricks-button {
  background: #0c3a56 !important;
  background-color: #0c3a56 !important;
  color: #ffffff !important;
  border-radius: 2px !important;
  padding: 8px 14px 8px 10px !important;
  opacity: 1 !important;
}
.am-util-btn--newsletter {
  background: #0c3a56 !important;
  background-color: #0c3a56 !important;
  color: #ffffff !important;
  border-radius: 2px !important;
  padding: 8px 14px 8px 10px !important;
  opacity: 1 !important;
}
a.am-util-btn--newsletter.bricks-button:hover {
  background: #f02361 !important;
  background-color: #f02361 !important;
  color: #ffffff !important;
}
.am-util-btn--newsletter:hover {
  background: #f02361 !important;
  background-color: #f02361 !important;
  color: #ffffff !important;
}
.am-util-btn--recrutement:hover {
  color: #f02361 !important;
}
.am-util-btn--contact:hover {
  color: #f02361 !important;
}
.am-util-btn--recrutement:hover .icon {
  color: #f02361 !important;
}
.am-util-btn--contact:hover .icon {
  color: #f02361 !important;
}

/* Classe globale am-utils__links */
.am-utils__links>.am-util-btn--recrutement {
  order: 1;
  margin: 0 !important;
  padding: 8px 16px 8px 0 !important;
  border: 0 !important;
  background: transparent !important;
}
.am-utils__links>.am-util-btn--contact {
  order: 2;
  margin: 0 !important;
  padding: 8px 16px 8px 0 !important;
  border: 0 !important;
  background: transparent !important;
}
.am-utils__links>.am-util-btn--newsletter {
  order: 3;
  margin: 0 0 0 8px !important;
  border: 0 !important;
}

/* Classe globale am-meta-item — icônes adresse / téléphone */
.am-meta-item::before {
  content: "";
  display: block;
  width: 15px;
  height: 15px;
  margin-right: 8px;
  flex: 0 0 15px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.85;
}
.am-meta-item--address::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c3a56' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}
.am-meta-item--phone {
  font-weight: 700;
}
.am-meta-item--phone::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c3a56' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.81.36 1.6.68 2.34a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.74.32 1.53.55 2.34.68A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}
.am-meta-item--phone:hover {
  color: #f02361;
}
