/* ============================================================
   DLI FORUM 2026 — Démystifions l'Info
   Palette : nuit profonde + arc orange signature (repris de l'affiche)
============================================================ */

:root {
  --bg: #fbfbfe;
  --surface: #f2f5fc;
  --white: #ffffff;
  --navy-900: #0d1440;
  --navy-700: #1c2a6b;
  --blue-500: #2554d6;
  --blue-glow: #6f93ff;
  --orange-500: #f7941d;
  --orange-600: #e2770a;
  --orange-glow: #ffb85c;
  --ink-50: #10163a;
  --ink-200: #4c5480;
  --ink-400: #868fbb;
  --line: rgba(13, 20, 64, 0.11);
  --display: "Poppins", "Segoe UI", sans-serif;
  --body: "Inter", "Segoe UI", sans-serif;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-50);
  font-family: var(--body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Arc signature (repris du logo/affiche) ---------- */
.arc-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.arc-bg::before {
  content: "";
  position: absolute;
  top: -35%;
  right: -25%;
  width: 900px;
  height: 900px;
  border-radius: 50%;
  border: 2px solid transparent;
  background:
    conic-gradient(from 200deg at 50% 50%, var(--orange-500) 0deg, var(--blue-glow) 55deg, transparent 78deg) border-box;
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
  opacity: 0.35;
  filter: blur(0.3px);
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 251, 254, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
}
.brand-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--line);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.brand-badge svg { width: 20px; height: 20px; }
.brand span { color: var(--orange-500); }

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: var(--ink-200);
}
.nav-links a { text-decoration: none; transition: color .15s ease; }
.nav-links a:hover { color: var(--orange-500); }

.btn-nav {
  background: var(--orange-500);
  color: var(--navy-900) !important;
  padding: 9px 20px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
  transition: background .15s ease, transform .15s ease;
}
.btn-nav:hover { background: var(--orange-glow); transform: translateY(-1px); }

@media (max-width: 760px) {
  .nav-links { display: none; }
}
@media (max-width: 380px) {
  .site-header .container { padding-left: 16px; padding-right: 16px; gap: 8px; }
  .brand { font-size: 13px; gap: 8px; }
  .brand-badge { width: 34px; height: 34px; }
  .btn-nav { padding: 8px 14px; font-size: 13px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 64px 0 80px;
  overflow: hidden;
}
.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-500);
  border: 1px solid rgba(247, 148, 29, 0.35);
  background: rgba(247, 148, 29, 0.08);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(40px, 5.6vw, 68px);
  line-height: 1.02;
  margin: 0 0 22px;
  letter-spacing: -0.01em;
}
.hero h1 .accent { color: var(--orange-500); }
.hero-lede {
  font-size: 17px;
  color: var(--ink-200);
  max-width: 46ch;
  margin: 0 0 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.btn-primary {
  background: var(--orange-500);
  color: var(--navy-900);
  font-weight: 700;
  padding: 15px 30px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background .15s ease, transform .15s ease;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: var(--orange-glow); transform: translateY(-1px); }
.btn-ghost {
  border: 1px solid var(--line);
  color: var(--ink-50);
  padding: 15px 26px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: border-color .15s ease, background .15s ease;
}
.btn-ghost:hover { border-color: var(--orange-500); background: rgba(247,148,29,0.06); }

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 480px;
}
.fact-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  background: var(--white);
  box-shadow: 0 8px 20px -14px rgba(13, 20, 64, 0.25);
}
.fact-card .label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-400);
  margin-bottom: 4px;
}
.fact-card .value {
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  color: var(--ink-50);
}

.hero-visual {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px -24px rgba(13, 20, 64, 0.35);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-facts { grid-template-columns: repeat(3, 1fr); max-width: 100%; }
}

/* ---------- Section shell ---------- */
section { position: relative; padding: 88px 0; }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head .eyebrow { margin-bottom: 16px; }
.eyebrow-blue {
  color: var(--blue-500);
  border-color: rgba(37, 84, 214, 0.3);
  background: rgba(37, 84, 214, 0.07);
}
.section-head h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 38px);
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}
.section-head p { color: var(--ink-200); font-size: 16px; margin: 0; }

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 20%, var(--line) 80%, transparent);
  border: none;
  margin: 0;
}

/* ---------- Thème ---------- */
.theme-panel {
  border: 1px solid rgba(247, 148, 29, 0.3);
  border-radius: var(--radius);
  padding: 40px;
  background: linear-gradient(135deg, rgba(247,148,29,0.08), rgba(247,148,29,0.01));
  text-align: center;
}
.theme-panel .tag {
  display: inline-block;
  background: var(--orange-500);
  color: var(--navy-900);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.theme-panel h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(22px, 3vw, 30px);
  margin: 0;
  line-height: 1.3;
}
.theme-panel h3 .hl { color: var(--orange-500); }

/* ---------- Programme (grille d'icônes) ---------- */
.program-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.program-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 20px;
  text-align: center;
  background: var(--white);
  box-shadow: 0 10px 24px -18px rgba(13, 20, 64, 0.3);
  transition: border-color .15s ease, transform .15s ease;
}
.program-card:hover { border-color: rgba(247,148,29,0.4); transform: translateY(-3px); }
.program-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--orange-500);
  color: var(--orange-500);
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
}
.program-icon.icon-blue { border-color: var(--blue-500); color: var(--blue-500); }
.program-card h4 { font-family: var(--display); font-size: 15px; margin: 0 0 4px; font-weight: 600; }
.program-card p { font-size: 13px; color: var(--ink-400); margin: 0; }

.program-grid-3 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 760px) {
  .program-grid { grid-template-columns: repeat(2, 1fr); }
  .program-grid-3 { grid-template-columns: 1fr; }
}

/* ---------- Formulaire ---------- */
.form-shell {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 48px;
  background: linear-gradient(180deg, var(--white), var(--surface));
  box-shadow: 0 24px 60px -30px rgba(13, 20, 64, 0.25);
}
@media (max-width: 640px) { .form-shell { padding: 28px 20px; } }

.form-block { margin-bottom: 40px; }
.form-block:last-child { margin-bottom: 0; }
.form-block-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.form-block-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 13px;
  color: var(--orange-500);
  letter-spacing: 0.05em;
}
.form-block-head h3 {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
  margin: 0;
}

.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink-50);
}
.field .hint { font-weight: 400; color: var(--ink-400); font-size: 12.5px; }
.field input[type=text],
.field input[type=email],
.field input[type=tel],
.field textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 14px;
  color: var(--ink-50);
  font-family: var(--body);
  font-size: 14.5px;
  transition: border-color .15s ease, background .15s ease;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--orange-500);
  background: rgba(247,148,29,0.05);
}
.field textarea { resize: vertical; min-height: 90px; }

.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .row-2 { grid-template-columns: 1fr; } }

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (max-width: 600px) { .choice-grid { grid-template-columns: 1fr; } }

.choice {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.choice:hover { border-color: rgba(247,148,29,0.4); }
.choice input { accent-color: var(--orange-500); width: 16px; height: 16px; flex-shrink: 0; }
.choice.has-other { flex-direction: column; align-items: stretch; }
.choice.has-other .choice-row { display: flex; align-items: center; gap: 10px; }
.choice.has-other input[type=text] {
  margin-top: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 11px;
  color: var(--ink-50);
  font-size: 13.5px;
  display: none;
}
.choice.has-other input[type=checkbox]:checked ~ .other-input,
.choice.has-other input[type=radio]:checked ~ .other-input { display: block; }

.radio-pair { display: flex; gap: 12px; }
.radio-pair .choice { flex: 1; }

.form-note {
  font-size: 13px;
  color: var(--ink-400);
  margin-top: 6px;
}

.submit-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 8px;
}
.submit-row .btn-primary { width: 100%; justify-content: center; padding: 16px; font-size: 15.5px; }

.alert {
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 14.5px;
  margin-bottom: 28px;
  border: 1px solid;
}
.alert-success {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.35);
  color: #15803d;
}
.alert-error {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.35);
  color: #b91c1c;
}

/* ---------- Blog ---------- */
a.brand { text-decoration: none; color: inherit; }
.nav-links a[aria-current="page"] { color: var(--orange-500); }

.post-meta { font-size: 13px; color: var(--ink-400); margin: 0 0 8px; }

.featured-post {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 36px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  background: var(--white);
  box-shadow: 0 24px 60px -34px rgba(13, 20, 64, 0.3);
}
.featured-media img { border-radius: 16px; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.featured-body h3 {
  font-family: var(--display);
  font-size: clamp(21px, 2.4vw, 27px);
  line-height: 1.25;
  margin: 0 0 14px;
}
.featured-body h3 a, .post-card h2 a { text-decoration: none; }
.featured-body h3 a:hover, .post-card h2 a:hover { color: var(--orange-600); }
.featured-body > p:not(.post-meta) { color: var(--ink-200); margin: 0 0 24px; }
.featured-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 760px) {
  .featured-post { grid-template-columns: 1fr; padding: 18px; gap: 20px; }
}

.blog-list { padding-top: 40px; }
.section-head h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(30px, 4vw, 42px);
  margin: 0 0 14px;
}
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.post-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 10px 24px -18px rgba(13, 20, 64, 0.3);
}
.post-card img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.post-card-body { padding: 22px; }
.post-card h2 { font-family: var(--display); font-size: 19px; line-height: 1.3; margin: 0 0 10px; }
.post-card-body > p:not(.post-meta) { color: var(--ink-200); font-size: 14.5px; margin: 0 0 16px; }
.read-more { color: var(--orange-600); font-weight: 600; text-decoration: none; font-size: 14.5px; }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: var(--ink-400); margin-bottom: 28px; }
.breadcrumb a { text-decoration: none; color: var(--ink-200); }
.breadcrumb a:hover { color: var(--orange-500); }

.article-page { padding: 40px 0 80px; }
.article-container { max-width: 760px; }
.article-head .eyebrow { margin-bottom: 18px; }
.article-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(28px, 4.4vw, 42px);
  line-height: 1.15;
  margin: 0 0 14px;
}
.article-figure { margin: 28px 0 32px; }
.article-figure img { border-radius: 20px; border: 1px solid var(--line); width: 100%; height: auto; }
.article-body { font-size: 17px; line-height: 1.75; }
.article-body p { margin: 0 0 20px; }
.article-body h2 { font-family: var(--display); font-size: 23px; margin: 36px 0 14px; }
.article-body ul { margin: 0 0 20px; padding-left: 22px; }
.article-body li { margin-bottom: 6px; }
.article-body li::marker { color: var(--orange-500); }

.event-box {
  margin-top: 40px;
  border: 1px solid rgba(247, 148, 29, 0.3);
  border-radius: var(--radius);
  padding: 28px;
  background: linear-gradient(135deg, rgba(247,148,29,0.08), rgba(247,148,29,0.01));
}
.event-box dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 0 0 20px; }
.event-box dt { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-400); }
.event-box dd { margin: 2px 0 0; font-family: var(--display); font-weight: 600; }
.event-box dd a { color: var(--orange-600); }
.event-box-cta { font-weight: 600; margin: 0 0 18px; }
@media (max-width: 520px) { .event-box dl { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 14px;
  color: var(--ink-400);
}
.footer-contacts { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-contacts a { text-decoration: none; color: var(--ink-200); }
.footer-contacts a:hover { color: var(--orange-500); }
