/* ============================================================
   FEUILLE DE STYLE LANDING PAGE - Charte "Artisan Craft & Tech"
   Référence des couleurs, arrondis et composants : DESIGN.md,
   tokens alignés sur assets/styles/app.css. Préfixes lp- (layout)
   et mk- (maquettes d'écrans) pour éviter toute collision avec
   les classes de l'application.
   Chargée après le CSS Bootstrap (CDN) : les boutons sont
   surchargés via les variables CSS natives de Bootstrap.
   ============================================================ */

/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */
:root {
  /* Couleurs de marque */
  --lime: #8db600;
  --lime-hover: #8ea604;
  --lime-active: #7a9c00;
  --lime-rgb: 141, 182, 0;
  --lime-text: #5e7a00; /* lime lisible sur fond clair (liens, accents) */
  --ai-accent: #95c11e;
  --ink: #1e2528;
  --anthracite: #2c3539;
  --danger: #dc2626;
  --warning: #d97706; /* étoiles des avis */
  --muted: #6c757d;

  /* Surfaces */
  --surface: #f8f9fa;
  --surface-container: #e8eff3;
  --surface-container-high: #e2e9ed;
  --hairline: #e5e7eb;
  --input-border: #d1d5db;

  /* Arrondis */
  --radius: 0.5rem; /* 8 px : boutons, champs */
  --radius-md: 0.75rem; /* 12 px : miniatures, badges */
  --radius-lg: 1rem; /* 16 px : cartes, écrans */

  /* Typographie de la charte (DESIGN.md) */
  --font-title: "Plus Jakarta Sans", sans-serif;
  --font-body: "Plus Jakarta Sans", sans-serif;

  /* Feedback succès aligné sur la charte (comme app.css) */
  --bs-success: var(--lime);
  --bs-success-rgb: var(--lime-rgb);
  --bs-success-text-emphasis: var(--ink);
  --bs-success-bg-subtle: rgba(var(--lime-rgb), 0.15);
  --bs-success-border-subtle: rgba(var(--lime-rgb), 0.3);
}

/* ============================================================
   2. BASE
   ============================================================ */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--surface);
  color: var(--ink);
}

main section {
  scroll-margin-top: 76px;
}

::selection {
  background: rgba(var(--lime-rgb), 0.25);
}

:focus-visible {
  outline: 2px solid var(--lime-active);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 0 0 var(--radius) 0;
  z-index: 2000;
}

.skip-link:focus {
  left: 0;
}

/* Animation d'entrée (désactivée si l'utilisateur le demande) */
@keyframes lp-fade-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.lp-animated {
  animation: lp-fade-in 0.5s ease-out;
}

/* ============================================================
   3. BOUTONS (DESIGN.md - section Components > Buttons)
   Mêmes surcharges que app.css pour une cohérence parfaite.
   ============================================================ */
.btn {
  border-radius: var(--radius);
  font-weight: 700;
}

/* Enfoncement léger au clic */
.btn:active {
  transform: translateY(1px);
}

.btn-lg {
  min-height: 48px;
}

.btn-primary {
  --bs-btn-bg: var(--lime);
  --bs-btn-color: var(--ink);
  --bs-btn-border-color: var(--lime);
  --bs-btn-hover-bg: var(--lime-hover);
  --bs-btn-hover-color: var(--ink);
  --bs-btn-hover-border-color: var(--lime-hover);
  --bs-btn-active-bg: var(--lime-active);
  --bs-btn-active-color: var(--ink);
  --bs-btn-active-border-color: var(--lime-active);
  --bs-btn-focus-shadow-rgb: var(--lime-rgb);
  --bs-btn-disabled-bg: var(--lime);
  --bs-btn-disabled-color: var(--ink);
  --bs-btn-disabled-border-color: var(--lime);
}

.btn-outline-secondary {
  --bs-btn-color: var(--anthracite);
  --bs-btn-border-color: var(--anthracite);
  --bs-btn-hover-bg: var(--anthracite);
  --bs-btn-hover-color: #ffffff;
  --bs-btn-hover-border-color: var(--anthracite);
  --bs-btn-active-bg: var(--anthracite);
  --bs-btn-active-color: #ffffff;
  --bs-btn-active-border-color: var(--anthracite);
  --bs-btn-focus-shadow-rgb: 44, 53, 57;
}

.btn-ghost {
  --bs-btn-font-weight: 600;
  --bs-btn-color: var(--anthracite);
  --bs-btn-bg: #ffffff;
  --bs-btn-border-color: var(--hairline);
  --bs-btn-hover-color: var(--anthracite);
  --bs-btn-hover-bg: var(--surface-container);
  --bs-btn-hover-border-color: var(--hairline);
  --bs-btn-active-bg: var(--surface-container-high);
  --bs-btn-active-border-color: var(--surface-container-high);
  --bs-btn-focus-shadow-rgb: 44, 53, 57;
  --bs-btn-disabled-color: var(--muted);
}

/* ============================================================
   4. EN-TÊTE STICKY
   ============================================================ */
.lp-header {
  position: sticky;
  top: 0;
  z-index: 1020;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--hairline);
}

.lp-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
}

/* Cible tactile confortable, même pour le CTA compact du header */
.lp-header .btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.lp-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--ink);
}

.lp-brand img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.lp-brand span {
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.lp-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.lp-nav a {
  color: var(--anthracite);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

.lp-nav a:hover {
  color: var(--lime-text);
}

/* ============================================================
   5. HERO
   ============================================================ */
.lp-hero {
  padding: 56px 0 64px;
}

.lp-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

/* Kicker : ligne éditoriale au-dessus du titre, sans conteneur */
.lp-hero-badge {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lime-text);
  margin-bottom: 16px;
}

.lp-hero h1 {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.lp-hero h1 em {
  font-style: normal;
  color: var(--lime-text);
}

.lp-hero-sub {
  font-size: 16px;
  line-height: 1.5;
  color: #495057;
  max-width: 34rem;
  margin-bottom: 28px;
}

.lp-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.lp-reassurance {
  font-size: 12px;
  color: var(--muted);
  align-items: center;
  gap: 6px;
}

.lp-reassurance i {
  color: var(--lime-text);
}

.lp-hero-visual {
  display: flex;
  justify-content: center;
}

/* ============================================================
   6. MAQUETTES D'ÉCRANS (remplaçables par de vraies captures)
   ============================================================ */

/* Châssis téléphone. Pour remplacer une maquette par une vraie
   capture : supprimer le contenu de .lp-phone et insérer
   <img src="..." alt="..."> avec la classe .lp-shot. */
.lp-phone {
  width: 100%;
  max-width: 300px;
  background: var(--ink);
  border-radius: 32px;
  padding: 10px;
  box-shadow: 0 24px 48px rgba(30, 37, 40, 0.22);
}

.lp-shot {
  width: 100%;
  border-radius: 24px;
  display: block;
}

.lp-screen {
  border-radius: 24px;
  background: var(--surface);
  overflow: hidden;
}

/* Barre d'état factice */
.mk-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px 4px;
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
}

.mk-status i {
  font-size: 11px;
}

/* En-tête applicatif (logo + titre) */
.mk-apphead {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border-bottom: 1px solid var(--hairline);
  padding: 10px 14px;
}

/* L'icône de réglages reste collée à droite de l'en-tête */
.mk-apphead i {
  margin-left: auto;
}

.mk-apphead-logo {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-size: 11px;
}

.mk-apphead span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* Corps de l'écran : colonne flex pour que le contenu occupe toute la
   hauteur du châssis. L'espace restant est réparti entre les blocs
   (justify-content) au lieu de s'accumuler en bas. */
.mk-body {
  padding: 12px;
  height: 500px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: space-between;
}

/* Chip d'information dans une maquette d'écran */
.mk-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  align-self: flex-start;
  background: rgba(var(--lime-rgb), 0.15);
  border: 1px solid var(--lime);
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
}

/* Grille de photos (écran demande) */
.mk-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 10px;
  flex: none;
}

/* Emplacement de photo : cadre sombre avec picto (une photo par maquette) */
.mk-photo {
  aspect-ratio: 1;
  border-radius: var(--radius);
  background: var(--anthracite);
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

/* Emplacement d'ajout : carré pointillé lime, comme dans l'application */
.mk-photo-add {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px dashed rgba(var(--lime-rgb), 0.45);
  color: var(--lime);
  font-size: 14px;
}

/* Description + dictée (écran demande) : la carte occupe la hauteur
   restante, comme la zone de saisie de l'application */
.mk-desc {
  background: #ffffff;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 2px rgba(30, 37, 40, 0.04);
  padding: 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.mk-desc p {
  font-size: 11px;
  line-height: 1.45;
  color: #495057;
  margin: 0;
}

.mk-mic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface-container-high);
  color: var(--anthracite);
  font-size: 13px;
  margin-top: auto;
  align-self: flex-start;
}

/* Bouton plein largeur dans les maquettes */
.mk-btn {
  display: block;
  width: 100%;
  background: var(--lime);
  color: var(--ink);
  border: none;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  padding: 12px;
}

/* Carte sombre d'estimation (app : estimate-card) : elle occupe la
   hauteur restante, le total reste collé en bas de la carte */
.mk-estimate {
  background: var(--anthracite);
  border-radius: var(--radius-lg);
  overflow: hidden;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.mk-estimate-band {
  background: var(--lime);
  color: var(--ink);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 12px;
}

.mk-estimate-band i {
  font-size: 11px;
}

.mk-estimate-body {
  padding: 14px 12px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mk-estimate-title {
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.mk-estimate-line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.85);
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mk-estimate-line strong {
  color: #ffffff;
  white-space: nowrap;
}

.mk-estimate-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 10px;
  padding-top: 10px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
}

.mk-estimate-total strong {
  color: var(--lime);
  font-size: 20px;
  font-weight: 800;
}

.mk-estimate-foot {
  display: flex;
  gap: 8px;
  padding: 0 12px 12px;
}

.mk-btn-ghost {
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  border-radius: var(--radius);
  padding: 10px;
}

.mk-btn-primary {
  flex: 1;
  background: var(--lime);
  color: var(--ink);
  border: none;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  border-radius: var(--radius);
  padding: 10px;
}

/* Devis public côté client : le bouton PDF et la mention d'acceptation
   restent en bas de la carte, l'espace restant est réparti entre les blocs */
.mk-quote {
  background: #ffffff;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mk-quote .mk-btn {
  margin-top: 12px;
}

.mk-quote-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.mk-quote-head span {
  font-size: 11px;
  font-weight: 800;
}

.mk-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 50px;
  white-space: nowrap;
}

.mk-tag-accepted {
  background: var(--lime);
  color: var(--ink);
}

.mk-quote-line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  color: #495057;
  padding: 7px 0;
  border-bottom: 1px solid rgba(30, 37, 40, 0.07);
}

.mk-quote-line strong {
  color: var(--ink);
  white-space: nowrap;
}

.mk-quote-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 10px 0 12px;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
}

.mk-quote-total strong {
  font-size: 18px;
  font-weight: 800;
}

.mk-quote-note {
  font-size: 10px;
  color: var(--muted);
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.mk-quote-note i {
  color: var(--lime-text);
}

/* Le tag garde sa taille dans l'en-tête du devis (l'en-tête impose 11px) */
.mk-quote-head .mk-tag {
  font-size: 9px;
  font-weight: 700;
}

/* Objet des travaux, sous le numéro de devis */
.mk-quote-sub {
  font-size: 9px;
  font-weight: 600;
  color: var(--muted);
  margin: 2px 0 0;
  text-align: start;
}

/* Carte de formulaire (photos, description) dans une maquette */
.mk-card {
  background: #ffffff;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 2px rgba(30, 37, 40, 0.04);
  padding: 12px;
  flex: none;
}

.mk-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.mk-card-head strong {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 800;
}

.mk-card-head span {
  font-size: 9px;
  font-weight: 700;
  color: var(--muted);
}

/* Dernière grille de photos d'une carte : pas de marge basse */
.mk-card .mk-photos {
  margin-bottom: 0;
}

/* Libellé de champ dans une maquette */
.mk-field-label {
  display: block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

/* Boutons secondaires côte à côte (galerie, appareil photo) */
.mk-actions {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.mk-btn-soft {
  flex: 1;
  background: var(--surface-container);
  border: 1px solid var(--hairline);
  color: var(--anthracite);
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  border-radius: var(--radius);
  padding: 7px 4px;
}

/* Mention de formats sous les boutons */
.mk-formats {
  font-size: 8px;
  color: var(--muted);
  margin: 6px 0 0;
}

/* ============================================================
   7. SECTIONS COMMUNES
   ============================================================ */
.lp-section {
  padding: 72px 0;
}

.lp-section-white {
  background: #ffffff;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.lp-section-head {
  max-width: 46rem;
  margin: 0 auto 44px;
  text-align: center;
}

.lp-section-head h2 {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(1.5rem, 3.5vw, 2.125rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 12px;
}

.lp-section-head p {
  font-size: 15px;
  line-height: 1.5;
  color: #495057;
  margin: 0;
}

/* ============================================================
   8. COMPRÉHENSION (3 ÉTAPES)
   ============================================================ */
.lp-step {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lp-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--anthracite);
  color: var(--lime);
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.lp-step .lp-phone {
  margin-bottom: 20px;
  padding: 8px;
  border-radius: 28px;
  box-shadow: 0 16px 32px rgba(30, 37, 40, 0.16);
}

.lp-step .lp-screen {
  border-radius: 20px;
}

.lp-step h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.lp-step p {
  font-size: 9px;
  line-height: 1.55;
  color: #495057;
  margin: 0;
  max-width: 20rem;
}

/* ============================================================
   9. VALEUR (BÉNÉFICES)
   ============================================================ */
.lp-benefit {
  background: #ffffff;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 24px;
  height: 100%;
  box-shadow: 0 1px 3px rgba(30, 37, 40, 0.05);
}

.lp-benefit-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(var(--lime-rgb), 0.15);
  border: 1px solid var(--lime);
  color: var(--anthracite);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.lp-benefit h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.lp-benefit p {
  font-size: 13px;
  line-height: 1.55;
  color: #495057;
  margin: 0;
}

/* CTA intermédiaire */
.lp-midcta {
  text-align: center;
  margin-top: 44px;
}

/* ============================================================
   10. PROCESS
   ============================================================ */
.lp-process-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.lp-process-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lp-process-step h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.lp-process-meta {
  font-size: 11px;
  font-weight: 700;
  color: var(--lime-text);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-left: 6px;
}

.lp-process-step p {
  font-size: 13px;
  line-height: 1.5;
  color: #495057;
  margin: 0;
}

/* ============================================================
   11. COMPARATIF (tableau honnête)
   ============================================================ */
.lp-cmp {
  background: #ffffff;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(30, 37, 40, 0.05);
}

.lp-cmp table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
}

.lp-cmp th {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  padding: 14px 16px;
  border-bottom: 1px solid var(--hairline);
  text-align: left;
  vertical-align: middle;
}

.lp-cmp th.lp-col-app {
  color: var(--ink);
  background: rgba(var(--lime-rgb), 0.08);
}

.lp-cmp td {
  font-size: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--hairline);
  vertical-align: middle;
  text-align: left;
}

.lp-cmp tr:last-child td {
  border-bottom: none;
}

.lp-cmp td:first-child {
  font-weight: 600;
  font-size: 13px;
}

.lp-cmp td.lp-col-app {
  background: rgba(var(--lime-rgb), 0.08);
  font-weight: 600;
}

.lp-cmp .lp-yes {
  color: var(--lime-text);
  font-weight: 700;
  margin-right: 6px;
}

.lp-cmp-note {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin-top: 16px;
}

/* ============================================================
   12. AVIS
   ============================================================ */
.lp-review {
  background: #ffffff;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 24px;
  height: 100%;
  box-shadow: 0 1px 3px rgba(30, 37, 40, 0.05);
}

.lp-stars {
  color: var(--warning);
  font-size: 13px;
  margin-bottom: 12px;
}

.lp-review blockquote {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0 0 18px;
}

.lp-review-footer {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lp-review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--anthracite);
  color: var(--lime);
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lp-review-name {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.lp-review-meta {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.3;
}

.lp-review-stars {
  color: var(--warning);
  font-size: 11px;
}

/* ============================================================
   13. FAQ (accordéon Bootstrap re-stylé)
   ============================================================ */
.lp-faq {
  max-width: 46rem;
  margin: 0 auto;
}

.accordion-item {
  border: 1px solid var(--hairline);
  border-radius: 12px !important;
  overflow: hidden;
  margin-bottom: 10px;
  background: #ffffff;
}

.accordion-button {
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  background: #ffffff;
  padding: 16px 18px;
}

.accordion-button:not(.collapsed) {
  color: var(--ink);
  background: #ffffff;
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: 0 0 0 3px rgba(var(--lime-rgb), 0.15);
  border-color: var(--lime);
}

.accordion-button::after {
  background-size: 14px;
}

.accordion-body {
  font-size: 14px;
  line-height: 1.6;
  color: #495057;
  padding: 0 18px 18px;
}

/* ============================================================
   14. CTA FINAL
   ============================================================ */
.lp-cta {
  background: var(--anthracite);
  border-top: 3px solid var(--lime);
  padding: 72px 0;
  text-align: center;
}

.lp-cta h2 {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(1.5rem, 3.5vw, 2.125rem);
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 12px;
}

.lp-cta p {
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75);
  max-width: 34rem;
  margin: 0 auto 28px;
}

.lp-cta-reassurance {
  margin-top: 14px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.lp-cta-reassurance i {
  color: var(--lime);
}

/* ============================================================
   15. FOOTER
   ============================================================ */
.lp-footer {
  background: var(--surface);
  color: #495057;
  padding: 48px 0 24px;
  font-size: 13px;
  border-top: 1px solid var(--hairline);
}

.lp-footer h2 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--anthracite);
  margin-bottom: 14px;
}

.lp-footer a {
  color: #495057;
  text-decoration: none;
}

.lp-footer a:hover {
  color: var(--lime-text);
}

.lp-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.lp-footer li {
  margin-bottom: 8px;
}

.lp-footer-bottom {
  border-top: 1px solid var(--hairline);
  margin-top: 36px;
  padding-top: 18px;
  font-size: 12px;
  color: var(--anthracite);
}

/* ============================================================
   16. RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
  .lp-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .lp-nav {
    display: none;
  }
}

@media (max-width: 767px) {
  .lp-hero {
    padding: 40px 0 48px;
  }

  .lp-section {
    padding: 52px 0;
  }

  .lp-cta {
    padding: 52px 0;
  }

  .lp-hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }

  .lp-process-step {
    margin-bottom: 26px;
  }

  .lp-cmp th,
  .lp-cmp td {
    padding: 12px 10px;
    font-size: 13px;
  }

  /* Table défilable horizontalement : les 3 colonnes restent
     lisibles au lieu de s'écraser sur petit écran */
  .lp-cmp {
    overflow-x: auto;
  }

  .lp-cmp table {
    min-width: 560px;
  }

  .lp-cmp td:first-child {
    font-size: 12px;
  }
}

/* ============================================================
   17. PAGES LÉGALES (mentions légales, CGU)
   ============================================================ */
.lp-legal {
  max-width: 46rem;
  margin: 0 auto;
  padding: 48px 0 72px;
}

.lp-legal h1 {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.lp-legal-update {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 24px;
}

/* Notice d'avertissement (document en cours de finalisation) */
.lp-notice {
  display: flex;
  gap: 10px;
  background: rgba(var(--lime-rgb), 0.12);
  border: 1px solid var(--lime);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 8px;
}

.lp-notice i {
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.lp-legal h2 {
  font-size: 16px;
  font-weight: 700;
  margin: 32px 0 12px;
}

.lp-legal p {
  font-size: 14px;
  line-height: 1.65;
  color: #495057;
  margin-bottom: 12px;
}

.lp-legal ul {
  font-size: 14px;
  line-height: 1.65;
  color: #495057;
  padding-left: 1.25rem;
  margin-bottom: 12px;
}

.lp-legal a {
  color: var(--anthracite);
  font-weight: 600;
  text-decoration: none;
}

.lp-legal a:hover {
  color: var(--lime-text);
  text-decoration: underline;
}

/* ============================================================
   18. DYNAMISME : hero sombre, bande chantier, sections
   sombres, survols et révélation au scroll
   ============================================================ */

/* Hero sombre : anthracite profond avec trame de plan technique
   en filigrane (DESIGN.md : fondations anthracite + accents lime) */
.lp-hero-dark {
  background: linear-gradient(165deg, #2c3539 0%, #1e2528 78%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.lp-hero-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(141, 182, 0, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(141, 182, 0, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.lp-hero-dark > .container {
  position: relative;
}

.lp-hero-dark h1 {
  color: #ffffff;
}

.lp-hero-dark h1 em {
  color: var(--lime);
}

.lp-hero-dark .lp-hero-badge {
  color: var(--lime);
}

.lp-hero-dark .lp-hero-sub {
  color: rgba(255, 255, 255, 0.78);
}

.lp-hero-dark .lp-reassurance {
  color: rgba(255, 255, 255, 0.7);
}

.lp-hero-dark .lp-reassurance i {
  color: var(--lime);
}

.lp-hero-dark .lp-phone {
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Bande chantier décorative (ruban hachuré, sous le hero) */
.lp-tape {
  height: 8px;
  background: repeating-linear-gradient(
    -45deg,
    var(--lime) 0 12px,
    var(--ink) 12px 24px
  );
}

/* Section sombre pleine largeur (comparatif) */
.lp-section-dark {
  background: linear-gradient(180deg, #2c3539 0%, #1e2528 100%);
}

/* Quadrillage discret des zones sombres aérées.
   Atténué par rapport au hero (3 % au lieu de 5 %) : le hero garde
   sa primauté. Posé uniquement sur les sections peu denses (classe
   lp-grid-bg dans le template), jamais derrière un tableau de texte. */
.lp-grid-bg {
  position: relative;
  overflow: hidden;
}

.lp-grid-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(141, 182, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(141, 182, 0, 0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.lp-grid-bg > .container {
  position: relative;
}

.lp-section-dark .lp-section-head h2 {
  color: #ffffff;
}

.lp-section-dark .lp-section-head p {
  color: rgba(255, 255, 255, 0.75);
}

.lp-section-dark .lp-cmp-note {
  color: rgba(255, 255, 255, 0.6);
}

/* Contenu des sections sombres : cartes avantages et réassurance */
.lp-section-dark .lp-benefit {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.lp-section-dark .lp-benefit h3 {
  color: #ffffff;
}

.lp-section-dark .lp-benefit p {
  color: rgba(255, 255, 255, 0.75);
}

.lp-section-dark .lp-benefit-icon {
  color: var(--lime);
}

.lp-section-dark .lp-reassurance {
  color: rgba(255, 255, 255, 0.7);
}

.lp-section-dark .lp-reassurance i {
  color: var(--lime);
}

/* Survol des cartes : léger soulèvement */
.lp-benefit,
.lp-review,
.lp-step .lp-phone {
  transition:
    transform 0.2s ease-out,
    box-shadow 0.2s ease-out;
}

.lp-benefit:hover,
.lp-review:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(30, 37, 40, 0.12);
}

.lp-step .lp-phone:hover {
  transform: translateY(-4px);
}

/* Soulignement animé des liens de navigation */
.lp-nav a {
  position: relative;
}

.lp-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease-out;
}

.lp-nav a:hover::after,
.lp-nav a:focus-visible::after {
  transform: scaleX(1);
}

/* Ligne du comparatif éclairée sous le curseur
   (la colonne "Avec L'Artizanerie" intensifie sa teinte lime) */
.lp-cmp tbody tr td {
  transition: background 0.15s ease-out;
}

.lp-cmp tbody tr:hover td:not(.lp-col-app) {
  background: rgba(255, 255, 255, 0.04);
}

.lp-cmp tbody tr:hover td.lp-col-app {
  background: rgba(var(--lime-rgb), 0.14);
}

/* Mockup du hero : flottement vertical très léger */
@keyframes lp-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .lp-hero .lp-phone {
    animation: lp-float 6s ease-in-out infinite;
  }
}

/* Flèche des CTA : glisse légèrement au survol */
.lp-cta-arrow {
  margin-left: 4px;
  transition: transform 0.2s ease-out;
}

.btn:hover .lp-cta-arrow {
  transform: translateX(3px);
}

/* Révélation au scroll : uniquement si le JS est actif et que
   l'utilisateur accepte les animations.
   Sans la classe lp-js (JS désactivé), les blocs restent visibles. */
@media (prefers-reduced-motion: no-preference) {
  html.lp-js .lp-reveal {
    opacity: 0;
    transform: translateY(16px);
    transition:
      opacity 0.5s ease-out,
      transform 0.5s ease-out;
  }

  /* Cascade : dans une rangée, chaque carte suit la précédente
     avec un léger décalage au lieu d'apparaître d'un seul bloc */
  html.lp-js .lp-reveal:nth-child(2) {
    transition-delay: 0.09s;
  }

  html.lp-js .lp-reveal:nth-child(3) {
    transition-delay: 0.18s;
  }

  html.lp-js .lp-reveal:nth-child(4) {
    transition-delay: 0.27s;
  }

  html.lp-js .lp-reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

/* Respect de la préférence de réduction des animations */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .lp-animated {
    animation: none;
  }

  .lp-benefit,
  .lp-review,
  .lp-step .lp-phone,
  .lp-cta-arrow {
    transition: none;
  }
}
