:root {
  --paper: #efe4d2;
  --card: #fffaf3;
  --ink: #1b1612;
  --muted: #5a5046;
  --line: #d5c7b2;
  --pine: #1b3930;
  --pine-dark: #132922;
  --pine-soft: #eaf1ec;
  --cedar: #b88a58;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Outfit", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--pine); }

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

/* Header minimal */
.pl-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(239, 228, 210, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.pl-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 70px;
  padding: 10px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}
.mark {
  width: 36px;
  height: 34px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
}
.brand-name strong {
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 680;
  letter-spacing: -0.03em;
}
.brand-name small {
  color: var(--muted);
  font-size: 0.68rem;
  white-space: nowrap;
}

/* Boutons */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 6px;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--pine);
  border: 1.5px solid var(--pine);
  color: #f6f1e7;
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--pine-dark);
  border-color: var(--pine-dark);
  color: #f6f1e7;
}
.btn-primary:disabled {
  opacity: 0.65;
  cursor: wait;
}
.btn-secondary {
  background: var(--card);
  border: 1.5px solid var(--pine);
  color: var(--pine);
}
.btn-secondary:hover, .btn-secondary:focus-visible {
  background: var(--pine);
  color: #f6f1e7;
}
.btn-header {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 0.94rem;
}
:focus-visible {
  outline: 2px solid var(--pine);
  outline-offset: 2px;
}

/* Sections */
.pl-section {
  padding: 52px 0;
}
.pl-section-tight {
  padding: 36px 0;
}
.kicker {
  margin: 0 0 10px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8c5a2b;
}

/* Hero */
.pl-hero {
  padding: 48px 0 44px;
  border-bottom: 1px solid var(--line);
  overflow-x: hidden;
  overflow-y: visible;
}
.pl-hero-inner {
  max-width: 780px;
}
.pl-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 28px 36px;
  align-items: center;
}
.pl-hero-copy {
  min-width: 0;
  max-width: 34rem;
}
.pl-hero-visual {
  min-width: 0;
  position: relative;
}
.pl-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--pine-soft);
  border: 1px solid #c6d8cc;
  color: var(--pine);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 18px;
}
.pl-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pine);
}
.pl-hero h1 {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.8vw, 3.05rem);
  font-weight: 680;
  line-height: 1.08;
  letter-spacing: -0.025em;
}
.pl-subtitle {
  margin: 0 0 28px;
  font-size: clamp(1.04rem, 1.7vw, 1.18rem);
  color: var(--muted);
  max-width: 36rem;
}
.pl-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* Hero product mockup — real AutoPlani screenshots only
   data-hero-variant:
     a  = laptop+tablet (ancienne)
     c1 = laptop corrigé + dashboard + phone
     c2 = laptop corrigé + Calendrier|Budget + phone
     c3 = C2 raffiné : panes séparées, crop utile, phone décalé */
.hero-stage {
  position: relative;
  width: 100%;
  min-height: 320px;
  isolation: isolate;
}
.hero-laptop {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 640px;
  margin-left: auto;
  transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
  transform-origin: 70% 60%;
}
.hero-laptop-lid {
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, #2a3430 0%, #1c2421 100%);
  border-radius: 14px 14px 8px 8px;
  padding: 10px 10px 8px;
  box-shadow:
    0 10px 28px rgba(27, 22, 18, 0.12),
    0 2px 8px rgba(27, 22, 18, 0.06);
}
.hero-laptop-bezel {
  position: relative;
  background: #101513;
  border-radius: 8px;
  padding: 10px 10px 12px;
}
.hero-laptop-camera {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3a4541;
  margin: 0 auto 8px;
}
.hero-laptop-screen {
  border-radius: 4px;
  overflow: hidden;
  background: #efe4d2;
  aspect-ratio: 1096 / 624;
}
.hero-laptop-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}
.hero-laptop-screen--split {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0;
  background: #0f1412;
}
.hero-split-pane {
  position: relative;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  background: #efe4d2;
}
.hero-split-pane--cal {
  border-right: 1px solid rgba(27, 22, 18, 0.1);
}
.hero-split-pane img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-split-pane--cal img {
  object-position: 42% 58%;
  transform: scale(1.12);
  transform-origin: center center;
}
.hero-split-pane--bud img {
  object-position: 50% 8%;
  transform: scale(1.05);
  transform-origin: top center;
}

/* C3 — deux fenêtres clairement séparées + contenu utile agrandi */
.hero-stage[data-hero-variant="c3"] .hero-laptop-screen--split {
  gap: 5px;
  padding: 4px;
  background: linear-gradient(180deg, #1a211e 0%, #121816 100%);
}
.hero-stage[data-hero-variant="c3"] .hero-split-pane {
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    inset 0 0 0 1px rgba(27, 22, 18, 0.06),
    inset 0 8px 16px rgba(27, 22, 18, 0.04);
}
.hero-stage[data-hero-variant="c3"] .hero-split-pane--cal {
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}
.hero-stage[data-hero-variant="c3"] .hero-split-pane--cal img {
  /* grille + jours + blocs chantier */
  object-position: 48% 72%;
  transform: scale(1.42);
  transform-origin: center 62%;
}
.hero-stage[data-hero-variant="c3"] .hero-split-pane--bud img {
  /* cartes prévu/réel + graphique de répartition */
  object-position: 50% 6%;
  transform: scale(1.38);
  transform-origin: top center;
}

/* Base — variante A (actuelle, mince) */
.hero-laptop-base {
  position: relative;
  margin: 0 -2.2% 0;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(180deg, #d7d2c8 0%, #b8b2a6 55%, #a39d91 100%);
  box-shadow: 0 10px 18px rgba(27, 22, 18, 0.12);
  overflow: hidden;
}
.hero-stage[data-hero-variant="a"] .hero-laptop-base {
  height: 12px;
}
.hero-stage[data-hero-variant="a"] .hero-laptop-hinge,
.hero-stage[data-hero-variant="a"] .hero-laptop-deck,
.hero-stage[data-hero-variant="a"] .hero-laptop-front-edge {
  display: none;
}
.hero-stage[data-hero-variant="a"] .hero-laptop-base::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 2px;
  transform: translateX(-50%);
  width: 18%;
  height: 5px;
  border-radius: 0 0 6px 6px;
  background: #8f897e;
}
.hero-stage[data-hero-variant="a"] .hero-laptop-screen--split { display: none; }
.hero-stage[data-hero-variant="a"] .hero-laptop-screen--single { display: block; }

/* C1 / C2 / C3 — laptop corrigé (base ≈ largeur écran, profondeur vers l’avant) */
.hero-stage[data-hero-variant="c1"],
.hero-stage[data-hero-variant="c2"],
.hero-stage[data-hero-variant="c3"] {
  min-height: 400px;
  padding: 10px 10px 36px 4px;
  box-sizing: border-box;
}
.hero-stage[data-hero-variant="c1"] .hero-laptop,
.hero-stage[data-hero-variant="c2"] .hero-laptop,
.hero-stage[data-hero-variant="c3"] .hero-laptop {
  max-width: 500px;
  margin-left: 0;
  margin-right: 16%;
  transform: perspective(1700px) rotateY(-7deg) rotateX(3.5deg);
  transform-origin: 48% 58%;
  filter: drop-shadow(0 18px 22px rgba(27, 22, 18, 0.14))
          drop-shadow(0 4px 8px rgba(27, 22, 18, 0.08));
}
.hero-stage[data-hero-variant="c1"] .hero-laptop-lid,
.hero-stage[data-hero-variant="c2"] .hero-laptop-lid,
.hero-stage[data-hero-variant="c3"] .hero-laptop-lid {
  border-radius: 11px 11px 3px 3px;
  padding: 6px 6px 4px;
  box-shadow:
    0 8px 18px rgba(27, 22, 18, 0.1),
    0 1px 3px rgba(27, 22, 18, 0.06);
}
.hero-stage[data-hero-variant="c1"] .hero-laptop-bezel,
.hero-stage[data-hero-variant="c2"] .hero-laptop-bezel,
.hero-stage[data-hero-variant="c3"] .hero-laptop-bezel {
  border-radius: 5px;
  padding: 5px 5px 7px;
}
.hero-stage[data-hero-variant="c1"] .hero-laptop-camera,
.hero-stage[data-hero-variant="c2"] .hero-laptop-camera,
.hero-stage[data-hero-variant="c3"] .hero-laptop-camera {
  width: 4px;
  height: 4px;
  margin: 0 auto 4px;
}
.hero-stage[data-hero-variant="c1"] .hero-laptop-base,
.hero-stage[data-hero-variant="c2"] .hero-laptop-base,
.hero-stage[data-hero-variant="c3"] .hero-laptop-base {
  height: auto;
  /* largeur ≈ écran : très léger débordement seulement */
  margin: 0 0.4% 0;
  padding: 0;
  border-radius: 0 0 10px 10px;
  overflow: visible;
  background: linear-gradient(180deg, #c8c2b6 0%, #b4ad9f 45%, #9c9588 100%);
  box-shadow:
    0 14px 26px rgba(27, 22, 18, 0.16),
    0 5px 10px rgba(27, 22, 18, 0.08),
    0 1px 2px rgba(27, 22, 18, 0.05);
  transform: perspective(1000px) rotateX(14deg);
  transform-origin: center top;
}
.hero-laptop-hinge {
  height: 6px;
  margin: 0 -0.2%;
  background:
    linear-gradient(180deg, #7a7468 0%, #a9a295 40%, #8f897d 100%);
  border-bottom: 1px solid rgba(60, 54, 46, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.hero-laptop-deck {
  padding: 8px 7% 9px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 45%),
    linear-gradient(180deg, #d4cec2 0%, #c0b9ac 100%);
}
.hero-laptop-keyboard {
  height: 30px;
  border-radius: 3px;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(70, 62, 52, 0.14) 0 1px,
      transparent 1px 7px
    ),
    linear-gradient(180deg, #aea79b 0%, #968f83 100%);
  box-shadow:
    inset 0 0 0 1px rgba(60, 54, 46, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  opacity: 0.92;
}
.hero-laptop-trackpad {
  width: 24%;
  height: 16px;
  margin: 7px auto 0;
  border-radius: 5px;
  background: linear-gradient(180deg, #bbb4a8 0%, #a49d91 100%);
  box-shadow:
    inset 0 0 0 1px rgba(60, 54, 46, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.hero-laptop-front-edge {
  height: 5px;
  background: linear-gradient(180deg, #958e82 0%, #7a7468 100%);
  border-radius: 0 0 9px 9px;
  box-shadow: 0 10px 16px rgba(27, 22, 18, 0.12);
}

/* C1 = dashboard seul ; C2/C3 = Calendrier | Budget */
.hero-stage[data-hero-variant="c1"] .hero-laptop-screen--single { display: block; }
.hero-stage[data-hero-variant="c1"] .hero-laptop-screen--split { display: none; }
.hero-stage[data-hero-variant="c2"] .hero-laptop-screen--single,
.hero-stage[data-hero-variant="c3"] .hero-laptop-screen--single { display: none; }
.hero-stage[data-hero-variant="c2"] .hero-laptop-screen--split,
.hero-stage[data-hero-variant="c3"] .hero-laptop-screen--split {
  display: grid;
}

.hero-tablet {
  position: absolute;
  z-index: 1;
  left: -2%;
  bottom: 8%;
  width: min(42%, 250px);
  transform: perspective(1200px) rotateY(8deg) rotateX(3deg) rotate(-4deg);
  transform-origin: center bottom;
}
.hero-tablet-bezel {
  background: linear-gradient(160deg, #2e3733 0%, #1a211e 100%);
  border-radius: 18px;
  padding: 10px;
  box-shadow:
    0 14px 28px rgba(27, 22, 18, 0.16),
    0 2px 8px rgba(27, 22, 18, 0.08);
}
.hero-tablet-screen {
  border-radius: 8px;
  overflow: hidden;
  background: #efe4d2;
  aspect-ratio: 1096 / 624;
}
.hero-tablet-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.hero-phone {
  display: none;
  position: absolute;
  z-index: 3;
  left: auto;
  right: 8%;
  bottom: 4%;
  width: min(22%, 118px);
  transform: perspective(900px) rotateY(-10deg) rotateX(4deg) rotate(3deg);
  transform-origin: center bottom;
  filter: drop-shadow(6px 12px 14px rgba(27, 22, 18, 0.16))
          drop-shadow(1px 3px 5px rgba(27, 22, 18, 0.08));
}
.hero-phone-bezel {
  position: relative;
  background: linear-gradient(160deg, #2a322e 0%, #121816 100%);
  border-radius: 18px;
  padding: 7px 6px 8px;
  box-shadow:
    0 8px 16px rgba(27, 22, 18, 0.12),
    0 2px 5px rgba(27, 22, 18, 0.08);
}
.hero-phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 28%;
  height: 5px;
  border-radius: 999px;
  background: #0b100e;
  z-index: 1;
}
.hero-phone-screen {
  border-radius: 12px;
  overflow: hidden;
  background: #efe4d2;
  aspect-ratio: 390 / 844;
}
.hero-phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Variante visibility */
.hero-stage[data-hero-variant="a"] .hero-phone { display: none; }
.hero-stage[data-hero-variant="a"] .hero-tablet { display: block; }

.hero-stage[data-hero-variant="c1"] .hero-tablet,
.hero-stage[data-hero-variant="c2"] .hero-tablet,
.hero-stage[data-hero-variant="c3"] .hero-tablet { display: none; }
.hero-stage[data-hero-variant="c1"] .hero-phone,
.hero-stage[data-hero-variant="c2"] .hero-phone {
  display: block;
  right: auto;
  left: 54%;
  bottom: -2%;
  width: min(26%, 128px);
}
/* C3 — cellulaire décalé à droite, chevauchement ≤ ~20 % */
.hero-stage[data-hero-variant="c3"] .hero-laptop {
  margin-right: 22%;
  max-width: 490px;
}
.hero-stage[data-hero-variant="c3"] .hero-phone {
  display: block;
  right: auto;
  left: 78%;
  bottom: -6%;
  width: min(24%, 120px);
  transform: perspective(900px) rotateY(-8deg) rotateX(3deg) rotate(2deg);
  filter: drop-shadow(7px 14px 16px rgba(27, 22, 18, 0.15))
          drop-shadow(2px 4px 6px rgba(27, 22, 18, 0.08));
}

@media (max-width: 1100px) {
  .pl-hero-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 24px 28px;
  }
  .hero-laptop { max-width: 560px; }
  .hero-stage[data-hero-variant="c1"] .hero-laptop,
  .hero-stage[data-hero-variant="c2"] .hero-laptop,
  .hero-stage[data-hero-variant="c3"] .hero-laptop { max-width: 470px; }
  .hero-stage[data-hero-variant="c3"] .hero-phone { left: 76%; }
  .hero-tablet { width: min(40%, 210px); left: -4%; }
}

@media (max-width: 960px) {
  .pl-hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .pl-hero-copy {
    max-width: 40rem;
  }
  .hero-stage {
    min-height: 0;
    max-width: 620px;
    margin: 0 auto;
  }
  .hero-laptop {
    max-width: none;
    margin: 0;
    transform: perspective(1200px) rotateY(-3deg) rotateX(1.5deg);
  }
  .hero-stage[data-hero-variant="c1"] .hero-laptop,
  .hero-stage[data-hero-variant="c2"] .hero-laptop,
  .hero-stage[data-hero-variant="c3"] .hero-laptop {
    margin-right: 10%;
    transform: perspective(1200px) rotateY(-5deg) rotateX(3deg);
  }
  .hero-stage[data-hero-variant="c3"] .hero-laptop { margin-right: 18%; }
  .hero-stage[data-hero-variant="c3"] .hero-phone { left: 74%; }
  .hero-tablet {
    left: -1%;
    bottom: 10%;
    width: min(38%, 220px);
  }
}

@media (max-width: 640px) {
  .hero-tablet,
  .hero-phone { display: none !important; }
  .hero-laptop {
    transform: none !important;
    margin: 0 !important;
    filter: none !important;
  }
  .hero-laptop-lid {
    border-radius: 12px 12px 6px 6px;
    padding: 8px 8px 6px;
  }
  .hero-laptop-bezel { padding: 8px 8px 10px; }
  .hero-stage[data-hero-variant="a"] .hero-laptop-base {
    height: 10px;
    margin: 0 -1.5% 0;
  }
  .hero-stage[data-hero-variant="c1"] .hero-laptop-base,
  .hero-stage[data-hero-variant="c2"] .hero-laptop-base,
  .hero-stage[data-hero-variant="c3"] .hero-laptop-base {
    transform: none;
    margin: 0;
  }
  .hero-laptop-keyboard { height: 22px; }
  .hero-laptop-trackpad { height: 12px; margin-top: 5px; }
  /* Sur mobile, C2/C3 affichent le dashboard seul pour rester lisible */
  .hero-stage[data-hero-variant="c2"] .hero-laptop-screen--single,
  .hero-stage[data-hero-variant="c3"] .hero-laptop-screen--single { display: block; }
  .hero-stage[data-hero-variant="c2"] .hero-laptop-screen--split,
  .hero-stage[data-hero-variant="c3"] .hero-laptop-screen--split { display: none; }
}

/* Bloc proposition de valeur */
.value-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 32px 36px;
}
.value-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.value-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--pine-soft);
  border: 1px solid #cddcd2;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.value-card h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.6vw, 1.95rem);
  font-weight: 680;
  line-height: 1.2;
}
.value-text {
  margin: 0 0 18px;
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 720px;
}
.value-highlight {
  margin: 0;
  padding: 16px 20px;
  background: var(--pine-soft);
  border-left: 4px solid var(--pine);
  border-radius: 0 6px 6px 0;
  color: var(--pine);
  font-size: 1.05rem;
  font-weight: 600;
}

/* Aperçus produit */
.section-head {
  margin-bottom: 24px;
}
.section-head h2 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.8vw, 2.05rem);
  font-weight: 680;
  line-height: 1.18;
}
.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 680px;
}
.demo-notice {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.86rem;
  color: var(--muted);
  background: #f5ecdc;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 4px 10px;
}
.shots-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.shot-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.shot-card.shot-wide {
  grid-column: 1 / -1;
}
.shot-btn {
  padding: 0;
  border: 0;
  background: #f4ecdf;
  cursor: zoom-in;
  position: relative;
  display: block;
  width: 100%;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.shot-btn img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
}
.shot-wide .shot-btn img {
  aspect-ratio: 16 / 8.2;
}
.shot-zoom-hint {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: rgba(27, 57, 48, 0.88);
  color: #f6f1e7;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 4px;
}
.shot-meta {
  padding: 16px 18px 18px;
}
.shot-meta h3 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 680;
}
.shot-meta p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--muted);
}

/* Bandeau prix prévu */
.price-preview {
  background: var(--pine);
  color: #f6f1e7;
  border-radius: 10px;
  padding: 32px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.price-preview .kicker {
  color: #d7c3a5;
}
.price-amount {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 680;
  line-height: 1.1;
}
.price-note {
  margin: 0;
  font-size: 0.92rem;
  color: #d7e2db;
}
.price-preview .btn-secondary {
  background: #f6f1e7;
  border-color: #f6f1e7;
  color: var(--pine);
}
.price-preview .btn-secondary:hover {
  background: #fffaf3;
  color: var(--pine-dark);
}

/* Formulaire liste d'attente */
.waitlist-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 36px;
  max-width: 720px;
  margin: 0 auto;
}
.waitlist-card h2 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 680;
}
.waitlist-intro {
  margin: 0 0 24px;
  color: var(--muted);
}
.field {
  margin-bottom: 18px;
}
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.96rem;
  margin-bottom: 6px;
}
.req {
  color: #9b2c2c;
}
.opt {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.88rem;
}
.field input[type="text"],
.field input[type="email"],
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1.5px solid #c6b79f;
  border-radius: 6px;
  background: #ffffff;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
}
.field textarea {
  min-height: 96px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--pine);
  outline: none;
  box-shadow: 0 0 0 3px rgba(27, 57, 48, 0.14);
}
.char-hint {
  display: block;
  margin-top: 4px;
  font-size: 0.82rem;
  color: var(--muted);
}

/* Honeypot strictement hors-écran */
.hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Cases à cocher distinctes */
.consent-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f9f3e8;
  margin-bottom: 14px;
  cursor: pointer;
}
.consent-box.consent-beta {
  background: #fffdf9;
}
.consent-box input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--pine);
  flex-shrink: 0;
  cursor: pointer;
}
.consent-box span {
  font-size: 0.94rem;
  line-height: 1.45;
}
.consent-tag {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--pine);
  margin-bottom: 2px;
}

.form-error {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 6px;
  background: #fdf0ef;
  border: 1px solid #d98880;
  color: #7b241c;
  font-size: 0.94rem;
  font-weight: 500;
}
.form-submit-row {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.form-submit-row .btn-primary {
  width: 100%;
  min-height: 48px;
  font-size: 1.04rem;
}
.privacy-note {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  text-align: center;
}
.privacy-note a {
  font-weight: 600;
}

/* Confirmation */
.confirm-panel {
  padding: 26px 24px;
  border-radius: 8px;
  background: var(--pine-soft);
  border: 1.5px solid #9dbba8;
}
.confirm-panel h3 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 1.45rem;
  color: var(--pine);
}
.confirm-panel p {
  margin: 0;
  font-size: 1rem;
  color: var(--ink);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(20, 17, 14, 0.84);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lightbox[hidden] {
  display: none;
}
.lightbox-inner {
  background: var(--card);
  border-radius: 10px;
  max-width: 1080px;
  width: 100%;
  max-height: 92vh;
  overflow: auto;
  padding: 16px;
}
.lightbox-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.lightbox-top strong {
  font-family: var(--serif);
  font-size: 1.15rem;
}
.lightbox-close {
  min-height: 40px;
  padding: 6px 14px;
  border-radius: 5px;
  border: 1.5px solid var(--pine);
  background: var(--card);
  color: var(--pine);
  font-weight: 600;
  cursor: pointer;
}
.lightbox-inner img {
  width: 100%;
  border-radius: 6px;
  border: 1px solid var(--line);
}
.lightbox-caption {
  margin: 10px 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

/* Footer */
.pl-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 28px;
  font-size: 0.9rem;
  color: var(--muted);
  background: transparent;
}
.pl-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 36px;
}
.pl-footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.pl-footer-col h3 {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 680;
  color: var(--ink);
}
.pl-footer-col a {
  color: var(--muted);
  text-decoration: none;
  line-height: 1.45;
  padding: 2px 0;
  width: fit-content;
  max-width: 100%;
}
.pl-footer-col a:hover {
  color: var(--pine);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pl-footer-bottom {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pl-footer-bottom p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
}
.pl-footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.pl-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.pl-header-contact {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
  white-space: nowrap;
  padding: 6px 4px;
}
.pl-header-contact:hover { color: var(--pine); }
.contact-hero {
  padding: 48px 0 18px;
}
.contact-hero h1 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.4vw, 2.55rem);
  font-weight: 680;
  color: var(--ink);
}
.contact-hero > p {
  margin: 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.05rem;
}
.contact-mail {
  display: inline-block;
  margin-top: 18px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--pine);
  text-decoration: none;
}
.contact-mail:hover { text-decoration: underline; text-underline-offset: 3px; }
.contact-blocks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 8px 0 8px;
}
.contact-block {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px 18px 16px;
}
.contact-block h2 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 680;
  color: var(--ink);
}
.contact-block p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.contact-form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px 26px;
  margin: 10px 0 36px;
}
.contact-form-card h2 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 680;
}
.contact-privacy-note {
  margin: 14px 0 0;
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 68ch;
}
.contact-privacy-note a {
  color: var(--pine);
  font-weight: 600;
}
.contact-soon-note {
  margin: 0 0 18px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(27, 57, 48, 0.04);
  color: var(--ink);
  font-size: 0.95rem;
  max-width: 68ch;
}
.contact-soon-note a {
  color: var(--pine);
  font-weight: 700;
}
#contact-form[data-contact-disabled="1"] input:disabled,
#contact-form[data-contact-disabled="1"] select:disabled,
#contact-form[data-contact-disabled="1"] textarea:disabled {
  opacity: 0.72;
  cursor: not-allowed;
  background: #f7f3ea;
}
#ct-submit:disabled {
  opacity: 0.78;
  cursor: not-allowed;
}
@media (max-width: 900px) {
  .pl-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 28px; }
  .contact-blocks { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .pl-footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .pl-footer-col a { padding: 6px 0; min-height: 44px; display: inline-flex; align-items: center; }
  .pl-header-contact { display: none; }
  .contact-form-card { padding: 22px 18px; }
}

/* Pages secondaires (confidentialité, désabonnement) */
.doc-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 36px;
  max-width: 820px;
  margin: 36px auto;
}
.doc-card h1 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  font-weight: 680;
}
.doc-card h2 {
  margin: 26px 0 8px;
  font-family: var(--serif);
  font-size: 1.25rem;
}
.draft-banner {
  padding: 14px 18px;
  border-radius: 6px;
  background: #fff3d6;
  border: 1.5px solid #c9972c;
  color: #5c4004;
  margin-bottom: 22px;
  font-size: 0.95rem;
}
.todo-tag {
  display: inline-block;
  background: #fff3d6;
  border: 1px solid #c9972c;
  color: #5c4004;
  font-weight: 700;
  font-size: 0.84rem;
  padding: 1px 6px;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .pl-section { padding: 36px 0; }
  .pl-hero { padding: 32px 0 28px; }
  .value-card, .price-preview, .waitlist-card, .doc-card { padding: 22px 18px; }
  .shots-grid { grid-template-columns: 1fr; }
  .shot-wide .shot-btn img { aspect-ratio: 16 / 10; }
  .pl-hero h1 { font-size: clamp(1.9rem, 7vw, 2.45rem); }
}

@media (max-width: 520px) {
  .brand-name small { display: none; }
  .btn-header { padding: 8px 12px; font-size: 0.88rem; }
  .pl-hero-actions .btn-primary,
  .pl-hero-actions .btn-secondary { width: 100%; }
  .hero-stage { max-width: none; }
}

/* ===== Navigation publique complète (Pré-lancement) ===== */
.pl-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.pl-nav-link {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
  padding: 6px 2px;
  white-space: nowrap;
}
.pl-nav-link:hover,
.pl-nav-link[aria-current="page"] {
  color: var(--pine);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.pl-dropdown {
  position: relative;
}
.pl-dropdown-btn {
  background: transparent;
  border: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.94rem;
  font-weight: 500;
  padding: 6px 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.pl-dropdown-btn:hover { color: var(--pine); }
.pl-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 245px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(27, 22, 18, 0.12);
  padding: 6px;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pl-dropdown-menu[hidden] { display: none; }
.pl-dropdown-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 11px;
  border-radius: 6px;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.9rem;
}
.pl-dropdown-menu a:hover {
  background: var(--pine-soft);
  color: var(--pine);
}
.pl-header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pl-lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--card);
  overflow: hidden;
}
.pl-lang-switch button {
  background: transparent;
  border: 0;
  padding: 6px 9px;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
}
.pl-lang-switch button.is-active {
  background: var(--pine);
  color: #f6f1e7;
}
.pl-menu-toggle {
  display: none;
  min-width: 42px;
  min-height: 40px;
  padding: 6px 10px;
  border-radius: 6px;
  border: 1.5px solid var(--pine);
  background: var(--card);
  color: var(--pine);
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}
.pl-mobile-nav {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  padding: 16px;
}
.pl-mobile-nav[hidden] { display: none; }
.pl-mobile-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pl-mobile-links a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  padding: 8px 6px;
  border-radius: 6px;
}
.pl-mobile-links a:hover { background: var(--pine-soft); }
.pl-mobile-group {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.pl-mobile-group-title {
  margin: 0 0 6px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* ===== Système visuel unifié : Disponible / Aperçu / En développement ===== */
.status-banner {
  border-radius: 8px;
  padding: 14px 18px;
  margin: 0 0 24px;
  border: 1px solid var(--line);
}
.status-banner-title {
  margin: 0 0 4px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.status-banner p {
  margin: 0;
  font-size: 0.94rem;
}
.status-banner--available {
  background: var(--pine-soft);
  border-color: #b7cec2;
  color: var(--pine-dark);
}
.status-banner--preview {
  background: #f5efe4;
  border-color: #d6be96;
  color: #4f3a18;
}
.status-banner--dev {
  background: #fff4dd;
  border-color: #d8a74a;
  color: #5b3e06;
}
.status-pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.status-pill--available { background: var(--pine-soft); color: var(--pine-dark); }
.status-pill--preview { background: #f2e6d0; color: #5c4217; }
.status-pill--dev { background: #fff0cc; color: #664505; }

/* ===== Grille Fonctionnalités & Synchronisation cloud ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
}
.feature-card h3 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 1.12rem;
  color: var(--ink);
}
.feature-card p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--muted);
}
.feature-beta-note {
  margin-top: 8px !important;
  font-size: 0.84rem !important;
  color: #6b4e16 !important;
  background: #faf3e4;
  border-left: 3px solid var(--cedar);
  padding: 6px 10px;
  border-radius: 0 4px 4px 0;
}

.cloud-card {
  background: var(--pine);
  color: #f6f1e7;
  border-radius: 10px;
  padding: 28px 30px;
  margin-top: 28px;
}
.cloud-card .kicker { color: #e2c598; }
.cloud-card h3 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  color: #fffaf3;
}
.cloud-card p {
  margin: 0 0 12px;
  max-width: 72ch;
  color: #e9e4da;
}
.cloud-beta-note {
  margin: 0 !important;
  padding-top: 10px;
  border-top: 1px solid rgba(246, 241, 231, 0.22);
  font-size: 0.88rem;
  color: #d9d2c5 !important;
}

/* ===== Ressources accessibles sur la landing & pages dédiées ===== */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.resource-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.resource-card:hover {
  border-color: var(--pine);
  transform: translateY(-1px);
}
.resource-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.resource-card h3 {
  margin: 8px 0 6px;
  font-family: var(--serif);
  font-size: 1.12rem;
}
.resource-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}
.resource-link-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--pine);
}

/* ===== Pages publiques autonomes (Plans, Prix, Guides, En développement) ===== */
.page-hero {
  padding: 40px 0 28px;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: clamp(1.85rem, 3.6vw, 2.6rem);
  line-height: 1.15;
}
.page-hero p {
  margin: 0;
  max-width: 72ch;
  color: var(--muted);
  font-size: 1.03rem;
}
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 18px;
  margin-top: 18px;
}
.plan-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}
.plan-card-meta {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0 0 6px;
}
.plan-card h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 1.25rem;
}
.plan-card p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--muted);
}

/* Prix des matériaux */
.prices-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0;
}
.prices-controls input,
.prices-controls select {
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--card);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.95rem;
}
.prices-controls input { flex: 1 1 220px; }
.prices-list {
  display: grid;
  gap: 12px;
}
.price-row {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 18px;
}
.price-row-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.price-row h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.1rem;
}
.price-spec {
  margin: 2px 0 0;
  font-size: 0.86rem;
  color: var(--muted);
}
.price-range {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--pine);
  white-space: nowrap;
}
.price-suppliers {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.supplier-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--paper);
  text-decoration: none;
  color: var(--ink);
  font-size: 0.84rem;
}
.supplier-chip:hover {
  border-color: var(--pine);
  background: var(--pine-soft);
  color: var(--pine-dark);
}
.info-callout {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--pine);
  border-radius: 8px;
  padding: 18px 20px;
  margin: 24px 0;
}
.info-callout h2 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 1.18rem;
}
.info-callout p, .info-callout li {
  font-size: 0.94rem;
  color: var(--muted);
}

/* Guides Trucs construction */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 16px;
  margin-top: 18px;
}
.guide-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
}
.guide-card h3 {
  margin: 8px 0 6px;
  font-family: var(--serif);
  font-size: 1.15rem;
}
.guide-card details {
  margin-top: 12px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.guide-card summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--pine);
  font-size: 0.92rem;
}
.guide-card ul {
  margin: 8px 0 12px 18px;
  padding: 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.guide-assembly {
  background: #faf3e4;
  border-left: 3px solid var(--cedar);
  padding: 10px 12px;
  font-size: 0.88rem;
  color: #4f3a18;
  margin: 10px 0;
  border-radius: 0 6px 6px 0;
}

@media (max-width: 980px) {
  .pl-nav { display: none; }
  .pl-menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
}
@media (max-width: 520px) {
  .pl-header-row { gap: 8px; }
  .pl-header-right .btn-header { display: none; }
  .cloud-card { padding: 20px 18px; }
}
@media (max-width: 390px) {
  .wrap { width: calc(100% - 24px); }
  .pl-lang-switch button { padding: 5px 7px; font-size: 0.76rem; }
}

/* Transition discrète des branches conditionnelles du formulaire waitlist */
.wl-branch {
  animation: wlFadeIn 0.18s ease;
}
.wl-branch[hidden] {
  display: none;
}
@keyframes wlFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Galerie produit & Modal agrandi (min(1500px, 96vw) / 92vh / Plein écran / Zoom mobile) ===== */
.shot-value {
  margin: 0 0 4px !important;
  font-weight: 600;
  color: var(--ink) !important;
}
.shot-tags {
  margin: 0 0 10px !important;
  font-size: 0.84rem !important;
  color: var(--muted) !important;
}
.shot-open-link {
  background: transparent;
  border: 0;
  padding: 0;
  color: var(--pine);
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}
.shot-open-link:hover { text-decoration: underline; }

.lightbox {
  padding: 12px;
}
.lightbox-inner {
  width: min(1500px, 96vw);
  max-width: none;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  padding: 14px 16px;
}
.lightbox-inner.is-fullscreen {
  width: 100vw;
  height: 100vh;
  max-height: 100vh;
  border-radius: 0;
  padding: 10px 14px;
}
.lightbox-top {
  flex-shrink: 0;
  align-items: flex-start;
  margin-bottom: 10px;
}
.lightbox-head-text {
  min-width: 0;
}
.lightbox-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.lightbox-caption {
  margin: 4px 0 0;
  font-size: 0.9rem;
}
.lightbox-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.lightbox-action-btn {
  min-height: 38px;
  padding: 6px 12px;
  border-radius: 5px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
}
.lightbox-action-btn[aria-pressed="true"] {
  background: var(--pine);
  border-color: var(--pine);
  color: #f6f1e7;
}
.lightbox-zoom-btn { display: none; }
.lightbox-stage {
  flex: 1 1 auto;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 6px;
}
.lightbox-stage img {
  width: 100%;
  height: auto;
  display: block;
}
.lightbox-stage.is-zoomed img {
  width: 760px;
  max-width: none;
}
@media (max-width: 768px) {
  .lightbox-zoom-btn { display: inline-flex; align-items: center; }
  .lightbox-top { flex-direction: column; gap: 8px; }
  .lightbox-actions { width: 100%; justify-content: flex-end; }
}
