/* RESET & BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #3b82f6;
  --primary-dark: #1d4ed8;
  --secondary: #64748b;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --text: #374151;
  --text-light: #64748b;
  --border: #e2e8f0;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-alt);
  overflow-x: hidden;
}

/* TYPOGRAPHY */
h1, h2, h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p { margin-bottom: 1rem; color: var(--text-light); }

/* HEADER */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.logo {
  color: var(--text);
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo:hover {
  transform: scale(1.05);
}

.logo-brackets {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  font-family: 'Courier New', monospace;
  font-size: 1.4rem;
  font-weight: bold;
}

.bracket-open,
.bracket-close {
  color: #60a5fa; /* Bleu clair */
  transition: all 0.3s ease;
}

.logo-content {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.main-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--text);
  transition: all 0.3s ease;
  line-height: 1;
}

.sub-title {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 0.7rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

/* EFFETS AU SURVOL SANS OMBRE */
.logo:hover .bracket-open {
  transform: translateX(-3px) scale(1.1);
  color: #3b82f6; /* Bleu plus foncé au survol */
}

.logo:hover .bracket-close {
  transform: translateX(3px) scale(1.1);
  color: #3b82f6; /* Bleu plus foncé au survol */
}

.logo:hover .main-title {
  color: var(--primary);
}

.logo:hover .sub-title {
  color: var(--primary);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .logo {
    gap: 0.8rem;
  }
  
  .logo-brackets {
    font-size: 1.2rem;
  }
  
  .main-title {
    font-size: 1.2rem;
  }
  
  .sub-title {
    font-size: 0.6rem;
  }
}

@media (max-width: 480px) {
  .logo {
    gap: 0.6rem;
  }
  
  .logo-brackets {
    font-size: 1.1rem;
  }
  
  .main-title {
    font-size: 1.1rem;
  }
  
  .sub-title {
    font-size: 0.55rem;
  }
}

.nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 1rem;
  border-radius: 8px;
}

.nav a:hover {
  color: white;
  background: var(--primary);
  transform: translateY(-2px);
}

.btn {
  padding: 0.7rem 1.3rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  display: inline-block;
  font-size: 0.9rem;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
}

.btn-full-width {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--text);
  transition: all 0.3s ease;
}

/* HERO SECTION */
.hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #64748b 100%);
  position: relative;
  overflow: hidden;
  margin: 0;
  width: 100%;
  border-radius: 0 0 50% 50% / 0 0 100px 100px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.05);
}

/* Formes organiques flottantes */
.hero::after {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
  animation: float-shape 8s ease-in-out infinite;
}

@keyframes float-shape {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg);
    border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
  }
  25% { 
    transform: translateY(-20px) rotate(90deg);
    border-radius: 40% 60% 70% 30% / 40% 40% 60% 60%;
  }
  50% { 
    transform: translateY(-10px) rotate(180deg);
    border-radius: 80% 20% 55% 45% / 65% 35% 65% 35%;
  }
  75% { 
    transform: translateY(-30px) rotate(270deg);
    border-radius: 35% 65% 25% 75% / 60% 55% 45% 40%;
  }
}

.hero-floating-1 {
  position: absolute;
  top: 20%;
  left: 10%;
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: float-1 6s ease-in-out infinite;
}

@keyframes float-1 {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
  50% { 
    transform: translateY(-15px) rotate(180deg);
    border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
  }
}

.hero-floating-2 {
  position: absolute;
  bottom: 30%;
  right: 20%;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  animation: float-2 7s ease-in-out infinite reverse;
}

@keyframes float-2 {
  0%, 100% { 
    transform: translateX(0px) rotate(0deg);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
  50% { 
    transform: translateX(10px) rotate(-180deg);
    border-radius: 40% 60% 70% 30% / 40% 70% 30% 60%;
  }
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  color: white;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  font-size: clamp(2rem, 4vw, 3rem);
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

.hero-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-content .btn-primary {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.hero-content .btn-primary:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

/* MATRIX GLITCH HERO VISUAL */
.hero-visual {
  text-align: center;
  animation: float-subtle 6s ease-in-out infinite;
  margin: auto;
  width: fit-content;
  height: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  overflow: hidden;
}

.matrix-container {
  position: relative;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 10px;
  padding: 1.5rem;
  font-family: 'Courier New', monospace;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(16, 185, 129, 0.3);
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.2);
}

.matrix-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.8rem;
  animation: matrixGlitch 3s ease-in-out infinite;
}

.row-1 { animation-delay: 0s; }
.row-2 { animation-delay: 0.5s; }
.row-3 { animation-delay: 1s; }

.matrix-tag {
  color: #10b981;
  font-size: 0.8rem;
  opacity: 0.7;
  transition: all 0.3s ease;
  text-shadow: 0 0 5px rgba(16, 185, 129, 0.5);
  cursor: pointer;
}

.matrix-tag:hover {
  opacity: 1;
  transform: scale(1.1);
  text-shadow: 0 0 10px rgba(16, 185, 129, 0.8);
}

.matrix-tag.highlight {
  color: #3b82f6;
  font-weight: bold;
  font-size: 1rem;
  opacity: 1;
  text-shadow: 0 0 10px rgba(59, 130, 246, 0.8);
  animation: highlight 2s ease-in-out infinite;
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: rgba(59, 130, 246, 0.1);
}

.matrix-effect {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(16, 185, 129, 0.1) 2px,
    rgba(16, 185, 129, 0.1) 4px
  );
  animation: scanLines 2s linear infinite;
  pointer-events: none;
}

@keyframes matrixGlitch {
  0%, 100% { transform: translateX(0px); }
  10% { transform: translateX(-2px); }
  20% { transform: translateX(2px); }
  30% { transform: translateX(-1px); }
  40% { transform: translateX(1px); }
  50% { transform: translateX(0px); }
}

@keyframes highlight {
  0%, 100% { 
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.8);
    box-shadow: 0 0 5px rgba(59, 130, 246, 0.3);
  }
  50% { 
    text-shadow: 0 0 20px rgba(59, 130, 246, 1), 0 0 30px rgba(16, 185, 129, 0.5);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.6);
  }
}

@keyframes scanLines {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

@keyframes float-subtle {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-5px); }
}

/* SERVICES HERO SECTION */
/* SERVICES SECTION ULTRA-COMPACTE AVEC BULLES */
.services-hero {
  padding: 0;
}

.services-header-full {
  width: 100%;
  background: var(--bg-alt); /* Simple background gris clair */
  position: relative;
  overflow: hidden;
}

.services-header-bg {
  padding: 1rem 0; /* Ultra-réduit de 4rem à 1rem */
  position: relative;
}

/* GARDE LES BULLES FLOTTANTES */
.services-header-bg::before {
  content: '';
  position: absolute;
  top: -25px;
  right: -25px;
  width: 50px; /* Réduit de 150px à 50px */
  height: 50px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 50% 30% 60% 40% / 40% 50% 50% 60%;
  animation: float-shape-services 10s ease-in-out infinite;
}

.services-header-bg::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: -15px;
  width: 35px; /* Réduit de 100px à 35px */
  height: 35px;
  background: rgba(100, 116, 139, 0.1);
  border-radius: 40% 60% 30% 70% / 60% 40% 60% 40%;
  animation: float-shape-services 12s ease-in-out infinite reverse;
}

@keyframes float-shape-services {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg);
    border-radius: 50% 30% 60% 40% / 40% 50% 50% 60%;
  }
  33% { 
    transform: translateY(-5px) rotate(120deg); /* Réduit le mouvement */
    border-radius: 30% 70% 40% 60% / 60% 30% 70% 40%;
  }
  66% { 
    transform: translateY(3px) rotate(240deg);
    border-radius: 60% 40% 70% 30% / 30% 60% 40% 70%;
  }
}

.services-title-wrapper {
  text-align: center;
  position: relative;
  z-index: 2;
}

.services-title-wrapper h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem); /* Encore plus réduit */
  color: var(--text);
  margin-bottom: 0.2rem; /* Ultra-réduit */
  text-shadow: none;
  font-weight: 700;
  line-height: 1.2;
}

/* Supprime le paragraphe descriptif */
.services-title-wrapper p {
  display: none;
}

.services-hero .container {
  padding-top: 0.5rem; /* Réduit de 1rem à 0.5rem */
}

/* RESPONSIVE ULTRA-COMPACT */
@media (max-width: 768px) {
  .services-header-bg {
    padding: 0.8rem 0; /* Très compact sur mobile */
  }
  
  .services-title-wrapper h2 {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    margin-bottom: 0.1rem;
  }
  
  .services-hero .container {
    padding-top: 0.3rem;
  }

  /* Bulles plus petites sur mobile */
  .services-header-bg::before {
    width: 35px;
    height: 35px;
    top: -15px;
    right: -15px;
  }

  .services-header-bg::after {
    width: 25px;
    height: 25px;
    bottom: -10px;
    left: -10px;
  }
}

@media (max-width: 480px) {
  .services-header-bg {
    padding: 0.6rem 0;
  }
  
  .services-title-wrapper h2 {
    font-size: clamp(1.2rem, 4vw, 1.6rem);
    margin-bottom: 0;
  }

  .services-hero .container {
    padding-top: 0.2rem;
  }
}

/* SECTIONS */
.section {
  padding: 5rem 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
}

/* WORKS GRID */
.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.work-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  cursor: pointer;
}

.work-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.work-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(45deg, #f1f5f9, #e2e8f0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--primary);
  transition: all 0.3s ease;
}

.work-image-icon {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-bottom: 3px solid var(--primary);
}

.service-icon {
  font-size: 4rem;
  font-weight: 300;
  color: var(--primary);
  font-family: "Inter", sans-serif;
  transition: all 0.3s ease;
}

.work-card:hover .work-image-icon {
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  border-bottom-color: var(--primary-dark);
}

.work-card:hover .service-icon {
  color: var(--primary-dark);
  transform: scale(1.1);
}

.work-content {
  padding: 1.5rem;
}

.work-content h3 {
  margin-bottom: 0.5rem;
  color: var(--text);
}

.work-content p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* ABOUT SECTION */
.about-section {
  background: white;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #374151;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #64748b;
  margin-bottom: 1.5rem;
}

.stats-grid {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.stat-item {
  flex: 1;
  text-align: center;
  padding: 1.5rem 1rem;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #3b82f6;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: #64748b;
}

.process-card {
  background: white;
  border-radius: 15px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.process-header {
  padding: 1.5rem;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.process-title {
  font-weight: 600;
  color: #374151;
  font-size: 1.1rem;
}

.process-content {
  padding: 1.5rem;
}

.process-step {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1rem;
}

.process-step:last-child {
  margin-bottom: 0;
}

.step-number {
  width: 35px;
  height: 35px;
  background: #3b82f6;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
}

.step-text {
  font-weight: 500;
  color: #374151;
}

/* GALLERY SECTION */
.gallery-section {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.gallery-header {
  text-align: center;
  margin-bottom: 3rem;
}

.gallery-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  color: #374151;
  position: relative;
  display: inline-block;
}

.gallery-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 4px;
  background: #3b82f6;
  border-radius: 2px;
}

.gallery-header p {
  font-size: 1.1rem;
  color: #64748b;
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.75rem 1.5rem;
  border: 2px solid #e2e8f0;
  background: white;
  color: #64748b;
  border-radius: 25px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: #3b82f6;
  color: white;
  border-color: #3b82f6;
  transform: translateY(-2px);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.gallery-item {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.gallery-item.hidden {
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
}

.gallery-image {
  position: relative;
  width: 100%;
  height: 250px; /* CARRÉ 250x250 */
  overflow: hidden;
  border-radius: 15px 15px 0 0;
}

.gallery-placeholder {
  width: 250px;
  height: 100%;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.gallery-icon {
  font-size: 4rem;
  color: #3b82f6;
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-icon {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.95), rgba(30, 58, 138, 0.95));
  opacity: 0; /* INVISIBLE */
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  text-align: center;
  border-radius: 15px 15px 0 0;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-info h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.gallery-info p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.gallery-price {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  display: inline-block;
}

.gallery-btn {
  background: white;
  color: #3b82f6;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

.gallery-btn:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* STYLES POUR LES IMAGES DE GALERIE */
.gallery-image img {
width: 100%;
height: 100%;
object-fit: cover; /* Garde les proportions */
object-position: center;
transition: transform 0.3s ease;
border-radius: 15px 15px 0 0;
display:block;
}

.gallery-item:hover img {
transform: scale(1.05); /* Zoom léger au survol */
}

/* Image de secours si erreur de chargement */
.gallery-image img[src=""],
.gallery-image img:not([src]) {
display: none;
}

.gallery-image img + .gallery-placeholder {
display: none; /* Cache le placeholder si image OK */
}

/* CONTACT FORM */
.contact {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.contact-info-card {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  position: sticky;
  top: 2rem;
}

.contact-info-card h3 {
  color: var(--text);
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-family: "Montserrat", sans-serif;
}

.contact-info-card > p {
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.contact-details {
  margin-bottom: 2.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.contact-item:hover {
  background: #f8fafc;
  transform: translateX(5px);
}

.contact-icon {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-text h4 {
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  font-family: "Montserrat", sans-serif;
}

.contact-text p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin: 0;
}

.contact-cta {
  padding: 1.5rem;
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
  border-radius: 15px;
  text-align: center;
  border: 1px solid #cbd5e1;
}

.contact-cta p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.contact-form {
  background: white;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  overflow: hidden;
}

.form-container {
  padding: 3rem;
  background: white;
  border-radius: 20px;
  box-shadow: none;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text);
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem 1.2rem;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background: #fafbfc;
  font-family: "Inter", sans-serif;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
  padding-right: 3rem;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.5;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 2rem;
  padding: 1rem;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
}

.form-checkbox label {
  font-size: 0.9rem;
  color: var(--text-light);
  cursor: pointer;
  line-height: 1.5;
  margin: 0;
  font-weight: 400;
}

.btn-form-submit {
  width: 100%;
  padding: 1.2rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: none;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.btn-form-submit:hover .btn-icon {
  transform: translateX(3px);
}

.btn-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.btn-text {
  transition: all 0.3s ease;
}

/* Form validation states */
.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown),
.form-group select:invalid:not(:placeholder-shown) {
  border-color: #ef4444;
  background-color: #fef2f2;
}

.form-group input:valid:not(:placeholder-shown),
.form-group textarea:valid:not(:placeholder-shown),
.form-group select:valid:not(:placeholder-shown) {
  border-color: #10b981;
}

.form-group input.error,
.form-group textarea.error,
.form-group select.error {
  border-color: #ef4444;
  background-color: #fef2f2;
  animation: shake 0.5s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

/* Loading and success states for submit button */
.btn-form-submit:disabled {
  cursor: not-allowed;
  transform: none !important;
}

.btn-form-submit:disabled:hover {
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

/* SUPPORT SECTION */
.support-section {
  background: var(--bg-alt);
}

.support-cta {
  text-align: center;
}

/* FOOTER */
.footer {
  background: #374151;
  color: white;
  padding: 4rem 0 0 0;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  align-items: start;
}

.footer-brand {
  max-width: 280px;
  text-align: left;
}

.footer-brand svg {
  vertical-align: middle;
}

.footer-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-top: 1.5rem;
  text-align: left;
}

.footer-links {
  display: flex;
  gap: 3rem;
  text-align: left;
}

.footer-column h4 {
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-family: Montserrat, sans-serif;
  text-align: left;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.footer-column li {
  margin-bottom: 0.75rem;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: white;
}

.footer-newsletter {
  text-align: left;
}

.footer-newsletter h4 {
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  font-family: Montserrat, sans-serif;
  text-align: left;
}

.newsletter-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
  text-align: left;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 0.9rem;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.newsletter-form button {
  padding: 0.75rem 1.5rem;
  background: #3b82f6;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
  background: #1d4ed8;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copyright p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  margin: 0;
}

.footer-social a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: white;
}

/* BACK TO TOP BUTTON */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: #3b82f6;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
  transition: all 0.3s ease;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top:hover {
  background: #1d4ed8;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
}

/* COOKIE POPUP STYLES */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 500px;
  margin: 0 auto;
  background: white;
  border: 2px solid #3b82f6;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  z-index: 10000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s ease;
  display: block;
}

.cookie-popup.show {
  transform: translateY(0);
  opacity: 1;
}

.cookie-content {
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cookie-text {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cookie-icon {
  font-size: 1.2rem;
}

.cookie-text p {
  margin: 0;
  font-size: 0.9rem;
  color: #374151;
}

.cookie-text a {
  color: #3b82f6;
  text-decoration: underline;
  cursor: pointer;
}

.cookie-buttons {
  display: flex;
  gap: 0.5rem;
}

.btn-accept, .btn-reject {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-accept {
  background: #3b82f6;
  color: white;
}

.btn-accept:hover {
  background: #1d4ed8;
}

.btn-reject {
  background: #f3f4f6;
  color: #6b7280;
}

.btn-reject:hover {
  background: #e5e7eb;
}

/* COOKIE SETTINGS BUTTON */
.cookie-settings {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 45px;
  height: 45px;
  background: white;
  border: 2px solid #3b82f6;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
  transition: all 0.2s ease;
  z-index: 999;
}

.cookie-settings:hover {
  background: #3b82f6;
  transform: scale(1.05);
}

/* DETAILED POPUP */
.cookie-details-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cookie-details-popup.show {
  display: flex;
}

.cookie-details-content {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  max-width: 400px;
  width: 100%;
}

.cookie-details-content h3 {
  margin: 0 0 1rem 0;
  color: #374151;
  font-size: 1.2rem;
}

.cookie-options {
  margin-bottom: 1.5rem;
}

.cookie-options label {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  cursor: pointer;
}

.cookie-options input {
  margin-right: 0.5rem;
}

.cookie-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
}

.btn-save, .btn-close {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-save {
  background: #3b82f6;
  color: white;
}

.btn-save:hover {
  background: #1d4ed8;
}

.btn-close {
  background: #f3f4f6;
  color: #6b7280;
}

.btn-close:hover {
  background: #e5e7eb;
}

/* ANIMATIONS */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* SCROLL INDICATOR */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: var(--primary);
  z-index: 1001;
  transition: width 0.1s ease;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 80%;
    height: calc(100vh - 80px);
    background: white;
    flex-direction: column;
    justify-content: start;
    padding: 2rem;
    transition: right 0.3s ease;
    box-shadow: var(--shadow-lg);
  }

  .nav.active {
    right: 0;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  .hero {
    margin: 0 0.5rem;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
    padding-top: 6rem;
  }

  .hero-visual {
    order: -1;
    min-height: 240px;
  }

  .matrix-container {
    padding: 1rem;
    font-size: 0.9rem;
  }
  
  .matrix-tag {
    font-size: 0.7rem;
  }
  
  .matrix-tag.highlight {
    font-size: 0.9rem;
    padding: 0.15rem 0.4rem;
  }
  
  .matrix-row {
    gap: 0.5rem;
    margin-bottom: 0.6rem;
  }

  .hero-floating-1 {
    width: 60px;
    height: 60px;
    left: 5%;
  }

  .hero-floating-2 {
    width: 40px;
    height: 40px;
    right: 10%;
  }

  .services-header-bg {
    padding: 3rem 0;
  }
  
  .services-title-wrapper h2 {
    font-size: clamp(2rem, 6vw, 3rem);
  }
  
  .services-title-wrapper p {
    font-size: 1.1rem;
    padding: 0 1rem;
  }

  .works-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .stats-grid {
    flex-direction: column;
    gap: 1rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-filters {
    gap: 0.5rem;
  }
  
  .filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
  
  .gallery-overlay {
    padding: 1.5rem;
  }
  
  .gallery-info h3 {
    font-size: 1.25rem;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .contact-info-card {
    position: static;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .contact-info-card,
  .form-container {
    padding: 2rem;
  }
  
  .contact-item {
    padding: 0.75rem;
  }
  
  .contact-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-brand {
    max-width: none;
    text-align: center;
  }

  .footer-description {
    text-align: center;
  }

  .footer-links {
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
  }

  .footer-column {
    text-align: center;
  }

  .footer-column h4 {
    text-align: center;
  }

  .footer-column ul {
    text-align: center;
  }

  .footer-newsletter {
    text-align: center;
  }

  .footer-newsletter h4 {
    text-align: center;
  }

  .newsletter-text {
    text-align: center;
  }

  .newsletter-form {
    flex-direction: column;
    gap: 1rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .cookie-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }
  
  .btn-accept, .btn-reject {
    flex: 1;
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 1rem;
  }

  .hero-container {
    padding: 2rem 1rem;
  }

  .container {
    padding: 0 1rem;
  }

  .matrix-container {
    padding: 0.8rem;
  }
  
  .matrix-tag {
    font-size: 0.6rem;
  }
  
  .matrix-tag.highlight {
    font-size: 0.8rem;
  }

  .contact-info-card,
  .form-container {
    padding: 1.5rem;
  }
  
  .form-checkbox {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .form-checkbox input[type="checkbox"] {
    margin-top: 0;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }
}

/* SECTION TARIFS */
    .pricing-section {
      background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
      position: relative;
      overflow: hidden;
    }

    .pricing-section::before {
      content: '';
      position: absolute;
      top: -50px;
      right: -50px;
      width: 150px;
      height: 150px;
      background: rgba(59, 130, 246, 0.05);
      border-radius: 50% 30% 60% 40% / 40% 50% 50% 60%;
      animation: float-shape-pricing 15s ease-in-out infinite;
    }

    .pricing-section::after {
      content: '';
      position: absolute;
      bottom: -30px;
      left: -30px;
      width: 100px;
      height: 100px;
      background: rgba(16, 185, 129, 0.05);
      border-radius: 40% 60% 30% 70% / 60% 40% 60% 40%;
      animation: float-shape-pricing 12s ease-in-out infinite reverse;
    }

    @keyframes float-shape-pricing {
      0%, 100% { 
        transform: translateY(0px) rotate(0deg);
        border-radius: 50% 30% 60% 40% / 40% 50% 50% 60%;
      }
      33% { 
        transform: translateY(-20px) rotate(120deg);
        border-radius: 30% 70% 40% 60% / 60% 30% 70% 40%;
      }
      66% { 
        transform: translateY(10px) rotate(240deg);
        border-radius: 60% 40% 70% 30% / 30% 60% 40% 70%;
      }
    }

    .pricing-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      gap: 2rem;
      position: relative;
      z-index: 2;
    }

    .pricing-card {
      background: white;
      border-radius: 20px;
      padding: 2.5rem;
      box-shadow: var(--shadow);
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
      border: 2px solid transparent;
    }

    .pricing-card:hover {
      transform: translateY(-8px);
      box-shadow: var(--shadow-lg);
      border-color: var(--primary);
    }

    .pricing-card.featured {
      border: 2px solid var(--primary);
      box-shadow: 0 8px 30px rgba(59, 130, 246, 0.15);
      transform: scale(1.05);
    }

    .pricing-card.featured:hover {
      transform: scale(1.05) translateY(-8px);
      box-shadow: 0 12px 40px rgba(59, 130, 246, 0.25);
    }

    /* BANDEAU MEILLEURE OFFRE */
    .best-offer-badge {
      position: absolute;
      top: 20px;
      right: -30px;
      background: green;
      color: white;
      padding: 0.5rem 2.5rem;
      font-size: 0.80rem;
      font-weight: 600;
      transform: rotate(35deg);
      box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
      z-index: 3;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .pricing-header {
      text-align: center;
      margin-bottom: 2rem;
      padding-bottom: 1.5rem;
      border-bottom: 1px solid var(--border);
    }

    .pricing-plan {
      font-size: 1.2rem;
      font-weight: 600;
      color: var(--text);
      margin-bottom: 0.5rem;
    }

    .pricing-description {
      font-size: 0.95rem;
      color: var(--text-light);
      margin-bottom: 1.5rem;
      line-height: 1.5;
    }

    .pricing-price {
      display: flex;
      align-items: baseline;
      justify-content: center;
      gap: 0.25rem;
      margin-bottom: 0.5rem;
    }

    .price-amount {
      font-size: 3rem;
      font-weight: 700;
      color: var(--primary);
      font-family: "Montserrat", sans-serif;
    }

    .price-currency {
      font-size: 1.5rem;
      font-weight: 600;
      color: var(--primary);
    }

    .price-period {
      font-size: 0.9rem;
      color: var(--text-light);
      margin-left: 0.5rem;
    }

    .pricing-features {
      list-style: none;
      margin-bottom: 2.5rem;
    }

    .pricing-features li {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      padding: 0.75rem 0;
      font-size: 0.95rem;
      color: var(--text);
      border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    }

    .pricing-features li:last-child {
      border-bottom: none;
    }

    .feature-check {
      width: 20px;
      height: 20px;
      background: green;
      color: white;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.75rem;
      font-weight: bold;
      flex-shrink: 0;
    }

    .feature-cross {
      width: 20px;
      height: 20px;
      background: #ef4444;
      color: white;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.75rem;
      font-weight: bold;
      flex-shrink: 0;
    }

    .pricing-cta {
      text-align: center;
    }

    /* RESPONSIVE */
    @media (max-width: 768px) {
      .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
      }
      
      .pricing-card {
        padding: 2rem;
      }
      
      .pricing-card.featured {

        transform: none;
      }
      
      .pricing-card.featured:hover {
        transform: translateY(-8px);
      }
      
      .best-offer-badge {
        top: 15px;
        right: -25px;
        padding: 0.4rem 2rem;
        font-size: 0.8rem;
      }
      
      .price-amount {
        font-size: 2.5rem;
      }
    }

    @media (max-width: 480px) {
      .pricing-card {
        padding: 1.5rem;
      }
      
      .section {
        padding: 3rem 0;
      }
      
      .container {
        padding: 0 1rem;
      }
    }