:root {
  --color-primary: #003CF6;
  --color-secondary: #043377;
  --color-accent: #F4DD69;
  --color-text: #102B41;
  --color-light: #F3F4F9;
  --color-bg: #F9F4F9;
  --color-white: #ffffff;
  --shadow-soft: 0 6px 18px rgba(16, 43, 65, 0.08);
  --shadow-light: 0 4px 12px rgba(0, 0, 0, 0.06);
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-pill: 999px;
}

/* =========================
   GLOBAL
========================= */
main {
  max-width: 100%;
  margin-inline: 0;
  margin-bottom: 60px;
}

.home-page-section {
  margin: 50px auto;
}

.home-narrow,
.committees-page,
.important-dates-pro {
  max-width: 1000px;
  margin-inline: auto;
}

.text-center {
  text-align: center;
}

#page ul {
  list-style: disc inside;
}

/* =========================
   HOME HERO
========================= */
.home-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  padding: 30px 0 36px;
  text-align: center;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.10), transparent 35%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.08), transparent 35%);
  pointer-events: none;
}

.home-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  margin-bottom: 8px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.14);
  color: var(--color-light);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.hero-title {
  margin: 0 0 6px;
  font-family: "Arimo", Arial, sans-serif;
  font-size: 2.8rem;
  line-height: 1.1;
  font-weight: 800;
  color: var(--color-white);
}

.hero-subtitle {
  margin: 0 0 10px;
  font-size: 1.5rem;
  line-height: 1.35;
  font-weight: 500;
  color: var(--color-accent);
}

.hero-description {
  max-width: 700px;
  margin: 0 auto 12px;
  font-size: 1.4rem;
  line-height: 1.55;
  color: rgba(243, 244, 249, 0.92);
}

.hero-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.hero-meta-item {
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.12);
  color: var(--color-white);
  font-size: 1.2rem;
  font-weight: 500;
  backdrop-filter: blur(6px);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hero-actions .btn,
.hero-actions .btn-inverted {
  min-width: 150px;
  padding: 8px 14px;
  font-size: 1.3rem;
}

/* =========================
   SECTIONS
========================= */
.section-box {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-soft);
}

.section-title {
  margin-bottom: 18px;
  color: var(--color-primary);
  font-size: 4rem;
  line-height: 1.15;
  text-align: center;
}

.section-intro {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.section-intro p {
  max-width: 860px;
  margin: 0 auto;
  font-size: 1.8rem;
  line-height: 1.7;
  color: var(--color-text);
}

/* =========================
   HOME CARDS GRID
========================= */
.home-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.home-card,
.theme-card {
  background: var(--color-white);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease;
}

.home-card:hover,
.theme-card:hover {
  transform: translateY(-4px);
}

.home-card h3,
.theme-card h3 {
  margin-bottom: 10px;
  font-size: 2rem;
  color: var(--color-secondary);
}

.home-card p,
.theme-card p {
  margin: 0;
  line-height: 1.6;
  color: var(--color-text);
}

/* =========================
   IMPORTANT DATES
========================= */
.dates-table {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #e5e7eb;
}

.date-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid #e5e7eb;
}

.date-label {
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--color-text);
}

.date-value {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--color-primary);
  text-align: right;
}

.date-row.highlight {
  background: rgba(0, 60, 246, 0.05);
  padding: 16px;
  border-radius: 8px;
  margin-top: 10px;
  border-bottom: none;
}

.date-row.highlight .date-label {
  font-weight: 600;
}

.date-row.highlight .date-value {
  font-weight: 700;
}

/* =========================
   PROGRAM PAGE
========================= */
.program-day-title {
  background: var(--color-primary);
  color: var(--color-light);
  padding: 16px 24px;
  border-radius: 14px;
  font-family: "Arimo", Arial, sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.program-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  margin-bottom: 18px;
  padding: 22px;
  background: var(--color-white);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}

.program-time {
  font-family: "Arimo", Arial, sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-primary);
}

.program-content h4 {
  margin-bottom: 10px;
  font-size: 2.2rem;
  color: var(--color-secondary);
}

.program-content p {
  margin-bottom: 12px;
}

.program-content ul {
  margin: 0;
  padding-left: 18px;
  list-style: disc;
}

.program-content ul li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.program-item.break {
  background: var(--color-accent);
}

.program-item.break .program-time,
.program-item.break .program-content h4,
.program-item.break .program-content p {
  color: var(--color-text);
}

/* =========================
   COMMITTEES PAGE
========================= */
.committees-page h2 {
  margin-bottom: 10px;
}

.committees-page > p,
.committees-page .text-center {
  margin-bottom: 30px;
  color: #555;
}

.committee-block {
  margin-bottom: 35px;
}

.committee-title {
  margin-top: 40px;
  margin-bottom: 15px;
  padding-left: 12px;
  border-left: 4px solid var(--color-primary);
  background: transparent;
  color: var(--color-primary);
  font-size: 2.2rem;
  font-weight: 700;
  border-radius: 0;
}

.committee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.committee-card {
  background: var(--color-white);
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: var(--shadow-light);
  transition: all 0.2s ease;
}

.committee-card:hover {
  transform: translateY(-3px);
}

.committee-card h4 {
  margin: 0 0 5px;
  font-size: 1.7rem;
  color: var(--color-text);
}

.committee-card p {
  margin: 0;
  font-size: 1.4rem;
  color: #555;
}

.committee-list {
  list-style: none;
  padding: 0;
  margin: 0;
  column-count: 2;
  column-gap: 30px;
}

.committee-list li {
  break-inside: avoid;
  margin-bottom: 10px;
  padding-left: 12px;
  position: relative;
  font-size: 1.45rem;
  line-height: 1.6;
  color: var(--color-text);
}

.committee-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: bold;
}

/* =========================
   SUBMISSION / CONTACT
========================= */
.submission-box,
.contact-box {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-soft);
}

.submission-box {
  max-width: 900px;
  margin: 0 auto;
}

.contact-box {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

/* =========================
   OPTIONAL: HIDE HOME TITLE ONLY
========================= */
body.page-home h1.titre,
body.page-home main > h1:first-child {
  display: none;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .home-hero {
    padding: 26px 0 30px;
  }

  .home-hero-inner {
    max-width: 100%;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .hero-subtitle {
    font-size: 1.4rem;
  }

  .hero-description {
    font-size: 1.35rem;
    line-height: 1.5;
  }

  .hero-meta-item {
    font-size: 1.15rem;
  }

  .section-title {
    font-size: 3rem;
  }

  .section-intro p {
    font-size: 1.6rem;
  }

  .date-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .date-value {
    text-align: left;
  }

  .home-card h3,
  .theme-card h3 {
    font-size: 1.8rem;
  }

  .submission-box,
  .contact-box,
  .section-box {
    padding: 20px;
  }

  .program-item {
    grid-template-columns: 1fr;
  }

  .program-time {
    margin-bottom: 8px;
  }

  .program-day-title,
  .committee-title {
    font-size: 2rem;
  }

  .program-content h4 {
    font-size: 2rem;
  }

  .committee-card h4 {
    font-size: 1.6rem;
  }

  .committee-card p,
  .committee-list li {
    font-size: 1.4rem;
  }

  .committee-list {
    column-count: 1;
  }
}

/* ================
keynote speaker

============*/

.keynote-page {
  max-width: 1100px;
  margin: 0 auto;
}

/* GRID */
.keynote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

/* CARD */
.keynote-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 6px 18px rgba(16, 43, 65, 0.08);
  transition: transform 0.2s ease;
}

.keynote-card:hover {
  transform: translateY(-4px);
}

/* NAME */
.keynote-name {
  font-size: 2.2rem;
  font-weight: 700;
  color: #003CF6;
  margin-bottom: 6px;
}

/* ROLE */
.keynote-role {
  font-size: 1.5rem;
  font-weight: 500;
  color: #102B41;
}

/* AFFILIATION */
.keynote-affiliation {
  font-size: 1.4rem;
  color: #555;
  margin-bottom: 15px;
}

/* BIO */
.keynote-bio {
  font-size: 1.5rem;
  line-height: 1.6;
  color: #102B41;
}

.keynote-bio p {
  margin-bottom: 12px;
}

.keynote-bio ul {
  padding-left: 18px;
  margin-top: 10px;
}

.keynote-bio ul li {
  margin-bottom: 6px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .keynote-name {
    font-size: 1.9rem;
  }

  .keynote-bio {
    font-size: 1.4rem;
  }
}

/* =====
keynote 
====*/
.keynote-page {
  max-width: 1100px;
  margin: 0 auto;
}

/* CARD */
.keynote-card-modern {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  align-items: center;
  background: #ffffff;
  border-radius: 20px;
  padding: 26px;
  margin-bottom: 30px;
  box-shadow: 0 8px 24px rgba(16, 43, 65, 0.08);
  transition: all 0.25s ease;
}

.keynote-card-modern:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 36px rgba(16, 43, 65, 0.12);
}

/* IMAGE */
.keynote-image {
  position: relative;
}

.keynote-image img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 18px;
}

/* effet overlay léger */
.keynote-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: linear-gradient(to top, rgba(0,0,0,0.15), transparent);
}

/* CONTENT */
.keynote-content h3 {
  font-size: 2.3rem;
  color: #003CF6;
  margin-bottom: 6px;
}

.keynote-content .role {
  font-size: 1.5rem;
  font-weight: 500;
  color: #102B41;
}

.keynote-content .affiliation {
  font-size: 1.4rem;
  color: #6b7280;
  margin-bottom: 14px;
}

.keynote-content p {
  font-size: 1.5rem;
  line-height: 1.6;
  color: #102B41;
  margin-bottom: 10px;
}

.keynote-content ul {
  padding-left: 18px;
}

.keynote-content ul li {
  margin-bottom: 6px;
}

/* FEATURED SPEAKER */
.keynote-card-modern:first-child {
  border: 2px solid #003CF6;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .keynote-card-modern {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .keynote-image img {
    height: 220px;
  }
}
