:root {
  --brand: #8E1F1F;
  --brand-dark: #761919;
  --ink: #171717;
  --text: #5b6066;
  --muted: #8a8f96;
  --bg: #ffffff;
  --bg-2: #f7f7f8;
  --line: #e6e7e9;
  --pill: #f6f6f7;
  --radius: 16px;
  --maxw: 1180px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg); color: var(--ink);
  -webkit-font-smoothing: antialiased; line-height: 1.5;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
section { padding: 76px 0; position: relative; }
section[id] { scroll-margin-top: 84px; }
.bg-soft { background: var(--bg-2); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 26px; border-radius: 13px; font-weight: 600; font-size: 1rem;
  font-family: inherit; cursor: pointer; border: 1px solid transparent;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 22px rgba(142,31,31,.25); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: 0 4px 14px rgba(0,0,0,.04); }
.btn-outline:hover { border-color: #cfd1d4; transform: translateY(-1px); }
.btn-google { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: 0 6px 18px rgba(0,0,0,.06); gap: 9px; }
.btn-google:hover { border-color: #cfd1d4; transform: translateY(-1px); }
.btn-google .stars-mini { color: #f0a500; letter-spacing: 1px; }
.btn-sm { height: 46px; padding: 0 20px; font-size: .94rem; border-radius: 11px; }

/* ===== Section heads ===== */
.eyebrow { color: var(--brand); font-weight: 700; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; display: inline-block; margin-bottom: 12px; }
.eyebrow-line { display: inline-flex; align-items: center; gap: 12px; }
.eyebrow-line::before { content: ''; width: 34px; height: 2px; background: var(--brand); display: inline-block; }
.s-title { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.12; color: var(--ink); }
.s-sub { color: var(--text); max-width: 600px; margin-top: 14px; }
.center { text-align: center; }
.center .s-sub { margin-left: auto; margin-right: auto; }
.c { color: var(--brand); }

/* ===== NAVBAR ===== */
nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,.05);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.18rem; letter-spacing: -.02em; }
.logo .pin { width: 34px; height: 34px; border-radius: 11px; background: var(--ink); display: flex; align-items: center; justify-content: center; }
.logo .pin svg { width: 18px; height: 18px; }
.logo .logo-img { height: 40px; width: auto; display: block; }
.logo .c { color: var(--brand); }
.footer-logo .logo-img { height: 34px; width: auto; }
.nav-desktop { display: none; gap: 30px; align-items: center; }
.nav-desktop a { font-size: .92rem; font-weight: 500; color: #3f4348; transition: color .2s; }
.nav-desktop a:hover, .nav-desktop a.active { color: var(--brand); }
.nav-cta { background: var(--brand); color: #fff !important; padding: 10px 20px; border-radius: 11px; font-weight: 600; }
.nav-cta:hover { background: var(--brand-dark); }
.burger { width: 44px; height: 44px; border-radius: 12px; background: #f1f1f2; border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; cursor: pointer; }
.burger span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }
.burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 64px 0 0 0; z-index: 49; background: #fff; padding: 24px 20px; transform: translateX(100%); transition: transform .35s ease; display: flex; flex-direction: column; gap: 4px; }
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a { padding: 16px 6px; font-size: 1.1rem; font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-menu a.active { color: var(--brand); }
.mobile-menu a.cta { margin-top: 18px; background: var(--brand); color: #fff; text-align: center; border-radius: 12px; border: none; }

/* ===== HERO ===== */
.hero { position: relative; overflow: hidden; padding: 26px 0 40px; }
.hero-media { position: absolute; top: 0; right: 0; left: 0; height: 360px; z-index: 0; background: url('assets/hero.jpg') center/cover no-repeat; }
.hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.28) 0%, rgba(255,255,255,.7) 44%, #fff 78%), linear-gradient(90deg, rgba(255,255,255,.7) 0%, rgba(255,255,255,.12) 60%, rgba(255,255,255,0) 100%); }
.play { position: absolute; top: 130px; right: 34px; width: 62px; height: 62px; border-radius: 50%; background: rgba(255,255,255,.82); backdrop-filter: blur(4px); box-shadow: 0 10px 30px rgba(0,0,0,.18); display: flex; align-items: center; justify-content: center; }
.play::before { content: ''; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent var(--brand); margin-left: 4px; }
.hero-content { position: relative; z-index: 2; }
.badge { display: inline-flex; align-items: center; gap: 7px; background: var(--pill); border: 1px solid var(--line); padding: 7px 14px; border-radius: 999px; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #5a5f65; margin-bottom: 22px; }
.badge svg { width: 13px; height: 13px; }
.hero h1 { font-size: clamp(2.1rem, 9vw, 2.9rem); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; color: var(--ink); margin-bottom: 18px; max-width: 16ch; }
.hero h1 .c { color: var(--brand); }
.hero .sub { color: var(--text); font-size: 1.04rem; max-width: 30ch; margin-bottom: 30px; }
.hero .sub mark { background: rgba(142,31,31,.12); color: var(--brand); padding: 0 3px; border-radius: 3px; }
.hero-actions { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stat .num { font-size: 1.7rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; line-height: 1; }
.stat .lbl { font-size: .82rem; color: var(--muted); margin-top: 6px; }

/* ===== Page header (internal pages) ===== */
.page-head { padding: 56px 0 10px; }

/* ===== Cards générique ===== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,.07); border-color: #dfe0e2; }
.card .ic { width: 52px; height: 52px; border-radius: 13px; background: rgba(142,31,31,.08); color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 18px; }
.card h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--text); font-size: .95rem; }

/* ===== Pourquoi nous : carrousel auto-défilant ===== */
.why-wrap { overflow-x: auto; overflow-y: hidden; margin-top: 44px; cursor: grab; touch-action: pan-x; scrollbar-width: none; -webkit-overflow-scrolling: touch; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.why-wrap::-webkit-scrollbar { display: none; }
.why-wrap.grabbing { cursor: grabbing; }
.why-track { display: flex; width: max-content; padding: 8px 0; user-select: none; }
.why-track .card { width: 270px; flex-shrink: 0; margin-right: 22px; }

/* ===== Formules (cartes avec photo) ===== */
.presta-hero { height: 300px; border-radius: 22px; background-size: cover; background-position: center; margin: 4px 0; border: 1px solid var(--line); box-shadow: 0 18px 44px rgba(0,0,0,.14); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 40px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 10px 30px rgba(0,0,0,.07); transition: transform .25s, box-shadow .25s, border-color .25s; }
.plan:hover { transform: translateY(-5px); box-shadow: 0 22px 50px rgba(0,0,0,.10); }
.plan.featured { border-color: var(--brand); box-shadow: 0 22px 50px rgba(142,31,31,.12); }
.plan-photo { position: relative; height: 200px; background-size: cover; background-position: center; }
.plan-photo .tag { position: absolute; top: 14px; left: 14px; background: var(--brand); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .06em; padding: 6px 13px; border-radius: 999px; text-transform: uppercase; }
.plan-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex-grow: 1; }
.plan-body h3 { font-size: 1.3rem; font-weight: 800; }
.price { font-size: 1.5rem; font-weight: 800; color: var(--brand); margin: 8px 0 2px; letter-spacing: -.01em; }
.price-multi { margin: 8px 0 2px; line-height: 1.7; color: var(--muted); font-size: .95rem; }
.price-multi .pm-main { color: var(--brand); font-weight: 800; font-size: 1.25rem; margin-bottom: 2px; }
.price-multi .pm-main b, .price-multi b { color: var(--brand); }
.plan ul { margin: 18px 0 24px; display: grid; gap: 11px; flex-grow: 1; }
.plan ul li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); font-size: .94rem; }
.plan ul li svg { flex-shrink: 0; margin-top: 2px; }
.plan .btn { width: 100%; }

/* ===== Options & extras ===== */
.extras { max-width: 760px; margin: 30px 0 0; display: grid; gap: 14px; }
.extra-row { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; box-shadow: 0 4px 14px rgba(0,0,0,.03); }
.extra-row span { font-weight: 500; color: var(--ink); }
.extra-row b { color: var(--brand); font-weight: 700; white-space: nowrap; }
.extras-note { max-width: 760px; margin: 18px 0 0; color: var(--muted); font-size: .85rem; }

/* ===== About ===== */
.about { display: grid; grid-template-columns: .9fr 1.1fr; grid-template-areas: "photo text" "photo cta"; column-gap: 50px; row-gap: 24px; align-items: start; }
.about-photo { grid-area: photo; align-self: stretch; aspect-ratio: 4/5; border-radius: 20px; background: url('assets/about.jpg') center/cover; border: 1px solid var(--line); box-shadow: 0 24px 50px rgba(0,0,0,.14); }
.about-text { grid-area: text; }
.about-cta { grid-area: cta; justify-self: start; }
.about-points { margin-top: 18px; display: grid; gap: 14px; }
.about-points p { color: var(--text); font-size: 1rem; }
.about-points strong { color: var(--ink); font-weight: 700; }

/* ===== Notre vision ===== */
.vision { display: grid; grid-template-columns: 1.05fr .95fr; grid-template-areas: "text photo" "cta photo"; column-gap: 50px; row-gap: 22px; align-items: start; }
.vision-text { grid-area: text; }
.vision-cta { grid-area: cta; justify-self: start; align-self: start; }
.vision-photo { grid-area: photo; align-self: stretch; min-height: 380px; border-radius: 20px; background: url('assets/vision.jpg') center/cover; border: 1px solid var(--line); box-shadow: 0 24px 50px rgba(0,0,0,.16); }

/* ===== Zone d'intervention ===== */
.zone { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.zone-photo { height: 420px; border-radius: 20px; background: url('assets/about.jpg') center/cover; border: 1px solid var(--line); box-shadow: 0 24px 50px rgba(0,0,0,.14); }
.zone-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 26px; }
.zone-chips li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: .85rem; font-weight: 500; color: var(--ink); }
.ba-slide { display: none; }
.ba-slide.active { display: block; animation: fade .4s ease; }
.ba-slide .ba-slider { box-shadow: 0 18px 40px rgba(0,0,0,.12); aspect-ratio: 4/5; max-width: 420px; margin: 0 auto; }
.ba-cap { text-align: center; margin-top: 14px; font-weight: 600; color: var(--ink); }
.ba-cap span { display: block; color: var(--muted); font-weight: 400; font-size: .85rem; margin-top: 2px; }
.ba-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 14px; }
.ba-prev, .ba-next { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 1.5rem; line-height: 1; color: var(--ink); display: flex; align-items: center; justify-content: center; transition: .2s; }
.ba-prev:hover, .ba-next:hover { border-color: var(--brand); color: var(--brand); }
.ba-dots { display: flex; gap: 7px; }
.ba-dots button { width: 8px; height: 8px; border-radius: 999px; border: none; background: #d3d4d6; cursor: pointer; padding: 0; transition: .2s; }
.ba-dots button.active { background: var(--brand); width: 22px; }
@media (max-width: 980px) {
  .zone { grid-template-columns: 1fr; gap: 26px; }
  .zone-photo { height: 240px; order: 2; }
  .zone-ba { order: 2; }
}

/* ===== Nos formules (cartes) ===== */
.formules-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.fcard { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px 26px; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.fcard:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,.08); border-color: #dfe0e2; }
.fic { width: 54px; height: 54px; border-radius: 13px; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.fcard h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 10px; }
.fcard p { color: var(--text); font-size: .94rem; margin-bottom: 20px; flex-grow: 1; }
.flink { color: var(--brand); font-weight: 600; display: inline-flex; align-items: center; gap: 7px; transition: gap .2s ease; }
.flink:hover { gap: 11px; }
.fcard h3 { margin-bottom: 6px; }
.fcard .btn { margin-top: 4px; }
.fcards-bar { display: none; }
.fprice { font-size: 1.6rem; font-weight: 800; color: var(--ink); margin: 0 0 12px; letter-spacing: -.02em; }
.fprice b { color: var(--brand); }
.fprice.fprice-multi { font-size: 1.05rem; font-weight: 600; display: grid; gap: 2px; }
.fprice.fprice-multi span { color: var(--ink); }
.ffeat { display: grid; gap: 9px; margin-bottom: 18px; }
.ffeat li { display: flex; gap: 9px; align-items: flex-start; color: var(--text); font-size: .92rem; }
.ffeat li::before { content: '✓'; color: var(--brand); font-weight: 700; }
.checklist { margin-top: 22px; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .ck { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: rgba(142,31,31,.1); color: var(--brand); display: flex; align-items: center; justify-content: center; }
.checklist b { font-weight: 600; }
.checklist span { color: var(--text); }

/* ===== Before / After ===== */
.ba-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 44px; }
.ba-item h4 { text-align: center; margin-top: 14px; font-weight: 600; }
.ba-item p { text-align: center; color: var(--muted); font-size: .86rem; }
.ba-slider { position: relative; width: 100%; aspect-ratio: 4/3; border-radius: 16px; overflow: hidden; user-select: none; border: 1px solid var(--line); cursor: ew-resize; }
.ba-layer { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-weight: 700; letter-spacing: 1px; }
.ba-after { background: repeating-linear-gradient(45deg, rgba(142,31,31,.1) 0 14px, transparent 14px 28px), linear-gradient(135deg,#fbeaea,#f3d7d7); color: var(--brand); }
.ba-before { background: repeating-linear-gradient(45deg, rgba(0,0,0,.05) 0 14px, transparent 14px 28px), linear-gradient(135deg,#ededed,#dcdcdc); color: #8a8a8a; clip-path: inset(0 50% 0 0); }
.ba-tag { position: absolute; top: 12px; padding: 4px 11px; border-radius: 999px; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ba-tag.b { left: 12px; background: rgba(0,0,0,.55); color: #fff; }
.ba-tag.a { right: 12px; background: var(--brand); color: #fff; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: #fff; transform: translateX(-50%); pointer-events: none; box-shadow: 0 0 0 1px rgba(0,0,0,.1); }
.ba-handle::after { content: '⟺'; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--brand); display: flex; align-items: center; justify-content: center; font-weight: 700; box-shadow: 0 4px 14px rgba(0,0,0,.25); }

/* ===== Reviews ===== */
.reviews-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; }
.reviews-score { display: flex; align-items: center; gap: 14px; }
.reviews-score .big { font-size: 2.6rem; font-weight: 800; color: var(--brand); line-height: 1; }
.stars { color: #f0a500; letter-spacing: 2px; }
.reviews-wrap { overflow-x: auto; overflow-y: hidden; margin-top: 40px; cursor: grab; touch-action: pan-x; scrollbar-width: none; -webkit-overflow-scrolling: touch; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.reviews-wrap::-webkit-scrollbar { display: none; }
.reviews-wrap.grabbing { cursor: grabbing; }
.reviews-track { display: flex; width: max-content; user-select: none; }
.review { width: 330px; flex-shrink: 0; margin-right: 18px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: 0 6px 20px rgba(0,0,0,.04); }
.review-top { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }
.g-logo-sm { width: 32px; height: 32px; flex-shrink: 0; }
.review-id .nm { font-weight: 700; font-size: .92rem; color: var(--ink); }
.review-id .dt { font-size: .76rem; color: var(--muted); }
.review .stars { font-size: .95rem; margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.verified { vertical-align: middle; }
.review p { color: #3f4348; font-size: .94rem; }

/* En-tête Google */
.g-inline { width: 30px; height: 30px; vertical-align: -5px; margin-left: 4px; }
.google-score { display: inline-flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 22px; margin-top: 24px; box-shadow: 0 8px 24px rgba(0,0,0,.06); text-align: left; }
.google-score .g-logo { width: 36px; height: 36px; flex-shrink: 0; }
.gs-row { display: flex; align-items: center; gap: 10px; }
.gs-row .stars { font-size: 1.1rem; }
.gs-row b { font-size: 1.2rem; color: var(--ink); }
.gs-sub { font-size: .82rem; color: var(--muted); margin-top: 2px; }

/* ===== Devis form ===== */
.s-title .c { color: var(--brand); }
.devis-card { max-width: 720px; margin: 40px auto 0; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 36px; box-shadow: 0 20px 50px rgba(0,0,0,.06); }

/* Barre de progression (segments) */
.progress { display: flex; gap: 8px; margin-bottom: 30px; }
.progress .seg { flex: 1; height: 5px; border-radius: 999px; background: #ececee; transition: background .4s; }
.progress .seg.active { background: var(--brand); }

/* En-tête d'étape */
.q-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.q-step { color: var(--muted); font-size: .8rem; letter-spacing: .05em; text-transform: uppercase; }
.q-name { font-weight: 700; color: var(--ink); }
.step .q-title { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.q-sub { color: var(--muted); font-size: .9rem; margin-bottom: 4px; }
.q-note { color: var(--muted); font-size: .82rem; margin-top: 12px; }
/* Hauteur de carte constante : la navigation reste en bas sur chaque étape */
#devisForm { display: flex; flex-direction: column; min-height: 420px; }
.step.active { display: flex; flex-direction: column; flex: 1 1 auto; }

/* Sélecteur numérique (1/2/3/4+) */
.num-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px; }
.num { height: 58px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 14px; background: #fff; font-size: 1.15rem; font-weight: 700; line-height: 1; color: var(--ink); cursor: pointer; font-family: inherit; transition: .18s; }
.num:hover { border-color: #d9bcbc; }
.num.selected { background: var(--brand); border-color: var(--brand); color: #fff; }

/* Listes de choix (lignes) */
.select-list { display: grid; gap: 12px; margin-top: 16px; }
.srow { display: flex; align-items: center; gap: 13px; width: 100%; text-align: left; border: 1px solid var(--line); border-radius: 14px; padding: 18px; background: #fff; cursor: pointer; font-family: inherit; font-size: 1rem; font-weight: 600; color: var(--ink); transition: .18s; }
.srow:hover { border-color: #d9bcbc; }
.srow .lbl { flex-grow: 1; }
.srow .pt { color: var(--brand); font-weight: 700; }
.srow .rcheck { opacity: 0; color: #fff; font-weight: 800; transition: opacity .15s; }
/* Choix unique sélectionné = plein bordeaux */
.srow.selected:not(.check) { background: var(--brand); border-color: var(--brand); color: #fff; }
.srow.selected:not(.check) .rcheck { opacity: 1; }
.srow.selected:not(.check) .pt { color: #fff; }
/* Choix multiple (case à cocher) */
.srow.check .cbox { width: 24px; height: 24px; border-radius: 7px; border: 2px solid #cdd0d4; flex-shrink: 0; position: relative; transition: .18s; }
.srow.check.selected { background: var(--brand); border-color: var(--brand); color: #fff; }
.srow.check.selected .cbox { background: #fff; border-color: #fff; }
.srow.check.selected .cbox::after { content: '✓'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--brand); font-size: .85rem; font-weight: 800; }
.srow.check.selected .pt { color: #fff; }

/* Détail du devis (récapitulatif) */
.recap { margin-top: 22px; display: grid; gap: 9px; }
.recap-line { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; font-size: .92rem; color: var(--text); }
.recap-line b { color: var(--ink); font-weight: 600; white-space: nowrap; }
.recap-line.opt { color: var(--muted); }
.recap-line.opt b { color: var(--brand); }

/* Bouton désactivé */
.btn.is-disabled { opacity: .4; pointer-events: none; }
.steps-bar { display: flex; gap: 8px; margin-bottom: 30px; }
.sdot { flex: 1; height: 5px; border-radius: 999px; background: #ececee; transition: background .4s; }
.sdot.active { background: var(--brand); }
.step { display: none; animation: fade .4s ease; }
.step.active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(10px);} to { opacity: 1; transform: none;} }
.step h3 { font-size: 1.25rem; margin-bottom: 4px; }
.step .hint { color: var(--muted); margin-bottom: 22px; font-size: .92rem; }
.opt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: 12px; }
.choice { border: 1px solid var(--line); border-radius: 14px; padding: 18px 14px; cursor: pointer; transition: .2s; text-align: center; }
.choice:hover { border-color: #d9bcbc; }
.choice.selected { border-color: var(--brand); background: rgba(142,31,31,.06); }
.choice .ic { font-size: 1.5rem; margin-bottom: 6px; }
.choice .t { font-weight: 600; }
.choice .d { font-size: .8rem; color: var(--muted); margin-top: 3px; }
.check-grid { display: grid; gap: 10px; }
.check-row { display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; cursor: pointer; transition: .2s; }
.check-row:hover { border-color: #d9bcbc; }
.check-row.selected { border-color: var(--brand); background: rgba(142,31,31,.05); }
.check-row .cl { display: flex; align-items: center; gap: 11px; }
.check-row .cbox { width: 22px; height: 22px; border-radius: 6px; border: 2px solid #cdd0d4; display: flex; align-items: center; justify-content: center; color: #fff; font-size: .8rem; }
.check-row.selected .cbox { background: var(--brand); border-color: var(--brand); }
.check-row .pt { color: var(--brand); font-weight: 600; }
.estimate { margin-top: 24px; padding: 20px; border-radius: 14px; background: rgba(142,31,31,.07); border: 1px solid rgba(142,31,31,.18); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.estimate .lbl { font-weight: 500; }
.estimate .val { font-size: 1.9rem; font-weight: 800; color: var(--brand); }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: .85rem; margin-bottom: 6px; font-weight: 500; }
.field input, .field textarea { width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 11px; padding: 13px 15px; color: var(--ink); font-family: inherit; font-size: .95rem; transition: border-color .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); }
.field textarea { resize: vertical; min-height: 90px; }
.step-nav { display: flex; margin-top: auto; padding-top: 26px; gap: 12px; }
.step-nav .btn { min-width: 0; padding: 0 18px; white-space: nowrap; }
.step-nav #prevBtn { flex: 0 1 auto; }
.step-nav #nextBtn { flex: 1 1 auto; }
.devis-ok { display: none; text-align: center; padding: 26px 0; }
.devis-ok.show { display: block; animation: fade .5s ease; }
.devis-ok .okic { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 20px; background: rgba(142,31,31,.1); color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 2.2rem; }
.devis-ok h3 { font-size: 1.5rem; margin-bottom: 8px; }
.devis-ok p { color: var(--text); }

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 40px auto 0; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; overflow: hidden; background: #fff; }
.faq-q { width: 100%; background: none; border: none; color: var(--ink); font-family: inherit; font-size: 1.02rem; font-weight: 600; text-align: left; padding: 20px 22px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq-q .pm { color: var(--brand); font-size: 1.4rem; transition: transform .3s; flex-shrink: 0; }
.faq-item.open .faq-q .pm { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-a p { color: var(--text); padding: 0 22px 20px; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 44px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; text-align: center; }
.contact-card .ic { width: 52px; height: 52px; border-radius: 13px; background: rgba(142,31,31,.08); color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin: 0 auto 14px; }
.contact-card h4 { margin-bottom: 8px; }
.contact-card a, .contact-card p { color: var(--text); display: block; transition: color .2s; }
.contact-card a:hover { color: var(--brand); }
.socials { display: flex; gap: 12px; justify-content: center; margin-top: 14px; }
.socials a { width: 42px; height: 42px; border-radius: 11px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--brand); font-weight: 700; transition: .2s; }
.socials a:hover { background: var(--brand); color: #fff; }

/* ===== CTA band ===== */
.cta-band { background: var(--brand); color: #fff; text-align: center; }
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 520px; margin: 0 auto 28px; }
.cta-band .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-band .btn-primary { background: #fff; color: var(--brand); box-shadow: 0 8px 22px rgba(0,0,0,.18); }
.cta-band .btn-primary:hover { background: #f3f3f3; }
.cta-band .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); box-shadow: none; }
.cta-band .btn-outline:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* ===== Footer ===== */
footer { background: #141416; color: #fff; border-top: 1px solid rgba(255,255,255,.08); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 36px; margin-bottom: 32px; }
.footer-grid h5 { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 16px; }
.footer-grid p, .footer-grid a { color: rgba(255,255,255,.7); font-size: .92rem; margin-bottom: 9px; display: block; transition: color .2s; }
.footer-grid a:hover { color: #fff; }
.footer-logo { font-size: 1.4rem; font-weight: 800; margin-bottom: 14px; letter-spacing: -.02em; color: #fff; }
.footer-logo .c { color: #e23b30; }
.footer-bottom { text-align: center; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.45); font-size: .84rem; }

/* ===== Sticky action bar (mobile) ===== */
.actionbar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 24px rgba(0,0,0,.06); display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
.actionbar .btn { height: 50px; border-radius: 12px; }
body { padding-bottom: 86px; }
/* Sur la page Devis : pas de barre du bas (evite de confondre "Devis" et "Suivant") */
body.page-devis { padding-bottom: 0; }
body.page-devis .actionbar { display: none; }

/* ===== Scroll reveal ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ===== DESKTOP ===== */
@media (min-width: 768px) {
  body { padding-bottom: 0; }
  section { padding: 108px 0; }
  .burger, .mobile-menu { display: none; }
  .nav-desktop { display: flex; }
  .actionbar { display: none; }

  .hero { padding: 70px 0 90px; }
  .hero .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
  .hero-media {
    position: relative; top: auto; right: auto; left: auto;
    height: 440px; border-radius: 22px;
    border: 1px solid rgba(255,255,255,.6);
    box-shadow: 0 30px 60px rgba(0,0,0,.22), 0 12px 26px rgba(142,31,31,.16);
    transition: transform .4s ease, box-shadow .4s ease;
  }
  .hero-media:hover {
    transform: translateY(-5px);
    box-shadow: 0 40px 80px rgba(0,0,0,.26), 0 16px 34px rgba(142,31,31,.22);
  }
  .hero-media::after { background: linear-gradient(160deg, rgba(255,255,255,.05) 0%, rgba(0,0,0,.04) 70%, rgba(0,0,0,.1) 100%); }
  .play { top: 50%; right: 50%; transform: translate(50%, -50%); width: 76px; height: 76px; }
  .hero h1 { font-size: clamp(2.6rem, 4vw, 3.6rem); }
  .hero .sub { font-size: 1.12rem; max-width: 36ch; }
  .hero-actions { flex-direction: row; }
  .stats { max-width: 460px; }
  .stat .num { font-size: 2rem; }
}

/* ===== RESPONSIVE (tablet/mobile) ===== */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .plans { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .grid-3 { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .ba-grid { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
  .about { grid-template-columns: 1fr; grid-template-areas: "text" "cta" "photo"; row-gap: 24px; }
  .about-photo { align-self: stretch; aspect-ratio: auto; height: 240px; }
  .about-cta { justify-self: center; }
  .vision { grid-template-columns: 1fr; grid-template-areas: "text" "cta" "photo"; row-gap: 24px; }
  .vision-photo { align-self: stretch; min-height: 0; height: 240px; }
  .vision-cta { justify-self: center; }
  .formules-cards {
    grid-template-columns: none; display: flex; gap: 16px;
    overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    margin: 44px -20px 0; padding: 4px 20px 8px; max-width: none; scrollbar-width: none;
  }
  .formules-cards::-webkit-scrollbar { display: none; }
  .fcard { min-width: 84%; scroll-snap-align: center; }
  .fcards-bar { display: block; position: relative; width: 120px; height: 4px; background: rgba(0,0,0,.12); border-radius: 999px; margin: 18px auto 0; }
  .fcards-thumb { position: absolute; top: 0; bottom: 0; left: 0; width: 33%; background: var(--brand); border-radius: 999px; transition: left .1s linear; }
  .contact-grid { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .socials { justify-content: center; }
}
@media (max-width: 560px) {
  section { padding: 64px 0; }
  .grid-4 { grid-template-columns: 1fr; }
  .devis-card { padding: 24px 18px; }
  .presta-hero { height: 220px; }
  .extra-row { padding: 18px 20px; }
}
