:root {
  --bg-main: #020617;
  --bg-alt: #020617;
  --bg-card: #0b1120;

  --accent: #22c55e;
  --accent-soft: rgba(34,197,94,0.15);
  --accent-strong: #22c55e;
  --accent-2: #38bdf8;

  --text-main: #e5e7eb;
  --text-muted: #9ca3af;

  --border-subtle: #1f2937;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  position: relative;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 90%; max-width: 1100px; margin: 0 auto; }

main { padding-top: 80px; padding-bottom: 60px; }
section { padding: 40px 0; }

h1, h2, h3 { font-weight: 700; letter-spacing: 0.04em; }

h2 {
  text-transform: uppercase;
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-header p {
  max-width: 650px;
  margin: 0.5rem auto 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* =========================
   FOND GLOBAL (toutes pages)
   ========================= */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("images/bg-sporting.jpg") center center / cover no-repeat;
  opacity: 0.22;
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top, rgba(15,23,42,0.7), rgba(2,6,23,0.96));
  z-index: -1;
}

/* =========================
   HEADER / NAV
   ========================= */
header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 20;
  background: rgba(2,6,23,0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 240px;
}

.logo-img {
  height: 40px;
  width: auto;
  margin-right: 0.2rem;
}

.logo-text-top {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
}

.logo-text-bottom {
  font-size: 0.9rem;
  font-weight: 700;
}

/* Conteneur à droite (menu + langue) */
.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Menu */
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.9rem;
  flex-wrap: nowrap;
}

.nav-links a {
  position: relative;
  padding-bottom: 3px;
  color: var(--text-muted);
  white-space: nowrap;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 0.18s ease-out;
}

.nav-links a:hover::after { width: 100%; }

.nav-links a.active { color: var(--text-main); }
.nav-links a.active::after { width: 100%; }

.nav-cta {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: rgba(15,23,42,0.55);
}

/* Lang switch */
.lang-switch {
  font-size: 0.85rem;
  white-space: nowrap;
  color: var(--text-muted);
}

.lang-switch a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
}

.lang-switch a.active {
  color: var(--accent);
  font-weight: 800;
}

.lang-switch .coming {
  opacity: 0.7;
}

/* =========================
   BANNIÈRE D'ACCUEIL
   ========================= */
.hero-home {
  position: relative;
  padding: 70px 0 0;
}

.hero-home-inner {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--border-subtle);
  background: #020617;
}

.hero-home-banner {
  position: relative;
  height: 240px;
  background: url("images/home-hero.jpg") center center / cover no-repeat;
}

.hero-home-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,0.9), rgba(15,23,42,0.3));
}

.hero-home-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.4rem;
  z-index: 1;
}

.hero-home-content h1 {
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 0.4rem;
}

.hero-home-content p {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 600px;
}

/* =========================
   HERO ACCUEIL (texte + carte)
   ========================= */
.hero { padding: 40px 0 30px; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0,1.3fr) minmax(0,1fr);
  gap: 2rem;
  align-items: center;
}

.hero-kicker {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--accent-2);
  margin-bottom: 0.9rem;
}

.hero-title {
  font-size: clamp(2rem,3.4vw,2.6rem);
  margin-bottom: 0.7rem;
}

.hero-title span.em { color: var(--accent-strong); }

.hero-subtitle {
  color: var(--text-muted);
  max-width: 460px;
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}

.tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(15,23,42,0.8);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.8rem;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #020617;
  font-weight: 700;
}

.btn-secondary {
  border: 1px solid var(--border-subtle);
  background: rgba(15,23,42,0.9);
  color: var(--text-main);
}

.hero-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-card {
  background: radial-gradient(circle at top left, #0f172a, #020617);
  border-radius: 18px;
  padding: 1.1rem;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 18px 40px rgba(0,0,0,0.6);
  font-size: 0.9rem;
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
}

.badge {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid var(--accent);
}

.hero-card ul {
  margin-top: 0.4rem;
  padding-left: 1.1rem;
  color: var(--text-muted);
}

/* =========================
   CARTES / GRILLES
   ========================= */
.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 1.3rem;
}

.card {
  background: var(--bg-card);
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
  padding: 1.1rem;
  font-size: 0.9rem;
}

.card h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.card p { color: var(--text-muted); }

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.6rem;
}

.pill {
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* =========================
   TABLES
   ========================= */
.table-wrapper {
  background: var(--bg-card);
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
  overflow: hidden;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

thead { background: #020617; }

th, td {
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid #111827;
  text-align: left;
}

tbody tr:nth-child(even) { background: #020617; }

/* =========================
   FORMULAIRE CONTACT
   ========================= */
.form-card {
  background: var(--bg-card);
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
  padding: 1.5rem;
  display: grid;
  gap: 0.9rem;
  font-size: 0.9rem;
}

label {
  display: block;
  font-size: 0.83rem;
  margin-bottom: 0.2rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 0.5rem 0.6rem;
  border-radius: 8px;
  border: 1px solid #374151;
  background: #020617;
  color: var(--text-main);
  font: inherit;
}

textarea { min-height: 100px; resize: vertical; }

.checkbox-row {
  display: flex;
  gap: 0.4rem;
  align-items: flex-start;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.checkbox-row input { margin-top: 2px; }

.form-footnote {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* =========================
   HÉROS DE PAGES (générique)
   ========================= */
.page-hero { padding: 40px 0 10px; }

.page-hero h1 {
  font-size: 1.9rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 0.3rem;
}

.page-hero p {
  color: var(--text-muted);
  max-width: 620px;
  font-size: 0.95rem;
}

/* =========================
   GALERIE
   ========================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.gallery-grid img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  animation: fadeInUp 0.7s ease-out both;
}

.gallery-grid img:nth-child(3n+1) { animation-delay: 0.1s; }
.gallery-grid img:nth-child(3n+2) { animation-delay: 0.2s; }
.gallery-grid img:nth-child(3n+3) { animation-delay: 0.3s; }

/* =========================
   HERO CAMPS AVEC IMAGE
   ========================= */
.hero-camps {
  position: relative;
  padding: 70px 0 40px;
}

.hero-camps-inner {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--border-subtle);
  background: #020617;
}

.hero-camps-banner {
  position: relative;
  height: 210px;
  background: url("images/camps-hero.jpg") center center / cover no-repeat;
}

.hero-camps-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,0.9), rgba(15,23,42,0.3));
}

.hero-camps-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.4rem;
  z-index: 1;
}

.hero-camps-content h1 {
  font-size: 1.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 0.3rem;
}

.hero-camps-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 520px;
}

/* =========================
   SLIDER GALERIE
   ========================= */
.slider {
  position: relative;
  max-width: 900px;
  margin: 0 auto 2rem auto;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #020617;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.slide img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.slide.active { opacity: 1; }

.slider-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(148,163,184,0.8);
}

.slider-dot.active { background: var(--accent); }

/* =========================
   FOOTER
   ========================= */
footer {
  border-top: 1px solid var(--border-subtle);
  padding: 16px 0 20px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

footer .footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

footer .brand { color: var(--text-main); }

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0,1fr); }
  .cards-grid-3 { grid-template-columns: minmax(0,1fr); }
}

@media (max-width: 900px) {
  .nav-links { gap: 0.9rem; font-size: 0.85rem; }
  .logo { min-width: auto; }
}

@media (max-width: 700px) {
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* Sur mobile: on garde Contact + Loterie, on cache le reste */
  .nav-links li a { display: none; }
  .nav-links li a.nav-cta { display: inline-flex; }
  .nav-links li a[href="loterie-voyage.html"] { display: inline-flex; }

  /* Lang switch caché sur très petit écran */
  .lang-switch { display: none; }
}
/* =========================
   COMMANDITAIRES
========================= */

.sponsors {
  margin-top: 60px;
  padding: 40px 0 30px;
  border-top: 1px solid var(--border-subtle);
  background: rgba(2,6,23,0.85);
}

.sponsors-inner {
  text-align: center;
}

.sponsors h3 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.sponsors-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
}

.sponsors-logos img {
  max-height: 55px;
  width: auto;
  opacity: 0.85;
  filter: grayscale(100%);
  transition: all 0.25s ease;
}

.sponsors-logos img:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.05);
}

/* Mobile */
@media (max-width: 600px) {
  .sponsors-logos img {
    max-height: 42px;
  }
}
/* =========================
   PUB SLIDE + BADGE + FADE
   ========================= */

.home-pub{
  position: fixed;
  top: 220px;
  right: -320px;
  max-width: 240px;
  z-index: 9999;

  animation: pubIn 0.8s ease forwards;
  animation-delay: 0.6s;
}

@keyframes pubIn{
  to { right: 20px; }
}

/* lien */
.pub-link{
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
}

/* image */
.pub-link img{
  width: 100%;
  height: auto;
  display: block;

  filter: brightness(0.8);
  transition: 
    filter 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

/* fade overlay */
.pub-link::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.15),
    rgba(0,0,0,0.55)
  );
  opacity: 1;
  transition: opacity 0.3s ease;
}

/* hover */
.pub-link:hover img{
  filter: brightness(1);
  transform: scale(1.03);
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
}

.pub-link:hover::after{
  opacity: 0.2;
}
/* BADGE EN HAUT DE L’IMAGE */
.pub-badge{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2;

  background: linear-gradient(
    to right,
    #1fd16f,
    #18b85f
  );
  color: #0b1c14;

  font-weight: 900;
  font-size: 13px;
  letter-spacing: 1px;
  text-align: center;
  text-transform: uppercase;

  padding: 8px 0;
}


  padding: 6px 10px;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.35);
}

/* mobile */
@media (max-width: 900px){
  .home-pub{ display:none; }
}


/* mobile */
@media (max-width: 900px){
  .home-pub{ display:none; }
}
