/* parcours.css — Parcours/Client Journeys page-specific styles */
/* Extracted from inline <style> to improve caching and maintainability */

:root {
      --blue: #003366;
      --blue-dark: #002244;
      --yellow: #F3C13A;
      --bg: #FFFFFF;
      --text: #222222;
      --text-muted: rgba(34,34,34,0.6);
    }

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

    body {
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
      background: var(--bg);
      color: var(--text);
      min-height: 100vh;
    }

    /* ═══════════════════════════════════════════════════════════════
       NAVIGATION
    ═══════════════════════════════════════════════════════════════ */

    .nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 100;
      padding: 1.5rem 2rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      background: rgba(255,255,255,0.9);
      backdrop-filter: blur(10px);
    }

    .nav-logo { height: 32px; width: auto; }

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

    .nav-links a {
      color: var(--text-muted);
      text-decoration: none;
      font-size: 0.875rem;
      font-weight: 500;
      transition: color 0.2s;
      white-space: nowrap;
    }

    .nav-links a:hover { color: var(--text); }
    .nav-links a.active { color: var(--text); }

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

    .nav-hamburger {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      padding: 0.5rem;
    }

    .nav-hamburger span {
      display: block;
      width: 24px;
      height: 2px;
      background: var(--text);
      margin: 5px 0;
      transition: all 0.3s;
    }

    .nav-cta {
      background: var(--blue);
      color: #ffffff;
      padding: 0.625rem 1.25rem;
      border-radius: 6px;
      text-decoration: none;
      font-size: 0.875rem;
      font-weight: 600;
      transition: background 0.2s, transform 0.2s;
    }

    .nav-cta:hover {
      background: var(--blue-dark);
      transform: translateY(-1px);
    }

    .nav-cta .cta-short { display: none; }

    @media (max-width: 500px) {
      .nav-cta .cta-full { display: none; }
      .nav-cta .cta-short { display: inline; }
    }

    @media (max-width: 900px) {
      .nav-links { display: none; }
      .nav-hamburger { display: block; }
      .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: rgba(255,255,255,0.98);
        padding: 1rem 2rem 2rem;
        gap: 1rem;
        border-bottom: 1px solid rgba(0,0,0,0.1);
      }
    }

    /* ═══════════════════════════════════════════════════════════════
       PAGE HERO
    ═══════════════════════════════════════════════════════════════ */

    .page-hero {
      padding: 8rem 2rem 3rem;
      background: linear-gradient(135deg, #003366, #001a33);
      text-align: center;
      color: #ffffff;
    }

    .page-hero .section-tag {
      display: inline-block;
      font-size: 1rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      background: rgba(255,255,255,0.1);
      color: #ffffff;
      padding: 0.75rem 1.5rem;
      border-radius: 100px;
      margin-bottom: 1.5rem;
    }

    .page-hero h1 {
      font-family: Georgia, 'Times New Roman', serif;
      font-size: clamp(2rem, 5vw, 2.75rem);
      font-weight: 700;
      line-height: 1.2;
      margin-bottom: 1rem;
    }

    .page-hero h1 span { color: var(--yellow); }

    .page-hero .subtitle {
      font-size: 1.125rem;
      color: rgba(255,255,255,0.7);
      max-width: 600px;
      margin: 0 auto;
    }

    /* ═══════════════════════════════════════════════════════════════
       FUNNEL DIAGRAM
    ═══════════════════════════════════════════════════════════════ */

    .funnel-section {
      padding: 3rem 2rem;
      background: linear-gradient(180deg, #F5F5F5 0%, #ffffff 100%);
    }

    .funnel-diagram {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0;
      max-width: 700px;
      margin: 0 auto;
    }
    .funnel-arrow {
      margin-top: 2.25rem;
      align-self: center;
    }

    .funnel-step {
      flex: 1;
      text-align: center;
      padding: 1.5rem 1rem;
      min-width: 150px;
    }

    .funnel-step .step-num {
      display: inline-block;
      width: 48px;
      height: 48px;
      border-radius: 50%;
      font-size: 1.25rem;
      font-weight: 700;
      line-height: 48px;
      margin-bottom: 0.75rem;
    }

    .funnel-step .step-num.navy { background: var(--blue); color: #fff; }
    .funnel-step .step-num.navy-dark { background: var(--blue-dark); color: #fff; }
    .funnel-step .step-num.gold { background: var(--yellow); color: #222; }


    .funnel-step h2 {
      font-family: Georgia, 'Times New Roman', serif;
      font-size: 1.125rem;
      font-weight: 700;
      margin-bottom: 0.5rem;
    }

    .funnel-step p {
      font-size: 0.8125rem;
      color: var(--text-muted);
      line-height: 1.4;
    }

    .funnel-arrow {
      flex-shrink: 0;
      width: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--blue);
      font-size: 1.5rem;
    }

    .funnel-note {
      max-width: 650px;
      margin: 2rem auto 0;
      padding: 1.75rem 2rem;
      background: rgba(0,51,102,0.06);
      border-left: 4px solid var(--yellow);
      border-radius: 12px;
      font-size: 0.9375rem;
      color: var(--text-muted);
      line-height: 1.6;
      box-shadow: 0 2px 12px rgba(0,0,0,0.04);
      text-align: center;
    }

    .funnel-note-header {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.75rem;
      margin-bottom: 0.75rem;
    }

    .funnel-note-header svg {
      width: 36px;
      height: 36px;
      stroke: var(--yellow);
      stroke-width: 2;
      fill: none;
    }

    .funnel-note-header h2 {
      font-family: Georgia, 'Times New Roman', serif;
      font-size: 1.125rem;
      font-weight: 700;
      color: var(--text);
    }

    /* ═══════════════════════════════════════════════════════════════
       PARCOURS CARDS
    ═══════════════════════════════════════════════════════════════ */

    .parcours-section {
      padding: 4rem 2rem;
      max-width: 900px;
      margin: 0 auto;
    }

    .parcours-section h2 {
      font-family: Georgia, 'Times New Roman', serif;
      font-size: 1.75rem;
      text-align: center;
      margin-bottom: 2.5rem;
      color: var(--text);
    }

    .parcours-section h2 span { color: var(--blue); }

    .parcours-card {
      background: #ffffff;
      border: 1px solid #e5e7eb;
      border-top: 4px solid var(--blue);
      border-radius: 12px;
      margin-bottom: 1.5rem;
      overflow: hidden;
      box-shadow: 0 4px 20px rgba(0,0,0,0.06);
      transition: transform 0.3s ease, box-shadow 0.3s ease, border-top-color 0.3s ease;
      cursor: pointer;
    }

    .parcours-card--yellow {
      border-top-color: var(--yellow);
    }

    .parcours-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 12px 32px rgba(0,51,102,0.12);
      border-top-color: var(--yellow);
    }

    .parcours-card--yellow:hover {
      border-top-color: var(--blue);
    }

    .parcours-card summary {
      padding: 1.25rem 1.5rem;
      cursor: pointer;
      font-weight: 600;
      font-size: 1.125rem;
      color: var(--blue);
      list-style: none;
      display: flex;
      justify-content: space-between;
      align-items: center;
      transition: background 0.2s;
    }

    .parcours-card summary:hover { background: rgba(0,51,102,0.02); }
    .parcours-card summary::-webkit-details-marker { display: none; }

    .parcours-card summary::after {
      content: '+';
      font-size: 1.5rem;
      color: var(--yellow);
      transition: transform 0.2s;
      flex-shrink: 0;
      margin-left: 1rem;
    }

    .parcours-card[open] summary::after { content: '−'; }
    .parcours-card[open] summary { border-bottom: 1px solid #e5e7eb; }

    .parcours-content { padding: 1.5rem; }

    .parcours-card[open] .parcours-content.bg-blue { background: rgba(0,51,102,0.04); }
    .parcours-card[open] .parcours-content.bg-yellow { background: rgba(243,193,58,0.08); }
    .parcours-card[open] .parcours-content.bg-navy { background: rgba(0,34,68,0.05); }
    .parcours-card[open] .parcours-content.bg-green { background: rgba(56,161,105,0.06); }

    .parcours-profil {
      font-size: 0.9375rem;
      color: var(--text-muted);
      margin-bottom: 1.5rem;
      line-height: 1.6;
    }

    .parcours-profil strong { color: var(--text); }

    .parcours-parcours {
      font-size: 0.9375rem;
      color: var(--text-muted);
      margin-bottom: 1.5rem;
      line-height: 1.6;
      font-style: italic;
      padding-left: 1rem;
      border-left: 3px solid var(--yellow);
    }

    .parcours-parcours strong { color: var(--text); font-style: normal; }

    /* Timeline */
    .timeline {
      display: flex;
      align-items: stretch;
      gap: 0;
      margin: 1.5rem 0;
    }

    .timeline-step {
      flex: 1;
      text-align: center;
      padding: 0.75rem 0.5rem;
      font-size: 0.75rem;
      font-weight: 600;
      border-bottom: 3px solid #e5e7eb;
      color: var(--text-muted);
      white-space: nowrap;
    }

    .timeline-step.t-active {
      border-bottom-color: var(--yellow);
      color: var(--blue);
    }

    /* Override style.css vertical timeline dots for horizontal layout */
    .timeline-step {
      padding-bottom: 0.75rem;
    }

    .timeline-step::before {
      left: 50%;
      transform: translateX(-50%);
      top: auto;
      bottom: -8px;
      width: 10px;
      height: 10px;
      background: var(--blue);
      border: 2px solid #fff;
      z-index: 1;
    }

    .timeline-step:last-child::before {
      background: var(--blue);
    }

    /* Déroulé table */
    .parcours-table {
      width: 100%;
      border-collapse: collapse;
      margin: 1.25rem 0;
      font-size: 0.875rem;
    }

    .parcours-table th,
    .parcours-table td {
      padding: 0.75rem 1rem;
      text-align: left;
      border-bottom: 1px solid #e5e7eb;
    }

    .parcours-table th {
      background: #F5F5F5;
      font-weight: 600;
      color: var(--blue);
      font-size: 0.8125rem;
    }

    .parcours-table tr:hover { background: #fafafa; }

    .parcours-table td:first-child,
    .parcours-table th:first-child {
      white-space: nowrap;
    }

    /* Budget box */
    .budget-box {
      background: #F5F5F5;
      border-radius: 8px;
      padding: 1.25rem;
      margin-top: 1.5rem;
    }

    .budget-box h3 {
      color: var(--blue);
      font-size: 0.9375rem;
      margin-bottom: 0.75rem;
    }

    .budget-box table {
      width: 100%;
      border-collapse: collapse;
      font-size: 0.875rem;
    }

    .budget-box td {
      padding: 0.5rem 0;
      border-bottom: 1px solid #e5e7eb;
    }

    .budget-box td:last-child { text-align: right; font-weight: 600; }

    .budget-total {
      font-size: 1.0625rem;
      font-weight: 700;
      color: var(--blue);
      margin-top: 0.75rem;
      padding-top: 0.75rem;
      border-top: 2px solid var(--yellow);
    }

    .vs-market {
      font-size: 0.8125rem;
      color: #38a169;
      font-weight: 600;
    }

    /* Yellow theme overrides (Parcours B & D) */
    .bg-yellow .parcours-table th { background: rgba(243,193,58,0.15); }
    .bg-yellow .parcours-table tr:hover { background: rgba(243,193,58,0.10); }
    .bg-yellow .budget-box { background: rgba(243,193,58,0.15); }

    /* ═══════════════════════════════════════════════════════════════
       CTA SECTION
    ═══════════════════════════════════════════════════════════════ */

    .cta-section {
      text-align: center;
      padding: 4rem 2rem;
      background: linear-gradient(135deg, #003366, #001a33);
    }

    .cta-title {
      font-size: clamp(1.75rem, 4vw, 2.5rem);
      font-weight: 700;
      margin-bottom: 1rem;
      color: #ffffff;
    }

    .cta-subtitle {
      font-size: 1.125rem;
      color: rgba(255,255,255,0.7);
      margin-bottom: 2rem;
      max-width: 500px;
      margin-left: auto;
      margin-right: auto;
    }

    .cta-buttons {
      display: flex;
      justify-content: center;
      gap: 1rem;
      flex-wrap: wrap;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 1rem 2rem;
      border-radius: 8px;
      font-size: 1rem;
      font-weight: 600;
      text-decoration: none;
      transition: all 0.3s ease;
      cursor: pointer;
      border: none;
    }

    .btn-primary {
      background: var(--yellow);
      color: #222222;
    }

    .btn-primary:hover {
      background: #D4A832;
      transform: translateY(-2px);
      box-shadow: 0 8px 30px rgba(243, 193, 58, 0.4);
    }

    .btn-secondary {
      background: transparent;
      color: #ffffff;
      border: 2px solid rgba(255,255,255,0.4);
    }

    .btn-secondary:hover {
      background: rgba(255,255,255,0.15);
    }

    /* ═══════════════════════════════════════════════════════════════
       FOOTER
    ═══════════════════════════════════════════════════════════════ */

    .footer {
      padding: 3rem 2rem 2rem;
      border-top: 1px solid rgba(0,0,0,0.1);
    }

    .footer-grid {
      max-width: 1100px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: auto 1fr 1fr;
      gap: 3rem;
      align-items: start;
      margin-bottom: 2rem;
    }

    .footer-brand {
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    .footer-logo { height: 28px; width: auto; opacity: 0.9; }

    .footer-social a {
      color: var(--text-muted);
      text-decoration: none;
      font-size: 0.875rem;
      transition: color 0.2s;
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
    }

    .footer-social a:hover { color: var(--blue); }
    .footer-social svg { width: 24px; height: 24px; fill: currentColor; }

    .footer-col h4 {
      font-size: 0.875rem;
      font-weight: 600;
      color: var(--text);
      margin-bottom: 1rem;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .footer-col p,
    .footer-col a {
      color: var(--text-muted);
      font-size: 0.875rem;
      line-height: 1.8;
      text-decoration: none;
      display: block;
    }

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

    .footer-bottom {
      max-width: 1100px;
      margin: 0 auto;
      padding-top: 1.5rem;
      border-top: 1px solid rgba(0,0,0,0.05);
      text-align: center;
    }

    .footer-legal {
      font-size: 0.75rem;
      color: var(--text-muted);
      line-height: 1.6;
    }

    /* ═══════════════════════════════════════════════════════════════
       RESPONSIVE
    ═══════════════════════════════════════════════════════════════ */

    @media (max-width: 768px) {
      .nav { padding: 0.75rem; gap: 0.5rem; }
      .nav-logo { height: 22px; }
      .page-hero { padding: 6rem 1.5rem 2.5rem; }
      .funnel-diagram { flex-direction: column; align-items: center; }
      .funnel-arrow { transform: rotate(90deg); width: auto; padding: 0.5rem 0; margin-top: 0; align-self: center; }
      .funnel-step { min-width: auto; width: 100%; text-align: center; }
      .parcours-section { padding: 3rem 1.5rem; }
      .timeline { flex-direction: column; }
      .timeline-step { border-bottom: none; border-left: 3px solid #e5e7eb; text-align: left; padding: 0.5rem 1rem; }
      .timeline-step.t-active { border-left-color: var(--yellow); }
      .parcours-table { font-size: 0.8125rem; }
      .parcours-table th, .parcours-table td { padding: 0.5rem 0.5rem; }
      .parcours-table td:first-child, .parcours-table th:first-child { white-space: normal; }
      .parcours-table td:last-child, .parcours-table th:last-child { white-space: nowrap; }
      .cta-buttons { flex-direction: column; align-items: center; }
      .btn { width: 100%; max-width: 280px; justify-content: center; }
      .footer-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
      .footer-brand { align-items: center; }
    }

    @media (max-width: 480px) {
      .nav { padding: 0.625rem 0.5rem; }
      .nav-logo { height: 20px; }
      .nav-cta { padding: 0.3rem 0.5rem; font-size: 0.625rem; border-radius: 4px; }
    }

    .lang-switch { font-size: 0.75rem; color: var(--text-muted); white-space: nowrap; }
    .lang-switch a { color: var(--text-muted); text-decoration: none; }
    .lang-switch a:hover { color: var(--text); }
    .lang-switch strong { color: var(--text); }

    /* Module number badges */
    .module-num {
      display: inline-flex; align-items: center; justify-content: center;
      width: 1.5em; height: 1.5em; border-radius: 50%;
      background: var(--yellow); color: var(--blue-dark); font-weight: 700;
      font-size: 0.85em; margin-right: 0.25em; flex-shrink: 0;
    }
