/* ========================================
   STYLE GLOBAL - AU FORMAT
   À inclure dans toutes les pages
   ======================================== */

/* Variables globales */
:root {
    --bois-clair: #D4A574;
    --bois-fonce: #8B6F47;
    --vert-foret: #2C5F2D;
    --beige: #F5F1E8;
    --noir: #2B2B2B;
    --blanc: #FFFFFF;
}

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

 body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
            background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
            min-height: 100vh;
        }

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo (image ou texte) */
.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--bois-fonce);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
}

/* Logo image */
.logo img {
    height: 50px;          /* taille par défaut sur desktop */
    max-width: 100%;
    object-fit: contain;
}

/* Menu */
.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--noir);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--vert-foret);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--vert-foret);
    transition: width 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* ========================================
   HERO SECTIONS
   ======================================== */

.page-hero {
    margin-top: 80px;
    height: 50vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--blanc);
}

.page-hero h1 {
    font-size: 3.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--beige);
}

/* ========================================
   SECTIONS COMMUNES
   ======================================== */

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--bois-fonce);
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

/* ========================================
   BOUTONS
   ======================================== */

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--vert-foret);
    color: var(--blanc);
}

.btn-primary:hover {
    background: #234a24;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 95, 45, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--blanc);
    border: 2px solid var(--blanc);
}

.btn-secondary:hover {
    background: var(--blanc);
    color: var(--vert-foret);
}

.btn-white {
    background: var(--blanc);
    color: var(--vert-foret);
}

.btn-white:hover {
    background: var(--beige);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,255,255,0.3);
}

/* ========================================
   FOOTER
   ======================================== */

footer {
    background: var(--noir);
    color: var(--blanc);
    padding: 3rem 2rem 1rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--bois-clair);
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: #ccc;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-section a:hover {
    color: var(--bois-clair);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    color: #888;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 968px) {
    .page-hero h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .logo img {
        height: 40px; /* réduit le logo sur tablette */
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 600px) {
    .logo {
        font-size: 1.4rem;
    }

    .logo img {
        height: 35px; /* réduit encore sur mobile */
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .page-hero p {
        font-size: 1.1rem;
    }
}
