/* ============================================================
   Léo — Informatique à domicile · feuille de style
   Public senior : gros texte, fort contraste, grandes cibles.
   ============================================================ */

:root {
  /* palette — thème "vert chaleureux" par défaut (surchargée par [data-theme]) */
  --cream:       #f6f2e9;
  --cream-2:     #fbf8f1;
  --card:        #ffffff;
  --ink:         #211f1a;
  --ink-soft:    #5c584f;
  --ink-faint:   #8c877c;
  --brand:       #2f6e4f;
  --brand-deep:  #234f3a;
  --brand-soft:  #e6efe7;
  --brand-tint:  #f0f5f0;
  --accent:      #d97a3c;
  --accent-deep: #bf6428;
  --accent-soft: #fbeede;
  --line:        #e8e2d4;
  --line-strong: #d8d1bf;
  --good:        #2f6e4f;

  --shadow-sm: 0 1px 2px rgba(33,31,26,.06), 0 2px 8px rgba(33,31,26,.05);
  --shadow-md: 0 4px 14px rgba(33,31,26,.08), 0 12px 32px rgba(33,31,26,.07);
  --shadow-lg: 0 10px 30px rgba(33,31,26,.10), 0 30px 70px rgba(33,31,26,.10);

  --radius:  18px;
  --radius-lg: 28px;
  --radius-sm: 12px;

  --maxw: 1120px;
  --type-scale: 1; /* piloté par le tweak "taille du texte" */

  --font-display: "Bricolage Grotesque", "Hanken Grotesk", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
}

/* ---- Thèmes alternatifs (tweak) ---- */
[data-theme="bleu"] {
  --cream: #f3f6fb; --cream-2: #fafbfe; --brand: #1f5fbf; --brand-deep: #18488f;
  --brand-soft: #e3ecfa; --brand-tint: #eef3fc; --accent: #1f5fbf; --accent-deep: #18488f;
  --accent-soft: #e3ecfa; --line: #e2e7f0; --line-strong: #cdd6e6; --good: #1f5fbf;
}
[data-theme="terracotta"] {
  --cream: #fbf6ef; --cream-2: #fdfaf4; --brand: #b5462f; --brand-deep: #8f3623;
  --brand-soft: #f6e6df; --brand-tint: #faf0ea; --accent: #1d1b18; --accent-deep: #000;
  --accent-soft: #efe7da; --line: #ece2d4; --line-strong: #ddcfba; --good: #b5462f;
}
[data-theme="sombre"] {
  --cream: #10212e; --cream-2: #16303f; --card: #1a3543; --ink: #f1f6f5; --ink-soft: #b7c6cc;
  --ink-faint: #8198a0; --brand: #5fd0c5; --brand-deep: #3fb3a8; --brand-soft: #1f4954;
  --brand-tint: #173a44; --accent: #f2b34a; --accent-deep: #d99a2e; --accent-soft: #2a4b4a;
  --line: #244653; --line-strong: #305666; --good: #5fd0c5;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  font-size: calc(19px * var(--type-scale));
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; margin: 0; letter-spacing: -.01em; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

a { color: inherit; }

/* =====================  BARRE DE RÉASSURANCE  ===================== */
.topbar {
  background: var(--brand-deep);
  color: #fff;
  font-size: calc(15px * var(--type-scale));
}
.topbar .wrap {
  display: flex; flex-wrap: wrap; gap: 8px 30px; justify-content: center;
  padding-top: 9px; padding-bottom: 9px;
}
.topbar span { display: inline-flex; align-items: center; gap: 8px; opacity: .95; }
.topbar svg { width: 17px; height: 17px; flex: none; }

/* =====================  EN-TÊTE  ===================== */
.header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 78px; }
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; }
.brand-mark {
  width: 48px; height: 48px; border-radius: 14px; flex: none;
  background: var(--brand); color: #fff;
  display: grid; place-items: center; box-shadow: var(--shadow-sm);
}
.brand-mark svg { width: 27px; height: 27px; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: calc(22px * var(--type-scale)); line-height: 1.05; }
.brand-sub { font-size: calc(13.5px * var(--type-scale)); color: var(--ink-soft); }

/* =====================  BOUTONS  ===================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 11px;
  font-family: var(--font-body); font-weight: 700;
  font-size: calc(18px * var(--type-scale));
  border: none; cursor: pointer; text-decoration: none;
  padding: 16px 26px; border-radius: 999px; min-height: 56px;
  transition: transform .12s ease, box-shadow .18s ease, background .18s ease;
  line-height: 1;
}
.btn svg { width: 21px; height: 21px; }
.btn-call { background: var(--accent); color: #fff; box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 40%, transparent); }
.btn-call:hover { transform: translateY(-2px); box-shadow: 0 10px 26px color-mix(in srgb, var(--accent) 46%, transparent); }
.btn-ghost { background: var(--card); color: var(--ink); border: 2px solid var(--line-strong); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.btn-green { background: var(--brand); color: #fff; box-shadow: 0 6px 18px color-mix(in srgb, var(--brand) 38%, transparent); }
.btn-green:hover { transform: translateY(-2px); box-shadow: 0 10px 26px color-mix(in srgb, var(--brand) 44%, transparent); }
.btn-lg { font-size: calc(20px * var(--type-scale)); padding: 19px 32px; min-height: 64px; }
.header .btn { padding: 13px 22px; min-height: 52px; }
@media (max-width: 600px){ .header .btn { display: none; } }

/* =====================  HÉRO  ===================== */
.hero { padding: 64px 0 56px; position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.3fr .7fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--brand-soft); color: var(--brand-deep);
  font-weight: 700; font-size: calc(15px * var(--type-scale));
  padding: 8px 16px; border-radius: 999px; margin-bottom: 22px;
}
.eyebrow svg { width: 17px; height: 17px; }
.hero h1 { font-size: calc(58px * var(--type-scale)); margin-bottom: 22px; }
.hero h1 .hl { color: var(--brand); }
.hero .lead { font-size: calc(22px * var(--type-scale)); color: var(--ink-soft); max-width: 30ch; margin-bottom: 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { margin-top: 22px; display: flex; align-items: center; gap: 11px; color: var(--ink-soft); font-size: calc(16px * var(--type-scale)); }
.hero-note svg { width: 20px; height: 20px; color: var(--good); flex: none; }

/* visuel héro */
.hero-visual { position: relative; }
.hero-photo {
  width: 100%; height: auto; aspect-ratio: 3 / 4; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden; border: 6px solid var(--card);
}
.hero-badge {
  position: absolute; left: -22px; bottom: 34px;
  background: var(--card); border-radius: 20px; padding: 18px 20px;
  box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 15px;
  border: 1px solid var(--line);
}
.hero-badge .pct { font-family: var(--font-display); font-weight: 600; font-size: calc(40px * var(--type-scale)); color: var(--accent); line-height: 1; }
.hero-badge .pct-txt { font-size: calc(15.5px * var(--type-scale)); line-height: 1.25; }
.hero-badge .pct-txt b { color: var(--ink); }
.hero-deco { position: absolute; inset: 0; z-index: -1; }
.hero-deco i { position: absolute; border-radius: 50%; }
.hero-deco i:nth-child(1){ width: 420px; height: 420px; right: -120px; top: -120px; background: radial-gradient(circle, var(--brand-tint), transparent 70%); }
.hero-deco i:nth-child(2){ width: 320px; height: 320px; left: -140px; bottom: -120px; background: radial-gradient(circle, var(--accent-soft), transparent 70%); opacity: .7; }

/* =====================  BANDE CESU  ===================== */
.cesu { background: var(--brand); color: #fff; padding: 56px 0; }
.cesu h2 { font-size: calc(38px * var(--type-scale)); margin-bottom: 14px; max-width: 18ch; }
.cesu .cesu-lead { font-size: calc(19px * var(--type-scale)); opacity: .92; max-width: 52ch; }
.cesu-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.cesu-steps { display: flex; flex-direction: column; gap: 16px; margin-top: 30px; }
.cesu-step { display: flex; gap: 16px; align-items: flex-start; }
.cesu-step .n {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  background: rgba(255,255,255,.16); display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 600; font-size: calc(18px * var(--type-scale));
}
.cesu-step b { display: block; font-size: calc(18px * var(--type-scale)); }
.cesu-step span { color: rgba(255,255,255,.85); font-size: calc(16px * var(--type-scale)); }

/* estimateur */
.estim {
  background: var(--cream-2); color: var(--ink); border-radius: var(--radius-lg);
  padding: 30px 32px; box-shadow: var(--shadow-lg);
}
.estim h3 { font-size: calc(21px * var(--type-scale)); margin-bottom: 4px; }
.estim .estim-sub { color: var(--ink-soft); font-size: calc(15px * var(--type-scale)); margin-bottom: 22px; }
.estim-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; font-size: calc(16px * var(--type-scale)); }
.estim-row .v { font-weight: 700; }
.estim input[type=range]{ width: 100%; accent-color: var(--brand); height: 30px; margin: 4px 0 18px; }
.estim-out { background: var(--brand-tint); border-radius: var(--radius); padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; }
.estim-out .lab { font-size: calc(15px * var(--type-scale)); color: var(--ink-soft); }
.estim-out .big { font-family: var(--font-display); font-weight: 600; font-size: calc(34px * var(--type-scale)); color: var(--brand); line-height: 1; }
.estim-out .was { font-size: calc(15px * var(--type-scale)); color: var(--ink-faint); text-decoration: line-through; }
.estim-foot { font-size: calc(13.5px * var(--type-scale)); color: var(--ink-faint); margin-top: 14px; line-height: 1.4; }

/* =====================  SECTIONS GÉNÉRIQUES  ===================== */
section.block { padding: 72px 0; }
.sec-head { text-align: center; max-width: 40ch; margin: 0 auto 44px; }
.sec-head .kicker { color: var(--accent-deep); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: calc(14px * var(--type-scale)); }
.sec-head h2 { font-size: calc(42px * var(--type-scale)); margin: 12px 0 14px; }
.sec-head p { font-size: calc(19px * var(--type-scale)); color: var(--ink-soft); }

/* =====================  SERVICES (cœur)  ===================== */
.services { background: var(--cream-2); }
.search-bar {
  display: flex; align-items: center; gap: 14px;
  background: var(--card); border: 2px solid var(--line-strong);
  border-radius: 999px; padding: 6px 6px 6px 22px; max-width: 640px; margin: 0 auto 22px;
  box-shadow: var(--shadow-sm); transition: border-color .18s ease, box-shadow .18s ease;
}
.search-bar:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.search-bar svg.ico { width: 24px; height: 24px; color: var(--ink-faint); flex: none; }
.search-bar input {
  border: none; outline: none; background: none; flex: 1; min-width: 0;
  font-family: var(--font-body); font-size: calc(19px * var(--type-scale)); color: var(--ink); padding: 14px 0;
}
.search-bar input::placeholder { color: var(--ink-faint); }
.search-clear {
  border: none; background: var(--brand); color: #fff; width: 46px; height: 46px; border-radius: 50%;
  display: none; place-items: center; cursor: pointer; flex: none;
}
.search-clear.show { display: grid; }
.search-clear svg { width: 20px; height: 20px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--card); border: 2px solid var(--line); color: var(--ink-soft);
  padding: 10px 18px; border-radius: 999px; cursor: pointer; font-weight: 600;
  font-size: calc(16px * var(--type-scale)); transition: all .15s ease; min-height: 48px;
}
.chip svg { width: 18px; height: 18px; }
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip .cnt { font-size: calc(13px * var(--type-scale)); opacity: .65; font-weight: 700; }

.svc-count { text-align: center; color: var(--ink-soft); font-size: calc(16px * var(--type-scale)); margin-bottom: 22px; }
.svc-count b { color: var(--ink); }

.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; display: flex; gap: 16px; align-items: flex-start;
  transition: transform .14s ease, box-shadow .18s ease, border-color .18s ease;
}
.svc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--brand-soft); }
.svc-ico {
  width: 50px; height: 50px; border-radius: 14px; flex: none;
  background: var(--brand-tint); color: var(--brand);
  display: grid; place-items: center;
}
.svc-ico svg { width: 26px; height: 26px; }
.svc-card h3 { font-size: calc(18.5px * var(--type-scale)); margin-bottom: 5px; line-height: 1.2; }
.svc-card p { margin: 0; color: var(--ink-soft); font-size: calc(15.5px * var(--type-scale)); line-height: 1.45; }
.svc-cat-tag { display: inline-block; margin-top: 10px; font-size: calc(12.5px * var(--type-scale)); font-weight: 700; color: var(--accent-deep); }

.svc-empty { text-align: center; padding: 50px 20px; color: var(--ink-soft); grid-column: 1 / -1; display: none; }
.svc-empty.show { display: block; }
.svc-empty svg { width: 48px; height: 48px; color: var(--ink-faint); margin-bottom: 14px; }
.svc-empty b { color: var(--ink); font-size: calc(20px * var(--type-scale)); }

.svc-foot { text-align: center; margin-top: 38px; font-size: calc(18px * var(--type-scale)); color: var(--ink-soft); }
.svc-foot a { color: var(--brand); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--brand-soft); }

/* =====================  COMMENT ÇA SE PASSE  ===================== */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; position: relative; }
.step-card .num {
  font-family: var(--font-display); font-weight: 600; font-size: calc(46px * var(--type-scale));
  color: var(--brand-soft); line-height: 1; margin-bottom: 12px;
}
.step-card h3 { font-size: calc(20px * var(--type-scale)); margin-bottom: 8px; }
.step-card p { margin: 0; color: var(--ink-soft); font-size: calc(16px * var(--type-scale)); }

/* =====================  CONFIANCE  ===================== */
.trust { background: var(--brand-tint); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.trust-card { background: var(--card); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); display: flex; gap: 16px; align-items: flex-start; }
.trust-card .t-ico { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-deep); display: grid; place-items: center; flex: none; }
.trust-card .t-ico svg { width: 24px; height: 24px; }
.trust-card h3 { font-size: calc(18.5px * var(--type-scale)); margin-bottom: 6px; }
.trust-card p { margin: 0; color: var(--ink-soft); font-size: calc(15.5px * var(--type-scale)); }

/* =====================  TARIFS  ===================== */
.price-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 880px; margin: 0 auto; }
.price-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-sm); }
.price-card.feature { border: 2px solid var(--brand); box-shadow: var(--shadow-md); position: relative; }
.price-card.feature::before { content: "Le plus demandé"; position: absolute; top: -14px; left: 36px; background: var(--accent); color: #fff; font-weight: 700; font-size: calc(13px * var(--type-scale)); padding: 6px 14px; border-radius: 999px; }
.price-card h3 { font-size: calc(22px * var(--type-scale)); margin-bottom: 4px; }
.price-card .price-sub { color: var(--ink-soft); font-size: calc(15px * var(--type-scale)); margin-bottom: 20px; }
.price-amt { display: flex; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.price-amt .now { font-family: var(--font-display); font-weight: 600; font-size: calc(48px * var(--type-scale)); color: var(--brand); line-height: 1; }
.price-amt .unit { font-size: calc(17px * var(--type-scale)); color: var(--ink-soft); }
.price-was { font-size: calc(15px * var(--type-scale)); color: var(--ink-faint); margin-bottom: 22px; }
.price-was s { color: var(--ink-faint); }
.price-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.price-list li { display: flex; gap: 11px; align-items: flex-start; font-size: calc(16px * var(--type-scale)); }
.price-list svg { width: 21px; height: 21px; color: var(--good); flex: none; margin-top: 2px; }

/* =====================  AVIS  ===================== */
.avis-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.avis-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.stars { display: flex; gap: 3px; margin-bottom: 14px; color: var(--accent); }
.stars svg { width: 20px; height: 20px; }
.avis-card blockquote { margin: 0 0 18px; font-size: calc(17.5px * var(--type-scale)); line-height: 1.5; }
.avis-who { display: flex; align-items: center; gap: 12px; }
.avis-ava { width: 44px; height: 44px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-deep); display: grid; place-items: center; flex: none; }
.avis-ava svg { width: 26px; height: 26px; }
.avis-who b { font-size: calc(16px * var(--type-scale)); }
.avis-who span { display: block; color: var(--ink-soft); font-size: calc(14px * var(--type-scale)); }

/* =====================  CONTACT  ===================== */
.contact { background: var(--brand-deep); color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact h2 { font-size: calc(42px * var(--type-scale)); margin-bottom: 16px; }
.contact .c-lead { font-size: calc(19px * var(--type-scale)); opacity: .9; margin-bottom: 30px; max-width: 40ch; }
.contact-phone {
  display: inline-flex; align-items: center; gap: 16px; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); padding: 20px 26px; color: #fff;
}
.contact-phone .ph-ico { width: 52px; height: 52px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; flex: none; }
.contact-phone .ph-ico svg { width: 26px; height: 26px; }
.contact-phone .ph-lab { display: block; font-size: calc(14.5px * var(--type-scale)); opacity: .82; }
.contact-phone .ph-num { display: block; font-family: var(--font-display); font-weight: 600; font-size: calc(22px * var(--type-scale)); line-height: 1.15; }
.contact-hours { margin-top: 22px; display: flex; align-items: center; gap: 11px; opacity: .85; font-size: calc(16px * var(--type-scale)); }
.contact-hours svg { width: 20px; height: 20px; }

.form-card { background: var(--card); color: var(--ink); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-lg); }
.form-card h3 { font-size: calc(23px * var(--type-scale)); margin-bottom: 6px; }
.form-card .f-sub { color: var(--ink-soft); font-size: calc(15px * var(--type-scale)); margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: calc(15.5px * var(--type-scale)); margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--font-body); font-size: calc(17px * var(--type-scale)); color: var(--ink);
  padding: 14px 16px; border: 2px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--cream-2);
  outline: none; transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); background: var(--card); }
.field textarea { resize: vertical; min-height: 92px; }
/* ===== Modal confirmation rappel ===== */
.thx-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(10,20,50,.45);
  backdrop-filter: blur(3px);
  align-items: center; justify-content: center;
  padding: 1rem;
}
.thx-overlay.open { display: flex; animation: thxFadeIn .2s ease; }
@keyframes thxFadeIn { from { opacity:0 } to { opacity:1 } }

.thx-box {
  background: #fff;
  border-radius: 18px;
  padding: 1.6rem 1.4rem 1.4rem;
  max-width: 340px; width: 100%;
  box-shadow: 0 12px 48px rgba(10,20,50,.22);
  text-align: center;
  animation: thxSlideUp .25s ease;
}
@keyframes thxSlideUp { from { transform: translateY(18px); opacity:0 } to { transform: none; opacity:1 } }

.thx-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: #d1fae5; color: #059669;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto .9rem;
}
.thx-icon svg { width: 26px; height: 26px; }
.thx-title { font-size: 1.2rem; font-weight: 800; color: var(--brand-deep); margin: 0 0 .35rem; }
.thx-msg { font-size: .92rem; color: #444; margin: 0 0 .9rem; line-height: 1.5; }
.thx-msg strong { color: var(--brand-deep); }

.thx-recap {
  background: var(--cream); border-radius: 10px;
  padding: .65rem .85rem; margin-bottom: 1.1rem;
  font-size: .8rem; color: #555; line-height: 1.6;
  text-align: left;
}
.thx-recap:empty { display: none; }
.thx-recap b { color: var(--brand-deep); }

.thx-close { width: 100%; font-size: .95rem; }

/* =====================  PIED DE PAGE  ===================== */
.footer { background: var(--cream); border-top: 1px solid var(--line); padding: 40px 0; }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; align-items: center; }
.footer .f-brand { display: flex; align-items: center; gap: 12px; }
.footer p { margin: 0; color: var(--ink-soft); font-size: calc(15px * var(--type-scale)); }
.footer .f-legal { color: var(--ink-faint); font-size: calc(13.5px * var(--type-scale)); max-width: 46ch; }

/* =====================  RESPONSIVE  ===================== */
@media (max-width: 960px){
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 420px; }
  .cesu-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .svc-grid, .trust-grid, .avis-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px){
  body { font-size: calc(18px * var(--type-scale)); }
  .hero { padding: 36px 0 44px; }
  .hero h1 { font-size: calc(38px * var(--type-scale)); }
  .hero .lead { font-size: calc(19px * var(--type-scale)); max-width: none; }
  .sec-head h2, .cesu h2, .contact h2 { font-size: calc(30px * var(--type-scale)); }
  .svc-grid, .trust-grid, .avis-grid, .steps-grid, .price-wrap { grid-template-columns: 1fr; }
  .wrap { padding: 0 18px; }
  section.block { padding: 52px 0; }
  /* CTA pleine largeur, empilés */
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .hero-visual { max-width: none; margin-bottom: 12px; }
  .hero-badge { left: 50%; transform: translateX(-50%); bottom: -22px; }
  .cesu { padding: 44px 0; }
  .estim { padding: 24px 20px; }
  .price-card.feature::before { left: 50%; transform: translateX(-50%); }
  /* place pour la barre de rappel fixe */
  body { padding-bottom: 84px; }
}

/* =====  BARRE DE RAPPEL FIXE (mobile only)  ===== */
.mobile-cta {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  background: color-mix(in srgb, var(--cream) 92%, transparent);
  backdrop-filter: blur(10px); border-top: 1px solid var(--line);
}
.mobile-cta .btn { width: 100%; }
@media (max-width: 600px){ .mobile-cta { display: block; } }

/* respect du mouvement réduit */
@media (prefers-reduced-motion: reduce){ * { scroll-behavior: auto !important; transition: none !important; } }
