/* === HOME (Página principal) === */
body {
    font-family: "Inter", Arial, sans-serif;
    color: #1a1a1a;
    background-color: #fff;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

h1,
h2,
h3 {
    font-weight: 700;
    color: #0a1f33;
}

p {
    color: #444;
}

/* === HERO === */
.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.hero-background svg {
    width: 100%;
    height: 100%;
    display: block;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
    padding: 2rem;
}

/* Texto: garanta contraste (ajuste se necessário) */
.hero-content h1 {
    color: #ffffff;
    text-shadow: 0 6px 28px rgba(0, 0, 0, 0.45);
    /* melhora legibilidade */
}

.hero-content p {
    color: rgba(255, 255, 255, 0.92);
    padding: 0px 0px 40px 0px;
}

.btn-primary {
    background: #ffffff;
    color: #003a77;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
}

/* === SERVIÇOS === */
.our-services {
    background: linear-gradient(135deg, #f8fbff 0%, #e9f3ff 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.our-services::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 82, 204, 0.1), transparent 70%);
    z-index: 0;
}

.our-services h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    color: #001f3f;
    position: relative;
    display: inline-block;
}

.our-services h2::after {
    content: "";
    display: block;
    width: 60%;
    height: 3px;
    background: #0052cc;
    margin: 10px auto 0;
    border-radius: 3px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

.service-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2.5rem 1.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 82, 204, 0.15);
    border-color: rgba(0, 82, 204, 0.2);
}

.service-card img {
    width: 70px;
    height: 70px;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 82, 204, 0.2));
}

.service-card h3 {
    font-size: 1.25rem;
    color: #003366;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 90%;
    margin: 0 auto;
}

/* === RESPONSIVO === */
@media (max-width: 768px) {
    .our-services {
        padding: 4rem 1.5rem;
    }

    .our-services h2 {
        font-size: 1.8rem;
    }

    .service-card {
        padding: 2rem 1.25rem;
    }

    .service-card img {
        width: 60px;
        height: 60px;
    }
}

/* === SOBRE A MAVIEN === */
.about-mavien {
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.about-mavien::before {
    /* leve detalhe decorativo no fundo */
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 80%;
    height: 100%;
    background: radial-gradient(circle at top left, rgba(0, 82, 204, 0.05), transparent 70%);
    transform: translateX(-50%);
    z-index: 0;
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #001f3f;
    margin-bottom: 1.5rem;
    position: relative;
}

.about-text h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: #0052cc;
    margin-top: 0.5rem;
    border-radius: 4px;
}

.about-text p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #333;
    max-width: 600px;
}

/* === IMAGEM === */
.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.03);
}

/* === RESPONSIVO === */
@media (max-width: 900px) {
    .about-content {
        flex-direction: column-reverse;
        text-align: center;
        gap: 2rem;
    }

    .about-text h2 {
        font-size: 2rem;
    }

    .about-text p {
        font-size: 1rem;
    }

    .about-image img {
        width: 80%;
    }
}

/* === BLOG SECTION === */
.from-our-blog {
    background: #f8fafc;
    /* fundo neutro suave */
    color: #001f3f;
    text-align: center;
}

.from-our-blog h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    color: #001f3f;
    position: relative;
    display: inline-block;
}

.from-our-blog h2::after {
    content: "";
    display: block;
    width: 60%;
    height: 3px;
    background: #0052cc;
    margin: 10px auto 0;
    border-radius: 3px;
}

/* === BLOG GRID === */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

/* === BLOG CARD === */
.blog-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    text-align: left;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0, 82, 204, 0.12);
}

/* === THUMBNAIL === */
.blog-thumb img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

/* === CARD CONTENT === */
.blog-card h3 {
    font-size: 1.2rem;
    margin: 1.2rem 1.5rem 0.6rem;
    line-height: 1.4;
}

.blog-card h3 a {
    color: #001f3f;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card h3 a:hover {
    color: #0052cc;
}

.blog-card p {
    margin: 0 1.5rem 1.5rem;
    color: #445;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* === RESPONSIVIDADE === */
@media (max-width: 768px) {
    .from-our-blog {
        padding: 80px 1.2rem;
    }

    .from-our-blog h2 {
        font-size: 1.8rem;
    }

    .blog-card h3 {
        font-size: 1.1rem;
    }

    .blog-card p {
        font-size: 0.9rem;
    }
}

/* ============================= */
/* SEÇÃO DE VAGAS DISPONÍVEIS   */
/* ============================= */
.careers {
    padding: 100px 20px;
    background: linear-gradient(135deg, #071a2f, #0d2f5a);
    color: #ffffff;
    position: relative;
    /* necessário para ::before */
    overflow: hidden;
    /* recortar elementos decorativos */
}

/* Elementos decorativos sutis (engrenagens SVG no fundo) */
.careers::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../../svg/gears-bg.svg") center/cover no-repeat;
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
    /* garante que não interfira em cliques */
}

.careers .container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.careers h2 {
    font-size: 2.5rem;
    color: #38bdf8;
    /* Azul ciano vibrante */
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 3rem;
    font-weight: 700;
}

/* GRID DE VAGAS */
.careers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

/* CARD DE VAGA */
.career-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 16px;
    padding: 2rem;
    text-align: left;
    transition: transform 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.career-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.15), rgba(0, 212, 255, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.career-card:hover {
    transform: translateY(-5px);
    border-color: #38bdf8;
}

.career-card:hover::before {
    opacity: 1;
}

.career-card h3,
.career-card p {
    position: relative;
    z-index: 1;
}

.career-card h3 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.career-card p {
    color: #b3c5d7;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* BOTÃO */
.btn-outline {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: 1px solid #38bdf8;
    color: #38bdf8;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.btn-outline:hover {
    background-color: #38bdf8;
    color: #0a192f;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
}

/* RESPONSIVIDADE */
@media (max-width: 768px) {
    .careers h2 {
        font-size: 2rem;
    }

    .career-card {
        padding: 1.5rem;
    }
}