/* =========================
   RESET
========================= */
html, body {
  margin: 0;
  padding: 0;
}

body {
  background: #0b1220;
  color: #e5e7eb;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}


/* =========================
   HERO
========================= */
.hero {
  position: relative;
  min-height: 58vh;
  display: grid;
  place-items: center;
  padding: clamp(24px, 6vw, 56px) 16px;
  overflow: hidden;
}

/* Image de fond */
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("/static/images/Playa_unsplash.jpg");
  background-size: cover;
  background-position: center;
  z-index: 0;
}

/* Overlay (assombrit sans filter GPU) */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.45),
    rgba(0,0,0,0.30)
  );
  z-index: 1;
}

/* Contenu */
.hero-content {
  position: relative;
  z-index: 5;
  width: min(100%, 1100px);
  text-align: center;
  color: #ffffff;
}

.hero-title {
  margin: 0 0 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(28px, 4.5vw, 48px);
  text-shadow: 0 3px 18px rgba(0,0,0,0.35);
}


/* =========================
   CARTES
========================= */
.glass {
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  color: #ffffff;
  text-align: center;
}

.cta-card {
  padding: clamp(16px, 3vw, 22px);
  margin: 10px auto;
  width: min(100%, 980px);
}


/* =========================
   SECTIONS
========================= */
.main-content {
  width: min(100%, 1200px);
  margin: clamp(18px, 3vw, 28px) auto;
  padding: 0 16px;
}

.row-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: clamp(14px, 2.5vw, 24px);
}

.card-box {
  flex: 1 1 480px;
  padding: clamp(16px, 2.5vw, 20px);
}

.card-box h2,
.cta-card h2 {
  margin: 0.2rem 0 0.6rem;
  font-weight: 700;
  font-size: clamp(18px, 2.6vw, 22px);
}

.card-box p,
.cta-card p {
  color: #d1d5db;
  margin: 0.3rem 0 0.8rem;
  font-size: clamp(14px, 1.9vw, 15px);
}


/* =========================
   BOUTONS
========================= */
.btn {
  background: #2563eb;
  color: #ffffff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn:hover {
  background: #1e40af;
}

.btn-green {
  background: #10b981;
  color: #06281d;
}

.btn-dark {
  background: #1f2937;
  color: #e5e7eb;
}

.btn-cyan {
  background: #0ea5e9;
  color: #06202b;
}

.actions-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
  margin-top: 10px;
}


/* =========================
   LOGO
========================= */
.logo-fixe {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
}

.logo-fixe img {
  height: 126px;
  width: auto;
}


/* =========================
   LIENS LÉGAUX
========================= */
.legal-fixed {
  position: absolute;
  bottom: 20px;
  right: 20px;
  text-align: right;
}

.legal-fixed a {
  color: #eeeeee;
  font-size: 1.02rem;
  font-weight: 700;
  text-decoration: none;
  display: block;
}

.legal-fixed a.support {
  font-size: 0.95rem;
  color: #a5f3fc;
  margin-top: 6px;
}


/* =========================
   MODALE VIDÉO
========================= */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #111827;
  padding: 1rem;
  border-radius: 12px;
  position: relative;
  max-width: 800px;
  width: 90%;
  border: 1px solid rgba(255,255,255,0.12);
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 22px;
  color: #ffffff;
  cursor: pointer;
}
