:root {
  --color-bordeaux: #610e2c;
  --color-blanc: #fffcf7;
  --color-black: #1d1d1b;
  --color-rose: #a14469;

  --font-size-base: clamp(1rem, 1.1vw, 1.25rem); /* 16px à 20px */
  --font-size-article: clamp(0.9rem, 1vw, 1.075rem); /* 14.4px à 17.2px */
  --font-size-h1: clamp(2rem, 5vw, 3rem); /* 32px à 48px */
  --font-size-h2: clamp(1.7rem, 4vw, 2.4rem); /* 24px à 32px */
  --font-size-h3: clamp(1.2rem, 4vw, 1.7rem); /* 24px à 32px */
}

.container {
  width: 92.08%;
  max-width: 1600px;
}
@media (max-width: 768px) {
  .container {
    width: 82%;
  }
}
html {
  margin: 0 !important;
}
body {
  font-family: "Blinker", sans-serif;
  font-weight: 400;
  margin: 0;
  padding: 0;
  background-color: var(--color-blanc);
}

h1,
h2 {
  font-family: "Lemon", cursive;
  font-weight: normal;
}

h2 {
  font-size: var(--font-size-h2);
  color: var(--color-bordeaux);
}

p {
  font-size: 1.2em;
}

a {
  text-decoration: none;
}
img {
  border-radius: 10px;
}

.flex-container {
  display: flex;
  align-items: center;
}

ul {
  padding-inline-start: 0;
  margin: 0;
}

li {
  list-style: none;
}
li a {
  text-decoration: none;
  color: var(--color-bordeaux);
}
/* Boutons  */
.btn-bordeaux,
.btn-blanc {
  display: inline-block;
  padding: clamp(8px, 2vw, 10px) clamp(15px, 5vw, 25px); /* Ajustement dynamique */
  border-radius: 50px;
  font-weight: 600;
  font-size: clamp(1rem, 1.8vw, 1.2em); /* Taille de texte adaptative */
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  text-align: center;
}

/* Style spécifique pour chaque bouton */
.btn-bordeaux {
  background-color: var(--color-bordeaux);
  color: var(--color-blanc);
  border: 2px solid var(--color-bordeaux);
}

.btn-bordeaux:hover {
  background-color: transparent;
  color: var(--color-bordeaux);
}

.btn-blanc {
  background-color: var(--color-blanc);
  color: var(--color-bordeaux);
  border: 2px solid var(--color-blanc);
}

.btn-blanc:hover {
  background-color: transparent;
  color: var(--color-blanc);
}

/* Header  */
.header__container {
  width: 74.36vw;
  background-color: var(--color-blanc);
  color: var(--color-bordeaux);
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 10vh;
  padding: 0px 40px;
  border-radius: 50px;
}

.menu__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-right: 50px;
  gap: 40px;
  padding-inline-start: 0;
}

.menu__header li {
  list-style: none;
}
.menu__header a {
  color: var(--color-bordeaux);
  font-weight: 600;
  font-size: clamp(1.2em, 2vw, 1.47em);

  position: relative;
  transition: color 0.3s ease;
}

.menu__header a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background-color: var(--color-bordeaux);
  transition: width 0.3s ease-in-out;
}

.menu__header a:hover {
  color: var(--color-bordeaux);
}

.menu__header a:hover::after {
  width: 100%;
}
.logo__header {
  width: 6%;
}
.logo__footer {
  display: block;
  width: 17%;
  margin-top: 10px;
}

.logo__footer2 {
  display: none;
}
.container_header_diff {
  margin-top: 10vh;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.menu__header__container {
  display: flex;
  opacity: 1;
}

.no-scroll {
  overflow: hidden;
  height: 100vh;
  touch-action: none;
}

.header__container {
  display: flex;
}
.logo__burger {
  display: none;
}

.container__menu__burger {
  display: none;
  position: absolute;
  top: 0vh;
  right: 0;
  z-index: 1000;
  width: 100vw;
  height: 100vh;
  background-color: var(--color-blanc);
  overflow-y: hidden;
  overflow-x: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease;
  opacity: 0;
  display: none;
}

.container__menu__burger.show {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

/* Disparition */
.container__menu__burger.hide {
  opacity: 0;
  pointer-events: none;
  /* le display: none sera maintenu dans JS si tu veux plus clean */
}

.container__menu__burger {
  display: flex;
  justify-content: center;
  background-color: var(--color-blanc);
}

.container__menu__burger > div > div {
  width: 74.36vw;
  background-color: var(--color-blanc);
  margin: 0 auto;
  border-radius: 10px;
  padding: 5%;
  color: var(--color-bordeaux);
}
.container2__menu__burger__content {
  background-color: var(--color-bordeaux);
  padding-top: 10vh;
  padding-bottom: 10vh;
}
.container__image__vague__resposive-menu {
  margin-top: -20px;
}

.top__container__burger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5vh;
}

.bottom__container__burger ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
  gap: 11px;
}

.bottom__container__burger ul li {
  font-size: 30px;
  font-weight: bold;
}

@media (max-width: 768px) {
  .menu__header__container {
    display: none;
    opacity: 0;
  }
  .logo__header {
    width: 15%;
  }
  .logo__burger {
    display: block;
  }
}

/* Hero Section Accueil */
.container__hero {
  height: auto;
  min-height: 400px;
  width: 100%;
  background-color: var(--color-bordeaux);
  display: flex;
  align-items: center;
  flex-direction: column;
  padding-top: 10vh;
  z-index: 10;
}

.container__image__vague,
.container__image__vague__resposive-menu {
  width: 100%;
  height: auto;
  margin: 0 auto;
  margin-top: -20px;
  z-index: 0;
}
.container__image__vague img,
.container__image__vague__resposive-menu img {
  width: 100%;
  border-radius: 0px;
  margin: 0 auto;
  z-index: 0;
}

.vague__hero {
  display: block;
}

.container__hero__content {
  margin-top: 5vh;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-blanc);
  width: 82%;
  z-index: 10;
}
.container__hero__diff .container__hero__content {
  height: 60%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.container__hero__content h2 {
  font-family: "Blinker", sans-serif;
  font-weight: 600;
  margin: 30px 0 0 0;
  color: var(--color-blanc);
  font-size: var(--font-size-h2);
}

.container__hero__content p {
  font-size: var(--font-size-base);
  margin: 0;
  margin-bottom: 40px;
}
.container__hero__content h1 {
  font-size: var(--font-size-h1);
  margin: 0 0 0 0;
}

.container__hero__img {
  width: 40%;
}

.img__hero {
  width: 100%;
  display: block;
}

.vague__hero__responsive {
  display: none;
}

@media (max-width: 768px) {
  .container__hero {
    text-align: center;
    height: 58vh;
    min-height: 200px;
  }

  .container__hero__img {
    display: none;
  }
  .container__hero__content p {
    margin-top: 8px !important;
  }
  .vague__hero {
    display: none;
  }

  .vague__hero__responsive {
    display: block;
  }
}

.container__hero__diff {
  height: 20vh;
}

@media (min-width: 768px) and (max-width: 1100px) {
  .btn__hero {
    margin-bottom: 5vh;
  }
  .container__hero__content {
    justify-content: center;
  }
}

@media (max-width: 768px) and (max-height: 820px) {
  .container__hero {
    min-height: 250px;
  }
}
/* Sous menu déroulant  */
.sub-menu li a {
  font-weight: 400;
  font-size: var(--font-size-h3);
}

.menu-item-has-children > a {
  display: flex;              
  align-items: center;        
  justify-content: center; 
  gap: 8px;                    
  padding-right: 0;            
}

.menu-item-has-children > a::after {
  content: "▼";               
  font-size: 0.8em;            
  line-height: 1;             
  transition: transform 0.3s ease;
}

.menu-item-has-children.open > a::after {
  content: "▲";                
}

/* Les dernieres actualités  */

.latest-news {
  text-align: center;
  background-color: var(--color-blanc);
  display: flex;
  justify-content: center;
  margin: 5vh auto 0 auto;
}

.news-grid {
  display: flex;
  justify-content: space-between;
  margin: 80px 0 85px 0;
}

.news-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: 30%;
  text-align: center;
  padding: 0 0 10px 0;
  transition: all 0.3s;
}

.news-card__pinned {
  width: auto;
  margin: 0 auto;
}

.news-card:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.news-card h3 a {
  color: var(--color-black);
  font-family: "Blinker", sans-serif;
  font-weight: 600;
  font-size: var(--font-size-h3);
  margin-bottom: 10px;
}
.news-card__image img {
  width: 100%;
  height: auto;
}

.news-card__content {
  padding: 15px;
}
.news-card__content p {
  margin-bottom: 35px;
  font-size: var(--font-size-base);
}
.btn-actualites {
  margin: 10px 0;
  padding: 8px 20px;
  font-size: 1rem;
}

.actualite-epinglees-content p {
  margin: 10px 0;
}

.actualites-category-container {
  margin: 10vh auto;
  display: block;
}

@media (max-width: 768px) {
  .news-grid {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin: 40px 0 40px 0;
  }

  .news-card {
    width: 100%;
    max-width: 400px;
  }
  .actualites-category-container {
    display: none;
  }
}

/* Section Rejoignez Nous  */

#join-us {
  width: 100%;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 10vh;
  color: var(--color-blanc);
}

#join-us h2 {
  color: var(--color-blanc);
  margin: 0;
}

#join-us p {
  font-weight: 400;
  margin: 0;
  font-size: var(--font-size-base);
}

.container__join-us {
  background-image: url(../img/rejoignez-nous.webp);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 100%;
  border-radius: 30px;
  text-align: center;
  gap: 50px;
  height: 80vh;
}

.btn-contact {
  border-color: var(--color-blanc);
  padding: 10px 25px;
  margin: 0;
}

.btn-contact:hover {
  background-color: var(--color-blanc);
  color: var(--color-bordeaux);
  border: 2px solid var(--color-blanc);
}
.btn__join-us__responsive {
  display: none;
}
#join-us > h2 {
  display: none;
}
@media (max-width: 768px) {
  .container__join-us h2 {
    display: none;
  }
  .container__join-us a {
    display: none;
  }
  .btn__join-us__responsive {
    display: block;
    margin: 25px auto;
    border: 1px solid var(--color-bordeaux);
  }
  #join-us > h2 {
    display: block;
    font-size: var(--font-size-h2);
    color: var(--color-bordeaux);
    margin: 25px auto;
  }
  #join-us {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .container__join-us {
    height: 40vh;
  }
  #join-us p {
    width: 90%;
  }
}
/* Section a propos  */

.container__a-propos {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 65%;
  margin: 50px 0;
}

.cart__a-propos {
  width: 100%;
  height: 35vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  border-radius: 10px;
  border-top: none;
  transition: all 0.3s;
}

.cart__a-propos:hover {
  img {
    transform: translateY(-10px);
  }
  border: 1px solid rgba(161, 68, 105, 0.4);
  background-color: #f5f3f3;
}

.cart1__a-propos {
  border-bottom: 1px solid rgba(161, 68, 105, 0.4);
  border-right: 1px solid rgba(161, 68, 105, 0.4);
  border-left: none;
}
.cart2__a-propos {
  border-bottom: 1px solid rgba(161, 68, 105, 0.4);
  border-right: 1px solid rgba(161, 68, 105, 0.4);
  border-left: 1px solid rgba(161, 68, 105, 0.4);
}
.cart3__a-propos {
  border-bottom: 1px solid rgba(161, 68, 105, 0.4);
  border-left: 1px solid rgba(161, 68, 105, 0.4);
  border-right: none;
}

.cart__a-propos img {
  width: 14%;
  height: auto;
  transition: transform 0.3s;
  border-radius: 0;
}

#a-propos {
  height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 70px auto 0 auto;
}
.a-propos__text {
  display: block;
}
#a-propos p {
  font-size: var(--font-size-base);
  width: 90%;
  text-align: center;
  margin: 0.6em auto;
}
#a-propos p b {
  color: var(--color-bordeaux);
  font-weight: 600;
}

#a-propos h2 {
  margin: 0 auto;
}

.a-propos__text-responsive {
  display: none;
}

@media (max-width: 768px) {
  #a-propos {
    height: auto;
  }
  .cart3__a-propos {
    display: none;
  }
  .container__a-propos {
    width: 90%;
    gap: 20px;
  }
  #a-propos h2 {
    text-align: center;
  }
  .cart__a-propos {
    height: 20vh;
    border: 1px solid rgba(161, 68, 105, 0.4);
  }
  .cart__a-propos:hover {
    img {
      transform: none;
    }
    border: 1px solid rgba(161, 68, 105, 0.4);
    background-color: none;
  }
  .cart__a-propos.active {
    border: 1px solid rgba(161, 68, 105, 0.4);
    background-color: #f5f3f3;
  }
  .cart__a-propos.active img {
    transform: translateY(-10px);
  }
  .a-propos__text-responsive {
    display: block;
    width: 90%;
    text-align: center;
  }
  .a-propos__text {
    display: none;
  }
}

/* Nos derniers projets */

.dernier-projets {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 0 auto;
}

.dernier-projets h2 {
  margin: 0 auto;
}

.projets-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 60px 0;
  width: 65%;
  flex-wrap: wrap;
  position: relative;
}

.projet {
  width: 30%;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.projet img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  border: 2px solid var(--color-blanc);
}

.projet:hover {
  transform: scale(1.1);
}

.projet:hover img {
  transform: scale(1);
}

.div__separation {
  width: 65%;
  height: 1px;
  border: 1px solid var(--color-rose);
  color: var(--color-rose);
  margin: 70px auto;
  border-radius: 10px;
  background-color: var(--color-rose);
}

@media (max-width: 768px) {
  .projets-container {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    width: 100%;
  }

  .projet {
    width: 100%;
    max-width: 400px;
  }
  .projet:nth-child(3) {
    display: none;
  }

  .projet:hover {
    transform: none;
  }
}

/* Footer  */
footer {
  margin-top: 70px;
  width: 100%;
}
.footer {
  background-color: var(--color-bordeaux);
  color: var(--color-blanc);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: auto;
  width: 100%;
  text-align: center;
  flex-direction: column;
  font-size: 1.3em;
  padding-top: 8vh;
  padding-bottom: 2vh;
}

.footer__container {
  display: flex;
  justify-content: space-between;
  align-items: start;
  width: 65%;
  min-width: 725px;
  text-align: left;
  padding-bottom: 5vh;
}

footer h2 {
  color: var(--color-blanc);
}

footer h3 {
  position: relative;
  font-size: 1.7rem;
  padding-left: 0px;
  display: flex;
  align-items: center;
  font-weight: 400;
}

footer h3::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 50%;
  transform: translateY(-50%);
  height: 1.2em;
  width: 3px;
  background-color: var(--color-rose);
}

footer a {
  color: var(--color-blanc);
  font-weight: 300;
  font-size: 20px;
}

footer ul {
  padding-inline-start: 0;
  font-weight: 200;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: start;
  flex-direction: column;
}

footer ul li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s;
}

footer ul li a p {
  margin: 0;
  font-size: 20px;
  transition: all 0.3s;
}
footer ul li a i {
  transform: translateX(-15px);
}
.copyright {
  font-size: 0.7em;
  font-weight: 300;
  margin-bottom: 0;
}
.tag {
  font-size: 14.5px;
  font-weight: 300;
  margin: 0 auto;
}

.liste_icons__footer {
  list-style-type: none;
}

.liste_icons__footer li a p:hover,
.menu__footer a:hover,
.menu__footer2 a:hover {
  transform: translateY(-3px);
}

.menu__footer_responsive {
  display: none;
}

body.article-projet .header__container {
  background-color: var(--color-bordeaux);
  color: var(--color-blanc);
}

body.article-projet .menu__header a {
  color: var(--color-blanc);
}
body.article-projet .btn__contact-header {
  background-color: var(--color-blanc);
  color: var(--color-bordeaux);
  border: 2px solid var(--color-blanc);
}

body.article-projet .btn__contact-header:hover {
  background-color: var(--color-bordeaux);
  color: var(--color-blanc);
  border: 2px solid var(--color-blanc);
}

body.article-projet .menu__header a::after {
  background-color: var(--color-blanc);
}

/* Responsive  */
@media (max-width: 768px) {
  .footer {
    padding-bottom: 4vh;
  }
  .footer__container {
    flex-direction: column;
    align-items: center;
    width: 90%;
    gap: 15px;
    min-width: 100px;
  }

  .menu__footer_responsive {
    display: block;
  }

  .menu__footer {
    display: none;
  }

  footer h3 {
    font-size: 1.5rem;
    justify-content: center;
  }

  footer ul {
    flex-direction: column;
    align-items: center;
  }

  footer ul li a {
    justify-content: center;
  }

  .copyright {
    font-size: 0.8em;
  }

  .footer h3::before {
    left: 0;
  }

  .footer h3::after {
    right: 0;
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 1.2em;
    width: 3px;
    background-color: var(--color-rose);
  }

  .title2__footer::after {
    right: 20px !important;
  }
  .title2__footer::before {
    left: 20px !important;
  }
  .title3__footer::after {
    right: 40px !important;
  }
  .title3__footer::before {
    left: 40px !important;
  }
  .logo__footer {
    display: none;
  }
  .logo__footer2 {
    display: block;
    width: 20%;
    margin-top: 10px;
  }
}

@media (max-width: 480px) {
  .footer {
    font-size: 1em;
  }

  footer a {
    font-size: 18px;
  }

  footer ul li a p {
    font-size: 18px;
  }
}
/* Page 1 article  */

.container__header-article-projet {
  width: 100%;
  height: 30vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.article {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 50px 0;
  width: 92.8%;
  background-color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  margin: 0 auto;
  padding: 3em 0;
}

.article__container {
  width: 80%;
  height: 90%;
}

.article__container img {
  width: 80%;
  height: auto;
  border-radius: 10px;
}

.article h1 {
  font-size: var(--font-size-h1);
  color: var(--color-bordeaux);
  margin: 0;
}
.entry-summary p {
  font-size: var(--font-size-base);
  font-weight: 300;
  color: #383838;
  margin: 1em 0 2.5em 0;
}

.entry-meta span {
  color: var(--color-rose);
  font-size: 1em;
}
.post-thumbnail__article {
  margin: 20px 0 50px 0;
}

.entry-content p {
  font-size: var(--font-size-article);
  font-weight: 400;
}

.autres-actualites {
  margin-top: 10vh;
}

@media (max-width: 768px) {
  .entry-meta span {
    font-size: 0.8em;
  }
  .article h1 {
    font-size: 27px;
  }
}

/* Page 1 projet  */

.single-projet {
  margin: 0 auto;
}

.casting {
  margin: 0 auto;
  margin-top: 13vh;
  text-align: center;
}

.casting h2 {
  margin-bottom: 9vh;
}

.casting-grid {
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.casting-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

.casting-image {
  width: 100%;
  margin-bottom: 10px;
}

.casting-image img {
  margin: 0 auto;
  width: 200px;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.2s ease-in-out;
}
.casting-image img:hover {
  transform: scale(1.05);
}

.casting-info {
  text-align: center;
  width: 100%;
}

.casting-name {
  font-weight: bold;
  margin: 0 0 5px 0;
  font-size: 16px;
}

.casting-role {
  margin: 0;
  font-weight: normal;
  font-size: 14px;
}

@media (max-width: 1400px) {
  .casting-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  .casting-image img {
    height: 180px;
    width: 180px;
  }
}

@media (max-width: 1150px) {
  .casting-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .casting {
    margin: 2vh 0;
  }
  .casting h2 {
    margin-bottom: 8vh;
  }
  .casting-image img {
    height: 160px;
    width: 160px;
  }
}

@media (max-width: 770px) {
  .casting-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .casting-image img {
    height: 140px;
    width: 140px;
  }
}

@media (max-width: 576px) {
  .casting-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 370px) {
  .casting-image img {
    height: 130px;
    width: 130px;
  }
}

.project-section {
  display: flex;
  gap: 30px;
  margin: 40px auto;
}

.project-poster {
  flex: 0 0 40%; /* Prend 40% de la largeur */
}

.project-poster img {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: contain;
  border-radius: 5px;
}

.project-details {
  flex: 0 0 55%;
  display: flex;
  flex-direction: column;
}

.project-details h3 {
  color: var(--color-black);
  margin: 0 0 10px 0;
  font-size: var(--font-size-h3);
  font-family: "Lemon", cursive;
  font-weight: normal;
}

.project-description {
  margin-bottom: 30px;
  line-height: 1.6;
}

/* Style pour l'équipe de création */
.project-team-title {
  color: var(--color-bordeaux);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(97, 14, 44, 0.2);
  margin-top: 2rem !important;
}

.project-team-first {
  background-color: var(--color-blanc);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-left: 4px solid var(--color-rose);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  list-style: none;
  max-width: 500px;
}

.project-team-first:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.project-team-first li {
  color: var(--color-black);
  font-size: var(--font-size-article);
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  background-color: rgba(161, 68, 105, 0.05);
  margin-bottom: 0.5rem;
  transition: background-color 0.2s ease;
}

.project-team-first li:last-child {
  margin-bottom: 0;
}

.project-team-first li:hover {
  background-color: rgba(161, 68, 105, 0.1);
}

.project-team-first li strong {
  color: var(--color-rose);
  margin-right: 0.5rem;
}

/* Animation simple */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.project-team-first {
  animation: fadeIn 0.5s ease forwards;
}

/* Responsive */

@media (max-width: 767px) {
  .project-team {
    padding: 1rem;
  }

  .project-team li {
    padding: 0.5rem;
  }
}

.h1__article {
  font-size: var(--font-size-h1);
  color: var(--color-bordeaux);
  margin: 1.2em 0;
  text-align: center;
}
.project-links {
  display: flex;
  gap : 10px;
  flex-wrap: wrap;
}

.project-links a {
  width: fit-content;
}

.btn-single-project {
  margin: 5px;
}

/* Section des équipes */
.project-teams {
  padding: 2rem 0;
  width: 100%;
  margin: 0 auto;
}

.project-teams h2 {
  color: var(--color-bordeaux);
  margin-bottom: 2rem;
  text-align: center;
}

/* Style pour la section des équipes */
.project-teams {
  padding: 2rem 0;
  margin: 0 auto;
}

.project-teams h2 {
  color: var(--color-bordeaux);
  margin-bottom: 3rem;
  text-align: center;
  width: 100%; /* Assure que le titre prend toute la largeur */
}

.project-informations {
  margin-bottom: 15px;
}
/* Conteneur pour toutes les équipes sous le titre */
.teams-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  width: 100%;
}

/* Style des cartes d'équipe */
.project-teams .team {
  background-color: var(--color-blanc);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  border-left: 4px solid var(--color-rose);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-teams .team:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* Titre de l'équipe */
.team-name {
  color: var(--color-bordeaux);
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(97, 14, 44, 0.2);
}

/* Liste des membres */
.team-members {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}

.team-members li {
  color: var(--color-black);
  font-size: var(--font-size-article);
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  background-color: rgba(161, 68, 105, 0.05);
  transition: background-color 0.2s ease;
}

.team-members li:hover {
  background-color: rgba(161, 68, 105, 0.1);
}

.team-members li strong {
  color: var(--color-rose);
  margin-right: 0.5rem;
}

/* Animation simple pour toutes les équipes */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.project-teams .team {
  animation: fadeIn 0.5s ease forwards;
}

/* Responsive */
@media (min-width: 1024px) {
  /* Sur desktop, 3 colonnes */
  .teams-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  /* Sur tablette, 2 colonnes */
  .teams-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Pour les écrans plus petits (mobile) */
@media (max-width: 767px) {
  .teams-container {
    grid-template-columns: 1fr;
  }

  .team-members {
    grid-template-columns: 1fr;
  }

  .project-teams .team {
    padding: 1rem;
  }
}

/* Responsive pour les écrans plus petits */
@media (max-width: 768px) {
  .project-team li {
    list-style: none;
    margin-bottom: 15px;
  }

  .project-section {
    flex-direction: column;
  }

  .project-poster,
  .project-details {
    flex: 0 0 100%;
  }

  .project-poster {
    margin-bottom: 20px;
    display: flex;
  }
  .project-poster img {
    width: 90%;
    margin: 0 auto;
  }
  .project-details {
    text-align: center;
  }
  .project-details h2 {
    color: var(--color-bordeaux);
  }
  .project-description {
    margin: 0 auto 25px auto;
    width: 90%;
  }
  .project-details h2 {
    border-bottom: none;
    padding-bottom: 0px;
  }
  .project-links {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap : 6px;
  }
    
  .project-team-title {
    margin-top: 30px !important;
    padding-bottom: 6px;
  }
  .project-informations {
    padding-bottom: 10px;
  }
}

/* Section don  */

#don {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#don div {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 20px;
  padding: 10vh 0;
  text-align: center;
  border-top: 2px solid var(--color-bordeaux);
  border-bottom: 2px solid var(--color-bordeaux);
}
#don div h2 {
  margin: 0 auto;
}

#don div span {
  font-weight: 600;
  color: var(--color-bordeaux);
  font-size: var(--font-size-base);
}

.autres-projets {
  margin-top: 10vh;
}

#don div p {
  font-size: var(--font-size-base);
}

/* Page tous les articles  */

.actualites-header {
  margin: 40px 0;
}

.actualites-header h1 {
  font-size: 36px;
  margin: 0;
  color: var(--color-black);
}

.actualites-container {
  margin: 10vh auto;
  display: flex;
  justify-content: space-between;
}

.dernieres-actualites-container {
  width: 64%;
}

.all-news {
  display: none;
}

.actualite-article {
  display: flex;
  padding-top: 30px;
  padding-bottom: 60px;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-black);
}

.actualite-article:first-child {
  border-top: 1px solid var(--color-black);
}

@media (max-width: 768px) {
  .all-news {
    display: flex;
  }

  .dernieres-actualites-container {
    display: none;
  }
  .news-grid__all {
    margin: 5px auto;
  }
  .actualites-container{
    display: none;
  }
}

/* Contenu de l'article (côté gauche) */
.actualite-content {
  padding-right: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 60%;
}

.actualite-content h2 {
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 15px;
  font-size: var(--font-size-h2);
}

.actualite-content h2 a {
  color: var(--color-black);
  text-decoration: none;
  transition: color 0.3s;
  font-family: "Blinker", sans-serif;
}
.actualite-content .btn-bordeaux {
  text-align: center;
  font-size: var(--font-size-base);
}

.actualite-extrait {
  margin-bottom: 20px;
  line-height: 1.6;
  color: var(--color-black);
}

.actualite-extrait p {
  margin: 0;
}

.actualite-image {
  display: block;
  width: 30%;
}

.actualite-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 5px;
}

.pagination {
  margin-top: 40px;
  text-align: center;
}

.pagination .page-numbers {
  display: inline-block;
  padding: 8px 14px;
  margin: 0 3px;
  border-radius: 3px;
  background-color: #f5f5f5;
  color: var(--color-black);
  text-decoration: none;
  transition: all 0.3s;
}

.pagination .page-numbers.current {
  background-color: var(--color-bordeaux);
  color: white;
}

.pagination .page-numbers:hover:not(.current) {
  background-color: #e0e0e0;
}

.no-posts {
  text-align: center;
  padding: 40px 0;
  color: var(--color-black);
}

.actualite-btns {
  display: flex;
  width: 100%;
  justify-content: left;
  gap: 20px;
  align-items: center;
}

.all-news-pinned {
  display: flex;
  flex-direction: column;
  justify-content: start;
  width: 23%;
  align-items: center;
  gap: 30px;
  margin: 0 auto;
}

/* Responsive */

@media (max-width: 768px) {
  .actualite-article {
    flex-direction: column;
  }

  .actualite-content {
    flex: 0 0 100%;
    padding-right: 0;
    margin-bottom: 20px;
  }

  .actualite-image {
    flex: 0 0 100%;
  }

  .all-news-pinned {
    display: none;
  }
}

/* Page tous les projets  */

.projets-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px;
  margin: 15vh auto;
}
.news-archive {
  display: none;
}

.projet-item {
  display: block;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.projet-item img {
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.projet-item {
  display: block;
  overflow: hidden;
  transition: transform 0.3s ease, filter 0.3s ease, box-shadow 0.3s ease;
}

.projet-item img {
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease, filter 0.3s ease;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.projet-item:hover {
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.2);
  transform: scale(1.1);
  z-index: 100;
  border-radius: 10px;
}

.projet-item:hover img {
  transform: scale(1);
}

/* Responsive */
@media (max-width: 1200px) {
  .projets-grid {
    grid-template-columns: repeat(3, 1fr);
    margin: 5vh auto;
    gap: 10px;
  }
  .projet-item:hover {
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
  }
  .projet-item:hover img {
    transform: none;
  }
}

@media (max-width: 768px) {
  .projets-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .projets-grid {
    grid-template-columns: 1fr;
  }
}

/* Page contact  */

.contact-form-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-form {
  width: 70%;
  background-color: var(--color-blanc);
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  padding: 30px;
  box-sizing: border-box;
  border: 1px solid var(--color-bordeaux);
  margin: 0 auto;
}

.contact-form-title {
  color: var(--color-bordeaux);
  text-align: center;
  margin-bottom: 40px;
}

.contact-form-container {
  width: 70%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form-container p:first-of-type(1) {
  margin: 0;
}

.contact-form-container p:nth-last-of-type(1) {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}
.contact-form-name-row p {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin: 0;
}

.contact-form-input,
.contact-form-email,
.contact-form-select,
.contact-form-message {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--color-bordeaux);
  border-radius: 5px;
  box-sizing: border-box;
}

.contact-form-name-row .contact-form-input {
  width: 100%;
}

.contact-form-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: linear-gradient(
      45deg,
      transparent 50%,
      var(--color-bordeaux) 50%
    ),
    linear-gradient(135deg, var(--color-bordeaux) 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(1em + 2px),
    calc(100% - 15px) calc(1em + 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  color: var(--color-black);
}

.contact-form-select:focus {
  outline: none;
  border-color: var(--color-bordeaux);
}

.contact-form-message {
  height: 120px;
  resize: vertical;
}

.container__text-contact {
  width: 50%;
  text-align: center;
  margin: 15vh auto;
  p {
    font-size: var(--font-size-base);
  }
}
.container__text-contact span {
  font-weight: 600;
  color: var(--color-bordeaux);
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .container__text-contact {
    width: 82%;
    margin: 8vh auto;
  }
  .contact-form {
    width: 82%;
    padding: 20px;
  }

  .contact-form-name-row {
    flex-direction: column;
    gap: 20px;
  }

  .contact-form-name-row .contact-form-input {
    width: 100%;
  }

  .contact-form-container {
    width: 100%;
  }
}

/* Placeholder Styles */
.contact-form-input::placeholder,
.contact-form-email::placeholder,
.contact-form-select::placeholder,
.contact-form-message::placeholder {
  color: var(--color-rose);
  opacity: 1;
}

.btn-form-submit {
  width: fit-content;
  text-align: center;
  margin: 20px auto 0 auto; /* Réduit l'espace en haut */
}

@media (max-width: 768px) {
  .btn-form-submit {
    width: fit-content;
  }
}

/* Section partenaires - Slider  */

#partenaires {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
}

.mySwiper {
  width: 100%;
}

.containerSwiper {
  width: 92.08%;
  margin: 0 auto;
  max-width: 1600px;
  overflow: hidden;
  padding: 10px;
  padding-bottom: 60px;
}

.imageBox,
.card-info {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 10px 14px;
}

.imageBox {
  position: relative;
  row-gap: 5px;
  padding: 25px 0;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-bordeaux);
  border-radius: 25px 25px 0 0;
}

@media (max-width: 768px) {
  .containerSwiper {
    width: 82%;
  }
  .swiper-button-prev,
  .swiper-button-next {
    display: none !important;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .containerSwiper {
    width: 88%;
  }

  .swiper-button-prev,
  .swiper-button-next {
    display: none !important;
  }
}

.image {
  position: relative;
  height: 150px;
  width: 150px;
  border: 3px solid var(--color-blanc);
  border-radius: 50%;
}

.image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.card-info {
  padding: 20px 15px;
  background-color: var(--color-blanc);
  border-radius: 0 0 25px 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
}

.card-info h3 {
  font-size: var(--font-size-h3);
  color: var(--color-black);
  font-weight: bold;
  margin: 0;
}

.card-info p {
  font-size: var(--font-size-base);
  color: var(--color-black);
  text-align: center;
}

.btn-partenaires {
  margin: 5px 0;
  padding: 8px 20px;
  font-size: 1rem;
}

.card-info button:hover {
  opacity: 0.8;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 2rem;
  position: absolute;
  font-weight: bold;
  padding: 20px;
  color: var(--color-bordeaux);
}

.swiper-button-next::after {
  right: -15px;
}
.swiper-button-prev::after {
  left: -15px;
}

.swiper-pagination-bullets {
  width: 100vw !important;
}

.swiper-pagination-bullets .swiper-pagination-bullet {
  width: 26px;
  height: 7px;
  border-radius: 25px;
  background-color: var(--color-bordeaux);
}

.swiper-pagination-bullet-active {
  background-color: var(--color-bordeaux);
  transform: scale(1.3);
  transition: transform 0.2s ease;
}
@media (max-width: 768px) {
  .containerSwiper {
    width: 82vw;
  }
  .swiper-button-prev,
  .swiper-button-next {
    display: none !important;
  }

  .swiper-pagination-bullets {
    width: 100% !important;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .containerSwiper {
    width: 88vw;
  }

  .swiper-button-prev,
  .swiper-button-next {
    display: none !important;
  }
  .swiper-pagination-bullets {
    width: 100% !important;
  }
}
.swiper-slide {
  overflow: hidden;
  height: auto;
  border: none;
  border-radius: 25px;
  box-shadow: 0 2px 8px rgba(97, 14, 44, 0.2);
  transition: box-shadow 0.3s ease;
}

.swiper-slide:hover {
  box-shadow: 0 4px 16px rgba(97, 14, 44, 0.32);
  transition: box-shadow 0.3s ease;
}

/* Template Legal Pages */

.container__legal-pages {
  margin: 15vh auto;
}
