/* ================================================================
   S.B TRANSPORT — Futuriste & Professionnel
================================================================ */

:root {
  --color-bg:      #080810;
  --color-surface: #0f0f1a;
  --color-border:  #1e1e30;
  --color-gold:    #c9a84c;
  --color-gold-lt: #e2c47a;
  --color-gold-glow: rgba(201, 168, 76, 0.3);
  --color-text:    #e8e4da;
  --color-muted:   #7a7a99;
  --color-white:   #ffffff;

  --font-display: 'Rajdhani', sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --radius:    6px;
  --radius-lg: 14px;
  --section-gap: 6rem;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
img { max-width: 100%; display: block; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 20px var(--color-gold-glow); }
  50%       { box-shadow: 0 0 40px var(--color-gold-glow), 0 0 80px var(--color-gold-glow); }
}
@keyframes lineGrow {
  from { width: 0; }
  to   { width: 60px; }
}
@keyframes brandGlow {
  0%, 100% { text-shadow: 0 0 20px rgba(201, 168, 76, 0.4); }
  50%       { text-shadow: 0 0 40px rgba(201, 168, 76, 0.8), 0 0 80px rgba(201, 168, 76, 0.3); }
}

.animate { animation: fadeUp 0.7s ease forwards; }
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.fade-hidden { opacity: 0; transform: translateY(30px); }

.container {
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}
.section { padding-block: var(--section-gap); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.section-title::after {
  content: '';
  display: block;
  height: 2px;
  width: 60px;
  background: var(--color-gold);
  margin-top: 0.75rem;
  animation: lineGrow 0.6s ease forwards;
}
.section-sub {
  color: var(--color-muted);
  font-size: 1rem;
  margin-bottom: 3rem;
  max-width: 55ch;
}

.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1.5px solid transparent;
  position: relative;
  overflow: hidden;
}
.btn-primary { background: var(--color-gold); color: #080810; border-color: var(--color-gold); }
.btn-primary:hover { background: transparent; color: var(--color-gold); box-shadow: 0 0 20px var(--color-gold-glow); }
.btn-outline { background: transparent; color: var(--color-gold); border-color: var(--color-gold); }
.btn-outline:hover { background: var(--color-gold); color: #080810; box-shadow: 0 0 20px var(--color-gold-glow); }
.btn-full { width: 100%; text-align: center; }

/* NAVIGATION */
.nav-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(8, 8, 16, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  transition: background 0.3s;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.logo span { color: var(--color-gold); margin-left: 0.3rem; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-links a {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--color-gold);
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--color-white); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: var(--color-gold) !important;
  color: #080810 !important;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600 !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: transparent !important;
  color: var(--color-gold) !important;
  border: 1px solid var(--color-gold);
  box-shadow: 0 0 15px var(--color-gold-glow);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 64px;
  background-image: url('https://images.unsplash.com/photo-1499856871958-5b9627545d1a?w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(8,8,16,0.92) 0%, rgba(8,8,16,0.75) 50%, rgba(8,8,16,0.4) 100%);
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 60%, rgba(201,168,76,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding-block: 4rem;
}
.hero-tag {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--color-gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  animation: fadeUp 0.6s ease forwards;
}
.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 0.9;
  margin-bottom: 1rem;
  animation: fadeUp 0.6s 0.05s ease both;
}
.hero-brand span {
  color: var(--color-gold);
  display: block;
  font-size: 0.45em;
  letter-spacing: 0.35em;
  animation: brandGlow 3s ease-in-out infinite;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 500;
  color: var(--color-white);
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.6s 0.2s ease both;
  opacity: 0.85;
}
.hero h1 span { color: var(--color-gold); }
.hero-sub {
  font-size: 1.05rem;
  color: var(--color-muted);
  max-width: 46ch;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.6s 0.35s ease both;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp 0.6s 0.5s ease both;
}

/* SERVICES */
.services { background: var(--color-surface); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.service-card:hover { border-color: var(--color-gold); transform: translateY(-4px); box-shadow: 0 8px 30px rgba(201,168,76,0.1); }
.service-card:hover::before { opacity: 1; }
.service-icon { font-size: 2rem; margin-bottom: 1rem; }
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 0.75rem;
}
.service-card p { color: var(--color-muted); font-size: 0.9rem; }

/* TARIFS */
.tarifs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.tarif-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  background: var(--color-surface);
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}
.tarif-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.3); }
.tarif-featured { border-color: var(--color-gold); animation: glowPulse 3s ease-in-out infinite; }
.tarif-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--color-gold);
  color: #080810;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.9rem;
  border-radius: 20px;
}
.tarif-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}
.tarif-label { color: var(--color-muted); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; }
.tarif-price { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; color: var(--color-white); }
.tarif-price strong { color: var(--color-gold); }
.tarif-details { display: flex; flex-direction: column; gap: 0.6rem; }
.tarif-details li { color: var(--color-muted); font-size: 0.9rem; padding-left: 1.2rem; position: relative; }
.tarif-details li::before { content: '—'; position: absolute; left: 0; color: var(--color-gold); }

/* RÉSERVATION */
.reservation { background: var(--color-surface); }
.reservation-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}
.reservation-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 1rem;
}
.reservation-text h2::after {
  content: '';
  display: block;
  height: 2px; width: 60px;
  background: var(--color-gold);
  margin-top: 0.75rem;
}
.reservation-text p { color: var(--color-muted); margin-bottom: 2rem; }
.contact-links { display: flex; flex-direction: column; gap: 0.75rem; }
.contact-item { display: flex; align-items: center; gap: 0.6rem; font-size: 0.95rem; transition: color 0.2s; }
.contact-item:hover { color: var(--color-gold); }
.reservation-form {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; position: relative; }
label { font-size: 0.75rem; color: var(--color-muted); letter-spacing: 0.1em; text-transform: uppercase; font-family: var(--font-display); }
input, select, textarea {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}
input::placeholder, textarea::placeholder { color: var(--color-border); }
select option { background: var(--color-surface); }
textarea { resize: vertical; min-height: 90px; }
.form-error { font-size: 0.75rem; color: #e05c5c; min-height: 1em; }

/* FOOTER */
.footer { border-top: 1px solid var(--color-border); padding-block: 2.5rem; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; text-align: center; }
.footer-inner p { color: var(--color-muted); font-size: 0.85rem; }
.footer-legal { font-size: 0.78rem !important; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  :root { --section-gap: 4rem; }

  .burger { display: flex; }

  .nav-links {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    position: fixed;
    top: 64px; left: 0; right: 0; bottom: 0;
    background: rgba(8, 8, 16, 0.98);
    z-index: 99;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .nav-links.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a { font-size: 1.5rem; letter-spacing: 0.1em; }
  .nav-cta { font-size: 1.2rem !important; padding: 0.75rem 2rem !important; }

  .hero { background-attachment: scroll; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; }
  .hero-brand { font-size: clamp(3rem, 18vw, 5rem); }

  .services-grid { grid-template-columns: 1fr; }
  .tarifs-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .reservation-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* SUGGESTIONS */
.suggestions {
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-gold);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  z-index: 50;
  max-height: 220px;
  overflow-y: auto;
}
.suggestion-item {
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: var(--color-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.15s;
  border-bottom: 1px solid var(--color-border);
}
.suggestion-item:last-child { border-bottom: none; }
.suggestion-item:hover { background: var(--color-border); color: var(--color-gold); }
.suggestion-icon { color: var(--color-gold); font-size: 0.8rem; }

/* MESSAGE DE CONFIRMATION */
.form-success {
  text-align: center;
  padding: 2rem 1.5rem;
  background: rgba(111, 207, 151, 0.06);
  border: 1px solid rgba(111, 207, 151, 0.3);
  border-radius: var(--radius-lg);
}
.success-icon { font-size: 3rem; margin-bottom: 1rem; }
.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: #6fcf97;
  margin-bottom: 0.75rem;
  letter-spacing: 0.03em;
}
.form-success p { color: var(--color-muted); font-size: 0.9rem; line-height: 1.6; margin-bottom: 0.5rem; }
.success-recap {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: left;
}
.recap-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0.75rem;
}
.recap-item:last-child { border-bottom: none; padding-bottom: 0; }
.recap-item span { color: var(--color-muted); }
.recap-item strong { color: var(--color-text); }
.success-detail { margin-top: 1rem !important; color: var(--color-text) !important; font-size: 0.85rem !important; }
.success-detail strong { color: var(--color-gold); }