/* ========================================
   SNPDOSS CFE-CGC — Feuille de styles
   Refonte 2026
   ======================================== */

:root {
    --navy-900: #1A2C6B;
    --navy-800: #23388B;
    --navy-700: #2F47A3;
    --navy-50: #F2F5FA;
    --orange: #F39200;
    --orange-light: #FFB54C;
    --gold: #C9A961;
    --cream: #FAF7F2;
    --paper: #FDFCF8;
    --ink: #1A1614;
    --ink-soft: #4A4541;
    --gray-200: #E8E5E0;
    --gray-300: #D4D0C8;
    --green-accent: #2D6A4F;
    --red-flag: #B83A2A;

    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Manrope', system-ui, sans-serif;

    --radius: 4px;
    --max-w: 1320px;
  }

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

  html { scroll-behavior: smooth; }

  body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.55;
    overflow-x: hidden;
  }

  /* ============ TYPOGRAPHY ============ */
  h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }

  /* ============ TOP BAR ============ */
  .topbar {
    background: var(--navy-900);
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .topbar-inner {
    max-width: var(--max-w); margin: 0 auto; padding: 0 32px;
    display: flex; justify-content: space-between; align-items: center; gap: 24px;
  }
  .topbar a { color: inherit; text-decoration: none; transition: color .2s; }
  .topbar a:hover { color: var(--orange-light); }
  .topbar-left { display: flex; gap: 24px; align-items: center; }
  .topbar-right { display: flex; gap: 20px; align-items: center; }
  .topbar-pill {
    background: var(--orange);
    color: var(--navy-900);
    padding: 4px 12px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  /* ============ HEADER ============ */
  header {
    background: var(--paper);
    position: sticky; top: 0; z-index: 100;
    border-bottom: 1px solid var(--gray-200);
    backdrop-filter: blur(10px);
  }
  .header-inner {
    max-width: var(--max-w); margin: 0 auto; padding: 18px 32px;
    display: flex; justify-content: space-between; align-items: center; gap: 40px;
  }
  .logo {
    display: inline-flex; align-items: center;
    text-decoration: none;
    transition: opacity .2s;
  }
  .logo:hover { opacity: 0.8; }
  .logo-img {
    height: 48px; width: auto;
    display: block;
  }
  .footer-logo .logo-img-white {
    height: 44px;
  }

  nav { display: flex; gap: 32px; align-items: center; }
  nav a {
    color: var(--ink); text-decoration: none; font-weight: 500;
    font-size: 14.5px; position: relative; padding: 8px 0;
    transition: color .2s;
  }
  nav a::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0;
    height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left;
    transition: transform .3s ease;
  }
  nav a:hover { color: var(--navy-900); }
  nav a:hover::after { transform: scaleX(1); }

  .header-cta {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--navy-900); color: white; text-decoration: none;
    padding: 11px 22px; border-radius: var(--radius);
    font-weight: 600; font-size: 14px; transition: all .2s;
  }
  .header-cta:hover { background: var(--orange); color: var(--navy-900); }

  /* ============ HERO ============ */
  .hero {
    background: var(--navy-900);
    color: white;
    position: relative;
    overflow: hidden;
    padding: 80px 32px 100px;
  }
  .hero::before {
    content: ''; position: absolute; inset: 0;
    background-image:
      radial-gradient(circle at 15% 20%, rgba(243,146,0,0.15) 0%, transparent 40%),
      radial-gradient(circle at 85% 80%, rgba(201,169,97,0.1) 0%, transparent 50%);
    pointer-events: none;
  }
  .hero-grid-pattern {
    position: absolute; inset: 0; opacity: 0.04; pointer-events: none;
    background-image:
      linear-gradient(to right, white 1px, transparent 1px),
      linear-gradient(to bottom, white 1px, transparent 1px);
    background-size: 80px 80px;
  }

  .hero-inner {
    max-width: var(--max-w); margin: 0 auto;
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 80px; align-items: center;
    position: relative;
  }

  .hero-eyebrow {
    display: inline-flex; align-items: center; gap: 12px;
    font-size: 12px; font-weight: 600; letter-spacing: 0.2em;
    text-transform: uppercase; color: var(--orange-light);
    margin-bottom: 28px;
  }
  .hero-eyebrow::before {
    content: ''; width: 32px; height: 1px; background: var(--orange);
  }

  .hero h1 {
    font-size: clamp(40px, 5.2vw, 76px);
    font-weight: 400;
    color: white;
    margin-bottom: 28px;
    letter-spacing: -0.025em;
  }
  .hero h1 em {
    font-style: italic; font-weight: 300;
    color: var(--orange-light);
    position: relative;
  }

  .hero-lead {
    font-size: 19px; line-height: 1.6;
    color: rgba(255,255,255,0.78);
    max-width: 560px; margin-bottom: 40px;
    font-weight: 300;
  }

  .hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
  .btn-primary {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--orange); color: var(--navy-900);
    padding: 16px 28px; border-radius: var(--radius);
    font-weight: 700; font-size: 15px; text-decoration: none;
    transition: all .25s; border: none; cursor: pointer;
  }
  .btn-primary:hover { background: var(--orange-light); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(243,146,0,0.3); }
  .btn-ghost {
    display: inline-flex; align-items: center; gap: 10px;
    color: white; border: 1px solid rgba(255,255,255,0.25);
    padding: 16px 28px; border-radius: var(--radius);
    font-weight: 500; font-size: 15px; text-decoration: none;
    transition: all .25s; background: transparent;
  }
  .btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.5); }
  .btn-arrow { transition: transform .25s; }
  .btn-primary:hover .btn-arrow, .btn-ghost:hover .btn-arrow { transform: translateX(4px); }

  /* Hero visual */
  .hero-visual {
    position: relative;
    aspect-ratio: 1;
  }
  .hero-card {
    position: absolute;
    background: white; color: var(--ink);
    padding: 24px; border-radius: 8px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
  }
  .hero-card-1 {
    top: 0; right: 20px; width: 280px;
    transform: rotate(-3deg);
    z-index: 2;
  }
  .hero-card-2 {
    bottom: 30px; left: 0; width: 260px;
    transform: rotate(2deg);
    background: var(--cream);
  }
  .hero-card-3 {
    top: 45%; right: 0; width: 200px;
    background: var(--orange); color: var(--navy-900);
    transform: rotate(5deg);
    z-index: 3;
  }
  .hero-card .card-tag {
    font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--navy-700);
    margin-bottom: 12px;
  }
  .hero-card-3 .card-tag { color: var(--navy-900); }
  .hero-card .card-title {
    font-family: var(--font-display); font-weight: 600;
    font-size: 18px; line-height: 1.3; margin-bottom: 8px;
  }
  .hero-card .card-meta {
    font-size: 12px; color: var(--ink-soft);
    border-top: 1px solid var(--gray-200);
    padding-top: 10px; margin-top: 12px;
  }
  .hero-card-3 .card-meta { border-color: rgba(10,31,61,0.2); color: var(--navy-800); }

  .hero-stat-big {
    font-family: var(--font-display); font-size: 48px;
    font-weight: 600; line-height: 1; margin-bottom: 4px;
  }
  .hero-stat-label {
    font-size: 13px; color: var(--ink-soft); font-weight: 500;
  }

  /* ============ KEY METRICS BAR ============ */
  .metrics {
    background: var(--cream);
    padding: 48px 32px;
    border-bottom: 1px solid var(--gray-200);
  }
  .metrics-inner {
    max-width: var(--max-w); margin: 0 auto;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px;
  }
  .metric { text-align: left; }
  .metric-value {
    font-family: var(--font-display);
    font-size: 56px; font-weight: 500;
    color: var(--navy-900); line-height: 1;
    letter-spacing: -0.03em;
  }
  .metric-value sup { font-size: 24px; color: var(--orange); margin-left: 2px; vertical-align: super; }
  .metric-label {
    margin-top: 12px;
    font-size: 14px; color: var(--ink-soft);
    font-weight: 500; line-height: 1.4;
    max-width: 220px;
  }

  /* ============ SECTION GENERIC ============ */
  section { padding: 96px 32px; }
  .section-inner { max-width: var(--max-w); margin: 0 auto; }
  .section-head {
    display: flex; justify-content: space-between; align-items: end;
    margin-bottom: 56px; gap: 40px;
  }
  .section-eyebrow {
    font-size: 12px; font-weight: 600; letter-spacing: 0.2em;
    text-transform: uppercase; color: var(--orange);
    margin-bottom: 16px;
    display: inline-flex; align-items: center; gap: 12px;
  }
  .section-eyebrow::before {
    content: ''; width: 28px; height: 1px; background: var(--orange);
  }
  .section-title {
    font-size: clamp(32px, 3.6vw, 52px);
    color: var(--navy-900);
    max-width: 720px;
  }
  .section-title em { font-style: italic; font-weight: 400; color: var(--ink-soft); }
  .section-link {
    display: inline-flex; align-items: center; gap: 10px;
    color: var(--navy-900); font-weight: 600; font-size: 14px;
    text-decoration: none; padding-bottom: 4px;
    border-bottom: 2px solid var(--navy-900);
    white-space: nowrap;
    transition: gap .2s;
  }
  .section-link:hover { gap: 16px; color: var(--orange); border-color: var(--orange); }

  /* ============ ACTUALITES ============ */
  .actu-grid {
    display: grid; grid-template-columns: 1.5fr 1fr 1fr;
    gap: 32px;
  }
  .actu-card {
    background: white; border: 1px solid var(--gray-200);
    border-radius: 6px; overflow: hidden;
    text-decoration: none; color: inherit;
    transition: all .3s;
    display: flex; flex-direction: column;
  }
  .actu-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(10,31,61,0.08);
    border-color: var(--navy-700);
  }
  .actu-card-featured { grid-row: 1; }
  .actu-image {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
    position: relative; overflow: hidden;
  }
  .actu-card-featured .actu-image { aspect-ratio: 4/3; }
  .actu-image::after {
    content: ''; position: absolute; inset: 0;
    background-image:
      radial-gradient(circle at 30% 30%, rgba(243,146,0,0.2) 0%, transparent 50%),
      linear-gradient(135deg, transparent 60%, rgba(0,0,0,0.4));
  }
  .actu-image-pattern {
    position: absolute; inset: 0;
    background-image: linear-gradient(45deg, rgba(255,255,255,0.03) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.03) 75%);
    background-size: 24px 24px;
  }
  .actu-image-num {
    position: absolute; bottom: 20px; right: 24px;
    font-family: var(--font-display); font-size: 96px;
    font-weight: 300; color: rgba(255,255,255,0.15);
    line-height: 0.9; font-style: italic;
  }
  .actu-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
  .actu-card-featured .actu-body { padding: 36px; }
  .actu-tag {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
    text-transform: uppercase; margin-bottom: 16px;
    color: var(--navy-700);
  }
  .actu-tag::before {
    content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--orange);
  }
  .actu-tag.bulletin::before { background: var(--orange); }
  .actu-tag.newsletter::before { background: var(--green-accent); }
  .actu-tag.rpn::before { background: var(--red-flag); }
  .actu-title {
    font-family: var(--font-display); font-weight: 600;
    font-size: 22px; line-height: 1.25; margin-bottom: 14px;
    color: var(--navy-900);
  }
  .actu-card-featured .actu-title { font-size: 30px; line-height: 1.15; }
  .actu-excerpt {
    font-size: 14.5px; color: var(--ink-soft); line-height: 1.55;
    flex: 1; margin-bottom: 20px;
  }
  .actu-meta {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 13px; color: var(--ink-soft);
    padding-top: 16px; border-top: 1px solid var(--gray-200);
  }
  .actu-meta-read {
    color: var(--navy-900); font-weight: 600;
    display: flex; align-items: center; gap: 6px;
  }

  /* ============ ADHESION ============ */
  .adhesion {
    background: var(--navy-900); color: white;
    position: relative; overflow: hidden;
  }
  .adhesion::before {
    content: ''; position: absolute; right: -200px; top: -200px;
    width: 600px; height: 600px; border-radius: 50%;
    background: radial-gradient(circle, rgba(243,146,0,0.15), transparent 70%);
  }
  .adhesion-inner {
    max-width: var(--max-w); margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center;
    position: relative;
  }
  .adhesion h2 { color: white; margin-bottom: 24px; font-size: clamp(32px, 4vw, 56px); }
  .adhesion h2 em { color: var(--orange-light); font-style: italic; font-weight: 400; }
  .adhesion-lead {
    font-size: 17px; line-height: 1.65; color: rgba(255,255,255,0.75);
    margin-bottom: 32px; max-width: 480px;
  }
  .benefits {
    display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  }
  .benefit {
    padding: 28px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 6px;
    background: rgba(255,255,255,0.03);
    transition: all .3s;
  }
  .benefit:hover {
    background: rgba(255,255,255,0.06);
    border-color: var(--orange);
    transform: translateY(-4px);
  }
  .benefit-icon {
    width: 44px; height: 44px;
    background: var(--orange); color: var(--navy-900);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-weight: 700; font-size: 20px;
    margin-bottom: 20px;
  }
  .benefit h3 {
    font-size: 18px; color: white; margin-bottom: 10px;
  }
  .benefit p {
    font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.5;
  }

  /* ============ AGENDA ============ */
  .agenda { background: var(--cream); }
  .agenda-layout {
    display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px;
  }
  .agenda-filters {
    position: sticky; top: 100px; align-self: start;
  }
  .agenda-filters h3 {
    font-size: 14px; font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--ink-soft); margin-bottom: 20px;
    font-family: var(--font-body);
  }
  .filter-pill {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 16px; margin: 0 8px 8px 0;
    border: 1px solid var(--gray-300);
    background: white; border-radius: 100px;
    font-size: 13px; font-weight: 500;
    cursor: pointer; transition: all .2s;
    color: var(--ink);
  }
  .filter-pill:hover { border-color: var(--navy-900); }
  .filter-pill.active {
    background: var(--navy-900); color: white; border-color: var(--navy-900);
  }
  .filter-dot { width: 6px; height: 6px; border-radius: 50%; }
  .dot-rse { background: #2D6A4F; }
  .dot-sante { background: #B83A2A; }
  .dot-formation { background: #C9A961; }
  .dot-retraite { background: #1A3D70; }
  .dot-other { background: #8B5CF6; }

  .agenda-list { display: flex; flex-direction: column; }
  .agenda-item {
    display: grid; grid-template-columns: 100px 1fr auto;
    align-items: center; gap: 32px;
    padding: 24px 0;
    border-bottom: 1px solid var(--gray-300);
    transition: all .25s;
    cursor: pointer;
  }
  .agenda-item:hover {
    padding-left: 12px; padding-right: 12px;
    background: white;
    border-bottom-color: var(--navy-900);
  }
  .agenda-date {
    font-family: var(--font-display);
    text-align: left;
  }
  .agenda-day {
    font-size: 36px; font-weight: 500; color: var(--navy-900);
    line-height: 1; letter-spacing: -0.02em;
  }
  .agenda-month {
    font-size: 13px; color: var(--ink-soft);
    text-transform: uppercase; letter-spacing: 0.1em;
    margin-top: 4px; font-family: var(--font-body); font-weight: 600;
  }
  .agenda-content h4 {
    font-family: var(--font-display); font-size: 20px;
    font-weight: 600; color: var(--navy-900);
    margin-bottom: 6px;
  }
  .agenda-tag {
    font-size: 11px; font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase;
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--ink-soft);
  }
  .agenda-time {
    font-size: 13px; color: var(--ink-soft);
    text-align: right;
  }
  .agenda-time strong { display: block; color: var(--navy-900); font-size: 14px; margin-bottom: 4px; }

  /* ============ PARTNERS ============ */
  .partners {
    padding: 64px 32px;
    border-top: 1px solid var(--gray-200);
    background: var(--paper);
  }
  .partners-inner {
    max-width: var(--max-w); margin: 0 auto;
    display: flex; align-items: center; gap: 64px;
    flex-wrap: wrap; justify-content: space-between;
  }
  .partners-label {
    font-size: 12px; font-weight: 600;
    letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--ink-soft);
  }
  .partners-logos {
    display: flex; gap: 48px; align-items: center; flex-wrap: wrap;
  }
  .partner-logo {
    font-family: var(--font-display);
    font-weight: 600; font-size: 18px;
    color: var(--ink-soft);
    opacity: 0.6;
    transition: all .2s;
    letter-spacing: -0.01em;
  }
  .partner-logo:hover { opacity: 1; color: var(--navy-900); }

  /* ============ NEWSLETTER ============ */
  .newsletter {
    background: var(--cream);
    padding: 96px 32px;
    border-top: 1px solid var(--gray-200);
  }
  .newsletter-inner {
    max-width: 880px; margin: 0 auto;
    text-align: center;
    position: relative;
  }
  .newsletter-quote {
    font-family: var(--font-display);
    font-size: 56px; color: var(--orange);
    line-height: 0; margin-bottom: 24px; opacity: 0.4;
  }
  .newsletter h2 {
    font-size: clamp(32px, 4vw, 48px);
    color: var(--navy-900); margin-bottom: 20px;
  }
  .newsletter p {
    color: var(--ink-soft); font-size: 17px;
    margin-bottom: 36px; max-width: 580px; margin-left: auto; margin-right: auto;
  }
  .newsletter-form {
    display: flex; gap: 8px;
    max-width: 520px; margin: 0 auto;
    background: white;
    border: 1px solid var(--gray-300);
    border-radius: 100px;
    padding: 6px;
  }
  .newsletter-form input {
    flex: 1; padding: 12px 20px;
    border: none; outline: none;
    background: transparent; font-family: var(--font-body);
    font-size: 15px; color: var(--ink);
  }
  .newsletter-form button {
    padding: 12px 28px;
    background: var(--navy-900); color: white;
    border: none; border-radius: 100px;
    font-family: var(--font-body); font-weight: 600; font-size: 14px;
    cursor: pointer; transition: background .2s;
  }
  .newsletter-form button:hover { background: var(--orange); color: var(--navy-900); }

  /* ============ FOOTER ============ */
  footer {
    background: var(--navy-900); color: white;
    padding: 80px 32px 32px;
  }
  .footer-inner { max-width: var(--max-w); margin: 0 auto; }
  .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .footer-brand .logo { margin-bottom: 24px; display: inline-block; }
  .footer-brand p {
    color: rgba(255,255,255,0.65); font-size: 14px;
    line-height: 1.6; max-width: 380px; margin-bottom: 24px;
  }
  .footer-social {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 18px;
    border: 1px solid rgba(255,255,255,0.2);
    color: white; text-decoration: none;
    border-radius: 100px; font-size: 13px; font-weight: 500;
    transition: all .2s;
  }
  .footer-social:hover { background: white; color: var(--navy-900); }

  .footer-col h4 {
    font-family: var(--font-body); font-weight: 600;
    font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em;
    color: var(--orange); margin-bottom: 20px;
  }
  .footer-col a {
    display: block; padding: 6px 0;
    color: rgba(255,255,255,0.7); text-decoration: none;
    font-size: 14.5px; transition: color .2s;
  }
  .footer-col a:hover { color: white; }

  .footer-bottom {
    padding-top: 28px;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 13px; color: rgba(255,255,255,0.5);
    flex-wrap: wrap; gap: 16px;
  }
  .footer-bottom a { color: inherit; text-decoration: none; margin-left: 24px; }
  .footer-bottom a:hover { color: white; }

  /* ============ ANIMATIONS ============ */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .hero h1, .hero-lead, .hero-actions, .hero-eyebrow { animation: fadeUp .8s ease-out backwards; }
  .hero-eyebrow { animation-delay: .1s; }
  .hero h1 { animation-delay: .2s; }
  .hero-lead { animation-delay: .35s; }
  .hero-actions { animation-delay: .5s; }
  .hero-card { animation: fadeUp 1s ease-out backwards; }
  .hero-card-1 { animation-delay: .6s; }
  .hero-card-2 { animation-delay: .75s; }
  .hero-card-3 { animation-delay: .9s; }

  /* ============ RESPONSIVE ============ */
  @media (max-width: 1024px) {
    .hero-inner, .adhesion-inner, .agenda-layout { grid-template-columns: 1fr; gap: 56px; }
    .actu-grid { grid-template-columns: 1fr 1fr; }
    .actu-card-featured { grid-column: span 2; }
    .metrics-inner { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    nav { display: none; }
    .hero-visual { max-width: 480px; margin: 0 auto; }
  }
  @media (max-width: 640px) {
    .topbar-left span:not(:first-child) { display: none; }
    .actu-grid { grid-template-columns: 1fr; }
    .actu-card-featured { grid-column: span 1; }
    .metrics-inner { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    section { padding: 64px 24px; }
    .section-head { flex-direction: column; align-items: start; }
    .agenda-item { grid-template-columns: 70px 1fr; gap: 16px; }
    .agenda-time { display: none; }
    .benefits { grid-template-columns: 1fr; }
  }