/* ==========================================================================
   1. VARIABLES & RESET
   ========================================================================== */
:root {
    --primary: #95c11f;           /* Vert Bocatech */
    --primary-dark: #7aa118;
    --dark: #000000;              /* Noir Bocatech */
    --secondary: #64748b;         /* Gris Ardoise texte */
    --light: #f8fafc;             /* Fond Gris très clair */
    --white: #ffffff;
    --header-height: 80px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: var(--secondary);
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ==========================================================================
   2. HEADER & NAVIGATION
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-img {
    height: 45px;
    width: auto;
    display: block;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary);
}

/* ==========================================================================
   3. BOUTONS & ÉLÉMENTS UI
   ========================================================================== */
.btn-primary {
    background: var(--primary);
    color: var(--dark) !important;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: var(--shadow);
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background: var(--dark);
    color: var(--primary) !important;
    transform: translateY(-1px);
}

/* ==========================================================================
   4. SECTIONS PRINCIPALES (HERO, FEATURES, CONTACT)
   ========================================================================== */
.main-content {
    flex: 1 0 auto;
    padding-top: var(--header-height);
}

.hero-section {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(180deg, #f9fff0 0%, #ffffff 100%);
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

/* Features */
.features-section { padding: 80px 0; }
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.feature-card {
    padding: 3rem 2rem;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    transition: all 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

/* Contact */
.contact-section { padding: 100px 0; background-color: var(--light); }
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
}
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 700; color: var(--dark); }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}
.full-width { width: 100%; display: flex; justify-content: center; }

/* ==========================================================================
   5. PAGES DE CONTENU (SINGLE-PAGE)
   ========================================================================== */
.single-page { padding: 120px 0 80px; max-width: 850px; }
.page-header { margin-bottom: 3.5rem; border-bottom: 1px solid #f1f5f9; padding-bottom: 1.5rem; }
.page-content h2, .page-content h3 { color: var(--dark); margin-top: 2.5rem; }
.page-content ul li {
    list-style: none;
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}
.page-content ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* ==========================================================================
   6. FOOTER (CORRIGÉ POUR TON HTML SPÉCIFIQUE)
   ========================================================================== */
.main-footer {
    background-color: var(--light);
    padding: 4rem 0 0;
    border-top: 1px solid #e2e8f0;
    margin-top: 5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 3rem;
}

/* Colonne Branding */
.footer-logo-img {
    height: 45px;
    width: auto;
    margin-bottom: 1rem;
    display: block;
}

.footer-tagline {
    font-size: 0.95rem;
    color: var(--secondary);
    max-width: 320px;
    margin-bottom: 1.5rem;
}

.social-links a {
    text-decoration: none;
    color: var(--secondary);
    font-size: 0.85rem;
    margin-right: 1rem;
    font-weight: 600;
}

.social-links a:hover {
    color: var(--primary);
}

/* Colonnes Navigation */
.footer-nav h4 {
    color: var(--dark);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.footer-nav ul {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 0.75rem;
}

.footer-nav a {
    text-decoration: none;
    color: var(--secondary);
    font-size: 0.95rem;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: var(--primary);
}

/* Barre de Copyright */
.footer-bottom {
    background-color: var(--white);
    padding: 2rem 0;
    border-top: 1px solid #e2e8f0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--secondary);
}

/* ==========================================================================
   7. RESPONSIVE
   ========================================================================== */
@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .hero-section h1 { font-size: 2.5rem; }
    .nav-links { display: none; }
}