/* =====================
   GLOBAL STYLES
===================== */

/* Reset et box-sizing */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Body en flex column pour footer en bas */
html, body {
    height: 100%;
    background: #fff;
    color: #000;
    font-family: 'Inter', sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    line-height: 1.6;
}

/* =====================
   NAVBAR
===================== */
.navbar .fa-globe {
    font-size: 1.5rem;
    color: black;
}

nav {
    max-width: 1200px;
    margin: auto;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(8px);
    z-index: 100;
    border-bottom: 1px solid #e5e5e5;
    width: 100%;
}

.nav-link.active {
    font-weight: 700;
    border-bottom: 3px solid #f1d93f;
}

.nav-link {
    transition: color 0.3s, border-bottom 0.3s;
}

nav a.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #000;
    font-weight: 800;
    font-size: 20px;
}

nav a.logo-link:hover {
    text-decoration: none;
}

nav ul {
    display: flex;
    gap: 24px;
    list-style: none;
    font-weight: 600;
    font-size: 16px;
}

nav ul li a {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 16px;
    transition: background 0.2s, color 0.2s;
}

nav ul li a:hover {
    background: #dfdfdf;
}

/* =====================
   MAIN
===================== */
main {
    flex: 1; /* prend tout l'espace restant entre navbar et footer */
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* =====================
   FOOTER
===================== */
footer {
    flex-shrink: 0; /* ne jamais réduire */
    text-align: center;
    padding: 40px;
    font-size: 14px;
    color: #777;
    border-top: 1px solid #e5e5e5;
    max-width: 1200px;
    margin: auto;
    width: 100%;
}

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .buttons {
        justify-content: center;
    }

    nav ul {
        flex-direction: column;
        gap: 12px;
    }
}
