:root {

    --bg-white: #ffffff;

    --text-dark: #1a1a1a;

    --c-design: #042924;

    --c-animacao: #200f33;

    --c-gestao: #964f00;

    /* Cores do Gradiente */

    --color1: 0, 204, 153;    

    --color2: 153, 0, 204;    

    --color3: 255, 102, 0;    

    --color4: 0, 153, 255;    

    --color5: 255, 0, 102;  

    --color-interactive: 140, 100, 255;

   

    --circle-size: 80%;

    --blending: hard-light;

}

* { margin: 0; padding: 0; box-sizing: border-box; }

body, html {

    background-color: #000;

    font-family: 'Barlow', sans-serif;

    color: #fff;

    overflow-x: hidden;

}

/* ================= GRADIENTS BG ================= */

.gradient-bg { width: 100vw; height: 100vh; position: fixed; top: 0; left: 0; overflow: hidden; background: #000; z-index: 1; }

.svg-blur { display: none; }

.gradients-container { filter: url(#goo) blur(40px); width: 100%; height: 100%; }

.g1, .g2, .g3, .g4, .g5, .interactive { position: absolute; mix-blend-mode: var(--blending); }

.g1, .g2, .g3, .g4, .g5 { width: var(--circle-size); height: var(--circle-size); }

@keyframes moveInCircle { 0% { transform: rotate(0deg); } 50% { transform: rotate(180deg); } 100% { transform: rotate(360deg); } }

@keyframes moveVertical { 0% { transform: translateY(-50%); } 50% { transform: translateY(50%); } 100% { transform: translateY(-50%); } }

@keyframes moveHorizontal { 0% { transform: translateX(-50%) translateY(-10%); } 50% { transform: translateX(50%) translateY(10%); } 100% { transform: translateX(-50%) translateY(-10%); } }

.g1 { background: radial-gradient(circle at center, rgba(var(--color1), 0.8) 0, rgba(var(--color1), 0) 50%) no-repeat; top: calc(50% - var(--circle-size) / 2); left: calc(50% - var(--circle-size) / 2); animation: moveVertical 30s ease infinite; }

.g2 { background: radial-gradient(circle at center, rgba(var(--color2), 0.8) 0, rgba(var(--color2), 0) 50%) no-repeat; top: calc(50% - var(--circle-size) / 2); left: calc(50% - var(--circle-size) / 2); transform-origin: calc(50% - 400px); animation: moveInCircle 20s reverse infinite; }

.g3 { background: radial-gradient(circle at center, rgba(var(--color3), 0.8) 0, rgba(var(--color3), 0) 50%) no-repeat; top: calc(50% - var(--circle-size) / 2 + 200px); left: calc(50% - var(--circle-size) / 2 - 500px); transform-origin: calc(50% + 400px); animation: moveInCircle 40s linear infinite; }

.g4 { background: radial-gradient(circle at center, rgba(var(--color4), 0.8) 0, rgba(var(--color4), 0) 50%) no-repeat; top: calc(50% - var(--circle-size) / 2); left: calc(50% - var(--circle-size) / 2); transform-origin: calc(50% - 200px); animation: moveHorizontal 40s ease infinite; }

.g5 { background: radial-gradient(circle at center, rgba(var(--color5), 0.8) 0, rgba(var(--color5), 0) 50%) no-repeat; width: calc(var(--circle-size) * 2); height: calc(var(--circle-size) * 2); top: calc(50% - var(--circle-size)); left: calc(50% - var(--circle-size)); transform-origin: calc(50% - 800px) calc(50% + 200px); animation: moveInCircle 20s ease infinite; }

.interactive { background: radial-gradient(circle at center, rgba(var(--color-interactive), 0.8) 0, rgba(var(--color-interactive), 0) 50%) no-repeat; width: 100%; height: 100%; top: -50%; left: -50%; opacity: 0.7; }

/* ================= HEADER DINÂMICO ================= */

.main-wrapper { position: relative; z-index: 10; }

.hero-container { position: relative; width: 100vw; height: 100vh; }

.black-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: #000; z-index: 5; }

.hero-cluster { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; z-index: 10; width: 100%; text-align: center; }

.welcome-wrapper { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); margin-bottom: 40px; white-space: nowrap; }

.welcome-text { font-size: 1.5rem; font-weight: 400; }

.brand-group { display: flex; flex-direction: column; gap: 15px; align-items: center; }

.name-text { font-size: 3rem; font-weight: 700; line-height: 1; letter-spacing: -0.02em; white-space: nowrap; }

.portfolio-text { font-size: 1.2rem; font-weight: 400; letter-spacing: 4px; text-transform: uppercase; white-space: nowrap; }

.title-wrapper, .menu-wrapper { opacity: 0; overflow: hidden; height: 0; margin-top: 0; }

.title-bubble { font-size: 40px; font-weight: 200; line-height: 1.1; letter-spacing: -0.02em; white-space: nowrap; }

.mini-menu { display: flex; gap: 30px; font-size: 1rem; white-space: nowrap; }

.mini-menu a {
    text-decoration: none;
    color: white;
    transition: font-size 0.2s ease-in-out;
}

.mini-menu a:hover {
    font-size: 1.2rem;
}

/* ================= SECÇÃO SOBRE ================= */

.content-wrapper { position: relative; z-index: 20; background-color: var(--bg-white); color: var(--text-dark); }

.about-section { width: 100vw; min-height: 100vh; background-color: #fff; }

.about-grid { display: grid; grid-template-columns: 1fr; width: 100%; }

/* AQUI ESTÁ O AJUSTE DE TRANSLATE Y PARA SUBIR 20PX */

.about-text {

    padding: 15vw 8vw;

    display: flex;

    flex-direction: column;

    justify-content: center;

    transform: translateY(-20px);

}

.about-image { width: 100%; height: 50vh; }

.profile-photo { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.about-title { font-size: 45px; font-weight: 500; line-height: 1.1; margin-bottom: 20px; color: #000; }

.about-subtitle { font-size: 18px; font-weight: 500; font-style: italic; margin-bottom: 30px; color: #000; }

.about-text p { font-size: 16px; font-weight: 400; line-height: 1.6; margin-bottom: 20px; color: #333; }

.about-text p.about-highlight { font-weight: 500; font-style: italic; color: #000; }

.linkedin-btn { margin-top: 10px; display: inline-block; transition: transform 0.3s ease; }

.linkedin-btn:hover { transform: scale(1.05); }

/* ================= PORTFÓLIO E CARROSSÉIS ================= */

.portfolio-section { min-height: 100vh; padding: 10vw 5vw; color: #fff; overflow: hidden; }

.portfolio-section.dark-green { background-color: var(--c-design); }

.portfolio-section.dark-purple { background-color: var(--c-animacao); }

.portfolio-section.orange-green { background-color: var(--c-gestao); }

.section-title-group {

    display: flex;

    align-items: baseline;

    justify-content: space-between;

    margin-bottom: 20px;

    gap: 400px;

}

/* Títulos Gigantes Forçados a Light */

.huge-title {

    font-size: 80px;

    font-weight: 300 !important; /* Light */

    line-height: 1;

    letter-spacing: -0.02em;

}

/* Tags com espaçamento forçado */

.section-tags {

    font-size: 12px !important;

    font-weight: 500;

    letter-spacing: 1px !important;

    color: rgba(255, 255, 255, 0.7) !important;

    text-transform: uppercase !important;

    display: block !important;

    white-space: nowrap;

}

.section-intro { max-width: 700px; margin-bottom: 80px; }

.section-intro p { font-size: 1.2rem; line-height: 1.5; }

.right-align { margin-left: auto; text-align: right; }

.horizontal-scroll-wrapper { width: 100%; }

.vertical-carousel-section {
    display: flex;
    align-items: flex-start;
    flex-direction: row-reverse;
}

.vertical-carousel-section .section-intro {
    width: 50%;
    padding-left: 5vw;
    padding-right: 0;
}

.vertical-scroll-wrapper {
    width: 50%;
    height: 80vh;
    overflow-y: auto;
    padding-left: 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.vertical-carousel-section .cards-container {
    flex-direction: column;
    width: 100%;
}

/* Layout Vertical (Lado Esquerdo) */
.vertical-carousel-section {
    display: flex;
    flex-direction: row-reverse; /* Texto na direita, Carrossel na esquerda */
    align-items: flex-start;
    gap: 5vw;
}

.vertical-carousel-section .section-intro {
    width: 45%;
    padding-top: 50px;
}

.vertical-scroll-wrapper {
    width: 55%;
    height: 85vh; /* Altura visível do scroll */
    overflow-y: auto; /* Scroll Vertical */
    overflow-x: hidden;
    scrollbar-width: none; /* Esconde barra Firefox */
    -ms-overflow-style: none;
    display: flex;
    justify-content: center;
}

.vertical-scroll-wrapper::-webkit-scrollbar {
    display: none; /* Esconde barra Chrome/Safari */
}

#animacao .cards-container {
    display: flex;
    flex-direction: column; /* Cards um embaixo do outro */
    gap: 30px;
    padding: 40px 0;
    width: 100%;
    align-items: center;
}

/* Tamanhos dos Cards */
#animacao .card {
    width: 160px;
    height: 200px;
    flex-shrink: 0;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
    border-radius: 15px;
}

#animacao .card:hover {
    width: 560px;
    height: 350px;
    z-index: 10;
}

/* Alinhamento à DIREITA na seção de Animação */
#animacao .section-intro {
    max-width: 800px;
    margin-left: auto;   /* Empurra o container todo para a direita */
    margin-right: 20;
    text-align: right;   /* Alinha o texto dentro do container à direita */
    padding-right: 5vw;  /* Respiro na borda direita */
    padding-left: 20px;  /* Respiro de segurança na esquerda */
}

#animacao .huge-title {
    text-align: right;
    margin-bottom: 20px;
}

#animacao .section-tags {
    text-align: right;
    margin-bottom: 30px;
    display: block;
}
/* ================= SEÇÃO DE ANIMAÇÃO (Horizontal + Proporcional) ================= */

/* Container que envolve os cards */
#animacao .horizontal-scroll-wrapper {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 60px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    /* Adicionamos display flex aqui para ajudar na centralização */
    display: flex;
    justify-content: center;
}

/* Container interno dos cards */
#animacao .cards-container {
    display: flex;
    flex-direction: row;
    gap: 20px;
    padding: 0 5vw;
    align-items: center;
    /* Remova o width: max-content se quiser que ele centralize
        automaticamente quando houver poucos itens */
    width: fit-content;
    margin: 0 auto; /* Garante a centralização horizontal */
}

/* Tamanho Inicial (160x200) */
#animacao .card {
    width: 300px;
    height: 200px;
    flex-shrink: 0;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    border-radius: 12px;
}

/* Tipografia Proporcional */
#animacao .card .card-content {
    padding: 15px;
    transition: padding 0.6s ease;
}

#animacao .card .card-title {
    font-size: 14px;
    line-height: 1.2;
    transition: font-size 0.6s ease;
}

/* Tamanho Hover (560x350) */
#animacao .card:hover {
    width: 560px;
    height: 350px;
    z-index: 10;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.7);
}

#animacao .card:hover .card-content {
    padding: 20px;
}

#animacao .card:hover .card-title {
    font-size: 32px;
}
/* Estrutura do Card com Imagem */

.card {

    width: 300px;

    height: 400px;

    border-radius: 20px;

    position: relative;

    overflow: hidden;

    display: flex;

    align-items: flex-end;

}

.card.wide { width: 600px; }

/* Configuração do Background Image e da Sombra */

.card-img-bg {

    background-color: #222;

    background-size: cover;

    background-position: center;

}

/* O "Véu" escuro que garante a leitura do texto */

.card-img-bg::after {

    content: '';

    position: absolute;

    bottom: 0; left: 0;

    width: 100%; height: 150%;

    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);

    z-index: 1;

}

/* Textos do Card (Por cima da sombra) */

.card-content {

    position: relative;

    z-index: 2;

    padding: 30px;

    width: 100%;

}

/* ================= PADRONIZAÇÃO DE CARDS (Design, Animação e Gestão) ================= */

/* 1. Estilo do Subtítulo (Tag) - Sempre Visível como no Design */
#animacao .card .card-tag,
#gestao .card .card-tag {
    font-size: 12px; /* Tamanho proporcional ao card pequeno 160x200 */
    font-weight: 500;
    display: block;
    margin-bottom: 2px;
    color: #fff;
    opacity: 0.9;
    letter-spacing: 0px;
    transition: font-size 0.5s ease, opacity 0.5s ease;
}

/* 2. Estilo do Título (Pequeno) */
#animacao .card .card-title,
#gestao .card .card-title {
    font-size: 25px;
    font-weight: 500;
    line-height: 1.1;
    color: #fff;
    transition: font-size 0.5s ease;
}

/* 3. Comportamento ao passar o mouse (Hover) */
#animacao .card:hover .card-tag,
#gestao .card:hover .card-tag {
    font-size: 16px; /* Aumenta para acompanhar o card de 560x350 */
    opacity: 1;
}

#animacao .card:hover .card-title,
#gestao .card:hover .card-title {
    font-size: 32px; /* Destaque maior no card expandido */
}

/* Garante que o conteúdo interno tenha respiro proporcional */
#animacao .card .card-content,
#gestao .card .card-content {
    padding: 15px;
    transition: padding 0.5s ease;
}

#animacao .card:hover .card-content,
#gestao .card:hover .card-content {
    padding: 30px;
}



.card-title {

    font-size: 43px;

    font-weight: 500;

    line-height: 1.1;

    color: #fff;

}

.site-footer { background: #000; color: #fff; text-align: center; padding: 30px; }

/* ================= RESPONSIVIDADE ================= */

@media (max-width: 1023px) {

    .section-title-group {

        flex-direction: column;

        gap: 10px;

        align-items: flex-start;

    }

}

@media (min-width: 1024px) {

    .name-text { font-size: 5rem; }

    .title-bubble { font-size: 72px; }

    .huge-title { font-size: 120px; }

   

    .section-tags {

        font-size: 14px !important;

        letter-spacing: 4px !important;

    }

    .about-grid { grid-template-columns: 1fr 1fr; min-height: 100vh; }

    .about-image { height: auto; }

    .about-text { padding: 80px 10%; }

}

@media (min-width: 1440px) {

    .name-text { font-size: 6rem; }

    .title-bubble { font-size: 100px; }

   

    .about-title { font-size: 80px; }

    .about-subtitle { font-size: 20px; }

    .about-text p { font-size: 18px; }

   

    .huge-title { font-size: 150px; }

   

    .section-tags {

        font-size: 16px !important;

        letter-spacing: 8px !important;

        margin-bottom: 30px;

    }

    .card { width: 400px; height: 500px; }

}

#gestao .section-intro {

    max-width: 900px;

    text-align: center;

    margin: 0 auto 80px;

}

/* ===== Gestão Section Override (Igual ao Design) ===== */

#gestao .horizontal-scroll-wrapper {
    padding: 0 0 100px;
    overflow: visible;
}

#gestao .cards-container {
    display: flex;
    gap: 40px;
    align-items: center;
    padding: 0 5vw;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap; /* Permite que os cards quebrem linha se necessário */
}

#gestao .card {
    width: 195px; /* Tamanho pequeno do Design */
    height: 254px;
    transition: all 0.4s ease-in-out;
    cursor: pointer;
}

#gestao .card:hover {
    width: 295px; /* Tamanho expandido do Design */
    height: 380px;
    z-index: 100;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Ajuste dos textos para serem idênticos ao Design */
#gestao .card .card-title {
    font-size: 24px;
    transition: font-size 0.4s ease-in-out;
}

#gestao .card .card-tag {
    font-size: 14px;
    transition: font-size 0.4s ease-in-out;
    opacity: 0.9;
    display: block;
}

#gestao .card:hover .card-title {
    font-size: 32px;
}

#gestao .card:hover .card-tag {
    font-size: 16px;
}

#gestao .card-img-bg::after {
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 50%);
}


/* ===== Design Section Override ===== */

#design .horizontal-scroll-wrapper {
    padding: 0 0 100px;
    overflow: visible;
}

#design .cards-container {
    display: flex;
    gap: 40px; /* More gap since they are smaller */
    align-items: center;
    padding: 0 5vw;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap; /* Allow cards to wrap on smaller screens */
}

#design .card {
    width: 195px;
    height: 254px;
    transition: all 0.4s ease-in-out;
    cursor: pointer;
}

#design .card:hover {
    width: 295px;
    height: 380px;
    z-index: 100;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

#design .card .card-content {
    transition: all 0.4s ease-in-out;
}

#design .card .card-title {
    font-size: 24px;
    transition: font-size 0.4s ease-in-out;
}

#design .card .card-tag {
    font-size: 14px;
    transition: font-size 0.4s ease-in-out;
}

#design .card:hover .card-title {
    font-size: 32px;
}

#design .card:hover .card-tag {
    font-size: 16px;
}

#design .card-img-bg::after {
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 50%);
}
/* ================= RESPONSIVIDADE (TABLET & MOBILE) ================= */

/* Mudamos de 768px para 1100px para pegar tablets */
@media (max-width: 1100px) {
   
    /* 1. Ajuste da Intro: Texto à direita com respiro */
    #animacao .section-intro {
        text-align: right;
        padding: 0 30px; /* Aumentei o respiro lateral */
        margin-bottom: 50px;
        width: 100%;
        margin-left: auto;
    }

    #animacao .huge-title {
        font-size: 60px; /* Ajuste proporcional para tablets */
        line-height: 1.1;
    }

    /* 2. Transformar o Scroll Horizontal em Vertical */
    #animacao .horizontal-scroll-wrapper {
        overflow-x: hidden;
        overflow-y: visible;
        display: block;
        width: 100%;
    }

    #animacao .cards-container {
        flex-direction: column; /* Empilha verticalmente */
        width: 100%;
        gap: 30px;
        padding: 0 20px;
        align-items: center;
        margin: 0 auto;
    }

    /* 3. Ajuste dos Cards para Tablet/Mobile */
    #animacao .card {
        width: 100% !important;
        max-width: 450px; /* Um pouco maior no tablet que no mobile */
        height: 280px;    /* Altura confortável */
        flex-shrink: 0;
    }

    /* No tablet/mobile, forçamos a visibilidade dos textos */
    #animacao .card .card-tag {
        opacity: 1;
        font-size: 14px;
        transform: translateY(0);
    }

    #animacao .card .card-title {
        font-size: 24px;
    }

    /* Efeito de toque sutil em vez de hover grande */
    #animacao .card:hover {
        width: 100% !important;
        height: 300px;
        transform: scale(1.02);
    }
}
/* =========================================================
   CÓDIGO TEMPORÁRIO - CARDS "EM BREVE"
   (Apague isso quando todos os projetos estiverem prontos)
   ========================================================= */

.card.em-breve {
    filter: grayscale(100%) brightness(0.6); /* Tira a cor e escurece a imagem */
    pointer-events: none; /* Bloqueia o clique do mouse para não dar erro 404 */
    cursor: default;
}

/* Cria a etiqueta "Em Breve" direto pelo CSS */
.card.em-breve::before {
    content: "Em breve";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(4, 18, 38, 0.9); /* Azul escuro da sua paleta */
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 20; /* Garante que o texto fique por cima de tudo no card */
}

/* Evita que o card cresça no hover já que está desativado */
.card.em-breve:hover {
    transform: none;
    box-shadow: none;
}