/* --- RESET E VARIÁVEIS --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

:root {
    /* A Cor Tecnológica Solicitada */
    --tech-purple: #6A13D3;
    /* Tom mais claro para textos pequenos não sumirem no fundo escuro */
    --tech-purple-light: #B066FF;
    --black-premium: #070110;
    --text-white: #FFFFFF;

    /* Liquid Glass Claro (Para brilhar sobre o Grid Roxo) */
    --glass-light-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.0) 100%);
    --glass-light-border: 1px solid rgba(255, 255, 255, 0.15);
    --glass-light-shine: 1px solid rgba(255, 255, 255, 0.4);

    /* Liquid Glass Escuro com Toque Neon (Para as áreas Dark) */
    --glass-dark-bg: linear-gradient(135deg, rgba(15, 5, 25, 0.85) 0%, rgba(10, 2, 20, 0.6) 100%);
    --glass-dark-border: 1px solid rgba(106, 19, 211, 0.3);
    --glass-dark-shine: 1px solid rgba(106, 19, 211, 0.6);
}

body {
    /* O fundo é transparente para mostrar a animação em JS no Canvas */
    background-color: transparent;
    color: var(--text-white);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* O Canvas do Background Tecnológico Animado */
#techGrid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -10;
    pointer-events: none;
    /* Deixa os cliques passarem para o site */
}

/* TIPOGRAFIA */
h1,
h2,
h3,
.brand-font {
    font-family: 'Anton', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: normal;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5%;
}

section {
    padding: 100px 0;
    position: relative;
}

/* --- CLASSES LIQUID GLASS --- */
.liquid-glass-light {
    background: var(--glass-light-bg);
    backdrop-filter: blur(16px) saturate(120%);
    -webkit-backdrop-filter: blur(16px) saturate(120%);
    border: var(--glass-light-border);
    border-top: var(--glass-light-shine);
    border-left: var(--glass-light-shine);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.liquid-glass-dark {
    background: var(--glass-dark-bg);
    backdrop-filter: blur(24px) saturate(150%);
    -webkit-backdrop-filter: blur(24px) saturate(150%);
    border: var(--glass-dark-border);
    border-top: var(--glass-dark-shine);
    border-left: var(--glass-dark-shine);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 0 30px rgba(106, 19, 211, 0.1);
    border-radius: 32px;
    position: relative;
    overflow: hidden;
}

/* Animação do raio de luz passando pelo vidro */
.liquid-glass-light::before,
.liquid-glass-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.15), transparent);
    transform: skewX(-25deg);
    transition: left 0.7s ease;
    z-index: 1;
    pointer-events: none;
}

.liquid-glass-light:hover::before,
.liquid-glass-dark:hover::before {
    left: 150%;
}

/* --- DOCK MENU --- */
.navbar {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1000px;
    height: 70px;
    display: flex;
    align-items: center;
    z-index: 100;
}

.nav-content {
    width: 100%;
    height: 100%;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.2rem;
    letter-spacing: 2px;
    color: var(--text-white);
    text-shadow: 0 0 10px var(--tech-purple);
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--text-white);
    text-shadow: 0 0 10px var(--tech-purple-light);
}

.btn-dock {
    padding: 10px 24px;
    background: var(--tech-purple);
    color: var(--text-white);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: 0.3s;
    box-shadow: 0 0 15px rgba(106, 19, 211, 0.4);
}

.btn-dock:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(106, 19, 211, 0.8);
}

/* --- HERO SECTION (Ajustada para mais respiro e compactação) --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    /* Aumentado de 100px para 160px para não encostar no menu */
    padding-top: 160px;
    padding-bottom: 50px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.badge-hero {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    /* Reduzido de 24px para 18px para compactar o bloco textual */
    margin-bottom: 18px;
    color: var(--text-white);
    border-color: var(--tech-purple);
}

.hero-text h1 {
    /* Fonte levemente ajustada para quebrar melhor em telas grandes */
    font-size: clamp(3rem, 5vw, 5.5rem);
    line-height: 0.95;
    /* Reduzido de 24px para 18px */
    margin-bottom: 18px;
    color: var(--text-white);
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-text p {
    font-size: 1.15rem;
    line-height: 1.6;
    opacity: 0.95;
    max-width: 600px;
    margin-bottom: 32px;
    font-weight: 700;
    text-shadow: 1px 1px 0 #000, -1px 1px 0 #000, 1px -1px 0 #000, -1px -1px 0 #000, 0 2px 10px rgba(106, 19, 211, 0.5);
}

.hero-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.btn-solid-dark {
    padding: 18px 36px;
    background: var(--tech-purple);
    color: var(--text-white);
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: 0.3s ease;
    box-shadow: 0 10px 20px rgba(106, 19, 211, 0.3);
    border: 1px solid var(--tech-purple);
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.btn-solid-dark i {
    width: 20px;
    height: 20px;
}

.btn-solid-dark:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(106, 19, 211, 0.6);
    background: #8A2BE2;
}

.btn-glass {
    padding: 18px 36px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--tech-purple);
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    color: var(--text-white);
    transition: 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.btn-glass:hover {
    background: rgba(106, 19, 211, 0.15);
    border-color: #8A2BE2;
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(106, 19, 211, 0.4);
}

.btn-glass i {
    width: 20px;
    height: 20px;
    transition: transform 0.3s;
}

.btn-glass:hover i {
    transform: translateX(4px);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: flex-end;
    width: 100%;
    max-width: 500px;
    margin-left: auto;
    -webkit-mask-image: linear-gradient(to top, transparent 0%, black 20%);
    mask-image: linear-gradient(to top, transparent 0%, black 20%);
}

.hero-base-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 1;
}

.hero-matrix-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    mix-blend-mode: screen;
    pointer-events: none;
}

.hero-matrix-canvas {
    width: 100%;
    height: 100%;
    display: block;
    opacity: 0.98;
}

/* --- MARQUEE INFINITO --- */
.marquee-section {
    padding: 30px 0;
    background: rgba(7, 1, 16, 0.8);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(106, 19, 211, 0.3);
    border-bottom: 1px solid rgba(106, 19, 211, 0.3);
    overflow: hidden;
    display: flex;
}

.marquee-content {
    display: flex;
    white-space: nowrap;
    animation: marquee 20s linear infinite;
}

.marquee-content img {
    height: 45px;
    width: auto;
    object-fit: contain;
    margin: 0 45px;
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.marquee-content img:hover {
    opacity: 1;
    transform: scale(1.1);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* --- SOBRE MIM --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-glow {
    position: absolute;
    width: 90%;
    height: 90%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(217, 70, 239, 0.4) 0%, rgba(106, 19, 211, 0.4) 50%, rgba(0, 0, 0, 0) 70%);
    box-shadow: 0 0 100px rgba(106, 19, 211, 0.6), 0 0 50px rgba(217, 70, 239, 0.5);
    z-index: 0;
}

.about-profile-img {
    position: relative;
    width: 90%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 50%;
    z-index: 1;
    border: 3px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
}

.about-badge {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    border-radius: 12px;
}

.about-badge.top-left {
    top: 25%;
    left: -25%;
}

.about-badge.bottom-right {
    bottom: 25%;
    right: -10%;
}

.about-badge-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-badge-icon i {
    width: 20px;
    height: 20px;
}

.about-badge-text {
    font-size: 0.65rem;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.7);
}

.about-badge-text strong {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: #FFF;
    display: block;
    margin-bottom: 2px;
}

.section-badge-line {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--tech-purple-light);
}

.about-text h2.gradient-heading {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    line-height: 1.15;
    margin-bottom: 30px;
    letter-spacing: -1px;
    text-transform: none;
}

.about-text h2.gradient-heading span {
    background: linear-gradient(90deg, #9333ea, #6366f1);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-text p {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
}

.about-text p strong {
    color: #FFF;
    font-weight: 600;
}

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 40px;
}

.about-tag {
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.3s ease;
}

.about-tag:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #FFF;
}

/* --- SOLUÇÕES / SERVIÇOS --- */
.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-header h2 {
    font-size: clamp(3rem, 6vw, 5rem);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    padding: 40px 30px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(106, 19, 211, 0.2);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    font-family: 'Anton';
    color: var(--text-white);
    opacity: 0.9;
    text-shadow: 0 0 15px var(--tech-purple);
}

.service-card h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.85;
    margin-bottom: 30px;
    flex-grow: 1;
}

.service-list li {
    font-size: 0.85rem;
    font-weight: 500;
    padding: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-list li i {
    color: var(--tech-purple-light);
    width: 16px;
}

/* --- SEÇÃO: ENGENHARIA DE SITES --- */
.eng-section {
    padding: 100px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dark-panel {
    padding: 60px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.eng-badge {
    color: var(--tech-purple-light);
    background: rgba(106, 19, 211, 0.15);
    border: 1px solid rgba(106, 19, 211, 0.4);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
    display: inline-block;
}

.eng-title {
    font-family: 'Anton', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 30px;
    color: var(--text-white);
}

.eng-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    font-weight: 300;
}

.eng-metrics {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    align-items: center;
}

.eng-metric-item {
    display: flex;
    flex-direction: column;
}

.eng-metric-value {
    font-family: 'Anton', sans-serif;
    font-size: 2.2rem;
    color: var(--text-white);
    margin-bottom: 5px;
    text-shadow: 0 0 10px rgba(106, 19, 211, 0.6);
}

.eng-metric-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.eng-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

.eng-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 1/1;
    padding: 10px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(106, 19, 211, 0.2);
}

.eng-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    opacity: 0.8;
    mix-blend-mode: luminosity;
}

.ai-badge {
    position: absolute;
    bottom: 25px;
    left: 25px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    padding: 10px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-white);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

/* --- PORTFÓLIO --- */
.portfolio-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 25px;
    /* Espaço para o scrollbar elegante e sombra */
    -webkit-overflow-scrolling: touch;

    /* Scrollbar minimalista Firefox */
    scrollbar-width: thin;
    scrollbar-color: var(--tech-purple) rgba(255, 255, 255, 0.05);
}

/* Scrollbar Minimalista Mac/Webkit */
.portfolio-grid::-webkit-scrollbar {
    height: 6px;
}

.portfolio-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.portfolio-grid::-webkit-scrollbar-thumb {
    background: var(--tech-purple);
    border-radius: 10px;
}

.portfolio-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);

    /* Regras do Carrossel */
    flex: 0 0 85%;
    /* No mobile mostra o card inteiro + começo do próximo */
    max-width: 600px;
    /* Travar o crescimento excessivo */
    scroll-snap-align: center;
}

@media (min-width: 768px) {
    .portfolio-card {
        flex: 0 0 45%;
        /* Na versão desktop encadeia vários na mesma linha */
    }
}

.portfolio-card img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
    filter: grayscale(40%);
}

.portfolio-card:hover img {
    transform: scale(1.06);
    filter: grayscale(0%);
}

.portfolio-info {
    position: relative;
    padding: 18px 20px;
    text-align: center;
    background: rgba(10, 2, 20, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.3s ease;
}

.portfolio-card:hover .portfolio-info {
    background: rgba(106, 19, 211, 0.2);
}

.portfolio-info h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    line-height: 1;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
}

.portfolio-info span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--tech-purple-light);
    font-weight: 800;
}

/* --- LIGHTBOX (ZOOM) --- */
.cursor-zoom {
    cursor: zoom-in;
}

.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(106, 19, 211, 0.1);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    object-fit: contain;
}

.lightbox-overlay.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close-btn {
    position: absolute;
    top: 25px;
    right: 35px;
    background: transparent;
    border: none;
    color: var(--text-white);
    font-size: 3.5rem;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.3s ease, color 0.3s ease;
    z-index: 10000;
}

.lightbox-close-btn:hover {
    color: var(--tech-purple-light);
    transform: rotate(90deg);
}

/* --- CONTATO --- */
.contact-container {
    display: flex;
    justify-content: center;
}

.contact-box-dark {
    padding: 60px 50px;
    width: 100%;
    max-width: 600px;
    text-align: center;
}

.contact-box-dark h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 2.2rem;
    margin-bottom: 12px;
    text-transform: none;
}

.contact-box-dark p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
}

.contact-links-vertical {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    color: var(--text-white);
    font-size: 1rem;
    font-weight: 600;
    transition: 0.3s;
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(106, 19, 211, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(106, 19, 211, 0.2);
}

.social-btn-primary {
    background: #059669;
    border-color: #059669;
}

.social-btn-primary:hover {
    background: #047857;
    border-color: #047857;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(5, 150, 105, 0.4);
}

.icon-linkedin {
    color: #8b5cf6;
}

.icon-mail {
    color: #a855f7;
}

.icon-whatsapp {
    color: #10b981;
}

.icon-instagram {
    color: #ec4899;
}

.contact-status {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 35px;
    padding-top: 35px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.status-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.5);
}

.status-item i {
    width: 16px;
    height: 16px;
    color: #10b981;
}

/* --- RODAPÉ --- */
.site-footer {
    background: rgba(7, 1, 16, 0.95);
    padding: 50px 0 30px 0;
    text-align: center;
    border-top: 1px solid rgba(106, 19, 211, 0.2);
}

.footer-logo {
    font-size: 2rem;
    color: var(--text-white);
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(106, 19, 211, 0.5);
}

.site-footer p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}

.footer-legal-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-legal-links a:hover {
    color: #fff;
    text-decoration: underline;
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 992px) {

    .hero-grid,
    .about-grid,
    .dark-panel {
        grid-template-columns: 1fr;
    }

    .about-badge {
        position: relative;
        left: 0 !important;
        right: 0 !important;
        top: 0 !important;
        bottom: 0 !important;
    }

    .about-image-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .hero-text {
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-image {
        justify-content: center;
        margin-top: 40px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .dark-panel {
        padding: 40px 20px;
    }

    .eng-metrics {
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }

    .eng-metric-item {
        align-items: center;
    }

    .eng-divider {
        display: none;
    }

    .section-tag {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero {
        padding-top: 160px;
    }

    .portfolio-info {
        padding: 20px;
    }

    .portfolio-info h3 {
        font-size: 1.5rem;
    }

    .contact-box-dark {
        padding: 40px 20px;
    }

    .contact-status {
        flex-wrap: wrap;
        gap: 15px;
        flex-direction: column;
    }
}

/* --- COOKIES (VERSÃO CORRIGIDA E LIMPA) --- */
.cookie-container {
    position: fixed;
    bottom: 30px;
    left: 30px;
    /* Posicionado na esquerda para não cobrir o chat (desktop), mas por cima dele (mobile) */
    z-index: 10005;
    max-width: 360px;
    animation: slideUp 0.5s ease-out;
}

.cookie-content {
    /* Aplicando as variáveis do seu tema Liquid Glass Dark */
    background: var(--glass-dark-bg);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border: var(--glass-dark-border);
    border-top: var(--glass-dark-shine);
    border-left: var(--glass-dark-shine);
    padding: 25px;
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.cookie-text p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 20px;
}

.cookie-text strong {
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
}

.cookie-actions {
    display: flex;
    gap: 12px;
}

.btn-cookie-purple {
    background: var(--tech-purple);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 50px;
    /* Estilo pílula igual aos seus botões do Hero */
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    cursor: pointer;
    flex: 1.2;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(106, 19, 211, 0.3);
}

.btn-cookie-glass {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    cursor: pointer;
    flex: 1;
    transition: 0.3s;
}

.btn-cookie-purple:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(106, 19, 211, 0.5);
    background: #8A2BE2;
}

.btn-cookie-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsividade Mobile */
@media (max-width: 480px) {
    .cookie-container {
        bottom: 20px;
        left: 15px;
        right: 15px;
        max-width: none;
    }

    .cookie-actions {
        flex-direction: column;
    }
}

/* Esconder imagem de perfil em mobile */
@media (max-width: 768px) {
    .about-image-wrapper {
        display: none;
    }
}