/* Variables globales */
:root {
  --primary: #0A66C2;
  --primary-dark: #004182;
  --accent: #00A0DC;
  --text-dark: #1A1A1A;
  --text-light: #666;
  --background: #F5F5F5;
  --white: #FFFFFF;
  --success: #22C55E;
  --warning: #F59E0B;
}

/* Reset et base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--background);
}

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

/* Navigation */
.top-nav {
  background: var(--white);
  padding: 15px 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

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

.logo {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
}

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

/* Boutons */
.btn {
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-size: 16px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

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

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

.btn.large {
  padding: 16px 32px;
  font-size: 18px;
}

.btn.mega {
  padding: 20px 40px;
  font-size: 20px;
  letter-spacing: 1px;
}

/* Hero Section */
.hero {
  padding: 160px 20px 100px;
  background: linear-gradient(135deg, var(--white) 0%, #F0F7FF 100%);
  text-align: center;
}

.mega-title {
  font-size: 64px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  background: linear-gradient(45deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 24px;
  color: var(--text-light);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.cta-primary {
  margin-bottom: 40px;
}

.cta-subtitle {
  margin-top: 15px;
  color: var(--text-light);
}

/* Problem Section */
.problem-section {
  padding: 100px 0;
  background: var(--white);
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.problem-card, .solution-card {
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.problem-card {
  background: #FFF5F5;
}

.solution-card {
  background: #F0FFF4;
}

.problem-list, .solution-list {
  list-style: none;
  margin-top: 20px;
}

.problem-list li, .solution-list li {
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: 500;
  padding-left: 30px;
  position: relative;
}

.problem-list li::before {
  content: "❌";
  position: absolute;
  left: 0;
}

.solution-list li::before {
  content: "✅";
  position: absolute;
  left: 0;
}

/* Social Proof */
.social-proof {
  padding: 60px 0;
  background: var(--primary-dark);
  color: var(--white);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.metric h3 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 10px;
}

.metric p {
  font-size: 18px;
  opacity: 0.9;
}

/* Features */
.features {
  padding: 100px 0;
  background: var(--white);
}

.section-title {
  font-size: 36px;
  text-align: center;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.feature {
  text-align: center;
  padding: 40px;
  border-radius: 16px;
  background: #F8FAFC;
  transition: transform 0.3s ease;
}

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

.feature i {
  font-size: 40px;
  color: var(--primary);
  margin-bottom: 20px;
}

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

/* Galeries de vignettes dans chaque feature */
.thumbnails {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}

.thumbnail {
  width: 30%;
  max-width: 150px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.thumbnail:hover {
  transform: scale(1.1);
}

/* FAQ / Accordion */
.faq {
  padding: 100px 0;
  background: var(--white);
}

.faq h2 {
  text-align: center;
  margin-bottom: 60px;
}

.faq-grid {
  display: grid;
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  padding: 30px;
  background: #F8FAFC;
  border-radius: 16px;
  transition: transform 0.3s ease;
}

.faq-item:hover {
  transform: translateX(10px);
}

.faq-item h3 {
  color: var(--primary);
  margin-bottom: 15px;
}

/* Interaction styles */
.accordion-title.active + .accordion-content {
  display: block;
}

.accordion-title:after {
  content: ' ▼';
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.accordion-title.active:after {
  transform: rotate(180deg);
}

/* Final CTA */
.final-cta {
  padding: 100px 0;
  text-align: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
}

.final-cta h2 {
  font-size: 48px;
  margin-bottom: 20px;
}

.offer {
  font-size: 24px;
  margin-bottom: 40px;
}

.guarantee {
  margin-top: 20px;
  font-size: 18px;
  opacity: 0.9;
}

/* Footer */
footer {
  background: var(--text-dark);
  color: var(--white);
  padding: 80px 0 40px;
}

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

.footer-brand h3 {
  font-size: 24px;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
}

.footer-links h4 {
  margin-bottom: 20px;
}

.footer-links a {
  color: var(--white);
  opacity: 0.8;
  text-decoration: none;
  margin-bottom: 10px;
  transition: opacity 0.3s ease;
}

.footer-links a:hover {
  opacity: 1;
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .mega-title {
    font-size: 40px;
  }

  .problem-grid,
  .features-grid,
  .testimonials-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .metrics {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .nav-container {
    flex-direction: column;
    gap: 20px;
  }

  .btn.mega {
    padding: 15px 30px;
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 120px 20px 60px;
  }

  .btn {
    width: 100%;
  }

  .testimonial {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

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

.fade-in {
  animation: fadeIn 1s ease-out;
}

/* Utils */
.text-gradient {
  background: linear-gradient(45deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

/* Section FAQ - Accordion */
.problem-section {
  padding: 40px 0;
  background-color: #f7f7f7;
  font-family: 'Arial', sans-serif;
}

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

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 40px;
  color: #333;
}

.content-block {
  margin-bottom: 30px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  padding: 20px;
  transition: box-shadow 0.3s ease-in-out;
}

.content-block:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.accordion-title {
  cursor: pointer;
  font-size: 1.5rem;
  font-weight: 600;
  color: #0073e6;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.accordion-title:hover {
  color: #005bb5;
}

.accordion-content {
  display: none;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555;
}

.advantages-list {
  list-style-type: none;
  padding-left: 0;
}

.advantages-list li {
  margin-bottom: 15px;
  font-size: 1.1rem;
  color: #555;
}

.advantages-list li strong {
  font-weight: bold;
  color: #0073e6;
}

/* Interaction styles */
.accordion-title.active + .accordion-content {
  display: block;
}

.accordion-title:after {
  content: ' ▼';
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.accordion-title.active:after {
  transform: rotate(180deg);
}

/* Nouveaux styles pour le modal (définis également ci-dessus dans index.php) */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
}

.modal-content {
  width: 70vw;
  max-height: 70vh;
  object-fit: contain;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.modal-close:hover {
  color: #bbb;
}