/* ========================================
   MILENVIES - Site Vitrine
   Style CSS Principal
   ======================================== */

/* Variables CSS */
:root {
  --primary: #E91E63;
  --primary-dark: #C2185B;
  --primary-light: #F8BBD9;
  --secondary: #8B1538;
  --accent: #D4A574;
  --background: #FFF5F7;
  --surface: #FFFFFF;
  --text: #2D2D2D;
  --text-muted: #666666;
  --border: #F0E0E5;
  --success: #4CAF50;
  --gradient-start: #FFE4EC;
  --gradient-end: #FFF0F3;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  color: var(--secondary);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
}

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

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
header {
  background: var(--surface);
  box-shadow: 0 2px 20px rgba(233, 30, 99, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.logo img {
  height: 40px;
  width: 40px;
  border-radius: 10px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-links a {
  color: var(--text);
  font-weight: 500;
  padding: 8px 0;
  position: relative;
}

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

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

.nav-cta {
  background: var(--primary);
  color: white !important;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.nav-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '💕';
  position: absolute;
  font-size: 200px;
  opacity: 0.05;
  top: 50%;
  right: -50px;
  transform: translateY(-50%);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-text h1 span {
  color: var(--primary);
}

.hero-text .tagline {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  font-style: italic;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(233, 30, 99, 0.35);
}

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

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

.hero-image {
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 280px;
  height: auto;
  border-radius: 30px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
  transform: rotate(5deg);
  transition: transform 0.3s ease;
}

.phone-mockup:hover {
  transform: rotate(0deg) scale(1.02);
}

/* ========================================
   STATS SECTION
   ======================================== */
.stats {
  padding: 60px 0;
  background: var(--surface);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item {
  padding: 30px;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  font-family: 'Playfair Display', serif;
}

.stat-label {
  color: var(--text-muted);
  font-size: 1rem;
  margin-top: 5px;
}

/* ========================================
   FEATURES SECTION
   ======================================== */
.features {
  padding: 100px 0;
  background: var(--background);
}

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

.section-header h2 {
  margin-bottom: 15px;
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background: var(--surface);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid var(--border);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(233, 30, 99, 0.1);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--gradient-start) 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 20px;
}

.feature-card h3 {
  margin-bottom: 15px;
  color: var(--secondary);
}

.feature-card p {
  font-size: 0.95rem;
}

/* ========================================
   TUTORIAL SECTION
   ======================================== */
.tutorial {
  padding: 100px 0;
  background: var(--surface);
}

.tutorial-steps {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.tutorial-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.tutorial-step:nth-child(even) {
  direction: rtl;
}

.tutorial-step:nth-child(even) > * {
  direction: ltr;
}

.step-content {
  padding: 20px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.step-content h3 {
  margin-bottom: 15px;
}

.step-content ul {
  list-style: none;
  margin-top: 20px;
}

.step-content ul li {
  padding: 8px 0;
  padding-left: 30px;
  position: relative;
  color: var(--text-muted);
}

.step-content ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: bold;
}

.step-image {
  display: flex;
  justify-content: center;
}

.step-image img {
  max-width: 280px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* ========================================
   PRICING SECTION
   ======================================== */
.pricing {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--surface);
  border-radius: 25px;
  padding: 40px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(233, 30, 99, 0.15);
}

.pricing-card.popular {
  border-color: var(--primary);
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.pricing-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.pricing-card h3 {
  margin-bottom: 10px;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin: 20px 0;
}

.pricing-price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-features {
  list-style: none;
  margin: 30px 0;
  text-align: left;
}

.pricing-features li {
  padding: 10px 0;
  padding-left: 30px;
  position: relative;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

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

.pricing-features li::before {
  content: '💕';
  position: absolute;
  left: 0;
}

/* ========================================
   NEWSLETTER SECTION
   ======================================== */
.newsletter {
  padding: 100px 0;
  background: var(--secondary);
  color: white;
  text-align: center;
}

.newsletter h2 {
  color: white;
  margin-bottom: 15px;
}

.newsletter p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 500px;
  margin: 0 auto 30px;
}

.newsletter-form {
  display: flex;
  gap: 15px;
  max-width: 500px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter-form input {
  flex: 1;
  min-width: 250px;
  padding: 16px 24px;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  outline: none;
}

.newsletter-form input:focus {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.newsletter-form button {
  background: var(--primary);
  color: white;
  padding: 16px 32px;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-form button:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.newsletter-note {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 20px;
}

/* Toast notification */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--success);
  color: white;
  padding: 16px 24px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: none;
  align-items: center;
  gap: 10px;
  z-index: 9999;
  animation: slideIn 0.3s ease;
}

.toast.show {
  display: flex;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* ========================================
   PARTNERS SECTION
   ======================================== */
.partners {
  padding: 100px 0;
  background: var(--surface);
}

.partners-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.partners-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.benefit-card {
  background: var(--background);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
}

.benefit-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.benefit-card h4 {
  margin-bottom: 10px;
}

.partners-cta {
  text-align: center;
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  padding: 50px;
  border-radius: 25px;
}

.partners-cta h3 {
  margin-bottom: 15px;
}

.partners-cta p {
  margin-bottom: 25px;
}

.contact-email {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
}

/* ========================================
   DOWNLOAD SECTION
   ======================================== */
.download {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  text-align: center;
}

.download h2 {
  color: white;
  margin-bottom: 15px;
}

.download p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 500px;
  margin: 0 auto 40px;
}

.qr-container {
  background: white;
  padding: 30px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 30px;
}

.qr-container img {
  width: 200px;
  height: 200px;
}

.qr-instructions {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  margin-bottom: 30px;
}

.store-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.store-btn {
  background: white;
  color: var(--text);
  padding: 15px 30px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
}

.store-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.store-btn .icon {
  font-size: 2rem;
}

.store-btn .text {
  text-align: left;
}

.store-btn .text small {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.store-btn .text strong {
  font-size: 1.1rem;
}

/* ========================================
   FOOTER
   ======================================== */
footer {
  background: var(--secondary);
  color: white;
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  color: white;
  margin-bottom: 15px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.footer-links h4 {
  color: white;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

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

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

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

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.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;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  font-size: 0.9rem;
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

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

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 992px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-text h1 {
    font-size: 2.75rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-image {
    order: -1;
  }
  
  .phone-mockup {
    width: 220px;
    transform: none;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .tutorial-step {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .tutorial-step:nth-child(even) {
    direction: ltr;
  }
  
  .step-image {
    order: -1;
  }
  
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero {
    padding: 120px 0 60px;
  }
  
  .hero-text h1 {
    font-size: 2.25rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .stat-number {
    font-size: 2.25rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .partners-benefits {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  
  .btn {
    padding: 12px 20px;
    font-size: 0.95rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
  }
  
  .store-buttons {
    flex-direction: column;
  }
  
  .store-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ========================================
   COOKIE BANNER (RGPD)
   ======================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface);
  padding: 20px;
  box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.1);
  z-index: 9998;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-content p {
  margin: 0;
  flex: 1;
  min-width: 300px;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

.cookie-btn {
  padding: 10px 20px;
  border-radius: 20px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

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

.cookie-btn.decline {
  background: var(--border);
  color: var(--text);
}

.cookie-btn:hover {
  transform: translateY(-2px);
}
