/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

html {
    scroll-behavior: smooth;
}

section {
    scroll-margin-top: 90px; /* altura do seu header */
}

body {
    background: #0a0f1c;
    color: #fff;
    overflow-x: hidden;
}

/* HEADER */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(10, 15, 28, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;

    font-size: 22px;
    font-weight: 600;
    color: #00e0ff;

    width: 40px;
    height: 40px;
    object-fit: contain;

    filter: drop-shadow(0 0 1px #00e0ff) drop-shadow(0 0 10px #00e0ff);
}

.logo img {
    width: 40px;
    /* pode ajustar depois */
    height: 40px;
    object-fit: contain;
}

header .logo:hover img {
    transform: scale(1.1);
}

header .logo img {
    transition: 0.3s;
}


.logo:hover {
    transform: scale(1.05);
    transition: 0.3s;
    filter: drop-shadow(0 0 1px #00e0ff) drop-shadow(0 0 10px #00e0ff);
}

@media (min-width: 768px) {
    .nav {

        position: static;
        transform: none;
        height: auto;
        width: auto;
        background: none;
        backdrop-filter: none;
        flex-direction: row;
    }
}


/* NAV MELHORADO */
nav a {
    position: relative;
    margin-left: 25px;
    text-decoration: none;
    color: #ccc;
    font-weight: 500;
    padding: 5px 0;
}

/* LINHA ANIMADA */
nav a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, #00e0ff, #007cf0);
    transition: 0.3s;
}

/* REMOVE LINHA DO BOTÃO CONTATO */
nav a:last-child::after {
    display: none;
}

nav a:hover::after {
    width: 100%;
}

nav a:hover {
    color: #fff;
}

/* BOTÃO DESTACADO (CONTATO) */
nav a:last-child {
    background: linear-gradient(90deg, #00e0ff, #007cf0);
    padding: 8px 18px;
    border-radius: 6px;
    color: #000;
    transition: 0.3s;
}

nav a:last-child:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 224, 255, 0.4);
}

/* HERO */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

.hero p {
    font-size: 18px;
    color: #bbb;
    margin-bottom: 25px;
}

/* BOTÃO */
.hero button {
    width: 200px;
    padding: 15px;
    border: none;
    background: linear-gradient(90deg, #00e0ff, #007cf0);
    color: #000;
    font-weight: bold;
    cursor: pointer;
    border-radius: 8px;
    transition: 0.3s;
}

.hero button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px #00e0ff;
}

.servicos {
    padding: 120px 20px;
    text-align: center;
}

/* TÍTULO PEQUENO */
.servicos .subtitulo {
    color: #00e0ff;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
    position: relative;
}

.servicos .subtitulo::after {
    content: "";
    display: block;
    width: 50px;
    height: 2px;
    background: #00e0ff;
    margin: 8px auto 0;
}


.servicos h2 span {
    color: #00e0ff;
}

.servicos h2 {
    font-size: 36px;
    font-weight: 500;
    max-width: 700px;
    margin: 0 auto 60px;
    line-height: 1.3;
}

.cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.card {
    width: 320px;
    padding: 40px 25px;

    border-radius: 14px;

    background: linear-gradient(145deg, #0a0f1c, #0f172a);
    border: 1px solid rgba(0, 224, 255, 0.15);

    position: relative;
    overflow: hidden;

    transition: 0.4s;

    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.5),
        inset 0 0 10px rgba(255, 255, 255, 0.02);
}



.card:hover {
    transform: translateY(-10px) scale(1.02);
    border: 1px solid #00e0ff;

    box-shadow: 0 0 40px rgba(0, 224, 255, 0.2);
}

.card::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    top: 0;
    left: -100%;
    background: linear-gradient(90deg, transparent, #00e0ff, transparent);
    transition: 0.5s;
    pointer-events: none;
}

.card:hover::before {
    left: 100%;
}

.card h3 {
    font-size: 20px;
    color: #00e0ff;
    margin-bottom: 15px;
}

.card h3::after {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    background: #00e0ff;
    margin: 10px auto 20px;
}

.card p {
    color: #aaa;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.card a {
    color: #00e0ff;
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;

    transition: 0.3s;
}

.card a:hover {
    gap: 12px;
}

.card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 14px;
    pointer-events: none;
    background: radial-gradient(circle at top, rgba(0, 224, 255, 0.12), transparent 60%);
    opacity: 0.4;
}

.sobre {
    padding: 120px 20px;
    text-align: center;
    position: relative;

    /*background: linear-gradient(135deg, #0a0f1c, #0f172a);*/
    background: radial-gradient(circle at top, rgba(0, 224, 255, 0.08), transparent 60%),
        linear-gradient(135deg, #0a0f1c, #0f172a);
}

.sobre::before {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;

    background: radial-gradient(circle, rgba(0, 224, 255, 0.12), transparent 70%);

    top: -100px;
    left: -100px;

    filter: blur(100px);
    opacity: 0.6;
}

.sobre .subtitulo {
    color: #00e0ff;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.sobre h2 {
    font-size: 34px;
    margin-bottom: 20px;
}

.sobre h2 span {
    color: #00e0ff;
}

.sobre p {
    max-width: 700px;
    margin: auto;
    color: #aaa;
    line-height: 1.7;
}

/* CONTATO */
.contato {
    padding: 120px 20px;
    text-align: center;
}

.contato .subtitulo {
    color: #00e0ff;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.contato h2 {
    font-size: 34px;
    margin-bottom: 40px;
}

.contato form:hover {
    transform: translateY(-8px) scale(1.01);
    border: 1px solid #00e0ff;

    box-shadow:
        0 0 30px rgba(0, 224, 255, 0.15),
        0 10px 40px rgba(0, 0, 0, 0.6);
}

.contato form:hover::before {
    left: 100%;
}

.contato form {
    max-width: 420px;
    margin: auto;
    padding: 35px;

    border-radius: 14px;

    background: linear-gradient(145deg, #0a0f1c, #0f172a);
    border: 1px solid rgba(0, 224, 255, 0.15);

    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.5),
        inset 0 0 10px rgba(255, 255, 255, 0.02);

    display: flex;
    flex-direction: column;
    gap: 15px;

    position: relative;
    overflow: hidden;

    transition: 0.4s;
}

.contato form::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 14px;

    background: linear-gradient(120deg,
            transparent,
            rgba(0, 224, 255, 0.5),
            transparent);

    opacity: 0;
    transition: 0.4s;
}

@keyframes borderGlow {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.contato form:hover::before {
    opacity: 0.6;
    animation: borderGlow 2s linear infinite;
}

.contato input,
.contato textarea {
    padding: 14px;
    border-radius: 8px;
    border: 1px solid transparent;

    background: rgba(255, 255, 255, 0.05);
    color: #fff;

    transition: 0.3s;

}

.contato input:focus,
.contato textarea:focus {
    border: 1px solid #00e0ff;
    box-shadow: 0 0 10px rgba(0, 224, 255, 0.3);
}

.contato textarea {
    width: 100%;
    min-height: 120px;

    resize: vertical;
    /* permite só vertical */
}

.contato input::placeholder,
.contato textarea::placeholder {
    color: #888;
}

.contato button {
    padding: 14px;
    border-radius: 8px;
    border: none;

    background: linear-gradient(90deg, #00e0ff, #007cf0);
    color: #000;
    font-weight: 600;

    cursor: pointer;
    transition: 0.3s;
}

.contato button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 224, 255, 0.4);
}

/* FOOTER */
footer {
    padding: 60px 20px;
    background: #020617;
    position: relative;
    text-align: center;
}

footer::before {
    content: "";
    display: block;
    width: 100%;
    height: 1px;

    background: linear-gradient(90deg, transparent, #00e0ff, transparent);
    margin-bottom: 30px;
}

footer .logo {
    display: flex;
    justify-content: center;
    align-items: center;

    gap: 10px;

    margin-bottom: 20px;
    width: 100%;
}

footer p {
    color: #777;
    font-size: 14px;
}

/* LINKS */
footer a {
    color: #00e0ff;
    text-decoration: none;
    margin: 0 10px;
    font-size: 14px;
}

footer a:hover {
    text-decoration: underline;
}


/* HERO CAROUSEL */
.hero {
    position: relative;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
}

.slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100vh;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 0 60px;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    opacity: 0;
    transition: opacity 0.6s ease;
}

.slide::before {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(90deg,
            rgba(10, 15, 28, 0.85),
            rgba(10, 15, 28, 0.5),
            rgba(10, 15, 28, 0.2));

    z-index: 1;
}

.slide h1,
.slide p,
.slide button {
    position: relative;
    z-index: 2;
}

.slide-1 {
    background-image: url('../assets/carrossel/home.png');
}

.slide-2 {
    background-image: url('../assets/carrossel/redes.png');
}

.slide-3 {
    background-image: url('../assets/carrossel/marketing.png');
}

.slide-4 {
    background-image: url('../assets/carrossel/web.png');
}

@media (max-width: 768px) {
    .slide {
        padding: 0 20px;
        text-align: center;
        align-items: center;
    }
}

/* FIM SLIDE */

.slide.active {
    opacity: 1;
    z-index: 2;
}

/* TEXTO */
.slide h1 {
    font-size: 28px;
}

.slide p {
    margin: 14px;
    color: #bbb;
}

/* CONTROLES */
.controls span {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    cursor: pointer;
    padding: 10px;
    color: #00e0ff;
    user-select: none;
    z-index: 5;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.dots {
    position: absolute;
    bottom: 30px;
    width: 100%;
    text-align: center;
    z-index: 5;
    /* 🔥 resolve */
}

.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 5px;
    background: #555;
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background: #00e0ff;
}


header.scrolled {
    background: rgba(10, 15, 28, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
    top: 0;
    left: 0;
}

.btn {
    padding: 14px 28px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    background: linear-gradient(90deg, #00e0ff, #007cf0);
    color: #000;
    transition: 0.3s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 224, 255, 0.4);
}

@media (min-width: 768px) {
    .slide h1 {
        font-size: 36px;
    }

    .slide p {
        font-size: 16px;
    }
}

@media (min-width: 1024px) {
    .slide h1 {
        font-size: 48px;
    }

    .slide {
        padding: 0 60px;
    }
}

@media (min-width: 768px) {
    .cards {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

@media (min-width: 768px) {
    .contato form {
        max-width: 500px;
    }
}

/* BOTÃO HAMBÚRGUER */
.menu-toggle {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1100;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: 0.3s;
}

/* ANIMAÇÃO PARA X */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/*
.nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;

    background: rgba(10, 15, 28, 0.98);
    backdrop-filter: blur(15px);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;

    transition: right 0.4s ease;
    z-index: 1050;
}*/

.nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 70%;
    height: 100vh;

    background: rgba(10, 15, 28, 0.98);
    backdrop-filter: blur(20px);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;

    transform: translateX(100%);
    transition: transform 0.4s ease;

    z-index: 1050;
}

/* NAV ABERTO */
.nav.active {
    transform: translateX(0);
}

/* LINKS */
.nav a {
    font-size: 15px;
}


/* DESKTOP */
@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }

    .nav {
        position: static;
        flex-direction: row;
        height: auto;
        width: auto;
        background: none;
        backdrop-filter: none;
        display: flex !important;
        transform: none;
        /* ESSENCIAL */
    }
}


@media (max-width: 767px) {

    .nav a {
        font-size: 20px;
        opacity: 0;
        transform: translateX(20px);
    }

    .nav.active a {
        opacity: 1;
        transform: translateX(0);
    }

    .nav.active a:nth-child(1) {
        transition: 0.3s 0.1s;
    }

    .nav.active a:nth-child(2) {
        transition: 0.3s 0.2s;
    }

    .nav.active a:nth-child(3) {
        transition: 0.3s 0.3s;
    }

    .nav.active a:nth-child(4) {
        transition: 0.3s 0.4s;
    }
}

body.menu-open {
    overflow: hidden;
}

.card i {
    width: 80px;
    height: 80px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 25px;

    border-radius: 50%;

    font-size: 30px;
    color: #cfefff;

    border: 2px solid rgba(0, 224, 255, 0.5);

    background: rgba(0, 224, 255, 0.05);

    transition: 0.4s;
}

.card:hover i {
    transform: scale(1.1);

    box-shadow: 0 0 25px rgba(0, 224, 255, 0.4);
    background: rgba(0, 224, 255, 0.1);
}

@media (max-width: 768px) {
    .servicos h2 {
        font-size: 28px;
    }

    .card {
        width: 100%;
        max-width: 350px;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;

    display: flex;
    flex-direction: column;
    gap: 6px;
}

.scroll-indicator span {
    width: 18px;
    height: 18px;

    border-left: 2px solid #00e0ff;
    border-bottom: 2px solid #00e0ff;

    transform: rotate(-45deg);

    opacity: 0;
    animation: arrowMove 2.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;

    filter: drop-shadow(0 0 6px rgba(0, 224, 255, 0.4));
}

@keyframes arrowMove {
    0% {
        transform: rotate(-45deg) translateY(0);
        opacity: 0;
    }

    30% {
        opacity: 1;
    }

    60% {
        transform: rotate(-45deg);
        opacity: 1;
    }

    100% {
        transform: rotate(-45deg);
        opacity: 0;
    }
}

.scroll-indicator span:nth-child(1) {
    animation-delay: 0s;
}

.scroll-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.scroll-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

.scroll-indicator span:nth-child(1) {
    opacity: 0.4;
}

.scroll-indicator span:nth-child(2) {
    opacity: 0.7;
}

.scroll-indicator span:nth-child(3) {
    opacity: 1;
}

.scroll-indicator:hover span {
    border-color: #fff;
    cursor: pointer;
}

.scroll-indicator span {
    filter: drop-shadow(0 0 6px rgba(0, 224, 255, 0.5));
}

.hero h1 span {
    color: #00e0ff;
    text-shadow: 0 0 8px rgba(0, 224, 255, 0.5);
}