/* ===================================
   AMYOURS - AGENCE DE RENCONTRES
   Design doux et harmonieux
   Compatible Dreamweaver & OVH
   =================================== */

/* VARIABLES CSS */
:root {
  --lavender-50: #faf8ff;
  --lavender-100: #f3f0ff;
  --lavender-200: #e9e3ff;
  --lavender-300: #d9ccff;
  --lavender-400: #c4a9ff;
  --lavender-500: #a885ff;
  --lavender-600: #8b5cf6;
  --lavender-700: #7c3aed;
  --off-white: #fdfbf7;
  --soft-gray: #f5f3f0;
  --text-dark: #1a1918;
  --text-light: #736c64;
}

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

html {
  scroll-behavior: smooth;
}

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

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

/* ===================================
   HEADER / EN-TÊTE
   =================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--lavender-200);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
}

.logo {
  height: 48px;
  width: auto;
}

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

.nav-link {
  font-weight: 500;
  color: var(--text-light);
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--lavender-600);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--lavender-600);
  transition: width 0.3s ease;
}

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

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

.menu-icon {
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  transition: all 0.3s ease;
}

/* ===================================
   BOUTONS
   =================================== */
.cta-button {
  background: linear-gradient(135deg, var(--lavender-500) 0%, var(--lavender-600) 100%);
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 14px 0 rgba(139, 92, 246, 0.25);
  font-size: 1rem;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgba(139, 92, 246, 0.35);
  background: linear-gradient(135deg, var(--lavender-600) 0%, var(--lavender-700) 100%);
}

.cta-button-lg {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

.cta-button-full {
  width: 100%;
}

.secondary-button {
  border: 2px solid var(--lavender-300);
  color: var(--lavender-700);
  background: white;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.secondary-button:hover {
  background: var(--lavender-50);
  border-color: var(--lavender-400);
  transform: translateY(-2px);
}

.secondary-button-lg {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

/* ===================================
   SECTION HERO
   =================================== */
.hero-section {
  min-height: 90vh;
  position: relative;
  background: linear-gradient(135deg, var(--off-white) 0%, var(--lavender-50) 100%);
  padding-top: 120px;
  overflow: hidden;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, var(--lavender-100), transparent);
  opacity: 0.6;
  z-index: 1;
}

.hero-bg-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background-image: url('images/bg-lavender.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 10;
  padding: 3rem 0;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
  border-radius: 9999px;
  border: 2px solid var(--lavender-200);
  width: fit-content;
}

.badge-icon {
  font-size: 1rem;
}

.badge span:last-child {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--lavender-700);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

.text-lavender {
  color: var(--lavender-600);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-light);
  line-height: 1.6;
}

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

.hero-image {
  position: relative;
}

.image-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
}

.image-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1.5rem;
  box-shadow: 0 20px 60px rgba(139, 92, 246, 0.3);
  transition: transform 0.5s ease;
}

.image-card:hover img {
  transform: scale(1.05);
}

/* ===================================
   SECTIONS GÉNÉRALES
   =================================== */
.section {
  padding: 5rem 0;
}

.section-white {
  background: white;
}

.section-lavender {
  background: var(--lavender-50);
}

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

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

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

/* ===================================
   SECTION SERVICES
   =================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: white;
  border: 2px solid var(--lavender-100);
  border-radius: 1.5rem;
  padding: 2rem;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.15);
  border-color: var(--lavender-300);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: var(--lavender-100);
  border-radius: 1rem;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  transition: transform 0.3s ease;
}

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

.icon-heart,
.icon-shield {
  color: var(--lavender-600);
}

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

.service-description {
  color: var(--text-light);
  line-height: 1.6;
}

/* ===================================
   SECTION À PROPOS
   =================================== */
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  align-items: center;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-text-large {
  font-size: 1.125rem;
  color: var(--text-dark);
  line-height: 1.6;
  font-weight: 500;
}

.about-text {
  color: var(--text-light);
  line-height: 1.6;
}

.about-stats {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
}

.stat-avatars {
  display: flex;
  margin-left: -0.5rem;
}

.avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: 2px solid white;
  margin-left: -0.5rem;
}

.avatar-1 {
  background: var(--lavender-300);
}

.avatar-2 {
  background: var(--lavender-400);
}

.avatar-3 {
  background: var(--lavender-500);
}

.stat-text {
  font-size: 0.875rem;
  color: var(--text-light);
  font-weight: 500;
}

/* ===================================
   SECTION COMMENT ÇA MARCHE
   =================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.step-card {
  text-align: center;
  padding: 2rem;
  transition: transform 0.3s ease;
}

.step-card:hover {
  transform: translateY(-4px);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  background: var(--lavender-100);
  border-radius: 9999px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--lavender-600);
  margin-bottom: 1rem;
}

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

.step-description {
  color: var(--text-light);
  line-height: 1.6;
}

/* ===================================
   SECTION CONTACT
   =================================== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-intro {
  font-size: 1.125rem;
  color: var(--text-light);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  font-size: 1.5rem;
}

.contact-label {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.contact-value {
  color: var(--text-light);
}

.contact-image {
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2);
  margin-top: 2rem;
}

.contact-image img {
  width: 100%;
  height: 16rem;
  object-fit: cover;
}

/* ===================================
   FORMULAIRE DE CONTACT
   =================================== */
.contact-card {
  background: white;
  border: 2px solid var(--lavender-100);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.1);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-weight: 500;
  color: var(--text-dark);
  font-size: 0.875rem;
}

.form-input,
.form-textarea {
  border: 2px solid var(--lavender-200);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--lavender-400);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
  outline: none;
}

.form-textarea {
  resize: vertical;
}

.form-success {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: #d1fae5;
  border: 2px solid #6ee7b7;
  border-radius: 0.75rem;
  color: #065f46;
  font-weight: 500;
}

.success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #10b981;
  color: white;
  border-radius: 50%;
  font-weight: bold;
}

.form-error {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: #fee2e2;
  border: 2px solid #fca5a5;
  border-radius: 0.75rem;
  color: #991b1b;
  font-weight: 500;
}

.error-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #ef4444;
  color: white;
  border-radius: 50%;
  font-weight: bold;
}

/* ===================================
   FOOTER / PIED DE PAGE
   =================================== */
.footer {
  background: #1a1918;
  color: white;
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  height: 2.5rem;
  width: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.footer-text {
  color: #9ca3af;
  font-size: 0.875rem;
}

.footer-title {
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

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

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: #374151;
  border-radius: 9999px;
  color: white;
  text-decoration: none;
  font-size: 1.25rem;
  transition: background 0.3s ease;
}

.social-link:hover {
  background: var(--lavender-600);
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  color: #9ca3af;
  font-size: 0.875rem;
}

/* ===================================
   RESPONSIVE MOBILE
   =================================== */
@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .nav.active {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-section {
    padding-top: 100px;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .services-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .cta-button,
  .secondary-button {
    width: 100%;
  }
  
  .container {
    padding: 0 1rem;
  }
}