 :root {
      /* Palette demandée */
      --blue: #649acd;
      --green: #85bb57;
      --orange: #ef893e;

      /* Thème */
      --primary: var(--blue);
      --primary-strong: #3e77a8;
      --accent: var(--green);
      --highlight: var(--orange);

      --bg-page: #f3f4fb;
      --bg-section: #f3f4fb;
      --bg-card: #ffffff;

      --text-main: #182035;
      --text-muted: #6f7388;

      --border-soft: rgba(15, 23, 42, 0.08);
      --shadow-soft: 0 12px 28px rgba(15, 23, 42, 0.12);
      --shadow-card: 0 16px 40px rgba(15, 23, 42, 0.12);
      --header-height: 100px;
      --radius-lg: 18px;
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      background: var(--bg-page);
      color: var(--text-main);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }
    a { color: inherit; text-decoration: none; }
    img { max-width: 100%; display: block; }

    .container {
      width: min(1180px, 100% - 3rem);
      margin: 0 auto;
    }
    section {
      padding: 80px 0;
      position: relative;
    }

    .section-header {
      text-align: center;
      margin-bottom: 46px;
    }
    .section-kicker {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 4px 14px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.9);
      border: 1px solid var(--border-soft);
      font-size: 13px;
      text-transform: uppercase;
      letter-spacing: 0.16em;
      color: var(--accent);
      margin-bottom: 14px;
      box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
    }
    .section-kicker-dot {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--accent);
    }
    .section-title {
      font-size: clamp(1.8rem, 3vw, 2.3rem);
      font-weight: 600;
      margin-bottom: 8px;
    }
    .section-subtitle {
      max-width: 640px;
      margin: 0 auto;
      color: var(--text-muted);
      font-size: 0.95rem;
    }

    /* HEADER clair */
    .site-header {
      position: fixed;
      inset: 0 0 auto 0;
      height: var(--header-height);
      display: flex;
      align-items: center;
      z-index: 999;
      transition: all 0.25s ease;
      background: rgba(255, 255, 255, 0.96);
      border-bottom: 1px solid rgba(148, 163, 184, 0.18);
      backdrop-filter: blur(16px);
    }
    .site-header.scrolled {
      box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
    }
    .header-inner {
      width: min(1180px, 100% - 3rem);
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
    }
    .brand {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .brand-logo {
      width: auto;
      height: 80px;
      border-radius: 14px;
      background: conic-gradient(from 200deg, #c2ddf3, var(--blue), #f7d0a9, var(--green), #c2ddf3);
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      font-size: 1.15rem;
      color: #fff;
      box-shadow: 0 8px 20px rgba(100, 154, 205, 0.4);
    }
    .brand-text span { display: block; line-height: 1.2; }
    .brand-name {
      font-weight: 600;
      font-size: 0.95rem;
      letter-spacing: 0.06em;
      text-transform: uppercase;
    }
    .brand-tagline {
      color: var(--text-muted);
      font-size: 0.78rem;
    }

    .main-nav {
      display: flex;
      align-items: center;
      gap: 22px;
      font-size: 0.9rem;
    }
    .main-nav a {
      position: relative;
      padding-block: 4px;
      color: var(--text-muted);
      transition: color 0.18s ease;
    }
    .main-nav a::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: -4px;
      height: 2px;
      border-radius: 999px;
      background: linear-gradient(90deg, var(--blue), var(--orange));
      transform: scaleX(0);
      transform-origin: center;
      transition: transform 0.18s ease;
    }
    .main-nav a:hover {
      color: var(--text-main);
    }
    .main-nav a:hover::after {
      transform: scaleX(1);
    }

    .btn-header {
      padding: 8px 16px;
      border-radius: 999px;
      font-size: 0.85rem;
      border: 1px solid rgba(148, 163, 184, 0.5);
      background: #ffffff;
      color: var(--text-main);
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      transition: all 0.18s ease;
      box-shadow: 0 6px 16px rgba(148, 163, 184, 0.24);
    }
    .btn-header span { font-size: 1rem; }
    .btn-header:hover {
      background: linear-gradient(120deg, var(--blue), var(--orange));
      color: #fff;
      border-color: transparent;
      box-shadow: 0 12px 26px rgba(100, 154, 205, 0.5);
      transform: translateY(-1px);
    }

    /* Burger */
    .burger {
      display: none;
      width: 24px;
      height: 24px;
      flex-direction: column;
      justify-content: center;
      gap: 5px;
      cursor: pointer;
    }
    .burger span {
      height: 2px;
      border-radius: 999px;
      background: #0f172a;
      width: 100%;
      transition: transform 0.2s ease, opacity 0.2s ease;
    }

    /* HERO 2 colonnes, grosses photos visibles */
    .hero {
      margin-top: var(--header-height);
      padding: 70px 0 80px;
      background: radial-gradient(circle at top left, rgba(100,154,205,0.18), transparent 60%),
                  radial-gradient(circle at bottom right, rgba(133,187,87,0.15), transparent 60%),
                  var(--bg-section);
    }
    .hero-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
      gap: 30px;
      align-items: center;
    }

    .hero-text-card {
      background: var(--bg-card);
      padding: 24px 26px 22px;
      border-radius: 22px;
      box-shadow: var(--shadow-card);
      border: 1px solid var(--border-soft);
    }
    .hero-tag-line {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 3px 12px;
      border-radius: 999px;
      background: #e9f4ff;
      color: var(--primary-strong);
      font-size: 0.78rem;
      font-weight: 500;
      margin-bottom: 10px;
    }
    .hero-tag-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--blue);
    }

    .hero-title {
      font-size: clamp(2.1rem, 4vw, 2.8rem);
      font-weight: 700;
      color: #0f172a;
      margin-bottom: 10px;
    }
    .hero-title span {
      background: linear-gradient(120deg, var(--blue), var(--orange));
      -webkit-background-clip: text;
      color: transparent;
    }

    .hero-subtitle {
      font-size: 0.98rem;
      color: var(--text-muted);
      max-width: 560px;
      margin-bottom: 18px;
    }

    .hero-meta-row {
      display: flex;
      flex-wrap: wrap;
      gap: 10px 18px;
      font-size: 0.9rem;
      margin-bottom: 18px;
      color: var(--text-muted);
    }
    .hero-meta-pill {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 6px 10px;
      border-radius: 999px;
      background: #f9fafb;
      border: 1px solid rgba(148, 163, 184, 0.6);
    }
    .hero-meta-pill-dot {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--green);
    }

    .hero-buttons {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-bottom: 8px;
    }
    .btn-primary-light {
      padding: 11px 22px;
      border-radius: 999px;
      background: linear-gradient(120deg, var(--blue), #0063a5);
      color: #fff;
      font-weight: 600;
      font-size: 0.92rem;
      border: none;
      cursor: pointer;
      box-shadow: 0 14px 30px rgba(100, 154, 205, 0.4);
      display: inline-flex;
      align-items: center;
      gap: 8px;
      transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
    }
    .btn-primary-light:hover {
      filter: brightness(1.03);
      transform: translateY(-1px);
      box-shadow: 0 18px 40px rgba(239, 137, 62, 0.4);
    }
    .btn-outline-light {
      padding: 11px 20px;
      border-radius: 999px;
      background: #ffffff;
      border: 1px solid rgba(148, 163, 184, 0.8);
      color: #111827;
      font-weight: 500;
      font-size: 0.9rem;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      transition: all 0.16s ease;
    }
    .btn-outline-light:hover {
      background: #edf7e6;
      border-color: var(--green);
      color: #1f2933;
      box-shadow: 0 10px 26px rgba(133, 187, 87, 0.3);
    }
    .hero-note {
      font-size: 0.82rem;
      color: var(--text-muted);
    }
    .hero-note strong { color: #111827; }

    /* Bloc infos à droite du texte */
    .hero-info-card {
      margin-top: 14px;
      background: #f9fafb;
      padding: 14px 16px;
      border-radius: 18px;
      border: 1px solid rgba(148,163,184,0.6);
    }
    .hero-info-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 0.85rem;
      color: var(--text-muted);
      margin-bottom: 8px;
    }
    .hero-info-badge {
      padding: 3px 9px;
      border-radius: 999px;
      background: #dcfce7;
      color: #166534;
      font-size: 0.72rem;
      font-weight: 500;
    }
    .hero-info-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0,1fr));
      gap: 8px;
      font-size: 0.86rem;
      margin-bottom: 8px;
    }
    .hero-info-item {
      padding: 8px 9px;
      border-radius: 12px;
      background: #ffffff;
      border: 1px solid rgba(148,163,184,0.7);
    }
    .hero-info-label {
      font-size: 0.7rem;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: var(--text-muted);
      margin-bottom: 2px;
    }
    .hero-info-value {
      font-weight: 500;
      color: #111827;
    }
    .hero-stats-row {
      display: flex;
      gap: 10px;
      font-size: 0.8rem;
    }
    .hero-stat {
      flex: 1;
      padding: 8px 9px;
      border-radius: 12px;
      background: #ffffff;
      border: 1px solid rgba(148,163,184,0.7);
    }
    .hero-stat-amount {
      font-size: 1.12rem;
      font-weight: 600;
      color: #111827;
    }
    .hero-stat-label {
      font-size: 0.72rem;
      color: var(--text-muted);
    }

    /* COLONNE PHOTOS du HERO */
    .hero-photos {
      display: grid;
      grid-template-columns: 2fr 1.4fr;
      grid-template-rows: 1fr 1fr;
      gap: 12px;
      height: min(460px, 70vh);
    }
    .hero-photo-main {
      grid-row: 1 / 3;
      position: relative;
      border-radius: 22px;
      overflow: hidden;
      box-shadow: var(--shadow-card);
    }
    .hero-photo-main img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transform: scale(1.03);
      transition: transform 0.6s ease;
    }
    .hero-photo-main::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(0,0,0,0.35), transparent 55%);
      pointer-events: none;
    }
    .hero-photo-caption {
      position: absolute;
      left: 14px;
      right: 14px;
      bottom: 12px;
      z-index: 1;
      color: #f9fafb;
      font-size: 0.78rem;
    }
    .hero-photo-caption strong {
      display: block;
      font-size: 0.9rem;
      margin-bottom: 2px;
    }

    .hero-photo-secondary {
      position: relative;
      border-radius: 18px;
      overflow: hidden;
      box-shadow: var(--shadow-card);
    }
    .hero-photo-secondary img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transform: scale(1.03);
      transition: transform 0.6s ease;
    }
    .hero-photo-secondary::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(0,0,0,0.28), transparent 55%);
    }
    .hero-photo-secondary:hover img,
    .hero-photo-main:hover img {
      transform: scale(1.08);
    }

    /* PROGRAMME */
    .section-program { background: var(--bg-section); }
    .program-layout {
      display: grid;
      grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
      gap: 26px;
      align-items: flex-start;
    }
    .pill-list {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 18px;
      margin-bottom: 20px;
      font-size: 0.8rem;
    }
    .pill {
      padding: 4px 10px;
      border-radius: 999px;
      background: #ffffff;
      border: 1px solid rgba(148, 163, 184, 0.6);
      color: var(--text-muted);
    }

    .program-tabs {
      display: inline-flex;
      padding: 4px;
      border-radius: 999px;
      background: #e5e7eb;
      border: 1px solid rgba(148, 163, 184, 0.7);
      margin-bottom: 10px;
    }
    .program-tab {
      border-radius: 999px;
      padding: 7px 14px;
      font-size: 0.8rem;
      border: none;
      background: transparent;
      color: var(--text-muted);
      cursor: pointer;
      transition: all 0.16s ease;
    }
    .program-tab.active {
      background: #ffffff;
      color: #111827;
      box-shadow: 0 6px 16px rgba(148, 163, 184, 0.4);
    }
    .program-panels { margin-top: 4px; }
    .program-panel { display: none; }
    .program-panel.active { display: block; }

    .session-list {
      display: flex;
      flex-direction: column;
      gap: 12px;
      margin-top: 8px;
    }
    .session-item {
      display: grid;
      grid-template-columns: 90px minmax(0, 1fr);
      gap: 16px;
      padding: 12px 14px;
      border-radius: 18px;
      background: var(--bg-card);
      border: 1px solid var(--border-soft);
      box-shadow: var(--shadow-soft);
    }
    .session-time {
      font-size: 0.78rem;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: var(--text-muted);
    }
    .session-time strong { display: block; margin-top: 4px; color: #111827; }
    .session-body-title {
      font-size: 0.92rem;
      font-weight: 500;
      margin-bottom: 4px;
    }
    .session-body-speaker {
      font-size: 0.82rem;
      color: var(--text-muted);
      margin-bottom: 6px;
    }
    .session-body-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      font-size: 0.7rem;
    }
    .session-tag {
      padding: 2px 8px;
      border-radius: 999px;
      border: 1px solid rgba(148, 163, 184, 0.8);
      background: #f9fafb;
      color: var(--text-muted);
    }

    /* RESSOURCES */
    .section-resources { background: #ffffff; }
    .resources-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 18px;
    }
    .resource-card {
      border-radius: var(--radius-lg);
      padding: 16px 16px 14px;
      background: var(--bg-card);
      border: 1px solid var(--border-soft);
      box-shadow: var(--shadow-card);
      display: flex;
      flex-direction: column;
      gap: 10px;
      transition: transform 0.16s ease, box-shadow 0.16s ease;
    }
    .resource-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
    }
    .resource-meta {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      font-size: 0.78rem;
      color: var(--text-muted);
    }
    .resource-type {
      padding: 3px 10px;
      border-radius: 999px;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      background: #e1eef9;
      color: var(--primary-strong);
      font-size: 0.7rem;
    }
    .resource-duration {
      font-size: 0.78rem;
      color: var(--text-muted);
    }
    .resource-title {
      font-size: 0.96rem;
      font-weight: 500;
    }
    .resource-footer {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 0.8rem;
      color: var(--text-muted);
    }
    .resource-link {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-size: 0.82rem;
        color: #ffffff;
        font-weight: 500;
        border-radius: 7px;
        background: #0063a5;
        padding-left: 10px;
        padding-right: 10px;
    }

    /* GALERIE */
    .section-gallery { background: var(--bg-section); }
    .gallery-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 18px;
    }
    .gallery-item {
      position: relative;
      border-radius: 22px;
      overflow: hidden;
      background: #000;
      box-shadow: var(--shadow-card);
      transform: translateY(0);
      transition: transform 0.18s ease, box-shadow 0.18s ease;
    }
    .gallery-item img {
      width: 100%;
      height: 100%;
      aspect-ratio: 4 / 3;
      object-fit: cover;
      transform: scale(1.02);
      transition: transform 0.6s ease;
    }
    .gallery-item::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(15, 23, 42, 0.55), transparent 55%);
      pointer-events: none;
    }
    .gallery-caption {
      position: absolute;
      left: 14px;
      right: 14px;
      bottom: 14px;
      z-index: 2;
      font-size: 0.86rem;
      color: #f9fafb;
    }
    .gallery-caption-title {
      font-weight: 500;
      margin-bottom: 2px;
    }
    .gallery-caption-sub {
      font-size: 0.78rem;
      color: #e5e7eb;
    }
    .gallery-item:hover {
      transform: translateY(-5px);
      box-shadow: 0 26px 60px rgba(15, 23, 42, 0.25);
    }
    .gallery-item:hover img {
      transform: scale(1.07);
    }

    /* PARTENAIRES */
    .section-partners { background: #ffffff; }
    .partners-row {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 26px;
      align-items: center;
      margin-top: 18px;
    }
    .partner-logo {
      min-width: 130px;
      padding: 10px 18px;
      border-radius: 999px;
      border: 1px solid var(--border-soft);
      background: #ffffff;
      font-size: 0.8rem;
      color: var(--text-muted);
      text-align: center;
      box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
    }

    /* EDITIONS */
    .section-editions { background: var(--bg-section); }
    .editions-grid {
      display: grid;
      gap: 22px;
      align-items: stretch;
    }
    .edition-card {
      border-radius: 20px;
      padding: 18px 18px 16px;
      background: var(--bg-card);
      border: 1px solid var(--border-soft);
      box-shadow: var(--shadow-card);
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .edition-year {
      font-size: 0.8rem;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: var(--text-muted);
    }
    .edition-title {
      font-size: 1.02rem;
      font-weight: 500;
    }
    .edition-list {
      margin-top: 4px;
      padding-left: 1.2rem;
      font-size: 0.86rem;
      color: var(--text-muted);
    }
    .editions-cta {
      margin-top: auto;
      display: flex;
      justify-content: flex-end;
      gap: 10px;
      align-items: center;
      font-size: 0.82rem;
    }

    /* FOOTER */
    .site-footer {
      border-top: 1px solid rgba(148, 163, 184, 0.4);
      padding: 18px 0 24px;
      background: #ffffff;
      font-size: 0.8rem;
      color: var(--text-muted);
    }
    .footer-inner {
      width: min(1180px, 100% - 3rem);
      margin: 0 auto;
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      align-items: center;
      justify-content: space-between;
    }
    .footer-links {
      display: flex;
      gap: 14px;
      flex-wrap: wrap;
    }
    .footer-links a {
      color: var(--text-muted);
    }

    /* REVEAL */
    .reveal {
      opacity: 0;
      transform: translateY(22px);
      transition: opacity 0.55s ease, transform 0.55s ease;
    }
    .reveal.in-view {
      opacity: 1;
      transform: translateY(0);
    }

    /* RESPONSIVE */
    @media (max-width: 900px) {
      .hero-grid { grid-template-columns: minmax(0,1fr); }
      .hero-photos {
        height: 320px;
        margin-top: 18px;
      }
      .program-layout {
        grid-template-columns: minmax(0, 1fr);
      }
      .editions-grid {
        grid-template-columns: minmax(0, 1fr);
      }
    }
    @media (max-width: 768px) {
      .main-nav {
        position: fixed;
        inset: var(--header-height) 0 auto 0;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 16px 20px 14px;
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.22s ease, opacity 0.22s ease;
      }
      .main-nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
      }
      .btn-header { display: none; }
      .burger { display: flex; }
    }
    @media (max-width: 520px) {
      section { padding: 64px 0; }
      .hero { padding: 58px 0 66px; }
      .hero-buttons {
        flex-direction: column;
        align-items: stretch;
      }
      .hero-stats-row { flex-direction: column; }
      .session-item {
        grid-template-columns: minmax(0,1fr);
      }
    }

.partner-logo.reveal.in-view img { 
      height: 90px;
    }

.logoHeader {
  width: 80px;
}


.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(5px);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-content {
  position: relative;
  width: 80%;
  max-width: 900px;
  max-height: 80vh;
  background:#000;
  padding:0;
  border-radius: 8px;
  overflow: hidden;
}

.modal iframe {
  width: 100%;
  height: 60vh;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  cursor: pointer;
  color: #fff;
  transition: 0.3s;
}

.modal-close:hover { color: #f33; }
    