/* ===============================================
   SITE SHELL - SEEK & FIND INVESTIGATION
   Menu, hamburger et pied de page communs à toutes les pages.
   Référence : accueil (index.html). Ne pas redéfinir ces règles
   dans le <style> d'une page.
   =============================================== */

/* === Titres (chantier 6, 2026-10-22) : empattements alignés sur le logo (Palatino).
   Polices système uniquement : aucun appel à un service tiers. === */
h1, h2, h3 {
    font-family: 'Palatino Linotype', Palatino, 'Book Antiqua', 'URW Palladio L', Georgia, serif;
    letter-spacing: 0.005em;
}

/* === Navigation === */
nav {
    background: #1E2B4D;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.logo-container {
    display: flex;
    align-items: center;
}
.logo-nav {
    height: 70px;
    width: auto;
}
.nav-links {
    display: flex;
    flex: 1;
    justify-content: space-evenly;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-links li { margin: 0; }
.nav-links a {
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.3px;
    line-height: 1.3;
    max-width: 110px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.3s;
    white-space: normal;
}
.nav-links a:hover {
    color: #C9B87E;
    text-decoration: none;
}

/* === Hamburger (mobile et tablette) === */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}
.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: #FFFFFF;
    border-radius: 2px;
}

@media (max-width: 1100px) {
    .logo-nav { height: 45px !important; }
    .hamburger { display: flex; }
    .nav-links {
        display: none !important;
        flex-direction: column !important;
        gap: 0 !important;
        position: absolute;
        top: 56px;
        left: 0;
        right: 0;
        padding: 10px 0;
        background: #1E2B4D;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        z-index: 999;
    }
    .nav-links.open { display: flex !important; }
    .nav-links li { width: 100%; }
    .nav-links a {
        display: block !important;
        max-width: none !important;
        padding: 12px 25px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
        font-size: 14px !important;
        text-align: left !important;
        white-space: nowrap !important;
    }
}
@media (max-width: 640px) {
    .nav-container { flex-direction: row; justify-content: space-between; }
}

/* === Pied de page === */
footer {
    background: #1E2B4D;
    color: #FFFFFF;
    padding: 60px 20px 30px;
    margin-top: 0;
    text-align: left;
    font-size: 16px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}
.footer-column h3 {
    margin-top: 0;
    color: #C9B87E;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    text-transform: uppercase;
}
.footer-column p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}
.footer-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-column ul li { margin-bottom: 12px; }
.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s;
}
.footer-column a:hover {
    color: #C9B87E;
    text-decoration: none;
}
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    text-align: center;
}
.footer-bottom p {
    margin: 20px 0 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9em;
    text-align: center;
}
.footer-bottom a {
    color: #C9B87E;
    text-decoration: underline;
}

@media (max-width: 968px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 640px) {
    footer { padding: 40px 20px 24px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
    .footer-column:first-child,
    .footer-column:last-child { grid-column: 1 / -1; }
    .footer-column a { overflow-wrap: anywhere; }
}

/* === Images de fond (vraies <img>) === */
.page-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -1;
    pointer-events: none;
}
section > img.section-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    pointer-events: none;
}
