/* ===================================================================
   HEADER & NAVIGATION
   =================================================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  z-index: 1000;
  transition: all 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #547DFA;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.logo:hover {
  opacity: 0.8;
}

.logo img {
  height: 40px;
  width: auto;
}

.logo span {
  background: linear-gradient(135deg, #547DFA 0%, #8261FA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-menu a {
  color: #4B5563;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
}

.nav-menu a:hover {
  color: #547DFA;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #547DFA, #8261FA);
  transition: width 0.3s ease;
}

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

.nav-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* Menu burger mobile */
.burger-menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.burger-menu span {
  width: 24px;
  height: 2px;
  background: #4B5563;
  transition: all 0.3s ease;
}

.burger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger-menu.active span:nth-child(2) {
  opacity: 0;
}

.burger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* ===================================================================
   HERO SECTION
   =================================================================== */

.hero {
  padding: 140px 0 80px;
  background: linear-gradient(180deg, #F9FAFB 0%, #FFFFFF 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(84, 125, 250, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 800px;
  text-align: center;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: linear-gradient(135deg, rgba(84, 125, 250, 0.12), rgba(130, 97, 250, 0.12));
  border: 1px solid rgba(84, 125, 250, 0.2);
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #547DFA;
  margin-bottom: 2rem;
  animation: fadeInUp 0.6s ease-out;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: #111827;
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.6;
  color: #6B7280;
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
  animation: fadeInUp 0.6s ease-out 0.3s both;
  flex-wrap: wrap;
}

.hero-trust {
  font-size: 0.9rem;
  color: #9CA3AF;
  animation: fadeInUp 0.6s ease-out 0.4s both;
}

.hero-visual {
  margin-top: 4rem;
  animation: fadeInUp 0.8s ease-out 0.5s both;
}

.hero-visual img {
  width: 100%;
  max-width: 900px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

/* ===================================================================
   SECTION POURQUOI PROTECTQR
   =================================================================== */

.section-pourquoi {
  padding: 6rem 0;
  background: #FFFFFF;
}

.section-title {
  font-size: 2.75rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  color: #111827;
}

.section-subtitle {
  font-size: 1.15rem;
  text-align: center;
  color: #6B7280;
  margin-bottom: 4rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.feature-card {
  text-align: center;
  padding: 2rem;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  background: #F9FAFB;
  transform: translateY(-8px);
}

.feature-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  display: block;
}

.feature-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #111827;
}

.feature-card p {
  color: #6B7280;
  line-height: 1.7;
  margin: 0;
}

/* ===================================================================
   SECTION TARIFS
   =================================================================== */

.section-tarifs {
  padding: 6rem 0;
  background: linear-gradient(180deg, #FFFFFF 0%, #F9FAFB 100%);
}

.pricing-toggle {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.pricing-toggle button {
  padding: 0.75rem 2rem;
  border: 2px solid #E5E7EB;
  background: #FFFFFF;
  border-radius: 12px;
  font-weight: 600;
  color: #6B7280;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pricing-toggle button.active {
  border-color: #547DFA;
  background: linear-gradient(135deg, rgba(84, 125, 250, 0.1), rgba(130, 97, 250, 0.1));
  color: #547DFA;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1300px;
  margin: 0 auto;
}

.pricing-card {
  background: #FFFFFF;
  border: 2px solid #E5E7EB;
  border-radius: 20px;
  padding: 2.5rem;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: #547DFA;
}

.pricing-card.featured {
  border-color: #547DFA;
  border-width: 3px;
  transform: scale(1.05);
  box-shadow: 0 20px 50px rgba(84, 125, 250, 0.2);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-8px);
}

.featured-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #547DFA 0%, #8261FA 100%);
  color: #FFFFFF;
  padding: 0.5rem 1.5rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(84, 125, 250, 0.3);
}

.pricing-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #111827;
}

.price {
  margin-bottom: 2rem;
}

.price .amount {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, #547DFA 0%, #8261FA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.price .period {
  font-size: 1rem;
  color: #9CA3AF;
  font-weight: 500;
}

.features-list {
  list-style: none;
  margin: 0 0 2rem 0;
  padding: 0;
  flex-grow: 1;
}

.features-list li {
  padding: 0.75rem 0;
  color: #4B5563;
  font-size: 0.95rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.features-list li::before {
  content: '✓';
  color: #10B981;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.pricing-note {
  text-align: center;
  font-size: 0.85rem;
  color: #9CA3AF;
  margin-top: 1rem;
  font-style: italic;
}

/* ===================================================================
   SECTION FONCTIONNALITÉS
   =================================================================== */

.section-fonctionnalites {
  padding: 6rem 0;
  background: #FFFFFF;
}

.fonctionnalites-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.fonctionnalite-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.fonctionnalite-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(84, 125, 250, 0.1), rgba(130, 97, 250, 0.1));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}

.fonctionnalite-content h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #111827;
}

.fonctionnalite-content p {
  color: #6B7280;
  line-height: 1.6;
  margin: 0;
}

/* ===================================================================
   SECTION CLIENTS / TÉMOIGNAGES
   =================================================================== */

.section-clients {
  padding: 6rem 0;
  background: #F9FAFB;
}

.clients-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
  margin: 3rem 0;
  opacity: 0.6;
}

.clients-logos img {
  height: 50px;
  width: auto;
  filter: grayscale(100%);
  transition: all 0.3s ease;
}

.clients-logos img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.testimonial-card {
  background: #FFFFFF;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
  font-style: italic;
  color: #4B5563;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

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

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #547DFA, #8261FA);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-weight: 600;
  font-size: 1.2rem;
}

.testimonial-info h5 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.25rem 0;
  color: #111827;
}

.testimonial-info p {
  font-size: 0.85rem;
  color: #9CA3AF;
  margin: 0;
}

/* ===================================================================
   SECTION CTA (CALL TO ACTION)
   =================================================================== */

.section-cta {
  padding: 6rem 0;
  background: linear-gradient(135deg, #547DFA 0%, #8261FA 100%);
  position: relative;
  overflow: hidden;
}

.section-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.section-cta::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
}

.cta-content p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-actions .btn-lg {
  width: 100%;
}

.btn-cta-white {
  background: #FFFFFF;
  color: #547DFA;
  padding: 1rem 2.5rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.05rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-cta-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.btn-cta-outline {
  background: transparent;
  color: #FFFFFF;
  padding: 1rem 2.5rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.05rem;
  border: 2px solid #FFFFFF;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-cta-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* ===================================================================
   FOOTER
   =================================================================== */

.footer {
  background: #1F2937;
  color: #D1D5DB;
  padding: 4rem 0 2rem;
}

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

.footer-col h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #FFFFFF;
}

.footer-col p {
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-col a {
  color: #9CA3AF;
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-block;
}

.footer-col a:hover {
  color: #FFFFFF;
  transform: translateX(4px);
}

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

.social-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: linear-gradient(135deg, #547DFA, #8261FA);
  transform: translateY(-4px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #9CA3AF;
  font-size: 0.9rem;
}

/* ===================================================================
   ANIMATIONS
   =================================================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* ===================================================================
   RESPONSIVE
   =================================================================== */

@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.75rem;
  }
  
  .section-title {
    font-size: 2.25rem;
  }
}

@media (max-width: 768px) {
  /* Cacher complètement le menu de navigation sur mobile */
  .nav-menu {
    display: none !important;
  }

  /* Cacher le burger menu */
  .burger-menu {
    display: none;
  }

  /* Boutons compacts sur mobile */
  .nav-actions {
    flex-direction: row;
    gap: 0.5rem;
  }

  .nav-actions .btn {
    padding: 0.875rem 0.875rem;
    font-size: 0.8rem;
  }

  .hero {
    padding: 100px 0 60px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .hero-cta .btn-lg {
    width: 100%;
  }
  
  .section-pourquoi,
  .section-tarifs,
  .section-fonctionnalites,
  .section-clients,
  .section-cta {
    padding: 4rem 0;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .features-grid,
  .pricing-grid,
  .fonctionnalites-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .pricing-card.featured {
    transform: scale(1);
  }
  
  .cta-content h2 {
    font-size: 1.75rem;
  }
  
  .cta-content p {
    font-size: 1rem;
  }
  
  .cta-actions {
    flex-direction: column;
  }
  
  .btn-cta-white,
  .btn-cta-outline {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  .logo {
    font-size: 1.25rem;
  }
  
  .logo img {
    height: 32px;
  }
  
  .hero-title {
    font-size: 1.75rem;
  }
  
  .price .amount {
    font-size: 2.5rem;
  }
  
  .pricing-card {
    padding: 1.5rem;
  }
}

/* ===================================================================
   UTILITIES SUPPLÉMENTAIRES
   =================================================================== */

.text-gradient {
  background: linear-gradient(135deg, #547DFA 0%, #8261FA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.scroll-smooth {
  scroll-behavior: smooth;
}

/* Loading states */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}