/* ============================================================
   Maison Joffre — Feuille de styles impression
   ============================================================
   Sortie monochrome sobre adaptée à un courrier patrimonial.
   Cache nav/CTA/animations, préserve adresse et contenu éditorial.
   ============================================================ */

@media print {

  /* Base monochrome */
  html,
  body {
    background: #fff !important;
    color: #000 !important;
    font-size: 11pt;
    line-height: 1.5;
  }

  body {
    font-family: 'Inter', 'Times New Roman', serif;
  }

  /* Titres en serif éditorial, monochromes */
  h1, h2, h3, h4, h5, h6 {
    color: #000 !important;
    font-family: 'Fraunces', 'Times New Roman', serif;
  }

  /* Italiques préservées en gris foncé pour rester lisibles imprimées */
  h1 em, h2 em, h3 em,
  em, i {
    color: #2a2a2a !important;
  }

  /* === Éléments à masquer === */
  .site-header,
  .skip-to-content,
  .site-footer__grid,
  .site-footer__column,
  .site-footer__logo,
  .btn,
  .btn-primary,
  .btn-outline,
  .btn-contact,
  .home-visit__buttons,
  .bureau-cta__buttons,
  .page-nav,
  .entry-animation,
  .hero-fullscreen,
  .lightbox,
  .cursor-dot,
  .cursor-ring,
  .scroll-cue,
  .home-plateau__link {
    display: none !important;
  }

  /* === Footer simplifié : adresse uniquement === */
  .site-footer {
    background: #fff !important;
    color: #000 !important;
    padding: 1cm 0 0 !important;
    border-top: 1px solid #000;
  }

  .site-footer__address {
    color: #000 !important;
    opacity: 1 !important;
    font-size: 10pt;
    margin: 0;
  }

  .site-footer__bottom {
    color: #555 !important;
    border-top: 1px solid #999;
    font-size: 9pt;
    margin-top: 0.5cm;
    padding-top: 0.3cm;
  }

  /* === Liens : soulignés + URL en parenthèses pour les externes === */
  a {
    color: #000 !important;
    text-decoration: underline;
  }

  a[href^="http"]:after,
  a[href^="mailto:"]:after {
    content: " (" attr(href) ")";
    font-size: 90%;
    color: #555;
  }

  /* Liens internes (#ancre) et relatifs (/page.html) : pas d'URL */
  a[href^="#"]:after,
  a[href^="/"]:not([href^="//"]):after {
    content: "";
  }

  /* === Sections : pas de padding démesuré, pas de fonds === */
  .section,
  .section-tight,
  .home-story,
  .home-plateau,
  .home-pillars,
  .home-visit,
  .home-quote,
  .home-pillars,
  .hero-title-only,
  .page-hero,
  .bureau-hero,
  .bureau-intro,
  .bureau-specs,
  .bureau-usage,
  .bureau-gallery,
  .bureau-shared,
  .bureau-conditions,
  .bureau-cta,
  .history-section,
  .editorial-section,
  .data-table,
  .conditions-box,
  .discreet-note,
  .designer-quote,
  .external-card,
  .three-cols,
  .services-table,
  .visit-block,
  .visit-form,
  .contact-email,
  .contact-address,
  .contact-sci,
  .legal {
    background: #fff !important;
    color: #000 !important;
    padding: 0.5cm 0 !important;
  }

  .page-hero,
  .bureau-hero {
    min-height: auto !important;
    height: auto !important;
    text-align: left !important;
  }

  /* Hero subtitle : pas d'opacity à l'impression */
  .page-hero__subtitle,
  .bureau-hero__subtitle,
  .home-visit p,
  .bureau-hero .eyebrow,
  .home-visit .eyebrow,
  .page-hero .eyebrow,
  .bureau-cta p,
  .bureau-cta__secondary {
    color: #000 !important;
    opacity: 1 !important;
  }

  /* === Eyebrow et numéraux : retrouvent du contraste === */
  .eyebrow,
  .pillar__number,
  .history-numeral,
  .bureau-card__number,
  .bureau-card__surface {
    color: #000 !important;
    background: transparent !important;
    opacity: 1 !important;
  }

  /* === Page breaks === */
  h1, h2, h3 {
    page-break-after: avoid;
    break-after: avoid;
  }

  p, blockquote, li {
    orphans: 3;
    widows: 3;
  }

  .bureau-card,
  .pillar,
  .three-cols__col,
  .data-table__row,
  blockquote {
    page-break-inside: avoid;
    break-inside: avoid;
  }

  /* === Images : tailles modestes === */
  img {
    max-width: 100% !important;
    page-break-inside: avoid;
    break-inside: avoid;
  }

  /* === Filets et bordures monochromes === */
  hr.rule,
  hr.rule-full,
  .rule-dark,
  .bureau-specs__row,
  .data-table__cell,
  .history-deepdive,
  .conditions-box__panel,
  .bureau-conditions__box,
  .external-card__panel,
  .contact-sci__panel {
    border-color: #999 !important;
    background: transparent !important;
  }

  /* === Filets décoratifs cachés === */
  .home-visit__bg,
  .page-hero__bg,
  .bureau-hero__bg,
  .home-visit__image,
  .page-hero__image,
  .bureau-hero__image,
  .hero-fullscreen__image {
    display: none !important;
  }

  /* === URL de la page en pied === */
  @page {
    margin: 2cm 1.5cm;
  }
}
