/*

#191629
#d1d1d1
#008cff



*/

/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body */
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #191629;
    color: #191629;
    line-height: 1.6;
}

/*POLICE*/
@font-face { 
    font-family: coolvetica;
    src: url(../police/Coolvetica\ Rg\ Cond.otf);
}

@font-face { 
    font-family: League Gothic;
    src: url(../police/LeagueGothic-Regular-VariableFont_wdth.ttf);
}

@font-face { 
    font-family: Geo;
    src: url(../police/GeosansLight.ttf);
}

 /* Header / nav inspiré de ../index.html */
        header.site-header {
            color: #fff;
            padding: 20px 20px;
        }

        .site-inner {
            max-width: 1100px;
            margin: 0 auto;
            padding: 0 10px;
        }

        
        .brand {
            font-weight: 700;
            font-size: 1.1rem;
            letter-spacing: .2px;
        }

        .nav-links {
            display: flex;
            gap: 12px;
        }

        .nav-links a {
            color: rgba(255,255,255,0.9);
            text-decoration: none;
            padding: 8px 12px;
            border-radius: 8px;
            font-weight: 600;
            font-size: 0.95rem;
        }

        .nav-links a.active,
        .nav-links a:hover {
            background: rgba(255,255,255,0.15);
        }

        header h1 {
            margin-top: 6px;
            font-size: 1.9rem;
        }

        header p.lead {
            margin-top: 8px;
            color: rgba(255,255,255,0.95);
            max-width: 780px;
        }


/* Navbar */
.navbar img {
    height: 48px;
}


/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    padding: 4rem 2rem 3rem 2rem;
    background: #191629;
}

.hero .photo {
    flex-shrink: 0;
}

.hero .pp {
    width: 360px;
    height: 360px;
    object-fit: cover;
    border-radius: 0;
    border: none;
    box-shadow: none;
}

.hero .intro h1 {
    font-size: 2.5rem;
    color: #d1d1d1;
    margin-bottom: 0.5rem;
}

.hero .intro h2 {
    font-size: 1.5rem;
    color: #637afa;
    margin-bottom: 1rem;
}

.hero .intro p {
    font-size: 1.1rem;
    color: #ffffff;
    max-width: 500px;
}

/* Photo Recursivity Circle */
@media (max-width: 600px) {
    .hero .photo {
        position: relative;
        width: 220px;
        height: 220px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero .photo::before {
        content: "";
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        margin: auto;
        width: 220px;
        height: 220px;
        border-radius: 50%;
        background: conic-gradient(#637afa 0% 25%, #191629 25% 50%, #637afa 50% 75%, #191629 75% 100%);
        z-index: 1;
        box-shadow: 0 0 24px 0 #637afa44;
    }

    .hero .pp {
        position: relative;
        z-index: 2;
        width: 180px;
        height: 180px;
        border-radius: 50%;
        object-fit: cover;
        border: 4px solid #23203a;
        box-shadow: 0 2px 16px #19162988;
    }

    @keyframes spin {
        100% {
            transform: rotate(360deg);
        }
    }
}

/* Portfolio Section */
/*ANIMATION COMPETENCE*/

.app {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -40px;
}

@media (min-width: 768px) {
    header h1 {
        font-size: 3rem;
    }
}

.tag-list {
    width: 30rem;
    max-width: 90vw;
    display: flex;
    flex-shrink: 0;
    flex-direction: column;
    gap: 0.5rem 0; /* réduit encore l'espacement vertical */
    position: relative;
    padding: 0.6rem 0; /* réduit encore la hauteur du padding */
    overflow: hidden;
}

.loop-slider .inner {
    display: flex;
    width: fit-content;
    animation-name: loop;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-direction: var(--direction);
    animation-duration: var(--duration);
}

.tag {
    font-family: 'Montserrat', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 0 0.15rem;
    color: #e2e8f0;
    font-size: 1.2rem; /* augmenté la taille de l'écriture */
    background-color: #334155;
    border-radius: 0.3rem;
    padding: 0.2rem 1.5rem; /* augmenté la largeur du padding */
    margin-right: 1.2rem;   /* augmenté l'espacement entre les cases */
    box-shadow: 0 0.08rem 0.15rem rgb(0 0 0 / 18%),
                0 0.08rem 0.4rem rgb(0 0 0 / 25%),
                0 0.15rem 1rem rgb(0 0 0 / 30%);
    vertical-align: middle;
    min-height: 1.1rem;
}

.tag span {
    font-size: 1.4rem; /* augmenté la taille de l'écriture */
    color: #64748b;
    display: flex;
    align-items: center;
    line-height: 1;
}

.fade {
    pointer-events: none;
    background: linear-gradient(90deg, #191629, transparent 30%, transparent 70%, #191629);
    position: absolute;
    inset: 0;
}

@keyframes loop {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/*CV*/

.cv-section {
    text-align: center;
    /* margin: 20px 0 30px; */
    /* padding: 2rem 16px 0; */
    padding-top: 2.2rem;
}

.cv-section p {
    color: #e2e8f0;
    font-size: 1.05rem;
    max-width: 780px;
    margin: 0 auto;
    line-height: 1.5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    flex-wrap: wrap;
}

/* Link appearance instead of button */
.cv-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0;                 /* remove button padding */
    background: transparent;    /* no button background */
    color: #637afa;             /* link color */
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 0;
    text-decoration: none; /* show as clickable link */
    box-shadow: none;
    cursor: pointer;
    line-height: 1;
    transition: color 0.18s, transform 0.12s;
}

/* icon next to link */
.cv-download-btn img.telecharge {
    width: 18px;
    height: 18px;
    display: block;
    object-fit: contain;
    transition: transform 0.12s;
    margin: 0; /* keep tight with text like a link */
}

/* Hover / focus states */
.cv-download-btn:hover,
.cv-download-btn:focus {
    color: #9fb2ff;
    transform: translateY(-1px);
    text-decoration: underline;
    outline: none;
}

.cv-download-btn:focus {
    /* visible focus for keyboard users */
    box-shadow: 0 0 0 3px rgba(99,122,250,0.12);
    border-radius: 4px;
}

.cv-download-btn:hover img.telecharge,
.cv-download-btn:focus img.telecharge {
    transform: translateY(-1px) scale(1.02);
}

/* Responsive */
@media (max-width: 600px) {
    .cv-section {
        margin: 32px 0 40px;
        padding: 0 8px;
        padding-top: 2rem;
    }
    .cv-section p {
        font-size: 0.98rem;
        gap: 0.5rem;
        padding: 0 8px;
    }
    .cv-download-btn {
        font-size: 0.95rem;
    }
    .cv-download-btn img.telecharge {
        width: 16px;
        height: 16px;
    }
}

/*PROJET*/
.projects-section {
    text-align: center;
    margin: 20px 0 30px 0;
    padding: 1rem 16px;
    padding-top: 4rem;
}

.projects-section h2 {
    font-size: 2.5rem;
    color: #d1d1d1;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.projects-btn {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(90deg, #150941 0%, #008cff 100%);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(100, 100, 100, 0.12);
    transition: background 0.3s, transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.projects-btn:hover, .projects-btn:focus {
    background: linear-gradient(90deg, #008cff 0%, #150941 100%);
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 8px 24px rgba(100, 100, 100, 0.18);
    color: #fff;
    text-decoration: none;
}

@media (max-width: 600px) {
    .projects-section {
        margin: 32px 0 40px 0;
        padding: 0 8px;
        padding-top: 2rem;
    }
    .projects-section h2 {
        font-size: 1rem;
    }
    .projects-btn {
        padding: 12px 18px;
        font-size: 1rem;
        border-radius: 22px;
    }
}

/*CONTACT*/
/* Contact Section */
.contact-section {
    background: #191629;
    margin: 20px 0 30px 0;
    padding: 2rem 2rem;
}

.contact-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #d1d1d1;
    margin-bottom: 2.5rem;
    letter-spacing: 1px;
}

/* Nouvelle présentation : liste verticale avec icônes à gauche */
.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 500px;
    margin: 0 auto;
}

.contact-card {
    display: flex;
    align-items: center;
    background: #23203a;
    border-radius: 0.8rem;
    box-shadow: 0 4px 18px rgba(99,122,250,0.10), 0 1.5px 8px rgba(0,0,0,0.08);
    padding: 1.2rem 1.5rem;
    transition: transform 0.16s, box-shadow 0.16s;
    border: 1.5px solid #2e2a4a;
    position: relative;
    overflow: hidden;
    gap: 1.2rem;
}

.contact-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 24px rgba(99,122,250,0.18);
}

.contact-card img {
    width: 44px;
    height: 44px;
    padding: 0.6rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-card-content {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.contact-card a.mail,
.contact-card a.tel,
.contact-card a.link {
    color: #e2e8f0;
    font-size: 1.13rem;
    font-weight: 500;
    text-decoration: none;
    word-break: break-all;
    transition: color 0.2s;
    text-align: left;
}

.contact-card a.mail:hover,
.contact-card a.link:hover {
    color: #637afa;
}

.contact-card a.tel {
    cursor: default;
}

/* Affiche les trois icônes sur une seule ligne dans une seule case */
/* .contact-cards {
    flex-direction: row;
    justify-content: center;
    gap: 0;
    max-width: none;
}

.contact-card {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background: #23203a;
    border-radius: 0.8rem;
    box-shadow: 0 4px 18px rgba(99,122,250,0.10), 0 1.5px 8px rgba(0,0,0,0.08);
    padding: 1.2rem 1.5rem;
    border: 1.5px solid #2e2a4a;
    gap: 0;
    width: auto;
    margin: 0 auto;
}

.contact-card-content {
    flex-direction: row;
    gap: 2rem;
}

.contact-card img {
    margin: 0 1.2rem 0 0;
    width: 44px;
    height: 44px;
    padding: 0.6rem;
}

.contact-card a.mail,
.contact-card .tel,
.contact-card a.link {
    display: none;
} */

/* Responsive pour mobile */
@media (max-width: 600px) {
    .contact-section h2 {
        font-size: 3rem;
        margin-bottom: 2.5rem;
    }
    .contact-cards {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 1rem;
        padding: 0 0.5rem;
    }
    .contact-card {
        padding: 1rem 0.7rem;
        width: auto;
        max-width: none;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: row;
        background: #23203a;
        border-radius: 0.8rem;
        box-shadow: 0 4px 18px rgba(99,122,250,0.10), 0 1.5px 8px rgba(0,0,0,0.08);
        border: 1.5px solid #2e2a4a;
        gap: 0;
        margin: 0 auto;
    }
    .contact-card-content {
        flex-direction: row;
        gap: 2rem;
        align-items: center;
        text-align: center;
        width: auto;
    }
    .contact-card img {
        width: 38px;
        height: 38px;
        padding: 0.4rem;
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        padding-left: 15%;
    }
    .contact-card a.mail,
    .contact-card a.tel,
    .contact-card a.link {
        display: none;
    }
}

/* Footer */
footer {
    background: #191629;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    font-size: 1rem;
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    .projects {
        flex-direction: column;
        align-items: center;
    }
    .contact-infos {
        flex-direction: column;
        align-items: center;
    }
}


