body {
    margin: 0;
    font-family: Arial, sans-serif;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

.site-header,
.site-footer {
    background: #183332;
    color: #fff;
}

.site-header a,
.site-footer a {
    color: #fff;
    text-decoration: none;
}


/* HERO */
.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero-text {
    font-size: 1rem;
    color: #555;
}

/* FEATURE BOX */
.feature-box {
    background: #f5f5f5;
    border-radius: 16px;
}

/* CONTATO */
.contact h2 {
    font-weight: 700;
}

.contact-form .form-control {
    border-radius: 8px;
}


/* HEADER */
.site-header .navbar-brand {
    font-size: 1.4rem;
}

/* FOOTER */
.site-footer {
    margin-top: 80px;
}

.site-footer a {
    color: #adb5bd;
    text-decoration: none;
}

.site-footer a:hover {
    color: #fff;
}

/* TOP GRADIENT BAR */
.top-gradient-bar {
    width: 100%;
    height: 6px;
    background: linear-gradient(
        90deg,
        #7ED6A5 0%,
        #4DB6AC 25%,
        #2C7BE5 50%,
        #5E35B1 75%,
        #1A237E 100%
    );
}


.diagnostico-wrapper {
    max-width: 520px;
    margin: 40px auto;
    font-family: Arial, sans-serif;
}

.diagnostico-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 30px;
    color: #183332;
    font-weight: 700;
    font-family: "Lato", Sans-serif;
}

.diagnostico-field {
    margin-bottom: 18px;
}

.diagnostico-field label {
    display: block;
    font-size: 15px;
    margin-bottom: 6px;
    color: #183332;
    font-family: "Lato", Sans-serif;
}

.diagnostico-field select,
.diagnostico-field textarea, .diagnostico-field input {
    width: 100%;
    background: #f1f1f1;
    border: none;
    border-radius: 8px;
    padding: 14px;
    font-size: 14px;
    outline: none;
}

.diagnostico-field textarea {
    min-height: 120px;
    resize: none;
}

.diagnostico-btn {
    width: 100%;
    margin-top: 10px;
    padding: 14px;
    background: #00a859;
    border: none;
    border-radius: 30px;
    color: #183332;
    font-size: 15px;
    letter-spacing: 2px;
    cursor: pointer;
    transition: 0.3s;
    font-family: "Lato", Sans-serif;
}

.diagnostico-btn:hover {
    background: #008f4c;
}


.quiz-wrapper {
    max-width: 600px;
    margin: 40px auto;
    font-family: Arial, sans-serif;
}

.quiz-progress {
    margin-bottom: 25px;
}

.quiz-progress-bar {
    width: 100%;
    height: 10px;
    background: #ffffff;
    border-radius: 50PX;
    border: solid 2px #00A860;
    overflow: hidden;
}

.quiz-progress-bar span {
    display: block;
    height: 100%;
    width: 0%;
    background: #00A860;
    transition: width .3s;
}

.quiz-progress-text {
    font-size: 12px;
    margin-top: 6px;
    text-align: right;
    color: #00a859;
}

.quiz-question {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
        font-family: "Lato", Sans-serif;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quiz-option {
    padding: 16px;
    background: #f1f1f1;
    border-radius: 10px;
    cursor: pointer;
    transition: .3s;
        font-family: "Lato", Sans-serif;
}

.quiz-option:hover {
    background: #dff5ea;
}

.quiz-option.active {
    background: #00a859;
    color: #fff;
}

.quiz-actions {
    margin-top: 25px;
    text-align: center;
}

.quiz-btn {
    padding: 12px 28px;
    border-radius: 25px;
    border: none;
    margin: 0 8px;
    cursor: pointer;
    background: #ccc;
    color: #fff;
    transition: .3s;
        font-family: "Lato", Sans-serif;
}

.quiz-btn:not(:disabled) {
    background: #00a859;
}

.quiz-btn:disabled {
    cursor: not-allowed;
}

.tema-title {
    color: #00A860;
    font-size: 10px;
    font-weight: 700;
    margin-bottom: 0px;
    font-family: "Lato", Sans-serif;
    text-transform: uppercase;
}
.quiz-prev {
    border: none;
    background: transparent;
    text-decoration: underline;
    font-size: 12px;
    color:#8C8C8C;
}
.quiz-content {
    position: relative;
    overflow: hidden;
    min-height: 560px;
}

.quiz-slide {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
}

/* Container */
.checkbox-custom {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.4;
    user-select: none;
}

/* Esconde o checkbox nativo */
.checkbox-custom input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

/* Círculo */
.checkbox-custom .checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #19c37d;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    transition: all 0.2s ease;
}

/* Estado ativo */
.checkbox-custom input:checked + .checkmark {
    background-color: #19c37d;
}

/* Check branco */
.checkbox-custom .checkmark::after {
    content: "";
    position: absolute;
    display: none;
}

/* Desenha o check */
.checkbox-custom input:checked + .checkmark::after {
    display: block;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Hover */
.checkbox-custom:hover .checkmark {
    box-shadow: 0 0 0 3px rgba(25, 195, 125, 0.15);
}

/* Links */
.checkbox-custom a {
    color: #19c37d;
    text-decoration: underline;
}

#nome_completo {
    margin-top: 2px;
}
.aproxi {
    font-size:11px;
    display: block;
}

#second-section, #three-section {
    display:none;
}

/* Estado DESABILITADO */
.quiz-next:disabled {
    background: #EAEAEA;
    padding: 10px 50px;
    border-radius: 50px;
    border: none;
    font-size: 14px;
}

/* Estado HABILITADO */
.quiz-next:not(:disabled) {
    background: #00a859;
    padding: 10px 50px;
    border-radius: 50px;
    border: none;
    font-size: 14px;
}



.resultado-wrapper {
    max-width: 820px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: 'Inter', sans-serif;
    color: #1d1d1f;
}

/* SCORE */
.score-header {
    text-align: center;
}

.score-header h3 {
    font-size: 14px;
    letter-spacing: 1px;
    color: #777;
}

.score-gauge {
    margin: 20px 0;
}

.gauge {
    width: 180px;
    height: 90px;
    margin: 0 auto;
    border-radius: 180px 180px 0 0;
    background: conic-gradient(
        red 0deg,
        orange 60deg,
        yellow 120deg,
        #a3e635 180deg
    );
    position: relative;
}

.gauge::after {
    content: '';
    position: absolute;
    width: 140px;
    height: 70px;
    background: #fff;
    border-radius: 140px 140px 0 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.gauge-value {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 32px;
    font-weight: bold;
    color: red;
}

.score-title {
    color: #183332;
    margin-top: 10px;
}

.score-description {
    font-size: 14px;
    color: #555;
}

/* SEÇÕES */
.box-section {
    margin-top: 40px;
}

.box-section h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.card {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
}

.card-number {
    font-size: 12px;
    font-weight: bold;
    color: #999;
}

/* FEEDBACK */
.feedback-section {
    margin-top: 40px;
}

.feedback-title {
    font-weight: 600;
}

.feedback-actions {
    margin: 15px 0;
    display: flex;
    gap: 10px;
}

.btn-outline {
    border: 1px solid #22c55e;
    background: transparent;
    color: #22c55e;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
}

.feedback-section textarea {
    width: 100%;
    min-height: 80px;
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 10px;
}

/* CTA */
.cta-section {
    text-align: center;
    margin-top: 50px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.btn-primary {
    background: #22c55e;
    color: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
}

.btn-secondary {
    background: #1f2937;
    color: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
}

.cta-footer {
    display: block;
    margin-top: 15px;
    font-size: 12px;
    color: #777;
    cursor: pointer;
}

/* RESPONSIVO */
@media (max-width: 600px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }
}


.score-gauge {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.gauge {
    position: relative;
    width: 220px;
    height: 110px;
    overflow: hidden;
}

.gauge-arc {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: conic-gradient(
        #e74c3c 0deg,
        #f1c40f 90deg,
        #2ecc71 180deg
    );
}

.gauge-needle {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 0;
    transform-origin: bottom center;
    transform: rotate(-90deg);
    transition: transform 1.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.gauge-needle .needle {
    width: 4px;
    height: 90px;
    background: #111;
    display: block;
    border-radius: 2px;
}

.gauge-value {
    position: absolute;
    bottom: -35px;
    width: 100%;
    text-align: center;
    font-size: 28px;
    font-weight: bold;
}


.score-container {
  width: 260px;
  margin: 40px auto;
  text-align: center;
  font-family: Arial, sans-serif;
}

.score-title {
  font-size: 25px;
    font-weight: 800;
    margin-bottom: 8px;
    font-family: "Lato", Sans-serif;
}

.gauge-svg {
  display: block;
  margin: 0 auto;
}

.arc {
  fill: none;
  stroke-width: 14;
  stroke-linecap: round;
}

.red    { stroke: #e53935; }
.orange { stroke: #fb8c00; }
.yellow { stroke: #fdd835; }
.green  { stroke: #00a651; }

.score-number {
  font-size: 38px;
  font-weight: bold;
  margin-top: -15px;
  color: #e53935;
}

.score-line {
  margin-top: 12px;
  height: 4px;
  width: 100%;
  background: #e53935;
  border-radius: 3px;
}
