/* ==========================================
   MY PRETTY FAMILY - Landing Page Partenaire
   Design System : Montserrat, #6A8FB9
   ========================================== */

/* ==================== RESET & BASE ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  background: #ffffff;
  color: #1a1a1a;
  line-height: 1.6;
}

html, body {
  overflow-x: hidden !important;
  width: 100%;
  max-width: 100%;
  position: relative;
  min-height: 100vh;
}

/* Sécurité supplémentaire pour le Hero et les Sections */
.hero, .section, footer {
  overflow-x: hidden;
  max-width: 100vw;
}

/* ==================== NAVIGATION ==================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(106, 143, 185, 0.1);
  z-index: 1000;
  padding: 0 48px;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.nav-logo img {
  height: 48px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-link {
  font-size: 15px;
  color: #4a4a4a;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
  padding-bottom: 4px;
}

.nav-link:hover {
  color: #6A8FB9;
}

/* ==================== INDICATEUR PAGE ACTIVE ==================== */
.nav-link.active {
  color: #6A8FB9;
  font-weight: 600;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  /* left: 0;
  right: 0; */
  height: 2px;
  background: #6A8FB9;
  border-radius: 2px;
  width: 35%;
}

/* Mobile active state */
.nav-mobile-link.active {
  background: rgba(106, 143, 185, 0.08);
  color: #6A8FB9;
  font-weight: 600;
}

.nav-mobile-link.active i {
  color: #6A8FB9;
}

.nav-cta {
  background: #6A8FB9;
  color: white;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.nav-cta:hover {
  background: #5a7fa9;
  transform: translateY(-1px);
}

/* Nav Login Icon */
.nav-login {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #f8fafc;
  border-radius: 50%;
  color: #6A8FB9;
  text-decoration: none;
  transition: all 0.2s;
  margin-left: -16px;
}

.nav-login:hover {
  background: #6A8FB9;
  color: white;
  transform: translateY(-1px);
}

.nav-login i {
  font-size: 16px;
}

/* ==================== HERO ==================== */

/* Titre principal "My Pretty Family" */
.hero-title {
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* Tagline sous le titre "Le portrait de famille personnalisé" */
.hero-tagline {
  font-size: clamp(1rem, 3vw, 1.25rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  letter-spacing: 0.02em;
}

/* Titre secondaire "Transformez chaque visite..." */
.hero-subtitle-title {
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.3;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.25);
}

/* Sous-titre "Un concept créatif pensé pour..." */
.hero-subtitle {
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Label "RÉSEAU PARTENAIRES" */
/* .hero-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
} */

/* Boutons */
.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  margin-top: 2rem;
}

.hero-buttons .btn-primary {
  background: rgba(106, 143, 185, 0.9);
  color: #fff;
  padding: 1rem 2.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 250px;
  text-align: center;
}

.hero-buttons .btn-primary:hover {
  background: rgba(106, 143, 185, 1);
  transform: translateY(-2px);
}

.hero-buttons .btn-secondary {
  background: transparent;
  color: #fff;
  padding: 1rem 2.5rem;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 250px;
  text-align: center;
}

.hero-buttons .btn-secondary:hover {
  /* background: rgba(255, 255, 255, 0.1); */
  border-color: #fff;
}

/* Desktop : boutons en ligne */
@media (min-width: 768px) {
  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }
  
  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    min-width: auto;
    padding: 1rem 2rem;
  }
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 48px 80px;
  background-image: url('./assets/images/image_black.webp');
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    rgba(0, 0, 0, 0.55) 100%
  );
}

.hero-label {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 24px;
  opacity: 0.9;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  text-align: center;
}

.hero-title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  color: white;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.hero-title span {
  color: #6A8FB9;
}

.hero-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==================== BUTTONS ==================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #6A8FB9;
  color: white;
  padding: 16px 36px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: #5a7fa9;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(106, 143, 185, 0.3);
}

.btn-primary i {
  transition: transform 0.2s;
}

.btn-primary:hover i {
  transform: translateX(4px);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: white;
  padding: 14px 34px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid white;
  transition: all 0.3s;
}

.btn-secondary:hover {
  background: white;
  color: #1a1a1a;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: #6A8FB9;
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid #6A8FB9;
  transition: all 0.3s;
}

.btn-outline:hover {
  background: #6A8FB9;
  color: white;
}

.btn-outline i {
  transition: transform 0.2s;
}

.btn-outline:hover i {
  transform: translateX(4px);
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  color: #6A8FB9;
  padding: 16px 36px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}

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

.btn-white i {
  transition: transform 0.2s;
}

.btn-white:hover i {
  transform: translateX(4px);
}

.btn-large {
  padding: 18px 48px;
  font-size: 17px;
}

/* ==================== SECTIONS ==================== */
.section {
  padding: 100px 48px;
}

.section-alt {
  background: #f8fafc;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-narrow {
  max-width: 900px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  font-size: 13px;
  font-weight: 600;
  color: #6A8FB9;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 17px;
  color: #666;
  /* max-width: 600px; */
  margin: 0 auto;
  line-height: 1.7;
}

.section-cta {
  text-align: center;
  margin-top: 48px;
}

/* ==================== VIDEO ==================== */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  border-radius: 16px;
  overflow: hidden;
  background: #f0f4f8;
  box-shadow: 0 20px 60px rgba(106, 143, 185, 0.15);
}

.video-wrapper video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==================== GALLERY ==================== */

#preuves .section-inner {
  max-width: none;
}

.gallery-track-wrapper {
  overflow: hidden;
  margin: 0 -48px;
  padding: 20px 0;
}

.gallery-track {
  display: flex;
  gap: 20px;
  animation: scroll 50s linear infinite;
  width: max-content;
}

.gallery-track:hover {
  animation-play-state: paused;
}

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

.gallery-item {
  flex-shrink: 0;
  width: 300px;
  height: 220px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==================== TESTIMONIAL (single) ==================== */
.testimonial {
  max-width: 700px;
  margin: 60px auto 0;
  text-align: center;
}

.testimonial-quote {
  font-size: 20px;
  font-style: italic;
  color: #444;
  line-height: 1.7;
  margin-bottom: 16px;
}

.testimonial-quote::before {
  content: '"';
  font-size: 48px;
  color: #6A8FB9;
  display: block;
  margin-bottom: -10px;
  font-family: Georgia, serif;
}

.testimonial-author {
  font-size: 14px;
  color: #888;
  font-weight: 500;
}

/* Testimonials CTA Button */
.testimonials-cta {
  text-align: center;
  margin-top: 40px;
}

/* ==================== HOME TESTIMONIALS GRID ==================== */
.home-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.home-testimonial-card {
  background: #f8fafc;
  padding: 32px;
  border-radius: 16px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.home-testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(106, 143, 185, 0.12);
}

.home-testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.home-testimonial-stars i {
  font-size: 14px;
  color: #f5b800;
}

.home-testimonial-text {
  font-size: 15px;
  color: #444;
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.home-testimonial-footer {
  display: flex;
  align-items: center;
  gap: 14px;
}

.home-testimonial-avatar {
  width: 44px;
  height: 44px;
  background: #e8eef4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-testimonial-avatar i {
  font-size: 18px;
  color: #6A8FB9;
}

.home-testimonial-info {
  flex: 1;
}

.home-testimonial-name {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 2px;
}

.home-testimonial-location {
  font-size: 13px;
  color: #888;
}

/* ==================== CONCEPT BLOCK (nouveau style) ==================== */
.concept-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.concept-content .section-label {
  text-align: left;
}

.concept-content .section-title {
  text-align: left;
  margin-bottom: 16px;
}

.concept-text {
  font-size: 16px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 16px;
}

.concept-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 32px 0;
}

.concept-feature {
  display: flex;
  align-items: center;
  gap: 16px;
}

.concept-feature i {
  font-size: 24px;
  color: #6A8FB9;
  width: 32px;
}

.concept-feature strong {
  display: block;
  font-size: 15px;
  color: #1a1a1a;
  margin-bottom: 2px;
}

.concept-feature span {
  font-size: 13px;
  color: #888;
}

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

.concept-image-placeholder {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(106, 143, 185, 0.15);
}

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

.concept-mockup {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #f0f4f8 0%, #e8eef4 100%);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 2px dashed #d0d8e0;
}

.concept-mockup i {
  font-size: 48px;
  color: #6A8FB9;
}

.concept-mockup span {
  font-size: 14px;
  color: #888;
}

/* ==================== FEATURES GRID ==================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.feature-card {
  text-align: center;
  padding: 32px 24px;
  background: #f8fafc;
  border-radius: 16px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(106, 143, 185, 0.12);
}

.feature-icon {
  font-size: 32px;
  color: #6A8FB9;
  margin-bottom: 20px;
}

.feature-title {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

/* ==================== STEPS HORIZONTAL ==================== */
.steps-horizontal {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.step-item {
  flex: 1;
  min-width: 160px;
  max-width: 200px;
  text-align: center;
  padding: 32px 20px;
  background: white;
  border-radius: 16px;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.step-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(106, 143, 185, 0.12);
}

.step-icon {
  font-size: 28px;
  color: #6A8FB9;
  margin-bottom: 12px;
}

.step-number {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  background: #6A8FB9;
  color: white;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-title {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 13px;
  color: #666;
}

.step-arrow {
  display: flex;
  align-items: center;
  font-size: 20px;
  color: #ccc;
  padding-top: 50px;
}

/* ==================== CONFIGURATOR ==================== */
.configurator-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.configurator-content .section-label {
  text-align: left;
}

.configurator-content .section-title {
  text-align: right;
  margin-bottom: 16px;
}

.configurator-text {
  font-size: 16px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 32px;
}

.configurator-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.configurator-feature {
  display: flex;
  align-items: center;
  gap: 16px;
}

.configurator-feature i {
  font-size: 24px;
  color: #6A8FB9;
  width: 32px;
}

.configurator-feature strong {
  display: block;
  font-size: 15px;
  color: #1a1a1a;
  margin-bottom: 2px;
}

.configurator-feature span {
  font-size: 13px;
  color: #888;
}

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

.configurator-mockup {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #f0f4f8 0%, #e8eef4 100%);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 2px dashed #d0d8e0;
}

.configurator-mockup i {
  font-size: 48px;
  color: #6A8FB9;
}

.configurator-mockup span {
  font-size: 14px;
  color: #888;
}

/* ==================== PROFILES ==================== */
.profiles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.profile-card {
  padding: 40px;
  border-radius: 16px;
}

.profile-card-positive {
  background: rgba(106, 143, 185, 0.08);
  border: 1px solid rgba(106, 143, 185, 0.15);
}

.profile-card-negative {
  background: rgba(180, 100, 100, 0.05);
  border: 1px solid rgba(180, 100, 100, 0.1);
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.profile-header i {
  font-size: 24px;
}

.profile-card-positive .profile-header i {
  color: #6A8FB9;
}

.profile-card-negative .profile-header i {
  color: #b46464;
}

.profile-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
}

.profile-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.profile-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: #444;
}

.profile-list li i {
  font-size: 14px;
  width: 20px;
}

.profile-card-positive .profile-list li i {
  color: #6A8FB9;
}

.profile-card-negative .profile-list li i {
  color: #b46464;
}

/* ==================== REASONS ==================== */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.reason-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px;
  background: #f8fafc;
  border-radius: 12px;
  transition: transform 0.3s;
}

.reason-card:hover {
  transform: translateY(-2px);
}

.reason-icon {
  font-size: 24px;
  color: #6A8FB9;
  flex-shrink: 0;
}

.reason-title {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 6px;
}

.reason-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

/* ==================== PARTNER INCLUS ==================== */
.partner-inclus {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 700px;
  margin: 0 auto 32px;
}

.inclus-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: #f8fafc;
  border-radius: 10px;
  font-size: 15px;
  color: #333;
}

.inclus-item i {
  color: #6A8FB9;
  font-size: 16px;
}

.partner-disclaimer {
  text-align: center;
  font-size: 13px;
  color: #888;
  font-style: italic;
  max-width: 500px;
  margin: 0 auto 32px;
}

/* ==================== CTA FINAL ==================== */
.cta-final {
  padding: 100px 48px;
  background: #6A8FB9;
  text-align: center;
}

.cta-final-inner {
  max-width: 700px;
  margin: 0 auto;
}

.cta-final-title {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
}

.cta-final-text {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 36px;
  line-height: 1.6;
}

/* ==================== FOOTER ==================== */
.footer {
  background: #1a1a1a;
  padding: 60px 48px 40px;
  color: white;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  height: 44px;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.footer-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 60px;
}

.footer-column-title {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer-link {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.2s;
  white-space: nowrap;
}

.footer-link:hover {
  color: white;
}

.footer-bottom {
  max-width: 1100px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-copyright {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .configurator-block,
  .concept-block {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .configurator-content .section-label,
  .configurator-content .section-title,
  .concept-content .section-label,
  .concept-content .section-title {
    text-align: center;
  }
  
  .configurator-text,
  .concept-text {
    text-align: center;
  }
  
  .configurator-features,
  .concept-features {
    align-items: center;
  }
  
  .configurator-content,
  .concept-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .home-testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav {
    padding: 0 24px;
  }
  
  .nav-links {
    display: none;
  }
  
  .hero {
    padding: 100px 24px 60px;
  }
  
  .section {
    padding: 70px 24px;
  }
  
  .features-grid,
  .profiles-grid,
  .reasons-grid,
  .partner-inclus {
    grid-template-columns: 1fr;
  }
  
  .home-testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .steps-horizontal {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  
  .step-item {
    max-width: 100%;
    width: 100%;
  }
  
  .step-arrow {
    transform: rotate(90deg);
    padding: 8px 0;
  }
  
  .gallery-track-wrapper {
    margin: 0 -24px;
  }
  
  .footer-inner {
    flex-direction: column;
    gap: 40px;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 32px;
  }
  
  .cta-final {
    padding: 70px 24px;
  }
}

@media (min-width: 1025px) {
    .configurator-content {
        text-align: right;
        /* Force le conteneur à prendre toute la largeur pour permettre l'alignement */
        width: 100%; 
        padding-right: 40px; /* Espace pour ne pas coller à la démo */
    }

    /* Aligner spécifiquement les éléments flex comme les listes d'avantages */
    .configurator-features {
        align-items: flex-end; /* Aligne les items à droite dans un container flex colonne */
    }

    /* Inverser la direction des items individuels pour que l'icône soit à droite */
    .configurator-feature {
        flex-direction: row-reverse;
        text-align: right;
    }
    
    /* Ajustement des marges pour le mode inversé */
    .configurator-feature i {
        margin-left: 16px;
        margin-right: 0;
    }
}

/* POPUP CONSTRUCTION */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* Fond sombre */
  backdrop-filter: blur(5px); /* Effet flou moderne */
  z-index: 9999; /* Au-dessus de tout */
  display: flex; /* Pour centrer */
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.popup-content {
  background: white;
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  max-width: 450px;
  width: 90%;
  position: relative;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

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

.popup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #999;
}

.popup-icon {
  font-size: 40px;
  color: var(--primary);
  margin-bottom: 20px;
}

.popup-content h3 {
  font-family: 'Montserrat', sans-serif;
  color: var(--primary);
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.popup-content p {
  color: #666;
  margin-bottom: 25px;
  line-height: 1.6;
}

/* Ajustement bouton */
.popup-content .btn-primary {
  width: 100%;
  justify-content: center;
}