@import url("theme-variables.css");

body {
   margin: 0;
   overflow-x: hidden;
   background: var(--cbf-fond-apropos);
   background-attachment: fixed;
}

/* Nav Bar*/

.fond_header { width: 100%; }

.position_header {
   height: 150px;
   display: flex;
   align-items: center;
   padding: 0 40px;
   z-index: 1;
}

.box_tete {
   position: fixed;
   bottom: 200;
   left: 0;
   right: 0;
   height: 150px;
   background-color: transparent;
   display: flex;
   align-items: center;
   padding: 0 40px;
   z-index: 10;
   transition: background 0.4s ease, box-shadow 0.4s ease;
   /* Liseré doré en bas — signature visuelle */
   border-bottom: 1px solid transparent;
}

.box_tete.header-scrolled {
   backdrop-filter: blur(12px);
   -webkit-backdrop-filter: blur(12px);
   background: rgba(11,11,15,0.85);
   border-bottom-color: var(--cbf-violet-sombre);
   box-shadow: 0 2px 32px rgba(0,0,0,0.55);
}

.position_logo { position: absolute; z-index: 1; }
.image_logo    { height: 80px; }

.center_header {
   display: flex;
   justify-content: center;
   margin: auto;
   align-items: center;
   gap: 40px;
}

.texte_head {
   text-decoration: none;
   font-size: 22px;
   font-family: "Baloo 2", sans-serif;
   font-weight: 700;
   color: var(--cbf-texte-nav);
   position: relative;
   display: inline-block;
   padding-bottom: 6px;
   letter-spacing: 0.03em;
   transition: color 0.3s ease;
}
.texte_head:hover { color: var(--cbf-violet-vif); }

.texte_head::after {
   content: "";
   position: absolute;
   left: 0; bottom: 0;
   width: 100%; height: 2px;
   background: linear-gradient(90deg, var(--cbf-turcoise), var(--cbf-violet-vif));
   transform: scaleX(0);
   transform-origin: left;
   transition: transform 0.45s ease;
   border-radius: 1px;
}
.texte_head:hover::after,
.texte_head:focus-visible::after,
.texte_head.page_actuel::after { transform: scaleX(1); }
.texte_head.page_actuel { color: var(--cbf-turcoise); }

.menu-hamburger {
   display: none;
   position: absolute;
   right: 35px;
   width: 80px;
}

/* CONTENU À PROPOS */

.disposition_contenu { padding: 100px 85px 60px; }

.disposition_titre {
   display: flex;
   justify-content: left;
   margin-bottom: 8px;
}

/* Liseré doré à gauche sur les titres — élément signature */
.titre_apropos {
   font-size: 40px;
   font-weight: 700;
   font-family: "Baloo 2", sans-serif;
   color: var(--cbf-violet-vif);
   padding-left: 20px;
   border-left: 3px solid var(--cbf-turcoise);
   letter-spacing: 0.02em;
}

.disposition_texte {
   display: flex;
   justify-content: left;
   padding: 24px 40px 24px 60px;
}

.texte_apropos {
   font-size: 23px;
   font-weight: 400;
   font-family: "Rubik", sans-serif;
   color: var(--cbf-creme);
   line-height: 1.65;
   opacity: 0.9;
}

/* FOOTER */

.footer {
   display: flex;
   flex-direction: row;
   justify-content: space-around;
   align-items: center;
   height: 150px;
   background: var(--cbf-footer-bg);
   backdrop-filter: blur(12px);
   -webkit-backdrop-filter: blur(12px);
   border-top: 1px solid var(--cbf-violet-sombre);
   box-shadow: 0 -4px 30px rgba(0,0,0,0.45);
}

.texte_footer {
   font-weight: 700;
   font-size: 22px;
   font-family: "Baloo 2", sans-serif;
   text-decoration: none;
   color: var(--cbf-turcoise);
   letter-spacing: 0.02em;
   transition: color 0.3s ease;
}
.texte_footer:hover { color: var(--cbf-violet-vif); }

/* RESPONSIVE */

@media (max-width: 1060px) and (min-width: 970px) {
   .texte_footer { font-size: 20px; }
}

@media screen and (max-width: 800px) {
   .center_header {
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 100vh;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      background-color: var(--cbf-menu-mobile-bg);
      backdrop-filter: blur(15px);
      margin-left: -100%;
      transition: all 0.5s ease;
      z-index: 1;
      gap: 25px;
   }
   .mobile-menu { margin-left: 0; }
   .texte_head  { font-size: 1.4em; }
   .menu-hamburger { display: block; z-index: 3; }
   .image_logo  { margin-left: 30%; height: 80px; }
   .droite      { margin-right: 30%; }
   .box_tete    { justify-content: space-between; padding: 0; }

   .disposition_contenu { padding: 10px; }
   .disposition_titre   { justify-content: center; text-align: center; align-items: center; }

   .titre_apropos {
      font-size: 35px;
      border-left: none;
      padding-left: 0;
      border-bottom: 2px solid var(--cbf-turcoise);
      padding-bottom: 6px;
   }
   .disposition_texte {
      justify-content: center;
      text-align: center;
      align-items: center;
      padding: 20px;
   }
   .texte_apropos { font-size: 20px; }
}

@media screen and (max-width: 970px) {
   .footer       { flex-direction: column; height: 200px; }
   .texte_footer { font-size: 20px; }
}
