/* ==========================================================================
   AMAMUS — Surcouche de personnalisation (chargée après style.css)
   Couleurs de marque : rose/magenta (main du haut) + bleu (main du bas)
   ========================================================================== */

:root {
  --amamus-pink: #d6336c;
  --amamus-pink-light: #ec4899;
  --amamus-blue: #1e73c7;
  --amamus-blue-dark: #123e82;
  --amamus-navy: #14182b;
}

/* ---------- Logo texte : ancienne version (conservée pour compatibilité, non utilisée) ---------- */

/* ---------- Hero (page d'accueil) : dégradé de marque à la place de la photo ---------- */
#myCarousel.banner-content .fill,
.hero-gradient {
  background: linear-gradient(
    120deg,
    var(--amamus-pink) 0%,
    var(--amamus-blue-dark) 55%,
    var(--amamus-blue) 100%
  ) !important;
}

/* ---------- Bannières des pages intérieures : dégradé de marque ---------- */
#in_pge_banner.banner-content.a_page_banner,
#in_pge_banner.banner-content.ser_page_banner,
#in_pge_banner.banner-content.cntct_page_banner,
#in_pge_banner.banner-content.mission_page_banner {
  background: linear-gradient(
    120deg,
    var(--amamus-pink) 0%,
    var(--amamus-blue-dark) 60%,
    var(--amamus-blue) 100%
  ) !important;
}

/* ---------- Valeurs / activités : icônes de marque ---------- */
.spe-list li i,
.section-text > span {
  color: var(--amamus-blue) !important;
}

.spe-list li:nth-child(2n) i {
  color: var(--amamus-pink) !important;
}

/* ---------- Boutons ---------- */
.btn.btn-default,
.call-action button.btn {
  background: var(--amamus-blue);
  border-color: var(--amamus-blue);
  color: #fff;
}

.btn.btn-default:hover,
.call-action button.btn:hover {
  background: var(--amamus-pink);
  border-color: var(--amamus-pink);
  color: #fff;
}

.call-action {
  background: linear-gradient(
    120deg,
    var(--amamus-blue-dark) 0%,
    var(--amamus-navy) 100%
  );
}

/* ---------- Section titres numérotés (page activités) ---------- */
.section-text > span {
  font-weight: 800;
  font-size: 28px;
}

/* ---------- Cartes de service (accueil) ---------- */
.amamus-service-card {
  background: #fff;
  border-radius: 10px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(20, 24, 43, 0.06);
  height: 100%;
  transition: transform 0.2s ease;
}

.amamus-service-card:hover {
  transform: translateY(-5px);
}

.amamus-service-card .icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  background: linear-gradient(
    135deg,
    var(--amamus-pink) 0%,
    var(--amamus-blue) 100%
  );
}

.amamus-service-card h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}

.amamus-service-card p {
  font-size: 13.5px;
  color: #7d7d7d;
}

/* ---------- Alerts (formulaire de contact) ---------- */
.alert-success {
  background-color: #e6f6ec;
  border-color: #b7e4c7;
  color: #1e6b3c;
  padding: 15px 20px;
  border-radius: 6px;
  margin-bottom: 20px;
}

.alert-danger {
  background-color: #fdecec;
  border-color: #f5b8b8;
  color: #a12525;
  padding: 15px 20px;
  border-radius: 6px;
  margin-bottom: 20px;
}

.alert-danger ul {
  margin: 0;
  padding-left: 18px;
}

/* ---------- Section titre générique ---------- */
.amamus-section-head {
  text-align: center;
  margin-bottom: 50px;
}

.amamus-section-head h2 {
  font-family: "arimo", Arial, sans-serif;
  font-weight: 700;
  color: var(--amamus-navy);
  font-size: 30px;
}

.amamus-section-head p {
  color: #7d7d7d;
}

/* ---------- Footer quick fix (retire styles liés au formulaire newsletter supprimé) ---------- */
.footer-content .quick-links {
  width: auto;
}

/* ==========================================================================
   NAVIGATION AMAMUS — structure entièrement personnalisée et indépendante
   des classes du template d'origine (qui étaient calées sur un logo image
   de 122x23px et provoquaient débordements/mauvais alignements avec un
   logo texte). Basée sur le squelette standard Bootstrap 3, garanti
   responsive (menu hamburger natif en dessous de 768px).
   ========================================================================== */

.amn-topbar {
  background: var(--amamus-navy);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  padding: 7px 0;
}

.amn-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.amn-topbar-contact span {
  margin-right: 22px;
  white-space: nowrap;
  display: inline-block;
}

.amn-topbar-contact i {
  margin-right: 6px;
}

.amn-topbar-social a {
  color: rgba(255, 255, 255, 0.85);
  margin-left: 12px;
  text-decoration: none;
}

.amn-topbar-social a:hover {
  color: var(--amamus-gold);
}

.amn-navbar {
  background: #fff;
  border: none;
  border-radius: 0;
  box-shadow: 0 2px 12px rgba(20, 24, 43, 0.08);
  margin-bottom: 0;
  min-height: 70px;
  z-index: 1030;
}

.amn-brand.navbar-brand {
  display: flex !important;
  align-items: center;
  height: 70px;
  padding: 0 !important;
  margin-left: 0 !important;
  float: left;
  background: transparent !important;
}

.amn-logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  margin-right: 10px;
  color: #fff;
  font-size: 15px;
  flex-shrink: 0;
  background: linear-gradient(
    135deg,
    var(--amamus-pink) 0%,
    var(--amamus-blue) 100%
  );
}

.amn-logo-text {
  font-family: "arimo", Arial, sans-serif;
  font-weight: 700;
  font-size: 19px;
  color: var(--amamus-blue-dark);
  white-space: nowrap;
}

.amn-navbar .navbar-nav {
  float: right;
}

.amn-navbar .navbar-nav > li > a {
  color: #333;
  font-weight: 600;
  font-size: 14px;
  padding-top: 26px;
  padding-bottom: 26px;
}

.amn-navbar .navbar-nav > li > a:hover,
.amn-navbar .navbar-nav > li > a:focus,
.amn-navbar .navbar-nav > li.active > a {
  color: var(--amamus-blue);
  background: transparent;
}

.amn-navbar .navbar-toggle {
  margin-top: 18px;
  border-color: #ddd;
}

.amn-navbar .navbar-toggle .icon-bar {
  background-color: var(--amamus-blue-dark);
}

.amn-navbar .navbar-toggle:hover,
.amn-navbar .navbar-toggle:focus {
  background-color: #f5f5f5;
}

/* Décale tout le contenu de la page sous la navbar fixe */
body {
  padding-top: 70px;
}

@media (max-width: 767px) {
  .amn-topbar {
    display: none;
  }

  .amn-navbar {
    min-height: 60px;
  }

  .amn-brand.navbar-brand {
    height: 60px;
  }

  .amn-logo-icon {
    width: 30px;
    height: 30px;
    font-size: 13px;
  }

  .amn-logo-text {
    font-size: 16px;
  }

  .amn-navbar .navbar-nav {
    float: none;
    margin: 0;
  }

  .amn-navbar .navbar-nav > li > a {
    padding: 12px 15px;
  }

  .amn-navbar .navbar-toggle {
    margin-top: 13px;
  }

  body {
    padding-top: 60px;
  }
}

/* ==========================================================================
   TYPOGRAPHIE — police standardisée sur Times New Roman (demande client)
   ========================================================================== */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
span,
li,
label,
input,
textarea,
button,
.btn,
.amn-logo-text,
.navbar-nav > li > a {
  font-family: "Times New Roman", Times, serif !important;
}

/* ==========================================================================
   BOUTONS — rendu plus professionnel (taille, espacement, arrondi)
   ========================================================================== */
.btn,
.p-btn,
.call-action button.btn {
  padding: 13px 32px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  border-radius: 4px !important;
  box-shadow: 0 4px 14px rgba(20, 24, 43, 0.12);
  transition: all 0.25s ease !important;
  border: none;
}

.btn:hover,
.call-action button.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(20, 24, 43, 0.2);
}

.btn.btn-sm,
.btn-small {
  padding: 9px 22px !important;
  font-size: 12px !important;
}

/* ==========================================================================
   FOOTER — réduit (le template d'origine était trop imposant)
   ========================================================================== */
.footer-wrapper {
  padding: 36px 0 22px !important;
}

.footer-wrapper .col-heading {
  font-size: 15px !important;
  padding-bottom: 12px !important;
  margin-bottom: 4px;
}

.footer-wrapper .contact-col li,
.footer-wrapper .quick-links li {
  margin-bottom: 6px !important;
  font-size: 13px;
}

.footer-wrapper p {
  margin-bottom: 12px !important;
}

.footer-wrapper .social a {
  width: 30px;
  height: 30px;
  line-height: 30px;
  font-size: 13px;
}

.copyright {
  padding: 12px 0 !important;
  font-size: 12.5px;
}

/* ==========================================================================
   BARRE SUPÉRIEURE — coordonnées à gauche, bandeau défilant au centre,
   réseaux sociaux à droite (façon bandeau d'actualité télévisé)
   ========================================================================== */
.amn-topbar-inner {
  flex-wrap: nowrap;
}

.amn-topbar-contact {
  flex-shrink: 0;
  white-space: nowrap;
}

.amn-topbar-social {
  flex-shrink: 0;
  white-space: nowrap;
}

.amn-ticker-wrap {
  flex: 1 1 auto;
  overflow: hidden;
  position: relative;
  height: 20px;
  margin: 0 25px;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
}

.amn-ticker {
  position: absolute;
  top: 0;
  left: 0;
  white-space: nowrap;
  padding-left: 100%;
  animation: amn-marquee 60s linear infinite;
  color: #ffd966;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.amn-ticker .sep {
  margin: 0 28px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 400;
}

@keyframes amn-marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

@media (max-width: 991px) {
  .amn-ticker-wrap {
    display: none;
  }
}

/* ==========================================================================
   SLIDER D'ACCUEIL — remplace le bloc uni par un carrousel Bootstrap
   ========================================================================== */
.amn-hero-slider {
  position: relative;
  overflow: hidden;
}

.amn-hero-slider .item {
  min-height: 560px;
  display: flex;
  align-items: center;
  color: #fff;
}

.amn-hero-slider .slide-1 {
  background: linear-gradient(
    120deg,
    var(--amamus-pink) 0%,
    var(--amamus-blue-dark) 55%,
    var(--amamus-blue) 100%
  );
}

.amn-hero-slider .slide-2 {
  background: linear-gradient(
    120deg,
    var(--amamus-blue-dark) 0%,
    var(--amamus-blue) 60%,
    var(--amamus-pink-light) 100%
  );
}

.amn-hero-slider .slide-3 {
  background: linear-gradient(120deg, #123e82 0%, var(--amamus-pink) 100%);
}

.amn-hero-slider h1 {
  font-weight: 800 !important;
  font-size: 42px;
  margin-bottom: 20px !important;
}

.amn-hero-slider p {
  font-size: 17px;
  opacity: 0.92;
  max-width: 620px;
  margin-bottom: 30px !important;
}

.amn-hero-slider .carousel-indicators {
  bottom: 25px;
}

.amn-hero-slider .carousel-indicators li {
  border-color: rgba(255, 255, 255, 0.6);
}

.amn-hero-slider .carousel-indicators .active {
  background: var(--amamus-gold);
  border-color: var(--amamus-gold);
}

.amn-hero-slider .carousel-control {
  width: 60px;
  background-image: none !important;
  opacity: 0.7;
}

.amn-hero-slider .carousel-control:hover {
  opacity: 1;
}

.amn-hero-slider .carousel-control .fa {
  position: absolute;
  top: 50%;
  margin-top: -14px;
  font-size: 28px;
}

@media (max-width: 767px) {
  .amn-hero-slider .item {
    min-height: auto;
    padding: 100px 0 60px;
  }

  .amn-hero-slider h1 {
    font-size: 26px !important;
  }

  .amn-hero-slider .btn {
    display: block;
    width: 100%;
    margin: 0 0 12px 0 !important;
    text-align: center;
  }

  .amn-hero-slider .carousel-control {
    display: none;
  }
}

/* ==========================================================================
   NOUVELLE PAGE D'ACCUEIL — mise en page inspirée de la maquette fournie
   ========================================================================== */

/* ---------- Hero v2 : photo en carrousel à gauche, texte fixe à droite ---------- */
.amn-hero-v2 {
  padding: 50px 0;
  background: #fff;
}

.amn-hero-v2-photo {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(20, 24, 43, 0.12);
}

.amn-hero-v2-photo .carousel-inner .item {
  width: 100%;
  height: 340px;
  align-items: center;
  justify-content: center;
 
  text-align: center;
  padding: 30px;
}

.amn-hero-v2-photo .carousel-inner .item.active {
  display: flex;
}

.amn-hero-v2-text {
  padding: 20px 0 20px 40px;
}

.amn-hero-v2-text h1 {
  font-size: 34px !important;
  font-weight: 800 !important;
  color: var(--amamus-blue) !important;
  margin-bottom: 18px !important;
}

.amn-hero-v2-text h1 span {
  color: var(--amamus-blue) !important;
}

.amn-hero-v2-text hr {
  width: 70px;
  border-top: 3px solid var(--amamus-gold);
  margin: 0 0 22px;
}

.amn-hero-v2-text p {
  color: #000;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 26px !important;
  text-align: justify;
}

@media (max-width: 767px) {
  .amn-hero-v2-text {
    padding-left: 0;
    margin-top: 30px;
  }

  .amn-hero-v2-text h1 {
    font-size: 26px !important;
  }
}

/* ---------- Barre de statistiques ---------- */
.amn-stats-bar {
  padding: 30px 0 ;
  background: #fff;
  margin-top: -10px;
}

.amn-stat-box {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(20, 24, 43, 0.08);
  padding: 22px 18px;
  display: flex;
  align-items: center;
  height: 100%;
  margin-bottom: 20px;
}

.amn-stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  flex-shrink: 0;
  margin-right: 14px;
}

.amn-stat-box .amn-stat-value {
  font-size: 21px;
  font-weight: 800;
  color: var(--amamus-navy);
  line-height: 1.2;
}

.amn-stat-box .amn-stat-label {
  font-size: 12.5px;
  color: #000;
}

/* ---------- Section scindée : texte + mini carrousel ---------- */
.amn-split-section {
  padding: 0px 0 50px;
}

.amn-split-title {
  font-weight: 800;
  color: var(--amamus-navy);
  font-size: 24px;
  margin-bottom: 6px !important;
}

.amn-split-title-rule {
  width: 60px;
  border-top: 3px solid var(--amamus-gold);
  margin: 0 0 20px;
}

.amn-mini-carousel {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(20, 24, 43, 0.1);
}

.amn-mini-carousel .item.active {
  display: flex;
}

.amn-mini-carousel .mini-slide {
  flex: 1;
  height: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  text-align: center;
  padding: 15px;
  overflow: hidden;
  position: relative;
}

.amn-mini-carousel .mini-slide img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}

.amn-mini-carousel .mini-slide i {
  font-size: 34px;
  margin-bottom: 10px;
  opacity: 0.9;
}

.amn-mini-carousel .carousel-control {
  width: 40px;
  background: rgba(20, 24, 43, 0.35) !important;
  opacity: 0.85;
}

.amn-mini-carousel .carousel-control .fa {
  position: absolute;
  top: 50%;
  margin-top: -10px;
  font-size: 18px;
}

/* ---------- Bande partenaires ---------- */
.amn-partners-section {
  padding: 10px 0 60px;
  text-align: center;
}

.amn-partners-heading {
  font-weight: 800;
  color: var(--amamus-navy);
  font-size: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px !important;
}

.amn-partners-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.amn-partner-item {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(20, 24, 43, 0.06);
  padding: 14px 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14px;
  color: var(--amamus-navy);
}

.amn-partner-item i {
  font-size: 18px;
}

/* ---------- Cartes de services (grille 4) ---------- */
.amn-service-grid {
  padding: 10px 0 0;
  background: #eef1f7;
}

.amn-service-card-v2 {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(20, 24, 43, 0.08);
  margin-bottom: 30px;
  height: 100%;
}

.amn-service-card-v2 .card-visual {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 46px;
}

.amn-service-card-v2 .card-body-v2 {
  padding: 22px 20px 26px;
  text-align: center;
}

.amn-service-card-v2 h4 {
  font-size: 17px;
  font-weight: 800;
  color: var(--amamus-navy);
  margin-bottom: 10px !important;
  text-align: center;
}

.amn-service-card-v2 p {
  font-size: 13px;
  color: #000;
  margin-bottom: 18px !important;
  min-height: 40px;
}

/* ---------- Bandeau multicolore décoratif ---------- */
.amn-color-stripe {
  height: 8px;
  background: linear-gradient(
    90deg,
    var(--amamus-pink) 0% 20%,
    var(--amamus-blue) 20% 40%,
    var(--amamus-pink-light) 40% 60%,
    var(--amamus-blue-dark) 80% 100%
  );
}

/* ---------- Footer v2 : 4 colonnes ---------- */
.amn-footer-v2 {
  background: #eef1f7;
  color: #000;
  padding: 45px 0 20px;
}

.amn-footer-v2 h5 {
  font-weight: 800;
  color: var(--amamus-navy);
  font-size: 15px;
  margin-bottom: 16px !important;
}

.amn-footer-v2 ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.amn-footer-v2 ul li {
  margin-bottom: 9px;
  font-size: 16px;
}

.amn-footer-v2 ul li a {
  color: #000;
  text-decoration: none;
}

.amn-footer-v2 ul li a:hover {
  color: var(--amamus-blue);
}

.amn-footer-v2 .amn-footer-bottom {
  border-top: 1px solid #d8dce5;
  margin-top: 25px;
  padding-top: 15px;
  text-align: center;
  font-size: 12px;
  color: #888;
}

/* ==========================================================================
   CORRECTIF RESPONSIVE — barre de statistiques
   (l'ancienne version utilisait des largeurs fixes en style inline qui ne
   s'adaptaient pas aux petits écrans ; remplacée par une classe avec
   media queries)
   ========================================================================== */
.amn-stat-col {
  float: left;
  width: 20%;
  padding: 0 10px;
  box-sizing: border-box;
}

@media (max-width: 991px) {
  .amn-stat-col {
    width: 33.333%;
    margin-bottom: 10px;
  }
}

@media (max-width: 767px) {
  .amn-stat-col {
    width: 50%;
  }

  .amn-stat-box {
    padding: 16px 12px;
  }

  .amn-stat-icon {
    width: 42px;
    height: 42px;
    font-size: 18px;
    margin-right: 10px;
  }

  .amn-stat-box .amn-stat-value {
    font-size: 17px;
  }
}

@media (max-width: 480px) {
  .amn-stat-col {
    width: 100%;
  }
}

/* Mini-carrousel "Nos adhérents" : empile les deux vignettes sur mobile */
@media (max-width: 480px) {
  .amn-mini-carousel .item {
    flex-direction: column;
  }

  .amn-mini-carousel .mini-slide {
    min-height: 110px;
  }
}

/* ==========================================================================
   MENU DÉROULANT "À PROPOS"
   ========================================================================== */
.amn-navbar .dropdown-menu {
  border: none;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(20, 24, 43, 0.15);
  padding: 8px 0;
  margin-top: 0;
}

.amn-navbar .dropdown-menu > li > a {
  padding: 10px 22px;
  font-size: 13.5px;
  color: #333;
}

.amn-navbar .dropdown-menu > li > a:hover,
.amn-navbar .dropdown-menu > li > a:focus {
  background: #f5f7fb;
  color: var(--amamus-blue);
}

.amn-navbar .navbar-nav > li.dropdown > a .caret {
  margin-left: 4px;
}

@media (max-width: 767px) {
  .amn-navbar .dropdown-menu {
    box-shadow: none;
    background: #f7f8fb;
    padding-left: 10px;
  }
}

/* ==========================================================================
   ORGANIGRAMME
   ========================================================================== */
.amn-orgchart-section {
  padding: 20px 0 80px;
}

.amn-orgchart-section .amn-section-intro {
  max-width: 700px;
  margin: 0 auto 50px;
}

.amn-orgchart-section .amn-section-intro h2 {
  font-weight: 800;
  color: var(--amamus-navy);
  margin-bottom: 12px !important;
}

.amn-orgchart-section .amn-section-intro p {
  color: #777;
}

.amn-org-level {
  display: flex;
  justify-content: center;
  margin-bottom: 0;
}

.amn-org-box {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(20, 24, 43, 0.08);
  padding: 16px 26px;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--amamus-navy);
  min-width: 200px;
}

.amn-org-box.amn-org-top {
  background: linear-gradient(
    135deg,
    var(--amamus-blue) 0%,
    var(--amamus-blue-dark) 100%
  );
  color: #fff;
  min-width: 240px;
}

.amn-org-box.amn-org-small {
  min-width: 140px;
  font-size: 12.5px;
  padding: 12px 16px;
  font-weight: 600;
  border-top: 3px solid var(--amamus-gold);
}

.amn-org-connector {
  width: 2px;
  height: 26px;
  background: #d7dbe4;
  margin: 0 auto;
}

.amn-org-branch {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  position: relative;
  padding-top: 26px;
  margin-top: 0;
}

.amn-org-branch::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 26px;
  background: #d7dbe4;
  transform: translateX(-50%);
}

.amn-org-branch.amn-org-agencies {
  margin-top: 40px;
}

@media (max-width: 767px) {
  .amn-org-box {
    min-width: 160px;
    font-size: 13px;
    padding: 12px 18px;
  }

  .amn-org-box.amn-org-top {
    min-width: 180px;
  }

  .amn-org-branch {
    gap: 14px;
  }
}

/* ==========================================================================
   SÉLECTEUR DE LANGUE
   ========================================================================== */
.amn-lang-switch {
  display: inline-flex;
  gap: 2px;
  margin-right: 18px;
}

.amn-lang-switch a {
  color: rgba(255, 255, 255, 0.6) !important;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
}

.amn-lang-switch a.active,
.amn-lang-switch a:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 991px) {
  .amn-lang-switch {
    margin-right: 10px;
  }
}

/* ==========================================================================
   PAGES UTILITAIRES (FAQ, téléchargements, mentions légales, 404)
   ========================================================================== */
.amn-simple-page {
  padding: 60px 0 80px;
}

.amn-simple-page .amn-page-intro {
  max-width: 750px;
  margin: 0 auto 40px;
  text-align: center;
  color: #777;
}

.amn-faq-item {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(20, 24, 43, 0.06);
  margin-bottom: 14px;
  overflow: hidden;
}

.amn-faq-question {
  padding: 16px 22px;
  font-weight: 700;
  color: var(--amamus-navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.amn-faq-question .fa {
  color: var(--amamus-blue);
  transition: transform 0.2s ease;
}

.amn-faq-item.open .amn-faq-question .fa {
  transform: rotate(180deg);
}

.amn-faq-answer {
  padding: 0 22px;
  max-height: 0;
  overflow: hidden;
  color: #666;
  font-size: 13.5px;
  line-height: 1.7;
  transition:
    max-height 0.25s ease,
    padding 0.25s ease;
}

.amn-faq-item.open .amn-faq-answer {
  padding: 0 22px 18px;
  max-height: 300px;
}

.amn-download-item {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(20, 24, 43, 0.06);
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.amn-download-item .doc-name {
  font-weight: 700;
  color: var(--amamus-navy);
}

.amn-download-item .doc-name i {
  color: var(--amamus-pink);
  margin-right: 10px;
}

.amn-legal-content p {
  color: #555;
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 18px !important;
}

.amn-404-section {
  padding: 100px 0;
  text-align: center;
}

.amn-404-section .code-404 {
  font-size: 100px;
  font-weight: 800;
  color: var(--amamus-blue);
  line-height: 1;
  margin-bottom: 10px;
}

@media (max-width: 767px) {
  .amn-404-section .code-404 {
    font-size: 60px;
  }
}

/* ==========================================================================
   PRÉCHARGEUR (spinner) — remplace le GIF générique du template d'origine
   par un anneau animé en CSS pur, aux couleurs de la marque AMAMUS.
   ========================================================================== */
#preloader {
  display: flex;
  align-items: center;
  justify-content: center;
}

#status {
  width: 64px;
  height: 64px;
  margin: 0;
  position: relative;
  background-image: none;
}

#status::before {
  content: "";
  box-sizing: border-box;
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 5px solid #eef1f7;
}

#status::after {
  content: "";
  box-sizing: border-box;
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 5px solid transparent;
  border-top-color: var(--amamus-blue);
  border-right-color: var(--amamus-pink);
  animation: amn-spin 0.85s linear infinite;
}

@keyframes amn-spin {
  to {
    transform: rotate(360deg);
  }
}

html,
body {
  overflow-x: hidden;
}

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

/* Ajustements mobile des sections à forte mise en page (hero, bannières,
   cartes) qui utilisaient des tailles fixes pensées pour le desktop */
@media (max-width: 767px) {
  .hero-gradient {
    height: auto !important;
    padding-bottom: 50px;
  }

  .hero-gradient .container {
    padding-top: 110px !important;
  }

  .hero-gradient h1 {
    font-size: 26px !important;
  }

  .hero-gradient p {
    font-size: 15px !important;
  }

  .hero-gradient .btn {
    display: block;
    width: 100%;
    margin: 0 0 12px 0 !important;
    text-align: center;
  }

  #in_pge_banner.banner-content {
    padding: 50px 15px !important;
  }

  .amamus-section-head h2 {
    font-size: 22px;
  }

  .section-text > span {
    font-size: 20px !important;
  }

  .call-action .col-md-9 {
    margin-bottom: 15px;
  }

  .call-action .btn.pull-right {
    float: none !important;
    display: inline-block;
  }

  /* ============ Page Activités : Programme d'Activités 2026 ============ */
  .amn-activities-intro {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    color: #666;
    font-size: 15px;
    line-height: 1.8;
  }

  .amn-axis-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(20, 24, 43, 0.07);
    padding: 28px 24px;
    height: calc(100% - 25px);
    margin-bottom: 25px;
    position: relative;
    align-items: center !important;
    border-top: 4px solid var(--amamus-blue);
  }
  .amn-axis-card:nth-child(2n) {
    border-top-color: var(--amamus-pink);
  }
  .amn-axis-card:nth-child(3n) {
    border-top-color: var(--amamus-gold);
  }

  .amn-axis-number {
    position: absolute;
    top: -14px;
    right: 20px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--amamus-navy);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
  }

  .amn-axis-card .icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: #eef1f7;
    color: var(--amamus-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
  }

  .amn-axis-card h4 {
    font-size: 16px;
    font-weight: 800;
    color: var(--amamus-navy);
    margin-bottom: 10px !important;
  }

  .amn-axis-card p {
    font-size: 13px;
    color: #777;
    margin-bottom: 10px !important;
  }

  .amn-axis-objectif {
    font-size: 12px;
    color: var(--amamus-blue);
    font-weight: 700;
    border-top: 1px dashed #eee;
    padding-top: 10px;
    margin-top: 10px;
  }
  .amn-axis-objectif i {
    margin-right: 6px;
  }

  .amn-compare-section {
    padding: 70px 0;
    background: #f7f8fb;
  }
  .amn-compare-col {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(20, 24, 43, 0.06);
    padding: 30px 26px;
    height: 100%;
  }
  .amn-compare-col.difficulties {
    border-left: 5px solid #d6336c;
  }
  .amn-compare-col.solutions {
    border-left: 5px solid #1e73c7;
  }
  .amn-compare-col h4 {
    font-weight: 800;
    font-size: 17px;
    margin-bottom: 20px !important;
    color: var(--amamus-navy);
  }
  .amn-compare-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .amn-compare-col li {
    padding: 10px 0 10px 28px;
    position: relative;
    font-size: 13.5px;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
  }
  .amn-compare-col li:last-child {
    border-bottom: none;
  }
  .amn-compare-col.difficulties li i {
    color: #d6336c;
  }
  .amn-compare-col.solutions li i {
    color: #1e73c7;
  }
  .amn-compare-col li i {
    position: absolute;
    left: 0;
    top: 12px;
  }

  .amn-perspectives-section {
    padding: 70px 0;
  }
  .amn-perspective-item {
    display: flex;
    align-items: flex-start;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(20, 24, 43, 0.06);
    padding: 16px 18px;
    margin-bottom: 14px;
  }
  .amn-perspective-item i {
    color: #2e7d32;
    font-size: 18px;
    margin-right: 12px;
    margin-top: 2px;
    flex-shrink: 0;
  }
  .amn-perspective-item span {
    font-size: 13.5px;
    color: #444;
  }
}

/* =========================================
   PLAN OPERATIONNEL 2026
   ========================================= */

.amn-operational-section {
  padding: 20px 0 80px;
  background: #fff;
}

/* =========================================
   TITRE
   ========================================= */

.amn-operational-heading {
  margin: 0 0 45px;
  text-align: center;
  font-size: 24px;
  font-weight: 800;
  color: var(--amamus-navy);
}

.amn-operational-heading i {
  margin-right: 8px;
  color: var(--amamus-blue);
}

/* =========================================
   GRILLE DES 7 AXES
   ========================================= */

.amn-operational-grid {
  display: grid;
  gap: 28px;
}
/* Première ligne : 3 cartes */
.amn-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* Deuxième ligne : 4 cartes */
.amn-grid-4 {
    grid-template-columns: repeat(4, 1fr);
    margin-top: 28px;
}
/* =========================================
   ELEMENT AXE
   ========================================= */

.amn-axis-item {
  min-width: 0;
}

/* =========================================
   CARTE AXE
   ========================================= */

.amn-axis-card {
  position: relative;
  height: 100%;
  min-height: 190px;

  padding: 30px 28px;

  background: #ffffff;

  border: 1px solid #e5e9ef;
  border-radius: 12px;

  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.06);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;

  box-sizing: border-box;
}

/* petite ligne décorative en haut */

.amn-axis-card::before {
  content: "";
  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 4px;

  background: var(--amamus-blue);

  border-radius: 12px 12px 0 0;
}

/* effet au survol */

.amn-axis-card:hover {
  transform: translateY(-5px);

  border-color: rgba(0, 0, 0, 0.08);

  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

/* =========================================
   TITRE AXE
   ========================================= */

.amn-axis-title {
  margin-bottom: 15px;

  font-size: 20px;
  font-weight: 800;

  color: var(--amamus-blue);
}

/* =========================================
   DESCRIPTION AXE
   ========================================= */

.amn-axis-description {
  color: #000;

  font-size: 18px;
  line-height: 1.7;

  font-weight: 400;
}

/* =========================================
   COULEURS DES DIFFERENTS AXES
   ========================================= */

.amn-axis-item:nth-child(1) .amn-axis-card::before {
  background: var(--amamus-blue);
}

.amn-axis-item:nth-child(2) .amn-axis-card::before {
  background: var(--amamus-gold);
}

.amn-axis-item:nth-child(3) .amn-axis-card::before {
  background: #2e7d32;
}

.amn-axis-item:nth-child(4) .amn-axis-card::before {
  background: var(--amamus-pink);
}

.amn-axis-item:nth-child(5) .amn-axis-card::before {
  background: #8e44ad;
}

.amn-axis-item:nth-child(6) .amn-axis-card::before {
  background: var(--amamus-blue-dark);
}

.amn-axis-item:nth-child(7) .amn-axis-card::before {
  background: #546e7a;
}

/* =========================================
   TABLETTE
   ========================================= */

@media (max-width: 992px) {
  .amn-operational-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .amn-grid-3,
    .amn-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 767px) {
  .amn-operational-section {
    padding: 30px 0 50px;
  }

  .amn-operational-heading {
    font-size: 21px;
    margin-bottom: 30px;
  }

  .amn-axis-card {
    min-height: auto;
    padding: 25px 22px;
  }
}

@media (max-width: 576px) {
    .amn-grid-3,
    .amn-grid-4 {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   ORGANIGRAMME
========================================================= */

.amn-orgchart-section {
  padding: 80px 0;
  background: #ffffff;
  overflow: hidden;
}

/* =========================================================
   TITRE
========================================================= */

.amn-orgchart-section .amn-section-intro {
  margin-bottom: 55px;
}

.amn-orgchart-section .amn-section-intro h2 {
  margin-bottom: 12px;
  color: #1769aa;
  font-size: 38px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.amn-orgchart-section .amn-section-intro p {
  color: #607d8b;
  font-size: 17px;
  margin: 0;
}

/* =========================================================
   STRUCTURE GENERALE
========================================================= */

.amn-orgchart {
  width: 100%;
  max-width: 1250px;
  margin: 0 auto;
  position: relative;
}

/* =========================================================
   NIVEAUX
========================================================= */

.amn-org-level {
  display: flex;
  justify-content: center;
  position: relative;
}

/* =========================================================
   NOEUDS
========================================================= */

.amn-org-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 3;
}

/* =========================================================
   AVATARS
========================================================= */

.amn-org-avatar {
  width: 170px;
  height: 105px;

  border-radius: 50%;

  background: linear-gradient(135deg, #dbeafe, #8fc4e8);

  display: flex;
  align-items: center;
  justify-content: center;

  color: #0d4f86;

  font-size: 22px;
  font-weight: 800;

  border: 5px solid #ffffff;

  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.12);
}

/* Conseil d'administration */

.amn-org-avatar-board {
  width: 160px;
  height: 120px;

  background: linear-gradient(135deg, #b7e86a, #72bf38);

  color: #ffffff;
}

/* Directeur Général */

.amn-org-avatar-dg {
  background: linear-gradient(135deg, #159ee8, #0876ca);
align-content: center;
  color: #ffffff;
}

/* =========================================================
   CARTES
========================================================= */

.amn-org-card {
  min-width: 250px;

  margin-top: -2px;

  padding: 15px 25px;

  text-align: center;

  background: linear-gradient(135deg, #eef6fc, #dbeaf6);

  border-radius: 8px;

  box-shadow: 0 5px 15px rgba(28, 73, 105, 0.1);

  border: 1px solid #d5e6f2;
}

.amn-org-card strong {
  display: block;

  color: #07558e;

  font-size: 18px;
  font-weight: 800;

  line-height: 1.3;
}

.amn-org-card small {
  display: block;

  margin-top: 5px;

  color: #45677f;

  font-size: 13px;
  line-height: 1.4;
}

/* =========================================================
   CONSEIL
========================================================= */

.amn-org-node-board .amn-org-card {
  min-width: 330px;
}

.amn-org-node-board .amn-org-card strong {
  font-size: 19px;
}

/* =========================================================
   LIGNE CA -> DG
========================================================= */

.amn-org-line-vertical {
  width: 3px;
  height: 38px;

  margin: 0 auto;

  background: #3ba6d8;
}

.amn-org-line-vertical2 {
  width: 3px;
  height: 128px;

  margin: 15px 570px ;

  background: #3ba6d8;
}

/* =========================================================
   DEPARTEMENTS
========================================================= */

.amn-org-departments {
  position: relative;

  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 80px;

  margin-top: 18px;

  padding-top: 55px;
}

.amn-org-departments2 {
  position: relative;

  display: grid;
  grid-template-columns: repeat(4, 1fr);

  gap: 80px;

  margin-top: 18px;

  padding-top: 55px;
}

/*
 * Ligne horizontale qui relie les trois directions
 */

.amn-org-main-branch {
  position: absolute;

  top: 0;

  left: 14%;
  right: 14%;

  height: 3px;

  background: #3ba6d8;
}
.amn-org-main-branch2 {
  position: absolute;

  top: 0;

  left: 11%;
  right: 2%;

  height: 3px;

  background: #3ba6d8;
}

/*
 * Chaque direction
 */

.amn-org-department {
  position: relative;

  display: flex;
  justify-content: center;
}

/*
 * Petite ligne verticale entre la ligne principale
 * et la direction
 */

.amn-org-branch-line {
  position: absolute;

  top: -55px;

  left: 50%;

  width: 3px;
  height: 55px;

  transform: translateX(-50%);

  background: #3ba6d8;
}

/* =========================================================
   AGENCES
========================================================= */

.amn-org-agencies-wrapper {
  position: relative;

  margin-top: 80px;

  padding-top: 50px;
}

/*
 * Ligne horizontale des agences
 */

.amn-agencies-main-line {
  position: absolute;

  top: 0;

  left: 8.33%;
  right: 8.33%;

  height: 3px;

  background: #3ba6d8;
}

/*
 * Grille des agences
 */

.amn-org-agencies {
  display: grid;

  grid-template-columns: repeat(6, 1fr);

  gap: 25px;
}

/* =========================================================
   AGENCE
========================================================= */

.amn-agency {
  position: relative;

  display: flex;
  justify-content: center;
}

/*
 * Ligne verticale agence
 */

.amn-agency-line {
  position: absolute;

  top: -50px;

  left: 50%;

  width: 3px;
  height: 50px;

  transform: translateX(-50%);

  background: #3ba6d8;
}

/* =========================================================
   CARTE AGENCE
========================================================= */

.amn-agency-card {
  width: 100%;

  min-height: 115px;

  padding: 18px 10px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;

  background: linear-gradient(135deg, #d8efff, #b8ddf7);

  border-radius: 12px;

  border: 1px solid #b6dcf5;

  box-shadow: 0 6px 18px rgba(24, 100, 150, 0.1);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.amn-agency-card:hover {
  transform: translateY(-5px);

  box-shadow: 0 10px 25px rgba(24, 100, 150, 0.18);
}

/* Icône */

.amn-agency-icon {
  width: 25px;
  height: 25px;

  margin-bottom: 5px;

  color: #168bd1;

  font-size: 26px;

  line-height: 20px;
}

/* Texte "Agence" */

.amn-agency-card span {
  color: #245a82;

  font-size: 14px;
}

/* Nom de la ville */

.amn-agency-card strong {
  margin-top: 3px;

  color: #07558e;

  font-size: 17px;
  font-weight: 800;
}

/* =========================================================
   RESPONSIVE TABLETTE
========================================================= */

@media (max-width: 991px) {
  .amn-orgchart-section {
    padding: 60px 20px;
  }

  .amn-orgchart-section .amn-section-intro h2 {
    font-size: 32px;
  }

  /*
     * Les départements passent sur 3 colonnes
     * avec un espace plus réduit
     */

  .amn-org-departments {
    gap: 25px;
  }

  .amn-org-card {
    min-width: 200px;
    padding: 12px 15px;
  }

  .amn-org-card strong {
    font-size: 16px;
  }

  .amn-org-card small {
    font-size: 12px;
  }

  /*
     * Les agences passent sur 3 colonnes
     */

  .amn-org-agencies {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 60px;
  }

  .amn-agencies-main-line {
    display: none;
  }

  .amn-agency-line {
    display: none;
  }

  .amn-org-agencies-wrapper {
    padding-top: 0;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {
  .amn-orgchart-section {
    padding: 50px 15px;
  }

  .amn-orgchart-section .amn-section-intro {
    margin-bottom: 40px;
  }

  .amn-orgchart-section .amn-section-intro h2 {
    font-size: 27px;
  }

  .amn-orgchart-section .amn-section-intro p {
    font-size: 15px;
  }

  /* ==========================================
       CA
    =========================================== */

  .amn-org-node-board .amn-org-card {
    min-width: 260px;
  }

  /* ==========================================
       DEPARTEMENTS
    =========================================== */

  .amn-org-departments {
    display: flex;
    flex-direction: column;

    gap: 35px;

    margin-top: 30px;

    padding-top: 0;
  }

  /*
     * Sur mobile on supprime la grande ligne
     * horizontale.
     */

  .amn-org-main-branch {
    display: none;
  }

  /*
     * Chaque département possède sa propre
     * ligne verticale
     */

  .amn-org-branch-line {
    display: none;
  }

  /* Ligne entre DG et les départements */

  .amn-org-department::before {
    content: "";

    position: absolute;

    top: -30px;
    left: 50%;

    width: 3px;
    height: 30px;

    transform: translateX(-50%);

    background: #3ba6d8;
  }

  /* ==========================================
       AGENCES
    =========================================== */

  .amn-org-agencies-wrapper {
    margin-top: 45px;
  }

  .amn-org-agencies {
    grid-template-columns: repeat(2, 1fr);

    gap: 15px;
  }

  .amn-agencies-main-line {
    display: none;
  }

  .amn-agency-line {
    display: none;
  }

  /* ==========================================
       CARTES
    =========================================== */

  .amn-org-card {
    min-width: 240px;
  }

  .amn-org-avatar {
    width: 85px;
    height: 85px;

    font-size: 18px;
  }

  .amn-org-avatar-board {
    width: 95px;
    height: 95px;
  }
}

/* =========================================================
   PETIT MOBILE
========================================================= */

@media (max-width: 480px) {
  .amn-org-agencies {
    grid-template-columns: 1fr;
  }

  .amn-org-card {
    min-width: 100%;

    max-width: 300px;
  }

  .amn-org-node-board .amn-org-card {
    min-width: 100%;
  }

  .amn-org-section {
    overflow-x: hidden;
  }
}

/* =========================================================
   AMAMUS — Refonte "Programme d'Activités 2026" (palette officielle)
   Polices : ajoutez dans le <head> :
   <link rel="preconnect" href="https://fonts.googleapis.com">
   <link href="https://fonts.googleapis.com/css2?family=Newsreader:opsz,wght@6..72,400;6..72,500;6..72,600&family=Public+Sans:wght@400;500;600;700&display=swap" rel="stylesheet">
   ========================================================= */

:root {
  --amamus-pink: #d6336c;
  --amamus-pink-light: #ec4899;
  --amamus-blue: #1e73c7;
  --amamus-blue-dark: #123e82;
  --amamus-navy: #14182b;

  --amn-paper: #f7f8fa;
  --amn-paper-alt: #eef2f7;
  --amn-ink: var(--amamus-navy);
  --amn-ink-soft: #545e70;
  --amn-line: #dde4ed;

  --amn-font-display: "Newsreader", Georgia, serif;
  --amn-font-body: "Public Sans", -apple-system, Segoe UI, Arial, sans-serif;
}

/* ---------- En-têtes de section ---------- */
.amn-section-head {
  max-width: 100%;
  margin: 0 0 44px;
}
.amn-section-head h2 {
  font-family: var(--amn-font-display);
  font-weight: 600;
  font-size: 3rem;
  color: var(--amn-ink);
  margin: 0 0 8px;
}
.amn-section-head p {
  font-family: var(--amn-font-body);
  color: #000;
  font-size: 2rem;
  margin: 0;
}
.amn-section-head.light h2 {
  color: #fff;
}
.amn-section-head.light p {
  color: rgba(255, 255, 255, 0.7);
}

/* =========================================================
   1) AXES STRATEGIQUES — grille 2 / 2 / 3
   ========================================================= */
.amn-axes-section {
  background: var(--amn-paper);
  padding: 76px 0 64px;
}

.amn-axis-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}
/* 4 premières cartes : 2 par ligne (chacune prend 3/6 colonnes) */
.amn-axis-grid .amn-axis-card:nth-child(-n + 4) {
  grid-column: span 3;
}
/* 3 dernières cartes : 3 par ligne (chacune prend 2/6 colonnes) */
.amn-axis-grid .amn-axis-card:nth-child(n + 5) {
  grid-column: span 2;
}

.amn-axis-card {
  --accent: var(--amamus-blue-dark);
  background: #fff;
  border: 1px solid var(--amn-line);
  border-top: 4px solid var(--accent);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.amn-axis-card.c-pink {
  --accent: var(--amamus-pink);
}

.amn-axis-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.amn-axis-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--amn-font-display);
  font-weight: 600;
  font-size: 2rem;
}
.amn-axis-icon {
  width: 38px;
  height: 38px;
  border: 1px solid var(--amn-line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 20px;
}
.amn-axis-card h4 {
  font-family: var(--amn-font-display);
  font-weight: 600;
  font-size: 1.8rem;
  color: var(--amn-ink);
  margin: 0;
}
.amn-axis-card p {
  font-family: var(--amn-font-body);
  color: var(--amn-ink-soft);
  font-size: 1.4rem;
  line-height: 1.55;
  margin: 0;
}
.amn-axis-objectif {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 14px;
  background: var(--amn-paper-alt);
  border-left: 3px solid var(--accent);
  font-family: var(--amn-font-body);
  font-size: 1.2rem;
  color: var(--amn-ink);
  margin-top: auto;
}
.amn-axis-objectif i {
  color: var(--accent);
  margin-top: 3px;
}

@media (max-width: 980px) {
  .amn-axis-grid {
    grid-template-columns: 1fr 1fr;
  }
  .amn-axis-grid .amn-axis-card {
    grid-column: span 1 !important;
  }
}
@media (max-width: 600px) {
  .amn-axis-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   2) DEFIS & SOLUTIONS — rose / bleu
   ========================================================= */
.amn-compare-section {
  background: var(--amn-paper-alt);
  padding: 10px 0;
}
.amn-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 48px;
}
.amn-compare-divider {
  background: var(--amn-line);
}
.amn-compare-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 15px;
}
.amn-compare-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex: none;
}
.difficulties .amn-compare-icon {
  background: rgba(214, 51, 108, 0.1);
  color: var(--amamus-pink);
}
.solutions .amn-compare-icon {
  background: rgba(30, 115, 199, 0.1);
  color: var(--amamus-blue);
}
.amn-compare-heading h4 {
  font-family: var(--amn-font-display);
  font-weight: 600;
  font-size: 2rem;
  color: var(--amn-ink);
  margin: 0;
}
.amn-compare-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.amn-compare-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px dashed var(--amn-line);
  font-family: var(--amn-font-body);
  font-size: 1.5rem;
  color: var(--amn-ink-soft);
}
.amn-compare-list li:last-child {
  border-bottom: none;
}
.difficulties .amn-compare-list i {
  color: var(--amamus-pink);
  margin-top: 3px;
  font-size: 0.85rem;
}
.solutions .amn-compare-list i {
  color: var(--amamus-blue);
  margin-top: 3px;
  font-size: 1rem;
}

@media (max-width: 767px) {
  .amn-compare-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .amn-compare-divider {
    display: none;
  }
}

/* =========================================================
   3) PERSPECTIVES 2026 — bandeau navy
   ========================================================= */
.amn-perspectives-section {
  background: var(--amamus-navy);
  padding: 10px 0;
}
.amn-perspectives-section .amn-section-head {
  position: relative;
  padding-top: 18px;
}
.amn-perspectives-section .amn-section-head::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 3px;
  background: var(--amamus-blue);
}
.amn-perspectives-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
}
.amn-perspective-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.amn-perspective-item:nth-last-child(-n + 2) {
  border-bottom: none;
}
.amn-perspective-item i {
  width: 22px;
  height: 22px;
  border: 1px solid var(--amamus-pink-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amamus-pink-light);
  font-size: 1rem;
  flex: none;
  margin-top: 2px;
}
.amn-perspective-item span {
  font-family: var(--amn-font-body);
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.5;
}

@media (max-width: 767px) {
  .amn-perspectives-grid {
    grid-template-columns: 1fr;
  }
  .amn-perspective-item:nth-last-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .amn-perspective-item:last-child {
    border-bottom: none;
  }

  .amn-perspective-item span {
  font-family: var(--amn-font-body);
  font-size: 1.5rem;
  color: #000;
  line-height: 1.5;
}
}

/* ===== Organigramme : régions (version autonome) ===== */
.amn-reg-wrapper {
    --gap: 18px;
    --stem: 30px;
    --line: #3fa9dc;
    position: relative;
    padding-top: var(--stem);
    margin: 10px 0 30px;
}

/* Trait vertical qui descend vers la barre (supprime ce bloc si tu as
   déjà un trait vertical au-dessus de cette zone) */
.amn-reg-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 3px;
    height: var(--stem);
    background: var(--line);
    transform: translateX(-50%);
}

.amn-reg-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    column-gap: var(--gap);
    row-gap: 28px;
    margin-top: var(--stem);
}

.amn-reg-item {
    position: relative;
}

/* Barre horizontale (1re rangée seulement) */
.amn-reg-item.is-top::before {
    content: '';
    position: absolute;
    top: calc(-1 * var(--stem));
    left: calc(var(--gap) / -2);
    right: calc(var(--gap) / -2);
    height: 3px;
    background: var(--line);
}
.amn-reg-item.is-top:first-child::before {
    left: auto;
    inset-inline-start: 50%;
}
.amn-reg-item.is-top:nth-child(6)::before {
    right: auto;
    inset-inline-end: 50%;
}

/* Trait vertical vers la carte (1re rangée seulement) */
.amn-reg-item.is-top::after {
    content: '';
    position: absolute;
    top: calc(-1 * var(--stem));
    left: 50%;
    width: 3px;
    height: var(--stem);
    background: var(--line);
    transform: translateX(-50%);
}

.amn-reg-card {
    height: 100%;
    padding: 22px 12px;
    text-align: center;
    border-radius: 14px;
    border: 1px solid #b6dbf5;
    background: linear-gradient(135deg, #d6ecfd 0%, #bcdcf6 100%);
    box-shadow: 0 6px 16px rgba(20, 24, 43, 0.08);
}

.amn-reg-dot {
    display: block;
    width: 12px;
    height: 12px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: #1e88d6;
}

.amn-reg-label {
    display: block;
    font-size: 14px;
    color: #3d6a8d;
    margin-bottom: 4px;
}

.amn-reg-card strong {
    display: block;
    font-size: 17px;
    color: #0f4c81;
    word-break: break-word;
}

/* Tablette : 4 colonnes, plus de traits (les colonnes ne correspondent plus) */
@media (max-width: 991px) {
    .amn-reg-wrapper { padding-top: 0; }
    .amn-reg-wrapper::before,
    .amn-reg-item.is-top::before,
    .amn-reg-item.is-top::after { display: none; }
    .amn-reg-grid { grid-template-columns: repeat(4, 1fr); margin-top: 0; }
}

/* Téléphone : 2 colonnes */
@media (max-width: 767px) {
    .amn-reg-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}