* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
:root {
  --bg: #ffffff;
  --text: #111111;
  --primary: rgb(181, 160, 255);
  --card: #f4f4f4;
  --btn: rgb(20, 20, 20);
}

body.dark {
  --bg: #0f0f0f;
  --text: #f5f5f5;
  --primary: rgb(181, 160, 255);
  --card: #1c1c1c;
  --btn: #ffffff;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-y: auto;
  background-color: var(--bg);
  color: var(--text);
  transition: background-color 0.3s ease, color 0.3s ease;
}

body.dark,
body.dark h1,
body.dark #presentation-mercedes h2,
body.dark h2, 
body.dark h3, 
body.dark p,
body.dark span, 
body.dark a, 
body.dark li {
  color: #fff;
}
body.dark .la {
  color: black;
}
body.dark #presentation-mercedes p {
  color:#786666
}

model-viewer {
  background-color: #ffffff; 
  transition: background-color 0.3s ease;
}

body.dark model-viewer {
  background-color: #0f0f0f; 
}

.card {
  background-color: var(--card);
}

.nav-arrow {
  background-color: var(--btn);
}


header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #000;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-bottom: 3px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between; 
  padding: 0px 10px;
  width: 100%;
  max-width: 100%; 
  margin: 0 auto; 
   transition: top 0.5s; 
}

nav  {
   max-width: 1200px;
    margin: 0 auto; 
    padding: 0 40px;
    display: flex;
    justify-content: center; 
    align-items: center;
    color:#000;
    text-align: center;
}

ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin-left: 90px;
}

li {
    font-size: 18px;
}

nav a {
   text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: color 0.3s ease, transform 0.3s ease;
}

nav a:hover {
    color: #C5C5C5;
    transform: translateY(-3px);
}


main {
 padding: 40px px;
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
}

#page-accueil #nav-accueil,
#page-donnees #nav-donnees,
#page-galerie #nav-galerie,
#page-contact #nav-contact,
#page-partenaires #nav-partenaires,
#page-crédits #nav-crédits {
    color: #C5C5C5;
    font-weight: bold;
    border: 2px solid #C5C5C5;
    border-radius: 8px;
    padding: 8px 16px;
    background: rgba(0, 173, 239, 0.1);
    box-shadow: 0 0 15px #C5C5C5;
    transform: scale(1.05);
}

footer {
    background-color: #000;
    color: white;
    text-align: center;
    display: flex;
  justify-content: space-between;  
  align-items: center;        
  height: 60px;               
  padding: 0 20px;


}
footer ul a {
       text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: color 0.3s ease, transform 0.3s ease;
    margin-left: -30px;
}
footer ul a:hover {
          color: rgb(176, 18, 42);
    transform: translateY(-3px);
}


.datatable-container {
    width: 1080px;
    margin: 60px auto;
    padding: 30px;
    background-color: #0c0c0c;
    box-shadow: 0 15px 40px rgba(0,0,0,0.8);
    border-radius: 15px;
    text-align: center;
}

#tableau {
    width: 1080px !important;
    margin: 0 auto;
    border-collapse: separate;
    border-spacing: 0;
    background-color: #111;
    border-radius: 10px;
    overflow: hidden;
    color: white;
    border-collapse: collapse; 
}

#tableau th,
#tableau td {
   border: 0.5px solid rgb(186, 186, 186); 
}
.dataTables_wrapper {
    width: 1080px !important;
    margin: 0 auto;
    
}


.dt-layout-row {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap;
    margin-bottom: 15px;
}


.dt-layout-cell {
    margin: 5px 10px;
}


.dataTables_filter {
    text-align: center !important;
}

.dataTables_filter input {
    width: 250px;
    padding: 6px 12px;
    background-color: #111;
    color: #e6e6e6;
    border: 1px solid #333;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.dataTables_filter input:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 5px #d4af37;
}


.dataTables_length {
    display: inline-block;
}

.dataTables_length select {
    background-color: #111;
    color: #e6e6e6;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 5px 10px;
}
#tableau td:last-child {
color: #d4af37;
font-size: 15px;
}

#tableau tbody tr:hover {
    background-color: #1f1f1f;      
    transform: translateY(-2px);   
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3); 
    transition: all 0.25s ease;      
    cursor: pointer;                 
}
 



.dt-layout-end {
    width: 1080px;          
    margin: 0 auto;         
    padding: 20px 0;
    display: flex;
    justify-content: flex-start; 
}

.dt-paging {
    width: 1080px;         
    margin: 0 auto;       
    padding: 20px 0;
    display: flex;
    justify-content: flex-start; 
}

.dt-paging nav {
    width: 1080px;          
    margin: 0 auto;        
    padding: 20px 0;
    display: flex;
    justify-content: flex-end; 

 
    gap: 12px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.15);
    max-width: 500px;
}


.dt-paging-button {
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.08);
    color: #e5e5e5;
    font-size: 15px;
    transition: all 0.25s ease;
}

.dt-paging-button:not(.disabled):hover {
    background: rgba(255,255,255,0.25);
    color: #000;
    cursor: pointer;
}

.dt-paging-button.current {
    background: #0a84ff;
    color: #fff;
    font-weight: 600;
    border-color: #0a84ff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
}


.dt-paging-button.disabled {
    opacity: 0.4;
    cursor: default;
}
.dataTables_length {
  width: 1080px;
  margin: 0 auto;
  padding: 10px 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

div.dt-container div.dt-layout-row div.dt-layout-cell.dt-layout-end {
    justify-content: flex-end;
    margin-left: auto;
    max-width: 850px;
}


.hero {
  position: relative;
  width: 100%;
  height: 120vh;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.hero1 {
  position: relative;
  width: 100%;
  height: 100vh;
  margin: 0;
  padding: 0;
  overflow: hidden;
}
.hero3 {
  position: relative;
  width: 100%;
  height: 60vh;
  margin: 0;
  padding: 0;
}

.hero-video1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; 

}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; 
}

.logo {
 display: flex;
  justify-content: flex-start; 
  align-items: center;       
  height: 40px;
  margin-top: 16px;
 
}

.brand-name {
  color: #e6e6e6;
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.card {
 position: relative;
  width: 280px;
  height: 370px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  transition: transform 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
  
}
.cards {
  display: flex;
  gap: 120px;
  justify-content: center;
  align-items: stretch;
  margin: 100px auto;
  max-width: 1200px;
  margin-top: 300px;
  margin-bottom: 70px;
}

.card__image {
  position: absolute;
  inset: 0;
}
.card__image img {
 width: 100%;
 height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.card__content {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 20px;
  background: #080707;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
}


.card__title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
}

.card__text {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 20px;
}


.card:hover {
 transform: translateY(-15px) scale(1.03);
}

.card:hover .card__image img {
  transform: scale(1.2);
}

.card:hover .card__content {
   transform: translateY(0)
}

h2 {
  text-align: center;
  margin: 70px auto 40px;
  font-size: 2.6rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #000;
}

h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background-color: #000;
  margin: 14px auto 0;
}


label {
color: #000;
background-color: none;
margin-bottom: 1px;
}
.dt-search{
margin: 10px;
}
div.dt-container .dt-search input {
    border: 1px solid #aaa;
    border-radius: 3px;
    padding: 5px;
    background-color: transparent;
    color: black;
    margin-left: 3px;
}

.dt-container select.dt-input {
  padding: 4px;
  border-radius: 16px;
}
.hero-text {
  text-align: center;
  margin-bottom: -200px;
  margin-top: 120px;
   font-family: "Playfair Display";
}
div.dt-container .dt-length{
  margin: 10px;
}
    
#presentation-mercedes {
    max-width: 900px;       
    margin: 60px auto;      
    padding: 0 20px;         
    color: #e6e6e6;          
    font-family: Arial, sans-serif;
    margin-top: 50px;
    margin-bottom: 100px;
}

#presentation-mercedes h2 {
    font-size: 2rem;
    color: #000000;          
    margin-bottom: 170px;
    text-align: center;        
    letter-spacing: 1px;
    font-family: "Playfair Display";
     text-align: center;
}

#presentation-mercedes p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #222;              
    text-align: center;         
    margin-top: 0;
    margin-bottom: 20px;
}
@import url(https://fonts.googleapis.com/css?family=Open+Sans:300);

.container {
  postion: relative;
  width: 120px;
  background: #FFF
}
h1 {
  position: absolute;
  font-family: 'Open Sans';
  font-weight: 600;
  font-size: 20px;
  text-transform: uppercase;
  color: #CCC;
  font-wight: 600;
  left: calc(50% - 44px);
  top: 75%;
}
.body {
  position: absolute;
  top: 20%;
  left: calc(50% - 150px);
  animation: speeder .4s linear infinite;
}
.body > span {
  height: 5px;
  width: 10px;
  background: #000;
  position: absolute;
  top: 80px;
  left: 10px;
  border-radius: 2px 10px 1px 0;
}

.base span {
  position: absolute;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-right: 100px solid #000;
  border-bottom: 6px solid transparent;
}
.base span:before {
  content: "";
  height: 22px;
  width: 22px;
  border-radius: 50%;
  background: #000;
  position: absolute;
  right: -110px;
  top: -16px;
}
.base span:after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-top: 0 solid transparent;
  border-right: 55px solid #000;
  border-bottom: 16px solid transparent;
  top: -16px;
  right: -98px;
}
.body > span > span:nth-child(1),
.body > span > span:nth-child(2),
.body > span > span:nth-child(3),
.body > span > span:nth-child(4) {
  width: 30px;
  height: 1px;
  background: #ddd;
  position: absolute;
  animation: fazer1 .2s linear infinite;
}

.body > span > span:nth-child(2) {
  top: 3px;
  animation: fazer2 .4s linear infinite;
}

.body > span > span:nth-child(3) {
  top: 1px;
  animation: fazer3 .4s linear infinite;
  animation-delay: -1s;
}

.body > span > span:nth-child(4) {
  top: 4px;
  animation: fazer4 1s linear infinite;
  animation-delay: -1s;
}

@keyframes fazer1 {
  0% {
    left: 0;
  }
  100% {
    left: -80px;
    opacity: 0;
  }
}
@keyframes fazer2 {
  0% {
    left: 0;
  }
  100% {
    left: -100px;
    opacity: 0;
  }
}
@keyframes fazer3 {
  0% {
    left: 0;
  }
  100% {
    left: -50px;
    opacity: 0;
  }
}
@keyframes fazer4 {
  0% {
    left: 0;
  }
  100% {
    left: -150px;
    opacity: 0;
  }
}
@keyframes speeder {
  0% {
    transform: translate(2px, 1px) rotate(0deg);
  }
  10% {
    transform: translate(-1px, -3px) rotate(-1deg);
  }
  20% {
    transform: translate(-2px, 0px) rotate(1deg);
  }
  30% {
    transform: translate(1px, 2px) rotate(0deg);
  }
  40% {
    transform: translate(1px, -1px) rotate(1deg);
  }
  50% {
    transform: translate(-1px, 3px) rotate(-1deg);
  }
  60% {
    transform: translate(-1px, 1px) rotate(0deg);
  }
  70% {
    transform: translate(3px, 1px) rotate(-1deg);
  }
  80% {
    transform: translate(-2px, -1px) rotate(1deg);
  }
  90% {
    transform: translate(2px, 1px) rotate(0deg);
  }
  100% {
    transform: translate(1px, -2px) rotate(-1deg);
  }
}
.longfazers {
  position: absolute;
  width: 100%;
  height: 100%;
}
.longfazers span {
  position: absolute;
  height: 2px;
  width: 20%;
  background: #999;
}
.longfazers span:nth-child(1) {
  top: 20%;
  animation: lf .6s linear infinite;
  animation-delay: -5s;
}
.longfazers span:nth-child(2) {
  top: 40%;
  animation: lf2 .8s linear infinite;
  animation-delay: -1s;
}
.longfazers span:nth-child(3) {
  top: 60%;
  animation: lf3 .6s linear infinite;
}
.longfazers span:nth-child(4) {
  top: 80%;
  animation: lf4 .5s linear infinite;
  animation-delay: -3s;
}

@keyframes lf {
  0% {
    left: 200%;
  }
  100% {
    left: -200%;
    opacity: 0;
  }
}
@keyframes lf2 {
  0% {
    left: 200%;
  }
  100% {
    left: -200%;
    opacity: 0;
  }
}
@keyframes lf3 {
  0% {
    left: 200%;
  }
  100% {
    left: -100%;
    opacity: 0;
  }
}
@keyframes lf4 {
  0% {
    left: 200%;
  }
  100% {
    left: -100%;
    opacity: 0;
  }
}


.card__title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    color: white;
}
.card__text {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
    color:white;
}
@import url("https://fonts.googleapis.com/css?family=Oswald");
* {
  margin: 0;
}


h2 {
  color: #000;
  font-family: var(--wb-typography-mq4-6-heading-large-font-family);
  padding-right: 1em;
}
@keyframes example-1 {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(9px);
    opacity: 0.0625;
  }
}
@keyframes example-2 {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
    opacity: 0.125;
  }
}
@keyframes example-3 {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(11px);
    opacity: 0.1875;
  }
}
@keyframes example-4 {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(12px);
    opacity: 0.25;
  }
}
@keyframes example-5 {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(13px);
    opacity: 0.3125;
  }
}
@keyframes example-6 {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(14px);
    opacity: 0.375;
  }
}
@keyframes example-7 {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(15px);
    opacity: 0.4375;
  }
}
@keyframes example-8 {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(16px);
    opacity: 0.5;
  }
}
@keyframes example-9 {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(17px);
    opacity: 0.5625;
  }
}
@keyframes example-10 {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(18px);
    opacity: 0.625;
  }
}
@keyframes example-11 {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(19px);
    opacity: 0.6875;
  }
}
@keyframes example-12 {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(20px);
    opacity: 0.7500;
  }
}
h2 div:nth-child(1) {
  display: inline-block;
  text-shadow: 2px 2px 3px #585858;
  animation-name: example-1;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  animation-delay: 0.2s;
  animation-timing-function: ease-in-out;
}
h2 div:nth-child(2) {
  display: inline-block;
  text-shadow: 2px 2px 3px #3D6366;
  animation-name: example-2;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  animation-delay: 0.4s;
  animation-timing-function: ease-in-out;
}
h2 div:nth-child(3) {
  display: inline-block;
  text-shadow: 2px 2px 3px #3D6366;
  animation-name: example-3;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  animation-delay: 0.6s;
  animation-timing-function: ease-in-out;
}
h2 div:nth-child(4) {
  display: inline-block;
  text-shadow: 2px 2px 3px #3D6366;
  animation-name: example-4;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  animation-delay: 0.8s;
  animation-timing-function: ease-in-out;
}
h2 div:nth-child(5) {
  display: inline-block;
  text-shadow: 2px 2px 3px #3D6366;
  animation-name: example-5;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  animation-delay: 1s;
  animation-timing-function: ease-in-out;
}
h2 div:nth-child(6) {
  display: inline-block;
  text-shadow: 2px 2px 3px #3D6366;
  animation-name: example-6;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  animation-delay: 1.2s;
  animation-timing-function: ease-in-out;
}
h2 div:nth-child(7) {
  display: inline-block;
  text-shadow: 2px 2px 3px #3D6366;
  animation-name: example-7;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  animation-delay: 1.4s;
  animation-timing-function: ease-in-out;
}
h2 div:nth-child(8) {
  display: inline-block;
  text-shadow: 2px 2px 3px #3D6366;
  animation-name: example-8;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  animation-delay: 1.6s;
  animation-timing-function: ease-in-out;
}
h2 div:nth-child(9) {
  display: inline-block;
  text-shadow: 2px 2px 3px #3D6366;
  animation-name: example-9;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  animation-delay: 1.8s;
  animation-timing-function: ease-in-out;
}
h2 div:nth-child(10) {
  display: inline-block;
  text-shadow: 2px 2px 3px #3D6366;
  animation-name: example-10;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  animation-delay: 2s;
  animation-timing-function: ease-in-out;
}
h2 div:nth-child(11) {
  display: inline-block;
  text-shadow: 2px 2px 3px #3D6366;
  animation-name: example-11;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  animation-delay: 2.2s;
  animation-timing-function: ease-in-out;
}
h2 div:nth-child(12) {
  display: inline-block;
  text-shadow: 2px 2px 3px #3D6366;
  animation-name: example-12;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  animation-delay: 2.4s;
  animation-timing-function: ease-in-out;
}

.bocale {
  width: 800px;
  height: 400px;
  perspective: 1000px;
}

.bocale-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.999s;
}

.bocale:hover .bocale-inner {
  transform: rotateY(180deg);
}

.bocale-front,
.bocale-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 10px; 
  overflow: hidden; 
}

.bocale-front {
  background-color: #ffffff;
  color: #fff;
  display: flex;
  align-items: center;
  border: 10px solid #ffffff;
  border-radius: 10px;
  justify-content: center;
  font-size: 24px;
  transform: rotateY(0deg);
}

.bocale-back {
  background-color: #ffffff;
  color: #fff;
  display: flex;
  align-items: center;
  border: 10px solid #ffffff;
  border-radius: 10px;
  justify-content: center;
  font-size: 24px;
  transform: rotateY(180deg);
}
.bocale-back img {
  width: 100%;
  height: 100%;
  object-fit: cover;   
  display: block;
  border-radius: 10px;
}
.reduire{
  font-size: 35px;
  color: #000;
   font-family: "Playfair Display";
}
.bien{
  font-size: 1.1rem;
  line-height: 1.4;
  color: #222;
  text-align: left;
  margin-top: 0;
  margin-bottom: 0px;
}
.bocale1{
    width: 300px;
  height: 300px;
  margin-left: -100px;

}
.decor {
  position: relative;
  width: 200px;
  height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 4px;
  gap: 0px;
  border-radius: 8px;
  cursor: pointer;
  color: white;
  margin-top: -400px;
  margin-bottom: 170px;
  margin-left: 400px;
  
}

.decor::before {
  content: '';
  position: absolute;
  inset: 0;
  left: -5px;
  margin: auto;
  width: 200px;
  height: 270px;
  border-radius: 10px;
  background: linear-gradient(-45deg, #e81cff 0%, #40c9ff 100% );
  z-index: -10;
  pointer-events: none;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.decor::after {
  content: "";
  z-index: -1;
  position: absolute;
  inset: 0;
  background: linear-gradient(-45deg, #fc00ff 0%, #00dbde 100% );
  transform: translate3d(0, 0, 0) scale(0.95);
  filter: blur(20px);
}

.heading {
  font-size: 20px;
  text-transform: capitalize;
  font-weight: 700;
}

.decor p:not(.heading) {
  font-size: 14px;
}

.decor p:last-child {
  color: #e81cff;
  font-weight: 600;
}

.decor:hover::after {
  filter: blur(30px);
}

.decor:hover::before {
  transform: rotate(-90deg) scaleX(1.34) scaleY(0.77);
}

.decor-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: 6px;
}

.decor-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
}
.maintenir {
width: 500px;
  margin: 0 auto;
}
.wrapper {
  width: 100%;
  height: 100vh;
  position: relative;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
 
}

.inner {
  --w: 150px;
  --h: 225px;
  --translateZ: calc((var(--w) + var(--h)) + 0px);
  --rotateX: -15deg;
  --perspective: 1000px;
  position: absolute;
  width: var(--w);
  height: var(--h);
  top: 25%;
  left: calc(50% - (var(--w) / 2) - 2.5px);
  z-index: 2;
  transform-style: preserve-3d;
  transform: perspective(var(--perspective));
  animation: rotating 20s linear infinite; /* */
}
@keyframes rotating {
  from {
    transform: perspective(var(--perspective)) rotateX(var(--rotateX))
      rotateY(0);
  }
  to {
    transform: perspective(var(--perspective)) rotateX(var(--rotateX))
      rotateY(1turn);
  }
}

.tab {
  position: absolute;
  border: 2px solid rgba(var(--color-tab));
  border-radius: 12px;
  overflow: hidden;
  inset: 0;
  transform: rotateY(calc((360deg / var(--quantity)) * var(--index)))
    translateZ(var(--translateZ));

}

.img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #0000
    radial-gradient(
      circle,
      rgba(var(--color-tab), 0.2) 0%,
      rgba(var(--color-tab), 0.6) 80%,
      rgba(var(--color-tab), 0.9) 100%
    );
}


.container {
  display: flex;
  gap: 10px;  
  background: black;
 
}


.Btn {
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition-duration: 0.4s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  margin-left: 10px;
}

.instagram {
  background: #f09433;
  background: -moz-linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
  background: -webkit-linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
  background: linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f09433', endColorstr='#bc1888',GradientType=1 );
}

.youtube {
  background-color: #ff0000;
}

.discord {
  background-color: #5865F2;
}

.Btn:hover {
  width: 300px;
  transition-duration: 0.4s;
  border-radius: 30px;
  
}

.Btn:hover .text {
  opacity: 1;
  transition-duration: 0.4s;
}

.Btn:hover .svgIcon {
  opacity: 0;
  transition-duration: 0.3s;
}

.text {
  position: absolute;
  color: rgb(255, 255, 255);
  width: 120px;
  font-weight: 600;
  opacity: 0;
  transition-duration: 0.4s;
}

.svgIcon {
  transition-duration: 0.3s;
  
}

.svgIcon path {
  fill: white;
}

.passtyle {
  text-decoration: none;
  color: white;
  
}
.button1 {
  font-size: 1.4em;
  padding: 0.3em 0.8em;
  border-radius: 0.5em;
  border: none;
  background-color: #000;
  color: #fff;
  cursor: pointer;
  box-shadow: 2px 2px 3px #000000b4;
}

.container1 {
  position: relative;
  padding: 2px;
  background: linear-gradient(90deg, #03a9f4, #f441a5);
  border-radius: 0.8em;
  transition: all 0.4s ease;
  margin-top: -30px;
  margin-bottom: 50px;
}

.container1::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  border-radius: 0.9em;
  z-index: -10;
  filter: blur(0);
  transition: filter 0.4s ease;
}

.container1:hover::before {
  background: linear-gradient(90deg, #03a9f4, #f441a5);
  filter: blur(1.2em);
}
.container1:active::before {
  filter: blur(0.2em);
}

.txt {
  position: relative;
  font-family: sans-serif;
  font-size: 50px;
  letter-spacing: 4px;
  overflow: hidden;
  background: linear-gradient(90deg, #fff 10%, #ffffff 20%);
  background-repeat: no-repeat;
  background-size: 80%;
  animation: animate 5s linear forwards;
  -webkit-background-clip: text;
  -webkit-text-fill-color: rgba(255, 255, 255, 0);
  text-align: center;
  font-family:Georgia, 'Times New Roman', Times, serif;
  margin-top: 260px;
}

@keyframes animate {
  0% {
    background-position: -500%;
  }
  100% {
    background-position: 500%;
  }
}


.form-container { 
  position: absolute;
   top: 70%; 
   left: 50%; 
   transform: translate(-50%, -50%); 
   background: rgba(0, 0, 0, 0.6); 
   color: #fff; 
   padding: 12px; 
   border-radius: 10px; 
   z-index: 2; 
   width: 350px;  
   display: flex; 
   flex-direction: column; 
   gap: 7px; 

  }

.title {
  text-align: center;
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
}
.hidden-title {
  position: absolute; 
  left: -9999px;      
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-container  {
  margin-top: 1.5rem;
  
}

.input-group {
 font-size: 14px;
  padding: 1px;
}
.input-group label {
  display: block;
  color: rgba(156, 163, 175, 1);
  margin-bottom: 4px;
  background: none;
}

.input-group input {
  width: 100%;
  border-radius: 0.375rem;
  border: 1px solid rgba(55, 65, 81, 1);
  outline: 0;
  background-color: rgba(17, 24, 39, 1);
  padding: 0.7rem 1rem;
  color: rgba(243, 244, 246, 1)
}

input[type="radio"] {
  width: 20px;
  height: 20px;
  padding: 12px;
  border: none;
  background-color: transparent;
}

.input-group input:focus {
  border-color: rgba(167, 139, 250);
}


.sign {
  background: #fff;
  border: none;
  padding: 10px 20px;
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  width: 120px;
  text-transform: uppercase;
  cursor: pointer;
  transform: skew(-21deg);
  margin: 0 auto;
}

span {
  display: inline-block;
}

.sign::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 100%;
  left: 0;
  background: rgb(20, 20, 20);
  opacity: 0;
  z-index: -1;
  transition: all 0.5s;
}
.sign:hover {
  color: #fff;
}

.sign:hover::before {
  left: 0;
  right: 0;
  opacity: 1;
}



.line {
  height: 1px;
  flex: 1 1 0%;
  background-color: rgba(55, 65, 81, 1);
}

#message {
  resize: none;
}
.bon {
   display: flex;
  justify-content: center;
}
.car-section {
  padding: 80px 20px; 
  text-align: center;
  background-color: rgb(255, 255, 255)fff; 
  color: #fff;
  margin-left: -70px
}

.car-section h2 {
  margin-bottom: 10px;
  font-size: 2rem;
   font-family: "Playfair Display";
}

.car-section p {
  margin-bottom: 30px;
  font-size: 1.2rem;
}
.amginfobox {
  max-width: 550px;
  background: linear-gradient(135deg, #e6e6e6, #ffffff);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  font-family: 'Segoe UI', sans-serif;
  color: #333;
  transition: transform 0.3s ease;
  margin-top: -360px;
  margin-bottom: 100px;
  margin-left: 100px;
}

.amginfobox:hover {
  transform: scale(1.02);
}

.amginfobox h2 {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #000000;
}

.amginfobox p {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 10px;
   color: #000000;
}

.amginfobox ul {
  margin:0 auto;
  margin-bottom: 10px;
}

.amginfobox ul li {
  margin-bottom: 6px;
   color: #000000;
}

.amginfobox a {
  color: #0077cc;
  text-decoration: none;
}

.amginfobox a:hover {
  text-decoration: underline;
}

.cole {
    background: rgba(20, 20, 20, 0.95);
    border-radius: 20px;
    padding: 40px;
    width: 90%;
    max-width: 800px;
    box-shadow: 0 0 40px rgba(255, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin: 0 auto;
    margin-bottom: 30px;
}


.solo {
    text-align: center;
    font-size: 1.6rem;
    margin-bottom: 25px;
    color: #ff2e2e;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h4 {
    font-size: 1.2rem;
    margin: 25px 0 10px;
    color: #ffffff;
    border-left: 4px solid #ff2e2e;
    padding-left: 10px;
}


p {
    margin: 8px 0;
    line-height: 1.6;
    color: #dddddd;
}
.conteneur {
  width: 1080px;  
  margin: 0 auto;  
  padding: 0 20px; 
}

#super-btn {
    position: fixed;
    right: 32px;
    bottom: 32px;
    z-index: 1000;
    display: inline-block;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.18);
    width: 56px;
    height: 56px;
    background: #fff;
    transition: box-shadow 0.2s, transform 0.2s;
}
#super-btn:hover {
    box-shadow: 0 4px 24px rgba(0,0,0,0.28);
    transform: scale(1.07);
}
#super-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

.main-container {
	display: flex;
	width: 100%;
	max-width: 1200px;
	height: 80vh;
	gap: 60px;
	align-items: center;
	justify-content: center;
}

.carousel-section {
	flex: 1;
	display: flex;
	justify-content: center;
	align-items: center;
}

.controls-section {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 40px;
	padding-left: 40px;
}

.carousel-container {
	width: 100%;
	max-width: 500px;
	height: 70vh;
	position: relative;
	perspective: 1000px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.carousel-container .nav-arrow {
	display: none;
}

.carousel-track {
	width: 450px;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	position: relative;
	transform-style: preserve-3d;
	transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carte {
	position: absolute;
	width: 400px;
	height: 225px;
	background: white;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
	transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	cursor: pointer;
}

.carte img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carte.center {
	z-index: 10;
	transform: scale(1.1) translateZ(0);
}

.carte.center img {
	filter: none;
}

.carte.up-2 {
	z-index: 1;
	transform: translateY(-300px) scale(0.8) translateZ(-300px);
	opacity: 0.7;
}
.carte.center img {
	filter: none;
}

.carte.up-1 {
	z-index: 5;
	transform: translateY(-150px) scale(0.9) translateZ(-100px);
	opacity: 0.9;
}


.carte.down-1 {
	z-index: 5;
	transform: translateY(150px) scale(0.9) translateZ(-100px);
	opacity: 0.9;
}


.carte.down-2 {
	z-index: 1;
	transform: translateY(300px) scale(0.8) translateZ(-300px);
	opacity: 0.7;
}



.carte.hidden {
	opacity: 0;
	pointer-events: none;
}

.member-info {
	text-align: center;
	margin-top: 20px;
	transition: all 0.5s ease-out;
  	color: rgb(8, 42, 123);
}

.member-name {
	color: rgb(8, 42, 123);
	font-size: 2rem;
	font-weight: 700;
	margin-bottom: 8px;
	position: relative;
	display: inline-block;
}

.member-name::before,
.member-name::after {
	content: "";
	position: absolute;
	top: 100%;
	width: 80px;
	height: 2px;
	background: rgb(0, 0, 0);
}

.member-name::before {
	left: -100px;
}

.member-name::after {
	right: -100px;
}

.member-role {
	color: #848696;
	font-size: 1.2rem;
	font-weight: 500;
	opacity: 0.8;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	padding: 5px 0;
	margin-top: -10px;
	position: relative;
}
.dots {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 30px;
}

.dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.2);
	cursor: pointer;
	transition: all 0.3s ease;
}

.dot.active {
	background: rgb(0, 0, 0);
	transform: scale(1.2);
}




.nav-arrow {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgb(20, 20, 20);
  border: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 0px 0px 4px rgba(180, 160, 255, 0.253);
  cursor: pointer;
  transition-duration: 0.3s;
  overflow: hidden;
  position: relative;
}

.svgIcon {
  width: 12px;
  transition-duration: 0.3s;
}

.svgIcon path {
  fill: white;
}


.nav-arrow.down .svgIcon {
  transform: rotate(0deg);
}


.nav-arrow.up .svgIcon {
  transform: rotate(180deg);
}


.nav-arrow:hover {
  width: 140px;
  border-radius: 50px;
  background-color: rgb(181, 160, 255);
}

.nav-arrow.down:hover .svgIcon {
  transform: translateY(-200%);
}
.nav-arrow.up:hover .svgIcon {
  transform: translateY(-200%) rotate(180deg);
}

.nav-arrow::before {
  position: absolute;
  bottom: -20px;
  color: white;
  font-size: 0px;
  transition-duration: 0.3s;
  
}

.nav-arrow.down::before {
  content: "Back to Top";
}

.nav-arrow.up::before {
  content: "Scroll Down";
}

.nav-arrow:hover::before {
  font-size: 13px;
  bottom: unset;
}

.nav-controls {
	display: flex;
	flex-direction: row;
	gap: 30px;
	align-items: center;
	justify-content: center;
}
.container4 {
  width: 100%;
  height: 100%;
background: linear-gradient(135deg, #e0e0e0 0%, #ffffff 50%, #d1d1d1 100%);
}
.dt-info {
  background-color:none;
}

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.preloader-image {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
}

.preloader-text {
  font-size: 20px;
color:white;
}

.preloader-image {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  animation-name: spin;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-timing-function: cubic-bezier(0.46, 0.03, 0.52, 0.96);
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
 
.toggle-switch {
  --size: 0.6; 
  --light: #d8dbe0;
  --dark: #28292c;
  left: -30px;

  position: relative;
  width: calc(100px * var(--size));
  height: calc(50px * var(--size));
}


.switch-label {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  background-color: var(--dark);
  border-radius: calc(25px * var(--size));
  cursor: pointer;
  border: calc(3px * var(--size)) solid var(--dark);
}

.checkbox {
  display: none;
}


.slider {
  position: absolute;
  inset: 0;
  border-radius: calc(25px * var(--size));
  transition: 0.3s;
}

.checkbox:checked ~ .slider {
  background-color: var(--light);
}


.slider::before {
  content: "";
  position: absolute;
  top: calc(10px * var(--size));
  left: calc(10px * var(--size));
  width: calc(25px * var(--size));
  height: calc(25px * var(--size));
  border-radius: 50%;
  background-color: var(--dark);
  box-shadow: inset calc(12px * var(--size)) calc(-4px * var(--size)) 0 0 var(--light);
  transition: 0.3s;
  transform: rotate(20deg);
}


.checkbox:checked ~ .slider::before {
  transform: translate(
      calc(50px * var(--size)),
      calc(4px * var(--size))
    )
    rotate(20deg);
  box-shadow: none;
}

.btn-print {
  padding: 10px 20px;
  background-color: #000;
  color: white;
  border: none;
  cursor: pointer;
  margin-bottom: 10px;
  border-radius: 5px;
}


@media print {

  body * {
    visibility: hidden;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  
  #tableau, #tableau * {
    visibility: visible;
  }
  
  #tableau {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
  }

  .btn-print {
    display: none;
  }
}
.btn-excel {
  padding: 10px 20px;
  background-color: #1D6F42; 
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  margin-left: 10px;
}

.btn-excel:hover {
  background-color: #155231;
}


#tableau_wrapper .dt-layout-row:first-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.btn-print, .btn-excel {
    height: 34px;
    padding: 0 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
    color: white;
}
.sty {
  font-family: "Playfair Display";
  font-size: 5rem;
  font-weight: 900;
  color: #000000;
  text-transform: uppercase;
  text-align: center;
  cursor: default;
  position: relative;
  
  
  animation: slideIn 1.2s ease-out forwards;
  
 
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-shadow: 0 0 0px rgba(255,255,255,0);
}


.sty:hover {
  letter-spacing: 5px;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
  transform: scale(1.05);
}


@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateY(50px) skewX(-10deg);
    filter: blur(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) skewX(0);
    filter: blur(0);
  }
}

.galerie-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
}

.galerie-item {
    aspect-ratio: 1 / 1;       
    overflow: hidden;
    flex: 0 0 300px;  /* Largeur fixe */
    height: 300px;    
    border-radius: 10px;
    background-color: #eee;
}

.galerie-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;        
    filter: grayscale(0%);
    transition: transform 0.4s ease-in-out, filter 0.4s ease-in-out;
}

.galerie-item img:hover {
    filter: grayscale(100%);
    transform: scale(1.1);
    cursor: pointer;
}
.upload-form {
 background: linear-gradient(145deg, #0a0a0a 0%, #1c1c1c 100%);
  padding: 6px 40px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5), 0 0 1px rgba(255, 255, 255, 0.1);
  text-align: center;


  width: 100vw;
  max-width: 100%;
  margin: 0;

  border: none;
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, #c7c7c7 0%, #ffffff 50%, #c7c7c7 100%);
  border-image-slice: 1;
  border-image-width: 3px 0 0 0;

  position: relative;
}

.upload-label {
    display: block;
    color: #e8e8e8;
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-family: 'Segoe UI', 'Arial', sans-serif;
}


.upload-input {
    display: block;
    max-width: 600px;
    width: 100%;
    margin: 0 auto 30px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(199, 199, 199, 0.3);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.4s ease;
    font-size: 0.95rem;
    color: #c7c7c7;
    font-family: 'Segoe UI', 'Arial', sans-serif;
}

.upload-input:hover {
    background-color: rgba(255, 255, 255, 0.06);
    border-color: #c7c7c7;
    box-shadow: 0 0 20px rgba(199, 199, 199, 0.1);
}


.upload-button {
    background: linear-gradient(135deg, #c7c7c7 0%, #a8a8a8 100%);
    color: #0a0a0a;
    padding: 16px 60px;
    border: none;
    border-radius: 2px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    box-shadow: 0 4px 15px rgba(199, 199, 199, 0.2);
}

.upload-button:hover {
    background: linear-gradient(135deg, #ffffff 0%, #d4d4d4 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(199, 199, 199, 0.4);
}

.upload-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(199, 199, 199, 0.3);
}
.yo {
  margin-bottom: 16px;
  font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif ;
}
/* ============================================
   MERCEDES TEAM MRCF - PREMIUM DESIGN
   Style inspiré de l'image fournie
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* ============================================
   MERCEDES TEAM MRCF - PREMIUM DESIGN
   Style inspiré de l'image fournie
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* Variables locales - n'affectent que cette page */
.team-container {
    --primary-dark: #0a0a0a;
    --secondary-dark: #1a1a1a;
    --silver: #c7c7c7;
    --gold: #d4af37;
    --white: #ffffff;
    --text-light: #e8e8e8;
    --transition: cubic-bezier(0.4, 0.0, 0.2, 1);
}

/* Styles uniquement pour la page équipe */
.team-container {
   padding: 40px px;
  max-width: 1080px;
  width: 100%;
    margin: 0 auto;
    padding: 60px 40px 100px;
    background: linear-gradient(to bottom, #000000 0%, #0f0f0f 50%, #000000 100%);
    font-family: 'Montserrat', sans-serif;
    color: var(--text-light);
    line-height: 1.6;
}

.team-container * {
    box-sizing: border-box;
}

.team-container {
    background: linear-gradient(to bottom, #000000 0%, #0f0f0f 50%, #000000 100%);
}


.team-header {
    text-align: center;
    margin-bottom: 80px;
    padding: 6px 40px;
    position: relative;
}

.team-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--silver), transparent);
}

.team-logo {
    margin-bottom: 40px;
}

.team-name {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 15px;
    margin-bottom: 10px;
    text-shadow: 0 0 40px rgba(199, 199, 199, 0.3);
    animation: fadeInDown 1s var(--transition);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.team-subtitle {
    font-size: 1rem;
    font-weight: 300;
    color: var(--gold);
    letter-spacing: 4px;
    text-transform: uppercase;
    animation: fadeIn 1.2s var(--transition) 0.3s backwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.team-description {
    max-width: 900px;
    margin: 0 auto;
    margin-top: 50px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 30px;
    letter-spacing: 3px;
}

.section-title1 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 30px;
    letter-spacing: 3px;
    text-align: left;
}

.motivation-text {
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--silver);
    line-height: 2;
    text-align: justify;
    letter-spacing: 0.5px;
}

/* ============================================
   SECTION 2 : GRILLE MEMBRES (2x2)
   ============================================ */

.members-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 100px;
    padding: 0 20px;
}

/* ============================================
   CARTE MEMBRE - Style comme l'image
   ============================================ */

.member-card {
    position: relative;
    height: 550px;
    overflow: hidden;
    border-radius: 0;
    transition: all 0.5s var(--transition);
    cursor: pointer;
}

.member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(199, 199, 199, 0.2);
}

/* Background image en arrière-plan */
.card-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--transition);
}

.member-card:hover .bg-image {
    transform: scale(1.1);
}

/* Overlay sombre sur l'image */
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.7) 50%,
        rgba(0, 0, 0, 0.95) 100%
    );
    z-index: 2;
}

/* Contenu de la carte */
.card-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 30px;
    text-align: center;
}

/* Photo ronde du membre */
.member-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 25px;
    border: 3px solid var(--silver);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.4s var(--transition);
}

.member-card:hover .member-photo {
    border-color: var(--gold);
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.4);
}

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

/* Nom du membre */
.member-name {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Rôle du membre */
.member-role {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

/* Biographie */
.member-bio {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--silver);
    line-height: 1.7;
    margin-bottom: 30px;
    max-width: 350px;
}

/* Bouton "Savoir Plus" */
.member-link {
    display: inline-block;
    padding: 12px 35px;
    background: transparent;
    border: 1.5px solid var(--white);
    color: var(--white);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    transition: all 0.4s var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.member-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--white);
    transition: left 0.4s var(--transition);
    z-index: -1;
}

.member-link:hover::before {
    left: 0;
}

.member-link:hover {
    color: var(--primary-dark);
    border-color: var(--white);
}

/* ============================================
   SECTION 3 : BOUTONS DOCUMENTS (en bas)
   ============================================ */

.documents-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    padding: 40px 20px;
}

.doc-button {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 18px 45px;
    background: var(--primary-dark);
    border: 2px solid var(--silver);
    border-radius: 50px;
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    transition: all 0.4s var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.doc-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(199, 199, 199, 0.1) 50%, 
        transparent 100%
    );
    transition: left 0.6s var(--transition);
}

.doc-button:hover::before {
    left: 100%;
}

.doc-button:hover {
    background: var(--silver);
    color: var(--primary-dark);
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(199, 199, 199, 0.3);
}

.doc-button .arrow {
    font-size: 1.2rem;
    transition: transform 0.4s var(--transition);
}

.doc-button:hover .arrow {
    transform: translateX(8px);
}

/* ============================================
   ANIMATIONS AU CHARGEMENT
   ============================================ */

.member-card {
    animation: fadeInUp 0.8s var(--transition) backwards;
}

.member-card:nth-child(1) { animation-delay: 0.1s; }
.member-card:nth-child(2) { animation-delay: 0.2s; }
.member-card:nth-child(3) { animation-delay: 0.3s; }
.member-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.doc-button {
    animation: fadeInScale 0.6s var(--transition) backwards;
}

.doc-button:nth-child(1) { animation-delay: 0.6s; }
.doc-button:nth-child(2) { animation-delay: 0.7s; }
.doc-button:nth-child(3) { animation-delay: 0.8s; }

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}


.member-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.05) 50%, 
        transparent 100%
    );
    z-index: 4;
    transition: left 1s var(--transition);
}

.member-card:hover::after {
    left: 150%;
}

/* Curseur personnalisé sur les cartes */
.member-card,
.doc-button {
    cursor: pointer;
}
.back {
  background-color: black;
}
.deco {
  color:#A0A0A0
}