  html { scroll-behavior: smooth; }
  body {
    font-family: 'Archivo', sans-serif;
    color: #16293B;
    background: #FFFFFF;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  /* ---------- Accessibility ---------- */
  /* Skip-link visible only on focus (clavier nav) */
  .skip-link {
    position: absolute; top: -100px; left: 16px; z-index: 100;
    background: #0066B1; color: #fff; padding: 12px 18px;
    border-radius: 4px; font-weight: 600; font-size: 14px;
    text-decoration: none;
    transition: top .2s ease;
  }
  .skip-link:focus { top: 16px; outline: 2px solid #fff; outline-offset: 2px; }

  /* Focus rings cohérents fond clair ET fond sombre */
  :focus-visible {
    outline: 2px solid #0066B1;
    outline-offset: 3px;
    border-radius: 2px;
  }
  .btn:focus-visible,
  .btn-primary:focus-visible,
  .btn-outline:focus-visible {
    outline-offset: 4px;
  }
  /* Sur fond sombre, focus ring blanc + halo bleu */
  .hero-image :focus-visible,
  .expert-card :focus-visible,
  footer :focus-visible,
  #contact :focus-visible {
    outline-color: #fff;
    box-shadow: 0 0 0 4px rgba(0,102,177,0.45);
  }
  .eyebrow {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.20em;
    text-transform: uppercase;
    color: #0066B1;
  }
  @media (min-width: 768px) { .eyebrow { font-size: 14px; } }
  .eyebrow-ink { color: #16293B; opacity: 0.6; }
  .display { letter-spacing: -0.02em; line-height: 0.98; }
  .h2 { letter-spacing: -0.015em; line-height: 1.05; }
  .body-soft { color: #16293B; opacity: 0.72; }

  /* Header transitions */
  .site-header { transition: background-color .35s ease, border-color .35s ease, color .35s ease, backdrop-filter .35s ease; }
  .site-header.scrolled {
    background-color: rgba(255,255,255,0.96);
    border-bottom: 1px solid #E1E5EA;
    backdrop-filter: saturate(140%) blur(8px);
  }
  .site-header.scrolled .nav-link,
  .site-header.scrolled .brand,
  .site-header.scrolled .mobile-burger { color: #16293B; }
  .site-header.scrolled .nav-link::after { background:#16293B; }
  /* Logo swap on scroll */
  .site-header.scrolled .logo-white { display: none; }
  .site-header.scrolled .logo-grey { display: block; }

  /* Nav underline */
  .nav-link { position: relative; }
  .nav-link::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -6px;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .3s ease;
  }
  .nav-link:hover::after { transform: scaleX(1); }

  /* Buttons */
  .btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 24px; font-weight: 500; font-size: 14px;
    letter-spacing: 0.02em; border-radius: 4px;
    transition: transform .2s ease, background-color .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
    will-change: transform;
  }
  .btn:active { transform: translateY(1px); }
  .btn-primary {
    background:#0066B1; color:#fff; border:1px solid #0066B1;
  }
  .btn-primary:hover { background:#004F8A; border-color:#004F8A; }
  .btn-outline {
    background: transparent; color:#16293B; border:1px solid #16293B;
  }
  .btn-outline:hover { background:#16293B; color:#fff; }
  .btn-outline-white {
    background: transparent; color:#fff; border:1px solid #fff;
  }
  .btn-outline-white:hover { background:#fff; color:#0066B1; }
  .btn-ghost {
    color:#0066B1; padding: 6px 0; font-weight: 500; font-size: 14px;
    letter-spacing: 0.02em; display: inline-flex; align-items: center; gap: 8px;
    position: relative;
  }
  .btn-ghost .arrow { transition: transform .25s ease; }
  .btn-ghost:hover .arrow { transform: translateX(4px); }
  .btn-ghost::after {
    content:''; position: absolute; left:0; bottom:0; width:100%; height:1px;
    background:#0066B1; transform: scaleX(0); transform-origin: left center;
    transition: transform .3s ease;
  }
  .btn-ghost:hover::after { transform: scaleX(1); }

  /* Card hover */
  .offer-card, .article-card {
    transition: transform .35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .35s ease, border-color .25s ease;
  }
  .offer-card:hover, .article-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px -28px rgba(22,41,59,0.25);
    border-color: #D0D6DD;
  }

  /* Image placeholders */
  .img-ph {
    background:
      linear-gradient(135deg, rgba(22,41,59,0.06), rgba(22,41,59,0.02)),
      repeating-linear-gradient(45deg, #E8ECF0 0 8px, #EDF1F5 8px 16px);
    position: relative; overflow: hidden;
  }
  .img-ph::after {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.4), transparent 60%);
  }

  /* Hero image — real BMW photo. background-image is set inline by the template
     (front-page.php) so the homepage hero is editable via ACF. */
  .hero-image {
    background-size: cover;
    background-position: center right;
    position: relative;
    overflow: hidden;
  }
  /* Heavy dark left panel that fades cleanly into the photo (z-index 0, sits below content) */
  .hero-image::before {
    content:''; position:absolute; inset:0; z-index: 0;
    background:
      linear-gradient(95deg,
        rgba(8,14,22,0.96) 0%,
        rgba(8,14,22,0.94) 22%,
        rgba(8,14,22,0.78) 38%,
        rgba(8,14,22,0.40) 55%,
        rgba(8,14,22,0.08) 72%,
        transparent 88%),
      linear-gradient(180deg, rgba(8,14,22,0.35) 0%, transparent 18%, transparent 78%, rgba(8,14,22,0.55) 100%);
    pointer-events: none;
  }
  .hero-image > .relative { position: relative; z-index: 1; }
  /* Crisp readable text on dark wash */
  .hero-text-shadow {
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
  }

  /* Photo credit (top-right of hero) */
  .photo-credit {
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    font-weight: 500;
  }
  .photo-credit::before {
    content: ''; display: inline-block; width: 22px; height: 1px;
    background: rgba(255,255,255,0.35); vertical-align: middle; margin-right: 12px;
  }

  /* Author signature — column-style */
  .author-sig-name {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #fff;
  }
  .author-sig-role {
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    font-weight: 500;
    margin-top: 6px;
  }
  .author-sig-rule {
    width: 36px; height: 1px;
    background: rgba(255,255,255,0.6);
    margin-bottom: 14px;
  }

  /* Hero quote body — refined italic with subtle weight */
  .hero-body-quote {
    font-style: italic;
    font-weight: 300;
    color: rgba(255,255,255,0.88);
    font-size: 18px;
    line-height: 1.55;
    max-width: 560px;
  }
  @media (min-width: 1024px) {
    .hero-body-quote { font-size: 19px; }
  }

  /* Hero tab navigation — replaces slider dots */
  .hero-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border-top: 1px solid rgba(255,255,255,0.12);
    max-width: 560px;
  }
  .hero-tab {
    text-align: left;
    padding: 18px 18px 18px 0;
    cursor: pointer;
    position: relative;
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.55);
    transition: color .35s ease;
  }
  .hero-tab:not(:last-child) { padding-right: 22px; }
  .hero-tab .num {
    display: block;
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 6px;
    color: rgba(255,255,255,0.45);
    transition: color .35s ease;
  }
  .hero-tab .title {
    display: block;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.01em;
    line-height: 1.35;
    color: inherit;
  }
  .hero-tab::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    height: 1px;
    width: 24px;
    background: rgba(255,255,255,0.4);
    transition: width .55s cubic-bezier(0.16, 1, 0.3, 1), background .35s ease;
  }
  .hero-tab.active { color: #fff; }
  .hero-tab.active .num { color: #fff; }
  .hero-tab.active::before { width: 100%; background: #0066B1; }
  .hero-tab:hover:not(.active) { color: rgba(255,255,255,0.9); }
  .hero-tab:hover:not(.active) .num { color: rgba(255,255,255,0.75); }

  /* Subtle noise grain */
  .grain::before {
    content:''; position: absolute; inset:0; pointer-events:none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.5'/></svg>");
    opacity: 0.10; mix-blend-mode: overlay;
  }

  /* Scroll reveal (opacity 1 by default — IO upgrades to staggered entry) */
  .reveal { opacity: 1; transform: none; transition: opacity .9s cubic-bezier(0.16, 1, 0.3, 1), transform .9s cubic-bezier(0.16, 1, 0.3, 1); }
  .js .reveal { opacity: 0; transform: translateY(24px); }
  .js .reveal.in { opacity: 1; transform: none; }

  /* Hero slide transition — CSS Grid stack so all slides occupy the same cell (no layout jump) */
  #heroSlides { display: grid; }
  #heroSlides > .slide { grid-column: 1; grid-row: 1; opacity: 0; pointer-events: none; transition: opacity .7s ease; }
  #heroSlides > .slide.active { opacity: 1; pointer-events: auto; }

  /* FAQ */
  .faq-item summary::-webkit-details-marker { display: none; }
  .faq-item summary { list-style: none; cursor: pointer; }
  .faq-item .chev { transition: transform .35s ease; }
  .faq-item[open] .chev { transform: rotate(180deg); }
  .faq-item[open] summary { color:#0066B1; }
  .faq-answer {
    overflow:hidden; max-height: 0;
    transition: max-height .45s ease, padding .35s ease;
  }
  .faq-item[open] .faq-answer { max-height: 320px; padding-top: 16px; padding-bottom: 24px; }

  /* Form inputs */
  .field { display:flex; flex-direction:column; gap:8px; }
  .field label {
    font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
    font-weight: 600; color: rgba(255,255,255,0.7);
  }
  .field input, .field textarea {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.18);
    color: #fff;
    padding: 14px 16px;
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
    transition: border-color .2s ease, background-color .2s ease;
  }
  .field input:focus, .field textarea:focus {
    outline: none; border-color: #0066B1; background: rgba(0,102,177,0.06);
  }
  .field input::placeholder, .field textarea::placeholder {
    color: rgba(255,255,255,0.35);
  }
  /* Error state (HTML5 validation) */
  .field input:user-invalid, .field textarea:user-invalid {
    border-color: rgba(244,67,54,0.65);
    background: rgba(244,67,54,0.04);
  }
  .field input:user-invalid + .field-error,
  .field textarea:user-invalid + .field-error { display: block; }
  .field-error {
    display: none;
    font-size: 12px;
    color: rgba(244,140,140,0.95);
    margin-top: 4px;
  }
  /* Submit button loading state */
  .btn-primary[aria-busy="true"] {
    pointer-events: none;
    opacity: 0.7;
  }
  .btn-primary[aria-busy="true"]::after {
    content: '';
    width: 14px; height: 14px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    margin-left: 4px;
  }
  @keyframes spin { to { transform: rotate(360deg); } }
  .check {
    appearance:none; width:16px; height:16px; border:1px solid rgba(255,255,255,0.3);
    border-radius: 2px; background: transparent; cursor: pointer; flex-shrink: 0;
    position: relative; top: 2px;
  }
  .check:checked { background:#0066B1; border-color:#0066B1; }
  .check:checked::after {
    content:''; position: absolute; left:4px; top: 1px;
    width:5px; height:9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
  }

  /* Scroll-down indicator */
  @keyframes nudge {
    0%, 100% { transform: translateY(0); opacity: 0.4; }
    50% { transform: translateY(8px); opacity: 1; }
  }
  .scroll-nudge { animation: nudge 2.2s ease-in-out infinite; }

  /* Subtle marquee in CTA banner */
  @keyframes shimmer-pulse {
    0%, 100% { opacity: 0.18; }
    50% { opacity: 0.3; }
  }

  /* Shimmer animation for the livre blanc badge */
  @keyframes shimmer-sweep {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
  }
  .badge-shimmer {
    position: relative;
    overflow: hidden;
  }
  .badge-shimmer::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,0.18) 50%, transparent 65%);
    background-size: 200% 100%;
    animation: shimmer-sweep 4.5s ease-in-out infinite;
    pointer-events: none;
  }

  /* Header CTA: horizontal fill on hover */
  .btn-primary-fill {
    position: relative;
    background: transparent !important;
    overflow: hidden;
    z-index: 0;
  }
  .btn-primary-fill::before {
    content: '';
    position: absolute; inset: 0;
    background: #0066B1;
    z-index: -1;
    transition: transform .5s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: left center;
  }
  .btn-primary-fill::after {
    content: '';
    position: absolute; inset: 0;
    background: #004F8A;
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .5s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .btn-primary-fill:hover::after { transform: scaleX(1); }

  /* Mobile menu */
  .mobile-nav { display: none; }
  .mobile-nav.open { display: flex; }

  /* Section number badge */
  .sec-num {
    display:inline-flex; align-items:center; gap:8px;
    font-size: 11px; font-weight: 600; letter-spacing: 0.22em;
    color: #16293B; opacity: 0.4; text-transform: uppercase;
  }
  .sec-num::before {
    content: ''; width: 24px; height: 1px; background: currentColor;
  }

/* =========================================================================
 * PAGE FISCALITÉ
 * ========================================================================= */
  html { scroll-behavior: smooth; }
  body {
    font-family: 'Archivo', sans-serif;
    color: #16293B;
    background: #FFFFFF;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  /* Skip link */
  .skip-link {
    position: absolute; top: -100px; left: 16px; z-index: 100;
    background: #0066B1; color: #fff; padding: 12px 18px;
    border-radius: 4px; font-weight: 600; font-size: 14px;
    text-decoration: none; transition: top .2s ease;
  }
  .skip-link:focus { top: 16px; outline: 2px solid #fff; outline-offset: 2px; }

  :focus-visible { outline: 2px solid #0066B1; outline-offset: 3px; border-radius: 2px; }
  .hero-fiscalite :focus-visible, footer :focus-visible { outline-color: #fff; box-shadow: 0 0 0 4px rgba(0,102,177,0.45); }

  .eyebrow {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.20em;
    text-transform: uppercase;
    color: #0066B1;
  }
  @media (min-width: 768px) { .eyebrow { font-size: 14px; } }
  .display { letter-spacing: -0.02em; line-height: 0.98; }
  .h2 { letter-spacing: -0.015em; line-height: 1.05; }
  .body-soft { color: #16293B; opacity: 0.72; }

  /* Header */
  .site-header { transition: background-color .35s ease, border-color .35s ease, color .35s ease, backdrop-filter .35s ease; }
  .site-header.scrolled {
    background-color: rgba(255,255,255,0.96);
    border-bottom: 1px solid #E1E5EA;
    backdrop-filter: saturate(140%) blur(8px);
  }
  .site-header.scrolled .nav-link,
  .site-header.scrolled .brand,
  .site-header.scrolled .mobile-burger { color: #16293B; }
  .site-header.scrolled .nav-link::after { background:#16293B; }
  .site-header.scrolled .logo-white { display: none; }
  .site-header.scrolled .logo-grey { display: block; }

  .nav-link { position: relative; }
  .nav-link::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: -6px;
    height: 1px; background: currentColor;
    transform: scaleX(0); transform-origin: left center;
    transition: transform .3s ease;
  }
  .nav-link:hover::after { transform: scaleX(1); }

  /* Buttons */
  .btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; font-weight: 500; font-size: 14px; letter-spacing: 0.02em; border-radius: 4px; transition: transform .2s ease, background-color .25s ease, color .25s ease, border-color .25s ease; }
  .btn:active { transform: translateY(1px); }
  .btn-primary { background:#0066B1; color:#fff; border:1px solid #0066B1; }
  .btn-primary:hover { background:#004F8A; border-color:#004F8A; }
  .btn-outline { background: transparent; color:#16293B; border:1px solid #16293B; }
  .btn-outline:hover { background:#16293B; color:#fff; }
  .btn-outline-white { background: transparent; color:#fff; border:1px solid #fff; }
  .btn-outline-white:hover { background:#fff; color:#0066B1; }
  .btn-ghost { color:#0066B1; padding: 6px 0; font-weight: 500; font-size: 14px; letter-spacing: 0.02em; display: inline-flex; align-items: center; gap: 8px; position: relative; }
  .btn-ghost .arrow { transition: transform .25s ease; }
  .btn-ghost:hover .arrow { transform: translateX(4px); }
  .btn-ghost::after { content:''; position: absolute; left:0; bottom:0; width:100%; height:1px; background:#0066B1; transform: scaleX(0); transform-origin: left center; transition: transform .3s ease; }
  .btn-ghost:hover::after { transform: scaleX(1); }

  /* Hero — full-bleed BMW photo + dark gradient overlay.
     background-image is set inline by page-fiscalite.php (ACF-editable). */
  .hero-fiscalite {
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
  }
  .hero-fiscalite::before {
    content: ''; position: absolute; inset: 0;
    background:
      linear-gradient(95deg,
        rgba(8,14,22,0.94) 0%,
        rgba(8,14,22,0.88) 22%,
        rgba(8,14,22,0.62) 42%,
        rgba(8,14,22,0.28) 62%,
        rgba(8,14,22,0.08) 82%,
        transparent 100%),
      linear-gradient(180deg, rgba(8,14,22,0.35) 0%, transparent 18%, transparent 78%, rgba(8,14,22,0.40) 100%);
    pointer-events: none;
  }
  .hero-fiscalite > .relative { position: relative; z-index: 1; }

  /* Article typography (long-form) */
  .prose-article { color: #16293B; }
  .prose-article p {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 1.25em;
    color: rgba(22,41,59,0.85);
  }
  @media (min-width: 768px) { .prose-article p { font-size: 18px; } }
  .prose-article p strong { color: #16293B; font-weight: 600; }
  .prose-article p em { font-style: italic; color: rgba(22,41,59,0.95); }
  /* Lead paragraph (first paragraph of each section) */
  .prose-article .lead-p {
    font-size: 20px;
    line-height: 1.6;
    color: #16293B;
    font-weight: 400;
  }
  @media (min-width: 768px) { .prose-article .lead-p { font-size: 22px; } }
  .prose-article ul {
    margin: 1.5em 0;
    padding-left: 0;
    list-style: none;
  }
  .prose-article ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 0.7em;
    font-size: 17px;
    line-height: 1.65;
    color: rgba(22,41,59,0.85);
  }
  @media (min-width: 768px) { .prose-article ul li { font-size: 18px; } }
  .prose-article ul li::before {
    content: '';
    position: absolute;
    top: 13px;
    left: 0;
    width: 12px;
    height: 1px;
    background: #0066B1;
  }

  /* Chapter section — h2 with big number marker */
  .chapter {
    margin-top: 5em;
    scroll-margin-top: 100px;
  }
  .chapter:first-of-type { margin-top: 0; }
  .chapter-header {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 1.2em;
    padding-top: 1.5em;
    border-top: 1px solid #E1E5EA;
  }
  .chapter-number {
    font-family: 'Archivo', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: #0066B1;
    line-height: 1;
    padding-top: 14px;
    flex-shrink: 0;
    width: 38px;
  }
  .chapter h2 {
    font-size: 30px;
    line-height: 1.12;
    letter-spacing: -0.018em;
    font-weight: 600;
    color: #16293B;
    margin: 0;
    flex: 1;
  }
  @media (min-width: 768px) {
    .chapter h2 { font-size: 42px; }
    .chapter-number { font-size: 15px; width: 48px; padding-top: 18px; }
  }

  /* Key stat callout (inline, can float right) */
  .stat-card {
    background: linear-gradient(135deg, #F4F6F8 0%, #FFFFFF 100%);
    border: 1px solid #E1E5EA;
    border-left: 3px solid #0066B1;
    padding: 28px 32px;
    margin: 2em 0;
    border-radius: 0 6px 6px 0;
    position: relative;
  }
  .stat-card .stat-eyebrow {
    font-size: 11px;
    letter-spacing: 0.20em;
    text-transform: uppercase;
    font-weight: 600;
    color: #0066B1;
    margin-bottom: 12px;
  }
  .stat-card .stat-number {
    font-size: 56px;
    line-height: 1;
    letter-spacing: -0.025em;
    font-weight: 600;
    color: #16293B;
    margin-bottom: 12px;
    display: block;
  }
  @media (min-width: 768px) { .stat-card .stat-number { font-size: 72px; } }
  .stat-card .stat-label {
    font-size: 15px;
    line-height: 1.5;
    color: rgba(22,41,59,0.75);
    margin: 0;
  }
  .stat-card .stat-context {
    font-size: 13px;
    color: rgba(22,41,59,0.55);
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid #E1E5EA;
  }

  /* Stat grid — 3-up row */
  .stat-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 3em 0;
  }
  @media (min-width: 768px) { .stat-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
  .stat-grid .stat-card { margin: 0; }
  .stat-grid .stat-card .stat-number { font-size: 44px; }
  @media (min-width: 768px) { .stat-grid .stat-card .stat-number { font-size: 52px; } }

  /* Pull quote */
  .pull-quote {
    margin: 3.5em 0;
    padding: 0 0 0 32px;
    border-left: 3px solid #0066B1;
    position: relative;
  }
  .pull-quote .quote-text {
    font-size: 24px;
    line-height: 1.4;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: #16293B;
    font-style: italic;
    margin-bottom: 16px;
  }
  @media (min-width: 768px) { .pull-quote .quote-text { font-size: 30px; } }
  .pull-quote .quote-attribution {
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(22,41,59,0.55);
    font-weight: 600;
  }

  /* Comparison table — redesigned */
  .table-compare {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
    margin: 2em 0 3em;
    background: #fff;
    border: 1px solid #E1E5EA;
    border-radius: 6px;
    overflow: hidden;
  }
  .table-compare th,
  .table-compare td {
    text-align: left;
    padding: 18px 20px;
    vertical-align: top;
    line-height: 1.5;
    border-bottom: 1px solid #E1E5EA;
  }
  .table-compare tbody tr:last-child td { border-bottom: none; }
  .table-compare thead th {
    background: #16293B;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 600;
    color: #fff;
    border-bottom: none;
    padding: 22px 20px;
  }
  .table-compare thead th:first-child { color: rgba(255,255,255,0.6); }
  .table-compare thead th:nth-child(2) {
    background: #16293B;
    border-left: 1px solid rgba(255,255,255,0.1);
  }
  .table-compare thead th:nth-child(3) {
    background: #0066B1;
    border-left: 1px solid rgba(255,255,255,0.15);
  }
  .table-compare tbody td:first-child {
    font-weight: 600;
    color: #16293B;
    width: 32%;
    background: #F4F6F8;
    font-size: 13px;
  }
  .table-compare tbody td:nth-child(2) {
    color: rgba(22,41,59,0.78);
    border-left: 1px solid #E1E5EA;
  }
  .table-compare tbody td:nth-child(3) {
    color: #0066B1;
    font-weight: 500;
    background: rgba(0,102,177,0.03);
    border-left: 1px solid #E1E5EA;
  }
  .table-compare tbody tr:hover td:nth-child(2),
  .table-compare tbody tr:hover td:nth-child(3) { background: rgba(0,102,177,0.06); }

  /* Example callout box */
  .callout {
    background: linear-gradient(135deg, #F4F6F8 0%, #EAEEF2 100%);
    border-left: 3px solid #0066B1;
    padding: 28px 32px;
    border-radius: 0 6px 6px 0;
    margin: 2.5em 0;
  }
  .callout p { font-size: 16px; }
  .callout p:last-child { margin-bottom: 0; }

  /* "À retenir" recap card */
  .recap-card {
    background: #16293B;
    color: #fff;
    border-radius: 8px;
    padding: 36px 40px;
    margin: 4em 0 2em;
    position: relative;
    overflow: hidden;
  }
  .recap-card::before {
    content: '';
    position: absolute; inset: 0;
    background:
      radial-gradient(ellipse at top right, rgba(0,102,177,0.25), transparent 60%),
      radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1.2px);
    background-size: auto, 24px 24px;
    pointer-events: none;
  }
  .recap-card .recap-eyebrow {
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 600;
    color: #3a90d4;
    margin-bottom: 16px;
    position: relative;
  }
  .recap-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
    position: relative;
  }
  .recap-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
  }
  .recap-card ul li {
    padding: 14px 0 14px 28px;
    border-top: 1px solid rgba(255,255,255,0.12);
    font-size: 15px;
    line-height: 1.55;
    color: rgba(255,255,255,0.88);
    position: relative;
  }
  .recap-card ul li:last-child { border-bottom: 1px solid rgba(255,255,255,0.12); }
  .recap-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0; top: 14px;
    color: #3a90d4;
    font-weight: 600;
  }

  /* Sticky TOC sidebar */
  .toc-sidebar {
    position: sticky;
    top: 110px;
    align-self: start;
  }
  .toc-eyebrow {
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 600;
    color: rgba(22,41,59,0.55);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #E1E5EA;
  }
  .toc-list { list-style: none; padding: 0; margin: 0; }
  .toc-list li { margin-bottom: 14px; }
  .toc-list a {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    text-decoration: none;
    color: rgba(22,41,59,0.55);
    transition: color .25s ease;
    line-height: 1.35;
    font-size: 14px;
  }
  .toc-list a .toc-num {
    font-size: 11px;
    letter-spacing: 0.1em;
    font-weight: 600;
    color: rgba(22,41,59,0.4);
    padding-top: 2px;
    flex-shrink: 0;
    width: 22px;
    transition: color .25s ease;
  }
  .toc-list a:hover,
  .toc-list a.is-active { color: #16293B; }
  .toc-list a:hover .toc-num,
  .toc-list a.is-active .toc-num { color: #0066B1; }

  /* Article meta strip (reading time / share) */
  .article-meta {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #E1E5EA;
    font-size: 12px;
    color: rgba(22,41,59,0.55);
  }
  .article-meta strong { color: rgba(22,41,59,0.85); font-weight: 600; }

  /* FAQ — same as homepage */
  .faq-item summary::-webkit-details-marker { display: none; }
  .faq-item summary { list-style: none; cursor: pointer; }
  .faq-item .chev { transition: transform .35s ease; }
  .faq-item[open] .chev { transform: rotate(180deg); }
  .faq-item[open] summary { color:#0066B1; }
  .faq-answer { overflow:hidden; max-height: 0; transition: max-height .45s ease, padding .35s ease; }
  .faq-item[open] .faq-answer { max-height: 500px; padding-top: 16px; padding-bottom: 24px; }

  /* Reveal */
  .reveal { opacity: 1; transform: none; transition: opacity .9s cubic-bezier(0.16, 1, 0.3, 1), transform .9s cubic-bezier(0.16, 1, 0.3, 1); }
  .js .reveal { opacity: 0; transform: translateY(24px); }
  .js .reveal.in { opacity: 1; transform: none; }

  /* Mobile drawer */
  .mobile-nav { display: none; }
  .mobile-nav.open { display: flex; }

/* =========================================================================
 * PAGE OFFRES
 * ========================================================================= */
  html { scroll-behavior: smooth; }
  body { font-family: 'Archivo', sans-serif; color: #16293B; background: #FFFFFF; -webkit-font-smoothing: antialiased; }
  .skip-link { position: absolute; top: -100px; left: 16px; z-index: 100; background: #0066B1; color: #fff; padding: 12px 18px; border-radius: 4px; font-weight: 600; font-size: 14px; text-decoration: none; transition: top .2s ease; }
  .skip-link:focus { top: 16px; }
  :focus-visible { outline: 2px solid #0066B1; outline-offset: 3px; border-radius: 2px; }
  .eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.20em; text-transform: uppercase; color: #0066B1; }
  @media (min-width: 768px) { .eyebrow { font-size: 14px; } }
  .display { letter-spacing: -0.02em; line-height: 0.98; }
  .h2 { letter-spacing: -0.015em; line-height: 1.05; }
  .body-soft { color: #16293B; opacity: 0.72; }

  .site-header { transition: background-color .35s ease, border-color .35s ease, color .35s ease, backdrop-filter .35s ease; }
  .site-header.scrolled { background-color: rgba(255,255,255,0.96); border-bottom: 1px solid #E1E5EA; backdrop-filter: saturate(140%) blur(8px); }
  .site-header.scrolled .nav-link, .site-header.scrolled .brand, .site-header.scrolled .mobile-burger { color: #16293B; }
  .site-header.scrolled .nav-link::after { background:#16293B; }
  .site-header.scrolled .logo-white { display: none; }
  .site-header.scrolled .logo-grey { display: block; }
  .nav-link { position: relative; }
  .nav-link::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left center; transition: transform .3s ease; }
  .nav-link:hover::after { transform: scaleX(1); }

  .btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; font-weight: 500; font-size: 14px; letter-spacing: 0.02em; border-radius: 4px; transition: transform .2s ease, background-color .25s ease, color .25s ease, border-color .25s ease; }
  .btn:active { transform: translateY(1px); }
  .btn-primary { background:#0066B1; color:#fff; border:1px solid #0066B1; }
  .btn-primary:hover { background:#004F8A; border-color:#004F8A; }
  .btn-outline { background: transparent; color:#16293B; border:1px solid #16293B; }
  .btn-outline:hover { background:#16293B; color:#fff; }
  .btn-outline-white { background: transparent; color:#fff; border:1px solid #fff; }
  .btn-outline-white:hover { background:#fff; color:#0066B1; }
  .btn-ghost { color:#0066B1; padding: 6px 0; font-weight: 500; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; position: relative; }
  .btn-ghost .arrow { transition: transform .25s ease; }
  .btn-ghost:hover .arrow { transform: translateX(4px); }

  .offer-card { transition: transform .35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .35s ease, border-color .25s ease; }
  .offer-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -28px rgba(22,41,59,0.25); border-color: #D0D6DD; }

  /* Hero — full-bleed BMW photo + dark gradient overlay.
     The background-image is set inline by each template (or by ACF) so
     each page can use its own photo without CSS overrides. */
  .page-hero {
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
  }
  .page-hero::before {
    content: ''; position: absolute; inset: 0;
    background:
      linear-gradient(95deg,
        rgba(8,14,22,0.94) 0%,
        rgba(8,14,22,0.88) 22%,
        rgba(8,14,22,0.62) 42%,
        rgba(8,14,22,0.28) 62%,
        rgba(8,14,22,0.08) 82%,
        transparent 100%),
      linear-gradient(180deg, rgba(8,14,22,0.35) 0%, transparent 18%, transparent 78%, rgba(8,14,22,0.40) 100%);
    pointer-events: none;
  }
  .page-hero > .max-w-shell,
  .page-hero > .relative { position: relative; z-index: 1; }

  .reveal { opacity: 1; transform: none; transition: opacity .9s cubic-bezier(0.16, 1, 0.3, 1), transform .9s cubic-bezier(0.16, 1, 0.3, 1); }
  .js .reveal { opacity: 0; transform: translateY(24px); }
  .js .reveal.in { opacity: 1; transform: none; }

  .mobile-nav { display: none; }
  .mobile-nav.open { display: flex; }


/* =========================================================================
 * PAGE ACTUALITÉS
 * ========================================================================= */
  html { scroll-behavior: smooth; }
  body { font-family: 'Archivo', sans-serif; color: #16293B; background: #FFFFFF; -webkit-font-smoothing: antialiased; }
  .skip-link { position: absolute; top: -100px; left: 16px; z-index: 100; background: #0066B1; color: #fff; padding: 12px 18px; border-radius: 4px; font-weight: 600; font-size: 14px; text-decoration: none; transition: top .2s ease; }
  .skip-link:focus { top: 16px; }
  :focus-visible { outline: 2px solid #0066B1; outline-offset: 3px; border-radius: 2px; }
  .eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.20em; text-transform: uppercase; color: #0066B1; }
  @media (min-width: 768px) { .eyebrow { font-size: 14px; } }
  .display { letter-spacing: -0.02em; line-height: 0.98; }
  .h2 { letter-spacing: -0.015em; line-height: 1.05; }
  .body-soft { color: #16293B; opacity: 0.72; }

  .site-header { transition: background-color .35s ease, border-color .35s ease, color .35s ease, backdrop-filter .35s ease; }
  .site-header.scrolled { background-color: rgba(255,255,255,0.96); border-bottom: 1px solid #E1E5EA; backdrop-filter: saturate(140%) blur(8px); }
  .site-header.scrolled .nav-link, .site-header.scrolled .brand, .site-header.scrolled .mobile-burger { color: #16293B; }
  .site-header.scrolled .nav-link::after { background:#16293B; }
  .site-header.scrolled .logo-white { display: none; }
  .site-header.scrolled .logo-grey { display: block; }
  .nav-link { position: relative; }
  .nav-link::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left center; transition: transform .3s ease; }
  .nav-link:hover::after { transform: scaleX(1); }

  .btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; font-weight: 500; font-size: 14px; letter-spacing: 0.02em; border-radius: 4px; transition: transform .2s ease, background-color .25s ease, color .25s ease, border-color .25s ease; }
  .btn:active { transform: translateY(1px); }
  .btn-primary { background:#0066B1; color:#fff; border:1px solid #0066B1; }
  .btn-primary:hover { background:#004F8A; border-color:#004F8A; }
  .btn-outline { background: transparent; color:#16293B; border:1px solid #16293B; }
  .btn-outline:hover { background:#16293B; color:#fff; }
  .btn-outline-white { background: transparent; color:#fff; border:1px solid #fff; }
  .btn-outline-white:hover { background:#fff; color:#0066B1; }
  .btn-ghost { color:#0066B1; padding: 6px 0; font-weight: 500; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; }
  .btn-ghost .arrow { transition: transform .25s ease; }
  .btn-ghost:hover .arrow { transform: translateX(4px); }

  .article-card { transition: transform .35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .35s ease, border-color .25s ease; }
  .article-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -28px rgba(22,41,59,0.25); border-color: #D0D6DD; }
  .article-card:hover h3 { color: #0066B1; }

  /* Featured article (large) */
  .featured-card { transition: opacity .25s ease; }
  .featured-card:hover h2 { color: #0066B1; }
  /* (Duplicate .page-hero block removed — single definition lives near .offer-card.) */

  .reveal { opacity: 1; transform: none; transition: opacity .9s cubic-bezier(0.16, 1, 0.3, 1), transform .9s cubic-bezier(0.16, 1, 0.3, 1); }
  .js .reveal { opacity: 0; transform: translateY(24px); }
  .js .reveal.in { opacity: 1; transform: none; }

  .mobile-nav { display: none; }
  .mobile-nav.open { display: flex; }


/* =========================================================================
 * PAGE ÉVÉNEMENTS
 * ========================================================================= */
  html { scroll-behavior: smooth; }
  body { font-family: 'Archivo', sans-serif; color: #16293B; background: #FFFFFF; -webkit-font-smoothing: antialiased; }
  .skip-link { position: absolute; top: -100px; left: 16px; z-index: 100; background: #0066B1; color: #fff; padding: 12px 18px; border-radius: 4px; font-weight: 600; font-size: 14px; text-decoration: none; transition: top .2s ease; }
  .skip-link:focus { top: 16px; }
  :focus-visible { outline: 2px solid #0066B1; outline-offset: 3px; border-radius: 2px; }
  .eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.20em; text-transform: uppercase; color: #0066B1; }
  @media (min-width: 768px) { .eyebrow { font-size: 14px; } }
  .display { letter-spacing: -0.02em; line-height: 0.98; }
  .h2 { letter-spacing: -0.015em; line-height: 1.05; }
  .body-soft { color: #16293B; opacity: 0.72; }

  .site-header { transition: background-color .35s ease, border-color .35s ease, color .35s ease, backdrop-filter .35s ease; }
  .site-header.scrolled { background-color: rgba(255,255,255,0.96); border-bottom: 1px solid #E1E5EA; backdrop-filter: saturate(140%) blur(8px); }
  .site-header.scrolled .nav-link, .site-header.scrolled .brand, .site-header.scrolled .mobile-burger { color: #16293B; }
  .site-header.scrolled .nav-link::after { background:#16293B; }
  .site-header.scrolled .logo-white { display: none; }
  .site-header.scrolled .logo-grey { display: block; }
  .nav-link { position: relative; }
  .nav-link::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left center; transition: transform .3s ease; }
  .nav-link:hover::after { transform: scaleX(1); }

  .btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; font-weight: 500; font-size: 14px; letter-spacing: 0.02em; border-radius: 4px; transition: transform .2s ease, background-color .25s ease, color .25s ease, border-color .25s ease; }
  .btn:active { transform: translateY(1px); }
  .btn-primary { background:#0066B1; color:#fff; border:1px solid #0066B1; }
  .btn-primary:hover { background:#004F8A; border-color:#004F8A; }
  .btn-outline { background: transparent; color:#16293B; border:1px solid #16293B; }
  .btn-outline:hover { background:#16293B; color:#fff; }
  .btn-outline-white { background: transparent; color:#fff; border:1px solid #fff; }
  .btn-outline-white:hover { background:#fff; color:#0066B1; }
  .btn-ghost { color:#0066B1; padding: 6px 0; font-weight: 500; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; }
  .btn-ghost .arrow { transition: transform .25s ease; }
  .btn-ghost:hover .arrow { transform: translateX(4px); }

  .event-card { transition: transform .35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .35s ease, border-color .25s ease; }
  .event-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgba(22,41,59,0.25); border-color: #D0D6DD; }
  /* (Duplicate .page-hero block removed — single definition lives near .offer-card.) */

  /* ===== Timeline (frise chronologique) ===== */
  .timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
  }
  .timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0 0 80px 0;
  }
  .timeline-item:last-child { padding-bottom: 0; }

  /* Vertical line + dot on desktop */
  @media (min-width: 768px) {
    .timeline { padding-left: 64px; }
    .timeline::before {
      content: '';
      position: absolute;
      left: 22px;
      top: 8px;
      bottom: 60px;
      width: 1px;
      background: #E1E5EA;
    }
    .timeline-item {
      grid-template-columns: 360px 1fr;
      gap: 48px;
      align-items: start;
    }
    .timeline-item::before {
      content: '';
      position: absolute;
      left: -54px;
      top: 12px;
      width: 13px;
      height: 13px;
      border-radius: 50%;
      background: #fff;
      border: 2px solid #0066B1;
      box-shadow: 0 0 0 4px rgba(0,102,177,0.08);
    }
  }
  @media (min-width: 1024px) {
    .timeline-item { grid-template-columns: 400px 1fr; gap: 60px; }
  }

  .timeline-photo {
    aspect-ratio: 4 / 5;
    background-size: cover;
    background-position: center;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
  }
  .timeline-photo::after {
    content: '';
    position: absolute; inset: 0;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
    pointer-events: none;
  }

  .timeline-meta {
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 600;
    color: #0066B1;
    margin-bottom: 14px;
  }
  .timeline-title {
    font-size: 24px;
    line-height: 1.15;
    letter-spacing: -0.015em;
    font-weight: 600;
    color: #16293B;
    margin-bottom: 18px;
    max-width: 22ch;
  }
  @media (min-width: 768px) { .timeline-title { font-size: 30px; } }
  .timeline-description {
    font-size: 16px;
    line-height: 1.65;
    color: rgba(22,41,59,0.72);
    max-width: 50ch;
  }
  .timeline-tag {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    background: #F4F6F8;
    color: #16293B;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 600;
    border-radius: 3px;
    margin-bottom: 14px;
  }

  .reveal { opacity: 1; transform: none; transition: opacity .9s cubic-bezier(0.16, 1, 0.3, 1), transform .9s cubic-bezier(0.16, 1, 0.3, 1); }
  .js .reveal { opacity: 0; transform: translateY(24px); }
  .js .reveal.in { opacity: 1; transform: none; }

  .mobile-nav { display: none; }
  .mobile-nav.open { display: flex; }
