/* ═══ shared.css — tronc commun des sous-pages (tokens, reset, boutons,
   nav, breadcrumb, footer) — extrait de project.css + articles (2026-07-04).
   Les tokens couleur sont le miroir de src/style.css — SYNC-TOKENS. ═══ */
/* Styles partagés des pages projet (nav, hero, fiche, chronologie, footer) */
:root {
      --dark: #1C1A12; --cream: #FAF8F4; --white: #FFFFFF;
      --gold: #C09A52; --gold-light: rgba(192,154,82,0.12); --gold-mid: rgba(192,154,82,0.25); --gold-deep: #7E5F2E;
      --muted: #4A4640; --light: #F0ECE5;
      --border: rgba(28,26,18,0.1); --border-strong: rgba(28,26,18,0.18);
    }
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body { font-family: 'Jost', sans-serif; background: var(--cream); color: var(--dark); -webkit-font-smoothing: antialiased; }
    img { display: block; max-width: 100%; }
    a { text-decoration: none; color: inherit; }
    .btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 2px; font-family: 'Jost', sans-serif; font-size: 15px; font-weight: 500; cursor: pointer; border: none; transition: opacity 0.2s, transform 0.2s; white-space: nowrap; }
    .btn:hover { opacity: 0.85; transform: translateY(-1px); }
    .btn-gold { background: var(--gold); color: var(--dark); }
    .btn-outline { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.3); }
    .btn-outline:hover { border-color: var(--gold); color: var(--gold); }
    .btn-sm { padding: 10px 20px; font-size: 14px; }

    #nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: 68px; background: rgba(255,255,255,.97); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); }
    .nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
    .nav-logo { font-family: 'Jost', sans-serif; font-size: 20px; font-weight: 500; color: var(--dark); }
    .nav-logo span { color: var(--gold); }
    .nav-links { display: none; align-items: center; gap: 32px; list-style: none; }
    .nav-links a { font-size: 15px; color: var(--muted); transition: color 0.2s; }
    .nav-links a:hover { color: var(--dark); }
    .nav-right { display: flex; align-items: center; gap: 16px; }
    .nav-burger { display: flex; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
    .nav-burger span { display: block; width: 22px; height: 1.5px; background: var(--dark); transition: transform 0.3s, opacity 0.3s; }
    .nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
    .nav-burger.open span:nth-child(2) { opacity: 0; }
    .nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
    #nav-mobile { display: none; position: fixed; top: 68px; left: 0; right: 0; background: rgba(255,255,255,.97); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); padding: 24px; z-index: 99; flex-direction: column; gap: 4px; }
    #nav-mobile.open { display: flex; }
    #nav-mobile a { font-size: 16px; color: var(--dark); padding: 12px 0; border-bottom: 1px solid var(--border); }
    @media (min-width: 960px) { .nav-links { display: flex; } .nav-burger { display: none; } }
    /* Nav compacte sur petits écrans : le bouton « Prendre rendez-vous » est long */
    @media (max-width: 480px) {
      .nav-inner { padding: 0 14px; }
      .nav-right { gap: 8px; }
      .nav-right .btn { padding: 9px 12px; font-size: 0.8125rem; }
      .nav-logo { font-size: 18px; }
    }

    /* ── Breadcrumb ── */
    .breadcrumb-bar { position: relative; z-index: 1; background: var(--cream); border-bottom: 1px solid var(--border); padding-top: 68px; }
    .breadcrumb { max-width: 1160px; margin: 0 auto; padding: 12px 24px; font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
    .breadcrumb a { color: var(--muted); transition: color 0.2s; }
    .breadcrumb a:hover { color: var(--gold); }
    .breadcrumb-sep { opacity: 0.4; }
    .breadcrumb-current { color: var(--dark); }

    #footer { background: var(--dark); border-top: 1px solid rgba(255,255,255,.07); padding: 40px 0 28px; }
    .footer-inner { max-width: 1160px; margin: 0 auto; padding: 0 24px; display: flex; flex-direction: column; gap: 28px; }
    .footer-logo { font-family: 'Jost', sans-serif; font-size: 20px; font-weight: 500; color: var(--white); }
    .footer-logo span { color: var(--gold); }
    .footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
    .footer-links a { font-size: 13px; color: rgba(255,255,255,.35); transition: color 0.2s; }
    .footer-links a:hover { color: rgba(255,255,255,.7); }
    .footer-bottom { font-size: 12px; color: rgba(255,255,255,.22); }
    @media (min-width: 960px) { .footer-inner { flex-direction: row; justify-content: space-between; align-items: center; } }
/* SYNC-TOKENS — miroir de src/style.css :root (motion) */
:root {
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-1: 0.25s; --dur-2: 0.55s; --dur-3: 0.95s;
}
/* Étalonnage or/chaud commun (identique à la home) */
.article-hero img, .project-hero img, .la-card-img img,
.other-card-img img, .aa-item img, .article-body img {
  filter: sepia(0.10) saturate(0.94) contrast(1.03);
}
/* Soulignés or animés (identique à la home) */
.nav-links a { position: relative; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-1) var(--ease-out);
}
.nav-links a:hover::after { transform: scaleX(1); }
