/* Reset e Variáveis */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0d6efd;
    /* Azul tech principal */
    --secondary-color: #00d4ff;
    /* Ciano para acentos */
    --dark-color: #0b1220;
    /* Fundo escuro */
    --dark-alt: #141a32;
    --light-color: #f5f7fb;
    --text-color: #1b1f3b;
    --gray-color: #6c757d;
    --border-soft: rgba(255, 255, 255, 0.08);
    --transition: all 0.3s ease;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    background: #ffffff;
}

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

/* Header */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(11, 18, 32, 0.96);
    backdrop-filter: blur(14px);
    box-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
}

.navbar {
    padding: 0.9rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    height: 50px;
    overflow: hidden;
}

.logo-img {
    height: 100%;
    max-height: 50px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    object-position: center;
    display: block;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.logo h1 {
    color: white;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.logo span {
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: rgba(239, 242, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.98rem;
    position: relative;
    padding-bottom: 4px;
    transition: var(--transition);
}

.nav-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    transition: var(--transition);
}

.nav-menu a:hover {
    color: #ffffff;
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: radial-gradient(circle at top left, #1b2a4a 0, #050814 45%, #050814 100%);
    color: white;
    padding: 140px 0 110px;
    text-align: left;
}

.hero .container {
    max-width: 1100px;
}

.hero-kicker {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--secondary-color);
    margin-bottom: 0.6rem;
    opacity: 0.9;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    color: rgba(226, 231, 255, 0.85);
    max-width: 650px;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s backwards;
}

/* Buttons */
.btn {
    padding: 12px 30px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    border: 1px solid transparent;
    font-size: 0.98rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #1f87ff);
    color: white;
    box-shadow: 0 12px 30px rgba(13, 110, 253, 0.45);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(13, 110, 253, 0.6);
    filter: brightness(1.03);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--secondary-color);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.25);
}

.btn-secondary:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 212, 255, 0.45);
}

.cta-light .btn-secondary {
    color: var(--primary-color);
}


/* Sections base */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
    color: var(--dark-color);
}

.section-subtitle {
    text-align: center;
    font-size: 1.05rem;
    color: var(--gray-color);
    margin-bottom: 3rem;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

/* Sobre */
.sobre {
    background: #ffffff;
}

.sobre-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2.5rem;
    align-items: flex-start;
}

.sobre-text p {
    margin-bottom: 1rem;
    color: #394057;
}

.sobre-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.sobre-columns h3 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
    color: var(--dark-color);
}

.sobre-valores {
    background: var(--dark-color);
    color: white;
    padding: 1.8rem 1.6rem;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(23, 28, 55, 0.35);
}

.sobre-valores h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.sobre-valores ul {
    list-style: none;
}

.sobre-valores li {
    margin-bottom: 0.4rem;
    position: relative;
    padding-left: 1.2rem;
    font-size: 0.98rem;
}

.sobre-valores li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

/* Serviços */
.servicos {
    background: var(--light-color);
}

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

.servico-card {
    background: white;
    padding: 2rem;
    border-radius: 14px;
    text-align: left;
    transition: var(--transition);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(15, 23, 42, 0.06);
    position: relative;
    overflow: hidden;
}

.servico-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(0, 212, 255, 0.16), transparent 55%);
    opacity: 0;
    transition: var(--transition);
}

.servico-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.16);
    border-color: rgba(13, 110, 253, 0.35);
}

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

.servico-card i {
    font-size: 2.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.servico-card h3 {
    margin-bottom: 0.7rem;
    color: var(--dark-color);
}

.servico-card p {
    margin-bottom: 1rem;
    color: var(--gray-color);
}

.servico-lista {
    list-style: none;
    font-size: 0.95rem;
    color: #3f485f;
}

.servico-lista li {
    margin-bottom: 0.3rem;
}

/* Portfólio */
.portfolio {
    background: #ffffff;
}

.portfolio-grid {
    display: grid;
    gap: 3rem;
}

.portfolio-item {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 2rem;
    align-items: center;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 45px rgba(15, 23, 42, 0.22);
}

.portfolio-image {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #f5f5f5;
    border-radius: 10px;
}

.portfolio-info {
    padding: 2rem;
}

.portfolio-info h4 {
    font-size: 1.6rem;
    margin-bottom: 0.7rem;
    color: var(--dark-color);
}

.portfolio-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.portfolio-tags span {
    background: var(--light-color);
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 500;
}

.portfolio-info p {
    color: var(--gray-color);
}

.portfolio-features {
    list-style: none;
    margin-top: 1.3rem;
}

.portfolio-features li {
    padding: 0.35rem 0;
    color: #4b5268;
    font-size: 0.95rem;
}

.portfolio-features i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* Diferenciais */
.diferenciais {
    background: radial-gradient(circle at top center, #1b2a4a 0, #050814 60%, #050814 100%);
    color: white;
    text-align: center;
}

.diferenciais .section-title {
    color: white;
}

.diferenciais .section-subtitle {
    color: rgba(222, 230, 255, 0.7);
}

.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.diferencial-card {
    text-align: left;
    padding: 1.8rem 1.6rem;
    background: rgba(11, 18, 32, 0.85);
    border-radius: 14px;
    border: 1px solid var(--border-soft);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.4);
}

.diferencial-card i {
    font-size: 2.1rem;
    color: var(--secondary-color);
    margin-bottom: 0.8rem;
}

.diferencial-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

/* CTA Final */
.cta-final {
    background: #ffffff;
    text-align: center;
    padding: 70px 0;
}

.cta-final h2 {
    font-size: 2rem;
    margin-bottom: 0.6rem;
    color: var(--dark-color);
}

.cta-final p {
    margin-bottom: 1.7rem;
    color: var(--gray-color);
}

.cta-final .cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Contato */
.contato {
    background: var(--light-color);
}

.contato-form {
    max-width: 700px;
    margin: 0 auto 3rem;
    background: white;
    padding: 2rem;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
    color: #3f485f;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d5d9e4;
    border-radius: 8px;
    font-size: 0.98rem;
    transition: var(--transition);
    font-family: inherit;
    background: #fbfcff;
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 1px rgba(13, 110, 253, 0.3);
    background: #ffffff;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    cursor: pointer;
    border: none;
}

.contato-info {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 1rem;
    color: #343a4f;
}

.info-item i {
    color: var(--primary-color);
    font-size: 1.3rem;
}

/* Footer */
.footer {
    background: #050814;
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    gap: 2rem;
}

.footer-logo h3 {
    font-size: 1.6rem;
    margin-bottom: 0.2rem;
}

.footer-logo span {
    color: var(--secondary-color);
}

.footer-logo p {
    font-size: 0.95rem;
    color: rgba(209, 213, 245, 0.8);
}

.footer-social {
    display: flex;
    gap: 0.9rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(183, 189, 230, 0.8);
    font-size: 0.9rem;
}

.servico-subtitulo {
    margin-top: 1rem;
    margin-bottom: 0.3rem;
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-color);
}

.servico-lista li strong {
    color: #1f2933;
    /* um pouco mais escuro pra destacar */
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .portfolio-item {
        grid-template-columns: 1fr;
    }

    .portfolio-image {
        min-height: 220px;
        background-position: center;
    }

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

    .sobre-valores {
        order: -1;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 68px;
        flex-direction: column;
        background: #050814;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero {
        text-align: center;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 130px;
    }

    .hero-title {
        font-size: 1.9rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .cta-final .cta-buttons {
        flex-direction: column;
    }
}