/* =========================================================
   QUERO SER REPRESENTANTE — OMG TÊXTIL
========================================================= */

.representante-page {
    width: 100%;
    background: #ffffff;
}


/* =========================================================
   SEÇÃO PRINCIPAL
========================================================= */

.representante-section {
    padding: 145px 0 100px;
    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f7f9fc 100%
        );
}

.representante-container {
    width: 100%;
    max-width: 760px;
}


/* =========================================================
   CABEÇALHO
========================================================= */

.representante-cabecalho {
    margin-bottom: 34px;
}

.representante-tag {
    display: block;
    margin-bottom: 8px;
    color: #7a808a;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.representante-cabecalho h1 {
    margin: 0 0 8px;
    color: #17191e;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.6px;
}

.representante-cabecalho p {
    margin: 0;
    color: #555c68;
    font-size: 14px;
    line-height: 1.5;
}


/* =========================================================
   FORMULÁRIO
========================================================= */

.representante-form {
    display: grid;
    gap: 18px;
}

.representante-field {
    display: grid;
    gap: 8px;
}

.representante-field-full {
    width: 100%;
}

.representante-grid-2 {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.representante-grid-regiao {
    display: grid;
    grid-template-columns:
        minmax(0, 1.6fr)
        minmax(150px, 0.7fr);
    gap: 16px;
}


/* =========================================================
   LABELS
========================================================= */

.representante-field label,
.representante-label {
    color: #40444c;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}

.representante-field label small {
    color: #8a8f98;
    font-size: 11px;
    font-weight: 500;
}


/* =========================================================
   INPUTS
========================================================= */

.representante-field input[type="text"],
.representante-field input[type="email"],
.representante-field input[type="tel"],
.representante-field select,
.representante-field textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #dfe3e9;
    border-radius: 7px;
    background: #ffffff;
    color: #17191e;
    font: inherit;
    outline: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.representante-field input[type="text"],
.representante-field input[type="email"],
.representante-field input[type="tel"],
.representante-field select {
    height: 48px;
    padding: 0 14px;
}

.representante-field textarea {
    min-height: 120px;
    padding: 13px 14px;
    resize: vertical;
}

.representante-field input::placeholder,
.representante-field textarea::placeholder {
    color: #91969f;
}

.representante-field input:focus,
.representante-field select:focus,
.representante-field textarea:focus {
    border-color: #1558be;
    box-shadow:
        0 0 0 3px
        rgba(21, 88, 190, 0.1);
}


/* =========================================================
   DIVISOR
========================================================= */

.representante-divisor {
    width: 100%;
    height: 1px;
    margin: 2px 0;
    background: #e1e4e9;
}

.representante-subtitulo {
    margin-top: 2px;
}

.representante-subtitulo span {
    color: #747a84;
    font-size: 12px;
    font-weight: 600;
}


/* =========================================================
   RADIO
========================================================= */

.representante-radio-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.representante-radio-group-alt {
    min-height: 48px;
}

.representante-radio {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.representante-radio input {
    width: 15px;
    height: 15px;
    margin: 0;
    accent-color: #1558be;
}

.representante-radio span {
    color: #17191e;
    font-size: 13px;
    font-weight: 500;
}


/* =========================================================
   UPLOAD
========================================================= */

.representante-upload {
    display: flex !important;
    min-height: 48px;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    border: 1px dashed #cbd0d8;
    border-radius: 7px;
    background: #ffffff;
    color: #7d838c !important;
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        background 0.2s ease;
}

.representante-upload:hover {
    border-color: #1558be;
    background: #f7faff;
}

.representante-upload-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #7d838c;
}


/* =========================================================
   BOTÃO
========================================================= */

.representante-submit {
    display: flex;
    width: 100%;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    padding: 0 20px;
    border: 0;
    border-radius: 7px;
    background: #111111;
    color: #ffffff;
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.representante-submit:hover {
    background: #1558be;
    transform: translateY(-1px);
}


/* =========================================================
   FEEDBACK
========================================================= */

.representante-feedback {
    min-height: 20px;
    margin: 0;
    color: #1558be;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .representante-section {
        padding: 120px 0 85px;
    }

    .representante-container {
        max-width: 720px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .representante-section {
        padding: 98px 0 70px;
    }

    .representante-container {
        width: 100%;
        max-width: 100%;
        padding-right: 20px;
        padding-left: 20px;
        box-sizing: border-box;
    }

    .representante-cabecalho {
        margin-bottom: 28px;
    }

    .representante-cabecalho h1 {
        font-size: 25px;
    }

    .representante-grid-2,
    .representante-grid-regiao {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .representante-form {
        gap: 17px;
    }

    .representante-radio-group-alt {
        min-height: auto;
    }
}


/* =========================================================
   CELULARES PEQUENOS
========================================================= */

@media (max-width: 430px) {

    .representante-section {
        padding-top: 88px;
        padding-bottom: 60px;
    }

    .representante-container {
        padding-right: 17px;
        padding-left: 17px;
    }

    .representante-cabecalho h1 {
        font-size: 23px;
    }

    .representante-field input[type="text"],
    .representante-field input[type="email"],
    .representante-field input[type="tel"],
    .representante-field select {
        height: 46px;
    }

    .representante-submit {
        min-height: 50px;
    }
}
/* =========================================================
   REPRESENTANTE — REDUZ ESPAÇO APÓS O HEADER
========================================================= */

.representante-page {
    padding-top: 0;
    margin-top: 0;
}

.representante-page > section:first-child {
    margin-top: 0;
    padding-top: 45px;
}

/* Caso o primeiro bloco seja o hero */
.representante-hero {
    margin-top: 0 !important;
    padding-top: 45px !important;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .representante-page > section:first-child,
    .representante-hero {
        padding-top: 32px !important;
    }

}