/* =========================================================
   Airshow Display — Footer
   ========================================================= */

.ad-footer-scope {
    --ad-red: #c12033;
    --ad-red-dark: #4E0102;
    --ad-dark: #0f1114;
    --ad-dark-2: #171C1A;
    --ad-dark-3: #282d32;
    --ad-light: #f0f9ff;
    --ad-muted: rgba(240, 249, 255, 0.55);
    --ad-border: rgba(240, 249, 255, 0.08);
}

.ad-footer-scope *,
.ad-footer-scope *::before,
.ad-footer-scope *::after {
    box-sizing: border-box;
}

/* ===== ZONE 1 — Bannière CTA ===== */
.ad-cta-banner {
    position: relative;
    min-height: 380px;
    background: var(--ad-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 100%;
}

.ad-cta-banner-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
    animation: adKenburns 20s ease-in-out infinite alternate;
}

@keyframes adKenburns {
    from { transform: scale(1); }
    to   { transform: scale(1.08); }
}

.ad-cta-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(193, 32, 51, 0.85) 0%, rgba(15, 17, 20, 0.75) 60%, rgba(15, 17, 20, 0.95) 100%);
    z-index: 1;
}

.ad-cta-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(193, 32, 51, 0.3) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(193, 32, 51, 0.2) 0%, transparent 40%);
    pointer-events: none;
    z-index: 1;
}

.ad-runway {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--ad-red) 20%, var(--ad-red) 80%, transparent);
    opacity: 0.7;
    z-index: 2;
}

.ad-cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    padding: 60px 20px;
}

.ad-cta-eyebrow {
    display: inline-block;
    font-family: 'Barlow Condensed', 'Antonio', sans-serif;
    font-size: 14px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--ad-light);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.ad-cta-title {
    font-family: 'Barlow Condensed', 'Antonio', sans-serif;
    font-size: 56px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    margin: 0 0 16px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.ad-cta-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 32px;
    line-height: 1.6;
}

.ad-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.ad-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    line-height: 1;
}

.ad-btn-primary {
    background: var(--ad-red);
    color: #fff;
}
.ad-btn-primary:hover {
    background: var(--ad-red-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(193, 32, 51, 0.4);
}

.ad-btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
}
.ad-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
    transform: translateY(-2px);
}

.ad-cta-stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.ad-cta-stats span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ad-cta-stats strong {
    font-family: 'Barlow Condensed', 'Antonio', sans-serif;
    font-size: 20px;
    color: #fff;
}

.ad-cta-stats .ad-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px #4ade80;
    animation: adPulse 2s ease-in-out infinite;
}

@keyframes adPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ===== ZONE 2 — Grille principale ===== */
.ad-footer-main {
    background: var(--ad-dark);
    padding: 70px 0 40px;
    position: relative;
    color: var(--ad-light);
    width: 100%;
}

.ad-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.ad-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 50px;
}

/* Colonne Brand */
.ad-brand-col .ad-logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 16px;
    text-decoration: none;
}

.ad-logo-img {
    height: 60px;
    width: auto;
    display: block;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.ad-brand-col .ad-logo:hover .ad-logo-img {
    transform: translateY(-2px);
    filter: drop-shadow(0 6px 14px rgba(193, 32, 51, 0.4));
}

.ad-brand-tagline {
    color: var(--ad-muted);
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 24px;
}

.ad-brand-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.ad-lang-switch {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--ad-border);
    border-radius: 6px;
    overflow: hidden;
}
.ad-lang-switch a,
.ad-lang-switch button {
    background: transparent;
    border: none;
    color: var(--ad-muted);
    padding: 8px 12px;
    font-size: 13px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}
.ad-lang-switch .active {
    background: var(--ad-red);
    color: #fff;
}
.ad-lang-switch a:hover:not(.active),
.ad-lang-switch button:hover:not(.active) {
    color: #fff;
}

/* Colonnes de liens */
.ad-col-title {
    font-family: 'Barlow Condensed', 'Antonio', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 20px;
    position: relative;
    padding-bottom: 10px;
}
.ad-col-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--ad-red);
}

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

.ad-col-list a {
    color: var(--ad-muted);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ad-col-list a::before {
    content: "›";
    color: var(--ad-red);
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.2s ease;
}

.ad-col-list a:hover {
    color: #fff;
    padding-left: 4px;
}
.ad-col-list a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* ===== ZONE 3 — Barre basse ===== */
.ad-runway-divider {
    height: 1px;
    background: var(--ad-border);
    margin: 0;
    position: relative;
}
.ad-runway-divider::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 3px;
    background: var(--ad-red);
    border-radius: 3px;
}

.ad-footer-bottom {
    background: var(--ad-dark);
    padding: 24px 0;
}

.ad-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.ad-copyright {
    color: var(--ad-muted);
    font-size: 13px;
    margin: 0;
}
.ad-copyright a {
    color: var(--ad-light);
    text-decoration: none;
    transition: color 0.2s;
}
.ad-copyright a:hover {
    color: var(--ad-red);
}

.ad-socials {
    display: flex;
    gap: 10px;
}

.ad-socials a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--ad-light);
    text-decoration: none;
    font-size: 16px;
    border: 1px solid var(--ad-border);
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.25s ease;
}

.ad-socials a:hover {
    background: var(--ad-red);
    border-color: var(--ad-red);
    color: #fff;
    transform: translateY(-3px) rotate(-8deg);
    box-shadow: 0 6px 16px rgba(193, 32, 51, 0.4);
}

.ad-tagline-mini {
    color: var(--ad-muted);
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-style: italic;
}

.ad-tagline-mini i {
    color: var(--ad-red);
    animation: adFly 3s ease-in-out infinite;
}

@keyframes adFly {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(4px); }
}

/* Back to top */
.ad-back-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--ad-red);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(193, 32, 51, 0.5);
    font-size: 18px;
    transition: all 0.3s;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
}
.ad-back-top.visible {
    opacity: 1;
    pointer-events: auto;
}
.ad-back-top:hover {
    background: var(--ad-red-dark);
    color: #fff;
    transform: translateY(-4px);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .ad-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    .ad-cta-title { font-size: 40px; }
}

@media (max-width: 600px) {
    .ad-footer-grid {
        grid-template-columns: 1fr;
    }
    .ad-cta-title { font-size: 32px; }
    .ad-cta-eyebrow { font-size: 11px; letter-spacing: 3px; }
    .ad-cta-stats { flex-direction: column; gap: 12px; }
    .ad-bottom-flex { flex-direction: column; text-align: center; }

    /* Accordéon mobile pour les colonnes de liens */
    .ad-col-links .ad-col-title {
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 0;
        padding-bottom: 16px;
    }
    .ad-col-links .ad-col-title::after {
        display: none;
    }
    .ad-col-links .ad-col-title::before {
        content: "+";
        order: 2;
        font-size: 20px;
        color: var(--ad-red);
    }
    .ad-col-links {
        border-bottom: 1px solid var(--ad-border);
        padding-bottom: 16px;
    }
    .ad-col-list {
        display: none;
        padding-top: 12px;
    }
    .ad-col-links.open .ad-col-list {
        display: flex;
    }
    .ad-col-links.open .ad-col-title::before {
        content: "−";
    }
}
