/* CSS spécifique pour le site vitrine */

:root {
  /* Couleurs de base */
  --primary-color: #3b82f6;
  --primary-dark: #1d4ed8;
  --primary-light: #60a5fa;
  --accent-color: #60a5fa;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --danger-color: #ef4444;
  
  /* Couleurs de fond - Mode sombre par défaut */
  --bg-color: #0f172a;
  --card-bg: #1e293b;
  --header-bg: rgba(15, 23, 42, 0.95);
  
  /* Couleurs de texte - Mode sombre par défaut */
  --text-color: #f1f5f9;
  --text-muted: #cbd5e1;
  --text-light: #94a3b8;
  
  /* Bordures - Mode sombre par défaut */
  --border-color: #334155;
  
  /* Ombres - Mode sombre par défaut */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.5), 0 4px 6px rgba(0, 0, 0, 0.3);
  
  /* Transitions */
  --transition: all 0.3s ease;
}

/* Réinitialisation et base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}

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

/* Pour les sections qui prennent toute la largeur */
.section-full-width {
  width: 100%;
  max-width: 100%;
  padding: 5rem 0;
  margin: 0;
  box-sizing: border-box;
}

section {
  width: 100%;
  padding: 5rem 0;
  position: relative;
  box-sizing: border-box;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

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

.section-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
}

/* Typographie */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.25rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

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

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

/* Boutons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

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

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

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

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

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

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

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

.btn-danger:hover {
  background-color: #dc2626;
  color: white;
}

/* Header et Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--header-bg);
  box-shadow: var(--shadow);
  z-index: 1000;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.3s ease;
}

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

.nav-links a:hover {
  color: var(--text-color);
}

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

.nav-links a.active {
  color: var(--text-color);
}

.nav-links a.active::after {
  width: 100%;
  background-color: var(--primary-color);
}

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

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  padding: 160px 0 100px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(96, 165, 250, 0.05) 100%);
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 100%;
}

.hero-content h1 {
  margin-bottom: 1.5rem;
  font-size: 3.5rem;
  line-height: 1.1;
  background: linear-gradient(to right, var(--primary-color), var(--primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--text-muted);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.hero-image {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 40%;
  max-width: 500px;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 3px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Features Section */
.features-section {
  padding: 100px 0;
  background-color: var(--bg-color);
}

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

.feature-card {
  background-color: var(--card-bg);
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border-color);
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background-color: rgba(59, 130, 246, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
}

.feature-icon i {
  font-size: 2rem;
  color: var(--primary-color);
}

.feature-card h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.feature-card p {
  color: var(--text-muted);
  margin-bottom: 0;
}

/* How It Works Section */
.how-it-works-section {
  padding: 100px 0;
  background-color: rgba(59, 130, 246, 0.05);
}

.steps {
  display: flex;
  justify-content: space-between;
  max-width: 900px;
  margin: 0 auto;
}

.step {
  text-align: center;
  padding: 0 1.5rem;
  max-width: 300px;
}

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

.step h3 {
  margin-bottom: 1rem;
}

.step p {
  color: var(--text-muted);
}

/* Pricing Section */
.pricing-section {
  padding: 100px 0;
  background-color: var(--bg-color);
}

.pricing-plans {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.pricing-card {
  background-color: var(--card-bg);
  border-radius: 0.75rem;
  padding: 2.5rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border-color);
  width: 100%;
  max-width: 350px;
  position: relative;
}

.pricing-card.highlighted {
  border-color: var(--primary-color);
  transform: scale(1.05);
  z-index: 1;
}

.pricing-card:hover {
  box-shadow: var(--shadow-lg);
}

.popular-badge {
  position: absolute;
  top: 0;
  right: 2rem;
  background-color: var(--primary-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0 0 0.5rem 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.pricing-card h3 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.price {
  text-align: center;
  margin-bottom: 0.5rem;
}

.currency {
  font-size: 1.5rem;
  vertical-align: top;
  margin-right: 0.25rem;
}

.amount {
  font-size: 3rem;
  font-weight: 700;
}

.period {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.features-list {
  list-style: none;
  margin-bottom: 2rem;
}

.features-list li {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
}

.features-list i {
  color: var(--success-color);
  margin-right: 0.75rem;
}

.pricing-card .btn {
  width: 100%;
}

.enterprise-cta {
  text-align: center;
}

.enterprise-cta p {
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

/* Testimonials Section */
.testimonials-section {
  padding: 100px 0;
  background-color: rgba(59, 130, 246, 0.05);
}

.testimonials-slider {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin: 0 auto;
  max-width: 1200px;
}

.testimonial-card {
  background-color: var(--card-bg);
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  width: 100%;
  max-width: 350px;
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.testimonial-content {
  margin-bottom: 1.5rem;
}

.testimonial-content p {
  font-style: italic;
  color: var(--text-color);
  line-height: 1.6;
}

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

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(59, 130, 246, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
}

.author-avatar i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.author-info h4 {
  margin: 0;
  font-size: 1rem;
  color: var(--text-color);
}

.author-info p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Contact Section */
.contact-section {
  padding: 100px 0;
  background-color: var(--bg-color);
}

.contact-container {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.info-item {
  display: flex;
  margin-bottom: 2rem;
}

.info-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-right: 1.5rem;
  margin-top: 0.25rem;
}

.info-item h4 {
  margin-bottom: 0.5rem;
}

.info-item p {
  color: var(--text-muted);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(59, 130, 246, 0.1);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--primary-color);
  color: white;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.contact-form {
  flex: 1;
  min-width: 300px;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border-radius: 0.375rem;
  border: 1px solid var(--border-color);
  background-color: var(--card-bg);
  color: var(--text-color);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

/* Footer */
.site-footer {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 3rem 0 0 0;
  background-color: var(--card-bg);
  color: var(--text-color);
  border-top: 1px solid var(--border-color);
  box-sizing: border-box;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  flex: 1;
  min-width: 250px;
}

.footer-logo p {
  color: var(--text-muted);
  margin-top: 1rem;
}

.footer-links {
  flex: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-column {
  flex: 1;
  min-width: 150px;
}

.footer-column h4 {
  margin-bottom: 1.5rem;
}

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

.footer-column li {
  margin-bottom: 0.75rem;
}

.footer-column a {
  color: var(--text-muted);
}

.footer-column a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0 2rem 0;
  border-top: 1px solid var(--border-color);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: var(--text-muted);
  margin-bottom: 0;
}

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

.footer-social a {
  color: var(--text-muted);
  font-size: 1.25rem;
  transition: var(--transition);
}

.footer-social a:hover {
  color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero-image {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 3rem auto 0;
    transform: none;
    top: auto;
    right: auto;
  }
  
  .hero-section {
    padding: 140px 0 60px;
    text-align: center;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .steps {
    flex-direction: column;
    align-items: center;
    gap: 3rem;
  }
  
  .pricing-card.highlighted {
    transform: none;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-buttons {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .pricing-plans {
    flex-direction: column;
    align-items: center;
  }
  
  .pricing-card {
    max-width: 100%;
  }
  
  .contact-container {
    flex-direction: column;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-social {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .section-header h2 {
    font-size: 1.75rem;
  }
  
  .section-header p {
    font-size: 1rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonial {
    padding: 1.5rem;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease forwards;
}

/* Slider Animation */
.testimonials-slider {
  display: flex;
  transition: transform 0.5s ease;
}

/* FAQ Section */
.faq-section {
  padding: 100px 0;
  background-color: var(--bg-color);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--text-color);
}

.faq-question i {
  font-size: 1rem;
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question {
  background-color: rgba(59, 130, 246, 0.1);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
  color: var(--primary-color);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.5rem 1.5rem;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-answer p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Hover effect for cards */
.hover-effect {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
  
  .contact-info {
    order: 2;
  }
  
  .contact-form {
    order: 1;
    margin-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  .faq-question h3 {
    font-size: 1rem;
  }
  
  .testimonial-content p {
    font-size: 1rem;
  }
}
