/* ===== SMA PRO — feuille de style unique ===== */
:root {
  --bg: #f6f9fc;
  --alt: #edf3f9;
  --card: #ffffff;
  --line: #dde6ee;
  --navy: #0c2a44;
  --navy-2: #163f63;
  --blue: #0a8de0;
  --blue-2: #2a9fea;
  --blue-btn: #0a7cc8;
  --blue-d: #0868b3;
  --blue-soft: #e8f3fd;
  --blue-line: #cbe3f7;
  --ink: #0c2233;
  --txt: #1b2630;
  --muted: #5a6875;
  --r: 18px;
  --head: "Archivo", "Arial Black", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--txt); font: 16px/1.55 var(--body); overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--head); line-height: 1.12; color: var(--ink); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
:focus-visible { outline: 2px solid var(--blue-d); outline-offset: 3px; border-radius: 6px; }
em { font-style: normal; color: var(--blue-d); }
h1 em, h2 em { color: var(--blue); }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.section { padding-top: 88px; }
.section-alt { background: var(--alt); margin-top: 88px; padding-bottom: 88px; }
.section-alt + .section { padding-top: 88px; }
.center { text-align: center; margin-top: 40px; }

/* ----- Titres de section ----- */
.head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.head h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -.015em; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font: 700 12px/1.2 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--navy); margin-bottom: 16px; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-d); }
.pill-blue { background: var(--blue-soft); border-color: var(--blue-line); color: var(--blue-d); }

/* ----- Boutons ----- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px;
  border-radius: 999px; font-weight: 700; font-size: 15px; transition: transform .15s, background .2s, border-color .2s, color .2s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); }
.btn-blue { background: var(--blue-btn); color: #fff; }
.btn-blue:hover { background: var(--blue); }
.btn-line { border: 1.5px solid var(--navy); color: var(--navy); background: #fff; }
.btn-line:hover { background: var(--navy); color: #fff; }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 14px; }

/* Bouton devis SMA PRO : pilule en dégradé bleu logo, flèche, reflet qui balaie le bouton */
.btn-cta { position: relative; overflow: hidden; gap: 10px; border-radius: 999px; color: #fff; font-weight: 700;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-btn) 55%, var(--blue-d) 100%);
  box-shadow: 0 10px 24px -8px rgba(8,104,179,.55), inset 0 1px 0 rgba(255,255,255,.25);
  transition: transform .25s, box-shadow .25s, filter .25s; }
.btn-cta:hover { transform: translateY(-2px); filter: saturate(1.15); box-shadow: 0 16px 30px -10px rgba(8,104,179,.6), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-cta::after { content: ""; position: absolute; inset: 0; pointer-events: none; transform: translateX(-120%);
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.38) 50%, transparent 65%); }
.btn-cta:hover::after, .is-shine::after { animation: cta-shine 3.4s ease-in-out infinite; }
.btn-cta:hover::after { animation-duration: 1.1s; animation-iteration-count: 1; }
@keyframes cta-shine { 0%, 58% { transform: translateX(-120%); } 88%, 100% { transform: translateX(120%); } }
.btn-cta.btn-sm { box-shadow: 0 6px 16px -6px rgba(8,104,179,.5); }
.cta-arrow { display: inline-block; font-weight: 800; transition: transform .25s; }
.btn-cta:hover .cta-arrow { transform: translateX(4px); }
.guarantee { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 7px 14px 7px 10px; border-radius: 999px;
  background: var(--blue-soft); color: var(--ink); font-size: 14px; font-weight: 500; }
.guarantee b { color: var(--blue-d); font-weight: 700; }
.guarantee svg { width: 18px; height: 18px; fill: none; stroke: var(--blue-d); stroke-width: 2; stroke-linecap: round; }
.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }

/* ----- Bandeau d'annonce ----- */
.announce { background: var(--blue-soft); color: var(--txt); font-size: 13.5px; font-weight: 500; border-bottom: 1px solid var(--blue-line); }
.announce-in { display: flex; justify-content: center; gap: 44px; height: 38px; align-items: center; }
.announce b { color: var(--blue-d); font-weight: 700; }
.announce span { position: relative; }
.announce span + span::before { content: "•"; position: absolute; left: -26px; color: var(--blue-d); }

/* ----- En-tête ----- */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(246,249,252,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.topbar.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(12,42,68,.4); }
.topbar-in { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { display: flex; align-items: center; }
.logo-img { height: 56px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; font-weight: 600; font-size: 15px; }
.nav a:not(.btn) { color: var(--txt); }
.nav a:not(.btn):hover { color: var(--blue-d); }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 1px solid var(--line); position: relative; }
.burger span { position: absolute; left: 12px; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, top .25s; }
.burger span:first-child { top: 16px; }
.burger span:last-child { top: 24px; width: 12px; }
.burger[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 20px; width: 18px; transform: rotate(-45deg); }

/* ----- Hero ----- */
.hero { padding-top: 10px; }
/* Cadre panoramique un peu moins haut que la photo : léger recadrage en haut et en bas seulement */
.hero-img { position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 21 / 8; max-height: 440px;
  max-width: 980px; margin-inline: auto; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.stamp { position: absolute; right: 26px; bottom: 26px; width: 118px; height: 118px; border-radius: 50%; background: var(--blue); color: #fff;
  display: grid; place-items: center; text-align: center; font: 900 21px/1.02 var(--head); text-transform: uppercase;
  transform: rotate(-10deg); box-shadow: 0 16px 34px -12px rgba(0,0,0,.45); transition: transform .25s; }
.stamp::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; border: 2px dashed rgba(255,255,255,.65); }
.stamp:hover { transform: rotate(-4deg) scale(1.04); }
.hero-txt { text-align: center; max-width: 820px; margin: 40px auto 0; }
.hero h1 { font-size: clamp(32px, 5vw, 58px); font-weight: 900; letter-spacing: -.02em; line-height: 1.05; }
.hero-lead { color: var(--muted); font-size: clamp(17px, 1.6vw, 19px); margin: 18px auto 0; max-width: 46ch; }
.hero-cta { display: flex; gap: 12px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }

/* ----- Promesse ----- */
.promise { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.promise li { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 30px 22px; text-align: center;
  transition: transform .2s, box-shadow .2s; }
.promise li:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -26px rgba(12,42,68,.35); }
.badge { display: grid; place-items: center; width: 50px; height: 50px; margin: 0 auto 16px; border-radius: 14px; background: var(--blue-soft); }
.badge svg { width: 24px; height: 24px; fill: none; stroke: var(--blue-d); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.promise h3 { font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.promise p { color: var(--muted); font-size: 15px; }


/* ----- Prestations ----- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s; }
.service:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -26px rgba(12,42,68,.35); }
.service img { width: 100%; aspect-ratio: 10 / 7; height: auto; object-fit: cover; }
.service-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.service h3 { font-size: 19px; font-weight: 800; margin-bottom: 6px; }
.service p { color: var(--muted); font-size: 15px; }
.more { margin-top: auto; padding-top: 16px; align-self: flex-start; font-weight: 700; font-size: 14px; color: var(--navy); }
.more > span:last-child { display: inline-block; transition: transform .2s; color: var(--blue-d); }
.more:hover > span:last-child { transform: translateX(4px); }

/* ----- Galerie carrelage ----- */
.gallery { display: grid; grid-template-columns: 1.5fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; height: clamp(320px, 44vw, 520px);
  border-radius: 22px; overflow: hidden; }
.g-item { position: relative; overflow: hidden; background: var(--alt); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.g-item:hover img { transform: scale(1.04); }
.g-main { grid-row: 1 / 3; }
.g-count { position: absolute; right: 12px; bottom: 12px; background: rgba(0,0,0,.6); backdrop-filter: blur(6px); color: #fff; font-weight: 700;
  padding: 6px 12px; border-radius: 999px; font-size: 14px; }

/* ----- Bloc prix usine ----- */
.usine { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: clamp(26px, 4vw, 48px); margin-top: 16px;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px 56px; }
.usine-title { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; letter-spacing: -.015em; }
.usine-lead { font-size: 17px; margin-top: 12px; color: var(--muted); }
.chips-label { margin: 22px 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 7px 14px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink); }
.checks { align-self: center; display: grid; gap: 22px; padding: 28px; border-radius: 16px; background: var(--blue-soft); }
.checks li { padding-left: 42px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--blue)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.checks h4 { font-size: 18px; font-weight: 800; margin-bottom: 3px; }
.checks p { color: #4f5a5f; font-size: 15px; }
.usine-cta { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 18px; background: var(--bg); color: var(--muted);
  border: 1px solid var(--line); border-radius: 16px; padding: 18px 18px 18px 28px; font-size: 16px; transition: border-color .2s; }
.usine-cta:hover { border-color: var(--blue-2); }
.usine-cta strong { color: var(--ink); font: 800 20px/1.2 var(--head); margin-right: 6px; }
.usine-cta-btn { flex: none; background: var(--navy); color: #fff; font-weight: 700; padding: 13px 24px; border-radius: 999px; transition: background .2s; }
.usine-cta:hover .usine-cta-btn { background: var(--navy-2); }

/* ----- Réalisations ----- */
.head-lead { color: var(--muted); margin-top: 12px; }
.real-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.real { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.real-body { padding: 18px 20px 20px; }
.real-body h3 { font-size: 18px; font-weight: 800; }
.real-lieu { color: var(--muted); font-size: 14px; margin-top: 4px; }
.real-infos { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.real-infos li { padding: 5px 11px; border-radius: 999px; background: var(--blue-soft); color: var(--blue-d); font-size: 13px; font-weight: 600; }
.real-texte { color: var(--txt); margin-top: 12px; }
/* Un seul chantier : grand comparateur à côté du texte (photos en hauteur) */
.real-grid.real-solo { grid-template-columns: 1fr; max-width: 900px; margin-inline: auto; }
.real-solo .real { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; }
.real-solo .ba { aspect-ratio: 3 / 4; max-height: 540px; width: 100%; }
.real-solo .real-body { padding: 32px 34px; }
.real-solo .real-body h3 { font-size: clamp(22px, 2.6vw, 28px); }

/* Comparateur avant / après */
.ba { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--alt); user-select: none; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-avant { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-ligne { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 10px rgba(0,0,0,.3); pointer-events: none; }
.ba-poignee { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 42px; height: 42px; border-radius: 50%; background: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 14px; color: var(--blue-d); box-shadow: 0 6px 18px rgba(0,0,0,.25); letter-spacing: -1px; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.ba-range:focus-visible + .ba-ligne, .ba:has(.ba-range:focus-visible) .ba-poignee { outline: 3px solid var(--blue); }
.ba-tag { position: absolute; top: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(12,34,51,.7); color: #fff; font-size: 12px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; pointer-events: none; }
.ba-tag-avant { left: 12px; }
.ba-tag-apres { right: 12px; background: var(--blue-btn); }
/* Aller-retour d'invitation à l'apparition (js/realisations.js) */
.ba-anim .ba-avant { transition: clip-path .6s ease-in-out; }
.ba-anim .ba-ligne { transition: left .6s ease-in-out; }

/* Emplacement en attendant les vraies photos */
.ba-vide { display: grid; place-content: center; justify-items: center; gap: 10px; color: var(--muted); font-weight: 600; font-size: 14px;
  border-bottom: 2px dashed var(--line); background: repeating-linear-gradient(45deg, var(--bg), var(--bg) 12px, var(--alt) 12px, var(--alt) 24px); }
.ba-vide svg { width: 38px; height: 38px; fill: none; stroke: var(--blue-d); stroke-width: 1.6; stroke-linejoin: round; }

/* ----- Étapes ----- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 27px; left: 12.5%; right: 12.5%; border-top: 2px dashed #a9cbe6; }
.steps li { text-align: center; position: relative; padding: 0 6px; }
.pin { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%; background: #fff; color: var(--navy);
  border: 2px solid var(--navy); font: 900 22px/1 var(--head); box-shadow: 0 0 0 8px var(--alt); position: relative; }
.pin-blue { background: var(--blue); border-color: var(--blue); color: #fff; }
.steps h3 { font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 15px; }

/* ----- FAQ (accordéon natif <details>) ----- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 16px; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: var(--blue-line); box-shadow: 0 14px 30px -24px rgba(12,42,68,.45); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; font: 700 16.5px/1.35 var(--body); color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--blue-soft)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230868b3' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .25s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--blue-d); }
.faq-item summary:focus-visible { outline: 2px solid var(--blue-d); outline-offset: -2px; border-radius: 16px; }
.faq-item p { padding: 0 20px 20px; color: var(--muted); }

/* ----- Contact ----- */
.contact { background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: clamp(34px, 5vw, 60px) 24px; text-align: center;
  box-shadow: 0 30px 60px -44px rgba(12,42,68,.45); }
.contact-logo { width: min(260px, 70%); height: auto; margin: 0 auto; }
.contact h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin: 18px 0 12px; }
.contact > p { color: var(--muted); font-size: 18px; }
.contact-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.contact-btns .btn { min-width: 150px; }
.contact-info { margin: 30px auto 0; padding-top: 24px; border-top: 1px solid var(--line); max-width: 620px; display: grid; gap: 10px; }
.contact-info div { display: flex; justify-content: center; gap: 6px; font-weight: 600; color: var(--ink); }
.contact-info dt::after { content: " :"; }
.contact-info dd { margin: 0; }
.todo { color: var(--blue-d); font-style: italic; }

/* ----- Pied ----- */
.footer { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 34px 0 40px; color: var(--muted); font-size: 14px; }
.footer a:hover { color: var(--blue-d); }

/* ----- Barre mobile ----- */
.mbar { display: none; }

/* ----- Visionneuse ----- */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(6,16,26,.94); display: flex; align-items: center; justify-content: center; }
.lb[hidden] { display: none; }
.lb figure { margin: 0; max-width: min(1100px, 92vw); }
.lb img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: 12px; }
.lb figcaption { text-align: center; color: #c9cfd2; margin-top: 12px; font-size: 15px; }
.lb-close { position: absolute; top: 14px; right: 18px; font-size: 40px; line-height: 1; width: 50px; height: 50px; color: #fff; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.12);
  font-size: 34px; line-height: 1; color: #fff; }
.lb-nav:hover { background: rgba(255,255,255,.22); }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }

/* ===== Tablette ===== */
@media (max-width: 1000px) {
  .promise, .services { grid-template-columns: repeat(2, 1fr); }
  .real-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== Mobile ===== */
@media (max-width: 860px) {
  .section { padding-top: 64px; }
  .section-alt { margin-top: 64px; padding-bottom: 64px; }
  .section-alt + .section { padding-top: 64px; }
  .head { margin-bottom: 28px; }

  .announce-in { display: grid; height: 36px; }
  .announce span { grid-area: 1 / 1; text-align: center; opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s; }
  .announce span.is-on { opacity: 1; transform: none; }
  .announce span + span::before { content: none; }

  .burger { display: block; }
  .logo-img { height: 48px; }
  .nav { position: fixed; inset: var(--nav-top, 106px) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px;
    background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px -24px rgba(12,42,68,.4);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 15px 4px; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav .btn { margin-top: 16px; min-height: 50px; }

  .hero-img { border-radius: 20px; aspect-ratio: 16 / 10; }
  .stamp { width: 70px; height: 70px; font-size: 12.5px; right: 10px; bottom: 10px; }
  .stamp::before { inset: 5px; }
  .hero-txt { margin-top: 28px; }
  .hero-cta .btn { flex: 1 1 100%; padding: 0 16px; }

  .usine { grid-template-columns: 1fr; }
  .usine-cta { flex-direction: column; align-items: stretch; text-align: center; padding: 22px; }
  .usine-cta strong { display: block; margin: 0 0 4px; }

  .steps { grid-template-columns: 1fr; gap: 0; max-width: 460px; margin: 0 auto; }
  .steps::before { top: 28px; bottom: 60px; left: 27px; right: auto; border-top: 0; border-left: 2px dashed #a9cbe6; }
  .steps li { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; text-align: left; padding: 0 0 26px; }
  .pin { grid-row: 1 / 3; margin: 0; }
  .steps h3 { align-self: end; margin-top: 6px; }

  .gallery { grid-template-columns: 1.45fr 1fr; height: 300px; border-radius: 18px; gap: 5px; }

  .footer { padding-bottom: 100px; }
  .mbar { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(246,249,252,.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .3s; }
  .mbar.show { transform: none; }
  .mbar .btn { flex: 1; min-height: 48px; }
}

@media (max-width: 520px) {
  .real-grid { grid-template-columns: 1fr; }
  .real-solo .real { grid-template-columns: 1fr; }
  .real-solo .real-body { padding: 18px 20px 20px; }
  .promise { gap: 10px; }
  .promise li { padding: 22px 12px; }
  .promise h3 { font-size: 16px; }
  .promise p { font-size: 14px; }
  .services { grid-template-columns: 1fr 1fr; gap: 10px; }
  .service-body { padding: 14px 14px 16px; }
  .service h3 { font-size: 16px; }
  .service p { font-size: 14px; }
  .more { font-size: 13px; }
  .gallery { height: 250px; }
  .checks { padding: 22px 18px; }
  .contact-btns .btn { flex: 1 1 100%; }
  .contact-info div { flex-direction: column; gap: 0; }
  .contact-info dt { color: var(--muted); font-weight: 500; font-size: 14px; }
  .contact-info dt::after { content: ""; }
  .lb-nav { width: 44px; height: 44px; font-size: 28px; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
}

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

/* Texte raccourci sur petits écrans */
.show-s { display: none; }
@media (max-width: 520px) { .hide-s { display: none; } .show-s { display: inline; } }
