/* ============================================================
   PEINTRE LEGRAND
   Direction artistique : "Maison de famille"
   Palette : ivoire, brun chocolat, vert olive, ocre doux
   Typographies : Cormorant Garamond + Source Sans 3
   ============================================================ */

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { line-height: 1.5; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { background: none; border: none; cursor: pointer; font: inherit; color: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; color: inherit; }

/* ============ VARIABLES ============ */
:root {
  /* Palette */
  --bg: #FAF7F2;
  --bg-2: #F2EDE2;
  --bg-3: #EBE3D2;
  --text: #3A2E26;
  --text-soft: #6B5A4E;
  --text-muted: #9B8A7B;
  --accent: #7C8859;
  --accent-dark: #5E6843;
  --secondary: #C9A66B;
  --line: #E0D6C4;
  --line-soft: #EDE6D7;

  /* Typographies */
  --font-display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --font-body: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --max: 1280px;
  --gutter: clamp(20px, 4vw, 48px);

  /* Espacements */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 32px;
  --space-lg: 64px;
  --space-xl: 120px;
}

/* ============ BASE ============ */
body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  color: var(--text);
  background: var(--bg);
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

::selection { background: var(--accent); color: var(--bg); }

/* ============ TYPOGRAPHIE ============ */
.display {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(48px, 8vw, 110px);
  line-height: 0.96;
  letter-spacing: -0.02em;
}

.display-2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1;
  letter-spacing: -0.015em;
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 14px;
}

.section-head {
  margin-bottom: var(--space-lg);
  max-width: 760px;
}
.section-head-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ============ BRUSHSTROKE — ornement signature ============ */
.brushstroke {
  display: block;
  width: 56px;
  height: 10px;
  margin-bottom: 18px;
  color: var(--accent);
  overflow: visible;
}
.brushstroke-light { color: var(--secondary); }
.section-head-center .brushstroke { margin-left: auto; margin-right: auto; }

/* ============ BOUTONS / LIENS ============ */
.btn {
  display: inline-block;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--text);
  background: transparent;
  color: var(--text);
  transition: background .25s ease, color .25s ease, border-color .25s ease;
  cursor: pointer;
}
.btn-primary {
  background: var(--text);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
}
.btn-lg {
  padding: 18px 36px;
  font-size: 14px;
}

.btn-link {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
  transition: color .2s, border-color .2s;
}
.btn-link:hover { color: var(--accent); }

.link-arrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text);
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
  transition: border-color .25s, color .25s;
}
.link-arrow::after {
  content: " →";
  display: inline-block;
  margin-left: 4px;
  transition: transform .25s;
}
.link-arrow:hover {
  border-color: var(--text);
  color: var(--accent);
}
.link-arrow:hover::after { transform: translateX(4px); }
.link-arrow.center {
  display: block;
  text-align: center;
  margin: var(--space-lg) auto 0;
  width: fit-content;
}

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line-soft);
  transition: transform .35s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.site-header.is-hidden {
  transform: translateY(-100%);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}
.brand {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0.005em;
  color: var(--text);
}

.nav-desktop ul { display: flex; gap: 36px; }
.nav-desktop a {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  position: relative;
  padding: 4px 0;
  transition: color .25s;
}
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.nav-desktop a:hover,
.nav-desktop a.is-active { color: var(--accent); }
.nav-desktop a:hover::after,
.nav-desktop a.is-active::after { transform: scaleX(1); }

.header-cta {
  padding: 10px 22px;
  font-size: 12px;
  letter-spacing: 0.1em;
}

.nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: transform .3s, opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.nav-mobile {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
  background: var(--bg);
  border-top: 1px solid var(--line-soft);
}
.nav-mobile.is-open { max-height: 480px; }
.nav-mobile ul {
  padding: var(--space-md) var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.nav-mobile a {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  height: 92vh;
  min-height: 600px;
  max-height: 900px;
  overflow: hidden;
}
.hero-image,
.hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(58,46,38,0.10) 0%,
    rgba(58,46,38,0.30) 45%,
    rgba(58,46,38,0.60) 100%
  );
  z-index: 1;
}
.hero-overlay {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: flex-end;
}
.hero-content {
  padding-bottom: clamp(48px, 8vh, 96px);
  max-width: 760px;
  color: var(--bg);
}
.hero-content .eyebrow { color: rgba(250,247,242,0.85); }
.hero .display { color: var(--bg); }
.hero-sub {
  font-size: 18px;
  margin-top: var(--space-md);
  max-width: 540px;
  color: rgba(250,247,242,0.92);
  line-height: 1.55;
}
.hero-cta {
  margin-top: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}
.hero .btn-primary {
  background: var(--bg);
  color: var(--text);
  border-color: var(--bg);
}
.hero .btn-primary:hover {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}
.hero .btn-link {
  color: var(--bg);
  border-color: rgba(250,247,242,0.6);
}
.hero .btn-link:hover {
  color: var(--secondary);
  border-color: var(--secondary);
}

.hero-corner {
  position: absolute;
  top: 24px;
  right: var(--gutter);
  z-index: 2;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 13px;
  color: rgba(250,247,242,0.85);
  letter-spacing: 0.06em;
}

/* ============ RÉASSURANCE ============ */
.reassurance {
  border-bottom: 1px solid var(--line-soft);
  padding: var(--space-lg) 0;
}
.reassurance ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  text-align: center;
}
.reassurance li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.reassurance li span {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  color: var(--text);
  line-height: 1;
}
.reassurance li em {
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
}

/* ============ AVANT / APRÈS ============ */
.avant-apres { padding: var(--space-xl) 0; }

.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  user-select: none;
  background: var(--bg-2);
}
.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba-after { z-index: 1; }
.ba-before {
  z-index: 2;
  clip-path: inset(0 50% 0 0);
}

.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: ew-resize;
  z-index: 4;
  opacity: 0;
}
.ba-range:focus { outline: none; }
.ba-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 60px;
  height: 100%;
  background: transparent;
  cursor: ew-resize;
}
.ba-range::-moz-range-thumb {
  width: 60px;
  height: 100%;
  background: transparent;
  border: none;
  cursor: ew-resize;
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: rgba(250,247,242,0.95);
  pointer-events: none;
  z-index: 3;
  transform: translateX(-1px);
}
.ba-handle span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0;
  box-shadow: 0 4px 24px rgba(58,46,38,0.25);
}

.ba-label {
  position: absolute;
  top: 24px;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bg);
  background: rgba(58,46,38,0.65);
  padding: 7px 14px;
  z-index: 3;
}
.ba-label-before { left: 24px; }
.ba-label-after { right: 24px; }

.ba-caption {
  margin-top: var(--space-md);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--text-soft);
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* ============ PRESTATIONS ============ */
.prestations {
  padding: var(--space-xl) 0;
  background: var(--bg-2);
}
.prest-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.prest-grid article {
  padding: var(--space-lg) clamp(24px, 4vw, 48px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  transition: background .35s ease;
  display: flex;
  flex-direction: column;
}
.prest-grid article:hover { background: var(--bg-3); }
.prest-num {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 15px;
  color: var(--secondary);
  margin-bottom: var(--space-sm);
}
.prest-grid h3 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 500;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.prest-grid p {
  color: var(--text-soft);
  margin-bottom: var(--space-md);
  max-width: 420px;
  line-height: 1.6;
  flex: 1;
}

/* ============ À PROPOS ============ */
.apropos { padding: var(--space-xl) 0; }
.apropos-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(40px, 8vw, 120px);
  align-items: center;
}
.apropos-image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-2);
}
.apropos-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(0.96) saturate(0.94);
}
.apropos-text > p:not(.eyebrow):not(.signature) {
  margin-top: var(--space-md);
  max-width: 520px;
  line-height: 1.7;
  color: var(--text-soft);
}
.apropos-text .signature {
  font-family: var(--font-display);
  font-size: 22px;
  margin-top: var(--space-lg);
  color: var(--text);
}

/* ============ AVIS ============ */
.avis {
  padding: var(--space-xl) 0;
  background: var(--bg-2);
}
.avis-carousel {
  position: relative;
  overflow: hidden;
  max-width: 920px;
  margin: 0 auto;
}
.avis-track {
  display: flex;
  transition: transform .5s cubic-bezier(0.4, 0, 0.2, 1);
}
.avis-item {
  flex: 0 0 100%;
  padding: 0 var(--space-md);
  text-align: center;
}
.stars {
  color: var(--secondary);
  font-size: 18px;
  letter-spacing: 8px;
  margin-bottom: var(--space-md);
}
.avis-item blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.4;
  max-width: 760px;
  margin: 0 auto var(--space-md);
  color: var(--text);
}
.avis-item footer {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.avis-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}
.avis-prev,
.avis-next {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 22px;
  background: var(--bg);
  transition: background .25s, color .25s, border-color .25s;
}
.avis-prev:hover,
.avis-next:hover {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}
.avis-dots { display: flex; gap: 10px; }
.avis-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line);
  transition: background .2s, transform .2s;
  border: none;
  padding: 0;
}
.avis-dot.is-active {
  background: var(--text);
  transform: scale(1.4);
}

/* ============ CTA FINAL ============ */
.cta-final {
  padding: var(--space-xl) 0;
  background: var(--text);
  color: var(--bg);
}
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: end;
}
.cta-grid > div:first-child { max-width: 580px; }
.cta-grid p {
  margin-top: var(--space-md);
  color: rgba(250,247,242,0.82);
  max-width: 440px;
  line-height: 1.6;
}
.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-md);
}
.cta-final .btn-primary {
  background: var(--bg);
  color: var(--text);
  border-color: var(--bg);
}
.cta-final .btn-primary:hover {
  background: var(--secondary);
  color: var(--text);
  border-color: var(--secondary);
}
.cta-final .btn-link {
  color: var(--bg);
  border-color: rgba(250,247,242,0.45);
}
.cta-final .btn-link:hover { color: var(--secondary); border-color: var(--secondary); }

/* ============ FAQ ============ */
.faq {
  padding: var(--space-xl) 0;
}
.faq-list {
  max-width: 860px;
  margin: 0 auto;
}
.faq-list details {
  border-top: 1px solid var(--line);
}
.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}
.faq-list summary {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: 22px 0;
  transition: color .25s;
  line-height: 1.3;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 300;
  color: var(--accent);
  transition: transform .35s ease;
  flex-shrink: 0;
  line-height: 1;
}
.faq-list details[open] summary::after {
  transform: rotate(45deg);
}
.faq-list summary:hover { color: var(--accent); }
.faq-list details > p {
  padding: 0 64px 24px 0;
  color: var(--text-soft);
  line-height: 1.7;
  max-width: 760px;
}
@media (max-width: 540px) {
  .faq-list details > p { padding-right: 0; }
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--line-soft);
  padding: var(--space-lg) 0 var(--space-md);
  font-size: 14px;
  color: var(--text-soft);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--line-soft);
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--text);
  margin-bottom: var(--space-sm);
  font-weight: 500;
}
.footer-title {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: var(--space-sm);
}
.footer-grid p { line-height: 1.6; }
.footer-grid ul { display: flex; flex-direction: column; gap: 8px; }
.footer-grid a { transition: color .2s; }
.footer-grid a:hover { color: var(--accent); }
.footer-base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-md);
  font-size: 13px;
  flex-wrap: wrap;
  gap: var(--space-sm);
}
.footer-base a { border-bottom: 1px solid var(--line); padding-bottom: 1px; }
.footer-base a:hover { color: var(--text); }

/* ============================================================
   PAGES SECONDAIRES (DEVIS, PRESTATIONS, etc.)
   ============================================================ */

.page-hero {
  padding: clamp(80px, 12vh, 140px) 0 clamp(56px, 7vh, 96px);
  border-bottom: 1px solid var(--line-soft);
}
.page-hero .display-2 { margin-top: 0; }
.page-hero .page-lead {
  font-size: clamp(17px, 1.4vw, 19px);
  color: var(--text-soft);
  max-width: 580px;
  margin-top: var(--space-md);
  line-height: 1.6;
}

/* ============ DEVIS ============ */
.devis-content {
  padding: var(--space-xl) 0;
}
.devis-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

/* Formulaire */
.devis-form fieldset {
  border: none;
  margin-bottom: var(--space-lg);
}
.devis-form legend {
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 500;
  color: var(--text);
  margin-bottom: var(--space-md);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  width: 100%;
}
.devis-form label {
  display: block;
  margin-bottom: var(--space-md);
}
.devis-form .lab {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-soft);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.devis-form .req {
  color: var(--accent);
  font-weight: 500;
}
.devis-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}
.devis-form input[type="text"],
.devis-form input[type="email"],
.devis-form input[type="tel"],
.devis-form select,
.devis-form textarea {
  display: block;
  width: 100%;
  padding: 10px 0;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  font-weight: 400;
  transition: border-color .25s;
}
.devis-form input::placeholder,
.devis-form textarea::placeholder {
  color: var(--text-muted);
}
.devis-form input:focus,
.devis-form select:focus,
.devis-form textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
}
.devis-form select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 32px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%237C8859' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
}
.devis-form textarea {
  resize: vertical;
  min-height: 130px;
  border: 1px solid var(--line);
  padding: 14px;
}
.devis-form textarea:focus {
  border-color: var(--accent);
  border-bottom-color: var(--accent);
}

/* Champ fichier */
.devis-form .file-label {
  border: 1px dashed var(--line);
  padding: 24px;
  cursor: pointer;
  transition: background .2s, border-color .2s;
  text-align: center;
}
.devis-form .file-label:hover {
  border-color: var(--accent);
  background: var(--bg-2);
}
.devis-form .file-label .lab { margin-bottom: 4px; }
.devis-form input[type="file"] {
  display: block;
  margin: 8px auto 0;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
}
.devis-form .file-hint {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--text-muted);
}

/* Checkbox RGPD */
.devis-form .checkbox {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.5;
  margin-bottom: var(--space-lg);
}
.devis-form .checkbox input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--accent);
}
.devis-form .checkbox a {
  color: var(--text);
  border-bottom: 1px solid var(--line);
}
.devis-form .checkbox a:hover { color: var(--accent); }

/* Aside */
.devis-aside {
  padding: var(--space-lg);
  background: var(--bg-2);
  position: sticky;
  top: 100px;
}
.aside-block + .aside-block {
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--line);
}
.aside-block .eyebrow { margin-bottom: 8px; }
.aside-phone {
  display: block;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: 0.005em;
  transition: color .2s;
}
.aside-phone:hover { color: var(--accent); }
.aside-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
  font-size: 15px;
  color: var(--text);
  line-height: 1.5;
}
.aside-list li { position: relative; padding-left: 22px; }
.aside-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
}
.aside-block > p:not(.eyebrow) {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.6;
  margin-top: 4px;
}

/* État de succès */
.form-success {
  display: none;
  padding: var(--space-lg);
  background: var(--bg-2);
  border-left: 3px solid var(--accent);
}
.form-success.is-visible { display: block; }
.form-success h3 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 500;
  margin: 8px 0 12px;
  color: var(--text);
}
.form-success p {
  color: var(--text-soft);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

/* Responsive devis */
@media (max-width: 900px) {
  .devis-grid { grid-template-columns: 1fr; }
  .devis-aside { position: static; order: -1; }
}
@media (max-width: 540px) {
  .devis-form .form-row { grid-template-columns: 1fr; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  :root { --space-xl: 80px; }

  .nav-desktop, .header-cta { display: none; }
  .nav-toggle { display: flex; }

  .hero { height: 80vh; min-height: 520px; }
  .hero-content { padding-bottom: 48px; }

  .reassurance ul { grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }

  .prest-grid { grid-template-columns: 1fr; }

  .apropos-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  .apropos-image { max-width: 480px; }

  .cta-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
  .cta-actions { align-items: flex-start; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-md); }
  .footer-base { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 540px) {
  body { font-size: 16px; }
  .reassurance li span { font-size: 26px; }
  .ba-label { font-size: 10px; padding: 5px 10px; }
  .ba-label-before { left: 12px; }
  .ba-label-after { right: 12px; }
  .ba-handle span { width: 44px; height: 44px; font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============ ACCESSIBILITÉ ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ============================================================
   PAGE PRESTATIONS
   ============================================================ */
.prestation-section {
  padding: clamp(64px, 10vh, 120px) 0;
  border-bottom: 1px solid var(--line-soft);
}
.prestation-section:last-of-type { border-bottom: none; }

.prestation-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.prestation-section.reverse .prestation-image { order: 2; }
.prestation-section.reverse .prestation-text  { order: 1; }

.prestation-image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-2);
}
.prestation-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(0.96) saturate(0.94);
  transition: transform .8s ease;
}
.prestation-section:hover .prestation-image img {
  transform: scale(1.02);
}

.prestation-text > p {
  margin-top: var(--space-md);
  max-width: 540px;
  color: var(--text-soft);
  line-height: 1.7;
}
.prestation-list {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-lg);
  max-width: 540px;
}
.prestation-list li {
  padding: 14px 0 14px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  color: var(--text);
  line-height: 1.5;
  position: relative;
}
.prestation-list li:first-child { border-top: 1px solid var(--line); }
.prestation-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  top: 14px;
  color: var(--accent);
}

@media (max-width: 900px) {
  .prestation-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
  .prestation-section.reverse .prestation-image,
  .prestation-section.reverse .prestation-text { order: initial; }
  .prestation-image { max-width: 480px; aspect-ratio: 4/3; }
}

/* ============================================================
   PAGE AVIS
   ============================================================ */
.avis-hero {
  text-align: center;
  border-bottom: none;
  padding-bottom: var(--space-md);
}
.avis-hero .brushstroke { margin-left: auto; margin-right: auto; }
.avis-hero .page-lead {
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.avis-stats {
  margin-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.avis-stats .rating {
  font-family: var(--font-display);
  font-size: clamp(64px, 8vw, 96px);
  font-weight: 500;
  line-height: 1;
  color: var(--text);
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.avis-stats .rating span {
  font-size: 0.4em;
  color: var(--text-muted);
  font-style: italic;
}
.avis-stats .stars-row {
  color: var(--secondary);
  font-size: 22px;
  letter-spacing: 8px;
  margin-top: 4px;
}
.avis-stats > p {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-top: 8px;
}

.avis-list-section {
  padding: var(--space-xl) 0;
}
.avis-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.avis-card {
  padding: var(--space-md) clamp(20px, 3vw, 40px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  display: flex;
  flex-direction: column;
}
.avis-card .stars {
  color: var(--secondary);
  font-size: 14px;
  letter-spacing: 6px;
  margin-bottom: var(--space-sm);
}
.avis-card blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(19px, 1.7vw, 22px);
  line-height: 1.45;
  margin-bottom: var(--space-md);
  color: var(--text);
  flex: 1;
}
.avis-card footer {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.avis-source {
  text-align: center;
  margin-top: var(--space-lg);
  font-size: 14px;
  color: var(--text-soft);
}
.avis-source a {
  color: var(--text);
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
}
.avis-source a:hover { color: var(--accent); }

@media (max-width: 700px) {
  .avis-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PAGE RÉALISATIONS — Galerie + Lightbox
   ============================================================ */
.gallery-section {
  padding: var(--space-xl) 0;
  background: var(--bg-2);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 160px;
  grid-auto-flow: dense;
  gap: 12px;
}
.gallery-item {
  grid-column: span 4;
  grid-row: span 2;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-3);
  margin: 0;
}
.gallery-item.gi-lg {
  grid-column: span 6;
  grid-row: span 3;
}
.gallery-item.gi-wide {
  grid-column: span 6;
  grid-row: span 2;
}
.gallery-item.gi-tall {
  grid-column: span 4;
  grid-row: span 3;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-item:hover img {
  transform: scale(1.06);
}
.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bg);
  background: linear-gradient(180deg, transparent 0%, rgba(58,46,38,0.8) 100%);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .35s, transform .35s;
}
.gallery-item:hover figcaption {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 140px;
  }
  .gallery-item, .gallery-item.gi-lg, .gallery-item.gi-wide, .gallery-item.gi-tall {
    grid-column: span 3;
    grid-row: span 2;
  }
  .gallery-item.gi-lg, .gallery-item.gi-tall {
    grid-column: span 6;
    grid-row: span 2;
  }
  .gallery-item figcaption { opacity: 1; transform: none; }
}
@media (max-width: 540px) {
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery-item, .gallery-item.gi-lg, .gallery-item.gi-wide, .gallery-item.gi-tall {
    grid-column: span 1;
    grid-row: span 1;
  }
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(28, 22, 18, 0.96);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 40px);
}
.lightbox.is-open { display: flex; }
.lightbox-figure {
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
}
.lightbox-figure img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  display: block;
}
.lightbox-figure figcaption {
  margin-top: 16px;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(250,247,242,0.75);
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: transparent;
  color: var(--bg);
  cursor: pointer;
  border: 1px solid rgba(250,247,242,0.35);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  transition: background .25s, border-color .25s;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(250,247,242,0.1);
  border-color: var(--bg);
}
.lightbox-close {
  top: clamp(16px, 3vh, 32px);
  right: clamp(16px, 3vw, 32px);
  font-size: 28px;
}
.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  font-size: 32px;
}
.lightbox-prev { left: clamp(16px, 3vw, 32px); }
.lightbox-next { right: clamp(16px, 3vw, 32px); }

@media (max-width: 540px) {
  .lightbox-prev, .lightbox-next {
    top: auto;
    bottom: 24px;
    transform: none;
  }
  .lightbox-prev { left: 24px; }
  .lightbox-next { right: 24px; }
}

/* ============================================================
   PAGES LÉGALES (mentions, politique de confidentialité)
   ============================================================ */
.legal-content {
  padding: var(--space-xl) 0;
}
.legal-text {
  max-width: 760px;
  margin: 0 auto;
}
.legal-text h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 500;
  margin-top: var(--space-lg);
  margin-bottom: 18px;
  line-height: 1.2;
  color: var(--text);
  letter-spacing: -0.01em;
}
.legal-text h2:first-child { margin-top: 0; }
.legal-text p {
  margin-bottom: 14px;
  line-height: 1.7;
  color: var(--text-soft);
}
.legal-text p strong {
  color: var(--text);
  font-weight: 500;
}
.legal-text ul {
  margin: 0 0 var(--space-md) 24px;
}
.legal-text ul li {
  list-style: disc;
  margin-bottom: 8px;
  line-height: 1.6;
  color: var(--text-soft);
}
.legal-text a {
  color: var(--text);
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
  transition: color .2s, border-color .2s;
}
.legal-text a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.legal-update {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-muted);
}
.legal-update em { font-style: italic; }

/* Crédit footer */
.footer-base .footer-credit {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}
.footer-base .footer-credit a {
  color: var(--text-soft);
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
  transition: color .2s, border-color .2s;
}
.footer-base .footer-credit a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
