/* ============================================
   COMPONENTS - Header, Footer, WhatsApp, SR-Only
   ============================================ */

/* SR Only (accessibility) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* ========== HEADER ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    backdrop-filter: none;
    border-bottom: 1px solid transparent;
    padding: 10px 40px;
    z-index: 1000;
    transition: all 0.3s ease;
}
.header.scrolled {
    background: var(--bg-overlay);
    backdrop-filter: blur(10px);
    border-bottom-color: var(--border-color);
}
.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
}
.logo img {
    height: 65px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}
.header.scrolled .logo img { filter: none; }
.logo:hover { opacity: 0.8; }
.nav {
    display: flex;
    gap: 40px;
    align-items: center;
}
.nav a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    cursor: pointer;
}
.header.scrolled .nav a { color: var(--text-secondary); }
.nav a:hover { color: var(--accent-lime); }
.nav a.active { color: var(--accent-lime); }
.nav-login {
    background: var(--accent-lime);
    color: var(--bg-primary) !important;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    transition: transform 0.3s ease, opacity 0.3s ease !important;
}
.nav-login:hover {
    transform: translateY(-2px);
    opacity: 0.9;
    color: var(--bg-primary) !important;
}

/* Language Switcher */
.lang-switcher { display: flex; align-items: center; gap: 8px; }
.lang-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}
.header.scrolled .lang-btn { color: var(--text-muted); }
.lang-btn:hover { color: var(--text-secondary); background: var(--lime-soft); }
.lang-btn.active { color: var(--accent-lime); background: var(--lime-soft); }
.lang-separator { color: rgba(255, 255, 255, 0.3); font-weight: 300; }
.header.scrolled .lang-separator { color: var(--text-faint); }

/* Burger Menu */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 10px;
}
.burger span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}
.header.scrolled .burger span { background: var(--accent-lime); }

/* ========== FOOTER ========== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 60px 40px 30px;
}
.footer-content { max-width: 1400px; margin: 0 auto; text-align: left; }
.footer-section { text-align: left; }
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-section h3, .footer-section h4 { margin-bottom: 16px; }
.footer-logo-img { height: 65px; width: auto; display: block; margin-bottom: 12px; }
.footer-description { color: var(--text-secondary); line-height: 1.6; font-size: 0.95rem; }
.footer-title { color: var(--accent-lime); font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--text-secondary); text-decoration: none; transition: all 0.3s ease; font-size: 0.95rem; cursor: pointer; }
.footer-links a:hover { color: var(--accent-lime); padding-left: 5px; }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; color: var(--text-secondary); font-size: 0.95rem; }
.footer-contact svg { color: var(--accent-lime); flex-shrink: 0; }
.footer-contact a { color: var(--text-secondary); text-decoration: none; transition: color 0.3s ease; }
.footer-contact a:hover { color: var(--accent-lime); }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 8px;
    background: var(--lime-soft); color: var(--accent-lime);
    font-size: 1.2rem; transition: all 0.3s ease;
}
.footer-social a:hover { background: var(--accent-lime); color: var(--bg-primary); transform: translateY(-2px); }
.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 20px;
}
.footer-copyright, .footer-legal { color: var(--text-muted); font-size: 0.9rem; }

/* ========== WHATSAPP BUTTON ========== */
.whatsapp-btn {
    position: fixed; bottom: 100px; right: 30px;
    width: 60px; height: 60px; background: #25D366; color: #ffffff;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999; transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.whatsapp-btn:hover { transform: scale(1.1) translateY(-3px); box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5); }

/* ========== TARTEAUCITRON ========== */
span#tarteaucitronDisclaimerAlert { overflow: auto; }

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .header { padding: 15px 20px; }
    .header-content { justify-content: space-between; }
    .nav {
        position: fixed; top: 60px; left: 0; right: 0;
        background: var(--bg-primary);
        flex-direction: column; padding: 30px; gap: 20px;
        transform: translateY(-120%); opacity: 0; visibility: hidden;
        transition: all 0.3s ease;
        border-bottom: 1px solid var(--border-color); z-index: 999;
    }
    .nav.open { transform: translateY(0); opacity: 1; visibility: visible; }
    .nav a { color: var(--text-primary); }
    .nav a:hover, .nav a.active { color: var(--accent-lime); }
    .lang-btn { color: var(--text-muted); }
    .lang-separator { color: var(--text-faint); }
    .burger { display: flex; }
    .nav-login { width: 100%; text-align: center; }
    .footer { padding: 40px 20px 20px; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .whatsapp-btn { width: 52px; height: 52px; bottom: 90px; right: 20px; font-size: 1.5rem; }
}
