﻿html {
    scroll-behavior: smooth;
    overflow-x: hidden; /* Previne scroll horizontal */
}

body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    padding-top: 120px;
    overflow-x: hidden; /* Previne scroll horizontal */
}

.top-bar {
    background: #102454;
    padding: 12px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.container {
    width: 90%;
    margin: auto;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 96px;
}

.menu {
    display: flex;
    align-items: center;
}

    .menu a {
        color: white;
        margin: 0 15px;
        text-decoration: none;
        font-weight: 500;
        letter-spacing: 0.08em;
    }

        .menu a:hover {
            color: #FFC107;
        }

    .menu .home-link {
        padding: 6px 14px;
        border: 1px solid rgba(255,255,255,0.4);
        border-radius: 6px;
        font-weight: 600;
    }

        .menu .home-link:hover {
            background: rgba(255,255,255,0.12);
            color: #FFC107;
        }

.social {
    display: flex;
}

    .social img {
        height: 36px;
        margin-left: 12px;
    }

.social-icon {
    opacity: 0.85;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

    .social-icon:hover {
        transform: scale(1.1);
        opacity: 1;
    }

/* Menu Hambúrguer */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    background: transparent;
    border: none;
    z-index: 1001;
}

    .menu-toggle span {
        width: 28px;
        height: 3px;
        background: white;
        margin: 4px 0;
        transition: all 0.3s ease;
        border-radius: 2px;
    }

    /* Animação do X */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(9px, 9px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }

.hero {
    position: relative;
    height: calc(100vh - 120px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-actions {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 64px;
}

.hero-btn {
    width: 280px;
    height: 140px;
    background: linear-gradient(135deg, #102454, #0b1d3a);
    border-radius: 16px;
    color: #fff;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .hero-btn::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.15), transparent);
        transform: translateX(-100%);
        transition: transform 0.6s ease;
    }

    .hero-btn:hover::before {
        transform: translateX(100%);
    }

    .hero-btn:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    }

    .hero-btn .title {
        font-size: 26px;
        font-weight: 700;
        letter-spacing: 0.08em;
    }

    .hero-btn .subtitle {
        margin-top: 6px;
        font-size: 14px;
        opacity: 0.85;
    }

    .hero-btn.prestador {
        background: linear-gradient(135deg, #0f2a5a, #081630);
    }

.nav-link {
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: all 0.2s ease;
}

    .nav-link:hover {
        color: #FFC107;
    }

/* RESPONSIVIDADE MOBILE */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    .top-bar {
        padding: 10px 0;
    }

    .header-content {
        padding: 0 20px;
        flex-direction: row !important;
        justify-content: space-between;
        align-items: center;
    }

    .logo {
        order: 1;
    }

        .logo img {
            height: 50px;
        }

    /* Mostra hambúrguer */
    .menu-toggle {
        display: flex;
        order: 2;
    }

    /* Esconde menu desktop */
    .menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: #102454;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 40px;
        transition: left 0.3s ease;
        z-index: 999;
    }

        .menu.active {
            left: 0;
        }

        .menu a {
            margin: 15px 0;
            font-size: 18px;
            width: 80%;
            text-align: center;
            padding: 15px 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .menu .home-link {
            border: 2px solid rgba(255, 255, 255, 0.4);
            border-radius: 8px;
            padding: 15px 0;
            border-bottom: 2px solid rgba(255, 255, 255, 0.4);
        }

    /* Esconde ícones sociais no header mobile */
    .social {
        display: none;
    }

    .hero {
        height: calc(100vh - 70px);
    }

    .hero-actions {
        flex-direction: column;
        gap: 20px;
        padding: 0 20px;
        align-items: center;
    }

    .hero-btn {
        width: 200%;
        height: 150px;
        margin: 0 0;
        border-radius: 20px;
    }

        .hero-btn .title {
            font-size: 18px;
        }

        .hero-btn .subtitle {
            font-size: 12px;
        }
}

@media (max-width: 480px) {
    .logo img {
        height: 45px;
    }

    .hero-btn {
        max-width: 260px;
        height: 110px;
    }

        .hero-btn .title {
            font-size: 16px;
        }
}

/* Cadastro cliente */
.cadastro-container {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
}

.cadastro-header {
    text-align: center;
    border-bottom: 3px solid #102454;
    padding-bottom: 12px;
    margin-bottom: 40px;
}

    .cadastro-header h1 {
        margin: 0 auto;
        font-size: 20px;
        letter-spacing: 0.3em;
        color: #102454;
        font-weight: 600;
    }

.cadastro-logo {
    height: 48px;
}

.cadastro-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-row {
    display: flex;
    gap: 20px;
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 24px;
    }

    .form-group.cep {
        flex: 1;
    }
}

.form-group.endereco {
    flex: 1;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

    .form-group.full {
        width: 100%;
    }

    .form-group label {
        font-size: 12px;
        color: #102454;
        margin-bottom: 6px;
    }

    .form-group input {
        border: none;
        border-bottom: 2px solid #9aa6c3;
        padding: 8px 4px;
        font-size: 14px;
        outline: none;
    }

        .form-group input:focus {
            border-bottom-color: #102454;
        }

.form-actions {
    margin-top: 50px;
}

    .form-actions button {
        width: 100%;
        padding: 16px;
        background: #102454;
        color: #fff;
        border: none;
        border-radius: 8px;
        font-size: 15px;
        font-weight: 600;
        cursor: pointer;
    }

        .form-actions button:hover {
            background: #0b1d3a;
        }

/* Prestador */
/* Grid de checkboxes */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px 20px;
}

    .checkbox-grid label {
        font-size: 13px;
        color: #102454;
        display: flex;
        align-items: center;
        gap: 6px;
    }

@media (max-width: 768px) {
    .checkbox-grid {
        grid-template-columns: 1fr;
    }
}

/* Upload de arquivos */
.file-input {
    border: none;
    padding: 10px 0;
    font-size: 14px;
}

.lista-arquivos {
    margin-top: 15px;
}

.arquivo-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    margin-bottom: 8px;
    background: #f5f5f5;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.arquivo-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.arquivo-preview {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
}

.arquivo-nome {
    font-size: 14px;
    color: #333;
}

.btn-remover {
    background: #dc3545;
    color: white;
    border: none;
    padding: 5px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}

    .btn-remover:hover {
        background: #c82333;
    }

/* SOBRE */
.sobre-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 24px;
}

.sobre-header {
    text-align: center;
    margin-bottom: 60px;
}

    .sobre-header h1 {
        font-size: 20px;
        letter-spacing: 0.35em;
        font-weight: 600;
        color: #102454;
        position: relative;
        display: inline-block;
        padding-bottom: 16px;
    }

        .sobre-header h1::after {
            content: "";
            display: block;
            width: 420px;
            max-width: 90%;
            height: 3px;
            background: #102454;
            margin: 16px auto 0;
        }

.sobre-content {
    font-size: 16px;
    line-height: 1.9;
    color: #1f2937;
}

    .sobre-content p {
        margin-bottom: 24px;
    }

    .sobre-content strong {
        color: #102454;
        font-weight: 600;
    }

/* Correção para mobile - Sobre */
@media (max-width: 768px) {
    .sobre-container {
        padding: 60px 20px;
    }

    .sobre-header h1 {
        font-size: 16px;
        letter-spacing: 0.25em;
    }

        .sobre-header h1::after {
            width: 100%;
        }

    .sobre-content {
        font-size: 15px;
    }
}

/* MISSÃO | VISÃO | VALORES */
.mvv-section {
    margin-top: 0px;
    padding: 60px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e8eef5 100%);
}

.mvv-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}

.mvv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 0px;
}

@media (min-width: 769px) {
    .mvv-grid {
        margin-left: 20%;
        margin-right: 20%;
    }
}

.mvv-card {
    background: #ffffff;
    padding: 36px 28px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(16, 36, 84, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .mvv-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #102454 0%, #1e3a8a 100%);
        transform: scaleX(0);
        transition: transform 0.3s ease;
    }

    .mvv-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 40px rgba(16, 36, 84, 0.15);
    }

        .mvv-card:hover::before {
            transform: scaleX(1);
        }

    .mvv-card h3 {
        font-size: 20px;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: #102454;
        margin-bottom: 24px;
        font-weight: 700;
        position: relative;
        padding-bottom: 16px;
    }

        .mvv-card h3::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 3px;
            background: #102454;
        }

    .mvv-card p {
        font-size: 15px;
        line-height: 1.8;
        color: #374151;
        text-align: justify;
    }

    .mvv-card ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

        .mvv-card ul li {
            padding: 10px 12px 10px 32px;
            position: relative;
            font-size: 15px;
            color: #374151;
            background: #f8fafc;
            border-radius: 8px;
            transition: all 0.2s ease;
        }

            .mvv-card ul li::before {
                content: "✓";
                position: absolute;
                left: 12px;
                top: 50%;
                transform: translateY(-50%);
                color: #102454;
                font-weight: bold;
                font-size: 16px;
            }

            .mvv-card ul li:hover {
                background: #e8eef5;
                transform: translateX(4px);
            }

@media (max-width: 768px) {
    .mvv-container {
        padding: 0 20px;
    }

    .mvv-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-left: 0;
        margin-right: 0;
    }

    .mvv-card ul {
        grid-template-columns: 1fr;
    }

    .mvv-section {
        margin-top: 40px;
        padding: 40px 0;
    }
}

/* SERVIÇOS */
.servicos-container {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 40px;
}

.servicos-header {
    text-align: center;
    margin-bottom: 60px;
}

    .servicos-header h1 {
        font-size: 20px;
        letter-spacing: 0.35em;
        font-weight: 600;
        color: #102454;
        position: relative;
        display: inline-block;
        padding-bottom: 16px;
    }

        .servicos-header h1::after {
            content: "";
            display: block;
            width: 280px;
            max-width: 90%;
            height: 3px;
            background: #102454;
            margin: 16px auto 0;
        }

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
    margin-bottom: 40px;
}

.servico-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 32px;
    box-shadow: 0 4px 20px rgba(16, 36, 84, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
}

    .servico-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 5px;
        background: linear-gradient(90deg, #102454 0%, #1e3a8a 100%);
    }

    .servico-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 40px rgba(16, 36, 84, 0.15);
    }

    .servico-card h2 {
        font-size: 17px;
        letter-spacing: 0.15em;
        text-transform: uppercase;
        color: #102454;
        margin-bottom: 28px;
        font-weight: 700;
        position: relative;
        padding-bottom: 16px;
    }

        .servico-card h2::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            width: 60px;
            height: 3px;
            background: #102454;
        }

    .servico-card ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .servico-card ul li {
            padding: 12px 12px 12px 36px;
            margin-bottom: 10px;
            position: relative;
            font-size: 15px;
            line-height: 1.6;
            color: #374151;
            background: #f8fafc;
            border-radius: 8px;
            transition: all 0.2s ease;
        }

            .servico-card ul li::before {
                content: "✓";
                position: absolute;
                left: 12px;
                top: 50%;
                transform: translateY(-50%);
                color: #102454;
                font-weight: bold;
                font-size: 17px;
            }

            .servico-card ul li:hover {
                background: #e8eef5;
                transform: translateX(4px);
            }

    .servico-card:last-child {
        grid-column: span 1;
    }

@media (max-width: 1024px) {
    .servicos-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .servicos-container {
        padding: 0 20px;
        margin: 60px auto;
    }

    .servicos-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .servico-card {
        padding: 32px 24px;
    }

    .servicos-header h1 {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .servico-card h2 {
        font-size: 15px;
    }

    .servico-card ul li {
        font-size: 14px;
    }
}

/* CONTATO */
.contato-container {
    max-width: 900px;
    margin: 80px auto;
    padding: 0 40px;
}

.contato-header {
    text-align: center;
    margin-bottom: 50px;
}

    .contato-header h1 {
        font-size: 20px;
        letter-spacing: 0.35em;
        font-weight: 600;
        color: #102454;
        position: relative;
        display: inline-block;
        padding-bottom: 16px;
    }

        .contato-header h1::after {
            content: "";
            display: block;
            width: 280px;
            max-width: 90%;
            height: 3px;
            background: #102454;
            margin: 16px auto 0;
        }

.contato-content {
    text-align: center;
}

.contato-texto {
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 50px;
    color: #374151;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

    .contato-texto strong {
        color: #102454;
        font-weight: 600;
    }

.contato-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin-bottom: 50px;
}

.contato-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 4px 20px rgba(16, 36, 84, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
}

    .contato-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #102454 0%, #1e3a8a 100%);
        transform: scaleX(0);
        transition: transform 0.3s ease;
    }

    .contato-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 40px rgba(16, 36, 84, 0.15);
    }

        .contato-card:hover::before {
            transform: scaleX(1);
        }

.contato-label {
    display: block;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 12px;
    font-weight: 600;
}

.contato-link {
    font-size: 19px;
    color: #102454;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s ease;
    display: inline-block;
    word-break: break-word; /* Quebra palavras longas */
}

    .contato-link:hover {
        color: #1e3a8a;
        text-decoration: none;
    }

.contato-actions {
    margin-top: 40px;
}

.contato-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 42px;
    background: linear-gradient(135deg, #25d366 0%, #20ba5a 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.08em;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    position: relative;
    overflow: hidden;
}

    .contato-whatsapp::before {
        content: "";
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        transition: left 0.5s ease;
    }

    .contato-whatsapp:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    }

        .contato-whatsapp:hover::before {
            left: 100%;
        }

    .contato-whatsapp:active {
        transform: translateY(-2px);
    }

    .contato-whatsapp::after {
        content: "→";
        font-size: 20px;
        transition: transform 0.3s ease;
    }

    .contato-whatsapp:hover::after {
        transform: translateX(4px);
    }

@media (max-width: 768px) {
    .contato-container {
        padding: 0 20px;
        margin: 60px auto;
    }

    .contato-header h1 {
        font-size: 18px;
        letter-spacing: 0.2em;
    }

    .contato-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contato-card {
        padding: 28px 24px;
    }

    .contato-link {
        font-size: 16px;
    }

    .contato-whatsapp {
        width: calc(100% - 40px);
        max-width: 300px;
        padding: 16px 24px;
        font-size: 14px;
        letter-spacing: 0.05em;
    }
}

@media (max-width: 480px) {
    .contato-whatsapp {
        width: calc(100% - 20px);
        font-size: 13px;
    }
}

/* FOOTER */
.footer {
    background: linear-gradient(135deg, #0b1d3a 0%, #102454 100%);
    color: #ffffff;
    padding: 60px 40px 35px;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

    .footer::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #FFC107 0%, #ff9800 100%);
    }

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 60px;
    align-items: center;
}

.footer-brand {
    text-align: left;
}

.footer-title {
    display: block;
    font-size: 24px;
    letter-spacing: 0.25em;
    font-weight: 800;
    color: #FFC107;
    margin-bottom: 8px;
}

.footer-subtitle {
    display: block;
    font-size: 14px;
    opacity: 0.85;
    letter-spacing: 0.05em;
}

.footer-contact {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .footer-contact a {
        color: #ffffff;
        text-decoration: none;
        font-size: 15px;
        transition: all 0.2s ease;
        display: inline-block;
    }

        .footer-contact a:hover {
            color: #FFC107;
        }

.footer-social {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 14px;
}

    .footer-social a {
        width: 42px;
        height: 42px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.08);
        border-radius: 50%;
        transition: all 0.3s ease;
    }

        .footer-social a:hover {
            background: rgba(255, 193, 7, 0.2);
            transform: translateY(-3px);
        }

    .footer-social img {
        height: 24px;
        opacity: 0.85;
        transition: all 0.3s ease;
    }

    .footer-social a:hover img {
        opacity: 1;
        transform: scale(1.1);
    }

.footer-copy {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 13px;
    opacity: 0.6;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .footer {
        padding: 50px 20px 30px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: center;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-title {
        font-size: 22px;
    }

    .footer-copy {
        margin-top: 30px;
        padding-top: 25px;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 40px 20px 25px;
    }

    .footer-title {
        font-size: 20px;
        letter-spacing: 0.2em;
    }

    .footer-contact a {
        font-size: 14px;
        word-break: break-word;
    }

    .footer-social a {
        width: 38px;
        height: 38px;
    }

    .footer-social img {
        height: 20px;
    }
}

/* CEP Prestador */
/* Spinner do CEP */
.cep-spinner {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-group.cep {
    flex: 1;
}

.form-group.endereco {
    flex: 10;
}
