/* CDO Formation — design index5 (cdo_test_design) */

body.cdo-design {
  --cdo-font: 'Google Sans', sans-serif;
  --cdo-font-body: 'Google Sans', sans-serif;
  --cdo-font-heading: 'Google Sans', sans-serif;
  --cdo-primary: #4c6c7b;
  --cdo-primary-dark: #3a5561;
  --cdo-primary-light: #b4cad8;
  --cdo-accent: #A50021;
  --cdo-accent-hover: #8a001c;
  --cdo-text: #1f2432;
  --cdo-text-muted: #6c757d;
  color: var(--cdo-course-text);
  font-family: 'Google Sans', sans-serif;
}

body.cdo-design h1:not(.cdo-banner-title),
body.cdo-design h2,
body.cdo-design h3,
body.cdo-design h4,
body.cdo-design h5,
body.cdo-design h6,
body.cdo-design .h1:not(.cdo-banner-title),
body.cdo-design .h2,
body.cdo-design .h3,
body.cdo-design .h4,
body.cdo-design .h5,
body.cdo-design .h6 {
  color: var(--cdo-course-text) !important;
}

/* Titres sur fond rouge / image — restent blancs */
.cdo-page-banner .cdo-banner-title {
  color: #fff !important;
}

.cdo-page-banner .breadcrumb-item,
.cdo-page-banner .breadcrumb-item a,
.cdo-page-banner .breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.9) !important;
}

.cdo-page-banner .breadcrumb-item a:hover {
  color: #fff !important;
}

.cdo-intra-cta-inner h3,
.cdo-intra-cta-inner p {
  color: #fff !important;
}

body.cdo-design .cdo-intra-cta h3,
body.cdo-design .cdo-intra-cta p,
body.cdo-design .cdo-intra-cta-inner h3,
body.cdo-formation-fiche .cdo-intra-cta-inner h3,
body.cdo-formation-fiche .cdo-intra-cta-inner p {
  color: #fff !important;
}

body.cdo-design .home-cta h2,
body.cdo-design .home-cta p,
body.cdo-design .home-cta a.btn-cdo,
body.cdo-design .home-cta a.btn-cdo-outline,
body.cdo-design .home-cta a.btn-cdo:hover,
body.cdo-design .home-cta a.btn-cdo:focus,
body.cdo-design .home-cta a.btn-cdo-outline:hover,
body.cdo-design .home-cta a.btn-cdo-outline:focus {
  color: #fff !important;
}

body.cdo-design .home-cta a.btn-cdo i,
body.cdo-design .home-cta a.btn-cdo-outline i {
  color: #fff !important;
}

body.cdo-design .home-cta a.btn-cdo-outline:hover,
body.cdo-design .home-cta a.btn-cdo-outline:focus {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: #fff !important;
}

body.cdo-design.page-home .home-sidebar .card.card-outline .card-header,
body.cdo-design.page-home .home-sidebar .card.card-outline .card-header h3 {
  color: #fff !important;
}

.cdo-intra-cta-inner .cdo-intra-cta-note {
  color: rgba(255, 255, 255, 0.88) !important;
}

.cdo-intra-cta-inner .cdo-intra-cta-note strong {
  color: #fff !important;
}

body.cdo-design a:not(.btn):not(.btn-cdo):not(.btn-cdo-outline):not(.cdo-intra-cta-btn):not(.it-btn-yellow):not(.cdo-nav__link):not(.cdo-top-login):not(.cdo-nav-contact) {
  color: var(--cdo-course-primary);
}

body.cdo-design a:not(.btn):not(.btn-cdo):not(.btn-cdo-outline):not(.cdo-intra-cta-btn):not(.it-btn-yellow):not(.cdo-nav__link):not(.cdo-top-login):not(.cdo-nav-contact):hover,
body.cdo-design a:not(.btn):not(.btn-cdo):not(.btn-cdo-outline):not(.cdo-intra-cta-btn):not(.it-btn-yellow):not(.cdo-nav__link):not(.cdo-top-login):not(.cdo-nav-contact):focus {
  color: var(--cdo-course-accent);
}

/* Barre rouge du header — tout en blanc (maquette) */
body.cdo-design .cdo-header-top,
body.cdo-design .cdo-header-top a:not(.cdo-top-login),
body.cdo-design .cdo-header-top span,
body.cdo-design .cdo-header-top li {
  color: #fff !important;
}

body.cdo-design .cdo-header-top .cdo-top-info a:hover {
  color: #fff !important;
  text-decoration: underline;
}

body.cdo-design .cdo-header-top .cdo-top-info i {
  color: #fff !important;
}

/* Boutons sur fond rouge : texte blanc */
body.cdo-design .btn-danger,
body.cdo-design .btn-cdo-accent,
body.cdo-design .cdo-btn-red,
body.cdo-design .cdo-nav-contact,
body.cdo-design a.btn-danger,
body.cdo-design a.btn-cdo-accent,
body.cdo-design a.cdo-btn-red,
body.cdo-design a.cdo-nav-contact,
body.cdo-design button.btn-danger,
body.cdo-design button.btn-cdo-accent {
  color: #fff !important;
  --bs-btn-color: #fff;
  --bs-btn-hover-color: #fff;
  --bs-btn-active-color: #fff;
}

body.cdo-design .cdo-btn-red,
body.cdo-design .btn-danger.cdo-btn-red {
  background-color: #A50021 !important;
  border-color: #A50021 !important;
}

body.cdo-design .btn-danger:hover,
body.cdo-design .btn-danger:focus,
body.cdo-design .btn-cdo-accent:hover,
body.cdo-design .btn-cdo-accent:focus,
body.cdo-design .cdo-btn-red:hover,
body.cdo-design .cdo-btn-red:focus,
body.cdo-design .cdo-nav-contact:hover,
body.cdo-design .cdo-nav-contact:focus {
  color: #fff !important;
}

/* Typo Google Sans globale */
body.cdo-design,
body.cdo-design *:not(i):not(.bi):not([class^="bi-"]):not([class*=" bi-"]):not(.bx):not([class^="bx-"]):not([class*=" bx-"]) {
  font-family: 'Google Sans', sans-serif !important;
}

body.cdo-design .bi,
body.cdo-design i.bi,
body.cdo-design [class^="bi-"],
body.cdo-design [class*=" bi-"] {
  font-family: "bootstrap-icons" !important;
}

body.cdo-design .bx,
body.cdo-design [class^="bx-"],
body.cdo-design [class*=" bx-"] {
  font-family: "boxicons" !important;
}


:root {
  --cdo-course-primary: #4c6c7b;
  --cdo-course-badge: #708090; /* slategrey */
  --cdo-course-badge-hover: #5a6b78;
  --cdo-course-accent: #A50021;
  --cdo-course-text: #1f2432;
  --cdo-course-muted: #6c757d;
  --cdo-course-star: #F8C62F;
  --cdo-course-border: rgba(76, 108, 123, 0.1);
  --cdo-course-radius: 10px;
}

/* Bootstrap 5 max-width:1320px Ã©crase bootstrapXL width:1570px */
@media (min-width: 1600px) {
  .container {
    width: 1570px;
    max-width: 1570px;
  }
}
/* < 1400px : container pleine largeur */
@media (max-width: 1399.98px) {
  .container {
    width: 100% !important;
    max-width: 100% !important;
  }
}

.popularCourse .cdo-course-section-head {
  margin: 2.5rem 0 1.25rem;
}
.popularCourse .cdo-course-section-head:first-of-type {
  margin-top: 0.5rem;
}
.popularCourse .cdo-course-eyebrow {
  display: inline-block;
  background: rgba(76, 108, 123, 0.1);
  color: var(--cdo-course-primary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 0.6rem;
}

.popularCourse .cdo-course-section-head h3 {
  font-family: 'Google Sans', sans-serif;
  font-size: clamp(1.5rem, 2.2vw, 1.85rem);
  font-weight: 700;
  color: var(--cdo-course-text);
  margin: 0;
  line-height: 1.25;
}

.popularCourse .it-course-item {
  transition: .3s;
  border-radius: var(--cdo-course-radius);
  background-color: #fff;
  border: 1px solid var(--cdo-course-border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.popularCourse .it-course-item:hover {
  box-shadow: 0 20px 30px 0 rgba(1, 6, 20, 0.1);
}

.popularCourse .it-course-thumb {
  position: relative;
  overflow: hidden;
  border-radius: var(--cdo-course-radius);
  z-index: 1;
}
.popularCourse .it-course-thumb img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: 1.3s all ease;
}
.popularCourse .it-course-item:hover .it-course-thumb img {
  transform: scale(1.15);
}

.popularCourse .course-category {
  position: absolute;
  left: 16px;
  top: 16px;
  border-radius: 3px;
  padding: 4px 12px;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid rgba(112, 128, 144, 0.35);
  background-color: #708090 !important; /* slategrey */
  z-index: 2;
  line-height: 1.2;
}


.popularCourse .it-course-content {
  padding: 30px 24px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.popularCourse .it-course-title {
  font-family: 'Google Sans', sans-serif;
  font-weight: 600;
  line-height: 1.4;
  font-size: 1.35rem;
  margin-right: 0;
  min-height: 3.8em;
  padding-bottom: 15px;
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(108, 117, 125, 0.3);
}
.popularCourse .it-course-title a {
  color: var(--cdo-course-text);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .25s ease;
}
.popularCourse .it-course-item:hover .it-course-title a {
  color: var(--cdo-course-accent);
}

.popularCourse .it-course-meta {
  color: var(--cdo-course-muted);
  font-size: 0.9rem;
  gap: 0.5rem;
}
.popularCourse .it-course-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  max-width: 48%;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.popularCourse .it-course-meta span svg,
.popularCourse .it-course-meta span i.bi {
  flex-shrink: 0;
  line-height: 1;
  margin-top: -2px;
}
.popularCourse .it-course-meta span svg {
  margin-right: 0;
}
.popularCourse .it-course-meta span:first-child {
  padding-right: 16px;
  border-right: 1px solid #ccc;
  margin-right: 8px;
}

.popularCourse .it-course-btn {
  margin-top: auto;
  padding-top: 15px;
}
.popularCourse .it-btn-yellow {
  font-size: 15px;
  padding: 15px 22px;
  line-height: 1.1;
  font-weight: 500;
  text-align: center;
  transition: 0.4s;
  border-radius: 4px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-decoration: none;
  color: #fff;
  background-color: #708090 !important; /* slategrey */
}
.popularCourse .it-btn-yellow > span {
  position: relative;
  z-index: 1;
  overflow: hidden;
  display: inline-block;
  color: #fff;
  height: 1.2em;
}
.popularCourse .it-btn-yellow span span.text-1,
.popularCourse .it-btn-yellow span span.text-2 {
  display: block;
  transition: 0.3s;
  color: #fff;
}
.popularCourse .it-btn-yellow span span.text-2 {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  white-space: nowrap;
}
.popularCourse .it-btn-yellow i {
  display: inline-flex;
  margin-left: 10px;
  line-height: 1;
}
.popularCourse .it-btn-yellow svg {
  width: 14px;
  height: 14px;
  transition: 0.3s;
  color: #fff;
}
.popularCourse .it-course-item:hover .it-btn-yellow {
  background-color: #5a6b78 !important;
}
.popularCourse .it-course-item:hover .it-btn-yellow span span.text-1 {
  transform: translateY(-150%);
}
.popularCourse .it-course-item:hover .it-btn-yellow span span.text-2 {
  top: 50%;
  transform: translateY(-50%);
}

@media (max-width: 767.98px) {
  .popularCourse .it-course-thumb img {
    height: auto;
    object-fit: unset;
  }
  .popularCourse .it-course-content { padding: 24px 18px 26px; }
  .popularCourse .it-course-title {
    min-height: 0;
  }
  .popularCourse .it-course-title a {
    font-size: 20px;
  }
  .popularCourse .it-course-meta {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .popularCourse .it-course-meta span {
    max-width: 48%;
  }
}
/* â‰¥768px : gutters type gx-3 sur les grilles formations */
@media (min-width: 768px) {
  .popularCourse > .row {
    --bs-gutter-x: 1rem;
  }
}

/* Grille formations responsive */
.popularCourse .cdo-course-col {
  flex: 0 0 100%;
  max-width: 100%;
}
/* >= 1400px : 3 colonnes (dÃ©faut) */
@media (min-width: 1400px) {
  .popularCourse .cdo-course-col {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  .popularCourse .it-course-thumb img {
    height: 160px;
  }
  .popularCourse .it-course-title {
    font-size: 1.05rem;
    min-height: 3em;
  }
  .popularCourse .it-course-content {
    padding: 18px 14px 20px;
  }
  .popularCourse .it-course-meta {
    font-size: 0.8rem;
  }
  .popularCourse .it-btn-yellow {
    font-size: 13px;
    padding: 12px 14px;
  }
}
/* 1200px â€“ 1399px : 2 colonnes */
@media (max-width: 1399.98px) and (min-width: 1200px) {
  .popularCourse .cdo-course-col {
    flex: 0 0 50%;
    max-width: 50%;
  }
}
/* < 1200px : 3 colonnes, sans sidebar */
@media (max-width: 1199.98px) {
  .courses_section .cdo-sidebar {
    display: none !important;
  }
  .courses_section .post_left {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
  }
}
/* 992px â€“ 1199px : 3 colonnes */
@media (max-width: 1199.98px) and (min-width: 992px) {
  .popularCourse .cdo-course-col {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  .popularCourse .it-course-thumb img {
    height: 160px;
  }
  .popularCourse .it-course-title {
    font-size: 1.05rem;
    min-height: 3em;
  }
  .popularCourse .it-course-content {
    padding: 18px 14px 20px;
  }
  .popularCourse .it-course-meta {
    font-size: 0.8rem;
  }
  .popularCourse .it-btn-yellow {
    font-size: 13px;
    padding: 12px 14px;
  }
}
/* 768px â€“ 991px : 2 colonnes */
@media (max-width: 991.98px) and (min-width: 768px) {
  .popularCourse .cdo-course-col {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* Header style Raque / CDO â€” barre rouge + menu boxÃ© chevauchant */
.cdo-site-header {
  margin: 0;
  padding: 0;
  border: 0;
}
.cdo-header-top {
  background-color: #A50021;
  font-family: 'Google Sans', sans-serif;
  padding: 1.15rem 0 2.85rem;
  margin: 0;
  border: 0;
  position: relative;
  z-index: 1;
}
.cdo-header-top ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cdo-header-top a,
.cdo-header-top span,
.cdo-header-top li {
  color: #fff !important;
  font-size: 0.85rem;
  font-weight: 400;
}
.cdo-header-top .cdo-top-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.75rem;
}
.cdo-header-top .cdo-top-info li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.cdo-header-top .cdo-top-info i {
  font-size: 0.95rem;
  opacity: 0.95;
  color: #fff !important;
}
.cdo-header-top .cdo-top-info a:hover {
  color: #fff !important;
  text-decoration: underline;
}
.cdo-header-top .cdo-top-login {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #fff;
  color: #A50021 !important;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.45rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.cdo-header-top .cdo-top-login:hover {
  background: #f5f5f5;
  color: #8a001c !important;
  text-decoration: none;
}

/* Menu hors flux : chevauche la jonction rouge / image (pas de trait blanc) */
.cdo-main-nav-wrap {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -20%);
  z-index: 1030;
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100%;
}
.cdo-main-nav .cdo-nav-links > li.dropdown > .dropdown-menu {
  padding: 1.35rem 1rem;
}
.cdo-main-nav .cdo-nav-links > li.dropdown .dropdown-item {
  padding: 0.65rem 0.85rem;
}
.cdo-main-nav {
  background: #fff;
  border-radius: 0;
  box-shadow: 0 10px 40px rgba(1, 6, 20, 0.12);
  padding: 0.85rem 1.35rem;
  font-family: 'Google Sans', sans-serif !important;
}
.cdo-main-nav .cdo-nav-links > li.dropdown > .dropdown-menu {
  padding: 1.35rem 1rem;
}
.cdo-main-nav .cdo-nav-links > li.dropdown .dropdown-item {
  padding: 0.65rem 0.85rem;
}
.cdo-main-nav,
.cdo-main-nav a,
.cdo-main-nav button,
.cdo-main-nav .dropdown-item,
.cdo-main-nav .form-control {
  font-family: 'Google Sans', sans-serif !important;
}
.cdo-main-nav .cdo-nav-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.cdo-main-nav .navbar-brand.logo img {
  max-height: 52px;
  width: auto;
}
.cdo-main-nav .navbar-brand.qualiopi img {
  max-height: 48px;
  width: auto;
}
.cdo-main-nav .cdo-nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.cdo-main-nav .cdo-nav-links > li > a {
  color: #1f2432;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0;
  transition: color 0.2s ease;
}
.cdo-main-nav .cdo-nav-links > li > a:hover,
.cdo-main-nav .cdo-nav-links > li > a.active,
.cdo-main-nav .cdo-nav-links > li.show > a {
  color: #A50021;
}
.cdo-main-nav .cdo-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0.5rem;
}
.cdo-main-nav .cdo-nav-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1f2432;
  border: 0;
  background: transparent;
  border-radius: 50%;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}
.cdo-main-nav .cdo-nav-icon:hover {
  color: #A50021;
  background: rgba(165, 0, 33, 0.06);
}
.cdo-main-nav .cdo-nav-contact {
  background: #A50021;
  color: #fff !important;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  white-space: nowrap;
}
.cdo-main-nav .cdo-nav-contact:hover {
  background: #8a001c;
  color: #fff !important;
}

/* Bandeau hero collÃ© au rouge â€” le menu flotte dessus */
.cdo-page-banner {
  position: relative;
  z-index: 2;
  min-height: 280px;
  margin: 0 0 2.5rem;
  border: 0;
  display: flex;
  align-items: center;
  background-image: url("../img/home/slider/slider_image_0.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.cdo-page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(31, 36, 50, 0.72) 0%, rgba(31, 36, 50, 0.45) 55%, rgba(31, 36, 50, 0.28) 100%);
  pointer-events: none;
}
.cdo-page-banner .container-sm,
.cdo-page-banner .cdo-banner-bar {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 5rem;
  padding-bottom: 4.5rem;
}

body.cdo-design .courses_section,
body.cdo-design .single_content {
  padding-top: 2.5rem;
}
.cdo-page-banner .breadcrumb {
  text-align: left;
  padding: 0;
  margin: 0 0 0.75rem;
  background: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem;
}
.cdo-page-banner .breadcrumb-item,
.cdo-page-banner .breadcrumb-item a,
.cdo-page-banner .breadcrumb-item.active {
  font-family: 'Google Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
}
.cdo-page-banner .breadcrumb-item a:hover {
  color: #fff;
}
.cdo-page-banner .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.65);
  float: none;
  padding-right: 0.5rem;
}
.cdo-page-banner .cdo-banner-title {
  font-family: 'Google Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: #fff !important;
  margin: 0;
  line-height: 1.2;
}

.cdo-page-alert {
  font-family: 'Google Sans', sans-serif;
  border-left: 0;
  border-right: 0;
}

.cdo-page-alert .cdo-page-alert__message {
  line-height: 1.4;
}

.cdo-page-alert.alert-danger {
  background-color: #dc3545;
  color: #fff;
}

.cdo-page-alert.alert-success {
  background-color: #198754;
  color: #fff;
}

.cdo-page-alert.alert-warning {
  background-color: #ffc107;
  color: #1f2432;
}

.cdo-page-alert.alert-info {
  background-color: #0dcaf0;
  color: #1f2432;
}

/* Popup notification (login, inscription, etc.) */
.cdo-notif-modal .modal-backdrop.show {
  backdrop-filter: blur(4px);
  opacity: 0.55;
}

.cdo-notif-modal__content {
  border: 0;
  border-radius: 1rem;
  box-shadow: 0 1.5rem 3rem rgba(31, 36, 50, 0.18);
  overflow: hidden;
}

.cdo-notif-modal__body {
  padding: 2rem 2rem 1.75rem;
}

.cdo-notif-modal__icon {
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.cdo-notif-modal__content--danger .cdo-notif-modal__icon {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background: #dc3545;
  color: #fff;
  font-size: 3rem;
  line-height: 1;
}

.cdo-notif-modal__content--success .cdo-notif-modal__icon {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background: #198754;
  color: #fff;
  font-size: 3rem;
  line-height: 1;
}

.cdo-notif-modal__content--warning .cdo-notif-modal__icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: rgba(255, 193, 7, 0.18);
  color: #997404;
}

.cdo-notif-modal__content--info .cdo-notif-modal__icon,
.cdo-notif-modal__content--primary .cdo-notif-modal__icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: rgba(76, 108, 123, 0.12);
  color: var(--cdo-primary, #4c6c7b);
}

.cdo-notif-modal__title {
  font-family: 'Google Sans', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--cdo-text, #1f2432) !important;
  margin-bottom: 0.75rem;
}

.cdo-notif-modal__message {
  font-family: 'Google Sans', sans-serif;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--cdo-text-muted, #6c757d);
  margin-bottom: 1.5rem;
}

.cdo-notif-modal__btn {
  font-family: 'Google Sans', sans-serif;
  font-weight: 600;
  min-width: 8rem;
  padding: 0.6rem 1.75rem;
  border-radius: 2rem;
  border: 0;
  color: #fff;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.cdo-notif-modal__btn:hover,
.cdo-notif-modal__btn:focus {
  color: #fff;
  transform: translateY(-1px);
}

.cdo-notif-modal__content--danger .cdo-notif-modal__btn {
  background-color: #dc3545;
}

.cdo-notif-modal__content--danger .cdo-notif-modal__btn:hover,
.cdo-notif-modal__content--danger .cdo-notif-modal__btn:focus {
  background-color: #bb2d3b;
}

.cdo-notif-modal__content--success .cdo-notif-modal__btn {
  background-color: #198754;
}

.cdo-notif-modal__content--success .cdo-notif-modal__btn:hover,
.cdo-notif-modal__content--success .cdo-notif-modal__btn:focus {
  background-color: #157347;
}

.cdo-notif-modal__content--warning .cdo-notif-modal__btn {
  background-color: #ffc107;
  color: #1f2432;
}

.cdo-notif-modal__content--warning .cdo-notif-modal__btn:hover,
.cdo-notif-modal__content--warning .cdo-notif-modal__btn:focus {
  background-color: #e0a800;
  color: #1f2432;
}

.cdo-notif-modal__content--info .cdo-notif-modal__btn,
.cdo-notif-modal__content--primary .cdo-notif-modal__btn {
  background-color: var(--cdo-accent, #A50021);
}

.cdo-notif-modal__content--info .cdo-notif-modal__btn:hover,
.cdo-notif-modal__content--info .cdo-notif-modal__btn:focus,
.cdo-notif-modal__content--primary .cdo-notif-modal__btn:hover,
.cdo-notif-modal__content--primary .cdo-notif-modal__btn:focus {
  background-color: var(--cdo-accent-hover, #8a001c);
}

.cdo-banner-home {
  display: none;
}

/* Accueil : menu seul au-dessus du slider (pas de fil d'Ariane) */
.cdo-page-banner.cdo-page-banner--home {
  position: relative;
  z-index: 3;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  display: block;
  overflow: visible;
  background: none !important;
}

.cdo-page-banner.cdo-page-banner--home::before {
  display: none !important;
}

body.cdo-design.page-home .home-hero {
  position: relative;
  z-index: 1;
  margin-top: -2.75rem;
}

@media (max-width: 991.98px) {
  .cdo-page-banner.cdo-page-banner--home {
    z-index: 2;
  }

  body.cdo-design.page-home .home-hero {
    margin-top: 0;
  }

  .cdo-header-top {
    padding: 0.85rem 0;
  }
  /* Menu pleine largeur */
  .cdo-main-nav-wrap,
  .cdo-main-nav-wrap.container {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .cdo-main-nav {
    padding: 0.65rem 1rem;
    border-radius: 0;
    box-shadow: none;
  }
  /* Bandeau image comme index.php (sous le menu) */
  .cdo-page-banner {
    min-height: 0;
    display: block;
    margin-bottom: 1.5rem;
    background-image: none !important;
    background-color: #fff;
    border-bottom: none;
  }
  .cdo-page-banner::before {
    display: none;
  }
  .cdo-banner-home {
    display: none;
  }
  .cdo-page-banner .cdo-banner-bar {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    max-width: 100%;
    min-height: 185px;
    margin: 0;
    padding: 1.5rem 1rem;
    overflow: visible;
    border-bottom: none;
    background-color: transparent;
    background-image: var(--cdo-banner-image, url("../img/home/slider/slider_image_0.jpg"));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
  .cdo-page-banner .cdo-banner-bar::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(31, 36, 50, 0.72) 0%, rgba(31, 36, 50, 0.45) 55%, rgba(31, 36, 50, 0.28) 100%);
    pointer-events: none;
    z-index: 0;
  }
  .cdo-page-banner .cdo-banner-bar > * {
    position: relative;
    z-index: 1;
  }
  .cdo-page-banner .breadcrumb {
    text-align: left;
    padding: 0;
    margin: 0 0 0.5rem !important;
    background: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.15rem;
  }
  .cdo-page-banner .breadcrumb-item,
  .cdo-page-banner .breadcrumb-item a,
  .cdo-page-banner .breadcrumb-item.active {
    font-family: 'Google Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.9);
    white-space: normal;
  }
  .cdo-page-banner .breadcrumb-item a:hover {
    color: #fff;
  }
  .cdo-page-banner .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.65);
    padding-right: 0.5rem;
  }
  .cdo-page-banner .cdo-banner-title {
    font-family: 'Google Sans', sans-serif;
    font-weight: 700;
    font-size: clamp(1.5rem, 5vw, 2rem);
    color: #fff !important;
    margin: 0;
    padding-left: 0;
    border-left: 0;
    line-height: 1.2;
    white-space: normal;
  }
}

/* Sidebar â€” style Educeet */
.cdo-sidebar {
  font-family: 'Google Sans', sans-serif;
}
.cdo-sidebar .card.card-outline {
  background: #fff;
  border: 1px solid rgba(76, 108, 123, 0.12);
  border-radius: 10px;
  box-shadow: 0 20px 30px 0 rgba(1, 6, 20, 0.1);
  overflow: hidden;
}
.cdo-sidebar .card.card-outline .card-header {
  background: transparent;
  border-bottom: 1px solid rgba(76, 108, 123, 0.1);
  padding: 1.25rem 1.5rem 1rem;
}
.cdo-sidebar .card.card-outline .card-header h3 {
  font-family: 'Google Sans', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--cdo-course-text);
  margin: 0;
}
.cdo-sidebar .card.card-outline .card-body {
  padding: 1.25rem 1.5rem 1.5rem;
  font-family: 'Google Sans', sans-serif;
}
.cdo-sidebar .card.card-outline a {
  font-family: 'Google Sans', sans-serif;
  text-decoration: none;
  color: inherit;
}
.cdo-sidebar .cdo-domain-list {
  list-style: none;
}
.cdo-sidebar .cdo-domain-list li + li {
  border-top: 1px solid rgba(76, 108, 123, 0.1);
}
.cdo-sidebar .cdo-domain-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 0;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--cdo-course-text);
  transition: color 0.25s ease;
}
.cdo-sidebar .cdo-domain-list a span {
  line-height: 1.35;
}
.cdo-sidebar .cdo-domain-list a i {
  flex-shrink: 0;
  font-size: 0.85rem;
  color: var(--cdo-course-muted);
  transition: transform 0.25s ease, color 0.25s ease;
}
.cdo-sidebar .cdo-domain-list a:hover {
  color: var(--cdo-course-accent);
}
.cdo-sidebar .cdo-domain-list a:hover i {
  color: var(--cdo-course-accent);
  transform: translateX(3px);
}
.cdo-sidebar .card.card-outline hr {
  margin: 0.85rem 0;
  opacity: 0.12;
}
.cdo-sidebar .related_post_sec .rel_right h4 {
  font-family: 'Google Sans', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0 0 0.35rem;
  line-height: 1.35;
}
.cdo-sidebar .related_post_sec .rel_right h4 a {
  color: var(--cdo-course-text);
  transition: color 0.25s ease;
}
.cdo-sidebar .related_post_sec .rel_right h4 a:hover {
  color: var(--cdo-course-accent);
}
.cdo-sidebar .related_post_sec .text-secondary {
  font-family: 'Google Sans', sans-serif;
  font-weight: 400;
  font-size: 0.8rem;
}
.cdo-sidebar .related_post_sec .text-secondary div {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  line-height: 1.35;
}
.cdo-sidebar .related_post_sec .text-secondary div i.bi {
  flex-shrink: 0;
  line-height: 1;
  font-size: 0.9em;
  margin-top: -1px;
}
.cdo-sidebar .cdo-session-date {
  flex: 0 0 auto;
  width: 58px;
  min-width: 58px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.35rem;
  border: 0;
  border-radius: 6px;
  background-color: var(--cdo-course-accent);
  color: #fff;
  font-family: 'Google Sans', sans-serif;
  line-height: 1.15;
  text-align: center;
}
.cdo-sidebar .cdo-session-date .fs-3,
.cdo-sidebar .cdo-session-date p:first-child {
  font-weight: 700;
  font-size: 1.35rem;
  margin: 0;
  color: #fff;
}
.cdo-sidebar .cdo-session-date p {
  margin: 0;
  font-weight: 500;
  font-size: 0.75rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.cdo-sidebar .btn {
  font-family: 'Google Sans', sans-serif;
  font-weight: 600;
}

/* Footer — indicateurs qualité */
.cdo-footer__indicators {
  background: linear-gradient(180deg, #f8fafb 0%, #fff 100%);
  border-top: 1px solid var(--cdo-course-border);
  border-bottom: 1px solid var(--cdo-course-border);
  padding: 1.75rem 0;
  font-family: 'Google Sans', sans-serif;
}

.cdo-indicator {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  height: 100%;
  padding: 1.15rem 1.35rem;
  background: #fff;
  border: 1px solid rgba(76, 108, 123, 0.12);
  border-radius: 12px;
  box-shadow: 0 14px 28px rgba(1, 6, 20, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cdo-indicator:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(1, 6, 20, 0.1);
}

.cdo-indicator__icon {
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(165, 0, 33, 0.1);
  color: var(--cdo-course-accent);
  font-size: 1.45rem;
}

.cdo-indicator__icon--satisfaction {
  background: rgba(248, 198, 47, 0.18);
  color: #c99200;
}

.cdo-indicator__body {
  min-width: 0;
}

.cdo-indicator__label {
  margin: 0 0 0.2rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--cdo-course-muted);
  line-height: 1.35;
}

.cdo-indicator__value {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--cdo-course-text);
}

.cdo-indicator__loading {
  display: inline-block;
  min-width: 2.5rem;
  color: var(--cdo-course-muted);
  animation: cdo-indicator-pulse 1.2s ease-in-out infinite;
}

@keyframes cdo-indicator-pulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

@media (max-width: 575.98px) {
  .cdo-footer__indicators {
    padding: 1.25rem 0;
  }

  .cdo-indicator {
    padding: 1rem 1.1rem;
  }

  .cdo-indicator__icon {
    width: 46px;
    height: 46px;
    font-size: 1.2rem;
  }
}

/* Footer site — fond rouge CDO (maquette cdo_test_design) */
body.cdo-design .cdo-site-footer {
  background-color: #A50021;
  color: #fff;
  font-family: 'Google Sans', sans-serif;
  margin-top: auto;
}

body.cdo-design .cdo-site-footer .menuFooter {
  background-color: #A50021;
  border-top: 0;
  width: 100%;
  padding: 3.5rem 0 3rem;
}

body.cdo-design .cdo-site-footer .menuFooter,
body.cdo-design .cdo-site-footer .menuFooter a,
body.cdo-design .cdo-site-footer .menuFooter h3,
body.cdo-design .cdo-site-footer .menuFooter h5,
body.cdo-design .cdo-site-footer .menuFooter address,
body.cdo-design .cdo-site-footer .menuFooter p,
body.cdo-design .cdo-site-footer .menuFooter li,
body.cdo-design .cdo-site-footer .menuFooter span,
body.cdo-design .cdo-site-footer .menuFooter .place {
  color: #fff !important;
}

body.cdo-design .cdo-site-footer .menuFooter a:hover,
body.cdo-design .cdo-site-footer .menuFooter a:focus,
body.cdo-design .cdo-site-footer .menuFooter .place:hover,
body.cdo-design .cdo-site-footer .menuFooter .place:focus {
  color: rgba(255, 255, 255, 0.85) !important;
  text-decoration: underline;
}

body.cdo-design .cdo-site-footer .menuFooter .menuLink {
  list-style: none;
  margin: 0;
  padding: 0;
}

body.cdo-design .cdo-site-footer .menuFooter .menuLink li a {
  font-family: 'Google Sans', sans-serif;
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 2;
  text-decoration: none;
}

body.cdo-design .cdo-site-footer .menuFooter h5 {
  font-family: 'Google Sans', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  margin: 0 0 0.85rem;
}

body.cdo-design .cdo-site-footer .menuFooter h3,
body.cdo-design .cdo-site-footer .menuFooter .contactNo h3 a {
  font-family: 'Google Sans', sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  margin: 0;
  text-decoration: none;
}

body.cdo-design .cdo-site-footer .menuFooter .borderLeft {
  border-left: 1px solid rgba(255, 255, 255, 0.35);
}

body.cdo-design .cdo-site-footer .menuFooter .footer-address address {
  font-style: normal;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

body.cdo-design .cdo-site-footer .menuFooter .footer-address .place {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

body.cdo-design .cdo-site-footer .menuFooter .footer-address .place i,
body.cdo-design .cdo-site-footer .menuFooter .socialArea i {
  color: #fff;
}

body.cdo-design .cdo-site-footer .menuFooter .socialArea .list-inline {
  margin: 0 0 1.25rem;
  padding: 0;
}

body.cdo-design .cdo-site-footer > .footer {
  background-color: #A50021;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  padding: 1.75rem 0 2rem;
  width: 100%;
}

body.cdo-design .cdo-site-footer > .footer,
body.cdo-design .cdo-site-footer > .footer a,
body.cdo-design .cdo-site-footer > .footer p {
  color: #fff !important;
  font-family: 'Google Sans', sans-serif;
}

body.cdo-design .cdo-site-footer > .footer a:hover,
body.cdo-design .cdo-site-footer > .footer a:focus {
  color: rgba(255, 255, 255, 0.85) !important;
  text-decoration: underline;
}

body.cdo-design .cdo-site-footer > .footer .privacy_policy {
  text-align: right;
}

body.cdo-design .cdo-site-footer > .footer .privacy_policy a {
  margin-left: 1rem;
}

@media (max-width: 767.98px) {
  body.cdo-design .cdo-site-footer .menuFooter {
    padding: 2.5rem 0 2rem;
  }

  body.cdo-design .cdo-site-footer .menuFooter .borderLeft {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    margin-top: 1.5rem;
    padding-top: 1.5rem;
  }

  body.cdo-design .cdo-site-footer > .footer {
    padding: 1.5rem 0;
  }

  body.cdo-design .cdo-site-footer > .footer .privacy_policy {
    text-align: left;
    margin-top: 0.75rem;
  }

  body.cdo-design .cdo-site-footer > .footer .privacy_policy a {
    margin-left: 0;
    margin-right: 1rem;
  }
}

/* Formulaire inscription espace client — « Complétez vos informations » */
body.cdo-design .cdo-register-form .cdo-register-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--cdo-course-text, #1f2432);
}

body.cdo-design .cdo-register-form .form-control,
body.cdo-design .cdo-register-form .btn-group .btn,
body.cdo-design .cdo-register-form .form-check-label {
  font-size: 0.8125rem;
}

body.cdo-design .cdo-register-form .form-control {
  padding: 0.4rem 0.65rem;
}

