/* ============================================================
   SIMPLIFAC — CSS Site public — Design Pastel Moderne
   ============================================================ */

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

:root {
  /* Palette pastel */
  --indigo:        #5e6ad2;
  --indigo-dark:   #4f5bbf;
  --indigo-light:  #eef0ff;
  --indigo-pale:   #f6f7ff;
  --mint:          #0ab98a;
  --mint-light:    #e8fdf6;
  --rose:          #e06fa0;
  --rose-light:    #fce8f3;
  --peach:         #f5894d;
  --sky:           #5db8f5;
  --sky-light:     #e8f5ff;
  --violet:        #9b7fe8;
  --violet-light:  #f3eeff;

  /* Neutres */
  --text:          #1a1b2e;
  --text-soft:     #3d3f5c;
  --muted:         #6b6e8e;
  --muted-light:   #9597b0;
  --border:        #e4e6f0;
  --border-light:  #f0f1f9;

  /* Surfaces */
  --bg:            #fafbff;
  --bg-alt:        #f3f5fc;
  --card-bg:       #ffffff;
  --card-shadow:   0 2px 12px rgba(94, 106, 210, .08);
  --card-shadow-h: 0 8px 28px rgba(94, 106, 210, .14);

  /* Hero */
  --hero-bg:       linear-gradient(135deg, #ece9ff 0%, #f3e8ff 40%, #fce4f0 100%);

  --radius-sm: 8px;
  --radius:    12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --font:      'Inter', system-ui, -apple-system, sans-serif;
}

/* ---- Base ---- */
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
ul, ol { list-style: none; }

/* ---- Typography ---- */
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; color: var(--text); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; color: var(--text); }
h3 { font-size: 1.15rem; font-weight: 700; color: var(--text); }
h4 { font-size: .9375rem; font-weight: 600; color: var(--text-soft); }
p  { color: var(--muted); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: .9375rem;
  font-weight: 600;
  border: 2px solid transparent;
  transition: all .2s ease;
  white-space: nowrap;
  line-height: 1;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--indigo);
  color: #fff;
  border-color: var(--indigo);
  box-shadow: 0 4px 14px rgba(94, 106, 210, .3);
}
.btn-primary:hover {
  background: var(--indigo-dark);
  border-color: var(--indigo-dark);
  box-shadow: 0 8px 24px rgba(94, 106, 210, .4);
}

.btn-secondary {
  background: #fff;
  color: var(--indigo);
  border-color: var(--indigo);
}
.btn-secondary:hover {
  background: var(--indigo-light);
}

.btn-ghost {
  background: transparent;
  color: var(--text-soft);
  border-color: var(--border);
}
.btn-ghost:hover {
  background: var(--bg-alt);
  border-color: var(--border-light);
}

.btn-mint {
  background: var(--mint);
  color: #fff;
  border-color: var(--mint);
  box-shadow: 0 4px 14px rgba(10, 185, 138, .28);
}
.btn-mint:hover {
  background: #099c76;
  box-shadow: 0 8px 24px rgba(10, 185, 138, .38);
}

.btn-lg { padding: 15px 30px; font-size: 1.0625rem; }
.btn-sm { padding: 7px 16px; font-size: .8125rem; }
.btn-full { width: 100%; }

.btn-pay {
  background: linear-gradient(135deg, var(--indigo) 0%, var(--violet) 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(94, 106, 210, .35);
  font-size: 1rem;
  padding: 14px 28px;
}
.btn-pay:hover {
  box-shadow: 0 8px 32px rgba(94, 106, 210, .48);
}

/* ---- Flash messages ---- */
.flash {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: .9375rem;
  margin: 16px 24px;
  border: 1px solid;
}
.flash-success { background: var(--mint-light); border-color: #9ae8d3; color: #0a7a5c; }
.flash-danger  { background: var(--rose-light); border-color: #f4b8d5; color: #b84c7b; }
.flash-info    { background: var(--indigo-light); border-color: #c0c7f5; color: var(--indigo-dark); }
.flash-warning { background: #fff4ec; border-color: #fcd0a6; color: #c05a14; }
.flash-close { background: none; border: none; font-size: 1.2rem; opacity: .45; padding: 0 2px; transition: opacity .15s; }
.flash-close:hover { opacity: 1; }

/* ---- Navbar ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 251, 255, .9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
}
.nav-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
  height: 66px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--text);
  flex-shrink: 0;
  letter-spacing: -.02em;
}
.nav-logo-icon {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--indigo) 0%, var(--violet) 100%);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(94, 106, 210, .3);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}
.nav-link {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color .15s, background .15s;
}
.nav-link:hover { color: var(--indigo); background: var(--indigo-light); }
.nav-link.active { color: var(--indigo); background: var(--indigo-light); font-weight: 600; }
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  margin-left: auto;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .2s;
}

/* ---- Hero ---- */
.hero {
  background: var(--hero-bg);
  padding: 100px 28px 88px;
  position: relative;
  overflow: hidden;
}
/* Blob décoratif */
.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -80px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(155, 127, 232, .18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -60px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(10, 185, 138, .12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-inner {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--indigo);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 28px;
  box-shadow: 0 2px 8px rgba(94, 106, 210, .1);
}
.hero-badge-dot {
  width: 7px; height: 7px;
  background: var(--mint);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .6; transform: scale(1.3); }
}
.hero h1 { margin-bottom: 22px; }
.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--indigo) 0%, var(--violet) 50%, var(--rose) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.125rem;
  color: var(--text-soft);
  margin-bottom: 44px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 60px; }
.hero-stats {
  display: flex;
  gap: 0;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 0;
  box-shadow: var(--card-shadow);
}
.hero-stat {
  flex: 1;
  text-align: center;
  padding: 0 28px;
  border-right: 1px solid var(--border-light);
}
.hero-stat:last-child { border-right: none; }
.hero-stat strong { display: block; font-size: 1.75rem; font-weight: 800; color: var(--indigo); letter-spacing: -.02em; }
.hero-stat span { font-size: .8125rem; color: var(--muted); font-weight: 500; }

/* ---- Layout sections ---- */
.section { padding: 88px 28px; }
.section-alt { background: var(--bg-alt); }
.section-tinted {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
}
.container { max-width: 1180px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { margin-bottom: 14px; }
.section-header p { font-size: 1.05rem; max-width: 540px; margin: 0 auto; }
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--indigo-light);
  color: var(--indigo);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

/* ---- Feature cards ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: box-shadow .25s, transform .25s;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.feature-card:nth-child(1)::before { background: linear-gradient(90deg, var(--indigo), var(--violet)); }
.feature-card:nth-child(2)::before { background: linear-gradient(90deg, var(--mint), var(--sky)); }
.feature-card:nth-child(3)::before { background: linear-gradient(90deg, var(--violet), var(--rose)); }
.feature-card:nth-child(4)::before { background: linear-gradient(90deg, var(--sky), var(--indigo)); }
.feature-card:nth-child(5)::before { background: linear-gradient(90deg, var(--rose), var(--peach)); }
.feature-card:nth-child(6)::before { background: linear-gradient(90deg, var(--peach), var(--mint)); }
.feature-card:hover {
  box-shadow: var(--card-shadow-h);
  transform: translateY(-4px);
}
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
}
.feature-card:nth-child(1) .feature-icon { background: var(--indigo-light); color: var(--indigo); }
.feature-card:nth-child(2) .feature-icon { background: var(--mint-light); color: var(--mint); }
.feature-card:nth-child(3) .feature-icon { background: var(--violet-light); color: var(--violet); }
.feature-card:nth-child(4) .feature-icon { background: var(--sky-light); color: var(--sky); }
.feature-card:nth-child(5) .feature-icon { background: var(--rose-light); color: var(--rose); }
.feature-card:nth-child(6) .feature-icon { background: #fff4ec; color: var(--peach); }
.feature-card h3 { margin-bottom: 8px; font-size: 1.0625rem; }
.feature-card p { font-size: .9rem; line-height: 1.65; }

/* ---- Steps ---- */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; position: relative; }
.steps-grid::before {
  content: '';
  position: absolute;
  top: 28px; left: calc(100% / 6); right: calc(100% / 6);
  height: 2px;
  background: linear-gradient(90deg, var(--indigo-light), var(--violet-light), var(--indigo-light));
}
.step { text-align: center; position: relative; }
.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 6px 20px rgba(94, 106, 210, .3);
  position: relative;
  z-index: 1;
}
.step h3 { margin-bottom: 8px; }
.step p { font-size: .9rem; }

/* ---- Pricing card ---- */
.pricing-wrap { max-width: 460px; margin: 0 auto; }
.pricing-card {
  background: var(--card-bg);
  border: 2px solid var(--indigo);
  border-radius: var(--radius-xl);
  padding: 52px 44px 44px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(94, 106, 210, .18);
  position: relative;
  overflow: hidden;
}
.pricing-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--indigo) 0%, var(--violet) 50%, var(--rose) 100%);
}
.pricing-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: absolute;
  top: 20px; right: 20px;
  background: var(--indigo-light);
  color: var(--indigo);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
}
.pricing-name { font-size: 1.25rem; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.pricing-desc { font-size: .9rem; color: var(--muted); margin-bottom: 28px; }
.pricing-price { display: flex; align-items: flex-end; justify-content: center; gap: 4px; margin-bottom: 8px; }
.pricing-price strong { font-size: 4rem; font-weight: 900; line-height: 1; color: var(--text); letter-spacing: -.04em; }
.pricing-price .currency { font-size: 1.5rem; font-weight: 700; color: var(--text); line-height: 1.5; }
.pricing-period { font-size: .9rem; color: var(--muted); margin-bottom: 32px; }
.pricing-features { text-align: left; margin-bottom: 32px; display: flex; flex-direction: column; gap: 10px; }
.pricing-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  color: var(--text-soft);
}
.pricing-check {
  flex-shrink: 0;
  width: 20px; height: 20px;
  background: var(--mint-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.pricing-check svg { color: var(--mint); }

/* ---- CTA section ---- */
.cta-section {
  background: linear-gradient(135deg, var(--indigo) 0%, var(--violet) 100%);
  color: #fff;
  text-align: center;
}
.cta-section h2 { color: #fff; }
.cta-section p { color: rgba(255,255,255,.8); font-size: 1.05rem; margin: 16px 0 36px; }
.cta-section .btn-secondary { background: rgba(255,255,255,.15); color: #fff; border-color: rgba(255,255,255,.35); }
.cta-section .btn-secondary:hover { background: rgba(255,255,255,.25); }

/* ---- Forms ---- */
.page-form {
  max-width: 580px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.page-form-header { text-align: center; margin-bottom: 32px; }
.page-form-header h1 { font-size: 2rem; margin-bottom: 8px; }
.page-form-header p { font-size: .9375rem; }

.form-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  box-shadow: 0 4px 24px rgba(94, 106, 210, .07);
}

.form-section-title {
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.form-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-light);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }

.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group:last-child { margin-bottom: 0; }

label { font-size: .8125rem; font-weight: 600; color: var(--text-soft); letter-spacing: .01em; }
label .required { color: var(--rose); margin-left: 2px; }

.input-wrap { position: relative; }

input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"] {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: .9375rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color .18s, box-shadow .18s;
  outline: none;
}
input:focus { border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(94, 106, 210, .1); }
input.is-error { border-color: var(--rose); }
input.is-ok { border-color: var(--mint); }
input::placeholder { color: var(--muted-light); }

.input-suffix {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  display: flex;
  align-items: center;
  padding-right: 12px;
  pointer-events: none;
}
.input-spinner {
  display: none;
  width: 16px; height: 16px;
  border: 2px solid var(--border);
  border-top-color: var(--indigo);
  border-radius: 50%;
  animation: spin .6s linear infinite;
}
.input-spinner.visible { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }
.input-check { display: none; color: var(--mint); font-size: 1rem; font-weight: 700; }
.input-check.visible { display: block; }

.field-hint { font-size: .8rem; color: var(--muted-light); }
.field-error { font-size: .8rem; color: var(--rose); display: none; }
.field-error.visible { display: block; }

.form-divider { border: none; border-top: 1px solid var(--border-light); margin: 22px 0; }
.form-footer { text-align: center; margin-top: 20px; font-size: .875rem; color: var(--muted); }
.form-footer a { color: var(--indigo); font-weight: 600; }
.form-footer a:hover { text-decoration: underline; }

/* ---- SIREN ---- */
.siren-row {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}
.siren-row input { flex: 1; }
.siren-block { display: none; }
.siren-block.visible { display: block; }

.company-preview {
  background: linear-gradient(135deg, var(--indigo-pale), var(--violet-light));
  border: 1.5px solid var(--indigo-light);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-top: 10px;
  display: none;
}
.company-preview.visible { display: block; }
.company-preview strong { color: var(--text); font-size: .9375rem; font-weight: 700; }
.company-preview p { font-size: .8375rem; margin-top: 3px; }

/* ---- Panier ---- */
.cart-page {
  max-width: 520px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}
.cart-page-header { text-align: center; margin-bottom: 36px; }
.cart-page-header h1 { font-size: 2rem; margin-bottom: 8px; }
.cart-page-header p { font-size: .9375rem; }

.cart-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(94, 106, 210, .1);
}
.cart-header {
  background: linear-gradient(135deg, var(--indigo) 0%, var(--violet) 100%);
  color: #fff;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.cart-header-icon {
  width: 52px; height: 52px;
  background: rgba(255,255,255,.15);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cart-header h2 { color: #fff; font-size: 1.125rem; margin-bottom: 4px; }
.cart-header p { color: rgba(255,255,255,.75); font-size: .8375rem; }

.cart-lines { padding: 24px 32px; }
.cart-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: .9375rem;
  color: var(--text-soft);
  border-bottom: 1px solid var(--border-light);
}
.cart-line:last-child { border-bottom: none; }
.cart-line.total {
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--text);
  padding-top: 14px;
  border-top: 2px solid var(--border);
  border-bottom: none;
  margin-top: 4px;
}
.cart-line .amount { font-weight: 600; }
.cart-line.total .amount { color: var(--indigo); font-size: 1.25rem; }

.cart-payment { padding: 0 32px 32px; }
.payment-icons { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; justify-content: center; }
.payment-icon {
  height: 28px;
  padding: 4px 10px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .03em;
}
.payment-icon-cb   { color: #1a2b6d; }
.payment-icon-visa { color: #1a1f71; }
.payment-icon-mc   { color: #c01; }

.cart-secure { text-align: center; font-size: .8rem; color: var(--muted-light); margin-top: 12px; }

/* ---- Login ---- */
.login-page {
  max-width: 420px;
  margin: 0 auto;
  padding: 64px 24px 80px;
}
.login-page-header { text-align: center; margin-bottom: 32px; }
.login-page-header h1 { font-size: 2rem; margin-bottom: 8px; }
.login-page-header p { font-size: .9375rem; }

/* ---- Admin placeholder ---- */
.admin-placeholder {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
}
.admin-placeholder h1 { font-size: 2rem; margin-bottom: 12px; }

/* ---- 404 ---- */
.error-page {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
}
.error-page h1 {
  font-size: 6rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
}
.error-page h2 { font-size: 1.5rem; margin-bottom: 12px; }

/* ---- Footer ---- */
.site-footer {
  background: #12122a;
  color: rgba(255,255,255,.55);
  padding: 56px 28px 36px;
}
.footer-container {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px 80px;
  align-items: start;
}
.footer-brand .nav-logo {
  color: #fff;
  margin-bottom: 12px;
}
.footer-brand p { font-size: .875rem; line-height: 1.65; max-width: 260px; }
.footer-nav-group h5 {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 14px;
}
.footer-nav-group a {
  display: block;
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  transition: color .15s;
  margin-bottom: 8px;
}
.footer-nav-group a:hover { color: #fff; }
.footer-bottom {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: #fff; }

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .nav-links, .nav-actions {
    display: none;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 66px;
    left: 0; right: 0;
    background: rgba(250, 251, 255, .98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-light);
    padding: 16px 20px;
    box-shadow: 0 8px 24px rgba(94, 106, 210, .08);
    z-index: 99;
  }
  .nav-links.open, .nav-actions.open { display: flex; }
  .nav-links { gap: 4px; }
  .nav-actions { padding-top: 0; border-top: 1px solid var(--border-light); }
  .nav-burger { display: flex; }
  .nav-container { position: relative; }
  .site-header { position: sticky; }

  .hero { padding: 72px 20px 60px; }
  .hero-stats { flex-direction: column; gap: 0; }
  .hero-stat { padding: 14px 20px; border-right: none; border-bottom: 1px solid var(--border-light); }
  .hero-stat:last-child { border-bottom: none; }

  .section { padding: 64px 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .form-card { padding: 28px 20px; }
  .cart-header, .cart-lines, .cart-payment { padding-left: 24px; padding-right: 24px; }
  .pricing-card { padding: 40px 28px 32px; }
  .footer-container { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
}

/* ============================================================
   Footer compact + copyright ComptaSCI (retours 2026-06-12)
   ============================================================ */
.site-footer-compact { padding: 16px 20px; }
.site-footer-compact .footer-compact-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.site-footer-compact .footer-links { display: flex; flex-wrap: wrap; gap: 4px 18px; justify-content: center; margin-bottom: 6px; }
.site-footer-compact .footer-links a { color: inherit; opacity: .8; text-decoration: none; font-size: .85rem; }
.site-footer-compact .footer-links a:hover { opacity: 1; text-decoration: underline; }
.site-footer-compact .footer-copyright { margin: 0; font-size: .8rem; opacity: .7; }
.site-footer-compact .footer-copyright a { color: inherit; font-weight: 600; }
