/* ============================================================
   EASYNETS — home.css (page d'accueil)
============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --paper:   #f9fafb;
  --white:   #ffffff;
  --ink:     #111827;
  --ink-2:   #374151;
  --muted:   #6b7280;
  --line:    #e5e7eb;
  --line-2:  #d1d5db;
  --accent:  #6366f1;
  --accent-h:#4f46e5;
  --accent-l:#e0e7ff;
  --ok:      #059669;
  --danger:  #ef4444;
  --font:    'Schibsted Grotesk', system-ui, -apple-system, sans-serif;
  --radius:  8px;
}

html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
.hidden { display: none !important; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.container--narrow { max-width: 760px; }

/* ─── Typo ──────────────────────────────────────────────── */
h1, h2, h3 { letter-spacing: -.025em; line-height: 1.08; font-weight: 700; }
h2 { font-size: clamp(30px, 3.6vw, 46px); }
.eyebrow {
  font-size: 13px; font-weight: 600; color: var(--accent);
  margin-bottom: 14px; letter-spacing: .01em;
}
.section-head {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px;
  align-items: end; margin-bottom: 52px;
}
.section-head__aside { color: var(--muted); font-size: 17px; max-width: 420px; }
section { padding: 112px 0; }
.anchor { position: relative; top: -90px; display: block; }

.textlink {
  display: inline-flex; gap: 8px; align-items: center;
  font-weight: 600; border-bottom: 1.5px solid currentColor; padding-bottom: 2px;
}
.textlink::after { content: '→'; transition: transform .15s; }
.textlink:hover::after { transform: translateX(3px); }

/* ─── Boutons ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 15px; line-height: 1;
  padding: 14px 22px; border-radius: 6px; white-space: nowrap;
  border: 1.5px solid transparent; transition: background .15s, border-color .15s, color .15s;
}
.btn--primary { background: var(--accent); color: var(--white); }
.btn--primary:hover { background: var(--accent-h); }
.btn--ghost { border-color: var(--line-2); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn--sm { padding: 10px 16px; font-size: 14px; }
.btn--lg { padding: 17px 26px; font-size: 16px; }
.btn--full { width: 100%; }
.btn:disabled { opacity: .6; cursor: wait; }

/* ─── Navigation ────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(249,250,251,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.nav.scrolled { border-color: var(--line); }
.nav__inner { display: flex; align-items: center; gap: 40px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -.03em; }
.brand__mark {
  width: 30px; height: 30px; border-radius: 7px; background: var(--accent); color: var(--white);
  display: grid; place-items: center; font-size: 19px; line-height: 1; padding-bottom: 3px; position: relative;
}
.brand__mark::after {
  content: ''; position: absolute; right: 5px; bottom: 5px; width: 5px; height: 5px;
  border-radius: 50%; background: var(--white);
}
.brand--light { color: var(--white); }
.brand--light .brand__mark { background: var(--accent); color: var(--white); }
.nav__links { display: flex; gap: 30px; font-size: 15px; color: var(--ink-2); margin-right: auto; }
.nav__links a:hover { color: var(--ink); }
.nav__cta { display: flex; align-items: center; gap: 20px; }
.nav__phone { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.nav__phone:hover { color: var(--accent); }
.nav__burger { display: none; width: 40px; height: 40px; flex-direction: column; justify-content: center; align-items: center; gap: 6px; margin-left: auto; }
.nav__burger span { width: 22px; height: 2px; background: var(--ink); display: block; }
.nav__mobile { display: none; }

/* ─── Hero ──────────────────────────────────────────────── */
.hero { padding: 72px 0 104px; overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1fr 1.08fr; gap: 64px; align-items: center; }
.hero__kicker { font-size: 15px; color: var(--muted); margin-bottom: 22px; }
.hero h1 { font-size: clamp(42px, 5.6vw, 76px); line-height: 1; letter-spacing: -.04em; margin-bottom: 26px; }
.hero__lead { font-size: 19px; color: var(--ink-2); max-width: 520px; margin-bottom: 36px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }
.hero__proof { display: flex; gap: 36px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.hero__proof strong { display: block; font-size: 26px; color: var(--ink); letter-spacing: -.03em; line-height: 1.2; }

.hero__visual { position: relative; padding: 0 0 60px 0; }
.frame { background: var(--white); border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(17,24,39,.35); overflow: hidden; }
.frame--browser { border-radius: 10px; }
.frame__bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-bottom: 1px solid var(--line); background: #f9fafb; }
.frame__bar i { width: 9px; height: 9px; border-radius: 50%; background: #d1d5db; }
.frame__bar span { margin: 0 auto; font-size: 12px; color: var(--muted); background: var(--white); border: 1px solid var(--line); border-radius: 5px; padding: 2px 40px; transform: translateX(-20px); }
.frame--phone { position: absolute; right: -16px; bottom: 0; width: 31%; border-radius: 22px; border: 6px solid var(--ink); }
.frame--phone img { border-radius: 14px; aspect-ratio: 390/720; object-fit: cover; object-position: top; }
.hero__note {
  position: absolute; left: 24px; bottom: 18px; background: var(--ink); color: var(--paper);
  font-size: 13px; padding: 9px 14px; border-radius: 99px; display: flex; gap: 8px; align-items: center;
}
.hero__note .dot { width: 7px; height: 7px; border-radius: 50%; background: #34d399; }

/* ─── Engagements ───────────────────────────────────────── */
.facts { padding: 0; background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 40px 32px 40px 0; }
.fact + .fact { padding-left: 32px; border-left: 1px solid var(--line); }
.fact h3 { font-size: 17px; letter-spacing: -.01em; margin-bottom: 8px; }
.fact p { font-size: 15px; color: var(--muted); }

/* ─── Réalisations ──────────────────────────────────────── */
.work__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.case { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: border-color .2s; }
.case:hover { border-color: var(--ink); }
.case--wide { grid-column: 1 / -1; }
.case__img { overflow: hidden; border-bottom: 1px solid var(--line); aspect-ratio: 16 / 9; }
.case--wide .case__img { aspect-ratio: 21 / 9; }
.case__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s ease; }
.case:hover .case__img img { transform: scale(1.015); }
.case__info { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding: 24px 26px 26px; }
.case__tag { font-size: 13px; font-weight: 600; color: var(--accent); }
.case h3 { font-size: 22px; margin: 6px 0 6px; letter-spacing: -.02em; }
.case p { color: var(--muted); font-size: 15px; }
.case__link { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; font-size: 15px; white-space: nowrap; }
.work__note { margin-top: 20px; font-size: 13.5px; color: var(--muted); }

/* ─── Méthode ───────────────────────────────────────────── */
.method { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.step { padding: 28px 28px 0 0; border-top: 2px solid var(--ink); position: relative; counter-increment: s; }
.step + .step { padding-left: 28px; }
.step::before { content: counter(s, decimal-leading-zero); position: absolute; top: -2px; right: 28px; font-size: 13px; color: var(--muted); padding-top: 28px; }
.step:last-child::before { right: 0; }
.step__when { display: inline-block; font-size: 13px; font-weight: 600; color: var(--accent); margin-bottom: 14px; }
.step h3 { font-size: 20px; margin-bottom: 10px; letter-spacing: -.02em; }
.step p { color: var(--muted); font-size: 15px; }

/* ─── Tarifs ────────────────────────────────────────────── */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 34px 30px; display: flex; flex-direction: column; position: relative; }
.plan__name { font-size: 22px; letter-spacing: -.02em; }
.plan__for { color: var(--muted); font-size: 15px; margin: 6px 0 26px; min-height: 48px; }
.plan__price { font-size: 52px; font-weight: 700; letter-spacing: -.045em; line-height: 1; margin-bottom: 26px; }
.plan__price small { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.plan__list { margin-top: 28px; border-top: 1px solid var(--line); }
.plan__list li { padding: 12px 0 12px 26px; border-bottom: 1px solid var(--line); font-size: 15px; position: relative; }
.plan__list li::before {
  content: ''; position: absolute; left: 2px; top: 19px; width: 11px; height: 6px;
  border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg);
}
.plan--featured { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.plan--featured .plan__for, .plan--featured .plan__price small { color: #9ca3af; }
.plan--featured .plan__list, .plan--featured .plan__list li { border-color: #374151; }
.plan--featured .plan__list li::before { border-color: #6ee7b7; }
.plan__badge { position: absolute; top: 34px; right: 30px; font-size: 12.5px; font-weight: 600; background: var(--accent); color: var(--white); padding: 4px 10px; border-radius: 99px; }
.pricing__note { margin-top: 28px; display: flex; gap: 10px; align-items: center; font-size: 14.5px; color: var(--muted); }

/* ─── Après livraison ───────────────────────────────────── */
.after { padding-top: 0; }
.after__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.option { border: 1px solid var(--line-2); border-radius: 12px; padding: 40px; display: flex; flex-direction: column; align-items: start; }
.option__label { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 12px; }
.option h3 { font-size: 28px; margin-bottom: 14px; }
.option > p { color: var(--ink-2); margin-bottom: 28px; }
.option__cost { margin-bottom: 30px; margin-top: auto; }
.option__cost dt { font-size: 13px; color: var(--muted); }
.option__cost dd { font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.option--dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.option--dark .option__label { color: #9ca3af; }
.option--dark > p { color: #d1d5db; }
.tiers { width: 100%; margin: auto 0 30px; border-top: 1px solid #374151; }
.tiers li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid #374151; font-size: 15px; }
.tiers span { color: #d1d5db; }
.tiers strong { white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ─── FAQ ───────────────────────────────────────────────── */
.faq { background: var(--white); border-top: 1px solid var(--line); }
.faq__inner { display: grid; grid-template-columns: 1fr 1.5fr; gap: 72px; }
.faq__aside { margin-top: 20px; color: var(--muted); }
.faq__aside a { color: var(--ink); border-bottom: 1px solid var(--line-2); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-size: 18px; font-weight: 600; letter-spacing: -.01em;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: ''; position: absolute; right: 6px; top: 30px; width: 9px; height: 9px;
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .2s;
}
.faq__list details[open] summary::after { transform: rotate(-135deg); top: 34px; }
.faq__list details p { color: var(--ink-2); padding: 0 40px 24px 0; max-width: 640px; }

/* ─── Brief (formulaire multi-étapes) ───────────────────── */
.brief { border-top: 1px solid var(--line); }
.brief__lead { color: var(--muted); font-size: 17px; margin: 16px 0 40px; }
.form-progress { margin-bottom: 28px; }
.progress-steps { display: flex; align-items: center; gap: 12px; }
.progress-step { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; }
.progress-step__dot {
  width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line-2);
  display: grid; place-items: center; font-size: 13px; font-weight: 600; background: var(--white);
}
.progress-step.active { color: var(--ink); font-weight: 600; }
.progress-step.active .progress-step__dot { border-color: var(--ink); background: var(--ink); color: var(--white); }
.progress-step.done .progress-step__dot { border-color: var(--ok); background: var(--ok); color: var(--white); }
.progress-line { flex: 1; height: 1.5px; background: var(--line-2); min-width: 16px; }
.progress-line.done { background: var(--ok); }

#mainForm { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 40px; }
.form-step { display: none; }
.form-step.active { display: block; }
.step-title { font-size: 22px; margin-bottom: 26px; letter-spacing: -.02em; }
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.label-hint { display: block; font-weight: 400; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.required { color: var(--accent); }
.form-group input[type="text"], .form-group input[type="tel"], .form-group input[type="email"],
.form-group select, .form-group textarea {
  width: 100%; font: inherit; font-size: 15.5px; color: var(--ink);
  background: var(--white); border: 1px solid var(--line-2); border-radius: 6px; padding: 12px 14px;
  transition: border-color .15s, box-shadow .15s;
}
.form-group textarea { resize: vertical; min-height: 96px; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: 0; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(17,24,39,.08);
}
.form-group .error, .form-group input.error, .form-group select.error, .form-group textarea.error {
  border-color: var(--danger); box-shadow: 0 0 0 3px rgba(239,68,68,.1);
}
.form-group--checkbox { margin-bottom: 14px; }
.checkbox-label { display: flex !important; gap: 12px; align-items: flex-start; font-weight: 400 !important; font-size: 14px !important; color: var(--ink-2); cursor: pointer; }
.checkbox-label input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ink); flex-shrink: 0; }
.checkbox-label input.error { outline: 2px solid var(--danger); outline-offset: 1px; }
.link { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }

.file-upload {
  border: 1.5px dashed var(--line-2); border-radius: 8px; padding: 30px 20px; text-align: center;
  color: var(--muted); position: relative; transition: border-color .15s, background .15s;
}
.file-upload svg { margin: 0 auto 10px; color: var(--ink-2); }
.file-upload__text { color: var(--ink-2); font-size: 15px; }
.file-upload__link { display: inline !important; font-weight: 600 !important; color: var(--ink); text-decoration: underline; cursor: pointer; margin: 0 !important; font-size: inherit !important; }
.file-upload__hint { font-size: 13px; margin-top: 4px; }
.file-upload__input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-list { display: grid; gap: 6px; margin-top: 10px; }
.file-item { display: flex; gap: 10px; align-items: center; font-size: 14px; padding: 8px 12px; background: var(--paper); border-radius: 6px; }
.file-item__name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-item__size { color: var(--muted); font-size: 13px; }

.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.form-success { text-align: center; padding: 30px 10px; }
.form-success.active { display: block; }
.success-icon { width: 56px; height: 56px; border-radius: 50%; background: #d1fae5; color: var(--ok); display: grid; place-items: center; margin: 0 auto 18px; }
.form-success h3 { font-size: 26px; margin-bottom: 10px; }
.form-success p { color: var(--ink-2); }
.success-sub { font-size: 14px; color: var(--muted) !important; margin-top: 8px; }

/* ─── Rappel ────────────────────────────────────────────── */
.contact { background: var(--ink); color: var(--paper); }
.contact .eyebrow { color: #a5b4fc; }
.contact__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center; }
.contact__text p { color: #d1d5db; font-size: 17px; margin-top: 18px; max-width: 460px; }
.contact__direct { margin-top: 36px; display: grid; gap: 4px; }
.contact__direct span { font-size: 14px; color: #9ca3af; }
.contact__direct a { font-size: 24px; font-weight: 600; letter-spacing: -.02em; width: fit-content; }
.contact__direct a + a { font-size: 17px; font-weight: 500; color: #d1d5db; }
.contact__direct a:hover { color: var(--white); }
.contact__form { background: var(--white); color: var(--ink); border-radius: 12px; padding: 34px; }
.callback-success { margin-top: 14px; padding: 12px 14px; background: #d1fae5; color: var(--ok); border-radius: 6px; font-weight: 600; font-size: 15px; }

/* ─── Footer ────────────────────────────────────────────── */
.footer { background: var(--ink); color: #a9a59a; padding: 72px 0 32px; border-top: 1px solid #1f2937; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer__brand p { margin-top: 16px; max-width: 300px; }
.footer__col h4 { color: var(--paper); font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.footer__col li { margin-bottom: 8px; }
.footer__col a:hover, .footer__legal a:hover { color: var(--white); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid #1f2937; font-size: 13.5px; }
.footer__legal { display: flex; gap: 22px; }

.floating-cta { display: none; }

/* ─── Pages intérieures ─────────────────────────────────── */
.nav__links a.is-active { color: var(--ink); font-weight: 600; }
.page-hero { padding: 72px 0 80px; border-bottom: 1px solid var(--line); }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 26px; }
.crumbs a:hover { color: var(--ink); }
.crumbs span { margin: 0 8px; }
.page-hero h1 { font-size: clamp(40px, 5.2vw, 68px); line-height: 1.02; letter-spacing: -.04em; max-width: 880px; margin-bottom: 22px; }
.page-hero__lead { font-size: 19px; color: var(--ink-2); max-width: 620px; }
.page-hero .hero__cta { margin: 34px 0 0; }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 34px; font-size: 14.5px; color: var(--muted); }
.page-hero__meta li { display: flex; gap: 8px; align-items: center; }
.page-hero__meta li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }

.plan__price .per { font-size: 17px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.plan--featured .plan__price .per { color: #9ca3af; }
.plan__fine { font-size: 13px; color: var(--muted); margin-top: 16px; }
.plan--featured .plan__fine { color: #9ca3af; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.features--4 { grid-template-columns: repeat(4, 1fr); }
.feature { padding: 30px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.feature svg { color: var(--accent); margin-bottom: 18px; }
.feature h3 { font-size: 18px; letter-spacing: -.015em; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15px; }

.split { display: grid; grid-template-columns: 1fr 1.3fr; gap: 72px; align-items: start; }
.split__aside p { color: var(--muted); margin-top: 18px; font-size: 17px; }
.rows { border-top: 1px solid var(--line); }
.rows > div { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.rows h3 { font-size: 17px; letter-spacing: -.01em; }
.rows p { color: var(--ink-2); }
.rows .cost { display: block; margin-top: 8px; font-weight: 600; color: var(--ink); }

.cta-band { background: var(--ink); color: var(--paper); padding: 88px 0; }
.cta-band__inner { display: flex; justify-content: space-between; align-items: end; gap: 48px; }
.cta-band h2 { max-width: 620px; }
.cta-band p { color: #d1d5db; margin-top: 14px; font-size: 17px; max-width: 520px; }
.cta-band .hero__cta { margin: 0; flex-shrink: 0; }
.cta-band .btn--ghost { color: var(--paper); border-color: #4b5563; }
.cta-band .btn--ghost:hover { border-color: var(--paper); }

/* ─── Pages légales ─────────────────────────────────────── */
.legal { padding: 64px 0 112px; }
.legal__head { padding-bottom: 36px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.legal__head h1 { font-size: clamp(36px, 4.6vw, 56px); letter-spacing: -.04em; margin-bottom: 12px; }
.legal__date { font-size: 14.5px; color: var(--muted); }
.legal-section { padding: 34px 0; border-bottom: 1px solid var(--line); }
.legal-section:last-child { border-bottom: 0; }
.legal-section h2 { font-size: 21px; letter-spacing: -.02em; margin-bottom: 14px; }
.legal-section h3 { font-size: 16px; margin: 20px 0 8px; }
.legal-section p { color: var(--ink-2); margin-bottom: 12px; max-width: 70ch; }
.legal-section p:last-child { margin-bottom: 0; }
.legal-section a { text-decoration: underline; text-underline-offset: 2px; }
.legal-section a:hover { color: var(--accent); }
.legal-section ul, .legal-section ol { margin: 12px 0; display: grid; gap: 8px; }
.legal-section li { color: var(--ink-2); padding-left: 20px; position: relative; max-width: 70ch; }
.legal-section li::before { content: ''; position: absolute; left: 2px; top: 11px; width: 6px; height: 1.5px; background: var(--muted); }
.legal-section strong { color: var(--ink); }
.legal-section table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; }
.legal-section th, .legal-section td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-section th { font-weight: 600; background: var(--white); }
.legal-highlight, .legal-box, .legal-note { background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--accent); padding: 16px 20px; border-radius: 6px; margin: 16px 0; }

.cgv-offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 18px 0; }
.cgv-offer { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 18px 20px; }
.cgv-offer h3 { margin-top: 0; font-size: 15px; }

/* ─── Responsive ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .nav__links, .nav__phone { display: none; }
  .nav__cta { margin-left: auto; }
  .nav__burger { display: flex; margin-left: 0; }
  .nav__mobile {
    display: none; flex-direction: column; padding: 8px 28px 24px; background: var(--paper); border-bottom: 1px solid var(--line);
  }
  .nav__mobile.open { display: flex; }
  .nav__mobile a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav__mobile .btn { margin-top: 16px; border: 0; }
  .hero__inner { grid-template-columns: 1fr; gap: 56px; }
  .section-head { grid-template-columns: 1fr; gap: 14px; }
  .facts__grid { grid-template-columns: 1fr 1fr; }
  .fact, .fact + .fact { padding: 28px 24px 28px 0; border-left: 0; }
  .fact:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .step:nth-child(3) { padding-left: 0; }
  .plans { grid-template-columns: 1fr; max-width: 520px; }
  .plan__for { min-height: 0; }
  .faq__inner, .contact__inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .features { grid-template-columns: 1fr 1fr; }
  .cta-band__inner { flex-direction: column; align-items: start; }
}

@media (max-width: 680px) {
  .container { padding: 0 20px; }
  section { padding: 76px 0; }
  .nav__cta .btn { display: none; }
  .hero { padding: 40px 0 72px; }
  .hero__lead { font-size: 17px; }
  .hero__proof { gap: 22px; }
  .hero__proof strong { font-size: 22px; }
  .hero__visual { padding-bottom: 40px; }
  .frame--phone { right: -6px; width: 34%; border-width: 4px; border-radius: 16px; }
  .frame--phone img { border-radius: 11px; }
  .frame__bar span { display: none; }
  .hero__note { left: 12px; bottom: 6px; font-size: 12px; }
  .facts__grid { grid-template-columns: 1fr; }
  .fact, .fact + .fact, .fact:nth-child(even) { padding: 24px 0; border-left: 0; }
  .fact + .fact { border-top: 1px solid var(--line); }
  .work__grid { grid-template-columns: 1fr; }
  .case--wide .case__img { aspect-ratio: 16 / 9; }
  .case__info { flex-direction: column; align-items: start; gap: 14px; padding: 20px; }
  .steps { grid-template-columns: 1fr; row-gap: 32px; }
  .step, .step + .step { padding: 24px 0 0; }
  .step::before { right: 0; }
  .option { padding: 28px 24px; }
  .after__grid { grid-template-columns: 1fr; }
  #mainForm { padding: 24px 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .progress-step__label { display: none; }
  .progress-step.active .progress-step__label { display: block; }
  .contact__form { padding: 24px 20px; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .floating-cta {
    position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40;
  }
  .floating-cta .btn { width: 100%; box-shadow: 0 12px 30px rgba(0,0,0,.25); padding: 16px; }
  .footer { padding-bottom: 96px; }
  .features { grid-template-columns: 1fr; }
  .rows > div { grid-template-columns: 1fr; gap: 6px; }
  .page-hero { padding: 44px 0 56px; }
  .page-hero__lead { font-size: 17px; }
  .legal-section table { display: block; overflow-x: auto; }
  .cgv-offers { grid-template-columns: 1fr; }
}

@media (min-width: 681px) {
  .floating-cta { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
