/* ========== BASE ========== */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Segoe UI', sans-serif;
  background-color: white;
  color: #222;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-size: 16px;
}
a {
  color: #a00000;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
a:focus,
button:focus,
.logo-link:focus,
.nav-link:focus {
  outline: 2px dashed #000;
  outline-offset: 2px;
}
.brand-red {
  color: #a00000;
  font-weight: bold;
}

/* ========== CONTAINER GLOBAL ========== */
.container {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 10px;
}

/* ========== TITRES ========== */
h1, h2, h3 {
  color: #a00000;
  text-align: center;
  margin: 1.5rem 0;
}
p {
  margin: 0.6rem auto;
  max-width: 1100px;
  line-height: 1.5;
  text-align: center;
  font-size: 1rem;
}

/* ========== BANNIÈRE ========== */
.header-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
}

/* ========== NAVIGATION ========== */
.top-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1px;
  background-color: #a00000;
  padding: 1rem 2rem;
  flex-wrap: wrap;
}
.logo-container {
  display: flex;
  align-items: center;
  margin-right: auto;
}
.logo-link {
  display: flex;
  align-items: center;
}
.nav-logo {
  max-width: 120px;
  height: auto;
  display: block;
  padding: 6px 12px;
  background-color: white;
  border: 2px solid #a00000;
  border-radius: 6px;
}
.blog-text {
  margin-left: 20px;
  color: white;
  font-weight: 500;
  background-color: transparent;
  padding: 5px 12px;
  border-radius: 3px;
  border: 1px solid white;
  font-size: 0.85rem;
}
.top-nav a {
  background: #ffffff;
  border: 2px solid transparent;
  color: #a00000;
  font-weight: bold;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all 0.2s ease;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.top-nav a:hover {
  background-color: #a00000;
  color: white;
  border-color: white;
}

/* ========== GALERIE ========== */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin: 1.5rem auto;
}
.gallery a {
  display: block;
  overflow: hidden;
  border-radius: 6px;
}
.gallery img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  transition: 0.3s ease-in-out;
}
.gallery a:hover img {
  filter: brightness(1.1);
  transform: scale(1.05);
}

/* ========== VIDÉOS ========== */
.video-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem auto;
}
.video-row iframe {
  flex: 1 1 48%;
  min-width: 280px;
  height: 315px;
  border: none;
}

/* ========== BOUTON BAS ========== */
.shop-link {
  margin: 1.5rem auto;
  text-align: center;
  font-size: 1.05rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .video-row iframe {
    flex: 1 1 100%;
    height: 260px;
  }
}
@media (max-width: 768px) {
  .blog-text {
    display: none;
  }
}
@media (max-width: 600px) {
  .gallery {
    grid-template-columns: 1fr;
  }
  .top-nav {
    justify-content: center;
  }
  .nav-logo {
    margin: 0 auto;
  }
  .video-row iframe {
    height: 220px;
  }
  iframe {
    height: calc(100dvh - 90px - 60px);
  }
}
