/* Bain Bigorre - feuille de style unique
   Palette : pierre froide + bleu pétrole (marque) + terracotta (actions uniquement)
   Rayons : 14px cartes et images, 10px champs, pilule pour boutons */

:root {
  --bg: #f4f6f4;
  --surface: #ffffff;
  --surface-2: #e9eeec;
  --ink: #15201f;
  --muted: #4a5856;
  --line: #d5dddb;
  --brand: #0e4f4b;
  --brand-ink: #ffffff;
  --brand-soft: #dcebe8;
  --accent: #b8492a;
  --accent-hover: #9e3d22;
  --on-accent: #ffffff;
  --error: #b42318;
  --shadow: 0 18px 50px -20px rgb(14 79 75 / .28);
  --radius: 14px;
  --radius-sm: 10px;
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --max: 1240px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1514;
    --surface: #151f1e;
    --surface-2: #1c2928;
    --ink: #e7eeec;
    --muted: #a5b4b1;
    --line: #2b3b39;
    --brand: #5fb3a9;
    --brand-ink: #0b1716;
    --brand-soft: #1b3331;
    --accent: #e57a55;
    --accent-hover: #f08d6a;
    --on-accent: #1a0d07;
    --error: #ff8a7a;
    --shadow: 0 18px 50px -20px rgb(0 0 0 / .6);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-tight { padding: clamp(48px, 6vw, 72px) 0; }
.stack > * + * { margin-top: 1rem; }
.prose { max-width: 70ch; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brand); color: var(--brand-ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font: 600 1rem/1 var(--font-body); white-space: nowrap;
  padding: 1rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 10px 24px -12px var(--accent); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-lg { padding: 1.15rem 1.9rem; font-size: 1.05rem; }
.btn i { font-size: 1.2em; }

/* ---------- En-tête ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header .wrap { display: flex; align-items: center; gap: 24px; height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 600 1.25rem/1 var(--font-display); letter-spacing: -.02em; }
.logo-mark { width: 36px; height: 36px; border-radius: 10px; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; font-size: 1.3rem; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; padding: .55rem .8rem; border-radius: 999px; font-weight: 500; font-size: .96rem; color: var(--muted); white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--surface-2); }
.header .btn { padding: .75rem 1.2rem; font-size: .95rem; }
.header-phone { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 600; white-space: nowrap; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; color: var(--ink); font-size: 1.4rem; cursor: pointer; }

@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .header .btn { display: none; }
  .header-phone { display: none; }
  .nav.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; top: 70px; left: 0; right: 0; padding: 12px 16px 20px;
    background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav.open a { padding: .9rem 1rem; font-size: 1.05rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgb(8 26 25 / .86) 0%, rgb(8 26 25 / .7) 42%, rgb(8 26 25 / .15) 100%);
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; min-height: min(760px, calc(100dvh - 70px)); padding-top: 56px; padding-bottom: 56px; }
.hero-copy { color: #f3f7f6; }
.hero-copy h1 { color: #ffffff; }
.hero-copy .lead { color: #d3e0de; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 28px 0 0; padding: 0; list-style: none; color: #e6efed; font-weight: 500; }
.hero-badges li { display: flex; align-items: center; gap: 8px; }
.hero-badges i { color: #f3a487; font-size: 1.25rem; }
.eyebrow { display: inline-block; font: 600 .78rem/1 var(--font-body); text-transform: uppercase; letter-spacing: .16em; margin-bottom: 18px; color: #f3a487; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; min-height: 0; padding-top: 40px; padding-bottom: 32px; gap: 28px; }
  .hero::before { background: linear-gradient(180deg, rgb(8 26 25 / .78) 0%, rgb(8 26 25 / .88) 100%); }
}

/* Page intérieure : en-tête simple */
.page-hero { padding: clamp(40px, 6vw, 72px) 0 clamp(32px, 4vw, 48px); }
.page-hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.page-hero figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.page-hero figure img { width: 100%; height: 100%; object-fit: cover; }
.page-hero .btn { margin-top: 8px; }
@media (max-width: 900px) { .page-hero .wrap { grid-template-columns: 1fr; gap: 28px; } }

.breadcrumb { font-size: .9rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Formulaire de devis ---------- */
.quote {
  background: var(--surface); color: var(--ink);
  border-radius: 20px; padding: clamp(22px, 3vw, 34px);
  box-shadow: 0 30px 80px -30px rgb(0 0 0 / .55);
  border: 1px solid var(--line);
}
.quote-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.quote-title { font: 600 1.35rem/1.2 var(--font-display); margin: 0; }
.quote-count { font-size: .88rem; color: var(--muted); white-space: nowrap; }
.quote-progress { height: 4px; border-radius: 4px; background: var(--surface-2); margin: 14px 0 22px; overflow: hidden; }
.quote-progress span { display: block; height: 100%; width: 20%; background: var(--accent); border-radius: 4px; transition: width .5s var(--ease); }
.step { border: 0; padding: 0; margin: 0; min-width: 0; }
.step[hidden] { display: none; }
.step legend { font: 600 1.08rem/1.3 var(--font-display); margin-bottom: 14px; padding: 0; }
.step.is-in { animation: stepIn .45s var(--ease) both; }
@keyframes stepIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }

.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice label {
  display: flex; align-items: center; gap: 12px; min-height: 64px;
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-weight: 500; line-height: 1.25; cursor: pointer; background: var(--bg);
  transition: border-color .2s, background-color .2s, transform .2s var(--ease);
}
.choice label i { font-size: 1.6rem; color: var(--brand); flex: none; }
.choice input:hover + label { border-color: var(--brand); }
.choice input:checked + label { border-color: var(--brand); background: var(--brand-soft); box-shadow: inset 0 0 0 1px var(--brand); }
.choice input:focus-visible + label { outline: 3px solid var(--accent); outline-offset: 2px; }
.choices.compact label { min-height: 52px; justify-content: center; text-align: center; }
.choices.full { grid-template-columns: 1fr; }

.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label, .field .label { font-weight: 600; font-size: .95rem; }
.field .hint { font-size: .85rem; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem/1.4 var(--font-body); color: var(--ink);
  background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: .85rem .95rem; transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder, .field textarea::placeholder { color: color-mix(in srgb, var(--muted) 85%, transparent); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 25%, transparent); }
.field textarea { min-height: 96px; resize: vertical; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.field.invalid input, .field.invalid select { border-color: var(--error); }
.err { color: var(--error); font-size: .88rem; font-weight: 500; min-height: 0; }
.step-error { color: var(--error); font-weight: 500; font-size: .92rem; margin: 10px 0 0; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); margin: 6px 0 4px; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--brand); flex: none; }
.consent a { color: var(--ink); }
.hp { position: absolute; left: -5000px; }

.quote-nav { display: flex; gap: 10px; margin-top: 20px; align-items: center; }
.quote-nav .btn-primary { margin-left: auto; }
.btn-back { background: none; border: 0; color: var(--muted); font: 600 .95rem var(--font-body); cursor: pointer; padding: .8rem .4rem; display: inline-flex; gap: 6px; align-items: center; }
.btn-back:hover { color: var(--ink); }
.btn-back[hidden] { display: none; }
.quote-foot { margin: 16px 0 0; font-size: .85rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.quote-foot i { color: var(--brand); font-size: 1.1rem; }
.quote.is-sending .btn-primary { opacity: .7; pointer-events: none; }
.quote-success { text-align: center; padding: 24px 0; }
.quote-success i { font-size: 3rem; color: var(--brand); }

@media (max-width: 480px) {
  .choices { grid-template-columns: 1fr; }
  .choices.compact { grid-template-columns: 1fr 1fr; }
  .row-2 { grid-template-columns: 1fr; }
}

/* ---------- Bande de réassurance ---------- */
.assure { border-bottom: 1px solid var(--line); background: var(--surface); }
.assure ul { list-style: none; margin: 0; padding: 22px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.assure li { display: flex; gap: 12px; align-items: center; font-weight: 500; line-height: 1.3; }
.assure i { font-size: 1.8rem; color: var(--brand); flex: none; }
.assure small { display: block; color: var(--muted); font-weight: 400; font-size: .88rem; }
@media (max-width: 900px) { .assure ul { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .assure ul { grid-template-columns: 1fr; } }

/* ---------- Prestations (bento) ---------- */
.section-head { max-width: 64ch; margin-bottom: 40px; }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 260px; gap: 16px; }
.tile {
  position: relative; overflow: hidden; border-radius: var(--radius);
  text-decoration: none; color: #fff; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px; isolation: isolate;
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(8 26 25 / 0) 30%, rgb(8 26 25 / .85) 100%); }
.tile:hover img { transform: scale(1.05); }
.tile h3 { color: #fff; font-size: 1.4rem; margin-bottom: 6px; }
.tile p { margin: 0; color: #dbe6e4; max-width: 44ch; font-size: .98rem; }
.tile .go { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-weight: 600; color: #fff; }
.tile .go i { transition: transform .3s var(--ease); }
.tile:hover .go i { transform: translateX(4px); }
.t-a { grid-column: span 4; grid-row: span 2; }
.t-b { grid-column: span 2; }
.t-c { grid-column: span 2; }
.t-d { grid-column: span 3; }
.t-e { grid-column: span 3; background: var(--brand); }
.t-e::before { display: none; }
.t-e p { color: color-mix(in srgb, var(--brand-ink) 80%, transparent); }
.t-e h3, .t-e .go { color: var(--brand-ink); }
.t-e i.big { font-size: 2.4rem; color: var(--brand-ink); margin-bottom: auto; }
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 230px; }
  .t-a { grid-column: span 2; grid-row: span 1; }
  .t-b, .t-c { grid-column: span 1; }
  .t-d, .t-e { grid-column: span 2; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .t-a, .t-b, .t-c, .t-d, .t-e { grid-column: span 1; }
}

/* ---------- Étapes ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; position: relative; }
.steps li { position: relative; padding: 0 24px 0 0; }
.steps li::before {
  counter-increment: s; content: counter(s);
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--brand); color: var(--brand-ink); font: 600 1.15rem var(--font-display); margin-bottom: 18px;
  position: relative; z-index: 1;
}
.steps li::after { content: ""; position: absolute; top: 24px; left: 48px; right: 0; height: 2px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--muted); margin: 0; font-size: .98rem; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .steps li { padding: 0 0 0 68px; }
  .steps li::before { position: absolute; left: 0; top: 0; margin: 0; }
  .steps li::after { left: 23px; top: 52px; bottom: -22px; right: auto; width: 2px; height: auto; }
}

/* ---------- Galerie inspirations ---------- */
.gallery { columns: 3 280px; column-gap: 16px; }
.gallery figure { margin: 0 0 16px; break-inside: avoid; border-radius: var(--radius); overflow: hidden; }
.gallery img { width: 100%; transition: transform .8s var(--ease); }
.gallery figure:hover img { transform: scale(1.03); }

/* ---------- Bloc split (aides) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.split figure img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split figure { aspect-ratio: 16 / 10; } }

.aids { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 24px 0; }
.aid { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.aid strong { display: block; font: 600 1.05rem var(--font-display); margin-bottom: 4px; }
.aid span { color: var(--muted); font-size: .94rem; line-height: 1.5; display: block; }
@media (max-width: 560px) { .aids { grid-template-columns: 1fr; } }

/* ---------- Zone ---------- */
.zone { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 24px 0 0; }
.pills li { background: var(--bg); border: 1px solid var(--line); padding: .5rem .95rem; border-radius: 999px; font-weight: 500; font-size: .95rem; }
.pills li small { color: var(--muted); font-weight: 400; margin-left: 4px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font: 600 1.12rem/1.35 var(--font-display);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font: 400 1.8rem/1 var(--font-body); color: var(--brand); transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 0 22px; color: var(--muted); max-width: 70ch; }

/* ---------- Tableau de prix ---------- */
.prices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 28px 0; }
.price { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.price h3 { margin-bottom: 4px; }
.price .amount { font: 600 1.7rem/1.2 var(--font-display); color: var(--brand); margin: 10px 0 8px; letter-spacing: -.02em; }
.price p { color: var(--muted); margin: 0; font-size: .96rem; }
@media (max-width: 700px) { .prices { grid-template-columns: 1fr; } }

.note { border-left: 3px solid var(--brand); background: var(--brand-soft); padding: 14px 18px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: .96rem; }

/* ---------- Bandeau final ---------- */
.cta-band { background: var(--brand); color: var(--brand-ink); border-radius: 24px; padding: clamp(36px, 5vw, 64px); display: grid; grid-template-columns: 1.4fr auto; gap: 28px; align-items: center; position: relative; overflow: hidden; }
.cta-band h2 { color: var(--brand-ink); margin-bottom: 8px; }
.cta-band p { margin: 0; opacity: .85; max-width: 52ch; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Contenu service ---------- */
.service-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.service-aside { position: sticky; top: 94px; }
.service-aside .quote { box-shadow: var(--shadow); }
@media (max-width: 1000px) { .service-grid { grid-template-columns: 1fr; } .service-aside { position: static; } }

.checks { list-style: none; padding: 0 !important; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e4f4b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 14px no-repeat; }

.inline-figure { margin: 28px 0; border-radius: var(--radius); overflow: hidden; }

.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 18px; }
.related a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; font-weight: 600; background: var(--surface); transition: border-color .2s; }
.related a:hover { border-color: var(--brand); }

/* ---------- Pied de page ---------- */
.footer { background: #0b1918; color: #c6d3d1; padding: 64px 0 28px; margin-top: clamp(64px, 9vw, 112px); }
.footer a { color: #e4ecea; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer .logo { color: #fff; }
.footer .logo-mark { background: #5fb3a9; color: #0b1716; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer h3 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .95rem; }
.footer-bottom { border-top: 1px solid #22322f; margin-top: 44px; padding-top: 22px; font-size: .86rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Bouton devis mobile collant */
.mobile-cta { display: none; }
@media (max-width: 900px) {
  .mobile-cta {
    display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40;
    box-shadow: 0 14px 40px -10px rgb(0 0 0 / .5);
    transition: transform .35s var(--ease), opacity .35s;
  }
  .mobile-cta.is-hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }
  body { padding-bottom: 76px; }
}

/* Apparition au défilement */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
  .reveal.in { opacity: 1; transform: none; }
  .hero-copy > * { animation: rise .9s var(--ease) both; }
  .hero-copy > *:nth-child(2) { animation-delay: .08s; }
  .hero-copy > *:nth-child(3) { animation-delay: .16s; }
  .hero-copy > *:nth-child(4) { animation-delay: .24s; }
  .hero .quote { animation: rise 1s .2s var(--ease) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
