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

/* =========================
   BODY
========================= */
body {
    background: #f1f4f8;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* =========================
   HEADER
========================= */
.header {
    background: #0b2c3d;
    width: 100%;
    padding: 16px 0;
}

.header-container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    height: 48px;
}

.empresa-nome {
    color: #fff;
    font-weight: 600;
    font-size: 16px;
}

/* =========================
   MENU
========================= */
.menu {
    display: flex;
    gap: 20px;
}

.menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

.menu a:hover {
    text-decoration: underline;
}

.btn-menu {
    background: #fff;
    color: #0b2c3d !important;
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 600;
}

/* =========================
   MAIN
========================= */
.main {
    flex: 1;
    width: 100%;
    padding: 40px 20px;
}

/* =========================
   HERO
========================= */
.hero {
    max-width: 900px;
    margin: 40px auto;
    text-align: center;
}

.hero h1 {
    font-size: 32px;
    color: #0b2c3d;
    margin-bottom: 15px;
}

.hero p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
}

.btn-primary {
    display: inline-block;
    background: #0f62fe;
    color: #fff;
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
}

/* =========================
   SECTIONS
========================= */
.section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    width: 100%;
}

.section.light {
    background: #fff;
    padding: 60px 20px;
    border-radius: 14px;
}

.section h1,
.section h2 {
    color: #0b2c3d;
    text-align: center;
    margin-bottom: 25px;
}

/* =========================
   CARDS
========================= */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.info-card {
    background: #fff;
    padding: 28px;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.info-card h3 {
    color: #0b2c3d;
    margin-bottom: 10px;
}

.info-card p {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

/* =========================
   CARD (FORM / CONTRATO)
========================= */
.card {
    background: #fff;
    border-radius: 14px;
    padding: 40px;
    max-width: 900px;
    margin: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.card h2 {
    font-size: 28px;
    color: #0b2c3d;
    margin-bottom: 12px;
    text-align: center;
}

.subtitle {
    font-size: 15px;
    color: #555;
    text-align: center;
    margin-bottom: 25px;
}

/* =========================
   FORM
========================= */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    margin-bottom: 6px;
    font-weight: 500;
    color: #0b2c3d;
}

.form-group input {
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 14px;
}

button[type="submit"] {
    padding: 14px;
    border-radius: 8px;
    border: none;
    background: #0f62fe;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

button[type="submit"]:hover {
    opacity: 0.9;
}

/* =========================
   CONTRATO
========================= */
.contrato-card {
    max-width: 900px;
}

.titulo-contrato {
    text-align: center;
    margin-bottom: 25px;
    font-size: 26px;
}

.contrato-texto p {
    margin-bottom: 16px;
    line-height: 1.7;
    font-size: 15px;
}

.lista-servicos {
    margin: 15px 0 20px 20px;
}

.lista-servicos li {
    margin-bottom: 6px;
}

.assinatura {
    margin-top: 30px;
    font-weight: bold;
}

.data-emissao {
    margin-top: 20px;
    font-size: 14px;
    color: #555;
}

.acoes {
    margin-top: 30px;
    text-align: center;
}

.acoes button {
    padding: 12px 28px;
    border-radius: 8px;
    background: #0f62fe;
    color: #fff;
    border: none;
    cursor: pointer;
}

/* =========================
   ERRO
========================= */
.erro {
    color: #b00020;
    text-align: center;
    margin-bottom: 15px;
}

/* =========================
   FOOTER
========================= */
.footer {
    background: #fff;
    text-align: center;
    padding: 16px;
    font-size: 13px;
    color: #777;
    border-top: 1px solid #e1e5ea;
}

.footer a {
    color: #0b2c3d;
    text-decoration: none;
}

/* =========================
   RESPONSIVO
========================= */
@media (max-width: 1024px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 26px;
    }

    .card {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 22px;
    }

    button[type="submit"],
    .acoes button {
        width: 100%;
    }

    .main {
        padding: 20px 10px;
    }
}
/* =========================
   MENU MOBILE / HAMBURGUER
========================= */

/* Botão hamburguer */
.menu-toggle {
    display: none;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
}

/* Menu mobile escondido por padrão */
.menu-mobile {
    display: none;
    flex-direction: column;
    background: #0b2c3d;
    width: 100%;
    padding: 10px 0;
}

.menu-mobile a {
    color: #fff;
    text-decoration: none;
    padding: 14px 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.menu-mobile a:hover {
    background: rgba(255,255,255,0.08);
}

/* =========================
   RESPONSIVO
========================= */

@media (max-width: 768px) {

    /* ESCONDE MENU DESKTOP */
    .menu {
        display: none;
    }

    /* MOSTRA HAMBURGUER */
    .menu-toggle {
        display: block;
    }

    /* Menu mobile ativo */
    .menu-mobile.active {
        display: flex;
    }
}
