* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Roboto, system-ui, sans-serif;
}
body {
  background: #f4f7fc;
  color: #1e2a3a;
}
a {
  text-decoration: none;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== HEADER / NAV ===== */
header {
  background: #0b1a2e;
  color: white;
  padding: 12px 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.logo-placeholder {
  width: 54px;
  height: 54px;
  background: #2a4b6e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffd966;
  overflow: hidden;
}
.logo-placeholder img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.brand {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 1px;
}
.brand span {
  color: #ffd966;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px 4px;
}
.hamburger span {
  width: 28px;
  height: 3px;
  background: white;
  border-radius: 4px;
  transition: 0.3s;
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}
nav ul {
  display: flex;
  list-style: none;
  gap: 28px;
  transition: 0.3s;
}
nav ul li a {
  color: #f0f4fa;
  font-weight: 500;
  transition: 0.3s;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
nav ul li a:hover, nav ul li a.active {
  border-bottom-color: #ffd966;
  color: #ffd966;
}
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  nav ul {
    position: absolute;
    top: 76px;
    left: 0;
    width: 100%;
    background: #0b1a2e;
    flex-direction: column;
    align-items: center;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    box-shadow: 0 12px 20px rgba(0,0,0,0.2);
    transition: max-height 0.4s ease, padding 0.3s;
    border-radius: 0 0 24px 24px;
  }
  nav ul.open {
    max-height: 400px;
    padding: 20px 20px 30px;
  }
  nav ul li {
    width: 100%;
    text-align: center;
    padding: 10px 0;
    border-bottom: 1px solid #1f3750;
  }
  nav ul li:last-child {
    border-bottom: none;
  }
  .header-inner {
    flex-wrap: nowrap;
  }
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: 0.3s;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  background: #128C7E;
}

/* ===== BANNIÈRE GALERIE ===== */
.galerie-banner {
  background: url('image/ap.png') center/cover no-repeat, linear-gradient(135deg, #0b1a2e 0%, #1d3a5a 100%);
  background-blend-mode: overlay;
  color: white;
  padding: 60px 0 50px;
  border-radius: 0 0 40px 40px;
  margin-bottom: 30px;
  box-shadow: inset 0 -8px 20px rgba(0,0,0,0.2);
}
.galerie-banner-content {
  text-align: center;
}
.galerie-banner h1 {
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.galerie-banner h1 i {
  color: #ffd966;
  margin-right: 10px;
}
.galerie-banner p {
  font-size: 1.15rem;
  opacity: 0.95;
  max-width: 700px;
  margin: 0 auto 24px;
  line-height: 1.6;
}
.badge-galerie {
  display: inline-block;
  background: #ffd966;
  color: #0b1a2e;
  padding: 8px 26px;
  border-radius: 40px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}
.badge-galerie i {
  margin-right: 8px;
}
@media (max-width: 700px) {
  .galerie-banner h1 {
    font-size: 1.8rem;
  }
  .galerie-banner p {
    font-size: 1rem;
  }
}

/* ===== INTRO ===== */
.intro-galerie {
  background: white;
  border-radius: 24px;
  padding: 24px 30px;
  margin-bottom: 30px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.03);
  border-left: 6px solid #ffd966;
  font-size: 1.05rem;
  line-height: 1.7;
}
.intro-galerie i {
  margin-right: 8px;
}

/* ===== GRILLE VIDÉOS ===== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}
.video-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
  transition: 0.3s ease;
  border: 1px solid #edf2f7;
  display: flex;
  flex-direction: column;
}
.video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  border-color: #ffd966;
}
.video-wrapper {
  position: relative;
  width: 100%;
  background: #0b1a2e;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-info {
  padding: 20px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.video-info h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: #0b1a2e;
  display: flex;
  align-items: center;
  gap: 8px;
}
.video-info h3 i {
  font-size: 1.1rem;
}
.video-info p {
  color: #4a5b6e;
  font-size: 0.95rem;
  line-height: 1.55;
  flex: 1;
  margin-bottom: 12px;
}
.video-date {
  font-size: 0.85rem;
  color: #7a8ca0;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-top: 10px;
  border-top: 1px solid #eef3f9;
}
.video-date i {
  color: #ffd966;
}
@media (max-width: 500px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== NOTICE ===== */
.notice-video {
  background: #eef3f9;
  border-radius: 20px;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 30px;
  border-left: 5px solid #ffd966;
}
.notice-video p {
  font-size: 0.98rem;
  color: #3e4f5e;
  line-height: 1.6;
}
.notice-video code {
  background: #0b1a2e;
  color: #ffd966;
  padding: 2px 10px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
}
@media (max-width: 500px) {
  .notice-video {
    flex-direction: column;
    text-align: center;
  }
}

/* ===== CTA GALERIE ===== */
.cta-galerie {
  background: linear-gradient(135deg, #0b1a2e, #1d3a5a);
  border-radius: 40px;
  padding: 40px 36px;
  margin: 40px 0;
  color: white;
  text-align: center;
}
.cta-galerie h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}
.cta-galerie p {
  opacity: 0.9;
  margin-bottom: 24px;
  font-size: 1.05rem;
}
.btn-wa-galerie {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #25d366;
  color: white;
  padding: 16px 40px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.05rem;
  transition: 0.3s;
}
.btn-wa-galerie:hover {
  background: #128C7E;
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
}
.btn-wa-galerie i {
  font-size: 1.4rem;
}

/* ===== FOOTER ===== */
footer {
  background: #0b1a2e;
  color: #b8c9dd;
  padding: 40px 0 20px;
  margin-top: 50px;
  border-radius: 40px 40px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px,1fr));
  gap: 30px;
  margin-bottom: 30px;
}
.footer-grid h4 {
  color: white;
  margin-bottom: 16px;
}
.footer-grid i {
  margin-right: 8px;
  color: #ffd966;
}
.footer-grid a {
  color: #b8c9dd;
}
.footer-grid a:hover {
  color: #ffd966;
}
.copyright {
  border-top: 1px solid #263b50;
  padding-top: 20px;
  text-align: center;
  font-size: 0.9rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 500px) {
  .cta-galerie {
    padding: 28px 20px;
  }
  .cta-galerie h3 {
    font-size: 1.25rem;
  }
}