* {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
}

body {
    padding-top: 64px;
}

/* CABEÇALHO */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 64px;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    z-index: 1000;
}

.header-container {
    max-width: 1300px;
    height: 100%;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
}

.voltar {
    display: inline-flex;
    align-items: center;
    background: none;
    color: #4b5563;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    padding: 10px 0;
    text-align: left;
    gap: 6px;
}

.voltar:hover {
    color: #f97316;
}

/* CONTEÚDO PRINCIPAL */

.principal {
    background-image: url('../_img/bg-agente.png');
    background-position: top;
    background-size: cover;
    background-repeat: no-repeat;
    max-width: 1300px;
    margin: 0 auto;
    padding-top: 2rem;
    padding-bottom: 4rem;
}

/* LINHA SUPERIOR */

.linha-superior {
    display: flex;
    flex: 1;
}

.superior-esquerdo {
    padding: 1.2rem;
    text-align: center;
    width: 60%;
}

.superior-esquerdo,
.superior-direito {
    margin-top: 36px;
}

.titulo {
    color: #111827;
    font-size: 3.75rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
}

.descricao-titulo {
    color: #374151;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 2rem;
    margin-bottom: 32px;
}

.sub-descricao-titulo {
    color: #4b5563;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.75;
}

.palavra-em-destaque {
    color: #ea580c;
}

/* LINHA CENTRAL */

.linha-central {
    margin-top: 4rem;
    width: 100%;
}

.cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.card {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 0.6rem;
    padding: 1.5rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    gap: 20px;
}

.card-texto {
    display: flex;
    flex-direction: column;
}

.icone {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 0.6rem;
    color: #fff;
}

.card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.card p {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.4;
}

.grad-laranja {
    background: linear-gradient(135deg, #f97316 0%, #d97706 100%);
}

.grad-vermelho {
    background: linear-gradient(135deg, #ef4444 0%, #ea580c 100%);
}

.grad-verde {
    background: linear-gradient(135deg, #22c55e 0%, #059669 100%);
}

/* LINHA INFEROR */

.linha-inferior {
    margin-top: 4rem;
    width: 100%;
}

.card-gigante {
    background: linear-gradient(135deg, #ea580c 0%, #d97706 100%);
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 700;
    text-align: center;
    padding: 2rem;
    max-width: 1100px;
    margin: 0 auto;
    border-radius: 0.6rem;
    color: #fff;
}

/* FORMULÁRIO */
.secao-formulario {
    background: linear-gradient(135deg, #ea580c1a 0%, #eab3081a 100%);
    max-width: 1300px;
    margin: 0 auto;
}

.superior-form,
.inferior-form {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 16px;
    padding-top: 4rem;
}

.inferior-form {
    padding-top: 0;
}

.superior-form h2 {
    color: #111827;
    font-weight: 700;
    font-size: 1.875rem;
    line-height: 2.25rem;
}

.superior-form p {
    color: #4b5563;
}

.superior-form .icone {
    width: 64px;
    height: 64px;
}

.card-form {
    background-color: #fff;
    padding: 3.5rem;
    border-radius: 0.6rem;
    width: 620px;
    margin: 4rem auto;
    box-shadow:
        0 12.5px 25px rgba(0,0,0,0.12),
        0 2px 6px rgba(0,0,0,0.05);
}

.campo-form,
.grupo-select {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 28px;
}

fieldset {
    margin-bottom: 0 !important;
}

.campo-form label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.4rem;
}

.campo-form legend {
    color: #111827;
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 600;
    margin-bottom: 18px;
}

.campo-form input,
.campo-form select {
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    border-radius: 0.6rem;
    border: 1px solid #e5e7eb;
    background-color: #fff;
    color: #111827;
}

.campo-form input::placeholder {
	font-family: "Plus Jakarta Sans", sans-serif;
    color: #9ca3af;
}

.campo-form input:focus,
.campo-form select:focus {
    border: 2px solid #f97316;
    outline: none;
}

select {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 500;
}

.linha-dupla {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.select-limite {
    background-color: #fee2e2 !important;
    border-color: #ef4444 !important;
    color: #b91c1c !important;
    cursor: not-allowed;
}

.btn-enviar {
    margin-top: -1rem;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #f97316 0%, #d97706 100%);
    border: none;
    border-radius: 0.6rem;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
}

.btn-enviar:hover {
    filter: brightness(1.05);
    transition: background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.15s ease,
        box-shadow 0.15s ease;
    transform: scale(1.06);
}

.obs-form {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: #6b7280;
    text-align: center;
}

.campo-vazio {
    border: 2px solid #d97706 !important;
    background-color: #fff4e6 !important;
}

/* TAGS */
.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.tag {
    display: inline-flex;
    align-items: center;
    background: #d97706;
    color: #fff;
    padding: 6px 10px 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    text-transform:initial;
}

.tag span {
    line-height: 1;
}

.tag button {
    all: unset;
    cursor: pointer;
    width: 18px;
    height: 18px;
    margin-left: 8px;
    display: flex;
    justify-content: center;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    transition: background 0.15s ease;
}

.tag button:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* FEITO POR */
.feito-por {
    font-size: 0.8rem;
    margin-top: -20px;
    margin-bottom: 48px;
}

.feito-por a {
    color: #ea580c;
    text-decoration: none;
}

.feito-por a:hover {
    text-decoration: underline;
}

/* RESPONSIVO */
@media (max-width: 1160px) {
    .cards,
    .card-gigante {
        margin: 0 2rem;
    }
}

@media (max-width: 900px) {

    /* LINHA SUPERIOR */
    .linha-superior {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .superior-esquerdo {
        width: 100%;
        padding: 1.5rem 1rem;
    }

    .superior-direito {
        display: none;
    }

    .titulo {
        font-size: 2.6rem;
        line-height: 1.2;
    }

    .descricao-titulo {
        font-size: 1.25rem;
        line-height: 1.6;
    }

    .sub-descricao-titulo {
        font-size: 1.1rem;
    }

    .cards,
    .card-gigante {
        margin: 0;
    }

    /* CARDS */
    .cards {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .card {
        align-items: flex-start;
    }

    /* CARD GIGANTE */
    .card-gigante {
        font-size: 1.25rem;
        line-height: 1.6;
        margin: 0 1rem;
    }

    /* FORMULÁRIO */
    .secao-formulario {
        padding: 0 1rem;
    }

    .superior-form {
        padding-top: 3rem;
        gap: 12px;
    }

    .superior-form h2 {
        font-size: 1.5rem;
        line-height: 2rem;
        text-align: center;
    }

    .superior-form p {
        font-size: 0.95rem;
        text-align: center;
    }

    .superior-form .icone {
        width: 56px;
        height: 56px;
    }

    .card-form {
        width: 100%;
        padding: 2rem 1.5rem;
        margin: 2.5rem auto;
        border-radius: 0.8rem;
    }

    .campo-form,
    .grupo-select {
        margin-bottom: 22px;
    }

    .linha-dupla {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .btn-enviar {
        margin-top: 0;
        padding: 0.9rem;
        font-size: 0.95rem;
    }

    .obs-form {
        font-size: 0.8rem;
    }

    .feito-por {
        margin-top: -8px;
        margin-bottom: 32px;
        text-align: center;
    }
}