    :root {
      --primary:   #1a1a2e;
      --accent2:   #0f3460;
      --accent:    #0ea5e9;        /* BLEU vif — remplace le rouge */
      --accent-dark: #0284c7;     /* bleu foncé pour hover */
      --gold:      #f5a623;
      --light-bg:  #f8f9fc;
      --muted:     #6c757d;
    }

    html { scroll-behavior: smooth; }
    body { font-family: 'DM Sans', sans-serif; font-weight: 300; }
    h1,h2,h3,h4 { font-family: 'Playfair Display', serif; }
    section { padding: 90px 0; }

    /* Section title */
    .section-title {
      font-size: 2.1rem;
      color: var(--primary);
      display: inline-block;
      margin-bottom: 0.4rem;
    }
    .section-title::after {
      content: '';
      display: block;
      height: 4px; width: 55px;
      background: var(--accent);
      border-radius: 2px;
      margin-top: 8px;
    }
    .section-sub { color: var(--muted); font-size: 0.95rem; }

    /* ── NAVBAR ── */
    .navbar { background: var(--primary) !important; padding: 1rem 0; box-shadow: 0 2px 20px rgba(0,0,0,0.3); }
    .navbar-brand { font-family: 'Playfair Display', serif; font-size: 1.45rem; color: #fff !important; }
    .navbar-brand span { color: var(--accent); }
    .nav-link { color: rgba(255,255,255,0.7) !important; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; transition: color .3s; }
    .nav-link:hover, .nav-link.active { color: var(--accent) !important; }
    .navbar-toggler { border-color: rgba(255,255,255,0.25); }
    .navbar-toggler-icon { filter: invert(1); }

    /* ── HERO ── */
    #hero {
      min-height: 100vh;
      background: linear-gradient(135deg, var(--primary) 0%, var(--accent2) 55%, #0d1b3e 100%);
      display: flex; align-items: center;
      padding-top: 80px;
      position: relative; overflow: hidden;
    }
    #hero::before {
      content: '';
      position: absolute; top: -20%; right: -5%;
      width: 550px; height: 550px; border-radius: 50%;
      background: radial-gradient(circle, rgba(14,165,233,.15) 0%, transparent 65%);
    }

    .hero-badge {
      display: inline-block;
      background: rgba(14,165,233,.18); color: var(--accent);
      border: 1px solid rgba(14,165,233,.38);
      border-radius: 50px; padding: .3rem 1rem;
      font-size: .75rem; letter-spacing: .15em; text-transform: uppercase;
      font-weight: 500; margin-bottom: 1.4rem;
      animation: fadeDown .7s ease both;
    }
    .hero-title {
      font-size: clamp(2.4rem, 5vw, 3.8rem);
      color: #fff; line-height: 1.1; margin-bottom: 1rem;
      animation: fadeUp .8s .1s ease both;
    }
    .hero-title .accent { color: var(--accent); }
    .hero-subtitle {
      font-size: 1.05rem; color: rgba(255,255,255,.6);
      margin-bottom: 2rem; max-width: 460px;
      animation: fadeUp .8s .2s ease both;
    }
    .hero-btns { animation: fadeUp .8s .35s ease both; }

    .btn-accent {
      background: var(--accent); color: #fff; border: none;
      padding: .7rem 1.8rem; border-radius: 50px;
      font-weight: 500; font-size: .88rem; letter-spacing: .04em;
      transition: all .3s; text-decoration: none; display: inline-block;
    }
    .btn-accent:hover {
      background: var(--accent-dark); color: #fff;
      transform: translateY(-2px);
      box-shadow: 0 8px 22px rgba(14,165,233,.45);
    }
    .btn-outline-hero {
      background: transparent; color: #fff;
      border: 1.5px solid rgba(255,255,255,.35);
      padding: .7rem 1.8rem; border-radius: 50px;
      font-weight: 500; font-size: .88rem;
      transition: all .3s; text-decoration: none; display: inline-block;
    }
    .btn-outline-hero:hover {
      background: rgba(255,255,255,.1);
      border-color: rgba(255,255,255,.7); color: #fff;
      transform: translateY(-2px);
    }

    /* ── PHOTO ── */
   .photo-col {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeLeft .9s .2s ease both;
}

.photo-wrapper {
  position: relative;
  width: 340px;
  height: 500px;
  border-radius: 20px;
  animation: floatUp 3s ease-in-out infinite;
}

.photo-real {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  border: 3px solid rgba(14, 165, 233, .45);
  box-shadow: 0 12px 40px rgba(14, 165, 233, .25);
  display: block;
}

/* Légère animation de flottement */
@keyframes floatUp {
  0%   { transform: translateY(0px); }
  50%  { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

@media (max-width: 768px) {
  .photo-wrapper { width: 240px; height: 290px; }
}

    /* ── ABOUT ── */
    #apropos { background: var(--light-bg); }
    .about-card {
      background: #fff; border-radius: 16px;
      padding: 2.2rem; border: 1px solid rgba(0,0,0,.07);
      box-shadow: 0 4px 28px rgba(0,0,0,.06); height: 100%;
    }
    .info-row {
      display: flex; align-items: center; gap: .7rem;
      padding: .55rem 0; border-bottom: 1px solid rgba(0,0,0,.06);
      font-size: .9rem;
    }
    .info-row:last-child { border-bottom: none; }
    .info-row i { color: var(--accent); width: 20px; }
    .info-lbl { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; min-width: 90px; font-weight: 500; }

    /* ── COMPETENCES ── */
    #competences { background: #fff; }
    .cat-title { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.2rem; font-weight: 600; }
    .skill-item { margin-bottom: 1rem; }
    .skill-label { display: flex; justify-content: space-between; font-size: .87rem; font-weight: 500; margin-bottom: .35rem; }
    .skill-pct { color: var(--muted); }
    .progress { height: 6px; background: rgba(0,0,0,.07); border-radius: 10px; }
    .progress-bar { background: linear-gradient(90deg, var(--accent2), var(--accent)); border-radius: 10px; }

    /* Audio player card */
    .audio-card {
      background: var(--light-bg);
      border-radius: 14px; padding: 1.4rem;
      border: 1px solid rgba(14,165,233,.18);
    }
    .audio-icon {
      width: 48px; height: 48px; flex-shrink: 0;
      background: rgba(14,165,233,.15); border-radius: 12px;
      display: flex; align-items: center; justify-content: center;
      color: var(--accent); font-size: 1.4rem;
    }
    audio { accent-color: var(--accent); outline: none; }

    /* Carousel flyers */
    .carousel-item-placeholder {
      height: 290px; border-radius: 14px;
      display: flex; align-items: center; justify-content: center;
      flex-direction: column; color: rgba(255,255,255,.8); text-align: center;
    }
    #flyersCarousel .carousel-control-prev,
    #flyersCarousel .carousel-control-next {
      background: rgba(14,165,233,.35);
      width: 36px; height: 36px; border-radius: 50%;
      top: 50%; transform: translateY(-50%);
      margin: 0 6px;
    }
    #flyersCarousel { border-radius: 14px; overflow: hidden; box-shadow: 0 6px 24px rgba(0,0,0,.1); }
    #flyersCarousel .carousel-indicators [data-bs-target] { background-color: var(--accent); }

    .badge-group { display: flex; flex-wrap: wrap; gap: .5rem; }
    .sbadge {
      background: var(--light-bg); border: 1px solid rgba(0,0,0,.1);
      border-radius: 50px; padding: .3rem .9rem;
      font-size: .78rem; font-weight: 500; color: var(--primary);
      transition: all .2s; cursor: default;
    }
    .sbadge:hover { background: var(--accent); color: #fff; border-color: var(--accent); transform: translateY(-2px); }

    .stat-box { background: var(--light-bg); border-radius: 14px; padding: 1.2rem; text-align: center; }
    .stat-num { font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--accent); font-weight: 700; }
    .stat-lbl { font-size: .72rem; color: var(--muted); }

    /* ── FORMATIONS ── */
    #formations { background: var(--light-bg); }
    .timeline { position: relative; padding-left: 1.8rem; }
    .timeline::before {
      content: ''; position: absolute; left: 7px; top: 0; bottom: 0;
      width: 2px; background: linear-gradient(to bottom, var(--accent), var(--accent2));
    }
    .tl-item { position: relative; margin-bottom: 2rem; }
    .tl-dot {
      position: absolute; left: -1.8rem; top: 6px;
      width: 16px; height: 16px; background: var(--accent);
      border-radius: 50%; border: 3px solid #f8f9fc;
      box-shadow: 0 0 0 3px rgba(14,165,233,.22);
    }
    .tl-card {
      background: #fff; border-radius: 14px; padding: 1.3rem 1.6rem;
      border: 1px solid rgba(0,0,0,.07);
      box-shadow: 0 3px 18px rgba(0,0,0,.06);
      transition: transform .3s, box-shadow .3s;
    }
    .tl-card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,.1); }
    .tl-year {
      display: inline-block; background: rgba(14,165,233,.1); color: var(--accent);
      border-radius: 50px; padding: .18rem .75rem;
      font-size: .72rem; font-weight: 600; letter-spacing: .08em; margin-bottom: .5rem;
    }
    .tl-degree { font-family: 'Playfair Display', serif; font-size: 1rem; color: var(--primary); margin-bottom: .15rem; }
    .tl-school { font-size: .82rem; color: var(--muted); font-weight: 500; }
    .tl-desc { font-size: .84rem; color: #555; margin-top: .4rem; line-height: 1.6; }

    /* ── CONTACT ── */
    #contact { background: var(--primary); color: #fff; }
    #contact .section-title { color: #fff; }
    #contact .section-sub { color: rgba(255,255,255,.45); }

    .contact-box {
      background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
      border-radius: 16px; padding: 2.2rem; height: 100%;
    }
    .c-row { display: flex; align-items: flex-start; gap: .9rem; padding: .9rem 0; border-bottom: 1px solid rgba(255,255,255,.07); }
    .c-row:last-child { border-bottom: none; }
    .c-icon {
      width: 42px; height: 42px; flex-shrink: 0;
      background: rgba(14,165,233,.15); border-radius: 10px;
      display: flex; align-items: center; justify-content: center;
      color: var(--accent); font-size: 1.1rem;
    }
    .c-lbl { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.4); margin-bottom: .15rem; }
    .c-val { font-size: .9rem; color: rgba(255,255,255,.8); }
    .c-val a { color: rgba(255,255,255,.8); text-decoration: none; }
    .c-val a:hover { color: var(--accent); }

    /* Social icons row in contact */
    .social-row {
      display: flex; gap: .75rem; padding-top: 1rem;
    }
    .social-btn {
      width: 42px; height: 42px;
      background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
      border-radius: 10px; display: flex; align-items: center; justify-content: center;
      color: rgba(255,255,255,.7); font-size: 1.15rem;
      text-decoration: none; transition: all .25s;
    }
    .social-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-3px); }

    .fc { background: rgba(255,255,255,.07) !important; border: 1px solid rgba(255,255,255,.14) !important; color: #fff !important; border-radius: 10px !important; padding: .7rem 1rem !important; }
    .fc::placeholder { color: rgba(255,255,255,.28); }
    .fc:focus { border-color: var(--accent) !important; box-shadow: 0 0 0 3px rgba(14,165,233,.18) !important; outline: none; }
    .fl { color: rgba(255,255,255,.6); font-size: .8rem; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; margin-bottom: .35rem; }

    /* ── FOOTER ── */
    footer { background: #0d0d1e; color: rgba(255,255,255,.35); text-align: center; padding: 1.8rem 1rem; font-size: .82rem; }
    footer span { color: var(--accent); }
    .footer-socials { display: flex; justify-content: center; gap: .7rem; margin-bottom: .9rem; }
    .footer-social-link {
      width: 36px; height: 36px;
      background: rgba(14,165,233,.12); border: 1px solid rgba(14,165,233,.25);
      border-radius: 8px; display: flex; align-items: center; justify-content: center;
      color: rgba(255,255,255,.55); font-size: 1rem;
      text-decoration: none; transition: all .25s;
    }
    .footer-social-link:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-3px); }

    /* ── ANIMATIONS ── */
    @keyframes fadeUp   { from { opacity:0; transform:translateY(28px); } to { opacity:1; transform:translateY(0); } }
    @keyframes fadeDown { from { opacity:0; transform:translateY(-18px); } to { opacity:1; transform:translateY(0); } }
    @keyframes fadeLeft { from { opacity:0; transform:translateX(38px); } to { opacity:1; transform:translateX(0); } }

    @media (max-width:768px) {
      .photo-wrapper { width: 240px; height: 290px; }
      .photo-real { width: 240px; height: 290px; }
      section { padding: 60px 0; }
    }
