/* ================================================
   Footer
   ================================================ */
.footer {
    background: var(--dark1);
    color: var(--white);
    font-family: var(--font-rubik);
}

/* ---- Top ---- */
.footer__top {
    padding: 72px 40px 56px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr;
    gap: 48px;
    align-items: start;
}

/* ---- Brand ---- */
.footer__logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 14px;
}

.footer__logo-img {
    height: 56px;
    width: auto;
    object-fit: contain;
}

.footer__tagline {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    margin: 0 0 28px;
    line-height: 1.6;
}

/* Contact */
.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
}

.footer__contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
}

.footer__contact-item:hover {
    opacity: 0.8;
}

.footer__contact-icon {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s ease;
}

.footer__contact-item:hover .footer__contact-icon {
    background: rgba(252, 176, 90, 0.15);
}

.footer__contact-icon i {
    font-size: 14px;
    color: var(--main-color);
}

.footer__contact-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.footer__contact-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.footer__contact-value {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

/* Socials */
.footer__socials {
    display: flex;
    gap: 10px;
}

.footer__social {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.footer__social:hover {
    background: var(--main-color);
    color: var(--dark1);
    transform: translateY(-2px);
}

/* ---- Colonnes de liens ---- */
.footer__col-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__link {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.60);
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
    display: inline-block;
}

.footer__link:hover {
    color: var(--main-color);
    padding-left: 4px;
}

/* ---- Newsletter ---- */
.footer__newsletter {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.footer__newsletter-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    margin: 0 0 20px;
    line-height: 1.6;
}

.footer__newsletter-form {
    display: flex;
    gap: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    transition: border-color 0.2s ease;
    margin-bottom: 12px;
}

.footer__newsletter-form:focus-within {
    border-color: var(--main-color);
}

.footer__newsletter-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 13px 16px;
    font-family: var(--font-rubik);
    font-size: 13px;
    color: var(--white);
    min-width: 0;
}

.footer__newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.footer__newsletter-btn {
    background: var(--main-color);
    border: none;
    padding: 0 18px;
    cursor: pointer;
    color: var(--dark1);
    font-size: 15px;
    transition: background 0.2s ease;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer__newsletter-btn:hover {
    background: var(--main-color-orange);
    color: var(--white);
}

.footer__newsletter-hint {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.35);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.footer__newsletter-hint i {
    font-size: 11px;
}

/* ---- Bottom ---- */
.footer__bottom {
    padding: 20px 40px;
}

.footer__bottom-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer__copyright {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.40);
}

.footer__legal {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.footer__legal-link {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.40);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer__legal-link:hover {
    color: rgba(255, 255, 255, 0.80);
}

.footer__legal-sep {
    color: rgba(255, 255, 255, 0.20);
    font-size: 12px;
}

/* ---- Responsive ---- */
@media (max-width: 1200px) {
    .footer__container {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 40px;
    }

    .footer__brand {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
        align-items: start;
    }

    .footer__newsletter {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .footer__top {
        padding: 48px 20px 40px;
    }

    .footer__container {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer__brand {
        grid-column: 1 / -1;
        grid-template-columns: 1fr;
    }

    .footer__bottom {
        padding: 20px;
    }

    .footer__bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

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