* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f5f5f5;
    color: #333;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

header {
    text-align: center;
    margin-bottom: 2rem;
}

h1 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.subtitle {
    color: #7f8c8d;
    font-size: 1.2rem;
}

.test-container {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.section {
    display: none;
}

.section.active {
    display: block;
}

.tips {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.tips h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.tips ol {
    padding-left: 1.5rem;
}

.btn-primary {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background-color 0.3s;
    display: block;
    margin: 1.5rem auto;
}

.btn-primary:hover {
    background-color: #2980b9;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background-color: #ecf0f1;
    border-radius: 5px;
    margin: 1rem 0;
    overflow: hidden;
}

.progress {
    width: 0%;
    height: 100%;
    background-color: #3498db;
    transition: width 0.3s ease;
}

.question-container {
    text-align: center;
    margin: 2rem 0;
}

.options-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.option-btn {
    padding: 1rem;
    border: 2px solid #3498db;
    background-color: white;
    color: #3498db;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.option-btn:hover {
    background-color: #3498db;
    color: white;
}

.results-container {
    margin: 2rem 0;
}

.result-item {
    margin-bottom: 1.5rem;
}

.result-item h3 {
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.percentage {
    display: block;
    text-align: right;
    margin-top: 0.5rem;
    font-weight: bold;
}

.dominant-factor {
    text-align: center;
    margin: 2rem 0;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.result-flex {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: flex-start;
}

.results-container {
    flex: 2;
    min-width: 270px;
}

.result-description {
    flex: 2;
    min-width: 250px;
    background: #fafafa;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.result-description h3 {
    margin-bottom: 1rem;
}

.dominant-highlight {
    font-weight: bold;
    font-size: 1.2em;
}

.progress-bar.disc-bar {
    position: relative;
    height: 24px;
    border-radius: 8px;
    margin: 0.7rem 0 1.2rem 0;
    background: #e9ecef;
    overflow: visible;
}

.progress-bar.disc-d .progress {
    background: #e53935;
}
.progress-bar.disc-i .progress {
    background: #ffd600;
}
.progress-bar.disc-s .progress {
    background: #43a047;
}
.progress-bar.disc-c .progress {
    background: #1e88e5;
}

.progress-bar .progress {
    height: 100%;
    border-radius: 8px 0 0 8px;
    transition: width 0.5s;
}

.score-label {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: #222;
    color: #fff;
    font-size: 0.95em;
    padding: 2px 10px;
    border-radius: 6px;
    font-weight: bold;
    pointer-events: none;
    z-index: 2;
}

@media (max-width: 600px) {
    .container {
        padding: 1rem;
    }
    
    .options-container {
        grid-template-columns: 1fr;
    }
    
    .test-container {
        padding: 1rem;
    }
}

@media (max-width: 900px) {
    .result-flex {
        flex-direction: column;
        gap: 0.5rem;
    }
    .result-description {
        margin-top: 0.5rem;
    }
}

.share-flex {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: flex-start;
    margin-top: 2rem;
}
.share-info {
    flex: 2;
    min-width: 250px;
    font-size: 1.1em;
}
.share-form {
    flex: 2;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.share-form label {
    font-weight: bold;
    margin-top: 0.5rem;
}
.share-form input {
    padding: 0.7rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}
.share-success {
    margin-top: 2rem;
    background: #e8fff0;
    border: 1px solid #b2dfdb;
    border-radius: 8px;
    padding: 2rem 1.5rem;
    text-align: center;
    color: #388e3c;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.share-success h2 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 2rem;
}
.share-success h3 {
    color: #388e3c;
    margin-bottom: 1rem;
}
.share-success p {
    color: #222;
    font-size: 1.1rem;
}
@media (max-width: 900px) {
    .share-flex {
        flex-direction: column;
        gap: 1rem;
    }
} 

/* Rodapé fixo */
.fixed-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px;
    text-align: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.fixed-footer a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.fixed-footer a:hover {
    color: #0056b3;
} 