:root {
    --bg: #050505;
    --surface: #111111;
    --accent: #3b82f6; /* Azul moderno */
    --accent-secondary: #a30000; /* Vermelho */
    --text-main: #ffffff;
    --text-dim: #a1a1aa;
    --glass: rgba(255, 255, 255, 0.03); 
    --border: rgba(255, 255, 255, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;

    overflow-x: hidden; /* Impede que qualquer coisa crie rolagem horizontal */
    position: relative;
}

@keyframes float {
    0% { transform: translate(0, 0); }
    50% { transform: translate(-30px, 30px); }
    100% { transform: translate(0, 0); }
}

/* Background dinâmico */
/* Trava o fundo e esconde o que sobra */
.bg-overflow-limiter {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
    pointer-events: none; /* Deixa clicar nos botões normalmente */
}

.blob {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: var(--accent);
    filter: blur(120px);
    opacity: 0.15;
    border-radius: 50%;
    animation: float 15s ease-in-out infinite;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 20px;
}

/* Tipografia */
h1 { font-size: 4rem; line-height: 1.1; font-weight: 800; margin-bottom: 20px; letter-spacing: -2px; }
h2 { font-size: 1.5rem; margin-bottom: 30px; color: var(--text-main); text-transform: uppercase; letter-spacing: 2px; }

.gradient {
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hero Section */
.hero {
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.tagline { color: var(--accent); font-weight: 600; text-transform: uppercase; margin-bottom: 10px; }
.hero p { max-width: 600px; color: var(--text-dim); font-size: 1.2rem; }

/* Cards & Layout */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }

.card {
    background: var(--glass);
    border: 1px solid var(--border);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 20px;
    transition: 0.3s;
}

/* .card:hover { border-color: var(--accent); transform: translateY(-5px); } */

.text-accent { color: var(--accent); font-weight: bold; }

.time { font-size: 0.8rem; }

/* Buttons */
.btn {
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin: 10px;
    display: inline-block;
}

.primary { background: var(--accent); color: white; }
.secondary { border: 1px solid var(--border); color: white; }

/* Navbar */
nav {
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0; z-index: 100;
}

.nav-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.nav-links { list-style: none; display: flex; gap: 30px; align-items: center; }
.nav-links a { color: var(--text-dim); text-decoration: none; font-size: 0.9rem; }
.nav-links a:hover { color: var(--accent); }

.language-switcher {
    display: flex;
    gap: 10px;
}

.language-switcher button {
    background: var(--glass);
    border: 1px solid var(--border);
    color: var(--text-main);
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: 0.3s;
}

.language-switcher button:hover {
    border-color: var(--accent);
    background: rgba(59, 130, 246, 0.1);
}

ul {
    display: inline-block; /* Faz a lista ocupar apenas a largura do texto */
    text-align: left;      /* Mantém o texto alinhado com as bolinhas */
    padding-left: 20px;    /* Dá o espaço necessário para o marcador */
}

/* Container do conteúdo dentro do Card */
.project-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.project-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.project-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;   /* Garante que a imagem não distorça */
    flex-shrink: 0;        /* Impede que o ícone "estique" ou diminua se o texto for longo */
}

/* Configuração dos Botões/Links */
.links {
    display: flex;
    flex-wrap: wrap; /* Se tiver muitos botões, eles quebram linha em telas menores */
    gap: 10px;
    margin-top: 10px;
}

.links a {
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    padding: 8px 16px;
    border-radius: 4px;
    transition: 0.3s;
    text-align: center;
}

/* Botão Principal (Destaque) */
.btn-accent {
    color: white;
    background-color: var(--accent-secondary);
}

.btn-accent:hover {
    color: white;
    filter: grayscale(30%);
}

/* Botões Adicionais (Mais discretos) */
.btn-secondary {
    color: black;
    background-color: white;
}

.btn-secondary:hover {
    filter: brightness(80%);
}

.btn-desactivate {
    color: var(--text-dim);
    background-color: transparent;
    border: 1px solid var(--border);
    cursor: not-allowed;
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }

    .grid-2 { grid-template-columns: 1fr; }

    .container {
        padding: 60px 20px; /* Reduz o respiro lateral em telas pequenas */
    }

    ul.nav-links {
        display: none;
    }

    .blob {
        width: 300px;
        height: 300px;
    }
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.servico-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.servico-card:hover {
    transform: translateY(-10px);
}

.servico-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
}

.servico-card h3 {
    margin-bottom: 15px;
    color: gray;
    font-size: 1.4rem;
}

.servico-card p {
    color: var(--text-dim);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Responsividade */
@media (max-width: 768px) {
    .servicos-grid {
        grid-template-columns: 1fr;
    }
}








.contato {
    padding: 80px 5%;
    background-color: var(--glass);
}

.contato-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Blocos de Informação */
.contato-info h3 {
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
    background: white;
    color: black;
    padding: 15px;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.5s;
}

.info-item .icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

/* Formulário */
.contato-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    outline-color: var(--vermelho);
}

.btn-send {
    background-color: var(--accent);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}

/* Responsividade */
@media (max-width: 768px) {
    .contato-grid {
        grid-template-columns: 1fr; /* Empilha no celular */
    }
}

footer {
    background-color: var(--azul-escuro);
    color: var(--branco);
    padding: 60px 5% 20px;
    margin-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto 40px;
}

.footer-about h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.footer-about p {
    color: var(--text-dim);
    line-height: 1.6;
    max-width: 300px;
}

.footer-links h4, .footer-social h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #ccc;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links ul li a:hover {
    color: var(--accent);
}

/* Ícones Sociais */
.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--branco);
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.social-icons a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

/* Faixa Final */
.footer-bottom {
    text-align: center;
    border-top: 1px solid var(--text-dim);
    padding-top: 20px;
    font-size: 0.9rem;
    color: #888;
}

/* Responsivo */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-about p {
        margin: 0 auto;
    }
    .social-icons {
        justify-content: center;
    }
}