
/* ========================================
   MAXIMUS DIGITAL STUDIO
   ESTILIZAÇÃO PRINCIPAL
======================================== */

/* CONFIGURAÇÕES GERAIS */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #09090d;
    color: #fff;
    font-family: Arial, sans-serif;
}

/* ========================================
   MENU
======================================== */

header {
    width: 100%;
    padding: 25px 8%;
    border-bottom: 1px solid #24202c;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    color: #fff;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 2px;
}

.logo span {
    color: #a855f7;
}

.logo small {
    display: block;
    color: #a1a1aa;
    font-size: 9px;
    letter-spacing: 4px;
    margin-top: 5px;
}

.navbar ul {
    display: flex;
    gap: 35px;
    list-style: none;
}

.navbar ul a {
    color: #c4c4cc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.navbar ul a:hover {
    color: #c084fc;
}

/* ========================================
   INÍCIO / HERO
======================================== */

.hero {
    min-height: 85vh;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    justify-items: center;
    gap: 40px;
    padding: 60px 10%;
    text-align: left;
}

.hero-conteudo {
    max-width: 650px;
}

.subtitulo {
    color: #c084fc;
    font-size: 12px;
    letter-spacing: 4px;
    margin-bottom: 25px;
}

.hero-conteudo h1 {
    max-width: 950px;
    font-size: clamp(38px, 5vw, 65px);
    line-height: 1.15;
}

.hero-conteudo h1 span {
    color: #a855f7;
    text-shadow: 0 0 25px rgba(168, 85, 247, 0.35);
}

.descricao {
    max-width: 600px;
    color: #a1a1aa;
    font-size: 17px;
    line-height: 1.7;
    margin: 25px 0 35px;
}

/* ANIMAÇÃO DE ENTRADA */

@keyframes aparecer {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero .subtitulo,
.hero-conteudo h1,
.hero .descricao,
.hero .botao {
    animation: aparecer 0.9s ease both;
}

/* ========================================
   BOTÕES
======================================== */

.botao {
    display: inline-block;
    padding: 16px 30px;
    background: #9333ea;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 0 15px rgba(147, 51, 234, 0.2);
    transition: 0.3s;
}

.botao:hover {
    background: #a855f7;
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(168, 85, 247, 0.45);
}

/* ========================================
   CARD 3D
======================================== */

.card-3d {
    width: 280px;
    height: 370px;
    position: relative;
    animation: flutuar 3s ease-in-out infinite;
    -webkit-animation: flutuar 3s ease-in-out infinite;
}

.card-giratorio {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    animation: girar-card 12s linear infinite;
    -webkit-animation: girar-card 12s linear infinite;
}

.card-face {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid #a855f7;
    border-radius: 18px;
    box-shadow: 0 0 35px rgba(168, 85, 247, 0.2);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.card-frente {
    background: linear-gradient(145deg, #251333, #0b0910 75%);
    transform: rotateY(0deg) translateZ(1px);
    -webkit-transform: rotateY(0deg) translateZ(1px);
}

.card-verso {
    background: linear-gradient(145deg, #35164f, #100b18 75%);
    transform: rotateY(180deg) translateZ(1px);
    -webkit-transform: rotateY(180deg) translateZ(1px);
}

.card-simbolo {
    color: #c084fc;
    font-size: 65px;
    font-weight: bold;
    text-shadow: 0 0 25px #a855f7;
}

.card-face h2 {
    font-size: 27px;
    letter-spacing: 4px;
    margin-top: 15px;
}

.card-face p {
    color: #c084fc;
    font-size: 11px;
    letter-spacing: 5px;
    margin-top: 8px;
}

.card-linha {
    width: 65px;
    height: 2px;
    background: #a855f7;
    margin: 30px 0;
}

.card-face small {
    color: #a1a1aa;
    font-size: 9px;
    letter-spacing: 2px;
}

/* MOVIMENTO DO CARD */

@keyframes girar-card {
    from {
        transform: perspective(1200px) rotateY(0deg);
    }

    to {
        transform: perspective(1200px) rotateY(360deg);
    }
}

@-webkit-keyframes girar-card {
    from {
        -webkit-transform: perspective(1200px) rotateY(0deg);
    }

    to {
        -webkit-transform: perspective(1200px) rotateY(360deg);
    }
}

@keyframes flutuar {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-18px);
    }
}

@-webkit-keyframes flutuar {
    0%, 100% {
        -webkit-transform: translateY(0);
    }

    50% {
        -webkit-transform: translateY(-18px);
    }
}

/* ========================================
   SERVIÇOS
======================================== */

.servicos {
    padding: 100px 8%;
    text-align: center;
    background: #0e0c13;
}

.servicos h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.servicos h2 span {
    color: #a855f7;
}

.servicos-descricao {
    color: #a1a1aa;
    margin-bottom: 50px;
}

.servicos-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.servico-card {
    position: relative;
    overflow: hidden;
    padding: 35px 28px;
    background: linear-gradient(145deg, #1b1425, #100d16);
    border: 1px solid #30223e;
    border-radius: 14px;
    text-align: left;
    transition: 0.35s ease;
}

.servico-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #7e22ce, #c084fc);
    opacity: 0;
    transition: 0.35s;
}

.servico-card:hover {
    transform: translateY(-10px);
    border-color: #a855f7;
    box-shadow: 0 15px 40px rgba(168, 85, 247, 0.15);
}

.servico-card:hover::before {
    opacity: 1;
}

.servico-icone {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(168, 85, 247, 0.13);
    color: #c084fc;
    border: 1px solid #60338a;
    border-radius: 10px;
    font-weight: bold;
    margin-bottom: 25px;
}

.servico-card h3 {
    color: #fff;
    font-size: 19px;
    margin-bottom: 15px;
}

.servico-card p {
    min-height: 85px;
    color: #a1a1aa;
    line-height: 1.8;
}

.servico-card a {
    display: inline-block;
    color: #c084fc;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    margin-top: 20px;
}

.servico-card a:hover {
    color: #fff;
}

/* ========================================
   SOBRE A EMPRESA
======================================== */

.sobre {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 70px;
    padding: 120px 10%;
}

.sobre-conteudo h2 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 25px;
}

.sobre-conteudo h2 span {
    color: #a855f7;
}

.sobre-conteudo p:not(.subtitulo) {
    color: #a1a1aa;
    line-height: 1.8;
    margin-bottom: 20px;
}

.sobre-conteudo .botao {
    margin-top: 15px;
}

.sobre-destaque {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #21132f, #100d16);
    border: 1px solid #482765;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 0 35px rgba(168, 85, 247, 0.08);
}

.sobre-destaque span {
    font-size: 38px;
    font-weight: bold;
    letter-spacing: 4px;
}

.sobre-destaque p {
    color: #c084fc;
    font-size: 11px;
    letter-spacing: 5px;
    margin-top: 10px;
}

.sobre-destaque div {
    width: 60px;
    height: 3px;
    background: #a855f7;
    margin: 30px 0;
}

.sobre-destaque small {
    color: #a1a1aa;
    letter-spacing: 3px;
}

/* ========================================
   CONTATO ANTIGO
======================================== */

.contato {
    padding: 100px 20px;
    background: #100d16;
    text-align: center;
}

.contato h2 {
    font-size: 40px;
    margin: 20px 0;
}

.contato h2 span {
    color: #a855f7;
}

.contato p:not(.subtitulo) {
    color: #a1a1aa;
    line-height: 1.7;
    margin-bottom: 35px;
}

/* ========================================
   PORTFÓLIO ANTIGO
======================================== */

.projetos {
    padding: 100px 10%;
    text-align: center;
}

.projetos h2 {
    font-size: 42px;
    margin-bottom: 50px;
}

.projetos h2 span {
    color: #a855f7;
}

.projeto-card {
    max-width: 850px;
    margin: auto;
    overflow: hidden;
    background: #15121c;
    border: 1px solid #30223e;
    border-radius: 15px;
    text-align: left;
    transition: 0.3s;
}

.projeto-card:hover {
    transform: translateY(-7px);
    border-color: #a855f7;
    box-shadow: 0 15px 40px rgba(168, 85, 247, 0.12);
}

.projeto-imagem {
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #35164f, #100d16);
}

.projeto-imagem span {
    color: #c084fc;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 3px;
}

.projeto-info {
    padding: 30px;
}

.projeto-categoria {
    color: #c084fc;
    font-size: 11px;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.projeto-info h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.projeto-info p:not(.projeto-categoria) {
    color: #a1a1aa;
    line-height: 1.8;
}

.tecnologias {
    display: inline-block;
    color: #c084fc;
    font-size: 12px;
    letter-spacing: 2px;
    margin-top: 20px;
}

/* ========================================
   RODAPÉ
======================================== */

footer {
    padding: 35px 20px;
    border-top: 1px solid #30223e;
    text-align: center;
}

footer h3 {
    letter-spacing: 3px;
}

footer h3 span {
    color: #a855f7;
}

footer p {
    color: #a1a1aa;
    font-size: 10px;
    letter-spacing: 4px;
    margin: 8px 0 20px;
}

footer small {
    color: #71717a;
}

/* LINKS LEGAIS */

.links-legais {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 20px;
}

.links-legais a {
    color: #999;
    text-decoration: none;
    font-size: 13px;
    transition: 0.3s;
}

.links-legais a:hover {
    color: #a855f7;
}

/* ========================================
   AVISO DE COOKIES
======================================== */

.cookie-banner {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 850px;
    background: #15151d;
    border: 1px solid #33303d;
    border-radius: 14px;
    padding: 25px;
    z-index: 9999;
    box-shadow: 0 10px 40px #0009;
}

.cookie-conteudo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
}

.cookie-titulo {
    font-size: 19px;
    font-weight: bold;
}

.cookie-banner p,
.cookie-config p {
    color: #aaa;
    font-size: 13px;
    line-height: 1.6;
    margin: 10px 0;
}

.cookie-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.cookie-links a {
    color: #c084fc;
    font-size: 12px;
    text-decoration: none;
}

.cookie-botoes {
    display: flex;
    flex-direction: column;
    gap: 9px;
    min-width: 155px;
}

.cookie-botoes button,
.cookie-config button {
    padding: 11px 15px;
    border-radius: 7px;
    cursor: pointer;
    font-weight: bold;
}

.cookie-aceitar {
    background: #a855f7;
    color: white;
    border: none;
}

.cookie-rejeitar,
.cookie-configurar {
    background: transparent;
    color: white;
    border: 1px solid #555;
}

.cookie-config {
    display: none;
    position: fixed;
    inset: 0;
    background: #000b;
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-config-conteudo {
    background: #15151d;
    border: 1px solid #33303d;
    border-radius: 14px;
    padding: 25px;
    width: 100%;
    max-width: 420px;
}

.cookie-config h3 {
    margin-bottom: 12px;
}

.cookie-config label {
    display: block;
    margin: 18px 0;
    font-size: 14px;
}

.cookie-config input {
    margin-right: 8px;
}

/* ========================================
   ACESSIBILIDADE
======================================== */

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #c084fc;
    outline-offset: 4px;
}


/* ========================================
   TABLETS
======================================== */

@media (min-width: 701px) and (max-width: 1000px) {

    .hero {
        padding-left: 6%;
        padding-right: 6%;
        gap: 25px;
    }

    .card-3d {
        width: 230px;
        height: 310px;
    }

    .servicos-container {
        gap: 15px;
    }

    .servico-card {
        padding: 25px 20px;
    }

    .sobre {
        gap: 35px;
        padding-left: 7%;
        padding-right: 7%;
    }
}

/* ========================================
   CELULARES
======================================== */

@media (max-width: 700px) {

    /* MENU */

    header {
        padding: 22px 5%;
    }

    .navbar {
        flex-direction: column;
        gap: 25px;
    }

    .navbar ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 18px;
    }

    .navbar ul a {
        font-size: 13px;
    }

    /* INÍCIO */

    .hero {
        min-height: auto;
        grid-template-columns: 1fr;
        text-align: center;
        padding: 80px 6%;
        gap: 60px;
    }

    .hero-conteudo h1 {
        font-size: clamp(32px, 8vw, 42px);
    }

    .hero-conteudo .subtitulo {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .hero-conteudo .descricao {
        font-size: 15px;
    }

    /* CARD 3D */

    .card-3d {
        width: 230px;
        height: 300px;
        margin: 10px auto;
    }

    /* SERVIÇOS */

    .servicos {
        padding: 80px 6%;
    }

    .servicos-container {
        grid-template-columns: 1fr;
    }

    .servicos h2,
    .projetos h2 {
        font-size: 32px;
    }

    .servico-card {
        padding: 30px 22px;
    }

    .servico-card p {
        min-height: auto;
    }

    /* SOBRE */

    .sobre {
        grid-template-columns: 1fr;
        padding: 80px 6%;
        gap: 40px;
    }

    .sobre-conteudo h2 {
        font-size: 34px;
    }

    /* PORTFÓLIO ANTIGO */

    .projetos {
        padding: 80px 6%;
    }

    .projeto-imagem {
        height: 200px;
    }

    .projeto-imagem span {
        font-size: 17px;
        text-align: center;
    }

    .projeto-info {
        padding: 22px;
    }

    /* CONTATO ANTIGO */

    .contato {
        padding: 80px 6%;
    }

    .contato h2 {
        font-size: 32px;
    }

    /* COOKIES */

    .cookie-banner {
        width: 92%;
        max-height: calc(100vh - 30px);
        overflow-y: auto;
        padding: 20px;
        bottom: 15px;
    }

    .cookie-conteudo {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-botoes {
        width: 100%;
        min-width: 0;
    }

    .cookie-config-conteudo {
        max-height: calc(100vh - 40px);
        overflow-y: auto;
    }

    /* RODAPÉ */

    .links-legais {
        gap: 15px;
    }
}

/* TELAS MUITO PEQUENAS */

@media (max-width: 380px) {

    .navbar ul {
        gap: 12px;
    }

    .navbar ul a {
        font-size: 12px;
    }

    .hero-conteudo h1 {
        font-size: 30px;
    }

    .card-3d {
        width: 210px;
        height: 280px;
    }

    .cookie-banner {
        padding: 16px;
    }
}
