/**
 * Nouveau Footer avec style contact-info-card
 * 
 * @package ALMetallerie
 * @since 1.0.0
 */

/* ============================================
   FOOTER NOUVEAU - STYLE CARTES CONTACT
   ============================================ */

.site-footer-new {
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
    position: relative;
    overflow: hidden;
    background: #191919;
}

/* Contenu principal - 3 cartes */
.footer-new-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    /* margin-bottom: var(--spacing-2xl); */
}

/* Style des cartes - inspiré de contact-info-card */
.footer-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* justify-content: center; */
    background: rgba(34, 34, 34, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(240, 139, 24, 0.2);
    position: relative;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out backwards;
}

.footer-card:nth-child(1) {
    animation-delay: 0.1s;
}

.footer-card:nth-child(2) {
    animation-delay: 0.2s;
}

.footer-card:nth-child(3) {
    animation-delay: 0.3s;
}

.footer-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(240, 139, 24, 0.5);
    box-shadow: 0 10px 30px rgba(240, 139, 24, 0.3);
    transform: translateY(-3px);
}

/* Header des cartes */
.footer-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px dashed rgba(240, 139, 24, 0.2);
}

.footer-card-icon-main {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.footer-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Items dans les cartes */
.footer-card-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-card-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.footer-card-item:hover {
    background: rgba(240, 139, 24, 0.1);
    border-color: var(--color-primary);
}

.footer-card-item-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.footer-card-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.footer-card-item-label {
    font-size: 0.85rem;
    color: var(--color-text);
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.footer-card-item-value {
    font-size: 1.1rem;
    color: var(--color-text-light);
    font-weight: 500;
    line-height: 1.5;
}

/* Animations spécifiques par type - utilise animations de components.css */
.footer-phone:hover .footer-card-item-icon {
    animation: shake 0.5s ease;
}

.footer-email:hover .footer-card-item-icon {
    animation: pulse 0.5s ease;
}

.footer-address:hover .footer-card-item-icon {
    animation: bounce 0.5s ease;
}

.footer-hours:hover .footer-card-item-icon {
    animation: rotate 0.6s ease;
}

/* Animations shake, bounce, pulse, rotate, fadeInUp déplacées vers components.css */

/* Badge artisan */
.footer-badge-item {
    display: flex;
    justify-content: center;
    margin-top: 0.5rem;
}

.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, rgba(240, 139, 24, 0.2), rgba(230, 126, 15, 0.2));
    border-radius: 50px;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-badge svg {
    color: var(--color-primary);
}

/* Carte Réseaux sociaux */
.footer-social-desc {
    font-size: 1rem;
    color: var(--color-text-light);
    opacity: 0.8;
    margin-bottom: 1.5rem;
    text-align: center;
}

.footer-social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.footer-social-link {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.footer-social-link:hover {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    transform: translateY(-5px) rotate(5deg);
    border-color: var(--color-primary);
    box-shadow: 0 10px 30px rgba(240, 139, 24, 0.4);
}

/* Séparateur décoratif */
.footer-separator {
    width: 80px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(240, 139, 24, 0.3), transparent);
    margin: 0 auto var(--spacing-2xl) auto;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

@keyframes gradient-shift {
    0% {
        opacity: 0.5;
    }

    25% {
        opacity: 0.7;
    }

    50% {
        opacity: 0.9;
    }

    75% {
        opacity: 0.7;
    }

    100% {
        opacity: 0.5;
    }
}

/* Bas du footer */
.footer-new-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* padding-top: var(--spacing-lg); */
}

.footer-copyright {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin: 0;
}

.footer-copyright strong {
    color: var(--color-primary);
}

.footer-bottom-links {
    display: flex;
    gap: 1rem;
    align-items: center;
    border: none !important;
    text-decoration: none !important;
}

.footer-bottom-links::after,
.footer-bottom-links::before {
    display: none !important;
}

.footer-bottom-links a {
    color: var(--color-text-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--color-primary);
}

.footer-bottom-links .separator {
    color: rgba(255, 255, 255, 0.3);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1200px) {
    .footer-new-content {
        gap: 1.5rem;
    }

    .footer-card {
        padding: 1.5rem;
    }
}

@media (max-width: 968px) {
    .footer-new-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-new-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .site-footer-new {
        padding: var(--spacing-2xl) 0 var(--spacing-lg);
    }

    .footer-card {
        padding: 1.5rem;
    }

    .footer-card-title {
        font-size: 1.2rem;
    }

    .footer-card-item-value {
        font-size: 1rem;
    }
}

/* Mobile - style existant conservé */
.footer-mobile {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-mobile-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-cta-mobile-btn {
    position: relative;
    display: inline-block;
    cursor: pointer;
    outline: none;
    border: 0;
    vertical-align: middle;
    text-decoration: none;
    background: transparent;
    padding: 0;
    font-size: inherit;
    font-family: inherit;
    width: 100%;
    height: auto;
}

.footer-cta-mobile-btn .circle {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: relative;
    display: block;
    margin: 0;
    width: 3rem;
    height: 3rem;
    background: var(--color-primary);
    border-radius: 1.625rem;
}

.footer-cta-mobile-btn .circle .icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.footer-cta-mobile-btn .button-text {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.75rem 0;
    margin: 0 0 0 1.85rem;
    color: var(--color-text-light);
    font-weight: 700;
    line-height: 1.6;
    text-align: center;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.footer-cta-mobile-btn:hover .circle {
    width: 100%;
}

.footer-cta-mobile-btn:hover .button-text {
    color: white;
}

.footer-mobile-bottom {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 2px dashed rgba(240, 139, 24, 0.2);
}

.footer-mobile-copyright {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

.footer-mobile-links {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.footer-mobile-links a {
    color: var(--color-text-light);
    text-decoration: none;
}

.footer-mobile-links a:hover {
    color: var(--color-primary);
}

/* ============================================
   GOOGLE REVIEWS WIDGET
   ============================================ */

.google-reviews-widget {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 45px;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.google-reviews-widget:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(240, 139, 24, 0.3);
}

.google-reviews-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.google-icon {
    flex-shrink: 0;
}

.google-stars {
    display: flex;
    align-items: center;
    gap: 2px;
}

.google-stars .star {
    flex-shrink: 0;
}

.google-rating {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    margin-left: 4px;
}

.google-count {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}