/* ===== RESET ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== GLOBAL ===== */
body {
    font-family: 'Georgia', serif;
    color: #350a0a;
    background-color: #fffaef;
}

/* ===== HEADER ===== */
#header {
    background-color: #350a0a;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 60px;
    height: 80px;
}

#header .logo {
    height: 60px;
    width: 60px;
    object-fit: contain;
}

#header nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
}

#header nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 400;
    font-size: 1rem;
    letter-spacing: 1px;
    transition: color 0.3s;
}

#header nav ul li a:hover {
    color: #f3c5c5;
}

/* ===== HERO ===== */
#haut-homepage {
    width: 100%;
    height: 720px;
    overflow: hidden;
}

#haut-homepage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== ABOUT ME ===== */
#about-me {
    background-color: #fffaef;
    display: flex;
    flex-direction: row;
    align-items: center;
    min-height: 600px;
    padding: 60px 80px;
    gap: 60px;
}

#description {
    flex: 1;
}

#description h1 {
    font-size: 2rem;
    margin-bottom: 24px;
    color: #350a0a;
}

#description p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #4a1010;
    margin-bottom: 14px;
}

#photo-description {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

#photo-description img {
    width: 100%;
    max-width: 420px;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
}

/* ===== CERTIFICATIONS ===== */
#certifications {
    background-color: #350a0a;
    color: #fffaef;
    padding: 60px 40px;
}

#titre-certifications {
    text-align: center;
    margin-bottom: 40px;
}

#titre-certifications h2 {
    font-size: 1.6rem;
    letter-spacing: 3px;
    color: #fffaef;
}

#diplomes {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    gap: 30px;
    flex-wrap: wrap;
}

.certif {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 260px;
    gap: 12px;
}

.certif h3 {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.5;
    color: #fffaef;
}

.certif .annee {
    font-size: 0.9rem;
    color: #f3c5c5;
    letter-spacing: 1px;
}

.certif .statut {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fffaef;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.certif .statut.en-cours {
    color: #f3c5c5;
    font-style: italic;
    text-transform: none;
}

.icon {
    border-radius: 50%;
    background-color: #fffaef;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #350a0a;
    font-size: 28px;
    flex-shrink: 0;
}

/* ===== FOOTER ===== */
#footer {
    background-color: #fffaef;
    color: #350a0a;
    padding: 60px 80px 30px;
    border-top: 1px solid #e0c8c8;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 48px;
}

.footer-brand h4,
.footer-col h4 {
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #350a0a;
    margin-bottom: 18px;
    font-weight: 600;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul li a {
    color: #7a2a2a;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: #350a0a;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #c07070;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b1a1a;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-socials a:hover {
    border-color: #350a0a;
    color: #350a0a;
    background-color: #f3dede;
}

.footer-divider {
    border: none;
    border-top: 1px solid #e0c8c8;
    margin-bottom: 24px;
}

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

.footer-bottom p {
    font-size: 0.75rem;
    color: #a05050;
    letter-spacing: 1px;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    font-size: 0.75rem;
    color: #a05050;
    text-decoration: none;
    letter-spacing: 1px;
    transition: color 0.2s;
}

.footer-bottom-links a:hover {
    color: #350a0a;
}