/******************** Fontes usadas */
@import url('https://fonts.cdnfonts.com/css/tt-hoves-pro-trial');
@import url('clash-grotesk.css');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.form-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

:root {
    --font-grande: 'TT Hoves Pro Trial', sans-serif;
    --font-pequena: 'ClashGrotesk-Light', sans-serif;
    --color-black: #111827; /* Dark text */
    --color-gray1: #374151; /* Subheadings */
    --color-gray2: #6b7280; /* Paragraphs */
    --color-white: #ffffff; /* Pure white cards */
    --color-white-pure: #111827; /* Re-purposed to Dark for headings */
    --color-destaque1: #10b981; /* A more refined Emerald Green for light mode */
    --color-destaque2: #059669;
    --surface-dark: #ffffff;
    --surface-light: #ffffff;
    --bg-dark-unified: #f9fafb; /* Off-white background */
    --bg-light-unified: #f3f4f6;
    --border-glass: rgba(0, 0, 0, 0.05); /* Soft border for cards */
    --border-glass-hover: rgba(0, 0, 0, 0.1);
    --bg-glass: #ffffff; /* Cards background */
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-glow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
}

/* Estilizando a barra de rolagem */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark-unified);
}

::-webkit-scrollbar-thumb {
    background-color: #d1d5db;
    border-radius: 20px;
    border: 3px solid var(--bg-dark-unified);
}

::-webkit-scrollbar-thumb:hover {
    background-color: #9ca3af;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-dark-unified);
    width: 100vw;
    min-height: 100vh;
    font-family: var(--font-pequena);
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    transition: transform 0.3s ease-out;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

/*Botões fixos*/
.fixed-button {
    position: fixed;
    display: none;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--color-white);
    color: var(--color-black);
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: opacity 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease, filter 0.35s ease;
}

#backToTop {
    bottom: 20px;
    left: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5); 
}

#whatsappButton {
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    box-shadow: 0px 0px 10px rgba(0, 255, 0, 0.5); 
    animation: pulse 2s infinite;
}

#whatsappButton i {
    font-size: 24px;
    color: #fff;
}

.fixed-button i {
    font-size: 24px;
}

.fixed-button:active {
    transform: scale(0.92);
}

body.is-touch-scrolling .fixed-button {
    opacity: 0.42 !important;
    transform: scale(0.86);
    filter: saturate(0.9);
}

.cv-shortcut {
    position: fixed;
    top: 50%;
    right: 0;
    z-index: 999;
    display: grid;
    grid-template-columns: 42px auto auto;
    align-items: center;
    gap: 0.7rem;
    min-height: 68px;
    padding: 0.65rem 0.75rem 0.65rem 0.65rem;
    color: #f8fafc;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-right: 0;
    border-radius: 18px 0 0 18px;
    background:
        radial-gradient(circle at 15% 20%, rgba(16, 185, 129, 0.34), transparent 42%),
        linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(17, 24, 39, 0.92));
    box-shadow: 0 20px 55px rgba(2, 6, 23, 0.28);
    backdrop-filter: blur(18px);
    transform: translateY(-50%) translateX(calc(100% - 62px));
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.cv-shortcut::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.12), transparent 70%);
    transform: translateX(-110%);
    transition: transform 0.65s ease;
    pointer-events: none;
}

.cv-shortcut:hover,
.cv-shortcut:focus-visible {
    color: #ffffff;
    outline: none;
    transform: translateY(-50%) translateX(0);
    box-shadow: 0 26px 70px rgba(2, 6, 23, 0.36), 0 0 0 3px rgba(16, 185, 129, 0.16);
}

.cv-shortcut:hover::before,
.cv-shortcut:focus-visible::before {
    transform: translateX(110%);
}

.cv-shortcut-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--color-destaque1), #3b82f6);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.25);
}

.cv-shortcut-icon i {
    font-size: 1.25rem;
}

.cv-shortcut-copy {
    display: flex;
    flex-direction: column;
    min-width: 126px;
    line-height: 1.1;
}

.cv-shortcut-copy small {
    margin-bottom: 0.25rem;
    color: rgba(248, 250, 252, 0.58);
    font-size: 0.68rem;
    letter-spacing: 0.04em;
}

.cv-shortcut-copy strong {
    font-size: 0.95rem;
    letter-spacing: 0.01em;
}

.cv-shortcut-format {
    padding: 0.35rem 0.45rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    color: var(--color-destaque1);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 20px rgba(0, 255, 0, 0.7);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
    }
}

.container {
    width: 100vw;
    max-width: none;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
}

/*************** HEADER *****/
.header {
    user-select: none;
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 99;
    transition: top 0.3s ease-in-out;
    background: transparent;
    backdrop-filter: none;
    border-bottom: none;
}

/* Logo */
.logo {
    width: 100%;
    position: relative;
    z-index: 1; /* keep logo above header canvas */
}

.logo img {
    width: 150px;
}

/* Menu */
.menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    z-index: 1; /* keep menu above header/menu canvases */
}

.hamburger {
    cursor: pointer;
}

.hamburger input {
    display: none;
}

.hamburger svg {
    height: 3em;
    transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.line {
    fill: none;
    stroke: var(--color-black);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3;
    transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1), stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.line-top-bottom {
    stroke-dasharray: 12 63;
}

.hamburger input:checked+svg {
    transform: rotate(-45deg);
}

.hamburger input:checked+svg .line-top-bottom {
    stroke-dasharray: 20 300;
    stroke-dashoffset: -32.42;
}

/* Menu Navegação */
.menu-aberto {
    background: rgba(255, 255, 255, 0.95);
    position: fixed;
    left: 0;
    top: 0;
    height: 0;
    width: 100%;
    z-index: 98;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: height 0.5s ease-in-out, opacity 0.5s ease-in-out;
    opacity: 0;
}

.menu-aberto.active {
    height: 100vh;
    opacity: 1;
}

.nav-menu {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    transition: opacity 0.5s ease-in-out;
}

.nav-menu a {
    user-select: none;
    text-decoration: none;
    color: var(--color-black);
    font-family: var(--font-pequena);
    font-size: 2.6rem;
    font-weight: bold;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateY(-20px);
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.menu-aberto.active .nav-menu a {
    opacity: 1;
    transform: translateY(0);
}

.nav-menu a:hover {
    color: var(--color-destaque1);
    transition: all 0.3s ease;
}

/*************** INICIO *****/
.inicio {
    /* Espaço maior para afastar do header */
    padding-top: 12rem;
    --mouse-x: 50%;
    --mouse-y: 45%;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0rem 1rem;
    z-index: 1;
    user-select: none;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #ffffff;
}

#galaxy-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.inicio::before {
    content: "";
    position: absolute;
    inset: -50%;
    z-index: -2;
    pointer-events: none;
    background: 
        radial-gradient(circle at 30% 30%, rgba(16, 185, 129, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(59, 130, 246, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 50% 10%, rgba(139, 92, 246, 0.05) 0%, transparent 60%);
    filter: blur(80px);
    animation: gradient-flow 15s ease-in-out infinite alternate;
}

@keyframes gradient-flow {
    0% { transform: scale(1) translate(0, 0); }
    50% { transform: scale(1.05) translate(3%, 3%); }
    100% { transform: scale(1) translate(-3%, -3%); }
}

.inicio::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: url('data:image/svg+xml;utf8,<svg width="30" height="30" xmlns="http://www.w3.org/2000/svg"><circle cx="1.5" cy="1.5" r="1.5" fill="%23000000" opacity="0.03"/></svg>');
    opacity: 1;
}

.container-inicio {
    width: 100vw;
    height: 100%;
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.conteudo-inicio {
    width: 100vw;
    max-width: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1.2rem;
}

.badge-inicio {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1rem;
    border: 1px solid var(--border-glass);
    border-radius: 999px;
    background: var(--bg-glass);
    color: var(--color-black);
    letter-spacing: 0.1em;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow-soft);
}

.titulo-inicio {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0.5rem;
}

.titulo-inicio h1 {
    font-size: clamp(2rem, 4.5vw + 1rem, 5.5rem);
    font-family: var(--font-grande);
    font-weight: 800;
    color: var(--color-black);
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin: 0;
}

.destaque-inicio {
    font-weight: 900;
    background: linear-gradient(to right, #10b981, #3b82f6, #8b5cf6, #10b981);
    background-size: 300% 300%;
    animation: textGradientFlow 6s ease-in-out infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    padding-bottom: 0.1em;
}

@keyframes textGradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.paragrafo-inicio p {
    font-size: clamp(1.1rem, 1.3vw + 0.5rem, 1.5rem);
    max-width: 750px;
    margin: 0 auto;
    color: var(--color-gray2);
    font-family: var(--font-pequena);
    line-height: 1.6;
    font-weight: 400;
}

/* Botão Inicio */
.cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.cta {
    position: relative;
    margin: 0;
    padding: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    background: none;
    cursor: pointer;
    text-decoration: none;
}

.cta-primary {
    background: var(--color-black);
    color: var(--color-white);
    border-radius: 999px;
    padding: 16px 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.2);
}

.cta-primary span {
    font-family: var(--font-pequena);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--color-white);
}

.cta-primary svg {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke: var(--color-white);
    stroke-width: 2.5;
    transition: transform 0.3s ease;
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px -5px rgba(0, 0, 0, 0.3);
    background: #1f2937;
}

.cta-primary:hover svg {
    transform: translateX(5px);
}

.cta-primary:active {
    transform: scale(0.97) translateY(0);
}

.cta-secondary {
    padding: 16px 32px;
    border-radius: 999px;
    border: 1px solid rgba(17, 24, 39, 0.1);
    color: var(--color-black);
    font-family: var(--font-pequena);
    font-size: 1.1rem;
    font-weight: 600;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.cta-secondary:hover {
    background-color: var(--color-white);
    border-color: rgba(17, 24, 39, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.proof-inicio {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.proof-item {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 1rem;
    min-height: 60px;
    text-align: left;
    backdrop-filter: blur(12px);
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.proof-item:hover {
    transform: translateY(-4px);
    border-color: var(--border-glass-hover);
    background: rgba(255, 255, 255, 0.04);
}

.proof-item strong {
    display: block;
    color: var(--color-black);
    font-family: var(--font-grande);
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

.proof-item span {
    display: block;
    color: var(--color-gray2);
    font-size: 0.95rem;
    line-height: 1.4;
}

.complemento-inicio {
    position: absolute;
    bottom: 2rem;
    width: 100%;
    padding: 0rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.complemento-inicio .text {
    width: 200px;
}

.complemento-inicio .qr-code {
    width: 80px;
    opacity: .2;
    transition: all .5s ease-in-out;
}

.qr-code:hover {
    opacity: 1;
}

.sobre {
    background-color: var(--color-black);
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(4rem, 6vw, 6rem) 1rem;
    z-index: 1;
    user-select: none;
    overflow: visible;
}

.sobre::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1.5px, transparent 1.5px);
    background-size: 28px 28px;
    mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
}

.sobre::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 40%);
}

.container-sobre {
    width: 100%;
    min-height: calc(100vh - 8rem);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
    gap: 2rem;
}

.headline-sobre {
    min-height: 160px;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.headline-scroll {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: scroll 20s linear infinite;
}

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

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

.headline-scroll span {
    font-family: var(--font-grande);
    font-size: 6rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    letter-spacing: -0.02em;
}

.headline-scroll .divisor {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    margin: 0 40px;
}

.headline-scroll .bold {
    font-weight: 800;
    color: var(--color-white);
}

.headline-scroll .light {
    font-weight: 300;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
    color: transparent;
}

.conteudo-sobre {
    position: relative;
    width: 100%;
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: stretch;
    gap: clamp(2rem, 4vw, 4rem);
}

.left-sobre {
    color: var(--color-white);
    height: 100%;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: left;
    gap: 3rem;
}

.textos-sobre h1 {
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-family: var(--font-grande);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.textos-sobre p {
    font-size: 1.2rem;
    color: #9ca3af;
    font-weight: 400;
    line-height: 1.6;
}

.redes-sociais {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.redes-sociais a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: #d1d5db;
    font-size: 1.05rem;
    font-family: var(--font-pequena);
    font-weight: 600;
    width: 100%;
    padding: 1.3rem 1.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.redes-sociais a:last-child {
    border-bottom: none;
}

.redes-sociais a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.05), transparent);
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    z-index: 0;
}

.redes-sociais a:hover::before {
    transform: translateX(0);
}

.redes-sociais a:hover {
    color: var(--color-white);
    padding-left: 2.1rem;
}

.redes-sociais a > * {
    z-index: 1; /* Keep text and icons above background */
}

.redes-sociais a .link-text {
    display: flex;
    align-items: center;
    gap: 14px;
}

.redes-sociais a .link-text i {
    font-size: 1.3rem;
    color: #9ca3af;
    transition: color 0.3s ease;
}

.redes-sociais a:hover .link-text i {
    color: var(--color-white);
}

.redes-sociais a > i {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #9ca3af;
}

.redes-sociais a:hover > i {
    transform: translateX(5px);
    color: var(--color-white);
}

.right-sobre {
    height: 100%;
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.imagem-sobre {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    height: 100%;
}

.imagem-sobre img {
    width: 80%;
    max-width: 450px;
    z-index: 99;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    object-fit: cover;
    aspect-ratio: 4/5;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.6s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.imagem-sobre img:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 35px 60px -15px rgba(0, 0, 0, 0.25);
}

/*************** SKILLS *****/
.skills {
    width: 100%;
    padding: clamp(5rem, 8vw, 8rem) 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, #f9fafb 0%, #ffffff 48%, #f3f4f6 100%);
    isolation: isolate;
}

.skills::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at 12% 18%, rgba(16, 185, 129, 0.12), transparent 28%),
        radial-gradient(circle at 88% 8%, rgba(59, 130, 246, 0.1), transparent 30%),
        linear-gradient(rgba(17, 24, 39, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17, 24, 39, 0.035) 1px, transparent 1px);
    background-size: auto, auto, 56px 56px, 56px 56px;
    mask-image: linear-gradient(to bottom, transparent 0%, black 16%, black 84%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 16%, black 84%, transparent 100%);
}

.container-skills {
    width: 100%;
    max-width: 1400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(2rem, 4vw, 3.5rem);
}

.headline-skills {
    width: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.text-headline-skills h2 {
    font-family: var(--font-grande);
    font-size: clamp(2.6rem, 5vw, 5rem);
    line-height: 0.95;
    color: var(--color-black);
    letter-spacing: 0;
    margin-bottom: 1rem;
}

.text-headline-skills p {
    font-size: clamp(1rem, 1.5vw, 1.35rem);
    color: var(--color-gray2);
    font-weight: 400;
    line-height: 1.6;
    max-width: 760px;
    margin: 0 auto;
}

.conteudo-skills {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1rem, 2vw, 1.5rem);
    width: 100%;
}

.box-skills {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(17, 24, 39, 0.08);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.9));
    border-radius: 18px;
    color: var(--color-black);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 360px;
    padding: clamp(1.4rem, 2vw, 2rem);
    gap: 1rem;
    box-shadow: 0 18px 45px rgba(17, 24, 39, 0.07);
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
    animation: riseIn 0.8s ease both;
}

.box-skills::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), transparent 42%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.box-skills:hover {
    transform: translateY(-10px);
    border-color: rgba(16, 185, 129, 0.28);
    background: #ffffff;
    box-shadow: 0 28px 70px rgba(17, 24, 39, 0.13);
}

.box-skills:hover::before {
    opacity: 1;
}

.box-skills:nth-child(2) {
    animation-delay: 0.1s;
}

.box-skills:nth-child(3) {
    animation-delay: 0.2s;
}

.box-skills:nth-child(4) {
    animation-delay: 0.3s;
}

.skill-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.skill-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #111827;
    color: #ffffff;
    box-shadow: 0 14px 30px rgba(17, 24, 39, 0.18);
}

.skill-icon i {
    font-size: 2rem;
    color: inherit;
}

.skill-level {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    max-width: 150px;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.1);
    color: #047857;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.2;
    text-align: center;
}

.box-skills h3 {
    position: relative;
    z-index: 1;
    font-family: var(--font-grande);
    font-size: clamp(1.45rem, 2vw, 1.9rem);
    line-height: 1.1;
    color: var(--color-black);
    margin-top: auto;
}

.box-skills p {
    position: relative;
    z-index: 1;
    color: var(--color-gray2);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.55;
}

.skill-meter {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.08);
    overflow: hidden;
    margin-top: 0.4rem;
}

.skill-meter span {
    display: block;
    width: var(--skill-progress);
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--color-destaque1), #3b82f6);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.35);
}

@media (min-width: 600px) {
    .conteudo-skills {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .conteudo-skills {
        grid-template-columns: repeat(4, 1fr);
    }
}

/*************** SERVIÇOS *****/
.servicos {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: clamp(5rem, 8vw, 8rem) 1rem;
    background:
        linear-gradient(180deg, #f3f4f6 0%, #ffffff 46%, #f9fafb 100%);
    isolation: isolate;
}

.servicos::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 12%, rgba(59, 130, 246, 0.11), transparent 28%),
        radial-gradient(circle at 82% 75%, rgba(16, 185, 129, 0.12), transparent 30%),
        linear-gradient(rgba(17, 24, 39, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17, 24, 39, 0.035) 1px, transparent 1px);
    background-size: auto, auto, 56px 56px, 56px 56px;
    mask-image: linear-gradient(to bottom, transparent 0%, black 14%, black 86%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 14%, black 86%, transparent 100%);
}

.container-servicos {
    width: 100%;
    max-width: 1400px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(2.4rem, 5vw, 4rem);
}

.headline-servicos {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.titulo-servicos {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: left;
}

.titulo-servicos h1 {
    color: var(--color-black);
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 800;
    font-family: var(--font-grande);
    line-height: 0.95;
    letter-spacing: 0;
}

.descricao-servicos {
    width: 50%;
    max-width: 620px;
    font-size: clamp(1rem, 1.4vw, 1.3rem);
    text-align: right;
    line-height: 1.6;
    letter-spacing: 0;
    color: var(--color-gray2);
}

.servicos-cards {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
}

.card-servicos,
.card-servicos-left {
    position: relative;
    min-height: 290px;
    overflow: hidden;
    border: 1px solid rgba(17, 24, 39, 0.08);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.9));
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: clamp(1.4rem, 2vw, 2rem);
    color: var(--color-black);
    box-shadow: 0 18px 45px rgba(17, 24, 39, 0.07);
    transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

.card-servicos::before,
.card-servicos-left::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), transparent 45%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.card-servicos:hover,
.card-servicos-left:hover {
    transform: translateY(-10px);
    border-color: rgba(16, 185, 129, 0.28);
    background: #ffffff;
    box-shadow: 0 28px 70px rgba(17, 24, 39, 0.13);
}

.card-servicos:hover::before,
.card-servicos-left:hover::before {
    opacity: 1;
}

.card-content {
    width: 100%;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.service-index {
    width: fit-content;
    min-width: 46px;
    min-height: 34px;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.1);
    color: #047857;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1;
}

.card-titulo {
    width: 100%;
}

.card-titulo h1 {
    color: var(--color-black);
    font-family: var(--font-grande);
    font-size: clamp(1.45rem, 2.2vw, 2rem);
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: 0;
    margin-bottom: 0.8rem;
}

.card-titulo p {
    color: var(--color-gray2);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.55;
    letter-spacing: 0;
}

.card-icon {
    position: relative;
    z-index: 1;
    width: 64px;
    height: 64px;
    margin-left: auto;
    border: 0;
    background: #111827;
    border-radius: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 14px 30px rgba(17, 24, 39, 0.18);
    transition: transform 0.35s ease, background 0.35s ease;
}

.card-servicos:hover .card-icon,
.card-servicos-left:hover .card-icon {
    transform: translateY(-4px);
    background: var(--color-destaque2);
}

.card-icon i {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 0;
}

@media (max-width: 1024px) {
    .headline-servicos {
        flex-direction: column;
        align-items: flex-start;
    }

    .titulo-servicos,
    .descricao-servicos {
        width: 100%;
        text-align: left;
    }

    .servicos-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .servicos-cards {
        grid-template-columns: 1fr;
    }

    .card-servicos,
    .card-servicos-left {
        min-height: 260px;
    }
}

/*************** ALGUMA FRASE AQUI  *****/
.free-your-mind {
    --free-light-x: 50%;
    --free-light-y: 50%;
    --section-progress: 0;
    width: 100%;
    min-height: 78vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: clamp(5rem, 9vw, 8rem) 1rem;
    font-family: var(--font-grande);
    background:
        radial-gradient(circle at var(--free-light-x) var(--free-light-y), rgba(248, 250, 252, 0.2), transparent 22rem),
        linear-gradient(180deg, #f9fafb 0%, rgba(15, 23, 42, 0.96) 16%),
        linear-gradient(0deg, #f9fafb 0%, rgba(15, 23, 42, 0.96) 16%),
        radial-gradient(circle at 14% 22%, rgba(16, 185, 129, 0.34), transparent 30%),
        radial-gradient(circle at 84% 70%, rgba(59, 130, 246, 0.3), transparent 32%),
        radial-gradient(circle at 48% 48%, rgba(244, 114, 182, 0.13), transparent 34%),
        linear-gradient(135deg, #0f172a 0%, #111827 48%, #020617 100%);
    isolation: isolate;
}

.free-your-mind::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(circle at center, black 0%, transparent 72%);
    -webkit-mask-image: radial-gradient(circle at center, black 0%, transparent 72%);
    transform: translate3d(calc(var(--section-progress) * -18px), calc(var(--section-progress) * 26px), 0);
    animation: gridFloat 10s linear infinite;
}

.free-your-mind::after {
    content: "";
    position: absolute;
    inset: 12% -10%;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.13) 42%, rgba(16, 185, 129, 0.08) 58%, transparent 100%);
    transform: translateX(-18%) skewX(-10deg);
    animation: executiveShine 7s ease-in-out infinite;
    opacity: 0.65;
}

.free-your-mind-orbit {
    position: absolute;
    inset: 10% 8%;
    z-index: -1;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    transform: rotate(-8deg) translateY(calc(var(--section-progress) * -26px));
    opacity: 0.72;
}

.free-your-mind-orbit::before,
.free-your-mind-orbit::after {
    content: "";
    position: absolute;
    width: clamp(7rem, 15vw, 16rem);
    aspect-ratio: 1;
    border-radius: 50%;
    filter: blur(18px);
    opacity: 0.5;
    animation: orbitPulse 3.5s ease-in-out infinite;
}

.free-your-mind-orbit::before {
    top: -7%;
    left: 12%;
    background: rgba(16, 185, 129, 0.4);
}

.free-your-mind-orbit::after {
    right: 10%;
    bottom: -8%;
    background: rgba(59, 130, 246, 0.38);
    animation-delay: -1.2s;
}

.container-free-your-mind {
    width: 100%;
    max-width: 1400px;
    min-height: 52vh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: clamp(0.35rem, 1vw, 0.8rem);
    position: relative;
}

.container-free-your-mind::before {
    content: "";
    position: absolute;
    inset: -12% 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.line-container {
    --line-drift: -36px;
    display: flex;
    align-items: center;
    gap: clamp(1rem, 3vw, 4rem);
    opacity: 0;
    transform: translateY(24px) translateX(calc((var(--section-progress) - 0.5) * var(--line-drift)));
    animation: boardroomReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    will-change: transform, opacity;
}

.line-container:nth-child(2) {
    animation-delay: 0.12s;
}

.line-container:nth-child(3) {
    animation-delay: 0.24s;
}

.line-container.center {
    justify-content: center;
}

.line-container.right {
    --line-drift: 36px;
    justify-content: flex-end;
    padding-right: clamp(1.5rem, 6vw, 5rem);
}

.container-free-your-mind span {
    color: #f8fafc;
    font-size: clamp(2.8rem, 8.8vw, 8.8rem);
    font-weight: 800;
    line-height: 0.86;
    letter-spacing: 0;
    text-transform: uppercase;
    text-wrap: balance;
    text-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

.line-container > span:not(.line) {
    position: relative;
    display: inline-block;
    background: linear-gradient(110deg, #f8fafc 0%, #f8fafc 38%, #a7f3d0 48%, #bfdbfe 58%, #f8fafc 70%);
    background-size: 260% 100%;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: textSweep 4.5s cubic-bezier(0.65, 0, 0.35, 1) infinite;
    animation-delay: calc(var(--line-order, 0) * 0.14s);
}

.line-container:nth-child(1) {
    --line-order: 0;
}

.line-container:nth-child(2) {
    --line-order: 1;
}

.line-container:nth-child(3) {
    --line-order: 2;
}

.line-container:nth-child(4) {
    --line-order: 3;
}

.center span {
    text-align: center;
}

.right span {
    text-align: right;
}

.free-your-mind .line {
    flex-grow: 1;
    height: 1px;
    min-width: clamp(32px, 10vw, 220px);
    margin: 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.26), transparent);
}

.free-your-mind .line::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.85), rgba(59, 130, 246, 0.75), transparent);
    animation: signalLine 2.8s ease-in-out infinite;
    animation-delay: calc(var(--line-order, 0) * 0.12s);
}

@keyframes boardroomReveal {
    to {
        opacity: 1;
        transform: translateY(0) translateX(calc((var(--section-progress) - 0.5) * var(--line-drift)));
    }
}

@keyframes executiveShine {
    0%, 42% {
        transform: translateX(-18%) skewX(-10deg);
    }

    70%, 100% {
        transform: translateX(18%) skewX(-10deg);
    }
}

@keyframes gridFloat {
    to {
        background-position: 80px 80px, 80px 80px;
    }
}

@keyframes orbitPulse {
    0%, 100% {
        transform: scale(0.92);
        opacity: 0.36;
    }

    50% {
        transform: scale(1.08);
        opacity: 0.62;
    }
}

@keyframes signalLine {
    0% {
        transform: translateX(-100%);
    }

    55%, 100% {
        transform: translateX(100%);
    }
}

@keyframes textSweep {
    0%, 28% {
        background-position: 120% 50%;
    }

    56%, 100% {
        background-position: -80% 50%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .free-your-mind::after,
    .free-your-mind::before,
    .free-your-mind-orbit::before,
    .free-your-mind-orbit::after,
    .line-container,
    .line-container > span:not(.line),
    .free-your-mind .line::after {
        animation: none;
    }

    .line-container {
        opacity: 1;
        transform: none;
    }

    .free-your-mind::before,
    .free-your-mind-orbit {
        transform: none;
    }

    .case1,
    .case2,
    .case3,
    .case4,
    .case5 {
        opacity: 1;
        filter: none;
        transition: none;
        transform: none;
    }
}

@media (max-width: 640px) {
    .free-your-mind {
        min-height: 64vh;
    }

    .line-container {
        gap: 0.8rem;
    }

    .free-your-mind .line {
        min-width: 28px;
    }
}

/*************** PORTFOLIO *****/
.portfolio {
    width: 100%;
    height: 100%;
    color: var(--color-black);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: clamp(5rem, 8vw, 8rem) 1rem;
    background:
        linear-gradient(180deg, #f9fafb 0%, rgba(255, 255, 255, 0) 14%),
        linear-gradient(0deg, #f3f4f6 0%, rgba(255, 255, 255, 0) 18%),
        linear-gradient(135deg, rgba(16, 185, 129, 0.09) 0%, transparent 32%),
        linear-gradient(315deg, rgba(59, 130, 246, 0.1) 0%, transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 52%, #eef2f7 100%);
    isolation: isolate;
}

.portfolio::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        radial-gradient(circle at 14% 18%, rgba(15, 23, 42, 0.08), transparent 28%),
        radial-gradient(circle at 86% 38%, rgba(16, 185, 129, 0.14), transparent 30%),
        radial-gradient(circle at 50% 100%, rgba(59, 130, 246, 0.12), transparent 34%),
        linear-gradient(rgba(17, 24, 39, 0.032) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17, 24, 39, 0.032) 1px, transparent 1px);
    background-size: auto, auto, auto, 72px 72px, 72px 72px;
    mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 88%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 88%, transparent 100%);
}

.portfolio::after {
    content: "";
    position: absolute;
    inset: 6% -12% auto auto;
    z-index: -1;
    width: 56vw;
    aspect-ratio: 1;
    pointer-events: none;
    background:
        conic-gradient(from 145deg, rgba(16, 185, 129, 0.12), rgba(59, 130, 246, 0.12), transparent 42%, rgba(17, 24, 39, 0.06), transparent 72%);
    filter: blur(24px);
    opacity: 0.9;
    transform: rotate(-8deg);
}

.container-portfolio {
    width: 100%;
    max-width: none;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(2.6rem, 5vw, 4.5rem);
}

.headline-portfolio {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.headline-portfolio .titulo {
    color: var(--color-black);
    width: 50%;
    font-size: clamp(3rem, 8vw, 7rem);
    line-height: 0.95;
    font-weight: 800;
    font-family: var(--font-grande);
    letter-spacing: 0;
}

.headline-portfolio .descricao {
    width: 50%;
    max-width: 620px;
    font-size: clamp(1rem, 1.4vw, 1.25rem);
    text-align: right;
    line-height: 1.6;
    letter-spacing: 0;
    color: var(--color-gray2);
}

.portfolio-mobile-hint {
    display: none;
}

.container-case {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: none;
    scroll-padding-inline: 0;
    padding: 0.25rem 0 1.4rem;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    overscroll-behavior-inline: contain;
    scroll-behavior: auto;
    scrollbar-gutter: stable;
    perspective: 1400px;
    perspective-origin: center;
}

.container-case:active {
    cursor: grabbing;
}

.container-case.is-gliding,
.container-case.is-user-scrolling {
    cursor: grabbing;
}

.container-case.is-immersing .is-active-case {
    box-shadow: 0 46px 120px rgba(17, 24, 39, 0.2), 0 0 0 1px rgba(16, 185, 129, 0.14);
}

.container-case::-webkit-scrollbar {
    height: 10px;
}

.container-case::-webkit-scrollbar-track {
    background: rgba(17, 24, 39, 0.06);
    border-radius: 999px;
}

.container-case::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, var(--color-destaque1), #3b82f6);
    border-radius: 999px;
    border: 2px solid rgba(249, 250, 251, 0.9);
}

.case1,
.case2,
.case3,
.case4,
.case5 {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
    min-height: 520px;
    height: auto;
    display: flex;
    align-items: center;
    scroll-snap-align: none;
    scroll-snap-stop: normal;
    gap: clamp(1.2rem, 3vw, 2.5rem);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 22px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.92));
    padding: clamp(1rem, 2vw, 1.6rem);
    box-shadow: 0 20px 60px rgba(17, 24, 39, 0.08);
    backdrop-filter: blur(18px);
    opacity: 1;
    filter: saturate(1);
    pointer-events: auto;
    transform: translate3d(0, 0, 0) scale(1);
    transform-style: preserve-3d;
    transform-origin: center;
    transition:
        transform 1.05s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.65s ease,
        filter 0.65s ease,
        border-color 0.35s ease,
        background 0.35s ease,
        box-shadow 0.35s ease;
    animation: riseIn 0.9s ease both;
}

.container-case.is-enhanced :where(.case1, .case2, .case3, .case4, .case5) {
    opacity: 0;
    filter: saturate(0.72) blur(7px);
    pointer-events: none;
}

.case1.is-active-case,
.case2.is-active-case,
.case3.is-active-case,
.case4.is-active-case,
.case5.is-active-case {
    opacity: 1;
    filter: saturate(1);
    pointer-events: auto;
    transform: translate3d(0, 0, 60px) scale(1);
    border-color: rgba(16, 185, 129, 0.2);
    box-shadow: 0 34px 96px rgba(17, 24, 39, 0.15), 0 0 0 1px rgba(16, 185, 129, 0.1);
}

.case1.is-before-case,
.case2.is-before-case,
.case3.is-before-case,
.case4.is-before-case,
.case5.is-before-case {
    transform: translate3d(-8rem, 1.2rem, -180px) scale(0.9);
}

.case1.is-after-case,
.case2.is-after-case,
.case3.is-after-case,
.case4.is-after-case,
.case5.is-after-case {
    transform: translate3d(10rem, 1.2rem, -180px) scale(0.9);
}

@media (prefers-reduced-motion: reduce) {
    .container-case.is-enhanced :where(.case1, .case2, .case3, .case4, .case5),
    .case1.is-active-case,
    .case2.is-active-case,
    .case3.is-active-case,
    .case4.is-active-case,
    .case5.is-active-case,
    .case1.is-before-case,
    .case2.is-before-case,
    .case3.is-before-case,
    .case4.is-before-case,
    .case5.is-before-case,
    .case1.is-after-case,
    .case2.is-after-case,
    .case3.is-after-case,
    .case4.is-after-case,
    .case5.is-after-case {
        opacity: 1;
        filter: none;
        pointer-events: auto;
        transition: none;
        transform: none;
    }
}

.case1::before,
.case2::before,
.case3::before,
.case4::before,
.case5::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(125deg, rgba(16, 185, 129, 0.12), transparent 36%),
        linear-gradient(305deg, rgba(59, 130, 246, 0.11), transparent 34%);
    opacity: 0;
    transition: opacity 0.45s ease;
}

.case1:hover,
.case2:hover,
.case3:hover,
.case4:hover,
.case5:hover {
    transform: translate3d(0, -8px, 70px) scale(1);
    border-color: rgba(16, 185, 129, 0.24);
    background: #ffffff;
    box-shadow: 0 34px 90px rgba(17, 24, 39, 0.14);
}

.case1:hover::before,
.case2:hover::before,
.case3:hover::before,
.case4:hover::before,
.case5:hover::before {
    opacity: 1;
}

.case1.is-active-case::before,
.case2.is-active-case::before,
.case3.is-active-case::before,
.case4.is-active-case::before,
.case5.is-active-case::before {
    opacity: 0.85;
}

.imagens-case {
    width: 56%;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.slide {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    min-height: 420px;
    border-radius: 18px;
    background:
        radial-gradient(circle at 18% 16%, rgba(16, 185, 129, 0.16), transparent 30%),
        linear-gradient(145deg, #0f172a, #020617);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 48px rgba(15, 23, 42, 0.22);
}

.slide::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 22%),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04), transparent 30%);
    opacity: 0.85;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 1s ease-in-out, transform 0.65s cubic-bezier(0.22, 1, 0.36, 1), filter 0.45s ease;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    z-index: 2;
    padding: clamp(0.5rem, 1vw, 1rem);
    filter: saturate(0.98) contrast(1.02);
    cursor: zoom-in;
}

.slide img:focus-visible {
    outline: 3px solid rgba(16, 185, 129, 0.72);
    outline-offset: -8px;
    border-radius: 14px;
}

.slide img:first-child {
    display: block;
    opacity: 1;
}

.compare-showcase {
    position: relative;
    width: 100%;
    min-height: 560px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: clamp(0.8rem, 1.5vw, 1.2rem);
    align-items: stretch;
    overflow: visible;
    border-radius: 18px;
    background:
        radial-gradient(circle at 18% 16%, rgba(16, 185, 129, 0.16), transparent 30%),
        linear-gradient(145deg, #0f172a, #020617);
    padding: clamp(0.8rem, 1.5vw, 1.2rem);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 48px rgba(15, 23, 42, 0.22);
}

.compare-showcase::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    border-radius: inherit;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 22%),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04), transparent 30%);
}

.compare-panel {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    min-height: 260px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 14px 36px rgba(2, 6, 23, 0.22);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.compare-panel img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
    padding: clamp(0.35rem, 0.8vw, 0.8rem);
    cursor: zoom-in;
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1), filter 0.45s ease;
}

.compare-panel img:focus-visible {
    outline: 3px solid rgba(16, 185, 129, 0.72);
    outline-offset: -6px;
    border-radius: 10px;
}

.compare-before img {
    filter: saturate(0.86) contrast(0.96);
}

.compare-after img {
    filter: saturate(1.08) contrast(1.04);
}

.compare-label {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    min-height: 34px;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    color: #111827;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.16);
    backdrop-filter: blur(14px);
}

.compare-after .compare-label {
    background: rgba(16, 185, 129, 0.94);
    color: #ffffff;
}

.compare-panel:hover {
    transform: translateY(-6px);
    border-color: rgba(16, 185, 129, 0.28);
    box-shadow: 0 22px 52px rgba(2, 6, 23, 0.32);
}

.compare-panel:hover img {
    transform: scale(1.025);
}

.lightbox-open {
    overflow: hidden;
}

.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1rem, 3vw, 2.5rem);
    background: rgba(2, 6, 23, 0.86);
    backdrop-filter: blur(18px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
}

.image-lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.image-lightbox-img {
    width: min(96vw, 1500px);
    max-height: 88vh;
    object-fit: contain;
    border-radius: 18px;
    background: #020617;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
    transform: scale(0.96);
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.image-lightbox.active .image-lightbox-img {
    transform: scale(1);
}

.image-lightbox-close {
    position: fixed;
    top: clamp(1rem, 2vw, 1.6rem);
    right: clamp(1rem, 2vw, 1.6rem);
    z-index: 1;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    cursor: pointer;
    backdrop-filter: blur(14px);
    transition: transform 0.25s ease, background 0.25s ease;
}

.image-lightbox-close:hover,
.image-lightbox-close:focus-visible {
    transform: scale(1.06);
    background: rgba(255, 255, 255, 0.2);
}

.case1:hover .slide img,
.case2:hover .slide img,
.case3:hover .slide img,
.case4:hover .slide img,
.case5:hover .slide img {
    transform: translate(-50%, -50%) scale(1.025);
    filter: saturate(1.08) contrast(1.04);
}

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    color: #111827;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
    font-size: 2rem;
    user-select: none;
    transform: translateY(-50%);
    border-radius: 50%;
    z-index: 2;
    backdrop-filter: blur(14px);
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.prev:hover,
.next:hover {
    transform: translateY(-50%) scale(1.08);
    background: #ffffff;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.24);
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.textos-case {
    width: 44%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.conteudo-textos-case {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: left;
    justify-content: center;
    flex-direction: column;
    padding: clamp(1rem, 2vw, 2rem);
}

.conteudo-textos-case h1,
.conteudo-textos-case h2 {
    color: var(--color-black);
    font-family: var(--font-grande);
    font-size: clamp(2rem, 4vw, 4.25rem);
    line-height: 0.98;
    letter-spacing: 0;
    margin-bottom: 1.2rem;
}

.conteudo-textos-case p {
    color: var(--color-gray2);
    font-size: clamp(1rem, 1.4vw, 1.25rem);
    line-height: 1.65;
    letter-spacing: 0;
    padding-bottom: 1.5rem;
}

.conteudo-textos-case a {
    color: var(--color-destaque2);
    text-decoration: underline;
    text-underline-offset: 4px;
    font-weight: 700;
}

.conteudo-textos-case span {
    width: fit-content;
    min-width: 150px;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0.45rem 0.9rem;
    background-color: rgba(16, 185, 129, 0.1);
    border-radius: 50px;
    color: #047857;
    border: 1px solid rgba(16, 185, 129, 0.16);
    font-weight: 800;
    letter-spacing: 0;
}

/*************** CONTATO *****/
.contato {
    width: 100%;
    height: auto;
    display: flex;
    position: relative;
    overflow: hidden;
    padding: clamp(5rem, 8vw, 8rem) 1rem;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(180deg, #f3f4f6 0%, rgba(255, 255, 255, 0) 18%),
        radial-gradient(circle at 16% 12%, rgba(16, 185, 129, 0.14), transparent 30%),
        radial-gradient(circle at 88% 72%, rgba(59, 130, 246, 0.12), transparent 32%),
        linear-gradient(135deg, #ffffff 0%, #f8fafc 52%, #eef2f7 100%);
    isolation: isolate;
}

.contato::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(rgba(17, 24, 39, 0.032) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17, 24, 39, 0.032) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(circle at center, black 0%, transparent 74%);
    -webkit-mask-image: radial-gradient(circle at center, black 0%, transparent 74%);
}

.container-contato {
    width: 100%;
    max-width: 1400px;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(2.6rem, 5vw, 4.5rem);
}

.headline-contato {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.titulo-contato {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: left;
}

.titulo-contato h1 {
    color: var(--color-black);
    font-size: clamp(3rem, 8vw, 7rem);
    line-height: 0.95;
    font-weight: 800;
    font-family: var(--font-grande);
    letter-spacing: 0;
}

.descricao-contato {
    width: 50%;
    text-align: right;
}

.descricao-contato a {
    text-decoration: none;
    color: var(--color-gray1);
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    letter-spacing: 0;
    line-height: 1.6;
    font-weight: 700;
    transition: color 0.25s ease;
}

.descricao-contato a:hover {
    color: var(--color-destaque2);
}

.conteudo-contato {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: clamp(1.5rem, 4vw, 4rem);
    padding: clamp(1rem, 2vw, 1.5rem);
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 24px 70px rgba(17, 24, 39, 0.1);
    backdrop-filter: blur(18px);
}

.formulario-contato {
    width: 50%;
    min-height: 560px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.1rem;
    padding: clamp(1.2rem, 2vw, 2rem);
}

.formulario-contato h2 {
    font-family: var(--font-grande);
    font-size: clamp(2rem, 3vw, 3.25rem);
    line-height: 1;
    color: var(--color-black);
}

.formulario-contato p {
    font-size: 1.1rem;
    color: var(--color-gray2);
    font-weight: 400;
    line-height: 1.6;
}

.form {
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.form input,
.form textarea {
    font-family: var(--font-pequena);
    width: 100%;
    border-radius: 18px;
    outline: none;
    border: 1px solid rgba(17, 24, 39, 0.1);
    background: rgba(255, 255, 255, 0.92);
    color: var(--color-black);
    padding: 1.1rem 1rem;
    font-size: 1rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.form input {
    min-height: 56px;
}

.form textarea {
    min-height: 170px;
    resize: vertical;
}

.form input:focus,
.form textarea:focus {
    border-color: var(--color-destaque2);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.14), 0 14px 36px rgba(17, 24, 39, 0.08);
    transform: translateY(-2px);
}

.btn {
    align-self: flex-start;
    background: linear-gradient(135deg, var(--color-destaque1), #3b82f6);
    color: #ffffff;
    font-weight: 800;
    min-width: 190px;
    padding: 1rem 1.4rem;
    border: none;
    outline: none;
    border-radius: 999px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
    box-shadow: 0 16px 38px rgba(16, 185, 129, 0.22);
}

.btn:hover {
    transform: translateY(-3px);
    filter: saturate(1.1);
    box-shadow: 0 22px 52px rgba(16, 185, 129, 0.28);
}

.logo-contato {
    width: 50%;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo-contato::before {
    content: "";
    position: absolute;
    inset: 8%;
    border-radius: 32px;
    background:
        radial-gradient(circle at 50% 18%, rgba(16, 185, 129, 0.18), transparent 34%),
        linear-gradient(145deg, rgba(15, 23, 42, 0.12), rgba(255, 255, 255, 0.02));
    filter: blur(2px);
}

.logo-contato img {
    width: min(78%, 440px);
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 28px;
    position: relative;
    border: 1px solid rgba(17, 24, 39, 0.08);
    box-shadow: 0 28px 70px rgba(17, 24, 39, 0.18);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.logo-contato img:hover {
    transform: translateY(-8px) scale(1.015);
    box-shadow: 0 38px 90px rgba(17, 24, 39, 0.24);
}

/*************** FOOTER *****/
.footer {
    width: 100%;
    position: relative;
    overflow: hidden;
    padding: clamp(1.4rem, 3vw, 2.2rem) 1rem 0.9rem;
    color: #f8fafc;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at 12% 16%, rgba(16, 185, 129, 0.16), transparent 30%),
        radial-gradient(circle at 88% 0%, rgba(59, 130, 246, 0.14), transparent 28%),
        linear-gradient(135deg, #0f172a 0%, #111827 48%, #020617 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.container-footer {
    width: 100%;
    max-width: 1400px;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    justify-content: space-between;
    align-items: flex-start;
    gap: clamp(0.8rem, 2vw, 1.8rem);
}

.footer-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo-column {
    align-items: flex-start;
}

.logo-column a {
    text-decoration: none;
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.25s ease, transform 0.25s ease;
}

.logo-column a:hover {
    color: var(--color-destaque1);
    transform: translateY(-2px);
}

.logo-column img {
    width: 100px;
}

.menu-column {
    text-align: left;
    align-items: flex-start;
}

.footer-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(0.8rem, 2vw, 1.4rem);
    flex-wrap: wrap;
}

.footer-nav a {
    text-decoration: none;
    color: rgba(248, 250, 252, 0.72);
    font-size: 0.95rem;
    transition: color 0.25s ease, transform 0.25s ease;
}

.footer-nav a:hover {
    color: var(--color-destaque1);
    transform: translateX(4px);
}

.social-column {
    text-align: right;
}

.social-links {
    list-style: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(0.8rem, 2vw, 1.4rem);
    flex-wrap: wrap;
}

.social-links a {
    text-decoration: none;
    color: rgba(248, 250, 252, 0.78);
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.25s ease, transform 0.25s ease;
}

.social-links a i {
    margin-right: 0;
    color: var(--color-destaque1);
}

.social-links a:hover {
    color: var(--color-destaque1);
    transform: translateX(4px);
}

.credits-column {
    width: 100%;
    max-width: 1400px;
    padding-top: 0.65rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
    font-size: 0.82rem;
    color: rgba(248, 250, 252, 0.62);
}

.credits-column p {
    margin: 0.2rem 0;
}

@keyframes riseIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

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