/* ============================================================
   europelawfirm.org — responsive multi-language landing page
   ============================================================ */

:root {
  --ink: #14213d;
  --ink-soft: #56627a;
  --navy: #101b36;
  --navy-2: #17264a;
  --blue: #2f55d4;
  --blue-dark: #1e3fae;
  --blue-soft: #eaf0ff;
  --gold: #d6a24a;
  --gold-soft: #fbf3e4;
  --bg: #f6f8fc;
  --card: #ffffff;
  --line: #e2e8f3;
  --shadow: 0 18px 45px rgba(20, 33, 61, .08);
  --shadow-sm: 0 8px 22px rgba(20, 33, 61, .06);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.18;
  margin: 0 0 18px;
  letter-spacing: -.015em;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.55rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.65rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 14px; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
button, input { font: inherit; }
button { cursor: pointer; }

.container {
  width: min(calc(100% - 44px), var(--container));
  margin: 0 auto;
}

/* ---------------------------- Header ---------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -.01em;
  white-space: nowrap;
}

.brand-mark {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  font-size: .92rem;
  color: var(--ink-soft);
}

.main-nav a { transition: color .2s ease; }
.main-nav a:hover, .main-nav a.is-current { color: var(--blue); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.lang-switch {
  display: inline-flex;
  padding: 3px;
  gap: 2px;
  background: #eef2f8;
  border-radius: 999px;
}

.lang-switch button {
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 6px 11px;
  border-radius: 999px;
  transition: all .2s ease;
}

.lang-switch button.is-active {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 2px 8px rgba(20, 33, 61, .1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 999px;
  padding: 13px 24px;
  min-height: 46px;
  font-size: .94rem;
  font-weight: 700;
  line-height: 1.2;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 24px rgba(47, 85, 212, .25);
}
.btn-primary:hover { background: var(--blue-dark); box-shadow: 0 14px 30px rgba(47, 85, 212, .3); }
.btn-ghost { background: #fff; color: var(--blue); border: 1px solid #cdd8f5; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-whatsapp { background: #25d366; color: #06251a; box-shadow: 0 10px 24px rgba(37, 211, 102, .25); }
.btn-whatsapp:hover { background: #1ebe5d; box-shadow: 0 14px 30px rgba(37, 211, 102, .32); }
.btn-whatsapp::before { content: "💬"; margin-right: 7px; font-size: 1.05em; }
.btn-header { padding: 10px 18px; font-size: .86rem; }

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  width: 42px;
  height: 42px;
  font-size: 1.2rem;
  line-height: 1;
}

/* ---------------------------- Hero ---------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 96px;
  background:
    radial-gradient(circle at 82% 20%, rgba(214, 162, 74, .16), transparent 32%),
    radial-gradient(circle at 12% 90%, rgba(47, 85, 212, .12), transparent 38%),
    linear-gradient(135deg, #fbfcff 0%, #eef2ff 55%, #fdf7ed 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 68px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.hero h1 { margin-bottom: 22px; }
.hero-lead { color: var(--ink-soft); font-size: 1.08rem; max-width: 620px; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid rgba(20, 33, 61, .1);
  font-size: .88rem;
  color: var(--ink-soft);
}

.stars { color: var(--gold); letter-spacing: 2px; font-size: 1rem; }
.hero-trust strong { color: var(--ink); }

.hero-visual {
  position: relative;
  min-height: 430px;
  display: grid;
  place-items: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  border: 1px dashed rgba(47, 85, 212, .25);
  animation: spin 38s linear infinite;
}

.hero-visual::after {
  content: "";
  position: absolute;
  width: 290px;
  height: 290px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 85, 212, .12), transparent 70%);
}

@keyframes spin { to { transform: rotate(360deg); } }

.shield {
  position: relative;
  z-index: 2;
  width: 290px;
  filter: drop-shadow(0 24px 34px rgba(16, 27, 54, .22));
  transform: rotate(-4deg);
}

.float-chip {
  position: absolute;
  z-index: 3;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: var(--shadow);
  font-size: .82rem;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 9px;
}

.float-chip .chip-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: .95rem;
}

.float-chip.top { top: 34px; right: -6px; transform: rotate(4deg); }
.float-chip.bottom { bottom: 36px; left: -14px; transform: rotate(-3deg); }

/* ---------------------------- Sections ---------------------------- */

.section { padding: 92px 0; }
.section-white { background: #fff; }
.section-tint { background: #f0f4fb; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-bottom: 16px; }
.section-lead { color: var(--ink-soft); font-size: 1.03rem; }

.reveal { animation: fadeUp .6s ease both; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}

.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

.feature-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: var(--blue-soft);
  font-size: 1.45rem;
  margin-bottom: 22px;
}

.feature-card h3, .case-card h3 { margin-bottom: 10px; }
.feature-card p, .case-card p { color: var(--ink-soft); font-size: .94rem; margin: 0; }

/* Steps */

.steps-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 66px;
  align-items: start;
}

.steps-copy { position: sticky; top: 110px; }

.privacy-note {
  margin-top: 28px;
  padding: 20px 22px;
  border-left: 3px solid var(--gold);
  border-radius: 0 12px 12px 0;
  background: var(--gold-soft);
  font-size: .9rem;
  color: #6c5734;
}

.privacy-note strong { display: block; color: #4d3c20; margin-bottom: 4px; }

.steps-list { display: grid; gap: 16px; }

.step-item {
  display: flex;
  gap: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
  box-shadow: var(--shadow-sm);
}

.step-number {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: 1.05rem;
}

.step-body h3 { margin-bottom: 5px; font-size: 1.08rem; }
.step-body p { margin: 0; color: var(--ink-soft); font-size: .92rem; }

/* Why */

.why-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 62px;
  align-items: center;
}

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

.stat-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 24px 14px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  animation: fadeUp .6s ease both;
  animation-delay: var(--delay, 0ms);
}

.stat-value {
  font-family: Georgia, serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
}

.stat-label { font-size: .78rem; color: var(--ink-soft); margin-top: 9px; }

.check-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.check-item { display: flex; align-items: flex-start; gap: 11px; font-size: .95rem; }
.check-mark {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: .72rem;
  font-weight: 800;
  margin-top: 3px;
}

.why-note {
  margin-top: 26px;
  font-family: Georgia, serif;
  font-size: 1.12rem;
  font-weight: 700;
}

.why .btn { margin-top: 18px; }

/* Lawyers */

.lawyers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.lawyer-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}

.lawyer-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

.lawyer-photo-wrap {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #e9eef7;
}

.lawyer-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter .3s ease, transform .3s ease;
}

.lawyer-card:hover .lawyer-photo { filter: grayscale(0%); transform: scale(1.04); }

.lawyer-body { padding: 22px 22px 24px; }
.lawyer-name { font-size: 1.1rem; margin-bottom: 6px; }
.lawyer-role { color: var(--blue); font-weight: 700; font-size: .85rem; margin-bottom: 5px; }
.lawyer-network { color: var(--ink-soft); font-size: .82rem; margin: 0; }

/* Cases */

.case-index {
  font-family: Georgia, serif;
  color: var(--gold);
  font-size: 1.4rem;
  margin-bottom: 14px;
}

/* Testimonials */

.quote-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.quote-stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 14px; }
.quote-text { color: var(--ink); font-size: .92rem; flex: 1; }
.quote-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.quote-avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
}
.quote-who { display: grid; line-height: 1.35; }
.quote-who strong { font-size: .9rem; }
.quote-who span { font-size: .76rem; color: var(--ink-soft); }

/* FAQ */

.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-item.is-open { border-color: #bfcdf5; box-shadow: var(--shadow-sm); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 20px 22px;
  color: var(--ink);
  font-weight: 700;
  font-size: .97rem;
}
.faq-toggle {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 1.1rem;
  line-height: 1;
}
.faq-answer { padding: 0 22px 20px; color: var(--ink-soft); font-size: .93rem; }
.faq-answer p { margin: 0; }

/* Final CTA */

.final-cta { padding: 0 0 90px; }
.final-panel {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  border-radius: 26px;
  padding: 62px 60px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 50px;
  align-items: center;
  box-shadow: 0 26px 60px rgba(16, 27, 54, .24);
}
.final-panel::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -120px;
  top: -190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 162, 74, .24), transparent 68%);
}
.final-panel h2 { position: relative; font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
.final-panel .check-item { color: #e6ebf8; }
.final-panel .check-mark { background: rgba(214, 162, 74, .18); color: var(--gold); }
.final-side { position: relative; display: grid; justify-items: start; gap: 22px; }
.final-side .btn { font-size: 1rem; padding: 16px 30px; }

/* Footer */

.site-footer { background: #0c1428; color: #c9d2e6; padding: 56px 0 30px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.footer-top .brand { color: #fff; }
.footer-desc { max-width: 460px; font-size: .9rem; color: #98a5c0; margin: 0; }
.footer-bottom {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: .82rem;
  color: #8c99b5;
}
.footer-bottom a { color: #dfe6f6; text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------------- Formulaire ---------------------------- */

.page-hero {
  padding: 58px 0 34px;
  background: linear-gradient(135deg, #fbfcff, #eef2ff);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 10px; }
.page-hero p { color: var(--ink-soft); max-width: 660px; }

.form-section { padding: 54px 0 100px; }

.form-shell {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.form-top { padding: 28px 36px 20px; border-bottom: 1px solid var(--line); }
.form-progress-label { font-size: .8rem; color: var(--ink-soft); font-weight: 700; }
.progress-track { height: 7px; border-radius: 99px; background: #e9eef8; margin-top: 12px; overflow: hidden; }
.progress-bar { height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--blue), var(--gold)); transition: width .35s ease; }

.form-body { padding: 38px 36px 34px; }
.form-question { font-size: 1.6rem; margin-bottom: 10px; }
.form-hint { color: var(--ink-soft); font-size: .9rem; }

.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.choice-option {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 15px 17px;
  font-size: .94rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.choice-option:hover { border-color: #b8c8f2; transform: translateY(-2px); }
.choice-option:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); color: var(--blue-dark); }
.choice-option input { position: absolute; opacity: 0; pointer-events: none; }
.choice-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #b9c5dd;
  flex: 0 0 auto;
  position: relative;
}
.choice-option input:checked + .choice-dot { border-color: var(--blue); }
.choice-option input:checked + .choice-dot::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--blue);
}
.choice-option input:focus-visible + .choice-dot { outline: 3px solid #b9c9f5; outline-offset: 2px; }

.other-wrap { margin-top: 18px; }
.other-label { display: block; font-size: .85rem; font-weight: 700; margin-bottom: 8px; }
.form-body input[type="text"], .form-body input[type="tel"], .form-body input[type="email"] {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 15px 17px;
  color: var(--ink);
  background: #fafcff;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-body input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(47, 85, 212, .1); }
.form-body > input { margin-top: 24px; }

.form-error {
  margin: 18px 0 0;
  padding: 11px 14px;
  border-radius: 10px;
  background: #fff0f0;
  color: #a32727;
  font-size: .86rem;
  font-weight: 600;
}

.form-controls {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 22px 36px 30px;
  border-top: 1px solid var(--line);
  background: #fbfcff;
}
.form-controls .btn:disabled { opacity: .4; cursor: not-allowed; transform: none; }
.form-note { text-align: center; margin-top: 20px; font-size: .8rem; color: var(--ink-soft); }
.form-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  font-size: .82rem;
  color: var(--ink-soft);
}
.form-done { padding: 70px 36px; text-align: center; }
.form-done-icon { font-size: 3rem; margin-bottom: 14px; }
.form-done p { color: var(--ink-soft); max-width: 480px; margin: 0 auto 26px; }

/* ---------------------------- Confidentialité ---------------------------- */

.privacy-section { padding: 44px 0 0; }
.privacy-heading {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 1.55rem;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}
.privacy-number { color: var(--blue); font-size: 1rem; }
.privacy-subheading { font-size: 1.05rem; margin: 24px 0 8px; }
.privacy-section p, .privacy-list { color: var(--ink-soft); }
.privacy-list { padding-left: 20px; margin: 10px 0 18px; }
.privacy-list li { margin-bottom: 6px; }
.privacy-intro {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 20px;
}
.privacy-intro p { margin: 0 0 5px; color: var(--ink-soft); font-size: .9rem; }
.inline-wa-link {
  color: #128c4c;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.inline-wa-link:hover { color: #0a6b39; }
.privacy-article { max-width: 900px; margin: 0 auto; }
.table-wrap { overflow-x: auto; margin: 18px 0; }
.privacy-table { width: 100%; border-collapse: collapse; font-size: .9rem; background: #fff; }
.privacy-table th, .privacy-table td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; }
.privacy-table th { background: var(--blue-soft); color: var(--ink); }

/* ---------------------------- Mobile CTA ---------------------------- */

.mobile-cta { display: none; }

/* ---------------------------- Responsive ---------------------------- */

@media (max-width: 1024px) {
  .hero-grid, .steps-layout, .why-layout, .faq-layout { gap: 40px; }
  .main-nav { gap: 15px; }
  .btn-header { display: none; }
}

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .header-inner { flex-wrap: wrap; gap: 12px; padding: 12px 0; }
  .header-actions { margin-left: auto; }
  .main-nav {
    display: none;
    order: 3;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 0 4px;
    border-top: 1px solid var(--line);
  }
  .site-header.nav-open .main-nav { display: flex; }
  .main-nav a { width: 100%; padding: 8px 0; }
  .hero-grid, .steps-layout, .why-layout, .faq-layout { grid-template-columns: 1fr; }
  .steps-copy { position: static; }
  .hero-visual { min-height: 360px; }
  .shield { width: 240px; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .final-panel { grid-template-columns: 1fr; padding: 44px 34px; gap: 28px; }
  .testimonials-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lawyers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .mobile-cta {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 14px 38px rgba(16, 27, 54, .2);
    transform: translateY(160%);
    opacity: 0;
    pointer-events: none;
    transition: transform .3s ease, opacity .3s ease;
  }
  .mobile-cta.is-visible { transform: none; opacity: 1; pointer-events: auto; }
  .mobile-cta span { font-size: .78rem; line-height: 1.25; color: var(--ink-soft); font-weight: 600; }
  .mobile-cta .btn { padding: 11px 16px; min-height: 44px; font-size: .82rem; white-space: nowrap; }
  body.has-mobile-cta { padding-bottom: 88px; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  body { font-size: 15.5px; }

  /* En-tête compact, cibles tactiles élargies */
  .header-inner { min-height: 62px; gap: 10px; padding: 9px 0; }
  .brand { font-size: .98rem; gap: 8px; }
  .brand-mark { width: 34px; height: 34px; }
  .header-actions { gap: 8px; }
  .lang-switch { padding: 2px; gap: 1px; }
  .lang-switch button { padding: 9px 9px; min-width: 34px; min-height: 36px; letter-spacing: 0; }
  .menu-toggle { width: 44px; height: 44px; }
  .main-nav a { padding: 12px 4px; font-size: 1rem; }

  /* Premier écran plus court */
  .hero { padding: 42px 0 54px; }
  .hero h1 { font-size: clamp(1.85rem, 9vw, 2.35rem); margin-bottom: 16px; }
  .hero-lead { font-size: 1rem; }
  .hero-actions { gap: 10px; margin-top: 24px; }
  .hero-actions .btn { width: 100%; }
  .hero-trust { margin-top: 26px; padding-top: 20px; gap: 10px 18px; font-size: .82rem; }
  .hero-visual { min-height: 272px; margin-top: 14px; }
  .hero-visual::before { width: 260px; height: 260px; }
  .hero-visual::after { width: 220px; height: 220px; }
  .shield { width: 190px; }
  .float-chip { font-size: .7rem; padding: 8px 10px; border-radius: 11px; }
  .float-chip .chip-icon { width: 26px; height: 26px; }
  .float-chip.top { top: 18px; right: -2px; }
  .float-chip.bottom { bottom: 20px; left: -2px; }

  .section { padding: 56px 0; }
  .section-head { margin-bottom: 32px; }
  .grid-3, .stats-grid, .choice-grid { grid-template-columns: 1fr; }
  .card { padding: 22px; }
  .step-item { padding: 18px; gap: 14px; }
  .step-number { width: 40px; height: 40px; }
  .stat-box { padding: 20px 10px; }
  .stat-value { font-size: 1.9rem; }
  .faq-question { padding: 17px 16px; font-size: .93rem; }
  .faq-answer { padding: 0 16px 17px; font-size: .9rem; }
  .final-panel { padding: 34px 22px; border-radius: 20px; }
  .final-panel h2 { font-size: 1.6rem; }
  .final-side .btn { width: 100%; }

  /* Témoignages : carrousel horizontal glissable */
  .testimonials-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 86%;
    grid-template-columns: none;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding: 4px 2px 16px;
    margin: 0 -2px;
  }
  .testimonials-grid::-webkit-scrollbar { display: none; }
  .testimonials-grid > .quote-card { scroll-snap-align: start; padding: 22px; }
  .quote-text { font-size: .9rem; }

  /* Avocats : carrousel horizontal */
  .lawyers-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 82%;
    grid-template-columns: none;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding: 4px 2px 16px;
    margin: 0 -2px;
  }
  .lawyers-grid::-webkit-scrollbar { display: none; }
  .lawyers-grid > .lawyer-card { scroll-snap-align: start; }
  .lawyer-photo-wrap { aspect-ratio: 4 / 4.2; }
  .lawyer-body { padding: 18px 20px 20px; }
  .lawyer-name { font-size: 1.02rem; }

  /* Formulaire */
  .page-hero { padding: 40px 0 26px; }
  .page-hero h1 { font-size: 1.75rem; }
  .form-section { padding: 30px 0 70px; }
  .form-shell { border-radius: 18px; }
  .form-top { padding: 20px 20px 16px; }
  .form-body { padding: 26px 20px 24px; }
  .form-controls { padding: 16px 20px calc(20px + env(safe-area-inset-bottom, 0px)); }
  .form-controls .btn { flex: 1; padding: 12px 10px; }
  .choice-option { padding: 16px; min-height: 54px; font-size: .95rem; }
  .form-body input[type="text"], .form-body input[type="tel"], .form-body input[type="email"] { min-height: 50px; font-size: 16px; }
  .form-done { padding: 54px 22px; }

  /* Confidentialité et pied de page */
  .privacy-section { padding-top: 34px; }
  .privacy-heading { font-size: 1.25rem; gap: 9px; }
  .privacy-intro { padding: 18px; }
  .privacy-table th, .privacy-table td { padding: 10px; font-size: .82rem; min-width: 130px; }
  .site-footer { padding: 42px 0 calc(26px + env(safe-area-inset-bottom, 0px)); }
  .footer-bottom { margin-top: 24px; line-height: 1.55; }
}

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