/* Modèle Colligo « Artisan » — direction signalétique de chantier : jaune, noir, typographie condensée.
   Pour un client : changer les couleurs ci-dessous (garder un fort contraste). */
@font-face { font-family: "Archivo"; src: url("fonts/Archivo-normal-100_900.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; }

:root {
  --yellow: #ffd21f;
  --black: #111111;
  --white: #ffffff;
  --grey: #f2f1ec;
  --muted: #5b5b55;
  --line: rgba(17, 17, 17, .14);
  --font: "Archivo", "Arial Narrow", Arial, sans-serif;
  --gut: clamp(16px, 3vw, 44px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--white); color: var(--black); font: 17px/1.5 var(--font); font-stretch: 100%; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2 { font-stretch: 72%; font-weight: 800; text-transform: uppercase; line-height: .9; letter-spacing: -.01em; margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
::selection { background: var(--yellow); color: var(--black); }

.demo { background: var(--black); color: var(--white); text-align: center; font-size: 13px; padding: 7px 16px; }
.demo a { color: var(--white); }

/* En-tête */
.hdr { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 24px; padding: 10px var(--gut);
  background: var(--white); border-bottom: 2px solid var(--black); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-stretch: 80%; text-transform: uppercase;
  line-height: .95; font-size: 15px; }
.logo__g { display: grid; place-items: center; width: 40px; height: 40px; background: var(--yellow); border: 2px solid var(--black); font-size: 24px; }
.live { margin: 0 auto 0 8px; display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; }
.live__dot { width: 9px; height: 9px; border-radius: 50%; background: #9a9a92; }
.live.is-on .live__dot { background: #17a34a; animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(23, 163, 74, .5); } 70% { box-shadow: 0 0 0 9px rgba(23, 163, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(23, 163, 74, 0); } }
.nav { display: flex; gap: 22px; font-weight: 600; font-size: 15px; }
.nav a { text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a.is-active { border-color: var(--black); }
.hdr__tel { white-space: nowrap; text-decoration: none; background: var(--black); color: var(--yellow); font-weight: 800; font-stretch: 85%; font-size: 18px;
  padding: 9px 16px; letter-spacing: .02em; }
.hdr__tel:hover { background: #2a2a2a; }
.menu { display: none; align-items: center; gap: 8px; background: var(--yellow); border: 2px solid var(--black); padding: 7px 12px; font-weight: 700; cursor: pointer; }
.menu__icon, .menu__icon::before, .menu__icon::after { display: block; width: 16px; height: 2px; background: var(--black); position: relative; transition: transform .25s; }
.menu__icon::before, .menu__icon::after { content: ""; position: absolute; left: 0; }
.menu__icon::before { top: -5px; } .menu__icon::after { top: 5px; }
.menu[aria-expanded="true"] .menu__icon { background: transparent; }
.menu[aria-expanded="true"] .menu__icon::before { transform: translateY(5px) rotate(45deg); }
.menu[aria-expanded="true"] .menu__icon::after { transform: translateY(-5px) rotate(-45deg); }

/* Boutons */
.btn { display: inline-block; text-decoration: none; background: var(--black); color: var(--yellow); font-weight: 800; font-stretch: 85%;
  text-transform: uppercase; letter-spacing: .03em; padding: 16px 24px; border: 2px solid var(--black); cursor: pointer; font-size: 16px;
  transition: transform .15s, box-shadow .15s; box-shadow: 4px 4px 0 var(--black); }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--black); }
.btn:active { transform: translate(2px, 2px); box-shadow: 0 0 0 var(--black); }
.btn--line { background: var(--white); color: var(--black); }

/* 1. Accroche + diagnostic */
.hero { background: var(--yellow); display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 64px); padding: clamp(32px, 5vw, 72px) var(--gut);
  border-bottom: 2px solid var(--black); align-items: start; }
.hero__kicker { font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 18px; }
.hero h1 { font-size: clamp(3rem, 8.4vw, 8.6rem); }
.hero h1 span { display: block; -webkit-text-stroke: 2px var(--black); color: transparent; }
.hero__lead { font-size: 1.2rem; max-width: 30em; margin: 22px 0 14px; }
.hero__proof { font-weight: 700; margin: 0; }
.hero__proof span, .devis__proof span { letter-spacing: 2px; }

.diag { background: var(--white); border: 2px solid var(--black); box-shadow: 10px 10px 0 var(--black); padding: clamp(20px, 3vw, 32px); position: relative; min-height: 420px; }
.diag__bar { height: 6px; background: var(--grey); margin: -4px 0 14px; }
.diag__bar span { display: block; height: 100%; width: 33%; background: var(--black); transition: width .35s; }
.diag__step { margin: 0 0 8px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.diag__panel { display: none; border: 0; margin: 0; padding: 0; min-width: 0; }
.diag__panel.is-on { display: block; animation: slide .35s ease-out; }
@keyframes slide { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
.diag legend { font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1; margin-bottom: 18px; padding: 0; }
.choices { display: grid; gap: 10px; }
.choices button { text-align: left; background: var(--white); border: 2px solid var(--black); padding: 14px 16px; font-weight: 700; font-size: 17px; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; transition: background .15s; }
.choices button::after { content: "→"; transition: transform .2s; }
.choices button:hover, .choices button:focus-visible { background: var(--yellow); }
.choices button:hover::after { transform: translateX(4px); }
.diag__back { background: none; border: 0; padding: 0; margin-top: 16px; text-decoration: underline; cursor: pointer; font-size: 14px; color: var(--muted); }
.diag__label { margin: 0; font-weight: 700; text-transform: uppercase; font-size: 13px; letter-spacing: .08em; color: var(--muted); }
.diag__price { margin: 4px 0 16px; font-weight: 800; font-stretch: 70%; font-size: clamp(3rem, 6vw, 4.8rem); line-height: .95; }
.diag__facts { margin: 0 0 20px; display: grid; gap: 10px; }
.diag__facts div { display: grid; grid-template-columns: 9em 1fr; gap: 10px; border-top: 1px solid var(--line); padding-top: 10px; }
.diag__facts dt { font-weight: 700; font-size: 14px; }
.diag__facts dd { margin: 0; font-size: 15px; }
.diag__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.diag__micro { font-size: 13px; color: var(--muted); margin: 16px 0 0; }

/* 2. Bande d'engagements */
.band { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--black); color: var(--white); }
.band p { margin: 0; padding: 18px var(--gut); font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: clamp(1rem, 1.6vw, 1.35rem);
  border-right: 1px solid #333; }
.band p::before { content: "■"; color: var(--yellow); margin-right: 10px; font-size: .7em; vertical-align: .15em; }

/* Sections */
.sec { padding: clamp(56px, 8vw, 120px) var(--gut); }
.sec--dark { background: var(--black); color: var(--white); }
.sec--yellow { background: var(--yellow); }
.sec__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.sec__head h2 { font-size: clamp(2.6rem, 6.6vw, 6.4rem); }
.sec__head p { margin: 0; max-width: 26em; font-size: 16px; }
.sec__note { font-size: 14px; color: var(--muted); margin: 18px 0 0; }

/* 3. Tarifs */
.prices { width: 100%; border-collapse: collapse; border-top: 2px solid var(--black); }
.prices thead th { text-align: left; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 12px 0; font-weight: 700; }
.prices thead th:not(:first-child), .prices td { text-align: right; }
.prices tbody tr { border-top: 1px solid var(--line); transition: background .15s; }
.prices tbody tr:hover { background: var(--grey); }
.prices tbody th { text-align: left; padding: 18px 0; font-weight: 400; }
.prices tbody th b { display: block; font-size: clamp(1.1rem, 1.8vw, 1.45rem); font-weight: 700; }
.prices tbody th span { font-size: 14px; color: var(--muted); }
.prices td { font-weight: 800; font-stretch: 80%; font-size: clamp(1.1rem, 2vw, 1.6rem); padding: 18px 0 18px 16px; white-space: nowrap; }
.prices td:last-child { font-weight: 600; font-stretch: 100%; font-size: 15px; color: var(--muted); }

/* 4. Avant / après */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tabs button { background: transparent; color: var(--white); border: 2px solid #555; padding: 10px 14px; font-weight: 600; cursor: pointer; font-size: 14.5px; }
.tabs button[aria-selected="true"] { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.ba { position: relative; aspect-ratio: 3 / 2; overflow: hidden; user-select: none; touch-action: pan-y; --pos: 50%; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__tag { position: absolute; top: 16px; background: var(--black); color: var(--white); font-weight: 800; text-transform: uppercase; font-size: 13px; padding: 6px 10px; pointer-events: none; }
.ba__tag--l { left: 16px; } .ba__tag--r { right: 16px; background: var(--yellow); color: var(--black); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; background: var(--yellow); transform: translateX(-50%); pointer-events: none; }
.ba__handle span { position: absolute; top: 50%; left: 50%; width: 56px; height: 56px; transform: translate(-50%, -50%); background: var(--yellow); border: 3px solid var(--black);
  display: grid; place-items: center; }
.ba__handle span::before { content: "◀ ▶"; font-size: 13px; font-weight: 800; letter-spacing: 2px; }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba__range:focus-visible + .ba__handle, .ba:focus-within .ba__handle span { outline: 3px solid var(--white); }

/* 5. Zone */
.zone { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.zone__check input { width: 100%; font: inherit; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; font-stretch: 80%; padding: 14px 16px;
  border: 2px solid var(--black); background: var(--white); text-transform: uppercase; }
.zone__check input:focus { outline: none; box-shadow: 6px 6px 0 var(--yellow), 6px 6px 0 2px var(--black); }
.zone__answer { min-height: 3.2em; margin: 14px 0 0; font-size: 17px; }
.zone__answer.is-yes { font-weight: 700; }
.zone__answer.is-yes::before { content: "✓ "; color: #17a34a; font-weight: 800; }
.zone__answer.is-no::before { content: "→ "; font-weight: 800; }
.zone__wall { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 18px; font-weight: 800; font-stretch: 70%; text-transform: uppercase;
  font-size: clamp(1.6rem, 3.4vw, 3rem); line-height: 1.05; color: #c9c8c0; }
.zone__wall li { transition: color .25s; }
.zone__wall li.is-hit { color: var(--black); background: var(--yellow); }

/* 6. Avis */
.reviews { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 30%); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 14px; scrollbar-color: var(--black) transparent; }
.reviews figure { margin: 0; scroll-snap-align: start; background: var(--white); border: 2px solid var(--black); padding: 22px; display: flex; flex-direction: column; }
.stars { margin: 0 0 12px; letter-spacing: 2px; font-size: 18px; }
.reviews blockquote { margin: 0 0 16px; font-size: 1.1rem; flex: 1; }
.reviews figcaption { font-size: 14px; color: var(--muted); }

/* 7. Devis */
.devis { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(24px, 5vw, 80px); align-items: start; }
.devis h2 { font-size: clamp(2.6rem, 6vw, 5.6rem); }
.devis__lead { margin: 22px 0 6px; }
.devis__tel { display: inline-block; font-weight: 800; font-stretch: 70%; font-size: clamp(2.4rem, 5vw, 4rem); text-decoration: none; border-bottom: 6px solid var(--yellow); line-height: 1; }
.devis__proof { font-size: 14px; color: var(--muted); margin-top: 22px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; border: 2px solid var(--black); padding: clamp(18px, 3vw, 30px); background: var(--grey); }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 14px; }
.form input, .form textarea { font: inherit; font-weight: 400; font-size: 16px; padding: 12px; border: 2px solid var(--black); background: var(--white); border-radius: 0; }
.form input:focus, .form textarea:focus { outline: 3px solid var(--yellow); outline-offset: 0; }
.form .full { grid-column: 1 / -1; }
.form .check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; }
.form .check input { width: 20px; height: 20px; margin: 0; accent-color: var(--black); flex: none; }
.form__micro { margin: 0; font-size: 13.5px; color: var(--muted); }
.form__demo { grid-column: 1 / -1; margin: 0; padding: 12px; background: var(--yellow); font-weight: 600; font-size: 14.5px; }
.hp { position: absolute; left: -9999px; }

/* Pied de page */
.ftr { background: var(--black); color: #cfcfc8; padding: clamp(40px, 6vw, 80px) var(--gut) 100px; }
.ftr__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 28px; }
.ftr__grid > * { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.ftr__grid p { margin: 0; }
.ftr__grid nav p, .ftr__grid div > p:first-child:not(.ftr__logo) { font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: #8a8a83; margin-bottom: 4px; }
.ftr__logo { font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: 1.6rem; color: var(--white); }
.ftr a { text-decoration: none; }
.ftr a:hover { color: var(--yellow); }
.ftr__tel { color: var(--yellow); font-weight: 800; font-stretch: 75%; font-size: 1.8rem; }
.ftr__small { margin: 40px 0 0; font-size: 12.5px; color: #8a8a83; }

.callbar { display: none; }

/* Pages secondaires */
.merci { min-height: 100vh; display: grid; place-content: center; gap: 14px; text-align: center; padding: 24px; background: var(--yellow); }
.merci h1 { font-size: clamp(2rem, 6vw, 4rem); }
.merci .btn { justify-self: center; }
.section { padding: 64px 0; }
.wrap { width: min(1100px, 100% - 2 * var(--gut)); margin: 0 auto; }
.legal { max-width: 760px; }
.legal h1 { font-size: 3.4rem; margin-bottom: .4em; }
.legal h2 { font-size: 1.8rem; margin-top: 1.4em; }

@media (max-width: 1080px) {
  .live { display: none; }
  .hero { grid-template-columns: 1fr; }
  .band { grid-template-columns: 1fr 1fr; }
  .zone, .devis { grid-template-columns: 1fr; }
  .reviews { grid-auto-columns: minmax(260px, 45%); }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 800px) {
  .hdr { gap: 12px; }
  .hdr__tel { margin-left: auto; font-size: 15px; padding: 8px 10px; }
  .menu { display: inline-flex; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--yellow); flex-direction: column; gap: 0; padding: 8px var(--gut) 18px;
    border-bottom: 2px solid var(--black); }
  .nav.is-open { display: flex; }
  .nav a { font-size: 2rem; font-weight: 800; font-stretch: 75%; text-transform: uppercase; padding: 8px 0; border-bottom: 1px solid rgba(0, 0, 0, .15); }
  .hero h1 span { -webkit-text-stroke: 1.5px var(--black); }
  .diag { box-shadow: 6px 6px 0 var(--black); min-height: 0; }
  .band { grid-template-columns: 1fr; }
  .band p { border-right: 0; border-bottom: 1px solid #333; padding: 12px var(--gut); }
  .prices thead { display: none; }
  .prices tbody tr { display: grid; grid-template-columns: 1fr auto; padding: 14px 0; }
  .prices tbody th { grid-column: 1 / -1; padding: 0 0 6px; }
  .prices td { padding: 0; text-align: left; }
  .prices td:last-child { text-align: right; align-self: center; }
  .reviews { grid-auto-columns: 85%; }
  .form { grid-template-columns: 1fr; }
  .ftr__grid { grid-template-columns: 1fr; }
  .callbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; border-top: 2px solid var(--black); }
  .callbar a { text-align: center; padding: 15px 8px; font-weight: 800; text-transform: uppercase; text-decoration: none; font-stretch: 85%; }
  .callbar a:first-child { background: var(--yellow); color: var(--black); border-right: 2px solid var(--black); }
  .callbar a:last-child { background: var(--black); color: var(--yellow); }
  body { padding-bottom: 54px; }
}
@media (max-width: 480px) {
  .hdr__tel { display: none; }
  .menu { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
