body {
    color: var(--dark);
    background: var(--off);
}

h1,
h2,
h3 {
    font-family: 'Nunito', sans-serif;
}

a {
    color: var(--blue);
    text-decoration: none;
}

a:hover {
    color: var(--blue-mid);
}

input,
select,
textarea {
    font-family: inherit;
}

input::placeholder,
textarea::placeholder {
    color: var(--gray);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(0, 70, 255, 0.12);
}

select {
    appearance: none;
    -webkit-appearance: none;
}

@keyframes cardIn {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* layout */

.contact-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--off);
}

.contact-header {
    height: 64px;
    background: var(--blue);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    flex: none;
}

.contact-header {
    font-family: 'Nunito', sans-serif;
    font-weight: 900;
    font-size: 26px;
    color: var(--white);
    letter-spacing: -0.5px;
}

.contact-logo {
    height: 26px;
    width: auto;
}

.contact-nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.contact-nav a {
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
}

.contact-nav .contact-nav-cta {
    background: var(--yellow);
    color: var(--dark);
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 14px;
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    transition: transform .15s
}

.contact-nav-cta:hover {
    transform: scale(1.04)
}

.contact-main {
    flex: 1;
    min-width: 0;
    padding: 40px 28px 56px;
}

.contact-container {
    max-width: 820px;
    margin: 0 auto;
}

footer {
    background: var(--yellow);
    padding: 26px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    flex: none;
}

.flogo {
    height: 24px;
    width: auto;
    display: block
}

.flinks {
    display: flex;
    gap: 22px
}

.flinks a {
    font-size: 13px;
    color: var(--dark);
    text-decoration: none;
    opacity: .6
}

.flinks a:hover {
    opacity: 1
}

.fcopy {
    font-size: 12px;
    color: var(--dark);
    opacity: .5
}

@media(max-width:768px) {
    footer {
        justify-content: center;
        text-align: center
    }

    .flinks {
        justify-content: center;
        flex-wrap: wrap;
        gap: 16px
    }
}

/* portal title */

.portal-title {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 4px;
}

.portal-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: var(--blue-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    flex: none;
}

.portal-title h1 {
    margin: 0;
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -0.4px;
}

.portal-sub {
    margin: 0 0 22px 49px;
    color: var(--gray);
    font-size: 14px;
    max-width: 640px;
}

/* tabs */

.tabs {
    display: flex;
    background: var(--blue-pale);
    border-radius: 12px;
    padding: 5px;
    gap: 5px;
    margin-bottom: 24px;
}

.tab {
    flex: 1;
    border: none;
    cursor: pointer;
    padding: 12px 16px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    transition: 0.18s;
    background: transparent;
    color: var(--gray);
}

.tab-active {
    background: var(--blue);
    color: var(--white);
    box-shadow: 0 3px 10px rgba(0, 70, 255, 0.28);
}

.tab-panel {
    animation: cardIn 0.3s ease;
}

/* success card */

.success-card {
    background: var(--white);
    border: 1px solid #e6f4ea;
    border-radius: 16px;
    padding: 34px;
    box-shadow: 0 1px 3px rgba(20, 25, 60, 0.04);
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.success-icon {
    width: 48px;
    height: 48px;
    flex: none;
    border-radius: 999px;
    background: #e7f7ec;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a9d4b;
}

.success-body {
    flex: 1;
}

.success-body h3 {
    margin: 0 0 6px;
    font-size: 19px;
    font-weight: 800;
}

.success-body > p {
    margin: 0 0 18px;
    color: var(--gray);
    font-size: 14.5px;
    line-height: 1.6;
    max-width: 560px;
}

.success-email {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--off);
    border: 1px solid #e6e8f2;
    border-radius: 10px;
    padding: 11px 16px;
}

.success-email span {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
}

.success-actions {
    margin-top: 22px;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    color: var(--blue);
    border: 1.5px solid var(--blue-light);
    border-radius: 999px;
    padding: 12px 22px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

/* form card */

.form-card {
    background: var(--white);
    border: 1px solid #ecedf3;
    border-radius: 16px;
    padding: 30px 32px 34px;
    box-shadow: 0 1px 3px rgba(20, 25, 60, 0.04);
}

.form-head {
    margin-bottom: 26px;
}

.form-head h2 {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 800;
}

.form-head p {
    margin: 0;
    color: var(--gray);
    font-size: 13px;
}

.req-mark {
    color: #e0491f;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 24px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.field-full {
    grid-column: 1 / -1;
}

.field label {
    font-size: 13px;
    font-weight: 700;
    color: var(--dark);
}

.field input,
.field select,
.field textarea {
    width: 100%;
    border: 1px solid #d9dce6;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 14px;
    background: var(--white);
    transition: 0.15s;
}

.field input.field-error,
.field select.field-error,
.field textarea.field-error {
    border-color: #e0491f;
    background: #fffaf9;
    box-shadow: 0 0 0 3px rgba(224, 73, 31, 0.1);
}

.field textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.5;
}

.select-wrap {
    position: relative;
}

.select-wrap select {
    padding-right: 40px;
    cursor: pointer;
    color: var(--dark);
    appearance: none;
    -webkit-appearance: none;
}

.select-caret {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.field-error-msg {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #c0341b;
    font-size: 12.5px;
    font-weight: 600;
}

.form-error {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: #c0341b;
    font-size: 13.5px;
    font-weight: 600;
}

.form-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid #f0f1f6;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: var(--blue);
    color: var(--white);
    border: none;
    border-radius: 999px;
    padding: 14px 30px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0, 70, 255, 0.28);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: wait;
}

/* honeypot anti-spam: invisível para pessoas, preenchido só por bots */
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* dpo panel */

.dpo-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-banner {
    display: flex;
    gap: 13px;
    background: var(--blue-pale);
    border: 1px solid var(--blue-light);
    border-radius: 14px;
    padding: 18px 20px;
}

.info-banner img {
    flex: none;
    margin-top: 1px;
}

.info-banner p {
    margin: 0;
    color: var(--dark);
    font-size: 14px;
    line-height: 1.6;
}

.info-banner a {
    font-weight: 700;
}

.info-card {
    background: var(--white);
    border: 1px solid #ecedf3;
    border-radius: 16px;
    padding: 30px 32px;
    box-shadow: 0 1px 3px rgba(20, 25, 60, 0.04);
}

.info-card-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
}

.info-card-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: var(--blue-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
}

.info-card-head h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px 40px;
}

.info-full {
    grid-column: 1 / -1;
}

.info-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 5px;
}

.info-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
}

.info-link {
    font-size: 15px;
    font-weight: 600;
}
