@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #fff;
    color: #000;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1000px;
    margin: auto;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    width: 90%;
}

h1 {
    color: #000;
    font-size: 28px;
    margin-bottom: 40px;
    text-align: center;
    line-height: 1.3;
    font-weight: 700;
    text-transform: uppercase;
}

label {
    display: block;
    color: #232426;
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group {
    margin-bottom: 25px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #8d8d8d;
    border-radius: 4px;
    font-size: 15px;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
    background-color: #fff;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

.radio-group {
    display: flex;
    gap: 40px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.radio-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
}

.radio-option input[type="radio"] {
    margin-right: 10px;
    width: 20px;
    height: 20px;
    accent-color: #000;
}

.radio-option span {
    font-size: 16px;
    color: #232426;
}

.image-upload-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.image-upload-section h3 {
    margin-bottom: 20px;
    font-size: 20px;
    color: #000;
}

.image-grid {
    display: contents;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.file-input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.file-input-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background-color: #fff;
    border: 1px dashed #8d8d8d;
    border-radius: 4px;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
    font-size: 14px;
    color: #232426;
    width: 50%;
}

.file-input-label:hover {
    background-color: #f9f9f9;
    border-color: #000;
}

input[type="file"] {
    display: none;
}

.file-name {
    font-size: 12px;
    color: #8d8d8d;
    word-break: break-all;
    min-height: 15px;
}

.input-wrapper {
    position: relative;
}

.inside-toggle {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #232426;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    padding: 8px 12px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    transition: background 0.3s;
}

.inside-toggle:hover {
    background-color: #000;
}

.hidden-field {
    display: none;
}

.error-message {
    color: #d32f2f;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.error-message.show {
    display: block;
}


.submit-btn {
    background-color: #000;
    color: #fff;
    border: none;
    padding: 18px 30px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    margin-top: 30px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.submit-btn:hover {
    background-color: #232426;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.submit-btn:disabled {
    background-color: #8d8d8d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}


.main-header {
    background: #fff;
    color: #000;
    padding: 15px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #eee;
}

.header-container {
    max-width: 100%;
    width: 90%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo-container {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 55px;
    width: auto;
    object-fit: contain;
}

.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: #000;
    border-radius: 2px;
}

.header-right-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.help-section {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 20px;
    background: #f9f9f9;
    border-radius: 10px;
}

.help-text {
    display: flex;
    flex-direction: column;
    border-right: 2px solid #eee;
    padding-right: 15px;
    margin-right: 10px;
}

.help-title {
    font-weight: 700;
    font-size: 14px;
    color: #000;
    white-space: nowrap;
}

.help-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.help-icon-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 6px;
    min-width: 70px;
}

.help-icon-link:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

.help-icon-img {
    width: 25px;
    height: 25px;
    object-fit: contain;
}

.help-icon-text {
    font-size: 12px;
    font-weight: 600;
    color: #000;
    white-space: nowrap;
}

.back-to-store-btn {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.back-to-store-btn:hover {
    background-color: #232426;
    transform: translateY(-2px);
}

.main-footer {
    background: #232426;
    color: #fff;
    padding: 40px 0;
    margin-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-section h3 {
    font-size: 16px;
    margin-bottom: 20px;
    color: #fff;
    text-transform: uppercase;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #8d8d8d;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

.success-container {
    text-align: center;
    padding: 50px 25px;
    height: auto;
    min-height: unset;
}

.success-icon {
    font-size: 64px;
    color: #4caf50;
    margin-bottom: 20px;
}

.success-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.success-message {
    color: #8d8d8d;
    font-size: 18px;
}

input#cpf {
    height: 50px;
    font-size: 15px;
    padding: 14px 16px;
    border: 1px solid #8d8d8d;
    border-radius: 4px;
    width: 100%;
}

input#cnpj {
    width: 100%;
    padding: 14px 16px;
    border-radius: 4px;
    font-size: 15px;
    border: 1px solid #8d8d8d;
}


/* --- RESPONSIVIDADE --- */

@media (max-width: 992px) {
    .help-text {
        display: none;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0px !important;
    }

    .header-right-section {
        width: 100%;
        justify-content: center;
    }

    h1 {
        color: #000;
        font-size: 22px;
        margin-bottom: 40px;
        text-align: center;
        line-height: 1.3;
        font-weight: 700;
        text-transform: uppercase;
    }

    .help-section {
        flex: 1;
        justify-content: center;
        gap: 0px;
        padding: 5px 10px;
    }

    .logo-img {
        height: 50px;
        width: auto;
        object-fit: contain;
    }

    .container {
        padding: 25px 20px;
        margin:  auto;
    }

    .help-icon-img {
        width: 22px;
        height: 22px;
        object-fit: contain;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0 10px;
    }

    .help-section {
        padding: 5px 10px;
    }

    .help-icons {
        gap: 10px;
    }

    .back-to-store-btn {
        padding: 8px 12px;
        font-size: 11px;
    }

    .container {
        width: 100%;
        border-radius: 0;
        box-shadow: none;
        padding: 20px 15px;
    }
}