/* Homepage-only editorial redesign. The catalogue and product pages keep style.css. */
.home-page {
  --home-ink: #17211b;
  --home-muted: #5f6b63;
  --home-paper: #f4f1e9;
  --home-cream: #fbfaf6;
  --home-green: #174f3a;
  --home-green-dark: #103829;
  --home-lime: #d9ef86;
  --home-line: rgba(23, 33, 27, .18);
  background: var(--home-cream);
  color: var(--home-ink);
  font-family: "Inter", sans-serif;
  line-height: 1.55;
}

.home-page h1,
.home-page h2 {
  color: var(--home-ink);
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.02;
}

.home-page h3,
.home-page h4 { color: var(--home-ink); font-family: "Inter", sans-serif; }
.home-page p { color: var(--home-muted); }
.home-page .container { max-width: 1180px; padding-inline: 28px; }
.home-page .skip-link { position: fixed; top: -100px; left: 20px; z-index: 2000; padding: 12px 18px; background: #fff; color: var(--home-ink); }
.home-page .skip-link:focus { top: 14px; }

/* Navigation */
.home-page .navbar { background: rgba(251, 250, 246, .94); border-bottom: 1px solid var(--home-line); backdrop-filter: blur(12px); }
.home-page .navbar.scrolled { background: rgba(251, 250, 246, .98); box-shadow: none; }
.home-page .nav-container { max-width: 1180px; height: 78px; padding-inline: 28px; }
.home-page .nav-logo { display: inline-flex; align-items: center; gap: 11px; color: var(--home-ink); }
.home-page .nav-logo::before { display: none; }
.brand-mark { display: block; width: 38px; height: 38px; border-radius: 10px; }
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { color: var(--home-ink); font-family: "Inter", system-ui, sans-serif; font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.brand-copy small { margin-top: 3px; color: var(--home-green); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.home-page .nav-links { gap: 27px; }
.home-page .nav-link { color: #48544c; font-size: 13px; font-weight: 600; }
.home-page .nav-link:hover { color: var(--home-green); }
.home-page .hamburger span { background: var(--home-ink); }
.home-page .btn { border-radius: 2px; box-shadow: none; font-family: "Inter", sans-serif; }
.home-page .btn-primary { background: var(--home-green); color: #fff; }
.home-page .btn-primary:hover { background: var(--home-green-dark); box-shadow: none; transform: translateY(-1px); }
.home-page .nav-cta { padding: 11px 16px; font-size: 13px; }

/* Hero */
.home-hero { padding: 155px 0 78px; background: var(--home-paper); border-bottom: 1px solid var(--home-line); }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(330px, .72fr); gap: 88px; align-items: end; }
.eyebrow { margin: 0 0 24px; color: var(--home-green) !important; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.hero-copy h1 { max-width: 760px; margin: 0 0 30px; font-size: clamp(56px, 8vw, 116px); }
.hero-copy h1 em { color: var(--home-green); font-style: italic; font-weight: 500; }
.hero-lead { max-width: 650px; margin: 0; font-size: 18px; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 34px; }
.home-page .btn-lg { padding: 15px 20px; font-size: 14px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--home-ink); border-bottom: 1px solid currentColor; font-size: 14px; font-weight: 600; padding-bottom: 3px; }
.text-link:hover { color: var(--home-green); }
.hero-caveat { max-width: 610px; margin-top: 30px; padding-top: 17px; border-top: 1px solid var(--home-line); font-size: 12px; }

.brief-sheet { position: relative; padding: 25px 26px 23px; background: #fff; border: 1px solid var(--home-line); box-shadow: 10px 10px 0 rgba(23, 79, 58, .08); }
.brief-sheet::before { content: ""; position: absolute; top: -1px; left: 26px; width: 72px; height: 4px; background: var(--home-green); }
.sheet-topline { display: flex; justify-content: space-between; color: var(--home-muted); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.sheet-status { color: var(--home-green); }
.brief-sheet h2 { margin: 35px 0 24px; font-size: 34px; }
.sheet-facts { margin: 0; }
.sheet-facts div { display: grid; grid-template-columns: 100px 1fr; padding: 8px 0; border-top: 1px solid rgba(23, 33, 27, .1); }
.sheet-facts dt { color: #4b564e; font-size: 12px; text-transform: uppercase; }
.sheet-facts dd { color: var(--home-ink); font-size: 12px; font-weight: 600; }
.sheet-rule { height: 1px; margin: 20px 0 10px; background: var(--home-ink); }
.sheet-steps { list-style: none; margin: 0; padding: 0; }
.sheet-steps li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid rgba(23, 33, 27, .1); }
.sheet-steps li > span { color: var(--home-green); font: 600 15px "Inter", sans-serif; }
.sheet-steps strong, .sheet-steps small { display: block; }
.sheet-steps strong { color: var(--home-ink); font-size: 12px; }
.sheet-steps small { margin-top: 2px; color: var(--home-muted); font-size: 12px; }
.sheet-note { margin: 15px 0 0; font-size: 12px; line-height: 1.45; }

/* Catalogue status */
.catalogue-band { background: var(--home-green); color: #fff; }
.catalogue-band-inner { display: grid; grid-template-columns: 190px 210px 1fr; gap: 36px; align-items: center; min-height: 124px; }
.catalogue-band p { margin: 0; color: rgba(255,255,255,.72); }
.catalogue-band p:not(.band-explainer) { display: flex; align-items: baseline; gap: 9px; }
.catalogue-band strong { color: var(--home-lime); font: 500 35px "Inter", sans-serif; white-space: nowrap; }
.catalogue-band span { font-size: 12px; line-height: 1.3; text-transform: uppercase; letter-spacing: .08em; }
.catalogue-band small { color: rgba(255,255,255,.8); font-size: 12px; }
.band-explainer { padding-left: 36px; border-left: 1px solid rgba(255,255,255,.25); font-size: 12px; line-height: 1.6; }

/* Shared sections */
.home-section { padding: 108px 0; border-bottom: 1px solid var(--home-line); }
.section-split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; }
.editorial-heading h2, .section-line-heading h2, .dossier-copy h2, .diagnostic-callout h2, .final-layout h2 { margin: 0; font-size: clamp(46px, 5.6vw, 82px); }
.editorial-heading > p:not(.eyebrow) { max-width: 430px; margin: 26px 0; font-size: 15px; }

.method-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--home-ink); }
.method-list li { display: grid; grid-template-columns: 62px 1fr; gap: 18px; padding: 26px 0 28px; border-bottom: 1px solid var(--home-line); }
.method-number { color: var(--home-green); font: 500 21px "Inter", sans-serif; }
.method-list h3 { margin: 0 0 7px; font-size: 18px; }
.method-list p { max-width: 560px; margin: 0; font-size: 14px; }

.selected-section { background: #fff; }
.section-line-heading { display: flex; justify-content: space-between; gap: 50px; align-items: end; margin-bottom: 56px; }
.section-line-heading h2 { max-width: 750px; }
.program-ledger { border-top: 2px solid var(--home-ink); }
.ledger-row { display: grid; grid-template-columns: 120px 1fr 190px 24px; gap: 22px; align-items: center; min-height: 104px; padding: 18px 8px; border-bottom: 1px solid var(--home-line); color: var(--home-ink); transition: background .2s ease, padding .2s ease; }
.ledger-row:hover { padding-inline: 16px; background: var(--home-paper); color: var(--home-ink); }
.ledger-code { color: var(--home-green); font: 600 20px "Inter", sans-serif; }
.ledger-title { font-size: 16px; font-weight: 600; }
.ledger-meta { color: var(--home-muted); font-size: 12px; }
.ledger-arrow { font-size: 18px; }
.ledger-disclaimer { margin: 18px 0 0; font-size: 12px; text-align: right; }

.dossier-section { background: var(--home-green-dark); }
.dossier-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; }
.eyebrow-light { color: var(--home-lime) !important; }
.dossier-copy h2 { color: #fff; }
.dossier-copy > p:last-child { max-width: 460px; margin-top: 28px; color: rgba(255,255,255,.65); font-size: 15px; }
.deliverables { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255,255,255,.35); border-left: 1px solid rgba(255,255,255,.35); }
.deliverables > div { min-height: 210px; padding: 24px; border-right: 1px solid rgba(255,255,255,.35); border-bottom: 1px solid rgba(255,255,255,.35); }
.deliverables span { color: var(--home-lime); font: 500 18px "Inter", sans-serif; }
.deliverables h3 { margin: 48px 0 9px; color: #fff; font-size: 15px; }
.deliverables p { margin: 0; color: rgba(255,255,255,.62); font-size: 12px; }

.audience-heading { max-width: 670px; margin-bottom: 60px; }
.audience-columns { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 34px; border-top: 1px solid var(--home-ink); }
.audience-columns article { min-height: 225px; padding: 24px 38px 22px 0; border-right: 1px solid var(--home-line); }
.audience-columns article + article { padding-left: 38px; }
.audience-columns article:last-child { border-right: 0; }
.audience-columns span { color: var(--home-green); font: 500 17px "Inter", sans-serif; }
.audience-columns h3 { margin: 55px 0 10px; font-size: 19px; }
.audience-columns p { margin: 0; font-size: 13px; }

.diagnostic-callout { padding: 90px 0; background: var(--home-lime); }
.diagnostic-callout-inner { display: grid; grid-template-columns: 1.25fr .75fr; gap: 100px; align-items: end; }
.diagnostic-action > p { margin: 0 0 24px; color: rgba(23,33,27,.72); font-size: 14px; }
.diagnostic-action small { display: block; margin-top: 10px; color: rgba(23,33,27,.8); font-size: 12px; }

.final-section { padding-block: 90px; }
.final-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: end; }
.contact-direct > a:first-child { display: inline-block; color: var(--home-green); font: 500 clamp(20px, 3vw, 30px) "Inter", sans-serif; border-bottom: 1px solid currentColor; overflow-wrap: anywhere; }
.contact-direct p { margin: 20px 0 26px; font-size: 13px; }

/* Footer */
.home-footer { padding: 40px 0 22px; background: var(--home-ink); color: #fff; }
.footer-main { display: flex; justify-content: space-between; gap: 40px; padding-bottom: 35px; }
.footer-brand { display: grid; }
.footer-brand strong { color: #fff; font: 500 24px "Inter", sans-serif; }
.footer-brand span { color: var(--home-lime); font-size: 12px; letter-spacing: .17em; text-transform: uppercase; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 25px; }
.footer-nav a { color: rgba(255,255,255,.72); font-size: 12px; }
.footer-nav a:hover { color: #fff; }
.footer-legal { display: flex; justify-content: space-between; gap: 40px; padding-top: 19px; border-top: 1px solid rgba(255,255,255,.18); }
.footer-legal p { margin: 0; color: rgba(255,255,255,.7); font-size: 12px; }

/* Home intentionally avoids scroll-reveal: important content is never hidden. */
@media (max-width: 900px) {
  .hero-layout, .section-split, .dossier-layout, .diagnostic-callout-inner, .final-layout { grid-template-columns: 1fr; gap: 55px; }
  .brief-sheet { max-width: 520px; }
  .catalogue-band-inner { grid-template-columns: 1fr 1fr; padding-block: 28px; }
  .band-explainer { grid-column: 1 / -1; padding: 20px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.25); }
  .ledger-row { grid-template-columns: 100px 1fr 24px; }
  .ledger-meta { grid-column: 2; }
  .ledger-arrow { grid-column: 3; grid-row: 1 / 3; }
  .section-line-heading { align-items: start; flex-direction: column; }
}

@media (max-width: 768px) {
  .home-page .nav-container { height: 68px; padding-inline: 20px; }
  .home-page .nav-cta { display: none; }
  .home-page .hamburger { display: block; }
  .home-page .nav-links { display: none; position: fixed; inset: 68px 0 auto; padding: 24px 20px; background: var(--home-cream); border-bottom: 1px solid var(--home-line); flex-direction: column; align-items: flex-start; gap: 17px; }
  .home-page.nav-open .nav-links { display: flex; }
  html:not(.js) .home-page .nav-links { display: flex; }
  .home-page .container { padding-inline: 20px; }
  .home-hero { padding: 120px 0 58px; }
  .hero-copy h1 { font-size: clamp(48px, 15vw, 66px); }
  .hero-lead { font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .home-section { padding: 75px 0; }
  .editorial-heading h2, .section-line-heading h2, .dossier-copy h2, .diagnostic-callout h2, .final-layout h2 { font-size: 44px; }
  .deliverables, .audience-columns { grid-template-columns: 1fr; }
  .audience-columns article, .audience-columns article + article { min-height: auto; padding: 25px 0; border-right: 0; border-bottom: 1px solid var(--home-line); }
  .audience-columns h3 { margin-top: 24px; }
  .ledger-row { grid-template-columns: 80px 1fr 18px; gap: 12px; min-height: 115px; }
  .ledger-title { font-size: 14px; }
  .ledger-code { font-size: 17px; }
  .footer-main, .footer-legal { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .home-page * { scroll-behavior: auto !important; }
}

/* ══════════════════════════════════════════════════════════════
   HOME UPGRADES — recherche, confiance, comparatif, FAQ
   ══════════════════════════════════════════════════════════════ */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Hero search */
.hero-search { display: flex; gap: 10px; margin: 32px 0 0; max-width: 640px; }
.hero-search-input { flex: 1; min-width: 0; padding: 15px 18px; border: 1px solid var(--home-line); background: #fff; color: var(--home-ink); font: 15px "Inter", sans-serif; }
.hero-search-input::placeholder { color: var(--home-muted); }
.hero-search-input:focus-visible { outline: 2px solid var(--home-green); outline-offset: 1px; border-color: var(--home-green); }
.hero-search-btn { white-space: nowrap; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.hero-chip { padding: 7px 14px; border: 1px solid var(--home-line); border-radius: var(--radius-pill, 999px); color: var(--home-ink); font: 600 12px "Inter", sans-serif; text-decoration: none; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.hero-chip:hover { background: var(--home-paper); border-color: var(--home-green); color: var(--home-green); }
.hero-chip:focus-visible { outline: 2px solid var(--home-green); outline-offset: 2px; }
.hero-trust { margin-top: 22px; font-size: 12px; color: var(--home-muted); }

/* Trust strip */
.trust-strip { padding: 28px 0; background: var(--home-paper); border-top: 1px solid var(--home-line); border-bottom: 1px solid var(--home-line); }
.trust-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.trust-point strong { display: block; margin-bottom: 5px; color: var(--home-ink); font-size: 13px; font-weight: 700; }
.trust-point span { color: var(--home-muted); font-size: 12px; line-height: 1.5; }

/* Comparison */
.compare-wrap { margin-top: 44px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare-table { width: 100%; min-width: 560px; border-collapse: collapse; }
.compare-table th, .compare-table td { padding: 17px 20px; border-bottom: 1px solid var(--home-line); text-align: left; font-size: 14px; vertical-align: top; }
.compare-table thead th { font: 700 12px "Inter", sans-serif; text-transform: uppercase; letter-spacing: .12em; color: var(--home-muted); }
.compare-table tbody th { font-weight: 600; color: var(--home-ink); white-space: nowrap; }
.compare-table td { color: var(--home-muted); }
.compare-table .col-us { background: rgba(23,79,58,.06); color: var(--home-green-dark); font-weight: 600; }
.compare-table thead .col-us { color: var(--home-green); }
.compare-guides-link { margin: 28px 0 0; }
.contact-direct .btn { margin-top: 4px; }
.heading-links { display: flex; gap: 18px; flex-wrap: wrap; }
.heading-links .text-link { white-space: nowrap; }

/* FAQ */
.faq-list { margin-top: 40px; border-top: 1px solid var(--home-line); }
.faq-item { border-bottom: 1px solid var(--home-line); }
.faq-item summary { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 24px 0; cursor: pointer; color: var(--home-ink); font: 600 17px "Inter", sans-serif; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--home-green); }
.faq-item summary:focus-visible { outline: 2px solid var(--home-green); outline-offset: 4px; }
.faq-item summary::after { content: "+"; flex: none; color: var(--home-green); font-size: 24px; line-height: 1; }
.faq-item[open] summary::after { content: "\2013"; }
.faq-item p { padding: 0 0 24px; max-width: 800px; color: var(--home-muted); font-size: 15px; line-height: 1.65; }

@media (max-width: 860px) {
  .trust-inner { grid-template-columns: 1fr 1fr; }
  .hero-search { flex-direction: column; }
}
@media (max-width: 540px) {
  .trust-inner { grid-template-columns: 1fr; }
}

/* ── Secteur / catégories ────────────────────────────────────── */
.sectors-section { padding: 90px 0; }
.sector-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--home-line); border: 1px solid var(--home-line); margin-top: 44px; }
.sector-tile { display: flex; flex-direction: column; gap: 10px; padding: 30px 26px; background: var(--home-cream); text-decoration: none; transition: background .2s ease; }
.sector-tile:hover, .sector-tile:focus-visible { background: var(--home-paper); }
.sector-tile strong { font: 500 40px "Inter", system-ui, sans-serif; color: var(--home-green); line-height: .95; }
.sector-tile span { font: 600 13px "Inter", sans-serif; color: var(--home-ink); }
.sector-tile-all { background: var(--home-green); }
.sector-tile-all strong { color: var(--home-lime); }
.sector-tile-all span { color: #fff; }
.sector-tile-all:hover, .sector-tile-all:focus-visible { background: var(--home-green-dark); }

/* Audiences plus affirmées */
.audience-columns article { transition: background .2s ease; }
.audience-columns article:hover { background: var(--home-paper); }
.audience-columns h3 { font-size: 22px; }

@media (max-width: 980px) { .sector-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .sector-grid { grid-template-columns: 1fr; } }

/* ── Icônes ──────────────────────────────────────────────────── */
.tile-ic { display: block; width: 26px; height: 26px; color: var(--home-green); margin-bottom: 10px; }
.sector-tile-all .tile-ic { color: var(--home-lime); }
.aud-ic { display: block; width: 30px; height: 30px; color: var(--home-green); margin-bottom: 14px; }

/* ── Bande wordmark géante (moment graphique, à la Vooban) ───── */
.wordmark-band { overflow: hidden; background: var(--home-green); color: var(--home-cream); }
.wordmark-band span { display: block; padding: 18px 0 6px; font-size: clamp(40px, 10.5vw, 168px); font-weight: 800; letter-spacing: -.055em; line-height: .78; white-space: nowrap; text-align: center; }
@media (max-width: 700px) { .wordmark-band span { font-size: 22vw; } }

/* Micro-labels mono (numéros de section, livrables) */
.method-number, .audience-columns span, .deliverables span, .catalogue-band span { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; }

/* ── Push: échelle affirmée (chiffres, règles de section) ────── */
.catalogue-band strong { font-size: clamp(46px, 6vw, 76px) !important; font-weight: 800; letter-spacing: -.04em; }
.catalogue-band span, .catalogue-band small { font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; }
.home-section, .trust-strip, .sectors-section { border-top: 2px solid var(--home-ink); }
.home-section:first-of-type { border-top: 0; }
.section-line-heading h2, .editorial-heading h2 { letter-spacing: -.045em; }
.wordmark-band span { letter-spacing: -.06em; }
