:root {
    --ink: #152820;
    --ink-soft: #3f4f46;
    --forest: #1b4a38;
    --forest-mid: #246348;
    --forest-deep: #0e2a1f;
    --gold: #a67c3d;
    --gold-soft: #c4a06a;
    --cream: #f1eee8;
    --paper: #faf8f4;
    --mist: #e9e9e6;
    --line: #d5d0c6;
    --white: #fffcf7;
    --radius: 2px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --nav-h: 72px;
  }

  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    margin: 0;
    font-family: "Source Sans 3", system-ui, sans-serif;
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
  }
  img { max-width: 100%; display: block; }
  a { color: inherit; }
  button { font: inherit; cursor: pointer; border: none; background: none; }
  h1, h2, h3 {
    font-family: Fraunces, Georgia, serif;
    font-weight: 600;
    line-height: 1.15;
    color: var(--ink);
    margin: 0;
  }
  p { margin: 0; }

  .grain {
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    opacity: 0.04;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  }

  .site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(20px, 4vw, 48px);
    background: color-mix(in srgb, var(--cream) 82%, transparent);
    backdrop-filter: blur(16px) saturate(1.2);
    border-bottom: 1px solid transparent;
    transition: border-color 0.35s var(--ease), background 0.35s, box-shadow 0.35s;
  }
  .site-nav.scrolled {
    border-bottom-color: var(--line);
    box-shadow: 0 8px 28px -20px rgba(15, 28, 22, 0.35);
  }
  .brand {
    font-family: Fraunces, Georgia, serif;
    font-size: 1.18rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: -0.02em;
    color: var(--ink);
  }
  .brand span { color: var(--gold); }
  .nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .nav-links a, .nav-links button.nav-item {
    display: inline-flex;
    padding: 8px 11px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--ink-soft);
    text-decoration: none;
    position: relative;
    transition: color 0.25s;
  }
  .nav-links a:hover, .nav-links button.nav-item:hover,
  .nav-links a.active, .nav-links button.nav-item.active {
    color: var(--ink);
  }
  .nav-links button.nav-item.active::after,
  .nav-links a.active::after {
    content: "";
    position: absolute;
    left: 11px;
    right: 11px;
    bottom: 4px;
    height: 1.5px;
    background: var(--gold);
    transform-origin: left;
    animation: lineIn 0.35s var(--ease) both;
  }
  @keyframes lineIn {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
  }
  .nav-cta {
    margin-left: 10px;
    background: var(--forest) !important;
    color: var(--white) !important;
    padding: 10px 18px !important;
    border-radius: 999px !important;
    font-weight: 600 !important;
  }
  .nav-cta:hover { background: var(--forest-deep) !important; }
  .nav-cta.active::after { display: none !important; }
  .nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
  }
  .nav-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--ink);
    transition: transform 0.3s var(--ease), opacity 0.2s;
  }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  @media (max-width: 920px) {
    .nav-toggle { display: flex; }
    .nav-links {
      position: fixed;
      inset: var(--nav-h) 0 auto 0;
      flex-direction: column;
      align-items: stretch;
      padding: 16px 20px 28px;
      background: var(--paper);
      border-bottom: 1px solid var(--line);
      transform: translateY(-120%);
      opacity: 0;
      pointer-events: none;
      transition: transform 0.4s var(--ease), opacity 0.3s;
    }
    .nav-links.open {
      transform: translateY(0);
      opacity: 1;
      pointer-events: auto;
    }
    .nav-cta { margin: 12px 0 0; text-align: center; justify-content: center; }
    .nav-links button.nav-item.active::after { display: none; }
  }

  .page { display: none; animation: rise 0.6s var(--ease) both; }
  .page.active { display: block; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
  }
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: none; }
  }
  @keyframes ken {
    from { transform: scale(1.08); }
    to { transform: scale(1); }
  }
  .reveal { animation: fadeUp 0.85s var(--ease) both; }
  .reveal-d1 { animation-delay: 0.1s; }
  .reveal-d2 { animation-delay: 0.2s; }
  .reveal-d3 { animation-delay: 0.32s; }

  .inview {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  }
  .inview.is-visible {
    opacity: 1;
    transform: none;
  }
  /* Keep above-the-fold content readable even if IO is slow */
  .page.active > .hero-home,
  .page.active > .page-hero {
    opacity: 1 !important;
    transform: none !important;
  }

  .wrap {
    width: min(1140px, calc(100% - 40px));
    margin-inline: auto;
  }
  .wrap-narrow { width: min(720px, calc(100% - 40px)); margin-inline: auto; }

  .eyebrow {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
  }

  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 28px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform 0.3s var(--ease), background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.3s;
  }
  .btn:hover { transform: translateY(-2px); }
  .btn-primary {
    background: var(--forest);
    color: var(--white);
    box-shadow: 0 10px 28px -16px rgba(15, 28, 22, 0.55);
  }
  .btn-primary:hover { background: var(--forest-deep); }
  .btn-ghost {
    background: transparent;
    color: var(--ink);
    border: 1.5px solid var(--forest);
  }
  .btn-ghost:hover { background: var(--forest); color: var(--white); }
  .btn-gold {
    background: var(--gold);
    color: var(--white);
    box-shadow: 0 12px 30px -14px rgba(154, 111, 53, 0.65);
  }
  .btn-gold:hover { background: #855e2c; }
  .btn-light {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,252,246,0.45);
  }
  .btn-light:hover { background: var(--white); color: var(--ink); }

  .link-arrow {
    color: var(--forest);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .link-arrow::after { content: "?"; transition: transform 0.25s var(--ease); }
  .link-arrow:hover::after { transform: translateX(5px); }

  /* Accueil ? effet premium discret : catch-light + profondeur */
  .hero-home {
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    padding: clamp(56px, 9vw, 100px) 0 clamp(48px, 7vw, 72px);
    background:
      radial-gradient(ellipse 90% 65% at 100% 0%, rgba(196, 160, 106, 0.14), transparent 52%),
      linear-gradient(165deg, #071a14 0%, #123528 42%, #1b4a38 78%, #154032 100%);
    box-shadow:
      inset 0 1px 0 rgba(255, 252, 247, 0.4),
      inset 0 48px 80px rgba(255, 252, 247, 0.12),
      inset 0 -72px 100px rgba(7, 26, 20, 0.72);
    color: var(--white);
  }
  .hero-home::before,
  .hero-home::after {
    display: none;
  }
  .hero-copy {
    position: relative;
    z-index: 2;
    width: min(1140px, calc(100% - 40px));
    margin-inline: auto;
    padding: 0;
    background: none;
    color: #fffcf7;
  }
  .hero-copy::before,
  .hero-copy::after {
    display: none;
  }
  .hero-media { display: none !important; }
  .hero-brand {
    font-family: Fraunces, Georgia, serif;
    font-size: clamp(2.4rem, 5.5vw, 3.6rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 18px;
    color: #fffcf7;
  }
  .hero-brand em { font-style: normal; color: var(--gold-soft); }
  .hero-lead {
    font-size: 1.15rem;
    max-width: 48ch;
    color: rgba(255,252,247,0.86);
    margin-bottom: 28px;
    line-height: 1.55;
  }
  .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
  .hero-meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.78rem; font-weight: 600; }
  .hero-meta span {
    padding: 7px 12px;
    border: 1px solid rgba(255,252,247,0.22);
    border-radius: 999px;
    background: rgba(15,28,22,0.4);
    backdrop-filter: blur(8px);
  }

  .page-hero {
    position: relative;
    padding: clamp(56px, 9vw, 100px) 0 clamp(48px, 7vw, 72px);
    background:
      radial-gradient(ellipse 70% 80% at 100% 0%, rgba(166,124,61,0.09), transparent 50%),
      linear-gradient(165deg, #eceae6 0%, var(--cream) 55%, var(--paper) 100%);
    overflow: hidden;
  }
  .page-hero .wrap { position: relative; z-index: 1; }
  .page-hero h1 {
    font-size: clamp(2rem, 4.5vw, 3.15rem);
    max-width: 16ch;
    margin-bottom: 18px;
    letter-spacing: -0.02em;
  }
  .page-hero .lead {
    font-size: 1.15rem;
    color: var(--ink-soft);
    max-width: 48ch;
    margin-bottom: 28px;
  }

  .section { padding: clamp(64px, 10vw, 110px) 0; }
  #interventions { scroll-margin-top: var(--nav-h); }
  .section-tight { padding: clamp(48px, 7vw, 72px) 0; }
  .section-paper { background: var(--paper); }
  .section-mist {
    background: linear-gradient(180deg, #ececea 0%, var(--mist) 100%);
  }
  .section-ink {
    position: relative;
    background:
      radial-gradient(ellipse 60% 80% at 80% 20%, rgba(166,124,61,0.2), transparent 55%),
      linear-gradient(145deg, #0e2a1f 0%, #1b4a38 100%);
    color: rgba(255,252,247,0.88);
    overflow: hidden;
  }
  .section-ink h2, .section-ink h3 { color: var(--white); }
  .section-title {
    font-size: clamp(1.6rem, 3.1vw, 2.15rem);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
  }
  .section-intro {
    color: var(--ink-soft);
    max-width: 58ch;
    margin-bottom: 44px;
  }

  .grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(28px, 4vw, 44px);
  }
  .grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 36px;
  }
  .grid-about {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(36px, 5vw, 64px);
    align-items: center;
  }
  @media (max-width: 800px) {
    .grid-3, .grid-2, .grid-about { grid-template-columns: 1fr; }
  }

  .motif {
    font-family: Fraunces, Georgia, serif;
    font-size: 0.84rem;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 10px;
  }
  .motif-block {
    position: relative;
    padding-left: 18px;
  }
  .motif-block::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 2px;
    background: linear-gradient(to bottom, var(--gold), transparent);
  }
  .motif-block h3 {
    font-family: "Source Sans 3", sans-serif;
    font-size: 1.18rem;
    font-weight: 700;
    margin-bottom: 10px;
  }
  .motif-block p { color: var(--ink-soft); font-size: 0.98rem; }

  .service-tile {
    padding: 30px 0;
    border-top: 1px solid var(--line);
    transition: padding-left 0.35s var(--ease);
  }
  .service-tile:hover { padding-left: 10px; }
  .service-tile:last-child { border-bottom: 1px solid var(--line); }
  .service-tile h3 {
    font-size: 1.38rem;
    margin-bottom: 8px;
  }
  .service-tile p {
    color: var(--ink-soft);
    margin-bottom: 14px;
    max-width: 52ch;
  }

  .split-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
  @media (max-width: 700px) { .split-list { grid-template-columns: 1fr; gap: 32px; } }
  .split-list ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .split-list li {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink-soft);
    font-size: 0.98rem;
  }
  .split-list li strong { color: var(--ink); font-weight: 600; }

  .portrait {
    border-radius: 3px;
    overflow: hidden;
    aspect-ratio: 4/5;
    background: var(--mist);
    box-shadow:
      0 4px 8px -4px rgba(15,28,22,0.15),
      0 28px 56px -32px rgba(15,28,22,0.5);
    position: relative;
  }
  .portrait::after {
    content: "";
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 0 1px rgba(255,252,246,0.12);
    pointer-events: none;
  }
  .portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease);
  }
  .portrait:hover img { transform: scale(1.03); }

  .stat-row {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    margin: 24px 0;
  }
  .stat strong {
    display: block;
    font-family: Fraunces, Georgia, serif;
    font-size: 2.15rem;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 6px;
  }
  .stat span { font-size: 0.88rem; color: var(--ink-soft); }

  .chips { display: flex; flex-wrap: wrap; gap: 10px; }
  .chip {
    padding: 9px 16px;
    background: rgba(255,252,246,0.55);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background 0.25s, border-color 0.25s;
  }
  .chip:hover {
    background: var(--paper);
    border-color: var(--gold-soft);
  }

  .steps {
    counter-reset: step;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
  }
  .steps-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 920px;
    margin-inline: auto;
    text-align: center;
  }
  .steps-2 .step::before {
    margin-inline: auto;
  }
  @media (max-width: 800px) {
    .steps,
    .steps-2 { grid-template-columns: 1fr; gap: 28px; }
  }
  .step {
    position: relative;
    padding: 8px 0 0 0;
  }
  .step::before {
    counter-increment: step;
    content: "0" counter(step);
    font-family: Fraunces, Georgia, serif;
    font-size: 2.2rem;
    color: var(--gold);
    display: block;
    margin-bottom: 12px;
    line-height: 1;
    letter-spacing: -0.03em;
  }
  .step h3 {
    font-family: "Source Sans 3", sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
  }
  .step p { color: var(--ink-soft); font-size: 0.95rem; }

  .price-row {
    display: flex;
    justify-content: center;
    gap: clamp(28px, 6vw, 56px);
    flex-wrap: wrap;
    text-align: center;
  }
  .price {
    min-width: 120px;
    padding: 8px 12px;
  }
  .price strong {
    display: block;
    font-family: Fraunces, Georgia, serif;
    font-size: 2.2rem;
    color: var(--gold);
    margin-bottom: 6px;
    letter-spacing: -0.02em;
  }
  .price span { font-size: 0.9rem; color: var(--ink-soft); }

  .eval-item {
    padding: 26px 0;
    border-top: 1px solid var(--line);
  }
  .eval-item:last-child { border-bottom: 1px solid var(--line); }
  .eval-item h3 {
    font-family: "Source Sans 3", sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
  }
  .eval-item p { color: var(--ink-soft); font-size: 0.95rem; }

  .faq details {
    border-bottom: 1px solid var(--line);
    padding: 4px 0;
  }
  .faq summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 1.05rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    padding: 16px 0;
    transition: color 0.2s;
  }
  .faq summary:hover { color: var(--forest-mid); }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::marker { content: ""; }
  .faq summary::after {
    content: "+";
    font-family: Fraunces, Georgia, serif;
    font-size: 1.35rem;
    line-height: 1;
    color: var(--gold);
    flex-shrink: 0;
    transition: none;
    transform: none;
  }
  /* Uniquement .is-open : JS force details.open=true pour animer la hauteur */
  .faq details.is-open summary::after {
    content: "-";
    transform: none;
  }
  .faq-panel {
    overflow: hidden;
    height: 0;
    opacity: 0;
    transition: height 0.3s var(--ease), opacity 0.28s ease;
  }
  .faq details.is-open > .faq-panel {
    opacity: 1;
  }
  .faq-panel > *:first-child { margin-top: 0; }
  .faq-panel p {
    margin: 0 0 16px;
    color: var(--ink-soft);
    font-size: 0.98rem;
    max-width: 62ch;
    padding-bottom: 4px;
  }
  .faq details p {
    margin-top: 0;
    color: var(--ink-soft);
    font-size: 0.98rem;
    max-width: 62ch;
  }

  .cta-band {
    text-align: center;
    padding: clamp(72px, 11vw, 112px) 20px;
    position: relative;
    z-index: 1;
  }
  .cta-band h2 {
    font-size: clamp(1.7rem, 3.6vw, 2.35rem);
    max-width: 18ch;
    margin: 0 auto 14px;
    letter-spacing: -0.02em;
  }
  .cta-band p {
    max-width: 42ch;
    margin: 0 auto 30px;
    color: rgba(255,252,246,0.72);
  }
  .cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

  .prose p { margin-bottom: 1em; color: var(--ink-soft); }
  .prose p:last-child { margin-bottom: 0; }
  .prose strong { color: var(--ink); font-weight: 600; }
  .prose h2 { margin: 1.6em 0 0.7em; font-size: 1.45rem; }
  .prose h3 {
    font-family: "Source Sans 3", sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 1.35em 0 0.55em;
  }

  .note {
    margin-top: 28px;
    padding: 18px 20px;
    background: color-mix(in srgb, var(--mist) 70%, var(--paper));
    border-left: 3px solid var(--gold);
    font-size: 0.92rem;
    color: var(--ink-soft);
  }

  .tedx-section .wrap-tedx {
    max-width: 880px;
  }
  .tedx-lead {
    margin: 0 0 28px;
    color: var(--ink-soft);
    font-size: 1.05rem;
    max-width: none;
    line-height: 1.55;
  }
  .tedx-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: color-mix(in srgb, var(--ink) 8%, var(--paper));
    overflow: hidden;
  }
  .tedx-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
  }

  .site-footer {
    margin-top: 12px;
    padding: clamp(48px, 7vw, 72px) 0 28px;
    background:
      linear-gradient(180deg, transparent 0%, color-mix(in srgb, var(--mist) 55%, var(--paper)) 100%);
    border-top: 1px solid var(--line);
  }
  .footer-mark {
    margin-bottom: clamp(28px, 4vw, 40px);
    padding-bottom: clamp(24px, 3vw, 32px);
    border-bottom: 1px solid var(--line);
  }
  .footer-brand {
    display: inline-block;
    font-family: Fraunces, Georgia, serif;
    font-size: clamp(1.45rem, 2.4vw, 1.85rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    text-decoration: none;
    color: var(--ink);
    margin-bottom: 8px;
  }
  .footer-brand span { color: var(--gold); }
  .footer-role {
    font-size: 0.95rem;
    color: var(--ink-soft);
  }
  .footer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(28px, 4vw, 48px);
    margin-bottom: clamp(32px, 4vw, 44px);
  }
  .footer-label {
    font-family: Fraunces, Georgia, serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 14px;
  }
  .footer-col p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--ink-soft);
  }
  .footer-sub {
    margin-top: 14px;
    font-size: 0.9rem !important;
  }
  .footer-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
  }
  .footer-nav a {
    font-size: 0.95rem;
    color: var(--ink-soft);
    text-decoration: none;
    transition: color 0.2s;
  }
  .footer-nav a:hover { color: var(--forest); }
  .footer-cta-text {
    margin-bottom: 16px;
    max-width: 28ch;
  }
  .footer-rdv {
    display: inline-flex;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--white);
    background: var(--forest);
    text-decoration: none;
    padding: 11px 18px;
    transition: background 0.25s var(--ease);
  }
  .footer-rdv:hover { background: var(--forest-deep); }
  .footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px 20px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    font-size: 0.82rem;
    color: color-mix(in srgb, var(--ink-soft) 75%, transparent);
  }
  .footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
  }
  .footer-legal a {
    color: inherit;
    text-decoration: none;
  }
  .footer-legal a:hover { color: var(--forest); }
  .legal-content {
    max-width: 48rem;
    padding-bottom: 12px;
  }
  .legal-content h2 {
    font-size: 1.25rem;
    margin: 1.75em 0 0.65em;
  }
  .legal-content ul {
    margin: 0 0 1em;
    padding-left: 1.2em;
    color: var(--ink-soft);
  }
  .legal-content li { margin-bottom: 0.35em; }
  .legal-content a {
    color: var(--forest);
    text-decoration-underline-offset: 2px;
  }
  @media (max-width: 800px) {
    .footer-grid {
      grid-template-columns: 1fr;
      gap: 28px;
    }
    .footer-nav {
      flex-direction: row;
      flex-wrap: wrap;
      gap: 8px 16px;
    }
  }

  .contact-box {
    max-width: 36rem;
    padding: clamp(28px, 4vw, 40px) 0 8px;
  }
  .contact-email {
    font-family: Fraunces, Georgia, serif;
    font-size: clamp(1.25rem, 2.5vw, 1.65rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--ink);
    word-break: break-all;
    margin-bottom: 20px;
    user-select: all;
  }
  .contact-hint {
    margin-top: 12px;
    font-size: 0.9rem;
    color: var(--forest-mid);
    font-weight: 500;
  }
  .contact-note {
    margin-top: 28px;
    font-size: 0.95rem;
    color: var(--ink-soft);
    max-width: 42ch;
    line-height: 1.6;
  }

  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
  }

  .checklist {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .checklist li {
    position: relative;
    padding: 12px 0 12px 28px;
    border-bottom: 1px solid var(--line);
    color: var(--ink-soft);
    font-size: 0.98rem;
  }
  .checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1.15em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 3px rgba(154,111,53,0.15);
  }

  .table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 28px 0;
    border: 1px solid var(--line);
    background: var(--paper);
  }
  .compare {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    font-size: 0.94rem;
    margin: 0;
  }
  .compare th, .compare td {
    text-align: left;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
  }
  .compare tr:last-child td { border-bottom: none; }
  .compare th {
    font-family: Fraunces, Georgia, serif;
    font-weight: 600;
    background: var(--mist);
    color: var(--ink);
    white-space: nowrap;
  }
  .compare td { color: var(--ink-soft); }
  .compare strong { color: var(--ink); }
  .compare tbody tr {
    transition: background 0.2s;
  }
  .compare tbody tr:hover {
    background: rgba(154,111,53,0.05);
  }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
    .inview { opacity: 1; transform: none; }
  }

  .mesh-link {
    color: var(--forest);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: color-mix(in srgb, var(--gold) 55%, transparent);
    text-underline-offset: 3px;
    transition: color 0.2s, text-decoration-color 0.2s;
  }
  .mesh-link:hover {
    color: var(--ink);
    text-decoration-color: var(--gold);
  }
  .crumb {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    align-items: center;
    font-size: 0.82rem;
    color: var(--ink-soft);
    margin-bottom: 18px;
  }
  .crumb a {
    color: var(--forest);
    font-weight: 600;
    text-decoration: none;
  }
  .crumb a:hover { text-decoration: underline; }
  .crumb span[aria-hidden] { opacity: 0.45; }
  .mesh {
    padding: clamp(48px, 7vw, 72px) 0;
    background: var(--paper);
    border-top: 1px solid var(--line);
  }
  .mesh-title {
    font-family: Fraunces, Georgia, serif;
    font-size: 1.35rem;
    margin: 0 0 8px;
    letter-spacing: -0.02em;
  }
  .mesh-intro {
    color: var(--ink-soft);
    font-size: 0.95rem;
    margin: 0 0 24px;
    max-width: 52ch;
  }
  .mesh-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 28px;
  }
  @media (max-width: 700px) {
    .mesh-grid { grid-template-columns: 1fr; }
  }
  .mesh-item {
    display: block;
    padding: 16px 0;
    border-top: 1px solid var(--line);
    text-decoration: none;
    color: inherit;
    transition: padding-left 0.3s var(--ease);
  }
  .mesh-item:hover { padding-left: 8px; }
  .mesh-item strong {
    display: block;
    font-family: Fraunces, Georgia, serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 4px;
  }
  .mesh-item span {
    font-size: 0.9rem;
    color: var(--ink-soft);
  }
  .mesh-item::after {
    content: " ?";
    color: var(--gold);
    font-weight: 700;
  }

/* === WP multi-page overrides === */
.page { display: block !important; animation: none !important; }
.page.active { display: block !important; animation: none !important; }

/* Transition fluide : seul le contenu change, la nav reste */
main {
  transition: opacity 0.2s ease;
}
main.lmc-main-out {
  opacity: 0;
  pointer-events: none;
}
body.lmc-navigating {
  overflow: hidden;
  scroll-behavior: auto !important;
}
html:has(body.lmc-navigating) {
  scroll-behavior: auto !important;
}
body.lmc-navigating .site-footer {
  opacity: 0 !important;
  pointer-events: none;
}
main.lmc-main-in {
  animation: lmcMainIn 0.28s ease both;
}
@keyframes lmcMainIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.inview {
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease) !important;
  transform: translateY(16px) !important;
}
.reveal,
.reveal-d1,
.reveal-d2,
.reveal-d3 {
  animation-duration: 0.5s !important;
}
.reveal-d1 { animation-delay: 0.05s !important; }
.reveal-d2 { animation-delay: 0.1s !important; }
.reveal-d3 { animation-delay: 0.15s !important; }

@media (prefers-reduced-motion: reduce) {
  main { transition: none !important; }
  main.lmc-main-in { animation: none !important; }
}
