@charset "UTF-8";
/*
=========================================================
====== Au cœur du sens (ODL-ACS) – style backend ========
====== Charte : Cormorant Garamond / Raleway, #A80E53 ====
=========================================================
*/
/* Bootstrap Icons */
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css");
/* Google Font Body */
@import url("https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,300..700;1,300..700&display=swap");
/* Google Font Titles */
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500;1,600&display=swap");
/* Variables */
:root {
  --primary-color: #A80E53;
  --secondary-color: #7A0A3C;
  --tertiary-color: #575151;
  --light-grey: #F4F1ED;
  --cream: #FAF9F7;
  --line-color: #E7E3DE;
  --font-color: #0D0D0D;
  --font-white: #ffffff;
  --body-font: "Raleway", Arial, sans-serif;
  --title-font: "Cormorant Garamond", Georgia, serif;
  --footer-menu-background: #575151;
  --footer-info-background: #0D0D0D;
}

/* ====== Global Styles ====== */
html, body {
  font-family: var(--body-font);
  color: var(--font-color);
  background: var(--cream);
  margin: 0;
  padding: 0;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.01em;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
}

a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

h1 {
  font-family: var(--title-font);
  color: var(--font-color);
  font-size: 2.6rem;
  font-weight: 600;
  font-style: normal;
  line-height: 1.15;
}

h2 {
  font-family: var(--title-font);
  color: var(--primary-color);
  font-size: 1.9rem;
  font-weight: 600;
  font-style: normal;
}

h3 {
  font-family: var(--title-font);
  color: var(--font-color);
  font-size: 1.5rem;
  font-weight: 600;
  font-style: normal;
}

h4 {
  font-family: var(--title-font);
  color: var(--tertiary-color);
  font-size: 1.25rem;
  font-weight: 600;
  font-style: italic;
}

li::marker {
  color: var(--primary-color);
}

/* Transitions */
a, button {
  -webkit-transition: all ease-in 0.2s;
  -ms-transition: all ease-in 0.2s;
  -o-transition: all ease-in 0.2s;
  transition: all ease-in 0.2s;
}

/* ====== Header ====== */
.header-wrap {
  background: var(--font-white);
  border-bottom: 1px solid var(--line-color);
}

.header {
  display: flex;
  position: relative;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.header .branding {
  display: block;
  width: 260px;
}

.header .branding img {
  width: 100%;
}

.header .menu {
  display: block;
  width: auto;
}

.header .menu ul {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}

.header .menu ul li {
  display: inline-block;
  margin: 0;
  padding: 0 1rem;
}

.header .menu ul li:last-child {
  padding-right: 0;
}

.header .menu ul li a {
  color: var(--font-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  position: relative;
  text-transform: uppercase;
}

.header .menu ul li a:hover {
  color: var(--primary-color);
}

.header .menu ul li a:after {
  display: block;
  position: absolute;
  content: "";
  width: 0;
  height: 2px;
  left: 0;
  top: calc(100% + 1rem);
  background: var(--primary-color);
  -webkit-transition: all ease-in 0.2s;
  -ms-transition: all ease-in 0.2s;
  -o-transition: all ease-in 0.2s;
  transition: all ease-in 0.2s;
}

.header .menu ul li a:hover:after,
.formations .header .menu ul li.formations a:after,
.authors .header .menu ul li.authors a:after,
.gifts .header .menu ul li.gifts a:after,
.faq .header .menu ul li.faq a:after {
  width: 85%;
}

.header .menu ul li a .bi {
  color: var(--primary-color);
}

.header .menu-toggle {
  display: none;
}

/* Bandeau du programme */
.acs-banner {
  background: var(--cream) url("https://totale-sante-cdn.pubfac.io/uploads/ACS/acs-bandeau-site.jpg") center center/cover no-repeat;
  aspect-ratio: 1920/600;
  max-height: 340px;
  width: 100%;
}

/* ====== Contents ====== */
/* Components */
.cta {
  display: inline-block;
  margin: 0;
  padding: 0.65rem 2rem;
  background: var(--primary-color);
  color: var(--font-white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 3px;
  font-weight: 500;
}

.cta:hover {
  color: var(--font-white);
  text-decoration: none;
  background: var(--secondary-color);
}

.author-display .cta,
.join-cta .cta,
.upgrade-cta .cta {
  margin-top: 1rem;
}

.author-display {
  background: var(--font-white);
  border: 1px solid var(--line-color);
  margin: 2rem 0;
  padding: 1.5rem;
}

.author-display .author-img,
.cat-img {
  display: block;
  width: 300px;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  aspect-ratio: 1/1;
}

.author-display .author-img img,
.cat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.join-cta,
.upgrade-cta {
  margin: 2rem auto;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line-color);
  border-bottom: 1px solid var(--line-color);
  text-align: center;
}

.sub-categories {
  margin: 2rem auto;
  padding: 2rem 0 0 0;
  border-top: 1px solid var(--line-color);
  border-bottom: 1px solid var(--line-color);
}

.sub-categories .cat-item,
.steps-grid .step-item,
.authors-grid .author-item {
  margin-bottom: 2rem;
}

.sub-categories .cat-img,
.steps-grid .step-img,
.authors-grid .author-img {
  margin-bottom: 1rem;
  overflow: hidden;
}

.steps-list .step-img,
.authors-list .author-img {
  overflow: hidden;
}

.sub-categories .cat-img img,
.steps-grid .step-img img,
.steps-list .step-img img,
.authors-grid .author-img img,
.authors-list .author-img img {
  -webkit-transition: all ease-in 0.3s;
  -ms-transition: all ease-in 0.3s;
  -o-transition: all ease-in 0.3s;
  transition: all ease-in 0.3s;
  transform-style: preserve-3d;
}

.sub-categories .cat-img:hover img,
.steps-grid .step-img:hover img,
.steps-list .step-img:hover img,
.authors-grid .author-img:hover img,
.authors-list .author-img:hover img {
  transform: scale(1.05);
}

.sub-categories .cat-title h3,
.steps-grid .step-title h3,
.authors-grid .author-title h3 {
  font-size: 1.4rem;
  color: var(--font-color);
}

.steps-list .step-title h3,
.authors-list .author-title h3 {
  font-size: 1.45rem;
  color: var(--font-color);
}

.sub-categories .cat-item .cta,
.steps-grid .step-item .cta,
.authors-grid .author-item .cta {
  margin-top: 1rem;
}

.steps-list .step-item .cta,
.authors-list .author-item .cta {
  width: 100%;
  text-align: center;
}

.steps-list .step-item,
.authors-list .author-item {
  padding: 1rem;
  background: var(--font-white);
  border: 1px solid var(--line-color);
  margin-bottom: 1.5rem;
}

.step-item audio {
  width: 100%;
}

.steps-list .step-item:last-child,
.authors-list .author-item:last-child {
  margin-bottom: 0;
}

.author-intro .author-img {
  display: block;
  width: 360px;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  aspect-ratio: 1/1;
}

.author-intro .author-img img,
.cat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-intro .author-long-name {
  margin-bottom: 1.5rem;
  font-style: italic;
  font-weight: bold;
}

.step-video {
  padding: 1.5rem 0;
}

.step-files {
  padding: 1rem 0;
  margin: 1rem auto;
  border-top: 1px solid var(--line-color);
  border-bottom: 1px solid var(--line-color);
}

.step-files .file-pdf,
.step-files .file-audio {
  padding: 0.75rem;
  background: var(--light-grey);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.step-files .file-pdf {
  margin-bottom: 0.5rem;
}

.step-files .file-icon {
  font-size: 2rem;
  color: var(--primary-color);
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
}

.step-files .file-text {
  text-transform: uppercase;
  display: inline-block;
  vertical-align: middle;
  margin-left: 0.75rem;
  line-height: 1;
}

.step-files .file-player {
  line-height: 0;
}

.step-text {
  padding-top: 2rem;
}

.faq-block {
  border-top: 1px solid var(--line-color);
  border-right: 1px solid var(--line-color);
  border-left: 1px solid var(--line-color);
  -webkit-border-radius: 3px;
  border-radius: 3px;
  overflow: hidden;
  background: var(--font-white);
}

.faq-block .question-title {
  display: block;
  font-weight: 500;
  background-color: var(--light-grey);
  border-bottom: 1px solid var(--line-color);
  -webkit-border-radius: 0 0 3px 3px;
  border-radius: 0 0 3px 3px;
  cursor: pointer;
  padding: 15px 20px;
  position: relative;
}

.faq-block .question-title .bi {
  color: var(--primary-color);
}

.faq-block .question-title .title-arrow {
  color: var(--primary-color);
  display: block;
  position: absolute;
  right: 20px;
  top: 15px;
  transition: all ease-in 0.2s;
  -webkit-transition: all ease-in 0.2s;
  -ms-transition: all ease-in 0.2s;
  -o-transition: all ease-in 0.2s;
}

.faq-block.active .question-title .title-arrow {
  transform: rotate(180deg);
}

.faq-block .answer {
  display: none;
  border-bottom: 1px solid var(--line-color);
  -webkit-border-radius: 0 0 3px 3px;
  border-radius: 0 0 3px 3px;
  padding: 20px;
}

.faq-block.block-1 .answer {
  display: block;
}

.no-content-available {
  padding: 3rem !important;
  background-color: var(--font-white);
  border: 1px solid var(--line-color);
  text-align: center;
  border-radius: 3px;
}

.no-content-available p {
  font-weight: 400;
  margin: 0;
  font-style: italic;
  text-transform: uppercase;
  color: var(--tertiary-color);
}

/* ====== Footer ====== */
.footer-menu {
  padding: 1.5rem 0;
  background: var(--footer-menu-background);
}

.footer-menu-wrap {
  display: flex;
  justify-content: space-between;
}

.footer-menu-wrap a {
  color: var(--font-white);
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

.footer-menu-wrap a:hover {
  opacity: 1;
  text-decoration: none !important;
}

.footer-info {
  color: var(--font-white);
  padding: 2rem 0;
  background: var(--footer-info-background);
}

.footer-info .copyright {
  margin-bottom: 1.5rem;
}

.footer-info .disclaimer {
  font-weight: 300;
  opacity: 0.85;
}

/* ====== Responsive ====== */
@media screen and (max-width: 1024px) {
  .header {
    z-index: 9999;
  }
  .header .branding {
    z-index: 999;
    width: 200px;
  }
  .header .menu-toggle {
    display: block;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: all ease-in 0.3s;
    -webkit-transition: all ease-in 0.3s;
    -ms-transition: all ease-in 0.3s;
    -o-transition: all ease-in 0.3s;
    cursor: pointer;
    z-index: 999;
  }
  .header .menu-toggle .hamburger {
    display: inline-block;
    height: 22px;
    margin-left: 0;
    width: 35px;
    position: relative;
    vertical-align: middle;
  }
  .header .menu-toggle .hamburger span,
  .header .menu-toggle .hamburger span:after,
  .header .menu-toggle .hamburger span:before {
    background-color: var(--primary-color);
    content: "";
    display: block;
    height: 3px;
    transition: all ease-in 0.2s;
    -webkit-transition: all ease-in 0.2s;
    -ms-transition: all ease-in 0.2s;
    -o-transition: all ease-in 0.2s;
    width: 100%;
  }
  .header .menu-toggle .hamburger span:before {
    position: absolute;
    margin-top: 10px;
  }
  .header .menu-toggle .hamburger span:after {
    position: absolute;
    margin-top: 20px;
  }
  .header .menu-toggle.active span,
  .header .menu-toggle.active .hamburger span:before,
  .header .menu-toggle.active .hamburger span:after {
    background-color: transparent;
  }
  .header .menu-toggle.active span:before {
    background-color: var(--secondary-color) !important;
    margin-top: 10px;
    transform: rotate(45deg);
  }
  .header .menu-toggle.active span:after {
    background-color: var(--secondary-color) !important;
    margin-top: 10px !important;
    transform: rotate(-45deg);
  }
  .header .main-menu {
    display: block;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    flex-direction: row;
    position: fixed;
    right: -100%;
    top: 0;
    width: 100%;
    min-height: 100%;
    padding: 0;
    margin: 0;
    text-align: left;
    background: rgba(250, 249, 247, 0.98);
    transition: all ease-in 0.5s;
    -webkit-transition: all ease-in 0.5s;
    -ms-transition: all ease-in 0.5s;
    -o-transition: all ease-in 0.5s;
    z-index: -1;
  }
  .header .main-menu.active {
    right: 0;
  }
  .header .menu ul {
    padding: 2rem 0;
    border-top: 1px solid var(--line-color);
    border-bottom: 1px solid var(--line-color);
  }
  .header .menu ul li {
    display: block;
    padding: 1.5rem !important;
  }
  h1 {
    font-size: 2rem;
  }
}
/* ====== Ajouts repris du site REL (menu conditionnel, connexion, scripts) ====== */
.header-wrap.is-scrolled {
  box-shadow: 0 3px 14px -8px rgba(13, 13, 13, 0.35);
}

.header .search-block {
  flex: 0 1 auto;
  min-width: 0;
}

.bcb-visible.menu-logged-out {
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem;
  min-width: 0;
}

/* Page active : le body porte le slug de la page */
.mes-preferences .header .menu ul li.preferences a:after,
.mes-cadeaux .header .menu ul li.gifts a:after,
.michel-odoul .header .menu ul li.authors a:after {
  width: 85%;
}

/* Connexion (module backendlogin) */
.discoverylogin-modal {
  z-index: 999999999999;
}

.discoverylogin-modal h3 {
  color: var(--font-color);
}

.discoverylogin-modal h3 span,
.discoverylogin-modal .bi {
  color: var(--primary-color);
}

.header .menu ul li backendlogin {
  display: block;
  font-size: 0.9rem;
  line-height: initial;
  color: var(--font-color);
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.12em;
  position: relative;
  cursor: pointer;
}

.header .menu ul li backendlogin .bi {
  color: var(--primary-color);
}

.header .menu ul li backendlogin:after {
  content: " Se connecter";
}

.header .menu ul li backendlogin:hover {
  color: var(--primary-color);
}

.discovery-login-cta [data-discoverylogin-trigger]::after,
.acs-login backendlogin [data-discoverylogin-trigger]::after {
  content: "";
  position: absolute;
  inset: 0;
}

/* Bouton de connexion de la page d'accueil */
.acs-login {
  text-align: center;
}

.acs-login backendlogin {
  display: inline-block;
  position: relative;
  padding: 0.65rem 2rem;
  background: var(--primary-color);
  color: var(--font-white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 3px;
  font-weight: 500;
  cursor: pointer;
}

.acs-login backendlogin:after {
  content: " Accéder à mes vidéos";
}

.acs-login backendlogin:hover {
  background: var(--secondary-color);
}

/* Utilitaire posé par le script : module vide */
.is-empty-hidden {
  display: none !important;
}

/* Page Problèmes techniques (accordéons natifs) */
.tech-hero {
  background: var(--light-grey);
  border-bottom: 1px solid var(--line-color);
}

.tech-hero-inner {
  padding: 4rem 0;
  text-align: center;
}

.tech-eyebrow {
  display: block;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary-color);
}

.tech-lead {
  font-size: 1.1rem;
  color: var(--tertiary-color);
  margin: 0;
}

.tech-faq {
  max-width: 820px;
  margin: 0 auto;
  padding: 4rem 0 5rem;
}

.tech-item {
  border: 1px solid var(--line-color);
  border-radius: 6px;
  margin-bottom: 1rem;
  overflow: hidden;
  background: var(--font-white);
}

.tech-item > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.2rem 1.4rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--title-font);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--font-color);
  line-height: 1.35;
}

.tech-item > summary::-webkit-details-marker {
  display: none;
}

.tech-item > summary::after {
  content: "\f282";
  font-family: "bootstrap-icons";
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--light-grey);
  color: var(--primary-color);
  font-size: 0.85rem;
  transition: transform 0.25s ease-in;
}

.tech-item[open] > summary {
  background: var(--light-grey);
  border-bottom: 1px solid var(--line-color);
}

.tech-item[open] > summary::after {
  transform: rotate(180deg);
  background: var(--primary-color);
  color: var(--font-white);
}

.tech-answer {
  padding: 1.4rem;
  line-height: 1.7;
}

.tech-answer p:last-child {
  margin-bottom: 0;
}

.tech-answer code {
  background: var(--light-grey);
  border-radius: 3px;
  padding: 0.1rem 0.4rem;
}

@media screen and (max-width: 1024px) {
  .header .menu ul li backendlogin {
    font-size: 1rem;
  }
}
@media screen and (max-width: 767px) {
  .tech-hero-inner {
    padding: 2.75rem 0;
  }
  .tech-faq {
    padding: 2.75rem 0 3.5rem;
  }
  .tech-item > summary {
    font-size: 1.15rem;
  }
}