/* ==========================
   VB CONSULTORIA - THEME
   ========================== */

:root {
    --bg-main: #2f3033;
    --bg-alt: #3b3d42;
    --bg-hero: #26272b;
    --bg-header: #1f1f22;
    --bg-card: #34363c;
    --border-soft: rgba(255, 255, 255, 0.08);

    --accent: #0d6e96;       /* azul petróleo principal */
    --accent-soft: #1ca5d8;  /* azul mais claro */
    --text-main: #f4f4f5;
    --text-subtle: #c4c6cc;
}

/* RESET */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    /* ✅ FONTE "INTER" APLICADA */
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

/* CONTAINER */

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* TOPBAR */

/* css/style.css */

/* ... (mantenha o reset e container acima) ... */

/* =========================================
   TOPBAR - BLINDADA (Clone exato do Login)
   ========================================= */

.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(31, 31, 34, 0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08); /* Exatamente igual ao login */
}

.topbar-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0.9rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* Força a altura de linha padrão do login para não esticar */
    line-height: 1.2; 
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    object-fit: cover;
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    /* Garante que o texto fique compacto como no login */
    line-height: 1.2; 
}

.logo-title {
    font-weight: 600;
    font-size: 1rem;
    color: #ffffff; /* Branco puro (Forçado) */
    letter-spacing: 0; /* Remove espaçamento extra se houver */
}

.logo-subtitle {
    font-size: 0.75rem;
    color: #c4c6cc; /* Cor exata do login */

/* =========================================
   TOPBAR - BLINDADA (Clone exato do Login)
   ========================================= */
}

.logo-img {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    object-fit: cover;
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.logo-title {
    font-weight: 600;
    font-size: 1rem;
    color: #ffffff;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: #c4c6cc; /* O cinza exato do sistema de Tickets */
    font-weight: 400; /* Garante que a letra fique fina e nítida */
}

.nav {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
}

.nav a {
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    color: var(--text-subtle);
    transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
}

.nav a:hover {
    background: rgba(255, 255, 255, 0.07);
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-nav {
    border: 1px solid rgba(255, 255, 255, 0.18);
}

/* BOTÕES */

.btn-primary,
.btn-secondary,
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.65rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: transform 0.1s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-soft));
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(12, 93, 130, 0.55);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 40px rgba(12, 93, 130, 0.7);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-secondary:hover {
    background: rgba(0, 0, 0, 0.18);
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: transparent;
    color: var(--text-main);
    padding: 0.45rem 1.1rem;
    font-size: 0.85rem;
}

.btn-outline:hover {
    background: rgba(0, 0, 0, 0.18);
}

.btn-full {
    width: 100%;
}

/* HERO */

.hero {
    padding: 4.5rem 0 3.5rem;
    background: linear-gradient(135deg, var(--bg-hero), var(--bg-main));
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
    gap: 3rem;
    align-items: center;
}

.hero-text h1 {
    font-size: clamp(2rem, 3vw, 2.5rem);
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

.hero-text p {
    color: var(--text-subtle);
    max-width: 36rem;
}

.hero-actions {
    margin: 1.75rem 0 1.1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.hero-tags span {
    font-size: 0.75rem;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: var(--text-subtle);
    background: rgba(0, 0, 0, 0.16);
}

.hero-media img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    border: 1px solid var(--border-soft);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

/* SEÇÕES GENÉRICAS */

.section {
    padding: 3.5rem 0;
    background: var(--bg-main);
}

.section-alt {
    background: var(--bg-alt);
}

.section-title {
    font-size: 1.7rem;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--text-subtle);
    max-width: 40rem;
    margin-bottom: 2rem;
}

.two-col {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr);
    gap: 2.5rem;
    align-items: flex-start;
}

/* CARDS */

.card {
    background: var(--bg-card);
    border-radius: 18px;
    padding: 1.6rem;
    border: 1px solid var(--border-soft);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.55);
}

.card h3 {
    margin-bottom: 1rem;
}

/* LISTA CHECK */

.checklist {
    list-style: none;
    display: grid;
    gap: 0.6rem;
    font-size: 0.95rem;
    color: var(--text-subtle);
}

.checklist li::before {
    content: "•";
    color: var(--accent-soft);
    margin-right: 0.5rem;
    font-size: 1rem;
}

/* SERVIÇOS */

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.service-card {
    background: var(--bg-card);
    border-radius: 18px;
    padding: 1.1rem;
    border: 1px solid var(--border-soft);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.55);
}

.service-card img {
    width: 100%;
    height: auto;
    margin-bottom: 0.5rem;
}

.service-card h3 {
    font-size: 1rem;
}

.service-card p {
    font-size: 0.92rem;
    color: var(--text-subtle);
}

/* PORTFÓLIO */

.portfolio-grid {
    display: grid;
    /* ✅ CORREÇÃO: MANTIDO EM 4 COLUNAS */
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
}

.portfolio-card {
    background: var(--bg-card);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--border-soft);
    display: flex;
    flex-direction: column;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55);
}

.portfolio-card img {
    width: 100%;
    height: 180; /* Altura fixa para todas as imagens do portfólio */
    object-fit: cover; /* Recorta a imagem para cobrir a área sem distorcer, mantendo a proporção */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); /* Pequena linha para separar do texto */
}

.portfolio-body {
    padding: 1.2rem 1.3rem 1.3rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.portfolio-body p {
    font-size: 0.92rem;
    color: var(--text-subtle);
}

/* CLIENTES */

.clients-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1rem;
}

.client-pill {
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    border: 1px solid var(--border-soft);
    font-size: 0.85rem;
    color: var(--text-main);
    background: rgba(0, 0, 0, 0.18);
}

/* CONTATO */

.section-contact {
    background: linear-gradient(135deg, var(--bg-alt), var(--bg-main));
}

.contact-text {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-card form {
    display: grid;
    gap: 0.8rem;
}

label {
    font-size: 0.85rem;
    color: var(--text-main);
}

input,
textarea {
    background: #292a2e;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 0.6rem 0.75rem;
    color: var(--text-main);
    font: inherit;
    outline: none;
}

input:focus,
textarea:focus {
    border-color: var(--accent-soft);
    box-shadow: 0 0 0 1px rgba(28, 165, 216, 0.55);
}

.contact-note {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: var(--text-subtle);
}

/* RODAPÉ */

.footer {
    border-top: 1px solid var(--border-soft);
    background: var(--bg-header);
    padding: 1.5rem 0 2rem;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.8rem;
    color: var(--text-subtle);
}

/* RESPONSIVO */

@media (max-width: 1024px) {
    .hero-grid,
    .two-col {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-media {
        order: -1;
        margin-bottom: 1.5rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .topbar-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .nav {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .hero {
        padding-top: 3.2rem;
    }

    .services-grid,
    .portfolio-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.7rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

/* MENSAGEM DE SUCESSO DO CONTATO */

.contact-success {
    background: #065f46;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 0.85rem;
    margin-bottom: 14px;
    color: #d1fae5;
    border: 1px solid #10b981;
}

/* BOTÃO FLUTUANTE WHATSAPP */

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.4rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.45);
    z-index: 60;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.whatsapp-float:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
    background: #1ebe5d;
}