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

:root {
  --bg: #0a0f1d;
  --bg-soft: #10182d;
  --panel: #16213b;
  --panel-light: #ffffff;
  --text: #f8fbff;
  --text-dark: #101827;
  --muted: #d1d9ee;
  --muted-dark: #556070;
  --border: rgba(255, 255, 255, 0.16);
  --primary: #7c5cff;
  --primary-2: #3ea0ff;
  --success: #1db954;
  --orange: #e89b00;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
  --shadow-light: 0 18px 40px rgba(17, 24, 39, 0.08);
  --radius-xl: 28px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --focus: #ffd24d;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

/* Accessibilité */
.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  background: #ffffff;
  color: #000000;
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 700;
  z-index: 9999;
  transition: top 0.2s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}

.skip-link:focus {
  top: 16px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(255, 210, 77, 0.25);
}

/* Tooltips */
.tooltip {
  position: relative;
}

.tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%) translateY(6px);
  background: #ffffff;
  color: #111827;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 0.85rem;
  line-height: 1.3;
  white-space: nowrap;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 30;
}

.tooltip:hover::after,
.tooltip:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(10, 15, 29, 0.88);
  border-bottom: 1px solid var(--border);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: #ffffff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-cta {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(124, 92, 255, 0.18);
  color: #ffffff !important;
  border: 1px solid rgba(124, 92, 255, 0.45);
  font-weight: 700;
}

/* Hero */
.hero {
  padding: 72px 0 90px;
  background:
    radial-gradient(circle at top left, rgba(124, 92, 255, 0.22), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(62, 160, 255, 0.18), transparent 22%),
    linear-gradient(180deg, #0a0f1d 0%, #10172f 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  line-height: 1;
  margin: 18px 0 20px;
  max-width: 720px;
}

.hero-content p {
  color: var(--muted);
  max-width: 680px;
  font-size: 1.08rem;
}

.hero-tag,
.section-kicker {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  background: rgba(62, 160, 255, 0.12);
  color: #e3efff;
  border: 1px solid rgba(62, 160, 255, 0.25);
}

.section-kicker-light {
  background: #eaf2ff;
  color: #214d99;
  border: 1px solid #cfe0ff;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 30px 0 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 14px;
  font-weight: 700;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #ffffff;
  box-shadow: 0 16px 30px rgba(62, 160, 255, 0.2);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  border: 1px solid var(--border);
}

.full-width {
  width: 100%;
}

.hero-stats {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.mini-stat {
  min-width: 130px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
}

.mini-stat strong {
  display: block;
  font-size: 1.2rem;
  color: #ffffff;
}

.mini-stat span {
  font-size: 0.92rem;
  color: var(--muted);
}

/* Booking card */
.booking-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow);
}

.booking-card-header h2 {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.booking-card-header p {
  color: var(--muted);
  margin-bottom: 20px;
}

.quick-booking-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.95rem;
  color: #f5f8ff;
  font-weight: 700;
}

.form-group small {
  color: #dce6ff;
  font-size: 0.85rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 2px solid rgba(255, 255, 255, 0.14);
  background: rgba(7, 11, 24, 0.5);
  color: #ffffff;
  border-radius: 14px;
  padding: 14px 16px;
  outline: none;
  font-size: 1rem;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #c7d3f3;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(124, 92, 255, 0.85);
}

/* Sections */
.section-dark,
.section-light,
.cta-section {
  padding: 90px 0;
}

.section-dark {
  background: #0f1630;
}

.section-light {
  background: #f6f8fc;
  color: var(--text-dark);
}

.section-light.alt {
  background: #eef2f8;
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading.centered {
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  margin-top: 14px;
  margin-bottom: 12px;
}

.section-heading p {
  max-width: 720px;
  opacity: 0.9;
}

.section-light .section-heading p,
.section-light.alt .section-heading p {
  color: var(--muted-dark);
}

/* Categories */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.category-card {
  border-radius: var(--radius-lg);
  padding: 26px;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
  border: 1px solid var(--border);
  min-height: 230px;
}

.category-icon {
  display: inline-flex;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.45rem;
  background: rgba(255,255,255,0.1);
}

.category-card h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
  color: #ffffff;
}

.category-card p {
  color: var(--muted);
}

.accent-purple {
  border-left: 6px solid #7c5cff;
}

.accent-blue {
  border-left: 6px solid #3ea0ff;
}

.accent-green {
  border-left: 6px solid #1db954;
}

.accent-orange {
  border-left: 6px solid #e89b00;
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.step-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-light);
  border-top: 6px solid #7c5cff;
}

.step-number {
  font-size: 2rem;
  font-weight: 800;
  color: #5b45db;
  margin-bottom: 14px;
}

.step-card h3 {
  margin-bottom: 10px;
  color: #0f172a;
}

.step-card p {
  color: #5b6474;
}

/* Popular */
.popular-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.popular-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-light);
  border: 1px solid #e8edf7;
}

.popular-card h3 {
  color: #0f172a;
  margin-bottom: 10px;
}

.popular-card p {
  color: #5b6474;
  margin-bottom: 18px;
}

.popular-tag {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.84rem;
  background: #eef2ff;
  color: #4338ca;
  font-weight: 700;
  border: 1px solid #d6ddff;
}

/* CTA */
.cta-section {
  background:
    radial-gradient(circle at top right, rgba(124, 92, 255, 0.16), transparent 26%),
    linear-gradient(180deg, #0a0f1d 0%, #101935 100%);
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
}

.cta-box h2 {
  margin: 12px 0 10px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.cta-box p {
  color: var(--muted);
  max-width: 700px;
}

.cta-actions {
  flex-shrink: 0;
}

/* Visual section */
.visual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.visual-text h2 {
  margin: 14px 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
}

.visual-text p {
  color: var(--muted-dark);
  max-width: 640px;
}

.visual-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-light);
  border: 1px solid #e8edf7;
}

.visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}

/* Footer */
.site-footer {
  background: #080d1a;
  border-top: 1px solid var(--border);
  padding: 30px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.footer-content p,
.footer-links {
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 1050px) {
  .hero-grid,
  .category-grid,
  .steps-grid,
  .popular-grid,
  .visual-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta-box,
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
  }

  .hero-grid,
  .category-grid,
  .steps-grid,
  .popular-grid,
  .form-row,
  .visual-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 50px;
  }

  .booking-card,
  .category-card,
  .step-card,
  .popular-card,
  .cta-box,
  .visual-card {
    border-radius: 20px;
  }

  .hero-content h1 {
    line-height: 1.05;
  }

  .tooltip::after {
    white-space: normal;
    width: max-content;
    max-width: 220px;
    text-align: center;
  }
}