:root {
  --bg: #120c07;
  --panel: rgba(34, 22, 13, 0.74);
  --panel-strong: rgba(20, 13, 8, 0.86);
  --line: rgba(238, 183, 98, 0.34);
  --text: #f5e4c5;
  --muted: #d5b98d;
  --gold: #e8aa48;
  --ember: #a64e22;
  --shadow: rgba(0,0,0,.42);
}

* { box-sizing: border-box; }
html { min-height: 100%; }
body {
  margin: 0;
  min-height: 100dvh;
  color: var(--text);
  font-family: Georgia, 'Times New Roman', serif;
  background: #090604;
  overflow-x: hidden;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

.site-background,
.site-background picture,
.site-background img {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
}
.site-background { z-index: -3; background: #090604; }
.site-background picture { display: block; }
.site-background img {
  max-width: none;
  object-fit: cover;
  object-position: center center;
}
.background-shade {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,.22) 0%, rgba(0,0,0,.12) 35%, rgba(0,0,0,.42) 100%),
    radial-gradient(circle at 50% 8%, rgba(0,0,0,.14), transparent 22%);
}
body.home-page .background-shade { background: transparent; }
.smoke-layer {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(255,255,255,.030), transparent),
    radial-gradient(circle at 30% 15%, rgba(255,255,255,.045), transparent 18%);
  mix-blend-mode: screen;
  opacity: .62;
}
body.home-page .smoke-layer { display: none; }

/* V0G4 : bandeau fixe avec la même image que le haut du fond.
   Les pages peuvent défiler derrière ce bandeau sans passer visuellement sous les icônes. */
.menu-image-band {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: clamp(132px, 15vh, 166px);
  z-index: 24;
  pointer-events: none;
  background-image:
    linear-gradient(180deg, rgba(0,0,0,.42), rgba(0,0,0,.18) 55%, rgba(0,0,0,.62)),
    url('../img/hero/accueil-desktop.jpg');
  background-size: cover;
  background-position: center top;
  border-bottom: 1px solid rgba(238,183,98,.32);
  box-shadow: 0 12px 34px rgba(0,0,0,.52);
}
.menu-image-band::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -28px;
  height: 28px;
  background: linear-gradient(180deg, rgba(0,0,0,.36), transparent);
}

/* V0F : icônes agrandies pour rendre le bandeau texte lisible */
.global-icon-menu {
  position: fixed;
  top: clamp(12px, 2vh, 22px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  width: min(96vw, 1040px);
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: clamp(6px, 1vw, 12px);
  align-items: start;
  justify-items: center;
  pointer-events: auto;
}

.global-icon-menu.menu-public {
  width: min(520px, 82vw);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.global-icon-link {
  display: block;
  width: min(118px, 100%);
  text-decoration: none;
  border-radius: 999px;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,.62));
  transition: transform .16s ease, filter .16s ease;
}
.global-icon-link:hover,
.global-icon-link:focus-visible {
  transform: translateY(3px) scale(1.04);
  filter: drop-shadow(0 10px 18px rgba(233, 152, 56, .38));
  outline: none;
}
.global-icon-link img {
  width: 100%;
  height: auto;
  margin: 0;
}

.content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: clamp(188px, 22vh, 230px) 0 44px;
}
.content.home-content {
  width: 100%;
  min-height: 100dvh;
  margin: 0;
  padding: 0;
}
.home-blank {
  min-height: 100dvh;
}

h1, h2 { margin: 0 0 12px; line-height: 1.08; }
h1 {
  font-size: clamp(2.2rem, 6vw, 5rem);
  text-transform: uppercase;
  letter-spacing: .03em;
  color: #ffedc4;
  text-shadow: 0 4px 20px rgba(0,0,0,.75);
}
h2 { font-size: clamp(1.35rem, 3vw, 2rem); color: #ffd28a; }

/* V0G2 : titres de panneaux moins imposants sur les pages internes */
.page-title-panel h1,
.login-panel h1,
.info-card h1,
.print-header h1 {
  font-size: clamp(1.55rem, 3.2vw, 2.65rem);
  letter-spacing: .02em;
  line-height: 1.12;
}
.page-title-panel h2,
.info-card h2,
.result-block h2,
.participant-box h2 {
  font-size: clamp(1.15rem, 2.2vw, 1.65rem);
}
p { line-height: 1.62; }
.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 900;
  font-size: .82rem;
}

.page-title-panel, .login-panel, .info-card {
  margin-top: 22px;
  padding: clamp(18px, 3vw, 30px);
  border-radius: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 18px 45px rgba(0,0,0,.30);
  backdrop-filter: blur(6px);
}
.page-title-panel, .login-panel { background: var(--panel-strong); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.info-card { margin-top: 0; }
.info-card.wide { grid-column: 1 / -1; }
.button-link, button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 214, 143, .45);
  background: linear-gradient(180deg, #9b4b21, #5d2a13);
  color: #fff0c8;
  text-decoration: none;
  padding: 11px 16px;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 900;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 10px 20px rgba(0,0,0,.24);
}
.button-link.muted {
  background: rgba(255,255,255,.07);
  color: var(--muted);
}
.return-row { margin-top: 18px; }

.photo-detail-layout {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 1fr;
  gap: 18px;
  margin-top: 20px;
}
.photo-placeholder {
  min-height: 360px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 40%, rgba(236, 164, 70, .20), transparent 45%),
    linear-gradient(145deg, rgba(0,0,0,.58), rgba(70,35,15,.47));
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  backdrop-filter: blur(4px);
}

.form-card {
  display: grid;
  gap: 10px;
  max-width: 420px;
}
label { color: #ffd28a; font-weight: 900; }
input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,.42);
  color: var(--text);
  font: inherit;
}
.small-note { color: var(--muted); font-size: .95rem; }
.flash-stack { display: grid; gap: 8px; margin: 0 0 16px; }
.flash {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,.45);
}
.flash-error { border-color: rgba(255, 102, 76, .55); }
.flash-success { border-color: rgba(152, 222, 127, .55); }

.admin-panels { display: grid; gap: 18px; margin-top: 18px; }
.status-pill {
  display: inline-flex;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(0,0,0,.26);
}
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 10px; border-bottom: 1px solid rgba(238,183,98,.18); text-align: left; }
th { color: #ffd28a; }
.log-list { padding-left: 18px; }

.footer {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto 18px;
  padding: 14px 18px 18px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(238,183,98,.18);
  border-radius: 18px;
  background: rgba(0,0,0,.32);
  backdrop-filter: blur(4px);
}
.footer-version { opacity: .75; }

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.password-form { max-width: 560px; }

@media (max-width: 980px) {
  .card-grid { grid-template-columns: 1fr 1fr; }
  .photo-detail-layout { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .menu-image-band {
    height: clamp(196px, 23vh, 232px);
    background-image:
      linear-gradient(180deg, rgba(0,0,0,.44), rgba(0,0,0,.20) 55%, rgba(0,0,0,.66)),
      url('../img/hero/accueil-mobile.jpg');
    background-position: center top;
  }
  .global-icon-menu {
    width: min(96vw, 520px);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px 12px;
  }
  .global-icon-menu.menu-public {
    width: min(330px, 80vw);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .global-icon-link { width: min(98px, 100%); }
  .content { padding-top: clamp(254px, 29vh, 286px); }
  .content.home-content { padding: 0; }
  .site-background img { object-position: center center; }
}
@media (max-width: 620px) {
  .content { width: min(100% - 18px, 1180px); }
  h1 { font-size: clamp(2rem, 12vw, 3.5rem); }
  .card-grid { grid-template-columns: 1fr; }
  .footer { flex-direction: column; }
}
@media (max-width: 420px) {
  .global-icon-menu {
    top: 8px;
    width: min(98vw, 420px);
  }
  .global-icon-link { width: min(88px, 100%); }
}

/* V0G : sondages administrables */
/* V0G3 : questions du sondage détachées des bordures */
textarea, select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,.42);
  color: var(--text);
  font: inherit;
}
select option { color: #1b120b; }
.survey-form,
.admin-form {
  display: grid;
  gap: 22px;
}
.survey-question {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(24px, 3.2vw, 34px);
  background: rgba(20, 13, 8, .80);
  box-shadow: 0 18px 45px rgba(0,0,0,.30);
  backdrop-filter: blur(6px);
  margin: 0;
  overflow: visible;
}
.survey-question-heading {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: start;
  gap: 14px;
  width: 100%;
  color: #ffedc4;
  font-weight: 900;
  font-size: clamp(1rem, 1.55vw, 1.22rem);
  line-height: 1.32;
  padding: 0 0 18px;
  margin: 0 0 14px;
  border-bottom: 1px solid rgba(238,183,98,.18);
}
.survey-question-heading .question-text {
  min-width: 0;
  padding-top: 4px;
}
.survey-question-heading em {
  align-self: start;
  margin-top: 4px;
  font-style: normal;
  font-size: .75rem;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 8px;
  white-space: nowrap;
}
.question-number {
  display: inline-grid;
  place-items: center;
  width: 34px;
  min-width: 34px;
  height: 34px;
  border-radius: 999px;
  color: #2b1608;
  background: #e8aa48;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35);
}
.choice-list {
  display: grid;
  gap: 14px;
  margin-top: 4px;
}
.choice-item {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  min-height: 50px;
  padding: 14px 16px;
  border: 1px solid rgba(238,183,98,.22);
  border-radius: 16px;
  background: rgba(0,0,0,.24);
  color: var(--text);
  font-weight: 700;
  line-height: 1.35;
}
.choice-item input {
  width: 20px;
  min-width: 20px;
  height: 20px;
  min-height: 20px;
  padding: 0;
  margin: 1px 0 0;
  accent-color: #e8aa48;
}
.choice-item span {
  display: block;
  min-width: 0;
}
.inline-choice-list { margin: 0; }
.other-field {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}
.form-grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.section-heading-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.action-cell {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.mini-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 214, 143, .35);
  background: rgba(0,0,0,.24);
  color: #ffedc4;
  border-radius: 999px;
  padding: 7px 10px;
  text-decoration: none;
  font-family: inherit;
  font-size: .92rem;
  font-weight: 900;
  cursor: pointer;
}
.mini-link.danger { border-color: rgba(255, 102, 76, .55); color: #ffd0c8; }
.inline-form { display: inline; margin: 0; }
.status-pill.ok { color: #d7ffd0; border-color: rgba(152, 222, 127, .55); }
.printable-report {
  display: grid;
  gap: 18px;
}
.print-header,
.result-block {
  padding: clamp(18px, 3vw, 28px);
  border-radius: 24px;
  background: rgba(20, 13, 8, .84);
  border: 1px solid var(--line);
  box-shadow: 0 18px 45px rgba(0,0,0,.30);
  backdrop-filter: blur(6px);
}
.result-table td:nth-child(2),
.result-table td:nth-child(3),
.result-table th:nth-child(2),
.result-table th:nth-child(3) { text-align: right; }
.other-details { margin-top: 12px; color: var(--muted); }
.result-text-list { padding-left: 20px; }
.no-print-soft { opacity: .96; }

@media (max-width: 760px) {
  .form-grid-two { grid-template-columns: 1fr; }
  .action-cell { display: grid; }
  .mini-link { width: 100%; }
  .survey-question-heading {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    font-size: 1rem;
    padding-bottom: 16px;
  }
  .survey-question-heading em {
    grid-column: 2;
    width: fit-content;
    margin-top: 0;
  }
  .choice-item {
    grid-template-columns: 22px minmax(0, 1fr);
    padding: 13px 14px;
  }
}

@media print {
  @page { margin: 1.2cm; }
  body {
    background: #fff !important;
    color: #111 !important;
    font-family: Arial, sans-serif !important;
  }
  .global-icon-menu,
  .site-background,
  .background-shade,
  .smoke-layer,
  .footer,
  .no-print,
  .flash-stack { display: none !important; }
  .content {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .print-header,
  .result-block,
  .page-title-panel,
  .info-card {
    background: #fff !important;
    color: #111 !important;
    border: 1px solid #999 !important;
    box-shadow: none !important;
    break-inside: avoid;
  }
  h1, h2, .eyebrow, th, .small-note { color: #111 !important; text-shadow: none !important; }
  table { color: #111 !important; }
  th, td { border-bottom: 1px solid #bbb !important; }
  details > summary { color: #111 !important; }
}

/* V0I5 : présentation temporaire du sondage sans menu public.
   L’accueil bureau est maintenant réellement plein écran, sans côtés flous. */
body.public-temp-page .site-background,
body.public-temp-page .background-shade,
body.public-temp-page .smoke-layer {
  display: none;
}
body.public-temp-page {
  background: #080503;
}
.no-menu-content {
  width: min(1180px, calc(100% - 28px));
  padding-top: clamp(24px, 5vh, 54px);
  padding-bottom: 44px;
}
.no-menu-content.home-content {
  width: 100%;
  min-height: 100dvh;
  padding: 0;
}
.temporary-landing {
  position: relative;
  width: 100vw;
  min-height: 100dvh;
  overflow: hidden;
  background: #080503;
}
.temporary-landing::before {
  display: none;
}
.temporary-landing picture,
.temporary-landing img {
  display: block;
  width: 100%;
  height: 100dvh;
}
.temporary-landing picture {
  position: relative;
  z-index: 1;
}
.temporary-landing img {
  max-width: none;
  object-fit: cover;
  object-position: center center;
}
.temporary-landing-link {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: block;
  text-decoration: none;
  cursor: pointer;
}
.temporary-landing-link span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.temporary-thanks-panel {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
body.public-temp-page .survey-form {
  padding-bottom: 34px;
}
body.public-temp-page .page-title-panel:first-child {
  margin-top: 0;
}
@media (max-width: 760px), (orientation: portrait) {
  .no-menu-content {
    width: min(100% - 18px, 1180px);
    padding-top: 18px;
  }
  .no-menu-content.home-content {
    width: 100%;
    padding: 0;
  }
  .temporary-landing img {
    object-fit: cover;
    object-position: center center;
  }
}

@media print {
  .menu-image-band,
  .temporary-landing { display: none !important; }
}

/* V0J : graphiques imprimables pour les résultats de sondage */
.result-visuals {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr);
  gap: 18px;
  margin-top: 18px;
}
.result-chart-card {
  border: 1px solid rgba(238,183,98,.22);
  border-radius: 18px;
  background: rgba(0,0,0,.22);
  padding: 16px;
  min-width: 0;
}
.result-chart-card h3 {
  margin: 0 0 14px;
  color: #ffedc4;
  font-size: 1rem;
  letter-spacing: .02em;
}
.bar-chart {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(74px, 1fr));
  align-items: end;
  gap: 12px;
  min-height: 265px;
}
.bar-column {
  display: grid;
  grid-template-rows: auto 170px auto;
  align-items: end;
  gap: 8px;
  min-width: 0;
  text-align: center;
}
.bar-value {
  color: #ffedc4;
  font-weight: 900;
  font-size: .95rem;
}
.bar-track {
  position: relative;
  height: 170px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px 10px 4px 4px;
  background: rgba(255,255,255,.06);
  overflow: hidden;
}
.bar-fill {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 2px;
  height: var(--bar-height);
  background: var(--chart-color);
  border-radius: 10px 10px 0 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.30);
}
.bar-label {
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.pie-layout {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}
.pie-chart {
  width: 180px;
  height: 180px;
  border-radius: 999px;
  border: 5px solid rgba(255,255,255,.16);
  box-shadow: 0 8px 24px rgba(0,0,0,.22), inset 0 0 0 1px rgba(0,0,0,.25);
}
.pie-legend {
  display: grid;
  gap: 8px;
}
.pie-legend-row {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: .88rem;
  line-height: 1.25;
}
.pie-legend-swatch {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--chart-color);
  border: 1px solid rgba(255,255,255,.22);
}
.pie-legend-row strong {
  color: #ffedc4;
  white-space: nowrap;
}

@media (max-width: 880px) {
  .result-visuals { grid-template-columns: 1fr; }
  .pie-layout { grid-template-columns: 150px minmax(0, 1fr); }
  .pie-chart { width: 150px; height: 150px; }
}

@media (max-width: 560px) {
  .bar-chart { grid-template-columns: repeat(auto-fit, minmax(64px, 1fr)); }
  .bar-column { grid-template-rows: auto 140px auto; }
  .bar-track { height: 140px; }
  .pie-layout { grid-template-columns: 1fr; justify-items: center; }
  .pie-legend { width: 100%; }
}

@media print {
  .result-visuals {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
    margin-top: 12px !important;
  }
  .result-chart-card {
    background: #fff !important;
    border: 1px solid #999 !important;
    padding: 10px !important;
    break-inside: avoid;
  }
  .result-chart-card h3,
  .bar-value,
  .pie-legend-row strong {
    color: #111 !important;
  }
  .bar-label,
  .pie-legend-row {
    color: #111 !important;
  }
  .bar-chart {
    gap: 8px !important;
    min-height: 210px !important;
  }
  .bar-column {
    grid-template-rows: auto 120px auto !important;
  }
  .bar-track {
    height: 120px !important;
    border: 1px solid #ccc !important;
    background: #f3f3f3 !important;
  }
  .bar-fill,
  .pie-chart,
  .pie-legend-swatch {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  .pie-layout {
    grid-template-columns: 120px minmax(0, 1fr) !important;
    gap: 10px !important;
  }
  .pie-chart {
    width: 120px !important;
    height: 120px !important;
    border: 2px solid #999 !important;
    box-shadow: none !important;
  }
  .pie-legend-row {
    font-size: 8.5pt !important;
  }
}

/* V0K : page Synthèse paysage imprimable + export JPG */
.synthesis-toolbar {
  position: relative;
  z-index: 20;
  width: min(96vw, 1500px);
  margin: 22px auto 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(238,183,98,.28);
  border-radius: 22px;
  background: rgba(20, 11, 5, .82);
  box-shadow: 0 18px 42px rgba(0,0,0,.24);
}
.synthesis-toolbar h1 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.6rem); }
.synthesis-toolbar p { margin: 4px 0 0; color: var(--muted); }
.landscape-report {
  position: relative;
  z-index: 10;
  width: min(96vw, 1600px);
  aspect-ratio: 16 / 9;
  margin: 0 auto 40px;
  color: #321b0c;
  border: 12px solid #4d2a11;
  border-radius: 10px;
  overflow: hidden;
  background:
    radial-gradient(circle at 25% 12%, rgba(255,255,255,.22), transparent 22%),
    radial-gradient(circle at 78% 28%, rgba(126,73,28,.16), transparent 28%),
    linear-gradient(135deg, #e5c083, #d9ad68 40%, #ebd19a 70%, #c99552);
  box-shadow: 0 24px 72px rgba(0,0,0,.48);
  padding: clamp(16px, 1.8vw, 28px);
  font-family: Georgia, 'Times New Roman', serif;
}
.landscape-report::before {
  content: "";
  position: absolute;
  inset: 8px;
  pointer-events: none;
  border: 2px solid rgba(74,42,18,.35);
  box-shadow: inset 0 0 70px rgba(74,35,12,.28);
}
.landscape-report::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background-image:
    repeating-linear-gradient(37deg, rgba(74,35,12,.24) 0 1px, transparent 1px 9px),
    repeating-linear-gradient(94deg, rgba(255,255,255,.20) 0 1px, transparent 1px 13px);
  mix-blend-mode: multiply;
}
.synthesis-header,
.synthesis-grid,
.synthesis-footer { position: relative; z-index: 2; }
.synthesis-header {
  display: grid;
  grid-template-columns: 1.1fr 1.35fr 1.05fr;
  align-items: center;
  gap: 18px;
  min-height: 140px;
}
.synthesis-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 22px;
  background: rgba(83,45,18,.20);
}
.brand-medallion,
.wood-icon {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: radial-gradient(circle, #b87932, #5d3215);
  color: #f8e7b9;
  border: 3px solid rgba(58,29,12,.75);
  box-shadow: inset 0 3px 8px rgba(255,255,255,.18), 0 5px 14px rgba(0,0,0,.25);
  font-size: 2rem;
}
.synthesis-brand h2 { margin: 0; font-size: clamp(1.1rem, 2vw, 2rem); text-transform: uppercase; }
.synthesis-brand p { margin: 4px 0 0; font-style: italic; }
.synthesis-title { text-align: center; }
.synthesis-title h1 {
  margin: 0;
  font-size: clamp(2.8rem, 5.6vw, 5.8rem);
  line-height: .92;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-shadow: 0 2px 0 rgba(255,238,190,.55);
}
.synthesis-title p {
  display: inline-block;
  margin: 8px 0;
  padding: 8px 18px;
  color: #ffeec6;
  background: rgba(65,35,14,.92);
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: .04em;
}
.synthesis-title strong { display: block; font-size: clamp(1rem, 1.7vw, 1.6rem); }
.synthesis-note {
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(245,218,166,.70);
  box-shadow: 0 8px 18px rgba(60,31,12,.18);
  text-align: center;
  font-weight: 700;
  line-height: 1.45;
}
.synthesis-grid {
  display: grid;
  grid-template-columns: 1.15fr 1.05fr 1fr;
  gap: 16px;
  height: calc(100% - 212px);
}
.synthesis-panel {
  min-width: 0;
  min-height: 0;
  padding: 14px;
  border: 1px solid rgba(74,38,15,.36);
  border-radius: 16px;
  background: rgba(244,213,158,.48);
  box-shadow: inset 0 0 24px rgba(102,55,22,.10);
  overflow: hidden;
}
.synthesis-panel h3 {
  display: inline-block;
  margin: 0 0 12px;
  padding: 7px 15px;
  color: #ffeec6;
  background: linear-gradient(90deg, rgba(54,29,12,.96), rgba(98,55,22,.82));
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: clamp(.88rem, 1.25vw, 1.25rem);
}
.heatmap-table {
  display: grid;
  grid-template-columns: minmax(220px, .95fr) minmax(230px, 1fr);
  border: 1px solid rgba(72,39,16,.35);
  background: rgba(255,237,190,.32);
  font-size: clamp(.58rem, .78vw, .82rem);
}
.heatmap-head,
.heatmap-question,
.heatmap-cells {
  border-bottom: 1px solid rgba(72,39,16,.24);
  padding: 6px 8px;
}
.heatmap-head { font-weight: 900; background: rgba(91,49,20,.12); }
.heatmap-question { line-height: 1.15; }
.heatmap-cells {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(68px, 1fr));
  gap: 5px;
}
.heat-cell {
  display: grid;
  align-content: center;
  min-height: 34px;
  padding: 4px;
  text-align: center;
  border: 1px solid rgba(60,31,12,.16);
  background: color-mix(in srgb, #f6e3a5 calc(100% - var(--heat)), #ab3e17 var(--heat));
  color: #2d180b;
}
.heat-cell span { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.heat-cell strong { font-size: 1.05em; }
.heat-cell.empty { background: rgba(255,255,255,.28); }
.heat-scale {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 9px;
  margin-top: 10px;
  font-size: .8rem;
  font-weight: 700;
}
.heat-scale i {
  height: 16px;
  border: 1px solid rgba(60,31,12,.25);
  background: linear-gradient(90deg, #f4dea2, #e8ae4b, #c76524, #783116);
}
.indicator-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.indicator-card {
  text-align: center;
  padding: 10px;
  border-right: 1px solid rgba(62,34,17,.18);
}
.indicator-card:last-child { border-right: 0; }
.indicator-card .wood-icon {
  width: clamp(46px, 5.2vw, 72px);
  height: clamp(46px, 5.2vw, 72px);
  margin: 0 auto 8px;
  font-size: clamp(1.3rem, 2vw, 2rem);
}
.indicator-card h4 {
  min-height: 2.4em;
  margin: 0;
  text-transform: uppercase;
  font-size: clamp(.70rem, 1.05vw, 1rem);
}
.indicator-card strong {
  display: block;
  margin: 4px 0 5px;
  color: #743618;
  font-size: clamp(2rem, 4.1vw, 4.5rem);
  line-height: .95;
}
.indicator-card p { margin: 0; font-size: clamp(.62rem, .82vw, .88rem); line-height: 1.3; }
.mini-chart-row {
  margin-top: 12px;
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255,238,190,.28);
}
.mini-bar-block {
  display: grid;
  grid-template-columns: 1.1fr 1.6fr auto;
  align-items: center;
  gap: 8px;
  font-size: clamp(.64rem, .88vw, .88rem);
  font-weight: 700;
}
.mini-bar {
  height: 17px;
  border: 1px solid rgba(60,31,12,.28);
  background: rgba(255,255,255,.32);
}
.mini-bar i { display:block; width: var(--bar); height: 100%; background: linear-gradient(90deg, #e8ae4b, #af4218); }
.word-panel {
  display: flex;
  flex-direction: column;
}
.word-cloud {
  flex: 1;
  display: flex;
  align-content: center;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: .2rem .8rem;
  padding: 10px;
  text-align: center;
}
.word-cloud span {
  display: inline-block;
  font-size: calc(.62rem * var(--size));
  font-weight: var(--weight);
  line-height: .95;
  color: #5e2e13;
}
.word-cloud span:nth-child(3n+2) { color: #49632f; }
.word-cloud span:nth-child(4n+1) { color: #8f4c1d; }
.word-note {
  margin: 8px 0 0;
  padding: 9px;
  border-top: 1px solid rgba(73,39,16,.25);
  font-size: clamp(.65rem, .85vw, .88rem);
  font-weight: 700;
}
.synthesis-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding: 10px 16px;
  border-radius: 14px;
  color: #ffeec6;
  background: rgba(64,35,16,.90);
  font-weight: 800;
}
@media (max-width: 1050px) {
  .landscape-report { width: 1180px; max-width: none; }
  .synthesis-toolbar { width: min(96vw, 1180px); }
}
@media print {
  @page { size: landscape; margin: 0; }
  html, body {
    width: 100%;
    height: 100%;
    background: #fff !important;
  }
  body { margin: 0 !important; }
  .site-background, .background-shade, .smoke-layer, .synthesis-toolbar, .flash-stack, .footer {
    display: none !important;
  }
  .content.no-menu-content {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .landscape-report {
    width: 100vw !important;
    height: 100vh !important;
    aspect-ratio: auto !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  .landscape-report * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
}

/* V0K2 : synthèse paysage ajustée, pleine vue et plus proche de la maquette */
body.public-temp-page .content.no-menu-content {
  width: 100%;
  padding: 0 0 28px;
  margin: 0;
}
.synthesis-toolbar {
  width: min(96vw, 1520px);
  margin: 12px auto 8px;
  padding: 10px 14px;
  border-radius: 18px;
}
.synthesis-toolbar h1 { font-size: clamp(1.25rem, 2vw, 1.9rem); }
.synthesis-toolbar .eyebrow { font-size: .68rem; }
.synthesis-toolbar .button-row { margin-top: 0; }
.synthesis-toolbar button,
.synthesis-toolbar .button-link {
  padding: 8px 12px;
  font-size: .82rem;
}
.landscape-report {
  width: min(96vw, calc((100vh - 116px) * 16 / 9), 1600px);
  max-width: 1600px;
  aspect-ratio: 16 / 9;
  margin: 0 auto 18px;
  border-width: clamp(6px, .85vw, 12px);
  border-radius: 10px;
  padding: clamp(10px, 1.2vw, 20px);
  box-sizing: border-box;
  background:
    radial-gradient(circle at 18% 8%, rgba(255,255,255,.28), transparent 20%),
    radial-gradient(circle at 76% 32%, rgba(123,69,25,.15), transparent 30%),
    repeating-linear-gradient(35deg, rgba(80,43,16,.055) 0 1px, transparent 1px 8px),
    linear-gradient(135deg, #e9c88d, #d3a461 38%, #ecd39d 66%, #c7924f);
}
.landscape-report::before { inset: 6px; }
.synthesis-header {
  grid-template-columns: 1.05fr 1.35fr 1.05fr;
  gap: clamp(8px, 1vw, 18px);
  min-height: clamp(86px, 11.5%, 130px);
}
.synthesis-brand,
.synthesis-note {
  min-height: 0;
  padding: clamp(8px, .9vw, 14px);
  border-radius: 16px;
}
.brand-medallion,
.wood-icon {
  width: clamp(42px, 5vw, 74px);
  height: clamp(42px, 5vw, 74px);
  font-size: clamp(1.25rem, 2vw, 2rem);
}
.synthesis-brand h2 { font-size: clamp(.92rem, 1.55vw, 1.75rem); }
.synthesis-brand p,
.synthesis-note { font-size: clamp(.58rem, .85vw, .98rem); }
.synthesis-title h1 { font-size: clamp(2.25rem, 4.4vw, 5.2rem); }
.synthesis-title p {
  margin: clamp(3px, .5vw, 8px) 0;
  padding: clamp(4px, .5vw, 8px) clamp(10px, 1.1vw, 18px);
  font-size: clamp(.64rem, .95vw, 1rem);
}
.synthesis-title strong { font-size: clamp(.82rem, 1.2vw, 1.35rem); }
.synthesis-grid {
  grid-template-columns: 1.05fr 1.05fr .95fr;
  gap: clamp(8px, 1vw, 16px);
  height: calc(100% - clamp(142px, 17.5%, 190px));
}
.synthesis-panel {
  padding: clamp(8px, .9vw, 14px);
  border-radius: 14px;
  background: rgba(244,213,158,.56);
}
.synthesis-panel h3 {
  margin-bottom: clamp(6px, .75vw, 12px);
  padding: clamp(4px, .45vw, 7px) clamp(8px, .9vw, 15px);
  font-size: clamp(.58rem, .86vw, 1rem);
}
.heatmap-table {
  grid-template-columns: minmax(150px, .95fr) minmax(190px, 1.05fr);
  font-size: clamp(.45rem, .62vw, .78rem);
}
.heatmap-head,
.heatmap-question,
.heatmap-cells { padding: clamp(3px, .35vw, 6px); }
.heatmap-cells { gap: clamp(2px, .28vw, 5px); }
.heat-cell {
  min-height: clamp(22px, 2.65vw, 34px);
  padding: 2px;
}
.heat-scale { margin-top: clamp(5px, .55vw, 10px); font-size: clamp(.48rem, .65vw, .8rem); }
.indicator-row { gap: clamp(4px, .65vw, 10px); }
.indicator-card { padding: clamp(5px, .65vw, 10px); }
.indicator-card h4 { font-size: clamp(.48rem, .72vw, .92rem); }
.indicator-card strong { font-size: clamp(1.6rem, 3.25vw, 4.2rem); }
.indicator-card p { font-size: clamp(.45rem, .63vw, .82rem); }
.mini-chart-row {
  margin-top: clamp(7px, .8vw, 12px);
  gap: clamp(4px, .5vw, 8px);
  padding: clamp(7px, .75vw, 12px);
}
.mini-bar-block { font-size: clamp(.46rem, .62vw, .82rem); }
.word-cloud { padding: clamp(5px, .6vw, 10px); gap: .15rem .55rem; }
.word-cloud span { font-size: calc(clamp(.43rem, .58vw, .7rem) * var(--size)); }
.word-note { font-size: clamp(.46rem, .62vw, .82rem); padding: clamp(5px, .6vw, 9px); }
.synthesis-footer {
  margin-top: clamp(6px, .75vw, 12px);
  padding: clamp(6px, .7vw, 10px) clamp(10px, 1vw, 16px);
  font-size: clamp(.5rem, .68vw, .85rem);
}
@media (max-width: 1050px) {
  .landscape-report {
    width: min(96vw, calc((100vh - 116px) * 16 / 9));
    max-width: none;
  }
}
@media (max-height: 760px) {
  .synthesis-toolbar { margin-top: 6px; padding: 7px 10px; }
  .synthesis-toolbar h1 { font-size: 1.2rem; }
  .synthesis-toolbar p { display: none; }
  .landscape-report { width: min(96vw, calc((100vh - 76px) * 16 / 9)); }
}
@media print {
  @page { size: letter landscape; margin: 0; }
  .landscape-report {
    width: 100vw !important;
    height: 100vh !important;
    border-width: 8px !important;
    padding: 12px !important;
  }
}

/* V0K4 : ajustement synthèse sur fond graphique fourni */
.synthesis-demo-sheet {
  position: relative;
  width: min(96vw, calc((100vh - 112px) * 1.5), 1536px);
  aspect-ratio: 3 / 2;
  margin: 8px auto 20px;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: 0 18px 42px rgba(0,0,0,.55);
  overflow: hidden;
}
.synthesis-demo-sheet::before { display: none !important; }
.synthesis-bg-template {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  z-index: 0;
  user-select: none;
  pointer-events: none;
}
.synthesis-demo-sheet .synth-total {
  position: absolute;
  left: 41.5%;
  top: 17.2%;
  width: 19%;
  padding: .35% .5%;
  z-index: 2;
  border-radius: 8px;
  background: rgba(244,213,158,.78);
  color: #301909;
  text-align: center;
  font-family: Georgia, serif;
  font-weight: 900;
  font-size: clamp(.55rem, 1.28vw, 1.25rem);
  text-transform: uppercase;
}
.synth-overlay {
  position: absolute;
  z-index: 2;
  box-sizing: border-box;
  border: 1px solid rgba(71,38,15,.46);
  border-radius: 10px;
  background: rgba(244,213,158,.80);
  box-shadow: inset 0 0 18px rgba(76,39,15,.14);
  color: #281407;
  font-family: Georgia, serif;
}
.synth-overlay h3 {
  display: inline-block;
  margin: 0 0 1.2%;
  padding: .55% 2.2%;
  background: rgba(67,36,15,.96);
  color: #ffecc4;
  font-size: clamp(.48rem, .9vw, .9rem);
  line-height: 1.1;
  text-transform: uppercase;
}
.synth-heatmap { left: 2.7%; top: 24.2%; width: 33%; height: 44.8%; padding: .75%; }
.synth-kpis { left: 37%; top: 24.2%; width: 34.2%; height: 52.8%; padding: .75%; }
.synth-words { left: 72.5%; top: 26.4%; width: 24.5%; height: 43.4%; padding: 1%; background: transparent !important; border: 0 !important; box-shadow: none !important; overflow: hidden; }
.synth-heat-table {
  display: grid;
  grid-template-columns: 43% 57%;
  height: calc(100% - 8%);
  border: 1px solid rgba(66,35,15,.25);
  background: rgba(255,238,190,.27);
  overflow: hidden;
}
.synth-heat-table .head,
.synth-heat-table .qcell,
.synth-heat-table .ccell {
  border-bottom: 1px solid rgba(66,35,15,.20);
  min-height: 0;
}
.synth-heat-table .head {
  padding: .35rem .4rem;
  font-size: clamp(.42rem, .68vw, .68rem);
  font-weight: 900;
  background: rgba(92,52,22,.12);
}
.synth-heat-table .qcell {
  padding: .22rem .35rem;
  font-size: clamp(.35rem, .58vw, .58rem);
  line-height: 1.02;
  overflow: hidden;
}
.synth-heat-table .ccell {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .25rem;
  padding: .18rem .28rem;
  overflow: hidden;
}
.heat-chip {
  min-width: 0;
  display: grid;
  align-content: center;
  padding: .12rem .18rem;
  border: 1px solid rgba(66,35,15,.18);
  background: color-mix(in srgb, #f6e3a5 calc(100% - var(--heat)), #ab3e17 var(--heat));
  text-align: center;
  line-height: 1.05;
}
.heat-chip em {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-style: normal;
  font-size: clamp(.31rem, .50vw, .50rem);
}
.heat-chip b { font-size: clamp(.34rem, .54vw, .54rem); }
.synth-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 59%;
  gap: .25rem;
}
.synth-kpi {
  text-align: center;
  padding: .3rem .2rem;
  border-right: 1px solid rgba(66,35,15,.18);
}
.synth-kpi:last-child { border-right: 0; }
.synth-kpi .wood-icon {
  width: clamp(30px, 3.4vw, 54px);
  height: clamp(30px, 3.4vw, 54px);
  margin: .10rem auto .25rem;
  font-size: clamp(.92rem, 1.55vw, 1.55rem);
}
.synth-kpi h4 {
  min-height: 2.2em;
  margin: 0;
  font-size: clamp(.37rem, .64vw, .66rem);
  line-height: 1.05;
  text-transform: uppercase;
}
.synth-kpi strong {
  display: block;
  margin: .08rem 0 .12rem;
  color: #78351a;
  font-size: clamp(1.15rem, 2.65vw, 2.95rem);
  line-height: .88;
}
.synth-kpi:nth-child(2) strong { color: #49632f; }
.synth-kpi p {
  max-width: 92%;
  margin: 0 auto;
  font-size: clamp(.30rem, .47vw, .48rem);
  line-height: 1.05;
}
.synth-top-bars {
  position: absolute;
  left: 5%;
  right: 5%;
  bottom: 5.5%;
  margin: 0;
  padding: .38rem .5rem;
  border-radius: 10px;
  background: rgba(255,238,190,.34);
}
.synth-top-bars div {
  display: grid;
  grid-template-columns: 30% 1fr auto;
  align-items: center;
  gap: .35rem;
  margin: .08rem 0;
  font-size: clamp(.30rem, .48vw, .50rem);
  font-weight: 900;
}
.synth-top-bars i {
  display: block;
  height: .55rem;
  border: 1px solid rgba(66,35,15,.25);
  background: rgba(255,255,255,.33);
}
.synth-top-bars i b { display: block; height: 100%; background: linear-gradient(90deg, #e8ae4b, #af4218); }
.synth-words .word-cloud {
  height: 88%;
  padding: .2rem;
}
.synth-words .word-cloud span {
  font-size: calc(clamp(.38rem, .62vw, .65rem) * var(--size));
}
.synth-words p {
  margin: .12rem 0 0;
  padding-top: .18rem;
  border-top: 1px solid rgba(66,35,15,.18);
  font-size: clamp(.30rem, .46vw, .48rem);
  font-weight: 900;
}
.synth-about {
  position: absolute;
  z-index: 2;
  left: 20.2%;
  top: 77.2%;
  width: 32.5%;
  height: 8.5%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: .45rem;
  padding: .5rem .7rem;
  border-radius: 9px;
  background: rgba(244,213,158,.54);
  color: #2f1808;
  font-family: Georgia, serif;
  font-size: clamp(.34rem, .54vw, .55rem);
  line-height: 1.12;
}
.synth-about strong { font-size: clamp(.45rem, .70vw, .70rem); text-transform: uppercase; }
@media (max-height: 760px) {
  .synthesis-demo-sheet { width: min(96vw, calc((100vh - 82px) * 1.5), 1536px); }
}
@media print {
  @page { size: landscape; margin: 0; }
  .synthesis-demo-sheet {
    width: 100vw !important;
    height: 100vh !important;
    aspect-ratio: auto !important;
    margin: 0 !important;
    box-shadow: none !important;
  }
}


/* V0K5/V0K6 : total sur une ligne, conteneurs transparents, indicateurs dégagés */
.synthesis-demo-sheet .synth-total {
  left: 37.5% !important;
  top: 17.3% !important;
  width: 25% !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  white-space: nowrap !important;
  font-size: clamp(.70rem, 1.55vw, 1.40rem) !important;
  line-height: 1 !important;
}
.synth-overlay,
.synth-heatmap,
.synth-kpis,
.synth-words,
.synth-about {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.synth-heatmap { left: 2.7% !important; top: 24.2% !important; width: 33% !important; height: 44.8% !important; padding: .72% !important; }
.synth-kpis { left: 37% !important; top: 24.2% !important; width: 34.2% !important; height: 57.2% !important; padding: .72% !important; }
.synth-words { left: 72.5% !important; top: 26.4% !important; width: 24.5% !important; height: 43.4% !important; padding: .2% 1% !important; }
.synth-heat-table {
  background: transparent !important;
  border-color: rgba(66,35,15,.22) !important;
}
.synth-heat-table .head { background: rgba(92,52,22,.08) !important; }
.synth-kpi-row { height: 66% !important; }
.synth-kpi { padding: .12rem .12rem !important; }
.synth-kpi .wood-icon {
  width: clamp(28px, 3.0vw, 48px) !important;
  height: clamp(28px, 3.0vw, 48px) !important;
  margin: .05rem auto .20rem !important;
  font-size: clamp(.80rem, 1.35vw, 1.35rem) !important;
}
.synth-kpi h4 {
  font-size: clamp(.34rem, .58vw, .60rem) !important;
  line-height: 1.0 !important;
  min-height: 2.05em !important;
}
.synth-kpi strong {
  font-size: clamp(1.0rem, 2.25vw, 2.50rem) !important;
  margin: .08rem 0 .08rem !important;
  line-height: .90 !important;
}
.synth-kpi p {
  font-size: clamp(.27rem, .42vw, .44rem) !important;
  line-height: 1.0 !important;
  max-width: 88% !important;
}
.synth-top-bars {
  bottom: 2.2% !important;
  left: 6% !important;
  right: 6% !important;
  padding: .22rem .40rem !important;
  background: rgba(255,238,190,.18) !important;
  border: 0 !important;
}
.synth-top-bars div {
  grid-template-columns: 34% 1fr auto !important;
  gap: .25rem !important;
  margin: .03rem 0 !important;
  font-size: clamp(.27rem, .42vw, .45rem) !important;
}
.synth-top-bars i { height: .42rem !important; }
.synth-words p {
  border-top: 0 !important;
  font-size: clamp(.28rem, .42vw, .44rem) !important;
}
.synth-about {
  background: transparent !important;
}
@media print {
  .synth-overlay,
  .synth-heatmap,
  .synth-kpis,
  .synth-words,
  .synth-about,
  .synthesis-demo-sheet .synth-total {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }
}


/* V0K6 : remonte les barres de la section B et solidifie l'export visuel */
.synth-top-bars {
  bottom: auto !important;
  top: 64% !important;
  left: 7% !important;
  right: 7% !important;
  padding: .18rem .36rem !important;
  background: transparent !important;
}
.synth-top-bars div {
  grid-template-columns: 31% 1fr auto !important;
  margin: .03rem 0 !important;
}
.synth-kpis { height: 57.2% !important; }
.synth-kpi-row { height: 58% !important; }
.synth-kpi p { max-width: 82% !important; }
@media print {
  .synth-top-bars { top: 64% !important; bottom: auto !important; background: transparent !important; }
}
