/* Hero Section */
.hero {
    padding: 40px 0 40px;
    margin-top: var(--header-height);
    background-color: var(--light-color);
}

.hero .container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.hero .subtitle {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--black);
}

.hero .text-store {
    font-size: 18px;
    margin-bottom: 10px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.hero-image {
    flex: 1;
    text-align: right;
}

.hero-image img {
    max-height: 300px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

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

.section-header h2 {
  font-size: 36px;
  margin-bottom: 15px;
  color: var(--primary);
}

.section-header p {
  font-size: 18px;
  color: var(--dark-gray);
}

/* About Section */
.about {
    background-color: var(--gray);
}

.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-text, .about-image {
  flex: 1;
}

.about-text h3 {
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--dark);
}

.about-image {
  text-align: center;
}

.about-image img {
  width: 60%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-list {
  list-style: none;
  margin-top: 20px;
}

.feature-list li {
  display: flex;
  align-items: center;
}

.feature-list p {
  color: #6b7280;
  font-size: 0.875rem;
}

.feature-list i {
  color: var(--primary);
  margin-right: 10px;
  font-size: 18px;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: var(--light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(0, 102, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

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

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

/* Stats Section */
.stats {
  background-color: var(--gray);
}

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

.stat-card {
  background-color: var(--light);
  padding: 40px 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.stat-card h3 {
  font-size: 48px;
  color: var(--primary);
  margin-bottom: 10px;
}

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

/* Anonymat Section */
.anonymat-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
}

.anonymat-title img {
    height: 2em;
}

.anonymat-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.anonymat-text {
  margin: 0 auto;
}

.anonymat-text h3 {
  margin-bottom: 10px;
}

.protection-list {
  list-style: none;
}

.protection-list li {
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
}

.protection-list i {
  color: var(--primary);
  margin-right: 15px;
  font-size: 20px;
  margin-top: 3px;
}

.protection-list strong {
  font-weight: 600;
}

/* Download Section */
.download {
  background-color: var(--primary);
  color: var(--light);
  text-align: center;
  padding: 80px 0;
}

.download h2 {
  font-size: 36px;
  margin-bottom: 15px;
  color: var(--light);
}

.download p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
}

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

/* FAQ Section - Version Accordéon */
.faq {
    background-color: var(--light-color);
    padding: 80px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

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

.faq h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 50px;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.faq-accordion {
    width: 100%;
}

.faq-item {
    margin-bottom: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid #eaeaea;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.2s;
}

.faq-question:hover {
    background-color: #f9f9f9;
}

.faq-question h3 {
    font-size: 1.1rem;
    color: var(--dark-color);
    margin: 0;
    font-weight: 500;
    flex: 1;
}

.faq-question .icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 25px;
}

.faq-answer-inner {
    padding: 0 0 20px 0;
    color: var(--dark-gray);
    line-height: 1.6;
}

.faq-list {
  list-style-type: disc;
  list-style-position: outside;
  padding-left: 1.5rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

/* Active state */
.faq-item.active {
    border-color: var(--primary);
}

.faq-item.active .faq-question {
    background-color: #f0f7ff;
}

.faq-item.active .faq-question h3 {
    color: var(--primary);
    font-weight: 600;
}

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

.faq-item.active .faq-answer {
    max-height: 300px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .about-content, .anonymat-content {
    flex-direction: column;
  }
  
  .about-image {
    order: -1;
    margin-bottom: 40px;
    max-width: 40%;
  }

  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
    margin-bottom: 50px;
  }

  .hero-image {
    text-align: center;
  }

  .cta-buttons {
    justify-content: center;
  }

  /* FAQ Responsive */
  .faq {
      padding: 60px 0;
  }
  
  .faq h2 {
      font-size: 2rem;
      margin-bottom: 30px;
  }
  
  .faq-question {
      padding: 15px 20px;
  }
  
  .faq-question h3 {
      font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .hero {
    margin-top: var(--header-height);
    padding: 40px 0 80px;
    text-align: center;
  }
  
  .hero h1 {
    font-size: 36px;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-image {
    width: 100%; /* 80% de la largeur */
    margin: 0 auto; /* Centrage */
    text-align: center;
    flex: none; /* Annule le flex:1 pour contrôler la taille */
  }

  .hero-image img {
    max-height: none; /* Supprime la hauteur fixe */
    width: 100%; /* Prend toute la largeur disponible */
    height: auto; /* Maintient les proportions */
    max-width: 100%; /* Empêche le débordement */
  }

  .about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }
  
  section {
    padding: 80px 0;
  }
  
  .section-header h2 {
    font-size: 30px;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 28px;
  }
  
  .section-header h2 {
    font-size: 26px;
  }
  
  .download-buttons {
    flex-direction: column;
  }

  /* FAQ Small Mobile */
  .faq {
      padding: 50px 0;
  }
  
  .faq h2 {
      font-size: 1.8rem;
  }
  
  .faq-question h3 {
      font-size: 1rem;
  }
  
  .faq-answer-inner {
      font-size: 0.9rem;
  }
}

/* Boutons */
.btn-details {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    margin-top: 25px;
    background-color: var(--primary);
    color: white;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 102, 255, 0.2);
}

.btn-details:hover {
    background-color: #0052cc;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 102, 255, 0.3);
}

.btn-details i {
    margin-right: 10px;
    font-size: 1.2em;
}

.stats .btn-details,
.download .btn-details {
    background-color: white;
    color: var(--primary);
}

.stats .btn-details:hover,
.download .btn-details:hover {
    background-color: #f0f0f0;
}

.cta-center .btn-details {
    margin-bottom: 20px;
}