:root {
    --red: #c41e3a;
    --red-dark: #8b0000;
    --red-soft: #fdecef;
    --black: #141414;
    --dark: #1f1f1f;
    --gray-900: #2b2b2b;
    --gray-600: #5f6368;
    --gray-300: #d9d9d9;
    --gray-100: #f5f5f5;
    --white: #fff;
    --radius: 12px;
    --shadow: 0 10px 30px rgba(0, 0, 0, .08);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, .15);
    --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
    --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--gray-900); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); }
h1, h2, h3 { line-height: 1.2; color: var(--black); margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.container { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--gray-600); }
.small { font-size: .875rem; }
.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; vertical-align: -.2em; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--red); color: #fff; padding: .5rem 1rem; z-index: 2000; }
.skip-link:focus { left: 1rem; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .8rem 1.4rem; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: 1rem; font-family: inherit; transition: transform .15s, background .2s, color .2s, box-shadow .2s; line-height: 1.2; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 1rem 1.8rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(196, 30, 58, .3); }
.btn-primary:hover { background: var(--red-dark); }
.btn-dark { background: var(--black); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-light { background: #fff; color: var(--red); }
.btn-outline-light { border-color: rgba(255, 255, 255, .8); color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--black); }
.link-arrow { font-weight: 700; text-decoration: none; }

/* Topbar + header */
.topbar { background: var(--black); color: #ccc; font-size: .85rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .45rem 0; }
.topbar a { color: #fff; text-decoration: none; margin-left: 1.2rem; }
.topbar .icon { color: var(--red); }
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255, 255, 255, .97); backdrop-filter: blur(8px); box-shadow: 0 2px 12px rgba(0, 0, 0, .06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1rem; }
.brand img { height: 56px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 1.5rem; }
.main-nav ul { list-style: none; display: flex; gap: .3rem; margin: 0; padding: 0; }
.main-nav ul a { display: block; padding: .5rem .85rem; border-radius: 8px; color: var(--black); text-decoration: none; font-weight: 600; }
.main-nav ul a:hover, .main-nav ul a[aria-current] { color: var(--red); background: var(--red-soft); }
.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; color: var(--black); }
.nav-toggle .icon { width: 28px; height: 28px; }
.nav-toggle .icon-close { display: none; }

/* Hero */
.hero { position: relative; min-height: min(86vh, 760px); display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10, 10, 10, .88) 0%, rgba(20, 20, 20, .7) 45%, rgba(139, 0, 0, .35) 100%); }
.hero-content { position: relative; z-index: 1; padding: 5rem 0; max-width: 1200px; }
.hero h1 { color: #fff; max-width: 14ch; }
.hero .lead { font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 46ch; color: #eee; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-weight: 800; font-size: .8rem; color: var(--red); margin-bottom: .8rem; }
.hero .eyebrow { color: #ff6b81; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin: 2rem 0 1.5rem; }
.hero-rating { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: .5rem; background: rgba(255, 255, 255, .1); padding: .5rem 1rem; border-radius: 999px; }

/* Sections */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-muted { background: var(--gray-100); }
.section-dark { background: var(--black); color: #ddd; }
.section-dark h2 { color: #fff; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-title { margin-bottom: 2rem; }
.empty { text-align: center; color: var(--gray-600); padding: 2rem; background: var(--gray-100); border-radius: var(--radius); }

.strengths { padding: 0; margin-top: -3rem; position: relative; z-index: 2; }
.strengths-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.strength { display: flex; gap: .9rem; align-items: center; padding: 1.5rem; border-right: 1px solid var(--gray-300); }
.strength:last-child { border-right: 0; }
.strength .icon { width: 40px; height: 40px; color: var(--red); }
.strength strong { display: block; color: var(--black); }
.strength span { font-size: .9rem; color: var(--gray-600); }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card { background: #fff; border: 1px solid var(--gray-300); border-radius: var(--radius); padding: 2rem; transition: transform .2s, box-shadow .2s; border-top: 4px solid var(--red); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-icon { display: inline-flex; width: 64px; height: 64px; align-items: center; justify-content: center; border-radius: 50%; color: #fff; margin-bottom: 1.2rem; }
.service-icon .icon { width: 30px; height: 30px; }
.service-couverture .service-icon { background: linear-gradient(135deg, #1f4fa0, #163a78); }
.service-demoussage .service-icon { background: linear-gradient(135deg, #2e9e3e, #1d6e2a); }
.service-isolation .service-icon { background: linear-gradient(135deg, #f07b18, #c95b00); }

.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: center; }
.about-logo { background: #fff; border-radius: var(--radius); padding: 2rem; }
.checklist { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .6rem; }
.checklist li { display: flex; gap: .6rem; align-items: center; color: #fff; }
.checklist .icon { color: var(--red); }

/* Portfolio */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; margin-bottom: 2.5rem; }
.portfolio-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.portfolio-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.portfolio-card a { text-decoration: none; color: inherit; display: block; }
.portfolio-thumb { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--gray-100); }
.portfolio-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.portfolio-card:hover .portfolio-thumb img { transform: scale(1.05); }
.badge { position: absolute; top: .8rem; left: .8rem; background: var(--red); color: #fff; padding: .25rem .7rem; border-radius: 999px; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.badge-static { position: static; }
.thumb-ba { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; height: 100%; background: #fff; }
.thumb-ba img { min-width: 0; }
.thumb-ba-tag { position: absolute; bottom: .7rem; background: rgba(0, 0, 0, .65); color: #fff; padding: .2rem .6rem; border-radius: 999px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.thumb-ba-tag-before { left: .7rem; }
.thumb-ba-tag-after { right: .7rem; background: var(--red); }
.ba { position: relative; margin: 0 0 .5rem; aspect-ratio: 16/10; border-radius: 10px; overflow: hidden; background: var(--gray-100); user-select: none; touch-action: pan-y; }
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-label { position: absolute; top: .8rem; background: rgba(0, 0, 0, .65); color: #fff; padding: .25rem .75rem; border-radius: 999px; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; pointer-events: none; }
.ba-label-before { left: .8rem; }
.ba-label-after { right: .8rem; background: var(--red); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 6px rgba(0, 0, 0, .4); pointer-events: none; }
.ba-handle span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--red); font-weight: 700; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 10px rgba(0, 0, 0, .35); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.ba-range:focus-visible + .ba-handle, .ba:focus-within .ba-handle span { outline: 3px solid var(--red); }
.ba-hint { font-size: .85rem; margin: 0 0 1rem; }
.portfolio-body { padding: 1rem 1.2rem 1.2rem; }
.portfolio-body h3 { margin: 0 0 .3rem; font-size: 1.1rem; }
.portfolio-body p { margin: 0; font-size: .9rem; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; justify-content: center; }
.chip { padding: .45rem 1rem; border-radius: 999px; border: 1px solid var(--gray-300); text-decoration: none; color: var(--black); font-weight: 600; font-size: .9rem; }
.chip.active, .chip:hover { background: var(--black); color: #fff; border-color: var(--black); }

.page-hero { background: linear-gradient(120deg, var(--black), #3a0a12); color: #ddd; padding: 3.5rem 0 3rem; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); }
.page-hero p { margin: 0; }
.breadcrumb { font-size: .85rem; margin-bottom: 1rem; color: #aaa; }
.breadcrumb a { color: #fff; }
.meta-line { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

.project-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 2.5rem; align-items: start; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.gallery-item { border-radius: 10px; overflow: hidden; aspect-ratio: 4/3; display: block; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-main { grid-column: 1 / -1; aspect-ratio: 16/10; }
.project-aside { position: sticky; top: calc(var(--header-h) + 1rem); }
.card-cta { background: var(--gray-100); border-radius: var(--radius); padding: 1.5rem; display: grid; gap: .7rem; }
.card-cta h2 { font-size: 1.3rem; margin: 0; }
.card-cta p { margin: 0 0 .3rem; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(0, 0, 0, .92); display: none; align-items: center; justify-content: center; z-index: 3000; padding: 1rem; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 90vh; max-width: 92vw; width: auto; border-radius: 6px; }
.lightbox button { position: absolute; z-index: 2; font-size: 1.6rem; background: rgba(0, 0, 0, .6); box-shadow: 0 0 0 1px rgba(255, 255, 255, .35); color: #fff; border: 0; border-radius: 50%; width: 48px; height: 48px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lightbox button:hover { background: rgba(200, 30, 50, .85); }
.lightbox .lb-close { top: 1rem; right: 1rem; }
.lightbox .lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* Reviews */
.stars { color: #d0d0d0; letter-spacing: 2px; font-size: 1.1rem; white-space: nowrap; }
.stars .on { color: #f5a623; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 2rem; }
.review-card { background: #fff; border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); position: relative; display: flex; flex-direction: column; gap: .7rem; }
.review-card .quote { position: absolute; right: 1.2rem; top: 1.2rem; width: 32px; height: 32px; color: var(--red-soft); }
.review-text { margin: 0; flex: 1; }
.review-card footer { display: flex; flex-direction: column; font-size: .9rem; }
.review-reply { background: var(--gray-100); border-left: 3px solid var(--red); padding: .7rem 1rem; border-radius: 6px; font-size: .9rem; }
.review-reply p { margin: .3rem 0 0; }
.reviews-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2.5rem; align-items: start; }
.reviews-layout aside { position: sticky; top: calc(var(--header-h) + 1rem); }
.reviews-list { display: grid; gap: 1.2rem; }
.rating-summary { display: flex; gap: 2rem; align-items: center; background: var(--gray-100); padding: 1.5rem; border-radius: var(--radius); margin-bottom: 1.5rem; }
.rating-big { display: flex; flex-direction: column; align-items: center; min-width: 120px; }
.rating-big strong { font-size: 3rem; line-height: 1; color: var(--black); }
.rating-bars { flex: 1; display: grid; gap: .3rem; }
.rating-bar { display: grid; grid-template-columns: 40px 1fr 30px; gap: .6rem; align-items: center; font-size: .85rem; }
.rating-bar .bar { height: 8px; background: var(--gray-300); border-radius: 4px; overflow: hidden; }
.rating-bar .bar span { display: block; height: 100%; background: #f5a623; }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: .2rem; }
.star-input input { position: absolute; opacity: 0; pointer-events: none; }
.star-input label { font-size: 2rem; color: var(--gray-300); cursor: pointer; transition: color .15s; line-height: 1; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: #f5a623; }
.star-input input:focus-visible + label { outline: 2px solid var(--red); border-radius: 4px; }

/* Forms */
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.8rem; }
.form-card h2 { font-size: 1.4rem; }
.field { margin-bottom: 1rem; border: 0; padding: 0; min-width: 0; }
.field legend, .field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .35rem; padding: 0; }
.field input, .field select, .field textarea { width: 100%; padding: .75rem .9rem; border: 1px solid var(--gray-300); border-radius: 8px; font: inherit; background: #fff; color: inherit; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(196, 30, 58, .15); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field-error { color: var(--red); font-size: .85rem; margin: .3rem 0 0; }
.checkbox { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; margin-bottom: 1rem; }
.checkbox input { margin-top: .3rem; accent-color: var(--red); }
.alert { padding: 1rem 1.2rem; border-radius: 10px; margin: 1.2rem 0 0; font-weight: 600; }
.alert-success { background: #e7f6ec; color: #17642f; border: 1px solid #b6e2c3; }
.alert-error { background: var(--red-soft); color: var(--red-dark); border: 1px solid #f3b8c2; }

.contact-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.5rem; align-items: start; }
.contact-aside { display: grid; gap: 1.5rem; }
.info-list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: 1rem; }
.info-list li { display: flex; gap: .8rem; }
.info-list .icon { color: var(--red); margin-top: .2rem; }
.info-list a { color: inherit; }
.map-wrap iframe { width: 100%; height: 260px; border: 0; border-radius: var(--radius); }

.prose { max-width: 820px; }
.legal h2 { font-size: 1.4rem; margin-top: 2rem; color: var(--red); }

/* CTA band + footer */
.cta-band { background: linear-gradient(110deg, var(--red), var(--red-dark)); color: #fff; padding: 2.5rem 0; }
.cta-band h2 { color: #fff; margin: 0 0 .3rem; font-size: 1.8rem; }
.cta-band p { margin: 0; opacity: .9; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.cta-band-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.site-footer { background: var(--black); color: #aaa; padding: 3.5rem 0 1rem; font-size: .92rem; }
.site-footer h3 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; margin-top: 0; }
.site-footer a { color: #ddd; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.site-footer address { font-style: normal; line-height: 1.9; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr 1.2fr; gap: 2rem; }
.footer-logo { background: #fff; padding: 6px 10px; border-radius: 8px; width: 160px; margin-bottom: 1rem; }
.footer-social { display: flex; gap: .8rem; }
.footer-social .icon { width: 22px; height: 22px; }
.footer-bottom { border-top: 1px solid #333; margin-top: 2.5rem; padding-top: 1rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; font-size: .82rem; }
.footer-bottom p { margin: 0; }
.fab-call { display: none; position: fixed; right: 1rem; bottom: 1rem; width: 58px; height: 58px; border-radius: 50%; background: var(--red); color: #fff; align-items: center; justify-content: center; box-shadow: 0 10px 25px rgba(196, 30, 58, .45); z-index: 900; }
.fab-call .icon { width: 26px; height: 26px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } html { scroll-behavior: auto; } }

/* Responsive */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .strengths-grid { grid-template-columns: 1fr 1fr; }
    .strength:nth-child(2) { border-right: 0; }
    .strength:nth-child(-n+2) { border-bottom: 1px solid var(--gray-300); }
    .reviews-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
    :root { --header-h: 66px; }
    .brand img { height: 46px; }
    .nav-toggle { display: block; }
    .main-nav { position: fixed; inset: calc(var(--header-h) + 0px) 0 auto 0; top: var(--header-h); background: #fff; flex-direction: column; align-items: stretch; padding: 1rem 1.25rem 1.5rem; gap: 1rem; box-shadow: 0 20px 30px rgba(0, 0, 0, .15); transform: translateY(-10px); opacity: 0; visibility: hidden; transition: .2s; max-height: calc(100vh - var(--header-h)); overflow: auto; }
    .site-header { position: sticky; }
    .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
    .nav-open .nav-toggle .icon-open { display: none; }
    .nav-open .nav-toggle .icon-close { display: block; }
    .main-nav ul { flex-direction: column; }
    .main-nav ul a { padding: .8rem 1rem; font-size: 1.05rem; }
    .services-grid, .about-grid, .project-layout, .reviews-layout, .contact-layout { grid-template-columns: 1fr; }
    .about-grid { gap: 2rem; }
    .about-logo { max-width: 360px; margin: 0 auto; }
    .project-aside, .reviews-layout aside { position: static; }
    .fab-call { display: flex; }
}
@media (max-width: 640px) {
    .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 1.5rem; transform: none; }
    .lightbox .lb-prev { left: calc(50% - 64px); }
    .lightbox .lb-next { right: calc(50% - 64px); }
    .hide-sm { display: none; }
    .topbar-inner > span:first-child { display: none; }
    .topbar-inner { justify-content: center; }
    .topbar a { margin-left: .9rem; }
    .topbar-right a:first-child { margin-left: 0; }
    .strengths { margin-top: 0; padding: 1.5rem 0 0; }
    .strengths-grid { grid-template-columns: 1fr; }
    .strength { border-right: 0 !important; border-bottom: 1px solid var(--gray-300); }
    .strength:last-child { border-bottom: 0; }
    .reviews-grid, .footer-grid, .field-row { grid-template-columns: 1fr; }
    .rating-summary { flex-direction: column; gap: 1rem; align-items: stretch; }
    .gallery { grid-template-columns: 1fr 1fr; }
    .hero-actions .btn { width: 100%; }
    .hero { min-height: auto; }
    .hero-content { padding: 3.5rem 0 4rem; }
    .card { padding: 1.3rem; }
    .cta-band-actions .btn { flex: 1; }
}

.quote-page { display: grid; grid-template-columns: 3fr 2fr; gap: 1.5rem; align-items: start; max-width: 1140px; }
.quote-recap h2 { margin-top: 0; }
.quote-recap h3 { font-size: 1rem; margin: 1.2rem 0 .3rem; }
.quote-page .form-card { position: sticky; top: 100px; }
.quote-summary { display: grid; grid-template-columns: auto 1fr; gap: .45rem 1rem; margin: 0 0 1.4rem; }
.quote-summary dt { color: #666; }
.quote-summary dd { margin: 0; font-weight: 600; }
.quote-lines { overflow-x: auto; }
.quote-lines table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.quote-lines th { text-align: left; background: #1a1a1a; color: #fff; padding: .55rem .6rem; font-weight: 600; }
.quote-lines td { padding: .6rem; border-bottom: 1px solid #eee; vertical-align: top; }
.quote-lines .num { text-align: right; white-space: nowrap; }
.quote-lines .quote-section td { font-weight: 700; background: #f6f6f6; }
.quote-totals { display: grid; grid-template-columns: 1fr auto; gap: .4rem 1.2rem; max-width: 360px; margin: 1rem 0 1.2rem auto; }
.quote-totals dt { color: #666; }
.quote-totals dd { margin: 0; text-align: right; font-weight: 600; white-space: nowrap; }
.quote-totals .quote-total { color: var(--red); font-size: 1.25rem; font-weight: 700; border-top: 2px solid #eee; padding-top: .4rem; }
@media (max-width: 900px) { .quote-page { grid-template-columns: 1fr; } .quote-page .form-card { position: static; } }
@media (max-width: 640px) {
    .quote-lines thead { display: none; }
    .quote-lines tr { display: block; border-bottom: 1px solid #eee; padding: .6rem 0; }
    .quote-lines td { display: flex; justify-content: space-between; gap: 1rem; border: 0; padding: .15rem 0; }
    .quote-lines td::before { content: attr(data-label); color: #666; }
    .quote-lines td.desc { font-weight: 600; }
    .quote-lines td.desc::before, .quote-lines .quote-section td::before { content: none; }
    .quote-lines .quote-section td { padding: .5rem; }
    .quote-totals { max-width: none; }
}
.cookie-banner { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 2500; max-width: 720px; margin: 0 auto; background: #fff; color: var(--black, #141414); border-radius: 14px; box-shadow: 0 12px 40px rgba(0, 0, 0, .25); padding: 1rem 1.2rem; display: flex; gap: 1rem; align-items: center; }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; font-size: .9rem; line-height: 1.45; flex: 1; }
.cookie-actions { display: flex; gap: .5rem; flex-shrink: 0; }
.cookie-actions .btn { padding: .6rem 1.1rem; font-size: .9rem; }
.btn-outline-dark { border-color: #d1d5db; color: #141414; background: #fff; }
.btn-outline-dark:hover { border-color: #141414; }
@media (max-width: 640px) { .cookie-banner { flex-direction: column; align-items: stretch; bottom: .6rem; left: .6rem; right: .6rem; } .cookie-actions .btn { flex: 1; } }

/* Suivi de chantier */
.chantier-page { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 2rem; align-items: start; }
.chantier-page aside { display: grid; gap: 1.5rem; }
.chantier-steps { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; counter-reset: step; }
.chantier-steps li { display: flex; flex-direction: column; align-items: center; gap: .4rem; font-weight: 600; color: var(--gray-600); text-align: center; position: relative; }
.chantier-steps li::before { content: ""; position: absolute; top: 18px; left: -50%; right: 50%; height: 3px; background: var(--gray-300); z-index: 0; }
.chantier-steps li:first-child::before { display: none; }
.chantier-steps li span { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--gray-100); border: 2px solid var(--gray-300); position: relative; z-index: 1; }
.chantier-steps li.done span, .chantier-steps li.current span { background: var(--red); border-color: var(--red); color: #fff; }
.chantier-steps li.done::before, .chantier-steps li.current::before { background: var(--red); }
.chantier-steps li.current { color: var(--black); }
.chantier-title { font-size: 1.5rem; margin-top: 2rem; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 1.4rem; border-left: 3px solid var(--gray-300); }
.timeline-entry { position: relative; margin-bottom: 1.6rem; }
.timeline-entry::before { content: ""; position: absolute; left: calc(-1.4rem - 9px); top: .35rem; width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 3px solid var(--red); }
.timeline-entry.is-status::before { background: var(--red); }
.timeline-entry time { display: block; font-size: .85rem; color: var(--gray-600); margin-bottom: .2rem; }
.timeline-entry p { margin: 0 0 .5rem; }
.timeline-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .5rem; }
.timeline-photos a { border-radius: 8px; overflow: hidden; aspect-ratio: 4/3; display: block; }
.timeline-photos img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .chantier-page { grid-template-columns: 1fr; } }
