/* **** RESET CSS **** */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none !important;
  font-family: 'Roboto', sans-serif;
}

/* **** VARIABLES CSS **** */
:root {
  --main-color: #e30613;
  --secondary-color: #1C1C1C;
  --neutral-light: #FAFAFA;
  --neutral-gray: #BDBDBD;
  --dark-red: #B71C1C;
  --white: #ffffff;
  --light-gray: #f8f9fa;
  --medium-gray: #e9ecef;
  --text-dark: #333333;
}

/* **** PROGRESS BAR **** */
#progress {
  background-color: #061429;
  position: fixed;
  bottom: 20px;
  right: 20px;
  height: 50px;
  width: 50px;
  display: none;
  place-items: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 1000;
}

#progressValue {
  display: block;
  height: calc(100% - 15px);
  width: calc(100% - 15px);
  background-color: var(--main-color);
  display: grid;
  place-items: center;
  font-size: 20px;
  color: white;
  font-weight: bold;
}


/* body {
    padding-top: 70px; 
} */

.navbar {
  background-color: var(--neutral-light);
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.logo img {
  max-width: 100px;
  height: auto;
}

.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.nav-links a {
  color: var(--secondary-color);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover, .active {
  color: var(--main-color) !important;
}

.menu-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-burger .line {
  width: 25px;
  height: 3px;
  background-color: var(--main-color);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* **** RESPONSIVE DESIGN **** */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 250px;
    background-color: var(--secondary-color);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    transition: right 0.3s ease;
  }

  .nav-links a {
    color: var(--neutral-light);
    font-size: 1.2rem;
  }

  .menu-burger {
    display: flex;
  }

  .menu-burger.active .line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-burger.active .line:nth-child(2) {
    opacity: 0;
  }

  .menu-burger.active .line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .nav-links.active {
    right: 0;
  }
}

/* Reset CSS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  overflow-x: hidden; /* Empêche le débordement horizontal */
}

html {
  overflow-y: scroll; /* Force la barre de défilement verticale à toujours être visible */
}

/* _____________________________________baniere officiel_____________________________________ */

/* ===============================
   🌟 Thème Principal 8arprod
================================= */
:root {
  --primary-red: #c21807;
  --deep-red: #6b0000;
  --accent-gold: #ffcf40;
  --white: #ffffff;
  --dark: #111111;
}

/* ===============================
   🎬 SECTION BANNIÈRE
================================= */
.hero-banner.modern-banner {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 100px 20px;
  background: radial-gradient(circle at 20% 30%, #ff4444 0%, #8b0000 70%, #1a0000 100%);
  color: var(--white);
  isolation: isolate;
}

/* === Effets de lumière et texture === */
.hero-banner.modern-banner::before,
.hero-banner.modern-banner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  background: radial-gradient(
    circle at 40% 60%,
    rgba(255, 255, 255, 0.08),
    transparent 70%
  );
  animation: glowShift 14s ease-in-out infinite alternate;
}

.hero-banner.modern-banner::after {
  background: radial-gradient(
    circle at 70% 30%,
    rgba(255, 100, 100, 0.06),
    transparent 70%
  );
  mix-blend-mode: overlay;
  animation-delay: 6s;
}

/* === Particules lumineuses flottantes === */
.floating-particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.floating-particles span {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  animation: floatParticle 10s ease-in-out infinite;
}

.floating-particles span:nth-child(even) {
  width: 2px;
  height: 2px;
  opacity: 0.7;
  animation-duration: 12s;
}

/* ===============================
   🧱 STRUCTURE GÉNÉRALE
================================= */
.hero-container.banner-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
  max-width: 1300px;
  width: 100%;
  position: relative;
  z-index: 2;
}

/* ===============================
   ✏️ PARTIE TEXTE
================================= */
.hero-content.banner-text-section {
  color: var(--white);
  position: relative;
}

.hero-title.main-title {
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 25px;
  letter-spacing: 1px;
}

.line.title-line {
  display: block;
  animation: slideLeft 1s ease forwards;
  opacity: 0;
}

.highlight.title-highlight {
  background: linear-gradient(90deg, #fff, #ffdf80, #fff);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textShine 3s linear infinite;
}

.hero-subtitle.subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin-bottom: 40px;
  animation: fadeIn 1.5s ease forwards;
  opacity: 0;
}

/* === Boutons === */
.hero-buttons.action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  animation: fadeIn 2s ease forwards;
  opacity: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  border: none;
}

.btn-primary {
  background: var(--white);
  color: var(--primary-red);
}

.btn-primary:hover {
  background: var(--accent-gold);
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* ===============================
   🖼️ PARTIE IMAGE
================================= */
.hero-image.banner-image-section {
  position: relative;
}

.image-frame.image-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-image {
  width: 85%;
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  animation: imageReveal 1.5s ease forwards;
  opacity: 0;
  transition: transform 0.5s ease;
}

.main-image:hover {
  transform: scale(1.03);
}

/* === Forme décorative derrière l'image === */
.image-shape {
  position: absolute;
  width: 90%;
  height: 90%;
  background: linear-gradient(145deg, rgba(255,255,255,0.1), transparent 70%);
  border-radius: 25px;
  transform: rotate(5deg);
  animation: rotateSlow 30s linear infinite;
  z-index: 0;
}

/* === Badge flottant === */
.badge.floating-badge {
  position: absolute;
  top: 25px;
  left: 25px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-red);
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: floatBadge 3s ease-in-out infinite;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 3;
}

/* ===============================
   🎨 SECTION ADOBE
================================= */
.adobe-expertise.adobe-section {
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
}

.adobe-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.adobe-container h4 {
  color: var(--accent-gold);
  font-size: 1.2rem;
  margin-bottom: 25px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.adobe-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.adobe-logo {
  transition: all 0.3s ease;
}

.adobe-logo:hover {
  transform: translateY(-5px) scale(1.1);
}

.adobe-logo img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  transition: all 0.3s ease;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.adobe-logo:hover img {
  filter: drop-shadow(0 5px 15px rgba(227, 6, 19, 0.4));
}

/* ===============================
   💫 ÉLÉMENTS DE FOND
================================= */
.background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  overflow: hidden;
}

.circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  animation: float 8s ease-in-out infinite;
}

.circle-1 {
  width: 200px;
  height: 200px;
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}

.circle-2 {
  width: 150px;
  height: 150px;
  bottom: 20%;
  right: 10%;
  animation-delay: 2s;
}

.circle-3 {
  width: 100px;
  height: 100px;
  top: 60%;
  left: 80%;
  animation-delay: 4s;
}

/* ===============================
   💡 ANIMATIONS
================================= */
@keyframes glowShift {
  0% {
    background: radial-gradient(
      circle at 30% 70%,
      rgba(255, 255, 255, 0.08),
      transparent 70%
    );
  }
  100% {
    background: radial-gradient(
      circle at 70% 30%,
      rgba(255, 255, 255, 0.08),
      transparent 70%
    );
  }
}

@keyframes floatParticle {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  50% {
    transform: translateY(-20px);
    opacity: 1;
  }
}

@keyframes slideLeft {
  from {
    transform: translateX(40px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes textShine {
  0% { 
    background-position: 0% center; 
  }
  100% { 
    background-position: 200% center; 
  }
}

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

@keyframes rotateSlow {
  from { 
    transform: rotate(5deg); 
  }
  to { 
    transform: rotate(365deg); 
  }
}

@keyframes floatBadge {
  0%, 100% { 
    transform: translateY(0); 
  }
  50% { 
    transform: translateY(-8px); 
  }
}

@keyframes float {
  0%, 100% { 
    transform: translateY(0px) scale(1); 
  }
  50% { 
    transform: translateY(-20px) scale(1.05); 
  }
}

/* ===============================
   📱 RESPONSIVE
================================= */
@media (max-width: 1024px) {
  .hero-container.banner-wrapper {
    gap: 60px;
  }
  .hero-title.main-title {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .hero-container.banner-wrapper {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }

  .hero-image.banner-image-section {
    order: -1;
  }

  .hero-title.main-title {
    font-size: 2.5rem;
  }

  .hero-buttons.action-buttons {
    justify-content: center;
  }

  .badge.floating-badge {
    left: 50%;
    transform: translateX(-50%);
  }

  .adobe-logos {
    gap: 30px;
  }
  
  .adobe-logo img {
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 480px) {
  .hero-title.main-title {
    font-size: 2rem;
  }
  .hero-subtitle.subtitle {
    font-size: 1rem;
  }
  
  .adobe-logos {
    gap: 25px;
  }
  
  .adobe-logo img {
    width: 40px;
    height: 40px;
  }
}
/* _____________________________________baniere officiel_____________________________________ */

/* SECTION SERVICES REFONDUE */
.services {
  padding: 100px 20px;
  background: #0a0a0a;
  color: white;
  position: relative;
}

.services-container {
  max-width: 1300px;
  margin: 60px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 30px;
}

/* Cartes de services */
.service-card {
  background: #1a1a1a;
  border-radius: 20px;
  padding: 40px 30px;
  position: relative;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid #2a2a2a;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #e30613, #ff4757);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 
    0 20px 50px rgba(227, 6, 19, 0.2),
    0 0 0 1px rgba(227, 6, 19, 0.3);
  border-color: rgba(227, 6, 19, 0.5);
}

/* Badges */
.service-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #e30613;
  color: white;
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}

/* Icônes de services */
.service-icon {
  position: relative;
  width: 80px;
  height: 80px;
  margin-bottom: 25px;
}

.icon-wrapper {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e30613, #ff4757);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  transition: all 0.4s ease;
  position: relative;
  z-index: 2;
}

.icon-hover {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 60px;
  height: 60px;
  background: white;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #e30613;
  transition: all 0.4s ease;
  z-index: 1;
}

.service-card:hover .icon-wrapper {
  transform: scale(0.8);
  opacity: 0;
}

.service-card:hover .icon-hover {
  transform: translate(-50%, -50%) scale(1);
}

/* Contenu des services */
.service-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: white;
}

.service-description {
  color: #e0e0e0;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  color: #e0e0e0;
  font-size: 0.9rem;
}

.service-features i {
  color: #e30613;
  font-size: 1rem;
}

/* Pied de carte */
.service-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid #333;
  margin-top: auto;
}

.service-price {
  color: #e30613;
  font-weight: 700;
  font-size: 1.1rem;
}

.service-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: transparent;
  color: #e30613;
  border: 2px solid #e30613;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
  text-decoration: none;
}

.service-cta:hover {
  background: #e30613;
  color: white;
  transform: translateX(5px);
}


/* Bannière de services */
.services-banner {
  margin-top: 80px;
  padding: 60px 40px;
  background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
  border-radius: 20px;
  border: 1px solid #333;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.services-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #e30613, #ff4757);
}

.banner-content h3 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: white;
}

.banner-content p {
  font-size: 1.1rem;
  color: #e0e0e0;
  margin-bottom: 30px;
  opacity: 0.9;
}

.banner-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background: #e30613;
  color: white;
}

.btn-primary:hover {
  background: #ff4757;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(227, 6, 19, 0.4);
}

.btn-secondary {
  background: transparent;
  color: #e0e0e0;
  border-color: #333;
}

.btn-secondary:hover {
  border-color: #e30613;
  color: white;
  transform: translateY(-2px);
}

/* Modal de service */
.service-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-modal.active {
  display: block;
  opacity: 1;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
}

.modal-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 90%;
  max-width: 1000px;
  max-height: 90vh;
  background: #1a1a1a;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  border: 1px solid #333;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-modal.active .modal-container {
  transform: translate(-50%, -50%) scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(88, 241, 0, 0.1);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.3s ease, opacity 0.3s ease;
  backdrop-filter: blur(10px);
}

.modal-close:hover {
  background: #e30613;
  transform: rotate(90deg);
}

.modal-header {
  padding: 40px 40px 30px;
  border-bottom: 1px solid #333;
  display: flex;
  align-items: center;
  gap: 20px;
}

.service-modal-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #e30613, #ff4757);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
}

.modal-title-content h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: white;
}

.modal-subtitle {
  color: #e0e0e0;
  opacity: 0.8;
}

.modal-content {
  padding: 30px 40px;
  max-height: 60vh;
  overflow-y: auto;
}

.detail-section {
  margin-bottom: 30px;
}

.detail-section h4 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: white;
  border-left: 4px solid #e30613;
  padding-left: 15px;
}

.detail-section p {
  color: #e0e0e0;
  line-height: 1.6;
}

.included-features {
  display: grid;
  gap: 12px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #e0e0e0;
}

.feature-item i {
  color: #e30613;
  font-size: 1.1rem;
}

.delivery-info {
  display: flex;
  gap: 30px;
}

.delivery-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #e0e0e0;
}

.delivery-item i {
  color: #e30613;
}

.pricing-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.pricing-option {
  background: #2a2a2a;
  padding: 25px 20px;
  border-radius: 15px;
  border: 1px solid #333;
  position: relative;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.pricing-option:hover {
  border-color: #e30613;
  transform: translateY(-5px);
}

.pricing-option.recommended {
  border-color: #e30613;
  background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
}

.recommended-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #e30613;
  color: white;
  padding: 5px 15px;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.pricing-option h5 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: white;
  text-align: center;
}

.pricing-option .price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #e30613;
  text-align: center;
  margin-bottom: 15px;
}

.pricing-option ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-option li {
  color: #e0e0e0;
  font-size: 0.9rem;
  margin-bottom: 8px;
  text-align: center;
}

.modal-footer {
  padding: 30px 40px;
  border-top: 1px solid #333;
  display: flex;
  gap: 15px;
  justify-content: flex-end;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 25px;
  background: transparent;
  color: #e0e0e0;
  border: 2px solid #333;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.btn-outline:hover {
  border-color: #e30613;
  color: white;
}

/* Animations */
.service-card {
  opacity: 0;
  transform: translateY(50px);
}

.service-card.animate {
  animation: serviceEntrance 0.8s ease forwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes serviceEntrance {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .services-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .services {
    padding: 80px 20px;
  }
  
  .services-container {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 50px auto 0;
  }
  
  .services-filters {
    flex-direction: column;
    align-items: center;
  }
  
  .filter-btn {
    width: 200px;
  }
  
  .banner-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .modal-header {
    padding: 30px 25px 20px;
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .modal-content {
    padding: 20px 25px;
  }
  
  .pricing-options {
    grid-template-columns: 1fr;
  }
  
  .delivery-info {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .services {
    padding: 60px 15px;
  }
  
  .service-card {
    padding: 30px 25px;
  }
  
  .services-banner {
    padding: 40px 25px;
  }
  
  .banner-content h3 {
    font-size: 1.8rem;
  }
  
  .modal-container {
    width: 95%;
  }
  
  .modal-footer {
    flex-direction: column;
  }
}

/* **** RÉALISATIONS **** */
.realisations {
  padding: 80px 20px;
  background-color: var(--neutral-light);
}

.realisations-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.realisation-card {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.realisation-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.realisation-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.realisation-content {
  padding: 20px;
  text-align: center;
}

.realisation-content h4 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.realisation-content p {
  font-size: 1rem;
  color: var(--secondary-color);
  line-height: 1.6;
  margin-bottom: 20px;
}

.realisation-button {
  background-color: var(--main-color);
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.realisation-button:hover {
  background-color: var(--dark-red);
}

/* **** MODALS **** */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  max-width: 600px;
  width: 90%;
  position: relative;
  animation: fadeIn 0.3s ease;
}

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

.close-modal {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--secondary-color);
}

.close-modal:hover {
  color: var(--main-color);
}

.close-button {
  background-color: var(--main-color);
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.close-button:hover {
  background-color: var(--dark-red);
}

.modal-content h4 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.modal-content p {
  font-size: 1rem;
  color: var(--secondary-color);
  line-height: 1.6;
  margin-bottom: 20px;
}

.modal-content ul {
  list-style: disc;
  padding-left: 20px;
}

.modal-content ul li {
  font-size: 1rem;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

/* SECTION ÉQUIPE REFONDUE */
.team {
  padding: 100px 20px;
  background: #0a0a0a;
  color: white;
  position: relative;
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #e0e0e0;
  margin-top: 10px;
  font-weight: 300;
  opacity: 0.8;
}

.team-container {
  max-width: 1200px;
  margin: 60px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* Cartes des membres */
.team-member {
  perspective: 1000px;
}

.member-card {
  background: #1a1a1a;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid #2a2a2a;
  position: relative;
  height: 100%;
}

.member-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 
    0 25px 60px rgba(227, 6, 19, 0.25),
    0 0 0 1px rgba(227, 6, 19, 0.4);
}

.member-image {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.member-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(227, 6, 19, 0.9) 0%,
    rgba(227, 6, 19, 0.7) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s ease;
}

.member-card:hover .member-overlay {
  opacity: 1;
}

.social-links {
  display: flex;
  gap: 15px;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.member-card:hover .social-links {
  transform: translateY(0);
}

.social-links a {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e30613;
  text-decoration: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
  font-size: 1.2rem;
}

.social-links a:hover {
  background: white;
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.member-info {
  padding: 30px 25px;
}

.member-name {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: white;
  position: relative;
}

.member-name::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 40px;
  height: 3px;
  background: #e30613;
  border-radius: 2px;
}

.member-position {
  color: #e30613;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.member-description {
  color: #e0e0e0;
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.member-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-tag {
  background: rgba(227, 6, 19, 0.1);
  color: #e30613;
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(227, 6, 19, 0.3);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.skill-tag:hover {
  background: #e30613;
  color: white;
  transform: translateY(-2px);
}

/* Statistiques de l'équipe */
.team-stats {
  margin-top: 80px;
  padding: 60px 20px;
  background: linear-gradient(135deg, rgba(227, 6, 19, 0.05) 0%, transparent 50%);
  border-top: 1px solid #2a2a2a;
  border-bottom: 1px solid #2a2a2a;
}

.stats-container {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  text-align: center;
}

.stat-item {
  padding: 20px;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: #e30613;
  margin-bottom: 10px;
  font-family: 'Arial', sans-serif;
}

.stat-label {
  color: #e0e0e0;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Animations */
.team-member {
  opacity: 0;
  transform: translateY(50px);
}

.team-member.animate {
  animation: memberEntrance 0.8s ease forwards;
}

.team-member:nth-child(1) { animation-delay: 0.1s; }
.team-member:nth-child(2) { animation-delay: 0.2s; }
.team-member:nth-child(3) { animation-delay: 0.3s; }
.team-member:nth-child(4) { animation-delay: 0.4s; }

@keyframes memberEntrance {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Effet de particules sur les cartes */
.member-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #e30613, transparent, #e30613);
  border-radius: 22px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.member-card:hover::before {
  opacity: 1;
  animation: cardGlow 2s ease-in-out infinite;
}

@keyframes cardGlow {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 0.8;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .team-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .team {
    padding: 80px 20px;
  }
  
  .team-container {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 50px auto 0;
  }
  
  .stats-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .stat-number {
    font-size: 2.8rem;
  }
}

@media (max-width: 480px) {
  .team {
    padding: 60px 15px;
  }
  
  .member-info {
    padding: 25px 20px;
  }
  
  .member-name {
    font-size: 1.3rem;
  }
  
  .stats-container {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .social-links a {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
}

/* Animation des statistiques */
@keyframes countUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.stat-number.animated {
  animation: countUp 0.6s ease forwards;
}


/* SECTION TÉMOIGNAGES REFONDUE */
.testimonials {
  padding: 100px 20px;
  background: #0a0a0a;
  color: white;
  position: relative;
}

.testimonials-container {
  max-width: 1200px;
  margin: 60px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

/* Cartes de témoignages */
.testimonial-card {
  background: #1a1a1a;
  border-radius: 20px;
  padding: 40px 30px;
  position: relative;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid #2a2a2a;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 400px;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 
    0 20px 50px rgba(227, 6, 19, 0.2),
    0 0 0 1px rgba(227, 6, 19, 0.3);
  border-color: rgba(227, 6, 19, 0.5);
}

.testimonial-content {
  position: relative;
  z-index: 2;
}

.quote-icon {
  position: absolute;
  top: -20px;
  left: -10px;
  width: 60px;
  height: 60px;
  background: #e30613;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  box-shadow: 0 5px 15px rgba(227, 6, 19, 0.4);
}

.testimonial-text {
  margin-bottom: 25px;
}

.testimonial-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #e0e0e0;
  font-style: italic;
  position: relative;
  padding-left: 20px;
}

.testimonial-text p::before {
  content: '"';
  position: absolute;
  left: -10px;
  top: -10px;
  font-size: 3rem;
  color: #e30613;
  opacity: 0.3;
  font-family: serif;
}

.testimonial-rating {
  display: flex;
  gap: 5px;
  margin-bottom: 30px;
}

.testimonial-rating i {
  color: #ffd700;
  font-size: 1.1rem;
}

/* Informations client */
.client-info {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-top: 25px;
  border-top: 1px solid #333;
}

.client-avatar {
  position: relative;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #e30613;
  flex-shrink: 0;
}

.client-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.testimonial-card:hover .client-avatar img {
  transform: scale(1.1);
}

.avatar-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e30613, #ff4757);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

.client-details {
  flex: 1;
}

.client-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: white;
}

.client-role {
  color: #e30613;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 3px;
}

.client-company {
  color: #e0e0e0;
  font-size: 0.85rem;
  opacity: 0.8;
}

/* Statistiques de satisfaction */

/* Call to Action */
.testimonial-cta {
  margin-top: 80px;
  text-align: center;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
  padding: 60px 40px;
  background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
  border-radius: 20px;
  border: 1px solid #333;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.cta-content h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: white;
}

.cta-content p {
  font-size: 1.1rem;
  color: #e0e0e0;
  margin-bottom: 30px;
  opacity: 0.9;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 40px;
  background: #e30613;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(227, 6, 19, 0.4);
  border: 2px solid transparent;
}

.cta-button:hover {
  background: #ff4757;
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(227, 6, 19, 0.6);
  border-color: rgba(255, 255, 255, 0.2);
}

.cta-button i {
  transition: transform 0.3s ease;
}

.cta-button:hover i {
  transform: translateX(5px);
}

/* Animations */
.testimonial-card {
  opacity: 0;
  transform: translateY(50px);
}

.testimonial-card.animate {
  animation: testimonialEntrance 0.8s ease forwards;
}

.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.2s; }
.testimonial-card:nth-child(3) { animation-delay: 0.3s; }
.testimonial-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes testimonialEntrance {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Effet de fond décoratif sur les cartes */
.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #e30613, #ff4757, #e30613);
  border-radius: 20px 20px 0 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.testimonial-card:hover::before {
  opacity: 1;
}

/* Responsive */
@media (max-width: 1024px) {
  .testimonials-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .testimonials {
    padding: 80px 20px;
  }
  
  .testimonials-container {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 50px auto 0;
  }
  
  .testimonial-card {
    padding: 30px 25px;
    min-height: 350px;
  }
  
  .stats-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .satisfaction-number {
    font-size: 2.5rem;
  }
  
  .cta-content {
    padding: 40px 30px;
  }
  
  .cta-content h3 {
    font-size: 1.7rem;
  }
}

@media (max-width: 480px) {
  .testimonials {
    padding: 60px 15px;
  }
  
  .testimonial-card {
    padding: 25px 20px;
  }
  
  .client-info {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .stats-container {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .satisfaction-number {
    font-size: 2.2rem;
  }
  
  .cta-content {
    padding: 30px 20px;
  }
  
  .cta-content h3 {
    font-size: 1.5rem;
  }
  
  .testimonial-text p {
    font-size: 1rem;
  }
}

/* Animation des compteurs */
@keyframes countUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.stat-counter.animated {
  animation: countUp 0.6s ease forwards;
}

/* SECTION CAROUSEL REFONDUE */
.portfolio-carousel {
  padding: 100px 20px;
  background: #0a0a0a;
  color: white;
  position: relative;
  overflow: hidden;
}

.carousel-container {
  max-width: 1200px;
  margin: 60px auto 0;
  position: relative;
}

/* Track du carousel */
.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  gap: 0;
}

.carousel-slide {
  flex: 0 0 100%;
  opacity: 0.3;
  transform: scale(0.8);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}

.carousel-slide.active {
  opacity: 1;
  transform: scale(1);
}

/* Contenu des slides */
.slide-content {
  padding: 20px;
}

.slide-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  height: 500px;
}

.slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.carousel-slide.active .slide-image img {
  transform: scale(1.05);
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0.8) 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 40px;
  opacity: 0;
  transition: all 0.4s ease;
}

.carousel-slide.active .slide-overlay {
  opacity: 1;
}

.overlay-content {
  transform: translateY(30px);
  transition: transform 0.4s ease;
}

.carousel-slide.active .overlay-content {
  transform: translateY(0);
}

.overlay-content h4 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: white;
}

.overlay-content p {
  color: #e0e0e0;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.view-project {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 25px;
  background: #e30613;
  color: white;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
  text-decoration: none;
}

.view-project:hover {
  background: #ff4757;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(227, 6, 19, 0.4);
}

/* Navigation */
.carousel-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 10;
}

.nav-btn {
  width: 60px;
  height: 60px;
  background: rgba(227, 6, 19, 0.9);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-btn:hover {
  background: #e30613;
  transform: scale(1.1);
  box-shadow: 0 10px 25px rgba(227, 6, 19, 0.4);
}

.nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: scale(1);
}

/* Indicateurs */
.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

.indicator {
  width: 12px;
  height: 12px;
  background: #333;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.indicator.active {
  background: #e30613;
  transform: scale(1.2);
}

.indicator:hover {
  background: #ff4757;
}

/* Compteur */
.carousel-counter {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.7);
  padding: 8px 15px;
  border-radius: 20px;
  font-weight: 600;
  color: white;
  backdrop-filter: blur(10px);
  border: 1px solid #333;
}

/* CTA Section */
.carousel-cta {
  margin-top: 80px;
  text-align: center;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
  padding: 60px 40px;
  background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
  border-radius: 20px;
  border: 1px solid #333;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  position: relative;
}

.cta-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #e30613, #ff4757);
}

.cta-content h3 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: white;
}

.cta-content p {
  font-size: 1.1rem;
  color: #e0e0e0;
  margin-bottom: 30px;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background: #e30613;
  color: white;
}

.btn-primary:hover {
  background: #ff4757;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(227, 6, 19, 0.4);
}

.btn-secondary {
  background: transparent;
  color: #e0e0e0;
  border-color: #333;
}

.btn-secondary:hover {
  border-color: #e30613;
  color: white;
  transform: translateY(-2px);
}

/* Modal de projet */
.project-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-modal.active {
  display: block;
  opacity: 1;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
}

.modal-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 95%;
  max-width: 1200px;
  max-height: 90vh;
  background: #1a1a1a;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  border: 1px solid #333;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.project-modal.active .modal-container {
  transform: translate(-50%, -50%) scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.3s ease, opacity 0.3s ease;
  backdrop-filter: blur(10px);
}

.modal-close:hover {
  background: #e30613;
  transform: rotate(90deg);
}

.modal-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100%;
}

.gallery-main {
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0a0a;
}

.gallery-main img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 15px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.project-details {
  padding: 40px;
  overflow-y: auto;
}

.project-details h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: white;
}

.project-details > p {
  color: #e0e0e0;
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.project-info {
  display: grid;
  gap: 15px;
  margin-bottom: 30px;
  padding: 25px;
  background: #2a2a2a;
  border-radius: 15px;
  border: 1px solid #333;
}

.info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid #333;
}

.info-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.info-item strong {
  color: white;
}

.info-item span {
  color: #e0e0e0;
  text-align: right;
}

.project-description h4 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: white;
  border-left: 4px solid #e30613;
  padding-left: 15px;
}

.project-description p {
  color: #e0e0e0;
  line-height: 1.6;
  margin-bottom: 30px;
}

.project-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 25px;
  background: transparent;
  color: #e0e0e0;
  border: 2px solid #333;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.btn-outline:hover {
  border-color: #e30613;
  color: white;
}

/* Animations */
.carousel-slide {
  animation: slideEntrance 0.8s ease forwards;
}

@keyframes slideEntrance {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 0.3;
    transform: translateX(0);
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .slide-image {
    height: 400px;
  }
  
  .modal-content {
    grid-template-columns: 1fr;
    max-height: 80vh;
  }
  
  .gallery-main {
    padding: 30px;
    max-height: 300px;
  }
}

@media (max-width: 768px) {
  .portfolio-carousel {
    padding: 80px 20px;
  }
  
  .slide-image {
    height: 350px;
  }
  
  .nav-btn {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .overlay-content {
    padding: 25px;
  }
  
  .overlay-content h4 {
    font-size: 1.5rem;
  }
  
  .cta-content {
    padding: 40px 30px;
  }
  
  .cta-content h3 {
    font-size: 1.8rem;
  }
  
  .project-details {
    padding: 30px 25px;
  }
}

@media (max-width: 480px) {
  .portfolio-carousel {
    padding: 60px 15px;
  }
  
  .slide-image {
    height: 300px;
  }
  
  .nav-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    padding: 0 10px;
  }
  
  .overlay-content {
    padding: 20px;
  }
  
  .overlay-content h4 {
    font-size: 1.3rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-primary, .btn-secondary {
    width: 200px;
    justify-content: center;
  }
  
  .project-actions {
    flex-direction: column;
  }
  
  .btn-outline, .btn-primary {
    width: 100%;
    justify-content: center;
  }
}

/* **** FOOTER **** */
.footer {
  background-color: var(--secondary-color);
  color: var(--neutral-light);
  padding: 50px 20px 20px 20px;
}

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

.footer-section {
  margin-bottom: 20px;
}

.footer-section h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--main-color);
}

.footer-section p,
.footer-section ul {
  font-size: 1rem;
  color: var(--neutral-light);
  line-height: 1.6;
}

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

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li i {
  margin-right: 10px;
  color: var(--main-color);
}

.footer-section a {
  color: var(--neutral-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--main-color);
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  color: var(--neutral-light);
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: var(--main-color);
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--neutral-gray);
}

.footer-bottom p {
  font-size: 0.9rem;
  color: var(--neutral-light);
}

/* **** BOUTON WHATSAPP **** */
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366; 
  border-radius: 50%;
  padding: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000; /* Assure que le bouton est au-dessus des autres éléments */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-button img {
  width: 40px;
  height: 40px;
  display: block;
  transition: transform 0.3s ease;
}

/* Animation au survol */
.whatsapp-button:hover {
  transform: scale(1.1); /* Agrandit légèrement le bouton */
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3); /* Ombre plus prononcée */
}

.whatsapp-button:hover img {
  transform: rotate(15deg); /* Fait pivoter l'icône */
}

/* Ajuster la taille du bouton pour les écrans de bureau */
@media (min-width: 769px) {
  .whatsapp-button {
    padding: 20px; /* Taille plus grande */
  }

  .whatsapp-button img {
    width: 50px; /* Icône plus grande */
    height: 50px;
  }
}

/* BANNIÈRE AVEC OMBRES HARMONISÉES ET LOGOS ADOBE EN BACKGROUND */
.banner {
  background: #e30613;
  color: white;
  padding: 60px 20px;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

/* Background avec logos Adobe défilants */
.adobe-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.1;
  z-index: 1;
  overflow: hidden;
}

.adobe-background-track {
  display: flex;
  animation: scrollBackground 40s linear infinite;
  gap: 40px;
  padding: 20px;
  height: 100%;
  align-items: center;
}

.adobe-bg-logo {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.adobe-bg-logo:hover {
  opacity: 0.7;
}

.adobe-bg-logo img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
}

@keyframes scrollBackground {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-80px * 6 - 40px * 6)); }
}

.banner-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Contenu texte */
.banner-content {
  text-align: center;
  width: 100%;
}

.banner-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  color: white;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
  0%, 100% { 
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  }
  50% { 
    text-shadow: 0 6px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.2);
  }
}

.banner-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  line-height: 1.6;
  opacity: 0.9;
  color: rgba(255, 255, 255, 0.9);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 35px;
  background: black;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s;
}

.cta-button:hover {
  background: #000000;
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  border-color: rgba(255, 255, 255, 0.4);
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button i {
  transition: transform 0.3s ease;
}

.cta-button:hover i {
  transform: translateX(5px);
}

/* FORMES AVEC OMBRES HARMONISÉES AU BACKGROUND ROUGE */
.banner-image {
  width: 100%;
  max-width: 550px;
  position: relative;
}

.creative-shapes {
  position: relative;
  width: 100%;
  height: 400px;
}

/* Forme principale avec ombres harmonisées */
.main-shape {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 320px;
  height: 320px;
  transform: translate(-50%, -50%);
  background: white;
  border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
  animation: morphing 8s ease-in-out infinite;
  box-shadow: 
    0 25px 50px rgba(199, 0, 11, 0.4),
    inset 0 0 0 3px #e30613,
    0 0 40px rgba(255, 255, 255, 0.3);
  overflow: hidden;
  transition: all 0.6s ease;
  z-index: 3;
}

@keyframes morphing {
  0% { border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%; }
  25% { border-radius: 40% 60% 70% 30% / 47% 62% 38% 53%; }
  50% { border-radius: 76% 24% 33% 67% / 68% 22% 78% 32%; }
  75% { border-radius: 29% 71% 60% 40% / 61% 38% 62% 39%; }
  100% { border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%; }
}

/* HOVER AVEC OMBRES HARMONISÉES AU ROUGE */
.main-shape:hover {
  animation-duration: 4s;
  background: #f8f8f8;
  box-shadow: 
    0 35px 70px rgba(199, 0, 11, 0.6),
    inset 0 0 0 4px #e30613,
    0 0 60px rgba(255, 255, 255, 0.5),
    0 0 0 10px rgba(227, 6, 19, 0.2);
  transform: translate(-50%, -50%) scale(1.05);
}

.shape-content {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
  position: relative;
}

.shape-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(227, 6, 19, 0.05);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.main-shape:hover .shape-content::before {
  opacity: 1;
}

.shape-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  transition: all 0.6s ease;
  filter: brightness(1) contrast(1.05);
}

.main-shape:hover .shape-content img {
  filter: brightness(1.05) contrast(1.1);
  transform: scale(1.03);
}

/* Formes flottantes avec ombres harmonisées */
.floating-shape {
  position: absolute;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.3);
  animation: float 8s ease-in-out infinite;
  z-index: 2;
  backdrop-filter: blur(5px);
  box-shadow: 0 10px 25px rgba(199, 0, 11, 0.3);
}

.shape-1 {
  width: 80px;
  height: 80px;
  top: 10%;
  right: 10%;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  animation-delay: 0s;
}

.shape-2 {
  width: 60px;
  height: 60px;
  bottom: 15%;
  left: 10%;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation-delay: 2s;
}

.shape-3 {
  width: 100px;
  height: 100px;
  top: 60%;
  right: 5%;
  border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
  animation-delay: 4s;
}

.shape-4 {
  width: 70px;
  height: 70px;
  top: 20%;
  left: 5%;
  border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
  animation-delay: 6s;
}

@keyframes float {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg) scale(1);
    opacity: 0.6;
  }
  50% { 
    transform: translateY(-20px) rotate(180deg) scale(1.1);
    opacity: 0.9;
  }
}

/* RESPONSIVE DESKTOP */
@media (min-width: 768px) {
  .banner {
    padding: 100px 40px;
  }
  
  .banner-container {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 80px;
  }
  
  .banner-content {
    text-align: left;
    flex: 1;
  }
  
  .banner-title {
    font-size: 3.2rem;
  }
  
  .banner-subtitle {
    margin-left: 0;
    margin-right: 0;
    font-size: 1.3rem;
  }
  
  .banner-image {
    flex: 1;
    max-width: none;
  }
  
  .creative-shapes {
    height: 500px;
  }
  
  .main-shape {
    width: 380px;
    height: 380px;
  }
}

@media (min-width: 1024px) {
  .banner-title {
    font-size: 3.8rem;
  }
  
  .cta-button {
    padding: 16px 40px;
    font-size: 1.2rem;
  }
  
  .creative-shapes {
    height: 550px;
  }
  
  .main-shape {
    width: 420px;
    height: 420px;
  }
}

/* RESPONSIVE MOBILE */
@media (max-width: 480px) {
  .banner {
    padding: 50px 15px;
  }
  
  .banner-title {
    font-size: 2rem;
  }
  
  .banner-subtitle {
    font-size: 1rem;
  }
  
  .cta-button {
    padding: 12px 25px;
    font-size: 1rem;
  }
  
  .creative-shapes {
    height: 300px;
  }
  
  .main-shape {
    width: 250px;
    height: 250px;
  }
  
  .floating-shape {
    display: none;
  }
  
  .adobe-bg-logo {
    width: 60px;
    height: 60px;
  }
}

/* SECTION RÉALISATIONS REFONDUE */
.realisations {
  padding: 100px 20px;
  background: #0a0a0a;
  color: white;
  position: relative;
}

.realisations-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

/* Cartes de réalisations */
.realisation-card {
  background: #1a1a1a;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid #2a2a2a;
}

.realisation-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 
    0 20px 50px rgba(227, 6, 19, 0.2),
    0 0 0 1px rgba(227, 6, 19, 0.3);
}

.card-image {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.7) 70%,
    rgba(0, 0, 0, 0.9) 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 30px;
  opacity: 0;
  transition: all 0.4s ease;
}

.realisation-card:hover .card-overlay {
  opacity: 1;
}

.overlay-content {
  transform: translateY(30px);
  transition: transform 0.4s ease;
}

.realisation-card:hover .overlay-content {
  transform: translateY(0);
}

.overlay-content h4 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: white;
}

.overlay-content p {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 20px;
  color: #e0e0e0;
}

.view-gallery {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #e30613;
  color: white;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.view-gallery:hover {
  background: #ff4757;
  transform: translateX(5px);
}

/* Filtres */
.filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin: 50px auto 0;
  padding: 0 20px;
}

.filter-btn {
  padding: 12px 25px;
  background: transparent;
  color: #e0e0e0;
  border: 2px solid #333;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
  position: relative;
  overflow: hidden;
}

.filter-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(227, 6, 19, 0.2), transparent);
  transition: left 0.5s;
}

.filter-btn:hover::before {
  left: 100%;
}

.filter-btn:hover {
  color: white;
  border-color: #e30613;
}

.filter-btn.active {
  background: #e30613;
  border-color: #e30613;
  color: white;
  box-shadow: 0 5px 15px rgba(227, 6, 19, 0.3);
}

/* Modal Gallery */
.gallery-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-modal.active {
  display: block;
  opacity: 1;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
}

.modal-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 90%;
  max-width: 1000px;
  max-height: 90vh;
  background: #1a1a1a;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  border: 1px solid #333;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-modal.active .modal-container {
  transform: translate(-50%, -50%) scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.3s ease, opacity 0.3s ease;
  backdrop-filter: blur(10px);
}

.modal-close:hover {
  background: #e30613;
  transform: rotate(90deg);
}

.modal-header {
  padding: 30px 30px 20px;
  border-bottom: 1px solid #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin: 0;
}

.modal-counter {
  color: #e0e0e0;
  font-weight: 600;
}

.modal-content {
  position: relative;
  padding: 30px;
}

.gallery-slider {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  border-radius: 15px;
}

.slider-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  height: 100%;
}

.slider-slide {
  flex: 0 0 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(227, 6, 19, 0.8);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
  z-index: 5;
  backdrop-filter: blur(10px);
}

.slider-nav:hover {
  background: #e30613;
  transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
  left: 20px;
}

.slider-nav.next {
  right: 20px;
}

.slider-nav:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: translateY(-50%) scale(1);
}

.modal-footer {
  padding: 20px 30px;
  border-top: 1px solid #333;
}

.image-description {
  color: #e0e0e0;
  text-align: center;
  margin: 0;
  font-size: 0.95rem;
}

/* Animations d'entrée */
.realisation-card {
  opacity: 0;
  transform: translateY(50px);
  animation: cardEntrance 0.6s ease forwards;
}

.realisation-card:nth-child(1) { animation-delay: 0.1s; }
.realisation-card:nth-child(2) { animation-delay: 0.2s; }
.realisation-card:nth-child(3) { animation-delay: 0.3s; }
.realisation-card:nth-child(4) { animation-delay: 0.4s; }
.realisation-card:nth-child(5) { animation-delay: 0.5s; }
.realisation-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes cardEntrance {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .realisations-container {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }
  
  .filters {
    gap: 10px;
  }
  
  .filter-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .gallery-slider {
    height: 300px;
  }
  
  .modal-container {
    width: 95%;
  }
  
  .slider-nav {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .realisations {
    padding: 60px 15px;
  }
  
  .realisations-container {
    grid-template-columns: 1fr;
  }
  
  .card-image {
    height: 250px;
  }
  
  .filters {
    flex-direction: column;
    align-items: center;
  }
  
  .filter-btn {
    width: 200px;
  }
}

/* STYLES DE BASE POUR LES TITRES DE SECTION */
.section-title {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-title h3 {
  font-size: 3rem;
  font-weight: 800;
  color: white;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  display: inline-block;
}

.section-title h3::before {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #e30613, #ff4757);
  border-radius: 2px;
}

.underline {
  display: block;
  width: 100px;
  height: 3px;
  background: #e30613;
  margin: 0 auto 20px;
  border-radius: 2px;
  position: relative;
}

.underline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 100%;
  background: #ff4757;
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.3rem;
  color: #e0e0e0;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  font-weight: 300;
  opacity: 0.9;
}

/* Animation d'entrée pour les titres */
.section-title {
  opacity: 0;
  transform: translateY(30px);
  animation: titleEntrance 1s ease forwards;
}

@keyframes titleEntrance {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive pour les titres */
@media (max-width: 768px) {
  .section-title h3 {
    font-size: 2.2rem;
    letter-spacing: 1px;
  }
  
  .section-subtitle {
    font-size: 1.1rem;
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .section-title h3 {
    font-size: 1.8rem;
  }
  
  .section-title {
    margin-bottom: 40px;
  }
}

/* RESET ET STYLES DE BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', 'Arial', sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

/* Container principal */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Styles de texte de base */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 3rem; }
h3 { font-size: 2.5rem; }
h4 { font-size: 2rem; }
h5 { font-size: 1.5rem; }
h6 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* Liens */
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* Boutons de base */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
  text-decoration: none;
}

/* Utility classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.p-1 { padding: 1rem; }
.p-2 { padding: 2rem; }
.p-3 { padding: 3rem; }

/* Responsive images */
img {
  max-width: 100%;
  height: auto;
}

/* Section spacing */
section {
  padding: 80px 0;
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }
  
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2.2rem; }
  h3 { font-size: 2rem; }
  h4 { font-size: 1.7rem; }
}

@media (max-width: 480px) {
  section {
    padding: 40px 0;
  }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.8rem; }
  h3 { font-size: 1.6rem; }
  h4 { font-size: 1.4rem; }
}

/* Footer Professionnel */
.footer {
  background: #0a0a0a;
  color: white;
  position: relative;
}

/* Section Logos Adobe */
.adobe-section {
  background: rgba(227, 6, 19, 0.05);
  padding: 30px 0;
  border-bottom: 1px solid rgba(227, 6, 19, 0.2);
}

.adobe-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.adobe-container h4 {
  color: #e30613;
  font-size: 1rem;
  margin-bottom: 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.adobe-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.adobe-logo {
  width: 50px;
  height: 50px;
  background: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, opacity 0.3s ease;
  animation: float 3s ease-in-out infinite;
}

.adobe-logo:nth-child(1) { animation-delay: 0s; }
.adobe-logo:nth-child(2) { animation-delay: 0.5s; }
.adobe-logo:nth-child(3) { animation-delay: 1s; }
.adobe-logo:nth-child(4) { animation-delay: 1.5s; }
.adobe-logo:nth-child(5) { animation-delay: 2s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.adobe-logo:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 8px 25px rgba(227, 6, 19, 0.3);
}

.adobe-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(0.3);
  transition: filter 0.3s ease;
}

.adobe-logo:hover img {
  filter: grayscale(0);
}

/* Contenu Principal */
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

/* Colonnes */
.footer-col {
  display: flex;
  flex-direction: column;
}

.main-col {
  padding-right: 20px;
}

/* Brand */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.footer-logo img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.footer-logo span {
  font-size: 1.4rem;
  font-weight: 700;
  color: #e30613;
}

.footer-description {
  color: #ccc;
  line-height: 1.6;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

/* Liens Sociaux */
.social-links {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(227, 6, 19, 0.1);
  border: 1px solid rgba(227, 6, 19, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e30613;
  text-decoration: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #e30613;
  transition: left 0.3s ease;
}

.social-link:hover {
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(227, 6, 19, 0.3);
}

.social-link:hover::before {
  left: 0;
}

.social-link i {
  position: relative;
  z-index: 1;
}

/* Titres */
.footer-col h4 {
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: #e30613;
  transition: width 0.3s ease;
}

.footer-col:hover h4::after {
  width: 50px;
}

/* Liens */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  color: #ccc;
  text-decoration: none;
  font-size: 0.9rem;
  transition: transform 0.3s ease, opacity 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  position: relative;
  overflow: hidden;
}

.footer-link::before {
  content: '';
  position: absolute;
  left: -100%;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: #e30613;
  transition: left 0.3s ease;
}

.footer-link:hover {
  color: #e30613;
  transform: translateX(5px);
}

.footer-link:hover::before {
  left: 0;
}

.footer-link i {
  font-size: 0.8rem;
  color: #e30613;
}

/* Contact */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}

.contact-icon {
  width: 35px;
  height: 35px;
  background: rgba(227, 6, 19, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e30613;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.contact-item:hover .contact-icon {
  background: #e30613;
  color: white;
  transform: scale(1.1);
}

.contact-text span {
  color: #ccc;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.contact-item:hover .contact-text span {
  color: white;
}

/* Copyright Section */
.copyright-section {
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 25px 0;
}

.copyright-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.copyright-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.copyright-content p {
  color: #999;
  font-size: 0.85rem;
  margin: 0;
}

.legal-links {
  display: flex;
  gap: 20px;
}

.legal-links a {
  color: #999;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s ease;
  position: relative;
}

.legal-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #e30613;
  transition: width 0.3s ease;
}

.legal-links a:hover {
  color: #e30613;
}

.legal-links a:hover::after {
  width: 100%;
}

/* Responsive */
@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  
  .main-col {
    grid-column: 1 / -1;
    padding-right: 0;
  }
}

@media (max-width: 768px) {
  .footer-container {
    padding: 40px 20px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  
  .footer-logo {
    justify-content: center;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .footer-col h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .adobe-logos {
    gap: 20px;
  }
  
  .adobe-logo {
    width: 45px;
    height: 45px;
  }
  
  .copyright-content {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .footer-container {
    padding: 30px 15px;
  }
  
  .adobe-section {
    padding: 20px 0;
  }
  
  .adobe-logos {
    gap: 15px;
  }
  
  .adobe-logo {
    width: 40px;
    height: 40px;
  }
  
  .copyright-section {
    padding: 20px 0;
  }
  
  .legal-links {
    flex-direction: column;
    gap: 10px;
  }
}

/* CSS COMPLET AVEC CORRECTIONS */

/* **** VARIABLES CSS **** */
:root {
  --main-color: #e30613;
  --secondary-color: #1C1C1C;
  --neutral-light: #FAFAFA;
  --neutral-gray: #BDBDBD;
  --dark-red: #B71C1C;
  --white: #ffffff;
  --light-gray: #f8f9fa;
  --medium-gray: #e9ecef;
  --text-dark: #333333;
}

/* **** RÉINITIALISATION GLOBALE **** */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none !important;
  font-family: 'Roboto', sans-serif;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
}

/* **** SUPPRIMER LA PROGRESS BAR **** */
#progress {
  display: none !important;
}

/* **** HEADER **** */
.navbar {
  background-color: var(--white);
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.logo img {
  max-width: 90px;
  height: auto;
}

.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.nav-links a {
  color: var(--secondary-color);
  font-weight: 500;
  font-size: 1rem;
  transition: transform 0.3s ease, opacity 0.3s ease;
  padding: 8px 12px;
  border-radius: 5px;
}

.nav-links a:hover, .active {
  color: var(--main-color) !important;
  background-color: rgba(227, 6, 19, 0.1);
}

.menu-burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.menu-burger .line {
  width: 25px;
  height: 3px;
  background-color: var(--main-color);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* **** BANNIÈRE **** */
.banner {
  background-color: #e10613; 
  padding: 80px 20px;
  overflow: hidden;
}

.banner-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 0 20px;
}

.banner-content {
  flex: 1;
  text-align: left;
}

.banner-image {
  flex: 1;
  overflow: hidden;
}

.banner-image img {
  width: 100%;
  height: auto;
  display: block;
}

.banner-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--neutral-light);
  opacity: 0;
  animation: fadeInUp 1s ease 0.5s forwards;
}

.banner-subtitle {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--neutral-light);
  opacity: 0;
  animation: fadeInUp 1s ease 0.8s forwards;
}

.cta-button {
  background-color: var(--neutral-light);
  color: var(--main-color);
  padding: 12px 25px;
  border-radius: 5px;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
  display: inline-block;
  opacity: 0;
  animation: fadeInUp 1s ease 1.1s forwards;
}

.cta-button:hover {
  background-color: var(--dark-red);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* **** ANIMATIONS DES TITRES **** */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes titleGlow {
  0%, 100% {
    text-shadow: 0 0 0 rgba(227, 6, 19, 0);
  }
  50% {
    text-shadow: 0 0 10px rgba(227, 6, 19, 0.3);
  }
}

@keyframes underlineSlide {
  from {
    width: 0;
  }
  to {
    width: 80px;
  }
}

/* **** TITRES DE SECTION AVEC ANIMATIONS **** */
.section-title {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  opacity: 0;
  animation: fadeInUp 1s ease 0.3s forwards;
}

.section-title h3 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  animation: titleGlow 3s ease-in-out infinite 1s;
}

.section-title h3::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--main-color), #ff4757);
  border-radius: 2px;
  animation: underlineSlide 1s ease 0.8s forwards;
}

.underline {
  display: block;
  width: 80px;
  height: 3px;
  background: var(--main-color);
  margin: 0 auto 20px;
  border-radius: 2px;
  opacity: 0;
  animation: fadeInUp 1s ease 0.6s forwards;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  opacity: 0;
  animation: fadeInUp 1s ease 0.9s forwards;
}

/* **** NOUVEAUX ARRIÈRE-PLANS CLAIRS **** */

/* Section Services - BLANC */
.services {
  padding: 80px 20px;
  background: var(--white);
  color: var(--text-dark);
  position: relative;
}

/* Section Réalisations - GRIS TRÈS CLAIR */
.realisations {
  padding: 80px 20px;
  background: var(--light-gray);
  color: var(--text-dark);
  position: relative;
}

/* Section Équipe - BLANC */
.team {
  padding: 80px 20px;
  background: var(--white);
  color: var(--text-dark);
  position: relative;
}

/* Section Témoignages - GRIS CLAIR */
.testimonials {
  padding: 80px 20px;
  background: var(--medium-gray);
  color: var(--text-dark);
  position: relative;
}

/* Section Carousel - BLANC */
.portfolio-carousel {
  padding: 80px 20px;
  background: var(--white);
  color: var(--text-dark);
  position: relative;
}

/* Footer - GRIS FONCÉ */
.footer {
  background: #2c3e50;
  color: var(--white);
  position: relative;
}

/* **** CARTES OPTIMISÉES **** */

.services-container {
  max-width: 1200px;
  margin: 50px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
}

.service-card {
  background: var(--white);
  border-radius: 15px;
  padding: 25px;
  position: relative;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid var(--medium-gray);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 380px;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(227, 6, 19, 0.15);
  border-color: var(--main-color);
}

/* Délais d'animation pour les cartes */
.service-card:nth-child(1) { animation-delay: 0.2s; }
.service-card:nth-child(2) { animation-delay: 0.3s; }
.service-card:nth-child(3) { animation-delay: 0.4s; }
.service-card:nth-child(4) { animation-delay: 0.5s; }
.service-card:nth-child(5) { animation-delay: 0.6s; }
.service-card:nth-child(6) { animation-delay: 0.7s; }

.service-icon {
  position: relative;
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
}

.icon-wrapper {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e30613, #ff4757);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
  transition: all 0.4s ease;
}

.service-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.service-description {
  color: #666;
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
  font-size: 0.95rem;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: #666;
  font-size: 0.9rem;
}

.service-features i {
  color: var(--main-color);
  font-size: 0.9rem;
}

.service-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid var(--medium-gray);
  margin-top: auto;
}

.service-price {
  color: var(--main-color);
  font-weight: 700;
  font-size: 1rem;
}

.service-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: transparent;
  color: var(--main-color);
  border: 2px solid var(--main-color);
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.service-cta:hover {
  background: var(--main-color);
  color: white;
  transform: translateX(5px);
}

/* **** ÉQUIPE **** */
.team-container {
  max-width: 1200px;
  margin: 50px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.team-member {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.team-member:nth-child(1) { animation-delay: 0.2s; }
.team-member:nth-child(2) { animation-delay: 0.3s; }
.team-member:nth-child(3) { animation-delay: 0.4s; }
.team-member:nth-child(4) { animation-delay: 0.5s; }

.member-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--medium-gray);
  height: 100%;
}

.member-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(227, 6, 19, 0.15);
}

.member-image {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.member-info {
  padding: 20px;
}

.member-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.member-position {
  color: var(--main-color);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.member-description {
  color: #666;
  line-height: 1.6;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.member-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.skill-tag {
  background: rgba(227, 6, 19, 0.1);
  color: var(--main-color);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(227, 6, 19, 0.2);
}

/* **** RÉALISATIONS - CORRECTION MODAL **** */
.realisations-container {
  max-width: 1200px;
  margin: 50px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
}

.realisation-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--medium-gray);
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.realisation-card:nth-child(1) { animation-delay: 0.2s; }
.realisation-card:nth-child(2) { animation-delay: 0.3s; }
.realisation-card:nth-child(3) { animation-delay: 0.4s; }
.realisation-card:nth-child(4) { animation-delay: 0.5s; }
.realisation-card:nth-child(5) { animation-delay: 0.6s; }
.realisation-card:nth-child(6) { animation-delay: 0.7s; }

.realisation-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(227, 6, 19, 0.15);
}

.card-image {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

/* MODAL RÉALISATIONS CORRIGÉ */
.gallery-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-modal.active {
  display: block;
  opacity: 1;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.modal-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 95%;
  max-width: 1000px;
  max-height: 90vh;
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--medium-gray);
  z-index: 10000;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  background: var(--main-color);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10001;
  transition: transform 0.3s ease, opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: var(--dark-red);
  transform: rotate(90deg);
}

/* **** TÉMOIGNAGES - SUPPRIMER LA 4ÈME CARTE **** */
.testimonials-container {
  max-width: 1200px;
  margin: 50px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
}

/* Cacher la 4ème carte de témoignage */
.testimonials-container .testimonial-card:nth-child(4) {
  display: none !important;
}

.testimonial-card {
  background: var(--white);
  border-radius: 15px;
  padding: 25px;
  position: relative;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid var(--medium-gray);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.testimonial-card:nth-child(1) { animation-delay: 0.2s; }
.testimonial-card:nth-child(2) { animation-delay: 0.3s; }
.testimonial-card:nth-child(3) { animation-delay: 0.4s; }

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(227, 6, 19, 0.15);
}

.testimonial-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
  font-style: italic;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--medium-gray);
}

.client-avatar {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--main-color);
  flex-shrink: 0;
}

.client-details {
  flex: 1;
}

.client-name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 3px;
  color: var(--text-dark);
}

.client-role {
  color: var(--main-color);
  font-weight: 600;
  font-size: 0.85rem;
}

/* **** CAROUSEL **** */
.carousel-container {
  max-width: 1200px;
  margin: 50px auto 0;
  position: relative;
}

.slide-image {
  height: 350px;
}

/* **** FOOTER **** */
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 30px;
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 18px;
  color: var(--white);
}

.footer-link {
  color: #ccc;
  font-size: 0.9rem;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
}

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

/* **** BOUTON WHATSAPP **** */
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  border-radius: 50%;
  padding: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.whatsapp-button img {
  width: 35px;
  height: 35px;
  display: block;
}

.whatsapp-button:hover {
  transform: scale(1.1);
}

/* **** RESPONSIVE DESIGN **** */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 250px;
    background-color: var(--secondary-color);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;
    transition: right 0.3s ease;
  }

  .nav-links a {
    color: var(--neutral-light);
    font-size: 1.1rem;
  }

  .menu-burger {
    display: flex;
  }

  .menu-burger.active .line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-burger.active .line:nth-child(2) {
    opacity: 0;
  }

  .menu-burger.active .line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .nav-links.active {
    right: 0;
  }

  .banner-container {
    flex-direction: column;
    gap: 30px;
  }

  .banner-image {
    order: -1;
  }

  .banner-content {
    text-align: center;
  }

  .banner-title {
    font-size: 2rem;
  }

  .services-container {
    grid-template-columns: 1fr;
    max-width: 450px;
  }

  .team-container {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .section-title h3 {
    font-size: 2rem;
  }

  .modal-container {
    width: 98%;
    max-height: 95vh;
  }
}

@media (max-width: 480px) {
  .services-container,
  .team-container,
  .realisations-container,
  .testimonials-container {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 20px;
    min-height: 350px;
  }

  .member-image {
    height: 220px;
  }

  .card-image {
    height: 200px;
  }

  .section-title h3 {
    font-size: 1.8rem;
  }

  .modal-close {
    top: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
}

/* CORRECTION URGENTE POUR LE MODAL */
.gallery-modal .modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.95) !important;
    z-index: 9998 !important;
}

.gallery-modal .modal-container {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 9999 !important;
}

.gallery-modal .modal-close {
    z-index: 10000 !important;
    cursor: pointer !important;
}

/* ===== NOUVELLE SECTION SERVICES ===== */
.services {
    padding: 100px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
}

/* ===== CORRECTION TAILLE DES CARTES ===== */
.services-grid {
    max-width: 1200px;
    margin: 60px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    padding: 0 20px;
}

/* Cartes de services - TAILLE RÉDUITE */
.service-card {
    height: 220px; /* Réduit de 280px à 220px */
    perspective: 1000px;
    cursor: pointer;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-style: preserve-3d;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 16px;
    padding: 25px 20px; /* Réduit le padding */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Face avant - CONTENU PLUS COMPACT */
.card-front {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(227, 6, 19, 0.1);
    position: relative;
}

.service-icon {
    width: 60px; /* Réduit de 80px */
    height: 60px; /* Réduit de 80px */
    background: linear-gradient(135deg, #e30613, #ff4757);
    border-radius: 16px; /* Légèrement réduit */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px; /* Réduit */
    font-size: 1.5rem; /* Réduit de 2rem */
    color: white;
    box-shadow: 0 6px 20px rgba(227, 6, 19, 0.25);
}

.service-title {
    font-size: 1.2rem; /* Réduit de 1.4rem */
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.3;
}

.service-excerpt {
    color: #666;
    font-size: 0.85rem; /* Réduit de 0.95rem */
    line-height: 1.4;
    margin-bottom: 0;
}

.service-badge {
    position: absolute;
    top: 15px; /* Ajusté */
    right: 15px; /* Ajusté */
    background: #e30613;
    color: white;
    padding: 4px 10px; /* Réduit */
    border-radius: 12px;
    font-size: 0.7rem; /* Réduit */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Face arrière - CONTENU PLUS COMPACT */
.card-back {
    background: linear-gradient(135deg, #e30613 0%, #ff4757 100%);
    color: white;
    transform: rotateY(180deg);
    justify-content: space-between;
    padding: 20px 15px; /* Plus compact */
}

.card-back h4 {
    font-size: 1.1rem; /* Réduit de 1.3rem */
    font-weight: 700;
    margin-bottom: 12px; /* Réduit */
    color: white;
    line-height: 1.3;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0; /* Réduit */
    text-align: left;
    width: 100%;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px; /* Réduit */
    font-size: 0.8rem; /* Réduit de 0.9rem */
    color: white;
}

.service-features i {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.7rem; /* Réduit */
    flex-shrink: 0;
}

.service-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px; /* Réduit */
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem; /* Réduit de 0.9rem */
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
    backdrop-filter: blur(10px);
}

.service-cta:hover {
    background: white;
    color: #e30613;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

/* Version encore plus compacte pour mobile */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
        gap: 20px;
    }
    
    .service-card {
        height: 200px; /* Encore plus petit sur mobile */
    }
    
    .card-front, .card-back {
        padding: 20px 15px;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    
    .service-title {
        font-size: 1.1rem;
    }
    
    .service-excerpt {
        font-size: 0.8rem;
    }
    
    .card-back h4 {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .service-features li {
        font-size: 0.75rem;
        margin-bottom: 4px;
    }
}

@media (max-width: 480px) {
    .service-card {
        height: 190px; /* Très compact sur petits écrans */
    }
    
    .card-front, .card-back {
        padding: 18px 12px;
    }
    
    .service-title {
        font-size: 1rem;
    }
    
    .service-excerpt {
        font-size: 0.75rem;
    }
}

/* Ajustement de l'espacement général */
.services {
    padding: 80px 20px; /* Légèrement réduit */
}

.services-grid {
    margin: 50px auto; /* Réduit de 60px */
}

/* Cartes de services avec effet 3D */
.service-card {
    height: 280px;
    perspective: 1000px;
    cursor: pointer;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-style: preserve-3d;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.service-card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Face avant */
.card-front {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(227, 6, 19, 0.1);
    position: relative;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e30613, #ff4757);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 25px rgba(227, 6, 19, 0.3);
}

.service-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.service-excerpt {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

.service-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #e30613;
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Face arrière */
.card-back {
    background: linear-gradient(135deg, #e30613 0%, #ff4757 100%);
    color: white;
    transform: rotateY(180deg);
    justify-content: space-between;
}

.card-back h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    text-align: left;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.service-features i {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
}

.service-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
    backdrop-filter: blur(10px);
}

.service-cta:hover {
    background: white;
    color: #e30613;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* Filtres */
.services-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 60px auto 0;
    max-width: 800px;
    padding: 0 20px;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    background: transparent;
    color: #666;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.filter-btn:hover {
    color: #e30613;
    border-color: #e30613;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: #e30613;
    color: white;
    border-color: #e30613;
    box-shadow: 0 5px 15px rgba(227, 6, 19, 0.3);
}

/* CTA Section */
.services-cta {
    margin-top: 80px;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 60px 40px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-radius: 20px;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e30613, #ff4757);
}

.cta-content h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: #e30613;
    color: white;
}

.btn-primary:hover {
    background: #ff4757;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(227, 6, 19, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
}

/* Animations */
.service-card {
    opacity: 0;
    transform: translateY(30px);
    animation: serviceEntrance 0.8s ease forwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes serviceEntrance {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .service-card {
        height: 250px;
    }
    
    .card-front, .card-back {
        padding: 30px 20px;
    }
    
    .services-filters {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 200px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 200px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .services {
        padding: 60px 15px;
    }
    
    .services-grid {
        padding: 0 10px;
    }
    
    .cta-content {
        padding: 40px 25px;
    }
    
    .cta-content h3 {
        font-size: 1.8rem;
    }
}
/* CORRECTIONS URGENTES POUR LES SERVICES */

/* Assurer que la face arrière est correctement positionnée */
.card-back {
    background: linear-gradient(135deg, #e30613 0%, #ff4757 100%) !important;
    color: white !important;
    transform: rotateY(180deg) !important;
    justify-content: center !important;
    gap: 20px !important;
}

/* Correction de l'effet 3D */
.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-style: preserve-3d;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Amélioration du contenu de la face arrière */
.card-back h4 {
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    margin-bottom: 15px !important;
    color: white !important;
    text-align: center !important;
}

.card-back .service-features {
    margin-bottom: 20px !important;
}

.card-back .service-cta {
    margin-top: auto !important;
}

/* Correction des filtres */
.services-filters {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
    margin: 60px auto 0 !important;
    max-width: 800px !important;
    padding: 0 20px !important;
}

.filter-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 12px 25px !important;
    background: transparent !important;
    color: #666 !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 25px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.filter-btn.active {
    background: #e30613 !important;
    color: white !important;
    border-color: #e30613 !important;
}

/* Assurer la visibilité du contenu */
.service-features {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 20px 0 !important;
    text-align: left !important;
    width: 100% !important;
}

.service-features li {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 8px !important;
    font-size: 0.9rem !important;
    color: white !important;
}

.service-features i {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 0.8rem !important;
    flex-shrink: 0 !important;
}

/* Animation de filtrage */
.service-card {
    transition: all 0.4s ease !important;
}


/* MODAL DES DÉTAILS SERVICES */
.service-details-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-details-modal.active {
    display: block;
    opacity: 1;
}

.service-details-modal .modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.service-details-modal .modal-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    background: #1a1a1a;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
}

.service-details-modal .modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: transform 0.3s ease, opacity 0.3s ease;
    backdrop-filter: blur(10px);
}

.service-details-modal .modal-close:hover {
    background: #e30613;
    transform: rotate(90deg);
}

.service-details-modal .modal-header {
    padding: 40px 40px 30px;
    border-bottom: 1px solid #333;
    display: flex;
    align-items: center;
    gap: 20px;
}

.service-details-modal .service-modal-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #e30613, #ff4757);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.service-details-modal .modal-content {
    padding: 30px 40px;
    max-height: 60vh;
    overflow-y: auto;
}

.service-details-modal .detail-section {
    margin-bottom: 30px;
}

.service-details-modal .detail-section h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-red);
    border-left: 4px solid #e30613;
    padding-left: 15px;
}

.service-details-modal .detail-section p {
    color: var(--secondary-color);
    line-height: 1.6;
}

.service-details-modal .included-features {
    display: grid;
    gap: 12px;
}

.service-details-modal .feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-dark);
}

.service-details-modal .feature-item i {
    color: #e30613;
    font-size: 1.1rem;
}

.service-details-modal .delivery-info {
    display: flex;
    gap: 30px;
}

.service-details-modal .delivery-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: goldenrod;
}

.service-details-modal .delivery-item i {
    color: #e30613;
}

.service-details-modal .modal-footer {
    padding: 30px 40px;
    border-top: 1px solid #333;
    display: flex;
    justify-content: flex-end;
}

.service-details-modal .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: #e30613;
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.service-details-modal .btn-primary:hover {
    background: #ff4757;
    transform: translateY(-2px);
}

/* ===== LOADING SCREEN COMPLET - RESPONSIVE ===== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    font-family: 'Roboto', sans-serif;
}

.loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

/* Background avec effets rouges */
.loading-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(227, 6, 19, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(227, 6, 19, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(227, 6, 19, 0.1) 0%, transparent 50%);
    animation: backgroundPulse 6s ease-in-out infinite;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(10, 10, 10, 0.9) 0%, 
        rgba(26, 26, 26, 0.8) 50%, 
        rgba(10, 10, 10, 0.9) 100%);
}

/* Particules animées */
.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    background: rgba(227, 6, 19, 0.3);
    border-radius: 50%;
    animation: floatParticle 8s ease-in-out infinite;
}

.particle:nth-child(1) {
    width: 6px; height: 6px;
    top: 20%; left: 10%;
    animation-delay: 0s;
}
.particle:nth-child(2) {
    width: 8px; height: 8px;
    top: 60%; left: 80%;
    animation-delay: 1s;
}
.particle:nth-child(3) {
    width: 4px; height: 4px;
    top: 80%; left: 20%;
    animation-delay: 2s;
}
.particle:nth-child(4) {
    width: 7px; height: 7px;
    top: 30%; left: 70%;
    animation-delay: 3s;
}
.particle:nth-child(5) {
    width: 5px; height: 5px;
    top: 70%; left: 30%;
    animation-delay: 4s;
}
.particle:nth-child(6) {
    width: 9px; height: 9px;
    top: 40%; left: 90%;
    animation-delay: 5s;
}

/* Container principal */
.loading-container {
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 40px;
    position: relative;
    z-index: 2;
}

/* Logo 8arProd */
.main-logo {
    margin-bottom: 60px;
    animation: logoEntrance 2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.logo-circle {
    width: 140px;
    height: 140px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #e30613, #ff4757);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 0 60px rgba(227, 6, 19, 0.6),
        inset 0 0 20px rgba(255, 255, 255, 0.2);
    animation: logoGlow 3s ease-in-out infinite;
}

.logo-circle img {
    width: 80px;
    height: 80px;
    filter: brightness(0) invert(1);
}

.logo-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #ffffff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 300;
}

/* Section Adobe */
.adobe-showcase {
    margin: 50px 0;
}

.adobe-title {
    margin-bottom: 30px;
}

.adobe-title span {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 300;
}

.adobe-logos-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 25px;
    justify-content: center;
}

.adobe-logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0;
    animation: logoSlideUp 0.8s ease forwards;
    animation-delay: var(--delay);
}

.logo-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.logo-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(227, 6, 19, 0.4);
}

.logo-wrapper img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.adobe-logo-item span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Barre de progression */
.progress-container {
    margin: 40px auto 0;
    max-width: 500px;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    margin-bottom: 15px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #e30613, #ff4757);
    border-radius: 10px;
    width: 0%;
    position: relative;
    transition: width 0.3s ease;
}

.progress-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.4), 
        transparent);
    animation: glowMove 1.5s ease-in-out infinite;
}

.progress-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.loading-message {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.progress-percent {
    font-size: 1rem;
    font-weight: 600;
    color: #ff4757;
}

/* Vagues animées */
.waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    overflow: hidden;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent,
        rgba(227, 6, 19, 0.2),
        transparent);
    animation: wave 10s linear infinite;
}

.wave:nth-child(2) {
    animation-delay: -5s;
    opacity: 0.5;
}

.wave:nth-child(3) {
    animation-delay: -2s;
    opacity: 0.3;
}

/* ===== ANIMATIONS ===== */
@keyframes backgroundPulse {
    0%, 100% { 
        opacity: 1;
    }
    50% { 
        opacity: 0.9;
    }
}

@keyframes floatParticle {
    0%, 100% { 
        transform: translateY(0px) translateX(0px);
        opacity: 0.6;
    }
    50% { 
        transform: translateY(-20px) translateX(10px);
        opacity: 1;
    }
}

@keyframes logoEntrance {
    0% {
        opacity: 0;
        transform: scale(0.5) translateY(100px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes logoGlow {
    0%, 100% {
        box-shadow: 
            0 0 60px rgba(227, 6, 19, 0.6),
            inset 0 0 20px rgba(255, 255, 255, 0.2);
    }
    50% {
        box-shadow: 
            0 0 80px rgba(227, 6, 19, 0.8),
            inset 0 0 30px rgba(255, 255, 255, 0.3);
    }
}

@keyframes logoSlideUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glowMove {
    0%, 100% { 
        transform: translateX(-100%); 
    }
    50% { 
        transform: translateX(100%); 
    }
}

@keyframes wave {
    0% { 
        transform: translateX(0); 
    }
    50% { 
        transform: translateX(-25%); 
    }
    100% { 
        transform: translateX(-50%); 
    }
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablettes */
@media (max-width: 768px) {
    .loading-container {
        padding: 30px 20px;
        max-width: 100%;
    }
    
    .main-logo {
        margin-bottom: 50px;
    }
    
    .logo-circle {
        width: 120px;
        height: 120px;
    }
    
    .logo-circle img {
        width: 70px;
        height: 70px;
    }
    
    .logo-title {
        font-size: 3.2rem;
    }
    
    .logo-subtitle {
        font-size: 1.1rem;
        letter-spacing: 3px;
    }
    
    .adobe-showcase {
        margin: 40px 0;
    }
    
    .adobe-logos-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .logo-wrapper {
        width: 65px;
        height: 65px;
    }
    
    .logo-wrapper img {
        width: 35px;
        height: 35px;
    }
    
    .adobe-logo-item span {
        font-size: 0.75rem;
    }
    
    .progress-container {
        margin: 35px auto 0;
        max-width: 400px;
    }
    
    .waves {
        height: 60px;
    }
}

/* Mobiles */
@media (max-width: 480px) {
    .loading-container {
        padding: 20px 15px;
    }
    
    .main-logo {
        margin-bottom: 40px;
    }
    
    .logo-circle {
        width: 100px;
        height: 100px;
        margin-bottom: 20px;
    }
    
    .logo-circle img {
        width: 60px;
        height: 60px;
    }
    
    .logo-title {
        font-size: 2.5rem;
        margin-bottom: 8px;
    }
    
    .logo-subtitle {
        font-size: 1rem;
        letter-spacing: 2px;
    }
    
    .adobe-showcase {
        margin: 35px 0;
    }
    
    .adobe-title {
        margin-bottom: 25px;
    }
    
    .adobe-title span {
        font-size: 1rem;
    }
    
    .adobe-logos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .logo-wrapper {
        width: 60px;
        height: 60px;
    }
    
    .logo-wrapper img {
        width: 32px;
        height: 32px;
    }
    
    .adobe-logo-item span {
        font-size: 0.7rem;
    }
    
    .progress-container {
        margin: 30px auto 0;
    }
    
    .progress-text {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .loading-message {
        font-size: 0.9rem;
        order: 2;
    }
    
    .progress-percent {
        font-size: 0.9rem;
        order: 1;
    }
    
    .waves {
        height: 50px;
    }
}

/* Petits mobiles */
@media (max-width: 360px) {
    .loading-container {
        padding: 15px 10px;
    }
    
    .logo-circle {
        width: 90px;
        height: 90px;
    }
    
    .logo-circle img {
        width: 50px;
        height: 50px;
    }
    
    .logo-title {
        font-size: 2.2rem;
    }
    
    .logo-subtitle {
        font-size: 0.9rem;
    }
    
    .adobe-logos-grid {
        gap: 15px;
    }
    
    .logo-wrapper {
        width: 55px;
        height: 55px;
    }
    
    .logo-wrapper img {
        width: 30px;
        height: 30px;
    }
    
    .progress-container {
        margin: 25px auto 0;
    }
}

/* Orientation paysage mobile */
@media (max-height: 600px) and (orientation: landscape) {
    .loading-container {
        padding: 20px;
        transform: scale(0.9);
    }
    
    .main-logo {
        margin-bottom: 30px;
    }
    
    .logo-circle {
        width: 80px;
        height: 80px;
        margin-bottom: 15px;
    }
    
    .logo-circle img {
        width: 45px;
        height: 45px;
    }
    
    .logo-title {
        font-size: 2rem;
        margin-bottom: 5px;
    }
    
    .logo-subtitle {
        font-size: 0.8rem;
    }
    
    .adobe-showcase {
        margin: 20px 0;
    }
    
    .adobe-logos-grid {
        gap: 15px;
    }
    
    .progress-container {
        margin: 20px auto 0;
    }
}

/* Réduire les animations sur mobile pour les performances */
@media (max-width: 768px) {
    .particle {
        animation-duration: 10s;
    }
    
    .logo-circle {
        animation: logoGlowMobile 4s ease-in-out infinite;
    }
}

@keyframes logoGlowMobile {
    0%, 100% {
        box-shadow: 
            0 0 40px rgba(227, 6, 19, 0.5),
            inset 0 0 15px rgba(255, 255, 255, 0.15);
    }
    50% {
        box-shadow: 
            0 0 60px rgba(227, 6, 19, 0.7),
            inset 0 0 20px rgba(255, 255, 255, 0.2);
    }
}

/* Support pour les préférences de réduction de mouvement */
@media (prefers-reduced-motion: reduce) {
    .loading-background,
    .particle,
    .logo-circle,
    .adobe-logo-item,
    .progress-glow,
    .wave {
        animation: none !important;
    }
    
    .logo-circle {
        box-shadow: 0 0 40px rgba(227, 6, 19, 0.6);
    }
}

/* Cacher le contenu principal pendant le loading */
body:not(.loaded) .navbar,
body:not(.loaded) .banner,
body:not(.loaded) .services,
body:not(.loaded) .realisations,
body:not(.loaded) .team,
body:not(.loaded) .testimonials,
body:not(.loaded) .portfolio-carousel,
body:not(.loaded) .footer {
    opacity: 0;
}

body.loaded .navbar,
body.loaded .banner,
body.loaded .services,
body.loaded .realisations,
body.loaded .team,
body.loaded .testimonials,
body.loaded .portfolio-carousel,
body.loaded .footer {
    opacity: 1;
    transition: opacity 0.5s ease;
}

/* Animations après le loading */
body.loaded .navbar {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: all 0.8s ease !important;
}

body.loaded .banner-title,
body.loaded .banner-subtitle,
body.loaded .cta-button {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Animations au scroll */
.service-card,
.team-member,
.testimonial-card,
.realisation-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.service-card.animate-in,
.team-member.animate-in,
.testimonial-card.animate-in,
.realisation-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Délais d'animation pour les cartes services */
.service-card:nth-child(1) { transition-delay: 0.1s; }
.service-card:nth-child(2) { transition-delay: 0.2s; }
.service-card:nth-child(3) { transition-delay: 0.3s; }
.service-card:nth-child(4) { transition-delay: 0.4s; }
.service-card:nth-child(5) { transition-delay: 0.5s; }
.service-card:nth-child(6) { transition-delay: 0.6s; }


/* LOGOS ADOBE FLOTTANTS DANS LA BANNIÈRE */
.adobe-floating-logos {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-logo {
    position: absolute;
    width: 30px;
    height: 30px;
    opacity: 0.2;
    animation: floatLogo 15s ease-in-out infinite;
    animation-delay: var(--delay);
    left: var(--x);
    top: var(--y);
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.floating-logo:hover {
    opacity: 0.4;
    transform: scale(1.3);
}

.floating-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@keyframes floatLogo {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(20px, -25px) rotate(5deg);
    }
    50% {
        transform: translate(-15px, 15px) rotate(-5deg);
    }
    75% {
        transform: translate(25px, 20px) rotate(3deg);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .floating-logo {
        width: 25px;
        height: 25px;
    }
}
/* À AJOUTER DANS VOTRE CSS EXISTANT - NE REMPLACE RIEN */
body.contact-page {
    padding-top: 80px;
    
}

body.contact-page .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    
}

/* CORRECTION FOOTER SUR PAGE CONTACT */
body.contact-page .footer {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    background: black !important;
    color: white !important;
    width: 100% !important;
    margin-top: 0 !important;
}

/* S'assurer que le contenu principal a de l'espace */
body.contact-page main {
    min-height: calc(100vh - 200px); /* Laisser de la place pour le footer */
    padding: 40px 0;
}
/* RESET COMPLET DU HEADER */
body.contact-page header,
body.contact-page .navbar {
    all: unset !important;
    display: block !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    background-color: #FAFAFA !important;
    padding: 12px 20px !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1) !important;
}

body.contact-page .navbar {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

body.contact-page .logo,
body.contact-page .logo img {
    all: unset !important;
    display: block !important;
    max-width: 100px !important;
    height: auto !important;
}

body.contact-page .nav-links,
body.contact-page .nav-links li,
body.contact-page .nav-links a {
    all: unset !important;
    display: flex !important;
    list-style: none !important;
}

body.contact-page .nav-links {
    gap: 20px !important;
}

body.contact-page .nav-links a {
    color: #1C1C1C !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    padding: 8px 12px !important;
    border-radius: 5px !important;
}

body.contact-page .nav-links a:hover {
    color: #e30613 !important;
    background-color: rgba(227, 6, 19, 0.1) !important;
}
/* HEADER PAGE CONTACT - VERSION FINALE */
body.contact-page header {
    display: block !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    background-color: #FAFAFA !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1) !important;
}

body.contact-page .navbar {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    max-width: 100% !important; /* Changé de 1200px à 100% */
    margin: 0 auto !important;
    padding: 12px 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Logo */
body.contact-page .logo {
    display: block !important;
    flex-shrink: 0 !important;
}

body.contact-page .logo img {
    display: block !important;
    max-width: 100px !important;
    height: auto !important;
    cursor: pointer !important;
}

/* Navigation */
body.contact-page .nav-links {
    display: flex !important;
    gap: 20px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.contact-page .nav-links li {
    display: block !important;
}

body.contact-page .nav-links a {
    color: #1C1C1C !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    font-size: 1rem !important;
    padding: 8px 12px !important;
    border-radius: 5px !important;
    transition: all 0.3s ease !important;
    display: block !important;
    cursor: pointer !important;
    position: relative !important;
}

body.contact-page .nav-links a:hover {
    color: #e30613 !important;
    background-color: rgba(227, 6, 19, 0.1) !important;
}

body.contact-page .nav-links a.active {
    color: #e30613 !important;
    background-color: rgba(227, 6, 19, 0.1) !important;
}

/* Menu burger - TOUJOURS VISIBLE SUR MOBILE */
body.contact-page .menu-burger {
    display: none !important; /* Caché par défaut */
    flex-direction: column !important;
    gap: 4px !important;
    cursor: pointer !important;
    padding: 5px !important;
    background: none !important;
    border: none !important;
}

body.contact-page .menu-burger .line {
    width: 25px !important;
    height: 3px !important;
    background-color: #e30613 !important;
    transition: all 0.3s ease !important;
}

/* RESPONSIVE - AFFICHER LE BURGER SUR MOBILE */
@media (max-width: 768px) {
    /* Cacher la navigation normale */
    body.contact-page .nav-links {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        height: 100vh !important;
        width: 250px !important;
        background-color: #1C1C1C !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 30px !important;
        transition: right 0.3s ease !important;
        z-index: 1001 !important;
    }

    body.contact-page .nav-links.active {
        right: 0 !important;
    }

    body.contact-page .nav-links a {
        color: #FAFAFA !important;
        font-size: 1.2rem !important;
    }

    /* AFFICHER le menu burger sur mobile */
    body.contact-page .menu-burger {
        display: flex !important; /* Affiché sur mobile */
        z-index: 1002 !important;
    }

    body.contact-page .menu-burger.active .line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    body.contact-page .menu-burger.active .line:nth-child(2) {
        opacity: 0;
    }

    body.contact-page .menu-burger.active .line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

/* S'assurer que le contenu n'est pas caché */
body.contact-page {
    padding-top: 80px !important;
}
/* ===== SECTION RÉALISATIONS REDESIGN ===== */
.realisations {
    padding: 100px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
}


/* Grid des réalisations */
.realisations-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

/* Cartes de réalisations */
.realisation-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(227, 6, 19, 0.1);
}

.realisation-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 25px 60px rgba(227, 6, 19, 0.15),
        0 0 0 1px rgba(227, 6, 19, 0.1);
}

.card-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

/* Overlay principal */
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, 0.1) 30%,
        rgba(0, 0, 0, 0.8) 100%
    );
    display: flex;
    align-items: flex-end;
    padding: 30px;
    opacity: 0;
    transition: all 0.4s ease;
}

.realisation-card:hover .card-overlay {
    opacity: 1;
}

.overlay-content {
    transform: translateY(30px);
    transition: transform 0.4s ease;
}

.realisation-card:hover .overlay-content {
    transform: translateY(0);
}

.overlay-content h4 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
}

.overlay-content p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 15px;
    color: #e0e0e0;
}

.project-meta {
    display: flex;
    gap: 15px;
    align-items: center;
}

.project-category {
    background: rgba(227, 6, 19, 0.9);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-date {
    color: #e0e0e0;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Icône hover */
.card-hover {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e30613;
    font-size: 1.2rem;
    opacity: 0;
    transform: scale(0.8);
    transition: transform 0.3s ease, opacity 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.realisation-card:hover .card-hover {
    opacity: 1;
    transform: scale(1);
}

/* CTA Section */
.realisations-cta {
    margin-top: 80px;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 60px 40px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-radius: 20px;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e30613, #ff4757);
}

.cta-content h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 35px;
    background: #e30613;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(227, 6, 19, 0.4);
    border: 2px solid transparent;
}

.cta-button:hover {
    background: #ff4757;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(227, 6, 19, 0.6);
}

.cta-button i {
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: translateX(5px);
}

/* ===== MODAL PREMIUM ===== */
.realisation-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.realisation-modal.active {
    display: block;
    opacity: 1;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.modal-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
    max-width: 1200px;
    max-height: 95vh;
    background: #1a1a1a;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
    border: 1px solid #333;
    display: flex;
    flex-direction: column;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    z-index: 10;
    transition: transform 0.3s ease, opacity 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: #e30613;
    transform: rotate(90deg);
}

/* Header du modal */
.modal-header {
    padding: 40px 40px 30px;
    border-bottom: 1px solid #333;
    position: relative;
}

.project-badge {
    display: inline-block;
    background: #e30613;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.modal-header h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
}

.modal-header p {
    font-size: 1.1rem;
    color: #e0e0e0;
    opacity: 0.8;
    margin: 0;
}

/* Contenu du modal */
.modal-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
    overflow-y: auto;
    flex: 1;
}

/* Galerie */
.project-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.gallery-main {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: #0a0a0a;
    aspect-ratio: 4/3;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.gallery-thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
}

.thumbnail {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: transform 0.3s ease, opacity 0.3s ease;
    border: 2px solid transparent;
}

.thumbnail:hover,
.thumbnail.active {
    opacity: 1;
    border-color: #e30613;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Détails du projet */
.project-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.detail-section h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--main-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-section h4 i {
    color: var(--text-dark);
}

.detail-section p {
    color: var(--dark);
    line-height: 1.6;
    margin: 0;
}

/* Technologies */
.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-item {
    background: rgba(227, 6, 19, 0.1);
    color: #e30613;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(227, 6, 19, 0.3);
}

/* Métadonnées */
.project-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid #333;
}

.meta-item i {
    width: 40px;
    height: 40px;
    background: rgba(227, 6, 19, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e30613;
    font-size: 1.1rem;
}

.meta-label {
    display: block;
    font-size: 0.8rem;
    color: var(--dark-red);
    margin-bottom: 4px;
}

.meta-value {
    display: block;
    font-size: 0.95rem;
    color: var(--dark);
    font-weight: 600;
}

/* Footer du modal */
.modal-footer {
    padding: 30px 40px;
    border-top: 1px solid #333;
}

.project-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.btn-outline, .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-outline {
    background: transparent;
    color: #e0e0e0;
    border-color: #333;
}

.btn-outline:hover {
    border-color: #e30613;
    color: white;
}

.btn-primary {
    background: #e30613;
    color: white;
}

.btn-primary:hover {
    background: #ff4757;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(227, 6, 19, 0.4);
}

/* ===== ANIMATIONS ===== */
.realisation-card {
    opacity: 0;
    transform: translateY(50px);
    animation: cardEntrance 0.8s ease forwards;
}

.realisation-card:nth-child(1) { animation-delay: 0.1s; }
.realisation-card:nth-child(2) { animation-delay: 0.2s; }
.realisation-card:nth-child(3) { animation-delay: 0.3s; }
.realisation-card:nth-child(4) { animation-delay: 0.4s; }
.realisation-card:nth-child(5) { animation-delay: 0.5s; }
.realisation-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes cardEntrance {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .modal-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .project-meta-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .realisations {
        padding: 80px 20px;
    }
    
    .realisations-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        gap: 20px;
    }
    
    .realisations-filters {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .filter-btn {
        width: 200px;
    }
    
    .modal-container {
        width: 98%;
        max-height: 98vh;
    }
    
    .modal-content {
        padding: 25px;
    }
    
    .modal-header {
        padding: 30px 25px 20px;
    }
    
    .modal-header h3 {
        font-size: 1.8rem;
    }
    
    .project-actions {
        flex-direction: column;
    }
    
    .btn-outline, .btn-primary {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .realisations {
        padding: 60px 15px;
    }
    
    .card-image {
        height: 220px;
    }
    
    .cta-content {
        padding: 40px 25px;
    }
    
    .cta-content h3 {
        font-size: 1.8rem;
    }
    
    .modal-content {
        padding: 20px;
    }
    
    .modal-header {
        padding: 25px 20px 15px;
    }
    
    .modal-header h3 {
        font-size: 1.5rem;
    }
}
/* === MODIFICATION COULEUR FOOTER - NOIR ÉLÉGANT === */
.footer {
  background: #000000 !important;
}

.copyright-section {
  background: #0a0a0a !important;
}

.adobe-section {
  background: rgba(0, 0, 0, 0.2) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* === SUPPRESSION DES LIENS CONFIDENTIALITÉ + CENTRAGE === */
.legal-links {
  display: none !important; /* Cache tous les liens légaux */
}

.copyright-content {
  justify-content: center !important; /* Centre le copyright */
  text-align: center !important;
}

.copyright-content p {
  margin: 0 auto !important; /* Centre le texte */
  width: 100% !important;
}
/* === NOUVELLE SECTION STATS MODERNE AVEC BARRES === */
.modern-stats {
  padding: 100px 20px;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  position: relative;
  overflow: hidden;
}

.modern-stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #e30613, #ff4757, #e30613);
}

.stats-grid-modern {
  max-width: 1000px;
  margin: 60px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}

.stat-item-modern {
  text-align: center;
  position: relative;
  padding: 30px 20px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 20px;
  border: 1px solid rgba(227, 6, 19, 0.2);
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
}

.stat-item-modern:hover {
  transform: translateY(-10px);
  border-color: rgba(227, 6, 19, 0.5);
  box-shadow: 0 20px 40px rgba(227, 6, 19, 0.2);
}

/* Cercles de progression */
.progress-circle {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  position: relative;
}

.circle-bg {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
}

.circle-progress {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 0;
  background: conic-gradient(#e30613 var(--progress, 0%), transparent 0%);
  mask: radial-gradient(transparent 50%, black 51%);
  -webkit-mask: radial-gradient(transparent 50%, black 51%);
  transition: --progress 1.5s ease-in-out;
}

.circle-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.stat-number-modern {
  font-size: 2.2rem;
  font-weight: 800;
  color: #e30613;
  margin-bottom: 5px;
  font-family: 'Arial', sans-serif;
}

.stat-symbol {
  font-size: 1.2rem;
  color: #ff4757;
}

.stat-label-modern {
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Barres de progression pour certains éléments */
.progress-bar-container {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin: 15px auto;
  overflow: hidden;
  position: relative;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #e30613, #ff4757);
  border-radius: 10px;
  width: 0%;
  transition: width 1.5s ease-in-out;
  position: relative;
}

.progress-bar-glow {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: glowMove 2s ease-in-out infinite;
}

/* Animation des barres */
@keyframes glowMove {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Supprimer les anciennes sections */
.team-stats,
.satisfaction-stats {
  display: none !important;
}
/* === CORRECTION TITRE STATS === */
.modern-stats .section-title h3 {
  color: white !important;
}

.modern-stats .section-subtitle {
  color: #e0e0e0 !important;
}

/* Section expertise design */
.adobe-section {
    padding: 30px 0;
    border-bottom: 1px solid rgba(227, 6, 19, 0.2);
}

.adobe-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.adobe-container h4 {
    color: #e30613;
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.adobe-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.adobe-logo {
    transition: all 0.3s ease;
}

.adobe-logo:hover {
    transform: translateY(-5px) scale(1.1);
}

.adobe-logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.adobe-logo:hover img {
    filter: drop-shadow(0 5px 15px rgba(227, 6, 19, 0.4));
}

/* Responsive */
@media (max-width: 768px) {
    .adobe-logos {
        gap: 30px;
    }
    
    .adobe-logo img {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .adobe-logos {
        gap: 25px;
    }
    
    .adobe-logo img {
        width: 40px;
        height: 40px;
    }
}


