/* =========================================================
   FÊTE LA FÊTE EVENT
   STYLES.CSS COMPLET
   ========================================================= */

:root {
  --bg: #080808;
  --bg-alt: #111111;
  --card: #151515;
  --gold: #d4af37;
  --gold-light: #f1d675;
  --text: #f5f5f5;
  --muted: #b8b8b8;
  --border: rgba(212, 175, 55, 0.30);
}

/* =========================================================
   RESET
   ========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--gold-light);
  text-decoration: none;
}

a:hover {
  color: #ffffff;
}

/* =========================================================
   CONTENEUR
   ========================================================= */

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
  position: relative;
  z-index: 10;
  background: #050505;
  border-bottom: 1px solid var(--border);
}

.header-inner {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo {
  width: 110px;
  height: 110px;
  object-fit: contain;
  display: block;
}

nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 20px;
}

nav a {
  color: #ffffff;
  font-weight: 600;
  transition: 0.2s ease;
}

nav a:hover {
  color: var(--gold-light);
}

/* =========================================================
   BOUTONS
   ========================================================= */

.cta {
  display: inline-block;
  padding: 13px 24px;
  background: var(--gold);
  color: #080808 !important;
  border: 1px solid var(--gold);
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.2s ease;
}

.cta:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: #080808 !important;
  transform: translateY(-1px);
}

/* =========================================================
   HERO
   IMPORTANT :
   AUCUNE IMAGE DE FOND
   ========================================================= */

.hero {
  min-height: 500px;
  display: flex;
  align-items: center;
  text-align: center;

  background: #080808 !important;
  background-image: none !important;

  border-bottom: 1px solid var(--border);

  position: relative;
  overflow: hidden;
}

/* =========================================================
   HERO ACCUEIL
   ========================================================= */

.home-hero {
  min-height: 600px;

  background: #080808 !important;
  background-image: none !important;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;
}

/* Empêche tout ancien pseudo-élément
   de remettre une image derrière */

.hero::before,
.hero::after,
.home-hero::before,
.home-hero::after {
  display: none !important;
  content: none !important;
  background: none !important;
  background-image: none !important;
}

/* =========================================================
   LOGO CENTRAL
   ========================================================= */

.hero-logo {
  width: 300px !important;
  height: 300px !important;

  object-fit: contain;

  display: block;

  margin: 0 auto 25px;

  filter: drop-shadow(
    0 8px 25px rgba(0, 0, 0, 0.75)
  );
}

/* =========================================================
   TEXTE HERO
   ========================================================= */

.eyebrow {
  margin: 0 0 10px;

  color: var(--gold-light);

  font-size: 0.95rem;

  font-weight: 700;

  letter-spacing: 2px;

  text-transform: uppercase;
}

.hero h1 {
  max-width: 900px;

  margin: 0 auto 20px;

  color: #ffffff;

  font-size: clamp(2rem, 5vw, 4rem);

  line-height: 1.1;
}

.hero-text {
  max-width: 780px;

  margin: 0 auto 30px;

  color: var(--muted);

  font-size: 1.15rem;
}

/* =========================================================
   SECTIONS
   ========================================================= */

.section {
  padding: 90px 0;
  background: var(--bg);
}

.section-alt {
  background: var(--bg-alt);

  border-top: 1px solid rgba(212, 175, 55, 0.10);
  border-bottom: 1px solid rgba(212, 175, 55, 0.10);
}

.section h2 {
  max-width: 900px;

  margin: 0 0 25px;

  color: #ffffff;

  font-size: clamp(1.8rem, 4vw, 2.8rem);

  line-height: 1.2;
}

.section > .container > p {
  max-width: 900px;
}

/* =========================================================
   CARTES
   ========================================================= */

.cards {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 25px;

  margin-top: 40px;
}

.card {
  padding: 30px;

  background: var(--card);

  border: 1px solid var(--border);

  border-radius: 8px;

  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.20);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 15px;

  color: var(--gold-light);

  font-size: 1.35rem;
}

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

.card ul {
  padding-left: 20px;

  color: var(--muted);
}

.card .cta {
  margin-top: 15px;
}

/* =========================================================
   FORMULAIRE
   ========================================================= */

form {
  max-width: 800px;
  margin-top: 35px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;

  margin-bottom: 8px;

  color: #ffffff;

  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;

  padding: 14px 15px;

  background: #0d0d0d;

  color: #ffffff;

  border: 1px solid rgba(212, 175, 55, 0.35);

  border-radius: 4px;

  font: inherit;

  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);

  box-shadow:
    0 0 0 2px rgba(212, 175, 55, 0.10);
}

textarea {
  resize: vertical;
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  padding: 50px 0;

  background: #050505;

  border-top: 1px solid var(--border);

  text-align: center;

  color: var(--muted);
}

.site-footer p {
  margin: 8px 0;
}

.site-footer strong {
  color: #ffffff;
}

.site-footer a {
  color: var(--gold-light);
}

/* =========================================================
   TABLETTE
   ========================================================= */

@media (max-width: 850px) {

  .header-inner {
    flex-direction: column;

    justify-content: center;

    padding: 15px 0 20px;
  }

  nav {
    justify-content: center;
  }

  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 650px) {

  .container {
    width: min(100% - 28px, 1120px);
  }

  .logo {
    width: 90px;
    height: 90px;
  }

  nav {
    gap: 12px;
    font-size: 0.9rem;
  }

  nav .cta {
    width: 100%;
    text-align: center;
  }

  .hero {
    min-height: 500px;

    background: #080808 !important;
    background-image: none !important;
  }

  .home-hero {
    min-height: 560px;

    background: #080808 !important;
    background-image: none !important;
  }

  .hero-logo {
    width: 220px !important;
    height: 220px !important;

    margin-bottom: 20px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-text {
    font-size: 1rem;
  }

  .section {
    padding: 65px 0;
  }

  .section h2 {
    font-size: 1.9rem;
  }

  .cards {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .card {
    padding: 24px;
  }

}

/* =========================================================
   PROTECTION CONTRE L'ANCIEN BANDEAU
   ========================================================= */

body .hero {
  background-image: none !important;
}

body .home-hero {
  background: #080808 !important;
  background-image: none !important;
}

body .home-hero[style] {
  background-image: none !important;
}

body .hero::before,
body .hero::after,
body .home-hero::before,
body .home-hero::after {
  content: none !important;
  display: none !important;
  background: none !important;
  background-image: none !important;
}
