* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    text-decoration: none;
    outline: none;
}

/* Variáveis */
:root {
    /* Fontes adicionadas para variação dentro da pagina */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Paleta de cores - Creme */

    --iceblue: #f3fbfc;

    /* Navy + ciano neon, deixei como escrita purple para evitar que quebre o código que havia feito */
    --purple-50: #eef4ff;
    --purple-100: #dce8ff;
    --purple-200: #b3cfff;
    --purple-300: #89b3ff;
    --purple-400: #5c95f5;
    --purple-500: #22afc5;
    --purple-600: #0996b3;
    --purple-700: #1e293b;
    --purple-800: #16213a;
    --purple-900: #0f172a;
    --purple-950: #070c17;

    /* Cores Neutras */
    --gray-200: #e5e7eb;
    --gray-400: #6b7280;
    --black: #0f172a;
    --white: #FAF7FF;

    /* Cor para o Fundo */

    --fundo-cor1: ##c9edf1;

    /* Cor descrição rodapé */
    --rodape-cor1: #e5f9ff;
    /* Cores de Estado */
    --error: #e63946;

    /* Sombras */

    --shadow-sm: 0 0.25rem 0.5rem rgba(15, 23, 42, 0.04);
    --shadow-md: 0 0.25rem 0.75rem rgba(15, 23, 42, 0.10);
    --shadow-lg: 0 0.5rem 1.5rem rgba(15, 23, 42, 0.18);


    /* Espaçamentos */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;

    /* Tamanhos de Fonte */
    --text-sm: 0.75rem;
    --text-base: 1rem;
    --text-lg: 1.25rem;
    --text-xl: 1.5rem;
    --text-2xl: 2rem;
    --text-3xl: 2.5rem;

    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 2rem;
    --radius-full: 50%;

    /* Animação Padrão */
    --transition-default: all 0.3s ease;
}

h1,
h2,
h3,
#titulo {
    font-family: var(--font-heading);
}

html {
    scroll-behavior: smooth;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: var(--fundo-cor1);
    background-image:
        radial-gradient(circle at 1px 1px, rgba(34, 175, 197, 0.08) 1px, transparent 0);
    background-size: 28px 28px;
    line-height: 1.6;
    color: var(--black);
}

main {
    flex: 1;
}

/* Seções - Base Comum */

.section-container {
    background-color: var(--iceblue);
    max-width: 70rem;
    margin: 0 auto;
    padding: var(--spacing-xl) var(--spacing-md);
    scroll-margin-top: 6rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

/* Botões */

.buttons-container {
    display: flex;
    gap: var(--spacing-sm);
}

.botao,
.botao-outline {
    display: inline-block;
    padding: 0.75rem 2rem;
    border: 0.15rem solid transparent;
    border-radius: var(--radius-md);
    font-size: var(--text-base);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-default);
}

.botao {
    border-color: var(--purple-600);
    background-color: var(--purple-500);
    color: var(--white);
}

.botao:hover {
    border-color: var(--purple-700);
    background-color: var(--purple-600);
    box-shadow: var(--shadow-md);
    transform: translateY(-0.25rem);
}

.botao-outline {
    border-color: var(--purple-500);
    background-color: transparent;
    color: var(--purple-500);
}

.botao-outline:hover {
    border-color: var(--purple-600);
    background-color: var(--purple-50);
    color: var(--purple-800);
    transform: translateY(-0.25rem);
}

/* Botões pequenos - Card Projetos */

.botao.botao-sm,
.botao-outline.botao-sm {
    min-width: 6rem;
    padding: 0.25rem var(--spacing-sm);
    border-width: 0.125rem;
    border-radius: 0.25rem;
    font-size: var(--text-sm);
}

/* Seção Header - Cabeçalho e Menu */

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    height: 5rem;
    border-bottom: var(--spacing-xs) solid var(--gray-200);
    box-shadow: var(--purple-800);
    background: linear-gradient(to left, var(--purple-500), var(--purple-800));
    background-color: var(--purple-800);
}

header a {
    font-weight: 600;
    color: var(--white);
    transition: color 0.3s ease;
}

header a:hover {
    color: var(--purple-100);
}

#titulo {
    font-size: var(--text-2xl);
    font-weight: 700;
}

.menu-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 70rem;
    height: 100%;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.menu-list {
    display: flex;
    gap: var(--spacing-lg);
    list-style: none;
}

.menu-list a {
    padding: var(--spacing-xs);
}

/* Seção Hero */
.hero-container {
    display: flex;
    align-items: center;
    gap: var(--spacing-2xl);
    min-height: calc(100vh - 5rem);
}

.hero-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: var(--spacing-md);
}

.hero-content span {
    font-size: var(--text-xl);
    font-weight: 700;
}

.hero-content h1 {
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--black)
}

/* Configura todos os Paragrafos */

.hero-content p,
.about-content p,
.contact-info p {
    font-size: var(--text-lg);
    color: var(--gray-400);
}

.hero-image {
    display: flex;
    flex: 1;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    max-width: 100%;
    border-radius: var(--radius-xl);
}

/* Animação Flutuante */
@keyframes float {

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

    50% {
        transform: translateY(-1.25rem);
    }

}

/* Usa animação */
.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* Seção About*/
.about-container {
    display: flex;
    align-items: center;
    gap: var(--spacing-2xl);
    margin: var(--spacing-2xl) auto;
    border-radius: var(--radius-lg);
    background-color: #f6fdff;

}

.about-image {
    flex: 0 0 17.5rem;
}

.about-image img {
    width: 100%;
    border: 0.35rem solid var(--purple-500);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
}

.about-content h2,
.projects-container h2,
.contact-info h2 {
    margin-bottom: var(--spacing-md);
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--purple-800);
}

.about-content p {
    margin-bottom: var(--spacing-sm);
    text-align: justify;
}

.about-buttons-data {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.about-buttons-data .botao {
    margin-right: auto;
}

.data-container {
    display: flex;
    gap: var(--spacing-lg);
    margin-top: 0;

}

.data-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.data-number {
    font-size: var(--text-xl);
    font-weight: 700;
    text-align: center;
    color: var(--purple-500);

}

.data-label {
    font-size: var(--text-base);
    text-align: center;
    color: var(--gray-400);
}


/* PROJECTS */
.projects-container {
    scroll-margin-top: 3rem;
    margin: var(--spacing-2xl) auto;
    text-align: center;

}

.projects-swiper {
    position: relative;
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-xl) var(--spacing-xl);
    overflow: hidden;
}

/* Card Projects */
.project-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    border: 0.15rem solid var(--gray-200);
    border-radius: var(--radius-lg);
    background-color: var(--iceblue);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition-default);
}

.project-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-0.25rem);
}

.project-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 10rem;
    background: linear-gradient(
        135deg,
        var(--purple-200) 0%,
        var(--purple-400) 45%,
        var(--purple-300) 100%
);
}

.project-image img {
    width: 75%;
    height: 75%;
    max-width: 7rem;
    max-height: 7rem;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.project-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: var(--spacing-md);
    text-align: left;
}

.project-content h3 {
    margin-bottom: 0.75rem;
    font-size: var(--text-lg);
    font-weight: 700;
}

.project-content p {
    flex: 1;
    margin-bottom: var(--spacing-sm);
    font-size: var(--text-base);
    color: var(--gray-400);
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);

}

.tag {
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-sm);
    background-color: var(--purple-100);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--purple-800);
}

.project-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);

}

/* Configuração do Swiper */

.swiper-wrapper {
    align-items: stretch;
}

.swiper-slide {
    display: flex;
    height: auto;
}

/* Botões do Swiper (navegação) */
.swiper-button-next,
.swiper-button-prev {
    width: 3rem;
    height: 3rem;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: var(--text-lg);
    color: var(--purple-500);
}

.swiper-button-next:hover:after,
.swiper-button-prev:hover:after {
    color: var(--purple-800);
}

/* Indicadores de paginação */
.swiper-pagination-bullet {
    width: 0.75rem;
    height: 0.75rem;
    background-color: var(--gray-200);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    width: var(--spacing-lg);
    border-radius: var(--radius-sm);
    background-color: var(--purple-500);
}

/* Seção de Contatos */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
}

/* Redes Sociais */
.contact-info h2 {
    margin-bottom: var(--spacing-md);
}

.contact-info p {
    margin-bottom: var(--spacing-md);
}

.social-container {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
}

.social-icon {
    width: 5rem;
    height: 5rem;
    padding: 0.75rem;
    border-radius: var(--radius-md);
    transition: var(--transition-default);
    display: flex;
    justify-content: center;
    align-items: center;

}

.social-icon img {
    width: 100%;
    filter: brightness(0) saturate(100%);
    transition: filter 0.3s ease;

}

.social-icon img:hover {
    filter: brightness(0) saturate(100%) invert(54%) sepia(95%) saturate(1782%) hue-rotate(148deg) brightness(94%) contrast(92%);
}

/* Formulário */
form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

form label {
    font-size: var(--text-base);
    font-weight: 600;
}

form input,
form textarea {
    width: 100%;
    padding: 0.5rem var(--spacing-sm);
    border: 0.25rem solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: var(--text-base);
    transition: border-color 0.3s ease;
}

form input:focus,
form textarea:focus {
    border-color: var(--purple-500);
    outline: none;
}


form textarea {
    min-height: 5rem;
    resize: none;

}

form span {
    margin-top: -0.75rem;
    font-size: var(--text-sm);
    color: var(--error);
}

/* Footer */

footer {
    padding: 2.5rem;
    background: linear-gradient(to right, var(--purple-500), var(--purple-800));
    font-weight: 600;
    text-align: center;
    color: #e5f9ff;

}

/* Página de Sucesso */

.success-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: calc(100vh - 12.5rem);
    padding: var(--spacing-xl) var(--spacing-md);
}

.success-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
    max-width: 37.5rem;
    text-align: center;
}

.success-content h1 {
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--purple-800);
}

.success-content h2 {
    font-size: var(--text-lg);
    color: var(--gray-400);

}

.success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 7.5rem;
    height: 7.5rem;
    border-radius: var(--radius-full);
    background-color: var(--purple-100);
}

.success-icon img {
    width: 6rem;
    height: 6rem;
    filter: brightness(0) saturate(100%) invert(11%) sepia(69%) saturate(3759%) hue-rotate(256deg) brightness(101%) contrast(96%);
}

/* Responsividade Tablet */

@media screen and (max-width: 1024px) {

    .section-container {
        padding: var(--spacing-lg) var(--spacing-md);
    }

    .section-container h1 {
        font-size: var(--text-3xl);
    }

    .section-container h2 {
        font-size: var(--text-2xl);
    }

    .section-container p {
        font-size: var(--text-base);
    }

    .section-container span {
        font-size: var(--text-lg);
    }

    .success-content h1 {
        font-size: var(--text-3xl);
    }

    .success-content h2 {
        font-size: var(--text-lg);
    }

    #titulo {
        font-size: var(--text-xl);
    }

    @media screen and (max-width: 768px) {
        .menu-list {
            display: none;
        }
    }

    /* Responsividade Tablet - Seção Hero */

    .hero-container {
        flex-direction: column-reverse;
        gap: var(--spacing-lg);
        min-height: 60vh;
        text-align: center;
    }

    .hero-content,
    .hero-image {
        width: 90%;
    }

    .hero-image img {
        object-fit: cover;
    }

    .buttons-container {
        justify-content: center;
        width: 100%;
    }

    .hero-container .botao,
    .hero-container .botao-outline {
        padding: 0.75rem 1.5rem;
        font-size: var(--text-base);
        white-space: nowrap;
    }

    /* Responsividade Tablet Seção About*/

    .about-container {
        flex-direction: column;
        gap: var(--spacing-lg);
        margin: var(--spacing-lg);
        padding: var(--spacing-lg);
    }

    .about-image {
        display: flex;
        flex: 1;
        justify-content: center;
        width: 100%;
    }

    .about-image img {
        max-width: 16rem;
        width: 100%;
    }

    .about-content {
        width: 100%;
    }

    .about-buttons-data {
        flex-direction: column;
        gap: var(--spacing-md);
        align-items: stretch;
    }

    .about-buttons-data .botao {
        margin-right: 0;
    }

    .data-container {
        justify-content: center;
        width: 100%;
    }

    /* Responsividade Tablet - Seção Projects */
    .projects-container {
        margin: var(--spacing-sm) var(--spacing-lg);

    }

    .projects-swiper {
        margin: 0;
        padding: var(--spacing-sm) var(--spacing-lg) 2.5rem;
    }

    .project-card {
        width: 100%;
        height: 30rem;
        min-height: 30rem;
        max-height: 30rem;
        max-width: 100%;

    }

    .project-content {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
    }

    .project-content p {
        flex: 1;
        overflow: hidden;
    }

    .project-tags {
        min-height: 2.5rem;
        align-items: flex-start;
        gap: 0.4rem;
    }

    .tag {
        padding: 0.25rem 0.6rem;
        font-size: 0.7rem;
        line-height: 1;
        white-space: nowrap;
    }

    .swiper-wrapper {
        align-items: stretch;
    }

    .swiper-slide {
        display: flex;
        justify-content: center;
        align-items: stretch;
        height: auto;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }

    .project-buttons .botao,
    .project-buttons .botao-outline {
        min-width: 6.5rem;
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    /* Responsividade Tablet - Seção Contacts */

    .contact-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        width: 90%;
        margin: 0 auto;
    }

    /* Responsividade Tablet - Seção Success */
    .success-container {
        padding: var(--spacing-xl) var(--spacing-md);
        min-height: calc(100vh - 10rem);
    }

    .success-content {
        gap: var(--spacing-lg);
        max-width: 35rem;

    }

    .success-icon {
        width: 6rem;
        height: 6rem;

    }

    .success-icon img {
        width: 5rem;
        height: 5rem;

    }
}

/* Responsividade Celular */
@media screen and (max-width: 480px) {

    /* Responsividade Celular - Seção Hero */

    .hero-container {
        flex-direction: column-reverse;
        gap: var(--spacing-lg);
        min-height: 60vh;
        text-align: center;
    }

    .hero-content,
    .hero-image {
        width: 90%;
    }

    .hero-image img {
        object-fit: cover;
    }

    .buttons-container {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 0.75rem;
        flex-wrap: wrap;
        width: 100%;
    }

    .hero-container .botao,
    .hero-container .botao-outline {
        padding: 0.65rem 0.8rem;
    font-size: 0.9rem;
    white-space: nowrap;
}

    /* Responsividade Celular Seção About*/

    .about-container {
        flex-direction: column;
        gap: var(--spacing-lg);
        margin: var(--spacing-lg);
        padding: var(--spacing-lg);
    }

    .about-image {
        display: flex;
        flex: 1;
        justify-content: center;
        width: 100%;
    }

    .about-image img {
        max-width: 16rem;
        width: 100%;
    }

    .about-content {
        width: 100%;
    }

    .about-buttons-data {
        flex-direction: column;
        gap: var(--spacing-md);
        align-items: stretch;
    }

    .about-buttons-data .botao {
        margin-right: 0;
    }

    .data-container {
        justify-content: center;
        width: 100%;
    }

    /* Responsividade Celular Seção AProjects*/
    .projects-container {
        margin: var(--spacing-sm) 0.25rem;

    }

    .projects-swiper {
        margin: 0;
        padding: var(--spacing-sm) 0.5rem 2.5rem;
    }

    .project-card {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 24rem;


    }

    .project-content {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
    }

    .project-content h3 {
        font-size: var(--text-base);
    }

    .project-content p {
        /* flex: 1;
        overflow: hidden; */
        flex: 1;
        font-size: var(--text-sm);
        line-height: 1.4;
        overflow: hidden;
    }

    .project-tags {
        min-height: auto;
        align-items: flex-start;
        gap: 0.25rem;
    }

    /* >> Adicionado para encaixar melhor no mobile  */
    .tag {
        padding: 0.15rem 0.4rem;
        font-size: 0.6rem;
        line-height: 1;
        white-space: nowrap;
    }

    .project-buttons {
        margin-top: var(--spacing-sm);
        justify-content: center;
        gap: var(--spacing-xs);
        flex-wrap: wrap;
    }

    .project-buttons .botao,
    .project-buttons .botao-outline {
        min-width: 5.5rem;
        padding: 0.45rem 0.85rem;
        font-size: 0.75rem;
    }

    /* até aqui - Referencia para futuras mudanças << */

    .swiper-wrapper {
        align-items: stretch;
    }

    .swiper-slide {
        display: flex;
        justify-content: center;
        align-items: stretch;
        height: auto;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }

    /* Responsividade Celular - Seção Contacts */

    .contact-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
        width: 100%;
        margin: 0 auto;
    }

    /* Responsividade Celular - Seção Success */
    .success-container {
        padding: var(--spacing-lg) var(--spacing-sm);
        min-height: calc(100vh - 10rem);
    }

    .success-content {
        gap: var(--spacing-md);
        max-width: 35rem;

    }

    .success-icon {
        width: 5rem;
        height: 5rem;

    }

    .success-icon img {
        width: 4rem;
        height: 4rem;

    }
}