/* ==============================
   GLOBAL
   ============================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #000;
    color: #FFFFFF;
    line-height: 1.6;
}

/* PALETTE */
:root {
    --bleu-clair: #ADD8E6;
    --bleu-clair-transparent: rgba(173, 216, 230, 0.10);
    --bleu-hover: rgba(173, 216, 230, 0.20);
    --blanc: #FFFFFF;
    --gris: #D9D9D9;
    --noir: #000000;
    --noir-clair: #111111;
}

/* ==============================
   SECTION ACCUEIL
   ============================== */
.section-accueil {
    background-color: var(--noir);
    min-height: 100vh;
    padding: 100px 8%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 60px;
    position: relative; /* pour la flèche */
}

.photo-accueil img {
    width: 270px;
    height: 270px;
    border-radius: 50%;
    border: 3px solid var(--bleu-clair);
    box-shadow: 0 0 15px rgba(173, 216, 230, 0.3);
    transition: transform 0.3s ease;
}

.photo-accueil img:hover {
    transform: scale(1.03);
}

.texte-accueil {
    max-width: 500px;
}

.texte-accueil h1 {
    font-size: 2.4rem;
    margin-bottom: 15px;
    color: var(--bleu-clair);
    font-weight: 800;
}

.texte-accueil span {
    color: var(--blanc);
}

.texte-accueil p {
    font-size: 1rem;
    color: var(--gris);
    margin-bottom: 18px;
}

/* BOUTONS ACCUEIL DISCRETS */
.boutons-accueil {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* bouton principal / CV / contact : discret, même direction artistique */
.btn-cv {
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;

    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(173, 216, 230, 0.28);
    color: var(--blanc);

    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    transition: 0.22s ease;
    box-shadow: 0 0 8px rgba(173, 216, 230, 0.12);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-cv:hover {
    background-color: var(--bleu-clair-transparent);
    box-shadow: 0 0 12px rgba(173, 216, 230, 0.28);
    border-color: var(--bleu-clair);
}

/* LinkedIn : icône discrète, taille identique à icône mail + align */
.btn-linkedin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 8px;
    margin-left: 4px;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-linkedin img {
    width: 42px;   /* hauteur identique visuelle à l'icône mail (80 svg dans contact -> scaled) */
    height: 42px;
    object-fit: contain;
    display: block;
    filter: opacity(0.92);
    border-radius: 6px;
}

.btn-linkedin:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(173,216,230,0.08);
}

/* Animation accueil */
.animated {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 1.4s ease forwards;
}

.animated:nth-child(1) { animation-delay: 0.2s; }
.animated:nth-child(2) { animation-delay: 0.45s; }

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

/* ==============================
   SECTION COMPETENCES
   (remove bullets)
   ============================== */
.section-competences {
    background-color: var(--noir);
    padding: 80px 10%;
    text-align: center;
												
}

.section-competences h2 {
    font-size: 2rem;
    color: var(--bleu-clair);
    margin-bottom: 40px;
}

.competences-wrapper {
    background-color: var(--noir-clair);
    border-radius: 15px;
    padding: 36px;
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 28px;
    box-shadow: 0 0 18px rgba(173, 216, 230, 0.08);
	border: 1px solid rgba(173, 216, 230, 0.28);
}

.competences-wrapper:hover{
	transform: scale(1.02);
    box-shadow: 0 0 28px rgba(173, 216, 230, 0.16);
}													  
													      
.bloc-competence h3 {
    color: var(--bleu-clair);
    margin-bottom: 10px;
    font-size: 1.15rem;
}

/* supprime les puces et les espaces par défaut */
.bloc-competence ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bloc-competence li {
    color: var(--gris);
    font-size: 0.95rem;
    margin-bottom: 8px;
}

/* ==============================
   SECTION CREATIONS
   ============================== */
.section-creations {
    background-color: var(--noir);
    padding: 80px 8% 40px 8%;
}

.section-creations h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--bleu-clair);
    margin-bottom: 44px;
}

.creation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 70px;
    flex-wrap: wrap;
}

/* Images — EXACTEMENT comme avant */
.creation img {
    width: 45%;
    height: 340px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}

.creation img:hover {
    transform: scale(1.02);
    box-shadow: 0 0 28px rgba(173, 216, 230, 0.16);
}

/* TEXTE CREATION : spacing uniforme */
.texte-creation {
    width: 45%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 14px;
}

.texte-creation h3 {
    font-size: 1.25rem;
    margin: 0;
    color: var(--bleu-clair);
}

.texte-creation p {
    font-size: 0.95rem;
    color: var(--gris);
    margin: 0;
    line-height: 1.5;
}

/* Boutons "Consulter" : même direction que btn-cv, largeur auto */
.texte-creation .btn-cv {
    padding: 10px 18px;
    border-radius: 8px;
    background-color: rgba(255,255,255,0.04);
    border: 1px solid rgba(173,216,230,0.28);
    color: var(--blanc);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: 0.22s ease;
    box-shadow: 0 0 8px rgba(173, 216, 230, 0.12);
    display: inline-flex;
    width: auto; /* important : largeur auto */
    align-self: flex-start;
}

.texte-creation .btn-cv:hover {
    background-color: var(--bleu-clair-transparent);
    border-color: var(--bleu-clair);
    box-shadow: 0 0 12px rgba(173, 216, 230, 0.28);
}

/* Alterne gauche/droite */
.reverse {
    flex-direction: row-reverse;
}

/* ==============================
   ANIMATIONS SCROLL
   ============================== */
.reveal-left, .reveal-right {
    opacity: 0;
    transition: 1s ease;
}

.reveal-left {
    transform: translateX(-60px);
}

.reveal-right {
    transform: translateX(60px);
}

.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* ==============================
   FOOTER TEXT (Envie de voir plus...) 
   centré, plus gros, espacement réduit
   ============================== */
.footer-text {
    background-color: var(--noir);
    text-align: center;
    padding: 30px 10%;
    font-size: 1.8rem;
    margin-top: 10px;
}

.footer-text p {
    color: var(--blanc);
    font-weight: 700;
    line-height: 1.3;
    text-shadow: 0 0 18px rgba(173, 216, 230, 0.25);
    margin: 0;
}

/* ==============================
   SECTION CONTACT
   ============================== */
.section-contact {
    background-color: var(--noir);
    padding: 80px 10%;
    text-align: center;
}

.section-contact h2 {
    font-size: 2rem;
    color: var(--bleu-clair);
    margin-bottom: 36px;
}

.contact-wrapper {
    background-color: var(--noir-clair);
    border-radius: 15px;
    padding: 40px;
    max-width: 840px;
    margin: 0 auto;
    box-shadow: 0 0 20px rgba(173, 216, 230, 0.10);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    flex-wrap: wrap;
    border: 1px solid rgba(173, 216, 230, 0.28);
}

.contact-item {
    flex: 1;
    display: flex;
    justify-content: center;
}

.contact-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.2s;
}

.contact-link:hover {
    transform: translateY(-4px);
}

.contact-link svg {
    width: 80px;
    height: 80px;
}

.contact-link p {
    color: var(--gris);
    font-size: 0.95rem;
    margin: 0;
}

.contact-linkedin-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

/* contact separator */
.contact-separator {
    width: 1px;
    height: 120px;
    background-color: #222;
}

/* ==============================
   FOOTER
   ============================== */
footer {
    background-color: var(--noir);
    text-align: center;
    padding: 22px 0;
    font-size: 0.95rem;
    color: var(--gris);
}

/* ==============================
   BOUTON REMONTER EN HAUT
   ============================== */
#scrollTopBtn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    background-color: var(--bleu-clair-transparent);
    border: 1px solid rgba(173, 216, 230, 0.35);
    color: var(--blanc);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.4rem;
    border: none;
    cursor: pointer;
    display: none;
    box-shadow: 0 0 15px rgba(173, 216, 230, 0.25);
    transition: 0.25s;
    z-index: 60;
}

#scrollTopBtn:hover {
    transform: translateY(-3px);
    background-color: var(--bleu-hover);
}

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 900px) {

    .section-accueil {
        flex-direction: column;
        text-align: center;
        padding: 60px 6%;
    }

    .boutons-accueil {
        justify-content: center;
        flex-wrap: wrap;
    }

    .creation {
        flex-direction: column;
        gap: 30px;
    }

    .creation.reverse {
        flex-direction: column;
    }

    .creation img,
    .texte-creation {
        width: 100%;
    }

    .texte-creation .btn-cv {
        display: inline-flex;
        width: auto;
    }

    .footer-text {
        font-size: 1.5rem;
        padding: 28px 6%;
    }

    .contact-wrapper {
        flex-direction: column;
        gap: 28px;
    }

    .contact-separator {
        width: 120px;
        height: 1px;
    }
}
