:root {
    --primary-yellow: #FDB913;
    --dark-gray: #2C2C2C;
    --light-gray: #F8F9FA;
    --white: #FFFFFF;
    --border-color: #E0E0E0;
    --success: #10B981;
    --error: #EF4444;
    --text-dark: #1A1A1A;
    --text-light: #666666;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: #f0f2f5;
    background-image:
        radial-gradient(at 0% 0%, rgba(253, 185, 19, 0.03) 0, transparent 50%),
        radial-gradient(at 50% 0%, rgba(253, 185, 19, 0.05) 0, transparent 50%),
        radial-gradient(at 100% 0%, rgba(253, 185, 19, 0.03) 0, transparent 50%);
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
}

/* --- CABEÇALHO (Header) --- */
.site-header {
    background: var(--white);
    padding: 15px 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.site-logo {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.site-logo:hover {
    transform: scale(1.05);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 24px;
}

.main-nav li {
    position: relative;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-yellow);
    transition: width 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-yellow);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

/* Dropdown */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 240px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 12px 12px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1100;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    border-bottom: 1px solid #f5f5f5;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 400;
    color: #444;
}

.dropdown-menu a:hover {
    background: #f9f9f9;
    color: var(--primary-yellow);
}

.dropdown-menu a::after {
    display: none;
}

.top-socials {
    display: flex;
    gap: 20px;
}

.top-socials a {
    color: var(--text-dark);
    font-size: 18px;
    transition: all 0.3s ease;
}

.top-socials a:hover {
    color: var(--primary-yellow);
    transform: translateY(-2px);
}

/* --- FORMULÁRIO (Modern Design) --- */
.page-content {
    padding: 80px 20px;
}

.form-wrapper {
    background: var(--white);
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.03);
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header-section {
    background: #1a1a1a;
    padding: 80px 60px;
    position: relative;
    text-align: center;
}

.accent-bar {
    width: 60px;
    height: 4px;
    background: var(--primary-yellow);
    border-radius: 2px;
    margin: 0 auto 24px;
}

.main-title {
    font-family: 'Sora', sans-serif;
    font-size: 44px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -2px;
    line-height: 1.1;
}

.subtitle {
    font-size: 17px;
    color: #999;
    max-width: 600px;
    margin: 16px auto 0;
}

form {
    padding: 60px;
}

.section-divider {
    margin: 60px 0 40px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.step-badge {
    width: 44px;
    height: 44px;
    background: #1a1a1a;
    color: var(--primary-yellow);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.divider-text {
    font-size: 18px;
    font-weight: 800;
    color: #1a1a1a;
    display: block;
}

.section-desc {
    font-size: 14px;
    color: #888;
    margin-top: 2px;
}

.form-group {
    margin-bottom: 30px;
}

.form-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
    margin-bottom: 10px;
    display: block;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

input,
textarea,
select {
    width: 100%;
    background: #fcfcfc;
    border: 2px solid #f0f0f0;
    border-radius: 14px;
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 500;
    font-family: inherit;
    transition: all 0.3s ease;
    outline: none;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--primary-yellow);
    background: #fff;
    box-shadow: 0 8px 20px rgba(253, 185, 19, 0.1);
}

.other-input {
    margin-top: 15px;
    border-style: dashed !important;
}

/* Custom Checkbox */
.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.checkbox-label {
    background: #fcfcfc;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.checkbox-label:hover {
    border-color: var(--primary-yellow);
    transform: translateX(4px);
}

.checkbox-label input {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 6px;
    margin-right: 12px;
    position: relative;
    background: #fff;
}

.checkbox-label input:checked+.checkbox-custom {
    background: var(--primary-yellow);
    border-color: var(--primary-yellow);
}

.checkbox-label input:checked+.checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #1a1a1a;
    font-weight: 900;
}

/* File Upload */
.file-upload-wrapper {
    position: relative;
    width: 100%;
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.file-upload-label {
    background: #f8f9fa;
    border: 2px dashed #ddd;
    border-radius: 20px;
    padding: 50px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.file-upload-label:hover {
    border-color: var(--primary-yellow);
    background: #fff;
}

.upload-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-yellow);
    padding: 10px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.submit-btn {
    width: 100%;
    background: #111;
    color: #fff;
    padding: 22px 30px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 30px;
}

.submit-btn .btn-text {
    text-align: left;
    line-height: 1.2;
}

.submit-btn:hover {
    background: #000;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.btn-icon {
    width: 24px;
    height: 24px;
    stroke-width: 3;
    transition: transform 0.3s ease;
}

.submit-btn:hover .btn-icon {
    transform: translateX(5px);
}

/* File list below upload area */
.file-list {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.file-item {
    background: #fff;
    border: 1px solid #eee;
    padding: 10px 15px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

/* --- MENSAGENS SUSPENSAS --- */
.message {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 380px;
    z-index: 2000;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid #eee;
}

.success-message {
    border-left: 5px solid var(--success);
}

.error-message {
    border-left: 5px solid var(--error);
}

.message-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* --- RODAPÉ (Footer) --- */
.site-footer {
    background: #2c2c2c;
    color: #ffffff;
    padding: 0;
    font-family: 'Outfit', sans-serif;
}

.footer-toggle-handle {
    background: #1a1a1a;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    border-bottom: 1px solid #333;
}

.toggle-text {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-expandable-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s ease;
}

.site-footer.is-expanded .footer-expandable-content {
    max-height: 1200px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 25px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 40px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-title {
    margin-bottom: 25px;
    font-size: 18px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--primary-yellow);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #eee;
}

.footer-contact i {
    color: var(--primary-yellow);
    font-size: 16px;
    margin-top: 3px;
}

.footer-social-box {
    margin-top: 25px;
}

.social-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    color: #fff;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-socials a:hover {
    background: var(--primary-yellow);
    color: #1a1a1a;
    transform: translateY(-3px);
}

.footer-socials i {
    font-size: 18px;
}

.footer-bottom {
    background: #1a1a1a;
    padding: 35px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    text-align: center;
}

.footer-bottom p {
    color: #777;
    font-size: 13px;
    margin: 0;
    line-height: 1.5;
}

.footer-bottom .highlight {
    color: var(--primary-yellow);
    text-decoration: none;
    font-weight: 600;
}

.footer-bottom .highlight:hover {
    text-decoration: underline;
}

.back-to-top {
    position: absolute;
    right: 25px;
    background: var(--primary-yellow);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #1a1a1a;
    font-size: 16px;
    transition: all 0.3s ease;
}

.back-to-top:hover {
    background: #fff;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-dark);
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -320px;
    width: 320px;
    height: 100%;
    background: var(--white);
    z-index: 2000;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}

.mobile-sidebar.is-active {
    left: 0;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.sidebar-header {
    padding: 30px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f0f0f0;
}

.sidebar-logo {
    height: 45px;
}

.sidebar-close {
    background: #f5f5f5;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #666;
    cursor: pointer;
}

.sidebar-nav {
    flex-grow: 1;
    padding: 20px 0;
    overflow-y: auto;
}

.sidebar-nav ul {
    list-style: none;
}

.sidebar-nav a {
    display: block;
    padding: 15px 25px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 15px;
    border-bottom: 1px solid #f9f9f9;
    transition: all 0.2s ease;
}

.sidebar-nav a:hover {
    background: #fff9ea;
    color: var(--primary-yellow);
    padding-left: 35px;
}

.sidebar-footer {
    padding: 30px 25px;
    border-top: 1px solid #f0f0f0;
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 992px) {
    .header-main-container {
        padding: 15px 20px;
    }

    .main-nav,
    .header-actions {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .header-section {
        padding: 60px 30px;
    }

    .main-title {
        font-size: 32px;
    }

    form {
        padding: 30px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    /* Melhoras no Rodapé Mobile */
    .site-footer.is-expanded .footer-expandable-content {
        max-height: 2000px;
        /* Mais espaço para o empilhamento mobile */
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: left;
        gap: 30px;
    }

    .footer-col {
        padding-bottom: 25px;
        margin-bottom: 5px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .footer-col:last-child {
        border-bottom: none;
    }

    .footer-logo {
        height: 40px;
        margin-bottom: 15px;
    }

    .footer-description {
        font-size: 13.5px;
        line-height: 1.6;
        color: #bbb;
    }

    .footer-title {
        margin-bottom: 20px;
        font-size: 15px;
        color: var(--primary-yellow);
        text-transform: uppercase;
        letter-spacing: 1.5px;
        font-weight: 700;
    }

    .footer-contact li {
        margin-bottom: 15px;
        font-size: 13.5px;
    }

    .footer-bottom-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 0 20px;
    }

    .back-to-top {
        position: static;
        margin-top: 10px;
    }

    .message {
        width: calc(100% - 40px);
        left: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 28px;
    }
}