/* ============ DESIGN TOKENS ============ */
:root {
  /* palette — strictement celle du brief */
  --sapin: #1f3d2e;
  --sapin-deep: #16302a;
  --creme: #f5efe4;
  --creme-deep: #ede5d4;
  --terracotta: #b8553a;
  --ambre: #c8893a;
  --encre: #1a1a1a;
  --encre-soft: #3a3a3a;
  --mute: #5a5448;
  --hairline: rgba(26, 26, 26, .12);
  --hairline-strong: rgba(26, 26, 26, .22);
  --white: #ffffff;

  /* accent */
  --accent: var(--ambre);
  --accent-cta: var(--terracotta);

  /* type scale — éditorial, sérieux */
  --f-display: clamp(2.6rem, 5.4vw, 4.6rem);
  --f-h1:      clamp(2.2rem, 4.4vw, 3.6rem);
  --f-h2:      clamp(1.8rem, 3.2vw, 2.6rem);
  --f-h3:      1.25rem;
  --f-body:    1.0625rem;
  --f-small:   0.9375rem;
  --f-label:   0.75rem;

  /* layout */
  --maxw: 1200px;
  --pad-x: clamp(1.75rem, 6vw, 2.5rem);
  --section-y: clamp(4rem, 8vw, 6.5rem);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-weight: 500;
  font-size: var(--f-body);
  line-height: 1.55;
  color: var(--encre);
  background: var(--creme);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* === Reusable === */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad-x); }
.section { padding: var(--section-y) 0; }
.kicker {
  font-size: var(--f-label);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
}
.h1 {
  font-size: var(--f-h1);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0;
  color: var(--encre);
  text-wrap: balance;
}
.h2 {
  font-size: var(--f-h2);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 0 1rem;
  text-wrap: balance;
}
.h2 .accent { color: var(--accent); }
.lead {
  font-size: 1.125rem;
  color: var(--encre-soft);
  max-width: 56ch;
  text-wrap: pretty;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.005em;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--accent-cta);
  color: var(--white);
  box-shadow: 0 1px 0 rgba(0,0,0,.08), inset 0 1px 0 rgba(255,255,255,.12);
}
.btn-primary:hover { background: #a64a31; }
.btn-sapin {
  background: var(--sapin);
  color: var(--creme);
}
.btn-sapin:hover { background: var(--sapin-deep); }
.btn-ghost {
  background: transparent;
  color: var(--encre);
  border-color: var(--hairline-strong);
}
.btn-ghost:hover { background: rgba(26,26,26,.04); }
.btn-ghost-light {
  background: transparent;
  color: var(--creme);
  border-color: rgba(245,239,228,.3);
}
.btn-ghost-light:hover { background: rgba(245,239,228,.08); }

/* focus rings */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

/* === HEADER === */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background-color .25s ease, border-color .25s ease, backdrop-filter .25s ease;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(245, 239, 228, .92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom-color: var(--hairline);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
}
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-mark {
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.25rem;
  color: var(--sapin);
}
.logo-kicker {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
  margin-top: 4px;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.tel-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--encre);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 0.9rem;
  border-radius: 6px;
  transition: background-color .15s ease;
}
.tel-link:hover { background: rgba(26,26,26,.05); }
.tel-link svg { width: 16px; height: 16px; opacity: .8; }
@media (max-width: 520px) {
  .tel-link span:not(.sr) { display: none; }
  .tel-link { padding: 0.6rem; }
}
/* Header flottant avec marges latérales sur mobile (≤880px) — symétrique avec la mobile-cta du bas */
@media (max-width: 880px) {
  .header {
    top: 0.75rem;
    margin: 0 0.75rem;
    border: 1px solid var(--hairline-strong);
    border-radius: 12px;
    background: rgba(245, 239, 228, .94);
    backdrop-filter: saturate(180%) blur(10px);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    box-shadow: 0 4px 12px rgba(26,26,26,.08);
  }
  .header.scrolled { background: rgba(245, 239, 228, .96); }
  .header > .wrap.header-inner { padding-left: 0.85rem; padding-right: 0.85rem; }
  body { padding-top: 0.75rem; }
}

/* === HERO === */
.hero {
  position: relative;
  background: var(--sapin);
  color: var(--creme);
  overflow: hidden;
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3rem, 7vw, 5rem);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(31,61,46,.72), rgba(22,48,42,.78)), url('images/grillage_rigide.webp');
  background-size: cover;
  background-position: center;
  z-index: 0;
}
/* placeholder pattern when image is missing */
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg, transparent 0 14px, rgba(245,239,228,.04) 14px 15px),
    linear-gradient(180deg, rgba(31,61,46,.85), rgba(22,48,42,.95));
  z-index: -1;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: var(--f-label);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245,239,228,.85);
  background: rgba(245,239,228,.08);
  border: 1px solid rgba(245,239,228,.15);
  padding: 0.45rem 0.85rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.dot-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6dd49a;
  position: relative;
  flex: none;
}
.dot-pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid #6dd49a;
  animation: pulse 1.8s ease-out infinite;
  opacity: .6;
}
@keyframes pulse {
  0% { transform: scale(.6); opacity: .8; }
  100% { transform: scale(1.8); opacity: 0; }
}

.hero h1 {
  font-size: var(--f-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin: 0 0 1.25rem;
  color: var(--creme);
  text-wrap: balance;
}
.hero h1 .accent { color: var(--ambre); }
.hero-sub {
  font-size: 1.125rem;
  line-height: 1.55;
  color: rgba(245,239,228,.88);
  max-width: 52ch;
  margin: 0 0 1.75rem;
  text-wrap: pretty;
}

.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.75rem;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(245,239,228,.95);
  background: rgba(245,239,228,.08);
  border: 1px solid rgba(245,239,228,.15);
  padding: 0.45rem 0.8rem;
  border-radius: 100px;
}
.pill svg { width: 14px; height: 14px; color: var(--ambre); flex: none; }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.hero-tel {
  color: var(--creme);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.95rem 0.6rem;
  border-bottom: 1px solid rgba(245,239,228,.3);
}
.hero-tel:hover { border-bottom-color: var(--ambre); }

/* hero form card */
.hero-form {
  background: var(--creme);
  color: var(--encre);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 24px 48px -12px rgba(0,0,0,.35), 0 4px 12px rgba(0,0,0,.15);
}
.hero-form-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--hairline);
}
.hero-form-title {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.hero-form-meta {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}
.field { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 0.85rem; }
.field label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--encre-soft);
}
.field label .req { color: var(--terracotta); margin-left: 2px; }
.field input, .field select, .field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  color: var(--encre);
  background: var(--white);
  border: 1px solid var(--hairline-strong);
  border-radius: 5px;
  padding: 0.7rem 0.85rem;
  transition: border-color .15s ease;
}
.field textarea { resize: vertical; min-height: 84px; line-height: 1.5; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%231a1a1a' stroke-width='1.5'%3E%3Cpath d='M3 5l3 3 3-3'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.85rem center; padding-right: 2.2rem; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--encre-soft); }
.field .optional-tag { color: var(--mute); font-weight: 500; text-transform: none; letter-spacing: 0; font-size: 0.75rem; margin-left: 4px; }
.form-submit {
  width: 100%;
  margin-top: 0.5rem;
  padding: 1rem;
  font-size: 1rem;
}
.form-step[hidden] { display: none; }
.step2-intro { font-size: 0.875rem; color: var(--encre-soft); margin: 0 0 1rem; line-height: 1.5; }
.form-step2-actions { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: center; }
.form-step2-actions .form-back { padding: 0.75rem 1rem; font-size: 0.9rem; white-space: nowrap; }
.form-step2-actions .form-submit { margin-top: 0; }

/* === Confirmation finale === */
.hero-form-success {
  background: var(--white);
  border: 1px solid var(--hairline-strong);
  border-radius: 8px;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  box-shadow: 0 12px 32px rgba(0,0,0,.08);
  text-align: center;
}
.hero-form-success[hidden] { display: none; }
.success-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--sapin);
  color: var(--creme);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.success-icon svg { width: 32px; height: 32px; }
.success-title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--encre);
  margin: 0 0 0.5rem;
}
.success-msg {
  font-size: 1rem;
  color: var(--encre-soft);
  line-height: 1.55;
  margin: 0 0 1.25rem;
}
.success-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  gap: 0.5rem;
  text-align: left;
  background: var(--creme-deep);
  border-radius: 6px;
  padding: 1rem 1.25rem;
}
.success-steps li {
  font-size: 0.9375rem;
  color: var(--encre);
  line-height: 1.45;
}
.rgpd {
  font-size: 0.75rem;
  color: var(--mute);
  margin: 0.85rem 0 0;
  line-height: 1.45;
}
.form-state {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: 500;
  display: none;
}
.form-state.success { display: block; background: rgba(31,61,46,.08); color: var(--sapin); border: 1px solid rgba(31,61,46,.2); }
.form-state.error { display: block; background: rgba(184,85,58,.08); color: var(--terracotta); border: 1px solid rgba(184,85,58,.25); }

/* === TRUST BAR === */
.trust-bar { background: var(--white); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.trust-bar-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hairline);
  padding: 0;
}
.trust-stat {
  background: var(--white);
  padding: 1.5rem 1rem;
  text-align: center;
}
.trust-num {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--sapin);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.trust-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--encre-soft);
}
@media (max-width: 720px) {
  .trust-bar-inner { grid-template-columns: repeat(3, 1fr); }
}

/* === PROCESS === */
.process { background: var(--creme); }
.section-head { margin-bottom: clamp(2rem, 4vw, 3rem); max-width: 64ch; }
.section-head .kicker { margin-bottom: 0.75rem; display: block; }

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
  position: relative;
}
@media (max-width: 880px) { .process-grid { grid-template-columns: 1fr; } }
.process-card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: 8px;
  padding: 1.75rem;
  box-shadow: 0 1px 3px rgba(0,0,0,.04), 0 8px 24px -16px rgba(31,61,46,.18);
  position: relative;
}
.process-num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--mute);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.process-num span:first-child {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--sapin);
  color: var(--creme);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0;
}
.process-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}
.process-card p {
  margin: 0;
  color: var(--encre-soft);
  font-size: 0.95rem;
  line-height: 1.55;
}
.process-arrow {
  position: absolute;
  top: 50%;
  right: -1.05rem;
  transform: translateY(-50%);
  color: var(--hairline-strong);
  width: 24px; height: 24px;
  background: var(--creme);
  display: grid;
  place-items: center;
}
@media (max-width: 880px) { .process-arrow { display: none; } }

/* === TARIFS === */
.tarifs { background: var(--creme-deep); }
.tarifs-disclaimer {
  font-size: 0.875rem;
  color: var(--mute);
  margin: 0 0 2rem;
  max-width: 56ch;
}
.tarifs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
@media (max-width: 1080px) { .tarifs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tarifs-grid { grid-template-columns: 1fr; } }

.tarif-card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: 8px;
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  position: relative;
}
.tarif-card.featured {
  background: var(--sapin);
  color: var(--creme);
  border-color: var(--sapin);
  box-shadow: 0 12px 32px -12px rgba(31,61,46,.45);
  transform: translateY(-6px);
}
@media (max-width: 1080px) { .tarif-card.featured { transform: none; } }

.tarif-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
  background: var(--creme);
  border: 1px solid var(--hairline);
  padding: 0.3rem 0.6rem;
  border-radius: 100px;
  align-self: flex-start;
  margin-bottom: 1rem;
}
.tarif-card.featured .tarif-tag {
  background: var(--ambre);
  color: var(--encre);
  border-color: transparent;
}
.tarif-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.6rem;
}
.tarif-price {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.2rem;
}
.tarif-price .unit { font-size: 0.95rem; font-weight: 500; letter-spacing: 0; color: var(--mute); }
.tarif-card.featured .tarif-price .unit { color: rgba(245,239,228,.7); }
.tarif-from {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 1.25rem;
}
.tarif-card.featured .tarif-from { color: rgba(245,239,228,.7); }
.tarif-bullets {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.9rem;
  flex: 1;
}
.tarif-bullets li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  line-height: 1.4;
}
.tarif-bullets svg { width: 16px; height: 16px; flex: none; color: var(--sapin); margin-top: 2px; }
.tarif-card.featured .tarif-bullets svg { color: var(--ambre); }
.tarif-cta {
  width: 100%;
  padding: 0.8rem;
  font-size: 0.9375rem;
}

/* === GALLERY === */
.gallery { background: var(--white); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (max-width: 720px) { .gallery-grid { grid-template-columns: 1fr; } }
.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 6px;
  background: var(--creme-deep);
  cursor: default;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, transparent 50%, rgba(31,61,46,.92) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity .3s ease;
  color: var(--creme);
}
.gallery-item:hover .gallery-overlay,
.gallery-item:focus-within .gallery-overlay { opacity: 1; }
@media (hover: none) {
  .gallery-overlay { opacity: 1; background: linear-gradient(180deg, transparent 0%, transparent 40%, rgba(31,61,46,.88) 100%); }
}
.gallery-meta { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(245,239,228,.75); margin-bottom: 0.3rem; }
.gallery-title { font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.015em; }
/* placeholder when no image */
.gallery-item.placeholder { background: var(--creme-deep); display: flex; align-items: center; justify-content: center; }
.gallery-item.placeholder::before {
  content: attr(data-label);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
  text-align: center;
  padding: 1rem;
}

/* === BEFORE / AFTER SLIDER === */
.before-after { background: var(--creme); }
.ba-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (max-width: 800px) { .ba-grid { grid-template-columns: 1fr; } }
.ba-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(31,61,46,.12);
  background: var(--creme-deep);
}
.ba-figure {
  position: relative;
  aspect-ratio: 4 / 3;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  overflow: hidden;
}
.ba-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.ba-img.after { clip-path: inset(0 0 0 50%); }
.ba-tag {
  position: absolute; top: 12px;
  font: 700 0.6875rem/1 'Inter Tight', sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 6px;
  background: rgba(26,26,26,.78);
  color: var(--creme);
  z-index: 2;
}
.ba-tag.before { left: 12px; }
.ba-tag.after { right: 12px; background: var(--sapin); }
.ba-handle {
  position: absolute; top: 0; bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--creme);
  transform: translateX(-1.5px);
  pointer-events: none;
  z-index: 3;
  box-shadow: 0 0 0 1px rgba(0,0,0,.18), 0 4px 16px rgba(0,0,0,.25);
}
.ba-handle::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--creme);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 1px rgba(0,0,0,.12), 0 6px 20px rgba(0,0,0,.28);
}
.ba-handle::after {
  content: '⇄';
  position: absolute;
  top: 50%; left: 50%;
  font-size: 18px;
  color: var(--sapin);
  font-weight: 700;
  transform: translate(-50%, -50%);
  z-index: 1;
}
.ba-meta {
  padding: 1rem 1.25rem;
  background: var(--white);
}
.ba-meta-kicker {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.4rem;
}
.ba-meta-title {
  font: 700 1.0625rem/1.25 'Inter Tight', sans-serif;
  letter-spacing: -0.015em;
  color: var(--encre);
  margin: 0 0 0.3rem;
}
.ba-meta-detail {
  font-size: 0.875rem;
  color: var(--encre-soft);
  line-height: 1.5;
}

/* === TEMOIGNAGES === */
.testimonials { background: var(--creme); }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) { .testi-grid { grid-template-columns: 1fr; } }
.testi-card {
  background: var(--white);
  border: 1px solid rgba(26,26,26,.08);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.testi-stars {
  display: flex;
  gap: 2px;
  color: var(--ambre);
  font-size: 1rem;
}
.testi-quote {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--encre);
  margin: 0;
  flex: 1;
}
.testi-quote::before { content: '« '; color: var(--terracotta); font-weight: 700; }
.testi-quote::after { content: ' »'; color: var(--terracotta); font-weight: 700; }
.testi-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(26,26,26,.06);
}
.testi-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--sapin);
  color: var(--creme);
  display: flex;
  align-items: center;
  justify-content: center;
  font: 700 0.875rem/1 'Inter Tight', sans-serif;
  flex-shrink: 0;
}
.testi-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.testi-name {
  font: 600 0.875rem/1.2 'Inter Tight', sans-serif;
  color: var(--encre);
}
.testi-loc {
  font-size: 0.75rem;
  color: var(--mute);
}
.testi-google {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.875rem;
  color: var(--mute);
}
.testi-google a { color: var(--sapin); font-weight: 600; text-decoration: none; }
.testi-google a:hover { text-decoration: underline; }

/* === WHY US === */
.why { background: var(--sapin); color: var(--creme); }
.why .kicker { color: rgba(245,239,228,.8); }
.why .h2 { color: var(--creme); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem 1rem;
}
@media (max-width: 880px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .why-grid { grid-template-columns: 1fr; } }
.why-card {
  border-top: 1px solid rgba(245,239,228,.18);
  padding-top: 1.25rem;
}
.why-card svg {
  width: 28px; height: 28px;
  color: var(--ambre);
  margin-bottom: 1rem;
  display: block;
}
.why-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 0.5rem;
  color: var(--creme);
}
.why-card p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: rgba(245,239,228,.75);
}

/* === ANIMATION EMBED === */
.anim-embed { background: var(--creme); }
.anim-intro { text-align: center; max-width: 56ch; margin: 0 auto clamp(2rem, 4vw, 2.5rem); }
.anim-frame {
  max-width: 980px;
  margin: 0 auto;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  overflow: hidden;
  background: var(--creme);
  box-shadow: 0 1px 3px rgba(0,0,0,.04), 0 24px 48px -24px rgba(31,61,46,.25);
}
.anim-frame iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }

/* === THOMAS === */
.thomas { background: var(--white); }
.thomas-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  max-width: 880px;
  margin: 0 auto;
}
@media (max-width: 720px) {
  .thomas-card { grid-template-columns: 1fr; text-align: left; justify-items: start; }
}
.thomas-photo {
  position: relative;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: visible;
  background: var(--creme-deep);
  border: 4px solid var(--creme);
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.thomas-photo img:not(.thomas-artisan) { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.thomas-photo.placeholder { color: var(--mute); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; text-align: center; padding: 1rem; }
.thomas-artisan {
  position: absolute;
  bottom: -8px;
  right: -10px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--white);
  padding: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  object-fit: contain;
}
.thomas-content .kicker { margin-bottom: 0.5rem; display: block; }
.thomas-content h2 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0 0 0.75rem;
}
.thomas-content p {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--encre-soft);
  margin: 0;
  max-width: 56ch;
  text-wrap: pretty;
}

/* === TRUST BADGES === */
.trust-badges { background: var(--creme-deep); padding: clamp(2rem, 4vw, 3rem) 0; }
.badges-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
  max-width: 880px;
  margin: 0 auto;
}
@media (max-width: 720px) { .badges-grid { grid-template-columns: 1fr; } }
.badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  padding: 1rem 1.25rem;
  border-radius: 8px;
  border: 1px solid var(--hairline);
}
.badge .b-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
}
.badge .b-text { min-width: 0; }
.badge .b-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--encre);
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}
.badge .b-sub {
  font-size: 0.8125rem;
  color: var(--encre-soft);
  line-height: 1.4;
}

/* === FAQ === */
.faq { background: var(--creme); }
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  border-top: 1px solid var(--hairline-strong);
}
.faq-item {
  border-bottom: 1px solid var(--hairline-strong);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.5rem 0;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  width: 24px; height: 24px;
  flex: none;
  position: relative;
  transition: transform .2s ease;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--encre);
  border-radius: 1px;
}
.faq-icon::before { top: 11px; left: 4px; right: 4px; height: 2px; }
.faq-icon::after { left: 11px; top: 4px; bottom: 4px; width: 2px; transition: transform .2s ease; }
.faq-item[open] .faq-icon::after { transform: scaleY(0); }
.faq-answer {
  padding: 0 0 1.5rem;
  color: var(--encre-soft);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 64ch;
}

/* === CTA FINAL === */
.cta-final {
  background: var(--sapin);
  color: var(--creme);
  text-align: center;
}
.cta-final .h2 { color: var(--creme); margin-bottom: 1rem; }
.cta-final p { color: rgba(245,239,228,.8); font-size: 1.125rem; margin: 0 auto 2rem; max-width: 52ch; text-wrap: pretty; }
.cta-final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* === FOOTER === */
.footer { background: var(--encre); color: rgba(245,239,228,.7); padding: 3.5rem 0 2rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }
.footer-col .footer-h {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245,239,228,.7);
  margin: 0 0 1rem;
}
.footer-col p, .footer-col a, .footer-col li { font-size: 0.9375rem; line-height: 1.65; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 0.4rem; }
.footer-col a:hover { color: var(--creme); }
.footer-brand {
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--creme);
  margin-bottom: 0.6rem;
  display: block;
}
.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(245,239,228,.1);
  font-size: 0.8125rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  color: rgba(245,239,228,.7);
}

/* === STICKY MOBILE CTA — flottant avec marges === */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0.75rem; left: 0.75rem; right: 0.75rem;
  z-index: 60;
  background: var(--white);
  border: 1px solid var(--hairline-strong);
  border-radius: 12px;
  padding: 0.5rem;
  gap: 0.5rem;
  box-shadow: 0 8px 24px rgba(26,26,26,.18), 0 2px 6px rgba(26,26,26,.08);
}
.mobile-cta a {
  flex: 1;
  text-align: center;
  padding: 0.85rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 8px;
}
.mobile-cta .m-tel {
  background: var(--creme);
  color: var(--encre);
  border: 1px solid var(--hairline-strong);
}
.mobile-cta .m-form {
  background: var(--accent-cta);
  color: var(--white);
}
@media (max-width: 880px) {
  .mobile-cta { display: flex; }
  body { padding-bottom: 88px; }
}

/* skip-link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--sapin);
  color: var(--creme);
  padding: 0.5rem 1rem;
  z-index: 100;
}
.skip-link:focus { top: 0; }

.sr { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* === PRINT-FRIENDLY (just in case) === */
@media print {
  .header, .mobile-cta, .hero-form, .anim-embed { display: none; }
  body { background: white; color: black; }
}
