/**
 * Styles pour la page d'accueil marketing
 * Design moderne avec sections marketing
 */

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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #000000;
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* Navbar */
.home-navbar {
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
}

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

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 700;
  color: #000000;
}

.navbar-logo i {
  color: #08254b;
  font-size: 28px;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  color: #000000;
  text-decoration: none;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.nav-link:hover {
  background: #f5f5f5;
}

.nav-link.active {
  color: #08254b;
  font-weight: 700;
}

.nav-link.btn-login {
  background: #f5f5f5;
  color: #000000;
}

.nav-link.btn-login:hover {
  background: #e5e7eb;
}

.nav-link.btn-partner {
  background: linear-gradient(
    135deg,
    #030941 0%,
    #020558 25%,
    #1f28f5 50%,
    #020e63 100%
  );
  color: #ffffff;
}

.nav-link.btn-partner:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(31, 40, 245, 0.3);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
  padding: 100px 0;
  text-align: center;
}

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

.hero-content h1 {
  font-size: 48px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 20px;
}

.hero-content h2 {
  font-size: 24px;
  font-weight: 400;
  color: #666666;
  margin-bottom: 40px;
}

.hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 60px;
}

.btn {
  padding: 16px 32px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    #030941 0%,
    #020558 25%,
    #1f28f5 50%,
    #020e63 100%
  );
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(31, 40, 245, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(31, 40, 245, 0.4);
}

.btn-secondary {
  background: #ffffff;
  color: #000000;
  border: 2px solid #e5e7eb;
}

.btn-secondary:hover {
  background: #f5f5f5;
  border-color: #d1d5db;
}

.btn-outline {
  background: transparent;
  color: #08254b;
  border: 2px solid #08254b;
}

.btn-outline:hover {
  background: #08254b;
  color: #ffffff;
}

.hero-partners {
  margin-top: 60px;
}

.partners-label {
  color: #666666;
  font-size: 14px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.partners-logos {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.partner-logo {
  padding: 20px 40px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  color: #666666;
  font-size: 14px;
  font-weight: 500;
}

/* Sections communes */
section {
  padding: 80px 0;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 18px;
  color: #666666;
  text-align: center;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Section 1 */
.section-1 {
  background: #ffffff;
}

.illustrations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.illustration-item {
  text-align: center;
  padding: 40px 20px;
}

.illustration-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    #030941 0%,
    #020558 25%,
    #1f28f5 50%,
    #020e63 100%
  );
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 32px;
}

.illustration-item h3 {
  font-size: 22px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 15px;
}

.illustration-item p {
  color: #666666;
  font-size: 16px;
  line-height: 1.6;
}

/* Section 2 */
.section-2 {
  background: #f5f5f5;
}

.features-illustration {
  margin-top: 60px;
}

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

.feature-icon {
  background: #ffffff;
  padding: 30px 20px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.feature-icon:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border-color: #08254b;
}

.feature-icon i {
  font-size: 40px;
  color: #08254b;
  margin-bottom: 15px;
  display: block;
}

.feature-icon span {
  display: block;
  color: #000000;
  font-weight: 600;
  font-size: 14px;
}

/* Section 3 */
.section-3 {
  background: #ffffff;
  min-height: 200px;
}

/* Section 4 : Pricing */
.section-4 {
  background: #f5f5f5;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.pricing-card {
  background: #ffffff;
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
  border-color: #08254b;
  transform: scale(1.05);
}

.pricing-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(
    135deg,
    #030941 0%,
    #020558 25%,
    #1f28f5 50%,
    #020e63 100%
  );
  color: #ffffff;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.pricing-header h3 {
  font-size: 24px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 20px;
}

.pricing-price {
  margin-bottom: 30px;
}

.pricing-price .price {
  font-size: 48px;
  font-weight: 700;
  color: #000000;
}

.pricing-price .period {
  font-size: 18px;
  color: #666666;
}

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

.pricing-features li {
  padding: 12px 0;
  color: #666666;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li i {
  color: #10b981;
}

/* Section 5 : Testimonials */
.section-5 {
  background: #ffffff;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.testimonial-card {
  background: #f5f5f5;
  padding: 30px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
}

.testimonial-rating {
  color: #fbbf24;
  margin-bottom: 20px;
  font-size: 18px;
}

.testimonial-text {
  color: #666666;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 25px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    #030941 0%,
    #020558 25%,
    #1f28f5 50%,
    #020e63 100%
  );
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
}

.author-info strong {
  display: block;
  color: #000000;
  font-weight: 700;
  margin-bottom: 5px;
}

.author-info span {
  color: #666666;
  font-size: 14px;
}

/* Section 6 : Contact Form */
.section-6 {
  background: #f5f5f5;
}

.contact-form {
  max-width: 800px;
  margin: 0 auto;
  background: #ffffff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  color: #000000;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 15px;
  color: #000000;
  background: #f8f9fa;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #08254b;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(8, 37, 75, 0.1);
}

.form-group textarea {
  resize: vertical;
  font-family: inherit;
}

/* Footer */
.home-footer {
  background: #030941;
  color: #ffffff;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: 20px;
  font-weight: 700;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

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

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #ffffff;
}

.footer-section ul li i {
  margin-right: 10px;
  color: #08254b;
}

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

/* Responsive */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 36px;
  }

  .hero-content h2 {
    font-size: 20px;
  }

  .hero-cta {
    flex-direction: column;
  }

  .navbar-links {
    flex-direction: column;
    gap: 10px;
  }

  .section-title {
    font-size: 28px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .pricing-card.featured {
    transform: scale(1);
  }
}
