:root {
  --primary: #2563eb;
  --primary-dark: #1e40af;
  --accent: #f97316;
  --accent-dark: #ea580c;
  --dark: #1e293b;
  --light: #f8fafc;
  --gray: #64748b;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: var(--light);
  color: var(--dark);
  line-height: 1.6;
}

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

header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  z-index: 100;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}
a {
  text-decoration: none;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary);
  display: flex;
  align-items: center;
  padding-left: 2%;
}

.logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  justify-content: center;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  transition: color 0.3s;
}

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

.btn {
  padding: 12px 25px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}

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

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}

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

.btn-call:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-accent {
  background-color: var(--accent);
  color: white;
  border: none;
  margin-bottom: 20px;
}

.btn-accent:hover {
  background-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(249, 115, 22, 0.4);
}

.hero {
  padding: 150px 0 80px;
  background: linear-gradient(to right, #f8fafc, #e2e8f0);
  text-align: center;
}

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

.hero h1 span {
  color: var(--accent);
}

.hero p {
  font-size: 20px;
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto 40px;
}

.features {
  padding: 80px 0;
  background-color: white;
}

.section-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 60px;
  color: var(--dark);
}

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

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

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

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

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

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--dark);
}

.feature-card p {
  color: var(--gray);
}

.how-it-works {
  padding: 80px 0;
  background-color: #f1f5f9;
}

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

.step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 40px;
  padding: 20px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.step-number {
  background-color: var(--primary);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-right: 20px;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: var(--dark);
}

/* Dashboard démo */
.dashboard-demo {
  padding: 80px 0;
  background-color: #f1f5f9;
}

.section-subtitle {
  text-align: center;
  color: var(--gray);
  font-size: 16px;
  margin-top: -40px;
  margin-bottom: 40px;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.dash-stat {
  background: white;
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  border-top: 4px solid;
}

.dash-stat.critique { border-color: #ef4444; }
.dash-stat.moyen    { border-color: #f97316; }
.dash-stat.faible   { border-color: #22c55e; }
.dash-stat.total    { border-color: var(--primary); }

.dash-stat-number {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 8px;
}

.dash-stat.critique .dash-stat-number { color: #ef4444; }
.dash-stat.moyen    .dash-stat-number { color: #f97316; }
.dash-stat.faible   .dash-stat-number { color: #22c55e; }
.dash-stat.total    .dash-stat-number { color: var(--primary); }

.dash-stat-label {
  color: var(--gray);
  font-size: 13px;
}

.dashboard-table-wrapper {
  overflow-x: auto;
  background: white;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  margin-bottom: 30px;
}

.dashboard-table {
  width: 100%;
  border-collapse: collapse;
}

.dashboard-table thead {
  background-color: var(--primary);
  color: white;
}

.dashboard-table th {
  padding: 14px 16px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
}

.dashboard-table td {
  padding: 12px 16px;
  font-size: 13px;
  border-bottom: 1px solid #e2e8f0;
  color: var(--dark);
}

.dashboard-table tbody tr:hover {
  background-color: #f8fafc;
}

.protocol-tag {
  background-color: #dbeafe;
  color: var(--primary);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.risk-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.risk-badge.critique {
  background-color: #fee2e2;
  color: #ef4444;
}

.risk-badge.moyen {
  background-color: #ffedd5;
  color: #f97316;
}

.risk-badge.faible {
  background-color: #dcfce7;
  color: #22c55e;
}

.dashboard-footer {
  text-align: center;
  padding: 20px 0;
}

.dashboard-footer p {
  color: var(--gray);
  margin-bottom: 20px;
  font-size: 15px;
}

@media (max-width: 900px) {
  .dashboard-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .dashboard-stats {
    grid-template-columns: 1fr 1fr;
  }
}

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

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

.cta p {
  font-size: 20px;
  max-width: 700px;
  margin: 0 auto 40px;
  opacity: 0.9;
}

.testimonials {
  padding: 80px 0;
  background-color: white;
}

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

.testimonial-card {
  background-color: white;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  color: var(--gray);
}

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

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 15px;
  background-color: #e2e8f0;
}

.author-info h4 {
  font-size: 18px;
  margin-bottom: 5px;
}

.author-info p {
  color: var(--gray);
  font-size: 14px;
}

.pricing {
  padding: 80px 0;
  background-color: #f1f5f9;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background-color: white;
  border-radius: 8px;
  padding: 40px 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pricing-card.popular::before {
  content: "Populaire";
  position: absolute;
  top: 15px;
  right: -35px;
  background-color: var(--accent);
  color: white;
  padding: 5px 40px;
  transform: rotate(45deg);
  font-size: 14px;
  font-weight: bold;
}

.pricing-card h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--dark);
}

.pricing-card .price {
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--primary);
}

.pricing-card .price span {
  font-size: 16px;
  color: var(--gray);
  font-weight: normal;
}

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

.pricing-features li {
  padding: 8px 0;
  border-bottom: 1px solid #e2e8f0;
  color: var(--gray);
}

.nis2-badge {
  display: inline-block;
  background-color: var(--primary);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.protocols {
  padding: 80px 0;
  background-color: white;
}

footer {
  background-color: var(--dark);
  color: white;
  padding: 60px 0 30px;
}

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

.footer-logo {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  color: white;
}

.footer-logo span {
  color: var(--accent);
}

.footer-about p {
  opacity: 0.7;
  margin-bottom: 20px;
}

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

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

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

.footer-links a {
  color: white;
  opacity: 0.7;
  text-decoration: none;
  transition: opacity 0.3s;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.7;
  font-size: 14px;
}

.security-stats {
  display: flex;
  justify-content: start;
  flex-wrap: nowrap;
  margin: 40px 0;
}

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

.stat-number {
  font-size: 48px;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 5px;
}

.stat-label {
  color: var(--gray);
}

.email-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
}

.email-input {
  flex: 1;
  padding: 15px;
  border: none;
  border-radius: 6px 0 0 6px;
  font-size: 16px;
}

.test-gratuit {
  display: flex;
  justify-content: center;
  width: 45%;
  margin: auto;
}

.testemail-input {
  flex: 1;
  padding: 1px;
  border: none;
  border-radius: 6px 0 0 6px;
  font-size: 16px;
}

.submit-btn {
  padding: 15px 25px;
  background-color: var(--accent);
  color: white;
  border: none;
  border-radius: 0 6px 6px 0;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.send-btn {
  padding: 15px 25px;
  background-color: var(--accent);
  color: white;
  border: none;
  border-radius: 0 6px 6px 0;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn-free {
  padding: 15px 25px;
  background-color: var(--accent);
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
  text-decoration: none;
}

.btn-free2 {
  padding: 15px 25px;
  background-color: var(--accent);
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
  text-decoration: none;
}

.text-center {
  display: flex;
  justify-content: center;
}
.stat-intro {
  margin-top: 3rem;
}

.submit-btn:hover {
  background-color: var(--accent-dark);
}

@media (max-width: 900px) {
  .features-grid,
  .testimonial-grid,
  .pricing-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .features-grid,
  .testimonial-grid,
  .pricing-cards {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .navbar {
    flex-direction: column;
  }

  .nav-links {
    margin-top: 20px;
  }

  .hero h1 {
    font-size: 36px;
  }
}
