/* #region Base Styles */
.layout-footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    color: #e8e8e8;
    padding: 4rem 0 0;
    border-top: 1px solid rgba(248, 152, 0, 0.15);
    font-family: var(--font-family-base);
}

.layout-footer * {
    font-family: var(--font-family-base);
    position: relative;
    overflow: visible;
    min-height: fit-content;
}

.layout-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(248, 152, 0, 0.5), transparent);
}

.layout-footer .footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
    margin-bottom: 3rem;
}

/* #endregion */

/* #region Brand Section */
.layout-footer .brand {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.layout-footer .brand img {
    height: 80px;
    width: 80px;
    object-fit: contain;
    margin-bottom: var(--spacing-sm);
    filter: brightness(1.1);
}

.layout-footer .brand strong {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-secondary);
    letter-spacing: -0.5px;
    margin-bottom: 0.25rem;
    display: block;
}

.layout-footer .brand>div {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.layout-footer .brand-tagline {
    color: #b8b8b8;
    font-size: 0.95rem;
    font-weight: 500;
}

.layout-footer .brand-desc {
    margin-top: 0.75rem;
    color: #9a9a9a;
    max-width: 480px;
    font-size: 0.925rem;
    line-height: 1.7;
    font-weight: 400;
}

/* #endregion */

/* #region Navigation & Contact */
.layout-footer nav,
.layout-footer .contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.layout-footer nav strong,
.layout-footer .contact strong {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: var(--color-primary);
}

/* #endregion */

/* #region Links */
.layout-footer a {
    color: #c4c4c4;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
    width: fit-content;
}

.layout-footer a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
    transition: width 0.3s ease;
}

.layout-footer a:hover {
    color: var(--color-primary);
    transform: translateX(4px);
}

.layout-footer a:hover::before {
    width: 100%;
}

.layout-footer .contact a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.layout-footer .contact .footer-logo {
    height: 100px;
    min-height: 0;
    width: auto;
    object-fit: contain;
    margin-top: 1rem;
    margin-right: auto;
    filter: brightness(1.1);
}

/* #endregion */

/* #region Legal Links */
.layout-footer .legal-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 1.25rem var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.layout-footer .legal-links a {
    color: #9a9a9a;
    font-size: 0.825rem;
    font-weight: 500;
    transition: var(--transition-base);
}

.layout-footer .legal-links a:hover {
    color: var(--color-primary);
    transform: none;
}

.layout-footer .legal-sep {
    color: rgba(255, 255, 255, 0.15);
    font-size: 0.75rem;
    user-select: none;
    -webkit-user-select: none;
}

/* #endregion */

/* #region Bottom Section */
.layout-footer .bottom {
    margin-top: 0;
    text-align: center;
    color: #7a7a7a;
    font-size: 0.875rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.75rem var(--spacing-lg);
    background: rgba(0, 0, 0, 0.3);
    font-weight: 500;
    width: 100%;
    display: block;
}

/* #endregion */

/* #region Textes responsive */
/* Par défaut, afficher le texte complet */
.layout-footer .text-short {
    display: none;
}

.layout-footer .text-full {
    display: inline;
}

/* Sur écrans moyens-grands (< 1200px), afficher la version courte */
@media (max-width: 1199px) {
    .layout-footer .text-short {
        display: inline;
    }

    .layout-footer .text-full {
        display: none;
    }
}

/* #endregion */

/* #region Responsive Design */
@media (max-width: 1024px) {
    .layout-footer .footer-inner {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .layout-footer {
        padding: 3rem 0 0;
    }

    .layout-footer .footer-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-bottom: 2rem;
        text-align: center;
        align-items: center;
    }

    .layout-footer .brand {
        align-items: center;
    }

    .layout-footer .brand img {
        height: 70px;
        width: 70px;
    }

    .layout-footer .brand-desc {
        text-align: center;
    }

    .layout-footer nav,
    .layout-footer .contact {
        align-items: center;
    }

    .layout-footer a {
        margin: 0 auto;
    }

    .layout-footer a:hover {
        transform: translateX(0) translateY(-2px);
    }

    .layout-footer .bottom {
        padding: 1.5rem var(--spacing-md);
        font-size: 0.825rem;
        line-height: 1.6;
    }

    .layout-footer .legal-links {
        padding: 1rem var(--spacing-md);
        gap: 0.35rem;
    }

    .layout-footer .legal-links a {
        font-size: 0.75rem;
    }
}

@media (max-width: 360px) {
    .layout-footer {
        padding: 2.5rem 0 0;
    }

    .layout-footer .footer-inner {
        padding: 0 var(--spacing-sm);
        gap: 2rem;
    }

    .layout-footer .bottom {
        padding: 1.25rem var(--spacing-sm);
        font-size: 0.775rem;
    }

    .layout-footer .legal-links {
        flex-direction: column;
        padding: 1rem var(--spacing-sm);
    }

    .layout-footer .legal-sep {
        display: none;
    }
}

@media (max-width: 480px) {
    .layout-footer .brand strong {
        font-size: 1.25rem;
    }

    .layout-footer .brand-desc {
        font-size: 0.875rem;
    }
}

/* #endregion */