/* ============================================
   ALLOPC Academy — Main Stylesheet
   Version: 1.0.0
   ============================================ */


  :root {
    --bg: #07090f;
    --bg2: #0d1018;
    --bg3: #111520;
    --accent: #00e5ff;
    --accent2: #7b5ea7;
    --white: #f0f4ff;
    --muted: #6b7a99;
    --border: rgba(0,229,255,0.12);
    --card: rgba(255,255,255,0.03);
    --font-head: 'Syne', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --radius: 16px;
    --glow: 0 0 40px rgba(0,229,255,0.15);
  }

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

  html { scroll-behavior: smooth; }

  body {
    background: var(--bg);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    overflow-x: hidden;
  }

  /* ─── NOISE TEXTURE OVERLAY ─── */
  body::before {
    content: '';
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
    opacity: 0.4;
  }

  /* ─── GRID BG ─── */
  .grid-bg {
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background-image:
      linear-gradient(rgba(0,229,255,0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0,229,255,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 40%, transparent 100%);
  }

  /* ─── NAV ─── */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 48px;
    height: 72px;
    background: rgba(7,9,15,0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    animation: fadeDown 0.6s ease forwards;
  }

  @keyframes fadeDown {
    from { opacity: 0; transform: translateY(-16px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .nav-logo {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none;
  }

  /* logo via img tag */

  .nav-links { display: flex; align-items: center; gap: 8px; }

  .nav-link {
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
  }
  .nav-link:hover { color: var(--white); background: rgba(255,255,255,0.06); }

  .btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.25s;
    cursor: pointer;
    border: none;
  }

  .btn-primary {
    background: var(--accent);
    color: var(--bg);
    padding: 12px 24px;
    font-weight: 600;
    box-shadow: 0 0 20px rgba(0,229,255,0.3);
  }
  .btn-primary:hover {
    background: #33ecff;
    box-shadow: 0 0 30px rgba(0,229,255,0.5);
    transform: translateY(-1px);
  }

  .btn-outline {
    background: transparent;
    color: var(--white);
    padding: 12px 24px;
    border: 1px solid var(--border);
  }
  .btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(0,229,255,0.05);
  }

  /* ─── HERO ─── */
  .hero {
    position: relative;
    min-height: 100vh;
    display: flex; align-items: center;
    padding: 120px 48px 80px;
    overflow: hidden;
  }

  .hero-glow {
    position: absolute;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(0,229,255,0.12) 0%, transparent 70%);
    top: -100px; left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    animation: pulse 6s ease-in-out infinite;
  }

  .hero-glow2 {
    position: absolute;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(123,94,167,0.15) 0%, transparent 70%);
    bottom: 0; right: 5%;
    pointer-events: none;
  }

  @keyframes pulse {
    0%, 100% { opacity: 0.8; transform: translateX(-50%) scale(1); }
    50% { opacity: 1; transform: translateX(-50%) scale(1.05); }
  }

  .hero-inner {
    position: relative; z-index: 1;
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 80px; align-items: center;
    width: 100%;
  }

  .hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(0,229,255,0.08);
    border: 1px solid rgba(0,229,255,0.2);
    border-radius: 100px;
    padding: 6px 16px 6px 8px;
    font-size: 12px;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 28px;
    animation: fadeUp 0.6s 0.2s ease both;
  }

  .hero-badge-dot {
    width: 6px; height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: blink 2s ease-in-out infinite;
  }
  @keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

  .hero-title {
    font-family: var(--font-head);
    font-size: clamp(42px, 5vw, 68px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    animation: fadeUp 0.6s 0.3s ease both;
  }

  .hero-title .accent { color: var(--accent); }
  .hero-title .dim { color: var(--muted); }

  .hero-sub {
    font-size: 17px;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 480px;
    animation: fadeUp 0.6s 0.4s ease both;
  }

  .hero-sub strong { color: var(--white); font-weight: 500; }

  .hero-actions {
    display: flex; align-items: center; gap: 16px;
    flex-wrap: wrap;
    animation: fadeUp 0.6s 0.5s ease both;
  }

  .hero-stats {
    display: flex; gap: 40px; margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
    animation: fadeUp 0.6s 0.6s ease both;
  }

  .stat-number {
    font-family: var(--font-head);
    font-size: 32px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.02em;
  }
  .stat-number span { color: var(--accent); }
  .stat-label { font-size: 13px; color: var(--muted); margin-top: 2px; }

  /* Hero visual panel */
  .hero-visual {
    position: relative;
    animation: fadeUp 0.8s 0.4s ease both;
  }

  .hero-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
  }

  .hero-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
  }

  .course-list { display: flex; flex-direction: column; gap: 12px; }

  .course-item {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 16px;
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.06);
    transition: all 0.2s;
    cursor: pointer;
  }
  .course-item:hover {
    border-color: var(--border);
    background: rgba(0,229,255,0.05);
    transform: translateX(4px);
  }

  .course-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
  }

  .course-name { font-size: 14px; font-weight: 500; color: var(--white); }
  .course-meta { font-size: 12px; color: var(--muted); margin-top: 2px; }

  .course-arrow {
    margin-left: auto;
    color: var(--muted);
    font-size: 16px;
    transition: transform 0.2s, color 0.2s;
  }
  .course-item:hover .course-arrow { transform: translateX(3px); color: var(--accent); }

  /* ─── SECTION COMMONS ─── */
  section { position: relative; }

  .section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
  }

  .section-tag {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
  }
  .section-tag::before {
    content: '';
    width: 20px; height: 1px;
    background: var(--accent);
  }

  .section-title {
    font-family: var(--font-head);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 16px;
  }
  .section-title .accent { color: var(--accent); }

  .section-sub {
    font-size: 16px;
    color: var(--muted);
    max-width: 560px;
    line-height: 1.7;
    margin-bottom: 56px;
  }

  /* ─── FORMATIONS ─── */
  .formations {
    padding: 100px 0;
    background: var(--bg2);
  }

  .formations-header {
    display: flex; justify-content: space-between; align-items: flex-end;
    margin-bottom: 56px;
  }

  .formations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .formation-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    cursor: pointer;
  }

  .formation-card::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
  }

  .formation-card:hover {
    border-color: rgba(0,229,255,0.3);
    background: rgba(0,229,255,0.04);
    transform: translateY(-4px);
    box-shadow: var(--glow);
  }
  .formation-card:hover::after { transform: scaleX(1); }

  .formation-card.featured {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(0,229,255,0.08) 0%, rgba(123,94,167,0.08) 100%);
    border-color: rgba(0,229,255,0.25);
  }

  .card-icon {
    font-size: 28px;
    margin-bottom: 20px;
    display: block;
  }

  .card-title {
    font-family: var(--font-head);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--white);
  }

  .card-desc {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.65;
    margin-bottom: 24px;
  }

  .card-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }

  .tag {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(255,255,255,0.06);
    color: var(--muted);
    border: 1px solid rgba(255,255,255,0.08);
  }
  .tag.highlight {
    background: rgba(0,229,255,0.1);
    color: var(--accent);
    border-color: rgba(0,229,255,0.2);
  }

  .card-footer {
    display: flex; align-items: center; justify-content: space-between;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.06);
  }

  .card-price { font-size: 13px; color: var(--muted); }
  .card-price strong { font-size: 18px; font-family: var(--font-head); color: var(--white); font-weight: 700; }

  .card-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    display: flex; align-items: center; gap: 4px;
    transition: gap 0.2s;
  }
  .card-link:hover { gap: 8px; }

  /* ─── APPROACH ─── */
  .approach {
    padding: 100px 0;
    background: var(--bg);
  }

  .approach-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
  }

  .approach-steps { display: flex; flex-direction: column; gap: 0; }

  .step {
    display: flex; gap: 24px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    cursor: pointer;
    transition: all 0.2s;
  }
  .step:last-child { border-bottom: none; }
  .step:hover { padding-left: 8px; }

  .step-num {
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
    opacity: 0.5;
    min-width: 28px;
    padding-top: 3px;
  }

  .step-content {}
  .step-title {
    font-family: var(--font-head);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--white);
  }
  .step-text { font-size: 14px; color: var(--muted); line-height: 1.65; }

  .approach-visual {
    position: relative;
  }

  .visual-card {
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px;
    position: relative;
    overflow: hidden;
  }

  .visual-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
  }

  .included-list { display: flex; flex-direction: column; gap: 16px; }

  .included-item {
    display: flex; align-items: flex-start; gap: 14px;
  }

  .check-icon {
    width: 22px; height: 22px;
    background: rgba(0,229,255,0.1);
    border: 1px solid rgba(0,229,255,0.25);
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: 12px;
    margin-top: 1px;
    color: var(--accent);
  }

  .included-text { font-size: 14px; color: var(--muted); line-height: 1.55; }
  .included-text strong { color: var(--white); font-weight: 500; }

  .cert-badge {
    margin-top: 32px;
    padding: 16px 20px;
    background: rgba(0,229,255,0.06);
    border: 1px solid rgba(0,229,255,0.15);
    border-radius: 12px;
    display: flex; align-items: center; gap: 14px;
  }
  .cert-badge-icon { font-size: 28px; }
  .cert-badge-text { font-size: 13px; }
  .cert-badge-text strong { font-weight: 600; color: var(--white); display: block; }
  .cert-badge-text span { color: var(--muted); }

  /* ─── TESTIMONIALS ─── */
  .testimonials {
    padding: 100px 0;
    background: var(--bg2);
  }

  .testi-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 20px;
  }

  .testi-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: all 0.3s;
    position: relative;
  }

  .testi-card:hover {
    border-color: rgba(255,255,255,0.15);
    transform: translateY(-3px);
  }

  .testi-card.large { padding: 40px; }

  .quote-mark {
    font-size: 48px;
    color: var(--accent);
    font-family: Georgia, serif;
    line-height: 1;
    margin-bottom: 16px;
    opacity: 0.6;
  }

  .testi-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--white);
    margin-bottom: 24px;
  }

  .testi-card.large .testi-text { font-size: 18px; }

  .testi-author { display: flex; align-items: center; gap: 12px; }

  .author-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 14px;
    color: var(--bg);
    flex-shrink: 0;
  }

  .author-name { font-size: 14px; font-weight: 600; color: var(--white); }
  .author-role { font-size: 12px; color: var(--muted); }

  .testi-stars { color: #f9b812; font-size: 13px; margin-bottom: 16px; }

  /* ─── CTA ─── */
  .cta-section {
    padding: 100px 0;
    background: var(--bg);
  }

  .cta-box {
    background: linear-gradient(135deg, rgba(0,229,255,0.06) 0%, rgba(123,94,167,0.06) 100%);
    border: 1px solid rgba(0,229,255,0.2);
    border-radius: 24px;
    padding: 72px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }

  .cta-box::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
  }

  .cta-glow {
    position: absolute;
    width: 600px; height: 300px;
    background: radial-gradient(ellipse, rgba(0,229,255,0.08) 0%, transparent 70%);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
  }

  .cta-box .section-title { max-width: 600px; margin: 0 auto 16px; }
  .cta-box .section-sub { margin: 0 auto 40px; text-align: center; }

  .cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

  /* ─── FOOTER ─── */
  footer {
    background: var(--bg2);
    border-top: 1px solid var(--border);
    padding: 48px;
  }

  .footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
  }

  .footer-copy { font-size: 13px; color: var(--muted); }
  .footer-copy a { color: var(--accent); text-decoration: none; }

  .footer-links { display: flex; gap: 24px; }
  .footer-link {
    font-size: 13px; color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
  }
  .footer-link:hover { color: var(--white); }

  /* ─── ANIMATIONS ─── */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* ─── RESPONSIVE ─── */
  @media (max-width: 900px) {
    nav { padding: 0 24px; }
    .hero { padding: 100px 24px 60px; }
    .hero-inner { grid-template-columns: 1fr; gap: 48px; }
    .section-inner { padding: 0 24px; }
    .formations-grid { grid-template-columns: 1fr; }
    .formation-card.featured { grid-column: span 1; }
    .approach-grid { grid-template-columns: 1fr; gap: 48px; }
    .testi-grid { grid-template-columns: 1fr; }
    .cta-box { padding: 48px 24px; }
    .hero-stats { flex-wrap: wrap; gap: 24px; }
    .formations-header { flex-direction: column; align-items: flex-start; gap: 20px; }
    footer { padding: 32px 24px; }
    .footer-inner { flex-direction: column; text-align: center; }
  }

  /* ─── INTRO SPLASH ─── */
  #intro-splash {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #07090f;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  #intro-splash.hide {
    opacity: 0;
    pointer-events: none;
    transform: scale(1.04);
  }

  /* Grille animée en fond */
  .splash-grid {
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background-image:
      linear-gradient(rgba(0,229,255,0.05) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0,229,255,0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridFadeIn 1s ease forwards;
    opacity: 0;
  }
  @keyframes gridFadeIn { to { opacity: 1; } }

  /* Halos lumineux */
  .splash-glow1 {
    position: absolute;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(0,229,255,0.18) 0%, transparent 70%);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: glowPulse 2.5s ease-in-out infinite;
  }
  .splash-glow2 {
    position: absolute;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(123,94,167,0.2) 0%, transparent 70%);
    bottom: 10%; right: 15%;
    pointer-events: none;
    animation: glowPulse 3s 0.5s ease-in-out infinite;
  }
  @keyframes glowPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    50% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
  }

  /* Particules orbitales */
  .splash-orbit {
    position: absolute;
    width: 360px; height: 360px;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(0,229,255,0.1);
    border-radius: 50%;
    animation: orbitRotate 8s linear infinite;
    opacity: 0;
    animation-delay: 0.8s;
    animation-fill-mode: forwards;
  }
  .splash-orbit2 {
    width: 500px; height: 500px;
    border-color: rgba(123,94,167,0.08);
    animation-duration: 14s;
    animation-direction: reverse;
    animation-delay: 0.8s;
    animation-fill-mode: forwards;
  }
  @keyframes orbitRotate {
    0% { opacity: 0; transform: translate(-50%, -50%) rotate(0deg); }
    10% { opacity: 1; }
    100% { opacity: 1; transform: translate(-50%, -50%) rotate(360deg); }
  }

  .orbit-dot {
    position: absolute;
    width: 6px; height: 6px;
    background: var(--accent);
    border-radius: 50%;
    top: -3px; left: 50%;
    margin-left: -3px;
    box-shadow: 0 0 10px var(--accent), 0 0 20px var(--accent);
  }
  .orbit-dot2 {
    background: #a06cd5;
    box-shadow: 0 0 10px #a06cd5;
    top: auto; bottom: -3px;
  }

  /* Logo central */
  .splash-logo-wrap {
    position: relative; z-index: 1;
    display: flex; flex-direction: column; align-items: center; gap: 0;
    animation: splashLogoIn 0.9s 0.2s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  @keyframes splashLogoIn {
    from { opacity: 0; transform: scale(0.7) translateY(20px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
  }

  .splash-logo-img {
    width: 180px; height: 180px;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(0,229,255,0.4)) drop-shadow(0 0 60px rgba(0,120,255,0.2));
    animation: logoBreathe 3s 1.2s ease-in-out infinite;
  }
  @keyframes logoBreathe {
    0%, 100% { filter: drop-shadow(0 0 30px rgba(0,229,255,0.4)) drop-shadow(0 0 60px rgba(0,120,255,0.2)); }
    50%       { filter: drop-shadow(0 0 50px rgba(0,229,255,0.7)) drop-shadow(0 0 90px rgba(0,120,255,0.4)); }
  }

  /* Tagline sous le logo */
  .splash-tagline {
    font-family: 'Syne', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 8px;
    animation: splashTagIn 0.8s 0.8s ease both;
  }
  @keyframes splashTagIn {
    from { opacity: 0; transform: translateY(10px); letter-spacing: 0.5em; }
    to   { opacity: 1; transform: translateY(0);    letter-spacing: 0.25em; }
  }

  /* Barre de progression */
  .splash-bar-wrap {
    position: relative; z-index: 1;
    margin-top: 48px;
    width: 200px;
    animation: splashTagIn 0.6s 1s ease both;
  }
  .splash-bar-track {
    width: 100%; height: 2px;
    background: rgba(255,255,255,0.08);
    border-radius: 2px;
    overflow: hidden;
  }
  .splash-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), #7b5ea7);
    border-radius: 2px;
    animation: barFill 1.6s 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    box-shadow: 0 0 10px rgba(0,229,255,0.6);
  }
  @keyframes barFill { to { width: 100%; } }

  .splash-bar-label {
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-align: center;
    margin-top: 10px;
    font-family: 'DM Sans', sans-serif;
  }

  /* Ligne de scan horizontale */
  .splash-scan {
    position: absolute;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(0,229,255,0.5) 50%, transparent 100%);
    top: -2px;
    animation: scanLine 2.5s 0.5s ease-in-out infinite;
    pointer-events: none;
  }
  @keyframes scanLine {
    0%   { top: -2px; opacity: 0; }
    5%   { opacity: 1; }
    95%  { opacity: 1; }
    100% { top: 100%; opacity: 0; }
  }

  /* Coins décoratifs */
  .splash-corner {
    position: absolute;
    width: 40px; height: 40px;
    opacity: 0;
    animation: cornerIn 0.5s 0.6s ease forwards;
  }
  @keyframes cornerIn { to { opacity: 1; } }
  .splash-corner.tl { top: 32px; left: 32px; border-top: 2px solid var(--accent); border-left: 2px solid var(--accent); }
  .splash-corner.tr { top: 32px; right: 32px; border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); }
  .splash-corner.bl { bottom: 32px; left: 32px; border-bottom: 2px solid var(--accent); border-left: 2px solid var(--accent); }
  .splash-corner.br { bottom: 32px; right: 32px; border-bottom: 2px solid var(--accent); border-right: 2px solid var(--accent); }

  /* Bloquer le scroll pendant l'intro */
  body.splash-active { overflow: hidden; }


  
  body.splash-active { overflow: hidden; }

  #intro-splash {
    position: fixed; inset: 0; z-index: 9999;
    background: #07090f;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    overflow: hidden;
  }

  /* Fond grille */
  .sp-grid {
    position: absolute; inset: 0; pointer-events: none;
    background-image:
      linear-gradient(rgba(0,229,255,0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0,229,255,0.04) 1px, transparent 1px);
    background-size: 70px 70px;
    animation: sp-gridIn 1.4s ease forwards; opacity: 0;
  }
  @keyframes sp-gridIn { to { opacity: 1; } }

  /* Ligne de scan */
  .sp-scan {
    position: absolute; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,229,255,0.7) 50%, transparent);
    top: 0; pointer-events: none;
    animation: sp-scan 2.2s 0.4s ease-in-out forwards;
    opacity: 0;
  }
  @keyframes sp-scan {
    0%   { top: -1px; opacity: 0; }
    5%   { opacity: 1; }
    90%  { opacity: 0.5; }
    100% { top: 100%; opacity: 0; }
  }

  /* Halo central */
  .sp-halo {
    position: absolute; border-radius: 50%; pointer-events: none;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
  }
  .sp-halo1 {
    width: 680px; height: 680px;
    background: radial-gradient(circle, rgba(0,229,255,0.10) 0%, transparent 65%);
    animation: sp-haloPulse 3s 0.8s ease-in-out infinite;
    opacity: 0; animation-fill-mode: forwards;
  }
  .sp-halo2 {
    width: 380px; height: 380px;
    background: radial-gradient(circle, rgba(0,80,255,0.14) 0%, transparent 65%);
    animation: sp-haloPulse2 2.8s 1s ease-in-out infinite;
    opacity: 0; animation-fill-mode: forwards;
  }
  @keyframes sp-haloPulse {
    0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.85); }
    20%  { opacity: 1; }
    50%  { opacity: 0.9; transform: translate(-50%, -50%) scale(1.06); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  }
  @keyframes sp-haloPulse2 {
    0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.7); }
    30%  { opacity: 1; }
    60%  { transform: translate(-50%, -50%) scale(1.1); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  }

  /* Orbite */
  .sp-orbit {
    position: absolute; border-radius: 50%; pointer-events: none;
    top: 50%; left: 50%; transform-origin: center center;
    border: 1px solid rgba(0,229,255,0.12);
  }
  .sp-orbit1 {
    width: 340px; height: 340px;
    margin-left: -170px; margin-top: -170px;
    animation: sp-orb 9s 1s linear infinite;
    opacity: 0; animation-fill-mode: forwards;
  }
  .sp-orbit2 {
    width: 490px; height: 490px;
    margin-left: -245px; margin-top: -245px;
    border-color: rgba(123,94,167,0.10);
    animation: sp-orb2 14s 1s linear infinite;
    opacity: 0; animation-fill-mode: forwards;
  }
  @keyframes sp-orb {
    0%   { opacity: 0; transform: rotate(0deg); }
    10%  { opacity: 1; }
    100% { opacity: 1; transform: rotate(360deg); }
  }
  @keyframes sp-orb2 {
    0%   { opacity: 0; transform: rotate(0deg); }
    10%  { opacity: 1; }
    100% { opacity: 1; transform: rotate(-360deg); }
  }
  .sp-dot {
    position: absolute; width: 7px; height: 7px;
    border-radius: 50%; top: -3.5px; left: 50%; margin-left: -3.5px;
    box-shadow: 0 0 12px 3px currentColor;
  }
  .sp-dot1 { background: var(--accent); color: var(--accent); }
  .sp-dot2 { background: #a06cd5; color: #a06cd5; top: auto; bottom: -3.5px; }
  .sp-dot3 { background: var(--accent); color: var(--accent); left: -3.5px; top: 50%; margin-top: -3.5px; }

  /* Coins HUD */
  .sp-corner {
    position: absolute; width: 28px; height: 28px;
    opacity: 0; animation: sp-cornerIn 0.5s ease forwards;
  }
  .sp-corner.tl { top: 28px; left: 28px; border-top: 2px solid var(--accent); border-left: 2px solid var(--accent); animation-delay: 0.5s; }
  .sp-corner.tr { top: 28px; right: 28px; border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); animation-delay: 0.6s; }
  .sp-corner.bl { bottom: 28px; left: 28px; border-bottom: 2px solid var(--accent); border-left: 2px solid var(--accent); animation-delay: 0.7s; }
  .sp-corner.br { bottom: 28px; right: 28px; border-bottom: 2px solid var(--accent); border-right: 2px solid var(--accent); animation-delay: 0.8s; }
  @keyframes sp-cornerIn { to { opacity: 1; } }

  /* ── Contenu central ── */
  .sp-center {
    position: relative; z-index: 2;
    display: flex; flex-direction: column;
    align-items: center; gap: 0;
  }

  /* Texte TITRE — écrit lettre par lettre via clip */
  .sp-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(15px, 2.2vw, 22px);
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(240,244,255,0.0);
    margin-bottom: 28px;
    position: relative;
    white-space: nowrap;
    overflow: hidden;
    /* Reveal via clip-path width */
    animation: sp-titleReveal 1.1s 0.5s cubic-bezier(0.22,1,0.36,1) forwards;
  }
  @keyframes sp-titleReveal {
    0%   { color: rgba(240,244,255,0); letter-spacing: 0.6em; }
    30%  { color: rgba(240,244,255,0.6); }
    100% { color: rgba(240,244,255,1); letter-spacing: 0.28em; }
  }
  /* Ligne décorative sous le titre */
  .sp-title::after {
    content: '';
    position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%);
    height: 1px; width: 0;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    animation: sp-lineGrow 0.8s 1.3s ease forwards;
  }
  @keyframes sp-lineGrow { to { width: 100%; } }

  /* Logo */
  .sp-logo {
    width: 200px; height: 200px;
    object-fit: contain;
    opacity: 0;
    filter: drop-shadow(0 0 0px rgba(0,229,255,0));
    animation: sp-logoIn 1s 0.9s cubic-bezier(0.22,1,0.36,1) forwards;
  }
  @keyframes sp-logoIn {
    0%   { opacity: 0; transform: scale(0.65) translateY(16px); filter: drop-shadow(0 0 0px rgba(0,229,255,0)); }
    60%  { opacity: 1; transform: scale(1.04) translateY(-4px); }
    100% { opacity: 1; transform: scale(1) translateY(0); filter: drop-shadow(0 0 28px rgba(0,229,255,0.45)) drop-shadow(0 0 60px rgba(0,100,255,0.2)); }
  }
  /* Respiration continue du logo */
  .sp-logo.breathing {
    animation: sp-logoBreathe 2.8s ease-in-out infinite;
  }
  @keyframes sp-logoBreathe {
    0%, 100% { filter: drop-shadow(0 0 28px rgba(0,229,255,0.4)) drop-shadow(0 0 55px rgba(0,100,255,0.18)); transform: scale(1); }
    50%       { filter: drop-shadow(0 0 50px rgba(0,229,255,0.75)) drop-shadow(0 0 90px rgba(0,100,255,0.35)); transform: scale(1.025); }
  }

  /* Sous-tagline */
  .sp-sub {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 16px;
    opacity: 0;
    animation: sp-subIn 0.8s 1.7s ease forwards;
  }
  @keyframes sp-subIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* Barre de progression */
  .sp-progress {
    margin-top: 52px;
    width: 180px; opacity: 0;
    animation: sp-subIn 0.5s 1.9s ease forwards;
  }
  .sp-track {
    width: 100%; height: 2px;
    background: rgba(255,255,255,0.07);
    border-radius: 2px; overflow: hidden;
    position: relative;
  }
  .sp-fill {
    height: 100%; width: 0;
    background: linear-gradient(90deg, #00e5ff, #7b5ea7);
    border-radius: 2px;
    box-shadow: 0 0 12px rgba(0,229,255,0.7);
    animation: sp-fillRun 1.5s 2s cubic-bezier(0.4,0,0.2,1) forwards;
  }
  @keyframes sp-fillRun { to { width: 100%; } }
  .sp-pct {
    font-family: 'Syne', sans-serif;
    font-size: 11px; font-weight: 700;
    color: var(--accent);
    text-align: right;
    margin-top: 6px;
    opacity: 0;
    animation: sp-subIn 0.4s 2.1s ease forwards;
    letter-spacing: 0.08em;
    animation: sp-countUp 1.5s 2s ease forwards;
  }
  @keyframes sp-countUp {
    0%   { opacity: 1; }
    100% { opacity: 1; }
  }

  /* ── Sortie de l'intro ── */
  #intro-splash.sp-exit {
    animation: sp-exitAnim 0.9s cubic-bezier(0.4,0,1,1) forwards;
  }
  @keyframes sp-exitAnim {
    0%   { opacity: 1; transform: scale(1); }
    40%  { opacity: 1; transform: scale(1.03); }
    100% { opacity: 0; transform: scale(1.08); pointer-events: none; }
  }


  /* ═══════════════════════════
     INTRO ANIMATION
  ═══════════════════════════ */
  body.splash-active { overflow: hidden; }

  #intro {
    position: fixed; inset: 0; z-index: 9999;
    background: #07090f;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 0;
  }

  /* Grille de fond */
  #intro::before {
    content: '';
    position: absolute; inset: 0; pointer-events: none;
    background-image:
      linear-gradient(rgba(0,229,255,0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0,229,255,0.04) 1px, transparent 1px);
    background-size: 70px 70px;
  }

  /* Halo derrière le logo */
  .intro-halo {
    position: absolute;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(0,229,255,0.10) 0%, transparent 65%);
    border-radius: 50%;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0;
  }

  /* ── ÉTAPE 1 : Lettres ALLOPC ── */
  #intro-letters {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    position: relative; z-index: 2;
  }

  .intro-letter {
    font-family: 'Syne', sans-serif;
    font-size: clamp(52px, 9vw, 96px);
    font-weight: 800;
    color: var(--white);
    letter-spacing: 0;
    opacity: 0;
    transform: translateY(40px) scale(0.7);
    display: inline-block;
    line-height: 1;
  }

  /* Les 4 premières en blanc, PC en cyan */
  .intro-letter.cyan {
    color: var(--accent);
    text-shadow: 0 0 30px rgba(0,229,255,0.6), 0 0 60px rgba(0,229,255,0.3);
  }

  /* ── ÉTAPE 2 : Logo ── */
  #intro-logo {
    position: relative; z-index: 2;
    opacity: 0;
    transform: scale(0.3);
    margin-top: -20px;
    width: 0; height: 0;
    overflow: hidden;
  }

  #intro-logo img {
    width: 200px; height: 200px;
    object-fit: contain;
  }

  /* ── ÉTAPE 3 : Titre ── */
  #intro-title {
    position: relative; z-index: 2;
    font-family: 'Syne', sans-serif;
    font-size: clamp(14px, 2vw, 22px);
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--white);
    margin-top: 20px;
    opacity: 0;
    transform: translateY(16px);
    white-space: nowrap;
  }

  /* Ligne sous le titre */
  #intro-line {
    position: relative; z-index: 2;
    height: 1px; width: 0;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    margin-top: 10px;
  }

  /* ── Sortie ── */
  #intro.exit {
    animation: introExit 0.85s cubic-bezier(0.4,0,1,1) forwards;
  }
  @keyframes introExit {
    0%   { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(1.06); }
  }



/* ── Formation page specific ── */
.page-accent { --page-accent: #00e5ff; }
.formation-hero {
  position: relative;
  padding: 140px 48px 80px;
  overflow: hidden;
  background: var(--bg);
}
.formation-hero .grid-bg { mask-image: radial-gradient(ellipse 90% 90% at 50% 0%, black 30%, transparent 100%); }
.fhero-glow {
  position: absolute;
  width: 800px; height: 500px;
  top: -80px; left: 50%; transform: translateX(-50%);
  pointer-events: none;
}
.fhero-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 420px;
  gap: 60px; align-items: center;
  position: relative; z-index: 1;
}
.fhero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,229,255,0.08);
  border: 1px solid rgba(0,229,255,0.2);
  border-radius: 100px;
  padding: 6px 16px 6px 8px;
  font-size: 12px; font-weight: 500; color: var(--accent);
  margin-bottom: 24px;
  animation: fadeUp 0.6s 0.2s ease both;
}
.fhero-badge-dot { width:6px;height:6px;background:var(--accent);border-radius:50%;animation:blink 2s infinite; }
.fhero-title {
  font-family: var(--font-head);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800; line-height: 1.08;
  letter-spacing: -0.03em; margin-bottom: 20px;
  animation: fadeUp 0.6s 0.3s ease both;
}
.fhero-title .accent { color: var(--accent); }
.fhero-desc { font-size: 17px; color: var(--muted); line-height: 1.7; margin-bottom: 36px; max-width: 520px; animation: fadeUp 0.6s 0.4s ease both; }
.fhero-actions { display: flex; gap: 14px; flex-wrap: wrap; animation: fadeUp 0.6s 0.5s ease both; }
.fhero-info-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 20px; padding: 32px;
  position: relative; overflow: hidden;
  animation: fadeUp 0.8s 0.4s ease both;
}
.fhero-info-card::before { content:''; position:absolute; top:0;left:0;right:0;height:1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); }
.info-icon { font-size: 52px; margin-bottom: 20px; display: block; }
.info-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 14px; }
.info-row:last-child { border-bottom: none; }
.info-label { color: var(--muted); }
.info-value { font-weight: 600; color: var(--white); }
.info-value.accent-val { color: var(--accent); }
.modules-section { padding: 90px 0; background: var(--bg2); }
.modules-section .section-inner { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.modules-grid { display: flex; flex-direction: column; gap: 16px; margin-top: 48px; }
.module-card { display: flex; gap: 24px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 32px; transition: all 0.3s; }
.module-card:hover { border-color: rgba(0,229,255,0.3); background: rgba(0,229,255,0.03); transform: translateX(6px); box-shadow: var(--glow); }
.module-num { font-family: var(--font-head); font-size: 13px; font-weight: 700; color: var(--accent); opacity: 0.5; min-width: 32px; padding-top: 4px; }
.module-title { font-family: var(--font-head); font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.module-duration { font-size: 12px; font-weight: 600; color: var(--accent); letter-spacing: 0.08em; margin-bottom: 10px; }
.module-desc { font-size: 14px; color: var(--muted); margin-bottom: 16px; line-height: 1.65; }
.module-points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.module-points li { font-size: 12px; padding: 4px 10px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: 6px; color: var(--muted); }
.skills-section { padding: 80px 0; background: var(--bg); }
.skills-section .section-inner { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.skills-grid { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.skill-tag { font-size: 14px; font-weight: 500; padding: 10px 20px; border-radius: 100px; background: rgba(255,255,255,0.04); border: 1px solid var(--border); color: var(--white); transition: all 0.2s; }
.skill-tag:hover { background: rgba(0,229,255,0.08); border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.details-section { padding: 90px 0; background: var(--bg2); }
.details-section .section-inner { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 48px; }
.include-list { display: flex; flex-direction: column; gap: 20px; }
.include-item { display: flex; align-items: flex-start; gap: 16px; padding: 18px 20px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; transition: all 0.2s; }
.include-item:hover { border-color: rgba(0,229,255,0.25); background: rgba(0,229,255,0.03); }
.include-icon { font-size: 22px; flex-shrink: 0; margin-top: 1px; }
.include-item strong { font-size: 14px; font-weight: 600; color: var(--white); display: block; margin-bottom: 3px; }
.include-item span { font-size: 13px; color: var(--muted); line-height: 1.55; }
.forwhom-card { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 32px; height: fit-content; }
.forwhom-card::before { content:''; display:block; height:1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); margin-bottom: 24px; }
.forwhom-card ul { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.forwhom-card li { font-size: 14px; color: var(--muted); line-height: 1.6; display: flex; align-items: flex-start; gap: 10px; }
.forwhom-card li::before { content: '→'; color: var(--accent); flex-shrink: 0; margin-top: 1px; }
.page-cta { padding: 90px 0; background: var(--bg); }
.page-cta .section-inner { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.page-cta-box { background: linear-gradient(135deg, rgba(0,229,255,0.06), rgba(123,94,167,0.06)); border: 1px solid rgba(0,229,255,0.2); border-radius: 24px; padding: 64px; text-align: center; position: relative; overflow: hidden; }
.page-cta-box::before { content:''; position:absolute; top:0;left:0;right:0;height:1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); }
.page-cta-box .section-title { margin: 0 auto 14px; }
.page-cta-box .section-sub { margin: 0 auto 36px; text-align:center; }
.cta-actions { display:flex; justify-content:center; gap:14px; flex-wrap:wrap; }
.breadcrumb { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; margin-bottom: 20px; animation: fadeUp 0.5s 0.1s ease both; }
.breadcrumb a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--accent); }

/* ── WordPress specifics ── */
.wp-block-image { margin: 0; }
a { color: var(--accent); }
p { margin-bottom: 1em; }
img { max-width: 100%; height: auto; }

@media (max-width: 900px) {
  .fhero-inner { grid-template-columns: 1fr; }
  .details-grid { grid-template-columns: 1fr; }
  .formation-hero { padding: 100px 24px 60px; }
  .modules-section .section-inner,
  .skills-section .section-inner,
  .details-section .section-inner,
  .page-cta .section-inner { padding: 0 24px; }
  .page-cta-box { padding: 40px 24px; }
}
