/* Base */
:root {
  --bleu-nuit: #1e3a5f;
  --bleu-clair: #4aa3d9;
  --sable: #f6f3ef;
  --corail: #f08a5d;
  --vert-doux: #7fb69d;
  --gris-texte: #2f2f2f;
  --gris-doux: #e8e4de;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--gris-texte);
  background: #ffffff;
  line-height: 1.6;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 56px 0;
}

.section--alt {
  background: var(--sable);
}

.section--accent {
  background: var(--bleu-nuit);
  color: #ffffff;
}

.section-title {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.lead {
  font-size: 1.1rem;
  margin: 0 0 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--bleu-clair);
  color: #ffffff;
  font-weight: 600;
  border: none;
}

.btn--ghost {
  background: transparent;
  border: 2px solid var(--bleu-clair);
  color: var(--bleu-clair);
}

.btn--dark {
  background: var(--bleu-nuit);
}

.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--gris-doux);
  font-size: 0.85rem;
}

/* Header + nav */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--gris-doux);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--bleu-nuit);
}

.site-nav {
  display: flex;
  align-items: center;
  position: relative;
}

.nav-toggle {
  background: transparent;
  border: 1px solid var(--gris-doux);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
}

.nav-links {
  display: none;
  flex-direction: column;
  gap: 12px;
  position: absolute;
  right: 0;
  top: 52px;
  background: #ffffff;
  border: 1px solid var(--gris-doux);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  padding: 18px;
  border-radius: 16px;
  min-width: 200px;
}

.nav-links a {
  font-weight: 600;
}

body.nav-open .nav-links {
  display: flex;
}

.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 5;
}

body.nav-open .nav-backdrop {
  display: block;
}

/* Hero */
.hero {
  padding: 64px 0 72px;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-card {
  background: var(--sable);
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Cards and blocks */
.cards {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card {
  border: 1px solid var(--gris-doux);
  border-radius: 20px;
  padding: 20px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-row {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-icon {
  width: 44px;
  height: 44px;
  padding: 8px;
  border-radius: 12px;
  background: var(--bleu-clair);
  color: #ffffff;
}

.highlight-panel {
  border-radius: 24px;
  padding: 24px;
  background: #ffffff;
  border: 2px solid var(--bleu-clair);
}

/* Stats */
.stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid var(--gris-doux);
  font-weight: 600;
}

/* Testimonials */
.testimonials {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.quote {
  padding: 22px;
  background: #ffffff;
  border-radius: 20px;
  border-left: 4px solid var(--corail);
}

/* FAQ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--gris-doux);
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 16px 20px;
  font-weight: 600;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-answer {
  padding: 0 20px 16px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  margin: 0;
}

/* Services */
.service-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.service-price {
  font-weight: 700;
  color: var(--bleu-nuit);
}

.comparison {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comparison-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--gris-doux);
  background: #ffffff;
}

/* Footer */
.site-footer {
  background: #0f2438;
  color: #ffffff;
  padding: 48px 0;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Cookie banner + modal */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: #ffffff;
  border: 1px solid var(--gris-doux);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
  display: none;
  flex-direction: column;
  gap: 12px;
  z-index: 20;
}

.cookie-banner.visible {
  display: flex;
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  z-index: 30;
  padding: 20px;
}

.cookie-modal.visible {
  display: flex;
}

.cookie-modal-content {
  background: #ffffff;
  border-radius: 20px;
  padding: 24px;
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cookie-options label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.cookie-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Utilities */
.split {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.icon-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.icon-card {
  flex: 1 1 160px;
  border-radius: 16px;
  padding: 16px;
  background: #ffffff;
  border: 1px solid var(--gris-doux);
}

/* Responsive */
@media (min-width: 768px) {
  .hero-inner,
  .split,
  .feature-row,
  .cards,
  .service-grid,
  .comparison,
  .footer-grid {
    flex-direction: row;
  }

  .hero-inner {
    align-items: center;
  }

  .cards,
  .service-grid,
  .comparison,
  .footer-grid {
    flex-wrap: wrap;
  }

  .card,
  .service-grid .card,
  .comparison-row,
  .footer-grid > div {
    flex: 1 1 260px;
  }

  .feature-row {
    flex-wrap: wrap;
  }

  .feature-item {
    flex: 1 1 240px;
  }

  .stats {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .stat {
    flex: 1 1 200px;
  }

  .nav-toggle {
    display: none;
  }

  .nav-links {
    display: flex;
    position: static;
    flex-direction: row;
    gap: 18px;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
  }

  body.nav-open .nav-links {
    display: flex;
  }

  .nav-backdrop {
    display: none;
  }

  .cookie-actions,
  .cookie-modal-actions {
    flex-direction: row;
    justify-content: flex-start;
  }
}
