/*
|--------------------------------------------------------------------------
| Footer
|--------------------------------------------------------------------------
*/

.site-footer {
    background: var(--blue-900);
    color: var(--white);
    padding: var(--space-3xl) var(--space-2xl) 36px;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

/* Logo is white by default — no filter needed on dark footer */

.footer-brand p {
    font-size: var(--text-md);
    color: rgba(255, 255, 255, 0.35);
    line-height: 1.7;
    margin-top: 14px;
    max-width: 100%;
}

.footer-pictos {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 18px;
}

.footer-pictos img {
    height: 70px;
    width: auto;
    opacity: 0.5;
}

/* Newsletter form */
.newsletter-form {
    margin-top: 20px;
    max-width: 280px;
}

.newsletter-title {
    font-size: var(--text-sm);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.newsletter-input-group {
    display: flex;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.newsletter-input-group:focus-within {
    border-color: rgba(255, 255, 255, 0.4);
}

.newsletter-input-group input[type="email"] {
    flex: 1;
    background: rgba(255, 255, 255, 0.06);
    border: none;
    padding: 10px 12px;
    font-size: var(--text-sm);
    color: var(--white);
    outline: none;
    font-family: inherit;
}

.newsletter-input-group input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.newsletter-input-group button {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    padding: 0 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.newsletter-input-group button svg {
    width: 18px;
    height: 18px;
    stroke: rgba(255, 255, 255, 0.5);
    transition: stroke 0.2s ease;
}

.newsletter-input-group button:hover {
    background: rgba(255, 255, 255, 0.18);
}

.newsletter-input-group button:hover svg {
    stroke: var(--white);
}

.newsletter-consent {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 10px;
    cursor: pointer;
}

.newsletter-consent input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    min-width: 16px;
    height: 16px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 3px;
    background: transparent;
    cursor: pointer;
    margin-top: 2px;
    position: relative;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.newsletter-consent input[type="checkbox"]:checked {
    background: var(--blue-500, #3b82f6);
    border-color: var(--blue-500, #3b82f6);
}

.newsletter-consent input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 5px;
    height: 9px;
    border: solid var(--white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.newsletter-consent span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
    line-height: 1.4;
}

.newsletter-consent a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.newsletter-consent a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.footer-col h5 {
    font-size: var(--text-sm);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col a {
    display: block;
    font-size: var(--text-md);
    color: rgba(255, 255, 255, 0.35);
    text-decoration: none;
    margin-bottom: var(--space-lg);
    transition: var(--transition);
}

.footer-col a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.2);
}

.footer-legal-links {
    display: flex;
    gap: 24px;
}

.footer-legal-links a {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.2);
    text-decoration: none;
    transition: var(--transition);
}

.footer-legal-links a:hover {
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
    }
}

@media (max-width: 540px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
        text-align: center;
    }

    .footer-legal-links {
        justify-content: center;
        gap: 16px;
    }

    .footer-pictos img {
        height: 50px;
    }
}