:root {

  /**
   * COLORS
   */

  /* background colors */
  --bg-white: rgb(249, 244, 244);
  --bg-light-gray: hsla(240, 1%, 83%, 1);
  --bg-jet: rgb(253, 252, 252);
  --bg-eerie-black: rgb(219, 214, 214);
  --bg-rich-black-fogra-29: rgb(250, 251, 255);
  --bg-smoky-black: rgb(249, 248, 248);
  --bg-black: rgb(237, 234, 234);

  /* gradient colors */
  --gradient-1: linear-gradient(to top, var(--bg-black) 0%, transparent 40%);
  --gradient-2: radial-gradient(circle at 75% 100%, hsla(79, 100%, 70%, 0.3) 0%, transparent 100%);

  /* text colors */
  --text-white: rgb(194, 164, 135);
  --text-light-gray: rgb(12, 12, 13);
  --text-rich-black-fogra-29: hsla(216, 42%, 12%, 1);
  --text-smoky-black: hsla(0, 0%, 6%, 1);
  --text-black: hsla(0, 0%, 0%, 1);

  /* border colors */
  --border-white: hsla(0, 0%, 100%, 1);
  --border-light-gray: hsla(240, 1%, 83%, 1);
  --border-gainsboro: hsla(220, 13%, 91%, 1);
  --border-eerie-black: hsla(0, 0%, 13%, 1);
  --border-smoky-black: hsla(0, 0%, 6%, 1);

  /**
   * TYPOGRAPHY
   */

  /* font family */
  --fontFamily-recoleta: 'Recoleta';
  --fontFamily-roboto: 'Roboto', sans-serif;

  /* font size */
  --fontSize-1: 3.6rem;
  --fontSize-2: 4.5rem;
  --fontSize-3: 4rem;
  --fontSize-4: 3rem;
  --fontSize-5: 2.4rem;
  --fontSize-6: 1.8rem;
  --fontSize-7: 2rem;
  --fontSize-8: 1.6rem;
  --fontSize-9: 1.5rem;
  --fontSize-10: 1.4rem;

  /* font weight */
  --weight-regular: 400;
  --weight-medium: 500;

  /**
   * SPACING
   */

  --section-spacing: 70px;

  /**
   * BORDER RADIUS
   */

  --radius-pill: 500px;
  --radius-circle: 50%;

  /**
   * TRANSITION
   */

  --transition-1: 0.25s ease;
  --transition-2: 0.5s ease;
  --transition-3: 1000ms cubic-bezier(0.03, 0.98, 0.52, 0.99) 0s;
  --cubic-in: cubic-bezier(0.51, 0.03, 0.64, 0.28);
  --cubic-out: cubic-bezier(0.05, 0.83, 0.52, 0.97);

}



/*-----------------------------------*\
  #RESET
\*-----------------------------------*/

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}



a,
img,
span,
input,
button,
textarea,
ion-icon { display: block; }

a {
  color: inherit;
  text-decoration: none;
}

img { height: auto; }

input,
button,
textarea {
  background: none;
  border: none;
  font: inherit;
}

input,
textarea { width: 100%; }

button { cursor: pointer; }

ion-icon { pointer-events: none; }

address { font-style: normal; }

html {
  font-size: 10px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-black);
  color: var(--text-light-gray);
  font-family: var(--fontFamily-roboto);
  font-size: var(--fontSize-8);
  line-height: 1.75;
  overflow: hidden;
}

body.loaded { overflow-y: auto; }

body.nav-active { overflow: hidden; }

::-webkit-scrollbar { width: 5px; }

::-webkit-scrollbar-track { border-inline-start: 1px solid var(--border-eerie-black); }

::-webkit-scrollbar-thumb { background-color: var(--bg-white); }



/*-----------------------------------*\
  #REUSED STYLE
\*-----------------------------------*/

.container { padding-inline: 16px; }

.btn\:hover {
  position: relative;
  z-index: 1;
}

.btn\:hover::before,
.btn\:hover::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  transition: var(--transition-1);
  will-change: transform;
  pointer-events: none;
}

.btn\:hover::after {
  border: 1px solid var(--bg-white);
  transform: scale(1.2);
  opacity: 0;
}

.btn\:hover:is(:hover, :focus-visible)::before {
  transform: scale(0.5);
  opacity: 0;
}

.btn\:hover:is(:hover, :focus-visible)::after {
  transform: scale(1);
  opacity: 1;
}

.text-center { text-align: center; }

.has-before,
.has-after {
  position: relative;
  z-index: 1;
}

.has-before::before,
.has-after::after {
  content: "";
  position: absolute;
}

.img-holder {
  aspect-ratio: var(--width) / var(--height);
  overflow: hidden;
  background-color: var(--bg-jet);
}

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

[data-tilt] { transition: var(--transition-3); }

.title {
  color: var(--text-white);
  font-family: var(--fontFamily-recoleta);
  font-weight: var(--weight-regular);
}

.h1 {
  font-size: var(--fontSize-1);
  line-height: 1.2;
}

.h2,
.h3,
.h4,
.h5 { line-height: 1.3; }

.h2 { font-size: var(--fontSize-3); }

.h3 { font-size: var(--fontSize-4); }

.h4 { font-size: var(--fontSize-5); }

.h5 { font-size: var(--fontSize-7); }

.h6 { font-size: var(--fontSize-6); }

.btn {
  color: var(--text-white);
  font-size: var(--fontSize-9);
  font-weight: var(--weight-medium);
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: max-content;
  height: 56px;
  padding-inline: 30px;
}

.btn::before { background-color: var(--bg-smoky-black); }

.btn ion-icon {
  font-size: 1.8rem;
  --ionicon-stroke-width: 50px;
}

.section {
  padding-block: var(--section-spacing);
  overflow-x: hidden;
}



/*-----------------------------------*\
  #PRELOADER
\*-----------------------------------*/

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  box-shadow: inset 55vw 0 0 0 var(--bg-white),
              inset -55vw 0 0 0 var(--bg-white);
  display: grid;
  place-items: center;
  z-index: 10;
}

.preloader.loaded {
  transition: 300ms ease 500ms;
  pointer-events: none;
  box-shadow: inset 0 0 0 0 var(--bg-white),
              inset 0 0 0 0 var(--bg-white);
}

.preloader .line {
  width: 1px;
  height: 100%;
  background-color: var(--bg-black);
  transition: var(--transition-2);
  animation: loading 1000ms linear forwards;
}

@keyframes loading {
  0% { transform: scaleY(0); }
  100% { transform: scaleY(0.3); }
}

.preloader.loaded .line { animation: loaded 500ms ease forwards; }

@keyframes loaded {
  0% { transform: scaleY(0.3); }

  100% {
    transform: scaleY(1);
    opacity: 0;
  }
}



/*-----------------------------------*\
  #HEADER
\*-----------------------------------*/



/*-----------------------------------*\
  #HERO
\*-----------------------------------*/

.hero {
  position: relative;
  padding-block-start: 120px;
}

.hero .container {
  display: grid;
  gap: 50px;
}

.banner-outline {
  position: relative;
  max-width: max-content;
  margin-inline: auto;
}

.banner-outline::after {
  top: 20px;
  right: 0;
  width: 100%;
  height: 100%;
  outline: 1px solid var(--border-eerie-black);
  border-radius: var(--radius-pill);
}

.hero-banner {
  position: relative;
  border-radius: var(--radius-pill);
}

.hero-banner::after {
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-image: var(--gradient-1);
  opacity: 0.7;
  pointer-events: none;
}

.banner-outline .span {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: var(--fontSize-4);
  min-width: max-content;
  z-index: 1;
}

.hero .btn {
  margin-block: 20px;
  margin-inline: auto;
}

.hero .shape {
  position: absolute;
  max-width: 100%;
  z-index: -1;
}

.hero .shape-1 {
  top: -60px;
  left: 120px;
}

.hero .shape-2 {
  top: 180px;
  left: 0;
}



/*-----------------------------------*\
  #SERVICE
\*-----------------------------------*/

.service {
  border-block-start: 1px solid var(--border-eerie-black);
  margin-block-start: var(--section-spacing);
}

.service .container { padding-inline: 0; }

.service-item { border-block-end: 1px solid var(--border-eerie-black); }

.service-card {
  position: relative;
  padding-block: 45px;
}

.service-card .card-icon {
  max-width: max-content;
  margin-inline: auto;
  transition: var(--transition-1);
}

.service-card .card-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -100%);
  color: var(--text-white);
  font-size: var(--fontSize-5);
  font-weight: var(--weight-regular);
  line-height: 1.3;
  opacity: 0;
  transition: var(--transition-1);
}

.service-card:is(:hover, :focus-visible) .card-title {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.service-card:is(:hover, :focus-visible) .card-icon { opacity: 0; }



/*-----------------------------------*\
  #ABOUT
\*-----------------------------------*/

.tab-container { border: 1px solid var(--border-eerie-black); }

.tab-btn {
  width: 100%;
  padding-block: 16px;
  border-block-end: 1px solid var(--border-eerie-black);
  transition: var(--transition-1);
}

.tab-btn:is(:hover, :focus-visible, .active) { background: var(--bg-eerie-black); }

.tab-content {
  display: none;
  padding: 30px;
}

.tab-content.active {
  display: block;
  animation: fade 500ms linear forwards;
}

@keyframes fade {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.tab-content .grid-list {
  display: grid;
  gap: 30px;
}

.tab-content .section-title { margin-block-end: 30px; }

.tab-content .section-text,
.about-item:not(:last-child) { margin-block-end: 20px; }

.about-item .span { line-height: 1.4; }

.social-list {
  display: flex;
  align-items: center;
  gap: 20px;
}

.social-link { color: var(--text-white); }

.skill-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-block: 30px 12px;
}

.skill-wrapper .span {
  font-family: var(--fontFamily-recoleta);
  font-weight: var(--weight-medium);
}

.progress-bar {
  background-color: var(--bg-smoky-black);
  height: 4px;
}

.progress-fill {
  background-color: var(--bg-white);
  height: 100%;
}

.interview-card { position: relative; }

.interview-card .btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  justify-content: center;
  border-radius: var(--radius-circle);
  color: var(--text-smoky-black);
}

.interview-card .btn::before,
.interview-card .btn::after { border-radius: inherit; }

.interview-card .btn::before { background-color: var(--bg-white); }

.interview-card .btn:is(:hover, :focus-visible) { color: var(--text-white); }

.exhibition-card { position: relative; }

.exhibition-card .card-icon {
  position: absolute;
  top: 30px;
  right: 30px;
  background-color: var(--bg-white);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-circle);
  color: var(--bg-smoky-black);
  display: grid;
  place-items: center;
}



/*-----------------------------------*\
  #CTA
\*-----------------------------------*/

.cta { border-block: 1px solid var(--border-eerie-black); }

.cta .section-title::before {
  content: "";
  display: block;
  background-color: var(--bg-white);
  width: 60px;
  height: 30px;
  border-radius: 30px 30px 0 0;
  margin-inline: auto;
  margin-block-end: 15px;
}

.cta .btn {
  margin-inline: auto;
  margin-block-start: 30px;
}



/*-----------------------------------*\
  #PROJECT
\*-----------------------------------*/

.project-card .card-banner::before {
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: var(--bg-rich-black-fogra-29);
  background-image: var(--gradient-2);
  opacity: 0;
  transition: var(--transition-1);
}

.project-card .card-banner:is(:hover, :focus-within)::before { opacity: 0.9; }

.project-card .btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -100%);
  min-width: max-content;
  opacity: 0;
  transition: var(--transition-2);
}

.project-card .card-banner:is(:hover, :focus-within) .btn {
  transform: translate(-50%, -50%);
  opacity: 1;
}

.project-card .card-content { padding: 24px 30px 0; }

.project-card .card-subtitle {
  font-size: var(--fontSize-10);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-block-end: 10px;
}

.project-card .card-title {
  display: inline;
  background-image: linear-gradient(var(--bg-white), var(--bg-white));
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 0 1px;
  transition: var(--transition-1);
}

.project-card .card-title:is(:hover, :focus-visible) { background-size: 100% 1px; }

.slider-list {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  overflow: auto;
  scroll-snap-type: inline mandatory;
  padding-block-end: 5px;
}

.slider-list::-webkit-scrollbar { display: none; }

.slider-item {
  min-width: 100%;
  scroll-snap-align: start;
}



/*-----------------------------------*\
  #TESTIMONIALS
\*-----------------------------------*/

.testi { border-block: 1px solid var(--border-eerie-black); }

.testi-content { padding-inline-start: 15px; }

.testi .section-text {
  text-indent: -15px;
  line-height: 1.5;
  margin-block-end: 20px;
}

.profile-card .card-banner { display: none; }

.profile-card .card-subtitle { font-size: var(--fontSize-10); }



/*-----------------------------------*\
  #CONTACT
\*-----------------------------------*/

.contact .section-title {
  font-size: var(--fontSize-1);
  margin-block-end: 25px;
  text-align: center; /* Centre le titre de la section */
}

.contact-content {
  display: grid;
  gap: 60px;
  justify-content: center; /* Centre le contenu de la grille */
}

.contact-form .input-field {
  height: 50px;
  padding-block: 12px;
  margin-block-end: 20px;
  color: var(--text-white);
  outline: none;
  border-block-end: 1px solid var(--border-eerie-black);
  transition: border-color var(--transition-1);
  width: 300%; /* Augmente la largeur des champs de saisie de 50% */
}

.contact-form .input-field::placeholder {
  color: var(--text-light-gray);
}

.contact-form .input-field:focus {
  border-color: var(--border-light-gray);
}

textarea.input-field {
  min-height: 165px;
  resize: none;
  width: 150%; /* Augmente la largeur des champs de texte de 50% */
}

.contact-form .btn {
  margin-block-start: 30px;
  display: block;
  margin-left: auto;
  margin-right: auto; /* Centre le bouton */
}

.contact .map {
  width: 100%;
  filter: grayscale(1);
}

.contact-item {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 15px;
}

.contact-item:not(:last-child) {
  padding-block-end: 30px;
  border-block-end: 1px solid var(--border-eerie-black);
  margin-block-end: 30px;
}

.contact-item .title {
  color: var(--text-light-gray);
}


/*-----------------------------------*\
  #FOOTER
\*-----------------------------------*/

.footer { border-block-start: 1px solid var(--border-eerie-black); }

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.copyright {
  flex-grow: 1;
  font-family: var(--fontFamily-recoleta);
}

.back-top-btn .span { display: none; }

.back-top-btn {
  color: var(--text-white);
  padding: 32px 16px;
  border-inline: 1px solid var(--border-eerie-black);
}



/*-----------------------------------*\
  #CUSTOM CURSOR
\*-----------------------------------*/

.cursor-dot,
.cursor-outline { display: none; }



/*-----------------------------------*\
  #MEDIA QUERIES
\*-----------------------------------*/

/**
 * responsive for large than 575px screen
 */

@media (min-width: 575px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * TYPOGRAPHY
     */

    /* font size */
    --fontSize-1: 5.6rem;
    --fontSize-5: 3.2rem;

  }



  /**
   * REUSED STYLE
   */

  .container {
    max-width: 540px;
    width: 100%;
    margin-inline: auto;
  }



  /**
   * HERO
   */

  .hero .banner-outline { max-width: 410px; }

  .hero .banner-outline::after { right: -15px; }



  /**
   * SERVICE
   */

  .service .container { max-width: unset; }

  .service-list {
    display: flex;
    flex-wrap: wrap;
  }

  .service-item { width: 50%; }

  .service-item:nth-child(2n) {
    border-inline-start: 1px solid var(--border-eerie-black);
  }

  .service-card .card-title { --fontSize-5: 2.4rem; }



  /**
   * ABOUT
   */

  .tab-btn-list {
    display: flex;
    flex-wrap: wrap;
  }

  .tab-btn-item {
    width: 50%;
    flex-grow: 1;
  }

  .tab-btn-item:nth-child(2n) {
    border-inline-start: 1px solid var(--border-eerie-black);
  }

  .tab-content { padding: 40px; }

  .about-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .interview-card {
    max-width: max-content;
    margin-inline: auto;
  }



  /**
   * TESTIMONIALS
   */

  .profile-card .card-banner {
    display: block;
    border-radius: var(--radius-circle);
  }

  .testi .profile-card {
    display: flex;
    align-items: center;
    gap: 20px;
  }

}



/**
 * responsive for large than 768px screen
 */

@media (min-width: 768px) {

  /** 
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * TYPOGRAPHY
     */

    /* font size */
    --fontSize-1: 6.6rem;

    /**
     * SPACING
     */
     
    --section-spacing: 100px;

  }



  /**
   * REUSED STYLE
   */

  .container { max-width: 720px; }



  /**
   * HERO
   */

  .hero { text-align: left; }

  .hero .container {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
  }

  .banner-outline { order: 1; }

  .hero .btn { margin-inline: 0; }



  /**
   * SERVICE
   */

  .service-item { width: 25%; }

  .service-item:not(:last-child) {
    border-inline-end: 1px solid var(--border-eerie-black);
  }



  /**
   * ABOUT
   */

  .tab-btn-item { width: 20%; }

  .tab-btn-item:not(:first-child) {
    border-inline-start: 1px solid var(--border-eerie-black);
  }

  :is([data-tab-content="interview"], [data-tab-content="exhibition"]) .grid-list {
    grid-template-columns: 1fr 1fr;
  }



  /**
   * CTA
   */

  .cta { padding-block: 40px; }

  .cta .section-title {
    display: flex;
    align-items: center;
  }

  .cta .section-title::before {
    border-radius: 0 30px 30px 0;
    width: 30px;
    height: 60px;
    flex-shrink: 0;
    margin-block-end: 0;
  }



  /**
   * PROJECTS
   */

  .slider-item { min-width: calc(50% - 15px); }



  /**
   * CUSTOM CURSOR
   */

  .cursor-dot,
  .cursor-outline {
    display: block;
    position: fixed;
    top: -60px;
    left: -60px;
    transform: translate(-50%, -50%);
    border-radius: var(--radius-circle);
    z-index: 10;
    transition-property: opacity, transform;
    transition-duration: 300ms;
    transition-timing-function: ease-in-out;
    pointer-events: none;
  }

  .cursor-dot {
    width: 60px;
    height: 60px;
    background-color: var(--bg-white);
    transform: translate(-50%, -50%) scale(0.1);
  }

  .cursor-dot.hovered {
    transform: translate(-50%, -50%) scale(1);
    mix-blend-mode: exclusion;
  }

  .cursor-outline {
    width: 30px;
    height: 30px;
    border: 2px solid var(--border-white);
    opacity: 0.5;
    transition-duration: 100ms;
  }

  .cursor-outline.hovered { opacity: 0; }

}



/**
 * responsive for large than 992px screen
 */

@media (min-width: 992px) {

  /** 
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * TYPOGRAPHY
     */

    /* font size */
    --fontSize-2: 7rem;

  }



  /**
   * REUSED STYLE
   */

  .container { max-width: 960px; }



  /**
   * HEADER
   */

  .header .container {
    margin-inline: 0;
    min-width: 100%;
  }

  .nav-open-btn,
  .navbar-top { display: none; }

  .navbar {
    all: unset;
    display: block;
  }

  .navbar-list {
    display: flex;
    gap: 16px;
  }

  .header .btn { display: flex; }



  /**
   * HERO
   */

  .hero .container { grid-template-columns: 1fr 0.7fr; }

  .hero .banner-outline { max-width: 366px; }

  .hero .wrapper {
    display: flex;
    align-items: center;
    gap: 30px;
  }

  .hero .btn { flex-shrink: 0; }



  /**
   * SERVICE
   */

  .service { border-block-end: 1px solid var(--border-eerie-black); }

  .service-list {
    gap: 158px;
    flex-wrap: nowrap;
  }

  .service .service-item {
    border-inline: 1px solid var(--border-eerie-black);
    border-block-end: none;
  }



  /**
   * ABOUT
   */

  .tab-content .grid-list { grid-template-columns: 1fr 1fr; }

  :is([data-tab-content="interview"], [data-tab-content="exhibition"], [data-tab-content="awward"]) .grid-list {
    grid-template-columns: repeat(3, 1fr);
  }



  /**
   * CTA
   */

  .cta .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .cta .section-title {
    text-align: left;
    gap: 30px;
  }

  .cta .btn {
    flex-shrink: 0;
    margin: 0;
  }



  /**
   * PROJECTS
   */

  .slider-item { min-width: calc(33.33% - 20px); }



  /**
   * CONTACT
   */

  .contact-content {
    grid-template-columns: 0.8fr 1fr 0.6fr;
    gap: 30px;
    align-items: center;
  }



  /**
   * BACK TO TOP
   */

  .back-top-btn .span { display: block; }

  .back-top-btn {
    display: flex;
    align-items: center;
    gap: 10px;
  }

}



/**
 * responsive for large than 1200px screen
 */

@media (min-width: 1200px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * TYPOGRAPHY
     */

    /* font size */
    --fontSize-2: 9rem;
    --fontSize-4: 4rem;
    --fontSize-5: 4rem;
    --fontSize-6: 2rem;

  }



  /**
     * REUSED STYLE
     */

  .container,
  .service .container { max-width: 1200px; }

  .h1 { line-height: 1.1; }



  /**
   * HEADER
   */

  .header { padding-block: 40px; }

  .header .container { padding-inline: 60px; }

  .navbar-list { gap: 50px; }



  /**
   * HERO
   */

  .hero { padding-block-start: 160px; }

  .hero .banner-outline { max-width: 410px; }

  .hero-text { max-width: 30ch; }

  

  /**
   * ABOUT
   */

  .tab-content { padding: 60px; }

  .tab-content .grid-list { gap: 50px; }

}



/**
 * responsive for large than 1400px screen
 */

@media (min-width: 1400px) {

  /** 
   * REUSED STYLE
   */

  .container,
  .service .container { max-width: 1320px; }



  /**
   * HEADER
   */

  .header { padding-inline: 90px; }



  /**
   * HERO
   */

  .hero .container { grid-template-columns: 1fr 0.85fr; }

}

.overlay-content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 800px;
  max-height: 80%;
  overflow-y: auto;
  background-color: var(--bg-white);
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: none; /* Hide by default */
}

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

.overlay-content .container {
  padding: 20px;
}

.close-btn {
  display: block;
  margin: 20px auto 0;
  padding: 10px 20px;
  background-color: var(--bg-black);
  color: var(--text-white);
  border: none;
  cursor: pointer;
}

/* Show the overlay when active */
.overlay-content.active {
  display: block;
}

/* Responsivity for smaller screens */
@media (max-width: 768px) {
  .overlay-content {
    width: 90%;
    max-height: 90%;
  }
}

@media (max-width: 576px) {
  .overlay-content {
    width: 95%;
    max-height: 95%;
  }
}

.horizontal-organigram {
  display: flex;
  flex-direction: row;
  gap: 20px;
  overflow-x: auto;
}

.profile-card {
  flex: 0 0 auto; /* Prevent cards from shrinking or growing */
}

.profile-card img {
  width: 100%;
  height: auto;
}
.avis {
  padding: 60px 0;
  background-color: var(--bg-light-gray); /* Ajustez la couleur de fond selon vos besoins */
}

.avis .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.avis-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.avis-card {
  flex: 1;
  min-width: 200px;
  max-width: 285px;
  margin: 10px;
  background-color: var(--bg-white); /* Ajustez la couleur de fond selon vos besoins */
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.avis-card .card-banner {
  margin-bottom: 15px;
}

.avis-card .card-title {
  font-size: var(--fontSize-4);
  margin-bottom: 10px;
}

.avis-card .card-subtitle {
  font-size: var(--fontSize-7);
  color: var(--text-light-gray);
  margin-bottom: 10px;
}

.avis-card .card-text {
  font-size: var(--fontSize-8);
  color: var(--text-black);
}
.profile-cards-section .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around; /* or space-between depending on your preference */
}

.profile-card {
  flex: 1;
  min-width: 200px; /* Ensure the cards have a minimum width */
  max-width: 285px; /* You can adjust this value as needed */
  margin: 10px; /* Optional: Add some spacing between the cards */
 
  align-items: center;
  text-align: center;
  
}
/* Ajoutez ce style pour aligner le texte des cartes de profil */


.profile-card .card-banner {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}

.profile-card .card-title,
.profile-card .card-subtitle,
.profile-card .card-text {
  margin: 5px 0;
}

.profile-card img {
  width: 100%;
  height: auto;
}
/* Style pour centrer le titre de l'organigramme */
.organigram {
  text-align: center;
  margin: 20px 0;
}

.profile-cards-section .container {
  display: flex;
  justify-content: center;
}
.intro-text {
  font-size: var(--fontSize-5);
  line-height: 1.5;
  color: var(--text-light-gray);
  margin-top: 20px; /* Espace au-dessus de l'introduction */
  text-align: center; /* Centre le texte */
}
.referent-handicap {
  margin-top: 15px;
  font-size: 14px;
  color: #333; /* Couleur du texte */
  text-align: center;
}

.referent-handicap a {
  color: #007BFF;
  text-decoration: none;
  font-weight: bold;
}

.referent-handicap a:hover {
  text-decoration: underline;
}
.btn-download {
  display: inline-block;
  padding: 10px 20px;
  font-size: 16px;
  color: #fff;
  background-color: #007BFF;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.3s ease;
}

.btn-download:hover {
  background-color: #0056b3;
}
/* Stats Section */
.stats-section {
  padding: 60px 0;
  background-color: var(--bg-eerie-black); /* Fond similaire aux autres sections */
  text-align: center;
}

.stats-section .title {
  color: var(--text-white); /* Couleur du texte principale */
  margin-bottom: 20px;
  font-size: var(--fontSize-3);
}

.stats-bar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stat {
  text-align: left;
  font-size: var(--fontSize-8);
  color: var(--text-light-gray); /* Couleur des labels */
}

.stat-label {
  margin-bottom: 5px;
  font-weight: var(--weight-medium);
}

.stat-bar {
  position: relative;
  width: 100%;
  height: 25px;
  background-color: var(--bg-light-gray); /* Fond de la barre */
  border-radius: 12px;
  overflow: hidden;
}

.stat-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background-color: var(--text-white); /* Barre principale harmonisée avec le site */
  border-radius: 12px;
}

.stat-value {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  font-weight: var(--weight-medium);
  color: var(--text-black); /* Texte de la valeur dans la barre */
}
/* Footer styles */
.footer {
  background-color: var(--bg-light-gray);
  padding: 20px 0;
  text-align: center;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.qualiopi-logo {
  width: 150px;
  height: auto;
}

.btn-download {
  display: inline-block;
  padding: 10px 20px;
  font-size: 14px;
  color: var(--text-light-gray); /* Texte gris */
  background-color: var(--bg-white); /* Fond blanc */
  border: 2px solid var(--text-light-gray); /* Bordure grise */
  border-radius: 25px; /* Bouton arrondi */
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s, color 0.3s ease;
}

.btn-download:hover {
  background-color: var(--text-light-gray); /* Fond gris clair au survol */
  color: var(--bg-white); /* Texte blanc au survol */
  transform: scale(1.05); /* Légère animation au survol */
}
/* Styles pour le header */
.main-header {
  background-color: var(--bg-black);
  padding: 20px 0;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  font-size: var(--fontSize-5);
  color: var(--text-white);
  font-weight: bold;
}

.nav {
  display: flex;
  align-items: center;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-list li a {
  color: var(--text-white);
  text-decoration: none;
  font-size: var(--fontSize-8);
  transition: color var(--transition-1);
}

.nav-list li a:hover {
  color: var(--text-light-gray);
}

/* Styles pour le menu mobile */
.menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--text-white);
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-list {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 60px;
      right: 0;
      background-color: var(--bg-black);
      width: 100%;
      padding: 10px 0;
  }

  .nav-list.active {
      display: flex;
  }

  .menu-toggle {
      display: block;
  }
}
/* Conteneur des avis */
#comments-list {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Chaque avis est une colonne avec hauteur égale */
.comment {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Assure que les étoiles restent en bas */
  align-items: center;
  width: 300px;
  min-height: 250px; /* Hauteur minimale pour aligner */
  background-color: var(--bg-white);
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

/* Titre et texte restent flexibles */
.comment h4 {
  margin-bottom: 5px;
  font-size: var(--fontSize-7);
}

.comment p {
  flex-grow: 1; /* Permet d'étirer le texte et garder les étoiles en bas */
  font-size: var(--fontSize-8);
  margin-bottom: 15px; /* Espace avant les étoiles */
}

/* Alignement des étoiles */
.star-icons {
  font-size: 1.5rem;
  color: gold;
}
.stats-content {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.wavy-line {
  position: absolute;
  left: 20px;
  top: 0;
  width: 5px;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg width="5" height="100%" xmlns="http://www.w3.org/2000/svg"><path d="M2.5 0 Q5 20 2.5 40 T2.5 80 T2.5 120 T2.5 160 T2.5 200" stroke="%23cfa76e" fill="transparent" stroke-width="2"/></svg>') repeat-y;
}

.stats-bar {
  flex: 1;
  padding-left: 40px; /* Décale le contenu pour ne pas chevaucher la ligne */
}
.consulting-section {
  max-width: 900px;
  margin: 80px auto;
  padding: 20px;
  font-family: 'Roboto', sans-serif;
  color: #000000; /* texte noir */
  background-color: transparent;
}

.consulting-section h2 {
  text-align: center;
  font-size: 2em;
  margin-bottom: 30px;
  font-weight: 700;
  color: #000000;
}

.consulting-section ol {
  counter-reset: section;
  padding-left: 20px;
}

.consulting-section li {
  margin-bottom: 25px;
  line-height: 1.6;
  color: #000000;
}

.consulting-section li strong {
  display: block;
  font-size: 1.2em;
  margin-bottom: 10px;
  color: #000000;
}

.consulting-section ul {
  list-style-type: disc;
  margin-left: 20px;
}

.consulting-section ul li {
  font-weight: 400;
  margin-bottom: 5px;
  color: #000000;
}

.organigramme-section {
  text-align: center;
  padding: 60px 20px;
}

.organigramme-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.org-top {
  margin-bottom: 20px;
}

.org-line {
  width: 200px;
  height: 2px;
  background-color: #ccc;
  margin-bottom: 20px;
}

.org-bottom {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}
.org-card {
  width: 220px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.org-photo {
  width: 100%;
  max-width: 180px;
  border-radius: 10px;
  margin-bottom: 10px;
}

.org-name {
  font-weight: bold;
  font-size: 1.1em;
}
.organigramme-section.hidden {
  display: none;
}
.org-name {
  font-weight: bold;
  font-size: 1.1em;
  margin-bottom: 5px;
}

.org-role {
  font-size: 0.9em;
  color: #555;
}
.org-bottom {
  display: flex;
  flex-direction: row; /* IMPORTANT */
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap; /* Tu peux mettre nowrap si tu veux jamais qu'elles se mettent à la ligne */
}

@media (max-width: 768px) {
  .org-bottom {
    flex-wrap: wrap; /* Repasser en wrap sur petits écrans */
  }
}
.org-name {
  min-height: 60px; /* Même hauteur pour tous les noms */
}

.org-role {
  min-height: 40px; /* Même hauteur pour toutes les fonctions */
}
.intro-section {
  
  font-family: var(--fontFamily-recoleta);
  text-align: center;
}

.intro-section h2,
.intro-section strong,
.intro-section li {
 
  font-family: var(--fontFamily-recoleta);
}

.intro-section ol {
  list-style: none; /* Si tu veux enlever les numéros */
  padding-left: 0;
}

.intro-section li {
  margin-bottom: 10px;
}
.intro-section {
 
  font-family: var(--fontFamily-recoleta);
}

.intro-section * {
  
  font-family: var(--fontFamily-recoleta);
}
.intro-section strong:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}