.dommat-tool {
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid var(--dm-border, #D8D4CC);
  border-radius: 24px;
  background: var(--dm-surface, #FFFFFF);
}
.dommat-tool-head { max-width: 760px; }
.dommat-tool-kicker {
  color: var(--dm-gold-text, #8F6828);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .78rem;
}
.dommat-tool-form,
.dommat-discovery-form { display: grid; gap: 14px; margin-top: 24px; }
.dommat-tool-inline { display: flex; gap: 10px; }
.dommat-tool input,
.dommat-tool select {
  min-height: 46px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--dm-border-ui, #8A867E);
  border-radius: 10px;
  background: var(--dm-bg, #FFFFFF);
  color: var(--dm-text, #151515);
}
.dommat-tool button {
  min-height: 46px;
  padding: 10px 16px;
  border: 0;
  border-radius: 10px;
  background: var(--dm-accent, #B4893D);
  color: #111111;
  font-weight: 800;
  cursor: pointer;
}
.dommat-tool-help { color: var(--dm-text-soft, #5B5B57); font-size: .92rem; }
.dommat-tool-result[hidden] { display: none; }
@media (max-width: 640px) {
  .dommat-tool-inline { flex-direction: column; }
}
.dommat-progress {
  display: grid;
  gap: 8px;
  margin: 24px 0;
}
.dommat-progress progress {
  width: 100%;
  height: 10px;
  accent-color: var(--dm-accent, #B4893D);
}
.dommat-discovery-form fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}
.dommat-discovery-form legend {
  margin-bottom: 18px;
  font-size: 1.2rem;
  font-weight: 800;
}
.dommat-discovery-form label {
  display: grid;
  gap: 7px;
  margin: 10px 0;
}
.dommat-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px;
}
.dommat-choice {
  position: relative;
  cursor: pointer;
}
.dommat-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.dommat-choice span {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--dm-border, #D8D4CC);
  border-radius: 12px;
  background: var(--dm-bg-soft, #F8F6F1);
}
.dommat-choice input:focus-visible + span {
  outline: 3px solid var(--dm-focus, #8F6828);
  outline-offset: 3px;
}
.dommat-choice input:checked + span {
  border-color: var(--dm-accent, #B4893D);
  box-shadow: inset 0 0 0 2px var(--dm-accent, #B4893D);
}
.dommat-step-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 20px;
}
.dommat-step-actions button:first-child {
  background: transparent;
  color: var(--dm-text, #151515);
  border: 1px solid var(--dm-border-ui, #8A867E);
}
.dommat-result-card,
.dommat-final-result {
  margin-top: 24px;
  padding: 24px;
  border: 1px solid var(--dm-border, #D8D4CC);
  border-radius: 18px;
  background: var(--dm-bg-soft, #F8F6F1);
}
.dommat-result-label,
.dommat-result-category {
  margin: 0 0 8px;
  color: var(--dm-gold-text, #8F6828);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .78rem;
}
.dommat-result-control {
  padding-left: 12px;
  border-left: 3px solid var(--dm-accent, #B4893D);
  color: var(--dm-text-soft, #5B5B57);
}
.dommat-result-next,
.dommat-tool-cta {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  margin-top: 18px;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--dm-accent, #B4893D);
  color: var(--dm-accent-text, #111111);
  font-weight: 800;
  text-decoration: none;
}
.dommat-opportunity-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.dommat-opportunity {
  padding: 18px;
  border: 1px solid var(--dm-border, #D8D4CC);
  border-radius: 14px;
  background: var(--dm-surface, #FFFFFF);
}
.dommat-opportunity h4 {
  margin: 4px 0 10px;
  font-size: 1.12rem;
}
.dommat-result-start {
  font-size: 1.05rem;
  font-weight: 700;
}
.dommat-result-avoid {
  margin-top: 18px;
  padding: 16px;
  border: 1px dashed var(--dm-border-ui, #8A867E);
  border-radius: 12px;
}
.dommat-tool-message:not(:empty) {
  margin-top: 14px;
  font-weight: 700;
}
@media (max-width: 640px) {
  .dommat-choice-grid { grid-template-columns: 1fr; }
  .dommat-step-actions { flex-direction: column-reverse; }
  .dommat-step-actions button { width: 100%; }
}
.dommat-diagnostic-summary {
  display: grid;
  gap: 8px;
  margin-top: 24px;
}
.dommat-diagnostic-summary h3 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1;
}
.dommat-diagnostic-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}
.dommat-diagnostic-meta span {
  padding: 7px 10px;
  border: 1px solid var(--dm-border, #D8D4CC);
  border-radius: 999px;
  background: var(--dm-bg-soft, #F8F6F1);
  font-size: .9rem;
}
.dommat-diagnostic-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.dommat-diagnostic-list {
  padding: 18px;
  border: 1px solid var(--dm-border, #D8D4CC);
  border-radius: 14px;
  background: var(--dm-surface, #FFFFFF);
}
.dommat-diagnostic-list h4 { margin-top: 0; }
.dommat-domain-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
  margin: 18px 0;
}
.dommat-domain-card {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--dm-border, #D8D4CC);
  border-radius: 12px;
  background: var(--dm-surface, #FFFFFF);
}
.dommat-domain-card span {
  color: var(--dm-text-soft, #5B5B57);
}
.dommat-diagnostic-limits {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid var(--dm-border, #D8D4CC);
  border-radius: 12px;
}
.dommat-diagnostic-limits summary {
  cursor: pointer;
  font-weight: 800;
}
.dommat-diagnostic-next-step {
  margin-top: 18px;
  padding: 18px 20px;
  border-left: 4px solid var(--dm-accent, #B4893D);
  border-radius: 0 14px 14px 0;
  background: var(--dm-bg-soft, #F8F6F1);
}
.dommat-diagnostic-next-step p {
  margin: 8px 0 14px;
  color: var(--dm-text-soft, #5B5B57);
}
.dommat-diagnostic-report-box[hidden] { display: none !important; }
.dommat-diagnostic-report-box h3 {
  margin: 4px 0 10px;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
}
.dommat-diagnostic-report-box input[type="email"] {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid var(--dm-border-ui, #8A867E);
  border-radius: 10px;
  background: var(--dm-surface, #FFFFFF);
  color: var(--dm-text, #151515);
}
.dommat-diagnostic-report-box button[type="submit"] {
  min-height: 46px;
  width: fit-content;
  padding: 10px 18px;
  border: 1px solid var(--dm-accent, #B4893D);
  border-radius: 10px;
  background: var(--dm-accent, #B4893D);
  color: #111111;
  font-weight: 850;
  cursor: pointer;
}
.dommat-diagnostic-report-box button[type="submit"]:disabled {
  opacity: .65;
  cursor: wait;
}
html[data-dommat-theme="dark"] .dommat-diagnostic-next-step,
html[data-dommat-theme="dark"] .dommat-diagnostic-report-box {
  background: #111419;
}
@media (max-width: 720px) {
  .dommat-diagnostic-columns,
  .dommat-domain-grid { grid-template-columns: 1fr; }
}
.dommat-project {
  display: grid;
  gap: 22px;
}
.dommat-project-progress {
  display: grid;
  gap: 8px;
}
.dommat-project-progress progress {
  width: 100%;
  height: 10px;
  accent-color: var(--dm-accent, #B4893D);
}
.dommat-project-step {
  margin: 0;
  padding: 0;
  border: 0;
}
.dommat-project-step[hidden] { display: none; }
.dommat-project-step legend {
  margin-bottom: 20px;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 850;
  line-height: 1.2;
}
.dommat-project-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
}
.dommat-project-choice-grid-compact {
  grid-template-columns: repeat(3, minmax(0,1fr));
}
.dommat-project-choice {
  position: relative;
  cursor: pointer;
}
.dommat-project-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.dommat-project-choice span {
  min-height: 110px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
  padding: 18px;
  border: 1px solid var(--dm-border, #D8D4CC);
  border-radius: 14px;
  background: var(--dm-surface, #FFFFFF);
}
.dommat-project-choice input:checked + span {
  border-color: var(--dm-accent, #B4893D);
  box-shadow: inset 0 0 0 2px var(--dm-accent, #B4893D);
}
.dommat-project-choice input:focus-visible + span {
  outline: 3px solid var(--dm-focus, #8F6828);
  outline-offset: 3px;
}
.dommat-project-choice small {
  color: var(--dm-text-soft, #5B5B57);
}
.dommat-project-fields {
  display: grid;
  gap: 16px;
}
.dommat-project-fields > label,
.dommat-project-field-label {
  display: grid;
  gap: 7px;
  font-weight: 750;
}
.dommat-project textarea {
  min-height: 120px;
  resize: vertical;
}
.dommat-project input[type="text"],
.dommat-project input[type="email"],
.dommat-project textarea,
.dommat-project select {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid var(--dm-border-ui, #8A867E);
  border-radius: 10px;
  background: var(--dm-bg, #FFFFFF);
  color: var(--dm-text, #151515);
}
.dommat-project-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px;
}
.dommat-project-check-grid label {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--dm-border, #D8D4CC);
  border-radius: 12px;
  background: var(--dm-surface, #FFFFFF);
}
.dommat-project-check-grid input[type="checkbox"] {
  appearance: none;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border: 2px solid var(--dm-border-ui, #8A867E);
  border-radius: 50%;
  background: var(--dm-bg, #FFFFFF);
}
.dommat-project-check-grid input[type="checkbox"]:checked {
  border-color: var(--dm-accent, #B4893D);
  box-shadow: inset 0 0 0 4px var(--dm-bg, #FFFFFF);
  background: var(--dm-accent, #B4893D);
}
.dommat-project-nav {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 24px;
}
.dommat-project-nav button {
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid var(--dm-border-ui, #8A867E);
  border-radius: 10px;
  background: var(--dm-surface, #FFFFFF);
  color: var(--dm-text, #151515);
  font-weight: 800;
  cursor: pointer;
}
.dommat-project-nav button:last-child {
  background: var(--dm-accent, #B4893D);
  color: var(--dm-accent-text, #111111);
  border-color: var(--dm-accent, #B4893D);
}
.dommat-project-note {
  color: var(--dm-text-soft, #5B5B57);
}
.dommat-project-recap {
  display: grid;
  gap: 4px;
  margin-bottom: 22px;
  padding: 18px;
  border: 1px solid var(--dm-border, #D8D4CC);
  border-radius: 14px;
  background: var(--dm-bg-soft, #F8F6F1);
}
.dommat-project-recap-row { margin: 0; }
.dommat-project-privacy {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 10px !important;
  align-items: flex-start;
}
.dommat-project-privacy input { margin-top: 4px; }
.dommat-honeypot {
  position: absolute !important;
  left: -99999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
@media (max-width: 760px) {
  .dommat-project-choice-grid,
  .dommat-project-choice-grid-compact,
  .dommat-project-check-grid {
    grid-template-columns: 1fr;
  }
  .dommat-project-choice span {
    min-height: 82px;
  }
  .dommat-project-nav {
    flex-direction: column-reverse;
  }
  .dommat-project-nav button {
    width: 100%;
  }
}

/* =========================================================
   DOMMAT — Découverte IA en 2 minutes v1.0
   Expérience ludique, visuelle, accessible et mémorable.
   ========================================================= */
.dommat-discovery {
  overflow: hidden;
}
.dommat-discovery-head {
  position: relative;
}
.dommat-discovery-rule {
  margin-top: 14px;
  padding: 12px 14px;
  border-left: 3px solid var(--dm-accent, #B4893D);
  border-radius: 0 10px 10px 0;
  background: var(--dm-bg-soft, #F8F6F1);
  color: var(--dm-text-soft, #5B5B57);
  font-weight: 700;
}
.dommat-mini-kicker {
  margin: 0 0 8px;
  color: var(--dm-gold-text, #8F6828);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.dommat-playful-note {
  margin: -6px 0 18px;
  color: var(--dm-text-soft, #5B5B57);
  font-size: .94rem;
}
.dommat-intro-card {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--dm-border, #D8D4CC);
  border-radius: 22px;
  background:
    radial-gradient(circle at 15% 20%, color-mix(in srgb, var(--dm-accent, #B4893D) 18%, transparent), transparent 44%),
    var(--dm-bg-soft, #F8F6F1);
}
.dommat-intro-card h3 {
  margin: 0 0 10px;
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  line-height: 1.12;
}
.dommat-intro-card p:not(.dommat-mini-kicker) {
  max-width: 680px;
  color: var(--dm-text-soft, #5B5B57);
}
.dommat-intro-visual {
  display: grid;
  place-items: center;
  width: 145px;
  aspect-ratio: 1;
  border-radius: 24px;
  background: var(--dm-surface, #FFFFFF);
  border: 1px solid var(--dm-border, #D8D4CC);
  box-shadow: 0 18px 40px rgba(0,0,0,.08);
}
.dommat-intro-visual svg,
.dommat-card-picto svg,
.dommat-choice-icon svg {
  width: 54%;
  height: 54%;
  fill: none;
  stroke: var(--dm-accent, #B4893D);
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.dommat-activity-card {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 12px 18px;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--dm-border, #D8D4CC);
  border-radius: 18px;
  background: var(--dm-bg-soft, #F8F6F1);
}
.dommat-card-picto {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 74px;
  aspect-ratio: 1;
  border-radius: 16px;
  background: var(--dm-surface, #FFFFFF);
  border: 1px solid var(--dm-border, #D8D4CC);
}
.dommat-card-picto svg {
  width: 44px;
  height: 44px;
}
.dommat-activity-card label {
  margin: 0 !important;
  font-weight: 850;
}
.dommat-activity-card input {
  margin: 0;
}
.dommat-choice-grid-illustrated {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.dommat-choice-illustrated span {
  min-height: 132px;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  gap: 12px;
}
.dommat-choice-icon {
  display: grid !important;
  place-items: center;
  width: 50px;
  min-height: 50px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 14px !important;
  background: var(--dm-surface, #FFFFFF) !important;
  box-shadow: none !important;
}
.dommat-choice-icon svg {
  width: 30px;
  height: 30px;
}
.dommat-choice-illustrated input:checked + span .dommat-choice-icon {
  background: color-mix(in srgb, var(--dm-accent, #B4893D) 16%, var(--dm-surface, #FFFFFF)) !important;
}
.dommat-step-actions-end {
  justify-content: flex-end;
}
.dommat-level-two-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.dommat-level-two-card {
  padding: 16px;
  border: 1px solid var(--dm-border, #D8D4CC);
  border-radius: 14px;
  background: var(--dm-bg-soft, #F8F6F1);
}
.dommat-level-two-card label {
  margin: 0 0 8px;
  font-weight: 800;
}
.dommat-result-reveal {
  animation: dommatReveal .38s ease both;
}
@keyframes dommatReveal {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .dommat-result-reveal { animation: none; }
}
.dommat-result-badge {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--dm-accent, #B4893D);
  color: var(--dm-accent-text, #111111);
  font-size: .82rem;
  font-weight: 850;
}
.dommat-result-caveat {
  margin-top: 14px;
  color: var(--dm-text-soft, #5B5B57);
  font-size: .9rem;
}
.dommat-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
}
.dommat-result-actions .dommat-result-next {
  margin-top: 0;
}
.dommat-result-skip,
.dommat-share-profile {
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid var(--dm-border-ui, #8A867E) !important;
  background: transparent !important;
  color: var(--dm-text, #151515) !important;
}
.dommat-profile-card {
  display: grid;
  grid-template-columns: 92px minmax(0,1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--dm-border, #D8D4CC);
  border-radius: 20px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--dm-accent, #B4893D) 13%, transparent), transparent 55%),
    var(--dm-surface, #FFFFFF);
}
.dommat-profile-emblem {
  display: grid;
  place-items: center;
  width: 92px;
  aspect-ratio: 1;
  border-radius: 20px;
  background: var(--dm-accent, #B4893D);
  color: var(--dm-accent-text, #111111);
  font-size: 2.25rem;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(0,0,0,.10);
}
.dommat-profile-copy h3 {
  margin: 2px 0 8px;
  font-size: clamp(1.55rem, 3vw, 2.3rem);
}
.dommat-profile-copy p:last-child {
  margin-bottom: 0;
  color: var(--dm-text-soft, #5B5B57);
}
.dommat-share-profile {
  align-self: center;
  white-space: nowrap;
}
.dommat-best-start {
  margin-top: 18px;
  padding: 18px 20px;
  border-left: 4px solid var(--dm-accent, #B4893D);
  border-radius: 0 14px 14px 0;
  background: var(--dm-bg-soft, #F8F6F1);
}
.dommat-best-start h4 {
  margin: 2px 0 8px;
  font-size: 1.2rem;
}
.dommat-best-start p:last-child {
  margin-bottom: 0;
  color: var(--dm-text-soft, #5B5B57);
}
.dommat-opportunity {
  position: relative;
  overflow: hidden;
}
.dommat-opportunity-number {
  position: absolute;
  top: 12px;
  right: 14px;
  color: color-mix(in srgb, var(--dm-accent, #B4893D) 55%, var(--dm-text-soft, #5B5B57));
  font-size: 1.5rem;
  font-weight: 900;
  opacity: .7;
}
.dommat-report-box {
  margin-top: 20px;
  padding: 20px;
  border: 1px solid var(--dm-border, #D8D4CC);
  border-radius: 16px;
  background: var(--dm-bg-soft, #F8F6F1);
}
.dommat-report-box h4 {
  margin: 4px 0 8px;
  font-size: 1.2rem;
}
.dommat-report-form {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}
.dommat-report-form > label:first-child {
  display: grid;
  gap: 7px;
  font-weight: 800;
}
.dommat-report-marketing {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 10px !important;
  align-items: flex-start;
  margin: 0 !important;
  font-weight: 500 !important;
}
.dommat-report-marketing input {
  width: 20px !important;
  min-height: 20px !important;
  margin-top: 2px;
  flex: 0 0 20px;
}
.dommat-discovery-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
  margin-top: 20px;
}
.dommat-secondary-link {
  color: var(--dm-gold-text, #8F6828);
  font-weight: 800;
}
.dommat-honeypot {
  position: absolute !important;
  left: -99999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
html[data-dommat-theme="dark"] .dommat-discovery-rule,
html[data-dommat-theme="dark"] .dommat-intro-card,
html[data-dommat-theme="dark"] .dommat-activity-card,
html[data-dommat-theme="dark"] .dommat-level-two-card,
html[data-dommat-theme="dark"] .dommat-best-start,
html[data-dommat-theme="dark"] .dommat-report-box,
html[data-dommat-theme="dark"] .dommat-result-card,
html[data-dommat-theme="dark"] .dommat-final-result {
  background: #111419;
}
html[data-dommat-theme="dark"] .dommat-intro-visual,
html[data-dommat-theme="dark"] .dommat-card-picto,
html[data-dommat-theme="dark"] .dommat-choice-icon,
html[data-dommat-theme="dark"] .dommat-opportunity,
html[data-dommat-theme="dark"] .dommat-profile-card {
  background-color: #161A20;
}
@media (max-width: 980px) {
  .dommat-choice-grid-illustrated {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
  .dommat-profile-card {
    grid-template-columns: 74px minmax(0,1fr);
  }
  .dommat-profile-emblem {
    width: 74px;
  }
  .dommat-share-profile {
    grid-column: 1 / -1;
    width: 100%;
  }
}
@media (max-width: 700px) {
  .dommat-intro-card {
    grid-template-columns: 1fr;
  }
  .dommat-intro-visual {
    width: 96px;
  }
  .dommat-activity-card {
    grid-template-columns: 58px minmax(0,1fr);
  }
  .dommat-card-picto {
    width: 58px;
  }
  .dommat-card-picto svg {
    width: 34px;
    height: 34px;
  }
  .dommat-level-two-grid {
    grid-template-columns: 1fr;
  }
  .dommat-profile-card {
    grid-template-columns: 58px minmax(0,1fr);
    align-items: start;
  }
  .dommat-profile-emblem {
    width: 58px;
    border-radius: 14px;
    font-size: 1.6rem;
  }
}
@media (max-width: 480px) {
  .dommat-choice-grid-illustrated {
    grid-template-columns: 1fr 1fr;
  }
  .dommat-choice-illustrated span {
    min-height: 118px;
    padding: 12px 8px;
  }
  .dommat-result-actions,
  .dommat-discovery-ctas {
    flex-direction: column;
    align-items: stretch;
  }
  .dommat-result-actions button,
  .dommat-discovery-ctas a {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* =========================================================
   DOMMAT — Découverte IA en 2 minutes — écrans 0 à 12
   Version fidèle au parcours validé.
   ========================================================= */
.dommat-discovery-exact {
  --game-border: var(--dm-border, #D8D4CC);
  --game-border-ui: var(--dm-border-ui, #8A867E);
  --game-bg: var(--dm-surface, #FFFFFF);
  --game-soft: var(--dm-bg-soft, #F8F6F1);
  --game-text: var(--dm-text, #151515);
  --game-soft-text: var(--dm-text-soft, #5B5B57);
  --game-gold: var(--dm-accent, #B4893D);
  --game-gold-text: var(--dm-gold-text, #8F6828);
  position: relative;
}
.dommat-discovery-exact .dommat-discovery-progress {
  position: sticky;
  top: 0;
  z-index: 8;
  margin: -1px -1px 24px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--game-border);
  background: color-mix(in srgb, var(--game-bg) 94%, transparent);
  backdrop-filter: blur(10px);
}
.dommat-discovery-exact .dommat-discovery-progress span {
  font-size: .82rem;
  font-weight: 800;
  color: var(--game-soft-text);
}
.dommat-discovery-exact .dommat-game-screen {
  margin: 0;
  padding: 0;
  border: 0;
}
.dommat-discovery-exact .dommat-game-screen[hidden] {
  display: none !important;
}
.dommat-discovery-exact .dommat-game-screen > legend,
.dommat-discovery-exact .dommat-game-result-screen > h2,
.dommat-discovery-exact .dommat-screen-entry > h2 {
  width: 100%;
  max-width: 880px;
  margin: 0 0 22px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -.035em;
}
.dommat-discovery-exact .dommat-screen-entry {
  padding: clamp(26px, 5vw, 54px);
  border: 1px solid var(--game-border);
  border-radius: 22px;
  background:
    radial-gradient(circle at 88% 10%, color-mix(in srgb, var(--game-gold) 16%, transparent), transparent 30%),
    var(--game-soft);
}
.dommat-discovery-exact .dommat-screen-entry h2 {
  max-width: 820px;
  margin-top: 10px;
}
.dommat-discovery-exact .dommat-game-kicker,
.dommat-discovery-exact .dommat-game-section-label {
  margin: 0 0 10px;
  color: var(--game-gold-text);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.dommat-discovery-exact .dommat-game-lead {
  margin: 0 0 8px;
  font-size: clamp(1.1rem, 2.3vw, 1.35rem);
  font-weight: 800;
}
.dommat-discovery-exact .dommat-screen-entry > p:not(.dommat-game-kicker):not(.dommat-game-lead):not(.dommat-game-fine) {
  max-width: 720px;
  color: var(--game-soft-text);
  font-size: 1rem;
}
.dommat-discovery-exact .dommat-game-primary,
.dommat-discovery-exact .dommat-game-secondary,
.dommat-discovery-exact .dommat-step-actions button,
.dommat-discovery-exact .dommat-report-form button {
  min-height: 48px;
  border-radius: 11px;
  font-weight: 850;
}
.dommat-discovery-exact .dommat-game-primary,
.dommat-discovery-exact .dommat-report-form button {
  border: 1px solid var(--game-gold);
  background: var(--game-gold);
  color: #111111;
}
.dommat-discovery-exact .dommat-game-primary {
  margin-top: 18px;
}
.dommat-discovery-exact .dommat-game-secondary {
  border: 1px solid var(--game-border-ui) !important;
  background: transparent !important;
  color: var(--game-text) !important;
}
.dommat-discovery-exact .dommat-game-fine {
  margin: 12px 0 0;
  color: var(--game-soft-text);
  font-size: .88rem;
  line-height: 1.45;
}
.dommat-discovery-exact .dommat-game-note {
  margin: -8px 0 18px;
  color: var(--game-soft-text);
  font-size: .92rem;
}
.dommat-discovery-exact .dommat-game-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
}
.dommat-discovery-exact .dommat-game-grid-activity,
.dommat-discovery-exact .dommat-game-grid-nightmare {
  grid-template-columns: repeat(4, minmax(0,1fr));
}
.dommat-discovery-exact .dommat-game-grid-compact {
  grid-template-columns: repeat(3, minmax(0,1fr));
}
.dommat-discovery-exact .dommat-game-card {
  position: relative;
  margin: 0;
  cursor: pointer;
}
.dommat-discovery-exact .dommat-game-card > input {
  position: absolute;
  width: 1px !important;
  height: 1px !important;
  min-height: 1px !important;
  opacity: 0;
  pointer-events: none;
}
.dommat-discovery-exact .dommat-game-card-body {
  display: flex;
  min-height: 132px;
  height: 100%;
  padding: 16px 14px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--game-border);
  border-radius: 15px;
  background: var(--game-soft);
  color: var(--game-text);
  text-align: center;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.dommat-discovery-exact .dommat-game-card-body strong {
  font-size: .95rem;
  line-height: 1.25;
}
.dommat-discovery-exact .dommat-game-card-body small {
  display: block;
  max-width: 210px;
  color: var(--game-soft-text);
  font-size: .78rem;
  line-height: 1.35;
  font-style: italic;
}
.dommat-discovery-exact .dommat-game-emoji {
  display: grid;
  place-items: center;
  width: 46px;
  aspect-ratio: 1;
  border-radius: 13px;
  background: var(--game-bg);
  border: 1px solid var(--game-border);
  font-size: 1.45rem;
  line-height: 1;
}
.dommat-discovery-exact .dommat-game-card:hover .dommat-game-card-body {
  transform: translateY(-2px);
  border-color: var(--game-gold);
}
.dommat-discovery-exact .dommat-game-card input:focus-visible + .dommat-game-card-body {
  outline: 3px solid var(--dm-focus, #8F6828);
  outline-offset: 3px;
}
.dommat-discovery-exact .dommat-game-card input:checked + .dommat-game-card-body {
  border-color: var(--game-gold);
  background: color-mix(in srgb, var(--game-gold) 10%, var(--game-soft));
  box-shadow: inset 0 0 0 2px var(--game-gold);
}
.dommat-discovery-exact .dommat-game-card input:checked + .dommat-game-card-body .dommat-game-emoji {
  background: color-mix(in srgb, var(--game-gold) 16%, var(--game-bg));
}
.dommat-discovery-exact .dommat-game-transition {
  margin-top: 18px;
  padding: 14px 16px;
  border-left: 3px solid var(--game-gold);
  border-radius: 0 12px 12px 0;
  background: var(--game-soft);
  color: var(--game-soft-text);
  font-weight: 750;
  font-style: italic;
}
.dommat-discovery-exact .dommat-game-followup {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--game-border);
}
.dommat-discovery-exact .dommat-game-followup h3 {
  margin: 0 0 14px;
  font-size: 1.15rem;
}
.dommat-discovery-exact .dommat-stage-one-card,
.dommat-discovery-exact .dommat-game-profile,
.dommat-discovery-exact .dommat-game-best-start,
.dommat-discovery-exact .dommat-game-avoid,
.dommat-discovery-exact .dommat-paid-offer,
.dommat-discovery-exact .dommat-report-box {
  border: 1px solid var(--game-border);
  border-radius: 16px;
  background: var(--game-soft);
}
.dommat-discovery-exact .dommat-stage-one-card {
  padding: clamp(20px, 4vw, 30px);
}
.dommat-discovery-exact .dommat-stage-one-card h3 {
  margin: 0 0 12px;
  font-size: clamp(1.4rem, 3vw, 2rem);
}
.dommat-discovery-exact .dommat-stage-one-type {
  margin: 16px 0 10px;
  color: var(--game-gold-text);
}
.dommat-discovery-exact .dommat-stage-one-control {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 10px 0;
}
.dommat-discovery-exact .dommat-game-emoji-small {
  font-size: 1.1rem;
}
.dommat-discovery-exact .dommat-game-result-screen {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--game-border);
  border-radius: 20px;
  background: var(--game-bg);
}
.dommat-discovery-exact .dommat-game-profile {
  margin: 18px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--game-gold);
}
.dommat-discovery-exact .dommat-game-profile h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}
.dommat-discovery-exact .dommat-game-opportunities {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}
.dommat-discovery-exact .dommat-game-opportunity {
  position: relative;
  padding: 20px;
  border: 1px solid var(--game-border);
  border-radius: 16px;
  background: var(--game-bg);
}
.dommat-discovery-exact .dommat-game-opportunity-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.dommat-discovery-exact .dommat-game-opportunity-number {
  display: grid;
  place-items: center;
  width: 34px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--game-gold);
  color: #111111;
  font-weight: 900;
}
.dommat-discovery-exact .dommat-game-opportunity-type {
  color: var(--game-gold-text);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.dommat-discovery-exact .dommat-game-opportunity h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
}
.dommat-discovery-exact .dommat-game-human {
  margin: 14px 0 0;
  color: var(--game-soft-text);
}
.dommat-discovery-exact .dommat-game-best-start {
  margin-top: 20px;
  padding: 20px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--game-gold) 12%, transparent), transparent 55%),
    var(--game-soft);
}
.dommat-discovery-exact .dommat-game-best-start h3 {
  margin: 0 0 10px;
  font-size: 1.3rem;
}
.dommat-discovery-exact .dommat-game-avoid {
  margin-top: 16px;
  padding: 16px 18px;
  border-style: dashed;
}
.dommat-discovery-exact .dommat-game-avoid p {
  margin-bottom: 0;
}
.dommat-discovery-exact .dommat-game-warning {
  margin-top: 18px;
  padding: 14px 16px;
  border-left: 3px solid var(--game-border-ui);
  color: var(--game-soft-text);
  font-size: .9rem;
}
.dommat-discovery-exact .dommat-paid-offer,
.dommat-discovery-exact .dommat-report-box {
  padding: 20px;
}
.dommat-discovery-exact .dommat-paid-offer {
  margin-top: 18px;
}
.dommat-discovery-exact .dommat-paid-offer .dommat-tool-cta {
  margin-top: 12px;
}
.dommat-discovery-exact .dommat-report-box {
  margin-top: 16px;
}
.dommat-discovery-exact .dommat-report-box h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}
.dommat-discovery-exact .dommat-report-form {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}
.dommat-discovery-exact .dommat-report-form > label:first-child {
  display: grid;
  gap: 7px;
  font-weight: 800;
}
.dommat-discovery-exact .dommat-report-marketing {
  display: flex !important;
  align-items: flex-start;
  gap: 10px !important;
  margin: 0 !important;
  font-weight: 500 !important;
}
.dommat-discovery-exact .dommat-report-marketing input {
  width: 20px !important;
  min-height: 20px !important;
  flex: 0 0 20px;
  margin-top: 2px;
}
.dommat-discovery-exact .dommat-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  min-height: 1px !important;
  opacity: 0 !important;
}
.dommat-discovery-exact .dommat-step-actions {
  margin-top: 24px;
}
.dommat-discovery-exact .dommat-step-actions .dommat-game-primary {
  margin-top: 0;
}
html[data-dommat-theme="dark"] .dommat-discovery-exact {
  --game-bg: #161A20;
  --game-soft: #111419;
  --game-text: #F5F2EB;
  --game-soft-text: #B8BDC6;
  --game-border: #343A43;
  --game-border-ui: #56606C;
  --game-gold: #D0A553;
  --game-gold-text: #E2C17A;
}
html[data-dommat-theme="dark"] .dommat-discovery-exact .dommat-screen-entry,
html[data-dommat-theme="dark"] .dommat-discovery-exact .dommat-game-result-screen,
html[data-dommat-theme="dark"] .dommat-discovery-exact .dommat-game-opportunity {
  background-color: #161A20;
}
html[data-dommat-theme="dark"] .dommat-discovery-exact .dommat-game-card-body,
html[data-dommat-theme="dark"] .dommat-discovery-exact .dommat-game-transition,
html[data-dommat-theme="dark"] .dommat-discovery-exact .dommat-stage-one-card,
html[data-dommat-theme="dark"] .dommat-discovery-exact .dommat-game-profile,
html[data-dommat-theme="dark"] .dommat-discovery-exact .dommat-game-best-start,
html[data-dommat-theme="dark"] .dommat-discovery-exact .dommat-game-avoid,
html[data-dommat-theme="dark"] .dommat-discovery-exact .dommat-paid-offer,
html[data-dommat-theme="dark"] .dommat-discovery-exact .dommat-report-box {
  background-color: #111419;
}
html[data-dommat-theme="dark"] .dommat-discovery-exact .dommat-game-emoji {
  background: #1D2229;
}
@media (max-width: 1000px) {
  .dommat-discovery-exact .dommat-game-grid-activity,
  .dommat-discovery-exact .dommat-game-grid-nightmare {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}
@media (max-width: 700px) {
  .dommat-discovery-exact .dommat-discovery-progress {
    margin-bottom: 18px;
  }
  .dommat-discovery-exact .dommat-game-screen > legend,
  .dommat-discovery-exact .dommat-game-result-screen > h2,
  .dommat-discovery-exact .dommat-screen-entry > h2 {
    font-size: clamp(1.65rem, 8vw, 2.3rem);
  }
  .dommat-discovery-exact .dommat-game-grid,
  .dommat-discovery-exact .dommat-game-grid-compact {
    grid-template-columns: 1fr;
  }
  .dommat-discovery-exact .dommat-game-grid-activity,
  .dommat-discovery-exact .dommat-game-grid-nightmare {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
  .dommat-discovery-exact .dommat-game-card-body {
    min-height: 116px;
    padding: 13px 10px;
  }
  .dommat-discovery-exact .dommat-game-card-body small {
    font-size: .74rem;
  }
  .dommat-discovery-exact .dommat-step-actions {
    flex-direction: column-reverse;
  }
  .dommat-discovery-exact .dommat-step-actions button {
    width: 100%;
  }
}
@media (max-width: 390px) {
  .dommat-discovery-exact .dommat-game-grid-activity,
  .dommat-discovery-exact .dommat-game-grid-nightmare {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }
  .dommat-discovery-exact .dommat-game-card-body {
    min-height: 108px;
    padding-inline: 7px;
  }
  .dommat-discovery-exact .dommat-game-emoji {
    width: 40px;
    font-size: 1.25rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .dommat-discovery-exact .dommat-game-card-body {
    transition: none;
  }
  .dommat-discovery-exact .dommat-game-card:hover .dommat-game-card-body {
    transform: none;
  }
}

/* La progression reste dans le flux pour ne jamais passer sous le header fixe du site. */
.dommat-discovery-exact .dommat-discovery-progress {
  position: static;
  top: auto;
  z-index: auto;
  backdrop-filter: none;
}

/* =========================================================
   DOMMAT Core — Typographie accessible v1 — 2026-09-24
   ========================================================= */
.dommat-discovery-exact .dommat-game-screen > legend,
.dommat-discovery-exact .dommat-game-result-screen > h2,
.dommat-discovery-exact .dommat-screen-entry > h2 {
  line-height: 1.12;
  letter-spacing: -.02em;
}
.dommat-discovery-exact .dommat-game-kicker,
.dommat-discovery-exact .dommat-game-section-label {
  font-size: .875rem;
  line-height: 1.4;
}
.dommat-discovery-exact .dommat-game-card-body strong {
  font-size: 1rem;
  line-height: 1.3;
}
.dommat-discovery-exact .dommat-game-card-body small {
  font-size: .875rem;
  line-height: 1.45;
}
.dommat-discovery-exact .dommat-game-note,
.dommat-discovery-exact .dommat-game-fine {
  font-size: .875rem;
  line-height: 1.5;
}
.dommat-discovery-exact .dommat-game-card,
.dommat-discovery-exact .dommat-game-card-body,
.dommat-discovery-exact .dommat-game-opportunity,
.dommat-discovery-exact .dommat-stage-one-card,
.dommat-discovery-exact .dommat-game-profile,
.dommat-discovery-exact .dommat-game-best-start,
.dommat-discovery-exact .dommat-game-avoid,
.dommat-discovery-exact .dommat-paid-offer,
.dommat-discovery-exact .dommat-report-box {
  min-width: 0;
  max-width: 100%;
}
.dommat-discovery-exact .dommat-game-card-body strong,
.dommat-discovery-exact .dommat-game-card-body small,
.dommat-discovery-exact .dommat-game-opportunity h3,
.dommat-discovery-exact .dommat-game-opportunity p {
  overflow-wrap: anywhere;
  word-break: normal;
}
@media (max-width: 700px) {
  .dommat-discovery-exact .dommat-game-card-body small {
    font-size: .875rem;
    line-height: 1.45;
  }
  .dommat-discovery-exact .dommat-game-screen > legend,
  .dommat-discovery-exact .dommat-game-result-screen > h2,
  .dommat-discovery-exact .dommat-screen-entry > h2 {
    line-height: 1.14;
    letter-spacing: -.015em;
  }
}

/* Préserve la classe utilitaire lecteur d’écran face aux styles de legend du mini-jeu. */
.dommat-discovery-exact .screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  max-width: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.dommat-discovery-exact h1,
.dommat-discovery-exact h2,
.dommat-discovery-exact h3,
.dommat-discovery-exact h4,
.dommat-discovery-exact legend {
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}
