/* ===============================
   PAYTICKETWIFI - Style Global
   =============================== */

:root {
  --blue: #0d6efd;
  --blue-600: #0b5ed7;
  --ink: #1b1f2a;
  --muted: #667085;
  --bg: #f6f8fb;
  --card: #ffffff;
  --border: #e6eaf0;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, sans-serif;
  background: var(--bg);
  color: var(--ink);
}

/* ===============================
   Navbar
   =============================== */

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--card);
  border-bottom: 1px solid var(--border);
  backdrop-filter: saturate(180%) blur(6px);
}

.navbar-brand img {
  height: 36px;
}

.nav-link {
  color: var(--ink) !important;
  font-weight: 500;
  opacity: .9;
}

.nav-link:hover {
  opacity: 1;
}

.btn-login {
  background: var(--blue);
  color: #fff !important;
  border-radius: 999px;
  padding: .5rem 1rem;
  transition: background .3s ease;
}

.btn-login:hover {
  background: var(--blue-600);
}

/* ===============================
   Hero section (fond statique)
   =============================== */

.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e8f0ff 0%, #f6f8fb 40%, #ffffff 100%);
}

.hero .content {
  position: relative;
  z-index: 2;
  padding: 96px 0 72px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 1rem + 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -.02em;
}

.hero p.lead {
  color: var(--muted);
  max-width: 720px;
  margin: 12px auto 0;
}

.cta {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.chip {
  background: rgba(13, 110, 253, .12);
  color: var(--blue);
  border: 1px solid rgba(13, 110, 253, .25);
  padding: .35rem .7rem;
  border-radius: 999px;
  font-weight: 600;
  display: inline-flex;
  gap: .35rem;
  align-items: center;
}

/* ===============================
   Sections globales
   =============================== */

.section {
  padding: 72px 0;
}

.section h2 {
  font-weight: 800;
  letter-spacing: -.02em;
  text-align: center;
  margin-bottom: 1rem;
}

.muted {
  color: var(--muted);
  text-align: center;
}

/* ===============================
   Cards & icônes
   =============================== */

.cardx {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 20px rgba(2, 6, 23, .06);
  transition: transform .25s ease, box-shadow .25s ease;
}

.cardx:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(2, 6, 23, .09);
}

.icon-xxl {
  font-size: 36px;
  color: var(--blue);
}

/* ===============================
   Timeline étapes
   =============================== */

.step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.step .num {
  min-width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* ===============================
   Formulaire Contact
   =============================== */

.contact .form-control,
.contact textarea {
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--border);
}

.contact .form-control:focus {
  border-color: var(--blue);
  box-shadow: none;
}

.hidepot {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
}

/* ===============================
   Footer
   =============================== */

footer {
  border-top: 1px solid var(--border);
  background: var(--card);
  padding: 20px 0;
  text-align: center;
}

.subtle {
  color: var(--muted);
  font-size: .95rem;
}

/* ===============================
   Boutons flottants
   =============================== */

.whatsapp-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  z-index: 1200;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .2);
  transition: transform .25s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

#toTop {
  position: fixed;
  right: 16px;
  bottom: 88px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--ink);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1200;
  transition: background .25s ease;
}

#toTop:hover {
  background: var(--blue);
  color: #fff;
}

/* ===============================
   Responsive Design
   =============================== */

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .cta {
    flex-direction: column;
    gap: 10px;
  }

  .nav-link {
    text-align: center;
    padding: 0.8rem;
  }
}

@media (max-width: 480px) {
  .hero .content {
    padding: 64px 0 48px;
  }

  .cardx {
    padding: 18px;
  }
}