.site-footer {
    background: var(--primary-color);
    color: #ffffff;
    padding: clamp(60px, 12vh, 110px) 0 clamp(36px, 8vw, 80px);
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary-color);
    z-index: 0;
}

.site-footer > * {
    position: relative;
    z-index: 1;
}

.footer-wrapper {
    width: min(1240px, 92%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) repeat(3, minmax(0, 0.8fr));
    gap: clamp(32px, 4vw, 54px);
    align-items: flex-start;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 1.5rem;
    font-weight: 600;
    text-decoration: none;
    color: #ffffff;
}

.footer-logo i {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: #ffffff;
    font-size: 1.4rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    max-width: 360px;
    font-size: 1rem;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 14px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: background 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    transform: translateY(-3px);
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 18px;
    color: #ffffff;
}

.footer-title {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.26em;
    color: #ffffff !important;
}

.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.footer-contact li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: center;
    color: rgba(255, 255, 255, 0.72);
}

.footer-contact i {
    color: #ffffff;
    font-size: 1rem;
}

.footer-contact a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #ffffff;
}

.footer-hours {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.75);
    margin-top: 12px;
}

.footer-hours__label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #ffffff;
}

.footer-bottom {
    margin-top: clamp(40px, 8vh, 70px);
    padding-top: clamp(24px, 4vh, 36px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    color: rgba(255, 255, 255, 0.6);
    width: min(1240px, 92%);
    margin-left: auto;
    margin-right: auto;
    background: var(--primary-color);
}

.footer-bottom__links {
    display: inline-flex;
    align-items: center;
    gap: 18px;
}

.footer-bottom__links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.95rem;
}

.footer-bottom__links a:hover {
    color: #ffffff;
    transform: translateY(-1px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.8);
    padding-bottom: 2px;
}

/* Evitar mudança para cor primária em qualquer link do footer */
.site-footer a:hover {
    color: #ffffff !important;
}

.app-download__button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    background: var(--primary-color);
    border-radius: 8px;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 180px;
}

.app-download__button:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

@media (max-width: 1024px) {
    .footer-wrapper {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .site-footer {
        padding: clamp(54px, 13vh, 90px) 0 clamp(32px, 10vw, 60px);
    }

    .footer-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-brand,
    .footer-column {
        align-items: center;
        text-align: center;
    }

    .footer-description,
    .footer-contact li {
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-contact li {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .footer-contact i {
        justify-self: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

.whatsapp-float {
    position: fixed;
    right: clamp(18px, 4vw, 32px);
    bottom: clamp(18px, 4vw, 32px);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #25d366;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 18px 40px rgba(37, 211, 102, 0.35);
    z-index: 980;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float__icon {
    font-size: 1.9rem;
    position: relative;
    z-index: 2;
}

.whatsapp-float__pulse {
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.22);
    z-index: 1;
    animation: whatsappPulse 2.4s ease-out infinite;
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 22px 48px rgba(37, 211, 102, 0.45);
}

@keyframes whatsappPulse {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }
    70% {
        transform: scale(1.2);
        opacity: 0;
    }
    100% {
        transform: scale(0.95);
        opacity: 0;
    }
}

@media (max-width: 640px) {
    .whatsapp-float {
        width: 56px;
        height: 56px;
        bottom: 90px;
    }

    .whatsapp-float__icon {
        font-size: 1.6rem;
    }
}

.lgpd-consent {
    position: fixed;
    left: 50%;
    bottom: clamp(18px, 5vh, 32px);
    width: min(1020px, calc(100% - 32px));
    transform: translate(-50%, 24px);
    background: #0062c4;
    color: #ffffff;
    border-radius: 24px;
    box-shadow: 0 24px 44px rgba(12, 18, 31, 0.35);
    padding: clamp(18px, 4vw, 26px);
    backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.45s ease, opacity 0.45s ease;
    z-index: 970;
}

.lgpd-consent.is-visible {
    transform: translate(-50%, 0);
    opacity: 1;
    pointer-events: auto;
}

.lgpd-consent__wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(18px, 4vw, 32px);
    flex-wrap: wrap;
}

.lgpd-consent__text {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    line-height: 1.6;
    flex: 1 1 520px;
}

.lgpd-consent__icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: rgba(241, 192, 120, 0.18);
    color: #f1c078;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.lgpd-consent__text p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.98rem;
}

.lgpd-consent__link {
    color: #f1c078;
    text-decoration: underline;
}

.lgpd-consent__actions {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.lgpd-consent__button {
    border: none;
    border-radius: 999px;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
    background: #f1c078;
    color: #0062c4;
}

.lgpd-consent__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(241, 192, 120, 0.35);
}

.lgpd-consent__button--reject {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.lgpd-consent__button--reject:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    box-shadow: none;
}

@media (max-width: 768px) {
    .lgpd-consent {
        width: calc(100% - 24px);
        padding: 18px;
    }

    .lgpd-consent__wrapper {
        flex-direction: column;
        align-items: stretch;
    }

    .lgpd-consent__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .lgpd-consent__button,
    .lgpd-consent__button--reject {
        width: 100%;
    }
}

/* ========================================
   APP DOWNLOAD SECTION
   ======================================== */

.app-download {
    background: #013568;
    padding: clamp(60px, 12vh, 100px) 0;
    position: relative;
    overflow: hidden;
}

.app-download__wrapper {
    width: min(1280px, 92%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
}

.app-download__title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 24px;
}

.app-download__features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.app-download__features li {
    position: relative;
    padding-left: 24px;
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.6;
}

.app-download__features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.2rem;
}

.app-download__cta {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin: 24px 0 8px 0;
}

.app-download__subtitle {
    font-size: 0.95rem;
    color: #ffffff;
    margin-bottom: 24px;
}

.app-download__actions {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.app-download__qrcode {
    flex-shrink: 0;
    background: #0062c4;
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.app-download__qrcode img {
    display: block;
    width: 120px;
    height: 120px;
}

.app-download__buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.app-download__button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    background: transparent;
    border-radius: 8px;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 180px;
}

.app-download__button:hover {
    background: #2a2a2a;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.app-download__button i {
    font-size: 2rem;
}

.app-download__button div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}

.app-download__button-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.8;
}

.app-download__button-store {
    font-size: 1rem;
    font-weight: 600;
}

.app-download__button--apple i {
    font-size: 2.2rem;
}

.app-download__mockups {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 500px;
}

.app-download__phone {
    position: absolute;
    width: 280px;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
    background: transparent;
    padding: 12px;
}

.app-download__phone::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 28px;
    background: #1a1a1a;
    border-radius: 0 0 20px 20px;
    z-index: 2;
}

.app-download__phone img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    display: block;
}

.app-download__phone--1 {
    left: 0;
    z-index: 2;
    transform: rotate(-5deg);
}

.app-download__phone--2 {
    right: 0;
    z-index: 1;
    transform: rotate(5deg);
}

.app-download__accent {
    position: absolute;
    right: -60px;
    top: 50%;
    transform: translateY(-50%);
    width: 320px;
    height: 400px;
    background: transparent;
    border-radius: 40px;
    z-index: 0;
}

/* Responsive App Download */
@media (max-width: 992px) {
    .app-download__wrapper {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .app-download__mockups {
        order: -1;
        height: 400px;
    }

    .app-download__phone {
        width: 220px;
    }

    .app-download__accent {
        width: 260px;
        height: 320px;
        right: -40px;
    }
}

@media (max-width: 640px) {
    .app-download {
        padding: clamp(48px, 10vh, 80px) 0;
    }

    .app-download__actions {
        flex-direction: column;
        align-items: center;
    }

    .app-download__qrcode {
        order: 2;
    }

    .app-download__buttons {
        width: 100%;
        max-width: 300px;
    }

    .app-download__button {
        width: 100%;
        justify-content: center;
    }

    .app-download__mockups {
        height: 350px;
    }

    .app-download__phone {
        width: 180px;
    }

    .app-download__phone--1 {
        left: 10px;
    }

    .app-download__phone--2 {
        right: 10px;
    }

    .app-download__accent {
        width: 200px;
        height: 260px;
        right: -30px;
    }
}
