/* Accessibilité et finitions communes, sans modifier la direction artistique. */
:focus-visible {
  outline: 2px solid #285940;
  outline-offset: 4px;
}
iframe {
  max-width: none;
}
.real-preview {
  overflow: hidden;
}
.redion-preview-tools {
  gap: 12px;
  flex-wrap: wrap;
}
.redion-preview-tools a {
  flex-shrink: 0;
}
.marc-demo-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 9px 20px;
  min-height: 42px;
  color: #334155;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  font:
    12px Arial,
    sans-serif;
}
.marc-demo-toolbar a {
  text-decoration: none;
  color: inherit;
}
.embedded .marc-demo-toolbar {
  display: none;
}
html:not(.embedded) .marc-demo-toolbar ~ #root .fixed.top-0,
html:not(.embedded) .marc-demo-toolbar ~ #root .fixed.inset-y-0 {
  top: 42px;
}
@media (max-width: 650px) {
  /* Les en-têtes MARC gardent leurs filtres sur une ligne séparée sur téléphone. */
  #root main .space-y-6 > .flex:first-child {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  #root main .space-y-6 > .flex:first-child > .flex {
    flex-wrap: wrap;
    gap: 10px;
  }
  .top {
    height: auto;
    min-height: 82px;
    flex-wrap: wrap;
    padding-block: 16px;
    gap: 15px;
  }
  .top nav {
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
  }
  .section-heading {
    gap: 14px;
  }
  .mission-strip {
    flex-wrap: wrap;
  }
  .cv-downloads {
    flex-wrap: wrap;
    row-gap: 10px;
  }
  .contact-link {
    overflow-wrap: anywhere;
  }
  .redion-preview-tools {
    align-items: flex-start;
  }
  .marc-demo-toolbar > span {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
