
/* Concept : fond noir, blanc et un seul rouge comme le logo. CarPlay en tête, prestations en gros, puis les réalisations. */
:root {
  --bg: #000000;
  --surface: #0C0C0E;
  --fg: #F5F5F4;
  --muted: #9C9CA2;
  --line: #1E1E22;
  --accent: #E31E24;
  --accent-ink: #FFFFFF;
  --accent-text: #FF4B50;
  --display: 'Archivo', 'Arial Black', system-ui, sans-serif;
  --body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: #000; }
[id] { scroll-margin-top: 84px; }
body { background: var(--bg); color: var(--fg); font-family: var(--body); font-size: 16px; line-height: 1.6; margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

/* En-tête */
.top { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; }
.top img { height: 36px; width: auto; }
.top-right { display: flex; align-items: center; gap: 22px; }
.top-tel { font-size: 15px; font-weight: 600; text-decoration: none; color: var(--muted); white-space: nowrap; }
.top-tel:hover { color: var(--fg); }
.top-cta { font-size: 14px; font-weight: 700; text-decoration: none; color: var(--accent-ink); background: var(--accent); padding: 10px 18px; border-radius: 6px; white-space: nowrap; }
.top-cta:hover { filter: brightness(1.08); }

/* Accueil : tient dans l'écran */
.hero { padding-block: 48px 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 56px; align-items: center; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-text); margin: 0 0 20px; }
h1 { font-family: var(--display); font-weight: 800; font-stretch: 110%; font-size: clamp(38px, 5.6vw, 66px); line-height: 1.02; letter-spacing: -0.02em; margin: 0 0 22px; text-wrap: balance; text-transform: uppercase; }
h1 em { font-style: normal; color: var(--accent); display: block; }
.lead { font-size: 18px; color: var(--muted); margin: 0 0 32px; max-width: 44ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-block; font: 700 16px/1 var(--body); padding: 17px 24px; border-radius: 6px; text-decoration: none; text-align: center; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-line { border: 1px solid #3A3A40; color: var(--fg); }
.btn-line:hover { border-color: var(--fg); }
.proof-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 26px 0 0; font-size: 15px; color: var(--muted); }
.stars { color: #FBBC04; letter-spacing: 2px; font-size: 16px; }
.proof-line b { color: var(--fg); }
.proof-line a { color: var(--fg); text-underline-offset: 3px; }
.proof-line a:hover { color: var(--accent); }
.tel-big { margin: 22px 0 0; font-size: 15px; color: var(--muted); }
.tel-big b { color: var(--fg); font-family: var(--display); font-size: 22px; font-weight: 800; letter-spacing: 0.01em; }
.hero-photo { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 5; max-height: 62svh; width: 100%; justify-self: end; border: 1px solid var(--line); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.zones { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 44px; padding-bottom: 48px; }
.zones span { font-size: 14px; font-weight: 700; border: 1px solid var(--line); border-radius: 999px; padding: 8px 15px; background: var(--surface); }
.zones span::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: 8px; vertical-align: 1px; }
.zones .lbl { border: 0; background: none; color: var(--muted); padding-left: 0; font-weight: 600; margin-right: 6px; }
.zones .lbl::before { display: none; }
.zones .more { border-style: dashed; color: var(--muted); }
.zones .more::before { display: none; }

/* Sections */
section.block { padding-block: 88px; border-top: 1px solid var(--line); }
.label { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-text); margin: 0 0 14px; }
h2.big { font-family: var(--display); font-weight: 800; font-stretch: 108%; font-size: clamp(30px, 4.2vw, 48px); line-height: 1.05; letter-spacing: -0.02em; text-transform: uppercase; margin: 0 0 36px; text-wrap: balance; }

/* Prestations en gros */
.services-big { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.services-big li { border-bottom: 1px solid var(--line); padding: 18px 0; font-family: var(--display); font-weight: 800; font-stretch: 108%; text-transform: uppercase; font-size: clamp(24px, 3.6vw, 40px); line-height: 1.1; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.services-big li.main { color: var(--accent); }
.services-big small { display: block; font-family: var(--body); font-weight: 500; text-transform: none; letter-spacing: 0; font-size: 15px; color: var(--muted); margin-top: 8px; }

/* Carrousel des réalisations */
.slider { position: relative; min-width: 0; }
.track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; border-radius: 14px; }
.track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; margin: 0; min-width: 0; }
.slide button { all: unset; cursor: zoom-in; display: block; width: 100%; }
.slide img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); }
.slide figcaption { font-size: 15px; color: var(--muted); margin-top: 14px; }
.slide figcaption b { color: var(--fg); font-weight: 700; }
.slide button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 14px; }
.arrow { position: absolute; top: calc((100% - 48px) / 2 - 22px); width: 48px; height: 48px; border-radius: 50%; border: 1px solid #3A3A40; background: rgba(0,0,0,0.7); color: var(--fg); font-size: 26px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.arrow:hover { border-color: var(--accent); color: var(--accent); }
.arrow.prev { left: 12px; }
.arrow.next { right: 12px; }
.dots { display: flex; justify-content: center; gap: 10px; margin-top: 20px; }
.dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: #3A3A40; cursor: pointer; }
.dots button[aria-current="true"] { background: var(--accent); }
@media (prefers-reduced-motion: reduce) { .track { scroll-behavior: auto; } html { scroll-behavior: auto; } }

dialog#zoom { border: 0; padding: 0; background: transparent; max-width: min(96vw, 900px); max-height: 92svh; }
dialog#zoom::backdrop { background: rgba(0,0,0,0.9); }
dialog#zoom img { display: block; max-width: 100%; max-height: 88svh; border-radius: 12px; margin: 0 auto; }
dialog#zoom .close { position: absolute; top: 10px; right: 10px; font: 700 14px/1 var(--body); background: var(--accent); color: var(--accent-ink); border: 0; border-radius: 6px; padding: 10px 14px; cursor: pointer; }
dialog#zoom .frame { position: relative; }

/* Zones d'intervention */
.cities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.city { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 30px; min-width: 0; }
.city h3 { font-family: var(--display); font-weight: 800; font-stretch: 108%; font-size: clamp(26px, 3.2vw, 36px); text-transform: uppercase; margin: 0 0 8px; line-height: 1.05; }
.city p { margin: 0; color: var(--muted); font-size: 15px; }
.also { margin: 32px 0 14px; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.depts { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.depts li { font-size: 15px; font-weight: 700; border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; background: var(--surface); }
.zones-more { margin: 16px 0 0; color: var(--muted); font-size: 15px; }

/* Avis */
.review-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.review { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 12px; min-width: 0; margin: 0; }
.review .stars { font-size: 14px; letter-spacing: 1px; }
.review blockquote { margin: 0; font-size: 14px; line-height: 1.5; color: var(--fg); }
.review figcaption { font-size: 13px; color: var(--muted); margin-top: auto; }
.review figcaption b { color: var(--fg); font-weight: 700; }
.reviews { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 30px 32px; }
.reviews .score { font-family: var(--display); font-weight: 800; font-size: 52px; line-height: 1; }
.reviews .stars { font-size: 22px; }
.reviews p { margin: 8px 0 0; color: var(--muted); font-size: 15px; }
.reviews .btn { border: 1px solid #3A3A40; color: var(--fg); }
.reviews .btn:hover { border-color: var(--fg); }
.reviews-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Devis */
.two { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.contact { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 16px; }
.contact li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; font-size: 16px; overflow-wrap: anywhere; }
.contact small { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); padding-top: 5px; }
.contact b { font-family: var(--display); font-weight: 800; font-size: 20px; }
.todo { color: var(--accent-text); border-bottom: 1px dashed var(--accent); }
form { display: grid; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; min-width: 0; }
input, select, textarea { font: 400 16px/1.4 var(--body); color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; width: 100%; min-width: 0; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: none; }
textarea { resize: vertical; min-height: 90px; }
textarea#resultat { font-size: 14px; min-height: 110px; color: var(--muted); }
.copy-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.copy-row .btn { border: 0; cursor: pointer; font-size: 15px; }
.status { font-size: 14px; color: var(--accent-text); margin: 0; min-height: 1.2em; }

/* Barre d'action fixe sur téléphone */
.mbar { display: none; }

footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 24px; padding-block: 32px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }
footer img { height: 32px; width: auto; }

/* Tablette */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .hero-photo { justify-self: stretch; aspect-ratio: 4 / 3; max-height: none; }
  .hero-photo img { object-position: 50% 30%; }
  .zones { margin-top: 26px; }
  .review-cards { grid-template-columns: minmax(0, 1fr); }
  .two { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .cities { grid-template-columns: minmax(0, 1fr); }
  section.block { padding-block: 64px; }
}

/* Téléphone */
@media (max-width: 640px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .top .wrap { height: 60px; }
  .top img { height: 32px; }
  .top-cta { padding: 9px 14px; font-size: 14px; }
  .hero { padding-block: 28px 0; }
  .hero-grid { gap: 24px; }
  h1 { font-size: 36px; margin-bottom: 16px; }
  .eyebrow { font-size: 11px; margin-bottom: 14px; }
  .lead { font-size: 16px; margin-bottom: 22px; }
  .actions { flex-direction: column; }
  .actions .btn { width: 100%; }
  .proof-line { font-size: 14px; margin-top: 18px; }
  .tel-big { font-size: 14px; margin-top: 16px; }
  .tel-big b { font-size: 20px; }
  .hero-photo { aspect-ratio: 4 / 3; border-radius: 12px; }
  .zones { margin-top: 20px; padding-bottom: 28px; gap: 6px; }
  .zones span { font-size: 13px; padding: 7px 12px; }
  section.block { padding-block: 48px; }
  h2.big { font-size: 30px; margin-bottom: 22px; }
  .services-big li { padding: 14px 0; font-size: 24px; }
  .services-big small { font-size: 14px; }
  .slide img { border-radius: 12px; aspect-ratio: 16 / 9; height: auto; }
  .slide figcaption { font-size: 13px; margin-top: 10px; }
  .slide figcaption { font-size: 14px; }
  .arrow { width: 40px; height: 40px; font-size: 22px; top: calc((100% - 40px) / 2 - 22px); }
  .city { padding: 22px; }
  .review { padding: 18px; }
  .reviews { padding: 22px; }
  .reviews .score { font-size: 40px; }
  .reviews-actions { width: 100%; }
  .reviews-actions .btn { flex: 1 1 100%; text-align: center; }
  .contact li { grid-template-columns: 74px minmax(0, 1fr); }
  .contact b { font-size: 18px; }
  .grid2 { grid-template-columns: minmax(0, 1fr); }
  form { padding: 18px; }
  .copy-row .btn { width: 100%; text-align: center; }
  .top-tel { display: none; }

  .mbar {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 6;
    padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
    background: rgba(0,0,0,0.92); border-top: 1px solid var(--line);
  }
  .mbar .num { font-size: 14px; font-weight: 700; color: var(--fg); white-space: nowrap; }
  .mbar .num small { display: block; font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
  .mbar .btn { padding: 14px 16px; font-size: 15px; white-space: nowrap; }
}

/* Pages prestations */
.svc-top { border-bottom: 1px solid var(--line); }
.crumb { font-size: 13px; color: var(--muted); padding-top: 28px; }
.crumb a { text-decoration: none; }
.crumb a:hover { color: var(--fg); }
.svc-hero { padding-block: 36px 56px; }
.svc-hero h1 { font-size: clamp(36px, 5vw, 60px); margin-bottom: 18px; }
.svc-hero .lead { max-width: 60ch; }
.svc-points { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.svc-points li { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px; min-width: 0; }
.svc-points b { display: block; font-family: var(--display); font-weight: 800; font-stretch: 108%; text-transform: uppercase; font-size: 20px; margin-bottom: 6px; }
.svc-points span { color: var(--muted); font-size: 15px; }
.photos-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.photos-grid figure { margin: 0; min-width: 0; }
.photos-grid img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }
.photos-grid figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; }
.photos-grid figcaption b { color: var(--fg); }
.placeholder { border: 1px dashed #3A3A40; border-radius: 14px; padding: 40px 24px; text-align: center; color: var(--muted); font-size: 15px; }
.placeholder b { display: block; color: var(--fg); font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 20px; margin-bottom: 6px; }
.svc-cta { background: var(--accent); color: var(--accent-ink); border-radius: 14px; padding: 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.svc-cta h2 { font-family: var(--display); font-weight: 800; font-stretch: 108%; text-transform: uppercase; font-size: clamp(26px, 3.6vw, 40px); line-height: 1.05; margin: 0 0 8px; }
.svc-cta p { margin: 0; opacity: 0.95; }
.svc-cta .btn { background: #000; color: #fff; }
.svc-back { margin-top: 28px; font-size: 15px; }
.svc-back a { color: var(--fg); text-underline-offset: 3px; }
.services-big a { color: inherit; text-decoration: none; display: block; }
.services-big a:hover { color: var(--accent); }
.services-big li.main a { color: var(--accent); }
@media (max-width: 860px) { .svc-points { grid-template-columns: minmax(0, 1fr); } .photos-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .svc-hero { padding-block: 22px 40px; }
  .svc-hero h1 { font-size: 34px; }
  .svc-cta { padding: 24px; }
  .svc-cta .btn { width: 100%; text-align: center; }
  .photos-grid img { aspect-ratio: 16 / 9; }
  .placeholder { padding: 28px 18px; }
}

.filtres { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.filtres button { font: 600 13px/1 var(--body, system-ui); letter-spacing: .04em; text-transform: uppercase; color: #fff; background: transparent; border: 1px solid #3a3a3a; border-radius: 999px; padding: 11px 16px; min-height: 44px; cursor: pointer; }
.filtres button[aria-pressed="true"] { background: #E31E24; border-color: #E31E24; }
.filtres button:focus-visible { outline: 2px solid #E31E24; outline-offset: 2px; }
.filtres.type button { text-transform: none; letter-spacing: 0; }
.rcount { color: #bdbdbd; font-size: 14px; margin: 6px 0 22px; }
.rgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (min-width: 860px) { .rgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; } }
.rcard { margin: 0; min-width: 0; }
.rcard[hidden] { display: none; }
.rcard button { display: block; width: 100%; padding: 0; border: 0; background: #0b0b0b; border-radius: 6px; overflow: hidden; cursor: zoom-in; aspect-ratio: 3 / 4; }
.rcard img { width: 100%; height: 100%; object-fit: contain; display: block; }
.rcard figcaption { margin-top: 10px; }
.rcard figcaption b { display: block; font-family: var(--display); font-size: 15px; text-transform: uppercase; letter-spacing: .02em; color: #fff; }
.rcard figcaption span { display: block; font-size: 13px; line-height: 1.4; color: #bdbdbd; margin-top: 3px; }

.flinks { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 10px; width: 100%; } .flinks a { color: #bdbdbd; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.legal h2 { font-family: var(--display); font-size: 20px; text-transform: uppercase; letter-spacing: .02em; color: #fff; margin: 30px 0 8px; }
.legal p { color: #d6d6d6; line-height: 1.65; max-width: 72ch; }
.maj { color: #8a8a8a; font-size: 13px; margin-top: 30px; }

.prose h2 { font-family: var(--display); font-size: clamp(20px, 2.6vw, 26px); text-transform: uppercase; letter-spacing: .02em; color: #fff; margin: 36px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #d6d6d6; line-height: 1.65; font-size: 16px; max-width: 72ch; }
.prose p { margin: 0 0 14px; }
.prose ul { padding-left: 20px; margin: 0 0 14px; }
.prose li { margin: 6px 0; }
.choix { display: grid; gap: 14px; grid-template-columns: 1fr; margin-top: 16px; }
@media (min-width: 640px) { .choix { grid-template-columns: 1fr 1fr; } }
.choix-card { display: block; border: 1px solid #2e2e2e; border-top: 3px solid #E31E24; padding: 18px; border-radius: 6px; text-decoration: none; color: #fff; }
.choix-card:hover { border-color: #E31E24; }
.choix-card b { display: block; font-family: var(--display); text-transform: uppercase; font-size: 17px; }
.choix-card span { display: block; color: #bdbdbd; font-size: 14px; margin-top: 6px; line-height: 1.5; }
.faq details { border-top: 1px solid #2a2a2a; padding: 14px 0; }
.faq details:last-child { border-bottom: 1px solid #2a2a2a; }
.faq summary { cursor: pointer; font-family: var(--display); text-transform: uppercase; color: #fff; font-size: 15px; letter-spacing: .02em; }
.faq details p { margin: 10px 0 0; }
.related { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.related a { display: inline-block; border: 1px solid #3a3a3a; border-radius: 999px; padding: 10px 16px; color: #fff; text-decoration: none; font-size: 14px; }
.related a:hover { border-color: #E31E24; }

.photos-grid video { width: 100%; height: auto; display: block; border-radius: 6px; background: #0b0b0b; }

/* Entête des prestations : texte et photo côte à côte */
.svc-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: 48px; align-items: center; }
.svc-hero-photo { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 5; max-height: 62svh; width: 100%; justify-self: end; }
.svc-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
@media (max-width: 860px) {
  .svc-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .svc-hero-photo { aspect-ratio: 4 / 3; max-height: none; justify-self: stretch; }
}

/* Refonte : page prestation de référence */
.strip-title { font-size: clamp(28px, 4vw, 40px); margin: 0 0 22px; }
.strip { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin: 0 -16px; padding-inline: 16px; scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.strip figure { flex: 0 0 min(64vw, 280px); margin: 0; scroll-snap-align: start; }
@media (min-width: 860px) { .strip figure { flex-basis: 300px; } }
.strip img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); }
.strip figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; }
.strip figcaption b { color: var(--fg); }
.strip-more { margin-top: 18px; }
.intro-line { color: var(--muted); max-width: 64ch; }
.choix-photo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.choix-photo a { display: block; text-decoration: none; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); transition: border-color .25s ease, transform .25s ease; }
.choix-photo a:hover { border-color: var(--accent); }
.choix-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .6s ease; }
.choix-photo a:hover img { transform: scale(1.03); }
.choix-photo .cap { display: block; padding: 18px 20px 22px; }
.choix-photo .cap b { display: block; font-family: var(--display); font-weight: 800; font-stretch: 108%; text-transform: uppercase; font-size: 19px; margin-bottom: 6px; color: var(--fg); }
.choix-photo .cap span { color: var(--muted); font-size: 15px; }
.two-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.cta-bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 14px; padding: 26px 28px; }
.cta-bar p { margin: 0; color: var(--muted); }
.cta-title { font-size: 24px; margin: 0 0 6px; }
.cta-bar .btn { white-space: nowrap; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 28px 0 0; }
.chips li a { display: inline-block; font-size: 14px; font-weight: 600; border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; text-decoration: none; }
.chips li a:hover { border-color: var(--accent); }
@media (max-width: 860px) { .two-cols { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
@media (max-width: 640px) {
  .choix-photo { grid-template-columns: minmax(0, 1fr); }
  .cta-bar .btn { width: 100%; text-align: center; }
}

/* Compactage mobile : page prestation */
@media (max-width: 640px) {
  .svc-hero { padding-block: 22px 32px; }
  .svc-hero h1 { font-size: 30px; margin-bottom: 12px; }
  .svc-hero .lead { font-size: 15px; line-height: 1.5; }
  .svc-hero .actions { margin-top: 18px; }
  .svc-hero-photo { aspect-ratio: 16 / 10; max-height: none; border-radius: 12px; }
  .svc-hero-photo img { object-position: 50% 55%; }
  section.block { padding-block: 34px; }
  .strip-title { font-size: 24px; margin-bottom: 14px; }
  .strip figure { flex-basis: 56vw; }
  .strip img { aspect-ratio: 4 / 5; }
  .strip-more { margin-top: 12px; font-size: 15px; }
  .choix-photo { gap: 12px; margin-top: 16px; }
  .choix-photo img { aspect-ratio: 16 / 10; }
  .choix-photo .cap { padding: 14px 16px 16px; }
  .choix-photo .cap b { font-size: 16px; margin-bottom: 4px; }
  .choix-photo .cap span { font-size: 14px; }
  .intro-line { font-size: 15px; margin: 8px 0 0; }
  .svc-points { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .svc-points li { padding: 14px; border-radius: 12px; }
  .svc-points b { font-size: 16px; margin-bottom: 4px; }
  .svc-points span { font-size: 13px; line-height: 1.4; }
  .two-cols { gap: 22px; }
  .faq details { padding: 14px 0; }
  .cta-bar { padding: 20px; }
  .cta-title { font-size: 20px; }
  .chips { margin-top: 20px; }
}

/* Compactage mobile, 2e passe */
@media (max-width: 640px) {
  .svc-hero-photo { aspect-ratio: 16 / 9; }
  .svc-hero .actions .btn { padding: 15px 16px; font-size: 15px; }
  .choix-photo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .choix-photo img { aspect-ratio: 4 / 5; }
  .choix-photo .cap { padding: 12px; }
  .choix-photo .cap b { font-size: 14px; line-height: 1.2; }
  .choix-photo .cap span { font-size: 12px; line-height: 1.4; display: block; margin-top: 4px; }
  .svc-points { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .svc-points li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 12px 14px; }
  .svc-points b { display: inline; margin: 0; font-size: 15px; min-width: 9ch; }
  .svc-points span { font-size: 14px; }
  .cta-bar { gap: 14px; }
  .cta-bar p { font-size: 14px; }
  .chips li a { font-size: 13px; padding: 7px 12px; }
  .chips { gap: 8px; }
  .strip figure { flex-basis: 50vw; }
}

.strip video { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); background: #000; }

/* Bouton de la barre de devis : retour à la ligne sur mobile */
@media (max-width: 640px) {
  .cta-bar .btn { white-space: normal; max-width: 100%; }
}

/* Accordéons explicatifs (cartes cliquables) */
.acc-group { margin-top: 4px; }
.acc { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid transparent; border-radius: 14px; margin: 0 0 10px; transition: border-color .3s ease; }
.acc.is-open { border-left-color: var(--accent); }
.acc-h { margin: 0; font-size: inherit; }
.acc-btn { width: 100%; display: flex; align-items: center; gap: 14px; padding: 18px; background: none; border: 0; color: var(--fg); text-align: left; cursor: pointer; font: 700 17px/1.3 var(--body); border-radius: 14px; }
.acc-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.acc-ico { width: 38px; height: 38px; flex: none; border-radius: 50%; border: 1px solid #3A3A40; display: grid; place-items: center; color: var(--accent); }
.acc-ico svg { width: 18px; height: 18px; }
.acc-title { flex: 1; min-width: 0; }
.acc-sign { flex: none; font-size: 26px; line-height: 1; color: var(--muted); font-weight: 400; transition: transform .3s ease, color .3s ease; }
.acc.is-open .acc-sign { color: var(--accent); }
.acc-panel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .4s ease, visibility .4s; }
.acc-panel > .acc-inner { overflow: hidden; min-height: 0; }
.acc-body { padding: 0 18px 20px 70px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.acc-body p { margin: 0 0 10px; }
.acc-body p:last-child, .acc-body ul:last-child { margin-bottom: 0; }
.acc-body ul { padding-left: 18px; margin: 0; }
.js .acc-panel { grid-template-rows: 0fr; visibility: hidden; }
.js .acc-panel.open { grid-template-rows: 1fr; visibility: visible; }
@media (prefers-reduced-motion: reduce) { .acc-panel, .acc, .acc-sign { transition: none; } }
@media (max-width: 640px) {
  .acc-btn { padding: 15px 14px; font-size: 16px; gap: 12px; }
  .acc-ico { width: 34px; height: 34px; }
  .acc-body { padding: 0 14px 16px 14px; font-size: 14px; }
}

/* Cartes compactes avec icônes (avantages) */
.mini-cards{list-style:none;padding:0;margin:20px 0 28px;display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.mini-cards li{display:flex;gap:14px;align-items:flex-start;padding:16px;background:var(--surface,#0C0C0E);border:1px solid var(--line,#1E1E22);border-radius:12px}
.mini-cards svg{flex:none;width:22px;height:22px;color:var(--accent,#E31E24);margin-top:2px}
.mini-cards div{display:flex;flex-direction:column;gap:4px;min-width:0}
.mini-cards b{font-family:var(--display,inherit);font-size:15px;letter-spacing:.02em;text-transform:uppercase;color:var(--fg,#F5F5F4)}
.mini-cards span{font-size:14px;line-height:1.45;color:var(--muted,#9C9CA2)}
@media (max-width:720px){.mini-cards{grid-template-columns:1fr;gap:10px;margin:16px 0 22px}.mini-cards li{padding:14px 16px}}

/* Variante 4 cartes */
.mini-cards.is-4{grid-template-columns:repeat(2,1fr)}
@media (max-width:720px){.mini-cards.is-4{grid-template-columns:1fr}}

/* Barre d'action fixe sur téléphone (pages prestations) : même rendu que l'accueil */
.mbar { display: none; }
@media (max-width: 640px) {
  body.has-mbar { padding-bottom: 84px; }
  .mbar {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 6;
    padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
    background: rgba(0,0,0,0.92); border-top: 1px solid var(--line);
  }
  .mbar .num { font-size: 14px; font-weight: 700; color: var(--fg); white-space: nowrap; }
  .mbar .num small { display: block; font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
  .mbar .btn { padding: 14px 16px; font-size: 15px; white-space: nowrap; }
}

/* Secteurs de l'Hérault (page Hérault) */
.sector-intro { color: #d6d6d6; max-width: 62ch; margin: 0 0 28px; line-height: 1.6; }
.sectors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.sector { position: relative; display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 26px 56px 26px 26px; color: inherit; text-decoration: none; min-width: 0; transition: border-color .2s ease; }
.sector h3 { font-family: var(--display); font-weight: 800; font-stretch: 108%; font-size: clamp(18px, 2vw, 22px); text-transform: uppercase; line-height: 1.15; margin: 0 0 10px; }
.sector p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.sector-arrow { position: absolute; top: 28px; right: 24px; font-size: 22px; line-height: 1; color: var(--accent); transition: transform .2s ease; }
.sector:hover, .sector:focus-visible { border-color: var(--accent); }
.sector:hover .sector-arrow { transform: translateX(4px); }
.sector:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sector-details { margin-top: 40px; display: grid; gap: 22px; max-width: 72ch; }
.sector-detail { scroll-margin-top: 96px; border-top: 1px solid var(--line); padding-top: 18px; }
.sector-detail h3 { font-family: var(--display); font-weight: 800; font-stretch: 108%; font-size: 18px; text-transform: uppercase; margin: 0 0 8px; color: #fff; }
.sector-detail p { margin: 0; color: #d6d6d6; line-height: 1.65; }
.sector-detail a { color: #fff; }
@media (max-width: 860px) { .sectors { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 640px) { .sectors { grid-template-columns: minmax(0, 1fr); gap: 12px; } .sector { padding: 22px 52px 22px 22px; } }
@media (prefers-reduced-motion: reduce) { .sector, .sector-arrow { transition: none; } }
