.policy,
.success,
.contact-section {
  padding-block: 130px 60px;
  min-height: 92vh;
}

.success__text {
  margin-bottom: 30px;
}

.policy__title,
.success__title {
  font-weight: 700;
  font-size: 40px;
  line-height: 100%;
  letter-spacing: 0%;
  vertical-align: middle;

  margin-bottom: 30px;
}

.policy__text {
  font-weight: 400;
  font-size: 18px;
  line-height: 130%;
  letter-spacing: 0%;
}

.policy__text h2,
.policy__text p,
.policy__text ul {
  margin-bottom: 14px;
}

.policy__link {
  color: #fff;
}

html {
  scroll-behavior: smooth;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Nunito", sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

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

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

h1 {
  font-size: 2.5rem;
  color: #2d3748;
}

h2 {
  font-size: 2rem;
  color: #2d3748;
}

h3 {
  font-size: 1.5rem;
  color: #2d3748;
}

p {
  margin-bottom: 1rem;
  color: #4a5568;
  line-height: 1.7;
}

/* Buttons */
.btn-primary {
  background: #22c55e;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary:hover {
  background: #16a34a;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: #22c55e;
  padding: 12px 24px;
  border: 2px solid #22c55e;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.btn-secondary:hover {
  background: #22c55e;
  color: white;
  transform: translateY(-2px);
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  padding: 24px;
  z-index: 1000;
  max-width: 500px;
  margin: 0 auto;
  display: none;
}

.cookie-popup.show {
  display: block;
}

.cookie-content h3 {
  color: #2d3748;
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.cookie-content p {
  color: #4a5568;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Header */
.header {
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 20px;
}

.logo img {
  height: 40px;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-list a {
  text-decoration: none;
  color: #4a5568;
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-list a:hover {
  color: #22c55e;
}

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

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: #2d3748;
  margin: 3px 0;
  transition: 0.3s;
}

.mobile-menu {
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  z-index: 99;
}

.mobile-menu.active {
  transform: translateY(0);
}

.mobile-nav-list {
  list-style: none;
  padding: 2rem;
}

.mobile-nav-list li {
  margin-bottom: 1rem;
}

.mobile-nav-list a {
  text-decoration: none;
  color: #4a5568;
  font-weight: 600;
  font-size: 1.1rem;
  display: block;
  padding: 0.5rem 0;
}

/* Hero Section */
.hero {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 2.8rem;
  color: #2d3748;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.2rem;
  font-weight: 600;
  color: #22c55e;
  margin-bottom: 1rem;
}

.hero-description {
  font-size: 1.1rem;
  color: #4a5568;
  margin-bottom: 1rem;
}

.hero-mission {
  font-size: 1rem;
  color: #6b7280;
  margin-bottom: 2rem;
  font-style: italic;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Avantages Section */
.avantages {
  padding: 80px 0;
  background: white;
}

.avantages-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.avantages-image img {
  width: 100%;
  border-radius: 20px;
}

.avantages-text h2 {
  margin-bottom: 1.5rem;
}

.avantages-list {
  list-style: none;
  margin-top: 1.5rem;
}

.avantages-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.8rem;
  color: #4a5568;
}

.avantages-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #22c55e;
  font-weight: bold;
  font-size: 1.2rem;
}

/* Fonctionnalités Section */
.fonctionnalites {
  padding: 80px 0;
  background: #f8fafc;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
}

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

.fonctionnalite-card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
}

.fonctionnalite-card:hover {
  transform: translateY(-5px);
}

.fonctionnalite-icon {
  margin-bottom: 1.5rem;
}

.check-icon {
  width: 60px;
  height: 60px;
  background: #22c55e;
  border-radius: 50%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.check-icon::after {
  content: "✓";
  color: white;
  font-size: 24px;
  font-weight: bold;
}

.fonctionnalite-card h3 {
  margin-bottom: 1rem;
  color: #2d3748;
}

.fonctionnalite-card p {
  color: #6b7280;
  line-height: 1.6;
}

/* Integration Section */
.integration {
  padding: 80px 0;
  background: white;
}

.integration-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.integration-list {
  list-style: none;
  margin: 1.5rem 0;
}

.integration-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: #4a5568;
}

.integration-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #22c55e;
  font-weight: bold;
}

.integration-image img {
  width: 100%;
  border-radius: 20px;
}

/* Témoignages Section */
.temoignages {
  padding: 80px 0;
  background: #f8fafc;
}

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

.temoignage-card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.temoignage-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.temoignage-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.temoignage-card blockquote {
  font-style: italic;
  color: #4a5568;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

.temoignage-card cite {
  color: #2d3748;
  font-weight: 600;
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: white;
  text-align: center;
}

.cta-content h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-content .btn-primary {
  background: white;
  color: #22c55e;
  margin-top: 1rem;
  font-size: 1.1rem;
  padding: 15px 30px;
}

.cta-content .btn-primary:hover {
  background: #f8fafc;
  transform: translateY(-3px);
}

/* Contact Form Section */
.contact-form-section {
  padding: 60px 0;
  background: white;
}

.contact-form {
  max-width: 500px;
  margin: 0 auto;
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
  font-family: "Nunito", sans-serif;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #22c55e;
}

.contact-form button {
  width: 100%;
  font-size: 1.1rem;
  padding: 15px;
}

/* Footer */
.footer {
  background: #2d3748;
  color: white;
  padding: 40px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-text p {
  color: #cbd5e0;
  margin: 0;
}

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

.footer-links a {
  color: #cbd5e0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  /* Header Mobile */
  .nav {
    display: none;
  }

  .header-actions {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  /* Hero Mobile */
  .hero {
    padding: 100px 0 60px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-actions {
    justify-content: center;
  }

  /* Sections Mobile */
  .avantages-content,
  .integration-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .fonctionnalites-grid {
    grid-template-columns: 1fr;
  }

  .temoignages-grid {
    grid-template-columns: 1fr;
  }

  /* CTA Mobile */
  .cta-content h2 {
    font-size: 2rem;
  }

  .cta-content p {
    font-size: 1rem;
  }

  /* Footer Mobile */
  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }

  /* Cookie Popup Mobile */
  .cookie-popup {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .cookie-buttons {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 1.8rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions a {
    width: 100%;
    text-align: center;
  }

  .btn-primary,
  .btn-secondary {
    padding: 15px 20px;
    font-size: 0.95rem;
  }

  .fonctionnalite-card,
  .temoignage-card {
    padding: 1.5rem;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Mobile menu animation */
.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

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

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