
* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: sans-serif;
  color: #f5f5f5;
  background: #0b0b0b;
}

h3 { font-size: 1.6em; margin: 0 0 10px 0; }
p { margin: 0 0 12px 0; }

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2% 4%;
  border-bottom: 1px solid #383838;
  background: #111;
}

header h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 2vw, 1.9rem);
  font-weight: 600;
  letter-spacing: 1.2px;
  color: #e5a02a;
  margin: 0;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(229, 160, 42, 0.15);
}

header h1 span {
  display: block;
  font-family: sans-serif;
  font-size: 0.45em;
  font-weight: 400;
  letter-spacing: 3px;
  color: #f5f5f5;
  margin-top: 6px;
  text-transform: uppercase;
}

nav a {
  margin-left: 25px;
  text-decoration: none;
  color: #f5f5f5;
}

.bloc {
  display: flex;
  align-items: center;
  gap: 4%;
  padding: 5% 4%;
  background: #0b0b0b;
}

.inverse { background: #171717; }
.texte { width: 48%; }

.image {
  width: 48%;
  aspect-ratio: 16 / 10;
  background: #222;
  border: 1px solid #444;
  overflow: hidden;
}

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

.bouton {
  display: inline-block;
  border: 1px solid #e5a02a;
  padding: 10px 24px;
  text-decoration: none;
  color: #e5a02a;
}

.bandeau {
  background: #202020;
  text-align: center;
  padding: 5% 4%;
}

.champ {
  display: flex;
  justify-content: center;
  gap: 1%;
  margin-top: 20px;
}

.champ input {
  width: 50%;
  padding: 10px;
  border: 1px solid #555;
  background: #222;
  color: #fff;
}

.champ button {
  width: 15%;
  border: 1px solid #e5a02a;
  background: #e5a02a;
  color: #111;
  cursor: pointer;
}

.cartes {
  position: relative;
  padding: 5% 4%;
  background: #0b0b0b;
}

.piste {
  display: flex;
  gap: 3%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.piste::-webkit-scrollbar { display: none; }

.carte {
  flex: 0 0 31.333%;
  scroll-snap-align: start;
}

.fleche {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #555;
  background: rgba(35, 35, 35, 0.9);
  color: #f5f5f5;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.fleche.gauche { left: 1%; }
.fleche.droite { right: 1%; }

.fleche:hover {
  background: #e5a02a;
  color: #111;
  border-color: #e5a02a;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  background: #171717;
  padding: 4% 6%;
  color: #f5f5f5;
}

.col { width: 21%; }
.col p { margin: 0 0 10px 0; }

.rond-liste { display: flex; gap: 10px; }

.rond {
  width: 30px;
  height: 30px;
  border: 1px solid #e5a02a;
  border-radius: 50%;
}

.copyright {
  width: 100%;
  text-align: center;
  border-top: 1px solid #444;
  padding-top: 15px;
  margin: 30px 0 0 0;
}

.logo {
  width: 5%;
  aspect-ratio: 1 / 1;
  background: #222;
  border: 1px solid #444;
}

footer .logo { width: 35%; }

.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

@media (max-width: 768px) {
  header { flex-wrap: wrap; }
  .logo { order: 1; }

  nav {
    order: 3;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 20px;
    margin-top: 10px;
  }

  nav a { margin: 0; }

  .bloc { flex-direction: column; }
  .inverse { flex-direction: column-reverse; }
  .texte, .image { width: 100%; }

  .champ input { width: 65%; }
  .champ button { width: 30%; }

  .piste {
    flex-direction: column;
    overflow: visible;
    gap: 20px;
  }

  .fleche { display: none; }

  .carte {
    flex: none;
    width: 100%;
    display: grid;
    grid-template-columns: 28% 1fr;
    column-gap: 4%;
    align-items: start;
  }

  .carte .image {
    grid-column: 1;
    grid-row: 1 / span 3;
    width: 100%;
    aspect-ratio: 1 / 1;
    margin-bottom: 0;
  }

  .carte h3, .carte p, .carte .bouton {
    grid-column: 2;
  }

  .carte h3 {
    font-size: 1.1em;
    margin-bottom: 5px;
  }

  .carte .bouton {
    justify-self: start;
    padding: 6px 14px;
    font-size: 0.9em;
  }

  footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 5%;
    padding: 6% 5%;
  }

  .col { width: 100%; }
  .col:nth-child(1) { grid-column: 1; grid-row: 1; }
  .col:nth-child(2) { grid-column: 1; grid-row: 2; }
  .col:nth-child(3) { display: none; }

  .col:nth-child(4) {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: end;
  }

  .copyright {
    grid-column: 1 / span 2;
    margin-top: 15px;
  }

  .inverse .image { display: none; }
  .logo { width: 12%; }
  footer .logo { width: 40%; }
}
.image img {
  transition: transform 0.3s ease;
}

.image:hover img {
  transform: scale(1.05);
}