/* ================================
   DCOFAM SARL - Style principal
   ================================ */

:root {
  --blue: #2B2188;
  --gold: #D39F00;
  --gray-light: #F5F5F5;
  --white: #FFFFFF;
  --black: #111111;
  --transition: 0.3s ease;
}

body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  color: var(--black);
  background-color: var(--white);
}

/* ==============================================
   NAVBAR FUTURISTE DCOFAM
   ============================================== */

.navbar {
  position: absolute;
  top: 0;
  width: 100%;
  padding: 10px 20px;
  background: transparent;
  transition: all 0.5s ease;
  z-index: 100;
}

.navbar.sticky {
  position: fixed;
  background: rgba(43, 33, 136, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 3px 12px rgba(0,0,0,0.3);
  animation: slideDown 0.5s ease;
}

@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--white);
}

.logo-img {
  height: 60px;
  margin-right: 10px;
  animation: logoGlow 3s infinite alternate;
}

@keyframes logoGlow {
  from { filter: drop-shadow(0 0 2px #D39F00); }
  to { filter: drop-shadow(0 0 10px #D39F00); }
}

.site-title {
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 1px;
  color: var(--white);
  text-shadow: 0 0 8px rgba(211,159,0,0.7);
  animation: fadeInText 2s ease forwards;
  opacity: 0;
}

@keyframes fadeInText {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* -------- Menu -------- */
.menu ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.menu li {
  margin-left: 25px;
}

.nav-link {
  color: var(--white);
  font-weight: 500;
  text-decoration: none;
  padding: 8px 0;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--gold);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Glowing hover */
.nav-link:hover {
  text-shadow: 0 0 8px var(--gold), 0 0 15px var(--gold);
}

/* Responsive */
@media (max-width: 768px) {
  .menu ul {
    flex-direction: column;
    align-items: center;
    background: rgba(43,33,136,0.95);
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    padding-top: 100px;
    transition: left 0.4s ease;
  }

  .menu ul.active {
    left: 0;
  }

  .menu li {
    margin: 20px 0;
  }
}

/* === BOUTON BURGER MOBILE === */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.8rem;
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 999;
}

.nav-toggle:hover {
  color: var(--gold);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
}

/* ==========================================================
   FOOTER FUTURISTE DCOFAM
   ========================================================== */
.footer-futuristic {
  background: radial-gradient(circle at top, #1c1670 0%, #0a0728 100%);
  color: var(--white);
  padding: 60px 20px 30px;
  position: relative;
  overflow: hidden;
}

.footer-futuristic::before {
  content: "";
  position: absolute;
  top: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: rgba(211,159,0,0.15);
  filter: blur(150px);
  border-radius: 50%;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: auto;
  position: relative;
  z-index: 1;
}

.footer-col h3 {
  color: var(--gold);
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-logo {
  width: 120px;
  filter: drop-shadow(0 0 10px var(--gold));
  margin-bottom: 10px;
  animation: glowLogo 4s infinite alternate;
}

@keyframes glowLogo {
  from { filter: drop-shadow(0 0 5px var(--gold)); }
  to { filter: drop-shadow(0 0 20px var(--gold)); }
}

.footer-slogan {
  font-style: italic;
  color: var(--gold);
  margin-bottom: 10px;
  text-shadow: 0 0 6px rgba(211,159,0,0.6);
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #e5e5e5;
}

.footer-info {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-info li {
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.footer-link {
  color: var(--white);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-link:hover {
  color: var(--gold);
}

/* === Social Icons === */
.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.social {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  background: rgba(255,255,255,0.1);
  font-size: 1.2rem;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(255,255,255,0.1);
}

.social:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 0 15px var(--gold);
}

/* Couleurs spécifiques */
.social.fb:hover { background: #1877f2; color: #fff; }
.social.li:hover { background: #0077b5; color: #fff; }
.social.yt:hover { background: #ff0000; color: #fff; }
.social.wa:hover { background: #25d366; color: #fff; }
.social.tt:hover { background: #000000; color: #fff; }

/* === Footer Bottom === */
.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.2);
  margin-top: 40px;
  padding-top: 15px;
  font-size: 0.85rem;
  color: #cccccc;
  position: relative;
  z-index: 2;
}
.footer-bottom strong {
  color: var(--gold);
}


/* ==========================================================
   PRELOADER FUTURISTE DCOFAM
   ========================================================== */
#preloader {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: radial-gradient(circle at center, #2B2188 40%, #111111 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  overflow: hidden;
}

.loader-content {
  text-align: center;
  color: var(--white);
  animation: fadeIn 1s ease-in-out;
}

.loader-logo {
  width: 120px;
  animation: logoPulse 3s infinite alternate;
  filter: drop-shadow(0 0 20px var(--gold));
}

@keyframes logoPulse {
  from { transform: scale(1); filter: drop-shadow(0 0 5px var(--gold)); }
  to { transform: scale(1.1); filter: drop-shadow(0 0 25px var(--gold)); }
}

.loader-text {
  margin-top: 20px;
  font-size: 1.2rem;
  letter-spacing: 1px;
  color: var(--gold);
  text-shadow: 0 0 10px rgba(211,159,0,0.8);
  animation: blinkText 2s infinite;
}

@keyframes blinkText {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.loader-bar {
  width: 250px;
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  margin: 20px auto;
  overflow: hidden;
}

.loader-bar .progress {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--blue));
  animation: loadBar 3s forwards;
}

@keyframes loadBar {
  from { width: 0%; }
  to { width: 100%; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}


/* ==========================================================
   HERO FUTURISTE DCOFAM
   ========================================================== */
/* ================= HERO FULLSCREEN FIX ================= */
.hero, .futuristic-hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border: none;
}

#particle-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  color: var(--white);
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
  animation: fadeInHero 2s ease forwards;
}

@keyframes fadeInHero {
  from { opacity: 0; transform: translateY(-40px); }
  to { opacity: 1; transform: translateY(-50%); }
}

.hero-title {
  font-size: 2.2rem;
  letter-spacing: 2px;
  text-shadow: 0 0 10px var(--gold), 0 0 25px var(--blue);
  animation: neonPulse 2s infinite alternate;
}

@keyframes neonPulse {
  from { text-shadow: 0 0 5px var(--gold), 0 0 10px var(--blue); }
  to { text-shadow: 0 0 20px var(--gold), 0 0 40px var(--blue); }
}

.hero-subtitle {
  font-size: 1.3rem;
  margin: 15px 0 25px 0;
  color: var(--gold);
  letter-spacing: 1px;
  animation: textGlow 3s infinite alternate;
}

@keyframes textGlow {
  from { text-shadow: 0 0 4px var(--gold); }
  to { text-shadow: 0 0 15px var(--gold); }
}

.hero-btn {
  box-shadow: 0 0 10px var(--gold);
  animation: buttonPulse 2s infinite alternate;
}

@keyframes buttonPulse {
  from { box-shadow: 0 0 10px var(--gold); }
  to { box-shadow: 0 0 25px var(--gold), 0 0 40px var(--blue); }
}
/* ===== HERO BUTTON FIX ===== */
.hero-btn {
  display: inline-block;
  font-size: 1rem;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: linear-gradient(90deg, var(--gold), var(--blue));
  color: var(--black);
  text-decoration: none;
  box-shadow: 0 0 15px rgba(211,159,0,0.6);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.hero-btn:hover {
  color: var(--white);
  box-shadow: 0 0 25px var(--gold), 0 0 40px var(--blue);
  transform: translateY(-3px) scale(1.05);
  background: linear-gradient(90deg, var(--blue), var(--gold));
}

/* Animation de halo autour du texte */
.hero-title::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 220px;
  height: 220px;
  border-radius: 50%;
  box-shadow: 0 0 60px rgba(211,159,0,0.6), 0 0 100px rgba(43,33,136,0.6);
  animation: rotateHalo 12s linear infinite;
  z-index: -1;
}

@keyframes rotateHalo {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Typage progressif du titre */
.hero-title span {
  display: inline-block;
  opacity: 0;
  animation: typeIn 0.05s forwards;
}

@keyframes typeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}


/* ======== Section Générale ======== */
section { padding: 60px 20px; }
.container { max-width: 1200px; margin: auto; }

/* === HERO RESPONSIVE FIX POUR SMARTPHONES === */

/* Image statique masquée par défaut */
.hero-image {
  display: none;
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* ✅ Sur écrans ≤ 768px : on désactive la vidéo et affiche l’image */
@media (max-width: 768px) {
  .hero-video {
    display: none !important;
  }

  .hero-image {
    display: block !important;
  }

  .hero-overlay {
    padding: 0 20px;
  }

  .hero-title {
    font-size: 1.6rem;
    line-height: 1.3;
  }

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

  .hero-btn {
    font-size: 0.9rem;
    padding: 12px 25px;
  }
}

/* ✅ Pour tablettes intermédiaires */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero-title {
    font-size: 1.9rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
  }
}



/* ==========================================================
   PAGE D'ACCUEIL DCOFAM SARL — STYLE FUTURISTE INDUSTRIEL
   ========================================================== */

/* === Animations globales === */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s ease-out;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================
   À PROPOS
   ========================================================== */
.about {
  background: linear-gradient(180deg, #ffffff 0%, #f7f8fc 100%);
  padding: 100px 20px;
}
.about-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  align-items: center;
  gap: 50px;
  max-width: 1200px;
  margin: auto;
}
.about-text h2 {
  font-size: 2rem;
  color: var(--blue);
  margin-bottom: 20px;
  text-transform: uppercase;
}
.about-text h2 span {
  color: var(--gold);
}
.about-text p {
  font-size: 1.05rem;
  color: #333;
  line-height: 1.8;
  margin-bottom: 25px;
}
.about-text .btn-blue {
  background: var(--blue);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 50px;
  transition: all 0.4s;
  font-weight: 600;
}
.about-text .btn-blue:hover {
  background: var(--gold);
  color: var(--black);
  box-shadow: 0 0 20px rgba(211,159,0,0.6);
}
.about-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 0 25px rgba(43,33,136,0.2);
  transition: transform 0.6s ease;
}
.about-image img:hover {
  transform: scale(1.05);
}

/* ==========================================================
   ACTIVITÉS
   ========================================================== */
.activities {
  background: radial-gradient(circle at center, #f4f4f4, #fff);
  padding: 100px 20px;
  text-align: center;
}
.activities h2 {
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 50px;
}
.activities h2 span {
  color: var(--gold);
}
.grid-activities {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}
.activity-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  position: relative;
}
.activity-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.activity-card h3 {
  padding: 15px;
  font-size: 1.1rem;
  color: var(--blue);
  font-weight: 600;
}
.activity-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 8px 25px rgba(43,33,136,0.25);
}
.activity-card:hover img {
  transform: scale(1.1);
}

/* ==========================================================
   FORMATIONS — CARROUSEL
   ========================================================== */
.trainings {
  background: linear-gradient(180deg, #ffffff, #f7f7fa);
  text-align: center;
  padding: 100px 20px;
}
.trainings h2 {
  color: var(--blue);
  margin-bottom: 40px;
  text-transform: uppercase;
}
.trainings h2 span {
  color: var(--gold);
}
.carousel-trainings {
  display: flex;
  gap: 25px;
  overflow: hidden;
  justify-content: center;
  animation: scrollSlide 20s linear infinite;
}
@keyframes scrollSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.training-card {
  flex: 0 0 250px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(43,33,136,0.1);
  overflow: hidden;
  transition: all 0.4s;
}
.training-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-bottom: 4px solid var(--gold);
}
.training-card h3 {
  margin: 15px;
  font-size: 1rem;
  color: var(--blue);
  font-weight: 600;
}
.training-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 25px rgba(43,33,136,0.25);
}

/* ==========================================================
   GALERIE
   ========================================================== */
.gallery-preview {
  background: linear-gradient(180deg, #fdfdfd, #f2f2f7);
  padding: 100px 20px;
  text-align: center;
}
.gallery-preview h2 {
  color: var(--blue);
  margin-bottom: 40px;
}
.gallery-preview h2 span {
  color: var(--gold);
}
.grid-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
}
.grid-gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.grid-gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(43,33,136,0.3);
}

/* ==========================================================
   TÉMOIGNAGES
   ========================================================== */
.testimonials {
  background: radial-gradient(circle at center, #2b2188, #0a0728);
  padding: 100px 20px;
  text-align: center;
  color: var(--white);
}
.testimonials h2 {
  color: var(--gold);
  margin-bottom: 40px;
  text-transform: uppercase;
}
.testimonial-carousel {
  display: flex;
  gap: 30px;
  overflow: hidden;
  justify-content: center;
  animation: testimonialSlide 25s linear infinite;
}
@keyframes testimonialSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.testimonial-card {
  flex: 0 0 350px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 15px;
  padding: 25px;
  color: #e0e0e0;
  box-shadow: 0 0 20px rgba(43,33,136,0.3);
}
.testimonial-card p {
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.6;
}
.testimonial-card h4 {
  color: var(--gold);
  margin-top: 15px;
}

/* ==========================================================
   FORMULAIRE DE CONTACT
   ========================================================== */
.contact-form {
  background: linear-gradient(180deg, #f9f9f9, #ffffff);
  padding: 100px 20px;
  text-align: center;
}
.contact-form h2 {
  color: var(--blue);
  margin-bottom: 40px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 800px;
  margin: auto;
}
.contact-form input,
.contact-form textarea {
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: all 0.3s;
}
.contact-form textarea {
  grid-column: 1 / -1;
  height: 120px;
  resize: none;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 10px rgba(211,159,0,0.4);
  outline: none;
}
.contact-form .btn-gold {
  margin-top: 25px;
  border: none;
  padding: 12px 30px;
  border-radius: 50px;
  background: linear-gradient(90deg, var(--gold), var(--blue));
  color: var(--white);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s;
}
.contact-form .btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(211,159,0,0.6);
}

/* ==========================================================
   CTA
   ========================================================== */

.cta h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.cta p {
  font-size: 1rem;
  color: #ddd;
}
.cta-buttons {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}


/* ==========================================================
   ANIMATION APPARITION FOOTER
   ========================================================== */
.footer-futuristic {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1.2s ease-out;
}

.footer-futuristic.visible {
  opacity: 1;
  transform: translateY(0);
  box-shadow: 0 -5px 30px rgba(211,159,0,0.2);
}
/* Correction : suppression du soulignement sur les icônes sociales */
.social {
  text-decoration: none !important;
}

.social i {
  text-decoration: none !important;
}
a {
  text-decoration: none;
}

a:hover, a:focus {
  text-decoration: none;
  outline: none;
}


/* ==========================================================
   BOUTON RETOUR EN HAUT
   ========================================================== */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--blue));
  color: var(--white);
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(211,159,0,0.6);
  transition: all 0.4s ease;
  display: none;
  z-index: 999;
}

#backToTop:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 0 25px var(--gold), 0 0 40px var(--blue);
}

/* ==========================================================
   ANIMATIONS GÉNÉRALES D'APPARITION
   ========================================================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.9s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}


/* ==========================================================
   BOUTONS GÉNÉRIQUES FUTURISTES
   ========================================================== */

/* STYLE DE BASE */
.btn-gold,
.btn-blue {
  display: inline-block;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 14px 35px;
  border-radius: 50px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  cursor: pointer;
}

/* BOUTON DORÉ (action principale) */
.btn-gold {
  background: linear-gradient(90deg, var(--gold), #d4a400);
  color: var(--black);
  border: none;
}
.btn-gold::before {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0.3), rgba(255,255,255,0));
  transition: all 0.6s;
}
.btn-gold:hover::before {
  left: 100%;
}
.btn-gold:hover {
  color: var(--white);
  background: linear-gradient(90deg, var(--blue), var(--gold));
  box-shadow: 0 0 25px rgba(211,159,0,0.7), 0 0 35px rgba(43,33,136,0.4);
  transform: translateY(-3px) scale(1.03);
}

/* BOUTON BLEU (action secondaire) */
.btn-blue {
  background: linear-gradient(90deg, var(--blue), #1a1280);
  color: var(--white);
  border: none;
}
.btn-blue::before {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0.25), rgba(255,255,255,0));
  transition: all 0.6s;
}
.btn-blue:hover::before {
  left: 100%;
}
.btn-blue:hover {
  background: linear-gradient(90deg, var(--gold), var(--blue));
  color: var(--black);
  box-shadow: 0 0 25px rgba(43,33,136,0.6), 0 0 35px rgba(211,159,0,0.4);
  transform: translateY(-3px) scale(1.03);
}

/* PETITE VARIANTE DANS LE HERO */
.hero-btn {
  font-size: 1.1rem;
  padding: 15px 45px;
  margin-top: 20px;
}

/* ALIGNEMENT GLOBAL DES BOUTONS MULTIPLES */
.cta-buttons .btn-gold,
.cta-buttons .btn-blue {
  min-width: 220px;
  text-align: center;
}





/* ==========================================================
   PAGE À PROPOS DCOFAM SARL
   ========================================================== */

/* === HERO ABOUT === */
.hero-about {
  position: relative;
  height: 60vh;
  background: url("../images/aboutbg.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-about-overlay {
  background: rgba(10, 7, 40, 0.6);
  text-align: center;
  color: var(--white);
  padding: 60px 20px;
  border-radius: 15px;
}
.hero-about-overlay h1 {
  font-size: 2.2rem;
  text-transform: uppercase;
  color: var(--gold);
}
.hero-about-overlay h1 span {
  color: var(--white);
}
.hero-about-overlay p {
  margin-top: 10px;
  font-size: 1.1rem;
  color: #e0e0e0;
}

/* === SECTION PRÉSENTATION — DCOFAM SARL (fond clair) === */
.about-intro {
  position: relative;
  background: #ffffff;
  color: var(--blue);
  padding: 120px 20px;
  overflow: hidden;
}

/* Effet de trame géométrique discrète en fond */
.about-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 0;
}

.about-flex {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 60px;
  align-items: center;
}

/* === Image avec encadrement lumineux === */
.about-image {
  position: relative;
}
.about-image::before {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--gold), rgba(43, 33, 136, 0.2), transparent);
  opacity: 0.5;
  filter: blur(8px);
}
.about-image img {
  width: 100%;
  border-radius: 20px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 25px rgba(43, 33, 136, 0.15);
  transition: transform 0.6s ease, box-shadow 0.6s ease;
}
.about-image img:hover {
  transform: scale(1.03);
  box-shadow: 0 0 40px rgba(211, 159, 0, 0.3);
}

/* === Texte principal === */
.about-text h2 {
  font-size: 2rem;
  color: var(--blue);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.about-text p {
  color: #333;
  line-height: 1.7;
  font-size: 1.05rem;
  margin-bottom: 40px;
}

/* === Statistiques === */
.about-stats {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.about-stats div {
  position: relative;
  background: radial-gradient(circle at center, #301ba8, #0a0728);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(43, 33, 136, 0.15);
  border-radius: 18px;
  padding: 25px 30px;
  min-width: 160px;
  text-align: center;
  box-shadow: 0 6px 25px rgba(43, 33, 136, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  overflow: hidden;
}

/* Reflet brillant subtil */
.about-stats div::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transform: rotate(25deg);
  transition: 1.5s;
  opacity: 0;
}

.about-stats div:hover::after {
  opacity: 1;
  transform: translateX(60%) rotate(25deg);
}

.about-stats div:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 40px rgba(211, 159, 0, 0.3);
}

.about-stats h3 {
  font-size: 2.4rem;
  color: var(--gold);
  margin: 0;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(211, 159, 0, 0.3);
}

.about-stats p {
  margin-top: 8px;
  font-size: 0.95rem;
  color: #fff;
}


/* === MISSION / VISION / VALEURS === */
.mvv {
  background: radial-gradient(circle at center, #301ba8, #0a0728);
  color: var(--white);
  padding: 100px 20px;
  text-align: center;
}
.mvv h2 {
  color: var(--gold);
  margin-bottom: 40px;
}
.grid-mvv {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}
.mvv-card {
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 0 15px rgba(211,159,0,0.2);
  transition: all 0.4s;
}
.mvv-card i {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 15px;
}
.mvv-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 30px rgba(211,159,0,0.4);
}

/* === Compétences === */
.skills {
  background: #f9f9f9;
  text-align: center;
  padding: 100px 20px;
}
.skills h2 {
  color: var(--blue);
  margin-bottom: 40px;
  text-transform: uppercase;
}
.grid-skills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  justify-items: center;
}
.skill-card {
  background: #ffffff;
  border-radius: 15px;
  padding: 25px 20px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  max-width: 260px;
}
.skill-card i {
  font-size: 2.2rem;
  color: var(--gold);
  margin-bottom: 10px;
  transition: color 0.3s ease;
}
.skill-card h3 {
  font-size: 1rem;
  color: #333;
  line-height: 1.4;
}
.skill-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(43, 33, 136, 0.25);
}
.skill-card:hover i {
  color: var(--blue);
}

/* === Animations uniques au hover pour chaque icône === */

/* 1️⃣ Conception & fabrication mécanique - rotation engrenages */
.skill-card:nth-child(1):hover i {
  animation: spinGears 1.5s linear infinite;
}
@keyframes spinGears {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* 2️⃣ Usinage & assemblage - vibration métallique */
.skill-card:nth-child(2):hover i {
  animation: shakeMachine 0.5s ease-in-out infinite;
}
@keyframes shakeMachine {
  0%,100% { transform: translateX(0); }
  25% { transform: translateX(-3px); }
  50% { transform: translateX(3px); }
  75% { transform: translateX(-2px); }
}

/* 3️⃣ Impression 3D & prototypage - rotation 3D */
.skill-card:nth-child(3):hover i {
  animation: rotateCube 1.8s linear infinite;
  transform-origin: center;
}
@keyframes rotateCube {
  0% { transform: rotateY(0deg) rotateX(0deg); }
  50% { transform: rotateY(180deg) rotateX(10deg); }
  100% { transform: rotateY(360deg) rotateX(0deg); }
}

/* 4️⃣ Maintenance industrielle - bascule d’outil */
.skill-card:nth-child(4):hover i {
  animation: wrenchTilt 1s ease-in-out infinite;
  transform-origin: center bottom;
}
@keyframes wrenchTilt {
  0%,100% { transform: rotate(0deg); }
  25% { transform: rotate(-20deg); }
  50% { transform: rotate(15deg); }
  75% { transform: rotate(-10deg); }
}

/* 5️⃣ Formation technique - rebond doux */
.skill-card:nth-child(5):hover i {
  animation: bounceTeacher 0.9s ease-in-out infinite;
}
@keyframes bounceTeacher {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* 6️⃣ Construction métallique - lueur montante */
.skill-card:nth-child(6):hover i {
  animation: glowUp 1.6s ease-in-out infinite;
}
@keyframes glowUp {
  0%,100% { text-shadow: 0 0 5px rgba(211,159,0,0.3); color: var(--gold); }
  50% { text-shadow: 0 0 25px rgba(43,33,136,0.8), 0 0 45px rgba(211,159,0,0.8); color: var(--blue); }
}

/* 7️⃣ Conseil & implantation - clignotement d’énergie */
.skill-card:nth-child(7):hover i {
  animation: flickerBulb 1.2s ease-in-out infinite;
}
@keyframes flickerBulb {
  0%,100% { opacity: 1; filter: drop-shadow(0 0 10px var(--gold)); }
  40% { opacity: 0.6; filter: drop-shadow(0 0 5px var(--gold)); }
  60% { opacity: 1; filter: drop-shadow(0 0 20px var(--gold)); }
}

/* === TIMELINE FUTURISTE === */
.timeline {
  position: relative;
  background: linear-gradient(180deg, #0a0728, #1a155c);
  color: var(--white);
  padding: 120px 20px;
  text-align: center;
  overflow: hidden;
}

.timeline h2 {
  color: var(--gold);
  margin-bottom: 60px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.timeline-line {
  position: relative;
  margin: 0 auto;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timeline-line::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--blue), var(--gold));
  box-shadow: 0 0 15px rgba(211, 159, 0, 0.7);
  animation: glowLine 4s linear infinite alternate;
}

@keyframes glowLine {
  0% { box-shadow: 0 0 15px rgba(211, 159, 0, 0.6); }
  100% { box-shadow: 0 0 35px rgba(211, 159, 0, 1); }
}

.timeline-item {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 25px;
  width: 45%;
  box-shadow: 0 0 20px rgba(43, 33, 136, 0.4);
  margin: 40px 0;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.timeline-item:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 0 40px rgba(211, 159, 0, 0.7);
}

.timeline-item:nth-child(odd) {
  align-self: flex-start;
}
.timeline-item:nth-child(even) {
  align-self: flex-end;
}

.timeline-item .year {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 10px;
}

.timeline-item p {
  color: #f1f1f1;
  font-size: 1rem;
  line-height: 1.5;
}

.timeline-item::after {
  content: "";
  position: absolute;
  top: 20px;
  width: 16px;
  height: 16px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 25px rgba(211, 159, 0, 0.9);
  transition: all 0.3s ease;
}

.timeline-item:nth-child(odd)::after {
  right: -8px;
}
.timeline-item:nth-child(even)::after {
  left: -8px;
}

.timeline-item:hover::after {
  transform: scale(1.3);
}

@media (max-width: 768px) {
  .timeline-item {
    width: 90%;
    align-self: center !important;
  }
  .timeline-line::before {
    left: 5%;
  }
  .timeline-item::after {
    left: calc(5% - 8px) !important;
  }
}


/* === Canvas de particules Timeline === */
.timeline {
  position: relative;
  overflow: hidden;
}
#timeline-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.timeline .container {
  position: relative;
  z-index: 2;
}


/* === Animation MVV (Mission, Vision, Valeurs) === */
.mvv-card {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease, box-shadow 0.3s;
}
.mvv-card.show {
  opacity: 1;
  transform: translateY(0);
  animation: glowPulse 2.5s ease-in-out 1;
}
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 15px rgba(211,159,0,0.2); }
  50% { box-shadow: 0 0 35px rgba(211,159,0,0.6); }
}

/* === Chiffres clés === */
.about-stats h3 {
  transition: color 0.3s;
}
.about-stats h3:hover {
  color: var(--blue);
}



/* ==========================================================
   PAGE ACTIVITÉS DCOFAM
   ========================================================== */

/* === HERO ACTIVITÉS === */
.hero-activities {
  position: relative;
  height: 55vh;
  background: url("../images/activitiesbg.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-activities .hero-overlay {
  background: rgba(10, 7, 40, 0.65);
  text-align: center;
  padding: 60px 20px;
  color: var(--white);
  border-radius: 15px;
}
.hero-activities h1 {
  font-size: 2.3rem;
  color: var(--gold);
  text-transform: uppercase;
}
.hero-activities p {
  margin-top: 10px;
  color: #ddd;
}

/* === INTRO === */
.activities-intro {
  background: #fff;
  color: #333;
  text-align: center;
  padding: 80px 20px 40px;
}
.activities-intro h2 {
  color: var(--blue);
  margin-bottom: 20px;
}
.activities-intro p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* === GRID ACTIVITÉS === */
.activities-grid {
  background: #f9f9f9;
  padding: 80px 20px;
}
.grid-activities {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 35px;
}

/* ===== CARTE D’ACTIVITÉ ===== */
.activity-card {
  position: relative;
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  cursor: pointer;
}

.activity-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 35px rgba(43, 33, 136, 0.25);
}

/* === Image principale === */
.activity-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}

.activity-card:hover img {
  transform: scale(1.1);
}

/* === Effet “verre traversant” === */
.activity-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  transition: all 0.8s ease;
  pointer-events: none;
}

/* Lors du hover → traverse de gauche vers droite */
.activity-card:hover::before {
  left: 125%;
}

/* Animation de retour (droite vers gauche) */
.activity-card:not(:hover)::before {
  left: -75%;
}

/* === Texte de la carte === */
.activity-info {
  padding: 20px;
  text-align: left;
}

.activity-info h3 {
  color: var(--blue);
  margin-bottom: 10px;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.activity-info p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
}

.activity-card:hover .activity-info h3 {
  color: var(--gold);
}


/* === CTA === */
.cta {
  background: linear-gradient(135deg, var(--blue), var(--gold));
  color: #fff;
  text-align: center;
  padding: 100px 20px;
}
.cta h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}
.cta p {
  font-size: 1.1rem;
  margin-bottom: 25px;
}



/* ==========================================================
   PAGE FORMATIONS DCOFAM SARL - DESIGN FUTURISTE
   ========================================================== */

/* === HERO === */
.hero-formations {
  position: relative;
  height: 60vh;
  background: radial-gradient(circle at center, #1a173d 0%, #0b0923 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.hero-formations::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(255,255,255,0.05) 0%, transparent 70%);
  animation: pulseGlow 6s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  0% { opacity: 0.3; transform: scale(1); }
  100% { opacity: 0.6; transform: scale(1.2); }
}

.hero-formations .hero-overlay {
  position: relative;
  z-index: 2;
  background: rgba(15, 12, 40, 0.55);
  padding: 60px 30px;
  border-radius: 20px;
  backdrop-filter: blur(6px);
  box-shadow: 0 0 25px rgba(211, 159, 0, 0.25);
}

.hero-formations h1 {
  font-size: 2.6rem;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 15px;
  letter-spacing: 1px;
}
.hero-formations p {
  font-size: 1.1rem;
  color: #ddd;
}

/* === INTRO === */
.formations-intro {
  background: #fff;
  padding: 80px 20px 40px;
  text-align: center;
}
.formations-intro h2 {
  color: var(--blue);
  font-size: 2rem;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.formations-intro p {
  color: #333;
  font-size: 1.05rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
}

/* === GRILLE FORMATIONS === */
.formations-grid {
  background: #f9f9f9;
  padding: 80px 20px;
}
.grid-formations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 35px;
}

/* === CARTE DE FORMATION === */
.formation-card {
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 6px 30px rgba(43, 33, 136, 0.2);
  text-align: center;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.formation-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 40px rgba(211, 159, 0, 0.3);
}

/* Image avec effet verre traversant */
.formation-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}

.formation-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  transition: all 0.8s ease;
  pointer-events: none;
}
.formation-card:hover::before { left: 125%; }

.formation-card:hover img { transform: scale(1.08); }

.formation-card h3 {
  margin: 18px 0 8px;
  font-size: 1.15rem;
  color: var(--blue);
  text-transform: capitalize;
  transition: color 0.3s ease;
}
.formation-card p {
  color: #555;
  font-size: 0.95rem;
  padding: 0 20px 20px;
  line-height: 1.6;
}
.formation-card:hover h3 {
  color: var(--gold);
}

/* === FORMULAIRE D’INSCRIPTION === */
.form-section {
  background: linear-gradient(135deg, #ffffff 50%, #f1f3ff 100%);
  padding: 100px 20px;
}
.inscription-form {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(255,255,255,0.8);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 0 35px rgba(43, 33, 136, 0.25);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}
.inscription-form:hover {
  box-shadow: 0 0 50px rgba(211, 159, 0, 0.4);
}

.inscription-form label {
  display: block;
  font-weight: 600;
  color: var(--blue);
  margin-top: 18px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.inscription-form input,
.inscription-form select,
.inscription-form textarea {
  width: 100%;
  margin-top: 8px;
  padding: 12px;
  border: 1px solid rgba(0,0,0,0.2);
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
}
.inscription-form input:focus,
.inscription-form select:focus,
.inscription-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 10px rgba(211, 159, 0, 0.3);
}

.inscription-form button {
  margin-top: 25px;
  width: 100%;
  padding: 14px;
  font-size: 1.1rem;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold), var(--blue));
  color: #fff;
  cursor: pointer;
  transition: all 0.4s ease;
}
.inscription-form button:hover {
  background: linear-gradient(135deg, var(--blue), var(--gold));
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(43, 33, 136, 0.3);
}

/* === CTA FINAL === */
.cta {
  background: linear-gradient(135deg, var(--blue), var(--gold));
  color: #fff;
  text-align: center;
  padding: 100px 20px;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0.2), transparent);
  transform: skewX(-25deg);
  animation: slideLight 6s infinite linear;
}
@keyframes slideLight {
  0% { left: -100%; }
  100% { left: 200%; }
}
.cta h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.cta p {
  font-size: 1.1rem;
  margin-bottom: 25px;
}
.cta .cta-buttons a {
  margin: 0 10px;
}

/* === PAGE DE CONFIRMATION === */
.confirmation {    
  background: radial-gradient(circle at center, #1a173d 0%, #0b0923 100%);
  padding: 120px 20px;
  text-align: center;
}
.confirmation h2 {
  color: var(--gold);
  font-size: 2.2rem;
  margin-bottom: 10px;
}
.confirmation p {
  color: #fff;
  font-size: 1.05rem;
}
.confirmation a.btn-blue {
  margin-top: 25px;
  display: inline-block;
}


/* ==========================================================
   PAGE RÉALISATIONS DCOFAM - STYLE FUTURISTE
   ========================================================== */

/* === HERO === */
.hero-gallery {
  position: relative;
  height: 60vh;
  background: url("assets/images/realistion.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}
.hero-gallery .hero-overlay {
  background: rgba(10, 7, 40, 0.6);
  padding: 60px 30px;
  border-radius: 20px;
  backdrop-filter: blur(6px);
}
.hero-gallery h1 {
  color: var(--gold);
  font-size: 2.5rem;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.hero-gallery p {
  color: #ddd;
  font-size: 1.1rem;
}

/* === INTRO === */
.gallery-intro {
  background: #fff;
  padding: 80px 20px 40px;
  text-align: center;
}
.gallery-intro h2 {
  color: var(--blue);
  font-size: 2rem;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.gallery-intro p {
  color: #333;
  font-size: 1.05rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
}

/* === GALERIE === */
.gallery-section {
  background: #f9f9f9;
  padding: 80px 20px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

/* === ÉLÉMENT DE GALERIE === */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  cursor: pointer;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 35px rgba(43, 33, 136, 0.25);
}
.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-item:hover img {
  transform: scale(1.1);
}

/* === Effet de verre brillant === */
.gallery-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  transition: all 0.8s ease;
  pointer-events: none;
}
.gallery-item:hover::before {
  left: 125%;
}

/* === OVERLAY D'INFORMATION === */
.gallery-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(15, 12, 40, 0.75);
  color: #fff;
  text-align: center;
  padding: 20px;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.5s ease;
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
  transform: translateY(0);
}
.gallery-overlay h3 {
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 5px;
}
.gallery-overlay p {
  font-size: 0.9rem;
  color: #ddd;
}

/* === CTA FINAL === */
.cta {
  background: linear-gradient(135deg, var(--blue), var(--gold));
  color: #fff;
  text-align: center;
  padding: 100px 20px;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0.25), transparent);
  transform: skewX(-25deg);
  animation: slideLight 6s infinite linear;
}
@keyframes slideLight {
  0% { left: -100%; }
  100% { left: 200%; }
}
.cta h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.cta p {
  font-size: 1.1rem;
  margin-bottom: 25px;
}


/* ==========================================================
   BLOG DCOFAM - DESIGN FUTURISTE HYBRIDE
   ========================================================== */

/* === HERO BLOG === */
.hero-blog {
  position: relative;
  height: 60vh;
  background: url("assets/images/blog/blog-bg.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.hero-blog::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(10, 7, 40, 0.7), rgba(0, 0, 0, 0.6));
  backdrop-filter: blur(5px);
}
.hero-blog .hero-overlay {
  position: relative;
  z-index: 2;
  background: rgba(43, 33, 136, 0.25);
  padding: 60px 40px;
  border-radius: 20px;
  box-shadow: 0 0 25px rgba(211, 159, 0, 0.25);
}
.hero-blog h1 {
  color: var(--gold);
  font-size: 2.8rem;
  text-transform: uppercase;
  text-shadow: 0 0 15px rgba(211, 159, 0, 0.4);
}
.hero-blog p {
  font-size: 1.15rem;
  color: #e0e0e0;
  margin-top: 10px;
}

/* === INTRODUCTION === */
.blog-intro {
  background: #fff;
  text-align: center;
  padding: 90px 20px 40px;
}
.blog-intro h2 {
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 15px;
  font-size: 2rem;
}
.blog-intro p {
  color: #333;
  font-size: 1.05rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
}

/* === SECTION LISTE DES ARTICLES === */
.blog-list {
  background: linear-gradient(180deg, #f7f7f7 0%, #ececff 100%);
  padding: 80px 20px;
}
.blog-list h2 {
  text-align: center;
  color: var(--blue);
  font-size: 2rem;
  text-transform: uppercase;
  margin-bottom: 60px;
}
.blog-list h2 span {
  color: var(--gold);
}

/* === GRILLE DES ARTICLES === */
.grid-blog {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 40px;
  justify-items: center;
}

/* === CARTE D’ARTICLE === */
.blog-card {
  position: relative;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.5s ease;
  cursor: pointer;
  backdrop-filter: blur(10px);
  max-width: 380px;
}
.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 35px rgba(43, 33, 136, 0.3);
}
.blog-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: rotate(25deg);
  transition: transform 1.2s ease, opacity 1.2s ease;
  opacity: 0;
}
.blog-card:hover::before {
  opacity: 1;
  transform: translateX(50%) rotate(25deg);
}

/* === IMAGE D’ARTICLE === */
.blog-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.6s ease;
  filter: brightness(0.9);
}
.blog-card:hover img {
  transform: scale(1.08);
  filter: brightness(1);
}

/* === CONTENU DE LA CARTE === */
.blog-content {
  padding: 25px;
  text-align: left;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
}
.blog-date {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.blog-content h3 {
  color: var(--blue);
  font-size: 1.2rem;
  margin-bottom: 10px;
  line-height: 1.4;
}
.blog-content p {
  color: #333;
  font-size: 0.95rem;
  margin-bottom: 15px;
  line-height: 1.6;
}

/* === BOUTON "LIRE LA SUITE" === */
.blog-content a.btn-blue {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.4s ease;
  box-shadow: 0 0 12px rgba(43, 33, 136, 0.3);
}
.blog-content a.btn-blue:hover {
  background: var(--gold);
  color: #000;
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(211, 159, 0, 0.5);
}


/* === CSS ARTICLE === */
.article-content {
  background: #fff;
  padding: 80px 20px;
}
.article-content h2 {
  color: var(--blue);
  font-size: 2rem;
  margin-bottom: 10px;
}
.article-meta {
  color: #999;
  font-size: 0.9rem;
  margin-bottom: 25px;
}
.article-image {
  width: 100%;
  max-width: 800px;
  margin: 20px auto;
  display: block;
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.15);
}
.article-content p {
  color: #444;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 20px;
}





/* =======================
   CONTACT PAGE STYLES
======================= */

.hero-contact {
  position: relative;
  height: 60vh;
  background: url("assets/images/contactbg.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}
.hero-contact::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 7, 40, 0.6);
}
.hero-contact .hero-overlay {
  position: relative;
  z-index: 2;
}
.hero-contact h1 {
  font-size: 2.8rem;
  color: var(--gold);
  text-transform: uppercase;
}
.hero-contact h1 span {
  color: var(--blue);
}
.hero-contact p {
  font-size: 1.1rem;
  color: #eee;
}

/* === CONTACT INFOS === */
.contact-infos {
  background: #fff;
  text-align: center;
  padding: 100px 20px;
}
.contact-infos h2 {
  color: var(--blue);
  font-size: 2rem;
  margin-bottom: 50px;
  text-transform: uppercase;
}
.grid-infos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}
.info-card {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 40px 25px;
  transition: all 0.5s ease;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
}
.info-card i {
  font-size: 2.2rem;
  color: var(--blue);
  margin-bottom: 15px;
  transition: transform 0.3s ease, color 0.3s ease;
}
.info-card:hover i {
  transform: rotateY(360deg);
  color: var(--gold);
}
.info-card h3 {
  color: var(--blue);
  margin-bottom: 10px;
}
.info-card p {
  color: #333;
}
.info-card a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
}
.info-card a:hover {
  color: var(--gold);
}

/* =======================
   CONTACT SECTION FUTURISTE
======================= */
.contact-duo {
  position: relative;
  background: radial-gradient(circle at top, #ececff 0%, #f9f9f9 100%);
  padding: 120px 20px;
  overflow: hidden;
}

/* Fond animé (canvas ou pseudo) */
#contact-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 30%, rgba(43, 33, 136, 0.05), transparent 70%);
  z-index: 0;
  animation: moveGears 12s linear infinite;
  background-image: url("assets/images/bg/gears.avif");
  background-repeat: repeat;
  background-size: 250px;
  opacity: 0.2;
}

@keyframes moveGears {
  from { background-position: 0 0; }
  to { background-position: 300px 200px; }
}

.contact-flex {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: stretch;
}

/* === BLOCS === */
.contact-left,
.contact-right {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 50px 35px;
  backdrop-filter: blur(15px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  transition: all 0.5s ease;
}

.contact-left:hover,
.contact-right:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(43, 33, 136, 0.35);
}

.contact-left h2,
.contact-right h2 {
  color: var(--blue);
  font-size: 1.8rem;
  text-transform: uppercase;
  margin-bottom: 25px;
  text-align: center;
  letter-spacing: 1px;
}

/* === FORMULAIRE === */
.form-dcofam {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-dcofam input,
.form-dcofam textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(43, 33, 136, 0.2);
  border-radius: 10px;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.9);
  transition: all 0.4s ease;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05);
}

.form-dcofam input:focus,
.form-dcofam textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 15px rgba(211, 159, 0, 0.4);
}

.form-dcofam button {
  align-self: center;
  margin-top: 10px;
  padding: 12px 35px;
  background: var(--gold);
  color: #000;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 0 10px rgba(211, 159, 0, 0.3);
}

.form-dcofam button:hover {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 0 20px rgba(43, 33, 136, 0.4);
}

/* === MAP CONTAINER FIXED === */
.map-container {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  max-height: 480px; /* limite la hauteur max */
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.map-container iframe {
  position: absolute;
  inset: 0; /* top:0; left:0; bottom:0; right:0 */
  width: 100%;
  height: 100%;
  border: none;
  border-radius: inherit;
  object-fit: cover; /* évite tout débordement */
  display: block;
  filter: grayscale(20%) brightness(0.95);
  transition: filter 0.5s ease, transform 0.8s ease;
  will-change: transform, filter;
}

.map-container:hover iframe {
  filter: grayscale(0%) brightness(1);
  transform: scale(1.03);
}

/* === RESPONSIVE === */
@media (max-width: 950px) {
  .map-container {
    max-height: 400px;
    margin-top: 20px;
  }
  .contact-flex {
    grid-template-columns: 1fr;
  }

  .contact-left,
  .contact-right {
    padding: 35px 25px;
  }

}






/* ==========================================================
   DESIGN INDUSTRIEL DCOFAM – MODULE DESIGN
========================================================== */

.design-main {
  background: #f9f9fb;
}

/* === HERO === */
.design-hero {
  position: relative;
  height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.design-hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}
.design-hero-overlay {
  position: relative;
  text-align: center;
  color: #fff;
  z-index: 2;
  background: rgba(0, 0, 0, 0.45);
  padding: 40px;
  border-radius: 20px;
  backdrop-filter: blur(5px);
  animation: fadeIn 1.8s ease-out forwards;
}
.design-hero h1 {
  font-size: 2.8rem;
  margin-bottom: 15px;
  color: #D39F00;
  text-transform: uppercase;
}
.design-hero p {
  font-size: 1.1rem;
  max-width: 750px;
  margin: 0 auto 25px;
}

/* === BOUTONS === */
.design-btn-gold {
  background: #D39F00;
  color: #000;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(211, 159, 0, 0.4);
}
.design-btn-gold:hover {
  background: #2B2188;
  color: #fff;
  box-shadow: 0 0 25px rgba(43, 33, 136, 0.5);
}
.design-btn-blue {
  background: #2B2188;
  color: #fff;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}
.design-btn-blue:hover {
  background: #D39F00;
  color: #000;
}

/* === ZOOM ÉDITION === */
.design-edition {
  padding: 100px 20px;
  background: #fff;
  text-align: center;
}
.design-edition h2 {
  font-size: 2rem;
  color: #2B2188;
  margin-bottom: 40px;
  text-transform: uppercase;
}
.design-edition-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}
.design-edition-block {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.5s ease;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
}
.design-edition-block img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.design-edition-block:hover img {
  transform: scale(1.05);
}
.design-edition-block .overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(43, 33, 136, 0.6);
  opacity: 0;
  transition: all 0.4s ease;
}
.design-edition-block:hover .overlay {
  opacity: 1;
}
.design-edition-block .overlay h3 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 15px;
  text-transform: uppercase;
}

/* === CTA === */
.design-cta {
  background: linear-gradient(135deg, #2B2188, #100c45);
  color: #fff;
  text-align: center;
  padding: 90px 20px;
  position: relative;
  overflow: hidden;
}

.design-cta h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #D39F00;
  text-transform: uppercase;
}

.design-cta p {
  font-size: 1.1rem;
  margin-bottom: 25px;
}

.design-cta::before {
  content: "";
  position: absolute;
  width: 160%;
  height: 160%;
  top: -30%;
  left: -30%;
  background: radial-gradient(circle at center, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: rotateGlow 15s linear infinite;
  pointer-events: none; /* ✅ empêche de bloquer les clics */
  z-index: 0;
}

/* on s’assure que le contenu reste au-dessus */
.design-cta h2,
.design-cta p,
.design-cta a {
  position: relative;
  z-index: 1;
}

@keyframes rotateGlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* === RESPONSIVE === */
@media (max-width: 950px) {
  .design-edition-grid {
    grid-template-columns: 1fr;
  }
  .design-hero h1 {
    font-size: 2.2rem;
  }
}




/* ==========================================================
   SECTIONS : A PROPOS – INFOS PRATIQUES – COMMENT PARTICIPER
========================================================== */

/* --- Conteneur commun --- */
.design-info,
.design-steps {
  padding: 100px 20px;
  background: #fff;
  color: #333;
  text-align: center;
}

.design-info h2,
.design-steps h2 {
  font-size: 2rem;
  color: #2B2188;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.design-info .subtitle,
.design-steps .subtitle {
  color: #666;
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.7;
  font-size: 1.05rem;
}

/* === À PROPOS DU CONCOURS === */
.design-about {
  background: #fff;
  padding: 100px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.design-about h2 {
  font-size: 2rem;
  color: #2B2188;
  text-transform: uppercase;
  margin-bottom: 20px;
  position: relative;
}

.design-about .subtitle {
  font-size: 1.1rem;
  color: #444;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.design-about .about-content {
  max-width: 900px;
  margin: 0 auto 60px;
  color: #555;
  line-height: 1.8;
  font-size: 1rem;
}

.design-about .about-content p {
  margin-bottom: 18px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.about-item {
  background: #f9f9fb;
  border-radius: 15px;
  padding: 30px 25px;
  text-align: center;
  transition: all 0.4s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(43, 33, 136, 0.05);
}

.about-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 25px rgba(43, 33, 136, 0.15);
  border-color: rgba(211, 159, 0, 0.3);
}

.about-item i {
  font-size: 2rem;
  color: #D39F00;
  margin-bottom: 15px;
}

.about-item h3 {
  color: #2B2188;
  font-size: 1.2rem;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.about-item p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* === Responsive === */
@media (max-width: 768px) {
  .design-about {
    padding: 70px 15px;
  }
  .design-about h2 {
    font-size: 1.7rem;
  }
  .about-item {
    padding: 25px 20px;
  }
}


/* --- Infos pratiques --- */
.design-info {
  background: #f9f9fb;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.info-box {
  background: #fff;
  border-radius: 15px;
  padding: 30px 25px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(43, 33, 136, 0.2);
}

.info-box i {
  font-size: 2rem;
  color: #D39F00;
  margin-bottom: 10px;
}

.info-box h3 {
  color: #2B2188;
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.info-box p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- Comment participer --- */
.design-steps {
  background: linear-gradient(135deg, #fdfdfd, #f5f5fc);
  position: relative;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 35px;
  justify-content: center;
  align-items: stretch;
  margin-top: 50px;
}

.step-item {
  background: #fff;
  border-radius: 20px;
  padding: 35px 25px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(211,159,0,0.25);
}

.step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: #D39F00;
  color: #000;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.3rem;
  box-shadow: 0 0 10px rgba(211,159,0,0.4);
}

.step-item h3 {
  margin-top: 25px;
  color: #2B2188;
  font-size: 1.1rem;
  text-transform: uppercase;
}

.step-item p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 10px 0 20px;
}

.design-btn-gold.small,
.design-btn-blue.small {
  padding: 8px 14px;
  font-size: 0.85rem;
  border-radius: 8px;
  margin-top: 5px;
}

/* --- Animation Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive ajustements --- */
@media (max-width: 800px) {
  .design-info h2,
  .design-about h2,
  .design-steps h2 {
    font-size: 1.6rem;
  }
  .info-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .step-item {
    margin-bottom: 20px;
  }
}



/* ==========================================================
   DESIGN INDUSTRIEL – PAGE INSCRIPTION 
   ========================================================== */

.design-inscription {
  background: linear-gradient(180deg, #f8f8fb, #ececff);
  padding: 120px 40px;
  position: relative;
  overflow: hidden;
}

/* Effet de fond mécanique */
.design-inscription::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/patterns/gears-bg.avif") center/cover no-repeat,
              radial-gradient(circle at 20% 30%, rgba(34, 11, 235, 0.05), transparent 70%);
  opacity: 0.25;
  pointer-events: none;
}

/* === CONTAINER ÉLARGI === */
.design-inscription .container {
  width: 95%;
  max-width: 1300px; /* élargi pour plus d’espace */
  margin: auto;
}

.design-inscription h2 {
  text-align: center;
  color: var(--blue);
  font-size: 2rem;
  margin-bottom: 70px;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

/* === FORMULAIRE === */
.design-form {
  max-width: 1100px; /* largeur augmentée */
  margin: auto;
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(12px);
  border-radius: 25px;
  padding: 60px 50px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 35px; /* espace entre les sections */
}

/* === GRILLE DE CHAMPS === */
.design-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* champs plus larges */
  gap: 30px; /* espace horizontal et vertical entre champs */
}

/* === CHAMPS === */
.design-form input,
.design-form select {
  width: 100%;
  padding: 16px 10px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.95);
  font-size: 1rem;
  transition: all 0.3s ease;
  margin-bottom: 10px;
}

.design-form input:focus,
.design-form select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 12px rgba(211, 159, 0, 0.3);
  outline: none;
}

/* === BOUTON === */
.design-btn-gold {
  align-self: center;
  padding: 14px 50px;
  background: var(--gold);
  color: #000;
  border: none;
  border-radius: 40px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 0 15px rgba(211, 159, 0, 0.4);
}

.design-btn-gold:hover {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 0 25px rgba(43, 33, 136, 0.5);
}

/* === RESPONSIVE === */
@media (max-width: 1100px) {
  .design-form {
    padding: 40px 30px;
  }
  .design-form-grid {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }
}

@media (max-width: 750px) {
  .design-form {
    padding: 30px 20px;
  }
  .design-form-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .design-inscription h2 {
    font-size: 1.6rem;
  }
}





/* ==========================================================
   DESIGN INDUSTRIEL – CONFIRMATION D’INSCRIPTION
   ========================================================== */

.design-confirmation {
  background: linear-gradient(180deg, #f9f9f9, #ececff);
  padding: 120px 20px;
  position: relative;
}

.design-confirmation::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/patterns/gears-bg.avif") center/cover no-repeat,
              radial-gradient(circle at 30% 30%, rgba(34, 11, 235, 0.05), transparent 70%);
  opacity: 0.2;
  pointer-events: none;
}

.confirmation-card {
  max-width: 900px;
  margin: auto;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(12px);
  border-radius: 25px;
  padding: 60px 40px;
  text-align: center;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
}

.icon-check {
  font-size: 4rem;
  color: var(--gold);
  margin-bottom: 20px;
  animation: popIn 1.2s ease forwards;
}

@keyframes popIn {
  0% { transform: scale(0); opacity: 0; }
  80% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); }
}

.confirmation-card h2 {
  color: var(--blue);
  margin-bottom: 20px;
}

.confirmation-card p {
  color: #333;
  font-size: 1.05rem;
  margin-bottom: 30px;
}

.details-box {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 15px;
  padding: 25px 35px;
  margin: 30px auto;
  text-align: left;
  box-shadow: 0 0 15px rgba(43, 33, 136, 0.1);
}

.details-box h3 {
  color: var(--blue);
  margin-bottom: 15px;
  text-align: center;
}

.details-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.details-box li {
  margin: 8px 0;
  font-size: 0.95rem;
}

.status-box {
  margin: 20px 0;
}

.status-box .pending {
  color: #c87f00;
  font-weight: 600;
}

.design-btn-gold,
.design-btn-blue {
  display: inline-block;
  margin: 10px;
  padding: 12px 35px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.4s ease;
}

.design-btn-gold {
  background: var(--gold);
  color: #000;
  box-shadow: 0 0 15px rgba(211,159,0,0.4);
}
.design-btn-gold:hover {
  background: var(--blue);
  color: #fff;
}

.design-btn-blue {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 0 15px rgba(43,33,136,0.3);
}
.design-btn-blue:hover {
  background: var(--gold);
  color: #000;
}





/* ==========================================================
   DESIGN INDUSTRIEL – PAGE DE PAIEMENT
   ========================================================== */
.design-paiement {
  background: linear-gradient(180deg, #0a0928, #ececff);
  padding: 120px 20px;
  position: relative;
  overflow: hidden;
}

.design-paiement::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/patterns/gears-bg.avif") center/cover no-repeat,
              radial-gradient(circle at 30% 30%, rgba(34, 11, 235, 0.05), transparent 80%);
  opacity: 0.15;
}

.paiement-card {
  position: relative;
  z-index: 2;
  max-width: 850px;
  margin: auto;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
  border-radius: 25px;
  padding: 60px 40px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  text-align: center;
}

.paiement-card h2 {
  color: var(--blue);
  font-size: 1.8rem;
  margin-bottom: 20px;
}
.paiement-card p {
  color: #333;
  font-size: 1.05rem;
  margin-bottom: 40px;
}

.payment-options {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.option {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 15px;
  padding: 25px 20px;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  width: 200px;
}
.option:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 25px rgba(211, 159, 0, 0.4);
}
.option img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}
.option h3 {
  margin-top: 10px;
  color: var(--blue);
}

.instructions-box {
  margin-top: 40px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  animation: fadeIn 0.6s ease-out;
}
.instructions-box h3 {
  color: var(--blue);
  text-align: center;
  margin-bottom: 15px;
}
.instructions-box code {
  background: rgba(43,33,136,0.1);
  color: var(--blue);
  padding: 5px 10px;
  border-radius: 6px;
}
.hidden {
  display: none;
}

.upload-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 25px;
  text-align: center;
}
.upload-form input[type="file"] {
  border: 1px solid rgba(0,0,0,0.2);
  border-radius: 8px;
  padding: 10px;
  background: rgba(255,255,255,0.8);
}
.upload-form label {
  font-weight: 500;
  color: var(--blue);
}

.back-btn {
  display: inline-block;
  margin-top: 30px;
}

/* Responsive */
@media (max-width: 900px) {
  .payment-options {
    flex-direction: column;
    align-items: center;
  }
  .option {
    width: 80%;
  }
}





/* ==========================================================
   DESIGN INDUSTRIEL – UPLOAD PAIEMENT
   ========================================================== */
.design-upload {
  background: linear-gradient(180deg, #0a0928, #ececff);
  padding: 120px 20px;
  text-align: center;
}

.upload-error {
  max-width: 600px;
  margin: auto;
  background: rgba(255,255,255,0.25);
  backdrop-filter: blur(10px);
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
.upload-error h2 {
  color: #d11;
  margin-bottom: 15px;
}
.upload-error p {
  color: #333;
  margin-bottom: 20px;
}



/* ==========================================================
   DESIGN INDUSTRIEL – CONFIRMATION DE PAIEMENT
   ========================================================== */

.design-confirmation {
  background: linear-gradient(180deg, #0a0928, #ececff);
  padding: 120px 20px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.design-confirmation::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/patterns/gears-bg.avif") center/contain no-repeat,
              radial-gradient(circle at 20% 30%, rgba(43,33,136,0.05), transparent 70%);
  opacity: 0.2;
  pointer-events: none;
}

.confirmation-card {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(12px);
  border-radius: 25px;
  padding: 60px 40px;
  max-width: 800px;
  margin: auto;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  animation: fadeIn 1s ease-out forwards;
}

.confirmation-icon {
  font-size: 4rem;
  color: var(--gold);
  margin-bottom: 20px;
  animation: bounceIn 1.5s ease;
}

@keyframes bounceIn {
  0% { transform: scale(0.5); opacity: 0; }
  60% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(1); }
}

.confirmation-card h2 {
  color: var(--blue);
  font-size: 2rem;
  margin-bottom: 15px;
}

.confirmation-card p {
  color: #333;
  font-size: 1.05rem;
  margin-bottom: 25px;
  line-height: 1.6;
}

.status-box {
  background: rgba(255, 255, 255, 0.5);
  padding: 25px 30px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin: 20px auto 40px;
  max-width: 500px;
  text-align: left;
}

.status-box h3 {
  text-align: center;
  color: var(--blue);
  margin-bottom: 15px;
}

.status-box ul {
  list-style: none;
  padding: 0;
}

.status-box li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  color: #333;
}

.status-box li i {
  color: var(--blue);
  margin-right: 10px;
}

.status-box .valide {
  color: green;
  font-weight: 600;
}

.status-box .attente {
  color: #d39f00;
  font-weight: 600;
}

.design-btn-gold {
  display: inline-block;
  background: var(--gold);
  color: #000;
  padding: 14px 35px;
  border-radius: 35px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 0 15px rgba(211, 159, 0, 0.4);
  transition: all 0.4s ease;
}

.design-btn-gold:hover {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 0 25px rgba(43, 33, 136, 0.5);
}

/* Responsive */
@media (max-width: 800px) {
  .confirmation-card {
    padding: 40px 25px;
  }
  .confirmation-card h2 {
    font-size: 1.6rem;
  }
}



/* === TABLEAU DE BORD CANDIDAT === */
.design-dashboard {
  background: linear-gradient(180deg, #f9f9f9, #ececff);
  padding: 100px 20px;
}

.dashboard-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px 35px;
  max-width: 900px;
  margin: auto;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
}

.dashboard-card h2 {
  color: var(--blue);
  text-align: center;
  margin-bottom: 10px;
}

.dashboard-card .subtitle {
  text-align: center;
  margin-bottom: 40px;
  color: #555;
}

.info-section, .status-section {
  margin-bottom: 30px;
}

.info-section ul {
  list-style: none;
  padding: 0;
}

.info-section li {
  margin-bottom: 8px;
  font-size: 1rem;
}

.status {
  padding: 5px 12px;
  border-radius: 10px;
  font-weight: 600;
  text-transform: capitalize;
}

.status.validé { background: #c8f7c5; color: #155724; }
.status.en-attente-validation, .status['en attente validation'] { background: #fff3cd; color: #856404; }
.status.non-effectué { background: #f8d7da; color: #721c24; }
.status.rejeté { background: #f5c6cb; color: #721c24; }

.actions {
  text-align: center;
  margin-top: 30px;
}

.design-btn-gold, .design-btn-blue, .design-btn-grey, .design-btn-red {
  display: inline-block;
  margin: 10px;
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.design-btn-gold {
  background: var(--gold);
  color: #000;
}
.design-btn-outline {
  background: var(--gold);
  color: #000;
}

.design-btn-blue {
  background: var(--blue);
  color: #fff;
}

.design-btn-grey {
  background: #ddd;
  color: #000;
}

.design-btn-red {
  background: #dc3545;
  color: #fff;
}

.design-btn-gold:hover { background: var(--blue); color: #fff; }
.design-btn-outline { background: var(--blue); color: #fff; }
.design-btn-blue:hover { background: var(--gold); color: #000; }
.design-btn-grey:hover { background: #bbb; }
.design-btn-red:hover { background: #c82333; }

.info-note {
  text-align: center;
  color: #555;
  font-weight: 500;
  background: #fff9c4;
  padding: 10px 15px;
  border-radius: 10px;
  display: inline-block;
}



/* === DESIGNGALLERY PAGE === */
.design-gallery {
  background: #f9f9fb;
}

/* Titres */
.gallery-section {
  padding: 100px 20px;
  text-align: center;
}

.gallery-section h2 {
  font-size: 2rem;
  color: #2B2188;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.gallery-section .subtitle {
  font-size: 1.05rem;
  color: #555;
  max-width: 800px;
  margin: 0 auto 50px;
  line-height: 1.6;
}

/* === CORRECTION VISIBILITÉ NAVBAR SUR GALLERY === */

/* On cible spécifiquement la page gallery */
.design-gallery header,
.design-gallery .navbar {
  background: rgba(43, 33, 136, 0.9); /* fond bleu visible */
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.design-gallery .navbar a {
  color: #fff !important;
  font-weight: 500;
}

.design-gallery .navbar a:hover {
  color: #D39F00 !important;
}

/* --- Donne un fond gris clair au-dessus du contenu --- */
.gallery-top-bg {
  background: linear-gradient(180deg, #3a3ad9 0%, #f9f9fb 100%);
  height: 140px; /* hauteur de bande visible derrière la navbar */
  width: 100%;
  position: relative;
  z-index: 0;
}

/* Grille d’images */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-grid img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.gallery-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(43,33,136,0.3);
}

/* Section sombre */
.dark-section {
  background: linear-gradient(135deg, #2B2188, #100c45);
  color: #fff;
}
.dark-section h2 { color: #D39F00; }
.dark-section .subtitle { color: #ddd; }
.dark-section .highlight-box {
  background: rgba(255,255,255,0.08);
  margin-top: 40px;
  padding: 20px;
  border-radius: 12px;
  font-size: 1rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Vidéos */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
  justify-content: center;
}

.video-item video {
  width: 100%;
  height: 220px;
  border-radius: 12px;
  border: none;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  background: #000;
}

/* === LIGHTBOX === */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.lightbox-content {
  max-width: 85%;
  max-height: 85%;
  border-radius: 10px;
  box-shadow: 0 0 25px rgba(255,255,255,0.2);
}
.close {
  position: absolute;
  top: 20px;
  right: 35px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
}
.close:hover { color: #D39F00; }

.lightbox-nav {
  position: absolute;
  width: 100%;
  top: 50%;
  display: flex;
  justify-content: space-between;
  padding: 0 40px;
  color: #fff;
  font-size: 2.5rem;
  user-select: none;
}
.lightbox-nav span {
  cursor: pointer;
  transition: 0.3s;
}
.lightbox-nav span:hover {
  color: #D39F00;
}

/* Responsive */
@media (max-width: 768px) {
  .gallery-section { padding: 70px 15px; }
  .gallery-grid img { height: 200px; }
  .video-item video { height: 200px; }
}
