/* SLP Peinture — feuille de style commune */
:root {
  --ink: #26262b;
  --ink-soft: #55555d;
  --plaster: #f6f2ec;
  --paper: #fffdf9;
  --line: #e4ddd2;
  --ochre: #f2a541;
  --orange: #e8581f;
  --orange-dark: #c2440f;
  --red: #c8302b;
  --wine: #7d1f3a;
  --ok: #2f7d4f;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --shadow: 0 1px 2px rgba(38, 38, 43, .06), 0 12px 32px -12px rgba(38, 38, 43, .18);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --header-h: 96px;

  /* Échelle typographique unique */
  --fs-label: .78rem;   /* surtitres, petites capitales */
  --fs-small: .92rem;   /* notes, légendes */
  --fs-ui: 1rem;        /* boutons, menu, choix, onglets */
  --fs-body: 1.0625rem;
  --fs-h3: 1.2rem;
  --fw-ui: 700;
  --track-label: .14em;
}

/* Boutons, menus et choix : toujours sur une seule ligne */
.btn, .nav a, .choice span, .filters button, .tablist button, .status, .service .more,
.audience a, .hero-proof li, .eyebrow, .action-bar a, .color-pill { white-space: nowrap; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--plaster);
  color: var(--ink);
  font: 400 var(--fs-body)/1.65 var(--font-body);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -.015em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); font-variation-settings: "opsz" 144, "SOFT" 50; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-variation-settings: "opsz" 120; }
h3 { font-size: var(--fs-h3); font-family: var(--font-body); font-weight: var(--fw-ui); letter-spacing: -.01em; line-height: 1.3; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-soft); max-width: 60ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: var(--fs-label); font-weight: var(--fw-ui); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--orange-dark);
  margin-bottom: 1rem;
}
@media (max-width: 420px) { .eyebrow { letter-spacing: .08em; } }
.eyebrow::before { content: ""; width: 22px; height: 8px; border-radius: 2px; background: linear-gradient(90deg, var(--ochre) 0 25%, var(--orange) 25% 50%, var(--red) 50% 75%, var(--wine) 75%); }
em.accent { font-style: italic; color: var(--orange-dark); }

/* ---------- Boutons ---------- */
.btn {
  --bg: var(--orange); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 50px; padding: .75em 1.4em; border-radius: 999px; border: 2px solid transparent;
  background: var(--bg); color: var(--fg); font-weight: var(--fw-ui); font-size: var(--fs-ui); line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background-color .2s, box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -10px rgba(232, 88, 31, .7); background: var(--orange-dark); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; box-shadow: none; }
.btn--light { --bg: #fff; --fg: var(--ink); }
.btn--light:hover { background: var(--ochre); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 242, 236, .86);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(0,0,0,.4); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: var(--header-h); padding-top: 6px; }
.brand { display: block; flex: none; width: 150px; text-decoration: none; }
.brand svg { display: block; width: 100%; height: auto; overflow: visible; }
/* Rotation de base des carrés du nuancier (autour du pivot), élargie au survol */
.brand .chip { transition: transform .6s var(--ease); }
.brand .chip.c1 { transform: rotate(-32deg); }
.brand .chip.c2 { transform: rotate(-11deg); }
.brand .chip.c3 { transform: rotate(11deg); }
.brand .chip.c4 { transform: rotate(32deg); }
.brand:hover .chip.c1 { transform: rotate(-44deg); }
.brand:hover .chip.c2 { transform: rotate(-16deg); }
.brand:hover .chip.c3 { transform: rotate(16deg); }
.brand:hover .chip.c4 { transform: rotate(44deg); }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  position: relative; padding: 10px 14px; text-decoration: none; font-weight: var(--fw-ui); font-size: var(--fs-ui); border-radius: 999px;
}
@media (min-width: 1101px) and (max-width: 1240px) {
  .header-status { display: none; }
  .nav a:not(.btn) { padding-inline: 10px; }
  .nav a:not(.btn)::after { left: 10px; right: 10px; }
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 3px; border-radius: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { margin-left: 10px; min-height: 44px; padding-inline: 1.2em; }

.status {
  display: inline-flex; align-items: center; gap: .5em; font-size: var(--fs-small); font-weight: var(--fw-ui); color: var(--ink-soft);
}
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #aaa; }
.status.is-open::before { background: var(--ok); box-shadow: 0 0 0 4px rgba(47, 125, 79, .18); }
.status.is-closed::before { background: var(--red); }

.menu-toggle {
  display: none; margin-left: auto; width: 48px; height: 48px; border: 0; border-radius: 12px; background: var(--ink); color: #fff; cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .3s var(--ease), background .2s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; } .menu-toggle span::after { top: 6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1100px) {
  :root { --header-h: 78px; }
  .brand { width: 128px; }
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); padding: 12px var(--gutter) 24px; border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 40px -30px rgba(0,0,0,.35);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; transition: opacity .25s, transform .3s var(--ease); }
  .nav a:not(.btn) { padding: 16px 4px; font-size: var(--fs-h3); border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a:not(.btn)::after { left: 4px; right: auto; width: 40px; bottom: 10px; }
  .nav .btn { margin: 18px 0 0; }
  .header-status { display: none; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 10vw, 128px); }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: #f1ece4; }
.section--ink .lead { color: #c9c3ba; }
.section--ink .eyebrow { color: var(--ochre); }
.section-head { display: grid; gap: 8px 48px; margin-bottom: clamp(32px, 5vw, 56px); }
@media (min-width: 900px) { .section-head--split { grid-template-columns: 1fr 1fr; align-items: end; } .section-head--split .lead { margin-bottom: .4em; } }

/* ---------- Hero accueil ---------- */
.hero { position: relative; padding-block: clamp(36px, 6vw, 72px) clamp(56px, 8vw, 96px); overflow: hidden; }
.hero .wrap { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 960px) { .hero .wrap { grid-template-columns: 1.05fr .95fr; } }
.hero h1 { margin-bottom: .35em; }
.hero h1 .stroke { display: inline-block; position: relative; }
.hero h1 .stroke::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .06em; height: .22em; z-index: -1; border-radius: 4px;
  background: var(--ochre); transform-origin: left; animation: brush 1.1s .5s var(--ease) both;
}
@keyframes brush { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero .lead { margin-bottom: 1.6em; }
.hero-proof { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-weight: 700; font-size: var(--fs-small); }
.hero-proof li { display: flex; align-items: center; gap: .5em; }
.hero-proof svg { width: 20px; height: 20px; color: var(--ok); flex: none; }
.hero-media { position: relative; }
.hero-media .frame {
  position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3.3; box-shadow: var(--shadow);
  background: #d9d0c2;
}
.hero-media .frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero-card {
  position: absolute; left: -18px; bottom: -22px; background: var(--paper); border-radius: 18px; padding: 16px 20px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 14px; max-width: 290px;
}
.hero-card strong { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--orange-dark); }
.hero-card span { font-size: var(--fs-small); font-weight: 700; line-height: 1.3; }
@media (max-width: 600px) { .hero-card { left: 12px; bottom: -18px; } }

/* ---------- Bandeau nuancier ---------- */
.swatch-band { display: flex; height: 14px; }
.swatch-band span { flex: 1; }
.swatch-band span:nth-child(1) { background: var(--ochre); }
.swatch-band span:nth-child(2) { background: var(--orange); }
.swatch-band span:nth-child(3) { background: var(--red); }
.swatch-band span:nth-child(4) { background: var(--wine); }
.swatch-band span:nth-child(5) { background: var(--ink); }

/* ---------- Présentation ---------- */
.about { display: grid; gap: clamp(32px, 6vw, 80px); }
@media (min-width: 900px) { .about { grid-template-columns: .9fr 1.1fr; } }
.about blockquote {
  margin: 0; font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.25; font-style: italic;
  border-left: 6px solid var(--orange); padding-left: 24px;
}
.pillars { display: grid; gap: 16px; margin-top: 28px; }
@media (min-width: 600px) { .pillars { grid-template-columns: 1fr 1fr; } }
.pillar { background: var(--plaster); border-radius: var(--radius); padding: 20px 22px; }
.pillar h3 { margin-bottom: .35em; }
.pillar p { margin: 0; font-size: var(--fs-small); color: var(--ink-soft); }

/* ---------- Services ---------- */
.services { display: grid; gap: 18px; }
@media (min-width: 860px) { .services { grid-template-columns: repeat(3, 1fr); } }
.service {
  position: relative; display: flex; flex-direction: column; background: var(--paper); border-radius: 20px; overflow: hidden; text-decoration: none;
  border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service .thumb { aspect-ratio: 16 / 10; overflow: hidden; background: #ddd; }
.service .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.service:hover .thumb img { transform: scale(1.05); }
.service .body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.service .tag { font-size: var(--fs-label); font-weight: var(--fw-ui); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--orange-dark); margin-bottom: .5rem; }
.service ul { margin: 0 0 1.2em; padding-left: 1.1em; color: var(--ink-soft); }
.service ul li::marker { color: var(--orange); }
.service .more { margin-top: auto; font-weight: var(--fw-ui); display: inline-flex; align-items: center; gap: .4em; }
.service .more svg { width: 18px; transition: transform .3s var(--ease); }
.service:hover .more svg { transform: translateX(4px); }

/* ---------- Testeur d'ambiance ---------- */
.studio { display: grid; gap: 28px clamp(28px, 5vw, 56px); align-items: center; }
.studio-head .lead { margin-bottom: 0; }
@media (max-width: 959px) {
  /* La pièce reste visible pendant le choix des teintes */
  .room { position: sticky; top: calc(var(--header-h) + 8px); z-index: 2; }
}
@media (min-width: 960px) {
  .studio { grid-template-columns: 1.15fr .85fr; align-items: start; }
  .studio .room { grid-column: 1; grid-row: 1 / span 2; align-self: center; }
  .studio-head { grid-column: 2; grid-row: 1; }
  .studio-controls { grid-column: 2; grid-row: 2; }
}
.room { border-radius: 24px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); background: #333; }
.room svg { display: block; width: 100%; height: auto; }
.room .wall { transition: fill .7s var(--ease); }
.palette-group { margin-bottom: 22px; }
.palette-group h3 { font-size: var(--fs-label); letter-spacing: var(--track-label); text-transform: uppercase; color: #c9c3ba; margin-bottom: 12px; }
.palette { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch {
  width: 46px; height: 46px; border-radius: 10px; border: 2px solid rgba(255,255,255,.18); background: var(--c); cursor: pointer; padding: 0;
  transition: transform .25s var(--ease), border-color .2s;
}
.swatch:hover { transform: translateY(-3px); }
.swatch[aria-pressed="true"] { border-color: #fff; box-shadow: 0 0 0 3px var(--orange); }
.studio-choice { display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,.06); border-radius: 14px; padding: 14px 16px; margin: 6px 0 22px; }
.studio-choice i { width: 34px; height: 34px; border-radius: 8px; flex: none; border: 2px solid rgba(255,255,255,.25); }
.studio-choice b { display: block; }
.studio-choice small { color: #c9c3ba; }
.note { font-size: var(--fs-small); color: var(--ink-soft); }
.section--ink .note { color: #a9a39a; }

/* ---------- Engagements / étapes ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; border-top: 1px solid var(--line); }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); column-gap: 48px; } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; padding: 26px 0 28px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 56px 1fr; gap: 4px 12px; }
.steps li::before {
  content: counter(step, decimal-leading-zero); grid-row: span 2;
  font-family: var(--font-display); font-size: 2rem; line-height: 1; color: var(--orange);
}
.steps h3 { margin: 2px 0 .2em; }
.steps p { margin: 0; color: var(--ink-soft); font-size: var(--fs-small); }

/* ---------- Réalisations ---------- */
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 1100px) { .gallery--home { grid-template-columns: repeat(4, 1fr); } }
.gallery figure { margin: 0; }
.gallery button {
  position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 16px; overflow: hidden; cursor: zoom-in; background: #ddd;
  aspect-ratio: 4 / 5;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .4s; }
.gallery button:hover img { transform: scale(1.06); }
.gallery figcaption {
  position: absolute; inset: auto 0 0 0; padding: 40px 14px 12px; text-align: left; color: #fff; font-weight: 700; font-size: var(--fs-small);
  background: linear-gradient(transparent, rgba(20, 18, 16, .78));
}
.gallery figcaption small { display: block; font-weight: var(--fw-ui); font-size: var(--fs-label); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--ochre); }
.gallery .is-hidden { display: none; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button {
  border: 1.5px solid var(--ink); background: transparent; border-radius: 999px; padding: 9px 18px; font-weight: var(--fw-ui); font-size: var(--fs-ui); cursor: pointer; min-height: 44px;
  transition: background .2s, color .2s;
}
.filters button[aria-pressed="true"], .filters button:hover { background: var(--ink); color: #fff; }

/* Visionneuse */
.lightbox { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; color: #fff; }
.lightbox::backdrop { background: rgba(16, 15, 14, .94); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { margin: 0; display: grid; gap: 12px; justify-items: center; padding: 64px 72px; max-width: 100%; }
.lightbox img { max-width: min(1200px, 100%); max-height: calc(100vh - 170px); object-fit: contain; border-radius: 8px; }
.lightbox figcaption { font-weight: 700; text-align: center; }
.lightbox figcaption small { color: #bdb6ab; font-weight: 600; margin-left: .6em; }
.lb-btn {
  position: fixed; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; cursor: pointer;
  display: grid; place-items: center; transition: background .2s;
}
.lb-btn:hover { background: var(--orange); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lightbox figure { padding: 70px 8px 90px; } .lb-prev, .lb-next { top: auto; bottom: 20px; transform: none; } }

/* ---------- Profils clients ---------- */
.audiences { display: grid; gap: 16px; }
@media (min-width: 860px) { .audiences { grid-template-columns: repeat(3, 1fr); } }
.audience { background: var(--paper); border-radius: 20px; padding: 28px; border: 1px solid var(--line); display: flex; flex-direction: column; }
.audience .ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; color: #fff; }
.audience .ico svg { width: 26px; height: 26px; }
.audience p { color: var(--ink-soft); }
.audience a { margin-top: auto; font-weight: var(--fw-ui); }

.tabs { display: grid; gap: 28px; }
@media (min-width: 900px) { .tabs { grid-template-columns: 330px 1fr; gap: 48px; } }
.tablist { display: flex; flex-direction: column; gap: 8px; }
.tablist button {
  flex: none; text-align: left; border: 1px solid var(--line); background: var(--paper); border-radius: 16px; padding: 16px 20px; cursor: pointer;
  font-weight: var(--fw-ui); font-size: var(--fs-ui); display: flex; align-items: center; gap: 12px; min-height: 56px; transition: background .2s, color .2s, border-color .2s;
}
.tablist button i { width: 12px; height: 12px; border-radius: 3px; background: var(--c); flex: none; }
.tablist button[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.tabpanel { background: var(--paper); border-radius: 24px; padding: clamp(24px, 4vw, 44px); border: 1px solid var(--line); }
.tabpanel[hidden] { display: none; }
.tabpanel h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.tabpanel .check { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 12px; }
.tabpanel .check li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; }
.tabpanel .check svg { width: 22px; height: 22px; color: var(--orange); margin-top: 3px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--paper); border-radius: 16px; border: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 22px; font-weight: var(--fw-ui); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2.5px solid var(--orange); border-bottom: 2.5px solid var(--orange); transform: rotate(45deg); transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details p { padding: 0 22px 20px; margin: 0; color: var(--ink-soft); }

/* ---------- Appel à l'action ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--orange); color: #fff; border-radius: 28px; padding: clamp(32px, 6vw, 64px); display: grid; gap: 24px; align-items: center; }
@media (min-width: 860px) { .cta-band { grid-template-columns: 1fr auto; } }
.cta-band h2 { margin-bottom: .2em; }
.cta-band p { margin: 0; font-size: var(--fs-body); color: #fff3ea; }
.cta-band::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%;
  background: conic-gradient(var(--ochre) 0 25%, var(--red) 0 50%, var(--wine) 0 75%, var(--ink) 0); opacity: .25; pointer-events: none;
}

/* ---------- Page d'en-tête intérieure ---------- */
.page-hero { padding-block: clamp(40px, 7vw, 88px) clamp(32px, 5vw, 56px); }
.page-hero h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); max-width: 18ch; }
.breadcrumb { font-size: var(--fs-small); font-weight: 700; color: var(--ink-soft); margin-bottom: 18px; }
.breadcrumb a { text-decoration: none; } .breadcrumb a:hover { color: var(--orange-dark); }

/* ---------- Détail services ---------- */
.service-detail { display: grid; gap: clamp(24px, 4vw, 56px); padding-block: clamp(36px, 5vw, 64px); border-top: 1px solid var(--line); align-items: center; }
@media (min-width: 900px) { .service-detail { grid-template-columns: 1fr 1fr; } .service-detail:nth-child(even) .sd-media { order: 2; } }
.sd-media { border-radius: 22px; overflow: hidden; aspect-ratio: 5 / 4; background: #ddd; }
.sd-media img { width: 100%; height: 100%; object-fit: cover; }
.sd-list { list-style: none; margin: 18px 0 24px; padding: 0; display: grid; gap: 10px; }
.sd-list li { padding: 14px 18px; background: var(--paper); border-radius: 12px; border-left: 4px solid var(--orange); font-weight: var(--fw-ui); }

/* ---------- Contact / formulaire ---------- */
.contact-grid { display: grid; gap: clamp(28px, 5vw, 56px); align-items: start; }
@media (min-width: 980px) { .contact-grid { grid-template-columns: 1.35fr .65fr; } }
.form-card { background: var(--paper); border-radius: 24px; padding: clamp(22px, 4vw, 40px); border: 1px solid var(--line); box-shadow: var(--shadow); }
.progress { display: flex; gap: 6px; margin-bottom: 8px; }
.progress span { flex: 1; height: 6px; border-radius: 3px; background: var(--line); transition: background .4s; }
.progress span.is-done { background: var(--orange); }
.progress-label { font-size: var(--fs-small); font-weight: 700; color: var(--ink-soft); margin-bottom: 22px; }
.step[hidden] { display: none; }
.step h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
fieldset { border: 0; margin: 0 0 22px; padding: 0; min-width: 0; }
legend { font-weight: var(--fw-ui); margin-bottom: 10px; padding: 0; }
/* Choix en ligne : une colonne se replie sur la rangée suivante plutôt que de couper son texte */
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; flex: 1 1 100%; min-width: max-content; }
@media (min-width: 560px) {
  .choices--2 .choice { flex-basis: calc(50% - 5px); }
  .choices--3 .choice { flex-basis: calc(33.333% - 7px); }
}
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff;
  font-weight: var(--fw-ui); font-size: var(--fs-ui); transition: border-color .2s, background .2s;
}
.choice span::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #b9b1a5; flex: none; transition: border .2s, background .2s; }
.choice input[type="checkbox"] + span::before { border-radius: 5px; }
.choice input:checked + span { border-color: var(--orange); background: #fff4ee; }
.choice input:checked + span::before { border-color: var(--orange); background: var(--orange); box-shadow: inset 0 0 0 3px #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: var(--fw-ui); font-size: var(--fs-small); }
.field .hint { font-size: var(--fs-small); color: var(--ink-soft); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; border: 1.5px solid #d2c9bc; border-radius: 12px; background: #fff; font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(232, 88, 31, .15); }
.field [aria-invalid="true"] { border-color: var(--red); }
.error { color: var(--red); font-size: var(--fs-small); font-weight: 700; min-height: 0; }
.row-2 { display: grid; gap: 0 16px; } @media (min-width: 560px) { .row-2 { grid-template-columns: 1fr 1fr; } }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-small); margin: 8px 0 20px; }
.consent input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--orange); flex: none; }
.form-nav { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.color-pill { display: inline-flex; align-items: center; gap: 10px; background: var(--plaster); padding: 8px 14px 8px 8px; border-radius: 999px; font-weight: 700; margin-bottom: 18px; }
.color-pill[hidden], .form-result[hidden] { display: none; }
.color-pill i { width: 28px; height: 28px; border-radius: 50%; }
.color-pill button { border: 0; background: none; cursor: pointer; font-weight: var(--fw-ui); color: var(--orange-dark); padding: 4px; }
.summary { background: var(--plaster); border-radius: 14px; padding: 18px 20px; margin-bottom: 18px; font-size: var(--fs-small); }
.summary dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; }
.summary dt { font-weight: var(--fw-ui); } .summary dd { margin: 0; color: var(--ink-soft); }
.form-result { border-radius: 16px; padding: 22px; margin-top: 8px; }
.form-result.is-success { background: #eaf5ee; border: 1.5px solid var(--ok); }
.form-result.is-info { background: #fff4ee; border: 1.5px solid var(--orange); }
.form-result.is-error { background: #fdecec; border: 1.5px solid var(--red); }

.info-card { background: var(--ink); color: #f1ece4; border-radius: 24px; padding: 30px; display: grid; gap: 22px; }
@media (min-width: 980px) { .info-card { position: sticky; top: calc(var(--header-h) + 20px); } }
.info-card h2 { font-size: 1.6rem; margin: 0; }
.info-item { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.info-item .ico { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: var(--ochre); }
.info-item .ico svg { width: 22px; height: 22px; }
.info-item b { display: block; font-size: var(--fs-label); letter-spacing: var(--track-label); text-transform: uppercase; color: #a9a39a; }
.info-item a { color: #fff; font-weight: var(--fw-ui); font-size: var(--fs-ui); white-space: nowrap; text-decoration: none; }
.contact-grid > * { min-width: 0; }
@media (max-width: 400px) {
  .info-card { padding: 22px 18px; }
  .info-item { grid-template-columns: 38px 1fr; gap: 12px; }
  .info-item .ico { width: 38px; height: 38px; }
}
@media (max-width: 340px) { .info-item a { white-space: normal; } } .info-item a:hover { color: var(--ochre); }
.hours { width: 100%; border-collapse: collapse; font-size: var(--fs-small); }
.hours td { padding: 4px 0; } .hours td:last-child { text-align: right; font-weight: 700; }
.hours tr.is-today td { color: var(--ochre); }

/* ---------- Pied de page ---------- */
.site-footer { background: #1d1d21; color: #c9c3ba; padding-block: 64px 28px; margin-top: 0; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.site-footer .brand { width: 170px; }
.site-footer .brand svg [stroke="#26262b"] { stroke: #f1ece4; }
.site-footer .brand svg circle, .site-footer .brand svg text { fill: #f1ece4; }
.site-footer h2 { font-family: var(--font-body); font-size: var(--fs-label); letter-spacing: var(--track-label); text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; } .site-footer a:hover { color: var(--ochre); }
.site-footer .status, .info-card .status { color: #e4ded5; }
.social {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 4px; padding: 10px 16px 10px 12px; border-radius: 999px;
  border: 1.5px solid #3a3a41; color: #f1ece4; font-weight: var(--fw-ui); font-size: var(--fs-small); white-space: nowrap;
  transition: background .2s, border-color .2s;
}
.social svg { width: 20px; height: 20px; }
.site-footer a.social:hover { background: #1877f2; border-color: #1877f2; color: #fff; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid #34343a; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: var(--fs-small); }

/* ---------- Barre d'action mobile ---------- */
.action-bar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: 72px; }
  .action-bar {
    position: fixed; z-index: 60; left: 10px; right: 10px; bottom: 10px; display: grid; grid-template-columns: repeat(3, 1fr);
    background: var(--ink); border-radius: 18px; padding: 6px; box-shadow: 0 12px 30px -8px rgba(0,0,0,.5);
    padding-bottom: calc(6px + env(safe-area-inset-bottom, 0px) * .5);
  }
  .action-bar a { display: grid; justify-items: center; gap: 2px; padding: 8px 4px; color: #fff; text-decoration: none; font-size: var(--fs-label); font-weight: 700; border-radius: 12px; }
  .action-bar a svg { width: 22px; height: 22px; }
  .action-bar a.is-primary { background: var(--orange); }
}

/* ---------- Apparition au défilement ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
