
/* =========================================================
   ApcZando — Footer Premium V2
   Palette alignée sur le nouveau header :
   jaune #ffc515 / bleu #087cf0 / vert #159447
   ========================================================= */

body{
    font-family: Arial, Helvetica, sans-serif;
}

.dv-footer {
    --apcz-yellow: #ffc515;
    --apcz-yellow-dark: #f5b900;
    --apcz-blue: #087cf0;
    --apcz-blue-dark: #0068d9;
    --apcz-green: #159447;
    --apcz-text: #171717;
    --apcz-muted: #6c7280;
    --apcz-white: #ffffff;

    position: relative;
    margin-top: 55px;
    padding: 0 20px 0;
    background: #171717;
    color: #fff;
    overflow: visible;
    font-family: Arial, Helvetica, sans-serif;
}

.dv-footer *,
.dv-footer *::before,
.dv-footer *::after {
    box-sizing: border-box;
}

.dv-footer-shell {
    position: relative;
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
}

/* Barre jaune : rappel direct de la première barre du header */
.dv-footer-top-line {
    height: 7px;
    width: 100%;
    background: var(--apcz-yellow);
    border-radius: 0 0 5px 5px;
}

/* Newsletter */
.dv-newsletter {
    position: relative;
    margin: 34px 0 46px;
    padding: 28px 32px;
    border-radius: 10px;
    background: var(--apcz-yellow);
    color: var(--apcz-text);
    border: 1px solid rgba(0, 0, 0, .08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
    display: grid;
    grid-template-columns: 1fr minmax(380px, 520px);
    gap: 32px;
    align-items: center;
}

.dv-news-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 7px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: white;
}

.dv-news-title {
    margin: 0 0 7px;
    color: #111;
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    font-weight: 800;
    letter-spacing: -.025em;
}

.dv-news-text {
    margin: 0;
    max-width: 650px;
    color: #3d3d3d;
    line-height: 1.55;
    font-size: .92rem;
}

.dv-news-form {
    display: flex;
    gap: 8px;
    width: 100%;
}

.dv-news-input {
    min-width: 0;
    flex: 1;
    height: 50px;
    padding: 0 16px;
    border: 1px solid #dedede;
    border-radius: 7px;
    outline: none;
    background: #fff;
    color: #222;
    font-size: .94rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .08);
}

.dv-news-input::placeholder {
    color: #858b94;
}

.dv-news-input:focus {
    border-color: var(--apcz-blue);
    box-shadow: 0 0 0 3px rgba(8, 124, 240, .16);
}

.dv-news-button {
    height: 50px;
    padding: 0 22px;
    border: 0;
    border-radius: 7px;
    background: var(--apcz-blue);
    color: #fff;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    transition: .2s ease;
    box-shadow: 0 4px 12px rgba(8, 124, 240, .22);
}

.dv-news-button:hover {
    background: var(--apcz-blue-dark);
    transform: translateY(-1px);
}

/* Messages newsletter */
.dv-news-alert {
    position: relative;
    margin: 24px 0 0;
    padding: 11px 15px;
    border-radius: 7px;
    text-align: center;
    font-size: .88rem;
    font-weight: 650;
}

.dv-news-alert span {
    display: inline-grid;
    place-items: center;
    width: 21px;
    height: 21px;
    margin-right: 5px;
    border-radius: 50%;
    font-weight: 900;
}

.dv-news-success {
    background: #eaf8ef;
    color: #126b34;
    border: 1px solid #c9ebd4;
}

.dv-news-success span {
    background: #d2f1dc;
}

.dv-news-warning {
    background: #fff8e5;
    color: #8a6200;
    border: 1px solid #f5df9e;
}

.dv-news-warning span {
    background: #ffedbd;
}

.dv-news-danger {
    background: #fff0f0;
    color: #a32929;
    border: 1px solid #f0c8c8;
}

.dv-news-danger span {
    background: #ffd9d9;
}

/* Contenu principal */
.dv-footer-main {
    padding: 0 0 34px;
    display: grid;
    grid-template-columns: 1.45fr 1fr 1fr 1fr;
    gap: 44px;
}

.dv-footer-brand {
    padding-right: 24px;
}

.dv-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: #fff;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -.03em;
}

.dv-footer-logo-mark {
    display: grid;
    place-items: center;
    width: 39px;
    height: 39px;
    border-radius: 7px;
    background: var(--apcz-yellow);
    color: var(--apcz-blue);
    font-size: 1.05rem;
    font-weight: 900;
}

.dv-footer-brand p {
    margin: 0;
    max-width: 350px;
    color: #a9a9a9;
    line-height: 1.65;
    font-size: .9rem;
}

.dv-footer-heading {
    margin: 3px 0 15px;
    padding-bottom: 9px;
    color: var(--apcz-yellow);
    font-size: .86rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .07em;
    border-bottom: 2px solid rgba(255, 197, 21, .22);
}

.dv-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dv-footer-links li {
    margin-bottom: 10px;
}

.dv-footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #bdbdbd;
    text-decoration: none;
    font-size: .9rem;
    transition: .18s ease;
}

.dv-footer-links a::before {
    content: "›";
    color: var(--apcz-yellow);
    font-size: 1.05rem;
    font-weight: 800;
}

.dv-footer-links a:hover {
    color: #fff;
    transform: translateX(3px);
}

/* Barre inférieure */
.dv-footer-bottom {
    min-height: 64px;
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: #8f8f8f;
    font-size: .82rem;
}

.dv-footer-bottom strong {
    color: #d7d7d7;
}

.dv-footer-tagline {
    color: var(--apcz-yellow);
    font-weight: 700;
    white-space: nowrap;
}

/* Responsive */
@media (max-width: 900px) {
    .dv-newsletter {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .dv-footer-main {
        grid-template-columns: 1.2fr 1fr 1fr;
    }

    .dv-footer-brand {
        grid-column: 1 / -1;
        padding-right: 0;
    }
}

@media (max-width: 680px) {
    .dv-footer {
        margin-top: 42px;
        padding: 0 13px;
    }

    .dv-newsletter {
        margin: 25px 0 34px;
        padding: 22px 18px;
        border-radius: 9px;
    }

    .dv-news-form {
        flex-direction: column;
    }

    .dv-news-input,
    .dv-news-button {
        width: 100%;
    }

    .dv-footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 28px 20px;
    }

    .dv-footer-brand {
        grid-column: 1 / -1;
    }

    .dv-footer-bottom {
        flex-direction: column;
        text-align: center;
        justify-content: center;
        gap: 7px;
    }

    .dv-footer-tagline {
        white-space: normal;
    }
}


@media (max-width: 680px) {
    .dv-news-input {
        width: 100%;
        height: 50px !important;
        min-height: 50px !important;
        max-height: 50px;
        padding: 0 16px;
        line-height: 50px;
        box-sizing: border-box;
        display: block;
    }

    .dv-news-button {
        width: 100%;
        height: 50px !important;
        min-height: 50px !important;
    }
}
