/* Reset CSS */

@import url("https://fonts.googleapis.com/css2?family=Abril+Fatface&display=swap");

@font-face {
  font-family: "Arbotek";
  src: url("font/Arbotek-Ultra.woff") format("opentype");
  font-weight: bold;
}

@font-face {
  font-family: "BR sonoma";
  src: url("font/BRSonoma.woff") format("opentype");
  font-weight: 300;
}

/* Ajoutez d'autres variantes ici */

/* Remise à zéro des marges et des paddings */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
  padding: 0;
}

/* Remise à zéro de la taille de police */
body {
  font-size: 16px;
}

/* Remise à zéro des styles de liste */
ul,
ol {
  list-style: none;
}

/* Remise à zéro des styles de lien */
a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

/* Remise à zéro des styles de formulaire */
button,
input,
select,
textarea {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  outline: none;
}

/* Remise à zéro des styles de tableau */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Remise à zéro des styles d'image */
img {
  max-width: 100%;
  height: auto;
}

:is(article, aside, nav, section) h1 {
  font-size: inherit; /* Ajustez la taille si nécessaire */
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}

/* -----------------------------HOME */

:root {
  --arbotek-font: "Arbotek";
  --BRsonoma: "BR sonoma", sans-serif;
  --rouge: #e52520;
  --bleu: #4553a0;

  --scale-before: 0;
  --scale-after: 0;
}

/* -----------------------------HOME couleur contour*/

/* -----------------------------HOME */

.nav {
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.nav__title {
  font-family: var(--arbotek-font);
  font-size: 15vw;
  position: relative;
  background-color: white;
  padding: auto;
}

.nav__title::before,
.nav__title::after {
  content: "VELORA";
  position: absolute;
  color: transparent;
  -webkit-text-stroke: 1.5px;
  text-stroke: 1.5px;
  left: 0;
  z-index: -1;
  transform: scale(var(--scale-before));
  transform-origin: center;
}

.nav__title::before {
  bottom: 50%;
  -webkit-text-stroke-color: var(--bleu);
  text-stroke-color: var(--bleu);
}

.nav__title::after {
  top: 50%;
  -webkit-text-stroke-color: var(--rouge);
  text-stroke-color: var(--rouge);
  transform: scale(var(--scale-after));
}

.nav__arrow {
  width: 100px;
  color: var(--bleu);
  position: absolute;
  bottom: 50px;
  animation: bounce 2s infinite;
}
.nav__arrow {
  cursor: pointer;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-30px);
  }
  60% {
    transform: translateY(-15px);
  }
}
.svg__contain {
  width: 70%;
}

.svg__logo {
}

.svg__logo .cls-1 {
  fill: none;
  stroke: var(--rouge);
  stroke-width: 2;
}

.svg__logo .cls-2 {
  fill: none;
  stroke: var(--bleu);
  stroke-width: 2;
}

.svg__logo .cls-3 {
  fill: black;
  stroke: none;
  stroke-width: 2;
}

.svg__logo .filled-shape {
  fill: #d52b1e;
  opacity: 0;
}

#svg__contain {
  cursor: pointer;
}

/* -------------------------------------------CARROUSEL */
.partners__title {
  font-size: 3rem;
  margin-left: 3rem;
  font-family: var(--BRsonoma);
}

.partners {
  margin: 5rem 0;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
}

.slider {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.slide-track {
  display: flex;
  width: 3600px;
  gap: 4rem;
  animation: scroll 20s linear infinite;
}

.slider:hover .slide-track {
  animation-play-state: paused;
}

.slide {
  width: 200px;
  height: 300px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide img {
  width: 50%;
  height: auto;
  object-fit: contain;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-1800px);
  }
}

/* -------------------------------------------MEMBER */

.member {
  display: flex;
  justify-content: center;
  align-items: end;
  flex-direction: column;
  height: 100vh;
  gap: 4rem;
}

.member__title {
  font-size: 3rem;
  margin-right: 3rem;
  font-family: var(--BRsonoma);
}
.cards-container {
  display: flex;
  width: 100%;
  height: 70vh; /* Hauteur de démonstration, à ajuster */
  overflow: hidden; /* Pour éviter les barres de défilement si on veut */
}

/* Styles de base pour chaque carte */
.card {
  /* Ajuste la valeur flex de base */
  flex: 1;
  background-color: #4553a0;
  transition: flex 0.4s ease;
  background-size: cover;
  background-position: center;
  color: #e9e9e9;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: end;
  padding: 2rem;
  margin: 1rem;
  font-family: var(--arbotek-font);
  border-radius: 1rem;
  gap: 2rem;
  position: relative;
  z-index: 1;
  /* Juste un petit style visuel pour le texte */
}

.card::before {
  content: "";
  width: 100%;
  height: 100%;
  border-radius: 1rem;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.7));
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}

.card__button {
  font-size: 1rem;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  background-color: white;
  padding: 1rem 2rem 1rem 2rem;
  border-radius: 3rem;
  text-transform: uppercase;
  font-family: var(--BRsonoma);
  z-index: 3;
}

.card__text {
  font-size: 1rem;
  font-family: var(--BRsonoma);
  z-index: 3;
}

.card__title {
  font-size: 2rem;
  font-family: var(--arbotek-font);
  z-index: 3;
}

/* Quand on survole le conteneur global, on force toutes les cartes 
       à prendre une place un peu plus petite pour “faire de la place” 
       à la carte survolée */
.cards-container:hover .card {
  flex: 0.8; /* Valeur réduite */
}

/* Quand on survole spécifiquement une carte, celle-ci se dilate davantage */
.cards-container .card:hover {
  flex: 1.6; /* Valeur augmentée */
  cursor: pointer;
}

/* Rendre la section un peu plus réactive sur mobile */
@media (max-width: 768px) {
  .cards-container {
    flex-direction: column;
    height: auto;
  }
  .cards-container:hover .card {
    flex: none;
  }
  .cards-container .card {
    height: 40vh; /* Ajuste selon besoin */
  }
  .cards-container .card:hover {
    flex: none;
  }
}
