body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Product Sans', sans-serif;
    overflow-x: hidden;
}

.video-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    border: none;
    outline: none;
}

.video-container video {
    position: absolute;
    object-fit: cover;
    width: 100vh;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
    pointer-events: none;
    user-select: none;
    display: block;
}

.video-content {
    position: relative;
    z-index: 2;
    color: black;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
}

.video-content h2 {
    font-size: 50px;
    font-weight: 600;
}

.video-content h5 {
    font-size: 32px;
}

.video-content strong {
    color: #00bbff;
}


/* Só deixe essa: */

.cursor {
    color: rgb(48, 48, 48);
    font-weight: bold;
    margin-left: 5px;
    animation: blink-cursor 0.8s steps(2, start) infinite;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    border: none;
    outline: none;
    box-shadow: none !important;
}

@keyframes blink-cursor {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

.navbar-collapse {
    transition: max-height 0.4s ease;
    overflow: hidden;
    max-height: 0;
}

.navbar-collapse.showing {
    max-height: 300px;
    /* altura máxima para o menu */
}

@media screen and (max-width: 991px) {
    .video-content {
        padding: 0px 20px;
    }
    .video-content strong {
        font-size: 60px;
    }
    .card-plano-site {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 20px;
    }
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
    color: #00bbff !important;
}

.navbar-nav .nav-link {
    margin-left: 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #00bbff;
}

nav {
    background-color: white;
    color: black;
}

nav img {
    width: 50px;
}

nav #menuMobile {
    display: none;
}


/* No mobile, botão aparece */

@media (max-width: 991px) {
    .navbar-nav .nav-link {
        margin-left: 0;
        padding: 0.5rem 1rem;
    }
    #menuMobile {
        display: block;
        cursor: pointer;
        border: none;
        background: none;
    }
    #menuItems {
        max-height: 0;
        overflow: hidden;
        flex-direction: column;
        gap: 10px;
        background: white;
        position: absolute;
        top: 56px;
        /* altura da navbar */
        right: 0;
        width: 100%;
        padding: 0 20px;
        /* sem padding vertical para não aumentar max-height */
        box-shadow: 0 4px 6px rgb(0 0 0 / 0.1);
        z-index: 1000;
        transition: max-height 0.4s ease, padding 0.4s ease;
    }
    #menuItems.show {
        max-height: 500px;
        /* suficiente para mostrar todo o menu */
        padding: 10px 20px;
    }
}


/* planos */


/* Aumenta os cards */

.card-wrap {
    position: relative;
    width: 280px;
    /* maior largura */
    height: 350px;
    /* maior altura */
    margin: 0 10px;
    /* margem horizontal pequena para deixar cards próximos */
    display: inline-block;
    /* para ficarem lado a lado */
    vertical-align: top;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.card-wrap:hover {
    transform: scale(1.05);
    /* leve aumento no hover */
}


/* Card em si */

.snake-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 20px;
    padding: 1.6rem;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.35);
    z-index: 1;
    color: #1e293b;
    transition: box-shadow 0.3s ease;
}

.card-wrap:hover .snake-card {
    box-shadow: 0 0 40px #00bbff;
}


/* Ajuste fonte para o card maior */

.snake-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.snake-card .price {
    font-size: 2.2rem;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 18px;
}


/* Ajuste no SVG da cobra */

.snake-svg {
    position: absolute;
    top: -12px;
    left: -12px;
    width: 304px;
    /* 280 + 24px (2x12px) */
    height: 374px;
    /* 350 + 24px */
    z-index: 0;
    overflow: visible;
    border-radius: 20px;
}

.snake-path-bg {
    fill: none;
    /* outras propriedades */
}

.snake-path {
    fill: none;
    stroke: #00bbff;
    stroke-width: 14;
    stroke-linejoin: round;
    stroke-linecap: round;
    stroke-dasharray: 570 190;
    stroke-dashoffset: 0;
    animation: snakeMove 5.5s linear infinite;
    filter: drop-shadow(0 0 8px #00bbff);
}

.planos-sites {
    display: flex;
    justify-content: center;
    align-items: center;
}


/* Cobra azul animada: aumentar comprimento da linha */

@keyframes snakeMove {
    to {
        stroke-dashoffset: -760;
        /* tamanho total maior */
    }
}


/* Botões tecnológicos */

button.tech-btn {
    background: linear-gradient(135deg, #00bbff, #1e40af);
    border: none;
    border-radius: 12px;
    color: white;
    padding: 12px 24px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 0 10px #00bbff;
    transition: background 0.4s ease, box-shadow 0.4s ease, transform 0.2s ease;
    user-select: none;
}

button.tech-btn:hover {
    background: linear-gradient(135deg, #1e40af, #00bbff);
    box-shadow: 0 0 20px #00bbff;
    transform: scale(1.05);
}

button.tech-btn:active {
    transform: scale(0.95);
    box-shadow: 0 0 15px #00bbff inset;
}

.enunciado-planos h2 {
    color: black;
}

.enunciado-planos p {
    color: #252525;
}

.adquirir-plano {
    margin: 0 auto;
    display: block;
    color: #00bbff;
    background-color: white;
    border-radius: 50px;
    border: solid 2px #00bbff;
    padding: 10px;
    transition: all .4s;
}

.adquirir-plano a {
    font-weight: 500;
    text-decoration: none;
    color: #00bbff;
    padding: 5px;
}

.adquirir-plano:hover {
    margin: 0 auto;
    display: block;
    color: #ffff;
    background-color: #00bbff;
    border-radius: 50px;
    border: solid 2px #00bbff;
    padding: 10px;
}

.adquirir-plano a:hover {
    color: white;
}

.design-section {
    position: relative;
    min-height: 150vh;
    background: #0f172a;
    overflow: hidden;
    z-index: 1;
}

.bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 150%;
    z-index: 0;
    pointer-events: none;
}

.design-items .item {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease;
    z-index: 1;
}

.design-items .item.show {
    opacity: 1;
    transform: translateY(0);
}

.design-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(6px);
    transition: transform 0.3s;
    cursor: default;
    height: 100%;
}

.design-card:hover {
    transform: scale(1.05);
}


/* DESIGN */

.design-section {
    position: relative;
    min-height: 150vh;
    background: #0f172a;
    overflow: hidden;
    z-index: 1;
}

.bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 150%;
    z-index: 0;
    pointer-events: none;
}

.design-items .item {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease;
    z-index: 1;
}

.design-items .item.show {
    opacity: 1;
    transform: translateY(0);
}

.design-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(6px);
    transition: transform 0.3s;
    cursor: default;
    height: 100%;
}

.design-card:hover {
    transform: scale(1.05);
}


/* === MENU MOBILE === */

@media (max-width: 991px) {
    .hamburger {
        width: 35px;
        height: 25px;
        position: relative;
        border: none;
        background: none;
        cursor: pointer;
        z-index: 1051;
    }
    .hamburger span {
        position: absolute;
        width: 100%;
        height: 4px;
        background-color: #07394b;
        border-radius: 6px;
        left: 0;
        transition: 0.4s;
    }
    .hamburger span:nth-child(1) {
        top: 0;
    }
    .hamburger span:nth-child(2) {
        top: 50%;
        transform: translateY(-50%);
    }
    .hamburger span:nth-child(3) {
        bottom: 0;
    }
    .hamburger.active span:nth-child(1) {
        top: 50%;
        transform: rotate(45deg);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        top: 50%;
        transform: rotate(-45deg);
    }
    #menuItems {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
        padding: 1rem;
        z-index: 1050;
    }
    #menuItems.show {
        display: flex;
        animation: slideDown 0.3s ease forwards;
    }
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    #menuItems .nav-link {
        padding: 10px;
        font-size: 1.1rem;
        text-align: left;
    }
}

.contato-simples {
    background-color: #00bcff;
    color: white;
}

.contato-simples .contato-link {
    color: #0f172a;
    text-decoration: none;
    font-weight: 500;
}

.contato-simples .contato-link:hover {
    text-decoration: underline;
}

.contato-simples .social-icons a {
    color: #0f172a;
    transition: color 0.3s ease;
}

.contato-simples .social-icons a:hover {
    color: #0f172a;
}

.footer-d7 {
    background-color: #0f172a;
    color: white;
    font-size: 0.95rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

html {
    scroll-behavior: smooth;
    /* fallback para navegadores modernos */
}


/* Preloader */

#preloader {
    position: fixed;
    z-index: 9999;
    background: white;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1s ease, visibility 1s ease;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.logo-preloader {
    width: 80px;
    height: auto;
    animation: pulseLogo 1.5s infinite ease-in-out;
}

@keyframes pulseLogo {
    0%,
    100% {
        opacity: 0.4;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}