@page {
    size: A4;
    margin: 18mm 15mm;
    @bottom-center { content: "Bondeko — Stratégie de marque confidentielle"; font-size: 9pt; color: #888; }
    @bottom-right { content: counter(page) " / " counter(pages); font-size: 9pt; color: #888; }
  }

  body {
    font-family: "Inter", -apple-system, "Calibri", "Segoe UI", Arial, sans-serif;
    font-size: 10.5pt;
    line-height: 1.6;
    color: #1a1a1a;
    background: #faf7f2;
  }

  .container { max-width: 900px; margin: 0 auto; padding: 0 24px; }

  /* COVER */
  .cover {
    text-align: center;
    padding: 60mm 24px 30mm;
    page-break-after: always;
  }
  .cover .logo { font-size: 60pt; margin-bottom: 8mm; }
  .cover h1 {
    font-size: 28pt;
    color: #C9A14A;
    margin-bottom: 4mm;
    letter-spacing: 1px;
    font-weight: 800;
  }
  .cover .subtitle {
    font-size: 14pt;
    color: #555;
    font-style: italic;
    margin-bottom: 25mm;
  }
  .cover .meta {
    border-top: 2px solid #C9A14A;
    border-bottom: 2px solid #C9A14A;
    padding: 8mm;
    display: inline-block;
    text-align: left;
    margin-top: 15mm;
  }
  .cover .meta-row { margin: 2mm 0; font-size: 11pt; }
  .cover .meta-label { color: #888; display: inline-block; width: 50mm; }
  .cover .meta-value { font-weight: 700; }
  .cover .date { margin-top: 30mm; font-size: 10pt; color: #888; }

  /* Screen / print layout */
  @media screen {
    body { max-width: 900px; margin: 0 auto; padding: 100px 24px 40px; }
    .cover, h1, .section { background: #fff; }
  }
  @media print { nav { display: none; } body { padding-top: 0; } }

  h1 {
    font-size: 22pt;
    color: #C9A14A;
    border-bottom: 3px solid #C9A14A;
    padding-bottom: 4mm;
    margin: 12mm 0 6mm;
    page-break-before: always;
    page-break-after: avoid;
  }
  .cover + h1 { page-break-before: auto; }
  h2 {
    font-size: 15pt;
    color: #1a1a1a;
    border-left: 4px solid #C9A14A;
    padding-left: 5mm;
    margin: 8mm 0 4mm;
    page-break-after: avoid;
  }
  h3 {
    font-size: 12pt;
    color: #555;
    margin: 6mm 0 3mm;
    page-break-after: avoid;
    font-weight: 700;
  }
  p { margin: 0 0 3mm; }
  strong { color: #1a1a1a; }

  table {
    width: 100%;
    border-collapse: collapse;
    margin: 4mm 0 6mm;
    font-size: 10pt;
    page-break-inside: avoid;
  }
  th {
    background: #1a1a1a;
    color: #C9A14A;
    text-align: left;
    padding: 2.5mm 3mm;
    border: 1px solid #1a1a1a;
    font-weight: 700;
  }
  td {
    padding: 2.5mm 3mm;
    border: 1px solid #ddd;
    vertical-align: top;
  }
  tr:nth-child(even) td { background: #fafafa; }
  td.num { text-align: right; font-variant-numeric: tabular-nums; }
  td.total { background: #fff8e1 !important; font-weight: 700; }

  ul, ol { margin: 2mm 0 4mm; padding-left: 7mm; }
  li { margin-bottom: 1.5mm; }
  ul.check { list-style: none; padding-left: 0; }
  ul.check li {
    padding-left: 7mm;
    position: relative;
    margin-bottom: 2mm;
  }
  ul.check li:before {
    content: "☐"; position: absolute; left: 0;
    color: #C9A14A; font-size: 13pt; font-weight: 700; top: -1mm;
  }

  .callout {
    background: #fff8e1;
    border-left: 5px solid #C9A14A;
    padding: 4mm 5mm;
    margin: 4mm 0;
    page-break-inside: avoid;
  }
  .callout .title {
    font-weight: 700; color: #8a6d23;
    margin-bottom: 2mm;
    text-transform: uppercase;
    font-size: 9pt;
    letter-spacing: 0.5px;
  }
  .warning {
    background: #fef0f0;
    border-left: 5px solid #c62828;
    padding: 4mm 5mm;
    margin: 4mm 0;
    page-break-inside: avoid;
  }
  .warning .title {
    font-weight: 700; color: #c62828;
    margin-bottom: 2mm;
    text-transform: uppercase;
    font-size: 9pt;
    letter-spacing: 0.5px;
  }
  .success {
    background: #e8f5e9;
    border-left: 5px solid #2e7d32;
    padding: 4mm 5mm;
    margin: 4mm 0;
    page-break-inside: avoid;
  }
  .success .title {
    font-weight: 700; color: #2e7d32;
    margin-bottom: 2mm;
    text-transform: uppercase;
    font-size: 9pt;
    letter-spacing: 0.5px;
  }
  .info {
    background: #e3f2fd;
    border-left: 5px solid #1565c0;
    padding: 4mm 5mm;
    margin: 4mm 0;
    page-break-inside: avoid;
  }
  .info .title {
    font-weight: 700; color: #1565c0;
    margin-bottom: 2mm;
    text-transform: uppercase;
    font-size: 9pt;
    letter-spacing: 0.5px;
  }

  .phase {
    background: #f8f8f8;
    border-left: 5px solid #C9A14A;
    padding: 4mm 5mm;
    margin: 4mm 0;
    page-break-inside: avoid;
    border-radius: 4px;
  }
  .phase-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 3mm;
    border-bottom: 1px dashed #ccc;
    padding-bottom: 2mm;
  }
  .phase-title { font-size: 12pt; font-weight: 700; }
  .phase-meta { font-size: 9pt; color: #555; font-style: italic; }

  .contact-card {
    background: white;
    border: 1px solid #e8e0d0;
    border-radius: 8px;
    padding: 4mm 5mm;
    margin-bottom: 4mm;
    page-break-inside: avoid;
  }
  .contact-card h4 {
    color: #C9A14A;
    font-size: 12pt;
    margin-bottom: 2mm;
    font-weight: 800;
  }
  .contact-card .role {
    font-size: 9pt;
    color: #555;
    margin-bottom: 3mm;
    font-style: italic;
  }
  .contact-card .info-row {
    display: flex;
    gap: 8mm;
    margin: 1mm 0;
    font-size: 10pt;
  }
  .contact-card .info-row .label {
    color: #888;
    min-width: 22mm;
    font-weight: 600;
  }

  .toc {
    background: white;
    border: 1px solid #e8e0d0;
    border-radius: 6px;
    padding: 5mm 6mm;
    margin: 4mm 0 8mm;
  }
  .toc-list { list-style: none; padding: 0; }
  .toc-list li {
    border-bottom: 1px dotted #ccc;
    padding: 1.5mm 0;
    display: flex;
    justify-content: space-between;
  }
  .toc-list .num { color: #C9A14A; font-weight: 700; margin-right: 4mm; }

  .badge {
    display: inline-block;
    padding: 1mm 3mm;
    border-radius: 3mm;
    font-size: 8.5pt;
    font-weight: 700;
    margin-right: 2mm;
  }
  .badge-priority { background: #c62828; color: #fff; }
  .badge-medium { background: #f57c00; color: #fff; }
  .badge-low { background: #2e7d32; color: #fff; }
  .badge-info { background: #1565c0; color: #fff; }
