/* APRÈS */
@font-face {
  font-family: 'Chillax';
  src: url('fonts/Chillax_Complete/Chillax_Complete/Fonts/WEB/fonts/Chillax-Variable.woff2') format('woff2'),
       url('fonts/Chillax_Complete/Chillax_Complete/Fonts/WEB/fonts/Chillax-Variable.ttf') format('truetype');
  font-weight: 200 700;
  font-display: swap;
}

@font-face {
    font-family: 'FakeSmiths';
    src: url('fonts/Fake Smiths.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* ============================================================
   VARIABLES & RESET
============================================================ */
:root {
    --noir:      #000000;
    --vert:      #BFF000;
    --rose:      #F5196D;
    --orange:    #FF6B00;
    --bleu:      #1A6BFF;
    --blanc:     #FFFFFF;
    --gris:      #1a1a1a;
    --gris-clair:#2a2a2a;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    background-color: var(--noir);
    color: var(--blanc);
    font-family: 'Chillax', sans-serif;
    overflow-x: hidden;
}

/* ============================================================
   HEADER / NAVBAR
============================================================ */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 40px;
    background-color: var(--noir);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 65px; width: auto; }

nav { display: flex; gap: 30px; align-items: center; }

nav a {
    color: var(--rose);
    text-decoration: none;
    font-family: 'FakeSmiths', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.05em;
    transition: color 0.2s, text-shadow 0.2s;
}

nav a:hover { color: var(--vert); text-shadow: 0 0 10px var(--vert); }
nav a.active { color: var(--bleu); }

/* ============================================================
   HERO
============================================================ */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px 40px;
    position: relative;
}

.hero-img {
    width: 100%;
    max-width: 700px;
    height: auto;
    mix-blend-mode: screen;
    animation: fadeInDown 0.8s ease both;
}

.hero-nom {
    font-family: 'FakeSmiths', sans-serif;
    font-size: clamp(2rem, 6vw, 4rem);
    color: var(--rose);
    text-align: center;
    margin-top: 10px;
    letter-spacing: 0.05em;
    animation: fadeInUp 0.8s ease 0.3s both;
}

/* ============================================================
   SECTION À PROPOS
============================================================ */
.apropos {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 80px 80px;
    width: 100%;
}

.apropos h2 {
    font-family: 'FakeSmiths', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--bleu);
    margin-bottom: 40px;
    letter-spacing: 0.05em;
    animation: fadeInUp 0.6s ease both;
}

.apropos-content {
    display: flex;
    align-items: center;
    gap: 100px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.apropos-avatar {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: screen;
    display: block;
}

.apropos-texte {
    max-width: 500px;
    text-align: center;
    animation: fadeInRight 0.8s ease 0.2s both;
}

.apropos-texte p {
    font-family: 'Chillax', sans-serif;
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--vert);
    font-weight: 500;
    margin-bottom: 40px;
}

.btn-cv {
    display: inline-block;
    background-color: var(--rose);
    color: var(--noir);
    padding: 12px 32px;
    border-radius: 30px;
    font-family: 'FakeSmiths', sans-serif;
    font-size: 1rem;
    text-decoration: none;
    transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
    letter-spacing: 0.05em;
}

.btn-cv:hover {
    background-color: var(--vert);
    color: var(--noir);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(191, 240, 0, 0.4);
}

/* ============================================================
   SECTION MES ŒUVRES
============================================================ */
.oeuvres {
    padding: 0 80px 80px 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.oeuvres-banner {
    width: 100%;
    max-width: 980px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s;
}

.oeuvres-banner:hover { transform: scale(1.02); }

.oeuvres-banner img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    object-position: top;
    display: block;
    filter: brightness(0.7);
    transition: filter 0.3s;
}

.oeuvres-banner:hover img { filter: brightness(0.9); }

.oeuvres-banner-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'FakeSmiths', sans-serif;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--noir);
    text-align: center;
    pointer-events: none;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}

/* ============================================================
   SECTION MES PROJETS FAVORIS
============================================================ */
.projets {
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.projets h2 {
    font-family: 'FakeSmiths', sans-serif;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--bleu);
    margin-bottom: 40px;
    letter-spacing: 0.05em;
}

.projets-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 800px;
    margin-bottom: 40px;
}

.projet-card {
    background-color: var(--gris-clair);
    border-radius: 12px;
    aspect-ratio: 4/3;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    text-decoration: none;
}

.projet-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(191, 240, 0, 0.2);
}

.projet-card span {
    font-family: 'FakeSmiths', sans-serif;
    font-size: clamp(0.8rem, 1.5vw, 1rem);
    color: var(--blanc);
    letter-spacing: 0.05em;
    text-align: center;
    padding: 10px;
    position: relative;
    z-index: 2;
}

/* Carte avec photo de couverture */
.projet-card.has-cover {
    background-color: #111;
    align-items: flex-end;
    justify-content: flex-start;
}

.projet-card-cover {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform 0.4s ease;
}

.projet-card:hover .projet-card-cover { transform: scale(1.06); }

.projet-card.has-cover::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 65%;
    background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, transparent 100%);
    z-index: 1;
    border-radius: 0 0 12px 12px;
}

.projet-card.has-cover span {
    padding: 14px 16px;
    text-align: left;
    width: 100%;
    box-sizing: border-box;
}

.btn-voir-plus {
    display: inline-block;
    background-color: var(--rose);
    color: var(--blanc);
    padding: 12px 40px;
    border-radius: 30px;
    font-family: 'FakeSmiths', sans-serif;
    font-size: 1rem;
    text-decoration: none;
    transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
    letter-spacing: 0.05em;
}

.btn-voir-plus:hover {
    background-color: var(--vert);
    color: var(--noir);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(191, 240, 0, 0.4);
}

/* ============================================================
   FOOTER
============================================================ */
footer {
    background-color: var(--noir);
    padding: 30px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo img { height: 65px; mix-blend-mode: screen; }

.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; }

.footer-nav a {
    color: var(--rose);
    text-decoration: none;
    font-family: 'FakeSmiths', sans-serif;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-nav a:hover { color: var(--vert); }

.footer-contact {
    text-align: right;
    font-family: 'Chillax', sans-serif;
    font-size: 0.8rem;
    color: var(--blanc);
    line-height: 1.8;
}

.footer-contact a { color: var(--vert); text-decoration: none; }

/* ============================================================
   CAROUSEL À PROPOS
============================================================ */
.carousel {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: 380px;
    animation: fadeInLeft 0.8s ease 0.2s both;
}

.carousel-inner {
    display: flex;
    width: 380px;
    height: 430px;
    overflow: hidden;
    border-radius: 12px;
}

.carousel-item { min-width: 380px; height: 430px; flex-shrink: 0; }

.carousel-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 100%;
}

.carousel-dots {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    justify-content: center;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--gris-clair);
    cursor: pointer;
    transition: background-color 0.2s;
}

.dot.active { background-color: var(--rose); }

/* ============================================================
   BOUTONS À PROPOS
============================================================ */
.apropos-boutons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.btn-contact {
    display: inline-block;
    background-color: var(--orange);
    color: var(--noir);
    padding: 12px 32px;
    border-radius: 30px;
    font-family: 'FakeSmiths', sans-serif;
    font-size: 1rem;
    text-decoration: none;
    transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
    letter-spacing: 0.05em;
}

.btn-contact:hover {
    background-color: var(--vert);
    color: var(--noir);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(191, 240, 0, 0.4);
}

/* ============================================================
   ANIMATIONS
============================================================ */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
@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); }
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 768px) {
    header { padding: 12px 20px; }
    nav { gap: 15px; }
    nav a { font-size: 0.85rem; }
    .apropos { padding: 40px 20px; }
    .apropos-content { flex-direction: column; }
    .projets-grid { grid-template-columns: 1fr; }
    footer { flex-direction: column; align-items: center; text-align: center; }
    .footer-contact { text-align: center; }
}
/* DÉCONNEXION NAV */
.nav-deconnexion {
    color: var(--orange) !important;
}
.nav-deconnexion:hover {
    color: var(--vert) !important;
}
.logo-texte {
    font-family: 'FakeSmiths';
    color: var(--rose);
    font-size: 1.8rem;
    letter-spacing: 2px;
}