/* ============================================================
   SAKA — Design System
   ============================================================ */

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 17px;
  color: #1a1a1a;
  background: #ffffff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ============================================================
   NAVIGATION
   ============================================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid #f0f0f0;
  padding: 0 40px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 4px;
  color: #1a1a1a;
  text-transform: uppercase;
}

.nav-logo span { color: #c8001e; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: #444444;
  letter-spacing: 0.5px;
  transition: color 0.15s;
}

.nav-links a:hover { color: #1a1a1a; }

.nav-cta {
  background: #c8001e;
  color: #ffffff !important;
  border: none;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s;
}

.nav-cta:hover { background: #a8001a !important; color: #ffffff !important; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #1a1a1a;
  border-radius: 2px;
  transition: all 0.2s;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */

.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #c8001e;
  margin-bottom: 16px;
}

h1 {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.1;
  color: #1a1a1a;
  margin-bottom: 24px;
}

h2 {
  font-size: 36px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 14px;
}

h3 {
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 18px;
  color: #444444;
  margin-bottom: 48px;
}

.accent { color: #c8001e; }

/* ============================================================
   BUTTONS
   ============================================================ */

.btn-primary {
  display: inline-flex;
  align-items: center;
  background: #c8001e;
  color: #ffffff;
  border: none;
  padding: 15px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}

.btn-primary:hover { background: #a8001a; color: #ffffff; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  color: #1a1a1a;
  border: 1.5px solid #e0e0e0;
  padding: 15px 32px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
  white-space: nowrap;
}

.btn-secondary:hover { border-color: #c8001e; color: #c8001e; }

/* ============================================================
   SECTIONS — Layout helpers
   ============================================================ */

.section {
  padding: 80px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-bg {
  background: #f8f8f8;
}

.section-bg-alt {
  background: #fafafa;
}

.section-dark {
  background: #1a1a1a;
}

/* Full-width sections need wrapper */
.section-wrapper {
  padding: 80px 40px;
}

.section-wrapper .section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

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

.hero {
  padding: 80px 40px;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: calc(100vh - 64px);
}

.hero-content {}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-card {
  background: #f8f8f8;
  border: 0.5px solid #f0f0f0;
  border-radius: 12px;
  padding: 32px;
}

.hero-card-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #666666;
  margin-bottom: 20px;
}

.hero-card-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 0.5px solid #f0f0f0;
}

.hero-card-item:last-child { border-bottom: none; }

.hero-dot {
  width: 8px;
  height: 8px;
  min-width: 8px;
  border-radius: 50%;
  background: #c8001e;
  margin-top: 5px;
}

.hero-card-item strong {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  display: block;
}

.hero-card-item span {
  font-size: 14px;
  color: #555555;
}

/* ============================================================
   TRUST BAR
   ============================================================ */

.trust-bar-wrapper {
  background: #fafafa;
  border-top: 0.5px solid #f0f0f0;
  border-bottom: 0.5px solid #f0f0f0;
  padding: 32px 40px;
}

.trust-bar {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: #333333;
}

.trust-dot {
  width: 6px;
  height: 6px;
  min-width: 6px;
  border-radius: 50%;
  background: #c8001e;
}

.trust-note {
  font-size: 11px;
  color: #aaaaaa;
  margin-top: 16px;
  text-align: center;
}

/* ============================================================
   SERVICES
   ============================================================ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  background: #ffffff;
  border: 0.5px solid #f0f0f0;
  border-radius: 10px;
  padding: 28px 24px;
  transition: border-color 0.2s;
  cursor: default;
}

.service-card:hover { border-color: #c8001e; }

.service-icon {
  width: 44px;
  height: 44px;
  background: #fff0f0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.service-icon svg {
  width: 22px;
  height: 22px;
  stroke: #c8001e;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 15px;
  color: #444444;
  line-height: 1.6;
}

/* ============================================================
   PROCESSUS
   ============================================================ */

.processus-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.processus-card {
  background: #ffffff;
  border: 0.5px solid #f0f0f0;
  border-radius: 12px;
  padding: 28px 24px;
}

.processus-number {
  font-size: 28px;
  font-weight: 700;
  color: #d8d8d8;
  margin-bottom: 12px;
  line-height: 1;
}

.processus-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.processus-card p {
  font-size: 15px;
  color: #444444;
  line-height: 1.6;
}

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

.tarifs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

.tarif-card {
  background: #ffffff;
  border: 0.5px solid #f0f0f0;
  border-radius: 12px;
  padding: 32px 28px;
  position: relative;
}

.tarif-card.featured {
  border: 2px solid #c8001e;
}

.tarif-badge {
  display: inline-block;
  background: #c8001e;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.tarif-name {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.tarif-desc {
  font-size: 14px;
  color: #555555;
  margin-bottom: 20px;
}

.tarif-price {
  margin-bottom: 24px;
}

.tarif-price strong {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a1a;
}

.tarif-price span {
  font-size: 15px;
  color: #555555;
}

.tarif-divider {
  border: none;
  border-top: 0.5px solid #f0f0f0;
  margin-bottom: 20px;
}

.tarif-features {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tarif-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: #1a1a1a;
}

.tarif-features li.disabled {
  color: #aaaaaa;
  text-decoration: line-through;
}

.tarif-check {
  width: 16px;
  height: 16px;
  min-width: 16px;
  border-radius: 50%;
  background: #fff0f0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tarif-check svg {
  width: 10px;
  height: 10px;
  stroke: #c8001e;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tarif-features li.disabled .tarif-check {
  background: #f5f5f5;
}

.tarif-features li.disabled .tarif-check svg {
  stroke: #cccccc;
}

.tarif-card .btn-primary,
.tarif-card .btn-secondary {
  width: 100%;
  justify-content: center;
}

/* ============================================================
   PREUVES SOCIALES
   ============================================================ */

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

.stat-card {
  text-align: center;
  padding: 28px 20px;
  border: 0.5px solid #f0f0f0;
  border-radius: 12px;
}

.stat-number {
  font-size: 36px;
  font-weight: 700;
  color: #c8001e;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: #555555;
  font-weight: 500;
}

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

.testimonial-card {
  background: #f8f8f8;
  border: 0.5px solid #f0f0f0;
  border-radius: 12px;
  padding: 28px 24px;
}

.testimonial-text {
  font-size: 16px;
  color: #1a1a1a;
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 20px;
}

.testimonial-author strong {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  display: block;
}

.testimonial-author span {
  font-size: 14px;
  color: #666666;
}

/* ============================================================
   CTA FINAL
   ============================================================ */

.cta-final-wrapper {
  background: #1a1a1a;
  padding: 80px 40px;
  text-align: center;
}

.cta-final-wrapper h2 {
  color: #ffffff;
  font-size: 36px;
  margin-bottom: 16px;
}

.cta-final-wrapper p {
  color: #cccccc;
  font-size: 18px;
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.cta-note {
  display: block;
  margin-top: 16px;
  font-size: 12px;
  color: #555555;
}

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

.footer {
  background: #ffffff;
  border-top: 1px solid #f0f0f0;
  padding: 28px 40px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 0.5px solid #f0f0f0;
}

.footer-logo {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #1a1a1a;
}

.footer-logo span { color: #c8001e; }

.footer-right {
  font-size: 12px;
  color: #888888;
}

.footer-email {
  font-size: 12px;
  color: #888888;
  text-decoration: none;
  margin-left: auto;
}

.footer-email:hover {
  color: #c8001e;
}

.footer-bottom {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom a {
  font-size: 12px;
  color: #aaaaaa;
  transition: color 0.15s;
}

.footer-bottom a:hover { color: #555555; }

.footer-sep {
  font-size: 12px;
  color: #e0e0e0;
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */

.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #1a1a1a;
  color: #ffffff;
  padding: 14px 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 12px;
  z-index: 999;
  white-space: nowrap;
  box-shadow: none;
  border: 1px solid #333333;
}

.cookie-banner p { color: #cccccc; }

.cookie-btn {
  background: #c8001e;
  color: #ffffff;
  border: none;
  padding: 7px 16px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}

.cookie-btn:hover { background: #a8001a; }

.cookie-banner.hidden { display: none; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */

/* ── Contact 2-col layout ─────────────────────── */

.contact-section {
  padding: 80px 40px;
  min-height: calc(100vh - 64px);
  box-sizing: border-box;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1100px;
  margin: 0 auto;
  gap: 80px;
  align-items: start;
}

.contact-info {
  position: sticky;
  top: 100px;
}

.contact-info h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: #1a1a1a;
  margin-bottom: 20px;
}

.contact-info p {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 28px;
}

.contact-email {
  font-size: 13px;
  color: #c8001e;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}

.contact-email:hover {
  opacity: 0.75;
}

/* ── Form fields ─────────────────────────────── */

.contact-form-col {
  padding-top: 6px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 32px;
}

.form-group {
  margin-bottom: 28px;
}

.form-group label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 0;
  font-size: 15px;
  font-family: inherit;
  color: #1a1a1a;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid #e0e0e0;
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #cccccc;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-bottom-color: #1a1a1a;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath stroke='%23888' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none' d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  cursor: pointer;
}

.form-group textarea {
  resize: none;
  min-height: 100px;
}

.form-submit {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.form-submit .btn-primary {
  padding: 12px 28px;
  font-size: 14px;
  white-space: nowrap;
  flex-shrink: 0;
}

.form-note {
  font-size: 12px;
  color: #aaa;
}

.form-success {
  display: none;
  padding: 48px 0;
}

.form-success h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #1a1a1a;
}

.form-success p {
  font-size: 14px;
  color: #555555;
}

/* ============================================================
   LEGAL PAGES
   ============================================================ */

.legal-hero {
  padding: 56px 40px 40px;
  max-width: 760px;
  margin: 0 auto;
}

.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 40px 80px;
}

.legal-content h2 {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin-top: 36px;
  margin-bottom: 12px;
}

.legal-content h2:first-child { margin-top: 0; }

.legal-content p {
  font-size: 14px;
  color: #555555;
  line-height: 1.7;
  margin-bottom: 12px;
}

.legal-content ul {
  padding-left: 20px;
  margin-bottom: 12px;
}

.legal-content ul li {
  font-size: 14px;
  color: #555555;
  line-height: 1.7;
  margin-bottom: 6px;
}

.legal-divider {
  border: none;
  border-top: 0.5px solid #f0f0f0;
  margin: 32px 0;
}

/* ============================================================
   ONBOARDING PAGE
   ============================================================ */

.onboarding-hero {
  padding: 56px 40px 40px;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.onboarding-form-wrapper {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 40px 80px;
}

.onboarding-section-title {
  font-size: 13px;
  font-weight: 700;
  color: #888888;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 32px 0 16px;
  padding-bottom: 8px;
  border-bottom: 0.5px solid #f0f0f0;
}

.onboarding-section-title:first-of-type { margin-top: 0; }

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #555555;
  cursor: pointer;
  font-weight: 400 !important;
}

.checkbox-group input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-width: 16px;
  accent-color: #c8001e;
  cursor: pointer;
  border: none;
  padding: 0;
}

.radio-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.radio-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #555555;
  cursor: pointer;
  font-weight: 400 !important;
}

.radio-group input[type="radio"] {
  width: 16px;
  height: 16px;
  min-width: 16px;
  accent-color: #c8001e;
  cursor: pointer;
  border: none;
  padding: 0;
}

.conditional-field {
  margin-top: 12px;
}

/* ============================================================
   RESPONSIVE — Tablet (768px)
   ============================================================ */

@media (max-width: 900px) {
  .nav { padding: 0 24px; }

  .hero {
    grid-template-columns: 1fr;
    padding: 48px 24px;
    gap: 40px;
    min-height: unset;
  }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .processus-grid { grid-template-columns: repeat(2, 1fr); }
  .tarifs-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }

  .section { padding: 56px 24px; }
  .section-wrapper { padding: 56px 24px; }
  .trust-bar-wrapper { padding: 24px; }
  .trust-bar { gap: 20px; }
  .cta-final-wrapper { padding: 56px 24px; }
  .footer { padding: 24px; }
  .contact-section { padding: 48px 24px 56px; }
  .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
  .contact-info { position: static; }
  .contact-info h1 { font-size: 36px; }
  .legal-hero { padding: 40px 24px 24px; }
  .legal-content { padding: 0 24px 56px; }
  .onboarding-hero { padding: 40px 24px 24px; }
  .onboarding-form-wrapper { padding: 0 24px 56px; }
}

/* ============================================================
   RESPONSIVE — Mobile (375px)
   ============================================================ */

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid #f0f0f0;
    padding: 20px 24px;
    gap: 20px;
    align-items: flex-start;
  }
  .nav-toggle { display: flex; }

  h1 { font-size: 36px; }
  h2 { font-size: 28px; }

  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary { width: 100%; justify-content: center; }

  .services-grid { grid-template-columns: 1fr; }
  .processus-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-submit { flex-direction: column; align-items: flex-start; gap: 12px; }

  .cookie-banner {
    left: 16px;
    right: 16px;
    transform: none;
    white-space: normal;
    flex-wrap: wrap;
  }

  .footer-top { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 320px) {
  h1 { font-size: 28px; }
  .btn-primary, .btn-secondary { padding: 11px 20px; }
  .stats-grid { grid-template-columns: 1fr; }
}
