/* Footer — 3 colonnes desktop | maquette mobile capture */
.custom-footer {
    --footer-accent: #ffb70e;
    --footer-muted: #d8e8ef;
    background: linear-gradient(135deg, #010b0f 0%, #0e4657f3 100%);
    color: #ffffff;
    position: relative;
    padding: 100px 0 20px;
    font-family: 'Poppins', 'Inter', sans-serif;
    overflow: hidden;
}

.footer-content {
    position: relative;
    z-index: 2;
}

/* Vague blanche en haut */
.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
    pointer-events: none;
}

.footer-wave svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.footer-wave .shape-fill {
    fill: #ffffff;
}

/* ===== DESKTOP (grande taille, 3 colonnes) ===== */
.name-text {
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 0;
    color: #ffffff;
}

.surname-text {
    color: var(--footer-accent);
}

.position-text {
    font-size: 0.9rem;
    color: var(--footer-muted);
    margin-bottom: 0;
}

.footer-divider {
    width: 50px;
    border: 2px solid #ffffff;
    opacity: 1;
    margin: 15px 0;
}

.contact-list {
    margin: 0;
    padding: 0;
}

.contact-list li {
    margin-bottom: 8px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
}

.contact-list a {
    color: #ffffff;
    text-decoration: none;
}

.contact-list a:hover {
    color: var(--footer-accent);
}

.contact-list i {
    color: var(--footer-accent);
    flex-shrink: 0;
}

.footer-avatar-wrapper {
    width: 200px;
    height: 200px;
    background: #ffffff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 7px solid var(--footer-accent);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    padding: 12px;
}

.footer-profile-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-logo-col {
    padding-top: 1rem;
}

.brand-logo-circle {
    width: 50px;
    height: 50px;
    background: var(--footer-accent);
    border: none;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    margin-bottom: 15px;
    box-shadow: 0 0 18px rgba(244, 200, 97, 0.45);
}

.brand-name {
    font-weight: 700;
    font-size: 1.5rem;
    color: #ffffff;
    letter-spacing: 0.05em;
    margin-bottom: 0.35rem;
}

.clean-text {
    color: var(--footer-accent);
}

.tagline {
    font-size: 0.8rem;
    color: var(--footer-muted);
    margin-bottom: 0;
}

.social-icons {
    margin-top: 15px;
    display: flex;
    justify-content: flex-end;
    gap: 18px;
    color: #ffffff;
}

.social-icons i {
    font-size: 1.25rem;
    cursor: pointer;
    transition: color 0.25s ease;
}

.social-icons a:hover i,
.social-icons i:hover {
    color: var(--footer-accent);
}

.footer-bottom {
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 50px;
    padding-top: 20px;
    text-align: center;
    font-size: 0.8rem;
    color: #666666;
}

.footer-bottom p {
    margin: 0;
}

/* ===== MOBILE — comme la capture ===== */
@media (max-width: 991.98px) {
    .custom-footer {
        padding: 58px 1.15rem 1rem;
    }

    .custom-footer::after {
        content: none;
    }

    .footer-wave svg {
        height: 52px;
    }

    .footer-content.container {
        max-width: 100%;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    /* Grille 2 colonnes : contact | logo — puis marque en pleine largeur */
    .footer-content .row {
        display: grid !important;
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "contact logo"
            "brand brand";
        gap: 0 0.85rem;
        align-items: start !important;
        margin: 0;
    }

    .footer-content .row > .col-lg-4 {
        width: auto !important;
        max-width: none !important;
        flex: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .footer-contact-info {
        grid-area: contact;
        text-align: left !important;
        align-self: start;
        min-width: 0;
    }

    .footer-logo-col {
        grid-area: logo;
        text-align: right !important;
        align-self: start;
        padding-top: 1.75rem;
    }

    .footer-brand {
        grid-area: brand;
        text-align: center !important;
        margin-top: 1.65rem;
        padding-top: 0;
    }

    .footer-divider {
        display: none;
    }

    .name-text {
        font-size: 1.45rem;
        letter-spacing: 0.02em;
        line-height: 1.15;
    }

    .position-text {
        font-size: 0.72rem;
        margin: 0.15rem 0 0.9rem;
        color: #c8c8c8;
    }

    .contact-list li {
        font-size: 0.72rem;
        margin-bottom: 0.45rem;
        gap: 7px;
        align-items: flex-start;
        line-height: 1.35;
    }

    .contact-list i {
        font-size: 0.78rem;
        width: 13px;
        margin-top: 2px;
    }

    .contact-list a {
        border-bottom: 1px solid var(--footer-accent);
        padding-bottom: 1px;
        display: inline;
        word-break: break-all;
    }

    .footer-avatar-wrapper {
        width: 118px;
        height: 118px;
        border-width: 6px;
        padding: 9px;
        margin: 0 0 0 auto;
        box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
    }

    .brand-logo-circle {
        width: 38px;
        height: 38px;
        font-size: 1rem;
        margin-bottom: 0.55rem;
    }

    .brand-name {
        font-size: 1.05rem;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        margin-bottom: 0.35rem;
    }

    .tagline {
        font-size: 0.7rem;
        color: #ffffff;
        margin-bottom: 0.9rem;
        line-height: 1.45;
        padding: 0 0.5rem;
    }

    .social-icons {
        justify-content: center;
        gap: 22px;
        margin-top: 0;
    }

    .social-icons i {
        font-size: 1.15rem;
    }

    .footer-bottom {
        margin-top: 1.35rem;
        padding-top: 0.9rem;
        font-size: 0.68rem;
        color: #555555;
    }
}

.partner-emoji {
    font-size: 1.35rem;
    line-height: 1;
    flex-shrink: 0;
}
