* {

  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
    --text-color: #fff;
    --background-color: #050505;
    --background-variant-color: #0a0a0a;
    --card-color: #141414;
    --card-border-color: #222;

    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    font-family: 'Louis George Café Light', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
}

.section {
    height: 100vh;
    width: 100%;
    position: relative;
    scroll-snap-align: start;
    overflow: hidden;
}

/* --- SECTION 1 --- */
.bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 1;
}

.content-hero {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.top-half {
    height: 50%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding: 20px;
}

.logo {
    max-height: 60%;
    max-width: 60%;
    object-fit: contain;
}

.bottom-half {
    height: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.welcome-text {
    font-size: 1.4rem;
    font-weight: 400;
    text-align: center;
}

/* --- SECTION GARAGE (CARROUSEL VERTICAL) --- */
.section-garage {
  background: var(--background-variant-color);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.garage-container {
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.garage-title {
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
}

.garage-carousel {
  display: flex;
  gap: 12px; /* Espace plus serré entre les fiches verticales */
  width: 100%;
  overflow-x: auto;
  padding: 10px 0 20px 0;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

/* Cache la barre de défilement */
.garage-carousel::-webkit-scrollbar {
  display: none;
}

/* Fiches verticales sur Mobile */
.garage-card {
  flex: 0 0 42%;
  height: 60dvh;
  background: var(--card-color);
  border-radius: 12px;
  border: 1px solid var(--card-border-color);
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  scroll-snap-align: start;
  overflow: hidden;
}

.garage-img {
  width: 100%;
  height: 100%;
  object-fit: contain; 
  padding: 15px;
  opacity: 0.85;
}

.section-community {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(---variant-color);
}

.content-community {
    width: 100%;
    max-width: 600px;
    padding: 40px 20px;
    text-align: center;
}

.catchphrase {
    font-style: italic;
    font-size: 1.3rem;
    opacity: 0.8;
    margin-bottom: 80px;
    line-height: 1.6;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.buttons-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.button {
    display: block;
    width: 100%;
    padding: 20px;
    background: var(--text-color);
    color: var(--background-color);
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    border-radius: 4px;
    transition: opacity 0.2s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.button:hover {
    opacity: 0.9;
}

@media (min-width: 768px) {
  .welcome-text { font-size: 2rem; }
  .catchphrase { font-size: 1.8rem; }
  h2 { font-size: 2.2rem; }
  
  .buttons-container {
    flex-direction: row;
  }

  .garage-title { font-size: 2.5rem; }

  .garage-card {
    flex: 0 0 calc(20% - 10px);
  }
  
  .garage-img {
    padding: 25px;
  }
  
}
