/* =========================
   RESET DE BASE
========================= */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #05070a;
  color: #f5f5f5;
  line-height: 1.5;
}

/* =========================
   STRUCTURE GÉNÉRALE
========================= */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

section {
  padding: 60px 0;
}

/* =========================
   HEADER
========================= */

header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(5, 7, 10, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* >>> ICI : on centre le bloc logo + navigation et on ajoute de l’espace */
header .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 12px 16px;
}

/* Logo + titre */
.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-logo {
  height: 24px;
  width: auto;
  border-radius: 4px;
}

header h1 {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: .5px;
}

/* =========================
   NAVIGATION
========================= */

nav ul {
  list-style: none;
  display: flex;
  gap: 22px; /* plus d’espace entre les liens */
  justify-content: center;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: #e0e0e0;
  font-size: 0.88rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 8px 4px;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #f4b400, #fce08a);
  transition: width 0.25s ease;
}

nav a:hover::after {
  width: 100%;
}

nav a:hover {
  color: #ffffff;
}

/* =========================
   RESPONSIVE MOBILE
========================= */

@media (max-width: 768px) {
  /* >>> on garde tout bien centré même sur mobile */
  header .container {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
  }

  nav ul {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }

  nav a {
    font-size: 0.8rem;
    padding: 4px;
  }
}

/* =========================
   HERO / BANNIÈRE
========================= */

.hero-banner {
  background: radial-gradient(circle at top left, #1a1f2b 0, #05070a 55%, #020308 100%);
  color: #ffffff;
  padding: 80px 0 70px;
}

.hero-banner .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}

.hero-banner h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
}

.hero-banner p {
  font-size: 1.1rem;
  color: #cfd2dc;
}

/* =========================
   BOUTONS / CTA
========================= */

.cta-button,
.button-1 {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 999px;
  border: none;
  outline: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  background: linear-gradient(135deg, #f4b400, #f7c948);
  color: #111111;
  box-shadow: 0 10px 25px rgba(244, 180, 0, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  margin: 20px auto;
}

.cta-button:hover,
.button-1:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(244, 180, 0, 0.45);
  filter: brightness(1.05);
}

.cta-button:active,
.button-1:active {
  transform: translateY(0);
  box-shadow: 0 6px 15px rgba(244, 180, 0, 0.3);
}

/* =========================
   SECTIONS CLAIRES / FONCÉES
========================= */

.section-dark {
  background: #05070a;
  color: #f5f5f5;
}

.section-light {
  background: #0f141b;
  color: #f5f5f5;
}

.section-dark h2,
.section-light h2 {
  font-size: 1.8rem;
  margin-bottom: 26px;
  text-align: center;
}

.section-dark h2::after,
.section-light h2::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  margin: 8px auto 0 auto;
  background: linear-gradient(90deg, #f4b400, #fce08a);
}

/* =========================
   GRILLES / CARTES
========================= */

.congres-grid,
.options-grid,
.reviews-grid,
.footer-grid,
.fleet-grid {
  display: grid;
  gap: 20px;
}

.congres-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.options-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.reviews-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* >>> footer centré */
.footer-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  justify-items: center;
  text-align: center;
}

/* Flotte véhicules */
.fleet-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* CARTES */

.congre-card,
.option-card,
.fleet-card {
  background: #121720;
  border-radius: 14px;
  padding: 18px 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.4);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  text-align: center;
}

.congre-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  border-color: rgba(244, 180, 0, 0.6);
}

.option-card img,
.fleet-card img {
  width: 100%;
  max-width: 260px;
  height: 170px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  margin: 0 auto 10px auto;
}

.option-card h3,
.fleet-card figcaption {
  font-size: 1rem;
  margin-top: 4px;
}

.option-card p {
  font-size: 0.9rem;
  color: #c3c7d3;
}

.price-badge {
  align-self: center;
  margin-top: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.85rem;
  background: rgba(244, 180, 0, 0.12);
  color: #f4b400;
}

/* =========================
   AVIS CLIENTS
========================= */

.review-card {
  background: #121720;
  border-radius: 14px;
  padding: 18px 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.95rem;
  color: #d3d7e2;
  text-align: center;
}

.review-card footer {
  margin-top: 10px;
  font-size: 0.85rem;
  color: #9da2b5;
}

/* =========================
   FORMULAIRE RÉSERVATION
========================= */

.form-grid {
  display: grid;
  gap: 18px 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-bottom: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

label {
  font-size: 0.9rem;
  color: #d2d6e3;
}

/* INPUTS */

input[type="text"],
input[type="email"],
input[type="date"],
input[type="time"],
input[type="tel"],
select,
textarea {
  background: #10151e;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f5f5f5;
  padding: 10px 12px;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

textarea {
  min-height: 90px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #f4b400;
  box-shadow: 0 0 0 1px rgba(244, 180, 0, 0.3);
}

/* Formulaires centrés */

#reservation {
  text-align: center;
}

#reservation .container {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#booking-form,
#client-form {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Prix + paiement */

#price-display {
  margin: 8px auto 16px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(15, 126, 46, 0.12);
  color: #e1f7de;
  border: 1px solid rgba(46, 204, 113, 0.5);
  font-size: 0.95rem;
  text-align: center;
  max-width: 320px;
}

.payment-message {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #ffb4b4;
  text-align: center;
}

/* =========================
   FOOTER
========================= */

footer {
  background: #020308;
  padding: 35px 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #b4b8c6;
  font-size: 0.9rem;
}

/* >>> on centre tout le contenu du footer */
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-col h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: #ffffff;
  text-align: center;
}

.footer-col p,
.footer-col a {
  font-size: 0.9rem;
  color: #b4b8c6;
  text-decoration: none;
  text-align: center;
}

.footer-col a:hover {
  color: #f4b400;
}

.copyright,
.copyright p {
  text-align: center;
  margin-top: 10px;
  font-size: 0.8rem;
  color: #777c8f;
}

/* =========================
   LIENS
========================= */

a {
  color: #f4b400;
}

a:hover {
  color: #ffe28a;
}

/* =========================
   RESPONSIVE GLOBAL
========================= */

@media (max-width: 768px) {
  .hero-banner {
    padding: 60px 0 50px;
  }

  .cta-button,
  .button-1 {
    width: auto;
  }
}

@media (max-width: 480px) {
  header h1 {
    font-size: 1.4rem;
  }

  nav ul {
    gap: 8px;
  }

  nav a {
    font-size: 0.78rem;
  }
}
