/* ============================================
   LE TRANSPORTEUR — style.css
   Mobile-first. Palette extraite du logo officiel.
   ============================================ */

:root {
  --black: #0e0e0e;
  --black-soft: #171614;
  --white: #f4f1e8;
  --white-dim: rgba(244,241,232,0.68);
  --gray: #8a877e;
  --gray-line: rgba(14,14,14,0.1);
  --gray-line-dark: rgba(244,241,232,0.12);
  --gold: #c9a44c;
  --gold-dim: rgba(201,164,76,0.35);
  --whatsapp: #25d366;
  --whatsapp-dark: #128c4a;

  --display: "Big Shoulders Display", sans-serif;
  --serif: "Newsreader", serif;
  --ui: "Inter", sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}


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

html { scroll-behavior: smooth; }
html,
body {
    overflow-x: hidden;
}



body {
  background: var(--black);
  color: var(--white);
  font-family: var(--ui);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font: inherit; }

.reveal-up, .reveal-card { opacity: 1; }

/* ============================================
   PRELOADER
   ============================================ */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.preloader-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: min(100%, 320px);
  text-align: center;
}

.preloader-brand img {
  width: 84px;
  height: 84px;
  display: block;
  margin: 0 auto;
}

.preloader-brand-text {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.7vw, 2.2rem);
  letter-spacing: 0.03em;
  color: var(--gold);
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.preloader-brand-text small {
  display: inline-block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1em;
  letter-spacing: 0.03em;
  color: var(--gold);
  margin-right: 0.1em;
  vertical-align: baseline;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  font-family: var(--ui);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 3px;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-outline {
  border-color: var(--gray-line-dark);
  color: var(--white);
}

.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.btn-whatsapp {
  background: var(--whatsapp);
  color: #06170d;
}

.btn-whatsapp:hover { background: var(--whatsapp-dark); color: var(--white); transform: translateY(-2px); }

.wa-icon { width: 17px; height: 17px; flex-shrink: 0; }

.btn-block { width: 100%; }

/* ============================================
   NAV
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: linear-gradient(180deg, rgba(14,14,14,0.9) 0%, rgba(14,14,14,0) 100%);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-brand img { width: 32px; height: 32px; }

.nav-brand-text {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: var(--white);
  line-height: 1;
}

.nav-brand-text small {
  display: block;
  font-family: var(--ui);
  font-weight: 500;
  font-size: 0.55rem;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 2px;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--white);
  position: relative;
  padding-bottom: 3px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-cta { display: none; }

.nav-burger {
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 210;
}

.nav-burger span {
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav-burger.open span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 195;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 26px;
  padding: 32px;
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease);
}

.mobile-menu.open { transform: translateY(0); }

.mobile-menu a {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
}

.mobile-menu .btn { margin-top: 12px; }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 120px 20px 48px;
  
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-media img { width: 100%; height: 100%; object-fit: cover; }

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14,14,14,0.55) 0%, rgba(14,14,14,0.35) 40%, rgba(14,14,14,0.92) 100%);
}

.hero-title {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(2.6rem, 11vw, 5rem);
  line-height: 0.96;
  color: var(--white);
  margin-bottom: 20px;
}

.hero-title span { display: block; }
.hero-title span.accent { color: var(--gold); }

.hero-sub {
  font-family: var(--serif);
  font-size: clamp(1rem, 2.6vw, 1.2rem);
  color: var(--white-dim);
  max-width: 46ch;
  line-height: 1.55;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--gray-line-dark);
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  color: var(--white-dim);
}

.hero-badge svg { width: 15px; height: 15px; color: var(--gold); flex-shrink: 0; }

/* ============================================
   SECTION HEAD
   ============================================ */
.section {
  padding: 64px 20px;
}

.section-head {
  margin-bottom: 36px;
  max-width: 60ch;
}

.section-head h2 {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1.9rem, 6vw, 2.6rem);
  line-height: 1.02;
  margin-bottom: 12px;
}

.section-head p {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--white-dim);
  line-height: 1.55;
}

.section-head.light h2 { color: var(--black); }
.section-head.light p { color: rgba(14,14,14,0.65); }

/* ============================================
   CARROUSEL — CATÉGORIES DE LA FLOTTE
   ============================================ */

.fleet-catalog { padding: 0 20px 64px; }
.fleet-category { padding: 42px 0; border-top: 1px solid var(--gray-line-dark); }
.fleet-category:first-child { border-top: 0; padding-top: 0; }
.fleet-category-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.fleet-category-label { color: var(--gold); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.fleet-category h2 { font-family: var(--display); font-size: clamp(2.2rem, 10vw, 3.5rem); line-height: .9; text-transform: uppercase; margin-top: 5px; }
.fleet-category-price { color: var(--gold); font-family: var(--display); font-size: clamp(1.15rem, 4vw, 1.6rem); font-weight: 700; line-height: 1; text-align: right; white-space: nowrap; }

.vehicle-card { scroll-snap-align: start; overflow: hidden; background: var(--black-soft); border: 1px solid var(--gray-line-dark); border-radius: 6px; }
.vehicle-card { position: relative; }
.vehicle-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  object-position: 50% 45%;
  background: #25231e;
}
.vehicle-card-body { padding: 18px; }
.vehicle-card h3 { font-family: var(--display); font-size: 1.8rem; line-height: 1; text-transform: uppercase; }
.vehicle-card-meta { color: var(--gold); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin: 7px 0 14px; }
.vehicle-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; border-top: 1px solid var(--gray-line-dark); padding-top: 12px; }
.vehicle-specs li { color: var(--white-dim); font-size: .76rem; }
.vehicle-specs strong { display: block; color: var(--white); font-size: .7rem; font-weight: 600; margin-top: 2px; }
.vehicle-card a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; color: var(--white); font-size: .78rem; font-weight: 700; letter-spacing: .03em; margin-top: 18px; text-transform: uppercase; border-radius: 6px; border: 1px solid var(--gray-line-dark); background: transparent; transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.15s var(--ease), border-color 0.15s var(--ease); }
.vehicle-card a:hover { background: rgba(201,164,76,0.06); color: var(--gold); border-color: var(--gold); transform: translateY(-2px); }

.vehicle-card a .vehicle-arrow { display: inline-block; margin-left: 6px; font-size: 0.95rem; transform: translateY(-1px); }

/* Badge de statut (Disponible / Occupé) */
.vehicle-status {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: default;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), opacity 0.18s var(--ease);
  z-index: 5;
}
.vehicle-status.available {
  background: var(--whatsapp);
  color: #06170d;
  border: 1px solid rgba(2,120,60,0.12);
  box-shadow: 0 8px 20px rgba(37,211,102,0.08);
}
.vehicle-status.occupied {
  background: #b02a37;
  color: #fff;
  border: 1px solid rgba(176,42,55,0.12);
  box-shadow: 0 8px 20px rgba(176,42,55,0.08);
}
.vehicle-status:active { transform: translateY(1px); }

/* Indication pour utilisateur : double-clic pour basculer (utile en test) */
.vehicle-status[title] { cursor: pointer; }

.fleet-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(278px, 82vw);
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 2px 2px 12px;
}

.fleet-track::-webkit-scrollbar { display: none; }

/* ============================================
   PACK WEEKEND
   ============================================ */
.weekend {
  background: var(--white);
  color: var(--black);
  padding: 56px 20px;
}

.weekend-box {
  border: 1px solid var(--gold);
  border-radius: 8px;
  padding: 28px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.weekend-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
  display: block;
}

.weekend-box h2 {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1.8rem, 6vw, 2.4rem);
  line-height: 1;
  margin-bottom: 6px;
}

.weekend-box > p {
  font-family: var(--serif);
  font-style: italic;
  color: rgba(14,14,14,0.65);
  margin-bottom: 24px;
}

.weekend-tiles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.weekend-tile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--black);
  color: var(--white);
  border-radius: 4px;
  padding: 14px 18px;
}

.weekend-tile .name { font-size: 0.9rem; font-weight: 500; }

.weekend-tile .price {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--gold);
}

.weekend-conditions {
  margin-bottom: 24px;
}

.weekend-conditions li {
  position: relative;
  padding-left: 20px;
  font-size: 0.86rem;
  color: rgba(14,14,14,0.72);
  line-height: 1.6;
  margin-bottom: 6px;
}

.weekend-conditions li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

/* ============================================
   AVANTAGES
   ============================================ */
.avantages { background: var(--black); }

.avantages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.avantage {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 0;
  border-top: 1px solid var(--gray-line-dark);
}

.avantage-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.avantage-icon svg { width: 18px; height: 18px; color: var(--gold); }

.avantage h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.avantage p {
  font-size: 0.85rem;
  color: var(--white-dim);
  line-height: 1.5;
}

/* ============================================
   CONTACT
   ============================================ */
.contact-detail {
  background: var(--white);
  color: var(--black);
  padding: 64px 20px;
  overflow: hidden;
}

.contact-info,
.contact-form {
  min-width: 0;
  width: 100%;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
  min-width: 0;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}

.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-line);
}

.contact-label {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
}

.contact-value {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--black);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-value--link { transition: color 0.3s var(--ease); }
.contact-value--link:hover { color: var(--gold); }

.contact-note {
  font-size: 0.85rem;
  color: rgba(14,14,14,0.65);
  line-height: 1.55;
  background: rgba(201,164,76,0.1);
  border: 1px solid var(--gold-dim);
  border-radius: 4px;
  padding: 14px 16px;
  margin-bottom: 24px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-note a { color: var(--black); font-weight: 600; text-decoration: underline; }

.contact-wa-btn { width: 100%; }

.contact-form {
  background: var(--black-soft);
  color: var(--white);
  border-radius: 8px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form-note {
  font-size: 0.84rem;
  color: var(--white-dim);
  line-height: 1.5;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-field span {
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white-dim);
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--ui);
  font-size: 0.92rem;
  color: var(--white);
  background: rgba(244,241,232,0.06);
  border: 1px solid var(--gray-line-dark);
  border-radius: 4px;
  padding: 12px 14px;
  resize: vertical;
  width: 100%;
  min-width: 0;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-field select option { background: var(--black-soft); color: var(--white); }

.form-submit { border: none; cursor: pointer; margin-top: 2px; }

.map-wrap {
  margin-top: 36px;
  border-radius: 8px;
  overflow: hidden;
  height: 280px;
}

.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--black);
  padding: 40px 20px 24px;
  border-top: 1px solid var(--gray-line-dark);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.footer-brand img { width: 30px; height: 30px; }

.footer-brand-text {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin-bottom: 24px;
}

.footer-links a { font-size: 0.82rem; color: var(--white-dim); }
.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.76rem;
  color: var(--gray);
  padding-top: 20px;
  border-top: 1px solid var(--gray-line-dark);
}

/* ============================================
   BOUTON WHATSAPP FLOTTANT (mobile & desktop)
   ============================================ */
.wa-float {
  position: fixed;
  bottom: 18px;
  right: 18px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 190;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}

.wa-float:hover { background: var(--whatsapp-dark); transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; color: #06170d; }

/* ============================================
   RESPONSIVE — SM (≥ 600px)
   ============================================ */
@media (min-width: 600px) {
  .hero-actions { flex-direction: row; }
  .fleet-track { grid-auto-columns: minmax(300px, 48vw); gap: 20px; }
  .fleet-catalog { padding: 0 20px 64px; }
  .weekend-tiles { grid-template-columns: repeat(3, 1fr); }
  .avantages-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   RESPONSIVE — MD (≥ 900px)
   ============================================ */
@media (min-width: 900px) {
  .nav-inner { padding: 22px 48px; }
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-burger { display: none; }

  .hero { padding: 0 48px 72px; align-items: flex-start; }
  .hero-content { max-width: 640px; }
  .hero-actions { flex-direction: row; }

  .section { padding: 96px 48px; }
  .fleet-catalog { padding: 0 48px 96px; }
  .weekend { padding: 88px 48px; }

  .fleet-track { grid-auto-columns: minmax(320px, 31vw); gap: 24px; }

  .weekend-box { padding: 48px; }
  .weekend-tiles { gap: 18px; }

  .avantages-grid { grid-template-columns: repeat(5, 1fr); gap: 16px; }
  .avantage { flex-direction: column; border-top: none; padding: 0; }
  .avantage-icon { margin-bottom: 6px; }

  .contact-detail { padding: 96px 48px; }
  .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 56px; }

  .footer { padding: 56px 48px 28px; }
  .footer-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
  }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

/* ============================================
   RESPONSIVE — LG (≥ 1200px)
   ============================================ */
@media (min-width: 1200px) {
  .hero-title { font-size: 5.6rem; }
}

/* ============================================
   RESPONSIVE — XS (mobile < 600px)
   Donne une couleur visible aux boutons "Réserver" sur mobile
   ============================================ */
@media (max-width: 599px) {
  .btn {
    white-space: normal;
  }

  .contact-detail {
    padding-left: 16px;
    padding-right: 16px;
  }

  .contact-grid {
    gap: 24px;
  }

  .contact-form {
    padding: 20px 16px;
  }

  .contact-form-note,
  .form-field span,
  .form-field input,
  .form-field select,
  .form-field textarea {
    min-width: 0;
  }

  .form-submit,
  .contact-wa-btn {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .fleet-category-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .fleet-category-price {
    white-space: normal;
    text-align: left;
    font-size: clamp(1rem, 4vw, 1.3rem);
  }

  .preloader-brand-text {
    white-space: normal;
    letter-spacing: 0.01em;
  }

  .vehicle-card a {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
    box-shadow: 0 6px 18px rgba(201,164,76,0.12);
  }
  .vehicle-card a:hover {
    background: var(--gold-dim);
    color: var(--black);
    transform: translateY(-1px);
  }
  .vehicle-card a .vehicle-arrow { color: inherit; }
  .btn-small { padding: 10px 12px; }
}

/* ============================================
   ACCESSIBILITÉ — MOTION RÉDUITE
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
