/* assets/css/amp_footer.css */
/* Pied de page commun avec logos projet et partenaires */

.amp-footer {
    background: linear-gradient(180deg, rgba(248, 250, 252, 0), #f8fafc 30%, #eef6f9);
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.amp-footer-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -12px 36px rgba(15, 23, 42, 0.08);
    padding: 1.25rem 1.4rem 1rem;
}

.amp-footer-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.amp-footer-brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
}

.amp-footer-mark {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f766e, #0284c7);
    color: #fff;
    flex: 0 0 auto;
    box-shadow: 0 10px 22px rgba(2, 132, 199, 0.22);
}

.amp-footer-title {
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    line-height: 1.15;
    font-size: 1.02rem;
}

.amp-footer-subtitle {
    color: #64748b;
    font-size: 0.82rem;
    margin-top: 0.15rem;
}

.amp-footer-meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.65rem;
    flex-wrap: wrap;
    color: #475569;
    font-size: 0.82rem;
}

.amp-footer-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #f1f5f9;
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: 999px;
    padding: 0.4rem 0.65rem;
}

.amp-footer-section {
    padding: 0.9rem 0 0.4rem;
}

.amp-footer-section + .amp-footer-section {
    border-top: 1px dashed rgba(15, 23, 42, 0.10);
}

.amp-footer-section-title {
    text-align: center;
    font-weight: 800;
    color: #334155;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.70rem;
    margin-bottom: 0.65rem;
}

.amp-footer-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.05rem;
    flex-wrap: wrap;
}

.amp-footer-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: 14px;
    padding: 0.38rem 0.55rem;
    min-height: 58px;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}

.amp-footer-logo-project {
    min-height: 78px;
    max-width: 100%;
}

.amp-footer-logo-partner {
    min-height: 58px;
}

.amp-footer-logo-item img {
    display: block;
    width: auto;
    object-fit: contain;
}

.amp-footer-logo-project img {
    max-height: 72px;
    max-width: min(100%, 1100px);
}

.amp-footer-logo-partner img {
    max-height: 58px;
    max-width: min(100%, 1100px);
}

.amp-footer-empty {
    margin: 1rem auto 0.5rem;
    max-width: 900px;
    text-align: center;
    background: #f8fafc;
    border: 1px dashed rgba(15, 23, 42, 0.18);
    color: #64748b;
    border-radius: 16px;
    padding: 0.8rem;
    font-size: 0.86rem;
}

.amp-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0.8rem;
    margin-top: 0.4rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.amp-footer-credit {
    color: #64748b;
    font-size: 0.82rem;
    text-align: center;
}

@media (max-width: 768px) {
    .amp-footer-card {
        padding: 1rem 0.85rem;
        border-radius: 18px 18px 0 0;
    }

    .amp-footer-main {
        align-items: flex-start;
        flex-direction: column;
    }

    .amp-footer-meta {
        justify-content: flex-start;
    }

    .amp-footer-logo-project img {
        max-height: 54px;
    }

    .amp-footer-logo-partner img {
        max-height: 42px;
    }
}

@media print {
    .amp-footer {
        background: #fff !important;
    }

    .amp-footer-card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
}
