:root {
  color-scheme: light;
  --content: min(1180px, calc(100vw - 40px));
  --serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: var(--content); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: 12px; z-index: 100; transform: translateY(-150%); padding: 12px 16px; background: #fff; color: #111; }
.skip-link:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
/* Le contenu reste toujours visible, même si JavaScript ou l'observateur de défilement tarde. */
[data-reveal] { opacity: 1; transform: none; }
.menu-button { display: none; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 8px; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; border: 1px solid currentColor; border-radius: 0; padding: 14px 15px; background: transparent; color: inherit; }
.field textarea { min-height: 132px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: currentColor; opacity: .52; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: .82rem; line-height: 1.55; }
.check input { margin-top: 3px; accent-color: currentColor; }
.form-status { min-height: 1.5em; margin: 12px 0 0; font-size: .83rem; }
.form-status[data-state="success"] { color: #b9f6ca; }
.form-status[data-state="error"] { color: #ff9d94; }

@media (max-width: 760px) {
  :root { --content: min(100% - 28px, 1180px); }
  .menu-button { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid currentColor; background: transparent; color: inherit; }
  .mobile-panel { display: none !important; position: absolute; inset: 100% 0 auto; padding: 24px 20px; }
  .mobile-panel[data-open] { display: grid !important; }
  .form-grid { grid-template-columns: 1fr; }
  .field--wide { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
