/*
Theme Name: ServAfrica Child
Theme URI: https://servafrica.com
Description: Thème élégant et minimaliste pour ServAfrica
Author: ServAfrica Team
Author URI: https://servafrica.com
Template: astra
Version: 1.0.1
*/

/* ===== VARIABLES & RESET ===== */
:root {
    --sp-text: #111111;
    --sp-accent: #D4AF37;
    --sp-light: #ffffff;
    --sp-border: #e5e5e5;
    --sp-gray: #666666;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 300; line-height: 1.7; color: var(--sp-text);
    background: var(--sp-light); -webkit-font-smoothing: antialiased;
}
/* ===== HEADER ===== */
.site-header {
    background: #fff; border-bottom: 1px solid var(--sp-border);
    position: sticky; top: 0; z-index: 1000; padding: 18px 0;
}
.header-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 40px;
    display: flex; justify-content: space-between; align-items: center;
}
.site-title, .site-logo img {
    font-size: 1.3em; font-weight: 500; letter-spacing: 2.5px;
    text-transform: uppercase; color: var(--sp-text);
}
.site-logo img { max-height: 45px; width: auto; }
.nav-menu { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-menu a {
    font-size: 0.78em; font-weight: 500; letter-spacing: 1.2px;
    text-transform: uppercase; color: var(--sp-text); text-decoration: none;
    position: relative; padding: 6px 0; transition: color 0.3s;
}
.nav-menu a:hover, .nav-menu .current-menu-item a { color: var(--sp-accent); }
.nav-menu a::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0;
    height: 1.5px; background: var(--sp-accent); transition: width 0.3s ease;
}
.nav-menu a:hover::after { width: 100%; }
.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 5px; }
.menu-toggle .bar { width: 24px; height: 2px; background: var(--sp-text); transition: all 0.3s; }

/* ===== FOOTER ===== */
.site-footer { background: #fff; border-top: 1px solid var(--sp-border); padding: 70px 0 30px; margin-top: 90px; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-bottom: 50px; }
.footer-col h4 { font-size: 0.75em; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 22px; color: var(--sp-text); }
.footer-nav { list-style: none; }
.footer-nav li { margin-bottom: 14px; }
.footer-nav a { color: var(--sp-gray); text-decoration: none; font-size: 0.9em; transition: color 0.3s; }
.footer-nav a:hover { color: var(--sp-accent); }
.social-links { display: flex; gap: 15px; margin-top: 10px; }
.social-links a { color: var(--sp-text); font-size: 0.85em; font-weight: 500; letter-spacing: 1px; text-decoration: none; transition: color 0.3s; }
.social-links a:hover { color: var(--sp-accent); }
.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid var(--sp-border); font-size: 0.82em; color: #888; letter-spacing: 0.5px; }

/* ===== TYPOGRAPHIE & GLOBAL ===== */
h1, h2, h3, h4, h5, h6 { font-weight: 400; letter-spacing: 1px; color: var(--sp-text); line-height: 1.3; margin-bottom: 1rem; }
p { color: var(--sp-gray); margin-bottom: 1.5rem; }
a { color: var(--sp-text); transition: color 0.3s; }
a:hover { color: var(--sp-accent); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
    .header-inner { padding: 0 20px; }
    .menu-toggle { display: flex; }
    .main-navigation { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--sp-border); padding: 20px; box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
    .main-navigation.active { display: block; }
    .nav-menu { flex-direction: column; gap: 15px; align-items: flex-start; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-inner { padding: 0 20px; }
}