/* ================================
   BASE
================================ */
*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    background: #0B0112;
    color: #ffffff;
    font-family: "Roboto", sans-serif;
}

/* ================================
   PARTICLES & SCAN LINES
================================ */
#particles-js {
    position: fixed;
    width: 100%; height: 100%;
    top: 0; left: 0;
    z-index: -1;
    background-color: #0B0112;
}

.scan-lines {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
    background: repeating-linear-gradient(
        to bottom,
        transparent, transparent 3px,
        rgba(0,0,0,0.04) 3px, rgba(0,0,0,0.04) 4px
    );
}

/* ================================
   HEADER
================================ */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: "Zen Dots", sans-serif;
    font-size: 20px;
    background: #000000;
    padding: 16px 24px;
    border-bottom: 1px solid white;
    box-shadow: 0px 0px 17px 1px rgba(191, 0, 255, 0.9);
    position: relative;
    z-index: 10;
}

a {
    text-decoration: none;
    display: flex;
    align-items: center;
    margin: 8px 16px;
}

nav { display: flex; align-items: center; }

nav > a {
    color: #BF00FF;
    transition: color 0.3s, text-shadow 0.3s;
}

nav > a:hover,
nav > a.nav-active {
    color: #ffffff;
    text-shadow: 0 0 12px #BF00FF;
}

/* ================================
   LAYOUT
================================ */
.apropos-container {
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 40px 100px;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

/* ================================
   SECTION INTRO
================================ */
.intro-section {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 64px;
    align-items: center;
    animation: fadeInLeft 0.8s ease both;
}

/* Photo avec anneaux */
.intro-image-wrapper {
    position: relative;
    width: 300px;
    height: 300px;
    flex-shrink: 0;
}

.image-ring {
    position: absolute;
    border-radius: 50%;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(191, 0, 255, 0.3);
    animation: pulse-ring 3s ease-in-out infinite;
}

.image-ring--outer { width: 330px; height: 330px; animation-delay: 0s; }
.image-ring--inner { width: 316px; height: 316px; border-color: rgba(191,0,255,0.15); animation-delay: 1.5s; }

.intro-image {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 300px; height: 300px;
    border-radius: 50%;
    border: 1px solid white;
    box-shadow: 0 0 17px 1px rgba(191, 0, 255, 0.9);
    overflow: hidden;
}

.intro-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}

/* Texte intro */
.intro-text {
    display: flex;
    flex-direction: column;
    gap: 16px;
    animation: fadeInRight 0.8s ease both;
}

.intro-eyebrow {
    font-size: 12px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(191, 0, 255, 0.7);
    margin: 0;
    font-weight: 400;
}

.intro-title {
    font-family: "Zen Dots", sans-serif;
    font-size: clamp(32px, 4vw, 52px);
    margin: 0;
    color: #ffffff;
    line-height: 1.1;
}

.intro-title span {
    color: #BF00FF;
    text-shadow: 0 0 18px rgba(191, 0, 255, 0.6);
}

.intro-subtitle {
    font-size: 17px;
    color: #b3a1bf;
    line-height: 1.8;
    margin: 0;
    max-width: 560px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    background: #BF00FF;
    color: #000;
    font-family: "Zen Dots", sans-serif;
    font-size: 14px;
    padding: 12px 28px;
    border-radius: 6px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 8px 0 0;
    transition: box-shadow 0.3s, transform 0.15s;
    box-shadow: 0 0 18px rgba(191, 0, 255, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 0 28px rgba(191, 0, 255, 0.8);
    transform: translateY(-2px);
}

/* ================================
   BLOCS GÉNÉRIQUES
================================ */
.section-block {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 14px;
}

.section-header::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, rgba(191, 0, 255, 0.4), transparent);
    margin-left: 16px;
}

.section-icon {
    width: 44px; height: 44px;
    background: rgba(191, 0, 255, 0.1);
    border: 1px solid rgba(191, 0, 255, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.section-title {
    font-family: "Zen Dots", sans-serif;
    font-size: 22px;
    color: #ffffff;
    margin: 0;
    letter-spacing: 1px;
}

/* ================================
   TIMELINE — PARCOURS
================================ */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-left: 20px;
    border-left: 1px solid rgba(191, 0, 255, 0.25);
}

.timeline-item {
    position: relative;
    padding: 0 0 40px 36px;
    animation: fadeUp 0.6s ease both;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -8px;
    top: 4px;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: #BF00FF;
    border: 2px solid #0B0112;
    box-shadow: 0 0 10px rgba(191, 0, 255, 0.8);
}

.timeline-content {
    background: rgba(20, 5, 35, 0.6);
    border: 1px solid rgba(191, 0, 255, 0.15);
    border-radius: 10px;
    padding: 20px 24px;
    backdrop-filter: blur(4px);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.timeline-content:hover {
    border-color: rgba(191, 0, 255, 0.4);
    box-shadow: 0 0 16px rgba(191, 0, 255, 0.1);
}

.timeline-date {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #BF00FF;
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

.timeline-content h3 {
    font-family: "Zen Dots", sans-serif;
    font-size: 17px;
    margin: 0 0 4px;
    color: #ffffff;
}

.timeline-place {
    font-size: 13px;
    color: #7a5f8a;
    margin: 0 0 10px;
    font-style: italic;
}

.timeline-content p {
    font-size: 15px;
    color: #b3a1bf;
    line-height: 1.7;
    margin: 0;
}

/* ================================
   GRILLE CENTRES D'INTÉRÊT
================================ */
.interests-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.interest-card {
    background: rgba(20, 5, 35, 0.6);
    border: 1px solid rgba(191, 0, 255, 0.15);
    border-radius: 12px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    backdrop-filter: blur(4px);
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    animation: fadeUp 0.6s ease both;
}

.interest-card:hover {
    transform: translateY(-5px);
    border-color: rgba(191, 0, 255, 0.45);
    box-shadow: 0 0 20px rgba(191, 0, 255, 0.15);
}

.interest-icon {
    width: 56px; height: 56px;
    background: rgba(191, 0, 255, 0.08);
    border: 1px solid rgba(191, 0, 255, 0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, border-color 0.3s;
}

.interest-card:hover .interest-icon {
    background: rgba(191, 0, 255, 0.15);
    border-color: rgba(191, 0, 255, 0.5);
}

.interest-card h3 {
    font-family: "Zen Dots", sans-serif;
    font-size: 14px;
    margin: 0;
    color: #ffffff;
}

.interest-card p {
    font-size: 13px;
    color: #9980ab;
    margin: 0;
    line-height: 1.5;
}

/* ================================
   FOOTER MMI
================================ */
.mmi {
    font-family: "Zen Dots", sans-serif;
    font-size: 28px;
    text-shadow: rgba(182, 101, 209, 0.9) 0px 0px 22px;
    color: #BF00FF;
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 1;
}

/* ================================
   ANIMATIONS
================================ */
@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to   { opacity: 1; transform: translateX(0); }
}

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

@keyframes pulse-ring {
    0%, 100% { opacity: 0.4; transform: translate(-50%, -50%) scale(1); }
    50%       { opacity: 0.8; transform: translate(-50%, -50%) scale(1.02); }
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 900px) {
    .intro-section {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }
    .intro-text { align-items: center; }
    .btn-primary { align-self: center; }
    .interests-grid { grid-template-columns: repeat(2, 1fr); }
    .apropos-container { padding: 0 20px 80px; }
}

@media (max-width: 560px) {
    .interests-grid { grid-template-columns: 1fr; }
    .mmi { font-size: 18px; bottom: 16px; right: 16px; }
}
