/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Arial, sans-serif;
}

/* ===== BASE ===== */
body {
    background: #0f172a; /* azul escuro tech */
    color: #e5e7eb;
    line-height: 1.6;
}

/* ===== CONTAINER ===== */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* ===== HEADER ===== */
.header {
    background: linear-gradient(
        90deg,
        #020617,
        #0a3d62,
        #020617
    );
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    font-weight: bold;
    font-size: 1.4rem;
    color: #ffffff;
    white-space: nowrap; /*impede de quebrar linha */
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav a {
    text-decoration: none;
    color: #e5e7eb;
    font-weight: 500;
    transition: 0.3s;
}

.nav a:hover {
    color: #38bdf8;
}

/* ===== HEADER TRANSPARENTE (HOME) ===== */
.header-transparent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    box-shadow: none;
    z-index: 10;
}

.header-transparent .logo,
.header-transparent .nav a {
    color: #ffffff;
}

/* ===== BOTÕES ===== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    background: #007bff;
    color: #ffffff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn:hover {
    background: #0056b3;
}

/* ================================================= */
/* ================= HERO COM VÍDEO ================= */
/* ================================================= */

.hero-video {
    position: relative;
    min-height: 140vh; /* hero estendido */
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-video video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 15, 30, 0.75);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    color: #ffffff;
}

/* ===== HERO TOPO ===== */
.hero-top {
    text-align: center;
    margin-bottom: 100px;
    padding: 0 20px;
}

.hero-top h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.hero-top p {
    font-size: 1.2rem;
    margin-bottom: 25px;
}

/* ===== SERVIÇOS DENTRO DO HERO ===== */
.hero-servicos {
    text-align: center;
}

.hero-servicos h2 {
    font-size: 2.2rem;
    margin-bottom: 50px;
}

/* ===== GRID ===== */
.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

/* ===== CARD BASE ===== */
.servico-item {
    padding: 25px;
    border-radius: 10px;
    transition: 0.3s;
}

.servico-item:hover {
    transform: translateY(-5px);
}

/* ===== CARD GLASS (HOME) ===== */
.servico-item.glass {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    color: #ffffff;
}

.servico-item.glass h3 {
    margin-bottom: 10px;
    color: #38bdf8;
}

.servico-item.glass p {
    color: #e5e7eb;
}

/* ================================================= */
/* ============== PÁGINAS INTERNAS ================= */
/* ================================================= */

.page-content {
    background: #f8fafc;
    color: #111827;
    border-radius: 24px;
    padding: 60px;
    max-width: 1200px;
    margin: 100px auto;
}

.page-content h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
}

/* ===== CARDS INTERNOS ===== */
.page-content .servico-item {
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    color: #111827;
}

.page-content .servico-item h3 {
    color: #007bff;
}

/* ===== SOBRE ===== */
.sobre {
    background: transparent;
}

/* ===== CONTATO ===== */
.contato {
    background: transparent;
}

.contato-form {
    max-width: 600px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contato-form input,
.contato-form textarea,
.contato-form select {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
}

/* ===== FOOTER ===== */
.footer {
    background: #020617;
    color: #ffffff;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

/* ================================================= */
/* ================= RESPONSIVO ===================== */
/* ================================================= */
.logo-full {
    display: inline;
}

.logo-short {
    display: none;
}

@media (max-width: 768px) {
    .logo-full {
        display: none;
    }
    .logo-short{
        display: inline;
        font-size: 1.6rem;
    }
    .hero-video {
        min-height: 160vh;
    }

    .hero-top h1 {
        font-size: 2.2rem;
    }

    .hero-servicos h2 {
        font-size: 1.8rem;
    }

    .page-content {
        padding: 40px 25px;
        margin: 60px auto;
    }
}
