* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background-color: #0c0c0c;
    color: #f5f5f5;
    font-family: Arial, sans-serif;
}


.container {
    max-width: 1100px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

section {
    border-top: 1px solid #222;
}

a {
    color: inherit;
}

header {
    border-bottom: 1px solid #222;
    padding: 18px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #a8a29e;
    font-size: 13px;
}

.dot {
    width: 8px;
    height: 8px;
    background-color: #fbbf24;
    border-radius: 50%;
    display: inline-block;
}

.menu {
    display: flex;
    gap: 28px;
}

.menu a {
    color: #a8a29e;
    text-decoration: none;
    font-size: 13px;
}

.menu a:hover {
    color: #fbbf24;
}

/* accueil */

.hero {
    padding: 120px 0 150px;
}

.small-label {
    color: #fbbf24;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 35px;
}

.hero h1 {
    font-size: 82px;
    line-height: 1;
    font-weight: 300;
    margin: 0 0 40px;
}

.hero h1 span {
    color: #78716c;
}

.hero-text {
    max-width: 720px;
    font-size: 30px;
    line-height: 1.35;
    color: #d6d3d1;
    margin-bottom: 20px;
}

.hero-text strong {
    color: #fbbf24;
    font-weight: normal;
}

.hero-subtext {
    max-width: 650px;
    font-size: 16px;
    line-height: 1.7;
    color: #78716c;
}

.buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.buttons a {
    padding: 14px 20px;
    text-decoration: none;
    font-size: 14px;
}

.button-primary {
    background-color: #fbbf24;
    color: #0c0c0c;
}

.button-primary:hover {
    background-color: #fcd34d;
}

.button-secondary {
    border: 1px solid #444;
    color: #f5f5f5;
}

.button-secondary:hover {
    border-color: #a8a29e;
}

.stats {
    padding: 50px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-label {
    font-size: 11px;
    color: #78716c;
    margin: 0 0 8px;
    letter-spacing: 1px;
}

.stat-value {
    color: #f5f5f5;
    margin: 0;
    font-size: 15px;
}

.accent {
    color: #fbbf24;
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 70px;
}

.section-title h2 {
    font-size: 58px;
    margin: 0;
    font-weight: 400;
}

.section-title p {
    color: #78716c;
    font-size: 13px;
    margin: 0;
}

#projets {
    padding: 100px 0;
}

.project {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 40px;
    border-top: 1px solid #222;
    padding-top: 50px;
    margin-bottom: 70px;
}

.project-number {
    color: #78716c;
    font-size: 13px;
}

.project-type {
    color: #fbbf24;
    font-weight: bold;
    letter-spacing: 1px;
}

.project-content h3 {
    font-size: 42px;
    margin: 0 0 22px;
    font-weight: 400;
}

.project-content p {
    max-width: 700px;
    color: #a8a29e;
    line-height: 1.7;
    font-size: 16px;
}

.project-links {
    display: flex;
    gap: 18px;
    margin-top: 20px;
}

.project-links a {
    color: #fbbf24;
    text-decoration: none;
    font-weight: bold;
}

.project-links a:hover {
    color: #f5f5f5;
}

.project-links span {
    color: #78716c;
    font-weight: bold;
}
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 25px;
}

.tags span {
    border: 1px solid #333;
    color: #a8a29e;
    padding: 6px 10px;
    font-size: 12px;
}

.project-link {
    color: #fbbf24;
    font-weight: bold;
    margin-top: 20px;
}

.todo {
    border: 1px dashed #333;
    padding: 25px;
    color: #78716c;
    font-size: 14px;
}

.todo span {
    color: #fbbf24;
}

#competences {
    padding: 100px 0;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background-color: #333;
}

.skill-card {
    background-color: #0c0c0c;
    padding: 35px;
    min-height: 230px;
}

.skill-card h3 {
    color: #78716c;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 25px;
}

.skill-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.skill-card li {
    color: #d6d3d1;
    margin-bottom: 12px;
    font-size: 16px;
}

.skill-card.highlight h3,
.skill-card.highlight li:first-child {
    color: #fbbf24;
}

#contact {
    padding: 110px 0 130px;
}

.contact-container {
    max-width: 900px;
}

#contact h2 {
    font-size: 64px;
    line-height: 1.05;
    font-weight: 400;
    margin: 0 0 30px;
}

#contact h2 span {
    color: #78716c;
}

.contact-text {
    max-width: 650px;
    color: #a8a29e;
    line-height: 1.7;
    font-size: 16px;
    margin-bottom: 55px;
}

.contact-list {
    max-width: 700px;
}

.contact-item {
    background-color: #0c0c0c;
    border-top: 1px solid #222;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
}

.contact-item:last-child {
    border-bottom: 1px solid #222;
}

.contact-item:hover {
    background-color: #181818;
}

.contact-title {
    color: #78716c;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1px;
    margin: 0 0 6px;
}

.contact-value {
    color: #f5f5f5;
    font-size: 15px;
    margin: 0;
}

.contact-item:hover .contact-value,
.contact-item:hover span {
    color: #fbbf24;
}

.contact-item span {
    color: #78716c;
}


footer {
    border-top: 1px solid #222;
    padding: 30px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

footer p {
    color: #78716c;
    font-size: 13px;
    margin: 0;
}


@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .menu {
        flex-wrap: wrap;
        gap: 15px;
    }

    .hero {
        padding: 80px 0 100px;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero-text {
        font-size: 22px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .section-title h2 {
        font-size: 42px;
    }

    .project {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .project-content h3 {
        font-size: 32px;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    #contact h2 {
        font-size: 38px;
    }

    .contact-item {
        padding: 20px 0;
    }

    .footer-content {
        flex-direction: column;
    }
}