* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    scroll-behavior: smooth;

}

:root {
    /* Tipografia */
    --font-title: 'Audiowide', sans-serif;
    --font-paragraph: 'Nunito', sans-serif;

    /* Cores */
    --texto-principal: #F1F5F9;
    --texto-secundario: #bbc3d3;
    --destaque-primario: #6366F1;
    --fundo: #111111;
}


body {
    width: 100%;
    /* melhor que calc(100vw - 15px) */
    min-height: 100vh;
    overflow-x: hidden;
    font-family: var(--font-paragraph);
    font-weight: 600;
    background-color: var(--fundo);
    color: var(--texto-principal);
    line-height: 1.5;

}


/* LINKS */
a {
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    line-height: 1.4;
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* PARÁGRAFOS */
p,
input#name,
input#email,
input#subject,
textarea#message,
label,
form button.botao {
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.6;
    max-width: 70ch;
    margin-bottom: 1em;
}


h1,
.logo {
    font-family: var(--font-title);
    color: var(--texto-principal);
    font-size: clamp(2rem, 5vw, 3rem);
    /* ajusta automático */
    font-weight: 800;
    line-height: 1.2;
}

h2,
h3 {
    font-family: var(--font-title);
}

h2 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 800;
    line-height: 1.3;
}

h3 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 800;
}

p {
    color: var(--texto-secundario);
    font-size: 1.2rem;
    line-height: 1.6;
    letter-spacing: 0;
}

a {
    text-decoration: none;
    color: var(--texto-secundario);
    padding: 10px;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.6;
    letter-spacing: 0;
}

header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 3;
}

header .header-sociais,
header .header-nav {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    padding: 0 100px;
}

header .header-sociais {
    justify-content: end;
    gap: 10px;
}

header .header-sociais>a {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: nowrap;
    color: var(--destaque-primario);
}

header .canvaoff {
    display: none;
}

header .header-sociais a {
    fill: var(--destaque-primario);
}

header .header-sociais .git:hover {
    fill: #55bc9d;
    color: #55bc9d;
}

header .header-sociais .insta:hover {
    fill: #7acdee;
    color: #7acdee;
}

header .header-sociais .linkedin:hover {
    fill: #8a3ab9;
    color: #8a3ab9;
}

header .header-nav {
    align-items: center;
    justify-content: space-between;
}

header nav.header-nav .logo-bloco {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: nowrap;
}

header nav.header-nav div.lista-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

header nav.header-nav div.lista-nav a {
    padding: 10px;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

.container {
    display: none;
    position: fixed;
    top: 0;
    right: -55px;
}

.toggle {
    position: sticky;
}

/* Até 1240px */
@media (max-width: 1240px) {
    header nav.header-nav .logo {
        display: none;
    }

    .header-nav .img-logo {
        width: 80px;
    }

    main section>.images-profile,
    main section>.infobox {
        margin-top: 150px;
    }
}

button.toggle {
    display: none;
}




/* Até 960px */
@media (max-width: 960px) {
    header {
        display: block;
        position: static;
    }

    main>.back-svg {
        top: 0;
        right: 0;
    }

    .header-sociais {
        justify-content: center !important;
    }

    main section {
        grid-template-columns: 1fr;

    }

    main section>.images-profile,
    main section>.infobox {
        margin: 20px;
    }

    header .header-nav {
        display: flex;
        justify-content: center !important;
    }

    .header-nav>.container {
        display: block;
        height: 100vh;
        background-color: var(--destaque-primario);
        z-index: 5;
    }

    .toggle {
        display: block !important;
        font-size: 25px;
        color: var(--texto-principal);
        border: none;
        position: relative;
        top: 30px;
        left: -55px;
    }

    .canvaoff a {
        text-align: start;
    }

    .toggle:hover {
        color: var(--destaque-primario);
    }

    .canvaoff {
        display: none;
        flex-direction: column;
        gap: 15px;
        height: 100%;
        padding: 20px;
    }

    .canvaoff.ativo,
    .container.ativo {
        display: flex;
    }

    .overflow-hidden {
        overflow: hidden;
    }

    .overflow-hidden::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: black;
        opacity: .8;
        z-index: 3;
    }


    .header-nav>.container.retorn {
        right: 0 !important;
        transition: transform 0.3s ease-in-out;
    }

    .toggle.rotate {
        transform: rotate(180deg);
        transition: transform 0.3s ease-in-out;
        left: -25px;
    }

    header .lista-nav {
        display: none !important;
    }

    header nav.header-nav div.container .canvaoff a:hover {
        scale: 1.2;
        color: white;
    }

    header nav.header-nav div.container .canvaoff>.ativo {
        color: white;
    }

    header nav.header-nav div.container .canvaoff .botao {
        background-color: var(--destaque-primario);
        padding: 5px 10px;
    }

    header nav.header-nav div.container .canvaoff .botao:hover {
        background-color: var(--texto-principal);
    }

    header nav.header-nav div.container .canvaoff .botao:hover a {
        color: var(--destaque-primario);
    }
}

@media (max-width: 880px) {
    main>.back-svg {
        top: 200px !important;
        right: 0;
    }
}

@media (max-width: 645px) {
    main>.back-svg {
        bottom: 200px !important;
        right: 0;
    }

    main {
        padding: 0 !important;
    }
}

@media (max-width: 590px) {
    main>.back-svg {
        top: 300px !important;
    }
}

header nav.header-nav div.lista-nav a:hover {
    scale: 1.2;
}

header nav.header-nav .lista-nav>.ativo {
    color: white;
    text-decoration: underline;
}

.botao {
    padding: 10px;
    background-color: var(--destaque-primario);
    border: solid 1px var(--fundo);
    border-radius: 25px;
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.6;
    max-width: 70ch;
    margin-bottom: 1em;
}

.botao:hover {
    scale: 1.05;
    transition: all .6s ease;
    background-color: var(--texto-principal);
}

.botao>a {
    color: var(--texto-principal);
    font-weight: 600;
}

.botao>a:hover {
    color: var(--destaque-primario);
}

a:hover {
    transition: all .5s ease !important;
}

main {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

main section.home {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    gap: 2rem;
    margin: 0 auto;
    padding: 2rem;
    z-index: 2;
}

main section .infobox {
    max-width: 500px;
}

.infobox h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin: 1rem 0;
    color: var(--texto-principal, #111);
}

.infobox p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: var(--texto-secundario, #444);
}

.infobox a.botao {
    background: var(--destaque-primario);
    border: solid 2px var(--fundo);
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    transition: 0.3s ease;
    color: var(--texto-principal);
}

.infobox .botao {
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 25px;
}

.infobox .botao:hover {
    background: var(--texto-principal);
    color: var(--destaque-primario);
}


main>.back-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: auto;
    z-index: 0;
}



main section .images-profile .profile {
    max-width: 100%;
    height: auto;
    border-radius: 50%;
}

.images-profile {
    position: relative;
    z-index: 1;

}

main section .images-profile::after,
main section .images-profile::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: -1;
    background-image: conic-gradient(var(--destaque-primario), #00e1ff, #ff00c8, #ffe600, var(--destaque-primario));
    translate: -50% -50%;
    padding: 3px;
    border-radius: 50%;
    animation: border 3s linear infinite;
}

main section .images-profile::before {
    filter: blur(1.5rem);
    opacity: .5;
}

@keyframes border {
    from {
        transform: rotate(0);
    }

    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 960px) {
    main .home {
        flex-direction: column !important;
        text-align: center;
        gap: 2rem;
    }

    .infobox {
        max-width: 100%;
    }
}

article {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 60vh;
    padding: 2rem 1rem;
    background: var(--destaque-primario);
}

.centralizar-article {
    max-width: 800px;
    margin: 0 auto;
}

/* Tipografia responsiva */
.centralizar-article h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.centralizar-article p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.6;
    color: var(--texto-principal, #333);
}



.conquistas-infobox {
    display: flex;
    margin-right: 530px;
}

.conquistas-infobox>h2 {
    margin: 30px;
    font-size: 60px;
    border: none;
}

@media (max-width: 590px) {
    .conquistas-infobox {
        margin: 0;
        padding: 0;
        text-align: center;
        justify-content: center;
        gap: 10px;
    }

    .conquistas-infobox>h2 {
        font-size: 40px;
        margin: 10px;
    }
}

.conquistas-habilidades {
    background-color: var(--fundo);
    width: 100%;
    height: calc(100vh + 100px);
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.carrossel {
    width: 75%;
    /* overflow: hidden; */
    border-radius: 10px;
    padding: 10px;
    position: relative;
    margin: 0 auto;
}


.carrossel-track {
    display: flex;
    gap: 1em;
    width: 100%;
    overflow-x: auto;
    margin: 3em auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    /* padding: 1em calc((100% - 20em) / 2); */
}

.carrossel-track::-webkit-scrollbar {
    display: none;
}

.carrossel-track::scroll-button(right),
.carrossel-track::scroll-button(left) {
    content: '→';
    border: none;
    background-color: var(--destaque-primario);
    color: var(--texto-principal);
    font-family: Consolas;
    font-size: 3rem;
    height: 60px;
    width: 60px;
    border-radius: 50%;
    padding-bottom: .1em;
    cursor: pointer;
    position: absolute;
    bottom: -10px;
    right: 10px;
}

.carrossel-track::scroll-button(left) {
    content: '←';
    left: 10px;
}

.carrossel-track::scroll-button(right):disabled,
.carrossel-track::scroll-button(left):disabled {
    opacity: .5;
    cursor: default;
    z-index: -1;
}

.card {
    flex: 0 0 20em;
    text-align: center;
    aspect-ratio: 5/3;
    padding: 1em;
    border-radius: .5em;
    scroll-snap-align: center;
    background-color: var(--destaque-primario);
}

@media (max-width: 500px) {
    .carrossel-track {
        padding: 1em calc((100% - 90%) / 2);
    }

    .card {
        flex: 0 0 90%;
    }
}

.card>img {
    max-width: 100%;
    height: auto;
    border-radius: .5em;
}

.habilidades {
    background-color: var(--fundo);
    width: 100%;
    min-height: 100vh;
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* Mudanças com BOOTSTRAP */
.skills h2 {
    text-align: center;
    margin-bottom: 40px;
}

.skills {
    width: 80%;
}

.skills-container {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    /* empilha em telas pequenas */
}

.skills-column {
    flex: 1 1 500px;
}

.skills-column p {
    margin: 0 0 5px;
    font-weight: bold;
}

.progress {
    background-color: #1E293B;
    border-radius: 10px;
    overflow: hidden;
    height: 25px;
    margin-bottom: 20px;
}

.progress-bar {
    line-height: 25px;
    color: #F1F5F9;
    font-weight: bold;
    padding-left: 10px;
    transition: width 2s ease-in-out;
    /* animação da largura */
}

/* cores das barras */
.habilidades {
    background-color: var(--destaque-primario);
    color: #F1F5F9;
    padding: 50px 20px;
    font-family: Arial, sans-serif;
}

.skills>h2 {
    margin-bottom: 40px;
    font-size: 2.8rem;
}

.skills h3 {
    margin: 20px 0;
}

.skills-container {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}



.skills-column p {
    margin: 0 0 5px;
    font-weight: bold;
    color: var(--texto-principal);
}

.progress {
    background-color: #1E293B;
    border-radius: 10px;
    overflow: hidden;
    height: 25px;
    margin-bottom: 20px;
}

.progress-bar {
    width: 100%;
    /* tamanho fixo */
    height: 100%;
    line-height: 25px;
    font-weight: bold;
    padding-left: 10px;
    color: var(--texto-principal);
    position: relative;
    background-size: 40px 40px;
    /* tamanho do listrado */
    animation: stripe 1s linear infinite;
}

/* cores das barras */
.html-bar {
    background-color: #E34F26;
}

.css-bar {
    background-color: #1572B6;
}

.js-bar {
    background-color: #c2ab00;
    color: #000;
}

.react-bar {
    background-color: #369a47;
    color: #000;
}

.node-bar {
    background-color: #339933;
}

.python-bar {
    background-color: #e68d07;
}

.logic-bar {
    background-color: #111111;
}

.wordpress-bar {
    background-color: #013aad;
}

.pt-bar {
    background-color: #008d36;
}

.spa-bar {
    background-color: #ab591b;
}

.eng-bar {
    background-color: #0082f3;
}

.git-bar {
    background-color: #052845;
}

.processo-bar {
    background-color: #300101;
}


/* efeito listrado/animado tipo bootstrap */
.progress-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(45deg,
            rgba(255, 255, 255, 0.15) 25%,
            transparent 25%,
            transparent 50%,
            rgba(255, 255, 255, 0.15) 50%,
            rgba(255, 255, 255, 0.15) 75%,
            transparent 75%,
            transparent);
    background-size: 40px 40px;
    animation: listras 1s linear infinite;
}

@keyframes listras {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 40px 0;
    }
}

.soft-skills {
    width: 100%;
    min-height: 40vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    text-align: center;
}

.soft-skills h3 {
    font-size: clamp(1.2rem, 2vw, 2rem);
    color: var(--destaque-primario);
}

.inter {
    width: 300px;
    height: 100px;
    overflow: hidden;
    position: relative;
    text-align: center;
    justify-content: center;
    display: flex;
}

.inter i {
    color: var(--destaque-primario);
}

.inter-track {
    display: flex;
    transition: transform 0.8s ease-in-out;
}

.inter-track p {
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--texto-principal);
    gap: 10px;
}

.inter-track p svg {
    flex-shrink: 0;
}

.inter-buttons {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--destaque-primario);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--destaque-primario);
    transform: scale(1.2);
}

@media (max-width: 500px) {
    .inter {
        width: 250px;
        height: 90px;
    }

    .inter-track p {
        font-size: 0.9rem;
    }
}

footer.oficial {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.footer-up {
    background-color: var(--destaque-primario);
    padding: 30px;
    height: 80%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.footer-up .infobox .botao {
    background-color: var(--texto-principal);
    border: none;
    padding: 5px 10px;
    border-radius: 30px;
}

.footer-up .infobox .botao a {
    text-align: center;
    color: var(--destaque-primario);
    align-self: center;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.footer-up .infobox .botao svg {
    padding: 0;
    margin-left: 10px;
}

.footer-bottom {
    background-color: var(--fundo);
    display: flex;
    text-align: center;
    align-content: center;
    justify-content: center;
    height: 20%;
    width: 100%;
    padding: 10px;
}

.footer-bottom .pFooter {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}

.cima {
    position: fixed;
    bottom: 50px;
    right: 50px;
    border-radius: 25%;
    border: none;
    background-color: var(--texto-principal);
    padding: 5px;
    cursor: pointer;
    z-index: 3;
}

.botao.cima svg path {
    stroke: var(--destaque-primario);
}

.cima:hover {
    background-color: var(--destaque-primario);
}

.botao.cima:hover svg path {
    stroke: var(--texto-principal);
}

button.cima:disabled {
    opacity: 0;
    cursor: default;
}


/* Novas estilizações SOBRE-MIM */
section.about-me {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-items: center;
    width: 80%;
    max-width: 1200px;
    gap: 2rem;
    margin: 120px auto 0;
    padding: 2rem 0;
    z-index: 2;
}

@media (max-width: 950px) {
    section.about-me {
        margin: 0 auto;
    }

}

.about-me h1 {
    color: var(--destaque-primario);
    font-size: clamp(5vw, 2.5rem, 2rem);
}

.about-me img {
    width: 100%;
    max-width: 300px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--destaque-primario);
}

.about-me .container-things {
    display: flex;
    flex-direction: row;
    gap: 20px;
    width: 100%;
    text-align: center;
    justify-content: center;
    align-items: center;
}

.about-me .container-things div {
    background-color: var(--fundo);
    padding: 20px;
    width: 100%;
    min-width: 200px;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 25px;
    border-bottom: var(--destaque-primario) 4px solid;
    cursor: pointer;
}

.about-me .container-things div h3 {
    text-decoration: underline;
}

.about-me .container-things div h3 i {
    font-size: 1em;
    color: var(--destaque-primario);
}

.about-me .container-things div:hover h3 i {
    transform: perspective(100px) rotateY(20deg) !important;
    transition: transform 0.3s ease;
}

@media (max-width: 900px) {
    .about-me .container-things {
        display: grid !important;
        grid-template-columns: 50% 50%;
    }
}

@media (max-width: 600px) {
    .about-me .container-things {
        display: flex !important;
        flex-direction: column;
    }
}

.about-me .container-things div:hover {
    box-shadow: 0 4px 8px black !important;
    color: var(--destaque-primario);
    transform: translateY(-15px);
    transition: all 0.2s ease;
}

.about-me .container-things div:active {
    animation: shake .5s ease-in-out;
}

@keyframes shake {
    0% {
        transform: translateY(-20px);
    }

    20% {
        transform: translateY(20px);
    }

    40% {
        transform: translateY(-20px);
    }

    60% {
        transform: translateY(20px);
    }

    80% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0);
    }
}

.about-me .container-things i {
    font-size: clamp(2rem, 6vw, 50px);
    color: var(--destaque-primario);
    margin-bottom: 10px;
}

.about-me h3:not(.container-things h3) {
    text-transform: uppercase;
}

.content {
    display: none;
    position: relative;
    width: 80%;
    margin: 0 auto 50px;
    flex-direction: column;
    align-items: center;
    justify-items: center;
}

.content h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin: 1rem 0;
    color: var(--destaque-primario);
    text-align: center;
}

.content::before {
    content: '';
    width: 80%;
    height: 4px;
    background-color: var(--destaque-primario);
}

.content .triangulo {
    display: block;
    position: absolute;
    top: -10px;
}

.content .triangulo-edu {
    left: 15%;
}

.content .triangulo-xp {
    left: 38%;
}

.content .triangulo-certif {
    left: 62%;
}

.content .triangulo-cv {
    left: 85%;
}

.content .botoes-curriculos {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-items: center;
    gap: 20px;
    margin-top: 20px;
}

.content .botoes-curriculos .botao {
    font-size: clamp(0.1rem, 1.5vw, 1.9rem);
    color: var(--texto-principal);
    padding: 10px 20px;
    width: 200px;
    display: flex;
    justify-content: space-evenly;
}

.content .botoes-curriculos .botao:hover {
    color: var(--destaque-primario);
    background-color: var(--texto-principal);
}

.content:not(.triangulo-certif) {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content .content-certs {
    display: flex;
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
    border-radius: 25px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.747);
}

.content .content-certs .card-certificado {
    display: flex;
    flex-direction: row;
    gap: 20px;
    animation: carrosselCerts 10s linear infinite;
}

.content .content-certs .card-certificado:hover {
    animation-play-state: paused;
}

@keyframes carrosselCerts {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.content .content-certs img {
    width: 500px;
    height: auto;
    object-fit: cover;
    aspect-ratio: 4/3;
    border-radius: 15px;
    cursor: pointer;
}

.content .content-certs img:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* TIMELINE */
.timeline {
    position: relative;
    max-width: 1200px;
    width: 100%;
    padding: 20px 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--destaque-primario);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    padding: 20px 40px;
    position: relative;
    width: 50%;
}

.timeline-item:hover {
    background-color: rgba(99, 102, 241, 0.1);
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

.timeline-item.left {
    left: 0;
}

.timeline-item.left h2 {
    text-align: right;
    margin-right: 50px;
}

.timeline-item.right h2 {
    text-align: left;
    margin-left: 50px;
}

.timeline-item.right {
    left: 50%;
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -14px;
    background-color: var(--destaque-primario);
    border: 4px solid var(--fundo);
    top: 30px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item.left::before {
    right: -14px;
}

.timeline-item.right::before {
    left: -14px;
}

.timeline-content {
    padding: 20px;
    background-color: var(--fundo);
    position: relative;
    border-radius: 6px;
    text-align: start;
}

.timeline-content h3 {
    margin-top: 0;
    color: var(--destaque-primario);
}

@media (max-width: 768px) {
    .timeline::after {
        left: 5px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 30px;
        padding-right: 20px;
    }

    .timeline-item::before {
        left: -10px !important;
    }

    .timeline-item.left,
    .timeline-item.right,
    .timeline-item h3 {
        text-align: start !important;
        left: 0;
    }
}

/* Pagina contato */
.hero-contato {
    display: flex;
    margin: 100px 0 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 100vh;
    padding: 60px 20px;
    gap: 40px;
}

/* FORMULÁRIO DE CONTATO */
/* ====== FORM CONTAINER ====== */
.contact-form {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    flex-wrap: wrap;
    gap: 2rem;
    width: min(90%, 1200px);
    margin: 0 auto;
    padding: 3rem 1rem;
    box-sizing: border-box;
}

/* ====== FORM BOX ====== */
.contact-form .form {
    display: flex;
    position: relative;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    background-color: var(--fundo);
    padding: 2rem;
    border-radius: 2rem;
    border: 1px solid var(--destaque-primario);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
    transition: all 0.3s ease;
}


.contact-form .form:hover {
    transform: translateY(-20px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

/* ====== TITULO ====== */
.contact-form .form h1 {
    color: var(--destaque-primario);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    text-align: center;
    margin-bottom: 0.5rem;
}

/* ====== CAMPOS ====== */
.contact-form .form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input#name,
.contact-form input#email {
    border: none;
    border-radius: 0;
    background: transparent;
    border-bottom: 2px solid var(--destaque-primario);
}

.contact-form input,
.contact-form textarea {
    font-size: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    border: 1px solid #ffffff4d;
    background-color: #ffffff0d;
    color: var(--texto-principal, #fff);
    outline: none;
    transition: border 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--destaque-primario);
}

/* ====== BOTÃO ====== */
.contact-form button {
    background-color: var(--destaque-primario);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 0.8rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.contact-form button:hover {
    background-color: color-mix(in srgb, var(--destaque-primario) 80%, black);
}

/* ====== FUNDO DECORATIVO ====== */
.form-background {
    position: absolute;
    height: 60%;
    top: 25%;
    left: 0;
    width: 300px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 50%;
    filter: blur(40px);
    z-index: -1;
    transition: all 0.3s ease;
    animation: blobMove 10s infinite;
}

/* ====== ANIMAÇÃO ====== */
@keyframes blobMove {
    0% {
        transform: translate(0, 0) scale(1);
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }

    25% {
        transform: translate(30px, -20px) scale(1.1);
        top: 0%;
        border-radius: 50% 60% 40% 50% / 50% 50% 60% 40%;
    }

    50% {
        transform: translate(-20px, 30px) scale(0.95);
        left: 80%;
        top: 25%;
        border-radius: 70% 30% 50% 50% / 40% 60% 40% 60%;
    }

    75% {
        transform: translate(15px, 15px) scale(1.05);
        top: 60%;
        border-radius: 50% 50% 70% 30% / 60% 40% 50% 50%;
    }

    100% {
        transform: translate(0, 0) scale(1);
        left: 0%;
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
}


/* ====== RESPONSIVIDADE ====== */
@media (max-width: 768px) {
    .contact-form {
        padding: 2rem 1rem;
    }

    .contact-form .form {
        width: 100%;
        height: auto;
        border-radius: 1.5rem;
    }

    .form-background {
        left: -50px;
        height: 40%;
        top: 40%;
        width: 200px;
        filter: blur(25px);
    }
}

@media (max-width: 480px) {
    .contact-form .form {
        padding: 1.5rem;
        gap: 1rem;
    }

    .contact-form .form h1 {
        font-size: 1.5rem;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 0.95rem;
    }
}

#formMessage {
    position: absolute;
    bottom: 80px;
    left: 0;
    background-color: #6365f188;
    width: 250px;
    height: 100px;
    text-align: center;
    align-content: center;
    margin-top: 15px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    color: var(--texto-principal);
    border-radius: 5px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

#formMessage::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    border-radius: 25px;
    width: 10px;
    height: 10px;
    background-color: var(--destaque-primario);
    animation: loading 5s linear infinite;
}

@keyframes loading {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

#formMessage.show {
    opacity: 1;
    transform: translateY(0);
}

.hidden {
    display: none;
}

/* ======== BASE ========= */
.hero-main-service {
  background: linear-gradient(180deg, var(--destaque-primario) 20%, transparent 90%);
}

.hero-main-service .hero-service {
  display: flex;
  flex-direction: row;
  width: 100%;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.hero-service .titulo-service h1 i {
  color: white;
}

section {
  display: flex;
  width: 100%;
  margin: 0 auto;
  flex-wrap: wrap;
}

aside,
.services-container {
  padding: 15px;
}

section aside .menu-aside {
  background-color: var(--destaque-primario);
  border-radius: 25px;
  padding: 15px;
  position: sticky;
  top: 50px;
}

section aside .menu-aside ol {
  list-style: circle;
  list-style-position: inside;
}

section aside .menu-aside ol li {
  padding: 15px 10px;
}

section aside .menu-aside ol a.ativo {
  color: var(--texto-principal);
  text-decoration: underline;
  font-weight: bold;
  transition: 0.3s;
}

.services-container {
  display: block;
  width: 50%;
}

.services-container .service-box {
  border: solid 3px var(--destaque-primario);
  margin: 20px 0 50px;
  border-radius: 10px;
}

.services-container .service-box > .title-service {
  background-color: var(--destaque-primario);
  padding: 15px;
  border-radius: 4px 4px 0 0;
}

.services-container .service-box > .paragraph-service {
  padding: 15px;
}

.services-container .service-box .reverse-service {
  margin-left: 15px;
  border-radius: 10px;
}

/* ======== RESPONSIVO ========= */

/* Tablets (largura até 992px) */
@media (max-width: 992px) {
  .hero-main-service .hero-service {
    width: 60%;
    margin-top: 100px;
  }

  .hero-main-service .hero-service img {
    width: 70%;
  }

  aside {
    width: 100%;
    position: static;
    margin-bottom: 20px;
  }

  .menu-aside {
    position: relative;
    top: 0;
    border-radius: 15px;
    text-align: center;
  }

  .services-container {
    width: 100%;
  }

  .service-box {
    margin-bottom: 40px;
  }
}

/* Celulares grandes (largura até 768px) */
@media (max-width: 768px) {


  .menu-aside ol li {
    padding: 10px 0;
  }

  .service-box {
    font-size: 0.95rem;
  }

  .reverse-service a {
    font-size: 0.9rem;
  }
}

/* Celulares pequenos (largura até 480px) */
@media (max-width: 480px) {
  .hero-main-service .hero-service img {
    width: 100%;
  }

  .titulo-service h1 {
    font-size: 1.5rem;
    line-height: 1.3em;
  }

  .titulo-service p {
    font-size: 0.9rem;
  }

  .menu-aside {
    font-size: 0.9rem;
    padding: 10px;
  }

  .menu-aside ol li {
    padding: 8px;
  }

  .service-box {
    margin: 15px 0;
  }

  .service-box h2 {
    font-size: 1.1rem;
  }

  .service-box p {
    font-size: 0.9rem;
  }

  .reverse-service a {
    font-size: 0.85rem;
  }
}

