/* =========================================================
   Novakaza — feuille de styles v2
   Clair & orienté conversion · bleu nuit + orange · Archivo / Inter (auto-hébergées)
   ========================================================= */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  --ink: #13202f;          /* bleu nuit : titres, fonds sombres */
  --ink-2: #1c2c3f;
  --ink-3: #2a3c52;
  --ink-line: rgba(255, 255, 255, .12);
  --ink-text: #eef2f7;
  --ink-muted: #a9b6c6;

  --paper: #ffffff;
  --soft: #f3f6fa;         /* fond clair froid */
  --cream: #fbf6ef;        /* fond clair chaud */
  --cream-2: #f1e8dc;
  --line: #e2e8f0;
  --line-warm: #eadfce;
  --text: #1b2533;
  --muted: #5b6778;

  --ochre: #f28c28;        /* orange Novakaza (fond de bouton, texte foncé dessus) */
  --ochre-600: #dc7413;
  --ochre-700: #a4520a;    /* orange lisible sur fond clair (AA) */
  --ochre-100: #fff1e2;

  --ok: #1f7a4d;
  --err: #b42318;
  --err-bg: #fef3f2;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(19,32,47,.05), 0 10px 28px -14px rgba(19,32,47,.22);
  --shadow-lg: 0 30px 60px -28px rgba(19,32,47,.38);
  --container: 1200px;
  --font-head: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0; font-family: var(--font-body); font-size: 1rem; line-height: 1.6;
  color: var(--text); background: var(--paper);
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.015em; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 6vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.45rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--ochre); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ochre); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* Placeholders à remplacer par le propriétaire */
.ph { background: #fff3c4; color: #5c4400; border: 1px dashed #c99a00; border-radius: 4px; padding: 0 .3em; font-weight: 600; white-space: nowrap; }
.dark .ph, .site-footer .ph, .cta-band .ph { background: rgba(255, 214, 102, .14); color: #ffd666; border-color: rgba(255, 214, 102, .5); }

.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: .8em 1.4em; border-radius: 12px; border: 2px solid transparent;
  font: 700 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ochre); color: var(--ink); box-shadow: 0 8px 20px -10px rgba(242,140,40,.75); }
.btn-primary:hover { background: #f69a3d; }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }
.btn-ghost { background: transparent; color: var(--ink-text); border-color: rgba(255,255,255,.35); }
.btn-sm { min-height: 44px; padding: .55em 1.05em; font-size: .94rem; }
.btn-block { width: 100%; }
.btn .icon { width: 1.15em; height: 1.15em; }

/* ---------- Bandeau haut + en-tête (clair) ---------- */
.topbar { background: var(--ink); color: var(--ink-muted); font-size: .8rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 34px; }
.topbar p { margin: 0; display: flex; align-items: center; gap: 6px; }
.topbar .icon { width: 14px; height: 14px; color: var(--ochre); }
.topbar a { display: inline-flex; align-items: center; gap: 6px; color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--ochre); }
.topbar-right { display: none !important; }
@media (max-width: 559px) { .topbar p:first-child { font-size: .74rem; } .tb-long { display: none; } }
@media (min-width: 760px) { .topbar-right { display: flex !important; } }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); box-shadow: 0 6px 20px -18px rgba(19,32,47,.5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 36px; height: 36px; flex: 0 0 36px; color: var(--ochre); }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; letter-spacing: .005em; line-height: 1; white-space: nowrap; }
.brand-accent { color: var(--ochre-600); }
.brand-light .brand-accent { color: var(--ochre); }
.brand-name small { display: block; font-family: var(--font-body); font-size: .6rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.brand-light { color: #fff; }
.brand-light .brand-name small { color: var(--ink-muted); }
.main-nav { display: none; }
.main-nav ul { list-style: none; display: flex; gap: 2px; }
.main-nav a { display: block; padding: 8px 11px; border-radius: 8px; text-decoration: none; font-size: .94rem; font-weight: 600; color: var(--ink); white-space: nowrap; }
.main-nav a:hover { color: var(--ochre-700); background: var(--ochre-100); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-phone { display: none; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); padding: 4px 6px; border-radius: 12px; }
.header-phone:hover { background: var(--soft); }
.header-phone-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ochre-100); color: var(--ochre-700); }
.header-phone-icon .icon { width: 21px; height: 21px; }
.header-phone-txt { display: flex; flex-direction: column; line-height: 1.2; font-weight: 800; font-size: .98rem; white-space: nowrap; }
.header-phone-txt small { font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.header-cta { display: none; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }
.mobile-nav { display: none; border-top: 1px solid var(--line); padding: 8px 0 20px; }
.nav-open .mobile-nav { display: block; }
.mobile-nav ul { list-style: none; }
.mobile-nav ul a { display: block; padding: 13px 4px; color: var(--ink); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-nav-phone { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--soft); text-decoration: none; color: var(--ink); font-weight: 800; }
.mobile-nav-phone .icon { color: var(--ochre-700); width: 24px; height: 24px; }
.mobile-nav-phone small { display: block; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.mobile-nav .btn { margin-top: 12px; width: 100%; }
@media (min-width: 640px) { .header-phone { display: inline-flex; } }
@media (min-width: 1100px) {
  .main-nav { display: block; }
  .nav-toggle, .mobile-nav, .nav-open .mobile-nav { display: none; }
  .header-cta { display: inline-flex; }
}

/* ---------- Sections ---------- */
.section { padding: 76px 0; }
.section-sm { padding: 44px 0; }
.section.soft { background: var(--soft); }
.section.warm { background: var(--cream); }
.dark { background: var(--ink); color: var(--ink-text); }
.dark h2, .dark h3 { color: #fff; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 700 .78rem/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ochre-700); margin-bottom: 12px; }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin-bottom: 0; }
.section-head.split { max-width: none; display: grid; gap: 10px; align-items: end; }
.section-head.split h2 { margin-bottom: 0; }
@media (min-width: 900px) { .section-head.split { grid-template-columns: 1fr 1fr; gap: 40px; } }
.center-cta { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 36px; text-align: center; }
.center-cta-note { font-size: .88rem; color: var(--muted); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--cream) 0%, #fff 100%); padding: 40px 0 56px; isolation: isolate; }
.hero::before { content: ""; position: absolute; z-index: -1; width: 680px; height: 680px; right: -220px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(242,140,40,.16), transparent 65%); }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px 6px 9px; border: 1px solid var(--line-warm); border-radius: 999px; font-size: .84rem; font-weight: 600; color: var(--ink); margin-bottom: 18px; background: #fff; }
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ochre); box-shadow: 0 0 0 4px rgba(242,140,40,.2); }
.hero h1 { margin-bottom: 16px; }
.hero h1 em { font-style: normal; color: var(--ochre-600); white-space: nowrap; }
.hero .lead { font-size: clamp(1.08rem, 1.9vw, 1.28rem); color: #334155; max-width: 620px; margin-bottom: 26px; line-height: 1.5; }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; font-size: .93rem; font-weight: 600; color: var(--ink); }
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.hero-trust .icon { color: var(--ok); }
.slogan { font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; color: var(--ochre); margin-top: 14px; }

/* Sélecteur de projet (façon plateformes travaux) */
.finder { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 18px; }
.finder-title { display: flex; align-items: center; gap: 10px; font: 800 1.2rem/1.2 var(--font-head); color: var(--ink); margin-bottom: 14px; }
.finder-title .icon { color: var(--ochre-600); }
.finder-row { display: grid; gap: 10px; }
.finder-field label { display: block; font-size: .78rem; font-weight: 700; color: var(--muted); margin: 0 0 5px 2px; }
.finder-select, .finder-input { width: 100%; min-height: 54px; padding: 0 14px; border: 1.5px solid #cfd8e3; border-radius: 12px; background: #fff; font: 600 1rem var(--font-body); color: var(--ink); appearance: none; -webkit-appearance: none; }
.finder-select { padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2313202f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; cursor: pointer; }
.finder-select:focus, .finder-input:focus { outline: none; border-color: var(--ochre-600); box-shadow: 0 0 0 4px rgba(242,140,40,.2); }
.finder-btn { min-height: 54px; width: 100%; }
.finder-popular { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; font-size: .84rem; color: var(--muted); }
.finder-popular ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.finder-popular a { display: inline-block; padding: 5px 11px; border-radius: 999px; background: var(--soft); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .82rem; border: 1px solid var(--line); }
.finder-popular a:hover { background: var(--ochre-100); border-color: var(--ochre); }
@media (min-width: 640px) {
  .finder { padding: 22px; }
  .finder-row { grid-template-columns: minmax(0,1fr) 116px auto; align-items: end; }
  .finder-select { text-overflow: ellipsis; }
  .finder-btn { width: auto; }
}

.hero-visual { position: relative; display: none; }
.hero-photo { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 4.4; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 50%; }
.hero-float { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 0 18px 40px -18px rgba(19,32,47,.55); font-size: .9rem; font-weight: 700; line-height: 1.25; }
.hf-icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; background: var(--ochre-100); color: var(--ochre-700); }
.hf-icon .icon { width: 22px; height: 22px; }
.hero-float small { display: block; font-weight: 500; color: var(--muted); font-size: .78rem; margin-top: 2px; }
.hero-float.f1 { left: -28px; bottom: 34px; }
.hero-float.f2 { right: -16px; top: 28px; }
@media (min-width: 980px) {
  .hero { padding: 64px 0 80px; }
  .hero-grid { grid-template-columns: 1.3fr .7fr; gap: 48px; }
  .hero-visual { display: block; }
}

/* ---------- Bandeau réassurance ---------- */
.trustbar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trust-items { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.trust-items li { display: flex; align-items: center; gap: 12px; padding: 18px 10px; }
.trust-items .icon { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--ink); color: var(--ochre); flex-shrink: 0; }
.trust-items strong { display: block; font-family: var(--font-head); font-size: .98rem; color: var(--ink); line-height: 1.2; }
.trust-items small { display: block; color: var(--muted); font-size: .82rem; line-height: 1.35; margin-top: 2px; }
@media (max-width: 559px) { .trust-items small { display: none; } .trust-items li { padding: 14px 6px; } .trust-items strong { font-size: .88rem; } }
@media (min-width: 1000px) { .trust-items { grid-template-columns: repeat(4, 1fr); } .trust-items li + li { border-left: 1px solid var(--line); padding-left: 22px; } }

/* ---------- Étapes ---------- */
.steps { list-style: none; display: grid; gap: 18px; }
.step { position: relative; padding: 26px 22px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.step-icon { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 18px; background: var(--soft); color: var(--ink); margin-bottom: 16px; }
.step-icon .icon { width: 28px; height: 28px; }
.step-num { position: absolute; top: -8px; right: -8px; display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ochre); color: var(--ink); font: 800 .86rem var(--font-head); border: 2px solid #fff; }
.step h3 { font-size: 1.12rem; }
.step p { color: var(--muted); margin: 0; font-size: .96rem; }
.step-key { border-color: var(--ochre); box-shadow: 0 0 0 1px var(--ochre), var(--shadow); }
.step-key .step-icon { background: var(--ochre-100); color: var(--ochre-700); }
.step-tag { position: absolute; top: 18px; right: 18px; padding: 4px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .02em; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .steps { grid-template-columns: repeat(4, 1fr); } .step:not(:last-child)::after { content: ""; position: absolute; top: 54px; right: -14px; width: 10px; height: 10px; border-top: 2px solid var(--ochre); border-right: 2px solid var(--ochre); transform: rotate(45deg); z-index: 1; } }

/* ---------- Projets populaires ---------- */
.projects { list-style: none; display: grid; grid-template-columns: 1fr; gap: 16px; }
.project { display: flex; flex-direction: column; height: 100%; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); text-decoration: none; box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .15s ease; }
.project:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.project-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft); }
.project-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.project:hover .project-img img { transform: scale(1.04); }
.project-body { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 18px; flex: 1; }
.project-body strong { font-family: var(--font-head); font-size: 1.12rem; color: var(--ink); }
.project-body small { color: var(--muted); font-size: .92rem; }
.project-cta { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9rem; color: var(--ochre-700); }
.project-cta .icon { width: 16px; height: 16px; transition: transform .15s ease; }
.project:hover .project-cta .icon { transform: translateX(3px); }
@media (min-width: 600px) { .projects { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .projects { grid-template-columns: repeat(3, 1fr); gap: 22px; } }

/* ---------- Tuiles corps d'état ---------- */
.tiles { list-style: none; display: grid; grid-template-columns: 1fr; gap: 10px; }
.tile { display: flex; align-items: center; gap: 14px; height: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: #fff; text-decoration: none; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.tile:hover { border-color: var(--ochre); box-shadow: var(--shadow); transform: translateY(-1px); }
.tile-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: var(--ochre-100); color: var(--ochre-700); flex-shrink: 0; }
.tile-icon .icon { width: 24px; height: 24px; }
.tile-text { display: flex; flex-direction: column; min-width: 0; }
.tile-text strong { font-family: var(--font-head); font-size: 1rem; color: var(--ink); line-height: 1.25; }
.tile-text small { color: var(--muted); font-size: .84rem; line-height: 1.4; margin-top: 2px; }
.tile-arrow { margin-left: auto; width: 18px; height: 18px; color: #9aa6b5; transition: transform .15s ease, color .15s ease; }
.tile:hover .tile-arrow { color: var(--ochre-700); transform: translateX(3px); }
.tiles-note { margin-top: 22px; color: var(--muted); font-size: .95rem; text-align: center; }
.tiles-note a { color: var(--ochre-700); font-weight: 700; }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
@media (min-width: 1040px) { .tiles { grid-template-columns: repeat(3, 1fr); gap: 14px; } }

/* ---------- Le conseil avant le devis ---------- */
.advice { display: grid; gap: 36px; align-items: center; }
.advice-media { position: relative; }
.advice-media img { width: 100%; border-radius: 22px; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; object-fit: cover; }
.advice-badge { position: absolute; left: 18px; bottom: -20px; display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 14px; background: var(--ink); color: #fff; font: 800 1.05rem var(--font-head); box-shadow: var(--shadow-lg); }
.advice-mark { width: 28px; height: 28px; color: var(--ochre); }
.advice-text > p { color: #3d4a5c; }
.checklist { list-style: none; display: grid; gap: 10px; margin: 6px 0 26px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist .icon { color: var(--ok); margin-top: 3px; width: 1.1em; height: 1.1em; }
@media (min-width: 960px) { .advice { grid-template-columns: 1fr 1fr; gap: 64px; } }

/* ---------- Garanties ---------- */
.guarantees { list-style: none; display: grid; gap: 16px; }
.guarantee { padding: 26px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-align: left; }
.g-icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; margin-bottom: 16px; background: var(--ink); color: var(--ochre); }
.g-icon .icon { width: 26px; height: 26px; }
.guarantee p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (min-width: 700px) { .guarantees { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .guarantees { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Particuliers / Entreprises ---------- */
.audiences { display: grid; gap: 20px; }
.audience { display: flex; flex-direction: column; padding: 30px 26px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.audience-tag { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: var(--ochre-100); color: var(--ochre-700); font-weight: 700; font-size: .82rem; margin-bottom: 16px; }
.audience.pro .audience-tag { background: #e6edf6; color: var(--ink); }
.audience h3 { font-size: 1.45rem; }
.audience > p { color: var(--muted); }
.audience .btn { margin-top: auto; align-self: flex-start; }
@media (min-width: 860px) { .audiences { grid-template-columns: 1fr 1fr; gap: 24px; } .audience { padding: 38px 36px; } }

/* ---------- Zone ---------- */
.zone { display: grid; gap: 36px; align-items: center; }
.zone-intro { color: #3d4a5c; }
.zone-deps { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 18px; }
.zone-deps li { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 700; font-size: .92rem; color: var(--ink); }
.zone-deps li.main { background: var(--ink); color: #fff; border-color: var(--ink); }
.zone-deps .icon { width: 16px; height: 16px; color: var(--ochre); }
.zone-sub { font-size: .9rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.zone-cities { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 26px; color: var(--muted); font-size: .9rem; }
.zone-cities li::before { content: "·"; margin-right: 8px; color: var(--ochre); font-weight: 800; }
.zone-map { max-width: 460px; width: 100%; margin: 0 auto; }
.zone-map svg { width: 100%; height: auto; filter: drop-shadow(0 18px 30px rgba(19,32,47,.12)); }
@media (min-width: 960px) { .zone { grid-template-columns: 1.05fr .95fr; gap: 64px; } }

/* ---------- Bandeau service client ---------- */
.service-band { display: grid; gap: 18px; align-items: center; padding: 28px 24px; border-radius: 22px; background: var(--ochre-100); border: 1px solid #f7d3ad; }
.service-band-icon { display: none; }
.service-band h2 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); margin-bottom: 6px; }
.service-band p { margin: 0; color: #4a3a2a; }
.ph-inline { display: inline-block; margin-top: 4px; }
.service-band-actions { display: flex; flex-direction: column; gap: 12px; }
.service-phone { display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px; border-radius: 14px; background: #fff; text-decoration: none; color: var(--ink); font: 800 1.15rem var(--font-head); border: 1px solid #f2c79a; }
.service-phone .icon { width: 26px; height: 26px; color: var(--ochre-700); }
.service-phone small { display: block; font: 600 .7rem var(--font-body); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
@media (min-width: 900px) {
  .service-band { grid-template-columns: auto 1fr auto; padding: 30px 36px; gap: 28px; }
  .service-band-icon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: var(--ochre); color: var(--ink); }
  .service-band-icon .icon { width: 32px; height: 32px; }
  .service-band-actions { flex-direction: row; align-items: center; }
}

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font: 700 1.03rem/1.35 var(--font-head); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--ochre-600); transition: transform .2s ease; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details[open] { border-color: var(--ochre); box-shadow: var(--shadow); }
.faq .faq-body { padding: 0 20px 18px; color: var(--muted); }
.faq .faq-body p:last-child { margin-bottom: 0; }
.faq .faq-body a { color: var(--ochre-700); font-weight: 600; }

/* ---------- CTA artisans ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 24px; padding: 38px 26px; background: var(--ink); color: var(--ink-text); display: grid; gap: 22px; align-items: center; isolation: isolate; }
.cta-band::after { content: ""; position: absolute; z-index: -1; width: 460px; height: 460px; right: -140px; bottom: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(242,140,40,.32), transparent 65%); }
.cta-band .eyebrow { color: var(--ochre); }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { margin: 0; color: var(--ink-muted); max-width: 640px; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.4fr auto; padding: 50px 56px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--ink-muted); padding: 56px 0 28px; font-size: .93rem; }
.footer-grid { display: grid; gap: 32px; margin-bottom: 36px; }
.footer-grid h2 { font: 700 .8rem var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.footer-grid ul { list-style: none; display: grid; gap: 9px; }
.footer-grid a { text-decoration: none; color: var(--ink-muted); }
.footer-grid a:hover { color: var(--ochre); }
.footer-about p { margin: 12px 0 0; max-width: 360px; }
.footer-about .slogan { margin-top: 18px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { color: var(--ochre); margin-top: 3px; width: 1.05em; height: 1.05em; }
.footer-bottom { display: flex; flex-direction: column; gap: 10px; padding-top: 22px; border-top: 1px solid var(--ink-line); font-size: .84rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--ink-muted); }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } .footer-bottom { flex-direction: row; justify-content: space-between; } }
@media (max-width: 759px) {
  .site-footer { padding-bottom: 100px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-about, .footer-grid > div:last-child { grid-column: 1 / -1; }
}

/* Barre d'action mobile (devis + appel service client) */
.mobile-cta { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.98); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -16px rgba(19,32,47,.45); }
.mobile-cta .btn { flex: 1; min-height: 50px; font-size: .98rem; }
.mobile-cta .btn-call { flex: 0 0 auto; background: var(--ink); color: #fff; padding: .8em 1.1em; }
@media (min-width: 760px) { .mobile-cta { display: none; } }

/* =========================================================
   Pages formulaire
   ========================================================= */
.page-hero { background: linear-gradient(180deg, var(--cream), #fff); padding: 34px 0 30px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(1.9rem, 4.4vw, 2.7rem); margin-bottom: 10px; }
.page-hero p { color: #3d4a5c; max-width: 720px; margin: 0; font-size: 1.06rem; }
.page-hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 16px; font-weight: 600; font-size: .92rem; color: var(--ink); }
.page-hero-trust li { display: flex; align-items: center; gap: 7px; }
.page-hero-trust .icon { color: var(--ok); }
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 12px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--ochre-700); }

.form-layout { display: grid; gap: 28px; padding: 32px 0 72px; align-items: start; }
@media (min-width: 1000px) { .form-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; padding-top: 40px; } }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 24px 18px; }
@media (min-width: 640px) { .form-card { padding: 34px 34px; } }
.form-aside { display: grid; gap: 16px; }
@media (min-width: 1000px) { .form-aside { position: sticky; top: 96px; } }
.aside-card { border-radius: 16px; padding: 22px; background: var(--soft); border: 1px solid var(--line); }
.aside-card.contact { background: var(--ochre-100); border-color: #f7d3ad; }
.aside-card h2 { font-size: 1.1rem; margin-bottom: 12px; }
.aside-card .checklist { margin: 0; font-size: .94rem; }
.aside-card p { font-size: .94rem; color: var(--muted); margin: 0 0 .6em; }
.aside-card.contact p { color: #4a3a2a; }
.aside-phone { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: #fff; border: 1px solid #f2c79a; font: 800 1.08rem var(--font-head); color: var(--ink); text-decoration: none; margin-top: 4px; }
.aside-phone .icon { color: var(--ochre-700); width: 24px; height: 24px; }
.aside-phone small { display: block; font: 600 .68rem var(--font-body); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.mini-steps { list-style: none; display: grid; gap: 12px; font-size: .93rem; }
.mini-steps li { display: flex; gap: 12px; align-items: flex-start; }
.mini-steps b { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ochre); color: var(--ink); font: 800 .82rem var(--font-head); flex-shrink: 0; }
.mini-steps span { padding-top: 2px; color: #3d4a5c; }

/* Progression multi-étapes */
.stepper { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 28px; }
.stepper li { display: flex; flex-direction: column; gap: 8px; font-size: .76rem; font-weight: 600; color: var(--muted); }
.stepper li::before { content: ""; height: 5px; border-radius: 5px; background: var(--cream-2); }
.stepper li.done::before, .stepper li.current::before { background: var(--ochre); }
.stepper li.current { color: var(--text); }
.stepper .s-num { display: none; }
@media (min-width: 560px) { .stepper li { font-size: .84rem; } .stepper .s-num { display: inline; color: var(--ochre-700); } }
.no-js .stepper { display: none; }

.form-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.js .form-step[hidden] { display: none; }
.no-js .form-step + .form-step { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.form-step legend, .form-section-title { font: 800 1.35rem/1.2 var(--font-head); padding: 0; margin-bottom: 6px; }
.step-intro { color: var(--muted); margin-bottom: 24px; font-size: .97rem; }
.form-section { border: 0; padding: 0; margin: 0 0 30px; min-width: 0; }
.form-section + .form-section { padding-top: 28px; border-top: 1px solid var(--line); }

.field { margin-bottom: 20px; }
.field-row { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .field-row.cols-2 { grid-template-columns: 1fr 1fr; } .field-row.cols-3 { grid-template-columns: 1fr 1fr 1fr; } .field-row.cp-ville { grid-template-columns: 160px 1fr; } }
.label, .field > label, .group-label { display: block; font-weight: 650; font-size: .95rem; margin-bottom: 8px; color: var(--text); }
.req { color: var(--err); margin-left: 2px; }
.opt { font-weight: 500; color: var(--muted); font-size: .86rem; }
.hint { font-size: .85rem; color: var(--muted); margin: -2px 0 8px; }
.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1.5px solid #cfc8bb; background: #fff; color: var(--text);
  font: 400 1rem/1.4 var(--font-body); transition: border-color .15s ease, box-shadow .15s ease;
}
.textarea { min-height: 140px; resize: vertical; }
.select { appearance: none; -webkit-appearance: none; padding-right: 42px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2359606b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.input:hover, .select:hover, .textarea:hover { border-color: #a9a191; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ochre-600); box-shadow: 0 0 0 4px rgba(242,140,40,.2); }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--err); background: var(--err-bg); }
.field-error { display: flex; align-items: center; gap: 6px; color: var(--err); font-size: .87rem; font-weight: 600; margin-top: 7px; }
.field-error:empty { display: none; }
.field-error::before { content: "!"; display: inline-flex; align-items: center; justify-content: center; width: 17px; height: 17px; border-radius: 50%; background: var(--err); color: #fff; font-size: .72rem; font-weight: 800; flex-shrink: 0; }

/* Cartes de choix (radio / checkbox) */
.choices { display: grid; gap: 10px; }
.choices.cols-2 { grid-template-columns: 1fr 1fr; }
.choices.cols-3 { grid-template-columns: 1fr; }
@media (min-width: 560px) { .choices.cols-3 { grid-template-columns: repeat(3, 1fr); } .choices.trades-pick { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 820px) { .choices.trades-pick { grid-template-columns: repeat(3, 1fr); } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice label { display: flex; align-items: center; gap: 12px; height: 100%; min-height: 54px; padding: 12px 14px; border-radius: var(--radius-sm); border: 1.5px solid #d6cfc2; background: #fff; cursor: pointer; font-weight: 600; font-size: .95rem; line-height: 1.3; transition: border-color .15s ease, background-color .15s ease; }
.choice label:hover { border-color: #a9a191; }
.choice label .icon { color: var(--muted); width: 22px; height: 22px; }
.choice label small { display: block; font-weight: 500; color: var(--muted); font-size: .82rem; margin-top: 2px; }
.choice input:checked + label { border-color: var(--ochre-600); background: var(--ochre-100); box-shadow: inset 0 0 0 1px var(--ochre-600); }
.choice input:checked + label .icon { color: var(--ochre-700); }
.choice input:focus-visible + label { outline: 3px solid var(--ochre); outline-offset: 2px; }
.choice .tick { margin-left: auto; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid #c4bcae; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; background: #fff; }
.choice input[type="radio"] + label .tick { border-radius: 50%; }
.choice input:checked + label .tick { background: var(--ochre-600); border-color: var(--ochre-600); }
.choice input:checked + label .tick::after { content: ""; width: 9px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.choice-big label { flex-direction: column; align-items: flex-start; gap: 8px; padding: 18px 16px; min-height: 0; }
.choice-big label .icon { width: 28px; height: 28px; }
.choice-big label .tick { position: absolute; top: 14px; right: 14px; }
.group-invalid .choice label { border-color: var(--err); }

.consent { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: var(--radius-sm); background: var(--cream); border: 1.5px solid var(--line); font-size: .92rem; color: var(--text); }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--ochre-600); flex-shrink: 0; }
.consent a { color: var(--ochre-700); font-weight: 600; }
.consent.invalid { border-color: var(--err); background: var(--err-bg); }

.reveal { padding: 18px; margin: -4px 0 20px; border-radius: var(--radius-sm); background: var(--cream); border-left: 4px solid var(--ochre); }
.reveal[hidden] { display: none; }
.reveal .field:last-child { margin-bottom: 0; }
.notice { display: flex; gap: 10px; padding: 14px 16px; border-radius: var(--radius-sm); font-size: .92rem; margin-bottom: 18px; }
.notice .icon { margin-top: 2px; }
.notice-warn { background: #fff7e6; border: 1px solid #f3c77b; color: #6b4400; }
.notice-info { background: #eef4ff; border: 1px solid #c7d7fe; color: #1d3a8a; }
.notice[hidden] { display: none; }

.dropzone { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 26px 16px; text-align: center; border: 2px dashed #cfc8bb; border-radius: var(--radius); background: var(--cream); cursor: pointer; transition: border-color .15s ease, background-color .15s ease; }
.dropzone:hover, .dropzone.drag { border-color: var(--ochre-600); background: var(--ochre-100); }
.dropzone .icon { width: 30px; height: 30px; color: var(--ochre-700); }
.dropzone strong { font-size: 1rem; }
.dropzone span { font-size: .85rem; color: var(--muted); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.file-list { list-style: none; display: grid; gap: 6px; margin-top: 10px; font-size: .88rem; }
.file-list li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; border-radius: 8px; background: var(--cream); }
.file-list li span:last-child { color: var(--muted); white-space: nowrap; }

.form-nav { display: flex; gap: 12px; justify-content: space-between; align-items: center; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.form-nav .btn-next, .form-nav .btn-submit { margin-left: auto; }
.no-js .btn-prev, .no-js .btn-next { display: none; }
.js .btn-submit[hidden] { display: none; }
.form-footnote { font-size: .84rem; color: var(--muted); margin: 14px 0 0; }
.error-summary { padding: 14px 16px; border-radius: var(--radius-sm); background: var(--err-bg); border: 1px solid #fecdca; color: var(--err); font-weight: 600; font-size: .93rem; margin-bottom: 20px; }
.error-summary[hidden] { display: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.btn[disabled], .btn[aria-busy="true"] { opacity: .7; cursor: progress; transform: none; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(19,32,47,.25); border-top-color: var(--ink); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.success { text-align: center; padding: 18px 4px 6px; }
.success-icon { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; background: #e8f5ee; color: var(--ok); display: flex; align-items: center; justify-content: center; }
.success-icon .icon { width: 36px; height: 36px; }
.success h2 { font-size: 1.7rem; }
.success p { color: var(--muted); max-width: 520px; margin-left: auto; margin-right: auto; }
.success .ref { display: inline-block; padding: 6px 12px; border-radius: 8px; background: var(--cream); font-weight: 700; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; margin-bottom: 18px; color: var(--text); }
.success .demo-flag { display: inline-block; margin: 0 auto 20px; padding: 10px 14px; border-radius: 10px; background: #fff7e6; border: 1px solid #f3c77b; color: #6b4400; font-size: .88rem; }
.success-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* =========================================================
   Pages légales
   ========================================================= */
.legal { max-width: 820px; padding: 44px 20px 80px; }
.legal h2 { font-size: 1.4rem; margin-top: 2em; padding-top: .2em; }
.legal h3 { margin-top: 1.4em; }
.legal p, .legal li { color: #353a42; }
.legal ul { padding-left: 1.3em; margin-bottom: 1em; }
.legal li { margin-bottom: .35em; }
.legal dl { display: grid; grid-template-columns: 1fr; gap: 4px 20px; margin: 0 0 1em; }
.legal dt { font-weight: 700; margin-top: 8px; }
.legal dd { margin: 0; color: #353a42; }
@media (min-width: 640px) { .legal dl { grid-template-columns: 260px 1fr; } .legal dt { margin-top: 0; } }
.legal .notice { margin-top: 0; }
.legal a { color: var(--ochre-700); }
.legal table { width: 100%; border-collapse: collapse; margin-bottom: 1em; font-size: .93rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px; border-bottom: 1px solid var(--line); }
.legal th { background: var(--cream); }
.table-wrap { overflow-x: auto; }

/* 404 */
.notfound { min-height: 60vh; display: flex; align-items: center; text-align: center; }
.notfound .container { max-width: 620px; }
.notfound .hero-ctas { justify-content: center; }
.choice-group { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
.choice-group legend { padding: 0; }


/* ---------- Ajustements v2 ---------- */
.choice-group { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
.choice-group legend { padding: 0; }
.form-section > legend.form-section-title { float: left; width: 100%; }
.form-section > legend.form-section-title + * { clear: both; }
.choices.trades-pick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 420px) { .choices.trades-pick .choice label { font-size: .88rem; padding: 10px 11px; gap: 9px; } .choices.trades-pick .choice label .icon { width: 19px; height: 19px; } }
@media (min-width: 820px) { .choices.trades-pick { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.notfound { min-height: 60vh; display: flex; align-items: center; text-align: center; }
.notfound .container { max-width: 620px; }
.notfound .hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
