/* ========================================
   VARIABLES ET COULEURS GLOBALES
   ======================================== */
:root {
  --primary-dark: #0a0e27;
  --accent-teal: #06d6a0;
  --accent-cyan: #00d4ff;
  --accent-emerald: #118b7e;
  --text-primary: #ffffff;
  --text-secondary: #b0b8c8;
  --border-color: #1e2d47;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
  .page-header {
    padding: 60px 0 40px 0;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .page-content {
    padding: 40px 0;
  }

  .page-content h2 {
    font-size: 1.4rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .clients-title {
    font-size: 1.8rem;
  }

  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .client-logo {
    width: 120px;
    height: 120px;
  }

  .swiper-button-prev {
    right: 50px;
  }

  .portfolio-swiper .card {
    margin: 0 auto;
    max-width: 100%;
  }
}

/* Respect des préférences de mouvement réduit (accessibilité) */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Désactiver les animations au chargement */
html.loading * {
  animation: none !important;
  transition: none !important;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, var(--primary-dark) 0%, #0f1535 100%);
  color: var(--text-primary);
  margin: 0;
  padding: 0;
}


/* ========================================
   MENU BURGER - FULLSCREEN MOBILE (< 992px)
   ======================================== */

/* Le burger button - VISIBLE SEULEMENT sur MOBILE */
.navbar-toggler {
  border: none;
  padding: 0.5rem;
  width: 48px;
  height: 48px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  z-index: 1051;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 8px;
}

.navbar-toggler:hover {
  background: rgba(6, 214, 160, 0.1);
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: unset;
}

/* L'icône hamburger (3 barres) */
.navbar-toggler-icon {
  width: 30px;
  height: 24px;
  position: relative;
  display: inline-block;
  background: none !important;
  transition: all 0.3s ease;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 3px;
  background: var(--accent-teal);
  left: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
  transform-origin: center;
}

.navbar-toggler-icon::before {
  top: 0;
  box-shadow: 0 11px 0 0 var(--accent-teal);
}

.navbar-toggler-icon::after {
  bottom: 0;
}

/* Animation du hamburger en X */
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background: transparent !important;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  box-shadow: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* MENU FULLSCREEN */
.navbar-collapse {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, var(--primary-dark) 0%, #0f1535 100%);
  z-index: 1050;
  padding: 80px 2rem 2rem 2rem;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-collapse.show {
  transform: translateX(0);
}

.navbar-collapse .navbar-nav {
  flex-direction: column;
  gap: 1.5rem;
  /*margin-bottom: 3rem;*/
}

.navbar-collapse .nav-link {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-primary) !important;
  padding: 0.5rem 0 !important;
}

.navbar-collapse .nav-link:hover {
  color: var(--accent-teal) !important;
}

.navbar-collapse .btn-gradient {
  margin-top: 2rem;
  width: 100%;
  padding: 0.9rem 1.5rem !important;
}

.navbar-collapse .menu-footer {
  margin-top: 1.5rem;
  /*padding-top: 2rem;*/
  /*border-top: 1px solid var(--border-color);*/
}

.navbar-collapse .menu-footer strong {
  color: var(--text-primary);
  display: block;
  margin-bottom: 1rem;
  font-weight: 700;
}

.navbar-collapse .menu-footer p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.navbar-collapse .copyright {
  margin-top: 2rem !important;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* ========================================
   ACCESSIBILITÉ
   ======================================== */

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--accent-teal);
  color: var(--primary-dark);
  padding: 8px 12px;
  text-decoration: none;
  z-index: 1100;
  font-weight: 600;
}

.skip-link:focus {
  top: 0;
}

/* NAVBAR */
.navbar {
  background: rgba(10, 14, 39, 0.9) !important;
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1050;
  min-height: 70px;
  padding: 0.5rem 0;
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-primary) !important;
  /*
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;*/
}

.nav-link {
  color: var(--text-secondary) !important;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:focus {
  /*  outline: 2px solid var(--accent-teal);
    outline-offset: 2px;
  
    border-radius: 4px;*/
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-teal) !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-teal), var(--accent-cyan));
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* DESKTOP/TABLET - Menu affiché normalement (>= 992px) */
@media (min-width: 992px) {
  /* Cacher le burger menu sur desktop */
  .navbar-toggler {
    display: none !important;
  }

  .navbar-toggler-icon {
    display: none !important;
  }

  .navbar-collapse {
    position: static !important;
    background: none !important;
    transform: none !important;
    height: auto !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  .navbar-collapse .navbar-nav {
    flex-direction: row !important;
    gap: 2rem !important;
    margin-bottom: 0 !important;
    align-items: center;
  }

  .navbar-collapse .nav-link {
    font-size: 1rem !important;
    padding: 0.5rem 0 !important;
  }

  .navbar-collapse .btn-gradient {
    margin-top: 0 !important;
    width: auto !important;
    padding: 0.6rem 1.5rem !important;
    margin-left: 1rem;
  }

  .navbar-collapse .menu-footer {
    display: none !important;
  }
}


/* ========================================
   ANIMATIONS ET KEYFRAMES
   ======================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

@keyframes countUp {
  from {
    counter-increment: count 0;
  }
  to {
    counter-increment: count var(--target);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Classes d'animations réutilisables */
.animate-fade-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-down {
  animation: fadeInDown 0.8s ease-out forwards;
}

.animate-slide-left {
  animation: slideInLeft 0.8s ease-out forwards;
}

.animate-slide-right {
  animation: slideInRight 0.8s ease-out forwards;
}

.animate-scale {
  animation: scaleIn 0.6s ease-out forwards;
}

.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

/* Stagger animations pour les listes */
.animate-stagger > * {
  animation: fadeInUp 0.6s ease-out backwards;
}

.animate-stagger > :nth-child(1) {
  animation-delay: 0.1s;
}

.animate-stagger > :nth-child(2) {
  animation-delay: 0.2s;
}

.animate-stagger > :nth-child(3) {
  animation-delay: 0.3s;
}

.animate-stagger > :nth-child(4) {
  animation-delay: 0.4s;
}

.animate-stagger > :nth-child(5) {
  animation-delay: 0.5s;
}

.animate-stagger > :nth-child(6) {
  animation-delay: 0.6s;
}


/* Animation pour les compteurs */
.stat-number {
  font-variant-numeric: tabular-nums;
}

.counter {
  font-weight: 800;
  font-size: 2.5rem;
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


.btn-gradient {
  background: linear-gradient(135deg, rgba(6, 214, 160, 0.8), rgba(0, 212, 255, 0.8));
  color: white;
  border: none;
  font-weight: 600;
  transition: all 0.3s ease;
  animation: none !important;
}

.btn-gradient:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(6, 214, 160, 0.3);
  color: white;
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-cyan));
}

.btn-outline-gradient {
  color: var(--accent-cyan);
  border: 2px solid var(--accent-cyan);
  background: transparent;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-gradient:hover {
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-cyan));
  color: white;
  border-color: var(--accent-cyan);
  transform: translateY(-3px);
}

.btn-portfolio-link {
  align-self: center;
  /*margin-top: auto;*/
  padding: 0.5rem 1.5rem !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.btn-portfolio-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(6, 214, 160, 0.4) !important;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  /*padding-top: 70px;*/
  animation: none !important;
  opacity: 1;
  visibility: visible;
  transition: none !important;
}

.hero h1 {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 1.5rem;
  animation: none !important;
  transition: none !important;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: none !important;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  font-weight: 300;
  margin-bottom: 2rem;
  animation: none !important;
  transition: none !important;
}

/* ========================================
   PAGE HEADER (Mentions légales, etc)
   ======================================== */
.page-header {
  padding: 100px 0 60px 0;
  text-align: center;
  background: linear-gradient(135deg, rgba(6, 214, 160, 0.05) 0%, rgba(0, 212, 255, 0.05) 100%);
  border-bottom: 1px solid var(--border-color);
  /*margin-top: 60px;*/
}

.page-header h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.page-header h1 span {
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-weight: 300;
}

/* ========================================
   PAGE CONTENT
   ======================================== */
.page-content {
  padding: 60px 0;
}

.page-content h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.page-content h2:first-child {
  margin-top: 0;
}

.page-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  color: var(--accent-teal);
}

.page-content p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.page-content ul,
.page-content ol {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  margin-left: 2rem;
}

.page-content li {
  margin-bottom: 0.8rem;
  line-height: 1.8;
}

.page-content a {
  color: var(--accent-teal);
  text-decoration: none;
  transition: all 0.3s ease;
}

.page-content a:hover {
  color: var(--accent-cyan);
  text-decoration: underline;
}

/* ========================================
   SECTIONS ET TITRES
   ======================================== */
.section-title h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-title h2 span {
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-weight: 300;
}

/* ========================================
   CARDS
   ======================================== */
.card {
  background: rgba(20, 33, 61, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  transition: all 0.3s ease;
  color: var(--text-primary);
}

.card:hover {
  border-color: var(--accent-teal);

  box-shadow: 0 20px 50px rgba(6, 214, 160, 0.15);
  background: linear-gradient(135deg, rgba(6, 214, 160, 0.2), rgba(0, 212, 255, 0.2));
}

.card-icon {
  font-size: 2.5rem;
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(6, 214, 160, 0.2), rgba(0, 212, 255, 0.2));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-teal);
  margin-bottom: 1rem;
}

.card-body {
  display: flex;
  flex-direction: column;
}

.card-body .card-text {
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.card-title {
  font-weight: 600;
  margin-bottom: 1rem;
}

.card-text {
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.8;
}

/* PORTFOLIO CARDS */
.portfolio-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.portfolio-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(6, 214, 160, 0.1);
}

.badge-gradient {
  display: inline-block;
  background: linear-gradient(135deg, rgba(6, 214, 160, 0.15), rgba(0, 212, 255, 0.15));
  color: var(--accent-teal);
  border: 1px solid rgba(6, 214, 160, 0.3);
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-bottom: 0.5rem;
}

.badge-gradient:hover {
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-cyan));
  color: white;
  border-color: var(--accent-teal);
}

/* ========================================
   STATS
   ======================================== */
.stat-number {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 400;
}

/* ========================================
   FORMULAIRE
   ======================================== */
.form-control,
.form-control:focus {
  background: rgba(20, 33, 61, 0.6);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}

.form-control:focus {
  border-color: var(--accent-teal);
  background: rgba(6, 214, 160, 0.05);
  box-shadow: 0 0 0 0.2rem rgba(6, 214, 160, 0.1);
}

.form-control::placeholder {
  color: var(--text-secondary);
}

.form-label {
  color: var(--text-primary);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

/* ========================================
   FOOTER
   ======================================== */
footer {
  background: var(--primary-dark);
  border-top: 1px solid var(--border-color);
  color: var(--text-secondary);
  margin-top: 80px;
}

footer a {
  color: var(--accent-teal);
  text-decoration: none;
  transition: all 0.3s ease;
}

footer a:hover {
  color: var(--accent-cyan);
}

/* ========================================
   SLIDER SWIPER (RÉALISATIONS)
   ======================================== */
.swiper {
  width: 100%;
  padding-bottom: 50px;
}

.swiper-slide {
  height: auto;
}

.swiper-pagination {
  position: relative;
  margin-top: 2rem;
}

.swiper-pagination-bullet {
  background: var(--border-color);
  opacity: 0.7;
  width: 10px;
  height: 10px;
}

.swiper-pagination-bullet-active {
  background: var(--accent-teal);
  opacity: 1;
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--accent-teal);
  background: rgba(6, 214, 160, 0.1);
  width: 40px;
  height: 40px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: rgba(6, 214, 160, 0.2);
  color: var(--accent-cyan);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 18px;
  font-weight: 700;
}

/* ========================================
   SECTION CLIENTS / "ILS NOUS FONT CONFIANCE"
   ======================================== */
.clients-section {
  padding: 80px 0;
  text-align: center;
}

.clients-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 2rem;
  color: var(--text-primary);
}

.clients-title span {
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  align-items: center;
  justify-items: center;
}

.client-logo {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  /*background: rgba(20, 33, 61, 0.6);*/
  /*border: 1px solid var(--border-color);*/
  border-radius: 32px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  filter: grayscale(100%);
  opacity: 0.6;
}

.client-logo:hover {
  /*background: linear-gradient(135deg, rgba(6, 214, 160, 0.1), rgba(0, 212, 255, 0.1));*/
  /*border-color: var(--accent-teal);*/
  filter: grayscale(0%);
  opacity: 1;

}

.client-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.client-logo-text {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-secondary);
}


@media (max-width: 768px) {
  .page-header {
    padding: 80px 0 40px 0;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .page-content {
    padding: 40px 0;
  }

  .page-content h2 {
    font-size: 1.4rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .navbar-collapse {
    padding: 80px 1.5rem 2rem 1.5rem;
  }

  .navbar-collapse .nav-link {
    font-size: 1.2rem;
  }
}


.bg-section {
  background: rgba(20, 33, 61, 0.6);
}

.agency-logo {
  display: inline-block;
  width: 48px;
  height: 48px;
  margin-right: 10px;
  vertical-align: middle;
  padding: 4px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  border-radius: 999px;
}

.agency-logo img {
  border-radius: 999px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.project-header {
  padding: 100px 0 60px 0;
  background: linear-gradient(135deg, rgba(6, 214, 160, 0.05) 0%, rgba(0, 212, 255, 0.05) 100%);
  border-bottom: 1px solid var(--border-color);
  }

.project-header h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.project-header h1 span {
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.project-meta {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.meta-item strong {
  color: var(--accent-teal);
}

.project-content {
  padding: 60px 0;
}

.project-section {
  margin-bottom: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-color);
}

.project-section:last-child {
  border-bottom: none;
}

.project-section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.project-section h2 span {
  color: var(--accent-teal);
}

.project-section p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.project-section ul {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}

.project-section li {
  color: var(--text-secondary);
  margin-bottom: 0.8rem;
  line-height: 1.8;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.gallery-item {
  background: rgba(20, 33, 61, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.gallery-item:hover {
  border-color: var(--accent-teal);
  transform: translateY(-8px);
}

.gallery-image {
  width: 100%;
  height: 250px;
  background: linear-gradient(135deg, rgba(6, 214, 160, 0.1), rgba(0, 212, 255, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.gallery-caption {
  padding: 1.5rem;
  text-align: center;
}

.gallery-caption p {
  margin: 0;
  font-size: 0.9rem;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.result-card {
  background: rgba(20, 33, 61, 0.6);
  border: 1px solid var(--border-color);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
}

.result-card:hover {
  border-color: var(--accent-teal);
  background: linear-gradient(135deg, rgba(6, 214, 160, 0.1), rgba(0, 212, 255, 0.1));
}

.result-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.result-label {
  color: var(--text-secondary);
  font-weight: 600;
}

.tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.tech-badge {
  background: linear-gradient(135deg, rgba(6, 214, 160, 0.2), rgba(0, 212, 255, 0.2));
  color: var(--accent-teal);
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  border: 1px solid rgba(6, 214, 160, 0.3);
  font-weight: 600;
  font-size: 0.9rem;
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-teal);
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.back-button:hover {
  color: var(--accent-cyan);
  gap: 1rem;
}

@media (max-width: 768px) {
  .project-header {
    padding: 80px 0 40px 0;
  }

  .project-header h1 {
    font-size: 2rem;
  }

  .project-meta {
    gap: 1rem;
  }

  .meta-item {
    flex-direction: column;
    gap: 0.2rem;
  }

  .project-section h2 {
    font-size: 1.5rem;
  }
}

/* Fin du fichier styles.css */



.portfolio-swiper { padding: 0 0 50px 0; }
.portfolio-swiper .card { transition: all 0.3s ease; min-height: 100%; }
.portfolio-swiper .card:hover { box-shadow: 0 20px 50px rgba(6, 214, 160, 0.15); }
@media (max-width: 768px) { .portfolio-swiper .card:hover {  box-shadow: 0 15px 40px rgba(6, 214, 160, 0.1);} }
@media (max-width: 576px) { .portfolio-swiper .card:hover { transform: none; box-shadow: 0 10px 30px rgba(6, 214, 160, 0.1);} }
.swiper-button-next, .swiper-button-prev { top: auto; bottom: -50px; }
.swiper-button-prev { left: auto; right: 50px; }
.swiper-button-next { right: 0; }
.clients-swiper { padding: 30px 0 70px 0; }
.clients-swiper .swiper-slide { display: flex; justify-content: center; align-items: center; }
.clients-swiper .swiper-button-next, .clients-swiper .swiper-button-prev { bottom: -60px; top: auto; }
.clients-swiper .swiper-button-prev { left: auto; right: 50px; }
.clients-swiper .swiper-button-next { right: 0; }
.clients-pagination { position: relative; margin-top: 2rem !important; }
