* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #FBF8F2; /* blanc chaud */
    color: #1C1F33; /* bleu nuit pour le texte */
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

/* ================= HEADER SIMPLE ================= */

.simple-header {
    background: #1C1F33; /* bleu nuit */
    color: #EADFC8; /* beige */
    padding-bottom: 60px;
    position: relative;
    overflow: hidden;
}

/* ========= FORMES DÉCORATIVES ========= */

.shape {
    position: absolute;
    opacity: 0.20;
    filter: blur(2px);
}

/* cercle beige */
.shape1 {
    width: 180px;
    height: 180px;
    background: #EADFC8; /* beige */
    border-radius: 50%;
    top: 20px;
    left: -60px;
}

/* carré doré arrondi */
.shape2 {
    width: 220px;
    height: 220px;
    background: #C9A86A; /* doré */
    border-radius: 30px;
    right: -80px;
    top: 80px;
}

/* rond dégradé beige → doré */
.shape3 {
    width: 260px;
    height: 260px;
    background: linear-gradient(45deg, #EADFC8, #C9A86A);
    border-radius: 50%;
    bottom: -100px;
    left: 40%;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    position: relative;
    z-index: 10;
}

.logo {
    font-size: 1.7rem;
    font-weight: 600;
    color: #EADFC8;
}

.menu {
    display: flex;
    gap: 25px;
}

.menu a {
    color: #EADFC8;
    text-decoration: none;
}

.header-content {
    margin-top: 40px;
    position: relative;
    z-index: 10;
}

.header-content h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: #EADFC8;
}

/* ================= ABOUT ================= */

.about {
    padding: 70px 0;
    line-height: 1.7;
    font-size: 1rem;
    color: #1C1F33;
}

/* ================= PROJECTS ================= */

.projects {
    padding: 70px 0;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.card {
    background: #EADFC8; /* beige */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.12);
    transition: transform 0.25s, box-shadow 0.25s;
    border: 1px solid #C9A86A22; /* très léger doré transparent */
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(28,31,51,0.25); /* ombre bleue */
}

.card h3 {
    color: #1C1F33;
}

.card p {
    color: #4A4A4A;
}

/* images & vidéos miniatures */
.card img,
.project-video {
    width: 100%;
    height: 180px;
    object-fit: cover;
    cursor: pointer;
}

/* ================= MODALES (IMAGE + VIDEO) ================= */

.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(28,31,51,0.9); /* bleu nuit très sombre */
    z-index: 999;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 20px;
}

.modal-content {
    position: relative;

    display: flex;
    justify-content: center;
    align-items: center;

    max-width: 90%;
    max-height: 90%;
}

.modal-content img,
.modal-content video {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
}

.close {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 3rem;
    color: #C9A86A; /* doré */
    cursor: pointer;
}

/* ================= CONTACT ================= */

.contact {
    padding: 70px 0;
    text-align: center;
}

.btn {
    background: #C9A86A;
    color: #1C1F33;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s;
}

.btn:hover {
    background: #EADFC8;
}

/* ================= FOOTER ================= */

footer {
    background: #1C1F33;
    color: #EADFC8;
    text-align: center;
    padding: 35px 0;
    margin-top: 60px;
}

/* ================= LOGICIELS ================= */

.softwares {
    padding: 70px 0;
    text-align: center;
}

.softwares h2 {
    color: #1C1F33; /* bleu nuit */
    margin-bottom: 40px;
}

.soft-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.soft-card {
    background: #EADFC8; /* beige */
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.12);
    border: 1px solid #C9A86A22; /* doré léger */
    transition: 0.3s;
}

.soft-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 22px rgba(28,31,51,0.25);
}

.soft-icon {
    font-size: 2.4rem;
    display: block;
    margin-bottom: 12px;
}

.soft-card h3 {
    color: #1C1F33;
    margin-bottom: 8px;
}

.soft-card p {
    color: #4A4A4A;
    font-size: 0.95rem;
}

.soft-logo {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.soft-logo {
    width: 70px;
    height: auto;
    margin-bottom: 15px;
}


.projects h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #1C1F33; /* bleu nuit (palette 2) */
    font-size: 2rem;
}
