/* Shared layout, accessible consent controls and form feedback. */
[hidden] { display: none !important; }
main { min-width: 0; }
[id] { scroll-margin-top: 90px; }
#cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px; padding: 18px 5%;
  border-top: 3px solid #00b8a0; background: #0b1f3a; color: #fff;
}
#cookie-banner p { flex: 1 1 260px; margin: 0; max-width: 720px; color: #fff; font-size: 13px; line-height: 1.6; }
#cookie-banner a { color: #61ead8; text-decoration: underline; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cookie-actions button { background: #fff; color: #0b1f3a; border: 2px solid #fff; border-radius: 24px; padding: 10px 22px; font: inherit; font-size: 14px; cursor: pointer; }
.cookie-settings { display: block; margin: 20px auto 0; padding: 10px 16px; background: transparent; border: 1px solid #c9d5e0; border-radius: 8px; color: #e4edf5; font: inherit; font-size: 13px; cursor: pointer; }
.form-error { margin-top: 16px; padding: 14px; color: #7d1d1d; background: #fff0f0; border: 1px solid #a82f2f; border-radius: 8px; font-size: 14px; line-height: 1.6; }
button:disabled { opacity: .6; cursor: wait; }
:focus-visible { outline: 3px solid #007568; outline-offset: 4px; }
.btn-primary, .btn-submit { background: #007568; color: #fff; }
.btn-primary:hover, .btn-submit:hover { background: #005c52; }
.source-note { margin: 20px 0; padding: 16px 20px; background: #f0f8f6; border-left: 3px solid #007568; color: #243c4b; font-size: 14px; line-height: 1.7; }
.source-note a { color: #006557; text-decoration: underline; }
.profils-grid > *, .missions > *, .faq-intro > *, .form-row > * { min-width: 0; }
.faq-intro { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 48px; align-items: start; margin-bottom: 48px; }
@media (max-width: 600px) {
  .profils-grid, .missions, .faq-intro, .form-row { grid-template-columns: minmax(0, 1fr); }
  .faq-intro img { max-width: 100%; }
  input, select, textarea { min-width: 0; max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
