/* ===========================
   MUPYA TECHNOLOGIES — Design Futuriste & Moderne
   Charte Graphique: Jaune (#FAB518), Noir (#000000), Blanc (#FFFFFF), Bleu (#2B4C75), Orange (#FF6B35)
   Typographies: Ubuntu, Titillium Web, Work Sans
=========================== */

:root {
  /* Couleurs principales */
  --primary-yellow: #FAB518;
  --primary-black: #000000;
  --primary-white: #FFFFFF;
  
  /* Couleurs secondaires */
  --secondary-blue: #2B4C75;
  --secondary-orange: #FF6B35;
  
  /* Variations et accents */
  --yellow-light: #FEEB15;
  --yellow-dark: #E6A500;
  --blue-light: #4A7BB8;
  --blue-dark: #1A2F4A;
  --orange-light: #FF8A5C;
  --orange-dark: #E55A2B;
  
  /* Neutres et backgrounds */
  --bg-dark: #0A0A0A;
  --bg-darker: #050505;
  --bg-light: #F8F9FA;
  --bg-glass: rgba(255, 255, 255, 0.05);
  --bg-glass-dark: rgba(0, 0, 0, 0.3);
  
  /* Ombres et effets */
  --shadow-neon: 0 0 20px rgba(250, 181, 24, 0.3);
  --shadow-neon-blue: 0 0 20px rgba(43, 76, 117, 0.3);
  --shadow-neon-orange: 0 0 20px rgba(255, 107, 53, 0.3);
  --shadow-card: 0 20px 40px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 30px 60px rgba(0, 0, 0, 0.15);
  
  /* Transitions */
  --transition-fast: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ===== RESET & BASE ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Work Sans', sans-serif;
  background: #FFFFFF;
  color: #000000;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ===== TYPOGRAPHIE ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Ubuntu', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

.hero-title {
  font-family: 'Ubuntu', sans-serif;
  font-weight: 700;
}

/* ===== HEADER & NAVIGATION ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition-smooth);
}

.site-header.scrolled {
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.navbar {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(43, 76, 117, 0.9));
  backdrop-filter: blur(20px);
  padding: 0.5rem 0;
  transition: var(--transition-smooth);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.navbar-brand {
  text-decoration: none;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.navbar-brand:hover {
  transform: scale(1.05);
}

.logo {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.brand-name {
  color: var(--primary-white);
  font-family: 'Ubuntu', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.navbar-collapse {
  flex-grow: 0;
  justify-content: flex-end;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

.navbar-nav .nav-link {
  color: var(--primary-white) !important;
  font-weight: 500;
  padding: 0.4rem 0.8rem !important;
  margin: 0 0.15rem;
  border-radius: 25px;
  transition: var(--transition-fast);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  font-size: 0.9rem;
}

.navbar-nav .nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--primary-yellow), transparent);
  transition: var(--transition-smooth);
}

.navbar-nav .nav-link:hover::before {
  left: 100%;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-yellow) !important;
  transform: translateY(-2px);
}

.navbar-nav .nav-link.active {
  color: var(--primary-yellow) !important;
  background: rgba(250, 181, 24, 0.1);
  border: 1px solid rgba(250, 181, 24, 0.3);
}

/* Menu hamburger (toggler) */
.navbar-toggler {
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  padding: 0.4rem 0.6rem;
  background: transparent;
  transition: var(--transition-fast);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
  outline: none;
}

.navbar-toggler:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.1);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  width: 1.5em;
  height: 1.5em;
}

.btn-cta {
  background: linear-gradient(135deg, var(--primary-yellow), var(--yellow-light));
  color: var(--primary-black);
  font-weight: 700;
  border: none;
  border-radius: 50px;
  padding: 0.5rem 1rem;
  text-decoration: none;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-neon);
  position: relative;
  overflow: hidden;
  font-size: 0.85rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: var(--transition-smooth);
}

.btn-cta:hover::before {
  left: 100%;
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(250, 181, 24, 0.4);
  color: var(--primary-black);
}

/* ===== HERO SECTION ===== */
.hero-section {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, var(--bg-darker), var(--bg-dark), var(--secondary-blue));
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(250, 181, 24, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(43, 76, 117, 0.1) 0%, transparent 50%);
  z-index: 2;
}

/* Éléments flottants décoratifs */
.floating-elements {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.floating-element {
  position: absolute;
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, rgba(250, 181, 24, 0.1), rgba(43, 76, 117, 0.1));
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.floating-element:nth-child(2) {
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.floating-element:nth-child(3) {
  bottom: 30%;
  left: 20%;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 8rem 0 4rem;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--primary-white);
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary-yellow), var(--yellow-light), var(--secondary-orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  position: relative;
}

.hero-sub {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-yellow), var(--yellow-light));
  color: var(--primary-black);
  border: none;
  border-radius: 50px;
  font-weight: 700;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-neon);
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 25px 50px rgba(250, 181, 24, 0.4);
  color: var(--primary-black);
}

.btn-outline {
  background: transparent;
  color: var(--primary-white);
  border: 2px solid var(--primary-white);
  border-radius: 50px;
  font-weight: 600;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  transition: var(--transition-fast);
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.btn-outline::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--primary-white);
  transition: var(--transition-smooth);
  z-index: -1;
}

.btn-outline:hover::before {
  left: 0;
}

.btn-outline:hover {
  color: var(--primary-black);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(255, 255, 255, 0.2);
}

/* Glass Card */
.glass-card {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

.glass-card:hover {
  transform: none;
  box-shadow: var(--shadow-card);
}

.glass-card-body h5,
.glass-card-body h2,
.glass-card-body h2.h5 {
  color: var(--primary-white) !important;
  margin-bottom: 0.5rem;
}

.glass-card-body p,
.glass-card-body .small {
  color: rgba(255, 255, 255, 0.9) !important;
  margin: 0;
}

.glass-card-body {
  color: var(--primary-white);
}

/* Hero Wave */
.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 2;
}

/* ===== SECTIONS GÉNÉRALES ===== */
.section-pad {
  padding: 6rem 0;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  color: var(--primary-black);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-yellow), var(--secondary-orange));
  border-radius: 2px;
}

.bg-contrast {
  background: linear-gradient(135deg, var(--bg-light), #f0f2f5);
}

/* ===== ABOUT SECTION ===== */
.about-art {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.about-img {
  width: 100%;
  height: auto;
}

.about-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(250, 181, 24, 0.1), rgba(43, 76, 117, 0.1));
  opacity: 0;
  transition: var(--transition-smooth);
}

.about-art:hover .about-overlay {
  opacity: 1;
}

/* Badge flottant */
.floating-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, var(--primary-yellow), var(--yellow-light));
  color: var(--primary-black);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-neon);
}

@keyframes badgeFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-5px); }
}

.features-list {
  list-style: none;
  padding: 0;
}

.features-list li {
  padding: 0.75rem 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--primary-black);
  font-size: 1.1rem;
}

.neon-icon {
  color: var(--primary-yellow);
  font-size: 1.3rem;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* ===== SERVICES SECTION ===== */
.service-card {
  background: var(--primary-white);
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  transition: var(--transition-smooth);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-yellow), var(--secondary-orange));
  transform: scaleX(0);
  transition: var(--transition-smooth);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-15px);
  box-shadow: var(--shadow-hover);
}

.icon-wrap {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(250, 181, 24, 0.1), rgba(43, 76, 117, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: var(--transition-smooth);
}

.service-card:hover .icon-wrap {
  background: linear-gradient(135deg, rgba(250, 181, 24, 0.2), rgba(43, 76, 117, 0.2));
  transform: scale(1.1);
}

.icon-svg {
  width: 40px;
  height: 40px;
  color: var(--secondary-blue);
  font-size: 2rem;
}

.service-card h5 {
  color: var(--primary-black);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.service-card p {
  color: #666;
  line-height: 1.6;
}

/* Badges des services */
.service-features {
  margin-top: 1rem;
}

.service-features .badge {
  font-size: 0.75rem;
  padding: 0.4rem 0.6rem;
  border-radius: 15px;
  transition: var(--transition-fast);
}

.service-features .badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* ===== WHY US SECTION ===== */
.stat-card {
  background: var(--primary-white);
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(250, 181, 24, 0.05), rgba(43, 76, 117, 0.05));
  opacity: 0;
  transition: var(--transition-smooth);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.stat-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-yellow), var(--yellow-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: var(--primary-black);
}

.stat-num {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-yellow);
  margin-bottom: 0.5rem;
  font-family: 'Titillium Web', sans-serif;
}

.stat-text {
  color: var(--primary-black);
  font-weight: 600;
  font-size: 1.1rem;
}

/* Cartes de valeurs */
.value-card {
  background: var(--primary-white);
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.value-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--secondary-blue), var(--blue-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.3rem;
  color: var(--primary-white);
}

.value-card h6 {
  color: var(--primary-black);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.value-card p {
  color: #666;
  margin: 0;
  font-size: 0.9rem;
}

/* Cartes de détails "Pourquoi nous" */
.why-detail-card {
  background: var(--primary-white);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
  border: 1px solid rgba(0, 0, 0, 0.05);
  height: 100%;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.why-detail-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.why-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-yellow), var(--yellow-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-black);
  flex-shrink: 0;
}

.why-content h5 {
  color: var(--primary-black);
  margin-bottom: 1rem;
  font-weight: 600;
}

.why-content p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.why-content h6 {
  color: var(--secondary-blue);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.why-content ul {
  color: #666;
  padding-left: 1.2rem;
}

.why-content li {
  margin-bottom: 0.3rem;
}

/* ===== RÉALISATIONS SECTION ===== */
.realisations-controls {
  padding: 0 1rem;
}

.realisations-indicator {
  font-family: 'Titillium Web', sans-serif;
  font-weight: 600;
  color: var(--secondary-blue);
  font-size: 1.1rem;
}

.realisations-nav .btn {
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.realisations-nav .btn:hover {
  background: var(--primary-yellow);
  border-color: var(--primary-yellow);
  color: var(--primary-black);
  transform: scale(1.1);
}

.realisations-nav .btn.disabled,
.realisations-nav .btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: #e9ecef;
  border-color: #dee2e6;
  color: #6c757d;
}

.realisations-nav .btn.disabled:hover,
.realisations-nav .btn:disabled:hover {
  transform: none;
  background: #e9ecef;
  border-color: #dee2e6;
  color: #6c757d;
}

.realisations-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.realisations-container {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  gap: 0;
}

.realisation-card {
  background: var(--primary-white);
  border-radius: 25px;
  box-shadow: var(--shadow-card);
  padding: 2.5rem;
  margin: 0;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition-smooth);
  min-width: 100%;
  flex-shrink: 0;
}

.realisation-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.realisation-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid rgba(250, 181, 24, 0.1);
}

.realisation-logo {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--secondary-blue), var(--blue-light));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--primary-white);
  flex-shrink: 0;
}

.realisation-info h3 {
  color: var(--primary-black);
  margin-bottom: 0.5rem;
  font-size: 1.8rem;
}

.realisation-subtitle {
  color: var(--secondary-blue);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.realisation-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.realisation-tags .badge {
  font-size: 0.8rem;
  padding: 0.5rem 0.8rem;
  border-radius: 20px;
}

.realisation-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.realisation-description h5 {
  color: var(--primary-black);
  margin-bottom: 1rem;
  font-weight: 600;
}

.realisation-description p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.realisation-description h6 {
  color: var(--secondary-blue);
  font-weight: 600;
  margin-bottom: 1rem;
}

.realisation-description ul {
  color: #666;
  padding-left: 1.2rem;
}

.realisation-description li {
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.realisation-gallery h6 {
  color: var(--primary-black);
  margin-bottom: 1rem;
  font-weight: 600;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.gallery-item img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.8);
  color: var(--primary-white);
  padding: 0.5rem;
  font-size: 0.8rem;
  text-align: center;
}

.realisation-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 2px solid rgba(250, 181, 24, 0.1);
}

.realisation-stats {
  display: flex;
  gap: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-yellow);
  font-family: 'Titillium Web', sans-serif;
}

.stat-label {
  font-size: 0.9rem;
  color: #666;
  font-weight: 500;
}

.realisation-cta .btn {
  padding: 0.75rem 1.5rem;
  font-weight: 600;
}

/* Responsive pour les réalisations */
@media (max-width: 991px) {
  .realisation-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .realisation-header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .realisation-footer {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  
  .realisation-stats {
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .realisation-card {
    padding: 1.5rem;
    min-width: auto;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .realisation-stats {
    flex-direction: column;
    gap: 1rem;
  }
}

/* ===== CONTACT SECTION ===== */
.contact-list {
  list-style: none;
  padding: 0;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  color: var(--primary-black);
  font-size: 1.1rem;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, rgba(250, 181, 24, 0.1), rgba(43, 76, 117, 0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-form {
  background: var(--primary-white);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-control {
  border: 2px solid #e9ecef;
  border-radius: 15px;
  padding: 1rem;
  transition: var(--transition-fast);
  font-size: 1rem;
}

.form-control:focus {
  border-color: var(--primary-yellow);
  box-shadow: 0 0 0 0.2rem rgba(250, 181, 24, 0.25);
  outline: none;
}

.form-control.is-invalid {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.form-label {
  font-weight: 600;
  color: var(--primary-black);
  margin-bottom: 0.5rem;
}

/* ===== FOOTER ===== */
.site-footer {
  background: linear-gradient(135deg, var(--primary-black), var(--bg-darker));
  color: var(--primary-white);
  padding: 2rem 0 1rem;
}

.logo-sm {
  height: 40px;
  width: auto;
  /* Filtre supprimé pour garder la couleur jaune originale du logo */
}

.site-footer .fw-bold {
  color: var(--primary-white);
  font-family: 'Ubuntu', sans-serif;
  font-weight: 700;
}

.site-footer .text-muted {
  color: rgba(255, 255, 255, 0.7) !important;
}

.site-footer h6 {
  color: var(--primary-white);
  font-weight: 600;
  margin-bottom: 1rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
}

.site-footer ul li {
  margin-bottom: 0.5rem;
}

.site-footer ul li a {
  transition: var(--transition-fast);
}

.site-footer ul li a:hover {
  color: var(--primary-yellow) !important;
}

.social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--bg-glass);
  color: var(--primary-white);
  margin-left: 0.5rem;
  text-decoration: none;
  transition: var(--transition-fast);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social:hover {
  background: var(--primary-yellow);
  color: var(--primary-black);
  transform: translateY(-3px);
  box-shadow: var(--shadow-neon);
}

/* ===== SCROLL TOP ===== */
.scroll-top {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-yellow), var(--yellow-light));
  color: var(--primary-black);
  display: none;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.5rem;
  z-index: 999;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-neon);
}

.scroll-top.show {
  display: flex;
}

.scroll-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(250, 181, 24, 0.4);
}

/* ===== ANIMATIONS ET EFFETS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
  animation-fill-mode: both;
}

/* Prévention des animations répétées */
.has-animated {
  animation-play-state: paused;
}

.animate-slide-in-left {
  animation: slideInLeft 0.8s ease-out forwards;
}

.animate-slide-in-right {
  animation: slideInRight 0.8s ease-out forwards;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-sub {
    font-size: 1.1rem;
  }
  
  .glass-card {
    display: none;
  }
  
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }
  
  .btn-primary,
  .btn-outline {
    text-align: center;
  }
  
  .navbar-nav {
    text-align: center;
    margin-top: 1rem;
    gap: 0.25rem;
  }
  
  .navbar-nav .nav-link {
    font-size: 0.85rem;
    padding: 0.3rem 0.6rem !important;
  }
  
  .floating-elements {
    display: none;
  }
}

@media (max-width: 767px) {
  .section-pad {
    padding: 4rem 0;
  }
  
  .hero-content {
    padding: 6rem 0 3rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
  
  .stat-card {
    margin-bottom: 2rem;
  }
  
  .value-card {
    margin-bottom: 1rem;
  }
  
  .contact-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

/* ===== RESPONSIVE ANDROID & PETITS ÉCRANS ===== */
@media (max-width: 480px) {
  /* Header & Navigation */
  .navbar-brand {
    gap: 0.5rem;
  }
  
  .logo {
    height: 28px;
  }
  
  .brand-name {
    font-size: 0.75rem;
    letter-spacing: 0.02em;
  }
  
  .navbar {
    padding: 0.4rem 0;
  }
  
  .navbar-nav .nav-link {
    font-size: 0.8rem;
    padding: 0.4rem 0.5rem !important;
  }
  
  /* Hero Section */
  .hero-content {
    padding: 5rem 0 2rem;
  }
  
  .hero-title {
    font-size: 1.75rem;
    line-height: 1.2;
    margin-bottom: 1rem;
  }
  
  .hero-sub {
    font-size: 1rem;
    line-height: 1.5;
  }
  
  .hero-sub br {
    display: none;
  }
  
  .hero-ctas {
    gap: 0.75rem;
    margin-bottom: 2rem;
  }
  
  .btn-primary,
  .btn-outline {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    width: 100%;
  }
  
  /* Sections */
  .section-pad {
    padding: 3rem 0;
  }
  
  .section-title {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
  }
  
  /* About Section */
  .about-art {
    margin-top: 1.5rem;
  }
  
  .floating-badge {
    top: 10px;
    right: 10px;
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
  }
  
  .features-list li {
    font-size: 1rem;
    padding: 0.5rem 0;
  }
  
  .neon-icon {
    font-size: 1.1rem;
  }
  
  /* Services Section */
  .service-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .icon-wrap {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
  }
  
  .icon-svg {
    font-size: 1.5rem;
  }
  
  .service-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
  }
  
  .service-card p {
    font-size: 0.9rem;
  }
  
  /* Why Us Section */
  .value-card {
    padding: 1.25rem;
    margin-bottom: 1rem;
  }
  
  .value-icon {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
  }
  
  .value-card h6 {
    font-size: 0.95rem;
  }
  
  .value-card p {
    font-size: 0.85rem;
  }
  
  .why-detail-card {
    padding: 1.5rem;
    flex-direction: column;
    gap: 1rem;
  }
  
  .why-icon {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }
  
  .why-content h5 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
  }
  
  .why-content p {
    font-size: 0.9rem;
  }
  
  /* Contact Section */
  .contact-list li {
    font-size: 0.95rem;
    padding: 0.75rem 0;
  }
  
  .contact-icon {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
  
  .contact-form {
    padding: 1.5rem !important;
  }
  
  .form-control {
    padding: 0.875rem;
    font-size: 0.95rem;
  }
  
  .form-label {
    font-size: 0.9rem;
  }
  
  .btn-lg {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    width: 100%;
  }
  
  /* Footer */
  .site-footer {
    padding: 1.5rem 0 1rem;
  }
  
  .site-footer .d-flex {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .site-footer .text-end {
    text-align: center !important;
  }
  
  .logo-sm {
    height: 35px;
  }
  
  /* Scroll Top */
  .scroll-top {
    right: 1rem;
    bottom: 1rem;
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }
  
  /* Container padding */
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* ===== RESPONSIVE TRÈS PETITS ÉCRANS ANDROID ===== */
@media (max-width: 360px) {
  .hero-title {
    font-size: 1.5rem;
  }
  
  .hero-sub {
    font-size: 0.9rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .brand-name {
    font-size: 0.7rem;
  }
  
  .logo {
    height: 24px;
  }
  
  .btn-primary,
  .btn-outline,
  .btn-lg {
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
  }
  
  .service-card,
  .value-card,
  .why-detail-card {
    padding: 1.25rem;
  }
  
  .contact-form {
    padding: 1.25rem !important;
  }
}

/* ===== ORIENTATION PAYSAGE ANDROID ===== */
@media (max-width: 767px) and (orientation: landscape) {
  .hero-section {
    min-height: auto;
    padding: 2rem 0;
  }
  
  .hero-content {
    padding: 4rem 0 2rem;
  }
  
  .section-pad {
    padding: 3rem 0;
  }
}

/* ===== CORRECTIONS SPÉCIFIQUES ANDROID ===== */
@media screen and (max-width: 480px) {
  /* Prévenir le zoom automatique sur les inputs */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea,
  select {
    font-size: 16px !important;
  }
  
  /* Améliorer le touch target */
  .btn,
  .nav-link,
  a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Prévenir le débordement horizontal */
  body {
    overflow-x: hidden;
    width: 100%;
  }
  
  img {
    max-width: 100%;
    height: auto;
  }
  
  /* Améliorer l'espacement des grilles */
  .row {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
  }
  
  .row > * {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  
  /* Correction pour les cartes de services sur petits écrans */
  .col-md-6.col-lg-3 {
    margin-bottom: 1rem;
  }
  
  /* Améliorer l'affichage des listes de contact */
  .contact-list li {
    word-break: break-word;
  }
  
  /* Correction pour le texte du hero */
  .hero-sub span {
    display: inline;
  }
  
  /* Améliorer les boutons CTA dans le header mobile */
  .navbar-nav .btn-cta {
    margin-top: 0.5rem;
    width: 100%;
    text-align: center;
  }
}

/* ===== CORRECTIONS POUR TOUS LES ÉCRANS MOBILES ===== */
@media screen and (max-width: 767px) {
  /* S'assurer que les conteneurs ne débordent pas */
  .container {
    max-width: 100%;
    overflow-x: hidden;
  }
  
  /* Améliorer l'affichage des cartes */
  .service-card,
  .value-card,
  .why-detail-card {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  /* Correction pour les titres longs */
  h1, h2, h3, h4, h5, h6 {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  /* Améliorer l'affichage du footer */
  .site-footer .d-flex {
    flex-wrap: wrap;
  }
}

/* ===== UTILITAIRES ===== */
.text-brand-yellow {
  color: var(--primary-yellow) !important;
}

.text-brand-blue {
  color: var(--secondary-blue) !important;
}

.text-brand-orange {
  color: var(--secondary-orange) !important;
}

.bg-brand-yellow {
  background: var(--primary-yellow) !important;
}

.bg-brand-blue {
  background: var(--secondary-blue) !important;
}

.bg-brand-orange {
  background: var(--secondary-orange) !important;
}

/* ===== BOUTONS SUPPLÉMENTAIRES ===== */
.btn-outline-primary {
  background: transparent;
  color: var(--secondary-blue);
  border: 2px solid var(--secondary-blue);
  border-radius: 50px;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  display: inline-block;
  transition: var(--transition-fast);
}

.btn-outline-primary:hover {
  background: var(--secondary-blue);
  color: var(--primary-white);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(43, 76, 117, 0.3);
}

/* ===== EFFETS DE SURVOL AVANCÉS ===== */
.service-card,
.stat-card,
.value-card {
  cursor: pointer;
}

.service-card:hover .icon-svg,
.stat-card:hover .stat-icon,
.value-card:hover .value-icon {
  animation: bounce 0.6s ease-in-out;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

/* ===== CARTES DE DÉTAILS "POURQUOI NOUS" ===== */
.why-detail-card {
  background: var(--primary-white);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
  border: 1px solid rgba(0, 0, 0, 0.05);
  height: 100%;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.why-detail-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.why-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-yellow), var(--yellow-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-black);
  flex-shrink: 0;
}

.why-content h5 {
  color: var(--primary-black);
  margin-bottom: 1rem;
  font-weight: 600;
}

.why-content p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.why-content h6 {
  color: var(--secondary-blue);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.why-content ul {
  color: #666;
  padding-left: 1.2rem;
}

.why-content li {
  margin-bottom: 0.3rem;
}

/* ===== RÉALISATIONS SECTION ===== */
.realisations-container {
  max-width: 100%;
  overflow-x: auto;
  padding: 1rem 0;
}

.realisation-card {
  background: var(--primary-white);
  border-radius: 25px;
  box-shadow: var(--shadow-card);
  padding: 2.5rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition-smooth);
  min-width: 800px;
}

.realisation-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.realisation-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid rgba(250, 181, 24, 0.1);
}

.realisation-logo {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--secondary-blue), var(--blue-light));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--primary-white);
  flex-shrink: 0;
}

.realisation-info h3 {
  color: var(--primary-black);
  margin-bottom: 0.5rem;
  font-size: 1.8rem;
}

.realisation-subtitle {
  color: var(--secondary-blue);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.realisation-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.realisation-tags .badge {
  font-size: 0.8rem;
  padding: 0.5rem 0.8rem;
  border-radius: 20px;
}

.realisation-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.realisation-description h5 {
  color: var(--primary-black);
  margin-bottom: 1rem;
  font-weight: 600;
}

.realisation-description p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.realisation-description h6 {
  color: var(--secondary-blue);
  font-weight: 600;
  margin-bottom: 1rem;
}

.realisation-description ul {
  color: #666;
  padding-left: 1.2rem;
}

.realisation-description li {
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.realisation-gallery h6 {
  color: var(--primary-black);
  margin-bottom: 1rem;
  font-weight: 600;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.gallery-item img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.8);
  color: var(--primary-white);
  padding: 0.5rem;
  font-size: 0.8rem;
  text-align: center;
}

.realisation-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 2px solid rgba(250, 181, 24, 0.1);
}

.realisation-stats {
  display: flex;
  gap: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-yellow);
  font-family: 'Titillium Web', sans-serif;
}

.stat-label {
  font-size: 0.9rem;
  color: #666;
  font-weight: 500;
}

.realisation-cta .btn {
  padding: 0.75rem 1.5rem;
  font-weight: 600;
}

/* Responsive pour les réalisations */
@media (max-width: 991px) {
  .realisation-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .realisation-header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .realisation-footer {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  
  .realisation-stats {
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .realisation-card {
    padding: 1.5rem;
    min-width: auto;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .realisation-stats {
    flex-direction: column;
    gap: 1rem;
  }
}
