/* Design moderne pour la page Création de Sites Web */

/* Variables CSS */
:root {
  --primary-color: #667eea;
  --secondary-color: #764ba2;
  --accent-color: #f093fb;
  --text-dark: #2d3748;
  --text-light: #718096;
  --white: #ffffff;
  --gray-50: #f7fafc;
  --gray-100: #edf2f7;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e0;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
  --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  --gradient-accent: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--white);
}

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

/* Header moderne */
.site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-nav {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

.brand {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-list a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.nav-list a:hover {
  background: var(--gradient-primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Hero Section Moderne */
.hero-modern {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-primary);
  overflow: hidden;
  padding: 60px 0 40px 0;
}

.hero-background {
  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 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="400" cy="700" r="120" fill="url(%23a)"/></svg>');
  opacity: 0.3;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.1);
}

.hero-content-modern {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
}

.hero-title-modern {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.gradient-text {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description-modern {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-stats-modern {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-number-modern {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
}

.stat-label-modern {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.btn-primary, .btn-secondary {
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

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

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.floating-card {
  background: var(--white);
  border-radius: 20px;
  padding: 1rem;
  box-shadow: var(--shadow-xl);
  transform: rotate(3deg);
  transition: all 0.3s ease;
}

.floating-card:hover {
  transform: rotate(0deg) scale(1.05);
}

.hero-image-modern {
  width: 100%;
  max-width: 500px;
  height: 350px;
  object-fit: cover;
  border-radius: 15px;
}

/* Section Services Moderne */
.services-modern {
  padding: 6rem 0;
  background: var(--gray-50);
}

.section-header-modern {
  text-align: center;
  margin-bottom: 4rem;
}

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

.section-subtitle-modern {
  font-size: 1.125rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.services-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card-modern {
  background: var(--white);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: 1px solid var(--gray-200);
}

.service-card-modern:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-color);
}

.service-icon-modern {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.service-card-modern h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.service-card-modern p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.service-features {
  list-style: none;
}

.service-features li {
  padding: 0.5rem 0;
  color: var(--text-light);
  position: relative;
  padding-left: 1.5rem;
}

.service-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

/* Section Processus Moderne */
.process-modern {
  padding: 6rem 0;
  background: var(--white);
}

.timeline-modern {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.timeline-modern::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gradient-primary);
  transform: translateX(-50%);
}

.timeline-step {
  display: flex;
  align-items: center;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-step:nth-child(even) {
  flex-direction: row-reverse;
}

.step-number-modern {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
  box-shadow: var(--shadow-lg);
  z-index: 2;
  position: relative;
}

.step-content {
  background: var(--white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow-md);
  margin: 0 2rem;
  flex: 1;
  border: 1px solid var(--gray-200);
}

.step-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.step-content p {
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.step-duration {
  display: inline-block;
  background: var(--gradient-accent);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Section Technologies Moderne */
.technologies-modern {
  padding: 6rem 0;
  background: var(--gray-50);
}

.tech-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.tech-category {
  background: var(--white);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

.tech-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--gray-200);
}

.tech-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
}

.tech-icon {
  font-size: 2rem;
}

.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tech-tag {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.tech-tag:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Section Devis Moderne */
.devis-modern {
  padding: 6rem 0;
  background: var(--white);
}

.devis-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.devis-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 1rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.devis-text p {
  font-size: 1.125rem;
  color: #4a5568;
  margin-bottom: 2rem;
  line-height: 1.6;
  font-weight: 500;
}

.devis-benefits {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-dark);
  font-weight: 500;
}

.benefit-icon {
  font-size: 1.25rem;
}

.devis-form-modern {
  background: var(--gray-50);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group-modern {
  margin-bottom: 1.5rem;
}

.form-group-modern label {
  display: block;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.form-group-modern input,
.form-group-modern select,
.form-group-modern textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--gray-200);
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--white);
}

.form-group-modern input:focus,
.form-group-modern select:focus,
.form-group-modern textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.btn-submit-modern {
  width: 100%;
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  padding: 1rem 2rem;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-submit-modern:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-icon {
  font-size: 1.125rem;
}

/* Section CTA Finale */
.cta-final {
  padding: 6rem 0;
  background: var(--gradient-primary);
  text-align: center;
  color: var(--white);
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-buttons-modern {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-phone, .btn-email {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-phone:hover, .btn-email:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* Footer Moderne */
.footer-modern {
  background: var(--text-dark);
  color: var(--white);
  padding: 3rem 0;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

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

.footer-brand-text {
  font-size: 1.25rem;
  font-weight: 600;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content-modern {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .hero-title-modern {
    font-size: 2.5rem;
  }
  
  .hero-stats-modern {
    justify-content: center;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .timeline-modern::before {
    left: 30px;
  }
  
  .timeline-step {
    flex-direction: column !important;
    align-items: flex-start;
    padding-left: 60px;
  }
  
  .step-content {
    margin: 1rem 0 0 0;
  }
  
  .devis-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .nav-list {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-title-modern {
    font-size: 2rem;
  }
  
  .section-title-modern {
    font-size: 2rem;
  }
  
  .services-grid-modern {
    grid-template-columns: 1fr;
  }
  
  .tech-grid-modern {
    grid-template-columns: 1fr;
  }
}

/* Section Tarifs Détaillés */
.tarifs-detailed {
  padding: 80px 0;
  background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
}

.tarifs-detailed h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.tarifs-detailed .tarifs-intro {
  text-align: center;
  font-size: 1.1rem;
  color: #4a5568;
  margin-bottom: 50px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 500;
}

.tarifs-detailed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.tarif-detailed-card {
  background: var(--white);
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(102, 126, 234, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.tarif-detailed-card.featured {
  border: 2px solid var(--primary-color);
  transform: scale(1.05);
}

.tarif-detailed-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.tarif-detailed-card.featured:hover {
  transform: scale(1.05) translateY(-10px);
}

.tarif-detailed-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--gradient-accent);
  color: var(--white);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.tarif-detailed-header {
  text-align: center;
  margin-bottom: 25px;
}

.tarif-detailed-header h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.tarif-detailed-prix {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.tarif-detailed-prix .montant {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
}

.tarif-detailed-prix .prix-detail {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 500;
}

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

.tarif-detailed-features li {
  padding: 8px 0;
  color: var(--text-dark);
  position: relative;
  padding-left: 25px;
}

.tarif-detailed-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #48bb78;
  font-weight: bold;
  font-size: 1.1rem;
}

.tarif-detailed-btn {
  display: block;
  width: 100%;
  padding: 12px 20px;
  background: var(--gradient-primary);
  color: #ffffff;
  text-decoration: none;
  text-align: center;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.tarif-detailed-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(102, 126, 234, 0.4);
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.tarif-detailed-btn.featured {
  background: var(--gradient-accent);
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.tarifs-detailed-note {
  background: rgba(102, 126, 234, 0.05);
  border: 1px solid rgba(102, 126, 234, 0.1);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.tarifs-detailed-note h4 {
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.services-additionnels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-bottom: 20px;
}

.service-additionnel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  background: var(--white);
  border-radius: 8px;
  border: 1px solid rgba(102, 126, 234, 0.1);
}

.service-name {
  font-weight: 500;
  color: var(--text-dark);
}

.service-prix {
  font-weight: 600;
  color: var(--primary-color);
}

.tarifs-detailed-note p {
  margin: 0;
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Responsive pour les tarifs détaillés */
@media (max-width: 768px) {
  .tarifs-detailed-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .tarif-detailed-card {
    padding: 25px;
  }
  
  .tarif-detailed-card.featured {
    transform: none;
  }
  
  .tarif-detailed-card.featured:hover {
    transform: translateY(-10px);
  }
  
  .tarif-detailed-header h3 {
    font-size: 1.2rem;
  }
  
  .tarif-detailed-prix .montant {
    font-size: 2rem;
  }
  
  .tarifs-detailed h2 {
    font-size: 2rem;
  }
  
  .services-additionnels {
    grid-template-columns: 1fr;
  }
}

/* Section Contact Moderne */
.contact-section-modern {
  padding: 80px 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: var(--white);
}

.contact-section-modern h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: var(--white);
}

.contact-content-modern {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info-modern {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact-details-modern {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-item-modern {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.contact-item-modern:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

.contact-icon-modern {
  font-size: 2rem;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  flex-shrink: 0;
}

.contact-text-modern h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 8px 0;
  color: var(--white);
}

.contact-text-modern p {
  margin: 0;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

.contact-text-modern a {
  color: var(--white);
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-text-modern a:hover {
  color: #f093fb;
  text-decoration: underline;
}

.contact-map-modern {
  width: 100%;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.contact-map-modern iframe {
  width: 100%;
  height: 100%;
  border: none;
  transition: all 0.3s ease;
}

.contact-map-modern iframe:hover {
  transform: scale(1.02);
}

/* Responsive pour la section contact moderne */
@media (max-width: 768px) {
  .contact-info-modern {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .contact-item-modern {
    padding: 15px;
  }
  
  .contact-icon-modern {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
  }
  
  .contact-map-modern {
    height: 300px;
  }
  
  .contact-section-modern h2 {
    font-size: 2rem;
  }
}

/* Responsive Design Amélioré pour la page Création de Sites */

/* Tablettes et petits écrans */
@media (max-width: 1024px) {
  .container {
    padding: 0 15px;
  }
  
  .hero-title-modern {
    font-size: 3rem;
  }
  
  .hero-description-modern {
    font-size: 1.1rem;
  }
  
  .hero-stats-modern {
    gap: 1.5rem;
  }
  
  .services-grid-modern {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }
  
  .tech-grid-modern {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }
  
  .tarifs-detailed-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
  }
}

/* Tablettes */
@media (max-width: 768px) {
  .site-header .container {
    flex-direction: column;
    gap: 1rem;
  }
  
  .logo {
    width: 40px;
    height: 40px;
  }
  
  .brand {
    font-size: 1.3rem;
  }
  
  .hero-modern {
    min-height: auto;
    padding: 2rem 0;
  }
  
  .hero-content-modern {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
    padding: 2rem 0;
  }
  
  .hero-title-modern {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  .hero-description-modern {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-stats-modern {
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .stat-number-modern {
    font-size: 1.5rem;
  }
  
  .stat-label-modern {
    font-size: 0.8rem;
  }
  
  .hero-actions {
    justify-content: center;
    gap: 0.75rem;
  }
  
  .btn-primary, .btn-secondary {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .floating-card {
    transform: rotate(0deg);
    max-width: 400px;
  }
  
  .hero-image-modern {
    height: 250px;
  }
  
  .services-modern {
    padding: 4rem 0;
  }
  
  .section-title-modern {
    font-size: 2rem;
  }
  
  .section-subtitle-modern {
    font-size: 1rem;
  }
  
  .services-grid-modern {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .service-card-modern {
    padding: 1.5rem;
  }
  
  .process-modern {
    padding: 4rem 0;
  }
  
  .timeline-modern::before {
    left: 30px;
  }
  
  .timeline-step {
    flex-direction: column !important;
    align-items: flex-start;
    padding-left: 60px;
    margin-bottom: 2rem;
  }
  
  .timeline-step:nth-child(even) {
    flex-direction: column !important;
  }
  
  .step-number-modern {
    width: 50px;
    height: 50px;
    font-size: 1rem;
    position: absolute;
    left: -25px;
  }
  
  .step-content {
    margin: 1rem 0 0 0;
    padding: 1.5rem;
  }
  
  .step-content h3 {
    font-size: 1.1rem;
  }
  
  .step-content p {
    font-size: 0.9rem;
  }
  
  .technologies-modern {
    padding: 4rem 0;
  }
  
  .tech-grid-modern {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .tech-category {
    padding: 1.5rem;
  }
  
  .tech-header h3 {
    font-size: 1.1rem;
  }
  
  .tech-list {
    gap: 0.5rem;
  }
  
  .tech-tag {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
  
  .devis-modern {
    padding: 4rem 0;
  }
  
  .devis-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .devis-text h2 {
    font-size: 2rem;
  }
  
  .devis-text p {
    font-size: 1rem;
  }
  
  .devis-form-modern {
    padding: 1.5rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .form-group-modern input,
  .form-group-modern select,
  .form-group-modern textarea {
    padding: 0.75rem;
    font-size: 0.9rem;
  }
  
  .btn-submit-modern {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .tarifs-detailed {
    padding: 4rem 0;
  }
  
  .tarifs-detailed h2 {
    font-size: 2rem;
  }
  
  .tarifs-detailed .tarifs-intro {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
  .tarifs-detailed-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .tarif-detailed-card {
    padding: 1.5rem;
  }
  
  .tarif-detailed-card.featured {
    transform: none;
  }
  
  .tarif-detailed-header h3 {
    font-size: 1.1rem;
  }
  
  .tarif-detailed-prix .montant {
    font-size: 1.8rem;
  }
  
  .tarifs-detailed-note {
    padding: 1.5rem;
  }
  
  .services-additionnels {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .service-additionnel {
    padding: 0.75rem 1rem;
  }
  
  .cta-final {
    padding: 4rem 0;
  }
  
  .cta-content h2 {
    font-size: 2rem;
  }
  
  .cta-content p {
    font-size: 1rem;
  }
  
  .cta-buttons-modern {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .btn-phone, .btn-email {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    justify-content: center;
  }
  
  .contact-section-modern {
    padding: 4rem 0;
  }
  
  .contact-section-modern h2 {
    font-size: 2rem;
  }
  
  .contact-info-modern {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-item-modern {
    padding: 1rem;
  }
  
  .contact-icon-modern {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
  }
  
  .contact-text-modern h4 {
    font-size: 1rem;
  }
  
  .contact-text-modern p {
    font-size: 0.9rem;
  }
  
  .contact-map-modern {
    height: 250px;
  }
  
  .footer-modern {
    padding: 2rem 0;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .footer-brand {
    justify-content: center;
  }
  
  .footer-logo {
    width: 35px;
    height: 35px;
  }
  
  .footer-brand-text {
    font-size: 1.1rem;
  }
}

/* Mobiles */
@media (max-width: 480px) {
  .container {
    padding: 0 10px;
  }
  
  .site-header {
    padding: 0.75rem 0;
  }
  
  .logo {
    width: 35px;
    height: 35px;
  }
  
  .brand {
    font-size: 1.1rem;
  }
  
  .hero-modern {
    padding: 1.5rem 0;
  }
  
  .hero-content-modern {
    padding: 1rem 0;
  }
  
  .hero-title-modern {
    font-size: 2rem;
    margin-bottom: 0.75rem;
  }
  
  .hero-description-modern {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }
  
  .hero-stats-modern {
    gap: 1rem;
    margin-bottom: 1rem;
  }
  
  .stat-number-modern {
    font-size: 1.3rem;
  }
  
  .stat-label-modern {
    font-size: 0.7rem;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .btn-primary, .btn-secondary {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    justify-content: center;
  }
  
  .floating-card {
    max-width: 300px;
    padding: 0.75rem;
  }
  
  .hero-image-modern {
    height: 200px;
  }
  
  .services-modern {
    padding: 3rem 0;
  }
  
  .section-title-modern {
    font-size: 1.8rem;
  }
  
  .section-subtitle-modern {
    font-size: 0.9rem;
  }
  
  .service-card-modern {
    padding: 1rem;
  }
  
  .service-card-modern h3 {
    font-size: 1.1rem;
  }
  
  .service-card-modern p {
    font-size: 0.9rem;
  }
  
  .service-icon-modern {
    font-size: 2.5rem;
  }
  
  .process-modern {
    padding: 3rem 0;
  }
  
  .timeline-step {
    padding-left: 50px;
    margin-bottom: 1.5rem;
  }
  
  .step-number-modern {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
    left: -20px;
  }
  
  .step-content {
    padding: 1rem;
  }
  
  .step-content h3 {
    font-size: 1rem;
  }
  
  .step-content p {
    font-size: 0.85rem;
  }
  
  .step-duration {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
  
  .technologies-modern {
    padding: 3rem 0;
  }
  
  .tech-category {
    padding: 1rem;
  }
  
  .tech-header h3 {
    font-size: 1rem;
  }
  
  .tech-icon {
    font-size: 1.5rem;
  }
  
  .tech-tag {
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
  }
  
  .devis-modern {
    padding: 3rem 0;
  }
  
  .devis-text h2 {
    font-size: 1.8rem;
  }
  
  .devis-text p {
    font-size: 0.9rem;
  }
  
  .devis-form-modern {
    padding: 1rem;
  }
  
  .form-group-modern input,
  .form-group-modern select,
  .form-group-modern textarea {
    padding: 0.6rem;
    font-size: 0.85rem;
  }
  
  .btn-submit-modern {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }
  
  .tarifs-detailed {
    padding: 3rem 0;
  }
  
  .tarifs-detailed h2 {
    font-size: 1.8rem;
  }
  
  .tarifs-detailed .tarifs-intro {
    font-size: 0.9rem;
  }
  
  .tarif-detailed-card {
    padding: 1rem;
  }
  
  .tarif-detailed-header h3 {
    font-size: 1rem;
  }
  
  .tarif-detailed-prix .montant {
    font-size: 1.6rem;
  }
  
  .tarif-detailed-features li {
    font-size: 0.85rem;
    padding: 6px 0;
  }
  
  .tarif-detailed-btn {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }
  
  .tarifs-detailed-note {
    padding: 1rem;
  }
  
  .tarifs-detailed-note h4 {
    font-size: 1.1rem;
  }
  
  .service-additionnel {
    padding: 0.6rem 0.8rem;
    font-size: 0.85rem;
  }
  
  .cta-final {
    padding: 3rem 0;
  }
  
  .cta-content h2 {
    font-size: 1.8rem;
  }
  
  .cta-content p {
    font-size: 0.9rem;
  }
  
  .cta-buttons-modern {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .btn-phone, .btn-email {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    justify-content: center;
  }
  
  .contact-section-modern {
    padding: 3rem 0;
  }
  
  .contact-section-modern h2 {
    font-size: 1.8rem;
  }
  
  .contact-item-modern {
    padding: 0.75rem;
  }
  
  .contact-icon-modern {
    font-size: 1.3rem;
    width: 35px;
    height: 35px;
  }
  
  .contact-text-modern h4 {
    font-size: 0.9rem;
  }
  
  .contact-text-modern p {
    font-size: 0.8rem;
  }
  
  .contact-map-modern {
    height: 200px;
  }
  
  .footer-modern {
    padding: 1.5rem 0;
  }
  
  .footer-logo {
    width: 30px;
    height: 30px;
  }
  
  .footer-brand-text {
    font-size: 1rem;
  }
}

/* Très petits écrans */
@media (max-width: 360px) {
  .hero-title-modern {
    font-size: 1.8rem;
  }
  
  .hero-description-modern {
    font-size: 0.85rem;
  }
  
  .stat-number-modern {
    font-size: 1.2rem;
  }
  
  .stat-label-modern {
    font-size: 0.65rem;
  }
  
  .floating-card {
    max-width: 250px;
  }
  
  .hero-image-modern {
    height: 180px;
  }
  
  .section-title-modern {
    font-size: 1.6rem;
  }
  
  .service-card-modern,
  .tech-category,
  .tarif-detailed-card {
    padding: 0.75rem;
  }
  
  .step-content {
    padding: 0.75rem;
  }
  
  .devis-form-modern {
    padding: 0.75rem;
  }
  
  .tarifs-detailed-note {
    padding: 0.75rem;
  }
}

/* Orientation paysage sur mobile */
@media (max-width: 768px) and (orientation: landscape) {
  .hero-modern {
    padding: 2rem 0;
  }
  
  .hero-content-modern {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding: 1.5rem 0;
  }
  
  .hero-title-modern {
    font-size: 2rem;
  }
  
  .hero-image-modern {
    height: 180px;
  }
  
  .services-modern,
  .process-modern,
  .technologies-modern,
  .devis-modern,
  .tarifs-detailed,
  .cta-final,
  .contact-section-modern {
    padding: 2rem 0;
  }
}

/* Amélioration de l'accessibilité */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Mode sombre automatique */
@media (prefers-color-scheme: dark) {
  body {
    background: #1a202c;
    color: #e2e8f0;
  }
  
  .site-header {
    background: rgba(26, 32, 44, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .services-modern,
  .process-modern,
  .technologies-modern,
  .devis-modern,
  .tarifs-detailed {
    background: #2d3748;
  }
  
  .service-card-modern,
  .tech-category,
  .step-content,
  .devis-form-modern,
  .tarif-detailed-card {
    background: #4a5568;
    border-color: rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
  }
  
  .form-group-modern input,
  .form-group-modern select,
  .form-group-modern textarea {
    background: #2d3748;
    color: #e2e8f0;
    border-color: rgba(255, 255, 255, 0.2);
  }
  
  .footer-modern {
    background: #1a202c;
  }
}

/* Amélioration du focus pour l'accessibilité */
.nav-list a:focus,
.btn-primary:focus,
.btn-secondary:focus,
.btn-submit-modern:focus,
.tarif-detailed-btn:focus,
.btn-phone:focus,
.btn-email:focus,
.form-group-modern input:focus,
.form-group-modern select:focus,
.form-group-modern textarea:focus {
  outline: 2px solid #667eea;
  outline-offset: 2px;
}

/* Optimisation pour les écrans haute densité */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .logo,
  .hero-image-modern,
  .footer-logo {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Support pour les écrans tactiles */
@media (hover: none) and (pointer: coarse) {
  .nav-list a:hover,
  .btn-primary:hover,
  .btn-secondary:hover,
  .service-card-modern:hover,
  .tech-category:hover,
  .tarif-detailed-card:hover,
  .floating-card:hover {
    transform: none;
  }
  
  .nav-list a:active,
  .btn-primary:active,
  .btn-secondary:active,
  .btn-submit-modern:active,
  .tarif-detailed-btn:active,
  .btn-phone:active,
  .btn-email:active {
    transform: scale(0.98);
  }
}

/* Styles pour les logos des entreprises dans les tarifs */
.tarif-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 0.5rem;
  order: -1; /* Place le logo en premier */
}

.entreprise-logo {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 2px solid rgba(102, 126, 234, 0.1);
  transition: all 0.3s ease;
}

.entreprise-logo:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  border-color: rgba(102, 126, 234, 0.3);
}

/* Correction complète du chevauchement logo/texte */
.tarif-detailed-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  margin-bottom: 3.125rem;
  padding-bottom: 1.5rem;
}

.tarif-detailed-header h3 {
  margin: 0;
  order: 1;
  line-height: 1.3;
  font-size: 1.2rem;
}

.tarif-detailed-prix {
  order: 2;
  margin-top: 0.5rem;
}

.tarif-detailed-features {
  margin-left: 5px;
  padding-left: 5px;
  margin-top: 3.125rem;
  clear: both;
  position: relative;
  z-index: 1;
}

.tarif-detailed-features li {
  margin-bottom: 0.4rem;
  line-height: 1.4;
  padding-left: 1rem;
}

/* Espacement supplémentaire pour éviter le chevauchement */
.tarif-detailed-card {
  padding: 3.125rem 1.5rem;
  position: relative;
  min-height: 450px;
}

/* Ajustement des logos */
.tarif-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 1.625rem;
  order: -1;
  position: relative;
  z-index: 2;
}

.entreprise-logo {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 2px solid rgba(102, 126, 234, 0.1);
  transition: all 0.3s ease;
}

.entreprise-logo:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  border-color: rgba(102, 126, 234, 0.3);
}

/* Responsive pour éviter le chevauchement */
@media (max-width: 768px) {
  .tarif-detailed-header {
    gap: 1.25rem;
    margin-bottom: 2.625rem;
  }
  
  .tarif-detailed-features {
    margin-top: 2.625rem;
  }
  
  .tarif-detailed-card {
    padding: 2.625rem 1.25rem;
    min-height: 400px;
  }
  
  .entreprise-logo {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 480px) {
  .tarif-detailed-header {
    gap: 1rem;
    margin-bottom: 2.125rem;
  }
  
  .tarif-detailed-features {
    margin-top: 2.125rem;
  }
  
  .tarif-detailed-card {
    padding: 2.125rem 1rem;
    min-height: 350px;
  }
  
  .entreprise-logo {
    width: 45px;
    height: 45px;
  }
  
  .tarif-detailed-features li {
    margin-bottom: 0.5rem;
    padding-left: 0.75rem;
  }
}
