@font-face {
    font-family: "American Captain.ttf";
    src: url("fonts/american_captain/American Captain.ttf") format("truetype");
}
:root {
    --primary-main-color: rgba(255, 187, 0, 0.996);
    --primary-bg-color: radial-gradient(
        circle at top,
        #2a3142,
        #0f131c
    );
    --primary-index-color:#ffffffc2;
    --primary-text-color:#fbfbfbf1;
    --primary-griscard-color: rgba(236, 236, 236, 0.5);
    --primary-other-color: #903cfff1;
    --primary-black-color: black;
    --primary-grisargent-color: #b7b4b4;
    --primary-degrade-bleu: radial-gradient(
        circle at top,
        #2a3142,   /* bleu-gris plus lumineux */
        #0f131c   /* fond sombre mais moins noir */
    );
    --primary-degrade-cardcompetence:linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.08),
        rgba(255, 255, 255, 0.03)
    );
}
body {
    margin: 0;
    min-height: 100vh;

    background: var(--primary-degrade-bleu);

    font-family: "Inter", system-ui, sans-serif;
    display: block;
}



body.loaded {
    opacity: 1;                /* devient visible */
}
header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 70px; /* hauteur fixe */
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent; /* départ transparent */
    z-index: 1000;
    font-size: 30px;
}
header nav {
    display: flex;
    gap: 45px;
}

header nav a {
    color: var(--primary-text-color); /* texte noir au départ */
    text-decoration: none;
    padding: 10px 20px;
    font-weight: 500;
    transition: 0.3s ease;
    font-family: "American Captain.ttf", sans-serif;
}

header nav a:hover {
    background: var(--primary-main-color);
    border-radius: 30px;
}

/* quand on scroll */
header.scrolled {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(6px);
}

header.scrolled nav a {
    color: white; /* texte blanc au scroll */
}
.mon_profile {
    width: 100%;
    padding: 80px 0;

    /* Glass background cohérent avec le site */
    background: var(--primary-degrade-cardcompetence);
    backdrop-filter: blur(16px);

    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);

    display: flex;
    justify-content: center;
}
.zone-grise {
    margin-top: 100px;
}
.moi {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1000px;
    padding: 40px;
}
.photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;

    border: 2px solid rgba(255, 255, 255, 0.2);

    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.photo {
    transition: transform 0.4s ease;
}

.photo:hover {
    transform: scale(1.05);
}
.about-text {
    max-width: 600px;
}
.about-text h1 {
    color: var(--primary-main-color);
    margin-bottom: 20px;
    margin-right: 150px;
    font-family: "Verdana", sans-serif;
    font-size: 30px;
}
.about-text p {
    color: var(--primary-grisargent-color);
    line-height: 1.8;
    font-size: 15px;
}
.mp h2{
    margin-left: 150px;
    margin-top: 50px;
    font-size: 28px;
    color: var(--primary-grisargent-color);
}
.mes_competences {
    max-width: 900px;
    margin: 70px auto;
    display: flex;
    flex-direction: column;
    gap: 25px;
    color: var(--primary-grisargent-color);
}
.competence {
        display: flex;
        gap: 14px;
        padding: 18px 22px;
    
        background: var(--primary-griscard-color);
    
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 18px;
    
        box-shadow:
            0 30px 60px rgba(0, 0, 0, 0.5),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    
        backdrop-filter: blur(12px);
    
        opacity: 0;
        transform: translateY(40px);
        transition: all 0.8s ease;
    
}
.competence-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* quand visible */
.competence.visible {
    opacity: 1;
    transform: translateY(0);   /* revient à sa position normale */
}

.competence-logo {
    position: relative;
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.competence-bar {
    flex: 1;
}

.bar {
    height: 13px;
    background: #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.bar-fill {
    width: 0; /* 🔥 IMPORTANT */
    height: 100%;
    background: rgb(255, 208, 0);
    border-radius: 5px;
    transition: width 4s ease-in-out;
}

.competence-percent {
    width: 70px;
    text-align: right;
    font-weight: bold;
    font-size: 18px;
    color: var(--primary-main-color);
}
.competence-details {
    width: 100%;
    padding-top: 10px;            /* espace entre barre et détails */
    font-size: 14px;
    color: #fbfbfbf1;
    line-height: 1.5;
    min-height: 40px;             /* réserve un espace même si vide */
    padding-left: 1px;
}
.competence-details li {
    list-style: "- ";
    margin-top: 4px;
}
.Mes_reseaux {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    justify-content: flex-end; /* les boutons à droite */
}
.Mes_reseaux img {
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.Mes_reseaux img:hover {
    transform: scale(1.2); /* effet au survol */
}
/* ===== TIMELINE CONTAINER ===== */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 120px auto;
    padding-left: 60px;
}

/* Ligne verticale */
.timeline::before {
    content: "";
    position: absolute;
    left: 30px;
    top: 0;
    width: 2px;
    height: 100%;
    background: var(--primary-text-color);
}

/* ===== ITEM ===== */
.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 50px;
    position: relative;
}

/* Date à gauche */
.timeline-date {
    width: 160px;
    font-size: 14px;
    color: rgba(213, 212, 212, 0.75);
    text-align: right;
    padding-right: 30px;
    line-height: 1.5;
    font-family: "Verdana", sans-serif;
}

/* Point */
.timeline-dot {
    position: absolute;
    left: 23px;
    top: 8px;
    width: 14px;
    height: 14px;
    background: var(--primary-main-color);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--primary-main-color);
}

/* ===== CARD ===== */
.timeline-card {
    background: rgba(236, 236, 236, 0.5);;
    border-radius: 14px;
    padding: 20px 26px;
    color: #fff;
    width: 100%;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    position:relative;
    padding-right: 100px;
}

/* Hover */
.timeline-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 30px rgba(255, 208, 0, 0.35);
}

/* Titres */
.timeline-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: black;
    font-family: "Verdana", sans-serif;
}

/* Texte */
.timeline-card p {
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.9;
    color: black;
    
}

/* Mise en avant */
.highlight {
    color: var(--primary-main-color);
    font-weight: 500;
}
.Parcours h2{
    margin-left: 150px;
    font-size: 30px;
    color: var(--primary-grisargent-color);
}
/* État caché */
.timeline-item {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

/* Quand visible */
.timeline-item.show {
    opacity: 1;
    transform: translateY(0);
}
.nav_container {
    width: 100%;
    max-width: 1300px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
}

.logo img {
    height: 45px;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.1);
}
.competence-title {
    font-size: 1.1rem;
    color: var(--primary-grisargent-color); /* Ou la couleur de ton choix */
    margin-bottom: px;
    font-weight: bold;
    text-align: left;
}
.card-logo {
    position: absolute;

    right: 20px;         /* 👉 collé à droite */
    top: 50%;
    transform: translateY(-50%); /* 👉 centré verticalement */

    width: 120px;
    height: auto;

    object-fit: contain;
}
.logo-micro76 {
    width: 160px;
}
.logo-infinicy {
    width: 80px;
    top: 50%;
    transform: translateY(-50%) translateY(5px); /* ajuste ici */
    margin-right: 28px;
    border-radius: 5%;
}
.mon_profile {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
}

.mon_profile.show {
    opacity: 1;
    transform: translateY(0);
}
.mon_profile {
    opacity: 0;
    transform: translateY(50px) scale(0.98);
    transition: all 1s ease;
}
#footer {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: auto;

    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgb(255, 187, 0);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1000px;
    padding: 14px 30px;
}

.footer-copy {
    font-size: 12px;
    color: var(--primary-text-color);
    margin: 0;
    font-family: "Inter", sans-serif;
}

.footer-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-nav a {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    font-family: "American Captain.ttf", sans-serif;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: rgba(255, 187, 0, 0.95);
}

.footer-sep {
    color: rgba(255, 255, 255, 0.2);
    font-size: 12px;
}


