/* ==========================================================================
   outil-prospection.fr : feuille de style unique.
   Reprise nettoyée de l'export AI Studio (reference/aistudio/index.html) :
   mêmes variables, mêmes polices, mêmes composants (en-tête, cartes, filtres,
   pages éditoriales, pied de page). Les polices sont servies par le site
   lui-même (public/assets/fonts, licence OFL) : aucune ressource externe.
   ========================================================================== */

/* 1. Polices : sous-ensemble latin, fichiers variables ---------------------- */

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/plus-jakarta-sans-v12-latin.woff2?v=153fc85b70) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(fonts/newsreader-v26-latin.woff2?v=6e4f2958c3) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/newsreader-italic-v26-latin.woff2?v=2bf0dbb1a4) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url(fonts/jetbrains-mono-v24-latin.woff2?v=83c005d49d) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 2. Base ------------------------------------------------------------------- */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --page-bg: #F8FAFC;
  --surface-white: #FFFFFF;
  --surface-soft: #F1F5F9;
  --border-subtle: #E2E8F0;
  --border-hover: #CBD5E1;
  --text-primary: #0F172A;
  --text-body: #334155;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --accent-green: #15803D;
  --accent-green-hover: #166534;
  --accent-green-subtle: #F0FDF4;
  --accent-green-border: #BBF7D0;
  --accent-green-strong: #DCFCE7;
  --footer-bg: #0F172A;
  --card-radius: 12px;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  font-family: var(--font-sans);
  background-color: var(--page-bg);
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--page-bg);
}

main {
  flex: 1 0 auto;
}

/* Page courte (404, contact) : le fond blanc va jusqu'au pied de page au lieu de laisser une bande grise. */
main:has(> .editorial-wrapper:only-child) {
  background: #FFFFFF;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
  color: inherit;
}

fieldset {
  border: 0;
  min-width: 0;
}

legend {
  padding: 0;
}

:focus-visible {
  outline: 2px solid var(--accent-green);
  outline-offset: 2px;
  border-radius: 4px;
}

.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;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--text-primary);
  color: #FFFFFF;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

/* 3. En-tête ---------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 36px;
  min-width: 0;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: opacity 0.15s ease;
}

.nav-logo:hover {
  opacity: 0.9;
}

.nav-logo img {
  height: 42px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-link {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 6px;
  transition: color 0.15s ease, background-color 0.15s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--text-primary);
  background-color: var(--surface-soft);
}

.nav-link[aria-current="page"] {
  color: var(--accent-green);
  background-color: var(--accent-green-subtle);
  font-weight: 600;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cta-btn {
  background-color: var(--accent-green);
  color: #FFFFFF;
  font-size: 13.5px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 8px;
  transition: background-color 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  text-decoration: none;
}

.nav-cta-btn:hover,
.nav-cta-btn[aria-current="page"] {
  background-color: var(--accent-green-hover);
}

/* Menu mobile : simple <details>, sans JavaScript. */
.nav-menu {
  display: none;
  position: relative;
}

.nav-menu > summary {
  list-style: none;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
  padding: 8px 14px;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: #FFFFFF;
  user-select: none;
}

.nav-menu > summary::-webkit-details-marker {
  display: none;
}

.nav-menu[open] > summary {
  background: var(--surface-soft);
}

.nav-menu-panneau {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: min(300px, calc(100vw - 32px));
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  box-shadow: 0 18px 40px -12px rgba(15, 23, 42, 0.25);
  padding: 8px;
  list-style: none;
}

.nav-menu-panneau a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
}

.nav-menu-panneau a:hover,
.nav-menu-panneau a[aria-current="page"] {
  background: var(--accent-green-subtle);
  color: var(--accent-green);
}

/* 4. Bandeau d'accueil ------------------------------------------------------ */

.hero-editorial-section {
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--border-subtle);
  padding: 48px 24px 38px;
}

.hero-editorial-container {
  max-width: 1040px;
  margin: 0 auto;
  text-align: center;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
}

.hero-eyebrow-badge {
  background-color: var(--surface-soft);
  color: var(--text-secondary);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid var(--border-subtle);
}

.hero-editorial-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.025em;
  line-height: 1.18;
  max-width: 860px;
  margin: 0 auto 16px;
  text-wrap: balance;
}

.hero-editorial-subtitle {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 30px;
  text-wrap: pretty;
}

.hero-editorial-subtitle a {
  color: var(--accent-green);
  text-underline-offset: 2px;
}

.hero-category-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hero-cat-btn {
  background-color: var(--surface-soft);
  border: 1px solid transparent;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.hero-cat-btn:hover {
  background-color: var(--border-subtle);
  color: var(--text-primary);
}

.hero-cat-btn-plein {
  background-color: var(--accent-green-subtle);
  border-color: var(--accent-green-border);
  color: var(--accent-green);
  font-weight: 600;
}

.hero-cat-btn-plein:hover {
  background-color: var(--accent-green-strong);
  color: var(--accent-green-hover);
}

/* 5. Répertoire : filtres et liste ----------------------------------------- */

.page-head {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-subtle);
  padding: 32px 24px 30px;
}

.page-head-inner {
  max-width: 1272px;
  margin: 0 auto;
}

.page-head .editorial-h1 {
  margin-bottom: 12px;
}

.page-head-intro {
  max-width: 760px;
  margin-top: 14px;
}

.main-layout-wrapper {
  max-width: 1320px;
  margin: 0 auto;
  padding: 36px 24px 64px;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.main-layout-wrapper.avec-filtres {
  grid-template-columns: 240px minmax(0, 1fr);
}

.filter-col {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 20px;
  position: sticky;
  top: 92px;
}

.filter-col form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.filter-group-header {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.filter-rows-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.filter-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.12s ease, color 0.12s ease;
}

.filter-row:hover {
  color: var(--text-primary);
  background-color: var(--page-bg);
}

.filter-row input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.filter-row:has(input:checked) {
  color: var(--accent-green);
  background-color: var(--accent-green-subtle);
  font-weight: 600;
}

.filter-row:has(input:focus-visible) {
  outline: 2px solid var(--accent-green);
  outline-offset: 1px;
}

.row-count {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
  background-color: var(--surface-soft);
  padding: 1px 6px;
  border-radius: 4px;
}

.filter-row:has(input:checked) .row-count {
  background-color: var(--accent-green-strong);
  color: var(--accent-green);
}

.filter-note {
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-muted);
}

.filter-reset {
  align-self: flex-start;
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 6px;
  border: 1px solid var(--border-subtle);
  background: #FFFFFF;
  color: var(--text-primary);
  cursor: pointer;
  transition: background-color 0.12s ease, border-color 0.12s ease;
}

.filter-reset:hover {
  background-color: var(--page-bg);
  border-color: var(--border-hover);
}

.tools-center-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.tools-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.tools-count-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.tools-count-title a {
  text-decoration: none;
}

.tools-count-title a:hover {
  color: var(--accent-green);
}

.tools-count-badge {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--surface-soft);
  padding: 3px 8px;
  border-radius: 6px;
}

.tools-vide {
  padding: 40px 24px;
  text-align: center;
  background: #FFFFFF;
  border: 1px dashed var(--border-subtle);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

/* 6. Cartes d'outils -------------------------------------------------------- */

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 20px;
}

.tool-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--card-radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.tool-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.tool-card-brand {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}

/* Initiale de l'outil posée sur sa couleur (--c), texte contrasté (--t). */
.tool-initial {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--c, #0F172A);
  color: var(--t, #FFFFFF);
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
}

.tool-initial-lg {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  font-size: 26px;
}

.tool-initial-sm {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  font-size: 14px;
}

.tool-card-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.tool-card-name a {
  text-decoration: none;
}

.tool-card-name a:hover {
  color: var(--accent-green);
}

.tool-card-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.tool-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--surface-soft);
  border: 1px solid var(--border-subtle);
  padding: 2px 8px;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
}

a.tool-tag:hover {
  color: var(--accent-green);
  border-color: var(--accent-green-border);
  background: var(--accent-green-subtle);
}

.tool-card-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-secondary);
  flex-grow: 1;
}

.tool-card-foot {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--surface-soft);
  margin-top: auto;
}

.tool-card-pricing {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.tool-price-val {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.tool-price-sub {
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--text-muted);
}

.btn-tool-primary {
  justify-content: center;
  font-size: 12.5px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid transparent;
  background-color: var(--accent-green-subtle);
  color: var(--accent-green);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  transition: background-color 0.12s ease;
}

.btn-tool-primary:hover {
  background-color: var(--accent-green-strong);
}

/* 7. Accueil ---------------------------------------------------------------- */

.home-intro {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-subtle);
  padding: 8px 24px 40px;
}

.home-intro .prose {
  max-width: 760px;
  margin: 0 auto;
}

.home-categories {
  max-width: 1320px;
  margin: 0 auto;
  padding: 40px 24px 24px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.home-cat {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.home-cat-objet {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin-top: -4px;
}

.lien-suite {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent-green);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lien-suite:hover {
  color: var(--accent-green-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.home-faq {
  max-width: 920px;
  margin: 0 auto;
  padding: 8px 24px 72px;
  width: 100%;
}

/* 8. Pages éditoriales : fiches, catégories, articles ---------------------- */

.editorial-wrapper {
  background: #FFFFFF;
  padding: 40px 24px 80px;
}

.editorial-container {
  max-width: 920px;
  margin: 0 auto;
}

.editorial-breadcrumb {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.editorial-breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.editorial-breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--border-hover);
}

.editorial-breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}

.editorial-breadcrumb a:hover {
  color: var(--text-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.editorial-breadcrumb [aria-current="page"] {
  color: var(--text-secondary);
  font-weight: 500;
}

.editorial-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface-soft);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 9999px;
}

.editorial-h1 {
  font-size: 34px;
  line-height: 1.25;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  text-wrap: balance;
}

.editorial-h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin: 44px 0 16px;
}

.page-titre {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
}

/* Corps rédigé : HTML simple sans classe, mis en forme ici. */
.prose {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body);
}

.prose p,
.prose ul,
.prose ol {
  margin-bottom: 16px;
}

.prose > :last-child {
  margin-bottom: 0;
}

.prose h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin: 40px 0 14px;
}

.prose h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
  margin: 28px 0 10px;
}

.prose > h2:first-child,
.prose > h3:first-child {
  margin-top: 0;
}

.prose ul,
.prose ol {
  padding-left: 1.4em;
}

.prose li {
  margin: 6px 0;
  padding-left: 2px;
}

.prose li::marker {
  color: var(--accent-green);
}

.prose a {
  color: var(--accent-green);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.prose a:hover {
  color: var(--accent-green-hover);
}

.prose strong {
  color: var(--text-primary);
  font-weight: 700;
}

/* Bloc réponse : premier paragraphe des fiches, catégories et articles. */
.prose-chapeau > p:first-child {
  font-size: 17px;
  line-height: 1.65;
  color: #1E293B;
}

.table-wrap {
  overflow-x: auto;
  margin: 24px 0 28px;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.table-wrap table,
.editorial-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
}

.table-wrap th {
  background: #F8FAFC;
  color: var(--text-secondary);
  font-weight: 600;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: bottom;
}

.table-wrap td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--surface-soft);
  color: #1E293B;
  vertical-align: top;
}

.table-wrap tr:last-child td {
  border-bottom: none;
}

.table-wrap tbody tr:hover td {
  background: #FAFAFA;
}

.cell-outil {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.cell-outil a {
  color: var(--text-primary);
  text-decoration: none;
}

.cell-outil a:hover {
  color: var(--accent-green);
}

.cell-prix {
  font-weight: 600;
  white-space: nowrap;
}

.num {
  font-family: var(--font-mono);
  font-size: 0.93em;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.cell-date {
  white-space: nowrap;
  color: var(--text-secondary);
}

.table-note {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-muted);
  margin-top: -14px;
}

/* Questions fréquentes */
.faq {
  margin-top: 8px;
}

.editorial-faq-item {
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}

.editorial-faq-q {
  background: #F8FAFC;
  padding: 16px 20px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.45;
  color: var(--text-primary);
}

.editorial-faq-a {
  padding: 16px 20px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-body);
  border-top: 1px solid var(--border-subtle);
  background: #FFFFFF;
}

/* En-tête de fiche */
.fiche-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 32px;
  align-items: start;
  padding-bottom: 28px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border-subtle);
}

.fiche-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.fiche-nom {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.fiche-brand .tool-card-tags {
  margin-top: 6px;
}

.fiche-accroche {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text-body);
  margin-bottom: 16px;
}

.fiche-prix {
  background: #F8FAFC;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fiche-prix-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.fiche-prix-val {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.fiche-prix-sub {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-muted);
}

.fiche-prix-sub a {
  color: var(--text-secondary);
  text-underline-offset: 2px;
}

.btn-site {
  margin-top: 14px;
  justify-content: center;
}

/* Sources consultées */
.sources-liste {
  list-style: none;
  border-top: 1px solid var(--border-subtle);
}

.sources-liste li {
  padding: 10px 0;
  border-bottom: 1px solid var(--surface-soft);
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-body);
}

.sources-liste a {
  color: var(--text-primary);
  text-decoration: underline;
  text-decoration-color: var(--border-hover);
  text-underline-offset: 2px;
}

.sources-liste a:hover {
  color: var(--accent-green);
  text-decoration-color: currentColor;
}

.source-meta {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Bloc auteur */
.bloc-auteur {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: 44px;
  padding: 20px 22px;
  background: #F8FAFC;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
}

.bloc-auteur-initiales {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-green-strong);
  color: var(--accent-green);
  font-size: 15px;
  font-weight: 800;
}

.bloc-auteur-nom {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.bloc-auteur-nom a {
  text-decoration: none;
}

.bloc-auteur-nom a:hover {
  color: var(--accent-green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bloc-auteur-role {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-green);
  margin-top: 1px;
}

.bloc-auteur-bio {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-top: 8px;
}

/* Autres outils de la même catégorie */
.voisins {
  margin-top: 8px;
}

.voisins-cat {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-secondary);
  margin: 22px 0 12px;
}

.voisins-cat a {
  color: inherit;
  text-decoration: none;
}

.voisins-cat a:hover {
  color: var(--accent-green);
}

.mini-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 12px;
}

.mini-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  transition: border-color 0.15s ease;
}

.mini-card:hover {
  border-color: var(--border-hover);
}

.mini-card-nom {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
}

.mini-card-nom:hover {
  color: var(--accent-green);
}

.mini-card-prix {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: 2px;
}

.mini-card-date {
  display: block;
  font-size: 11.5px;
  color: var(--text-muted);
}

/* 9. Pages institutionnelles : mise en page « manifeste » ------------------- */

.manifesto-wrapper {
  background-color: #FFFFFF;
  width: 100%;
}

.manifesto-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 44px 24px 90px;
}

.manifesto-kicker {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6B7280;
  margin-bottom: 26px;
}

.manifesto-kicker ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.manifesto-kicker li + li::before {
  content: "/";
  margin-right: 8px;
}

.manifesto-kicker a {
  color: #6B7280;
  text-decoration: none;
  transition: color 0.15s ease;
}

.manifesto-kicker a:hover {
  color: var(--accent-green);
}

.manifesto-title {
  font-family: var(--font-serif);
  font-size: 52px;
  font-weight: 600;
  line-height: 1.14;
  color: #111827;
  margin-bottom: 22px;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.manifesto-maj {
  margin-bottom: 34px;
}

.prose-serif {
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.72;
  color: #374151;
}

.prose-serif > p:first-child {
  font-size: 21px;
  line-height: 1.7;
  color: #2C353F;
  margin-bottom: 26px;
}

.prose-serif p,
.prose-serif ul,
.prose-serif ol {
  margin-bottom: 22px;
}

.prose-serif h2 {
  font-family: var(--font-sans);
  font-size: 30px;
  font-weight: 800;
  color: #111827;
  margin: 50px 0 20px;
  letter-spacing: -0.025em;
  line-height: 1.22;
}

.prose-serif h3 {
  font-family: var(--font-sans);
  font-size: 21px;
  font-weight: 700;
  color: #111827;
  margin: 32px 0 10px;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.prose-serif strong {
  font-weight: 600;
  color: #111827;
}

.prose-serif li::marker {
  color: #22C55E;
}

.prose-serif .table-wrap {
  font-family: var(--font-sans);
}

/* 10. Pied de page ---------------------------------------------------------- */

.site-footer {
  background-color: var(--footer-bg);
  color: #94A3B8;
  border-top: 1px solid #1E293B;
  padding: 56px 24px 32px;
  margin-top: auto;
}

.footer-container {
  max-width: 1272px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Le logo a un fond blanc opaque : il se pose sur une pastille blanche. */
.footer-logo {
  display: inline-flex;
  width: fit-content;
  background: #FFFFFF;
  border-radius: 10px;
  padding: 8px 12px;
}

.footer-logo img {
  height: 34px;
  width: auto;
}

.footer-tagline {
  font-size: 13.5px;
  color: #94A3B8;
  line-height: 1.6;
  max-width: 320px;
}

.footer-col-title {
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

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

.footer-link {
  font-size: 13.5px;
  color: #94A3B8;
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-link:hover {
  color: #FFFFFF;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom-bar {
  border-top: 1px solid #1E293B;
  padding-top: 24px;
  font-size: 12.5px;
  color: #94A3B8;
}

/* 11. Adaptations --------------------------------------------------------- */

@media (max-width: 1080px) {
  .nav-left {
    gap: 20px;
  }

  .nav-link {
    padding: 8px 9px;
  }
}

@media (max-width: 960px) {
  .nav-principale {
    display: none;
  }

  .nav-menu {
    display: block;
  }

  .main-layout-wrapper.avec-filtres {
    grid-template-columns: minmax(0, 1fr);
  }

  .filter-col {
    position: static;
    padding: 16px;
  }

  .filter-col form {
    gap: 16px;
  }

  /* Sur petite largeur, les filtres deviennent des pastilles. */
  .filter-rows-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
  }

  .filter-row {
    background-color: var(--surface-soft);
    padding: 6px 10px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 760px) {
  .fiche-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .editorial-h1 {
    font-size: 28px;
  }

  .manifesto-title {
    font-size: 36px;
  }

  .prose-serif {
    font-size: 18px;
  }

  .prose-serif > p:first-child {
    font-size: 19px;
  }

  .prose-serif h2 {
    font-size: 25px;
  }
}

@media (max-width: 600px) {
  .nav-container {
    padding: 0 16px;
    gap: 12px;
  }

  .nav-logo img {
    height: 36px;
  }

  .nav-right .nav-cta-btn {
    display: none;
  }

  .hero-editorial-section {
    padding: 36px 16px 30px;
  }

  .page-head,
  .home-intro,
  .editorial-wrapper {
    padding-left: 16px;
    padding-right: 16px;
  }

  .main-layout-wrapper,
  .home-categories,
  .home-faq,
  .manifesto-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .editorial-wrapper {
    padding-top: 28px;
  }

  .tool-card {
    padding: 18px;
  }

  .bloc-auteur {
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
