/* Design System KORA (tokens) + formulaire du prototype « Site vitrine ».
   --action : orange foncé des actions, texte blanc (OVL-WEB-003, comme le
   site publié). */
:root {
  color-scheme: light;
  --ink: #1f2937;
  --muted: #4b5563;
  --line: #e5e7eb;
  --navy: #1e3a8a;
  --accent: #f97316;
  --action: #c2410c;
  --error: #dc2626;
  --error-bg: #fee2e2;
  --success: #16a34a;
  --success-bg: #dcfce7;
  font-family: 'Manrope', ui-sans-serif, system-ui, sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: #f8fafc;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 20px 16px;
}
header img {
  height: 32px;
  width: auto;
}
header a {
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}
main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 16px 16px 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 48px;
  align-items: start;
}
main.single {
  grid-template-columns: minmax(0, 640px);
  justify-content: center;
}
.intro h1 {
  margin: 8px 0 16px;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.eyebrow {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--action);
}
.intro p,
.panel p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 14px;
}
.intro ol {
  margin: 20px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
}
.panel,
form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}
form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.wide {
  grid-column: 1 / -1;
}
label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
}
input,
select,
textarea {
  width: 100%;
  height: 44px;
  border-radius: 8px;
  border: 1px solid var(--line);
  padding: 0 12px;
  font: inherit;
  font-size: 14px;
  font-weight: 400;
  color: var(--ink);
  background: #fff;
}
textarea {
  height: auto;
  min-height: 104px;
  padding: 10px 12px;
  resize: vertical;
}
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}
[aria-invalid='true'] {
  border-color: var(--error);
}
.hint,
.required-note {
  font-weight: 500;
  color: #6b7280;
  font-size: 12px;
}
.required-note {
  margin: 0;
}
.field-error {
  font-weight: 600;
  color: var(--error);
  font-size: 12px;
}
.field-error:empty {
  display: none;
}
.consent {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}
.consent input {
  width: 18px;
  min-height: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--navy);
}
.consent a {
  color: var(--navy);
}
.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
/* Bouton d'action du prototype : 48px, 0 22px, rayon 8px, 15px/700. */
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 22px;
  border: none;
  border-radius: 8px;
  background: var(--action);
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
button[disabled] {
  opacity: 0.6;
  cursor: progress;
}
/* Alertes du Design System : fond clair de la couleur d'état, filet. */
.status,
.panel .status {
  margin: 0;
  padding: 12px 16px;
  border-radius: 8px;
  border-left: 3px solid var(--line);
  background: #f8fafc;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--ink);
}
.status:empty {
  display: none;
}
.status.error {
  border-left-color: var(--error);
  background: var(--error-bg);
}
.status.ok {
  border-left-color: var(--success);
  background: var(--success-bg);
}
.panel h1 {
  margin: 0 0 14px;
  font-size: clamp(26px, 4vw, 34px);
  color: var(--navy);
  letter-spacing: -0.02em;
}
.panel .link {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 22px;
  border: 1px solid var(--navy);
  border-radius: 8px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}
.panel.stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 820px) {
  main {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  form {
    grid-template-columns: minmax(0, 1fr);
    padding: 24px;
  }
  .panel {
    padding: 24px;
  }
}

.page-footer {
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px 24px 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  color: var(--muted, #6b7280);
  font-size: 14px;
}
.page-footer a,
.page-footer .kora-cookie-settings {
  color: var(--navy, #1e3a8a);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.page-footer a:focus-visible,
.page-footer .kora-cookie-settings:focus-visible {
  outline: 3px solid var(--navy, #1e3a8a);
  outline-offset: 3px;
}
