/* L'Odyssée Express — style inspiré lodysseedelobjet48h.wallonie.be */

:root {
  --orange: #f5821f;
  --orange-dark: #d96d12;
  --orange-light: #f7aca7;
  --white: #ffffff;
  --ink: #1a1a1a;
  --muted: #5c5c5c;
  --bg-alt: #f5f5f5;
  --max: 1100px;
  --narrow: 720px;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.6;
  background: var(--white);
}

a { color: var(--orange-dark); }
a:hover { color: var(--orange); }

img { max-width: 100%; height: auto; display: block; }

.container {
  width: min(var(--max), 92vw);
  margin: 0 auto;
}

.narrow { width: min(var(--narrow), 92vw); margin: 0 auto; }

/* —— Topbar —— */
.topbar {
  background: #333;
  color: #ccc;
  font-size: 0.75rem;
  padding: 0.4rem 0;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.topbar a { color: #ddd; text-decoration: none; }
.topbar a:hover { color: var(--orange-light); }

.topbar-tag {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--orange);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}

.brand {
  text-decoration: none;
  color: var(--white);
  line-height: 1.1;
  display: flex;
  align-items: center;
}

.brand-logo {
  display: block;
  height: 34px;
  width: auto;
  max-width: min(200px, 42vw);
}

.brand-main {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand-sub {
  display: block;
  font-size: 0.65rem;
  font-weight: 300;
  letter-spacing: 0.45em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav a:hover,
.nav a.active { opacity: 0.9; color: var(--white); }

.nav-cta {
  background: var(--white) !important;
  color: var(--orange) !important;
  padding: 0.5rem 1rem;
  border-radius: 3px;
}

.nav-cta:hover { background: #fff8f3 !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
}

/* —— Breadcrumb —— */
.breadcrumb {
  background: var(--bg-alt);
  padding: 0.75rem 0;
  font-size: 0.85rem;
  border-bottom: 1px solid #e0e0e0;
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.breadcrumb li + li::before {
  content: "›";
  margin-right: 0.5rem;
  color: var(--muted);
}

.breadcrumb a { text-decoration: none; color: var(--muted); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb [aria-current="page"] { color: var(--ink); font-weight: 600; }

/* —— Contest hero —— */
.contest-hero {
  padding: 2.5rem 0 2rem;
  background: var(--white);
}

.page-title {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
  color: var(--ink);
}

.contest-date-bar {
  font-size: 1.15rem;
  color: var(--orange);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid var(--orange);
  display: inline-block;
}

.contest-pitch {
  font-size: 1.05rem;
  max-width: none;
  margin-bottom: 1rem;
  color: var(--ink);
}

.event-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 2rem 0 0;
}

.event-overview-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 240px;
  padding: 1.5rem;
  border-radius: 4px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.event-overview-card h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

.event-overview-card p {
  font-size: 1.02rem;
  line-height: 1.55;
  margin: 0;
}

.event-overview-terrain {
  background: #2e7d32;
  color: var(--white);
}

.event-overview-innovation {
  background: #f58200;
  color: #111;
}

.event-overview-card strong {
  color: inherit;
}

.event-card-link {
  align-self: flex-start;
  display: inline-block;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 4px;
}

.event-card-link:hover {
  background: var(--ink);
  color: var(--white);
}

.contest-hero-cta {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #eee;
}

.contest-logo-full {
  margin: 0 auto 1.5rem;
  max-width: min(480px, 94vw);
}

.contest-logo-svg {
  display: block;
  width: 100%;
  height: auto;
}

/* —— Logo Express (HTML + SVG graphique) —— */
.logo-express {
  display: grid;
  grid-template-columns: 36px 1fr minmax(72px, 92px);
  align-items: center;
  gap: 0.35rem 0.85rem;
  max-width: min(520px, 96vw);
  margin: 0 auto 1.5rem;
  text-align: left;
}

.logo-express-arm {
  width: 36px;
  height: auto;
  align-self: start;
  margin-top: 0.15rem;
  grid-column: 1;
  grid-row: 1;
}

.logo-express-body {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}

.logo-express-clock {
  position: relative;
  width: 92px;
  height: 92px;
  align-self: center;
  grid-column: 3;
  grid-row: 1;
}

.logo-express-top {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--ink);
  line-height: 1.1;
  margin: 0 0 0.15rem;
}

.logo-express-main {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0;
  font-size: clamp(2.1rem, 7.5vw, 2.85rem);
  font-weight: 900;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.logo-express-ring {
  display: inline-block;
  width: 0.78em;
  height: 0.78em;
  border: 0.14em solid var(--orange);
  border-radius: 50%;
  margin: 0 0.04em;
  flex-shrink: 0;
}

.logo-express-tag {
  display: inline-block;
  margin: 0.65rem 0 0;
  padding: 0.38rem 0.85rem;
  background: var(--orange);
  color: var(--white);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.2;
}

.logo-express-clock-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.logo-express-time {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-weight: 900;
  color: var(--ink);
  line-height: 1;
}

.logo-express-time-top {
  top: 28%;
  font-size: 0.7rem;
}

.logo-express-time-bottom {
  top: 52%;
  font-size: 1.35rem;
}

@media (max-width: 520px) {
  .logo-express {
    grid-template-columns: 28px 1fr minmax(56px, 72px);
    gap: 0.25rem 0.5rem;
  }

  .logo-express-arm { width: 28px; }

  .logo-express-clock {
    width: 72px;
    height: 72px;
  }

  .logo-express-time-bottom { font-size: 1.1rem; }
}

.contest-cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #eee;
}

.contest-logo-block .logo-text {
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.contest-logo-block .logo-text span {
  font-size: 0.7em;
  font-weight: 300;
  letter-spacing: 0.3em;
}

.logo-sub {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

.btn-register {
  display: inline-block;
  background: var(--orange);
  color: var(--white) !important;
  font-weight: 800;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(245, 130, 31, 0.4);
  transition: background 0.2s, transform 0.15s;
}

.btn-register:hover {
  background: var(--orange-dark);
  color: var(--white) !important;
  transform: translateY(-1px);
}

.btn-register-lg {
  font-size: 1.15rem;
  padding: 1.1rem 2.5rem;
}

.hero-image {
  max-height: 400px;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center 35%;
}

/* —— Block sections (Wallonie 2-col) —— */
.block-section {
  padding: 3rem 0;
}

.block-row {
  display: grid;
  grid-template-columns: minmax(160px, 30%) 1fr;
  gap: 1.5rem 3rem;
  align-items: start;
}

.section-alt { background: var(--bg-alt); }

.block-title {
  font-size: clamp(1.35rem, 3.2vw, 1.9rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.12;
  margin-bottom: 1.25rem;
  color: var(--ink);
}

.block-title-col {
  color: var(--orange);
  margin-bottom: 0;
}

.block-title span {
  color: var(--orange);
}

.center-block { text-align: center; }

.block-content p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
  color: var(--muted);
}

.block-content p strong { color: var(--ink); }

.block-content .quote {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--ink);
  border-left: 4px solid var(--orange);
  padding-left: 1rem;
  margin: 1.5rem 0;
}

.footnote-inline {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--muted);
}

/* —— Objectives —— */
.objectives { padding: 3rem 0; background: var(--white); }

.objectives-row { align-items: start; }

.objectives-list {
  margin-top: 0;
  padding-left: 1.25rem;
  font-size: 1rem;
  color: var(--muted);
  list-style: decimal;
}

.objectives-list li {
  margin-bottom: 0.75rem;
  padding-left: 0.25rem;
}

.objectives-list li::marker {
  color: var(--orange);
  font-weight: 800;
}

.objectives-visual img {
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

/* —— Section / timeline —— */
.section { padding: 3rem 0; }

.section-title {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--orange);
  margin-bottom: 1rem;
}

.section-title.light { color: rgba(255, 255, 255, 0.9); }

.lead { color: var(--muted); margin-bottom: 1rem; }
.center { text-align: center; }

/* —— Programme (modèle Wallonie) —— */
.programme-title {
  margin-bottom: 1.5rem;
}

.programme-table {
  width: 100%;
}

.programme-row {
  display: grid;
  grid-template-columns: 120px 1fr minmax(160px, 220px);
  align-items: center;
  min-height: 110px;
  border-bottom: 1px solid #e8e8e8;
}

.programme-row:last-child { border-bottom: none; }

.programme-lieu {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--orange-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.35;
}

.programme-name {
  font-size: clamp(1.05rem, 2.2vw, 1.55rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.15;
  color: var(--ink);
  padding: 0.75rem 0 0.75rem 2rem;
  margin: 0;
}

.programme-when {
  padding: 0.75rem 0 0.75rem 1.5rem;
}

.programme-date {
  display: block;
  font-size: clamp(1rem, 2vw, 1.45rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

.programme-time {
  display: block;
  color: var(--orange);
  font-size: clamp(1rem, 2vw, 1.45rem);
  font-weight: 700;
  line-height: 1.2;
}

.programme-footnote {
  margin-top: 1.25rem;
  text-align: left;
}

.timeline { max-width: 40rem; margin: 0 auto; }

.timeline-item {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid #e0e0e0;
}

.timeline-item:last-child { border-bottom: none; }

.timeline-item time {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  border-radius: 4px;
  padding: 0.5rem;
  height: fit-content;
}

.timeline-item h3 { font-size: 1rem; margin-bottom: 0.25rem; }
.timeline-item p { font-size: 0.9rem; color: var(--muted); }

/* —— Support list —— */
.support-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.15rem;
  max-width: 52rem;
  margin: 1rem auto 0;
  font-size: 0.9rem;
  font-weight: 600;
}

.support-list li:not(:last-child)::after {
  content: " ·";
  color: var(--orange);
  font-weight: 700;
}

/* —— FAQ —— */
.faq-list { margin-top: 1rem; }

.faq-list-wide {
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  margin-bottom: 0.5rem;
  background: var(--white);
}

.faq-item summary {
  padding: 1rem 1.15rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  color: var(--ink);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--orange);
  font-weight: 800;
}

.faq-item[open] summary::after { content: "−"; }

.faq-item p {
  padding: 0 1.15rem 1rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.reglement ul {
  padding-left: 1.25rem;
  color: var(--muted);
}

.reglement li { margin-bottom: 0.5rem; }

/* —— Mobilisation —— */
.mobilisation-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: #fff8f3;
  border: 2px solid var(--orange);
  border-radius: 8px;
}

.stat-block {
  text-align: center;
}

.stat-value {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.progress-wrap {
  grid-column: 1 / -1;
  margin-top: 0.25rem;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.progress-track {
  height: 10px;
  background: #eee;
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 60%;
  background: linear-gradient(90deg, var(--orange), var(--orange-dark));
  border-radius: 999px;
}

.event-kicker {
  display: inline-block;
  margin-bottom: 1rem !important;
  padding: 0.35rem 0.7rem;
  background: var(--orange);
  color: var(--white) !important;
  font-size: 0.78rem !important;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 4px;
}

/* —— Profils —— */
.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.profile-card {
  background: var(--white);
  border-left: 4px solid var(--orange);
  padding: 1rem 1.15rem;
  border-radius: 0 6px 6px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.section-alt .profile-card { background: var(--white); }

.profile-card h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange);
  margin-bottom: 0.4rem;
}

.profile-card p {
  font-size: 0.92rem;
  color: var(--muted);
}

/* —— Livrables —— */
.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.deliverable {
  text-align: center;
  padding: 1.25rem 1rem;
  background: #fff8f3;
  border-radius: 8px;
  border: 1px solid rgba(245, 130, 31, 0.35);
}

.deliverable strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.deliverable span {
  font-size: 0.85rem;
  color: var(--muted);
}

/* —— Partenaires statuts —— */
.partner-list {
  list-style: none;
  max-width: 42rem;
  margin: 1.5rem auto 0;
}

.partner-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid #e0e0e0;
  font-size: 0.95rem;
}

.partner-list li:last-child { border-bottom: none; }

.partner-status {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  white-space: nowrap;
}

.status-confirmed {
  background: #e8f5e9;
  color: #2e7d32;
}

.status-progress {
  background: #fff3e0;
  color: #e65100;
}

.status-solicited {
  background: #f5f5f5;
  color: var(--muted);
}

/* —— Suivi post-événement —— */
.followup-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.followup-step {
  padding: 1.25rem;
  background: var(--white);
  border-radius: 8px;
  border-top: 4px solid var(--orange);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.section-alt .followup-step { background: var(--white); }

.followup-step .step-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.followup-step h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.followup-step p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* —— Inscription —— */
.inscription-row {
  align-items: start;
}

.inscription-heading .inscription-lead {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 600;
}

.inscription-form-wrap {
  max-width: none;
  margin: 0;
  text-align: left;
  background: var(--white);
  color: var(--ink);
  padding: 1.5rem;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
}

.inscription-banner {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: var(--white);
  padding: 3rem 0;
  text-align: center;
}

.inscription-inner h2 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.inscription-inner p { opacity: 0.9; margin-bottom: 1.25rem; }

.inscription-banner .btn-register {
  background: var(--white);
  color: var(--orange) !important;
  box-shadow: none;
}

.inscription-banner .btn-register:hover {
  background: #fff8f3;
  color: var(--orange-dark) !important;
}

.inscription-form-wrap .form-intro {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
  text-align: center;
}

.registration-form {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-field label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.form-field label .req {
  color: var(--orange);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font: inherit;
  font-size: 0.95rem;
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(245, 130, 31, 0.2);
}

.form-field textarea {
  min-height: 5rem;
  resize: vertical;
}

.form-field.optional-hidden {
  display: none;
}

.form-field.optional-hidden.visible {
  display: flex;
}

.form-consent {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}

.form-consent label {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  cursor: pointer;
  text-transform: none;
  font-weight: 400;
  letter-spacing: 0;
}

.form-consent input {
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.registration-form .btn-register {
  width: 100%;
  border: none;
  cursor: pointer;
  margin-top: 0.25rem;
  background: var(--orange);
  color: var(--white) !important;
}

.registration-form .btn-register:hover:not(:disabled) {
  background: var(--orange-dark);
  color: var(--white) !important;
}

.registration-form .btn-register:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.form-feedback {
  display: none;
  padding: 0.85rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  line-height: 1.45;
}

.form-feedback.visible { display: block; }

.form-feedback.success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}

.form-feedback.error {
  background: #ffebee;
  color: #c62828;
  border: 1px solid #ef9a9a;
}

.form-action-grid {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.85rem;
}

.form-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid #a5d6a7;
  border-radius: 6px;
  background: var(--white);
  color: #2e7d32;
  font: inherit;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.form-action-primary {
  background: #2e7d32;
  color: var(--white);
}

.form-action-btn:hover,
.form-action-btn:focus {
  filter: brightness(0.97);
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
  .inscription-form-wrap { padding: 1.25rem 1rem; }
}

/* —— Contact —— */
.section-contact {
  background: #2a2a2a;
  color: var(--white);
  padding: 3rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.contact-lead { opacity: 0.85; margin: 0.5rem 0 1rem; }

.org-name { font-size: 1.25rem; font-weight: 800; margin-bottom: 0.5rem; }

.contact-links a {
  color: var(--orange-light);
  font-size: 1rem;
  text-decoration: none;
}

.contact-links a:hover { color: var(--white); }

.contact-card {
  background: var(--white);
  color: var(--ink);
  padding: 1.5rem;
  border-radius: 8px;
}

.contact-card h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.contact-card p { font-size: 0.9rem; color: var(--muted); }

.btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: 4px;
}

.btn-primary {
  background: var(--orange);
  color: var(--white) !important;
}

.btn-primary:hover { background: var(--orange-dark); }

.btn-block { display: block; text-align: center; margin-top: 1rem; }

/* —— Footer —— */
.site-footer {
  background: #1a1a1a;
  color: #999;
  padding: 2.5rem 0 1.5rem;
  font-size: 0.85rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #333;
}

.footer-col h3 {
  color: var(--white);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 0.4rem; }

.footer-col a {
  color: #aaa;
  text-decoration: none;
}

.footer-col a:hover { color: var(--orange-light); }

.footer-bottom {
  text-align: center;
  line-height: 1.6;
}

.footer-bottom strong { color: var(--white); }
.footer-bottom a { color: var(--orange-light); }

/* —— Mobile —— */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .site-header { position: relative; }

  .header-inner { position: relative; flex-wrap: wrap; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--orange-dark);
    flex-direction: column;
    padding: 1rem;
    gap: 0;
    display: none;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    z-index: 50;
  }

  .nav.open { display: flex; }

  .nav a {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    width: 100%;
  }

  .event-overview-grid {
    grid-template-columns: 1fr;
  }

  .objectives-grid { grid-template-columns: 1fr; }
  .objectives-visual { order: -1; }

  .block-row,
  .inscription-row,
  .objectives-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .programme-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
    min-height: 0;
    padding: 1.25rem 0;
  }

  .programme-name,
  .programme-when {
    padding-left: 0;
  }

  .programme-lieu { text-align: left; }

  .hero-image img { height: 240px; }

  .timeline-item { grid-template-columns: 1fr; gap: 0.5rem; }
  .timeline-item time { width: fit-content; }

  .contest-cta-row { flex-direction: column; align-items: flex-start; }
}
