/* Guide PDF — Luxury Organic (page-scoped, ne pas fusionner dans le bundle) */
.guide-page {
  --g-bg: #faf7f2;
  --g-ink: #1e1e1e;
  --g-muted: #6b6560;
  --g-line: rgba(30, 30, 30, 0.12);
  --g-gold: #b8966a;
  --g-terracotta: #a65a3a;
  --g-sage: #eef3ee;
  --g-sage-ink: #3d5240;
  --g-surface: #fff;
  --g-serif: "Newsreader", Georgia, "Times New Roman", serif;
  --g-sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --g-measure: 70ch;
  --g-radius: 4px;
  background: var(--g-bg);
  color: var(--g-ink);
  font-family: var(--g-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.guide-page h1,
.guide-page h2,
.guide-page h3,
.guide-page .guide-serif {
  font-family: var(--g-serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.guide-page a {
  color: var(--g-terracotta);
}

.guide-page a:hover {
  color: var(--g-gold);
}

.guide-shell {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.guide-layout {
  display: grid;
  gap: 2.5rem;
  padding: 1.5rem 0 5rem;
}

@media (min-width: 1024px) {
  .guide-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 3rem;
    padding-top: 2rem;
    align-items: start;
  }
}

/* Breadcrumb */
.guide-breadcrumb {
  font-size: 0.8125rem;
  color: var(--g-muted);
  padding: 1rem 0 0;
}
.guide-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.guide-breadcrumb li:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--g-line);
}
.guide-breadcrumb a {
  color: var(--g-muted);
  text-decoration: none;
}
.guide-breadcrumb a:hover {
  color: var(--g-terracotta);
}
.guide-breadcrumb [aria-current="page"] {
  color: var(--g-ink);
}

/* Hero */
.guide-hero {
  padding: 1.25rem 0 2rem;
  border-bottom: 1px solid var(--g-line);
}
.guide-hero__eyebrow {
  display: inline-block;
  font-family: var(--g-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--g-gold);
  margin: 0 0 0.75rem;
}
.guide-hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  margin: 0 0 0.85rem;
  max-width: 18ch;
}
.guide-hero__chapo {
  font-size: 1.0625rem;
  color: var(--g-muted);
  max-width: var(--g-measure);
  margin: 0 0 1rem;
}
.guide-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-size: 0.8125rem;
  color: var(--g-muted);
  margin: 0 0 1.5rem;
}
.guide-hero__figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--g-radius);
  background: #e8e2d8;
  aspect-ratio: 3 / 2;
}
.guide-hero__figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.guide-hero__offer {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.65rem 1rem;
  margin: 1.35rem 0 1rem;
}
.guide-hero__price-old {
  text-decoration: line-through;
  color: var(--g-muted);
  font-size: 1rem;
}
.guide-hero__price-new {
  font-family: var(--g-serif);
  font-size: 1.75rem;
  color: var(--g-ink);
}
.guide-hero__urgency {
  font-size: 0.8125rem;
  color: var(--g-terracotta);
  font-weight: 500;
}
.guide-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--g-muted);
  margin-bottom: 0.75rem;
}
.guide-hero__badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--g-gold);
}

.guide-reassurance {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: var(--g-muted);
}

/* Buttons */
.guide-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.7rem 1.25rem;
  font-family: var(--g-sans);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none !important;
  border-radius: var(--g-radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.guide-btn--primary {
  background: var(--g-gold);
  color: #fff !important;
  border-color: var(--g-gold);
}
.guide-btn--primary:hover {
  background: #a6835a;
  border-color: #a6835a;
  color: #fff !important;
}
.guide-btn--ghost {
  background: transparent;
  color: var(--g-ink) !important;
  border-color: var(--g-line);
}
.guide-btn--ghost:hover {
  border-color: var(--g-gold);
  color: var(--g-ink) !important;
}
.guide-btn--wa {
  background: #fff;
  color: var(--g-ink) !important;
  border-color: rgba(37, 211, 102, 0.45);
}
.guide-btn--wa:hover {
  border-color: #25d366;
}
.guide-btn__wa {
  color: #25d366;
  flex-shrink: 0;
}
.guide-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

/* TOC */
.guide-toc {
  border: 1px solid var(--g-line);
  background: var(--g-surface);
  border-radius: var(--g-radius);
  padding: 0;
}
.guide-toc__summary {
  list-style: none;
  cursor: pointer;
  padding: 0.9rem 1.1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--g-muted);
}
.guide-toc__summary::-webkit-details-marker {
  display: none;
}
.guide-toc__summary::after {
  content: "+";
  float: right;
  color: var(--g-gold);
  font-weight: 400;
}
.guide-toc[open] > .guide-toc__summary::after {
  content: "−";
}
.guide-toc nav {
  padding: 0 1.1rem 1.1rem;
}
.guide-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.guide-toc a {
  display: block;
  padding: 0.35rem 0;
  font-size: 0.875rem;
  color: var(--g-ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.guide-toc a:hover,
.guide-toc a.is-active {
  color: var(--g-terracotta);
  border-bottom-color: rgba(184, 150, 106, 0.35);
}

@media (min-width: 1024px) {
  .guide-toc {
    position: sticky;
    top: 5.5rem;
  }
  .guide-toc__summary {
    pointer-events: none;
    cursor: default;
  }
  .guide-toc__summary::after {
    display: none;
  }
  .guide-toc:not([open]) {
    /* force open on desktop via JS; CSS fallback keeps content visible if open attr set */
  }
}

/* Article body */
.guide-main {
  min-width: 0;
}
.guide-section {
  padding: 2.25rem 0;
  border-top: 1px solid var(--g-line);
}
.guide-section:first-of-type {
  border-top: 0;
  padding-top: 0.5rem;
}
.guide-section h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  margin: 0 0 1.25rem;
  max-width: 22ch;
}
.guide-section h3 {
  font-size: 1.125rem;
  margin: 0 0 0.4rem;
}
.guide-section p {
  max-width: var(--g-measure);
  margin: 0 0 1rem;
  color: var(--g-ink);
}

/* Risk / profile grids — filets, pas de cards ombrées */
.guide-grid-3 {
  display: grid;
  gap: 1rem;
}
@media (min-width: 768px) {
  .guide-grid-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}
.guide-panel {
  border: 1px solid var(--g-line);
  border-radius: var(--g-radius);
  padding: 1.15rem 1.2rem;
  background: var(--g-surface);
}
.guide-panel--risk {
  border-left: 2px solid var(--g-terracotta);
}
.guide-panel p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--g-muted);
}
.guide-panel h3 {
  font-family: var(--g-serif);
}

.guide-num {
  font-family: var(--g-serif);
  font-size: 1.5rem;
  color: var(--g-gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

/* Check lists */
.guide-lists {
  display: grid;
  gap: 0.75rem 2rem;
}
@media (min-width: 768px) {
  .guide-lists {
    grid-template-columns: 1fr 1fr;
  }
}
.guide-lists ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.guide-lists li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.4rem;
  font-size: 0.9375rem;
  border-bottom: 1px solid rgba(30, 30, 30, 0.06);
}
.guide-lists li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 0.55rem;
  height: 0.55rem;
  border: 1.5px solid var(--g-gold);
  border-radius: 50%;
}

.guide-preview-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--g-muted);
  margin: 1.75rem 0 0.85rem;
}
.guide-preview {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(3, minmax(140px, 1fr));
  overflow-x: auto;
  padding-bottom: 0.35rem;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
}
.guide-preview::-webkit-scrollbar {
  height: 4px;
}
.guide-preview::-webkit-scrollbar-thumb {
  background: rgba(184, 150, 106, 0.45);
  border-radius: 2px;
}
.guide-preview figure {
  margin: 0;
  scroll-snap-align: start;
  border: 1px solid var(--g-line);
  border-radius: var(--g-radius);
  overflow: hidden;
  background: #efeae2;
}
.guide-preview img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

/* Conseil DARNÉO */
.guide-tip {
  margin: 1.5rem 0;
  padding: 1.1rem 1.2rem;
  background: var(--g-sage);
  border-left: 2px solid var(--g-gold);
  border-radius: 0 var(--g-radius) var(--g-radius) 0;
  max-width: var(--g-measure);
}
.guide-tip__label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--g-sage-ink);
  margin: 0 0 0.4rem;
}
.guide-tip p {
  margin: 0;
  color: var(--g-sage-ink);
  font-size: 0.9375rem;
}

/* Testimonials */
.guide-quote {
  margin: 0;
  font-family: var(--g-serif);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--g-ink);
}
.guide-quote-meta {
  margin-top: 0.85rem;
  font-size: 0.8125rem;
  color: var(--g-muted);
}
.guide-stars {
  letter-spacing: 0.08em;
  color: var(--g-gold);
  font-size: 0.75rem;
  margin-bottom: 0.35rem;
}

/* CTA band */
.guide-cta-band {
  margin: 0.5rem 0;
  padding: 1.5rem 1.35rem;
  border: 1px solid var(--g-line);
  background: var(--g-surface);
  border-radius: var(--g-radius);
  text-align: center;
}
.guide-cta-band h2 {
  font-size: 1.35rem;
  margin: 0 0 1rem;
  max-width: none;
}
.guide-cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}
.guide-cta-band__trust {
  margin: 1rem 0 0;
  font-size: 0.75rem;
  color: var(--g-muted);
}

/* FAQ details */
.guide-faq details {
  border-bottom: 1px solid var(--g-line);
}
.guide-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.5rem 1rem 0;
  font-family: var(--g-sans);
  font-weight: 600;
  font-size: 0.9375rem;
  position: relative;
}
.guide-faq summary::-webkit-details-marker {
  display: none;
}
.guide-faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 1rem;
  color: var(--g-gold);
  font-weight: 400;
  font-size: 1.15rem;
}
.guide-faq details[open] > summary::after {
  content: "−";
}
.guide-faq details p {
  margin: 0 0 1rem;
  padding-right: 1.5rem;
  color: var(--g-muted);
  font-size: 0.9375rem;
}

/* Final CTA */
.guide-final {
  margin-top: 1rem;
  padding: 2rem 1.35rem;
  border-top: 1px solid var(--g-line);
  text-align: center;
}
.guide-final h2 {
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}
.guide-final__sub {
  color: var(--g-muted);
  margin: 0.5rem auto 1rem;
}
.guide-final__price {
  margin: 0 0 1.15rem;
}
.guide-final__price del {
  color: var(--g-muted);
  margin-right: 0.5rem;
}
.guide-final__price strong {
  font-family: var(--g-serif);
  font-size: 1.5rem;
  font-weight: 600;
}

/* Maillage */
.guide-links {
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--g-line);
}
.guide-links h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.guide-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}
@media (min-width: 640px) {
  .guide-links ul {
    grid-template-columns: 1fr 1fr;
  }
}
.guide-links a {
  display: block;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(30, 30, 30, 0.08);
  text-decoration: none;
  color: var(--g-ink);
  font-size: 0.9375rem;
}
.guide-links a:hover {
  color: var(--g-terracotta);
}

/* Sticky bar */
.guide-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
  background: rgba(250, 247, 242, 0.96);
  border-top: 1px solid var(--g-line);
  backdrop-filter: blur(8px);
}
@media (min-width: 768px) {
  .guide-sticky {
    display: none;
  }
}
.guide-sticky__txt {
  font-size: 0.8125rem;
  color: var(--g-muted);
}
.guide-sticky__txt strong {
  color: var(--g-ink);
}
.guide-page {
  padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 768px) {
  .guide-page {
    padding-bottom: 0;
  }
}

/* Modal */
.guide-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(30, 30, 30, 0.45);
}
.guide-modal.is-open {
  display: flex;
}
.guide-modal__box {
  width: min(420px, 100%);
  background: var(--g-bg);
  border: 1px solid var(--g-line);
  border-radius: var(--g-radius);
  padding: 1.5rem 1.35rem;
  position: relative;
}
.guide-modal__close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--g-muted);
}
.guide-modal h3 {
  margin: 0 0 1rem;
  font-size: 1.25rem;
}
.guide-modal .form-group {
  margin-bottom: 0.85rem;
}
.guide-modal label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--g-muted);
  margin-bottom: 0.35rem;
}
.guide-modal input {
  width: 100%;
  min-height: 44px;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--g-line);
  border-radius: var(--g-radius);
  background: #fff;
  font-family: var(--g-sans);
  font-size: 1rem;
}
.guide-modal__note {
  margin: 0.85rem 0 0;
  font-size: 0.75rem;
  color: var(--g-muted);
}

@media (prefers-reduced-motion: reduce) {
  .guide-btn {
    transition: none;
  }
}
