/* Erreurs de formulaire (accessibles, cohérentes) */
.form-error {
  color: #dc2626;
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

/* Mise en évidence des checkboxes en erreur: utiliser la bordure existante */
.checkbox-group .checkbox-label.error {
  border-color: #dc2626;
}

.checkbox-group .checkbox-label.error .checkmark {
  border-color: #dc2626;
}
:root {
  --primary-color: #0EA5E9;
  --secondary-color: #0369A1;
  --accent-color: #F59E0B;
  --text-primary: #1F2937;
  --text-secondary: #6B7280;
  --bg-light: #F0FDF4;
  --bg-white: #FFFFFF;
  --border-color: #E5E7EB;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --radius: 8px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --primary-color-rgb: 14, 165, 233;
  --secondary-color-rgb: 3, 105, 161;
}

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

html {
  scroll-behavior: smooth;
}

/* Plus besoin de règles FOUC spéciales - couleur par défaut utilisée */

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-white); /* Utilise la couleur par défaut du thème */
  overflow-x: hidden;
}

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

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: var(--transition);
}

.nav {
  padding: 1rem 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--text-primary);
}

.logo-icon {
  border-radius: 8px;
}

/* Couleurs spécifiques pour les parties du logo */
.logo-re,
.logo-web {
  color: #1779AA;
}

.logo-fresh {
  color: #65B43A;
}

/* Footer logo en blanc */
footer .logo-re,
footer .logo-web,
footer .logo-fresh {
  color: white;
}

/* Logo plus grand sur les grands écrans */
@media (min-width: 1200px) {
  .logo {
    font-size: 1.6rem;
    gap: 12px;
  }
  
  .logo-icon {
    width: 48px;
    height: 48px;
  }
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-menu a:hover {
  color: var(--primary-color);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

  .theme-selector {
    position: relative;
  }

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-primary);
  margin-right: 0.25rem;
}

.theme-toggle:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  box-shadow: 0 0 0 2px var(--primary-color);
  transform: translateY(-1px);
  background: var(--bg-light);
}

.theme-icon {
  font-size: 20px;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  opacity: 0;
  transition: opacity 0.2s ease;
}

/* Afficher l'icône seulement quand la police est chargée */
.material-symbols-loaded .theme-icon {
  opacity: 1;
}

.theme-modal {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  max-width: 400px;
  width: 400px;
  max-height: 60vh;
  overflow-y: auto;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition);
  margin-top: 0.5rem;
  display: none;
}

  .theme-modal.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    display: flex;
  }

.theme-modal-content {
  padding: 1.25rem;
}

.theme-modal-header {
  padding: 0 0 1rem 0;
  border-bottom: 1px solid var(--border-color);
  position: relative;
  margin-bottom: 1rem;
}

.theme-modal-header h3 {
  margin: 0 0 0.25rem 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
}

.theme-modal-header p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.theme-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-secondary);
  padding: 0.25rem;
  border-radius: 4px;
  transition: var(--transition);
}

.theme-modal-close:hover {
  background: var(--primary-color);
  color: white;
  transform: scale(1.1);
}

.theme-section {
  padding: 0 0 1.25rem 0;
  border-bottom: 1px solid var(--border-color);
}

.theme-section:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.theme-section h4 {
  margin: 0 0 0.75rem 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.theme-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.theme-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  padding: 0.75rem;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  background: var(--bg-white);
}

.theme-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px var(--primary-color);
}

.theme-card.active {
  border-color: var(--primary-color);
  background: var(--primary-color);
  color: white;
  box-shadow: 0 0 0 2px var(--primary-color);
}

.theme-card.active .theme-name {
  color: white;
  font-weight: 600;
}

.theme-card-colors {
  display: flex;
  gap: 3px;
}

.theme-color {
  width: 20px;
  height: 20px;
  border-radius: 3px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.theme-name {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-primary);
  text-align: center;
  transition: var(--transition);
}

.custom-color-input {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.color-preview {
  width: 32px;
  height: 32px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border-color);
  background: #0EA5E9;
}

.custom-color-input label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  flex: 1;
}

.custom-color-input input[type="color"] {
  width: 40px;
  height: 32px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  background: none;
}

.theme-modal-actions {
  padding: 0.75rem 0 0 0;
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  border-top: 1px solid var(--border-color);
  margin-top: 0.75rem;
}

.theme-modal-actions .btn-palette {
  padding: 8px 16px !important;
  border-radius: var(--radius);
  font-weight: 500 !important;
  font-size: 0.95rem !important;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  text-decoration: none;
  display: inline-block;
}

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

.btn-palette.btn-primary:hover {
  background: var(--secondary-color);
  transform: translateY(-1px);
}

.btn-palette.btn-secondary {
  background: var(--bg-light);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}

.btn-palette.btn-secondary:hover {
  background: var(--bg-white);
  color: var(--text-primary);
  border-color: var(--primary-color);
}

.lang-toggle {
  display: flex;
  background: var(--bg-light);
  border: none;
  border-radius: 20px;
  padding: 4px;
  cursor: pointer;
  position: relative;
  width: 80px;
  height: 36px;
  align-items: center;
}

.lang-toggle span {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 0.95rem;
  z-index: 2;
  transition: color 0.3s ease;
  line-height: 1;
  height: 100%;
  padding: 0;
  margin: 0;
}

.lang-toggle .active {
  color: white;
}

.lang-toggle::before {
  content: '';
  position: absolute;
  width: 36px;
  height: 28px;
  background: var(--primary-color);
  border-radius: 16px;
  transition: transform 0.3s ease;
  top: 4px;
  left: 4px;
}

.lang-toggle.en::before {
  transform: translateX(36px);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
}

/* Hero Section */
.hero {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 50%, #BAE6FD 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23DCFCE7" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.5;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 4rem;
}

.hero-content {
  max-width: 600px;
  margin-left: 0;
  padding-left: 0;
  flex-shrink: 0;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  min-height: 1.2em;
}

.hero-title strong {
  color: var(--primary-color) !important;
  font-weight: 700 !important;
  position: relative;
  text-shadow: 0 0 8px rgba(14, 165, 233, 0.3);
}

.hero-subtitle {
  font-size: 1.35rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
  min-height: 5rem;
}

.hero-subtitle .text-line {
  opacity: 0;
  transform: translateY(20px);
  animation: slideInUp 0.8s ease-out forwards;
  display: block;
  margin-bottom: 0.5rem;
}

.hero-subtitle .text-line:nth-child(1) {
  animation-delay: 0.2s;
}

.hero-subtitle .text-line:nth-child(2) {
  animation-delay: 0.6s;
}

.hero-subtitle .text-line:nth-child(3) {
  animation-delay: 1s;
}

.hero-subtitle .text-line:nth-child(4) {
  animation-delay: 1.4s;
}

.hero-subtitle .text-line:nth-child(5) {
  animation-delay: 2s; /* Délai plus long pour la phrase IA */
}

.hero-subtitle strong {
  color: var(--primary-color);
  font-weight: 600;
  position: relative;
}

.hero-subtitle .text-line:nth-child(4) strong,
.hero-subtitle .text-line:nth-child(5) strong {
  animation: highlightPulse 3s ease-in-out infinite;
  animation-delay: 2.8s; /* Après que la 5ème ligne soit apparue */
}

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

@keyframes highlightPulse {
  0%, 100% { 
    color: var(--primary-color);
    text-shadow: none;
  }
  50% { 
    color: var(--secondary-color);
    text-shadow: 0 0 8px rgba(5, 150, 105, 0.3);
  }
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 20px;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background: linear-gradient(135deg, #0EA5E9, #0369A1);
  color: white;
  box-shadow: 0 4px 15px var(--primary-color);
  opacity: 1;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0EA5E9, #0369A1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--primary-color);
  opacity: 1;
  color: white;
}

.btn-secondary {
  background: var(--bg-white);
  color: var(--text-primary);
  border: 2px solid var(--border-color);
  font-weight: 500;
  box-sizing: border-box;
}

.btn-secondary:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
  font-weight: 500;
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.hero-visual {
  position: relative;
  width: 400px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-comparison-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  max-width: 350px;
}

.hero-comparison-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  position: relative;
}

.hero-comparison-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.hero-comparison-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-align: center;
}

.hero-comparison-card.before h3 {
  color: var(--accent-color);
}

.hero-comparison-card.after h3 {
  color: var(--primary-color);
}



.hero-comparison-arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0.5rem 0;
  position: relative;
}

.hero-comparison-arrow .hero-hover-text {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  padding: 0.2rem;
  font-size: 0.6rem;
}

.hero-comparison-arrow svg {
  transform: rotate(90deg);
  width: 50px;
  height: 50px;
}

.hero-comparison-card .hero-website-preview {
  width: 100%;
  height: 160px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: white;
  border: 1px solid var(--border-color);
}

.hero-comparison-card .hero-website-preview.old-style {
  background: #f3f4f6;
  border-radius: 0;
}

.hero-comparison-card .hero-website-preview.modern-style {
  background: linear-gradient(135deg, var(--bg-light) 0%, white 100%);
}

.hero-comparison-card .old-header {
  background: #374151;
  color: white;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

.hero-comparison-card .old-nav {
  background: #6B7280;
  padding: 6px 12px;
  display: flex;
  gap: 12px;
  justify-content: center;
}

.hero-comparison-card .old-nav span {
  color: white;
  font-size: 10px;
  font-weight: 500;
}

.hero-comparison-card .old-content {
  padding: 12px;
  text-align: center;
}

.hero-comparison-card .old-text {
  color: #1F2937;
  font-size: 11px;
  margin-bottom: 8px;
}

.hero-comparison-card .old-boxes {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.hero-comparison-card .old-box {
  width: 20px;
  height: 20px;
  background: #9CA3AF;
  border-radius: 2px;
}

.hero-comparison-card .modern-header {
  background: linear-gradient(135deg, #0EA5E9, #0369A1);
  padding: 8px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-comparison-card .modern-logo {
  width: 16px;
  height: 16px;
  background: white;
  border-radius: 2px;
}

.hero-comparison-card .modern-nav {
  display: flex;
  gap: 8px;
}

.hero-comparison-card .modern-nav span {
  width: 20px;
  height: 2px;
  background: white;
  border-radius: 1px;
}

.hero-comparison-card .modern-hero {
  padding: 12px;
  text-align: center;
}

.hero-comparison-card .modern-title {
  width: 60%;
  height: 8px;
  background: #0EA5E9;
  margin: 0 auto 6px;
  border-radius: 4px;
}

.hero-comparison-card .modern-subtitle {
  width: 80%;
  height: 6px;
  background: #9CA3AF;
  margin: 0 auto 8px;
  border-radius: 3px;
}

.hero-comparison-card .modern-cta {
  width: 40%;
  height: 12px;
  background: #0EA5E9;
  margin: 0 auto;
  border-radius: 6px;
}

.hero-comparison-card .modern-grid {
  padding: 8px 12px;
  display: flex;
  gap: 6px;
  justify-content: center;
}

.hero-comparison-card .modern-card {
  width: 16px;
  height: 16px;
  background: #F0FDF4;
  border: 1px solid #0EA5E9;
  border-radius: 3px;
}

/* Animations pour les cartes du hero */
.hero-comparison-card.animate-fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.4s;
}

.hero-comparison-card.animate-fade-in-delay-2 {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.8s;
}

.hero-comparison-arrow.animate-fade-in-delay {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.6s;
}

/* Textes de hover pour les cartes du hero */
.hero-hover-text {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(var(--primary-color-rgb, 14, 165, 233), 0.95);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.hero-comparison-card:hover .hero-hover-text,
.hero-comparison-arrow:hover .hero-hover-text {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.hero-hover-text h4 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-hover-text p {
  font-size: 1rem;
  text-align: center;
  line-height: 1.5;
  font-weight: 500;
}

.hero-hover-text ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.hero-hover-text li {
  font-size: 1rem;
  margin-bottom: 0.6rem;
  position: relative;
  padding-left: 1.5rem;
  font-weight: 500;
}

.hero-hover-text li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: white;
  font-weight: bold;
  font-size: 1.1rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-comparison-card.before .hero-hover-text li::before {
  content: "✗";
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-comparison-arrow .hero-hover-text {
  background: rgba(var(--primary-color-rgb, 14, 165, 233), 0.95);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  padding: 0.7rem;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  right: auto;
  bottom: auto;
}

.hero-comparison-arrow:hover .hero-hover-text {
  transform: translate(-50%, -50%) scale(1);
}

.hero-comparison-arrow .hero-hover-text h4 {
  font-size: 0.8rem;
  margin-bottom: 0.3rem;
  font-weight: 700;
}

.hero-comparison-arrow .hero-hover-text p {
  font-size: 0.9rem;
  line-height: 1.2;
  font-weight: 500;
}

.hero-before-after {
  display: flex;
  gap: 2rem;
  align-items: center;
  background: white;
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  max-width: 500px;
}

.hero-before, .hero-after {
  flex: 1;
  text-align: center;
}

.hero-before h4, .hero-after h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.hero-before h4 {
  color: var(--accent-color);
}

.hero-after h4 {
  color: var(--primary-color);
}

.hero-website-preview {
  width: 120px;
  height: 80px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius);
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.hero-old-style {
  background: #f3f4f6;
}

.hero-old-style::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  height: 8px;
  background: #d1d5db;
  border-radius: 2px;
}

.hero-old-style::after {
  content: '';
  position: absolute;
  top: 24px;
  left: 8px;
  right: 8px;
  height: 4px;
  background: #9ca3af;
  border-radius: 2px;
}

.hero-modern-style {
  background: linear-gradient(135deg, #0EA5E9, #0369A1);
}

.hero-modern-style::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 4px;
}

.hero-modern-style::after {
  content: '';
  position: absolute;
  top: 24px;
  left: 8px;
  right: 8px;
  height: 4px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 2px;
}

.hero-arrow {
  font-size: 1.7rem;
  color: var(--primary-color);
  font-weight: bold;
}

/* Before/After Section */
.before-after {
  padding: 80px 0;
  background: var(--bg-light);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.section-intro {
  text-align: center;
  color: var(--text-primary);
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.section-intro strong {
  color: var(--primary-color) !important;
  font-weight: 700 !important;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.25rem;
  margin-bottom: 3rem;
}

.section-subtitle strong {
  color: var(--primary-color) !important;
  font-weight: 700 !important;
}

.section-subtitle .transform-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 1rem;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.3);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-subtitle .transform-arrow svg {
  color: white;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1));
}

.section-subtitle .transform-arrow:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.4);
}

.comparison-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.comparison-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  flex: 1;
  max-width: 400px;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(30px);
}

.comparison-card.animate {
  animation: fadeInUp 0.8s ease-out forwards;
}

.comparison-card.before.animate {
  animation-delay: 0.2s;
}

.comparison-card.after.animate {
  animation-delay: 0.4s;
}

/* Transformations Gallery - Split View Design */
.transformations-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.transformation-card {
  background: white;
  border-radius: var(--radius-lg); /* 16px comme les feature-card et testimonial-card */
  overflow: visible;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
  cursor: pointer;
  /* État initial pour animation scroll */
  opacity: 0;
  transform: translateY(30px);
}

.transformation-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

/* Animation d'apparition au scroll */
.transformation-card.animate {
  animation: fadeInUp 0.8s ease-out forwards;
}

/* Délais d'animation pour effet en cascade */
.transformation-card:nth-child(1).animate {
  animation-delay: 0.2s;
}

.transformation-card:nth-child(2).animate {
  animation-delay: 0.4s;
}

.transformation-card:nth-child(3).animate {
  animation-delay: 0.6s;
}

.transformation-card:nth-child(4).animate {
  animation-delay: 0.8s;
}

/* Modern Split Image Container */
.split-image-container {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
  background: var(--bg-light);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0; /* Coins supérieurs arrondis, inférieurs carrés */
}

.split-before, .split-after {
  position: absolute;
  width: 50%;
  height: 100%;
  overflow: hidden;
}

.split-before {
  left: 0;
  clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%); /* Barre plus fine : 85% → 90% */
}

.split-after {
  right: 0;
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%); /* Barre plus fine : 15% → 10% */
}

.split-before img, .split-after img {
  width: 200%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  filter: brightness(0.95);
}

.split-before img {
  object-position: left center;
}

.split-after img {
  object-position: left top; /* Partie haute et gauche */
  transform: translateX(-50%);
}

.transformation-card:hover .split-before img {
  transform: scale(1.05);
}

.transformation-card:hover .split-after img {
  transform: translateX(-50%) scale(1.05);
}

/* Modern Labels */
.split-label {
  position: absolute;
  bottom: 16px;
  padding: 6px 12px;
  border-radius: var(--radius-md);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  backdrop-filter: blur(25px) saturate(1.5);
  z-index: 20;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.2),
    0 4px 12px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.split-before .split-label {
  left: 16px;
  background: rgba(255, 255, 255, 0.95);
  color: #dc2626;
  text-shadow: 0 1px 2px rgba(220, 38, 38, 0.1);
}

.split-after .split-label {
  right: 16px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary-color);
  text-shadow: 0 1px 2px rgba(14, 165, 233, 0.1);
}

/* Modern Overlay Effect */
.split-image-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, 
    transparent 0%, 
    rgba(0, 0, 0, 0.05) 50%, 
    transparent 100%);
  z-index: 10;
  transition: var(--transition);
}

.transformation-card:hover .split-image-container::before {
  background: linear-gradient(135deg, 
    transparent 0%, 
    rgba(0, 0, 0, 0.1) 50%, 
    transparent 100%);
}

/* Modern View Button */
.view-large-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-primary);
  padding: 12px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.9);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 25;
  box-shadow: var(--shadow-lg);
}

.split-image-container:hover .view-large-btn {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.view-large-btn:hover {
  background: var(--primary-color);
  color: white;
  transform: translate(-50%, -50%) scale(1.05);
  box-shadow: var(--shadow-xl);
}

.view-large-btn svg {
  transition: var(--transition);
}

.view-large-btn:hover svg {
  transform: scale(1.1);
}

/* Modern Card Info */
.card-info {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg); /* 16px pour s'harmoniser avec la carte */
}

.card-info h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 1rem;
}

.card-info h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 20px;
  background: var(--primary-color);
  border-radius: var(--radius-sm);
}

.card-info p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  line-height: 1.5;
  padding-left: 1rem;
}

.site-link {
  display: inline-flex;
  align-items: center;
  color: var(--primary-color);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
  margin-left: 1rem;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-link:hover {
  color: #0369A1;
  transform: translateX(4px);
}

.stats {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding-left: 1rem;
}

.stat {
  background: var(--bg-light);
  color: var(--text-primary);
  padding: 8px 14px;
  border-radius: var(--radius-lg);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  position: relative;
}

/* Stats compactes pour plus de chips */
.stats.compact {
  gap: 0.4rem;
}

.stats.compact .stat {
  padding: 6px 16px;
  font-size: 0.8rem;
  border-radius: var(--radius);
  min-width: auto;
  height: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.stats.compact .stat-icon {
  font-size: 0.9rem;
  margin-right: 4px;
}

/* Hover state pour les chips */
.stats.compact .stat:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

/* Tooltips simples et modernes */
[data-tooltip] {
  position: relative;
}

[data-tooltip]:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 8px;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.9);
  color: white;
  border-radius: 6px;
  font-size: 0.75rem;
  white-space: nowrap;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Explications des chips dans le lightbox */
.project-chips-explanation {
  margin-top: 0;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.chips-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.chip-explanation {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  transition: background 0.2s ease;
  min-height: 60px;
}

.chip-explanation:hover {
  background: rgba(255, 255, 255, 0.1);
}

.chip-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.chip-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.chip-text strong {
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
}

.chip-text span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
  line-height: 1.3;
}

/* Desktop uniquement */
@media (max-width: 1200px) {
  .desktop-only {
    display: none !important;
  }
}

/* Masquer les explications chips sur desktop */
@media (min-width: 1151px) {
  .project-chips-explanation {
    display: none;
  }
}

/* Mobile responsive */
@media (max-width: 768px) {
  .chips-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .project-chips-explanation {
    margin-top: 0;
    padding: 1rem;
  }
  
  .chip-explanation {
    padding: 1rem;
  }
  
  .chip-text strong {
    font-size: 0.85rem;
  }
  
  .chip-text span {
    font-size: 0.75rem;
  }
  
  .project-info-minimal h2 {
    font-size: 0.9rem;
  }

  
  /* Réduire la visibilité des labels before/after uniquement dans le lightbox sur mobile */
  .modern-lightbox .split-label {
    opacity: 0.4;
    font-size: 0.5rem;
    padding: 3px 6px;
    background: rgba(255, 255, 255, 0.6) !important;
    color: rgba(0, 0, 0, 0.7) !important;
  }
}

  overflow: hidden;
}

.stat::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--primary-color);
  transition: left 0.3s ease;
  z-index: -1;
}

.stat:hover::before {
  left: 0;
}

.stat:hover {
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Modern Lightbox */
.modern-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-lightbox.active {
  opacity: 1;
  visibility: visible;
}

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

.lightbox-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  transform: scale(0.95);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-lightbox.active .lightbox-wrapper {
  transform: scale(1);
}

/* Masquer le chatbot quand la lightbox est ouverte */
.modern-lightbox.active #rw-chatbot-widget,
.modern-lightbox.active #rw-chatbot-toggle,
body:has(.modern-lightbox.active) #rw-chatbot-widget,
body:has(.modern-lightbox.active) #rw-chatbot-toggle {
  display: none !important;
}

/* Header ultra-moderne */
.lightbox-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-bottom: 2rem;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.15) 0%,
    rgba(255, 255, 255, 0.05) 50%,
    rgba(255, 255, 255, 0.15) 100%
  );
  backdrop-filter: blur(25px) saturate(1.2);
  border-radius: 20px;
  padding: 1.2rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  gap: 1.5rem;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.lightbox-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.6),
    transparent
  );
}

.lightbox-nav-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-btn {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  backdrop-filter: blur(15px);
  position: relative;
  overflow: hidden;
}

.nav-btn::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 ease;
}

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

.nav-btn:hover {
  background: rgba(59, 130, 246, 0.9);
  border-color: rgba(59, 130, 246, 1);
  transform: scale(1.05) translateY(-1px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
  color: white;
}

.nav-btn:active {
  transform: scale(0.98) translateY(0);
}

.nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.nav-btn:disabled:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  transform: scale(1);
  box-shadow: none;
}

.project-counter {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 0.5rem 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  backdrop-filter: blur(10px);
  font-family: 'Inter', -apple-system, sans-serif;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.current-project {
  color: #60a5fa;
  font-weight: 700;
}

/* Contrôles avant/après ultra-modernes */
.view-toggle-nav {
  display: flex;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 6px;
  gap: 6px;
  justify-self: center;
  backdrop-filter: blur(15px);
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.close-btn {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  backdrop-filter: blur(15px);
  justify-self: end;
  position: relative;
  overflow: hidden;
}

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

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

.close-btn:hover {
  background: rgba(239, 68, 68, 0.9);
  border-color: rgba(239, 68, 68, 1);
  transform: scale(1.05) translateY(-1px);
  box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
  color: white;
}

.close-btn:active {
  transform: scale(0.98) translateY(0);
}

/* Lightbox Exit Hint - Visible seulement >1100px */
.lightbox-exit-hint {
  display: none;
}

@media (min-width: 1201px) {
  .lightbox-exit-hint {
    display: block;
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: rgba(255, 255, 255, 0.85);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 400;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 1001;
    animation: fadeInHint 1s ease-out;
    white-space: nowrap;
    opacity: 0.7;
    text-align: center;
  }
}

.lightbox-exit-hint kbd {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 0.7rem;
  font-family: inherit;
  font-weight: 600;
  margin: 0 2px;
  display: inline-block;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

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

/* Main Content */
.lightbox-main {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  flex: 1;
  min-height: 0;
}

/* Image Showcase */
.image-showcase {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-frame {
  position: relative;
  width: 100%;
  max-height: 60vh;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

/* Double image container for smooth transitions */
.image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 14px;
  overflow: hidden;
}

.image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(0.98);
  transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: blur(2px) brightness(0.8);
}

.image-wrapper.active {
  opacity: 1;
  transform: scale(1);
  filter: blur(0px) brightness(1);
}

.showcase-image,
.showcase-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: 14px;
}

.showcase-video {
  background: #000;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(0,0,0,0.2) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 1.5rem;
}

/* Elegant fade transition for before/after */
.reveal-curtain {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 30%, transparent 70%);
  opacity: 1;
  transition: opacity 0.6s ease-in-out;
  z-index: 1;
  pointer-events: none;
}

.image-wrapper.active .reveal-curtain {
  opacity: 0;
  transition-delay: 0.1s;
}

/* Contrôle pause/play centré */
.play-pause-control {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 15;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.image-container:hover .play-pause-control {
  opacity: 1;
  pointer-events: auto;
}

.play-pause-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(15px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: white;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
}

.play-pause-btn:hover {
  background: rgba(0, 0, 0, 0.8);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}

.play-pause-btn:active {
  transform: scale(0.95);
}

/* Gestion des icônes play/pause */
.play-pause-btn .pause-icon,
.play-pause-btn .play-icon {
  position: absolute;
  transition: opacity 0.2s ease;
}

/* Par défaut, animation active = icône pause visible */
.play-pause-btn .pause-icon {
  opacity: 1;
}

.play-pause-btn .play-icon {
  opacity: 0;
}

/* Quand animation en pause = icône play visible */
.play-pause-control.paused .pause-icon {
  opacity: 0;
}

.play-pause-control.paused .play-icon {
  opacity: 1;
}

/* Modern status badges */
.status-badge {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(25px) saturate(1.5);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-xl);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 1px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.15),
    0 4px 12px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-wrapper.active .status-badge {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0.4s;
}

.before-badge {
  color: #dc2626;
  text-shadow: 0 1px 2px rgba(220, 38, 38, 0.1);
}

.after-badge {
  color: var(--primary-color);
  text-shadow: 0 1px 2px rgba(14, 165, 233, 0.1);
}

.badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}

/* Elegant transition controls intégrés */
.transition-controls {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  z-index: 10;
}

.magic-wand {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.magic-wand:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 30px rgba(59, 130, 246, 0.3);
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-lg);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-color);
  transition: var(--transition);
}

.status-dot.after {
  background: var(--secondary-color);
}

.status-text {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-primary);
  text-transform: uppercase;
}

/* Titre élégant avec glassmorphism */
.project-info-minimal {
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 0.75rem 2rem;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.lightbox-site-link {
  display: inline-flex;
  align-items: center;
  color: var(--primary-color);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  background: rgba(14, 165, 233, 0.15);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(14, 165, 233, 0.25);
  position: relative;
  z-index: 10;
  margin-top: 0.5rem;
}

.lightbox-site-link:hover {
  color: #0EA5E9;
  background: rgba(14, 165, 233, 0.25);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}


.project-info-minimal h2 {
  font-size: 1.4rem;
  font-weight: 600;
  color: white;
  margin: 0;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
}




/* View Toggle (style de base) */
.view-toggle {
  display: flex;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 6px;
  gap: 6px;
  backdrop-filter: blur(15px);
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.toggle-option {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.toggle-option::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.toggle-option:hover::before {
  left: 100%;
}

.toggle-option.active {
  background: rgba(255, 255, 255, 0.95);
  color: #1e40af;
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 
    0 4px 15px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}

.toggle-option:hover:not(.active) {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.2);
}

.toggle-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Project Stats */
.project-stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: translateX(4px);
}

.stat-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.stat-content {
  flex: 1;
}

.stat-value {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Project Description */
.project-description {
  padding: 1.5rem;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--primary-color);
}

.description-text {
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* Gallery Instructions */
.gallery-instructions {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.instruction {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.8);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(59, 130, 246, 0.1);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.instruction:hover {
  background: rgba(59, 130, 246, 0.05);
  border-color: rgba(59, 130, 246, 0.2);
  transform: translateY(-2px);
}

.instruction-icon {
  font-size: 1.5rem;
}

.instruction span:last-child {
  color: var(--text-secondary);
  font-weight: 500;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .transformations-gallery {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
  }
  
  .transformation-card {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
  }
  
  .split-image-container {
    height: 200px;
  }

  .split-before img,
  .split-after img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }
  
  .card-info {
    padding: 1.5rem;
  }
  
  .card-info h3 {
    font-size: 1.2rem;
  }
  
  .stats {
    gap: 0.5rem;
  }
  
  .stat {
    font-size: 0.75rem;
    padding: 6px 12px;
  }
  
  .lightbox-container {
    padding: 1rem;
  }
  
  .lightbox-content {
    max-height: 90vh;
  }
  
  .lightbox-image-container {
    height: 300px;
  }
  
  .lightbox-info {
    padding: 1.5rem;
  }
  
  .lightbox-title {
    font-size: 1.5rem;
  }
  
  .lightbox-toggle {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .toggle-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .lightbox-nav {
    width: 50px;
    height: 50px;
  }
  
  .lightbox-nav.prev {
    left: 1rem;
  }
  
  .lightbox-nav.next {
    right: 1rem;
  }
  
  .lightbox-close {
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
  }
  
  .gallery-instructions {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
}

.comparison-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.comparison-card h3 {
  font-size: 1.7rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.website-preview {
  border: 2px solid var(--border-color);
  border-radius: var(--radius);
  height: 300px;
  margin-bottom: 1.5rem;
  overflow: hidden;
  position: relative;
  transition: var(--transition);
}

.website-preview:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.old-style {
  background: #f0f0f0;
  font-family: 'Times New Roman', serif;
}

.modern-style {
  background: white;
}

.old-header {
  background: #333;
  color: white;
  padding: 10px;
  text-align: center;
  font-size: 20px;
}

.old-nav {
  background: #666;
  padding: 8px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.old-nav span {
  color: white;
  font-size: 16px;
}

.old-content {
  padding: 20px;
}

.old-text {
  font-size: 18px;
  margin-bottom: 20px;
  color: #333;
}

.old-boxes {
  display: flex;
  gap: 10px;
}

.old-box {
  width: 80px;
  height: 80px;
  background: #ccc;
  border: 1px solid #999;
}

.modern-style {
  background: linear-gradient(135deg, #0EA5E9, #0369A1);
}

.modern-header {
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
}

.modern-logo {
  width: 32px;
  height: 32px;
  background: var(--primary-color);
  border-radius: 8px;
}

.modern-nav {
  display: flex;
  gap: 8px;
}

.modern-nav span {
  width: 60px;
  height: 8px;
  background: var(--bg-light);
  border-radius: 4px;
}

.modern-hero {
  padding: 40px 20px;
  text-align: center;
}

.modern-title {
  width: 200px;
  height: 16px;
  background: var(--text-primary);
  border-radius: 8px;
  margin: 0 auto 12px;
}

.modern-subtitle {
  width: 280px;
  height: 12px;
  background: var(--text-secondary);
  border-radius: 6px;
  margin: 0 auto 20px;
  opacity: 0.5;
}

.modern-cta {
  width: 120px;
  height: 36px;
  background: var(--primary-color);
  border-radius: 8px;
  margin: 0 auto;
}

.modern-grid {
  padding: 0 20px 20px;
  display: flex;
  gap: 12px;
}

.modern-card {
  flex: 1;
  height: 60px;
  background: var(--bg-light);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.modern-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shimmer 2s infinite;
}

.comparison-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
}

.comparison-arrow.animate {
  animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

.issues-list, .benefits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.issues-list li {
  color: #DC2626;
  padding-left: 24px;
  position: relative;
  opacity: 0;
  transform: translateX(-20px);
}

.issues-list.animate li {
  animation: slideInLeft 0.6s ease-out forwards;
}

.issues-list.animate li:nth-child(1) { animation-delay: 0.8s; }
.issues-list.animate li:nth-child(2) { animation-delay: 0.9s; }
.issues-list.animate li:nth-child(3) { animation-delay: 1.0s; }

.issues-list li::before {
  content: '✗';
  position: absolute;
  left: 0;
  font-weight: bold;
}

.benefits-list li {
  color: var(--secondary-color);
  padding-left: 24px;
  position: relative;
  opacity: 0;
  transform: translateX(20px);
}

.benefits-list.animate li {
  animation: slideInRight 0.6s ease-out forwards;
}

.benefits-list.animate li:nth-child(1) { animation-delay: 0.8s; }
.benefits-list.animate li:nth-child(2) { animation-delay: 0.9s; }
.benefits-list.animate li:nth-child(3) { animation-delay: 1.0s; }

.benefits-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Features Section */
.features {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at top, rgba(14, 165, 233, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 3rem 0;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.feature-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(226, 232, 240, 0.8);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: rgba(14, 165, 233, 0.2);
}

/* Bordures colorées spécifiques pour chaque feature card - SEULEMENT AU HOVER */
.feature-card:nth-child(1):hover::before {
  background: #3B82F6; /* Bleu - correspond à l'icône euro_symbol */
  opacity: 1;
}

.feature-card:nth-child(2):hover::before {
  background: #0EA5E9; /* Cyan - correspond à l'icône autorenew */
  opacity: 1;
}

.feature-card:nth-child(3):hover::before {
  background: #F59E0B; /* Orange - correspond à l'icône devices */
  opacity: 1;
}

.feature-card:nth-child(4):hover::before {
  background: #8B5CF6; /* Violet - correspond à l'icône diamond */
  opacity: 1;
}

.feature-card:nth-child(5):hover::before {
  background: #EC4899; /* Rose - correspond à l'icône acute */
  opacity: 1;
}

.feature-card:nth-child(6):hover::before {
  background: #14B8A6; /* Teal - correspond à l'icône saved_search */
  opacity: 1;
}

.feature-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: transform 0.3s ease;
}

.feature-icon .material-symbols-outlined {
  font-size: 40px;
}

/* Réduction des icônes sur petits écrans */
@media (max-width: 480px) {
  .feature-icon {
    width: 55px;
    height: 55px;
  }
  
  .feature-icon .material-symbols-outlined {
    font-size: 30px;
  }
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
  line-height: 1.3;
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 1rem;
}

.feature-card p strong {
  color: var(--primary-color);
  font-weight: 600;
}

/* Testimonials Section */
.testimonials {
  padding: 80px 0;
  background: var(--bg-white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.stars {
  color: var(--accent-color);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.testimonial-card p {
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.testimonial-quote {
  height: 140px;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  margin-bottom: 1.5rem;
  position: relative;
}

.testimonial-quote::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: #e5e7eb;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-primary);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  position: relative;
  font-family: 'Poppins', sans-serif !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Initiales directement dans le HTML maintenant */

/* Styles pour les éléments strong dans les témoignages */
.testimonial-quote strong {
  color: var(--primary-color);
  font-weight: 600;
}

/* Icônes de projet avec couleurs spécifiques */
.project-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
}

.bio-taupe-icon {
  background: linear-gradient(135deg, #0EA5E9, #0369A1);
}

.mv-hs-icon {
  background: linear-gradient(135deg, #f97316, #ea580c);
}

.nicolau-icon {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}

.equite-icon {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.project-icon .material-symbols-outlined {
  color: white;
  font-size: 1.5rem;
}

/* Avatars - ROND PLEIN SIMPLE */
.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  font-family: 'Poppins', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Couleurs simples - RONDS PLEINS */
[data-project="bio-taupe"] .author-avatar {
  background: #0EA5E9;
}

[data-project="mv-hs"] .author-avatar {
  background: #f97316;
}

[data-project="nicolau-compere"] .author-avatar {
  background: #ef4444;
}

[data-project="equite-service"] .author-avatar {
  background: #3b82f6;
}

/* === FAQ SECTION === */
.faq {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 100%);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  margin-top: 3rem;
}

.faq-item {
  background: white;
  border-radius: 16px;
  margin-bottom: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.faq-question {
  padding: 1.5rem 2rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

.faq-question:hover {
  background: #f8fafc;
}

.faq-question.active {
  background: #f0f9ff;
  border-bottom-color: #e0f2fe;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e293b;
  flex: 1;
  padding-right: 1rem;
}

.faq-icon {
  width: 32px;
  height: 32px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 600;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.faq-question.active .faq-icon {
  transform: rotate(45deg);
  background: var(--primary-color);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  background: #fafbfc;
}

.faq-answer.active {
  /* max-height is now set dynamically by JavaScript */
  padding: 0 2rem 1.5rem 2rem;
}

/* FAQ Heights - Now calculated automatically by JavaScript */
/* No need for specific max-height rules anymore */

.faq-answer p {
  margin: 0;
  padding-top: 1rem;
  color: #475569;
  line-height: 1.7;
  font-size: 1rem;
}

/* Styles pour les mots-clés en gras dans les FAQ */
.faq-answer strong {
  color: var(--primary-color);
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
}

/* Styles pour les bullet points dans les FAQ */
.faq-answer p br {
  line-height: 1.8;
}

/* Animations au scroll */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.animate-on-scroll-delay {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out 0.2s;
}

.animate-on-scroll.animate-in,
.animate-on-scroll-delay.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.testimonial-author h4 {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.testimonial-author p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-style: normal;
  margin: 0;
}

/* Pricing Section */
.pricing {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
}

.pricing-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: stretch;
}

.pricing-card {
  flex: 0 1 calc(33.333% - 1.33rem);
  background: white;
  padding: 2.5rem 1.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: var(--transition);
  position: relative;
  min-width: 280px;
  max-width: 350px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.pricing-card.featured {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  border: none;
  box-shadow: var(--shadow-xl);
  transform: scale(1.05);
}

.pricing-card.featured .pricing-features li {
  color: rgba(255, 255, 255, 0.9);
}

.pricing-card.featured .pricing-features li::before {
  color: rgba(255, 255, 255, 1);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-8px);
}

.badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent-color) 0%, #DC2626 100%);
  color: white;
  padding: 6px 20px;
  border-radius: 25px;
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
}

.pricing-card h3 {
  font-size: 1.7rem;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
  font-weight: 600;
}

.pricing-card.featured h3 {
  color: white;
}

.price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 2rem;
  padding: 0.75rem 0;
  border-radius: var(--radius);
  background: rgba(5, 150, 105, 0.05);
}

.pricing-card.featured .price {
  background: rgba(255, 255, 255, 0.1);
}

.currency {
  font-size: 1.4rem;
  color: var(--text-secondary);
  margin-right: 0.25rem;
}

.pricing-card.featured .currency {
  color: rgba(255, 255, 255, 0.8);
}

.amount {
  font-size: 3.4rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
}

.pricing-card.featured .amount {
  color: white;
}

.period {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-left: 0.5rem;
  font-weight: 500;
}

.pricing-card.featured .period {
  color: rgba(255, 255, 255, 0.9);
}

.custom {
  font-size: 2rem;
  color: var(--primary-color);
  font-weight: 700;
}

.pricing-card.featured .custom {
  color: white;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
}

.pricing-features li {
  padding: 0.75rem 0;
  color: var(--text-secondary);
  position: relative;
  padding-left: 28px;
  border-bottom: 1px solid rgba(229, 231, 235, 0.3);
  font-size: 1rem;
  line-height: 1.4;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--secondary-color);
  font-weight: bold;
  font-size: 1.1rem;
  width: 20px;
  height: 20px;
  background: rgba(14, 165, 233, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Contact Section */
.contact {
  padding: 80px 0;
  background: var(--bg-light);
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.form-group {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.form-group input {
  flex: 1;
  min-width: 200px;
}

input, textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1.1rem;
  transition: var(--transition);
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

textarea {
  resize: vertical;
  margin-bottom: 1.5rem;
}

/* Footer */
.footer {
  background: var(--text-primary);
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section {
  flex: 1;
  min-width: 200px;
}

.footer-section h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.footer-section p {
  color: #D1D5DB;
  line-height: 1.8;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-section .contact-icon {
  font-size: 18px;
}

.footer-section .contact-label {
  color: #9CA3AF;
  font-size: 0.875rem;
  font-style: italic;
}

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

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section a {
  color: #D1D5DB;
  text-decoration: none;
  transition: var(--transition);
}

.footer-section a:hover {
  color: white;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #D1D5DB;
}

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

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

.footer-logo h3 {
  color: white;
  margin: 0;
  font-size: 1.4rem;
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes shimmer {
  100% { left: 100%; }
}

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

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

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

.animate-fade-in {
  animation: fadeInUp 0.8s ease-out;
}

.animate-fade-in-delay {
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.animate-fade-in-delay-2 {
  animation: fadeInUp 0.8s ease-out 2.6s both; /* Après toutes les lignes de texte */
}

/* Animations sur scroll pour la section demo */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll-delay {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: 0.2s;
}

.animate-on-scroll.animate-in,
.animate-on-scroll-delay.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (min-width: 1200px) {
  .pricing-grid {
    max-width: 1100px;
    margin: 0 auto;
  }
  
  .pricing-card {
    flex: 0 1 calc(33.333% - 1.5rem);
    max-width: 320px;
  }
}

@media (max-width: 1024px) {
  .hero .container {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
    align-items: center;
  }
  
  .hero-content {
    text-align: center;
    max-width: 100%;
  }
  
  .hero-title {
    text-align: center;
  }
  
  .hero-title strong {
    color: var(--primary-color) !important;
    font-weight: 700 !important;
    position: relative;
    text-shadow: 0 0 8px rgba(14, 165, 233, 0.3);
  }
  
  .hero-subtitle {
    text-align: center;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-visual {
    width: 100%;
    height: auto;
  }
  
  .hero-comparison-container {
    max-width: 400px;
    margin: 0 auto;
  }
  

  .pricing-card {
    flex: 0 1 calc(50% - 1rem);
  }
  
  .comparison-container {
    flex-direction: column;
  }
  
  .comparison-card {
    width: 100%;
    max-width: 500px;
  }
  
  .comparison-arrow {
    transform: rotate(90deg);
  }
}


@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

/* Logo mobile - espace réduit */
@media (max-width: 768px) {
  .logo {
    gap: 6px;
  }
}

/* Navigation mobile breakpoint changed to 880px */
@media (max-width: 880px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 0;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .nav-menu li {
    margin: 0;
    border-bottom: 1px solid #f1f5f9;
  }
  
  .nav-menu li:last-child {
    border-bottom: none;
  }
  
  .nav-menu a {
    display: block;
    width: 100%;
    padding: 1rem 1.5rem;
    margin: 0;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    background: transparent;
  }
  
  .nav-menu a:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    transform: translateX(8px) scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }
  
  .nav-menu a:active,
  .nav-menu a.clicked {
    transform: translateX(4px) scale(0.98);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  }
  
  .nav-menu a::after {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
  }
  
  .feature-card {
    max-width: 400px;
    margin: 0 auto;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
  }
  
  .testimonial-card {
    max-width: 400px;
    margin: 0 auto;
  }
  
  .lang-toggle {
    align-items: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
  }
  
  .lang-toggle span {
    line-height: 1;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    height: 100%;
    padding: 0;
    margin: 0;
    vertical-align: middle;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.15rem;
  }
  
  .hero .container {
    text-align: center;
    align-items: center;
  }
  
  .hero-content {
    text-align: center;
    max-width: 100%;
  }
  
  .hero-title {
    text-align: center;
    font-size: 2.3rem;
  }
  
  .hero-title strong {
    color: var(--primary-color) !important;
    font-weight: 700 !important;
    position: relative;
    text-shadow: 0 0 8px rgba(14, 165, 233, 0.3);
  }
  
  .hero-subtitle {
    text-align: center;
    font-size: 1.15rem;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-comparison-container {
    max-width: 350px;
    margin: 0 auto;
  }
  
  .hero-comparison-card {
    padding: 1rem;
  }
  
  .hero-comparison-card h3 {
    font-size: 1.1rem;
  }
  
  .hero-comparison-card .hero-website-preview {
    height: 140px;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .comparison-container {
    flex-direction: column;
  }
  
  .comparison-card {
    width: 100%;
    max-width: 500px;
  }
  
  .comparison-arrow {
    transform: rotate(90deg);
  }
  
  .pricing-card {
    flex: 0 1 100%;
  }
  
  .pricing-card.featured {
    order: -1;
  }
  
  .form-group {
    flex-direction: column;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }
  
  /* Mobile Theme Modal - Pleine largeur */
  .theme-modal {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    box-shadow: var(--shadow-lg);
    z-index: 10000;
    display: none;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }
  
  .theme-modal.show {
    display: block !important;
  }
  
  .theme-modal-content {
    width: 100%;
    background: white;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    margin: 0;
    box-sizing: border-box;
  }
  
  .theme-modal-header {
    padding: 0 0 1rem 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    margin-bottom: 1rem;
  }
  
  .theme-modal-header h3 {
    margin: 0 0 0.25rem 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
  }
  
  .theme-modal-header p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
  }
  
  .theme-modal-close {
    position: absolute;
    top: 0;
    right: 0;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 0.25rem;
    border-radius: 4px;
    transition: var(--transition);
  }
  
  .theme-modal-close:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
  }
  
  .theme-section {
    padding: 0 0 1.25rem 0;
    border-bottom: 1px solid var(--border-color);
  }
  
  .theme-section:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
  }
  
  .theme-section h4 {
    margin: 0 0 0.75rem 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
  
  .theme-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    width: 100%;
    margin: 0;
  }
  
  .theme-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0.5rem;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    background: var(--bg-white);
    min-height: 80px;
    justify-content: center;
  }
  
  .theme-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: 0 0 0 1px var(--primary-color);
  }
  
  .theme-card.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
    box-shadow: 0 0 0 2px var(--primary-color);
  }
  
  .theme-card.active .theme-name {
    color: white;
    font-weight: 600;
  }
  
  .theme-card-colors {
    display: flex;
    gap: 3px;
  }
  
  .theme-color {
    width: 20px;
    height: 20px;
    border-radius: 3px;
    border: 1px solid rgba(0, 0, 0, 0.1);
  }
  
  .theme-name {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-primary);
    text-align: center;
    transition: var(--transition);
  }
  
  .custom-color-input {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    margin: 0;
  }
  
  .color-preview {
    width: 32px;
    height: 32px;
    border-radius: var(--radius);
    border: 1.5px solid var(--border-color);
    background: #0EA5E9;
  }
  
  .custom-color-input label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    flex: 1;
  }
  
  .custom-color-input input[type="color"] {
    width: 40px;
    height: 32px;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    background: none;
  }
  
  .theme-modal-actions {
    padding: 0.75rem 0 0 0;
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
    border-top: 1px solid var(--border-color);
    margin-top: 0.75rem;
    width: 100%;
  }
  
  .theme-modal-actions .btn-palette {
    padding: 10px 18px !important;
    border-radius: var(--radius);
    font-weight: 500 !important;
    font-size: 0.95rem !important;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-decoration: none;
    display: inline-block;
  }
  
}

/* Mobile Responsive Lightbox */
@media (max-width: 768px) {
  .lightbox-wrapper {
    padding: 1rem;
  }
  
  .lightbox-main {
    gap: 1.5rem;
  }
  
  .image-showcase {
    padding: 1rem;
  }
  
  .image-frame {
    max-height: 40vh;
  }
  
  .image-container {
    aspect-ratio: 16/9;
  }
  
  .project-details {
    padding: 1.5rem;
    gap: 1rem;
  }
  
  .view-controls {
    padding: 0.75rem 0;
  }
  
  .project-metrics {
    margin-top: 0.75rem;
    padding-top: 1rem;
  }
  
  .metrics-header {
    margin-bottom: 1rem;
  }
  
  .metrics-header h4 {
    font-size: 0.9rem;
  }
  
  .metrics-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .metric-card {
    padding: 0.75rem;
  }
  
  .metric-icon {
    width: 32px;
    height: 32px;
  }
  
  .metric-value {
    font-size: 1.1rem;
  }
  
  .metric-label {
    font-size: 0.7rem;
  }
  
  .transition-controls {
    right: 0.5rem;
  }
  
  .lightbox-header {
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    grid-template-columns: 1fr auto 1fr;
    gap: 1rem;
    text-align: center;
    border-radius: 16px;
  }
  
  .close-btn {
    justify-self: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }
  
  .view-toggle-nav {
    order: -1;
    border-radius: 12px;
    padding: 5px;
  }
  
  .nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    font-size: 0.7rem;
  }
  
  .project-counter {
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.8rem;
  }
  
  .toggle-option {
    width: 2rem;
    height: 2rem;
    padding: 0;
    font-size: 0.75rem;
    border-radius: 0.5rem;
  }

  .badge {
    padding: 4px 12px;
    font-size: 0.7rem;
    border-radius: 16px;
  }

  .status-badge {
    padding: 6px 12px;
    font-size: 0.7rem;
    gap: 0.3rem;
  }
  
  .project-counter {
    font-size: 0.8rem;
  }
  
  .nav-btn {
    width: 35px;
    height: 35px;
    font-size: 0.65rem;
  }

  .toggle-option span {
    display: none;
  }
  
  .close-btn {
    width: 40px;
    height: 40px;
  }
  
  
  .magic-wand {
    width: 40px;
    height: 40px;
  }
  
  .project-info-minimal {
    padding: 1rem 1.5rem;
  }
  
  .project-info-minimal h2 {
    font-size: 1rem;
  }

}


/* ======================
   MATERIAL ICONS GLOBAL
   ====================== */

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined', 'Material Icons', 'Material Icons Outlined', sans-serif;
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'liga';
}

/* ======================
   CONTACT FORMS STYLES
   ====================== */

.contact {
  padding: 4rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  position: relative;
}

.contact .section-title {
  color: #1e293b;
  text-shadow: none;
}

.contact .section-subtitle {
  color: #64748b;
  text-shadow: none;
}

.contact-forms-container {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

/* Onglets */
.form-tabs {
  display: flex;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-bottom: 1px solid #e2e8f0;
  position: relative;
}

.tab-button {
  flex: 1;
  padding: 1.25rem 1rem;
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: #64748b;
  z-index: 1;
}

.tab-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.tab-button:hover::before {
  opacity: 0.05;
}

.tab-button:hover {
  color: var(--primary-color);
  transform: translateY(-1px);
}

.tab-button.active {
  background: white;
  color: var(--primary-color);
  border-bottom: 3px solid var(--primary-color);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.tab-button.active::before {
  opacity: 0;
}

.tab-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tab-icon .material-symbols-outlined {
  font-size: 24px;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  font-family: 'Material Symbols Outlined', 'Material Icons', 'Material Icons Outlined', sans-serif;
}

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

.tab-text {
  font-size: 0.9rem;
  text-align: center;
}

/* Contenu des formulaires */
.form-content {
  display: none;
  padding: 2rem;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-content.active {
  display: block;
  animation: slideInFromRight 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

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

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

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

.form-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e2e8f0;
}

.form-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.form-header p {
  color: #64748b;
  font-size: 1rem;
}

.form-no-commitment {
  color: var(--primary-color) !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  margin-top: 0.5rem !important;
  text-align: center;
  background: rgba(var(--primary-color-rgb, 14, 165, 233), 0.1);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  border: 1px solid rgba(var(--primary-color-rgb, 14, 165, 233), 0.2);
}

/* Styles des formulaires */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-form > * {
  margin-bottom: 0.5rem;
}

.form-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group input,
.form-group select {
  margin-bottom: 0.5rem;
}

.form-section {
  margin-bottom: 1.25rem;
  padding: 0.25rem 0;
}

.form-section h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-color);
  display: inline-block;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  background: white;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* Checkbox styles */
.checkbox-group,
.checkbox-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  padding: 0.75rem;
  border-radius: 8px;
  transition: background-color 0.3s ease;
  border: 1px solid #e2e8f0;
}

.checkbox-label:hover {
  background: #f8fafc;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin: 0;
  position: absolute;
  opacity: 0;
}

.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid #e2e8f0;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  content: '✓';
  color: white;
  font-size: 12px;
  font-weight: bold;
}

/* Modern File Upload System */
.file-upload-container {
  margin-bottom: 1.5rem;
  background: #f8fafc;
  border-radius: 12px;
  padding: 1.25rem;
  border: 1px solid #e2e8f0;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.file-upload-container:hover {
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.file-upload-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e2e8f0;
}

.file-header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.file-header-left .material-symbols-outlined {
  font-size: 20px;
  color: var(--primary-color);
  font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 20;
}

.file-header-left h5 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
}

.file-header-right {
  display: flex;
  align-items: center;
}

.file-format-info {
  font-size: 0.75rem;
  color: #475569;
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid #cbd5e1;
}

/* Dropzone Styles */
.file-dropzone {
  position: relative;
  border: 2px dashed #cbd5e1;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  background: white;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  overflow: hidden;
}

.file-dropzone::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.file-dropzone:hover,
.file-dropzone.dragover {
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.file-dropzone:hover::before,
.file-dropzone.dragover::before {
  opacity: 0.03;
}

.file-dropzone.dragover {
  border-style: solid;
  background: #f0f9ff;
}

.dropzone-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.dropzone-icon {
  font-size: 48px !important;
  color: #94a3b8;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 48;
}

.file-dropzone:hover .dropzone-icon,
.file-dropzone.dragover .dropzone-icon {
  color: var(--primary-color);
  transform: scale(1.1);
}

.dropzone-text {
  margin: 0;
  color: #64748b;
  font-size: 1rem;
  font-weight: 500;
}



/* File Preview Styles */
.file-preview {
  margin-top: 1rem;
  display: grid;
  gap: 0.75rem;
}

.file-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: white;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  animation: slideInFromBottom 0.3s ease;
  overflow: hidden;
  min-width: 0;
}

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

.file-item:hover {
  border-color: var(--primary-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.file-icon {
  width: 40px;
  height: 40px;
  background: #f1f5f9;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.file-icon .material-symbols-outlined {
  font-size: 20px;
  color: var(--primary-color);
  font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 20;
}

.file-preview-image {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.file-info {
  flex-grow: 1;
  min-width: 0;
  overflow: hidden;
  max-width: calc(100% - 120px);
}

.file-name {
  font-weight: 600;
  color: #1e293b;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.file-size {
  font-size: 0.8rem;
  color: #64748b;
}

.file-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
}

.file-status.success {
  color: #0EA5E9;
}

.file-status.error {
  color: #ef4444;
}

.file-status .material-symbols-outlined {
  font-size: 16px;
}

.file-remove {
  background: #ef4444;
  color: white;
  border: none;
  padding: 0.5rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.file-remove:hover {
  background: #dc2626;
  transform: scale(1.05);
}

.file-remove .material-symbols-outlined {
  font-size: 16px;
}

/* Upload Summary */
.upload-summary {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.upload-global-limits {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: #f8fafc;
  border-radius: 6px;
  border-left: 4px solid var(--primary-color);
}

.upload-global-limits h6 {
  margin: 0 0 0.75rem 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary-color);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.global-limits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.global-limit-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.global-limit-item strong {
  color: #1f2937;
  font-size: 0.875rem;
  font-weight: 600;
}

.global-limit-item small {
  color: #6b7280;
  font-size: 0.75rem;
  line-height: 1.3;
}

.file-limits-detail {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  align-items: flex-end;
}

.limit-item {
  font-size: 0.75rem;
  color: #6b7280;
  background: #f3f4f6;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  white-space: nowrap;
}

.limit-item strong {
  color: #374151;
}

.upload-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  gap: 1rem;
}

.upload-stat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #64748b;
}

.upload-stat .material-symbols-outlined {
  font-size: 18px;
  color: var(--primary-color);
}

.upload-stat strong {
  color: #1e293b;
}

.upload-progress {
  margin-top: 1rem;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
  border-radius: 4px;
  transition: width 0.3s ease;
  width: 0%;
}

.progress-fill.warning {
  background: linear-gradient(90deg, #f59e0b, #d97706);
}

.progress-fill.danger {
  background: linear-gradient(90deg, #ef4444, #dc2626);
}

/* Responsive Design */
@media (max-width: 768px) {
  .file-upload-container {
    padding: 1rem;
    margin-bottom: 1.25rem;
  }
  
  .file-dropzone {
    padding: 1.5rem;
  }
  
  .dropzone-icon {
    font-size: 36px !important;
  }
  
  .upload-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  /* Upload mobile responsive */
  .global-limits-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .file-limits-detail {
    align-items: flex-start;
    margin-top: 0.5rem;
  }
  
  .file-upload-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  
  .file-item {
    padding: 0.75rem;
    gap: 0.75rem;
  }
  
  .file-name {
    font-size: 0.85rem;
  }
  
  .file-info {
    max-width: calc(100% - 100px);
  }
  
  .file-header-left,
  .file-header-right {
    width: 100%;
    justify-content: flex-start;
  }
  
  .file-format-info {
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
  }
}

/* Note et informations */
.form-note {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 8px;
  padding: 1rem;
  margin: 1rem 0;
}

.form-note p {
  margin: 0;
  color: #0369a1;
  font-size: 0.9rem;
}

/* Styles des boutons */
.btn {
  padding: 0.875rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

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

/* Spinner avec animations SVG natives */
.spinner {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  /* Pas d'animation CSS - le SVG a ses propres <animate> */
}

.btn-loading {
  display: none; /* Suppression de !important pour permettre le JavaScript */
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.hidden {
  display: none !important;
}

/* Responsive */
@media (max-width: 768px) {
  .form-tabs {
    flex-direction: column;
  }
  
  .tab-button {
    flex-direction: row;
    justify-content: center;
    padding: 1rem;
  }
  
  .tab-icon .material-symbols-outlined {
    font-size: 20px;
  }
  
  .form-content {
    padding: 1.5rem;
  }
  
  .form-group {
    grid-template-columns: 1fr;
  }
  
  .checkbox-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .contact {
    padding: 1.5rem 0;
  }
  
  .contact-forms-container {
    margin: 0 !important;
    border-radius: 12px;
    max-width: 100% !important;
    width: 100% !important;
  }
  
  .form-content {
    padding: 1rem 0.1rem !important;
  }
  
  .contact-form {
    padding: 0 1rem !important;
    margin: 0 !important;
  }
  
  .tab-button {
    padding: 1rem 0.3rem !important;
    gap: 0.5rem !important;
    min-height: 75px !important;
  }
  
  .tab-text {
    font-size: 1rem !important;
  }
  
  .btn {
    padding: 16px 24px !important;
    font-size: 1.4rem !important;
    min-height: 54px !important;
  }
  
  .tab-text {
    line-height: 1.3 !important;
    font-weight: 600 !important;
    text-align: center !important;
    word-wrap: break-word !important;
    hyphens: auto !important;
  }
  
  .tab-icon .material-symbols-outlined {
    font-size: 26px !important;
    font-weight: 500 !important;
  }
  
  /* Ajustements des formulaires pour mobile */
  .form-group {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .contact-form input,
  .contact-form textarea,
  .contact-form select {
    padding: 0.75rem 0.75rem !important;
    font-size: 1rem !important;
    margin: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .contact-form textarea {
    min-height: 100px;
  }
  
  .form-header {
    padding: 0 1rem !important;
  }
  
  .form-header h3 {
    font-size: 1.4rem !important;
  }
  
  .form-header p {
    font-size: 1rem !important;
  }
  
  .form-section h4 {
    font-size: 1.1rem !important;
  }
  
  /* Checkbox responsive */
  .checkbox-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding-left: 0.75rem !important;
  }
  
  .checkbox-label {
    padding: 0.5rem 0.1rem 0.5rem 0.75rem !important;
    font-size: 1rem !important;
  }
  
  /* Upload zones plus compactes */
  .file-dropzone {
    padding: 1.25rem 0.2rem !important;
  }
  
  .dropzone-icon {
    font-size: 32px !important;
  }
  
  .dropzone-text {
    font-size: 0.8rem;
    margin: 0.25rem 0;
  }
  
  /* Texte adapté pour mobile - remplacer complètement */
  .dropzone-text {
    visibility: hidden !important;
    position: relative !important;
  }
  
  .dropzone-text::after {
    visibility: visible !important;
    position: absolute !important;
    top: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
  }
  
  #logo-dropzone .dropzone-text::after {
    content: "Sélectionnez votre logo" !important;
  }
  
  #images-dropzone .dropzone-text::after {
    content: "Sélectionnez vos images" !important;
  }
  
  #documents-dropzone .dropzone-text::after {
    content: "Sélectionnez vos documents" !important;
  }
  
  /* Pour la langue anglaise */
  html[lang="en"] #logo-dropzone .dropzone-text::after {
    content: "Select your logo" !important;
  }
  
  html[lang="en"] #images-dropzone .dropzone-text::after {
    content: "Select your images" !important;
  }
  
  html[lang="en"] #documents-dropzone .dropzone-text::after {
    content: "Select your documents" !important;
  }
  
  .btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem !important;
  }
  
  .dropzone-content .btn {
    padding: 0.5rem 0.8rem !important;
    font-size: 0.9rem !important;
    min-height: auto !important;
  }
  
  .file-upload-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  
  .file-header-right {
    align-self: stretch;
  }
  
  .file-limits-detail {
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .limit-item {
    font-size: 0.8rem !important;
    padding: 0.2rem 0.4rem;
  }
  
  /* Upload summary mobile */
  .upload-summary {
    padding: 1rem 0.5rem !important;
    margin-top: 1rem;
  }
  
  .global-limits-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .upload-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .upload-stat {
    font-size: 0.9rem !important;
  }
  
  /* File preview mobile */
  .file-item {
    padding: 0.75rem;
  }
  
  .file-icon,
  .file-preview-image {
    width: 32px;
    height: 32px;
  }
  
  .file-name {
    font-size: 0.9rem !important;
  }
  
  .file-size {
    font-size: 0.8rem !important;
  }
  
  .file-remove {
    padding: 0.4rem;
  }
  
  /* Boutons de formulaire */
  .contact-form .btn {
    padding: 0.875rem 1.5rem;
    font-size: 1rem !important;
    width: 100%;
    justify-content: center;
  }
  
  .btn-text {
    font-weight: 600;
    font-size: 1rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Pricing details section */
.pricing-details {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border-color);
}

.pricing-details-toggle {
  width: 100%;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 600;
  font-size: 1.1rem;
  color: #374151;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin: 1rem 0 1rem 0;
}

.pricing-details-toggle:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}

.pricing-details-toggle.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.toggle-icon {
  transition: transform 0.3s ease;
  color: #6b7280;
  font-size: 14px;
}

.pricing-details-toggle:hover .toggle-icon {
  color: #374151;
}

.pricing-details-toggle.active .toggle-icon {
  transform: rotate(180deg);
  color: white;
}

.pricing-details-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.pricing-details-content.active {
  max-height: 2000px;
  padding-top: 2rem;
}

.pricing-details-section {
  margin-bottom: 3rem;
}

.pricing-details-section:last-child {
  margin-bottom: 0;
}

.pricing-details-section h4 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  text-align: center;
}

.pricing-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.pricing-detail-item {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: var(--transition);
}

.pricing-detail-item:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
}

.pricing-detail-item h5 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.pricing-detail-item p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.pricing-current-offer {
  text-align: center;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 500;
  margin-top: 1.5rem;
}

.pricing-optional-note {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.pricing-details-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1.5rem;
}

.pricing-column h5 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
  text-align: center;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-color);
}

.pricing-column .pricing-detail-item {
  margin-bottom: 1rem;
}

.pricing-column .pricing-detail-item h6 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.pricing-column .pricing-detail-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Pricing card enhancements */
.pricing-subtitle {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.pricing-card.featured .pricing-subtitle {
  color: rgba(255, 255, 255, 0.9);
}

.pricing-extras {
  margin: 1rem 0;
  padding: 0.75rem;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  text-align: center;
}

.pricing-extras small {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.pricing-timeline {
  margin: 1rem 0;
  text-align: center;
}

.pricing-timeline small {
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-style: italic;
}

.pricing-card.featured .pricing-timeline small {
  color: white;
}

/* Modal légal */
.legal-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.legal-modal.show {
  opacity: 1;
  visibility: visible;
}

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

.legal-modal-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  transition: transform 0.3s ease;
  max-height: 90vh;
  width: 90%;
  max-width: 800px;
}

.legal-modal.show .legal-modal-wrapper {
  transform: translate(-50%, -50%) scale(1);
}

.legal-modal-content {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.legal-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-color);
  background: linear-gradient(135deg, #0EA5E9, #0369A1);
}

.legal-modal-header h2 {
  color: white;
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.legal-modal-close {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius);
  transition: background-color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.legal-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.legal-modal-body {
  padding: 2rem;
  max-height: 70vh;
  overflow-y: auto;
}

.legal-modal-body h3 {
  color: var(--text-primary);
  font-size: 1.25rem;
  margin: 1.5rem 0 1rem 0;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 0.5rem;
}

.legal-modal-body h3:first-child {
  margin-top: 0;
}

.legal-modal-body p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.legal-modal-body ul {
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.legal-modal-body li {
  margin-bottom: 0.5rem;
}

.legal-section {
  margin-bottom: 2rem;
}

.legal-links {
  text-align: center;
  padding: 1rem 0 0 0;
  border-top: 1px solid #e2e8f0;
  margin-top: 1.5rem;
}

.legal-links small {
  color: var(--text-secondary);
  font-size: 0.8rem;
}

.legal-link {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

.legal-link:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .legal-modal-wrapper {
    width: 95%;
    max-height: 95vh;
  }
  
  .legal-modal-header {
    padding: 1rem 1.5rem;
  }
  
  .legal-modal-header h2 {
    font-size: 1.25rem;
  }
  
  .legal-modal-body {
    padding: 1.5rem;
    max-height: 75vh;
  }
}

/* Responsive adjustments for pricing details */
@media (max-width: 768px) {
  .pricing-details-columns {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .pricing-details-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .pricing-detail-item {
    padding: 1.25rem;
  }
  
  .pricing-details-section h4 {
    font-size: 1.25rem;
  }
}

/* ===== TESTIMONIALS MODERNES ===== */
.testimonials {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.testimonials .section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.testimonials-connected-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.testimonial-card.enhanced {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.testimonial-card.enhanced:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.testimonial-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  gap: 1rem;
}

.project-info-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.project-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.project-icon .material-symbols-outlined {
  font-size: 1.5rem;
  color: white;
}

.bio-taupe-icon {
  background: linear-gradient(135deg, #0EA5E9, #0369A1);
}

.mv-hs-icon {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.nicolau-icon {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}

.equite-icon {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.project-details {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.project-name {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
  line-height: 1.2;
}

.project-type {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.2;
}

.stars-modern {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}

.stars-container {
  display: flex;
  gap: 2px;
}

.star {
  font-size: 1rem;
  color: #e2e8f0;
  transition: var(--transition);
}

.star.filled {
  color: #fbbf24;
}

.rating-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.testimonial-quote {
  margin: 1rem 0;
  position: relative;
}

.testimonial-quote p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-primary);
  font-style: italic;
  margin: 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0EA5E9, #0369A1);
  flex-shrink: 0;
  position: relative;
}

.author-avatar.bio-taupe {
  background: linear-gradient(135deg, #0EA5E9, #0369A1);
}

.author-avatar.mv-hs {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.author-avatar.nicolau {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}

.author-avatar.equite {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}



.author-info {
  flex: 1;
}

.author-info h4 {
  margin: 0 0 0.25rem 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.author-info p {
  margin: 0 0 0.5rem 0;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.author-stats {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.stat-item {
  background: var(--bg-light);
  color: var(--primary-color);
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  border: 1px solid rgba(14, 165, 233, 0.2);
}

.project-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem;
  background: rgba(14, 165, 233, 0.1);
  border-radius: var(--radius);
  border: 1px solid rgba(14, 165, 233, 0.2);
  flex-shrink: 0;
  min-width: 80px;
}

.project-badge .material-symbols-outlined {
  font-size: 1.25rem;
  color: var(--primary-color);
}

.project-badge span:last-child {
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--primary-color);
  text-align: center;
  line-height: 1.2;
}

.testimonials-stats {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  display: block;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Responsive pour témoignages */
@media (max-width: 768px) {
  .testimonials-connected-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .testimonial-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .testimonial-author {
    flex-wrap: wrap;
  }
  
  .project-badge {
    align-self: flex-start;
    min-width: auto;
  }
  
  .stats-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .testimonial-card.enhanced {
    padding: 1.25rem;
  }
  
  .testimonial-quote {
    height: 180px;
  }
  
  .project-info-badge {
    gap: 0.75rem;
  }
  
  .testimonial-author {
    gap: 0.75rem;
  }
  
  .stats-container {
    grid-template-columns: 1fr;
  }
  
  .project-icon {
    width: 45px;
    height: 45px;
  }
  
  .project-icon .material-symbols-outlined {
    font-size: 1.25rem;
  }
  
  /* Lightbox mobile - permettre scroll */
  .lightbox-wrapper {
    height: auto;
    min-height: 100vh;
    max-height: 100vh;
    overflow-y: auto;
    padding: 0.5rem;
  }
  
  .lightbox-main {
    gap: 1rem;
  }
  
  /* Chips pour très petits écrans - 2 colonnes */
  .project-chips-explanation {
    padding: 0.65rem;
    margin-bottom: 1rem;
  }
  
  .chips-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
  }
  
  .chip-explanation {
    padding: 0.65rem;
    min-height: auto;
    flex-direction: column;
    text-align: center;
    gap: 0.35rem;
  }
  
  .chip-icon {
    font-size: 1.1rem;
  }
  
  .chip-text {
    width: 100%;
  }
  
  .chip-text strong {
    font-size: 0.75rem;
    display: block;
    margin-bottom: 0.25rem;
  }
  
  .chip-text span {
    font-size: 0.65rem;
    line-height: 1.25;
    display: block;
  }
  
  /* FAQ Heights - Now calculated automatically by JavaScript on all devices */
  /* No need for specific mobile max-height rules anymore */
  
  /* Features Section - Mobile */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
  }
  
  .feature-card {
    padding: 2rem 1.5rem;
  }
  
  .feature-card h3 {
    font-size: 1.3rem;
  }
}

/* Features Section - Tablettes */
@media (max-width: 1024px) and (min-width: 769px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

