/* ==========================================================================
   FLYER DIGITAL & SUPPORT PAPIER A4 — PHILIPPE MORIS
   Charte graphique : Luxe & Tech moderne (Indigo, Cyan, Or, Deep Slate)
   Compatible Écran + Impression A4 Recto/Verso ultra-haute résolution
   ========================================================================== */

:root {
  --primary: #6366f1;
  --primary-dark: #4338ca;
  --primary-light: #818cf8;
  --accent-cyan: #06b6d4;
  --accent-gold: #d97706;
  --accent-gold-light: #fbbf24;
  --accent-green: #10b981;
  --accent-red: #ef4444;
  --dark-bg: #0b0f19;
  --dark-surface: #111827;
  --dark-card: #1e293b;
  --text-dark: #0f172a;
  --text-muted-dark: #475569;
  --text-light: #f8fafc;
  --text-muted-light: #94a3b8;
  --border-light: #e2e8f0;
  --border-dark: rgba(255, 255, 255, 0.12);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 14px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Outfit', var(--font-sans);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: #0d1117;
  color: #e6edf3;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   BARRE D'OUTILS ET CONTRÔLES ÉCRAN (NON IMPRIMABLE)
   ========================================================================== */
.toolbar-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(13, 17, 23, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.toolbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}

.toolbar-brand-badge {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent-cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.4);
}

.toolbar-brand-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.toolbar-brand-sub {
  font-size: 0.75rem;
  color: var(--text-muted-light);
  display: block;
}

.toolbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.toolbar-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-sans);
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.toolbar-btn-print {
  background: linear-gradient(135deg, #6366f1, #06b6d4);
  color: #fff;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

.toolbar-btn-print:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

.toolbar-btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: #f1f5f9;
}

.toolbar-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.toolbar-btn-whatsapp {
  background: #25d366;
  color: #fff;
}

.toolbar-btn-whatsapp:hover {
  background: #1eb956;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}

.view-toggle-group {
  display: flex;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 3px;
}

.view-toggle-btn {
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  background: transparent;
  border: none;
  color: var(--text-muted-light);
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.view-toggle-btn.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.4);
}

/* ==========================================================================
   CONTAINER GLOBAL & MODES DE VUE
   ========================================================================== */
.flyer-viewport {
  max-width: 1200px;
  margin: 30px auto 60px;
  padding: 0 20px;
}

/* ==========================================================================
   FEUILLE A4 (PAPIER PRINT / PDF)
   Dimensions standards A4 : 210mm x 297mm
   ========================================================================== */
.a4-page-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.a4-sheet {
  width: 210mm;
  min-height: 297mm;
  height: 297mm;
  background: #ffffff;
  color: var(--text-dark);
  padding: 10mm 12mm 8mm 12mm;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.45);
  border-radius: 4px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.page-label-badge {
  position: absolute;
  top: -24px;
  left: 0;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #818cf8;
  background: rgba(99, 102, 241, 0.15);
  padding: 3px 10px;
  border-radius: 4px;
}

/* ==========================================================================
   FACE 1 : RECTO (ACCUEIL, 360°, IA, RESTAURATION)
   ========================================================================== */
.flyer-header {
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 8px;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.flyer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #4f46e5, #06b6d4);
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 4px 10px rgba(79, 70, 229, 0.25);
}

.brand-info h1 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.brand-tagline {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #4f46e5;
}

.flyer-badge-territory {
  text-align: right;
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  border: 1px solid #e2e8f0;
  padding: 5px 10px;
  border-radius: 8px;
}

.territory-title {
  font-size: 0.72rem;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: flex-end;
}

.territory-sub {
  font-size: 0.63rem;
  color: #64748b;
  font-weight: 600;
}

/* HERO SLOGAN */
.flyer-hero-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
  color: #ffffff;
  border-radius: 8px;
  padding: 9px 12px;
  margin-bottom: 9px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.flyer-hero-banner::after {
  content: '';
  position: absolute;
  right: -20px;
  top: -20px;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.35) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-banner-text h2 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 2px;
}

.hero-banner-text h2 span.highlight {
  color: #38bdf8;
}

.hero-banner-text h2 span.highlight-gold {
  color: #fde047;
}

.hero-banner-text p {
  font-size: 0.68rem;
  color: #cbd5e1;
  max-width: 480px;
  line-height: 1.3;
}

.hero-banner-pill {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 5px 8px;
  border-radius: 6px;
  text-align: center;
  font-size: 0.66rem;
  font-weight: 700;
  color: #f8fafc;
  white-space: nowrap;
}

/* GRILLE DES SERVICES RECTO */
.recto-services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
}

.service-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px 10px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card.card-vr {
  border-color: #cbd5e1;
  background: linear-gradient(180deg, #faf5ff 0%, #ffffff 40%);
}

.service-card.card-ai {
  border-color: #cbd5e1;
  background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 40%);
}

.service-card.card-food {
  border-color: #cbd5e1;
  background: linear-gradient(180deg, #fff7ed 0%, #ffffff 40%);
}

.service-card.card-full-width {
  grid-column: span 2;
}

.service-header {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 4px;
}

.service-icon-wrap {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.icon-purple { background: #f3e8ff; color: #7e22ce; }
.icon-green { background: #dcfce7; color: #15803d; }
.icon-orange { background: #ffedd5; color: #c2410c; }
.icon-blue { background: #e0f2fe; color: #0369a1; }
.icon-gold { background: #fef3c7; color: #b45309; }

.service-title-wrap h3 {
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}

.service-subtitle {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
}

.service-desc {
  font-size: 0.65rem;
  color: #334155;
  margin-bottom: 4px;
  line-height: 1.3;
}

.service-points {
  list-style: none;
  margin-bottom: 4px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.service-points li {
  font-size: 0.63rem;
  color: #1e293b;
  display: flex;
  align-items: flex-start;
  gap: 4px;
  line-height: 1.25;
}

.service-points li i {
  color: #10b981;
  font-size: 0.62rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.service-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  border-radius: 20px;
  font-size: 0.58rem;
  font-weight: 700;
  align-self: flex-start;
}

.pill-purple { background: #f3e8ff; color: #7e22ce; }
.pill-green { background: #dcfce7; color: #15803d; }
.pill-orange { background: #ffedd5; color: #c2410c; }
.pill-blue { background: #e0f2fe; color: #0369a1; }
.pill-gold { background: #fef3c7; color: #b45309; }

/* BANDEAU CHIFFRES CLÉS & STATS */
.stats-banner {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 6px 10px;
  margin-bottom: 8px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  gap: 6px;
}

.stat-box .stat-val {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 900;
  color: #4f46e5;
  line-height: 1;
}

.stat-box .stat-sub {
  font-size: 0.58rem;
  font-weight: 600;
  color: #475569;
  margin-top: 2px;
}

/* FOOTER DU RECTO */
.flyer-recto-bottom {
  background: #0f172a;
  color: #fff;
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.recto-bottom-text h4 {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 2px;
}

.recto-bottom-text p {
  font-size: 0.63rem;
  color: #94a3b8;
  line-height: 1.25;
}

.recto-bottom-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.qr-box-mini {
  background: #fff;
  padding: 3px;
  border-radius: 5px;
  text-align: center;
}

.qr-box-mini img, .qr-box-mini svg {
  width: 44px;
  height: 44px;
  display: block;
}

.qr-caption {
  font-size: 0.52rem;
  font-weight: 800;
  color: #0f172a;
  margin-top: 2px;
  text-transform: uppercase;
}

/* ==========================================================================
   FACE 2 : VERSO (E-COMMERCE, CESSION IMMO, DRIVE & CONTACT COMPLET)
   ========================================================================== */
.verso-header {
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 6px;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.verso-header-left h2 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.verso-header-left p {
  font-size: 0.65rem;
  color: #4f46e5;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.verso-header-right {
  font-size: 0.68rem;
  font-weight: 700;
  color: #475569;
  background: #f1f5f9;
  padding: 3px 8px;
  border-radius: 6px;
}

.verso-services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
}

.verso-service-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  padding: 7px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.verso-service-card h3 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 3px;
}

.verso-service-card p {
  font-size: 0.61rem;
  color: #334155;
  line-height: 1.28;
  margin-bottom: 5px;
}

/* BANDEAU RÉFÉRENCES & CONFIANCE */
.references-banner {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 7px 10px;
  margin-bottom: 8px;
}

.references-banner h4 {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #1e293b;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.references-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.ref-pill {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.58rem;
  font-weight: 600;
  color: #334155;
}

/* ENCADRÉ AUDIT & DEVIS GRATUIT */
.free-audit-box {
  background: linear-gradient(135deg, #fefce8, #fffbeb);
  border: 1.5px dashed #d97706;
  border-radius: 8px;
  padding: 6px 10px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.audit-box-text h4 {
  font-size: 0.76rem;
  font-weight: 800;
  color: #92400e;
}

.audit-box-text p {
  font-size: 0.61rem;
  color: #78350f;
  line-height: 1.2;
}

.audit-box-badge {
  background: #d97706;
  color: #ffffff;
  padding: 3px 8px;
  border-radius: 5px;
  font-size: 0.64rem;
  font-weight: 800;
  white-space: nowrap;
}

/* BLOC CONTACT COMPLET VERSO */
.verso-contact-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
  color: #ffffff;
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.contact-info-col h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 2px;
  letter-spacing: -0.01em;
}

.contact-info-col .contact-lead {
  font-size: 0.65rem;
  color: #94a3b8;
  margin-bottom: 6px;
}

.contact-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 12px;
}

.contact-item {
  font-size: 0.68rem;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #f1f5f9;
}

.contact-item a {
  color: #38bdf8;
  text-decoration: none;
  font-weight: 700;
}

.contact-item i {
  color: #38bdf8;
  width: 12px;
  font-size: 0.75rem;
}

.verso-qr-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.qr-box-main {
  background: #ffffff;
  padding: 3px;
  border-radius: 5px;
  text-align: center;
}

.qr-box-main img, .qr-box-main svg {
  width: 48px;
  height: 48px;
  display: block;
}

.qr-box-main .qr-title {
  font-size: 0.52rem;
  font-weight: 800;
  color: #0f172a;
  margin-top: 2px;
  text-transform: uppercase;
}

/* ==========================================================================
   VUE DIGITALE INTERACTIVE (MODE MOBILE / FLUIDE)
   ========================================================================== */
.digital-view-wrapper {
  display: none;
  max-width: 800px;
  margin: 0 auto;
}

.digital-hero {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(6, 182, 212, 0.15));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 30px 24px;
  text-align: center;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.digital-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(99, 102, 241, 0.25);
  border: 1px solid rgba(99, 102, 241, 0.5);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #c7d2fe;
  margin-bottom: 16px;
}

.digital-hero h1 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #ffffff 30%, #93c5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.digital-hero p {
  font-size: 1.05rem;
  color: #cbd5e1;
  max-width: 600px;
  margin: 0 auto 20px;
}

.digital-actions-grid {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.digital-btn-primary {
  background: linear-gradient(135deg, #6366f1, #06b6d4);
  color: #fff;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
  transition: transform 0.2s;
}

.digital-btn-primary:hover {
  transform: translateY(-2px);
}

.digital-btn-wa {
  background: #25d366;
  color: #fff;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s;
}

.digital-btn-wa:hover {
  transform: translateY(-2px);
}

.digital-services-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.digital-service-card {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 24px;
  transition: all 0.3s;
}

.digital-service-card:hover {
  border-color: rgba(99, 102, 241, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.digital-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.digital-card-head-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.digital-card-head h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
}

.digital-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.digital-card-desc {
  font-size: 0.95rem;
  color: #cbd5e1;
  margin-bottom: 16px;
  line-height: 1.5;
}

.digital-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.digital-feature-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.digital-feature-pill i {
  color: #10b981;
}

.digital-card-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 14px;
}

.digital-card-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: #38bdf8;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.digital-card-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   MODE PRINT @media print — OPTIMISATION A4 PAPIER / PDF
   ========================================================================== */
@media print {
  @page {
    size: A4 portrait;
    margin: 0;
  }

  html, body {
    width: 210mm;
    height: 100%;
    background: #ffffff !important;
    color: #0f172a !important;
    margin: 0 !important;
    padding: 0 !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .toolbar-header,
  .page-label-badge,
  .digital-view-wrapper,
  .no-print {
    display: none !important;
  }

  .flyer-viewport {
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .a4-page-container {
    gap: 0 !important;
    display: block !important;
  }

  .a4-sheet {
    width: 210mm !important;
    height: 297mm !important;
    min-height: 297mm !important;
    max-height: 297mm !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 8mm 11mm 6mm 11mm !important;
    page-break-after: always !important;
    break-after: page !important;
    overflow: hidden !important;
    background: #ffffff !important;
  }

  .a4-sheet:last-child {
    page-break-after: avoid !important;
    break-after: avoid !important;
  }

  /* Forcer les couleurs des fonds graphiques à l'impression */
  .flyer-hero-banner,
  .flyer-recto-bottom,
  .verso-contact-card {
    background: #0f172a !important;
    color: #ffffff !important;
    -webkit-print-color-adjust: exact !important;
  }

  .service-card {
    border-color: #cbd5e1 !important;
    -webkit-print-color-adjust: exact !important;
  }
}

/* ==========================================================================
   RESPONSIVE PETITS ÉCRANS (SMARTPHONES)
   ========================================================================== */
@media screen and (max-width: 860px) {
  .a4-sheet {
    width: 100%;
    height: auto;
    min-height: auto;
    padding: 20px 16px;
    border-radius: 12px;
  }

  .recto-services-grid {
    grid-template-columns: 1fr;
  }

  .service-card.card-full-width {
    grid-column: span 1;
  }

  .verso-services-grid {
    grid-template-columns: 1fr;
  }

  .stats-banner {
    grid-template-columns: 1fr 1fr;
  }

  .flyer-recto-bottom,
  .verso-contact-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .recto-bottom-cta,
  .verso-qr-group {
    width: 100%;
    justify-content: space-around;
    margin-top: 10px;
  }

  .contact-details-grid {
    grid-template-columns: 1fr;
  }
}
