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

html, body {
    width: 100%;
    min-height: 100%;
}

body {
    overflow-x: hidden;
    background: #000;
}

html {
    scroll-snap-type: y mandatory;
}

.video-scroll {
    position: relative;
    width: 100%;
    height: 500vh;
}

.video-sticky {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    margin-bottom: -100vh;
    overflow: hidden;
    z-index: 1;
}

.video-step {
    position: relative;
    width: 100%;
    height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

#scrollVideo, #scrollReverseVideo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.video-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.3);
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.7) .3px, transparent .5px);
    background-size: 4px 4px;
    pointer-events: none;
}

/* HEADER */
.landing-header {
    position: fixed;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 1280px;
    height: 64px;
    z-index: 100;
    background: rgba(0, 0, 0, 0.7);
    /*border: 1px solid rgba(0, 0, 0, 0.65);*/
    border-radius: 20px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

/* HEADER INNER */
.landing-header__inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 10px 0 18px;
    min-width: 0;
}

/* MARCA */
.landing-brand {
    height: 100%;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 8px;
    text-decoration: none;
}

.landing-brand img{
    filter: drop-shadow(1px 0px 0px #fff) 
          drop-shadow(-1px 0px 0px #fff) 
          drop-shadow(0px 1px 0px #fff) 
          drop-shadow(0px -1px 0px #fff);
}

.landing-brand__logo {
    display: block;
    width: auto;
    height: 38px;
    max-width: 42px;
    object-fit: contain;
}

.landing-brand__name {
    display: block;
    width: auto;
    height: 25px;
    max-width: 105px;
    object-fit: contain;
}

/* NAVEGAÇÃO DESKTOP */
.landing-nav {
    margin-left: auto;
    margin-right: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.landing-nav a {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    /*color: rgb(60 162 43);*/
    color: rgb(148 187 138);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.landing-nav a:hover {
    color: #1677ff;
    background: rgba(22, 119, 255, 0.07);
    border-radius: 8px;
}

.landing-nav__separator {
    width: 1px;
    height: 18px;
    background: rgba(20, 35, 55, 0.15);
    flex-shrink: 0;
}

/* CTA DESKTOP */
.landing-header__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 8px 17px;
    flex-shrink: 0;
    border-radius: 22px;
    background: #43a52a;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.landing-header__cta:hover {
    background: #2784ff;
    transform: translateY(-1px);
}

.landing-header__arrow {
    font-size: 20px;
    font-weight: 300;
    line-height: 1;
}

/* MENU MOBILE - BOTÃO */
.landing-menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    margin-left: auto;
    padding: 0;
    border: 1px solid #3ea32c;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.7);
    cursor: pointer;
}

.landing-menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    border-radius: 2px;
    background: #3ea32c;
}

/* RESPONSIVIDADE */
@media (max-width: 1150px) {
    .landing-nav {
        margin-right: 12px;
    }

    .landing-nav a {
        padding-left: 9px;
        padding-right: 9px;
        font-size: 13px;
    }

    .landing-header__cta {
        font-size: 12px;
        padding: 8px 13px;
    }
}

/* TABLET / MOBILE */
@media (max-width: 900px) {
    .landing-header {
        width: calc(100% - 32px);
    }

    .landing-nav, .landing-header__cta {
        display: none;
    }

    .landing-menu-toggle {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    /* MENU ABERTO */
    body.menu-open .landing-header {
        left: 0;
        top: 0;
        width: 100vw;
        height: 100vh;
        transform: none;
        border-radius: 0;
        border: 0;
        background: rgba(255, 255, 255, 0.97);
        z-index: 1000;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: none;
    }

    /* Header interno continua no topo. */
    body.menu-open .landing-header__inner {
        height: 64px;
        padding-left: 18px;
        padding-right: 10px;
        position: static;
    }

    /* NAV MOBILE */
    body.menu-open .landing-nav {
        position: absolute;
        top: 64px;
        left: 0;
        width: 100%;
        height: calc(100vh - 64px);
        margin: 0;
        padding: 30px 30px 40px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 0;
        background: transparent;
        opacity: 1;
        visibility: visible;
        transform: none;
        z-index: 1;
        overflow-y: auto;
    }

    /* LINKS */
    body.menu-open .landing-nav a {
        width: 100%;
        max-width: 360px;
        justify-content: center;
        padding: 18px 20px;
        color: #142337;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 18px;
        font-weight: 500;
        line-height: 1.2;
        border-radius: 12px;
        text-align: center;
    }

    body.menu-open .landing-nav a:hover {
        color: #1677ff;
        background: rgba(22, 119, 255, 0.07);
    }

    /* SEPARADORES */
    body.menu-open .landing-nav__separator {
        width: 100%;
        max-width: 360px;
        height: 1px;
        background: rgba(20, 35, 55, 0.10);
    }

    /* CTA DENTRO DO MENU MOBILE */
    body.menu-open .landing-header__cta {
        position: absolute;
        top: auto;
        bottom: 40px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        align-items: center;
        justify-content: center;
        width: calc(100% - 60px);
        max-width: 360px;
        padding: 14px 20px;
        border-radius: 24px;
        font-size: 14px;
        z-index: 3;
    }

    body.menu-open .landing-header__cta:hover {
        transform: translateX(-50%);
    }

    /* BOTÃO X */
    .landing-menu-toggle {
        position: absolute;
        top: 11px;
        right: 10px;
        z-index: 10;
        display: flex;
        width: 42px;
        height: 42px;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 12px;
        background: rgba(20, 35, 55, 0.07);
        cursor: pointer;
    }

    .landing-menu-toggle span {
        display: block;
        width: 20px;
        height: 2px;
        margin: 3px 0;
        border-radius: 2px;
        background: #3ea32c;
        transition: transform 0.25s ease, opacity 0.2s ease;
    }

    /* HAMBÚRGUER → X */
    body.menu-open .landing-menu-toggle span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    body.menu-open .landing-menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    body.menu-open .landing-menu-toggle span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* BLOQUEIA O SCROLL DO SITE */
    html.menu-open, body.menu-open {
        overflow: hidden;
    }
}

/* MOBILE PEQUENO */
@media (max-width: 500px) {
    /* Estado normal fechado. */
    .landing-header {
        top: 12px;
        width: calc(100% - 24px);
        height: 58px;
        border-radius: 17px;
    }

    .landing-header__inner {
        padding-left: 13px;
        padding-right: 8px;
    }

    .landing-brand {
        gap: 6px;
    }

    .landing-brand__logo {
        height: 34px;
        max-width: 38px;
    }

    .landing-brand__name {
        height: 22px;
        max-width: 92px;
    }

    /* Estado aberto: o header continua fullscreen. */
    body.menu-open .landing-header {
        top: 0;
        width: 100vw;
        height: 100vh;
        border-radius: 0;
    }

    body.menu-open .landing-header__inner {
        height: 58px;
        padding-left: 13px;
        padding-right: 8px;
    }

    body.menu-open .landing-nav {
        top: 58px;
        height: calc(100vh - 58px);
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 25px;
    }

    body.menu-open .landing-header__cta {
        bottom: 60px;
        width: calc(100% - 100px);
    }

    body.menu-open .landing-menu-toggle {
        top: 8px;
        right: 8px;
    }
}


/* ========================================
   CARDS DE FUNCIONALIDADES
======================================== */

.feature-cards {
    position: absolute;
    inset: 0;
    z-index: 3;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* ESTILO BASE DOS CARDS */

.feature-card {
    position: absolute;
    display: flex;
    flex-direction: column;
    width: 260px;
    min-height: 200px;
    padding: 16px 23px 20px;
    border: 1px solid var(--card-border);
    border-radius: 20px;
    color: #fff;
    background: var(--card-background);
    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);

    opacity: 0;
    visibility: hidden;
    transform: translateY(18px);
    transition:
        opacity 0.45s ease,
        transform 0.45s ease,
        visibility 0.45s ease;
}

/* CARD VISÍVEL */

.feature-card.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ÍCONE */

.feature-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    margin-bottom: 11px;
    border: 1px solid var(--icon-border);
    border-radius: 13px;
    background: var(--icon-background);
    color: #fff;
    flex-shrink: 0;
}

.feature-card__icon svg, .feature-card__icon img {
    display: block;
    width: 40px;
    height: 40px;
}

/* TÍTULO */

.feature-card h2 {
    margin: 0 0 10px;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.18;
    letter-spacing: -0.35px;
}

/* DESCRIÇÃO */

.feature-card p {
    margin: 0;
    /*color: rgba(255, 255, 255, 0.68);*/
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.25;
}

/* ========================================
   CORES DOS CARDS
======================================== */

/* AZUL */

.feature-card--blue {
    --card-background: rgba(18, 75, 177, 0.78);
    --card-border: rgba(76, 157, 255, 0.9);
    --icon-background: rgba(74, 117, 238, 0.65);
    --icon-border: rgba(141, 171, 255, 0.55);
}

/* VERDE */

.feature-card--green {
    --card-background: rgba(16, 65, 49, 0.82);
    --card-border: rgba(104, 209, 145, 0.9);
    --icon-background: rgba(45, 164, 111, 0.55);
    --icon-border: rgba(127, 231, 170, 0.5);
}

/* ROXO */

.feature-card--purple {
    --card-background: rgba(75, 39, 133, 0.83);
    --card-border: rgba(189, 104, 255, 0.9);
    --icon-background: rgba(175, 76, 231, 0.65);
    --icon-border: rgba(215, 151, 255, 0.6);
}

/* LARANJA */

.feature-card--orange {
    --card-background: rgba(143, 69, 17, 0.85);
    --card-border: rgba(255, 177, 91, 0.9);
    --icon-background: rgba(255, 145, 47, 0.72);
    --icon-border: rgba(255, 199, 125, 0.6);
}

/* CIANO */

.feature-card--cyan {
    --card-background: rgba(0, 107, 143, 0.86);
    --card-border: rgba(56, 221, 255, 0.9);
    --icon-background: rgba(0, 184, 210, 0.6);
    --icon-border: rgba(103, 234, 255, 0.6);
}

/* ========================================
   POSIÇÃO DOS CARDS - DESKTOP
======================================== */

/* CARD 1 - SUPERIOR ESQUERDO */

.feature-card--top-left {
    top: 14.5%;
    left: 4%;
    width: 250px;
    min-height: 245px;
}

/* CARD 2 - SUPERIOR DIREITO */

.feature-card--top-right {
    top: 14%;
    right: 22.3%;
    width: 264px;
    min-height: 247px;
}

/* CARD 3 - LATERAL DIREITA */

.feature-card--right {
    top: 37.5%;
    right: 2.2%;
    width: 244px;
    min-height: 239px;
}

/* CARD 4 - INFERIOR ESQUERDO */

.feature-card--bottom-left {
    top: 55.3%;
    left: 5.2%;
    width: 282px;
    min-height: 236px;
}

/* CARD 5 - INFERIOR CENTRAL */

.feature-card--bottom-center {
    top: 71.5%;
    left: 51.5%;
    width: 278px;
    min-height: 199px;
}

/* ========================================
   TABLET
======================================== */

@media (max-width: 1150px) {
    .feature-card {
        width: 230px;
        padding: 15px 18px 18px;
    }

    .feature-card h2 {
        font-size: 18px;
    }

    .feature-card p {
        font-size: 14px;
    }

    .feature-card--top-left {
        left: 3%;
        width: 230px;
    }

    .feature-card--top-right {
        right: 20%;
        width: 235px;
    }

    .feature-card--right {
        right: 2%;
        width: 225px;
    }

    .feature-card--bottom-left {
        left: 4%;
        width: 250px;
    }

    .feature-card--bottom-center {
        left: 51%;
        width: 250px;
    }
}

/* ========================================
   MOBILE
======================================== */

@media (max-width: 900px) {
    .feature-card {
        width: min(42vw, 250px);
        min-height: auto;
        padding: 13px 15px 16px;
        border-radius: 16px;
    }

    .feature-card__icon {
        width: 44px;
        height: 44px;
        margin-bottom: 9px;
        border-radius: 11px;
    }

    .feature-card h2 {
        margin-bottom: 7px;
        font-size: clamp(14px, 2.5vw, 18px);
    }

    .feature-card p {
        font-size: clamp(11px, 1.9vw, 14px);
    }

    .feature-card--top-left {
        top: 17%;
        left: 3%;
        width: 43%;
    }

    .feature-card--top-right {
        top: 17%;
        right: 3%;
        width: 43%;
    }

    .feature-card--right {
        top: 42%;
        right: 3%;
        width: 43%;
    }

    .feature-card--bottom-left {
        top: 57%;
        left: 3%;
        width: 43%;
    }

    .feature-card--bottom-center {
        top: 70%;
        left: 48%;
        width: 49%;
    }
}

/* ========================================
   MOBILE PEQUENO
======================================== */
@media (max-width: 500px) {
    .feature-card {
        width: 46%;
        padding: 11px 12px 13px;
        border-radius: 14px;
    }

    .feature-card__icon {
        width: 37px;
        height: 37px;
        margin-bottom: 7px;
        border-radius: 9px;
    }

    .feature-card h2 {
        font-size: 14px;
        line-height: 1.2;
    }

    .feature-card p {
        font-size: 11px;
        line-height: 1.25;
    }

    .feature-card--top-left {
        top: 17%;
        left: 3%;
        width: 46%;
    }

    .feature-card--top-right {
        top: 17%;
        right: 3%;
        width: 46%;
    }

    .feature-card--right {
        top: 43%;
        right: 3%;
        width: 46%;
    }

    .feature-card--bottom-left {
        top: 57%;
        left: 3%;
        width: 46%;
    }

    .feature-card--bottom-center {
        top: 72%;
        left: 51%;
        width: 46%;
    }
}


/* ========================================
   POSICIONAMENTO DOS CARDS - DESKTOP
======================================== */

@media (min-width: 901px) {
    /* CARD 1 - SUPERIOR ESQUERDO */
    .feature-card--top-left[data-card="1"] {
        top: 14.5%;
        left: 4%;
        width: 250px;
    }

    /* CARD 2 - SUPERIOR DIREITO */
    .feature-card--top-right[data-card="2"] {
        top: 14%;
        right: 22.3%;
        width: 264px;
    }

    /* CARD 3 - LATERAL DIREITA */
    .feature-card--right[data-card="3"] {
        top: 37.5%;
        right: 2.2%;
        width: 244px;
    }

    /* CARD 4 - INFERIOR ESQUERDO */
    .feature-card--bottom-left[data-card="4"] {
        top: 55.3%;
        left: 5.2%;
        width: 282px;
    }

    /* CARD 5 - INFERIOR DIREITO */
    .feature-card--bottom-center[data-card="5"] {
        top: 68%;
        left: auto;
        right: 4%;
        width: 278px;
    }

    /* CARD 6 - SUPERIOR ESQUERDO */
    .feature-card--top-left[data-card="6"] {
        top: 14.5%;
        left: 4%;
        width: 250px;
    }
}

/* ========================================
   LINHAS E BOLINHAS DOS CARDS
======================================== */
@media (min-width: 901px) {
    .feature-card::before,
    .feature-card::after {
        content: "";
        position: absolute;
        pointer-events: none;
        opacity: 0;
        transition: opacity 0.35s ease;
    }

    .feature-card.is-visible::before,
    .feature-card.is-visible::after {
        opacity: 1;
    }

    /* LINHA EM L */
    .feature-card::before {
        width: 58px;
        height: 45px;
        border-top: 1.5px solid rgba(255, 255, 255, 0.9);
    }

    /* BOLINHA */
    .feature-card::after {
        width: 11px;
        height: 11px;
        border: 2px solid #fff;
        border-radius: 50%;
        background: var(--card-border);
        box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
    }

    /* CARD 1 - LINHA PARA A DIREITA E PARA BAIXO */
    .feature-card[data-card="1"]::before {
        left: 100%;
        top: 68%;
        border-top: 0;
        border-bottom: 1.5px solid rgba(255, 255, 255, 0.9);
        border-right: 1.5px solid rgba(255, 255, 255, 0.9);
        border-radius: 0 0 5px 0;
    }

    .feature-card[data-card="1"]::after {
        left: calc(100% + 52px);
        top: calc(48% + 39px);
    }

    /* CARD 2 - LINHA PARA A ESQUERDA E PARA BAIXO */
    .feature-card[data-card="2"]::before {
        right: 100%;
        top: 55%;
        border-left: 1.5px solid rgba(255, 255, 255, 0.9);
        border-radius: 5px 0 0 0;
    }

    .feature-card[data-card="2"]::after {
        right: calc(100% + 52px);
        top: calc(55% + 39px);
    }

    /* CARD 3 - LINHA PARA A ESQUERDA E PARA BAIXO */
    .feature-card[data-card="3"]::before {
        right: 100%;
        top: 55%;
        border-left: 1.5px solid rgba(255, 255, 255, 0.9);
        border-radius: 5px 0 0 0;
    }

    .feature-card[data-card="3"]::after {
        right: calc(100% + 52px);
        top: calc(55% + 39px);
    }

    /* CARD 4 - LINHA PARA A DIREITA E PARA BAIXO */
    .feature-card[data-card="4"]::before {
        left: 100%;
        top: 42%;
        border-top: 0;
        border-bottom: 1.5px solid rgba(255, 255, 255, 0.9);
        border-right: 1.5px solid rgba(255, 255, 255, 0.9);
        border-radius: 0 0 5px 0;
    }

    .feature-card[data-card="4"]::after {
        left: calc(100% + 52px);
        top: calc(22% + 39px);
    }

    /* CARD 5 - LINHA PARA A ESQUERDA E PARA CIMA */
    .feature-card[data-card="5"]::before {
        right: 100%;
        top: 14%;
        height: 45px;
        border-left: 1.5px solid rgba(255, 255, 255, 0.9);
        border-radius: 5px 0 0 0;
    }

    .feature-card[data-card="5"]::after {
        right: calc(100% + 52px);
        top: calc(15% + 39px);
    }

    /* CARD 6 - LINHA PARA A DIREITA E PARA BAIXO */
    .feature-card[data-card="6"]::before {
        left: 100%;
        top: 68%;
        border-top: 0;
        border-bottom: 1.5px solid rgba(255, 255, 255, 0.9);
        border-right: 1.5px solid rgba(255, 255, 255, 0.9);
        border-radius: 0 0 5px 0;
    }

    .feature-card[data-card="6"]::after {
        left: calc(100% + 52px);
        top: calc(48% + 39px);
    }
}

.feature-card__button {
    display: inline-flex;
    align-items: center;
    width: 60%;
    align-self: center;
    gap: 8px;
    margin-top: 18px;
    padding: 8px 15px;
    border: 0.5px solid #fff;
    border-radius: 8px;
    background-color: #40a42a;
    color: #fff;
    text-decoration: none;
    font-size: 10px;
    font-family: system-ui;
    font-weight: 600;
}

.feature-card__button {
    position: relative;
    z-index: 100;
    pointer-events: auto;
    cursor: pointer;
    justify-content: center;
}


/* ========================================
   LOADING SYNDLY
======================================== */

.page-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #fff;

    opacity: 1;
    visibility: visible;

    transition:
        opacity 0.4s ease,
        visibility 0.4s ease;
}

.page-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.page-loader__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.page-loader__logo {
    display: block;
    width: 75px;
    height: 75px;
    object-fit: contain;
}

.page-loader__spinner {
    width: 27px;
    height: 27px;

    border: 3px solid #e8eee6;
    border-top-color: #43a52a;
    border-radius: 50%;

    animation: syndly-loader-spin 0.8s linear infinite;
}

@keyframes syndly-loader-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-loader__spinner {
        animation-duration: 2s;
    }
}

.page-loader__message {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
}

.page-loader__message p {
    margin: 0;
    color: #333;
    font-size: 15px;
    font-weight: 500;
}

.page-loader__message span {
    color: #777;
    font-size: 12px;
    font-weight: 400;
}