* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Lato', sans-serif;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

.clear {
    clear: both;
}

.container {
    overflow-x: hidden;
    padding-left: 15px !important;
    padding-right: 15px !important;
}

img {
    max-width: 100%;
    height: auto;
}

.text-white, .pointer {
    cursor: pointer !important;
}



/* ===== NOVOS ESTILOS REFINADOS (do portfólio sensacional) ===== */
h1, h2, h3, h4 {
    font-family: 'Space Grotesk', monospace;
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* Navbar glassmorphism */
.navbar {
    transition: all 0.4s ease;
    padding: 1rem 0;
    background-color: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.navbar.scrolled {
    padding: 0.5rem 0;
    background-color: rgba(15, 23, 42, 1) !important;
}
.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
}
.nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s;
    position: relative;
}
.nav-link:hover {
    color: #facc15 !important;
    transform: translateY(-2px);
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: #facc15;
    transition: width 0.3s;
}
.nav-link:hover::after {
    width: 100%;
}

.navbar .container {
    padding-left: 15px;
    padding-right: 15px;
}

.navbar-toggler {
    margin-right: 0;
}

/* Seções */
section {
    padding: 5rem 0;
}
.caixa {
    padding: 4rem 0;
    border-bottom: 1px solid #e5e5e5;
}

/* Imagens thumb */
.img-thumbnail {
    border-radius: 1.5rem !important;
    border: none;
    box-shadow: 0 20px 35px -12px rgba(0,0,0,0.2);
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}
.img-thumbnail:hover {
    transform: scale(1.02) translateY(-8px);
    box-shadow: 0 30px 40px -15px rgba(0,0,0,0.25);
}

/* Tecnologias ícones */
.tecnologias i {
    font-size: 2.5rem;
    margin-right: 1rem;
    transition: all 0.2s;
    display: inline-block;
}
.tecnologias i:hover {
    transform: translateY(-5px);
    color: #facc15 !important;
}

/* Botões */
.btn-outline-dark {
    border-radius: 60px;
    padding: 0.5rem 1.2rem;
    transition: all 0.3s;
    font-weight: 500;
}
.btn-outline-dark:hover {
    background: #0f172a;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -8px rgba(0,0,0,0.3);
}

/* Linha decorativa */
.hr-custom {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #facc15, #eab308);
    margin: 1.5rem auto;
    border-radius: 4px;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #cbd5e1;
    padding: 2rem 0;
    margin-top: auto;
}
footer a {
    color: #cbd5e1;
    text-decoration: none;
    margin-right: 1.5rem;
    transition: color 0.2s;
}
footer a:hover {
    color: #facc15;
}
.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    transition: all 0.3s;
    margin-left: 0.5rem;
}
.social-icons a:hover {
    background: #facc15;
    color: #0f172a !important;
    transform: translateY(-3px);
}
footer p a {
    margin: 5px 15px;
}

/* ===== SEUS ESTILOS ORIGINAIS (modais, páginas projetos, contato) ===== */
/* modal da pagina projetos */
.bg, .bg2, .bg3, .bg4, .bg5, .bg6, .bg7, .bg8 {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.6);
}
.form, .form2 {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, 50%);
    border: 4px solid rgb(210, 210, 210);
    background-color: white;
    max-width: 400px;
    padding: 80px 2%;
    width: calc(94% - 32px);
}
.form input[type=text], .form2 input[type=text] {
    width: 100%;
    height: 48px;
    line-height: 48px;
    padding-left: 8px;
    color: #ccc;
    border: 1px solid #ccc;
    margin-bottom: 20px;
}
.estilo-btn {
    width: 100%;
    height: 48px;
    color: white;
    font-size: 17px;
    text-transform: uppercase;
    cursor: pointer;
    font-weight: bold;
    background: rgba(0, 0, 0, 0.658);
    border-radius: 10px;
    border: 0;
}
.estilo-btn:hover {
    background-color: black;
    color: white;
}
.closeBtn, .closeBtn2 {
    width: 32px;
    height: 32px;
    border-radius: 16px;
    border: 1px solid #ccc;
    background-color: white;
    color: rgba(0, 0, 0, 0.658);
    position: absolute;
    right: -16px;
    font-size: 19px;
    font-weight: bold;
    top: -16px;
    text-align: center;
    line-height: 32px;
    cursor: pointer;
}
.text-dark:hover {
    background-color: black;
    border-radius: 60px;
}
/* Pagina projetos */
.pointer:hover {
    background: black;
    border-radius: 20px;
    color: white !important;
}
.servicos {
    background: rgba(0, 0, 0, 0.658);
}
.title-servicos {
    text-align: center;
}
.title-servicos h3 {
    padding-top: 13px;
    color: white;
    font-size: 22px;
    font-weight: normal;
    text-transform: uppercase;
}
.title-servicos h3:hover {
    color: black;
    cursor: pointer;
}
.title-servicos i {
    font-size: 25px;
}
.flex-servicos {
    display: flex;
    flex-wrap: wrap;
}
.space-servicos {
    display: flex;
    padding: 30px;
    width: 25%;
}
.box-servico {
    border-radius: 3px;
    background-color: #ffffff;
    box-shadow: 0 8px 20px 0 rgba(224, 224, 224, 0.5);
    background: white;
    height: 100%;
}
.box-servico img {
    width: 100%;
}
.mesmo-tamanho {
    height: 200px !important;
}
.box-servico-wraper {
    padding: 20px;
}
.box-servico-wraper h2 {
    color: #31475e;
    font-size: 20px;
    font-weight: normal;
}
.box-servico-wraper p {
    margin: 8px 0;
    line-height: 1.6;
    font-weight: lighter;
    color: #6a7c92;
    font-size: 15px;
}
.box-servico-wraper a {
    display: inline-block;
    border: 1px solid #6a7c92;
    color: #6a7c92;
    font-size: 14px;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 20px;
}
.box-servico-wraper a:hover {
    background-color: black;
    color: white;
}
/* Pagina contato */
.center {
    max-width: 1100px;
    padding: 0 2%;
    margin: 0 auto;
}
.cor {
    text-decoration: none;
    color: rgba(255, 0, 0, 0.705);
    background-color: white;
}
.cor:hover {
    background-color: rgba(255, 0, 0, 0.705);
    color: white;
}
.cor2 {
    background-color: #0e76a8;
    color: white;
    text-decoration: none;
}
.cor2:hover {
    background-color: white;
    color: #0e76a8;
}
.cor3 {
    background-color: white;
    color: black;
    text-decoration: none;
}
.cor3:hover {
    background-color: black;
    color: white;
}
.container-single {
    width: 33.3%;
    float: left;
    padding: 0 10px;
    margin-bottom: 20px;
}
div.icon-round {
    display: inline-block;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid white;
    position: relative;
}
div.icon-round i {
    position: absolute;
    font-size: 25px;
    color: white;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
div.texto-descricao {
    color: white;
    padding: 0 8px;
    display: inline-block;
    width: calc(100% - 60px);
}
div.texto-descricao h2 {
    font-weight: normal;
    font-size: 23px;
}
div.texto-descricao p {
    color: white;
    font-size: 13px;
    margin-top: 6px;
}
section.depoimentos {
    padding: 30px 0;
}
section.depoimentos > .center {
    display: flex;
    flex-wrap: wrap;
}
.depoimentos-single {
    background-color: rgba(0, 0, 0, 0.89);
    background-image: url('../imagens/quote.png');
    background-size: 55px 40px;
    background-position: right top;
    background-repeat: no-repeat;
    margin-bottom: 10px;
    padding: 30px;
    width: 40%;
    margin-right: 10%;
}
.depoimentos-single p {
    font-weight: bold;
    color: white;
    font-size: 18px;
}
.depoimentos-single span {
    color: white;
    font-weight: bold;
    font-size: 14px;
}
.sobre-single {
    width: 33.3%;
    padding: 20px;
    margin: 0 auto;
}
.titulo-single {
    display: flex;
}
.titulo-single i {
    background: rgba(0, 0, 0, 0.89);
    width: 30%;
    position: relative;
    padding-top: 20px;
    font-size: 22px;
    color: white;
    text-align: center;
}
.titulo-single h3 {
    color: black;
    background-color: #f1f6f1;
    width: 70%;
    padding: 20px 30px;
    margin: 0;
}
.sobre-conteudo {
    background: rgba(0, 0, 0, 0.89);
    padding: 30px;
    color: white;
}
@media screen and (max-width: 1024px) {
    .space-servicos {
        width: 50%;
    }
}
@media screen and (max-width: 800px) {
    .space-servicos {
        width: 50%;
    }
}
@media screen and (max-width: 768px) {
    .sobre-single {
        width: 100%;
    }
    .depoimentos-single {
        width: 100%;
        margin-left: 30px;
    }
    .container-single {
        width: 80%;
        text-align: center;
        margin-left: 50px;
    }
    .btn {
        margin: 4px;
    }
    .space-servicos {
        width: 100%;
    }
    .img-center {
        width: 100% !important;
    }
    .form {
        margin-top: 300px;
    }
    .form2 {
        position: absolute;
        left: 50%;
        top: 270%;
    }
    .navbar-brand {
        font-size: 1.4rem;
    }
    section, .caixa {
        padding: 2.5rem 0;
    }
    .img-thumbnail {
        margin-top: 1.5rem;
    }

       #curriculo .row {
        margin-left: 0;
        margin-right: 0;
    }

     #curriculo [class*="col-"] {
        padding-left: 0;
        padding-right: 0;
    }

        .card {
        margin-left: 0;
        margin-right: 0;
    }

    #curriculo .row.g-5 {
        --bs-gutter-y: 1.5rem;
    }
    #curriculo .col-md-6 {
        width: 100%;
        margin-bottom: 1.5rem;
    }
    #curriculo .card {
        margin: 0 auto;
        max-width: 100%;
    }
    #curriculo .img-thumbnail {
        max-height: 200px !important;
        width: auto !important;
        margin: 0 auto;
    }
    #curriculo .card-body {
        padding: 1rem;
    }
    #curriculo .btn-outline-dark {
        font-size: 0.9rem;
        padding: 0.4rem 1rem;
    }
      footer .col-md-6 {
        text-align: center !important;
    }
    footer .social-icons {
        justify-content: center;
        margin-top: 1rem;
    }
    footer .mb-2 a {
        display: inline-block;
        margin: 0 0.5rem;
    }
    /* Botões da home não quebram linha errado */
    .mt-4 .btn {
        margin-bottom: 0.5rem;
        display: inline-block;
    }
}