:root {
    --navy: #002d60;
    --navy-deep: #001c3d;
    --campaign-blue: #294b8c;
    --campaign-blue-light: #365fa8;
    --campaign-yellow: #fecc29;
    --campaign-yellow-hover: #ffda58;
    --white: #ffffff;
    --text-muted: #c9d6e8;
    --button-bg: rgba(41, 75, 140, 0.42);
    --button-border: rgba(254, 204, 41, 0.32);
    --button-hover: rgba(54, 95, 168, 0.65);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background: var(--navy-deep);
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--white);
    font-family: 'Outfit', sans-serif;
    background:
        linear-gradient(155deg, rgba(0, 45, 96, 0.94), rgba(0, 20, 43, 0.98)),
        url('assets/fundo.jpg') center / cover fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    isolation: isolate;
}

.background-animation {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.background-animation::before,
.background-animation::after {
    content: '';
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.22;
    animation: float 10s infinite ease-in-out alternate;
}

.background-animation::before {
    top: 22%;
    left: -120px;
    background: var(--campaign-yellow);
}

.background-animation::after {
    right: -100px;
    bottom: -70px;
    background: var(--campaign-blue-light);
    animation-delay: -5s;
}

@keyframes float {
    to { transform: translate(40px, 35px) scale(1.18); }
}

.header-banner {
    position: absolute;
    top: 0;
    left: 50%;
    width: min(100vw, 520px);
    aspect-ratio: 1;
    transform: translateX(-50%);
    z-index: 1;
    background: var(--navy) url('HEADER_NOVO_MOBILE.svg') center / contain no-repeat;
    filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.4));
}

.header-banner::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -42px;
    left: 0;
    height: 150px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 45, 96, 0.18) 22%,
        rgba(0, 28, 61, 0.82) 62%,
        var(--navy-deep) 100%
    );
    pointer-events: none;
}

.container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 500px;
    margin-top: min(100vw, 520px);
    padding: 1rem 1.25rem 2.5rem;
}

.links-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.campaign-footer {
    width: 100%;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
}

.campaign-footer-logo {
    display: block;
    width: min(100%, 210px);
    height: auto;
    object-fit: contain;
}

.campaign-footer p {
    color: var(--text-muted);
    font-size: clamp(0.48rem, 2vw, 0.62rem);
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: 0.035em;
    white-space: nowrap;
}

.link-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 62px;
    padding: 1rem 1.25rem;
    overflow: hidden;
    color: var(--white);
    background: var(--button-bg);
    border: 1px solid var(--button-border);
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(0, 17, 38, 0.22);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    animation: fadeIn 0.5s ease backwards;
}

.link-btn::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--campaign-yellow);
    opacity: 0.9;
}

.link-btn::after {
    content: '';
    display: block;
    width: 26px;
    flex: 0 0 26px;
}

.link-btn i,
.link-icon {
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
}

.link-btn i {
    display: grid;
    place-items: center;
    color: var(--campaign-yellow);
    font-size: 1.25rem;
    text-align: center;
}

.link-icon {
    display: block;
    object-fit: contain;
}

.mt-icon {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.18));
}

.link-btn span {
    flex: 1;
    min-width: 0;
    padding: 0 0.4rem;
    text-align: center;
    white-space: nowrap;
    font-size: 0.9rem;
    line-height: 1.2;
}

.highlight-link span,
.highlight-link-alt span {
    font-size: clamp(0.72rem, 3.2vw, 0.86rem);
    letter-spacing: -0.01em;
}

.link-btn:hover {
    transform: translateY(-3px) scale(1.01);
    background: var(--button-hover);
    border-color: rgba(254, 204, 41, 0.7);
    box-shadow: 0 12px 28px rgba(0, 17, 38, 0.32);
}

.link-btn:active {
    transform: translateY(0) scale(0.985);
}

.link-btn:focus-visible {
    outline: 3px solid var(--campaign-yellow);
    outline-offset: 3px;
}

.highlight-link-alt {
    color: var(--navy-deep);
    background: linear-gradient(135deg, var(--campaign-yellow), #f4b914);
    border-color: transparent;
    box-shadow: 0 10px 28px rgba(254, 204, 41, 0.2);
}

.highlight-link-alt::before {
    background: var(--white);
    opacity: 0.65;
}

.highlight-link-alt i {
    color: var(--navy);
}

.highlight-link-alt:hover {
    color: var(--navy-deep);
    background: linear-gradient(135deg, var(--campaign-yellow-hover), var(--campaign-yellow));
    box-shadow: 0 12px 30px rgba(254, 204, 41, 0.32);
}

.highlight-link {
    background: linear-gradient(135deg, rgba(41, 75, 140, 0.96), rgba(0, 45, 96, 0.92));
    border-color: rgba(254, 204, 41, 0.68);
}

.highlight-link:hover {
    background: linear-gradient(135deg, var(--campaign-blue-light), var(--campaign-blue));
}

.main-link,
.deliveries-link {
    border-color: rgba(254, 204, 41, 0.58);
}

.link-btn:nth-child(1) { animation-delay: 0.05s; }
.link-btn:nth-child(2) { animation-delay: 0.10s; }
.link-btn:nth-child(3) { animation-delay: 0.15s; }
.link-btn:nth-child(4) { animation-delay: 0.20s; }
.link-btn:nth-child(5) { animation-delay: 0.25s; }
.link-btn:nth-child(6) { animation-delay: 0.30s; }
.link-btn:nth-child(7) { animation-delay: 0.35s; }
.link-btn:nth-child(8) { animation-delay: 0.40s; }
.link-btn:nth-child(9) { animation-delay: 0.45s; }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
}

@media (max-width: 350px) {
    .container {
        padding-right: 0.9rem;
        padding-left: 0.9rem;
    }

    .link-btn {
        min-height: 58px;
        padding: 0.9rem 1rem;
    }

    .link-btn span {
        font-size: 0.82rem;
    }

    .highlight-link span,
    .highlight-link-alt span {
        font-size: 0.7rem;
    }
}

@media (min-width: 600px) and (max-width: 991px) {
    .header-banner {
        width: min(100vw, 580px);
    }

    .container {
        max-width: 580px;
        margin-top: min(100vw, 580px);
        padding-right: 2rem;
        padding-left: 2rem;
    }
}

@media (min-width: 992px) {
    body {
        display: block;
    }

    .header-banner {
        position: fixed;
        left: 0;
        width: 50%;
        height: 100vh;
        aspect-ratio: auto;
        transform: none;
        background-size: contain;
        background-position: center;
        box-shadow: 18px 0 55px rgba(0, 10, 24, 0.36);
        filter: none;
    }

    .header-banner::after {
        inset: 0 -1px 0 auto;
        width: 58px;
        height: auto;
        background: linear-gradient(to right, transparent, var(--navy-deep));
    }

    .container {
        width: 50%;
        max-width: none;
        min-height: 100vh;
        margin-top: 0;
        margin-left: 50%;
        padding: 3.5rem 5%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .links-section {
        width: 100%;
        max-width: 520px;
    }

    .campaign-footer {
        max-width: 520px;
        margin-top: 1.5rem;
    }

    .campaign-footer-logo {
        width: min(100%, 180px);
    }

    .link-btn:hover {
        transform: translateX(8px) scale(1.01);
    }
}

@media (prefers-reduced-motion: reduce) {
    .background-animation::before,
    .background-animation::after,
    .link-btn {
        animation: none;
    }

    .link-btn {
        transition-duration: 0.01ms;
    }
}
