/* -----------------------------------------
   RESET & BASE
----------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Roboto Condensed", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #3a2416, #0a0504 55%, #000);
  color: #f5e1c9;
  line-height: 1.6;
}

/* -----------------------------------------
   HEADER
----------------------------------------- */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 2.5rem;
  border-bottom: 1px solid rgba(255,199,140,0.28);
  background: linear-gradient(to bottom, rgba(14,8,4,0.98), rgba(6,3,2,0.98));
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(6px);
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.logo-symbol {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid #d79a40;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  text-shadow: 0 0 6px #d79a40;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: "Cinzel", serif;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.logo-subtitle {
  font-size: 0.75rem;
  color: #e0b27c;
}

/* -----------------------------------------
   NAVIGATION
----------------------------------------- */
.main-nav a {
  margin-left: 1.5rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  color: #f7dbaf;
  position: relative;
  padding-bottom: 0.3rem;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, #f7dbaf, #d47a30);
  transition: width 0.2s;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

/* -----------------------------------------
   HERO ACCUEIL
----------------------------------------- */
.hero {
  position: relative;
  min-height: 75vh;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,199,140,0.25);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturation(1.1) brightness(0.9);
  transform: scale(1.03);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top center, rgba(255,201,140,0.55), transparent 55%),
    radial-gradient(circle at bottom, rgba(90,40,10,0.95), rgba(0,0,0,0.95));
  mix-blend-mode: multiply;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 6rem 2.5rem 4rem;
}

.hero-content h1 {
  font-family: "Cinzel", serif;
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 14px rgba(0,0,0,0.9);
}

.hero-content p {
  font-size: 1rem;
  max-width: 32rem;
  margin-bottom: 2rem;
}

/* -----------------------------------------
   BOUTON
----------------------------------------- */
.btn-primary {
  display: inline-flex;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  background: radial-gradient(circle at top left, #f6d7aa, #d47a30);
  color: #230f06;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  font-size: 0.8rem;
  border: 1px solid #f6d7aa;
  box-shadow: 0 0 18px rgba(0,0,0,0.9);
  transition: 0.15s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

/* -----------------------------------------
   FEATURE CARDS (ACCUEIL)
----------------------------------------- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.8rem;
  padding: 2.5rem;
}

.feature-card {
  border-radius: 18px;
  border: 1px solid rgba(255,199,140,0.35);
  background: radial-gradient(circle at top, rgba(50,28,16,0.95), rgba(10,6,4,0.97));
  padding: 1.6rem 1.4rem;
  box-shadow: 0 0 16px rgba(0,0,0,0.9);
  position: relative;
  overflow: hidden;
}

.feature-card h2 {
  font-family: "Cinzel", serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
}

/* -----------------------------------------
   PAGES INTERNES
----------------------------------------- */
.page {
  padding: 2.5rem;
}

.page-header h1 {
  font-family: "Cinzel", serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.page-content {
  margin-top: 2rem;
  max-width: 900px;
}

.two-columns {
  display: grid;
  grid-template-columns: minmax(0,2fr) minmax(0,1.4fr);
  gap: 2rem;
  align-items: center;
}

/* -----------------------------------------
   CADRE IMAGE (STEAMPUNK)
----------------------------------------- */
.image-frame {
  position: relative;
  border-radius: 16px;
  border: 2px solid #d79a40;
  padding: 0.5rem;
  background: radial-gradient(circle at top, #27140b, #060303);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.8), 0 0 18px rgba(0,0,0,0.9);
}

/* Images normales dans image-frame (hors slideshow) */
.image-frame > img {
  width: 100%;
  height: auto;
  max-height: 100%; /* ne déborde jamais */
  object-fit: contain; /* s'adapte sans couper */
  border-radius: 10px;
}

/* -----------------------------------------
   SLIDESHOW STEAMPUNK
----------------------------------------- */

/* Ratio responsive (60%) */
.ratio-box {
  position: relative;
  width: 100%;
  padding-top: 60%;
  overflow: hidden;
  border-radius: 10px;
}

/* Slides container */
.slideshow-container {
  position: absolute;
  inset: 0;
}

/* Individual slides */
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: slideshowFade 40s infinite;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

@keyframes slideshowFade {
  0%   { opacity: 0; }
  5%   { opacity: 1; }
  20%  { opacity: 1; }
  25%  { opacity: 0; }
  100% { opacity: 0; }
}

/* 10 images → delays */
.slide:nth-child(1)  { animation-delay: 0s; }
.slide:nth-child(2)  { animation-delay: 4s; }
.slide:nth-child(3)  { animation-delay: 8s; }
.slide:nth-child(4)  { animation-delay: 12s; }
.slide:nth-child(5)  { animation-delay: 16s; }
.slide:nth-child(6)  { animation-delay: 20s; }
.slide:nth-child(7)  { animation-delay: 24s; }
.slide:nth-child(8)  { animation-delay: 28s; }
.slide:nth-child(9)  { animation-delay: 32s; }
.slide:nth-child(10) { animation-delay: 36s; }

/* -----------------------------------------
   GALERIE
----------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px,1fr));
  gap: 1.5rem;
}

.gallery-item {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,199,140,0.4);
  background: radial-gradient(circle at top, #2b170c, #050203);
  box-shadow: 0 0 14px rgba(0,0,0,0.9);
}

.gallery-item img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  filter: sepia(0.32) contrast(1.1) brightness(0.96);
  transition: 0.2s;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* -----------------------------------------
   SECTION VIDEO ACCUEIL
----------------------------------------- */
.video-section {
  padding: 2.5rem;
  border-top: 1px solid rgba(255,199,140,0.25);
  border-bottom: 1px solid rgba(255,199,140,0.25);
  background: radial-gradient(circle at top, rgba(40,22,14,0.95), rgba(6,3,2,0.98));
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255,199,140,0.4);
  background: #000;
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* -----------------------------------------
   SECTION RÉSEAUX SOCIAUX
----------------------------------------- */
.social-section {
  padding: 2.5rem;
  border-top: 1px solid rgba(255,199,140,0.25);
  text-align: center;
  background: radial-gradient(circle at top, rgba(40,22,14,0.95), rgba(6,3,2,0.98));
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px,1fr));
  gap: 1.6rem;
  max-width: 900px;
  margin: 0 auto;
}

.social-card {
  padding: 1.4rem 0.8rem;
  border-radius: 14px;
  border: 1px solid rgba(255,199,140,0.35);
  background: radial-gradient(circle at top, rgba(50,28,16,0.95), rgba(10,6,4,0.97));
  box-shadow: 0 0 14px rgba(0,0,0,0.85);
  text-decoration: none;
  color: #f8e1c3;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: 0.2s;
}

.social-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 22px rgba(255,200,150,0.5), 0 0 32px rgba(0,0,0,1) inset;
}

.social-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icon svg {
  width: 32px;
  height: 32px;
}

.youtube rect:first-child   { fill: #cc0000; }
.facebook circle:first-child { fill: #1877f2; }
.tiktok path:first-child     { fill: #000; }
.instagram rect:first-child  { fill: #c13584; }
.x rect:first-child          { fill: #000; }

/* -----------------------------------------
   FOOTER
----------------------------------------- */
.site-footer {
  border-top: 1px solid rgba(255,199,140,0.25);
  text-align: center;
  padding: 1.2rem 1rem 1.6rem;
  font-size: 0.8rem;
  color: #e0b27c;
  background: radial-gradient(circle at top, rgba(36,20,12,0.97), rgba(6,3,2,0.98));
}

/* -----------------------------------------
   RESPONSIVE
----------------------------------------- */
@media (max-width: 768px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .main-nav a {
    margin-left: 0;
    margin-right: 1rem;
  }

  .two-columns {
    grid-template-columns: 1fr;
  }
}
