/* --- CONFIGURAÇÕES GERAIS --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    background-color: #fcfcfd;
    color: #333;
}

a {
    text-decoration: none;
}

/* --- VARIÁVEIS DE CORES --- */
:root {
    --purple-dark: #1a1459;
    --purple-light: #3c357a;
    --green-success: #27ae60;
    --gray-text: #666;
    --gray-light: #f4f4f8;
    --border-color: #eaeaea;
    --bg-card: #ffffff;
    
    /* Cores das Badges */
    --badge-green-bg: #e8f5e9;
    --badge-green-text: #2e7d32;
    --badge-orange-bg: #fff3e0;
    --badge-orange-text: #ef6c00;
    --badge-purple-bg: #f3e5f5;
    --badge-purple-text: #6a1b9a;
    --badge-red-bg: #ffebee;
    --badge-red-text: #c62828;
    --pdf-red: #d32f2f;
    --warning-bg: #fff8e1;
    --warning-text: #f57f17;
}

/* --- NAVBAR --- */
.navbar {
    background-color: var(--purple-light);;
}

.nav-item a {
    color: #dfdeef;
    font-size: 12px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-item a.active {
    color: white;
    border-bottom: 2px solid #ffaa00;
}

.nav-item .btn-top-lock {
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 8px 15px;
    border-radius: 4px;
    background-color: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}
.nav-item .btn-top-lock i {
    margin-right: 5px;
    color: #ffaa00;
}

/* --- HERO SECTION (INTRO) --- */
.hero-suggestions {
    background-color: var(--purple-bg);
    padding: 50px 20px;
    border-bottom: 1px solid var(--border-color);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-text {
    flex: 1.2;
}

.hero-text h1 {
    font-size: 36px;
    color: var(--purple-dark);
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.hero-text h1 i {
    color: var(--purple-light);
    font-size: 32px;
}

.hero-text p {
    font-size: 15px;
    color: var(--gray-text);
    line-height: 1.6;
    margin-bottom: 15px;
}

.hero-text .highlight-text {
    color: var(--purple-light);
    font-weight: 500;
}

.hero-illustration {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-illustration img {
    width: 100%;
    max-width: 400px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* --- CONTAINER PRINCIPAL --- */
.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 80px 20px;
}

.content-split {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

/* --- FORMULÁRIO --- */
.form-section {
    flex: 1.8;
}

.form-section h2 {
    font-size: 24px;
    color: var(--purple-dark);
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    gap: 20px;
    margin-bottom: 20px;
}

.grid-3 {
    grid-template-columns: 2fr 1fr 1fr;
}

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

.span-2 {
    grid-column: span 1; /* Reset for flexibility */
}

.input-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.input-group label {
    font-size: 13px;
    color: #333;
    font-weight: 500;
    margin-bottom: 8px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 15px;
    color: #999;
    font-size: 14px;
}

.input-wrapper input,
.input-wrapper select {
    width: 100%;
    padding: 12px 15px 12px 40px;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    background-color: #fff;
    outline: none;
    transition: border 0.3s;
}

.input-wrapper input:focus,
.input-wrapper select:focus {
    border-color: var(--purple-light);
}

.mobile-only-select {
    display: none; /* Só aparece no mobile para não quebrar os cards */
}

/* --- CARDS DE SELEÇÃO (TIPO DE CONTRIBUIÇÃO) --- */
.type-selector {
    display: flex;
    gap: 10px;
    margin-top: 5px;
}

.type-selector input[type="radio"] {
    display: none;
}

.type-card {
    flex: 1;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    padding: 15px 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    background-color: white;
}

.type-card i {
    font-size: 20px;
    color: #666;
}

.type-card span {
    font-size: 11px;
    font-weight: 500;
    color: #555;
}

/* Estado Ativo do Radio Button */
.type-selector input[type="radio"]:checked + .type-card {
    border-color: var(--purple-light);
    background-color: var(--purple-bg);
}

.type-selector input[type="radio"]:checked + .type-card i,
.type-selector input[type="radio"]:checked + .type-card span {
    color: var(--purple-light);
}

/* --- TEXTAREA --- */
.text-area-wrapper {
    align-items: flex-start;
}

.text-area-wrapper i {
    top: 15px;
}

.text-area-wrapper textarea {
    width: 100%;
    padding: 15px 15px 15px 40px;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    resize: vertical;
    outline: none;
}

.char-count {
    position: absolute;
    bottom: 10px;
    right: 15px;
    font-size: 11px;
    color: #999;
}

/* --- FOOTER DO FORMULÁRIO --- */
.form-footer {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-top: 10px;
}

.btn-submit {
    background-color: var(--purple-light);
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: background 0.3s;
}

.btn-submit:hover {
    background-color: var(--purple-dark);
}

.security-text {
    font-size: 12px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
}


/* --- SIDEBAR (COMO FUNCIONA) --- */
.info-sidebar {
    flex: 1;
    background-color: #fafafc;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
}

.sidebar-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}

.sidebar-header i {
    font-size: 24px;
    color: var(--purple-light);
}

.sidebar-header h3 {
    font-size: 20px;
    color: var(--purple-dark);
}

.steps-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 35px;
}

.steps-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.step-icon {
    color: var(--purple-light);
    font-size: 20px;
    background-color: #edeaf5;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.step-text strong {
    display: block;
    font-size: 14px;
    color: var(--purple-dark);
    margin-bottom: 4px;
}

.step-text p {
    font-size: 13px;
    color: var(--gray-text);
    line-height: 1.5;
}

/* --- CAIXA DE AVISO --- */
.warning-box {
    background-color: var(--warning-bg);
    border-radius: 8px;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.warning-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--warning-text);
}

.warning-header {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--warning-text);
    margin-bottom: 10px;
}

.warning-header i {
    font-size: 18px;
}

.warning-header h4 {
    font-size: 15px;
    font-weight: 700;
}

.warning-box p {
    font-size: 12px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 10px;
}

.warning-box p:last-child {
    margin-bottom: 0;
}

/* --- FOOTER CONDTECH --- */
.footer-banner-container {
    padding: 0 20px 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.footer-banner {
    background: linear-gradient(135deg, #241d4f 0%, #3c357a 100%);
    border-radius: 8px;
    padding: 30px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-icon {
    font-size: 40px;
    color: rgba(255, 255, 255, 0.2);
}

.footer-text .dev-by {
    font-size: 11px;
    color: #aaa5df;
    display: block;
    margin-bottom: 2px;
}

.footer-text h2 {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
}

.footer-text .orange-text {
    color: #f39c12;
}

.footer-text p {
    font-size: 12px;
    color: #ccc8f1;
    margin-top: 2px;
}

.btn-footer {
    border: 1px solid white;
    color: white;
    padding: 12px 25px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: background 0.3s, color 0.3s;
}

.btn-footer:hover {
    background-color: var(--purple-dark);
    color: #ffffff;
    text-decoration: none;
}