/* --- VARIÁVEIS DE CORES CADARI --- */
:root {
    --azul-cadari: rgb(16, 71, 92);
    --dourado-cadari: rgb(188, 169, 133);
    --cinza-fundo: #f1f2f2;
    --bege-alerta: #f2ede4;
    --branco: #ffffff;
    --texto-cor: #444;
}

/* --- CONFIGURAÇÕES GERAIS --- */
body {
    background-color: var(--cinza-fundo);
    background-image: repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(188, 169, 133, 0.05) 20px, rgba(188, 169, 133, 0.05) 21px);
    font-family: 'Univers', Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: var(--texto-cor);
}

/* --- NAVBAR (Topo) --- */
.navbar {
    background-color: var(--azul-cadari);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    flex-wrap: nowrap;
}

.nav-logo {
    max-height: 40px;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    gap: 10px;
    align-items: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: bold;
    padding: 8px 10px;
    border-radius: 4px;
    transition: 0.3s;
    white-space: nowrap;
}

.nav-links a:hover, .nav-links a.active {
    background: rgba(255, 255, 255, 0.15);
}

/* --- PÁGINA INICIAL (Hero Section) --- */
.hero-section {
    max-width: 1000px;
    margin: 60px auto 30px;
    padding: 0 20px;
}

.hero-section h1 {
    color: var(--azul-cadari);
    font-size: 2rem;
    margin-bottom: 20px;
}

.hero-section p {
    line-height: 1.6;
    font-size: 1.1rem;
    margin-bottom: 15px;
    text-align: justify;
}

/* --- NOVOS CARDS DE AÇÃO --- */
.action-container {
    max-width: 1000px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.cards-wrapper {
    display: flex;
    gap: 20px;
    margin-top: 25px;
}

.card-item {
    flex: 1;
    text-decoration: none;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.card-item:hover {
    transform: translateY(-5px);
}

.card-top {
    padding: 30px 20px;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.card-icon {
    font-size: 1.8rem;
    opacity: 0.9;
}

.card-title {
    font-size: 1.2rem;
    font-weight: bold;
}

.card-bottom {
    padding: 20px;
    background: white;
    color: #666;
    font-size: 0.85rem;
    text-align: center;
    line-height: 1.4;
    border-top: 1px solid #eee;
    flex-grow: 1;
}

.btn-denuncia { background-color: var(--azul-cadari); }
.btn-elogio { background-color: var(--dourado-cadari); }
.btn-sugestao { background-color: #e6e1d6; color: var(--azul-cadari); }

/* --- GRID DE ORIENTAÇÕES (GARANTIAS) --- */
.guide-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

.guide-box {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.guide-card {
    display: flex;
    align-items: center;
    padding: 12px;
    border-radius: 10px;
    background-color: #fff;
    border: 1px solid transparent;
}

.border-azul { border-color: var(--azul-cadari); }
.border-dourado { border-color: var(--dourado-cadari); }

.icon-box {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.icon-box img {
    width: 25px;
    height: 25px;
    object-fit: contain;
}

.guide-text {
    font-size: 0.9rem;
    color: var(--texto-cor);
    font-weight: 500;
}

.bg-azul { background-color: var(--azul-cadari); }
.bg-dourado { background-color: var(--dourado-cadari); }

/* --- FORMULÁRIOS --- */
.main-content {
    display: flex;
    justify-content: center;
    padding: 50px 20px;
}

.container {
    background: var(--branco);
    max-width: 650px;
    width: 100%;
    padding: 40px;
    border-top: 8px solid var(--azul-cadari);
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.logo-container { text-align: center; margin-bottom: 30px; }
.logo-container img { max-width: 250px; height: auto; }

h2 {
    color: var(--azul-cadari);
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 30px;
    font-size: 1.4rem;
}

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

label {
    display: block;
    font-weight: bold;
    color: var(--azul-cadari);
    margin-bottom: 8px;
    text-transform: uppercase;
    font-size: 0.85rem;
}

input[type="text"],
input[type="email"],
textarea,
select,
input[type="file"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-family: inherit;
}

::placeholder {
    color: #999;
    font-style: italic;
    font-size: 0.9rem;
}

/* --- ÁREA DE UPLOAD --- */
.upload-area {
    border: 2px dashed var(--azul-cadari);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    background-color: #fcfcfc;
    cursor: pointer;
    transition: 0.3s;
}

.upload-area:hover { background-color: #f1f5f6; }

.upload-label {
    color: var(--azul-cadari);
    font-size: 0.9rem;
    cursor: pointer;
    text-transform: none !important;
}

/* --- SEÇÃO COMO FUNCIONA O PROCESSO --- */
.process-section {
    padding: 60px 20px;
    background-color: #fff;
    text-align: center;
}

.process-container {
    max-width: 1200px;
    margin: 0 auto;
}

.process-main-title {
    color: var(--azul-cadari);
    margin-bottom: 10px;
}

.process-subtitle {
    color: #666;
    margin-bottom: 40px;
}

.steps-wrapper {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 40px;
}

.step-card {
    flex: 1;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.step-header {
    background-color: var(--azul-cadari);
    color: white;
    padding: 20px;
}

.step-number {
    display: inline-block;
    background: white;
    color: var(--azul-cadari);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    font-weight: bold;
    line-height: 25px;
    margin-bottom: 10px;
}

.step-body {
    padding: 20px;
    text-align: left;
    font-size: 0.85rem;
    line-height: 1.5;
}

.step-arrow {
    align-self: center;
    color: var(--dourado-cadari);
    font-size: 1.5rem;
    font-weight: bold;
}

.step-list { list-style: none; padding: 0; margin: 0; }
.step-list li { margin-bottom: 12px; }

.bullet-list { padding-left: 15px; margin: 0; }
.bullet-list li { margin-bottom: 8px; }

.protection-box {
    border: 1px solid var(--dourado-cadari);
    padding: 10px;
    border-radius: 5px;
    margin: 10px 0;
}

.result-box {
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 8px;
    border: 1px solid transparent;
}
.result-box.green { background: #e8f5e9; border-color: #2e7d32; color: #2e7d32; }
.result-box.yellow { background: #fffde7; border-color: #fbc02d; color: #fbc02d; }
.result-box.gray { background: #f5f5f5; border-color: #9e9e9e; color: #9e9e9e; }

.prazo-box {
    max-width: 800px;
    margin: 30px auto 0;
    text-align: center;
}

/* --- FAQ --- */
.faq-category-title {
    color: var(--azul-cadari);
    font-size: 1.2rem;
    margin: 30px 0 15px 0;
    border-bottom: 2px solid #eee;
    padding-bottom: 5px;
    text-align: left;
}

.faq-item {
    background: white;
    border: 1px solid #e1e4e8;
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: 0.3s;
    text-align: left;
}

.faq-item summary {
    padding: 18px 20px;
    list-style: none;
    cursor: pointer;
    font-weight: bold;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item .arrow {
    color: #ccc;
    transition: transform 0.3s;
}

.faq-item[open] { border-color: var(--azul-cadari); }
.faq-item[open] .arrow { transform: rotate(180deg); }

.faq-content {
    padding: 0 20px 20px 20px;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

.faq-footer-card {
    background-color: var(--azul-cadari);
    color: white;
    padding: 25px;
    border-radius: 10px;
    margin-top: 40px;
    text-align: left;
}

.faq-footer-card h4 { margin: 0 0 10px 0; font-size: 1.3rem; }
.faq-footer-card p { margin: 0; font-size: 0.95rem; opacity: 0.9; }

/* --- RODAPÉ --- */
.main-footer {
    background-color: var(--azul-cadari);
    color: white;
    padding: 30px;
    text-align: center;
    font-size: 0.85rem;
}

.main-footer p { margin: 5px 0; }

/* --- OUTROS --- */
.header-sugestao { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.img-icon-lamp { width: 35px; height: auto; }
.alert-box-bege { background-color: var(--bege-alerta); border: 1px solid var(--dourado-cadari); padding: 20px; border-radius: 8px; margin-bottom: 30px; }
.form-group-checkbox { margin: 25px 0; display: flex; align-items: center; gap: 12px; }
.confidential-footer { background-color: #f8f9fa; border-radius: 6px; padding: 15px; margin-top: 25px; font-size: 0.85rem; color: #666; text-align: center; line-height: 1.4; }
.errors { color: #e74c3c; font-size: 0.8rem; list-style: none; padding: 0; margin-top: 5px; }

/* --- ESTILO DO BOTÃO DE ENVIO (NOVO) --- */
.btn-submit {
    width: 100%;
    background-color: var(--azul-cadari);
    color: var(--branco);
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 10px;
}

.btn-submit:hover {
    background-color: #0d3545; /* Tom levemente mais escuro */
    transform: scale(1.005);
}

/* --- NOVOS ESTILOS PARA IDENTIFICAÇÃO (CORREÇÃO VISUAL) --- */

.option-box {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: white;
}

/* Quando selecionado: Fundo Azul Cadari e Texto Branco */
.option-box.selected {
    background-color: var(--azul-cadari) !important;
    border-color: var(--azul-cadari) !important;
    color: #ffffff !important;
}

/* Força todos os textos internos a ficarem brancos na seleção */
.option-box.selected label, 
.option-box.selected label strong, 
.option-box.selected small {
    color: #ffffff !important;
}

.option-box input[type="radio"] {
    margin-top: 5px;
}

.alert-warning {
    background-color: #fffcf0;
    border: 1px solid #f9e295;
    color: #856404;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    font-size: 0.95em;
}

.email-box {
    background-color: var(--bege-alerta);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--dourado-cadari);
    margin-top: 15px;
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 992px) {
    .navbar { flex-direction: column; padding: 10px; }
    .nav-links { margin-top: 15px; flex-wrap: wrap; justify-content: center; }
    .nav-links a { font-size: 0.7rem; padding: 6px 8px; }
    
    .steps-wrapper { flex-direction: column; align-items: center; }
    .step-arrow { transform: rotate(90deg); margin: 10px 0; }
    .step-card { width: 100%; max-width: 500px; }
    
    .cards-wrapper { flex-direction: column; }
    .guide-grid { grid-template-columns: 1fr; }
}