@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&display=swap');

@font-face {
    font-family: 'Aller';
    /* Nome que você vai usar no CSS */
    src: url('/font/aller/Aller_Std_Rg.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Aller';
    /* Nome que você vai usar no CSS */
    src: url('/font/aller/Aller_Std_Bd.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

/* --- RESET BÁSICO --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Aller', 'Inter', sans-serif;
}

body {
    position: relative;
    /* Fundo único para toda a página, para evitar "degraus" entre seções */
    background: #000;
    color: #ffffff;
    overflow-x: hidden;

    @media (max-width: 992px) {
        background: radial-gradient(circle at top, #142d18 0, #050b07 55%, #020503 100%);
    }
}

/* --- HEADER DESKTOP --- */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 24px 0;
    z-index: 100;
    background-color: #111D0C;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 32px;
    display: block;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: #e2e8f0;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #ffffff;
}

.lang-selector {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.lang-selector .flag {
    font-size: 18px;
    border-radius: 50%;
}

.desktop-stores img {
    height: 36px;
    display: block;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

/* --- MENU MOBILE OVERLAY --- */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #0d1a11;
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 24px;
}

.mobile-menu-overlay.active {
    transform: translateX(0);
}

.mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
}

.mobile-header .logo img {
    height: 28px;
}

.close-menu {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.mobile-lang-selector {
    margin-top: 8px;
    align-self: flex-start;
}

.mobile-nav .nav-link {
    font-size: 16px;
    font-weight: 400;
}

.mobile-stores {
    margin-top: 32px;
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-stores img {
    height: 40px;
}

/* --- BOTÃO CTA MENU MOBILE --- */
.cta-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.btn-cta {
    width: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.7) 0%, #7BB537 15%, #009D8D 100%);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    padding: 16px 24px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    border: none;
    text-align: center;
}

.btn-cta:active {
    transform: scale(0.98);
}

.cta-subtitle {
    font-size: 12px;
    color: #94a3b8;
}

/* --- MEDIA QUERIES (RESPONSIVIDADE HEADER) --- */
@media (max-width: 992px) {

    .desktop-nav,
    .desktop-stores {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .btn-cta svg {
        display: none !important;
    }

    .btn-cta {
        justify-content: center !important;
        text-align: center;
    }
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    width: 100%;
    padding: 120px 0 280px;
    background: url('../public/hero-section.png') center/cover no-repeat;
    overflow: visible;
}

.hero-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    /* Texto na ESQUERDA (1.05fr) e Imagem na DIREITA (0.95fr) */
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 40px;

    @media (max-width: 1210px) {
        font-size: 80%;
    }
}

/* Conteúdo AUMENTADO conforme solicitado */
.hero-content {
    width: 100%;
}

.hero-title {
    font-size: 2.5em;
    /* Aumentado o tamanho geral do título */
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.accent {
    background: linear-gradient(180deg, #7BB537 0%, #009D8D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
}

.hero-lead {
    font-size: 1.5em;
    /* Aumentado de 15px */
    line-height: 1.6;
    letter-spacing: -0.02em;
    color: #7BB537;
    margin-bottom: 22px;
    max-width: 540px;
}

.hero-desc {
    font-size: 1em;
    /* Aumentado de 12px */
    line-height: 1.6;
    letter-spacing: -0.02em;
    color: rgba(226, 232, 240, 0.8);
    margin-bottom: 20px;
    max-width: 540px;
}

.hero-highlight {
    font-size: 1em;
    /* Aumentado de 12px */
    line-height: 1.6;
    letter-spacing: -0.02em;
    color: rgba(226, 232, 240, 0.9);
    margin-bottom: 48px;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.75em;
    max-width: 380px;
}

.hero-actions .btn-cta {
    width: 100%;
    font-size: .9375em;
    padding: 1.125em 1.75em;
    justify-content: center;
}

.hero-actions .cta-subtitle {
    width: 100%;
    text-align: center;
}

.hero-stores {
    display: none;
    margin-top: 0.375em;
}

.hero-stores img {
    height: 2.5em;
    display: block;
}

.hero-hand-stack {
    position: relative;
    /* Aumenta o tamanho do celular na hero-section */
    width: 100%;
    height: 100%;
    /* aspect-ratio: 640 / 460; */
}


.hero-visual-badge {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    background: #F9FAFB;
    border-radius: 0.5em;
    padding: 0.5em 0.75em;
    box-shadow:
        0 4px 8px 0px rgba(0, 0, 0, 0.1),
        0 15px 15px 0px rgba(0, 0, 0, 0.09),
        0 34px 20px 0px rgba(0, 0, 0, 0.05),
        0 60px 24px 0px rgba(0, 0, 0, 0.01),
        0 94px 26px 0px rgba(0, 0, 0, 0);
}

.hero-visual-badge--revenue {
    left: 3em;
    bottom: 2em;

    @media (max-width: 992px) {
        left: 50px;
    }

    @media (max-width: 420px) {
        left: 0px;
        bottom: 50px;
    }
}

.hero-visual-badge--km {
    right: 5.5em;
    top: 4em;

    @media (max-width: 992px) {
        right: 50px;
    }

    @media (max-width: 420px) {
        right: 20px;
        top: 55px;
    }
}

.hero-visual-badge-title {
    font-family: "Figtree", "Inter", sans-serif;
    font-size: 0.875em;
    line-height: 1.5;
    color: #9FA8B6;
}

.hero-visual-badge-values {
    font-family: "Figtree", "Inter", sans-serif;
    display: flex;
    align-items: center;
    font-size: 1.125em;
    line-height: 1.5;
    font-weight: bold;
    color: #6B7280;
}

#hero-visual-badge-percent {
    font-size: 0.875em;
    line-height: 1.5;
    color: #2FCB13;
}

.hero-hand-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    pointer-events: none;
    user-select: none;
}

.hero-hand-image:nth-child(2) {
    animation: hero-hand-swap 8s alternate-reverse infinite ease-in-out;
}

@keyframes hero-hand-swap {

    0%,
    45% {
        opacity: 0;
    }

    50%,
    100% {
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-hand-stack img {
        animation: none;
        opacity: 0;
    }

    .hero-hand-stack img:first-child {
        opacity: 1;
    }
}

@media (max-width: 992px) {
    .hero {
        padding: 114px 0 200px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        grid-template-rows: 365px 1fr;
        gap: 24px;
    }

    .hero-hand-stack {
        /* Celular maior no mobile também */
        width: 100%;
        max-width: 400px;
        max-height: 365px;
        margin: auto;
    }

    .hero-visual-badge {
        padding: 3.5px 5.6px;
    }

    .hero-visual-badge-title {
        font-size: 6.57px;
    }

    .hero-visual-badge-values {
        font-size: 8.45px;

        img {
            width: 12px;
            height: 12px;
        }
    }

    #hero-visual-badge-percent {
        font-size: 5.64px;
    }

    .hero-content {
        order: 2;
    }

    .hero-title {
        font-size: 24px;
        line-height: 1.3;
        margin-bottom: 1.5rem;
        text-align: left;
    }

    .hero-lead,
    .hero-desc,
    .hero-highlight {
        font-size: 16px;
        text-align: left;
    }

    .hero-highlight {
        margin-bottom: 20px;
    }

    .hero-actions {
        max-width: 100%;
        align-items: center;
    }

    .hero-actions .cta-subtitle {
        text-align: center;
    }

    .hero-stores {
        display: flex;
        justify-content: left;
    }
}

/* --- VIDEO SECTION --- */
.video-section {
    position: relative;
    width: 100%;
    /* sem cor própria: usa o mesmo gradiente global do body */
    padding: 0 0 180px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: visible;

    @media (max-width: 992px) {
        padding-bottom: 80px;
    }
}

.gradient-divider {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, rgba(118, 180, 58, 0) 0%, #76B43A 50%, rgba(118, 180, 58, 0) 100%);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
}

.video-container {
    width: 100%;
    max-width: 1200px;
    padding: 0 24px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-wrapper {
    width: 100%;
    max-width: 780px;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background-color: #050505;
    position: relative;
    margin-top: -220px;
    z-index: 30;
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
    display: block;
}

.video-bg-text-container {
    position: absolute;
    top: 170px;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 380px;
    z-index: 1;
    pointer-events: none;
    user-select: none;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.video-bg-text-container img {
    display: block;
    width: clamp(900px, 108vw, 1600px);
    max-width: none;
    height: auto;
    object-fit: contain;
    object-position: center top;
    flex: none;
}


@media (max-width: 992px) {
    .video-wrapper {
        margin-top: -120px;
    }

    .video-bg-text-container {
        /* Mantém o texto visível também no mobile */
        top: 90px;
        height: 220px;
        display: none;
    }
}

@media (max-width: 1200px) and (min-width: 993px) {
    .video-bg-text-container {
        top: clamp(120px, 14vw, 170px);
        height: clamp(260px, 28vw, 380px);
    }

    .video-bg-text-container img {
        width: clamp(900px, 112vw, 1500px);
    }
}

/* --- SEÇÃO SOLUÇÃO & CLIENTES --- */
.section-wrapper {
    width: 100%;
    padding: 80px 0;
    /* Sem fundo próprio: usa o mesmo gradiente do body para ficar suave */
}

.section-inner {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;

    &::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translateX(-50%) translateY(-50%);
        bottom: 110px;
        background: #7BB537;
        width: 90%;
        height: 90%;
        max-width: 1600px;
        max-height: 620px;
        opacity: 30%;
        border-radius: 100%;
        z-index: 1;
        filter: blur(150px);

        @media (max-width: 992px) {
            display: none;
        }
    }
}

.section-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75em 1.25em;
    border-radius: 999px;
    background: #506747;
    color: #e2e8f0;
    font-size: 0.75em;
    letter-spacing: -0.02em;
    line-height: 1.6;
    text-transform: uppercase;
    margin-bottom: 0.75em;
    z-index: 2;
}

.section-title {
    font-size: 2.5em;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 40px;
    z-index: 2;
}

.section-title span {
    color: #7BB537;
}

.section-media-desktop img,
.section-media-mobile img {
    position: relative;
    width: 100%;
    display: block;
    z-index: 2;
}

.section-media-desktop {
    display: block;
}

.section-media-mobile {
    display: none;
}

.section-media-mobile-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* --- SEÇÃO COMPRA --- */
.buy-section {
    position: relative;
    width: 100%;
    overflow: visible;
    z-index: 1;

    &::after {
        content: "";
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        bottom: 110px;
        background: #7BB537;
        width: 90%;
        height: 90%;
        max-width: 1600px;
        max-height: 620px;
        opacity: 30%;
        border-radius: 100%;
        z-index: 1;

        @media (max-width: 992px) {
            display: none;
        }
    }
}

.buy-panel {
    position: relative;
    background: rgba(0, 0, 0, 0.72);
    border-radius: 200px 200px 0px 0px;
    padding: 86px 24px 110px;
    text-align: center;
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(50px);
    width: 100%;
    z-index: 2;
}

.buy-badge-icon {
    position: absolute;
    left: 50%;
    top: -26px;
    transform: translateX(-50%);
    width: 56px;
    height: 56px;
    /* border-radius: 999px; */
    display: grid;
    place-items: center;
}

.buy-badge-icon img {
    width: 56px;
    height: 56px;
    display: block;
}

.buy-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(123, 181, 55, 0.2);
    color: rgba(255, 255, 255, 0.92);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.buy-title {
    font-size: 44px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.buy-subtitle {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(226, 232, 240, 0.78);
    margin-bottom: 42px;
}

.buy-card {
    position: relative;
    width: min(540px, 100%);
    margin: 0 auto;
    background: #f3f6f2;
    border-radius: 18px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
    padding: 2.5rem 4.375rem;
    color: #0b0b0b;
    z-index: 2;
}

.buy-brand {
    display: flex;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.buy-brand img {
    width: 100%;
    max-width: 394px;
    height: auto;
    display: block;
}

.buy-price-line {
    color: rgba(55, 65, 81, 0.7);
    font-size: 20px;
    line-height: 1.6;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.buy-price-line .old {
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    text-decoration-color: rgba(239, 68, 68, 0.9);
}

.buy-price {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 1.125rem;
    background: linear-gradient(180deg, #7BB537 0%, #009D8D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.buy-price .currency {
    font-weight: 700;
    font-size: 24px;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.buy-price .value {
    font-weight: 800;
    font-size: 6rem;
    line-height: 0.9;
    letter-spacing: -0.08em;
}

.buy-price .cents {
    font-weight: 800;
    font-size: 24px;
    line-height: 1.3;
    letter-spacing: -0.02em;
    padding-bottom: 58px;
}

.buy-features {
    list-style: none;
    display: grid;
    gap: 0.5rem;
    margin: 0 auto 2.5rem;
    width: fit-content;
    text-align: left;
}

.buy-features li {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 0.5rem;
    align-items: start;
    color: rgba(31, 41, 55, 0.7);
    font-size: 13px;
}

.buy-features img {
    width: 18px;
    height: 18px;
    margin-top: 1px;
}

.buy-cta {
    width: 100%;
    padding: 16px 20px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.7) 0%, #7BB537 15%, #009D8D 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.02em;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

.buy-cta span.arrow {
    font-size: 18px;
    line-height: 1;
}

.buy-secure {
    margin-top: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    color: rgba(31, 41, 55, 0.55);
    font-size: 12px;
}


.buy-secure img {
    height: 1.625rem;
}

@media (max-width: 992px) {
    .buy-section {
        padding: 90px 0px 0px;
    }

    .buy-panel {
        border-radius: 40px 40px 0 0;
        padding: 72px 16px;
    }

    .buy-title {
        font-size: 26px;
    }

    .buy-subtitle {
        font-size: 13px;
        margin-bottom: 28px;
    }

    .buy-card {
        padding: 34px 22px 26px;
    }

    .buy-price .value {
        font-size: 74px;
    }

    .buy-price .cents {
        padding-bottom: 44px;
    }
}

/* --- FOOTER --- */
.site-footer {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 100vh;
    position: relative;
    background: url('../public/footer-image.png') center/cover no-repeat;
    padding: 90px 0 28px;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(0, 0, 0, 0.05) 0, rgba(0, 0, 0, 0.55) 55%, rgba(0, 0, 0, 0.85) 100%);
}

.footer-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
    background: transparent;
}

.footer-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 38px;
}

.footer-brand {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.footer-brand img {
    width: min(380px, 88%);
    height: auto;
    display: block;
}

.footer-stores {
    display: flex;
    justify-content: center;
    margin-bottom: 90px;
}

.footer-stores img {
    height: 40px;
    width: auto;
    display: block;
}

.footer-copy {
    position: relative;
    z-index: 1;
    text-align: center;
    color: rgba(226, 232, 240, 0.72);
    font-size: 11px;
    padding: 0 24px;
}

@media (max-width: 992px) {
    .site-footer {
        padding: 64px 0 22px;
    }

    .footer-title {
        font-size: 22px;
        margin-bottom: 40px;
    }

    .footer-stores {
        margin-bottom: 58px;
    }

    .footer-stores img {
        height: 36px;
    }
}

@media (max-width: 992px) {
    .section-wrapper {
        padding: 0 0 48px;
    }

    .section-title {
        font-size: 22px;
        margin-bottom: 28px;
    }

    .section-media-desktop {
        display: none;
    }

    .section-media-mobile {
        display: block;
    }
}