@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-other-color: #903cfff1;
    --primary-griscard-color: rgba(236, 236, 236, 0.5);
}
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: rgba(255, 187, 0, 0.996);
    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 */
}
.title {
    font-size: 20px;;
}
/* === FOND GLOBAL === */
body {
    margin: 0;
    min-height: 100vh;
    background: radial-gradient(
        circle at top,
        #2a3142,
        #0f131c
    );
    font-family: "Inter", system-ui, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* === SECTION HERO === */
#hero {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* === CARTE CENTRALE === */
.hero-card {
    width: 360px;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.08),
        rgba(255, 255, 255, 0.02)
    );
    backdrop-filter: blur(14px);
    border-radius: 26px;
    padding: 22px;

    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 40px 80px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);

    display: flex;
    flex-direction: column;
    align-items: center;

    animation: fadeUp 1s ease forwards;
}

/* === IMAGE === */
.hero-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* === TEXTE === */
.hero-text h1 {
    font-size: 20px;
    color: white;
    margin-bottom: 6px;
}

.hero-text p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

/* === BOUTONS === */
.hero-actions {
    margin-top: 22px;
    display: flex;
    gap: 12px;
}

.btn-primary,
.btn-secondary {
    padding: 10px 16px;
    font-size: 13px;
    text-decoration: none;
    border-radius: 8px;
    transition: 0.3s ease;
}

/* Bouton principal */
.btn-primary {
    background: rgba(255, 187, 0, 0.95);
    color: var(--primary-text-color);
    font-weight: 500;
}

.btn-primary:hover {
    background: rgba(255, 187, 0, 1);
    transform: translateY(-2px);
}

/* Bouton secondaire */
.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

/* === ANIMATION === */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.legal-content {
    width: 100%;
    max-height: 60vh;
    overflow-y: auto;

    padding-right: 10px;

    text-align: left;
    font-size: 13px;
    line-height: 1.6;

    color: var(--primary-text-color);
}

/* titres */
.legal-content h2 {
    color: white;
    margin-top: 20px;
}

.legal-content h3 {
    color: rgba(255, 187, 0, 0.9);
    margin-top: 12px;
}

/* scrollbar propre */
.legal-content::-webkit-scrollbar {
    width: 6px;
}

.legal-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}
.legal-card {
    
    width: 700px;
    max-width: 90%;

    /* IDENTIQUE projet-card */
    background: var(--primary-griscard-color);

    backdrop-filter: blur(14px);

    border-radius: 22px;
    padding: 25px;

    border: 1.5px solid rgba(255, 187, 0, 0.55);

    cursor: pointer;
    overflow: hidden;

    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);

    transition:
        background 0.4s ease,
        box-shadow 0.4s ease,
        transform 0.4s ease;
}
/* === FOOTER === */
#footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: center;

    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;
}