/* COCH Peinture Sàrl : feuille de style du site vitrine.
   Fil conducteur : le nuancier du peintre (lames, pastilles de couleur, ruban de masquage).
   Couleurs tirees du logo : vert pinceau, lagon, bleu COCH. Police : Schibsted Grotesk (hebergee). */

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("../fonts/SchibstedGrotesk-var.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("../fonts/SchibstedGrotesk-italic-var.woff2") format("woff2");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --ink: #12161C;
  --ink-2: #252B33;
  --muted: #59606A;
  --paper: #F6F4EF;
  --plaster: #ECE8E0;
  --line: #DCD6CB;
  --white: #FFFFFF;
  --blue: #0B4FD8;
  --blue-deep: #0838A6;
  --blue-ink: #0A2A73;
  --cyan: #2EC0F2;
  --green: #62CF2E;
  --teal: #13A99A;
  --tape: #E9DDB2;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(18, 22, 28, .06), 0 10px 30px -12px rgba(18, 22, 28, .22);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --wrap: 1200px;
  --gut: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.05; letter-spacing: -.025em; font-weight: 800; }
h2 { font-size: clamp(2rem, 4.4vw, 3.5rem); }
h3 { font-size: 1.3rem; letter-spacing: -.015em; line-height: 1.2; }
p { margin: 0; }
h2 em, h1 em { font-style: italic; font-weight: 600; color: var(--blue); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 8px; background: var(--ink); color: #fff; font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 24px;
  border: 2px solid transparent; border-radius: 999px;
  font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.btn:active { transform: translateY(1px); }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-deep); }
.btn--line { border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--blue); }
.btn--big { min-height: 58px; padding-inline: 32px; font-size: 1.0625rem; }

/* ---------- Ruban de masquage ---------- */
.tape {
  display: inline-block;
  padding: 7px 18px 6px;
  background: var(--tape);
  color: #4A4231;
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  transform: rotate(-1.5deg);
  clip-path: polygon(0 8%, 3% 0, 6% 10%, 9% 0, 91% 0, 94% 10%, 97% 0, 100% 8%, 100% 92%, 97% 100%, 94% 90%, 91% 100%, 9% 100%, 6% 90%, 3% 100%, 0 92%);
  background-image: linear-gradient(90deg, rgba(255,255,255,.18), rgba(255,255,255,0) 40%, rgba(0,0,0,.04));
}

/* ---------- En-tete ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(246, 244, 239, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); transition: box-shadow .25s; }
.nav.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 8px 24px -18px rgba(0,0,0,.4); }
.nav__in { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; min-width: 0; }
.brand__mark { width: 66px; height: auto; flex: none; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand__txt strong { font-size: 1.02rem; letter-spacing: -.01em; white-space: nowrap; }
.brand__txt span { font-size: .78rem; color: var(--muted); white-space: nowrap; }
.menu { display: flex; align-items: center; gap: 4px; }
.menu a { padding: 8px 12px; border-radius: 999px; font-weight: 600; font-size: .95rem; text-decoration: none; transition: background-color .2s; }
.menu a:hover { background: var(--plaster); }
.menu .menu__cta { background: var(--blue); color: #fff; padding-inline: 16px; }
.menu .menu__cta:hover { background: var(--blue-deep); }
.nav__tel { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.nav__tel svg { width: 18px; height: 18px; fill: var(--blue); }
.burger { display: none; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--ink); position: relative; flex: none; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; transition: transform .25s var(--ease), top .25s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

@media (max-width: 1060px) {
  .burger { display: block; }
  .menu {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gut) 20px; background: var(--paper);
    box-shadow: 0 18px 30px -20px rgba(0,0,0,.45);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s, transform .2s var(--ease), visibility 0s .2s;
  }
  .menu.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .2s var(--ease); }
  .menu a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .menu a:hover { background: none; color: var(--blue); }
  .menu .menu__cta { margin-top: 14px; border: 0; border-radius: 999px; text-align: center; }
  .menu .menu__cta:hover { color: #fff; }
  html:not(.js) .menu { position: static; visibility: visible; opacity: 1; transform: none; box-shadow: none; }
}
@media (max-width: 640px) {
  .nav__tel span { display: none; }
  .nav__tel { width: 46px; height: 46px; justify-content: center; border-radius: 12px; border: 1.5px solid var(--line); }
  .brand__mark { width: 54px; }
  .brand__txt strong { font-size: .95rem; }
}
@media (max-width: 380px) { .brand__txt span { display: none; } }

/* ---------- Accueil ---------- */
.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(56px, 8vw, 104px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__tape { margin-bottom: 22px; }
.hero__title { font-size: clamp(2.6rem, 6.4vw, 5.6rem); line-height: .98; letter-spacing: -.04em; }
.hero__line { display: block; }
.hero__line:nth-child(2), .hero__line:nth-child(3) { font-style: italic; font-weight: 600; color: var(--blue); }
.stroke { position: relative; display: inline-block; z-index: 0; }
.stroke__svg { position: absolute; left: -2%; bottom: -.02em; width: 104%; height: .34em; z-index: -1; overflow: visible; }
.stroke__svg path { fill: none; stroke: var(--green); stroke-width: 14; stroke-linecap: round; opacity: .75; stroke-dasharray: 460; stroke-dashoffset: 0; }
.hero__lead { margin-top: 26px; max-width: 34em; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-2); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 34px 0 0; padding: 22px 0 0; list-style: none; border-top: 1px solid var(--line); font-size: .92rem; color: var(--muted); }
.hero__facts li { position: relative; padding-left: 18px; }
.hero__facts li::before { content: ""; position: absolute; left: 0; top: .5em; width: 9px; height: 9px; border-radius: 2px; background: var(--blue); }
.hero__facts li:nth-child(2)::before { background: var(--teal); }
.hero__facts li:nth-child(3)::before { background: var(--green); }
.hero__facts b { color: var(--ink); font-weight: 700; }

.hero__visual { position: relative; padding: 0 0 46px 34px; }
.hero__photo { margin: 0; position: relative; border-radius: 6px; overflow: hidden; aspect-ratio: 4 / 5; background: #DDE6F5; box-shadow: var(--shadow); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__chips { position: absolute; left: 0; bottom: 0; width: 230px; height: 180px; pointer-events: none; }
.chip {
  position: absolute; left: 0; bottom: 0;
  width: 108px; padding: 8px 8px 10px;
  background: #fff; border-radius: 6px; box-shadow: 0 2px 4px rgba(0,0,0,.08), 0 12px 24px -10px rgba(0,0,0,.35);
  transform-origin: 20% 100%;
}
.chip i { display: block; height: 96px; border-radius: 3px; }
.chip b { display: block; margin-top: 8px; font-size: .74rem; letter-spacing: .02em; font-weight: 700; white-space: nowrap; }
.chip--a { transform: rotate(-16deg); }
.chip--a i { background: var(--green); }
.chip--b { transform: translateX(50px) rotate(-5deg); }
.chip--b i { background: var(--teal); }
.chip--c { transform: translateX(102px) rotate(7deg); }
.chip--c i { background: var(--blue); }
.hero__stamp { position: absolute; right: -6px; top: 22px; display: flex; flex-direction: column; align-items: flex-end; gap: 0; padding: 10px 12px; background: var(--ink); color: #fff; border-radius: 4px; font-size: .74rem; font-weight: 600; letter-spacing: .04em; line-height: 1.35; transform: rotate(2deg); }

/* animation d'arrivee (seulement avec JS et sans "reduire les animations") */
.fx .hero__photo { clip-path: inset(100% 0 0 0); animation: paintUp 1.1s .25s var(--ease) forwards; }
.fx .hero__line { opacity: 0; transform: translateY(.35em); animation: rise .8s var(--ease) forwards; }
.fx .hero__line:nth-child(2) { animation-delay: .1s; }
.fx .hero__line:nth-child(3) { animation-delay: .2s; }
.fx .stroke__svg path { stroke-dashoffset: 460; animation: draw .9s .75s var(--ease) forwards; }
.fx .chip { opacity: 0; animation: chipIn .7s var(--ease) forwards; }
.fx .chip--a { animation-delay: .9s; }
.fx .chip--b { animation-delay: 1s; }
.fx .chip--c { animation-delay: 1.1s; }
@keyframes paintUp { to { clip-path: inset(0 0 0 0); } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes chipIn { from { opacity: 0; translate: -30px 20px; } to { opacity: 1; translate: 0 0; } }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 520px; padding-left: 26px; }
  .hero__photo { aspect-ratio: 5 / 4; }
}
@media (max-width: 480px) {
  .hero__chips { transform: scale(.74); transform-origin: 0 100%; }
  .hero__visual { padding-left: 26px; padding-bottom: 30px; }
  .hero__cta .btn { flex: 1 1 100%; }
}

/* ---------- Situations ---------- */
.cases { padding-bottom: clamp(64px, 9vw, 120px); }
.cases__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.case { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.case img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s var(--ease); }
.case:hover img { transform: scale(1.03); }
.case__txt { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 22px 22px 24px; position: relative; background: #fff; }
.case__k { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.case__txt p:not(.case__k) { color: var(--muted); font-size: .98rem; }
.case__link { margin-top: auto; padding-top: 8px; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.case__link::after { content: ""; width: 22px; height: 2px; background: currentColor; transition: width .25s var(--ease); }
.case__link:hover { color: var(--blue); }
.case__link:hover::after { width: 34px; }
@media (max-width: 900px) {
  .cases__grid { grid-template-columns: 1fr; }
  .case { flex-direction: row; }
  .case img { width: 38%; aspect-ratio: auto; min-height: 100%; }
}
@media (max-width: 560px) {
  .case { flex-direction: column; }
  .case img { width: 100%; min-height: 0; aspect-ratio: 16 / 9; }
}

/* ---------- Titres de section ---------- */
.head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ""; width: 26px; height: 10px; border-radius: 2px; background: linear-gradient(90deg, var(--green) 0 33%, var(--teal) 33% 66%, var(--blue) 66%); }
.head__lead { margin-top: 16px; font-size: 1.1rem; color: var(--muted); max-width: 40em; }
.head--light .eyebrow, .head--light .head__lead { color: rgba(255,255,255,.72); }
.head--light h2 { color: #fff; }
.head--light h2 em { color: var(--cyan); }

/* ---------- Prestations : eventail ---------- */
.services { padding: clamp(72px, 10vw, 128px) 0; background: var(--plaster); position: relative; }
.fan-wrap { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(28px, 6vw, 88px); align-items: center; }
.fan {
  --L: 430px; --bw: 76px; --step: 15deg;
  position: relative;
  width: calc(var(--L) * .97 + var(--bw) + 28px);
  height: calc(var(--L) + 56px);
}
.blade {
  position: absolute; left: 14px; bottom: 26px;
  width: var(--bw); height: var(--L);
  padding: 0; border: 0; border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,.1), 0 14px 30px -14px rgba(0,0,0,.45);
  transform-origin: 50% calc(100% - var(--bw) / 2);
  transform: rotate(calc(var(--i) * var(--step)));
  transition: transform .9s var(--ease), filter .3s, box-shadow .3s;
  transition-delay: calc(var(--i) * 60ms), 0s, 0s;
  z-index: calc(var(--i) + 1);
  text-align: left;
  overflow: hidden;
}
.blade::before {
  content: ""; position: absolute; left: 24px; right: 6px; top: 58px; bottom: calc(var(--bw) - 4px);
  border-radius: 3px;
  background: linear-gradient(to bottom,
    var(--c4) 0 24.6%, #fff 24.6% 25.4%,
    var(--c3) 25.4% 49.6%, #fff 49.6% 50.4%,
    var(--c2) 50.4% 74.6%, #fff 74.6% 75.4%,
    var(--c1) 75.4% 100%);
}
.blade__n { position: absolute; right: 8px; top: 10px; font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--c4); }
.blade__t {
  position: absolute; left: 2px; top: 60px; bottom: calc(var(--bw) - 4px); width: 20px;
  display: flex; align-items: center; justify-content: flex-end;
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-size: .68rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-2);
  white-space: nowrap; overflow: hidden;
}
.blade:hover { filter: brightness(1.03); }
.blade[aria-selected="true"] { transform: rotate(calc(var(--i) * var(--step))) translateY(-26px); box-shadow: 0 2px 4px rgba(0,0,0,.12), 0 24px 40px -16px rgba(0,0,0,.55); z-index: 20; }
.fan.is-closed .blade { transform: rotate(0deg); transition-delay: 0s; }
.fan__rivet { position: absolute; left: calc(14px + var(--bw) / 2 - 11px); bottom: calc(26px + var(--bw) / 2 - 11px); width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #F2F4F7, #9AA3AE 60%, #6A737E); box-shadow: 0 1px 3px rgba(0,0,0,.4); z-index: 30; }

.svc-panels { position: relative; }
.svc { max-width: 560px; }
.js .svc[hidden] { display: none; }
html:not(.js) .svc + .svc { margin-top: 40px; }
.svc__n { font-size: .85rem; font-weight: 700; letter-spacing: .1em; color: var(--muted); }
.svc h3 { margin-top: 8px; font-size: clamp(1.8rem, 3.2vw, 2.6rem); letter-spacing: -.03em; line-height: 1.05; }
.svc h3::after { content: ""; display: block; width: 64px; height: 8px; margin-top: 16px; border-radius: 2px; background: var(--c); }
.svc > p:not(.svc__n) { margin-top: 18px; color: var(--ink-2); font-size: 1.08rem; }
.svc ul { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.svc li { position: relative; padding-left: 28px; font-weight: 600; }
.svc li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 14px; border-radius: 3px; background: var(--c); }
.svc__cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; font-weight: 700; text-decoration: none; color: var(--blue); }
.svc__cta::after { content: "→"; transition: transform .2s var(--ease); }
.svc__cta:hover::after { transform: translateX(4px); }
.js .svc.is-entering { animation: panelIn .45s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .fan-wrap { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .fan { --L: 330px; --bw: 62px; }
  .blade__n { font-size: 1.2rem; }
  .blade::before { top: 46px; }
  .blade__t { top: 48px; }
}
@media (max-width: 420px) {
  .fan { --L: 250px; --bw: 52px; }
  .blade__n { font-size: 1rem; right: 6px; }
  .blade::before { left: 20px; right: 5px; top: 38px; }
  .blade__t { top: 40px; width: 17px; font-size: .58rem; }
}

/* ---------- Essai de teintes ---------- */
.tint { padding: clamp(72px, 10vw, 128px) 0; background: var(--ink); color: #fff; }
.tint__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.room { position: sticky; top: 92px; background: #1C222B; border-radius: var(--radius); padding: 10px; }
.room__svg { width: 100%; height: auto; border-radius: 8px; background: #F3F1EA; }
.room__evening { opacity: 0; mix-blend-mode: multiply; transition: opacity .6s; }
.room.is-evening .room__evening { opacity: .22; }
.roller { opacity: 0; }
.roller__sleeve { fill: var(--roller, #F3F1EA); stroke: #2A2620; stroke-width: 2; }
.room__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 14px 8px 6px; }
.room__now { display: flex; align-items: center; gap: 12px; margin-right: auto; min-width: 0; }
.room__dot { width: 34px; height: 34px; border-radius: 8px; background: #F3F1EA; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); flex: none; transition: background-color .4s; }
.room__now b { display: block; font-size: 1.05rem; line-height: 1.2; }
.room__now small { display: block; font-size: .8rem; color: rgba(255,255,255,.6); }
.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.08); }
.seg__b { min-height: 36px; padding: 6px 14px; border: 0; border-radius: 999px; background: none; color: rgba(255,255,255,.75); font-size: .88rem; font-weight: 600; }
.seg__b.is-on { background: #fff; color: var(--ink); }
.seg__b:not(.is-on):hover { color: #fff; }

.swatches { display: grid; gap: 22px; }
.sw-group { margin: 0; padding: 0; border: 0; min-width: 0; }
.sw-group legend { padding: 0; margin-bottom: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.sw-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 10px; }
.sw {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 92px; padding: 0; border: 0; border-radius: 6px; overflow: hidden;
  background: #fff; text-align: left;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08);
  transition: transform .2s var(--ease), box-shadow .2s;
}
.sw::before { content: ""; position: absolute; inset: 0 0 30px; background: var(--s); }
.sw span { position: relative; display: block; padding: 6px 7px 7px; font-size: .68rem; font-weight: 700; line-height: 1.15; color: var(--ink); min-height: 30px; }
.sw:hover { transform: translateY(-3px); }
.sw[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--cyan); }
.sw[aria-pressed="true"]::after { content: ""; position: absolute; top: 8px; right: 8px; width: 18px; height: 18px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7' fill='none' stroke='%230B4FD8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.tint__send { display: grid; gap: 14px; justify-items: start; padding-top: 6px; }
.tint__note { font-size: .85rem; color: rgba(255,255,255,.6); max-width: 34em; }
html:not(.js) .tint__send .btn, html:not(.js) .room__bar .seg { display: none; }
@media (max-width: 960px) {
  .tint__grid { grid-template-columns: 1fr; }
  .room { position: static; }
}
@media (max-width: 480px) {
  .sw-row { grid-template-columns: repeat(auto-fill, minmax(60px, 1fr)); gap: 8px; }
  .sw { min-height: 84px; }
  .sw span { font-size: .62rem; padding: 5px; }
  .room__bar { gap: 10px; }
  .room__now { flex: 1 1 100%; }
}

/* ---------- Le chantier ---------- */
.steps { padding: clamp(72px, 10vw, 128px) 0; }
.steps__list { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 30px 0 0; list-style: none; }
.steps__list::before {
  /* cordeau de tracage bleu */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: radial-gradient(circle, var(--blue) 0 1.4px, transparent 1.6px) 0 0 / 7px 4px repeat-x;
  opacity: .55;
}
.step { position: relative; padding: 32px 4px 0; }
.step__tape { position: absolute; top: -44px; left: 0; padding: 6px 14px 5px; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; background: var(--tape); color: #4A4231; transform: rotate(-3deg); clip-path: polygon(0 10%, 4% 0, 96% 0, 100% 10%, 100% 90%, 96% 100%, 4% 100%, 0 90%); }
.step:nth-child(even) .step__tape { transform: rotate(2.5deg); }
.step h3 { font-size: 1.22rem; }
.step p { margin-top: 10px; color: var(--muted); font-size: .98rem; }
@media (max-width: 1000px) {
  .steps__list { grid-template-columns: 1fr; gap: 0; padding: 0 0 0 30px; }
  .steps__list::before { left: 0; right: auto; top: 0; bottom: 0; width: 4px; height: auto; background: radial-gradient(circle, var(--blue) 0 1.4px, transparent 1.6px) 0 0 / 4px 7px repeat-y; }
  .step { padding: 0 0 34px; }
  .step__tape { position: static; display: inline-block; margin-bottom: 12px; }
}

/* ---------- Zone ---------- */
.zone { padding: clamp(72px, 10vw, 128px) 0; background: var(--plaster); }
.zone__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.zone__txt h2 { margin-bottom: 18px; }
.zone__txt > p { color: var(--ink-2); max-width: 32em; }
.zone__check { margin-top: 30px; padding: 22px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.zone__check label { display: block; font-weight: 700; margin-bottom: 10px; }
.zone__field { display: flex; gap: 10px; }
.zone__field input { flex: 1; min-width: 0; min-height: 52px; padding: 10px 16px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper); }
.zone__field input:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(11,79,216,.18); }
.zone__answer { margin-top: 14px; font-weight: 600; min-height: 1.6em; }
.zone__answer.is-yes { color: #1C7A3E; }
.zone__answer.is-maybe { color: #8A5A00; }
.zone__answer a { color: var(--blue); }
html:not(.js) .zone__check { display: none; }
.map { margin: 0; }
.map__svg { width: 100%; height: auto; border-radius: var(--radius); background: #F7F5F0; box-shadow: var(--shadow); }
.map figcaption { margin-top: 10px; font-size: .82rem; color: var(--muted); }
.map__lake { fill: #CFE2EC; }
.map__lake-txt { fill: #6E93A8; font-size: 17px; font-style: italic; font-weight: 600; letter-spacing: .3em; }
.map__ring { fill: none; stroke: var(--blue); stroke-opacity: .35; stroke-width: 1.4; stroke-dasharray: 4 5; }
.map__ring-txt { fill: var(--blue); font-size: 13px; font-weight: 700; opacity: .7; }
.map__dot { fill: var(--ink-2); }
.map__label { fill: var(--ink-2); font-size: 14px; font-weight: 600; paint-order: stroke; stroke: #F7F5F0; stroke-width: 3px; stroke-linejoin: round; }
.map__home { fill: var(--blue); stroke: #fff; stroke-width: 3; }
.map__home-txt { fill: var(--blue); font-size: 17px; font-weight: 800; paint-order: stroke; stroke: #F7F5F0; stroke-width: 4px; }
.map__hit { fill: none; stroke: var(--green); stroke-width: 3; }
.fx .map__hit { animation: pulse 1.6s var(--ease) infinite; transform-box: fill-box; transform-origin: center; }
@keyframes pulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(2.4); opacity: 0; } }
@media (max-width: 900px) { .zone__grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .zone__field { flex-direction: column; } }

/* ---------- Entreprise ---------- */
.about { padding: clamp(72px, 10vw, 128px) 0; }
.about__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.about__photo { margin: 0; border-radius: 6px; overflow: hidden; box-shadow: var(--shadow); transform: rotate(-1.2deg); }
.about__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about__txt > p:not(.eyebrow) { margin-top: 20px; color: var(--ink-2); font-size: 1.08rem; }
.card-id { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 28px 0 0; border: 1.5px solid var(--ink); border-radius: 8px; overflow: hidden; background: #fff; }
.card-id div { padding: 14px 16px; border-bottom: 1px solid var(--line); }
.card-id div:nth-child(odd) { border-right: 1px solid var(--line); }
.card-id div:nth-last-child(-n+2) { border-bottom: 0; }
.card-id dt { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.card-id dd { margin: 4px 0 0; font-weight: 700; }
@media (max-width: 900px) { .about__grid { grid-template-columns: 1fr; } .about__photo { max-width: 560px; } }
@media (max-width: 520px) {
  .card-id { grid-template-columns: 1fr; }
  .card-id div:nth-child(odd) { border-right: 0; }
  .card-id div:nth-last-child(2) { border-bottom: 1px solid var(--line); }
}

/* ---------- FAQ ---------- */
.faq { padding: 0 0 clamp(72px, 10vw, 128px); }
.faq__grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(24px, 5vw, 72px); align-items: start; border-top: 1px solid var(--line); padding-top: clamp(48px, 7vw, 88px); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary { position: relative; display: block; padding: 20px 48px 20px 0; font-weight: 700; font-size: 1.1rem; cursor: pointer; list-style: none; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 24px; height: 24px; margin-top: -12px; border-radius: 6px; background: var(--plaster) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%2312161C' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .25s var(--ease), background-color .2s; }
.faq__list details[open] summary::after { transform: rotate(45deg); background-color: var(--tape); }
.faq__list summary:hover { color: var(--blue); }
.faq__list details p { padding: 0 48px 22px 0; color: var(--ink-2); }
@media (max-width: 900px) { .faq__grid { grid-template-columns: 1fr; } }

/* ---------- Fiche chantier ---------- */
.quote { padding: clamp(72px, 10vw, 128px) 0; background: var(--blue); color: var(--ink); position: relative; overflow: hidden; }
.quote::before { content: ""; position: absolute; inset: 0; background: radial-gradient(1200px 500px at 85% -10%, rgba(46,192,242,.35), transparent 60%); pointer-events: none; }
.quote .wrap { position: relative; }
.quote__grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.sheet { background: #fff; border-radius: var(--radius); padding: clamp(20px, 3.4vw, 40px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.55); }
.sheet__block { margin: 0; padding: 0 0 26px; border: 0; border-bottom: 1px dashed var(--line); min-width: 0; }
.sheet__block + .sheet__block { margin-top: 26px; }
.sheet__block legend { display: block; padding: 0; margin-bottom: 16px; font-size: 1.2rem; font-weight: 800; letter-spacing: -.01em; line-height: 30px; }
.sheet__block legend span { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-right: 12px; border-radius: 8px; background: var(--ink); color: #fff; font-size: .9rem; vertical-align: top; }
.sheet__block legend em, .field em { font-style: normal; font-weight: 500; font-size: .85rem; letter-spacing: 0; color: var(--muted); }
.sheet__block.is-invalid legend { color: #B42318; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pill span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .95rem; background: var(--paper); transition: background-color .15s, border-color .15s, color .15s; }
.pill input:hover + span { border-color: var(--ink); }
.pill input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.pill input[type="checkbox"]:checked + span::before { content: ""; width: 14px; height: 14px; margin-right: 8px; border-radius: 3px; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7' fill='none' stroke='%2312161C' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.pill input:focus-visible + span { outline: 3px solid var(--cyan); outline-offset: 2px; }
.pills--sm .pill span { min-height: 40px; padding: 6px 14px; font-size: .9rem; }
.row { display: grid; gap: 16px; margin-top: 16px; }
.row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin-top: 16px; }
.row .field { margin-top: 0; }
.field label, .field .label { font-weight: 700; font-size: .95rem; }
.field b { color: #B42318; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field input[type="number"], .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 11px 14px;
  border: 1.5px solid var(--line); border-radius: 10px; background: var(--paper);
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(11,79,216,.18); background: #fff; }
.field.is-invalid input { border-color: #B42318; box-shadow: 0 0 0 3px rgba(180,35,24,.14); }
.stepper { display: flex; align-items: stretch; }
.stepper button { width: 46px; flex: none; border: 1.5px solid var(--line); background: #fff; font-size: 1.3rem; font-weight: 700; line-height: 1; }
.stepper button:first-child { border-radius: 10px 0 0 10px; border-right: 0; }
.stepper button:last-child { border-radius: 0 10px 10px 0; border-left: 0; }
.stepper button:hover { background: var(--plaster); }
.stepper input { border-radius: 0 !important; text-align: center; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
html:not(.js) .stepper button { display: none; }
.file { position: relative; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 12px; border: 1.5px dashed var(--line); border-radius: 10px; background: var(--paper); cursor: pointer; }
.file__input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.file__btn { padding: 8px 14px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; font-size: .9rem; }
.file__name { font-size: .9rem; color: var(--muted); min-width: 0; overflow-wrap: anywhere; }
.file:focus-within { border-color: var(--blue); }
.hp { position: absolute; left: -9999px; }
.sheet__error { margin-top: 20px; padding: 12px 14px; border-radius: 10px; background: #FDECEA; color: #8A1C13; font-weight: 600; }
.sheet__error a { color: inherit; }
.sheet__send { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 26px; }
.sheet__legal { font-size: .85rem; color: var(--muted); max-width: 30em; }
.sheet__legal a { color: var(--blue); }
.sheet__done { grid-column: 1 / -1; padding: clamp(28px, 5vw, 56px); background: #fff; border-radius: var(--radius); box-shadow: 0 30px 60px -30px rgba(0,0,0,.55); }
.sheet__done:focus { outline: none; }
.sheet__done-k { display: inline-block; padding: 6px 14px; background: var(--tape); font-weight: 800; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; transform: rotate(-2deg); }
.sheet__done h3 { margin-top: 18px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.sheet__done p { margin-top: 12px; color: var(--ink-2); }
.sheet__done a { color: var(--blue); font-weight: 700; }

.ticket { position: sticky; top: 96px; }
.ticket__in {
  position: relative; padding: 26px 22px 24px; background: #FBFAF6; color: var(--ink);
  border-radius: 4px; box-shadow: 0 24px 50px -24px rgba(0,0,0,.6);
  -webkit-mask: radial-gradient(circle 7px at 50% 0, transparent 98%, #000) 0 0 / 22px 51% repeat-x, radial-gradient(circle 7px at 50% 100%, transparent 98%, #000) 0 100% / 22px 51% repeat-x;
  mask: radial-gradient(circle 7px at 50% 0, transparent 98%, #000) 0 0 / 22px 51% repeat-x, radial-gradient(circle 7px at 50% 100%, transparent 98%, #000) 0 100% / 22px 51% repeat-x;
}
.ticket__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; }
.ticket__head span:last-child { font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.ticket dl { margin: 0; }
.ticket dl div { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 10px; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.ticket dt { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.ticket dd { margin: 0; font-weight: 600; font-size: .95rem; overflow-wrap: anywhere; }
.ticket dd.is-set { animation: stamp .35s var(--ease); }
@keyframes stamp { from { background: var(--tape); } to { background: transparent; } }
.t-none { color: var(--muted); font-weight: 500; }
.t-swatch { display: inline-flex; align-items: center; gap: 8px; }
.t-swatch i { width: 18px; height: 18px; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); flex: none; }
.t-swatch button { margin-left: 4px; padding: 0 6px; border: 0; background: none; color: var(--muted); font-size: 1.1rem; line-height: 1; }
.ticket__foot { margin-top: 16px; font-size: .8rem; color: var(--muted); line-height: 1.5; }
html:not(.js) .ticket { display: none; }
@media (max-width: 1000px) {
  .quote__grid { grid-template-columns: 1fr; }
  .ticket { position: static; order: -1; }
  .ticket dl { display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; }
  .ticket dl div { grid-template-columns: 1fr; gap: 2px; }
}
@media (max-width: 640px) {
  .row--2, .row--3 { grid-template-columns: 1fr; }
  .ticket__in { padding: 22px 18px 20px; }
  .ticket dl div { padding: 8px 0; }
  .ticket dd { font-size: .9rem; }
  .sheet__send .btn { width: 100%; }
}

/* ---------- Contact ---------- */
.contact { padding: clamp(64px, 9vw, 112px) 0; background: var(--paper); }
.contact__in h2 { font-size: clamp(2.2rem, 5.6vw, 4.6rem); letter-spacing: -.04em; max-width: 14em; }
.contact__ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 36px; }
.way { display: flex; flex-direction: column; gap: 4px; padding: 22px 24px; border: 1.5px solid var(--ink); border-radius: var(--radius); text-decoration: none; transition: background-color .2s, color .2s; min-width: 0; }
.way span { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); transition: color .2s; }
.way b { font-size: clamp(1.05rem, 1.8vw, 1.35rem); overflow-wrap: anywhere; }
.way:hover { background: var(--ink); color: #fff; }
.way:hover span { color: rgba(255,255,255,.65); }
@media (max-width: 800px) { .contact__ways { grid-template-columns: 1fr; } }

/* ---------- Pied de page ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.78); padding: 56px 0 28px; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 28px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer__brand img { width: 220px; }
.footer__k { margin-bottom: 8px; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.footer a { color: #fff; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 3px; }
.footer a:hover { text-decoration-color: var(--cyan); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 10px 28px; padding-top: 22px; font-size: .85rem; color: rgba(255,255,255,.55); }
.footer__credit { margin-left: auto; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } .footer__credit { margin-left: 0; } }

/* ---------- Apparitions au defilement ---------- */
.reveal-ready [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.reveal-ready [data-reveal].is-in { opacity: 1; transform: none; }
.reveal-ready .about__photo[data-reveal].is-in { transform: rotate(-1.2deg); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}

/* ---------- Pages annexes (mentions legales, merci, 404) ---------- */
.nav__back { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1.5px solid var(--ink); border-radius: 999px; font-weight: 700; font-size: .92rem; text-decoration: none; white-space: nowrap; }
.nav__back:hover { background: var(--ink); color: #fff; }
.legal { padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 9vw, 112px); }
.legal__box { max-width: 800px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -.035em; }
.legal__date { margin-top: 12px; font-size: .9rem; color: var(--muted); }
.legal__toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.legal__toc a { padding: 6px 14px; border: 1.5px solid var(--line); border-radius: 999px; font-size: .88rem; font-weight: 600; text-decoration: none; }
.legal__toc a:hover { border-color: var(--blue); color: var(--blue); }
.legal h2 { margin-top: 52px; font-size: clamp(1.6rem, 3vw, 2.1rem); scroll-margin-top: 96px; }
.legal h3 { margin-top: 28px; font-size: 1.15rem; }
.legal p, .legal li { margin-top: 12px; color: var(--ink-2); }
.legal ul { padding-left: 22px; }
.legal a { color: var(--blue); }
.legal__sum { margin-top: 20px; padding: 20px 22px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.legal__sum p:first-child { margin-top: 0; font-weight: 800; color: var(--ink); }
.legal__sum ul { margin: 0; }
.legal__note { margin-top: 48px !important; padding: 16px 18px; border-left: 4px solid var(--tape); background: #fff; font-size: .95rem; }
.simple { min-height: 62vh; display: grid; align-items: center; padding: clamp(48px, 8vw, 120px) 0; }
.simple__box { max-width: 640px; }
.simple h1 { margin-top: 20px; font-size: clamp(2.4rem, 6vw, 4.2rem); letter-spacing: -.04em; }
.simple h1 em { font-style: italic; font-weight: 600; color: var(--blue); }
.simple p:not(.tape) { margin-top: 18px; font-size: 1.12rem; color: var(--ink-2); }
.simple .hero__cta { margin-top: 28px; }
.simple__chips { display: flex; gap: 10px; margin-top: 34px; }
.simple__chips i { display: block; width: 46px; height: 58px; border-radius: 4px; box-shadow: 0 0 0 4px #fff, 0 8px 18px -8px rgba(0,0,0,.35); }
