/* ──────────────────────────────────────────────────────────────────
   AzurStock — Pierre & Lumière
   Feuille de style globale · v1.0
   ────────────────────────────────────────────────────────────────── */

:root {
  /* Palette validée Phase 1 — Pierre & Lumière */
  --bone:   #f4efe6;
  --paper:  #ebe3d2;
  --sand:   #d9cdb4;
  --stone:  #6f6555;
  --ink:    #1c1a16;
  --terra:  #b34a26;
  --olive:  #5b5a36;

  /* Typo */
  --font-display: "Newsreader", "Cormorant Garamond", Georgia, serif;
  --font-text:    "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-mono:    "Geist Mono", ui-monospace, "SF Mono", Consolas, monospace;

  /* Espacements */
  --gap-page: 56px;
  --gap-section: 96px;

  /* Transitions */
  --t-fast: 120ms ease;
  --t-base: 200ms ease;
}

/* ─── Reset ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 300; letter-spacing: -0.02em; margin: 0; line-height: 0.98; }
em, .italic { font-style: italic; font-weight: 400; font-family: var(--font-display); }
.mono { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--stone); }
.terra { color: var(--terra); }

/* ─── Layout containers ─────────────────────────────────────────── */
.wrap { padding-left: var(--gap-page); padding-right: var(--gap-page); }
.wrap-narrow { max-width: 1080px; margin: 0 auto; padding-left: var(--gap-page); padding-right: var(--gap-page); }

/* ─── Header ─────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gap-page);
  background: rgba(244, 239, 230, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sand);
}
.logo { display: inline-flex; align-items: center; gap: 14px; color: var(--ink); }
.logo svg { width: 32px; height: 32px; }
.logo .logo-mark { width: 56px; height: 56px; object-fit: contain; display: block; flex-shrink: 0; }
.logo-word { font-family: var(--font-display); font-size: 26px; font-weight: 300; letter-spacing: -0.02em; line-height: 1; }
.logo-word em { font-weight: 400; }
.site-nav { display: flex; gap: 32px; font-size: 14px; }
.site-nav a { color: var(--ink); transition: color var(--t-fast); }
.site-nav a:hover { color: var(--terra); }
.site-nav a[aria-current="page"] { color: var(--terra); }
.header-cta { display: flex; align-items: center; gap: 16px; font-size: 13px; }
.header-phone { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone); }
.btn-nav-toggle { display: none; }

/* ─── Buttons ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 22px; font-size: 14px; border: none;
  cursor: pointer; transition: all var(--t-base);
  font-family: inherit;
}
.btn-primary { background: var(--terra); color: var(--bone); }
.btn-primary:hover { background: #9a3f1f; }
.btn-dark { background: var(--ink); color: var(--bone); }
.btn-dark:hover { background: #2d2920; }
.btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--bone); }
.btn-outline-light { background: transparent; color: var(--bone); border: 1px solid var(--bone); }
.btn-outline-light:hover { background: var(--bone); color: var(--ink); }
.btn-lg { padding: 16px 28px; font-size: 15px; }

/* ─── Hero ───────────────────────────────────────────────────────── */
.hero { position: relative; display: grid; grid-template-columns: 1fr 1.15fr; min-height: 760px; align-items: stretch; overflow: visible; }
.hero-text { padding: 72px calc(var(--gap-page) + 40px) 64px var(--gap-page); display: flex; flex-direction: column; justify-content: center; gap: 36px; position: relative; z-index: 1; }
.hero-text > div:first-child { max-width: 560px; }
.hero-eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--terra); margin-bottom: 28px; }
.hero-title { font-size: 88px; font-weight: 300; }
.hero-title em { color: var(--stone); }
.hero-desc { font-size: 18px; line-height: 1.55; margin-top: 32px; max-width: 420px; color: var(--stone); }
.hero-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; font-size: 12px; color: var(--stone); padding-top: 28px; border-top: 1px solid var(--sand); max-width: 560px; }
.hero-trust strong { color: var(--ink); }
.hero-trust .stars { display: inline-flex; gap: 2px; color: var(--terra); font-size: 11px; }
.hero-image { position: relative; background: var(--paper); overflow: hidden; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; }

/* Estimator flottant — chevauche la frontière texte/image, centré vertical */
.hero > .estimator-floater {
  position: absolute;
  top: 50%;
  left: calc(100% / 2.15);
  transform: translate(-42%, -50%);
  width: 500px;
  background: var(--bone);
  padding: 34px 36px;
  box-shadow:
    0 36px 90px rgba(28, 26, 22, 0.24),
    0 10px 28px rgba(28, 26, 22, 0.12),
    0 0 0 1px rgba(28, 26, 22, 0.04);
  z-index: 10;
}
.hero > .estimator-floater .estimator { gap: 10px; }
.hero > .estimator-floater .estimator-head { margin-bottom: 16px; }
.hero > .estimator-floater .estimator-head .mono { font-size: 12px; }
.hero > .estimator-floater .estimator-head .live { font-size: 11px; }
.hero > .estimator-floater .estimator-step { margin-bottom: 16px; }
.hero > .estimator-floater .estimator-step-label { font-size: 13px; margin-bottom: 9px; }
.hero > .estimator-floater .estimator-step-label > span { white-space: nowrap; }
.hero > .estimator-floater .estimator-chips { gap: 7px; }
.hero > .estimator-floater .estimator-chip { padding: 8px 13px; font-size: 13px; }
.hero > .estimator-floater .estimator-chip.full { padding: 9px 0; }
.hero > .estimator-floater .estimator-result { padding-top: 18px; }
.hero > .estimator-floater .estimator-price { font-size: 40px; }
.hero > .estimator-floater .estimator-price small { font-size: 17px; }
.hero > .estimator-floater .estimator-price-label { font-size: 12px; }
.hero > .estimator-floater .btn { padding: 13px 22px; font-size: 14px; }

/* ─── Estimator band (sits below hero, prominent) ────────────────── */
.estimator-band {
  position: relative;
  margin: -88px var(--gap-page) 0;
  z-index: 10;
}
.estimator-band-inner {
  background: var(--bone);
  padding: 32px 40px;
  box-shadow: 0 32px 64px rgba(28, 26, 22, 0.16);
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 56px;
  align-items: center;
}
.estimator-band-title {
  border-right: 1px solid var(--sand);
  padding-right: 40px;
}
.estimator-band-title .label {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--terra); margin-bottom: 10px;
}
.estimator-band-title h3 {
  font-family: var(--font-display); font-size: 30px; font-weight: 300;
  line-height: 1.05; letter-spacing: -0.02em; margin: 0;
}
.estimator-band-title h3 em { color: var(--stone); }
.estimator-band .estimator { gap: 14px; }
.estimator-band .estimator-head { margin-bottom: 14px; }

/* ─── Estimator ──────────────────────────────────────────────────── */
.estimator { display: flex; flex-direction: column; gap: 0; }
.estimator-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.estimator-head .live { font-family: var(--font-mono); font-size: 10px; color: var(--terra); letter-spacing: 0.14em; text-transform: uppercase; }
.estimator-step { margin-bottom: 18px; }
.estimator-step-label { font-size: 12px; color: var(--stone); margin-bottom: 8px; display: flex; justify-content: space-between; }
.estimator-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.estimator-chip {
  border: 1px solid var(--sand); background: transparent; color: var(--ink);
  padding: 7px 12px; font-size: 12px; transition: all var(--t-fast);
}
.estimator-chip:hover { border-color: var(--ink); }
.estimator-chip.is-active { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.estimator-chip.full { flex: 1; padding: 8px 0; text-align: center; }
.estimator-result { display: flex; align-items: baseline; justify-content: space-between; padding-top: 18px; border-top: 1px solid var(--sand); margin-top: 4px; }
.estimator-price-label { font-size: 11px; color: var(--stone); }
.estimator-price { font-family: var(--font-display); font-size: 44px; font-weight: 400; line-height: 1; margin-top: 2px; }
.estimator-price small { font-size: 22px; color: var(--stone); font-weight: 300; }

/* ─── Section générique ─────────────────────────────────────────── */
.section { padding: var(--gap-section) var(--gap-page); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 56px; flex-wrap: wrap; }
.section-eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--terra); margin-bottom: 16px; }
.section-title { font-size: 64px; font-weight: 300; }
.section-title em { color: var(--stone); }
.section-intro { max-width: 380px; font-size: 14px; line-height: 1.6; color: var(--stone); }

/* ─── Process ─────────────────────────────────────────────────────── */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.process-step { display: flex; flex-direction: column; gap: 18px; }
.process-img { position: relative; padding-bottom: 120%; overflow: hidden; background: var(--paper); }
.process-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.process-num { position: absolute; top: 16px; left: 16px; font-family: var(--font-display); font-size: 32px; font-weight: 300; color: var(--bone); mix-blend-mode: difference; }
.process-step h3 { font-size: 22px; font-weight: 400; margin: 0 0 10px; }
.process-step p { font-size: 13px; line-height: 1.55; color: var(--stone); margin: 0; }

/* ─── Locaux split ───────────────────────────────────────────────── */
.locaux-hero { background: var(--ink); color: var(--bone); display: grid; grid-template-columns: 1.3fr 1fr; min-height: 600px; }
.locaux-hero-img { position: relative; overflow: hidden; }
.locaux-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.locaux-hero-body { padding: 56px 48px; display: flex; flex-direction: column; justify-content: space-between; }
.locaux-hero-body .section-eyebrow { color: var(--terra); }
.locaux-hero-body h2 { font-size: 60px; font-weight: 300; color: var(--bone); }
.locaux-hero-body em { color: var(--stone); }
.locaux-hero-body p { font-size: 15px; line-height: 1.6; margin-top: 28px; color: rgba(244, 239, 230, 0.7); max-width: 420px; }
.locaux-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.locaux-specs .key { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(244, 239, 230, 0.5); margin-bottom: 6px; }
.locaux-specs .val { font-family: var(--font-display); font-size: 18px; font-weight: 400; color: var(--bone); }
.locaux-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.locaux-grid > div { height: 360px; overflow: hidden; }
.locaux-grid img { width: 100%; height: 100%; object-fit: cover; }

/* ─── Villes ─────────────────────────────────────────────────────── */
.villes-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ville-card { display: flex; flex-direction: column; gap: 12px; color: inherit; transition: transform var(--t-base); }
.ville-card:hover { transform: translateY(-3px); }
.ville-card:hover h3 { color: var(--terra); }
.ville-img { position: relative; padding-bottom: 110%; overflow: hidden; background: var(--paper); }
.ville-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
.ville-card:hover .ville-img img { transform: scale(1.04); }
.ville-meta { display: flex; justify-content: space-between; align-items: baseline; }
.ville-meta h3 { font-size: 22px; font-weight: 400; transition: color var(--t-fast); }
.ville-cp { font-family: var(--font-mono); font-size: 11px; color: var(--stone); letter-spacing: 0.06em; }
.ville-sub { font-size: 12px; color: var(--stone); line-height: 1.5; }

/* ─── Témoignages ────────────────────────────────────────────────── */
.testimonials { background: var(--paper); border-top: 1px solid var(--sand); }
.testimonials-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; align-items: flex-start; }
.testimonials-stat { font-family: var(--font-display); font-size: 64px; font-weight: 300; display: flex; align-items: baseline; gap: 12px; }
.testimonials-stat small { font-size: 18px; color: var(--stone); font-style: italic; font-weight: 400; }
.testimonials-stars { display: inline-flex; gap: 4px; color: var(--terra); font-size: 20px; margin-top: 24px; }
.testimonial-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.testimonial blockquote { font-family: var(--font-display); font-size: 18px; line-height: 1.45; font-weight: 400; margin: 0; color: var(--ink); }
.testimonial footer { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--sand); display: flex; justify-content: space-between; font-size: 12px; }
.testimonial footer strong { font-weight: 500; }
.testimonial footer em { color: var(--stone); }

/* ─── CTA finale ─────────────────────────────────────────────────── */
.cta-final { padding: 120px var(--gap-page); background: var(--ink); color: var(--bone); position: relative; overflow: hidden; }
.cta-final-bg { position: absolute; inset: 0; opacity: 0.35; }
.cta-final-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-final-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0%, rgba(28, 26, 22, 0.6) 100%); }
.cta-final-content { position: relative; max-width: 720px; }
.cta-final h2 { font-size: 80px; font-weight: 300; color: var(--bone); }
.cta-final em { color: var(--sand); }
.cta-final p { font-size: 17px; line-height: 1.6; margin-top: 28px; max-width: 520px; color: rgba(244, 239, 230, 0.7); }
.cta-final-actions { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }

/* ─── Footer ─────────────────────────────────────────────────────── */
.site-footer { padding: 56px var(--gap-page) 40px; background: var(--bone); color: var(--ink); border-top: 1px solid var(--sand); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid var(--sand); }
.footer-grid .intro { font-size: 12px; color: var(--stone); line-height: 1.6; margin-top: 18px; max-width: 320px; }
.footer-grid h4 { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--stone); margin: 0 0 14px; font-weight: 400; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.footer-grid a:hover { color: var(--terra); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; font-size: 11px; color: var(--stone); font-family: var(--font-mono); letter-spacing: 0.08em; }

/* ─── Page intérieures · header bloc ─────────────────────────────── */
.page-head { padding: 88px var(--gap-page) 56px; border-bottom: 1px solid var(--sand); }
.page-head-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: flex-end; }
.page-head h1 { font-size: 96px; font-weight: 300; max-width: 800px; }
.page-head em { color: var(--stone); }
.page-head .intro { font-size: 16px; line-height: 1.6; color: var(--stone); max-width: 420px; }

/* ─── Article (CMS / blog / textes longs) ────────────────────────── */
.article { padding: var(--gap-section) var(--gap-page); }
.article-body { max-width: 720px; font-size: 17px; line-height: 1.7; color: var(--ink); }
.article-body p { margin: 0 0 1.4em; }
.article-body h2 { font-size: 36px; margin: 2em 0 0.6em; }
.article-body h3 { font-size: 24px; font-weight: 400; margin: 1.6em 0 0.4em; }
.article-body em { font-style: italic; }
.article-body strong { font-weight: 600; }
.article-body ul { margin: 0 0 1.4em; padding-left: 24px; }
.article-body li { margin-bottom: 0.4em; }
.article-body .lede { font-family: var(--font-display); font-size: 22px; line-height: 1.45; font-weight: 400; color: var(--stone); margin-bottom: 2em; }

/* ─── Formulaire ─────────────────────────────────────────────────── */
.form { display: grid; gap: 18px; max-width: 560px; }
.form-row { display: grid; gap: 6px; }
.form-row label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone); }
.form-row input, .form-row textarea, .form-row select {
  background: var(--bone); border: 1px solid var(--sand); padding: 12px 14px;
  font-family: inherit; font-size: 15px; color: var(--ink); transition: border var(--t-fast);
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { outline: none; border-color: var(--ink); }
.form-row textarea { min-height: 140px; resize: vertical; }
.form-row.split { grid-template-columns: 1fr 1fr; gap: 18px; }
.form-row.split > div { display: grid; gap: 6px; }

/* ─── Tableau tarifs ────────────────────────────────────────────── */
.pricing-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.pricing-table th { text-align: left; padding: 18px 0; font-weight: 500; font-size: 12px; color: var(--stone); border-bottom: 1px solid var(--ink); letter-spacing: 0.04em; text-transform: uppercase; font-family: var(--font-mono); }
.pricing-table th:not(:first-child) { text-align: right; }
.pricing-table td { padding: 18px 0; border-bottom: 1px solid var(--sand); vertical-align: top; }
.pricing-table td:not(:first-child) { text-align: right; font-family: var(--font-mono); }
.pricing-table .label-strong { font-weight: 500; font-size: 16px; font-family: var(--font-text); }
.pricing-table .price-large { font-family: var(--font-display); font-size: 24px; font-weight: 400; }
.pricing-table .desc { font-size: 12px; color: var(--stone); margin-top: 4px; font-family: var(--font-text); text-transform: none; letter-spacing: 0; }

/* ─── FAQ ────────────────────────────────────────────────────────── */
.faq { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--sand); }
.faq-item summary { padding: 24px 0; font-family: var(--font-display); font-size: 22px; font-weight: 400; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--font-mono); font-size: 24px; color: var(--terra); transition: transform var(--t-base); }
.faq-item[open] summary::after { content: "−"; }
.faq-item .answer { padding: 0 0 24px; font-size: 15px; line-height: 1.65; color: var(--stone); max-width: 720px; }

/* ─── Page contact ───────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: flex-start; padding: var(--gap-section) var(--gap-page); }
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-info-block .label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--stone); margin-bottom: 8px; }
.contact-info-block .value { font-family: var(--font-display); font-size: 26px; font-weight: 400; }
.contact-info-block .sub { font-size: 13px; color: var(--stone); margin-top: 4px; }

/* ─── Bandeau "vous êtes pro" ────────────────────────────────────── */
.pro-banner { padding: 72px var(--gap-page); background: var(--paper); display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.pro-banner-text h3 { font-size: 36px; font-weight: 300; }

/* ─── Intro animation · hangar qui s'ouvre, court et net ─────────── */
.intro-overlay {
  position: fixed; inset: 0; z-index: 999;
  background: transparent;
  overflow: hidden;
  pointer-events: all;
}
.intro-overlay.is-done { display: none !important; }
.intro-overlay.is-leaving { pointer-events: none; }

/* Le store — un seul bloc texturé qui monte d'un trait */
.intro-blind {
  position: absolute; left: 0; right: 0; top: 0;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  background:
    /* Lamelles horizontales fines */
    repeating-linear-gradient(0deg,
      transparent 0,
      transparent 47px,
      rgba(255, 255, 255, 0.025) 47px,
      rgba(255, 255, 255, 0.04) 48px,
      transparent 48px,
      transparent 49px,
      rgba(0, 0, 0, 0.55) 49px,
      rgba(0, 0, 0, 0.55) 50px),
    /* Matière acier brossé */
    linear-gradient(180deg, #28241e 0%, #1c1a16 30%, #100e0a 100%);
  box-shadow:
    inset 0 -40px 80px rgba(0, 0, 0, 0.7),
    inset 0 0 120px rgba(0, 0, 0, 0.4);
  transform: translateY(0);
  will-change: transform;
  transition: transform 1.8s cubic-bezier(.45, 0, .15, 1);
}

/* Barre lestée au bas du store (l'élément qui "tire" le rideau) */
.intro-blind::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 14px;
  background: linear-gradient(180deg,
    rgba(0, 0, 0, 0.5) 0%,
    #0a0805 50%,
    #050402 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.9);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

/* Reflet vertical doux au centre du store */
.intro-blind::before {
  content: "";
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 30%; transform: translateX(-50%);
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(255, 255, 255, 0.025) 30%,
    rgba(255, 255, 255, 0.04) 50%,
    rgba(255, 255, 255, 0.025) 70%,
    transparent 100%);
  pointer-events: none;
}

/* Ouverture : le store monte d'un bloc */
.intro-overlay.is-opening .intro-blind {
  transform: translateY(-100%);
}

/* Micro-vibration avant la montée */
@keyframes intro-rumble {
  0%, 100% { transform: translateY(0); }
  25%      { transform: translateY(1.5px); }
  50%      { transform: translateY(-1px); }
  75%      { transform: translateY(0.8px); }
}
.intro-overlay.is-rumbling .intro-blind {
  animation: intro-rumble 0.25s ease-in-out;
}

/* Lueur dorée qui fuite par le bas (lumière du local) */
.intro-bottom-glow {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 0;
  background: linear-gradient(0deg,
    rgba(240, 185, 122, 0.55) 0%,
    rgba(255, 220, 170, 0.35) 30%,
    transparent 80%);
  filter: blur(10px);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
  will-change: opacity, height;
}
.intro-overlay.is-rumbling .intro-bottom-glow {
  animation: intro-glow-pulse 0.4s ease-out forwards;
}
@keyframes intro-glow-pulse {
  0%   { opacity: 0; height: 0; }
  100% { opacity: 1; height: 60px; }
}

/* Marque centrale */
.intro-mark {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 22px;
  color: #f4efe6;
  text-align: center;
  pointer-events: none;
  z-index: 3;
}
.intro-logo,
.intro-name,
.intro-tagline { opacity: 0; }
.intro-logo { animation: intro-mark-in 0.5s cubic-bezier(.2, .7, .3, 1) 0.05s forwards; }
.intro-name { animation: intro-mark-in 0.6s cubic-bezier(.2, .7, .3, 1) 0.18s forwards; }
.intro-tagline { animation: intro-mark-in 0.6s cubic-bezier(.2, .7, .3, 1) 0.38s forwards; }
.intro-overlay.is-opening .intro-mark {
  animation: intro-mark-out 0.45s cubic-bezier(.5, 0, .7, 0) forwards;
}
@keyframes intro-mark-out {
  to { opacity: 0; transform: translateY(-32px); }
}
.intro-logo svg { width: 56px; height: 56px; }
.intro-logo img { width: 120px; height: 120px; object-fit: contain; display: block; filter: drop-shadow(0 10px 30px rgba(0,0,0,0.55)); }
.intro-name {
  font-family: var(--font-display), Newsreader, Georgia, serif;
  font-size: 56px; font-weight: 300; letter-spacing: -0.025em; line-height: 1;
}
.intro-name em { font-weight: 400; }
.intro-tagline {
  font-family: var(--font-mono), monospace;
  font-size: 10px; letter-spacing: 0.34em; text-transform: uppercase;
  color: rgba(244, 239, 230, 0.55);
}
@keyframes intro-mark-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Bouton passer */
.intro-skip {
  position: absolute; top: 20px; right: 24px;
  font-family: var(--font-mono), monospace;
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(244, 239, 230, 0.5);
  background: transparent; border: 1px solid rgba(244, 239, 230, 0.18);
  padding: 7px 12px; cursor: pointer;
  transition: all 0.2s ease;
  opacity: 0;
  animation: intro-mark-in 0.4s ease 0.6s forwards;
  z-index: 5;
}
.intro-skip:hover { color: #f4efe6; border-color: rgba(244, 239, 230, 0.4); }

@media (prefers-reduced-motion: reduce) {
  .intro-overlay { display: none !important; }
}

@media (max-width: 760px) {
  .intro-name { font-size: 36px; }
  .intro-tagline { font-size: 9px; padding: 0 20px; }
  .intro-logo svg { width: 44px; height: 44px; }
  .intro-logo img { width: 84px; height: 84px; }
  .intro-skip { top: 14px; right: 14px; padding: 5px 9px; font-size: 9px; }
}

body.intro-active { overflow: hidden; }

/* ─── Reveal on scroll — animations subtiles, fidèles au style éditorial ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.85s cubic-bezier(.2, .65, .25, 1), transform 0.85s cubic-bezier(.2, .65, .25, 1);
  will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

[data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(.2, .65, .25, 1), transform 0.7s cubic-bezier(.2, .65, .25, 1);
  will-change: opacity, transform;
}
[data-reveal-stagger].is-visible > * { opacity: 1; transform: translateY(0); }
[data-reveal-stagger].is-visible > *:nth-child(1) { transition-delay: 0ms; }
[data-reveal-stagger].is-visible > *:nth-child(2) { transition-delay: 70ms; }
[data-reveal-stagger].is-visible > *:nth-child(3) { transition-delay: 140ms; }
[data-reveal-stagger].is-visible > *:nth-child(4) { transition-delay: 210ms; }
[data-reveal-stagger].is-visible > *:nth-child(5) { transition-delay: 280ms; }
[data-reveal-stagger].is-visible > *:nth-child(6) { transition-delay: 350ms; }
[data-reveal-stagger].is-visible > *:nth-child(7) { transition-delay: 420ms; }
[data-reveal-stagger].is-visible > *:nth-child(8) { transition-delay: 490ms; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-reveal-stagger] > * {
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
}

/* ─── Subtle image hover — sur cards villes et process ──────────── */
.process-img img, .ville-img img, .locaux-grid img {
  transition: transform 1.2s cubic-bezier(.2, .65, .25, 1);
}

/* ─── Sticky header reveal sur scroll ────────────────────────────── */
.site-header {
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled {
  background: rgba(244, 239, 230, 0.96);
  box-shadow: 0 1px 0 var(--sand), 0 8px 24px rgba(28, 26, 22, 0.04);
}

/* ─── Vidéo & grain cinématique (direction video-forward) ───────── */
:root { --grain-opacity: 0.06; }
.hero-image .hero-video-el,
.hero-image video { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(0.95) contrast(1.02); }
.grain-layer {
  position: absolute; inset: 0; pointer-events: none; z-index: 2;
  opacity: var(--grain-opacity); mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}
/* voile bas doux pour la profondeur cinéma sur le média hero */
.hero-image::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(28, 26, 22, 0.22) 100%);
}

/* ─── Hero plein-cadre vidéo (full-bleed) ───────────────────────── */
.hero-video { position: relative; min-height: 92vh; min-height: 92svh; grid-template-columns: 1.05fr 0.95fr; align-items: end; overflow: hidden; }
.hero-video > .hero-media { position: absolute; inset: 0; z-index: 0; background: var(--ink); }
.hero-video > .hero-media video,
.hero-video > .hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-video > .hero-veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(28, 26, 22, 0.20) 0%, rgba(28, 26, 22, 0) 30%, rgba(28, 26, 22, 0.42) 78%, rgba(28, 26, 22, 0.66) 100%),
    linear-gradient(90deg, rgba(28, 26, 22, 0.58) 0%, rgba(28, 26, 22, 0.12) 50%, rgba(28, 26, 22, 0.30) 100%);
}
.hero-video > .grain-layer { z-index: 2; }
.hero-video .hero-text {
  position: relative; z-index: 3; align-self: end; justify-content: flex-end;
  padding: 124px var(--gap-page) 60px; color: var(--bone);
}
.hero-video .hero-eyebrow { color: #eaa888; }
.hero-video .hero-title { color: var(--bone); }
.hero-video .hero-title em { color: var(--sand); }
.hero-video .hero-desc { color: rgba(244, 239, 230, 0.86); }
.hero-video .hero-trust { color: rgba(244, 239, 230, 0.82); border-top-color: rgba(244, 239, 230, 0.28); }
.hero-video .hero-trust strong { color: var(--bone); }
.hero-video .hero-trust .stars { color: #eaa888; }
.hero-video .hero-aside {
  position: relative; z-index: 4; align-self: center; justify-self: end;
  width: 100%; max-width: 520px; padding: 60px var(--gap-page) 60px 0;
}
.hero-video .hero-aside .estimator-floater { position: static; transform: none; width: 100%; }

/* Carte configurateur (style de base, indépendant du contexte) */
.estimator-floater {
  background: var(--bone); padding: 30px 32px;
  box-shadow: 0 36px 90px rgba(28, 26, 22, 0.24), 0 10px 28px rgba(28, 26, 22, 0.12), 0 0 0 1px rgba(28, 26, 22, 0.04);
}

/* ─── Configurateur : phrase de synthèse (remplace le prix) ──────── */
.estimator-summary { padding-top: 18px; border-top: 1px solid var(--sand); margin-top: 6px; }
.estimator-summary p {
  font-family: var(--font-display); font-size: 17px; line-height: 1.4; font-weight: 400;
  color: var(--ink); margin: 0 0 16px; min-height: 3em;
}
.estimator-summary .btn { width: 100%; justify-content: center; }

/* ─── Micro-interactions & finitions premium ────────────────────── */
.btn { position: relative; }
.btn-primary { transition: background var(--t-base), transform .4s cubic-bezier(.2, .65, .25, 1), box-shadow .4s; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(179, 74, 38, 0.26); }
.btn-dark:hover { transform: translateY(-1px); }
:where(a, button, input, select, textarea, summary, .estimator-chip):focus-visible {
  outline: 2px solid var(--terra); outline-offset: 3px;
}
html { scroll-behavior: smooth; }
::selection { background: var(--terra); color: var(--bone); }
h1, h2, .hero-title, .section-title, .cta-final h2, .page-head h1, .section-intro { text-wrap: balance; }
body { font-feature-settings: "liga" 1, "kern" 1; }
.hero-title { letter-spacing: -0.03em; }

@media (prefers-reduced-motion: reduce) {
  .grain-layer { display: none; }
}

/* ─── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-text { padding: 48px var(--gap-page) 32px; }
  .hero-image { min-height: 420px; }
  .hero > .estimator-floater {
    position: relative; top: auto; left: auto; transform: none;
    width: min(420px, calc(100% - 2 * var(--gap-page)));
    margin: -60px auto 32px;
    z-index: 5;
  }
}
@media (max-width: 1024px) {
  :root { --gap-page: 32px; --gap-section: 72px; }
  .hero-title { font-size: 64px; }
  .section-title { font-size: 48px; }
  .page-head h1 { font-size: 72px; }
  .cta-final h2 { font-size: 64px; }
  .site-nav { gap: 22px; font-size: 13px; }
}
@media (max-width: 760px) {
  :root { --gap-page: 22px; --gap-section: 56px; }
  .site-header { padding: 16px var(--gap-page); flex-wrap: wrap; gap: 12px; }
  .logo .logo-mark { width: 44px; height: 44px; }
  .logo-word { font-size: 22px; }
  .logo { gap: 10px; }
  .site-nav { display: none; width: 100%; flex-direction: column; gap: 16px; padding: 20px 0 8px; border-top: 1px solid var(--sand); }
  .site-nav.is-open { display: flex; }
  .header-cta .header-phone { display: none; }
  .btn-nav-toggle { display: inline-flex; padding: 8px 12px; background: transparent; border: 1px solid var(--sand); color: var(--ink); }

  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-text { padding: 32px var(--gap-page) 28px; }
  .hero-title { font-size: 44px; }
  .hero-desc { font-size: 15px; margin-top: 20px; }
  .hero-image { min-height: 320px; }
  .hero-image { min-height: 480px; }
  .hero > .estimator-floater {
    position: static; width: auto; transform: none;
    margin: -48px var(--gap-page) 0;
    padding: 22px 22px;
  }

  .estimator-band { margin: 0 var(--gap-page) 24px; }
  .estimator-band-inner { grid-template-columns: 1fr; gap: 20px; padding: 24px; }
  .estimator-band-title { border-right: none; border-bottom: 1px solid var(--sand); padding: 0 0 16px; }
  .estimator-band-title h3 { font-size: 22px; }

  .section { padding: var(--gap-section) var(--gap-page); }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 32px; }
  .section-title { font-size: 36px; }

  .process-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .locaux-hero { grid-template-columns: 1fr; }
  .locaux-hero-img { min-height: 240px; }
  .locaux-hero-body { padding: 32px var(--gap-page); }
  .locaux-hero-body h2 { font-size: 40px; }
  .locaux-grid { grid-template-columns: 1fr; }
  .locaux-grid > div { height: 240px; }

  .villes-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .testimonials-inner { grid-template-columns: 1fr; gap: 32px; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .testimonials-stat { font-size: 44px; }
  .cta-final { padding: 72px var(--gap-page); }
  .cta-final h2 { font-size: 44px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; align-items: flex-start; }

  .page-head { padding: 56px var(--gap-page) 36px; }
  .page-head-inner { grid-template-columns: 1fr; gap: 24px; }
  .page-head h1 { font-size: 48px; }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .pro-banner { grid-template-columns: 1fr; padding: 48px var(--gap-page); }
  .form-row.split { grid-template-columns: 1fr; }
}

/* ─── Formulaire : honeypot, états, succès, erreur ──────────────── */
.hp-field { position: absolute !important; left: -9999px; top: 0; width: 1px; height: 1px; overflow: hidden; }
.form-row:has(.form-reassure) { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-reassure { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--stone); }
.btn.is-loading { opacity: 0.65; pointer-events: none; }
.form-error { font-size: 13px; color: var(--terra); line-height: 1.5; margin: 4px 0 0; }
.form-error a { text-decoration: underline; }
.form-success { padding: 32px 0; }
.form-success-title { font-family: var(--font-display); font-size: 40px; font-weight: 300; margin-top: 18px; }
.form-success p { font-size: 15px; color: var(--stone); line-height: 1.6; margin-top: 14px; max-width: 460px; }
.form-check { width: 52px; height: 52px; }
.form-check circle { fill: none; stroke: var(--terra); stroke-width: 2; opacity: 0.5; }
.form-check path { stroke: var(--terra); stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 48; stroke-dashoffset: 48; animation: draw-check 0.5s 0.15s cubic-bezier(.2, .65, .25, 1) forwards; }
@keyframes draw-check { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .form-check path { animation: none; stroke-dashoffset: 0; } }

/* ─── Vidéos d'ambiance (lazy) ──────────────────────────────────── */
.media-video { display: block; width: 100%; height: 100%; object-fit: cover; }
.process-img .media-video,
.cta-final-bg .media-video { position: absolute; inset: 0; }

/* ─── Bandeau consentement ──────────────────────────────────────── */
.consent-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200;
  max-width: 760px; margin: 0 auto; background: var(--ink); color: var(--bone);
  padding: 16px 20px; display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap; box-shadow: 0 20px 60px rgba(28, 26, 22, 0.35);
}
.consent-banner p { font-size: 13px; line-height: 1.5; margin: 0; color: rgba(244, 239, 230, 0.85); }
.consent-banner a { text-decoration: underline; }
.consent-actions { display: flex; gap: 10px; }
.consent-refuse { background: transparent; color: var(--bone); border: 1px solid rgba(244, 239, 230, 0.35); }
.consent-refuse:hover { background: rgba(244, 239, 230, 0.1); }

/* ─── Hero plein-cadre — responsive ──────────────────────────────── */
@media (max-width: 1100px) {
  .hero-video { min-height: auto; grid-template-columns: 1fr; }
  .hero-video .hero-text { padding: 104px var(--gap-page) 20px; }
  .hero-video .hero-aside { justify-self: stretch; max-width: none; align-self: auto; padding: 0 var(--gap-page) 36px; }
}
@media (max-width: 760px) {
  .hero-video .hero-text { padding: 88px var(--gap-page) 16px; }
  .hero-video .hero-trust { gap: 14px 20px; }
  .hero-video .hero-aside .estimator-floater { padding: 24px 22px; }
  .estimator-head { flex-wrap: wrap; gap: 4px 12px; }
  .estimator-head .mono { font-size: 11px; }
}
