/* =========================================================================
   D&A Travaux — feuille de style principale
   Identité : orange #E8692A, anthracite #262422, fond crème #FAF6F2
   ========================================================================= */

@font-face { font-family: "Outfit"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/outfit-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/outfit-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/outfit-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/outfit-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 800; font-display: swap; src: url("/fonts/outfit-latin-800-normal.woff2") format("woff2"); }

:root {
  --orange: #E8692A;
  --orange-600: #D2581B;
  --orange-700: #B54912;
  --orange-50: #FDF1EA;
  --orange-100: #FBE2D4;
  --ink: #262422;
  --ink-2: #33302D;
  --ink-3: #46413D;
  --text: #3A3430;
  --muted: #6E655E;
  --line: #ECE3DB;
  --line-2: #DED3C9;
  --cream: #FAF6F2;
  --cream-2: #F4EDE6;
  --white: #FFFFFF;
  --success: #2F7D44;
  --success-bg: #E9F5EC;
  --warn: #9A5B00;
  --warn-bg: #FFF4DF;
  --danger: #B3261E;
  --danger-bg: #FDECEA;
  --info: #285C8F;
  --info-bg: #EAF2FA;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(38,36,34,.05), 0 8px 24px rgba(38,36,34,.07);
  --shadow-lg: 0 2px 4px rgba(38,36,34,.06), 0 18px 40px rgba(38,36,34,.12);
  --container: 1180px;
  --header-h: 76px;
  --font: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--text);
  background: var(--cream); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--orange-600); text-underline-offset: 3px; }
a:hover { color: var(--orange-700); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }
.icon { flex-shrink: 0; vertical-align: middle; }
.sr-only { 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; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 1000; }
.skip-link:focus { top: 12px; color: #fff; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 860px; }
.accent { color: var(--orange); }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.mt-0 { margin-top: 0 !important; } .mb-0 { margin-bottom: 0 !important; }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2.5rem; }
.stack > * + * { margin-top: 1rem; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em; font: inherit; font-weight: 600;
  font-size: 1rem; line-height: 1.2; padding: .85em 1.35em; border-radius: 10px; border: 2px solid transparent;
  cursor: pointer; text-decoration: none; transition: background .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s;
  white-space: nowrap;
}
.btn .icon { width: 1.15em; height: 1.15em; }
.btn--primary { background: var(--orange); color: #fff; box-shadow: 0 6px 16px rgba(232,105,42,.28); }
.btn--primary:hover { background: var(--orange-600); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.85); }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--outline { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn--outline:hover { border-color: var(--orange); color: var(--orange-700); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-3); color: #fff; }
.btn--danger { background: #fff; color: var(--danger); border-color: #EBC4C0; }
.btn--danger:hover { background: var(--danger-bg); color: var(--danger); }
.btn--sm { font-size: .9rem; padding: .55em .95em; border-radius: 8px; }
.btn--lg { font-size: 1.08rem; padding: 1em 1.6em; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .55; pointer-events: none; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--orange-600); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 0 var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 18px; height: var(--header-h); max-width: 1380px; }
.brand { display: flex; align-items: center; position: relative; width: 112px; height: var(--header-h); flex-shrink: 0; }
.brand img { position: absolute; top: 6px; left: 0; width: 108px; height: 108px; filter: drop-shadow(0 6px 14px rgba(0,0,0,.22)); transition: width .2s, height .2s; }
.site-header.is-scrolled .brand img { width: 64px; height: 64px; top: 6px; }
.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav > ul { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.main-nav a, .main-nav button.nav-toggle-sub {
  display: inline-flex; align-items: center; gap: 4px; padding: 10px 11px; color: var(--ink); text-decoration: none; font-weight: 500;
  font-size: .98rem; border: 0; background: none; font-family: inherit; cursor: pointer; position: relative; white-space: nowrap;
}
.main-nav a:hover, .main-nav button.nav-toggle-sub:hover { color: var(--orange-600); }
.main-nav a.is-active::after, .main-nav .has-sub.is-active > button::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 2px; height: 2px; background: var(--orange); border-radius: 2px;
}
.main-nav a.is-active, .main-nav .has-sub.is-active > button { color: var(--orange-600); }
.has-sub { position: relative; }
.has-sub .icon { width: 16px; height: 16px; transition: transform .2s; }
.submenu {
  position: absolute; top: 100%; left: -10px; min-width: 290px; background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg);
  padding: 8px; list-style: none; margin: 0; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s;
}
.has-sub:hover .submenu, .has-sub:focus-within .submenu, .has-sub.is-open .submenu { opacity: 1; visibility: visible; transform: none; }
.has-sub:hover > button .icon, .has-sub.is-open > button .icon { transform: rotate(180deg); }
.submenu a { display: flex; gap: 12px; padding: 10px 12px; border-radius: 8px; width: 100%; }
.submenu a::after { display: none; }
.submenu a:hover { background: var(--orange-50); }
.submenu .sub-icon { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--orange-50); color: var(--orange); }
.submenu .sub-icon .icon { width: 18px; height: 18px; transform: none !important; }
.submenu .sub-sep { border-top: 1px solid var(--line); margin: 6px 4px; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .account-link { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 500; text-decoration: none; padding: 8px; font-size: .95rem; }
.header-actions .account-link:hover { color: var(--orange-600); }
.burger { display: none; margin-left: auto; background: none; border: 0; padding: 10px; color: var(--ink); cursor: pointer; }
.burger .icon { width: 28px; height: 28px; }

@media (max-width: 1340px) {
  .header-actions .btn--outline { display: none; }
}
@media (max-width: 1200px) {
  .header-actions .account-label { display: none; }
}
@media (max-width: 1080px) {
  :root { --header-h: 66px; }
  .brand { width: 64px; }
  .brand img, .site-header.is-scrolled .brand img { width: 56px; height: 56px; top: 5px; }
  .burger { display: block; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: #fff; display: block; overflow-y: auto; padding: 12px 20px 120px;
    transform: translateX(100%); transition: transform .25s; visibility: hidden;
  }
  .nav-open .main-nav { transform: none; visibility: visible; }
  .nav-open { overflow: hidden; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid var(--line); }
  .main-nav a, .main-nav button.nav-toggle-sub { width: 100%; padding: 15px 4px; font-size: 1.08rem; justify-content: space-between; }
  .main-nav a.is-active::after, .main-nav .has-sub.is-active > button::after { display: none; }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 10px; display: none; min-width: 0; }
  .has-sub.is-open .submenu { display: block; }
  .has-sub:hover .submenu { display: none; }
  .has-sub.is-open:hover .submenu { display: block; }
  .header-actions { margin-left: auto; }
  .header-actions .btn { display: none; }
  .mobile-nav-ctas { display: grid !important; gap: 10px; margin-top: 20px; }
}
.mobile-nav-ctas { display: none !important; }

/* ---------- Barre d'actions mobile ---------- */
.mobile-cta {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: rgba(255,255,255,.97);
  box-shadow: 0 -4px 18px rgba(0,0,0,.1); padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); gap: 8px; backdrop-filter: blur(6px);
}
.mobile-cta .btn { flex: 1; font-size: .92rem; padding: .8em .6em; white-space: normal; text-align: center; }
@media (max-width: 760px) {
  .mobile-cta { display: flex; }
  body.has-mobile-cta { padding-bottom: 76px; }
}

/* ---------- Héros ---------- */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.hero__media { position: absolute; inset: 0; background: url("/img/hero-interieur.webp") 70% center / cover no-repeat; }
@media (max-width: 800px) { .hero__media { background-image: url("/img/hero-interieur-sm.webp"); } }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(24,22,20,.96) 0%, rgba(24,22,20,.86) 34%, rgba(24,22,20,.42) 62%, rgba(24,22,20,.1) 100%);
}
.hero__content { position: relative; padding: 120px 0 84px; max-width: 700px; }
.hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero h1 .accent { display: block; }
.hero__lead { font-size: clamp(1.08rem, 1.6vw, 1.3rem); color: rgba(255,255,255,.92); max-width: 560px; margin-bottom: 1.6em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.trust { display: flex; flex-wrap: wrap; gap: 6px 22px; list-style: none; margin: 0; padding: 0; color: rgba(255,255,255,.92); font-size: 1rem; }
.trust li { display: inline-flex; align-items: center; gap: 9px; }
.trust li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
@media (max-width: 760px) {
  .hero__media { background-position: 70% center; }
  .hero__media::after { background: linear-gradient(180deg, rgba(24,22,20,.78) 0%, rgba(24,22,20,.9) 60%, rgba(24,22,20,.96) 100%); }
  .hero__content { padding: 64px 0 52px; }
  .hero__ctas .btn { width: 100%; }
}

.page-hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.page-hero__media { position: absolute; inset: 0; background-size: cover; background-position: right center; }
.page-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(24,22,20,.95) 0%, rgba(24,22,20,.82) 45%, rgba(24,22,20,.35) 100%); }
.page-hero__content { position: relative; padding: 92px 0 56px; max-width: 680px; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.page-hero p { color: rgba(255,255,255,.9); font-size: 1.12rem; }
.page-hero .hero__ctas { margin: 24px 0 0; }
.page-hero--plain .page-hero__media { background: radial-gradient(circle at 85% 20%, rgba(232,105,42,.25), transparent 45%), linear-gradient(120deg, #2b2826, #1d1b19); }
.page-hero--plain .page-hero__media::after { display: none; }
.page-hero--compact .page-hero__content { padding: 70px 0 40px; }
@media (max-width: 760px) { .page-hero__content { padding: 56px 0 40px; } .page-hero .hero__ctas .btn { width: 100%; } }

.breadcrumb { font-size: .88rem; color: rgba(255,255,255,.75); margin-bottom: 14px; }
.breadcrumb a { color: rgba(255,255,255,.85); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb span[aria-hidden] { margin: 0 6px; }

/* ---------- Sections ---------- */
.section { padding: 76px 0; }
.section--tight { padding: 52px 0; }
.section--white { background: #fff; }
.section--cream2 { background: var(--cream-2); }
.section-title { text-align: center; margin-bottom: 44px; }
.section-title h2 { margin-bottom: .3em; }
.section-title h2::after { content: ""; display: block; width: 56px; height: 3px; background: var(--orange); border-radius: 3px; margin: 16px auto 0; }
.section-title p { color: var(--muted); max-width: 640px; margin: 14px auto 0; font-size: 1.06rem; }
.section-title--left { text-align: left; }
.section-title--left h2::after { margin-left: 0; }
.eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--orange-600); margin-bottom: 10px; }

/* ---------- Cartes métiers ---------- */
.grid { display: grid; gap: 22px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1020px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; } }

.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid rgba(236,227,219,.7); }
.card--pad { padding: 28px; }
.service-card { padding: 30px 24px 26px; text-align: center; display: flex; flex-direction: column; align-items: center; text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; position: relative; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: inherit; }
.service-card h3 { margin: 16px 0 10px; font-size: 1.3rem; }
.service-card p { color: var(--muted); font-size: .97rem; margin-bottom: 18px; flex: 1; }
.service-card .more { color: var(--orange-600); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; font-size: .95rem; }
.service-card .more .icon { width: 18px; height: 18px; transition: transform .2s; }
.service-card:hover .more .icon { transform: translateX(4px); }
.icon-bubble { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; background: var(--orange-50); color: var(--orange); box-shadow: inset 0 0 0 1px var(--orange-100); }
.icon-bubble .icon { width: 36px; height: 36px; }
.icon-bubble--sm { width: 48px; height: 48px; }
.icon-bubble--sm .icon { width: 24px; height: 24px; }

.also-strip {
  margin-top: 28px; display: flex; align-items: center; gap: 16px; padding: 16px 22px; border-radius: var(--radius);
  background: #fff; border: 1px dashed var(--line-2); flex-wrap: wrap;
}
.also-strip p { margin: 0; flex: 1; min-width: 240px; color: var(--muted); }
.also-strip strong { color: var(--ink); }

/* ---------- Deux parcours ---------- */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 860px) { .paths { grid-template-columns: 1fr; } }
.path-card { padding: 34px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.path-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--orange); }
.path-card--dark { background: var(--ink); color: rgba(255,255,255,.88); border-color: var(--ink); }
.path-card--dark h3 { color: #fff; }
.path-card__head { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; }
.path-card__head h3 { margin: 0; font-size: 1.45rem; }
.path-card--dark .icon-bubble { background: rgba(232,105,42,.16); box-shadow: none; }
.steps-list { list-style: none; padding: 0; margin: 10px 0 26px; counter-reset: s; flex: 1; }
.steps-list li { counter-increment: s; display: flex; gap: 14px; padding: 9px 0; align-items: flex-start; }
.steps-list li::before {
  content: counter(s); flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--orange-50); color: var(--orange-700);
  font-weight: 700; font-size: .9rem; display: grid; place-items: center; margin-top: 1px;
}
.path-card--dark .steps-list li::before { background: rgba(232,105,42,.2); color: #FFB08A; }

/* ---------- Bandeau sombre « de A à Z » ---------- */
.band {
  position: relative; background-color: var(--ink); color: rgba(255,255,255,.88); overflow: hidden;
  background-image: url("/img/texture-anthracite.webp");
  background-size: cover;
  background-position: center;
}
.band__grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: stretch; min-height: 300px; }
.band__text { padding: 56px 40px 56px 0; display: flex; flex-direction: column; justify-content: center; }
.band h2 { color: #fff; }
.band h2::after { content: ""; display: block; width: 60px; height: 3px; background: var(--orange); margin-top: 16px; border-radius: 3px; }
.band__media { position: relative; margin-right: calc((100vw - min(100vw, var(--container))) / -2 - 24px); clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); }
.band__media img { width: 100%; height: 100%; object-fit: cover; }
.band__media::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 100%; background: linear-gradient(90deg, var(--orange) 0 2.2%, transparent 2.2%); clip-path: polygon(14% 0, 16.5% 0, 2.5% 100%, 0 100%); z-index: 1; }
@media (max-width: 860px) {
  .band__grid { grid-template-columns: 1fr; }
  .band__text { padding: 48px 0 28px; }
  .band__media { margin: 0 -24px; clip-path: polygon(0 12%, 100% 0, 100% 100%, 0 100%); height: 220px; }
  .band__media::before { display: none; }
}

/* ---------- Méthode ---------- */
.method { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: m; }
.method__step { padding: 26px 22px; text-align: center; position: relative; }
.method__step h3 { margin: 14px 0 6px; font-size: 1.15rem; }
.method__step p { color: var(--muted); font-size: .95rem; margin: 0; }
.method__step .icon-bubble { margin: 0 auto; }
.method__step:not(:last-child)::after {
  content: ""; position: absolute; right: -14px; top: 58px; width: 10px; height: 10px; border-top: 2px solid var(--orange); border-right: 2px solid var(--orange); transform: rotate(45deg);
}
@media (max-width: 900px) { .method { grid-template-columns: 1fr 1fr; } .method__step::after { display: none; } }
@media (max-width: 520px) { .method { grid-template-columns: 1fr; } }

/* ---------- Zone ---------- */
.dept-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; list-style: none; padding: 0; margin: 0; }
.dept-chips a, .dept-chips span {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; background: #fff; border-radius: 999px; border: 1px solid var(--line);
  color: var(--ink); text-decoration: none; font-weight: 500; box-shadow: 0 1px 2px rgba(0,0,0,.03);
}
.dept-chips a:hover { border-color: var(--orange); color: var(--orange-700); }
.dept-chips b { color: var(--orange); }
.dept-card h3 { display: flex; align-items: center; gap: 12px; }
.dept-card h3 .code { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--orange); color: #fff; font-size: 1.05rem; }
.dept-card ul { columns: 2; column-gap: 20px; padding: 0; list-style: none; color: var(--muted); font-size: .95rem; margin: 0; }
.dept-card li { break-inside: avoid; padding: 3px 0; }
.dept-card li::before { content: "•"; color: var(--orange); margin-right: 8px; }
.idf-map { max-width: 520px; margin: 0 auto; }

/* ---------- Réalisations ---------- */
.real-card { overflow: hidden; text-decoration: none; color: inherit; display: block; transition: transform .2s, box-shadow .2s; }
.real-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: inherit; }
.real-card__img { aspect-ratio: 16/10; background: var(--cream-2); position: relative; overflow: hidden; }
.real-card__img img { width: 100%; height: 100%; object-fit: cover; }
.real-card__tag { position: absolute; left: 12px; bottom: 12px; background: rgba(255,255,255,.95); border-radius: 999px; padding: 5px 12px; font-size: .82rem; font-weight: 600; color: var(--ink); }
.real-card__body { padding: 18px 20px 20px; }
.real-card__body h3 { font-size: 1.12rem; margin-bottom: 4px; }
.real-card__body p { color: var(--muted); font-size: .93rem; margin: 0; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.gallery img { border-radius: 12px; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.empty-state { text-align: center; padding: 48px 28px; }
.empty-state .icon-bubble { margin: 0 auto 18px; }
.empty-state h2, .empty-state h3 { margin-bottom: 10px; }
.empty-state p { color: var(--muted); max-width: 560px; margin: 0 auto 22px; }

/* ---------- Page prestation ---------- */
.service-intro { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.service-intro__media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.service-intro .lead { font-size: 1.15rem; color: var(--ink-2); }
.service-illu { aspect-ratio: 4/3; border-radius: var(--radius); background: radial-gradient(circle at 70% 30%, rgba(232,105,42,.35), transparent 55%), linear-gradient(135deg, #34302d, #1e1c1a); display: grid; place-items: center; color: var(--orange); box-shadow: var(--shadow-lg); }
.service-illu .icon { width: 38%; height: 38%; stroke-width: 1.2; }
@media (max-width: 860px) { .service-intro { grid-template-columns: 1fr; gap: 28px; } }
.action-card { padding: 28px; }
.action-card h3 { display: flex; align-items: center; gap: 12px; }
.action-card p { color: var(--muted); margin: 0; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list .icon { color: var(--orange); width: 22px; height: 22px; margin-top: 2px; }
@media (max-width: 640px) { .check-list { grid-template-columns: 1fr; } }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .2s; color: var(--orange); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details > div { padding: 0 22px 18px; color: var(--muted); }

/* ---------- Bandeau CTA ---------- */
.cta-band { background: linear-gradient(110deg, var(--orange) 0%, #F08445 100%); color: #fff; border-radius: 18px; padding: 40px 44px; display: flex; align-items: center; gap: 30px; flex-wrap: wrap; box-shadow: 0 16px 40px rgba(232,105,42,.25); }
.cta-band h2 { color: #fff; margin: 0 0 6px; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.cta-band p { margin: 0; color: rgba(255,255,255,.92); }
.cta-band > div:first-child { flex: 1; min-width: 260px; }
.cta-band .btns { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn--light { background: #fff; color: var(--orange-700); }
.cta-band .btn--light:hover { background: var(--ink); color: #fff; }
.cta-band .btn--ghost:hover { color: var(--orange-700); }
@media (max-width: 640px) { .cta-band { padding: 30px 24px; } .cta-band .btns, .cta-band .btn { width: 100%; } }

/* ---------- Pied de page ---------- */
.site-footer {
  background-color: #23211F; color: rgba(255,255,255,.82); padding: 0 0 28px; margin-top: 0;
  background-image: url("/img/texture-anthracite.webp");
  background-size: cover;
  background-position: center;
}
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.footer-top { display: flex; align-items: center; gap: 24px; padding: 30px 0; border-top: 2px solid var(--orange); border-bottom: 1px solid rgba(255,255,255,.1); flex-wrap: wrap; }
.footer-top img { width: 84px; height: 84px; }
.footer-top .tagline { padding-left: 20px; border-left: 2px solid var(--orange); flex: 1; min-width: 220px; margin: 0; }
.footer-top .cta-title { color: var(--orange); font-weight: 700; font-size: 1.45rem; margin: 0; }
.footer-cols { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr 1fr; gap: 32px; padding: 40px 0 34px; border-bottom: 1px solid rgba(232,105,42,.6); }
.footer-cols h3 { color: #fff; font-size: 1.25rem; margin-bottom: 18px; }
.footer-cols h3::after { content: ""; display: block; width: 44px; height: 2px; background: var(--orange); margin-top: 10px; }
.footer-cols ul { list-style: none; padding: 0; margin: 0; }
.footer-cols li { margin-bottom: 11px; }
.footer-cols li a, .footer-cols li span { display: inline-flex; align-items: center; gap: 12px; }
.footer-cols .ficon { width: 30px; height: 30px; border-radius: 50%; display: inline-grid; place-items: center; background: #fff; color: var(--orange); flex-shrink: 0; }
.footer-cols .ficon .icon { width: 17px; height: 17px; }
.footer-cols .contact-icon { color: var(--orange); width: 22px; height: 22px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 22px; font-size: .9rem; flex-wrap: wrap; color: rgba(255,255,255,.65); }
@media (max-width: 900px) { .footer-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-cols { grid-template-columns: 1fr; } .footer-top .tagline { border-left: 0; padding-left: 0; } }

/* ---------- Alertes & badges ---------- */
.flash-wrap { position: relative; z-index: 5; }
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: 12px; margin: 18px 0; font-size: .98rem; border: 1px solid transparent; }
.alert .icon { margin-top: 2px; }
.alert--success { background: var(--success-bg); color: #1F5A30; border-color: #BFE0C7; }
.alert--error { background: var(--danger-bg); color: #8C1D17; border-color: #F2C3BF; }
.alert--info { background: var(--info-bg); color: #1F4A73; border-color: #C7DBEF; }
.alert--warn { background: var(--warn-bg); color: #6E4100; border-color: #F3D9A8; }
.alert p { margin: 0; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; line-height: 1.3; }
.badge--info { background: var(--info-bg); color: var(--info); }
.badge--accent { background: var(--orange-50); color: var(--orange-700); }
.badge--success { background: var(--success-bg); color: var(--success); }
.badge--warn { background: var(--warn-bg); color: var(--warn); }
.badge--muted { background: #EFEBE7; color: #6A625C; }
.badge--danger { background: var(--danger-bg); color: var(--danger); }

/* ---------- Formulaires ---------- */
.form-card { padding: 34px; }
@media (max-width: 640px) { .form-card { padding: 22px 18px; } }
.field { margin-bottom: 18px; }
.field > label, .field > .label, fieldset > legend { display: block; font-weight: 600; color: var(--ink); margin-bottom: 7px; font-size: .98rem; }
.field .hint { font-size: .87rem; color: var(--muted); margin: -2px 0 8px; }
.req { color: var(--orange-600); }
.input, input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], input[type="date"], input[type="time"], input[type="datetime-local"], input[type="search"], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1.5px solid var(--line-2); border-radius: 10px;
  padding: 12px 14px; transition: border-color .15s, box-shadow .15s; min-height: 48px;
}
textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
select { appearance: none; 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='%23E8692A' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(232,105,42,.15); }
.has-error input, .has-error select, .has-error textarea, input.is-invalid, textarea.is-invalid, select.is-invalid { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .88rem; margin: 6px 0 0; font-weight: 500; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.row--3 { grid-template-columns: 2fr 1fr 1.4fr; }
@media (max-width: 640px) { .row, .row--3 { grid-template-columns: 1fr; } }
fieldset { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--orange); flex-shrink: 0; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.autocomplete { position: relative; }
.autocomplete-list { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border: 1px solid var(--line-2); border-radius: 10px; box-shadow: var(--shadow-lg); list-style: none; margin: 4px 0 0; padding: 6px; z-index: 20; max-height: 280px; overflow-y: auto; }
.autocomplete-list li { padding: 10px 12px; border-radius: 8px; cursor: pointer; font-size: .95rem; }
.autocomplete-list li[aria-selected="true"], .autocomplete-list li:hover { background: var(--orange-50); }
.autocomplete-list small { color: var(--muted); display: block; }

/* Choix des prestations (tuiles) */
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 860px) { .choice-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .choice-grid { grid-template-columns: 1fr; } }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice__box { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1.5px solid var(--line-2); border-radius: 12px; background: #fff; height: 100%; transition: .15s; font-weight: 500; color: var(--ink); }
.choice__box .icon-bubble { width: 42px; height: 42px; box-shadow: none; }
.choice__box .icon-bubble .icon { width: 22px; height: 22px; }
.choice input:checked + .choice__box { border-color: var(--orange); background: var(--orange-50); box-shadow: 0 0 0 3px rgba(232,105,42,.12); }
.choice input:checked + .choice__box .icon-bubble { background: var(--orange); color: #fff; }
.choice input:focus-visible + .choice__box { outline: 3px solid var(--orange); outline-offset: 2px; }
.choice__check { margin-left: auto; width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid var(--line-2); display: grid; place-items: center; color: transparent; }
.choice input[type="radio"] + .choice__box .choice__check { border-radius: 50%; }
.choice input:checked + .choice__box .choice__check { background: var(--orange); border-color: var(--orange); color: #fff; }
.choice__check .icon { width: 15px; height: 15px; stroke-width: 3; }
.pill-choices { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-choices .choice__box { padding: 10px 16px; border-radius: 999px; font-size: .95rem; }

/* Assistant en plusieurs étapes */
.wizard-steps { display: flex; list-style: none; padding: 0; margin: 0 0 28px; gap: 6px; counter-reset: ws; }
.wizard-steps li { flex: 1; counter-increment: ws; font-size: .82rem; color: var(--muted); text-align: center; position: relative; padding-top: 42px; font-weight: 500; }
.wizard-steps li::before { content: counter(ws); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 34px; height: 34px; border-radius: 50%; background: #fff; border: 2px solid var(--line-2); display: grid; place-items: center; font-weight: 700; color: var(--muted); z-index: 1; }
.wizard-steps li::after { content: ""; position: absolute; top: 16px; left: calc(-50% + 22px); right: calc(50% + 22px); height: 2px; background: var(--line-2); }
.wizard-steps li:first-child::after { display: none; }
.wizard-steps li.is-done::before { background: var(--orange-50); border-color: var(--orange); color: var(--orange-700); content: "✓"; }
.wizard-steps li.is-current { color: var(--ink); font-weight: 700; }
.wizard-steps li.is-current::before { background: var(--orange); border-color: var(--orange); color: #fff; }
.wizard-steps li.is-done::after, .wizard-steps li.is-current::after { background: var(--orange); }
@media (max-width: 640px) { .wizard-steps li { font-size: 0; } .wizard-steps li.is-current { font-size: .78rem; } }
.wizard-step { margin-bottom: 28px; }
.wizard-step__title { display: flex; align-items: center; gap: 12px; font-size: 1.35rem; margin-bottom: 6px; }
.wizard-step__title .num { width: 34px; height: 34px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; font-size: 1rem; flex-shrink: 0; }
.wizard-step__intro { color: var(--muted); margin-bottom: 20px; }
.js .wizard [data-step]:not(.is-active) { display: none; }
.wizard-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.wizard-nav .spacer { flex: 1; }
.no-js-only { display: block; }
.js .no-js-only { display: none; }
.js-only { display: none; }
.js .js-only { display: block; }
.js .wizard .wizard-step + .wizard-step { margin-top: 0; }
.wizard:not(.is-enhanced) .wizard-nav [data-prev], .wizard:not(.is-enhanced) .wizard-nav [data-next] { display: none; }
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 30px; align-items: start; }
.form-aside { position: sticky; top: calc(var(--header-h) + 20px); }
.form-aside .card { padding: 24px; }
.form-aside h3 { font-size: 1.1rem; }
.form-aside ul { list-style: none; padding: 0; margin: 0; }
.form-aside li { display: flex; gap: 10px; padding: 7px 0; font-size: .95rem; color: var(--muted); }
.form-aside li .icon { color: var(--orange); width: 20px; height: 20px; margin-top: 2px; }
@media (max-width: 980px) { .form-layout { grid-template-columns: 1fr; } .form-aside { position: static; } }

/* Sélecteur de créneaux */
.slot-days { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.slot-day-btn { flex: 0 0 auto; scroll-snap-align: start; min-width: 88px; padding: 10px 12px; border: 1.5px solid var(--line-2); border-radius: 12px; background: #fff; font: inherit; cursor: pointer; text-align: center; line-height: 1.25; color: var(--ink); }
.slot-day-btn small { display: block; color: var(--muted); font-size: .8rem; text-transform: capitalize; }
.slot-day-btn strong { display: block; font-size: 1.25rem; }
.slot-day-btn span { display: block; font-size: .78rem; color: var(--muted); }
.slot-day-btn[aria-pressed="true"] { border-color: var(--orange); background: var(--orange); color: #fff; }
.slot-day-btn[aria-pressed="true"] small, .slot-day-btn[aria-pressed="true"] span { color: rgba(255,255,255,.9); }
.slot-day { margin-bottom: 18px; }
.slot-day h4 { font-size: 1rem; margin: 0 0 10px; color: var(--ink); }
.js .slot-picker.is-enhanced .slot-day { display: none; }
.js .slot-picker.is-enhanced .slot-day.is-active { display: block; }
.js .slot-picker.is-enhanced .slot-day h4 { display: none; }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.slot { position: relative; }
.slot input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.slot span { display: block; text-align: center; padding: 11px 6px; border: 1.5px solid var(--line-2); border-radius: 10px; background: #fff; font-weight: 600; color: var(--ink); transition: .15s; }
.slot input:checked + span { background: var(--orange); border-color: var(--orange); color: #fff; }
.slot input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.slot:hover span { border-color: var(--orange); }
.slot-summary { margin-top: 14px; padding: 12px 16px; border-radius: 10px; background: var(--orange-50); color: var(--orange-700); font-weight: 600; display: none; align-items: center; gap: 10px; }
.slot-summary.is-visible { display: flex; }
.slot-empty { padding: 20px; border-radius: 12px; background: var(--cream-2); color: var(--muted); }

/* Dépôt de fichiers */
.dropzone { border: 2px dashed var(--line-2); border-radius: 14px; padding: 26px; text-align: center; background: #fff; transition: .15s; position: relative; }
.dropzone.is-over { border-color: var(--orange); background: var(--orange-50); }
.dropzone .icon-bubble { margin: 0 auto 10px; }
.dropzone p { margin: 0 0 4px; }
.dropzone input[type="file"] { margin-top: 12px; max-width: 100%; }
.js .dropzone.is-enhanced input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; width: 100%; }
.file-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.file-list li { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px; font-size: .82rem; position: relative; overflow: hidden; }
.file-list .thumb { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 6px; background: var(--cream-2); display: grid; place-items: center; color: var(--muted); margin-bottom: 6px; }
.file-list .name { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); font-weight: 500; }
.file-list .size { color: var(--muted); }
.file-list .remove { position: absolute; top: 12px; right: 12px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(38,36,34,.8); color: #fff; display: grid; place-items: center; cursor: pointer; }
.file-list .remove .icon { width: 14px; height: 14px; }

/* Récapitulatif */
.recap { background: var(--cream); border-radius: 12px; padding: 18px 20px; }
.recap dl { display: grid; grid-template-columns: 170px 1fr; gap: 8px 16px; margin: 0; font-size: .95rem; }
.recap dt { color: var(--muted); }
.recap dd { margin: 0; color: var(--ink); font-weight: 500; white-space: pre-line; overflow-wrap: anywhere; }
@media (max-width: 560px) { .recap dl { grid-template-columns: 1fr; gap: 2px; } .recap dd { margin-bottom: 10px; } }

/* ---------- Espace client ---------- */
.account-bar { background: #fff; border-bottom: 1px solid var(--line); }
.account-bar .container { display: flex; align-items: center; gap: 6px; overflow-x: auto; }
.account-bar a { padding: 16px 14px; color: var(--muted); text-decoration: none; font-weight: 500; display: inline-flex; gap: 8px; align-items: center; white-space: nowrap; border-bottom: 2px solid transparent; }
.account-bar a.is-active, .account-bar a:hover { color: var(--ink); border-bottom-color: var(--orange); }
.account-bar form { margin-left: auto; }
.account-bar .link-btn { color: var(--muted); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; padding: 16px 6px; white-space: nowrap; }
.dash-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.dash-head h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0; }
.list-card { display: flex; gap: 18px; align-items: center; padding: 20px 22px; text-decoration: none; color: inherit; transition: box-shadow .15s, transform .15s; }
a.list-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); color: inherit; }
.list-card + .list-card { margin-top: 12px; }
.list-card__main { flex: 1; min-width: 0; }
.list-card__main h3 { font-size: 1.1rem; margin: 0 0 4px; }
.list-card__meta { color: var(--muted); font-size: .9rem; display: flex; gap: 6px 16px; flex-wrap: wrap; }
.list-card__side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; text-align: right; }
@media (max-width: 640px) { .list-card { flex-wrap: wrap; } .list-card__side { align-items: flex-start; text-align: left; width: 100%; flex-direction: row; flex-wrap: wrap; } }
.panel { padding: 26px; margin-bottom: 22px; }
.panel > h2, .panel > header h2 { font-size: 1.3rem; margin: 0 0 16px; display: flex; align-items: center; gap: 10px; }
.panel > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.panel > header h2 { margin: 0; }
.two-col { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 980px) { .two-col { grid-template-columns: 1fr; } }
.status-track { list-style: none; padding: 0; margin: 0; display: flex; gap: 4px; flex-wrap: wrap; }
.status-track li { flex: 1; min-width: 90px; font-size: .74rem; text-align: center; color: var(--muted); padding-top: 12px; border-top: 4px solid var(--line); line-height: 1.25; }
.status-track li.is-done { border-color: var(--orange-100); color: var(--ink-3); }
.status-track li.is-current { border-color: var(--orange); color: var(--ink); font-weight: 700; }
.thread { display: flex; flex-direction: column; gap: 14px; max-height: 620px; overflow-y: auto; padding: 4px 4px 4px 0; }
.msg { max-width: 88%; padding: 14px 16px; border-radius: 14px; background: var(--cream-2); align-self: flex-start; }
.msg--mine { align-self: flex-end; background: var(--orange-50); border: 1px solid var(--orange-100); }
.msg--request { border: 1.5px solid #F3D9A8; background: var(--warn-bg); }
.msg__head { display: flex; gap: 10px; font-size: .82rem; color: var(--muted); margin-bottom: 6px; flex-wrap: wrap; align-items: center; }
.msg__head strong { color: var(--ink); }
.msg__body { white-space: pre-wrap; overflow-wrap: anywhere; font-size: .97rem; }
.msg__files { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.file-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 8px; background: #fff; border: 1px solid var(--line); font-size: .85rem; color: var(--ink); text-decoration: none; max-width: 100%; }
.file-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 200px; }
.file-chip .icon { width: 16px; height: 16px; color: var(--orange); }
.doc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.doc { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; text-decoration: none; color: var(--ink); display: block; font-size: .85rem; position: relative; }
.doc__thumb { aspect-ratio: 4/3; background: var(--cream-2); display: grid; place-items: center; color: var(--muted); }
.doc__thumb img { width: 100%; height: 100%; object-fit: cover; }
.doc__thumb .icon { width: 34px; height: 34px; color: var(--orange); }
.doc__name { padding: 8px 10px 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500; }
.doc__meta { padding: 0 10px 8px; color: var(--muted); font-size: .78rem; }
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline li { position: relative; padding: 0 0 16px 24px; font-size: .9rem; }
.timeline li::before { content: ""; position: absolute; left: 5px; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); }
.timeline li::after { content: ""; position: absolute; left: 9px; top: 18px; bottom: 0; width: 1px; background: var(--line-2); }
.timeline li:last-child::after { display: none; }
.timeline time { display: block; color: var(--muted); font-size: .8rem; }
.kv { display: grid; grid-template-columns: 150px 1fr; gap: 8px 14px; margin: 0; font-size: .95rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; color: var(--ink); white-space: pre-line; overflow-wrap: anywhere; }
@media (max-width: 520px) { .kv { grid-template-columns: 1fr; gap: 0; } .kv dd { margin-bottom: 10px; } }

/* Devis */
.quote-head { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: flex-start; }
.quote-total-big { font-size: 2rem; font-weight: 800; color: var(--ink); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 12px; }
table.table { width: 100%; border-collapse: collapse; font-size: .94rem; background: #fff; }
.table th { text-align: left; background: var(--ink); color: #fff; font-weight: 600; padding: 12px 14px; font-size: .85rem; white-space: nowrap; }
.table td { padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.table tr:nth-child(even) td { background: #FCFAF8; }
.table .num { text-align: right; white-space: nowrap; }
.table .desc { color: var(--muted); font-size: .86rem; margin-top: 3px; white-space: pre-line; }
.totals { margin-left: auto; max-width: 380px; margin-top: 16px; }
.totals div { display: flex; justify-content: space-between; padding: 6px 2px; gap: 20px; }
.totals .grand { background: var(--orange); color: #fff; border-radius: 10px; padding: 12px 14px; font-weight: 700; font-size: 1.12rem; margin-top: 6px; }
.accept-box { border: 2px solid var(--orange); border-radius: 16px; padding: 26px; background: #fff; }
.accept-box .check { margin-bottom: 12px; }
.versions { list-style: none; padding: 0; margin: 0; }
.versions li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .92rem; align-items: center; flex-wrap: wrap; }
.versions li:last-child { border-bottom: 0; }
.versions li.is-current { font-weight: 600; }

/* Pages d'authentification */
.auth-wrap { min-height: calc(100vh - var(--header-h) - 200px); display: grid; place-items: center; padding: 56px 16px; }
.auth-card { width: 100%; max-width: 460px; padding: 36px; }
.auth-card h1 { font-size: 1.8rem; }

/* Légales */
.prose { max-width: 820px; }
.prose h2 { font-size: 1.45rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.4em; }
.prose .todo { background: var(--warn-bg); color: var(--warn); padding: 1px 6px; border-radius: 4px; font-weight: 500; }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .icon { color: var(--orange); }

/* Erreur */
.error-page { text-align: center; padding: 100px 0; }
.error-page .code { font-size: 5rem; font-weight: 800; color: var(--orange); line-height: 1; }

/* Utilitaires */
.divider { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
.flex { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.flex-between { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.inline-form { display: inline; }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } .reveal { opacity: 1; transform: none; } }
@media print {
  .site-header, .site-footer, .mobile-cta, .account-bar, .no-print { display: none !important; }
  body { background: #fff; }
}
.form-layout > *, .two-col > *, .grid > * { min-width: 0; }
.pill-choices .choice__box { white-space: normal; }
.js .wizard-steps.js-only, .js .slot-days.js-only { display: flex; }
@media (min-width: 1081px) { .account-bar .container { padding-left: 150px; } }
.quote-head > div:last-child { margin-left: auto; }
.js-only-flex, .js-only-inline { display: none !important; }
.js .js-only-flex { display: flex !important; }
.js .js-only-inline { display: inline-flex !important; }
.js .js-only-inline[hidden], .js .js-only-flex[hidden] { display: none !important; }
