/* ─────────────────────────────────────────
   RESET & BASE
───────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Vert sauge — artisan premium sobre */
  --c-green-900:  oklch(22% 0.07 148);
  --c-green-800:  oklch(30% 0.09 148);
  --c-green-700:  oklch(38% 0.10 148);
  --c-green-600:  oklch(46% 0.11 148);
  --c-green-200:  oklch(88% 0.06 148);
  --c-green-100:  oklch(95% 0.03 148);
  --c-green-50:   oklch(97% 0.015 148);

  /* Cuivre chaud — CTA et accents */
  --c-copper-600: oklch(57% 0.13 52);
  --c-copper-500: oklch(65% 0.15 52);
  --c-copper-400: oklch(72% 0.14 52);
  --c-copper-100: oklch(94% 0.05 52);

  /* Neutres tintés vert */
  --c-ink:        oklch(14% 0.006 148);
  --c-ink-soft:   oklch(38% 0.006 148);
  --c-stone:      oklch(58% 0.005 148);
  --c-line:       oklch(84% 0.006 148);
  --c-bg:         oklch(98.5% 0.004 148);
  --c-bg-warm:    oklch(96% 0.008 148);

  /* Error */
  --c-error:      oklch(46% 0.18 25);

  /* Type */
  --f-display:   'Barlow Condensed', sans-serif;
  --f-body:      'Lexend', system-ui, sans-serif;

  /* Spacing dramatisé */
  --gap-xs:   8px;
  --gap-sm:   16px;
  --gap-md:   32px;
  --gap-lg:   64px;
  --gap-xl:   96px;
  --gap-2xl:  128px;

  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 20px;

  --ease-out:  cubic-bezier(0.22, 1, 0.36, 1);
  --t:         .2s var(--ease-out);

  --max-w:    1080px;
  --form-w:   480px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scroll-padding-top: 82px;
}

body {
  font-family: var(--f-body);
  color: var(--c-ink);
  background: var(--c-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}

/* ─────────────────────────────────────────
   TYPOGRAPHIE
───────────────────────────────────────── */
.section-title {
  font-family: var(--f-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.0;
  color: var(--c-green-800);
  letter-spacing: -0.02em;
  margin-bottom: var(--gap-lg);
}

/* Accent cuivre sous les titres de section */
.section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--c-copper-500);
  margin-top: 14px;
  border-radius: 2px;
}

.section-title.text-center::after {
  margin-left: auto;
  margin-right: auto;
}

.text-center { text-align: center; }

/* ─────────────────────────────────────────
   BOUTONS
───────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--c-copper-500);
  color: oklch(14% 0.006 52);
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 16px 28px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: background var(--t), transform var(--t), box-shadow var(--t);
  line-height: 1.3;
  min-height: 52px;
  letter-spacing: 0.01em;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--c-copper-600);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px oklch(57% 0.13 52 / 0.35);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-submit {
  width: 100%;
  font-size: 1.05rem;
  padding: 18px 24px;
  margin-top: var(--gap-sm);
}

/* ─────────────────────────────────────────
   ANIMATIONS SÉQUENTIELLES
───────────────────────────────────────── */
.reveal.will-animate {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s var(--ease-out), transform .55s var(--ease-out);
}

.reveal.will-animate.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal.will-animate { transition: none; opacity: 1; transform: none; }
}

/* ─────────────────────────────────────────
   SECTION 1 — HERO
───────────────────────────────────────── */
.hero {
  background:
    url('img/panneaux-solaires-toit-2.webp') center center / cover no-repeat;
  color: var(--c-bg);
  padding: clamp(120px, 16vw, 180px) 0 clamp(48px, 8vw, 96px);
  position: relative;
  overflow: hidden;
}

/* Overlay vert + vignette bas */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      160deg,
      oklch(22% 0.09 148 / 0.88) 0%,
      oklch(30% 0.09 148 / 0.78) 55%,
      oklch(22% 0.07 148 / 0.60) 100%
    );
  pointer-events: none;
}

/* Grille décorative par-dessus l'overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(oklch(98.5% 0.004 148 / 0.03) 1px, transparent 1px),
    linear-gradient(90deg, oklch(98.5% 0.004 148 / 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--gap-lg);
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 600px;
}

.eyebrow {
  font-family: var(--f-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-copper-400);
  margin-bottom: var(--gap-md);
}

.hero h1 {
  font-family: var(--f-display);
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin-bottom: var(--gap-md);
  color: oklch(97% 0.004 148);
}

.hero h1 em {
  font-style: normal;
  color: var(--c-copper-400);
}

.hero .subtitle {
  font-size: clamp(.95rem, 2vw, 1.1rem);
  color: oklch(80% 0.006 148);
  margin-bottom: var(--gap-lg);
  max-width: 480px;
  line-height: 1.65;
}

.hero-reassurance {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-xs) var(--gap-md);
  margin-top: var(--gap-md);
  padding: 0;
}

.hero-reassurance li {
  font-size: .82rem;
  color: oklch(72% 0.006 148);
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-reassurance li::before {
  content: '✓';
  color: var(--c-copper-400);
  font-weight: 700;
}

/* Ligne audiences secondaires dans le hero */
.hero-alt-projects {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 0;
  margin-top: var(--gap-md);
  padding-top: var(--gap-md);
  border-top: 1px solid oklch(60% 0.008 148 / 0.35);
  font-size: .9rem;
  color: oklch(82% 0.006 148);
}

.hero-alt-projects-label {
  margin-right: 8px;
}

.hero-alt-pill {
  display: inline;
  color: var(--c-copper-400);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--c-copper-500);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color var(--t), text-decoration-color var(--t);
}

.hero-alt-pill:hover {
  color: oklch(78% 0.13 52);
  text-decoration-color: oklch(78% 0.13 52);
}

.hero-alt-sep {
  margin: 0 10px;
  color: oklch(60% 0.006 148);
  user-select: none;
}

/* Note de rating Google dans le hero */
.hero-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: var(--gap-sm);
  font-size: .82rem;
  color: oklch(82% 0.006 148);
}

.hero-rating-stars {
  color: oklch(78% 0.14 78);
  letter-spacing: 1px;
  font-size: .9rem;
}

.hero-rating-text strong {
  color: oklch(92% 0.005 148);
}

/* Barre rating au-dessus du carrousel avis */
.reviews-rating-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: var(--gap-md);
  font-size: .95rem;
  color: oklch(82% 0.006 148);
}

.reviews-stars {
  color: oklch(78% 0.16 78);
  font-size: 1.15rem;
  letter-spacing: 2px;
}

.reviews-score {
  color: oklch(96% 0.004 148);
  font-size: 1.05rem;
}

.reviews-sep {
  color: oklch(65% 0.006 148);
  font-size: .9rem;
}

.reviews-google-logo {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.reviews-count {
  color: oklch(75% 0.006 148);
  font-size: .88rem;
}

/* Élément décoratif "44" */
.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  opacity: .55;
  user-select: none;
  flex-shrink: 0;
}

.hero-stat-number {
  font-family: var(--f-display);
  font-size: clamp(6rem, 12vw, 10rem);
  font-weight: 800;
  line-height: 1;
  color: var(--c-copper-400);
  letter-spacing: -0.04em;
}

.hero-stat-label {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: oklch(97% 0.004 148);
}

@media (max-width: 639px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-stat {
    display: none;
  }
  .hero .btn-primary {
    width: 100%;
    max-width: 100%;
  }
}

/* ─────────────────────────────────────────
   SECTION 2 — COMMENT ÇA MARCHE
───────────────────────────────────────── */
.how-it-works {
  padding: var(--gap-xl) 0 calc(var(--gap-xl) + 48px);
  background: var(--c-bg);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 48px), 0 100%);
  margin-bottom: -48px;
  position: relative;
  z-index: 1;
}

.steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step {
  display: grid;
  grid-template-columns: 88px 1fr;
  align-items: stretch;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 3px oklch(14% 0.006 148 / 0.06), 0 4px 12px oklch(14% 0.006 148 / 0.04);
}

.step:nth-child(1) .step-body { background: oklch(97.5% 0.012 148); }
.step:nth-child(2) .step-body { background: oklch(96%   0.02  148); }
.step:nth-child(3) .step-body { background: oklch(94%   0.03  148); }

.step-num {
  font-family: var(--f-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--c-green-200);
  background: var(--c-green-800);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--gap-md) var(--gap-sm);
  min-height: 96px;
  letter-spacing: -0.02em;
  line-height: 1;
  flex-shrink: 0;
}

.step:nth-child(2) .step-num { background: var(--c-green-700); }
.step:nth-child(3) .step-num { background: var(--c-green-600); color: oklch(96% 0.03 148); }

.step-body {
  padding: clamp(24px, 4vw, 36px) clamp(20px, 4vw, 40px);
}

.step-body h3 {
  font-family: var(--f-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--c-green-800);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.step-body p {
  font-size: .92rem;
  color: var(--c-ink-soft);
  line-height: 1.7;
  max-width: 56ch;
}

@media (min-width: 640px) {
  .step-num {
    font-size: 3.5rem;
    min-height: 120px;
  }
}

/* ─────────────────────────────────────────
   SECTION 3 — TÉMOIGNAGES
───────────────────────────────────────── */
.testimonial {
  background: var(--c-green-800);
  padding: var(--gap-lg) 0 calc(var(--gap-xl) + 48px);
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 48px), 0 100%);
  margin-bottom: -48px;
  z-index: 1;
}

.testimonial::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('img/artisan-panneaux-solaires.jpeg') center 30% / cover no-repeat;
  opacity: 0.08;
  pointer-events: none;
}

.testimonial .section-title {
  color: oklch(88% 0.006 148);
  text-align: center;
  margin-bottom: var(--gap-lg);
}

.reviews-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--gap-sm);
}

.reviews-viewport {
  overflow: hidden;
  flex: 1;
  min-width: 0;
}

.reviews-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * var(--gap-sm)) / 3);
  gap: var(--gap-sm);
  list-style: none;
  width: 100%;
  transition: none;
}

@media (max-width: 900px) {
  .reviews-track {
    grid-auto-columns: calc((100% - var(--gap-sm)) / 2);
  }
}

@media (max-width: 560px) {
  .reviews-track {
    grid-auto-columns: 100%;
  }
}

.reviews-prev,
.reviews-next {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid oklch(97% 0.004 148 / 0.25);
  background: oklch(97% 0.004 148 / 0.10);
  color: oklch(96% 0.004 148);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t);
  line-height: 1;
}

.reviews-prev:hover,
.reviews-next:hover {
  background: oklch(97% 0.004 148 / 0.20);
}

.reviews-prev:disabled,
.reviews-next:disabled {
  opacity: 0.3;
  cursor: default;
}

.reviews-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: var(--gap-md);
}

.reviews-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: oklch(97% 0.004 148 / 0.25);
  cursor: pointer;
  padding: 0;
  transition: background var(--t), transform var(--t);
}

.reviews-dots button.active {
  background: var(--c-copper-400);
  transform: scale(1.3);
}

.review-card {
  background: oklch(97% 0.004 148 / 0.07);
  border: 1px solid oklch(97% 0.004 148 / 0.12);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background var(--t);
}

.review-card:hover {
  background: oklch(97% 0.004 148 / 0.11);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: oklch(97% 0.004 148);
}

.review-avatar--j { background: oklch(46% 0.15 25); }
.review-avatar--b { background: oklch(46% 0.12 148); }
.review-avatar--a { background: oklch(46% 0.10 230); }
.review-avatar--m { background: oklch(46% 0.14 18); }
.review-avatar--n { background: oklch(46% 0.13 270); }
.review-avatar--l { background: oklch(46% 0.11 195); }
.review-avatar--e { background: oklch(46% 0.13 305); }

.review-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.review-name {
  font-size: .88rem;
  font-weight: 700;
  color: oklch(96% 0.004 148);
  line-height: 1.2;
}

.review-source {
  font-size: .72rem;
  color: oklch(60% 0.006 148);
  display: flex;
  align-items: center;
  gap: 4px;
}

.review-source svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.stars {
  color: var(--c-copper-400);
  font-size: .9rem;
  letter-spacing: .04em;
}

.review-text {
  font-size: .88rem;
  color: oklch(80% 0.005 148);
  line-height: 1.7;
  font-style: italic;
  flex: 1;
}

/* Kept for backwards compat (merci.html n'utilise pas) */
.testimonial-figure { display: none; }
blockquote { margin: 0; }
blockquote p { font-size: 1rem; color: oklch(80% 0.006 148); }
blockquote p::before { content: ''; }

/* ─────────────────────────────────────────
   SECTION 4 — RÉASSURANCE
───────────────────────────────────────── */
.trust {
  background: var(--c-bg-warm);
  padding: clamp(64px, 10vw, 96px) 0 calc(clamp(64px, 10vw, 96px) + 48px);
  border-top: 4px solid var(--c-copper-500);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 48px));
  margin-bottom: -48px;
  position: relative;
  z-index: 1;
}

.trust .section-title {
  color: var(--c-ink);
}

.trust .section-title::after {
  background: var(--c-copper-500);
}

/* Bloc vedette argument financier */
.trust-feature {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: var(--gap-md);
  padding: clamp(28px, 4vw, 40px) clamp(24px, 4vw, 48px);
  margin-bottom: var(--gap-md);
  background: oklch(58% 0.18 136);
  border-radius: var(--radius);
  border: 1px solid oklch(65% 0.18 136 / 0.4);
}

.trust-feature-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
  line-height: 1;
  padding-right: var(--gap-md);
  border-right: 1px solid oklch(55% 0.08 148 / 0.4);
}

.trust-feature-num {
  font-family: var(--f-display);
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 800;
  color: var(--c-copper-400);
  letter-spacing: -0.02em;
}

.trust-feature-unit {
  font-size: .78rem;
  color: oklch(72% 0.006 148);
  letter-spacing: 0.04em;
  margin-top: 4px;
  white-space: nowrap;
}

.trust-feature-body strong {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 800;
  color: oklch(94% 0.005 148);
  margin-bottom: 8px;
  line-height: 1.1;
}

.trust-feature-body p {
  font-size: .9rem;
  color: oklch(97% 0.004 148);
  line-height: 1.55;
  max-width: 58ch;
}

@media (max-width: 560px) {
  .trust-feature {
    grid-template-columns: 1fr;
  }
  .trust-feature-stat {
    flex-direction: row;
    align-items: baseline;
    gap: 8px;
    padding-right: 0;
    border-right: none;
    border-bottom: 1px solid oklch(55% 0.08 148 / 0.4);
    padding-bottom: var(--gap-sm);
  }
  .trust-feature-num { font-size: 2.8rem; }
}

.trust-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: var(--gap-lg);
  border-top: 1px solid var(--c-line);
}

.trust-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  align-items: start;
  gap: 0 20px;
  padding: clamp(20px, 3vw, 28px) clamp(16px, 3vw, 32px) clamp(20px, 3vw, 28px) 0;
  border-bottom: 1px solid var(--c-line);
  position: relative;
}

/* Items de droite : border gauche pour séparer les colonnes */
.trust-item:nth-child(even) {
  padding-left: clamp(16px, 3vw, 32px);
  border-left: 1px solid var(--c-line);
}

.trust-num {
  font-family: var(--f-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--c-copper-600);
  line-height: 1;
  letter-spacing: 0.04em;
  opacity: 0.7;
  padding-top: 4px;
}

.trust-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding-top: 2px;
}

.trust-stat-num {
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--c-copper-500);
  line-height: 1;
  letter-spacing: -0.02em;
}

.trust-stat-label {
  font-size: .65rem;
  font-weight: 600;
  color: var(--c-ink-soft);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
}

.trust-body {
  padding-top: 0;
}

.trust-body strong {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 800;
  color: var(--c-ink);
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  line-height: 1.2;
}

.trust-body p {
  font-size: .85rem;
  color: var(--c-ink-soft);
  line-height: 1.55;
  margin: 0;
  max-width: 42ch;
}

@media (max-width: 640px) {
  .trust-list {
    grid-template-columns: 1fr;
  }
  .trust-item {
    grid-template-columns: 64px 1fr;
    gap: 0 14px;
    padding: 18px 0;
  }
  .trust-item:nth-child(even) {
    padding-left: 0;
    border-left: none;
  }
  .trust-num { font-size: .9rem; }
  .trust-stat-num { font-size: 1.3rem; }
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.6;
  animation: scroll-hint-fade 2.4s ease-out 1.2s both;
}

.scroll-hint-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid oklch(90% 0.01 52);
  border-bottom: 2px solid oklch(90% 0.01 52);
  transform: rotate(45deg);
  animation: scroll-hint-bounce 1.4s ease-in-out infinite;
}

@keyframes scroll-hint-bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50%       { transform: rotate(45deg) translateY(5px); }
}

@keyframes scroll-hint-fade {
  0%   { opacity: 0; transform: translateX(-50%) translateY(8px); }
  30%  { opacity: 0.6; transform: translateX(-50%) translateY(0); }
  80%  { opacity: 0.6; }
  100% { opacity: 0.6; }
}

/* Bandeau ACC */
.acc-banner {
  background: var(--c-green-50);
  border-bottom: 1px solid var(--c-line);
  text-align: center;
  padding: 10px var(--gap-md);
  font-size: .83rem;
  color: var(--c-ink-soft);
}

.acc-banner a {
  color: var(--c-green-700);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Bandeau Pro */
.pro-banner {
  background: var(--c-copper-100);
  border-bottom: 1px solid oklch(88% 0.06 52);
  text-align: center;
  padding: 10px var(--gap-md);
  font-size: .83rem;
  color: var(--c-ink-soft);
}

.pro-banner a {
  color: var(--c-copper-600);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Step pro note */
.step-pro-note {
  display: block;
  margin-top: 6px;
  font-size: .8rem;
  color: var(--c-copper-600);
  font-weight: 500;
}

/* Trust link ACC */
.trust-link {
  color: var(--c-copper-600);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.trust-link:hover {
  text-decoration: underline;
}

.legal-note {
  font-size: .75rem;
  color: var(--c-stone);
  text-align: center;
  border-top: 1px solid var(--c-line);
  padding-top: var(--gap-md);
  line-height: 1.7;
  max-width: 620px;
  margin: 0 auto;
}

/* ─────────────────────────────────────────
   SECTION 5 — FORMULAIRE
───────────────────────────────────────── */
.form-section {
  background: var(--c-green-100);
  border-top: 1px solid var(--c-line);
  padding-bottom: calc(var(--gap-xl) + 48px);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 48px));
  margin-bottom: -48px;
  position: relative;
  z-index: 1;
}

.form-layout {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 48px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 80px);
  align-items: center;
}

@media (max-width: 719px) {
  .form-layout {
    grid-template-columns: 1fr;
  }
}

.form-intro h2 {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.08;
  color: var(--c-green-800);
  letter-spacing: -0.02em;
  margin-bottom: var(--gap-md);
}

.form-intro > p {
  font-size: 1rem;
  color: var(--c-ink-soft);
  line-height: 1.65;
  margin-bottom: var(--gap-md);
}

.form-promises {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-promises li {
  font-size: .88rem;
  color: var(--c-ink-soft);
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-promises li::before {
  content: '✓';
  color: var(--c-green-600);
  font-weight: 700;
  font-size: .9rem;
}

.form-card {
  background: var(--c-bg);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: 0 8px 48px oklch(22% 0.07 148 / 0.12);
  border: 1px solid var(--c-line);
}

.form-group {
  margin-bottom: var(--gap-md);
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: .82rem;
  margin-bottom: 6px;
  color: var(--c-ink);
  letter-spacing: .02em;
}

.form-group input[type="text"],
.form-group input[type="tel"] {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--c-line);
  border-radius: var(--radius-sm);
  font-family: var(--f-body);
  font-size: 1rem;
  color: var(--c-ink);
  background: var(--c-bg);
  transition: border-color var(--t), box-shadow var(--t);
  min-height: 48px;
}

.form-group input:focus {
  outline: none;
  border-color: var(--c-green-700);
  box-shadow: 0 0 0 3px oklch(38% 0.10 148 / 0.15);
}

.form-group input.invalid,
.form-group input[aria-invalid="true"] {
  border-color: var(--c-error);
  box-shadow: 0 0 0 3px oklch(46% 0.18 25 / 0.12);
}

.field-hint {
  font-size: .72rem;
  color: var(--c-stone);
  margin-top: 5px;
}

.form-group--checkbox {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.form-group--checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin-top: 2px;
  accent-color: var(--c-green-700);
  cursor: pointer;
}

.form-group--checkbox label {
  font-size: .78rem;
  font-weight: 400;
  color: var(--c-stone);
  line-height: 1.55;
}

.form-group--checkbox label a {
  color: var(--c-green-700);
  text-decoration: underline;
}

/* Radio projet */
.form-group--radio {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.radio-label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--c-ink-soft);
  margin-bottom: 2px;
}

.radio-optional {
  font-weight: 400;
  color: var(--c-stone);
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  color: var(--c-ink-soft);
  cursor: pointer;
}

.radio-option input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: var(--c-green-700);
  cursor: pointer;
}

.form-error {
  color: var(--c-error);
  font-size: .83rem;
  margin-bottom: 8px;
  min-height: 22px;
  font-weight: 500;
}

/* ─────────────────────────────────────────
   SECTION 6 — FAQ
───────────────────────────────────────── */
.faq {
  padding: var(--gap-xl) 0;
  background: var(--c-bg);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 680px;
  margin: 0 auto;
}

.faq-item {
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--t);
}

.faq-item[open] {
  box-shadow: 0 4px 20px oklch(22% 0.07 148 / 0.08);
}

.faq-item summary {
  padding: 18px 20px;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: .93rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--c-green-800);
  transition: background var(--t);
  min-height: 52px;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  flex-shrink: 0;
  transition: transform var(--t);
  color: var(--c-green-600);
  line-height: 1;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary:hover {
  background: var(--c-green-50);
}

.faq-item summary:focus-visible {
  outline: 3px solid var(--c-copper-500);
  outline-offset: -2px;
}

.faq-item p {
  padding: 0 20px 20px;
  font-size: .88rem;
  color: var(--c-ink-soft);
  line-height: 1.75;
}

/* ─────────────────────────────────────────
   SITE HEADER
───────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background var(--t), box-shadow var(--t);
}

.site-header.is-scrolled {
  background: oklch(99% 0.003 148);
  box-shadow: 0 1px 0 oklch(84% 0.006 148 / 0.5);
}

.site-header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
  height: 82px;
  display: flex;
  align-items: center;
  gap: var(--gap-md);
}

.site-header-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.site-logo {
  display: block;
  height: 58px;
  width: auto;
  object-fit: contain;
  filter: none;
  opacity: 1;
}

/* Sur hero (transparent) : logo en blanc */
.site-header:not(.is-scrolled) .site-logo {
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 32px);
  margin-left: auto;
}

.site-nav-link {
  font-size: .88rem;
  font-weight: 500;
  color: oklch(88% 0.005 148);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color var(--t);
  white-space: nowrap;
}

.site-header.is-scrolled .site-nav-link {
  color: oklch(32% 0.006 148);
}

.site-nav-link:hover,
.site-header.is-scrolled .site-nav-link:hover {
  color: oklch(58% 0.18 136);
}

.site-header-cta {
  flex-shrink: 0;
  font-size: .85rem;
  padding: 9px 18px;
  min-height: unset;
  line-height: 1.2;
  border-radius: var(--radius-sm);
  margin-left: var(--gap-sm);
}

@media (max-width: 720px) {
  .site-nav { display: none; }
  .site-header-inner {
    height: 60px;
    padding: 0 16px;
  }
  .site-logo { height: 44px; }
  .site-header-cta {
    margin-left: auto;
    font-size: .75rem;
    padding: 7px 12px;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}


/* ─────────────────────────────────────────
   SÉPARATEUR how-it-works → réalisations
───────────────────────────────────────── */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  height: 56px;
  background: var(--c-bg);
  position: relative;
  z-index: 2;
}

.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--c-copper-500);
  opacity: 0.45;
}

.section-divider-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin: 0 16px;
  transform: rotate(45deg);
  border: 1.5px solid var(--c-copper-500);
  background: var(--c-bg);
  flex-shrink: 0;
  position: relative;
}

.section-divider-icon::after {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  background: var(--c-copper-500);
  transform: none;
}

/* ─────────────────────────────────────────
   SECTION RÉALISATIONS
───────────────────────────────────────── */
.realisations {
  padding: var(--gap-xl) 0 0;
  background: var(--c-bg);
  /* Le border-bottom cuivre est remplacé par un pseudo-element pour survivre au clip-path */
  position: relative;
  z-index: 1;
}

.realisations::after {
  content: '';
  display: block;
  height: 4px;
  background: var(--c-copper-500);
  margin-top: clamp(32px, 5vw, 56px);
}

.realisations .section-title {
  color: var(--c-ink);
}

.realisations .section-title::after {
  background: var(--c-copper-500);
}

.realisations-sub {
  color: var(--c-ink-soft);
  max-width: 52ch;
  margin: 0 auto var(--gap-lg);
  font-size: 1rem;
  line-height: 1.6;
}

.realisations-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  grid-template-rows: 260px 252px;
  gap: 8px;
  margin-bottom: 0;
  align-items: stretch;
}

@media (max-width: 720px) {
  .realisations-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 280px 200px 200px;
  }
}

.realisation-item {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  opacity: 1;
  transform: scale(0.96) translateY(16px);
  transition:
    opacity 0.55s var(--ease-out),
    transform 0.55s var(--ease-out);
}

.realisation-item.will-reveal {
  opacity: 0;
}

.realisation-item.is-revealed {
  opacity: 1;
  transform: none;
}

/* Grande photo : clip-path reveal gauche→droite */
.realisation-item--main {
  grid-row: 1 / 3;
  transform: none;
  transition: clip-path 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.realisation-item--main.will-reveal {
  clip-path: inset(0 100% 0 0 round 10px);
  opacity: 1;
}

.realisation-item--main.is-revealed {
  clip-path: inset(0 0% 0 0 round 10px);
  opacity: 1;
  transform: none;
}

.realisation-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .6s var(--ease-out);
  will-change: transform;
}

.realisation-item:hover img {
  transform: scale(1.04);
}

@media (prefers-reduced-motion: reduce) {
  .realisation-item,
  .realisation-item--main {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    transition: none !important;
  }
}

.realisation-item figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 12px 16px;
  background: linear-gradient(to top, oklch(12% 0.05 148 / 0.90) 0%, transparent 100%);
  color: oklch(93% 0.005 148);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ─────────────────────────────────────────
   PONT CTA — trust → formulaire
───────────────────────────────────────── */
.cta-bridge {
  background: var(--c-copper-600);
  padding: calc(clamp(40px, 6vw, 72px) + 48px) 0 clamp(40px, 6vw, 72px);
  position: relative;
  overflow: hidden;
}

.cta-bridge::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 80% 50%, oklch(72% 0.14 52 / 0.30) 0%, transparent 70%);
  pointer-events: none;
}

.cta-bridge-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--gap-md);
}

.cta-bridge-eyebrow {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: oklch(96% 0.01 52 / 0.75);
  margin: 0;
}

.cta-bridge-headline {
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: oklch(15% 0.04 52);
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 22ch;
  margin: 0;
}

.cta-bridge-headline strong {
  color: oklch(98% 0.008 52);
}

.cta-bridge-btn {
  font-size: 1.05rem;
  padding: 16px 36px;
  background: oklch(15% 0.04 52);
  color: oklch(97% 0.008 52);
}

.cta-bridge-btn:hover {
  background: oklch(12% 0.03 52);
}

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
.footer {
  background: var(--c-green-900);
  color: oklch(55% 0.005 148);
  padding: var(--gap-lg) 0;
  text-align: center;
}

.footer p {
  font-size: .83rem;
  margin-bottom: 10px;
}

.footer strong {
  color: oklch(88% 0.005 148);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: var(--gap-md);
  margin-bottom: var(--gap-md);
  flex-wrap: wrap;
}

.footer-links a {
  color: oklch(55% 0.005 148);
  text-decoration: underline;
  font-size: .8rem;
  transition: color var(--t);
}

.footer-links a:hover {
  color: oklch(88% 0.005 148);
}

.footer-legal {
  font-size: .73rem;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.65;
  color: oklch(42% 0.005 148);
}

/* ─────────────────────────────────────────
   FLOATING CTA
───────────────────────────────────────── */
.fab-wrap {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 100;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out);
  pointer-events: none;
}

.fab-wrap.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.fab-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--c-copper-500);
  color: oklch(14% 0.006 52);
  font-family: var(--f-body);
  font-weight: 700;
  font-size: .88rem;
  padding: 14px 22px;
  border-radius: 40px;
  text-decoration: none;
  box-shadow: 0 8px 32px oklch(57% 0.13 52 / 0.40);
  transition: background var(--t), transform var(--t), box-shadow var(--t);
  white-space: nowrap;
}

.fab-btn:hover {
  background: var(--c-copper-600);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px oklch(57% 0.13 52 / 0.50);
}

.fab-icon {
  font-size: 1rem;
  line-height: 1;
}

/* Mobile : bouton plein bas → ouvre drawer */
@media (max-width: 639px) {
  .fab-wrap {
    bottom: 0;
    right: 0;
    left: 0;
    transform: translateY(100%);
  }

  .fab-wrap.is-visible {
    transform: translateY(0);
  }

  .fab-btn {
    width: 100%;
    border-radius: 0;
    justify-content: center;
    padding: 18px 24px;
    font-size: 1rem;
    box-shadow: 0 -4px 24px oklch(14% 0.006 148 / 0.18);
  }

  .fab-icon { display: none; }
}

/* ─────────────────────────────────────────
   DRAWER MOBILE
───────────────────────────────────────── */
.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: oklch(14% 0.006 148 / 0.55);
  display: flex;
  align-items: flex-end;
  backdrop-filter: blur(2px);
}

.drawer-overlay[hidden] {
  display: none;
}

.drawer-panel {
  background: var(--c-bg);
  width: 100%;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 20px 20px 28px;
  max-height: 96dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  animation: drawerIn .3s var(--ease-out) both;
}

@keyframes drawerIn {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}

.drawer-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--c-stone);
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
}

.drawer-title {
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 800;
  color: var(--c-green-800);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.drawer-sub {
  font-size: .85rem;
  color: var(--c-stone);
  margin-bottom: 16px;
}

.drawer-panel .form-group {
  margin-bottom: 10px;
}

.drawer-panel .form-group label {
  font-size: .82rem;
  margin-bottom: 3px;
}

.drawer-panel .form-group input {
  padding: 10px 14px;
  font-size: .95rem;
}

.drawer-panel .btn-submit {
  margin-top: 6px;
  padding: 13px 20px;
  font-size: .95rem;
}

/* Hide drawer on desktop */
@media (min-width: 640px) {
  .drawer-overlay { display: none !important; }
}

/* ─────────────────────────────────────────
   PAGE /MERCI
───────────────────────────────────────── */
.merci-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-green-800);
  padding: 40px 20px;
}

.merci-card {
  background: var(--c-bg);
  border-radius: var(--radius-lg);
  padding: clamp(36px, 6vw, 56px);
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: 0 16px 64px oklch(14% 0.006 148 / 0.30);
}

.merci-icon {
  width: 72px;
  height: 72px;
  background: var(--c-green-700);
  color: oklch(97% 0.004 148);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--gap-md);
  font-size: 2rem;
}

.merci-card h1 {
  font-family: var(--f-display);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--c-green-800);
  margin-bottom: var(--gap-sm);
  letter-spacing: -0.02em;
}

.merci-card p {
  color: var(--c-stone);
  line-height: 1.7;
  margin-bottom: 12px;
  font-size: .93rem;
}

.merci-card .highlight {
  font-weight: 600;
  color: var(--c-ink);
}

.merci-next {
  background: var(--c-green-50);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: var(--gap-md);
  margin: var(--gap-md) 0;
  text-align: left;
}

.merci-next h2 {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--c-green-700);
  margin-bottom: var(--gap-sm);
}

.merci-next ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.merci-next li {
  font-size: .88rem;
  color: var(--c-ink-soft);
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.5;
}

.merci-next li::before {
  content: '✓';
  color: var(--c-green-700);
  font-weight: 700;
  flex-shrink: 0;
}

.merci-footer {
  font-size: .73rem;
  color: var(--c-stone);
  margin-top: var(--gap-md);
  opacity: .75;
}

/* ─────────────────────────────────────────
   ACCESSIBILITÉ GLOBALE
───────────────────────────────────────── */
:focus-visible {
  outline: 3px solid var(--c-copper-500);
  outline-offset: 2px;
}

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

