* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background: #080808;
    color: #ffffff;
}

/* HEADER */

.header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);

    width: 85%;
    height: 70px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 30px;
    border-radius: 40px;

    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);

    border: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 1000;
}

.logo {
    width: 55px;
    height: 55px;

    border-radius: 50%;
    border: 2px solid #00ff88;

    display: flex;
    align-items: center;
    justify-content: center;

    font-weight: bold;
    color: #00ff88;
}

.logo a {
    color: #00ff88;
    text-decoration: none;
}

.menu {
    display: flex;
    gap: 8px;
}

.menu a {
    color: #ffffff;
    text-decoration: none;
    padding: 10px 18px;

    border-left: 2px solid #00ff88;
    transition: 0.3s;
}

.menu a:hover {
    color: #00ff88;
}

/* HERO */

.hero {
    min-height: 100vh;
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    background-image: url("img/fundo.jpg");
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
}

.hero-card {
    position: relative;
    z-index: 2;

    width: 420px;
    min-height: 250px;

    padding: 35px;
    border-radius: 18px;

    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(18px);

    border: 1px solid rgba(255, 255, 255, 0.25);
    text-align: center;
}

.hero-card h1 {
    margin-bottom: 15px;
    color: #00ff88;
}

.hero-card p {
    line-height: 1.6;
    color: #e9e9e9;
}

.btn-descer {
    position: absolute;
    bottom: 40px;
    z-index: 2;

    color: #00ff88;
    text-decoration: none;
    font-size: 42px;

    animation: flutuar 1.3s infinite alternate;
}

@keyframes flutuar {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(12px);
    }
}

/* SECTIONS */

.section {
    min-height: 100vh;
    padding: 120px 10%;
    background: #101010;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section:nth-child(even) {
    background: #0b0b0b;
}

.section h2 {
    color: #00ff88;
    font-size: 38px;
    margin-bottom: 20px;
}

.section p {
    max-width: 700px;
    line-height: 1.7;
    color: #dddddd;
}

/* SERVIÇOS NA INDEX */

.cards-planos {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.plano {
    flex: 1;
    min-width: 230px;

    padding: 25px;
    border-radius: 15px;

    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(0, 255, 136, 0.25);
}

.plano h3 {
    color: #00ff88;
    margin-bottom: 10px;
}

/* CONTATO */

.btn-contato {
    margin-top: 25px;
    width: fit-content;

    padding: 12px 24px;
    border-radius: 30px;

    background: #00ff88;
    color: #000;
    font-weight: bold;
    text-decoration: none;

    transition: all 0.3s ease;
}

.btn-contato:hover {
    transform: scale(1.05);
    box-shadow:
        0 0 12px #00ff88,
        0 0 25px rgba(0, 255, 136, 0.5);
}

/* BOTÃO TOPO */

.btn-topo {
    position: fixed;
    right: 25px;
    bottom: 25px;

    width: 45px;
    height: 45px;

    border-radius: 50%;
    border: none;

    background: #00ff88;
    color: #000;

    font-size: 22px;
    font-weight: bold;

    cursor: pointer;
    z-index: 1000;
}

/* LISTA */

.lista-sistemas {
    margin-top: 15px;
    list-style: none;
    color: #e9e9e9;
    line-height: 1.8;
}

.lista-sistemas li::before {
    content: "▸ ";
    color: #00ff88;
    font-weight: bold;
}

/* SOBRE PROFISSIONAL */

.container-sobre {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    flex-wrap: wrap;
}

.sobre-texto {
    flex: 1;
    min-width: 300px;
}

.sobre-texto h2 {
    font-size: 38px;
    color: #00ff88;
}

.linha-destaque {
    width: 80px;
    height: 4px;
    background: #00ff88;
    margin: 10px 0 25px 0;
    border-radius: 10px;
}

.sobre-texto p {
    margin-bottom: 18px;
    line-height: 1.8;
    color: #dddddd;
    text-align: left;
}

/* VISUAL LATERAL */

.sobre-visual {
    flex: 1;
    min-width: 250px;
    display: flex;
    justify-content: center;
}

.box-visual {
    width: 260px;
    height: 120px;

    border-radius: 20px;

    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 255, 136, 0.4);

    backdrop-filter: blur(12px);

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.box-visual span {
    color: #00ff88;
    font-weight: bold;
    letter-spacing: 1px;
}

/* ANIMAÇÃO SCROLL */

.animar {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.animar.ativo {
    opacity: 1;
    transform: translateY(0);
}

/* DESTAQUE DO BOTÃO CONTATO */

.destaque {
    background: #00ff88;
    color: #000 !important;
    border-radius: 20px;
    padding: 10px 20px !important;

    font-weight: bold;

    box-shadow: 0 0 12px rgba(0, 255, 136, 0.4);

    transition: all 0.3s ease;
}

.destaque:hover {
    transform: scale(1.08);

    box-shadow:
        0 0 15px #00ff88,
        0 0 30px rgba(0, 255, 136, 0.6);

    background: #00ff88;
}

/* ===== PÁGINA PLANOS ===== */

.section-planos {
    justify-content: flex-start;
    padding-top: 180px;
    padding-bottom: 100px;
}

.intro-planos {
    max-width: 850px;
    margin-bottom: 20px;
    color: #dddddd;
}

.titulo-grupo {
    margin-top: 45px;
    font-size: 28px;
    color: #00ff88;
}

.planos-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    margin-top: 35px;
    flex-wrap: wrap;
}

/* CARD DOS PLANOS */

.card-plano {
    position: relative;

    width: 260px;
    min-height: 420px;

    padding: 28px 24px;
    border-radius: 22px;

    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(0, 255, 136, 0.35);
    backdrop-filter: blur(12px);

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    transition: all 0.35s ease;
}

.card-plano h3 {
    color: #00ff88;
    margin-bottom: 12px;
    font-size: 22px;
}

.preco {
    font-size: 24px;
    color: #ffffff !important;
    font-weight: bold;
    margin-top: 8px;
}

.mensal {
    font-size: 14px;
    color: #00ff88 !important;
    margin-top: 4px;
    margin-bottom: 10px;
}

.card-plano .lista-sistemas {
    margin-top: 18px;
    margin-bottom: 20px;
}

.card-plano .btn-contato {
    align-self: center;
    text-align: center;
    font-size: 14px;
    margin-top: auto;
}

/* CARD DESTACADO */

.destaque-plano {
    border: 1px solid rgba(0, 255, 136, 0.75);
    box-shadow:
        0 0 18px rgba(0, 255, 136, 0.25),
        inset 0 0 18px rgba(0, 255, 136, 0.05);
}

.selo-plano {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);

    padding: 6px 14px;
    border-radius: 20px;

    background: #00ff88;
    color: #000;

    font-size: 12px;
    font-weight: bold;
    white-space: nowrap;

    box-shadow: 0 0 15px rgba(0, 255, 136, 0.6);
}

/* HOVER DOS PLANOS */

.card-plano:hover {
    transform: translateY(-10px) scale(1.03);

    box-shadow:
        0 0 15px rgba(0, 255, 136, 0.4),
        0 0 35px rgba(0, 255, 136, 0.2);
}

.planos-container:hover .card-plano {
    opacity: 0.4;
    filter: blur(2px);
}

.planos-container .card-plano:hover {
    opacity: 1;
    filter: blur(0);
}

/* DIVISOR */

.divisor {
    width: 100%;
    height: 2px;
    margin: 70px 0 20px 0;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 255, 136, 0.5),
        transparent
    );
}

.obs-planos {
    margin-top: 50px;
    max-width: 900px;
    font-size: 14px;
    color: #999999 !important;
}

/* RESPONSIVO */

@media (max-width: 768px) {
    .container-sobre {
        flex-direction: column;
        text-align: center;
    }

    .sobre-texto p {
        text-align: center;
    }

    .header {
        width: 92%;
        height: auto;
        padding: 15px;
        flex-direction: column;
        gap: 12px;
    }

    .menu {
        flex-wrap: wrap;
        justify-content: center;
    }

    .menu a {
        font-size: 14px;
        padding: 8px 10px;
    }

    .hero-card {
        width: 85%;
    }

    .cards-planos {
        flex-direction: column;
    }

    .section-planos {
        padding-top: 220px;
    }

    .planos-container {
        flex-direction: column;
        align-items: center;
    }

    .card-plano {
        width: 90%;
        max-width: 330px;
    }
}

/* MOBILE HEADER MELHORADO */

.menu-mobile-icon {
    display: none;
    font-size: 26px;
    color: #00ff88;
    cursor: pointer;
}

/* MOBILE */
@media (max-width: 768px) {

    .header {
        height: 60px;
        padding: 0 20px;
        flex-direction: row;
    }

    .menu {
        position: absolute;
        top: 80px;
        left: 50%;
        transform: translateX(-50%);

        width: 90%;
        flex-direction: column;
        align-items: center;
        gap: 15px;

        background: rgba(0, 0, 0, 0.9);
        border: 1px solid rgba(0, 255, 136, 0.3);
        border-radius: 20px;
        padding: 20px;

        display: none;
    }

    .menu.ativo {
        display: flex;
    }

    .menu a {
        border: none;
    }

    .menu-mobile-icon {
        display: block;
    }
}

/* ===== MENU MOBILE MELHORADO ===== */

.menu-mobile-icon {
    display: none;
    font-size: 28px;
    color: #00ff88;
    cursor: pointer;
    user-select: none;
}

@media (max-width: 768px) {
    .header {
        height: 62px;
        padding: 0 20px;
        flex-direction: row;
        align-items: center;
    }

    .logo {
        width: 45px;
        height: 45px;
        font-size: 14px;
    }

    .menu-mobile-icon {
        display: block;
    }

    .menu {
        position: absolute;
        top: 78px;
        left: 50%;
        transform: translateX(-50%);

        width: 92%;

        display: none;
        flex-direction: column;
        align-items: center;
        gap: 12px;

        padding: 22px;
        border-radius: 22px;

        background: rgba(8, 8, 8, 0.94);
        border: 1px solid rgba(0, 255, 136, 0.35);
        backdrop-filter: blur(15px);

        box-shadow:
            0 0 18px rgba(0, 255, 136, 0.25),
            0 0 40px rgba(0, 255, 136, 0.12);
    }

    .menu.ativo {
        display: flex;
    }

    .menu a {
        width: 100%;
        text-align: center;
        border-left: none;
        border-bottom: 1px solid rgba(0, 255, 136, 0.25);
        padding: 12px;
    }

    .menu a:last-child {
        border-bottom: none;
    }

    .menu .destaque {
        width: fit-content;
        padding: 10px 26px !important;
        border-bottom: none;
    }
}

/* ===== PÁGINA PORTFÓLIO ===== */

.portfolio-section {
    padding-top: 180px;
    justify-content: flex-start;
}

.portfolio-intro {
    max-width: 850px;
    margin-bottom: 50px;
}

.portfolio-grid {
    display: flex;
    justify-content: center;
    gap: 35px;
    flex-wrap: wrap;
}

.projeto-card {
    position: relative;
    width: 300px;
    min-height: 440px;
    padding: 22px;
    border-radius: 26px;

    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(0, 255, 136, 0.28);
    backdrop-filter: blur(14px);

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    transition: all 0.35s ease;
}

.projeto-card:hover {
    transform: translateY(-12px);
    box-shadow:
        0 0 20px rgba(0, 255, 136, 0.35),
        0 0 45px rgba(0, 255, 136, 0.12);
}

.projeto-img {
    width: 100%;
    height: 160px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;

    background: rgba(0, 255, 136, 0.08);
    border: 1px solid rgba(0, 255, 136, 0.25);
}

.projeto-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.projeto-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00ff88;
    font-weight: bold;
}

.projeto-card h3 {
    color: #00ff88;
    font-size: 23px;
    margin-bottom: 12px;
}

.projeto-card p {
    font-size: 14px;
    color: #dddddd;
    line-height: 1.6;
    margin-bottom: 22px;
}

.projeto-card button {
    width: fit-content;
    align-self: center;

    padding: 11px 28px;
    border-radius: 30px;
    border: none;

    background: #00ff88;
    color: #000;
    font-weight: bold;

    cursor: pointer;
    transition: 0.3s ease;
}

.projeto-card button:hover {
    transform: scale(1.07);
    box-shadow: 0 0 18px rgba(0, 255, 136, 0.6);
}

.tag-novidade {
    position: absolute;
    top: -15px;
    right: 22px;

    padding: 7px 16px;
    border-radius: 20px;

    background: #00ff88;
    color: #000;

    font-size: 12px;
    font-weight: bold;

    transform: rotate(-8deg);
    box-shadow: 0 0 18px rgba(0, 255, 136, 0.7);
}

/* DETALHE / CARROSSEL */

.portfolio-detalhe {
    display: none;

    min-height: 100vh;
    padding: 160px 8% 80px;

    background:
        radial-gradient(circle at center, rgba(0, 255, 136, 0.10), transparent 35%),
        #080808;

    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.portfolio-detalhe.ativo {
    display: flex;
}

.btn-voltar-portfolio {
    align-self: flex-start;
    margin-bottom: 40px;

    background: transparent;
    border: none;

    color: #00ff88;
    font-size: 16px;
    font-weight: bold;

    cursor: pointer;
    transition: 0.3s;
}

.btn-voltar-portfolio:hover {
    transform: translateX(-8px);
}

.carousel-container {
    width: 100%;
    max-width: 1050px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
}

.carousel-projetos {
    width: 100%;
    min-height: 580px;

    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-card {
    position: absolute;

    width: 700px;
    height: 500px;

    border-radius: 36px;

    overflow: hidden;

    background: rgba(255, 255, 255, 0.08);

    border: 1px solid rgba(0, 255, 136, 0.25);

    backdrop-filter: blur(18px);

    transition: all 0.5s ease;

    opacity: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px;
}

.carousel-card.ativo {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0);
    z-index: 3;

    box-shadow:
        0 0 25px rgba(0, 255, 136, 0.35),
        0 0 70px rgba(0, 255, 136, 0.12);
}

.carousel-card.esquerda {
    opacity: 0.45;
    transform: translateX(-240px) scale(0.82);
    filter: blur(3px);
    z-index: 2;
}

.carousel-card.direita {
    opacity: 0.45;
    transform: translateX(240px) scale(0.82);
    filter: blur(3px);
    z-index: 2;
}

.carousel-card img,
.carousel-placeholder {
    width: 100%;
    height: 100%;

    border-radius: 24px;

    object-fit: contain;
    object-position: center;

    display: block;

    background: rgba(0, 255, 136, 0.10);
    border: 1px solid rgba(0, 255, 136, 0.25);
}

.carousel-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;

    color: #00ff88;
    font-weight: bold;
    text-align: center;
}

.carousel-info h3 {
    color: #00ff88;
    font-size: 25px;
    margin-bottom: 12px;
}

.carousel-info p {
    font-size: 14px;
    line-height: 1.6;
    color: #dddddd;
}

.carousel-info ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    list-style: none;
    margin-top: 18px;
}

.carousel-info li {
    padding: 6px 12px;
    border-radius: 18px;

    background: rgba(0, 255, 136, 0.12);
    color: #00ff88;

    font-size: 12px;
    font-weight: bold;
}

.seta-carousel {
    position: absolute;
    bottom: -65px;

    width: 52px;
    height: 52px;

    z-index: 20;

    backdrop-filter: blur(10px);

    background: rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(0, 255, 136, 0.4);

    box-shadow:
        0 0 15px rgba(0, 255, 136, 0.25);

    transform: none;
}

.seta-carousel:first-child {
    left: 32%;
}

.seta-carousel:last-child {
    right: 32%;
}

.btn-projeto {
    margin-top: 35px;
}

/* =========================
   RESPONSIVO MOBILE
========================= */

@media (max-width: 768px) {

    /* HEADER */

    .header {
        width: 92%;
        height: 62px;

        padding: 0 20px;

        flex-direction: row;
        align-items: center;
    }

    .logo {
        width: 45px;
        height: 45px;
        font-size: 14px;
    }

    .menu-mobile-icon {
        display: block;
        font-size: 28px;
        color: #00ff88;
        cursor: pointer;
    }

    .menu {
        position: absolute;

        top: 78px;
        left: 50%;
        transform: translateX(-50%);

        width: 92%;

        display: none;
        flex-direction: column;
        align-items: center;
        gap: 12px;

        padding: 22px;
        border-radius: 22px;

        background: rgba(8, 8, 8, 0.94);

        border: 1px solid rgba(0, 255, 136, 0.35);

        backdrop-filter: blur(15px);

        box-shadow:
            0 0 18px rgba(0, 255, 136, 0.25),
            0 0 40px rgba(0, 255, 136, 0.12);
    }

    .menu.ativo {
        display: flex;
    }

    .menu a {
        width: 100%;
        text-align: center;

        border-left: none;
        border-bottom: 1px solid rgba(0, 255, 136, 0.25);

        padding: 12px;
    }

    .menu a:last-child {
        border-bottom: none;
    }

    /* HERO */

    .hero-card {
        width: 88%;
        padding: 28px;
    }

    /* SOBRE */

    .container-sobre {
        flex-direction: column;
        text-align: center;
    }

    .sobre-texto p {
        text-align: center;
    }

    /* PLANOS */

    .section-planos {
        padding-top: 140px;
    }

    .planos-container {
        flex-direction: column;
        align-items: center;
    }

    .card-plano {
        width: 90%;
        max-width: 330px;
    }

    /* PORTFÓLIO */

    .portfolio-section {
        padding-top: 140px;
        padding-left: 6%;
        padding-right: 6%;
    }

    .portfolio-grid {
        gap: 25px;
    }

    .projeto-card {
        width: 100%;
        max-width: 330px;
    }

    .projeto-img {
        height: 160px;
    }

    .projeto-img img {
        object-fit: contain;
        padding: 8px;
    }

    /* DETALHE */

    .portfolio-detalhe {
        padding: 120px 0 70px;
        overflow: hidden;
    }

    .detalhe-info {
        width: 100%;
        max-width: 340px;

        margin: 0 auto 35px auto;
        padding: 0 20px;

        text-align: center;
    }

    .detalhe-info h2 {
        font-size: 28px;
        line-height: 1.2;
    }

    .detalhe-info p {
        max-width: 320px;

        margin: 0 auto;

        font-size: 15px;
        line-height: 1.5;
    }

    /* CARROSSEL */

    .carousel-container {
        position: relative;

        width: 100%;

        justify-content: center;

        padding-bottom: 90px;
    }

    .carousel-projetos {
        width: 100%;
        min-height: 500px;
    }

    #carouselFotos .carousel-card {
        width: 88%;
        max-width: 340px;

        min-height: 420px;

        padding: 12px;
    }

    #carouselFotos .carousel-card img {
        width: 100%;
        height: 390px;

        object-fit: contain;

        border-radius: 22px;

        background: #050505;
    }

    .carousel-card.esquerda,
    .carousel-card.direita {
        opacity: 0;
        pointer-events: none;
    }

    /* SETAS */

    .seta-carousel {
        position: absolute;

        bottom: 10px;

        width: 52px;
        height: 52px;

        border-radius: 50%;

        background: rgba(0, 0, 0, 0.7);

        border: 1px solid rgba(0, 255, 136, 0.35);

        color: #00ff88;

        display: flex;
        align-items: center;
        justify-content: center;

        font-size: 22px;

        z-index: 20;

        backdrop-filter: blur(10px);

        box-shadow:
            0 0 12px rgba(0, 255, 136, 0.2);
    }

    .seta-carousel:first-child {
        left: 34%;
    }

    .seta-carousel:last-child {
        right: 34%;
    }

    /* BOTÃO */

    .btn-projeto {
        margin-top: 20px;
    }
}

/* ===== CORREÇÃO DESKTOP - PORTFÓLIO DETALHE ===== */

.portfolio-detalhe .detalhe-info {
    width: 100%;
    max-width: 850px;
    margin: 0 auto 45px auto;
    text-align: center;
}

.portfolio-detalhe .detalhe-info h2 {
    color: #00ff88;
    font-size: 42px;
    line-height: 1.1;
    margin-bottom: 14px;
    text-shadow: 0 0 18px rgba(0, 255, 136, 0.25);
}

.portfolio-detalhe .detalhe-info p {
    max-width: 720px;
    margin: 0 auto;
    color: #d8d8d8;
    font-size: 17px;
    line-height: 1.7;
}

/* Setas no desktop voltam para as laterais do carrossel */
@media (min-width: 769px) {
    .seta-carousel {
        position: static;
        width: 54px;
        height: 54px;
        border-radius: 50%;
        transform: none;
    }

    .seta-carousel:first-child,
    .seta-carousel:last-child {
        left: unset;
        right: unset;
    }
}

/* ===== CORREÇÃO DAS SETAS ===== */

.seta-carousel {
    width: 58px;
    height: 58px;

    min-width: 58px;
    min-height: 58px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, 0.75);

    border: 1px solid rgba(0, 255, 136, 0.45);

    color: #00ff88;

    font-size: 26px;
    font-weight: bold;
    line-height: 1;

    cursor: pointer;

    backdrop-filter: blur(10px);

    box-shadow:
        0 0 14px rgba(0, 255, 136, 0.25);

    transition: all 0.3s ease;
}

.seta-carousel:hover {
    transform: scale(1.08);

    background: rgba(0, 255, 136, 0.12);

    box-shadow:
        0 0 18px rgba(0, 255, 136, 0.45);
}