/* ═══════════════════════════════════════════════
   CIS-Dapp — Landing Pages  (Alsace / Paris)
   Premium UI — v5.0  |  Pure HTML/CSS
   ═══════════════════════════════════════════════ */

/* ── Design tokens ──────────────────────────── */
:root {
  --bg:           #f1f5f3;
  --bg-subtle:    #e8f0ec;
  --surface:      #ffffff;
  --surface-tint: #f0fbf8;
  --line:         #d4e4de;
  --ink:          #0c1a27;
  --ink-soft:     #475569;
  --ink-muted:    #6b7a8d;

  --brand:        #178f83;
  --brand-dark:   #0d5c57;
  --brand-light:  #1dbcad;

  --radius-xs:    8px;
  --radius-sm:    12px;
  --radius:       20px;
  --radius-lg:    28px;
  --radius-xl:    36px;

  --sh-xs:        0 1px 4px rgba(10,75,77,0.07);
  --sh-sm:        0 4px 16px rgba(10,75,77,0.10);
  --sh:           0 10px 32px rgba(10,75,77,0.13);
  --sh-lg:        0 24px 56px rgba(10,75,77,0.18);
  --glow:         0 0 0 1px rgba(23,143,131,0.24), 0 8px 32px rgba(23,143,131,0.18);
  --glow-sm:      0 0 0 1px rgba(23,143,131,0.18), 0 4px 16px rgba(23,143,131,0.12);

  --grad:         linear-gradient(135deg, #0a4b4d 0%, #178f83 55%, #1dbcad 100%);
  --grad-text:    linear-gradient(135deg, #0a4b4d 0%, #178f83 50%, #20c4b4 100%);
  --grad-soft:    linear-gradient(180deg, #ffffff 0%, #eef8f5 100%);

  --ease:         cubic-bezier(0.4, 0, 0.2, 1);
  --dur:          0.2s;
}

/* ── Reset ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }

body {
  font-family: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ── Layout ─────────────────────────────────── */
.wrap {
  width: min(1140px, 100% - 2.5rem);
  margin-inline: auto;
}

.section { padding: 5rem 0; }

.section--alt {
  background: linear-gradient(180deg, #edf6f2 0%, #f3faf7 100%);
  border-top:    1px solid rgba(23,143,131,0.1);
  border-bottom: 1px solid rgba(23,143,131,0.1);
}

/* ── Topbar ─────────────────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 67, 69, 0.93);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.09);
  box-shadow: 0 2px 20px rgba(8,60,62,0.28);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  height: 64px;
  position: relative;
}

/* ── Brand ──────────────────────────────────── */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: #f0fbf8;
  flex-shrink: 0;
  transition: opacity var(--dur) var(--ease);
}
.brand:hover { opacity: 0.82; }

.brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  height: 40px;
  padding: 0 0.78rem;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  border: 1.5px solid rgba(255,255,255,0.26);
  border-radius: 13px;
  background: rgba(255,255,255,0.09);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.brand:hover .brand__mark {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.38);
}

.brand__text { display: grid; line-height: 1.2; }
.brand__name { font-size: 0.96rem; font-weight: 700; }
.brand__tag  { font-size: 0.68rem; opacity: 0.76; letter-spacing: 0.02em; }

/* ── Nav ────────────────────────────────────── */
.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav > a {
  text-decoration: none;
  color: rgba(240,251,248,0.85);
  font-size: 0.89rem;
  font-weight: 600;
  padding: 0.48rem 0.8rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition:
    color var(--dur) var(--ease),
    background var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}
.nav > a:hover {
  color: #ffffff;
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.18);
}

/* CTA button inside nav */
.nav .btn--primary {
  background: rgba(255,255,255,0.14);
  border: 1.5px solid rgba(255,255,255,0.32);
  color: #ffffff;
  padding: 0.44rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition:
    background var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}
.nav .btn--primary:hover {
  background: rgba(255,255,255,0.24);
  border-color: rgba(255,255,255,0.52);
  box-shadow: 0 4px 14px rgba(0,0,0,0.16);
}

/* ── Hamburger ──────────────────────────────── */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.24);
  border-radius: var(--radius-sm);
  padding: 0.52rem 0.65rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--dur) var(--ease);
}
.nav-burger:hover { background: rgba(255,255,255,0.15); }

.nav-burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transform-origin: center;
  transition:
    transform var(--dur) var(--ease),
    opacity var(--dur) var(--ease);
}

.nav-burger.burger--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.burger--open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.burger--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Shared Buttons ─────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0 1.35rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background var(--dur) var(--ease),
    color var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    transform var(--dur) var(--ease),
    filter var(--dur) var(--ease);
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  color: #ffffff;
  background: var(--grad);
  border-color: var(--brand-dark);
  box-shadow: 0 4px 18px rgba(10,75,77,0.24);
}
.btn--primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 8px 28px rgba(10,75,77,0.32);
}

.btn--ghost {
  color: var(--brand-dark);
  background: rgba(255,255,255,0.88);
  border-color: rgba(15,95,89,0.28);
}
.btn--ghost:hover {
  background: #ffffff;
  border-color: rgba(15,95,89,0.52);
  box-shadow: var(--sh-xs);
}

/* ── Kicker ─────────────────────────────────── */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
  color: var(--brand);
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.kicker::before {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 8px rgba(23,143,131,0.6);
  flex-shrink: 0;
}

/* ── Headings ───────────────────────────────── */
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.025em; }

h1 {
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 800;
  margin-bottom: 1rem;
}
h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  font-weight: 800;
}
h3 { font-size: 1.18rem; font-weight: 700; }

p { margin: 0; color: var(--ink-soft); }

.lead {
  font-size: 1.1rem;
  max-width: 58ch;
  line-height: 1.72;
  color: var(--ink-soft);
}
.lead2 {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-top: 0.6rem;
}

/* ── Section head ───────────────────────────── */
.head {
  margin-bottom: 2rem;
}
.head h2 { margin-bottom: 0.45rem; }
.head p { font-size: 1rem; color: var(--ink-soft); }

/* ─────────────────────────────────────────────
   HERO
   ───────────────────────────────────────────── */
main { padding-top: 0; }

.hero {
  padding: 5rem 0 5.5rem;
  position: relative;
  overflow: hidden;
}

/* ambient glow blob */
.hero::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -180px;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(23,143,131,0.11) 0%, transparent 68%);
  border-radius: 50%;
  pointer-events: none;
  animation: pulse-blob 8s ease-in-out infinite alternate;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -120px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(23,143,131,0.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

@keyframes pulse-blob {
  from { transform: scale(1); opacity: 0.6; }
  to   { transform: scale(1.12); opacity: 1; }
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 3rem;
  align-items: center;
}

.hero__copy { position: relative; z-index: 1; }

/* gradient text on h1 */
.hero h1 {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding-bottom: 0.05em; /* prevent clipping descenders */
}

/* hero lead strong */
.hero .lead strong {
  color: var(--brand-dark);
  font-weight: 700;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

/* ── Proof pills ────────────────────────────── */
.proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.pill {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.72rem 1rem;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--sh-xs);
  transition:
    box-shadow var(--dur) var(--ease),
    transform var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}
.pill:hover {
  box-shadow: var(--glow-sm);
  transform: translateY(-2px);
  border-color: rgba(23,143,131,0.3);
}

.pill__t {
  display: block;
  color: var(--brand-dark);
  font-weight: 700;
  font-size: 0.94rem;
}
.pill__s {
  color: var(--ink-muted);
  font-size: 0.82rem;
}

.micro {
  font-size: 0.9rem;
  color: var(--ink-muted);
  margin-top: 1rem;
  line-height: 1.6;
}
.micro strong { color: var(--ink-soft); }

/* ── Hero card ──────────────────────────────── */
.hero__card {
  background: var(--grad-soft);
  border: 1.5px solid rgba(15,95,89,0.16);
  border-radius: var(--radius-xl);
  padding: 1.75rem 1.6rem;
  box-shadow: var(--sh), 0 0 0 1px rgba(23,143,131,0.05);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* top accent bar */
.hero__card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad);
}

.card__title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1rem;
}

.card__line {
  height: 1px;
  background: rgba(15,95,89,0.12);
  margin: 1.2rem 0;
}

/* ── Checklist ──────────────────────────────── */
.check {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.58rem;
}

.check li {
  display: flex;
  align-items: flex-start;
  gap: 0.62rem;
  color: var(--ink-soft);
  font-size: 0.93rem;
  line-height: 1.5;
}

.check li::before {
  content: "";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 6px;
  background: rgba(23,143,131,0.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l2.5 2.5L9 1' stroke='%23178f83' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") no-repeat center;
  border: 1.5px solid rgba(23,143,131,0.25);
}

/* ── Mini rows ──────────────────────────────── */
.mini { display: grid; gap: 0.5rem; }

.mini__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.42rem 0;
  border-bottom: 1px solid rgba(15,95,89,0.08);
  font-size: 0.9rem;
}
.mini__row:last-child { border-bottom: none; }
.mini__row span   { color: var(--ink-muted); }
.mini__row strong { color: var(--ink); font-weight: 600; text-align: right; }

/* ─────────────────────────────────────────────
   SERVICES GRID
   ───────────────────────────────────────────── */
.grid   { display: grid; gap: 1.1rem; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  background: var(--surface);
  border: 1.5px solid rgba(15,95,89,0.11);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--sh-xs);
  transition:
    box-shadow var(--dur) var(--ease),
    transform var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}
.card:hover {
  box-shadow: var(--glow);
  transform: translateY(-4px);
  border-color: rgba(23,143,131,0.28);
}
.card h3 { margin-bottom: 0.5rem; color: var(--ink); }
.card p   { font-size: 0.93rem; margin-top: 0; margin-bottom: 0.7rem; }

.bullets {
  margin: 0.6rem 0 0;
  padding: 0 0 0 1rem;
  color: var(--ink-soft);
  font-size: 0.91rem;
}
.bullets li { padding: 0.12rem 0; }
.bullets li + li { margin-top: 0.28rem; }

/* ─────────────────────────────────────────────
   PRICING
   ───────────────────────────────────────────── */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
  align-items: start;
}

.price {
  position: relative;
  background: var(--surface);
  border: 1.5px solid rgba(15,95,89,0.14);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  display: grid;
  gap: 1rem;
  box-shadow: var(--sh-xs);
  transition:
    box-shadow var(--dur) var(--ease),
    transform var(--dur) var(--ease);
}
.price:hover {
  box-shadow: var(--sh-sm);
  transform: translateY(-3px);
}

.price--featured {
  background: linear-gradient(180deg, #eef9f5 0%, #ffffff 100%);
  border: 2px solid rgba(23,143,131,0.38);
  box-shadow: var(--sh), 0 0 0 4px rgba(23,143,131,0.06);
}
.price--featured:hover {
  box-shadow: var(--glow), 0 0 0 4px rgba(23,143,131,0.1);
  transform: translateY(-5px);
}

.price h3 { color: var(--ink); margin-bottom: 0; }

.price__tag {
  color: var(--ink-muted);
  font-size: 0.94rem;
  margin: 0;
}
.price__tag strong { color: var(--brand-dark); }

.ribbon {
  position: absolute;
  top: -0.78rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.24rem 0.95rem;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #ffffff;
  background: var(--grad);
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(10,75,77,0.28);
}

.note {
  font-size: 0.92rem;
  color: var(--ink-muted);
  margin-top: 1.25rem;
  padding: 1rem 1.2rem;
  background: rgba(23,143,131,0.06);
  border: 1px solid rgba(23,143,131,0.14);
  border-radius: var(--radius-sm);
  line-height: 1.65;
}

/* ─────────────────────────────────────────────
   PROCESS STEPS
   ───────────────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
  align-items: start;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.9rem;
  position: relative;
}

/* connecting line */
.steps::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 38px;
  bottom: 38px;
  width: 2px;
  background: linear-gradient(180deg, rgba(23,143,131,0.5) 0%, rgba(23,143,131,0.08) 100%);
  border-radius: 2px;
  pointer-events: none;
}

.step {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  background: var(--surface);
  border: 1.5px solid rgba(15,95,89,0.12);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  position: relative;
  transition:
    box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    transform var(--dur) var(--ease);
}
.step:hover {
  box-shadow: var(--glow-sm);
  border-color: rgba(23,143,131,0.3);
  transform: translateX(3px);
}

.step__n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.88rem;
  color: #ffffff;
  background: var(--grad);
  box-shadow: 0 4px 12px rgba(10,75,77,0.28);
  position: relative;
  z-index: 1;
}

.step h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  color: var(--ink);
}
.step p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-top: 0.15rem;
  line-height: 1.55;
}

/* ─────────────────────────────────────────────
   LOCAL SPLIT SECTION
   ───────────────────────────────────────────── */
.section--alt .split h2 {
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  margin-bottom: 0.5rem;
}

/* ─────────────────────────────────────────────
   AVOCAT BLOCK
   ───────────────────────────────────────────── */
.section--avocat {
  background: linear-gradient(145deg, #e6f5f0 0%, #f3faf7 55%, #eaf5f1 100%);
  border-top:    2px solid rgba(23,143,131,0.13);
  border-bottom: 2px solid rgba(23,143,131,0.13);
  position: relative;
  overflow: hidden;
}

/* decorative glow */
.section--avocat::after {
  content: "";
  position: absolute;
  bottom: -120px;
  right: -120px;
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(23,143,131,0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.avocat-block {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(268px, 0.6fr);
  gap: 2.5rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.avocat-card {
  background: var(--surface);
  border: 1.5px solid rgba(23,143,131,0.2);
  border-radius: var(--radius-lg);
  padding: 1.65rem;
  box-shadow: var(--sh);
  position: relative;
  overflow: hidden;
}

/* top accent */
.avocat-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad);
}

/* ─────────────────────────────────────────────
   FAQ ACCORDION
   ───────────────────────────────────────────── */
.faq { display: grid; gap: 0.7rem; }

.qa {
  background: var(--surface);
  border: 1.5px solid rgba(15,95,89,0.12);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}
.qa:hover   { border-color: rgba(23,143,131,0.26); }
.qa[open]   { border-color: rgba(23,143,131,0.34); box-shadow: var(--sh-xs); }

.qa summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.97rem;
  list-style: none;
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink);
  user-select: none;
  -webkit-user-select: none;
}
.qa summary::-webkit-details-marker { display: none; }

/* animated chevron */
.qa summary::after {
  content: "";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%23178f83' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
  transition: transform var(--dur) var(--ease);
}
.qa[open] summary::after { transform: rotate(180deg); }

.qa p {
  padding: 0 1.25rem 1.15rem;
  font-size: 0.94rem;
  color: var(--ink-soft);
  line-height: 1.72;
  border-top: 1px solid rgba(15,95,89,0.08);
  margin-top: 0;
  padding-top: 0.8rem;
}

/* ─────────────────────────────────────────────
   CONTACT
   ───────────────────────────────────────────── */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 0.7fr);
  gap: 1.5rem;
  align-items: start;
}

.contact > div > h2 { margin-bottom: 0.5rem; }

.contact__card {
  background: var(--grad-soft);
  border: 1.5px solid rgba(15,95,89,0.16);
  border-radius: var(--radius-lg);
  padding: 1.7rem 1.6rem;
  box-shadow: var(--sh);
  position: relative;
  overflow: hidden;
}
.contact__card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad);
}
.contact__card h3 { margin-bottom: 1rem; color: var(--ink); }

/* ─────────────────────────────────────────────
   UTILITIES
   ───────────────────────────────────────────── */
.muted { color: var(--ink-muted); font-size: 0.88rem; }

.link {
  color: var(--brand-dark);
  text-decoration: none;
  border-bottom: 1px solid rgba(15,95,89,0.28);
  transition:
    color var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}
.link:hover {
  color: var(--brand);
  border-bottom-color: var(--brand);
}

.divider {
  height: 1px;
  background: rgba(15,95,89,0.11);
  margin: 0.75rem 0;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.88em;
  color: var(--brand-dark);
  background: rgba(15,95,89,0.07);
  border: 1px solid rgba(15,95,89,0.15);
  border-radius: var(--radius-xs);
  padding: 0.18rem 0.48rem;
}

/* ─────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────── */
.footer {
  background: linear-gradient(180deg, #0d1e1c 0%, #0a1614 100%);
  padding: 2rem 0 1.5rem;
  border-top: 1px solid rgba(23,143,131,0.22);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer__inner > div:first-child { flex: 1; min-width: 200px; }

.footer__inner p {
  color: rgba(200,230,220,0.6);
  font-size: 0.88rem;
  margin: 0;
  line-height: 1.6;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}
.footer__links a {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(200,230,220,0.65);
  text-decoration: none;
  padding: 0.32rem 0.7rem;
  border-radius: 8px;
  border: 1px solid transparent;
  transition:
    color var(--dur) var(--ease),
    background var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}
.footer__links a:hover {
  color: #d4f0e8;
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.1);
}

/* legal row */
.footer .legal-row {
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer .legal-row a {
  font-size: 0.81rem;
  color: rgba(200,230,220,0.45);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}
.footer .legal-row a:hover { color: rgba(200,230,220,0.8); }

/* ── Theme toggle button ────────────────────── */
.theme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.22);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  flex-shrink: 0;
  transition:
    background var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}
.theme-btn:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.36);
}

/* ─────────────────────────────────────────────
   DARK MODE — toggled via [data-dark] on <html>
   ───────────────────────────────────────────── */
[data-dark] {
  --bg:           #0a1210;
  --bg-subtle:    #0d1815;
  --surface:      #142220;
  --surface-tint: #192c29;
  --line:         #253b37;
  --ink:          #e8f5f1;
  --ink-soft:     #9bbfb8;
  --ink-muted:    #6a9490;
  --brand:        #20c4b4;
  --brand-dark:   #1bab9c;
  --brand-light:  #35d4c5;
  --sh-xs:        0 1px 4px rgba(0,0,0,0.45);
  --sh-sm:        0 4px 16px rgba(0,0,0,0.45);
  --sh:           0 10px 32px rgba(0,0,0,0.5);
  --sh-lg:        0 24px 56px rgba(0,0,0,0.6);
  --glow:         0 0 0 1px rgba(32,196,180,0.32), 0 8px 32px rgba(32,196,180,0.22);
  --glow-sm:      0 0 0 1px rgba(32,196,180,0.24), 0 4px 16px rgba(32,196,180,0.16);
  --grad-soft:    linear-gradient(180deg, #142220 0%, #192c29 100%);
}

[data-dark] .section--alt {
  background: linear-gradient(180deg, #0d1815 0%, #111e1b 100%);
  border-top-color:    rgba(32,196,180,0.1);
  border-bottom-color: rgba(32,196,180,0.1);
}

[data-dark] .price--featured {
  background: linear-gradient(180deg, #1a2e2b 0%, #142220 100%);
  border-color: rgba(32,196,180,0.42);
  box-shadow: var(--sh), 0 0 0 4px rgba(32,196,180,0.08);
}
[data-dark] .price--featured:hover {
  box-shadow: var(--glow), 0 0 0 4px rgba(32,196,180,0.12);
}

[data-dark] .section--avocat {
  background: linear-gradient(145deg, #0d1815 0%, #111e1b 55%, #0e1916 100%);
  border-top-color:    rgba(32,196,180,0.14);
  border-bottom-color: rgba(32,196,180,0.14);
}

[data-dark] .btn--ghost {
  color: var(--brand-light);
  background: rgba(32,196,180,0.08);
  border-color: rgba(32,196,180,0.36);
}
[data-dark] .btn--ghost:hover {
  background: rgba(32,196,180,0.16);
  border-color: rgba(32,196,180,0.55);
  box-shadow: 0 4px 16px rgba(32,196,180,0.14);
}

[data-dark] .note {
  background: rgba(32,196,180,0.07);
  border-color: rgba(32,196,180,0.18);
}

/* ─────────────────────────────────────────────
   RESPONSIVE — Tablet  ≤ 900px
   ───────────────────────────────────────────── */
@media (max-width: 900px) {

  /* show hamburger, collapse nav */
  .nav-burger { display: flex; }

  .nav {
    display: none;
    position: absolute;
    top: 64px;
    left: -1.25rem;
    right: -1.25rem;
    background: rgba(9, 67, 69, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255,255,255,0.09);
    flex-direction: column;
    align-items: stretch;
    padding: 0.85rem 1.25rem 1.1rem;
    gap: 0.3rem;
    z-index: 99;
    box-shadow: 0 12px 32px rgba(0,0,0,0.24);
  }
  .nav.nav--open { display: flex; }
  .nav > a {
    padding: 0.72rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.94rem;
  }
  .nav .btn--primary {
    margin-top: 0.4rem;
    justify-content: center;
    padding: 0.72rem 1rem;
  }

  /* section grids → single column */
  .hero__grid,
  .pricing,
  .contact,
  .split,
  .avocat-block,
  .grid--2 {
    grid-template-columns: 1fr;
  }

  .hero { padding: 3rem 0 3.5rem; }
  .hero::before, .hero::after { display: none; }

  .section { padding: 3.5rem 0; }
  .steps::before { display: none; }

  .footer__inner {
    flex-direction: column;
    gap: 1.2rem;
  }
  .footer__links { gap: 0.3rem; }

  .pricing { grid-template-columns: 1fr; max-width: 420px; }
}

/* ─────────────────────────────────────────────
   RESPONSIVE — Mobile  ≤ 560px
   ───────────────────────────────────────────── */
@media (max-width: 560px) {
  .wrap { width: calc(100% - 2rem); }

  h1 { font-size: clamp(1.7rem, 7vw, 2.2rem); }
  h2 { font-size: clamp(1.4rem, 5vw, 1.8rem); }

  .hero { padding: 2.2rem 0 2.8rem; }
  .section { padding: 2.5rem 0; }

  .cta { gap: 0.6rem; }
  .btn { min-height: 46px; padding: 0 1.1rem; font-size: 0.9rem; }

  .proof { gap: 0.5rem; }
  .pill { flex: 1; min-width: 130px; padding: 0.6rem 0.8rem; }

  .hero__card { border-radius: var(--radius-lg); padding: 1.3rem 1.2rem; }

  .card { padding: 1.25rem 1.1rem; }
  .price { padding: 1.3rem 1.1rem; }

  .step { padding: 0.9rem 1rem; gap: 0.85rem; }
  .step__n { width: 32px; height: 32px; font-size: 0.82rem; }

  .avocat-card { padding: 1.25rem; }
  .contact__card { padding: 1.3rem 1.2rem; }

  .topbar__inner { gap: 0.75rem; }
  .brand__tag { display: none; }

  .footer { padding: 1.6rem 0 1.2rem; }
}
