/* =========================================================================
   Landing PictoLead — palette officielle du produit (voir app/.../app.css)
   Accent teal #00adb5, titres navy #0f172a, fond clair, cartes arrondies.
   Structure inspiree d'une landing SaaS moderne (sections alternees, cartes
   de fonctionnalites, resultats, FAQ), habillage propre a PictoLead.
   ========================================================================= */

/* =========================================================================
   Polices auto-hebergees (perf + zero CLS). Inter (corps) est une police
   variable : un seul fichier couvre 400-700. Poppins (titres) est statique,
   une graisse par fichier (600/700/800). Sous-ensembles latin + latin-ext
   (accents FR, oe, guillemets). Les faces "Fallback" reproduisent les
   metriques d'Inter/Poppins via Arial pour supprimer le decalage au swap
   (valeurs calculees avec capsize). Voir includes/header.php pour le preload.
   ========================================================================= */
/* --- Inter (variable) --- */
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('/assets/fonts/inter-latin.woff2') 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: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('/assets/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* --- Poppins (statique : 600, 700, 800) --- */
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('/assets/fonts/poppins-600-latin.woff2') 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: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('/assets/fonts/poppins-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('/assets/fonts/poppins-700-latin.woff2') 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: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('/assets/fonts/poppins-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 800; font-display: swap;
  src: url('/assets/fonts/poppins-800-latin.woff2') 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: 'Poppins'; font-style: normal; font-weight: 800; font-display: swap;
  src: url('/assets/fonts/poppins-800-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* --- Fallbacks metriquement ajustes (Arial) : suppriment le CLS au swap --- */
@font-face {
  font-family: 'Inter Fallback'; src: local('Arial'), local('ArialMT');
  ascent-override: 90.4365%; descent-override: 22.518%; line-gap-override: 0%; size-adjust: 107.1194%;
}
@font-face {
  font-family: 'Poppins Fallback'; src: local('Arial'), local('ArialMT');
  ascent-override: 90.8914%; descent-override: 30.2971%; line-gap-override: 8.6563%; size-adjust: 115.5225%;
}

:root {
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-dark: #0f172a;
  --bg-dark-2: #1e293b;
  --accent: #00adb5;
  --accent-dark: #009aa1;
  --accent-light: #e0f7f8;
  --on-accent: #ffffff;
  --text: #334155;
  --heading: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --radius: 16px;
  --radius-sm: 12px;
  --radius-lg: 24px;
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 18px 50px rgba(15, 23, 42, 0.12);
  --font-display: 'Poppins', 'Poppins Fallback', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Inter Fallback', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--heading); line-height: 1.15; margin: 0; }
p { margin: 0; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section { padding: 90px 0; }
.section-alt { background: var(--bg-alt); }
.text-center { text-align: center; }

.eyebrow {
  display: inline-block; color: var(--accent-dark); font-weight: 700; font-size: 13px;
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px;
}
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: 38px; font-weight: 700; margin-bottom: 16px; }
.section-head p { color: var(--muted); font-size: 18px; }
/* Liens de prose (ex. « Pour aller plus loin ») : visibles et cliquables, sinon ils se fondent dans le gris. */
.section-head p a { color: var(--accent-dark); }
.section-head p a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
/* Liens inline dans les cartes, étapes et notes de section : lisibles (turquoise), sinon ils héritent du gris. */
.step p a, .feature-card p a, .section-note a { color: var(--accent-dark); }
.step p a:hover, .feature-card p a:hover, .section-note a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---- Boutons ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 16px; font-family: var(--font-body); cursor: pointer; border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: var(--on-accent); box-shadow: 0 8px 20px rgba(0,173,181,.30); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,173,181,.42); }
.btn-secondary { background: #fff; border-color: var(--border); color: var(--heading); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent-dark); }
.btn-ghost { color: var(--heading); padding: 10px 16px; }
.btn-ghost:hover { color: var(--accent-dark); }
.btn-lg { padding: 17px 34px; font-size: 17px; }
.btn-light { background: #fff; color: var(--heading); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* ---- Header / nav ----------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 700; font-size: 21px; color: var(--heading); }
.brand .dot { color: var(--accent); font-size: 14px; }
.brand-logo { height: 30px; width: auto; display: block; }
/* Footer sur fond sombre : logo (texte noir) blanchi pour rester lisible. */
.site-footer .brand-logo { filter: brightness(0) invert(1); }
.nav-menu { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a.link { color: var(--muted); font-weight: 500; font-size: 15px; }
.nav-links a.link:hover { color: var(--heading); }
.nav-cta { display: flex; align-items: center; gap: 10px; }

/* Bouton burger : masque sur desktop, affiche sous 860px. Les 3 barres se muent en croix a l'ouverture. */
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px;
  background: none; border: 0; cursor: pointer; padding: 10px; margin-left: auto; }
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--heading); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute; top: 70px; left: 0; right: 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 0; margin-left: 0;
    background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg);
    padding: 8px 24px 20px; display: none;
  }
  .nav-menu.is-open { display: flex; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links a.link { padding: 15px 4px; border-bottom: 1px solid var(--border); font-size: 16px; }
  .nav-cta { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 16px; }
  .nav-cta .btn { width: 100%; justify-content: center; }
}

/* ---- Hero ------------------------------------------------------------- */
.hero { padding: 84px 0 70px; background: radial-gradient(1000px 500px at 70% -10%, var(--accent-light), transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: 52px; font-weight: 800; margin-bottom: 22px; }
.hero h1 .accent { color: var(--accent-dark); }
.hero .subtitle { font-size: 20px; color: var(--muted); margin-bottom: 30px; max-width: 540px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.microcopy { color: var(--muted); font-size: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.microcopy .tick { color: var(--accent-dark); font-weight: 700; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { font-size: 40px; }
}

/* ---- Placeholder images ---------------------------------------------- */
.img-ph {
  border: 2px dashed #cbd5e1; border-radius: var(--radius); background:
    repeating-linear-gradient(45deg, #f1f5f9, #f1f5f9 12px, #f8fafc 12px, #f8fafc 24px);
  color: #64748b; display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 28px; min-height: 260px; font-size: 15px;
}
.img-ph b { color: var(--accent-dark); display: block; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
.img-ph.tall { min-height: 420px; }

/* Vraie image (mockup / capture) : coins arrondis + ombre, remplace un .img-ph une fois exportée. */
.shot { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-lg); display: block; }

/* ---- Bandeau types d'évènements (marquee) ---------------------------- */
.marquee { overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-alt); padding: 20px 0; }
/* L'espacement est porte par chaque item (margin-right), et non par un gap sur le conteneur : la
   liste est dupliquee a l'identique, donc chaque copie (y compris son espace de fin) fait exactement
   la meme largeur -> l'animation qui ramene de -50% a 0 reboucle sans couture ni saut. */
.marquee-track { display: flex; white-space: nowrap; width: max-content; animation: scroll-x 45s linear infinite; will-change: transform; }
.marquee-track span { color: var(--muted); font-weight: 600; font-size: 17px; display: inline-flex; align-items: center; gap: 10px; margin-right: 44px; }
.marquee-track span::before { content: "◆"; color: var(--accent); font-size: 10px; }
@keyframes scroll-x { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---- Étapes (comment ça marche) -------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { position: relative; }
.step-num {
  width: 46px; height: 46px; border-radius: 50%; background: var(--accent-light); color: var(--accent-dark);
  font-family: var(--font-display); font-weight: 700; font-size: 20px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }

/* ---- Cartes de fonctionnalités --------------------------------------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-ico {
  width: 52px; height: 52px; border-radius: var(--radius-sm); background: var(--accent-light);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.feature-ico svg { width: 26px; height: 26px; stroke: var(--accent-dark); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature-card h3 { font-size: 19px; margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

/* ---- Blocs alternés texte / image ------------------------------------ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split + .split { margin-top: 90px; }
.split.reverse .split-media { order: -1; }
.split h2 { font-size: 32px; font-weight: 700; margin-bottom: 18px; }
.split .lead { color: var(--muted); font-size: 17px; margin-bottom: 22px; }
.split ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 12px; }
.split li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.split li .check { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--accent-light); color: var(--accent-dark); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; margin-top: 2px; }
.pill { display: inline-block; background: var(--accent-light); color: var(--accent-dark); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 30px; }
  .split.reverse .split-media { order: 0; }
}

/* ---- Statistiques ----------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; }
.stat .num { font-family: var(--font-display); font-weight: 800; font-size: 44px; color: var(--accent-dark); line-height: 1; }
.stat .lbl { color: var(--muted); font-size: 15px; margin-top: 8px; }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr 1fr; gap: 32px; } }

/* ---- Témoignages ------------------------------------------------------ */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.testi-metric { font-family: var(--font-display); font-weight: 800; font-size: 30px; color: var(--accent-dark); line-height: 1.1; margin-bottom: 12px; }
.testi p { font-size: 15px; color: var(--text); margin: 0; }
.help-note { text-align: center; color: var(--muted); font-size: 13px; margin-top: 24px; font-style: italic; }
@media (max-width: 900px) { .testimonials { grid-template-columns: 1fr; } }

/* ---- FAQ -------------------------------------------------------------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 4px 22px; margin-bottom: 14px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--heading); padding: 18px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent-dark); font-size: 24px; font-weight: 400; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); font-size: 15px; padding: 0 0 20px; }

/* ---- Bandeau CTA final ------------------------------------------------ */
.cta-band { background: linear-gradient(135deg, var(--bg-dark), var(--bg-dark-2)); border-radius: var(--radius-lg); padding: 64px 40px; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 50% -20%, rgba(0,173,181,.35), transparent 70%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; font-size: 36px; font-weight: 800; margin-bottom: 14px; }
.cta-band p { color: #cbd5e1; font-size: 18px; margin-bottom: 30px; }

/* ---- Footer ----------------------------------------------------------- */
.site-footer { background: var(--bg-dark); color: #94a3b8; padding: 60px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .tagline { font-size: 14px; max-width: 280px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-col a { display: block; color: #94a3b8; font-size: 14px; margin-bottom: 10px; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid #1e293b; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; }
.footer-bottom .heart { color: #e5484d; }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---- Ajustements petits écrans (téléphones) --------------------------- */
@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 40px; }
  .section-head h2 { font-size: 30px; }
  .section-head p { font-size: 16px; }
  .hero { padding: 56px 0 50px; }
  .hero h1 { font-size: 34px; }
  .hero .subtitle { font-size: 18px; }
  .split h2 { font-size: 27px; }
  .cta-band { padding: 48px 24px; }
  .cta-band h2 { font-size: 28px; }
  .cta-band p { font-size: 16px; }
  .cta-row .btn { width: 100%; justify-content: center; }
  .stat .num { font-size: 38px; }
}
@media (max-width: 380px) {
  .container { padding: 0 18px; }
  .hero h1 { font-size: 30px; }
}

/* ============ PAGES LEGALES (mentions-legales, policy, cgu...) ============ */
.legal { max-width: 820px; margin: 0 auto; padding: 56px 20px 72px; }
.legal h1 { font-family: 'Poppins', sans-serif; font-size: 34px; margin: 0 0 8px; }
.legal .legal-updated { color: #6b7280; font-size: 14px; margin: 0 0 36px; }
.legal h2 { font-family: 'Poppins', sans-serif; font-size: 20px; margin: 36px 0 12px; }
.legal p { line-height: 1.7; margin: 0 0 12px; }
.legal ul { line-height: 1.7; padding-left: 22px; margin: 0 0 12px; }
.legal li { margin-bottom: 6px; }
.legal .legal-block { line-height: 1.9; }
.legal .legal-note { font-style: italic; color: #4b5563; }
.legal .legal-todo { background: #fff7ed; border-left: 3px solid #f59e0b; padding: 2px 6px; border-radius: 3px; }
.legal a { color: #00919a; }

/* CGU : sous-titres (h3/h4) et tableau — harmonises avec le style .legal. */
.legal h3 { font-family: 'Poppins', sans-serif; font-size: 17px; margin: 26px 0 10px; }
.legal h4 { font-family: 'Poppins', sans-serif; font-size: 15px; margin: 18px 0 8px; color: #334155; }
.legal-table { width: 100%; border-collapse: collapse; margin: 0 0 14px; font-size: 15px; }
.legal-table th, .legal-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid #e2e8f0; }
.legal-table thead th { border-bottom: 2px solid #cbd5e1; font-family: 'Poppins', sans-serif; }

/* =========================================================================
   Blog / articles (modèle de post) — réutilise la charte (tokens, polices).
   ========================================================================= */
.post { max-width: 760px; margin: 0 auto; padding: 64px 24px 8px; }
.post-eyebrow { display: inline-block; color: var(--accent-dark); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.post h1 { font-family: var(--font-display); font-size: 46px; line-height: 1.12; font-weight: 800; color: var(--heading); margin: 0 0 22px; }
.post h1 .accent { color: var(--accent-dark); }
.post-lead { font-size: 21px; line-height: 1.6; color: var(--muted); margin: 0 0 8px; }
.post h2 { font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--heading); margin: 46px 0 16px; }
.post p { font-size: 18px; line-height: 1.8; color: var(--text); margin: 0 0 20px; }
.post a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 2px; }
.post a:hover { color: var(--accent); }
.post-figure { margin: 36px 0; }
.post-figure img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-lg); display: block; }

/* Exemples d'e-mails / citations dans les articles (carte lisible et espacée) */
.post blockquote { margin: 40px 0; padding: 24px 28px; background: var(--accent-light); border-left: 4px solid var(--accent); border-radius: var(--radius); box-shadow: var(--shadow); color: var(--heading); font-size: 16px; line-height: 1.85; }
.post blockquote strong { color: var(--heading); }
@media (max-width: 560px) { .post blockquote { padding: 20px 20px; margin: 32px 0; } }

/* Fil d'Ariane (articles ET pages fonctionnalités) */
.breadcrumb { font-size: 13px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumb li { display: flex; align-items: center; gap: 6px; }
.breadcrumb li + li::before { content: "\203A"; color: var(--muted); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent-dark); text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--heading); }
/* Version « strip » en tête de page produit (hors article). */
.breadcrumb-page { padding: 16px 0 0; }

/* "Lire aussi" (pleine largeur, fond alterné) */
.post-related { background: var(--bg-alt); border-top: 1px solid var(--border); margin-top: 56px; padding: 64px 0; }
.post-related h2 { font-family: var(--font-display); font-size: 28px; text-align: center; color: var(--heading); margin: 0 0 36px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.related-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .15s ease, box-shadow .15s ease; }
.related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.related-thumb { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--accent-light), #e2e8f0); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.related-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.related-body h3 { font-family: var(--font-display); font-size: 18px; line-height: 1.3; color: var(--heading); margin: 0 0 8px; }
.related-body p { font-size: 15px; color: var(--muted); line-height: 1.6; margin: 0 0 14px; flex: 1; }
.related-more { color: var(--accent-dark); font-weight: 600; font-size: 14px; }

@media (max-width: 860px) {
  .post h1 { font-size: 34px; }
  .related-grid { grid-template-columns: 1fr; }
}

/* =========================================================================
   Blog — page liste des articles (héros + article à la une + grille).
   ========================================================================= */
.blog-hero { text-align: center; max-width: 760px; margin: 0 auto; padding: 72px 24px 4px; }
.blog-hero .post-eyebrow { margin-bottom: 14px; }
.blog-hero h1 { font-family: var(--font-display); font-size: 46px; line-height: 1.12; font-weight: 800; color: var(--heading); margin: 0 0 18px; }
.blog-hero h1 .accent { color: var(--accent-dark); }
.blog-hero p { font-size: 20px; line-height: 1.6; color: var(--muted); margin: 0; }

.blog-wrap { padding: 48px 0 80px; }

/* Article à la une */
.blog-featured { display: grid; grid-template-columns: 1.1fr 1fr; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 56px;
  text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.blog-featured:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.blog-featured-media { position: relative; min-height: 340px; background: linear-gradient(135deg, var(--accent-light), #e2e8f0);
  display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.blog-featured-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.blog-featured-body { padding: 48px; display: flex; flex-direction: column; justify-content: center; }
.blog-featured-tag { align-self: flex-start; background: var(--accent-light); color: var(--accent-dark); font-weight: 700;
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; }
.blog-featured-body h2 { font-family: var(--font-display); font-size: 32px; line-height: 1.2; color: var(--heading); margin: 0 0 16px; }
.blog-featured-body p { font-size: 17px; line-height: 1.7; color: var(--muted); margin: 0 0 24px; }
.blog-featured-more { color: var(--accent-dark); font-weight: 700; font-size: 15px; }

/* Grille d'articles */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-card-thumb { position: relative; aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--accent-light), #e2e8f0);
  display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.blog-card-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.blog-card-eyebrow { color: var(--accent-dark); font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
.blog-card-body h3 { font-family: var(--font-display); font-size: 19px; line-height: 1.3; color: var(--heading); margin: 0 0 10px; }
.blog-card-body p { font-size: 15px; color: var(--muted); line-height: 1.6; margin: 0 0 16px; flex: 1; }
.blog-card-more { color: var(--accent-dark); font-weight: 600; font-size: 14px; }
.blog-card.is-placeholder { border-style: dashed; box-shadow: none; cursor: default; }
.blog-card.is-placeholder:hover { transform: none; box-shadow: none; }
.blog-card.is-placeholder .blog-card-body h3,
.blog-card.is-placeholder .blog-card-body p { color: var(--muted); }

@media (max-width: 980px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .blog-hero h1 { font-size: 34px; }
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured-media { min-height: 220px; }
  .blog-featured-body { padding: 32px 26px; }
  .blog-grid { grid-template-columns: 1fr; }
}
