/*
 * ComDesMariés — Main CSS v2.0
 * Minimaliste éditorial | Mobile-first | CLS/INP optimisé
 * Palette : Blanc #fff · Noir doux #1A1A1A · Accent #C8645A
 * Typo : Playfair Display (titres) · Inter (corps)
 */

/* ═══════════════════════════════════════════════
   0. VARIABLES & RESET
═══════════════════════════════════════════════ */

:root {
  /* Couleurs */
  --c-bg:        #ffffff;
  --c-text:      #1a1a1a;
  --c-text-soft: #555555;
  --c-text-mute: #888888;
  --c-accent:    #c8645a;
  --c-accent-h:  #b0534a;   /* hover */
  --c-border:    #ebebeb;
  --c-surface:   #f8f8f8;
  --c-surface-2: #f2f2f2;

  /* Typo */
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:  'Inter', system-ui, -apple-system, sans-serif;

  /* Espacements */
  --gap-xs:  .5rem;
  --gap-sm:  1rem;
  --gap-md:  1.5rem;
  --gap-lg:  2.5rem;
  --gap-xl:  4rem;

  /* Conteneurs */
  --w-content: 680px;   /* colonnes lecture */
  --w-wide:    980px;   /* grilles */
  --w-full:    1140px;  /* full layout */

  /* Transitions */
  --tr: .2s ease;

  /* Header */
  --header-h: 60px;
}

/* Reset — zéro marge parasite, CLS zéro */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--tr);
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* Accessible focus */
:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--c-accent);
  color: #fff;
  padding: .5rem 1rem;
  font-size: .875rem;
  z-index: 9999;
  transition: top var(--tr);
}
.skip-link:focus { top: 1rem; }

/* ═══════════════════════════════════════════════
   1. CONTENEURS
═══════════════════════════════════════════════ */

.container {
  width: 100%;
  max-width: var(--w-full);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

@media (min-width: 768px) {
  .container { padding-inline: 2rem; }
}

/* ═══════════════════════════════════════════════
   2. HEADER
═══════════════════════════════════════════════ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-border);
  height: var(--header-h);
}

.header-inner {
  max-width: var(--w-full);
  margin-inline: auto;
  padding-inline: 1.25rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--gap-sm);
}

/* Nom du site */
.site-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c-text);
  white-space: nowrap;
  flex-shrink: 0;
}

.site-name:hover { color: var(--c-accent); }

/* Logo custom */
.site-branding .custom-logo-link img {
  height: 36px;
  width: auto;
}

/* Nav desktop */
.site-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: .25rem;
}

.nav-menu a {
  font-size: .875rem;
  font-weight: 400;
  color: var(--c-text-soft);
  padding: .4rem .75rem;
  border-radius: 4px;
  transition: color var(--tr), background var(--tr);
  white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu .current-menu-item > a {
  color: var(--c-text);
  background: var(--c-surface);
}

/* Actions header */
.header-actions {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-left: auto;
}

.search-toggle,
.nav-toggle {
  background: none;
  border: none;
  padding: .4rem;
  color: var(--c-text-soft);
  display: flex;
  align-items: center;
  border-radius: 4px;
  transition: color var(--tr), background var(--tr);
}

.search-toggle:hover,
.nav-toggle:hover {
  color: var(--c-text);
  background: var(--c-surface);
}

/* Burger — mobile seulement */
.burger {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  position: relative;
}
.burger::before,
.burger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform var(--tr);
}
.burger::before { top: -6px; }
.burger::after  { top:  6px; }

.nav-toggle[aria-expanded="true"] .burger { background: transparent; }
.nav-toggle[aria-expanded="true"] .burger::before { transform: rotate(45deg) translate(4px, 4px); }
.nav-toggle[aria-expanded="true"] .burger::after  { transform: rotate(-45deg) translate(4px, -4px); }

/* Mobile nav */
@media (max-width: 767px) {
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--c-bg);
    flex-direction: column;
    justify-content: flex-start;
    padding: var(--gap-lg) var(--gap-md);
    transform: translateX(-100%);
    transition: transform .3s ease;
    z-index: 99;
    overflow-y: auto;
  }
  .site-nav.is-open { transform: translateX(0); }
  .nav-menu { flex-direction: column; align-items: flex-start; gap: 0; width: 100%; }
  .nav-menu a { font-size: 1.25rem; padding: .875rem 0; border-bottom: 1px solid var(--c-border); border-radius: 0; width: 100%; }
}

@media (min-width: 768px) {
  .nav-toggle { display: none; }
  .header-inner { padding-inline: 2rem; }
}

/* Overlay recherche */
.search-overlay {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-border);
  padding: var(--gap-sm) 1.25rem;
  z-index: 98;
}

.search-overlay .search-form {
  display: flex;
  max-width: 600px;
  margin-inline: auto;
}

.search-overlay .search-field {
  flex: 1;
  border: 1px solid var(--c-border);
  border-right: none;
  padding: .625rem 1rem;
  font-size: .9rem;
  font-family: var(--font-sans);
  border-radius: 4px 0 0 4px;
  outline: none;
  background: var(--c-surface);
}

.search-overlay .search-submit {
  background: var(--c-accent);
  color: #fff;
  border: none;
  padding: .625rem 1.25rem;
  font-size: .875rem;
  font-weight: 500;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  transition: background var(--tr);
}
.search-overlay .search-submit:hover { background: var(--c-accent-h); }

/* ═══════════════════════════════════════════════
   3. BOUTONS
═══════════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  font-family: var(--font-sans);
  font-size: .875rem;
  font-weight: 500;
  padding: .625rem 1.375rem;
  border-radius: 4px;
  border: 1.5px solid transparent;
  transition: all var(--tr);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--c-accent);
  color: #fff;
  border-color: var(--c-accent);
}
.btn-primary:hover { background: var(--c-accent-h); border-color: var(--c-accent-h); color: #fff; }

.btn-outline {
  background: transparent;
  color: var(--c-text);
  border-color: var(--c-border);
}
.btn-outline:hover { border-color: var(--c-text); }

/* ═══════════════════════════════════════════════
   4. SECTION HEADS
═══════════════════════════════════════════════ */

.section-head {
  text-align: center;
  margin-bottom: var(--gap-lg);
}

.section-head--row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  text-align: left;
  margin-bottom: var(--gap-md);
}

.section-eyebrow {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: .5rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--c-text);
  margin-bottom: .5rem;
}

.section-sub {
  font-size: .9375rem;
  color: var(--c-text-soft);
  max-width: 56ch;
  margin-inline: auto;
  line-height: 1.6;
}

.section-more {
  font-size: .875rem;
  font-weight: 500;
  color: var(--c-accent);
  white-space: nowrap;
  flex-shrink: 0;
}
.section-more:hover { color: var(--c-accent-h); }

/* ═══════════════════════════════════════════════
   5. CARTES ARTICLE
═══════════════════════════════════════════════ */

.article-card {
  display: flex;
  flex-direction: column;
  background: var(--c-bg);
}

/* Vignette */
.card-thumb-link { display: block; overflow: hidden; border-radius: 6px; }

.card-thumb {
  /* CLS : hauteur réservée selon le ratio */
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--c-surface-2);
}

.card-thumb--placeholder { aspect-ratio: 3 / 2; }

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.card-thumb-link:hover .card-img { transform: scale(1.04); }

/* Corps */
.card-body { padding: var(--gap-sm) 0 0; display: flex; flex-direction: column; flex: 1; }

.card-cat {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: .4rem;
  display: inline-block;
}
.card-cat:hover { color: var(--c-accent-h); }

.card-title {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--c-text);
  margin-bottom: .5rem;
}

.card-title a:hover { color: var(--c-accent); }

.card-excerpt {
  font-size: .875rem;
  color: var(--c-text-soft);
  line-height: 1.55;
  margin-bottom: .75rem;
  flex: 1;
}

/* Méta */
.card-meta {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: auto;
  padding-top: .75rem;
  border-top: 1px solid var(--c-border);
  flex-wrap: wrap;
}

.card-author {
  display: flex;
  align-items: center;
  gap: .375rem;
  font-size: .78rem;
  color: var(--c-text-soft);
}

.card-author .cdm-avatar {
  width: 24px !important;
  height: 24px !important;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.card-date,
.card-read {
  font-size: .78rem;
  color: var(--c-text-mute);
}

.card-date::before { content: '·'; margin-right: .5rem; color: var(--c-border); }

/* Variante featured */
.article-card--featured {
  margin-bottom: var(--gap-lg);
}

@media (min-width: 640px) {
  .article-card--featured {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--gap-lg);
    align-items: center;
  }
  .article-card--featured .card-thumb { aspect-ratio: 4 / 3; }
  .article-card--featured .card-body { padding: 0; }
  .article-card--featured .card-title { font-size: clamp(1.35rem, 3vw, 1.8rem); }
}

/* Variante list */
.article-card--list {
  flex-direction: row;
  gap: var(--gap-sm);
  padding: var(--gap-sm) 0;
  border-bottom: 1px solid var(--c-border);
}

.article-card--list .card-thumb-link { flex-shrink: 0; width: 100px; }
.article-card--list .card-thumb      { aspect-ratio: 3 / 2; border-radius: 4px; }
.article-card--list .card-body       { padding: 0; }
.article-card--list .card-title      { font-size: .9375rem; }
.article-card--list .card-excerpt    { display: none; }

/* ═══════════════════════════════════════════════
   6. HOME — HERO
═══════════════════════════════════════════════ */

.home-hero {
  padding: clamp(3rem, 8vw, 5rem) 0 clamp(2rem, 5vw, 3.5rem);
  text-align: center;
  border-bottom: 1px solid var(--c-border);
}

.hero-content { max-width: 640px; margin-inline: auto; }

.hero-eyebrow {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 1rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 7vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--c-text);
  margin-bottom: 1.25rem;
}

.hero-title em { font-style: italic; color: var(--c-accent); }

.hero-desc {
  font-size: clamp(.9rem, 2.5vw, 1.0625rem);
  color: var(--c-text-soft);
  line-height: 1.7;
  max-width: 52ch;
  margin: 0 auto 2rem;
}

.hero-topics {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
}

.topic-pill {
  font-size: .78rem;
  font-weight: 500;
  padding: .35rem .875rem;
  border: 1px solid var(--c-border);
  border-radius: 20px;
  color: var(--c-text-soft);
  transition: all var(--tr);
}

.topic-pill:hover {
  border-color: var(--c-accent);
  color: var(--c-accent);
  background: rgba(200,100,90,.06);
}

/* ═══════════════════════════════════════════════
   7. HOME — OUTILS IA
═══════════════════════════════════════════════ */

.home-tools {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  background: var(--c-surface);
}

.tools-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 860px;
  margin-inline: auto;
}

@media (min-width: 640px) {
  .tools-grid { grid-template-columns: 1fr 1fr; }
}

/* Card outil */
.tool-card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow var(--tr), transform var(--tr);
  position: relative;
}

.tool-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,.08);
  transform: translateY(-2px);
}

/* Accent barre top */
.tool-card-accent {
  height: 3px;
  background: var(--c-accent);
}

.tool-card--playlist .tool-card-accent {
  background: linear-gradient(90deg, #c8645a, #d4a06a);
}

.tool-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .875rem;
}

.tool-badge {
  display: inline-block;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .2rem .6rem;
  border-radius: 3px;
  background: rgba(200,100,90,.1);
  color: var(--c-accent);
  align-self: flex-start;
}

.tool-badge--alt {
  background: rgba(212,160,106,.12);
  color: #9a6e3a;
}

.tool-icon {
  font-size: 2.25rem;
  line-height: 1;
}

.tool-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--c-text);
  line-height: 1.25;
}

.tool-desc {
  font-size: .9rem;
  color: var(--c-text-soft);
  line-height: 1.6;
}

.tool-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .3rem;
}

.tool-features li {
  font-size: .82rem;
  color: var(--c-text-soft);
  padding-left: 1.125rem;
  position: relative;
}

.tool-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--c-accent);
  font-weight: 700;
  font-size: .75rem;
}

/* Stats */
.tool-stats {
  display: flex;
  gap: 1.25rem;
  padding: .875rem;
  background: var(--c-surface);
  border-radius: 6px;
}

.tool-stat {
  font-size: .78rem;
  color: var(--c-text-mute);
  display: flex;
  flex-direction: column;
  gap: .1rem;
}

.tool-stat b {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--c-text);
  line-height: 1;
}

/* CTA outil */
.tool-cta {
  display: block;
  text-align: center;
  background: var(--c-accent);
  color: #fff;
  font-size: .875rem;
  font-weight: 500;
  padding: .75rem 1.5rem;
  border-radius: 4px;
  transition: background var(--tr);
  text-decoration: none;
}

.tool-cta:hover { background: var(--c-accent-h); color: #fff; }

.tool-cta--alt {
  background: #1a1a1a;
}
.tool-cta--alt:hover { background: #333; }

.tools-trust {
  text-align: center;
  font-size: .78rem;
  color: var(--c-text-mute);
  margin-top: 1.5rem;
}

/* ═══════════════════════════════════════════════
   8. HOME — ARTICLES FEATURED
═══════════════════════════════════════════════ */

.home-featured {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.featured-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 560px) {
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .featured-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ═══════════════════════════════════════════════
   9. HOME — ÉQUIPE EEAT
═══════════════════════════════════════════════ */

.home-team {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 560px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Card team */
.team-card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: 8px;
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.team-avatar .cdm-avatar,
.team-avatar img {
  width: 64px !important;
  height: 64px !important;
  border-radius: 50% !important;
  object-fit: cover;
  border: 2px solid var(--c-border);
  flex-shrink: 0;
}

.team-info { flex: 1; min-width: 0; }

.team-role {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-accent);
  display: block;
  margin-bottom: .25rem;
}

.team-name {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: .5rem;
  line-height: 1.2;
}

.team-name a { color: var(--c-text); }
.team-name a:hover { color: var(--c-accent); }

.team-bio {
  font-size: .85rem;
  color: var(--c-text-soft);
  line-height: 1.55;
  margin-bottom: .625rem;
}

.team-link {
  font-size: .8rem;
  font-weight: 500;
  color: var(--c-accent);
}
.team-link:hover { color: var(--c-accent-h); }

/* ═══════════════════════════════════════════════
   10. HOME — LATEST
═══════════════════════════════════════════════ */

.home-latest {
  padding: clamp(2rem, 5vw, 3.5rem) 0;
}

.latest-list {
  border-top: 1px solid var(--c-border);
}

.home-more-link {
  margin-top: 2rem;
  text-align: center;
}

/* ═══════════════════════════════════════════════
   11. HOME — SEO
═══════════════════════════════════════════════ */

.home-seo {
  padding: clamp(2rem, 5vw, 3.5rem) 0;
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
}

.seo-block { max-width: var(--w-wide); margin-inline: auto; }

.seo-title {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-weight: 700;
  margin-bottom: var(--gap-md);
  color: var(--c-text);
}

.seo-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-md);
}

@media (min-width: 640px) {
  .seo-cols { grid-template-columns: repeat(3, 1fr); }
}

.seo-cols h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: .5rem;
  color: var(--c-text);
}

.seo-cols p {
  font-size: .875rem;
  color: var(--c-text-soft);
  line-height: 1.65;
}

.seo-cols a { color: var(--c-accent); text-decoration: underline; text-underline-offset: 2px; }

/* ═══════════════════════════════════════════════
   12. ARCHIVES
═══════════════════════════════════════════════ */

.archive-header {
  padding: clamp(2rem, 5vw, 3rem) 0 var(--gap-lg);
  border-bottom: 1px solid var(--c-border);
  margin-bottom: var(--gap-lg);
}

.archive-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: .5rem;
}

.archive-desc {
  font-size: .9375rem;
  color: var(--c-text-soft);
  margin-top: .5rem;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  padding-bottom: var(--gap-lg);
}

/* ═══════════════════════════════════════════════
   13. PAGINATION
═══════════════════════════════════════════════ */

.pagination-wrap {
  padding: var(--gap-lg) 0;
  text-align: center;
}

.pagination-wrap .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 .5rem;
  border: 1px solid var(--c-border);
  border-radius: 4px;
  font-size: .875rem;
  color: var(--c-text-soft);
  margin: 0 .2rem;
  transition: all var(--tr);
  text-decoration: none;
}

.pagination-wrap .page-numbers:hover,
.pagination-wrap .page-numbers.current {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: #fff;
}

/* ═══════════════════════════════════════════════
   14. PAGES STATIQUES
═══════════════════════════════════════════════ */

.page-main { padding: clamp(2rem, 5vw, 3.5rem) 0 4rem; }

.page-container {
  max-width: var(--w-content);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.page-header { margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--c-border); }

.page-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--c-text);
}

/* Contenu riche pages */
.page-content { line-height: 1.75; }
.page-content h2 { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700; margin: 2rem 0 .75rem; }
.page-content h3 { font-family: var(--font-serif); font-size: 1.2rem; font-weight: 700; margin: 1.5rem 0 .5rem; }
.page-content p  { font-size: .9375rem; color: var(--c-text-soft); margin-bottom: 1.25rem; }
.page-content ul, .page-content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.page-content li { font-size: .9375rem; color: var(--c-text-soft); margin-bottom: .4rem; }
.page-content strong { color: var(--c-text); font-weight: 600; }
.page-content a { color: var(--c-accent); text-decoration: underline; text-underline-offset: 2px; }

/* ═══════════════════════════════════════════════
   15. BREADCRUMB
═══════════════════════════════════════════════ */

.cdm-breadcrumb { margin-bottom: 1rem; }

.cdm-breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .25rem;
  font-size: .75rem;
  color: var(--c-text-mute);
}

.cdm-breadcrumb li { display: flex; align-items: center; gap: .25rem; }
.cdm-breadcrumb li:not(:last-child)::after { content: '/'; opacity: .4; }
.cdm-breadcrumb a { color: var(--c-text-mute); text-decoration: none; }
.cdm-breadcrumb a:hover { color: var(--c-accent); }
.cdm-breadcrumb .current { color: var(--c-text-soft); font-weight: 500; }

/* ═══════════════════════════════════════════════
   16. FOOTER
═══════════════════════════════════════════════ */

.site-footer {
  background: var(--c-text);
  color: rgba(255,255,255,.85);
}

.footer-inner {
  max-width: var(--w-full);
  margin-inline: auto;
  padding: clamp(2.5rem, 6vw, 4rem) 1.25rem clamp(2rem, 4vw, 3rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; }
}

/* Marque footer */
.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  display: inline-block;
  margin-bottom: .875rem;
}

.footer-desc {
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.footer-socials {
  display: flex;
  gap: .625rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.6);
  transition: all var(--tr);
}

.social-link:hover {
  border-color: var(--c-accent);
  color: var(--c-accent);
  background: rgba(200,100,90,.1);
}

/* Colonnes footer */
.footer-col-title {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: .875rem;
}

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

.footer-links a {
  font-size: .875rem;
  color: rgba(255,255,255,.6);
  transition: color var(--tr);
}
.footer-links a:hover { color: #fff; }

/* Footer bottom */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
}

.footer-bottom-inner {
  max-width: var(--w-full);
  margin-inline: auto;
  padding: 1.25rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}

.footer-copy,
.footer-legal { font-size: .78rem; color: rgba(255,255,255,.35); }
.footer-legal a { color: rgba(255,255,255,.35); text-decoration: none; }
.footer-legal a:hover { color: rgba(255,255,255,.7); }
.footer-legal span { margin: 0 .375rem; }

/* ═══════════════════════════════════════════════
   17. ERREUR 404
═══════════════════════════════════════════════ */

.error-page {
  text-align: center;
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.error-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.error-desc {
  font-size: 1rem;
  color: var(--c-text-soft);
  margin-bottom: 2rem;
}

/* ═══════════════════════════════════════════════
   18. AVATARS
═══════════════════════════════════════════════ */

.cdm-avatar {
  display: block;
  border-radius: 50%;
  object-fit: cover;
}

/* ═══════════════════════════════════════════════
   19. PLACEHOLDER
═══════════════════════════════════════════════ */

.cdm-placeholder {
  background: var(--c-surface-2);
  border-radius: 6px;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 3 / 2;
}

.cdm-placeholder svg { width: 100%; height: 100%; }

/* ═══════════════════════════════════════════════
   20. ACCESSIBILITÉ & PRINT
═══════════════════════════════════════════════ */

.screen-reader-text {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

@media print {
  .site-header, .site-footer, .home-tools,
  .share-btn, .nav-toggle, .search-toggle { display: none; }
}

/* ═══════════════════════════════════════════════
   21. RESPONSIVE EXTRAS
═══════════════════════════════════════════════ */

@media (max-width: 480px) {
  .tool-stats { flex-direction: column; gap: .5rem; }
  .article-card--list .card-thumb-link { width: 80px; }
  .team-card { flex-direction: column; }
}
