/* Rota Educacional Quiz - Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --secondary: #a855f7;
    --success: #16a34a;
    --background: #ffffff;
    --surface: #f8fafc;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-light: #64748b;
    --border: #e2e8f0;
    --border-dark: #cbd5e1;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-primary);
    background-color: var(--background);
    line-height: 1.6;
}

#rota-quiz-root {
    width: 100%;
}

.rota-quiz-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .rota-quiz-container {
        padding: 0 2rem;
    }
}

/* HERO SECTION */
.rota-hero {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 80px 0;
    text-align: center;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rota-hero__badge {
    display: inline-block;
    background: #dbeafe;
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    animation: fadeInDown 0.6s ease;
}

.rota-hero__title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text-primary);
    animation: fadeInUp 0.6s ease 0.1s both;
}

.rota-hero__title .highlight {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rota-hero__subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.rota-hero__trust {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 32px;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.rota-hero__trust .stars {
    color: #fbbf24;
    margin-right: 8px;
}

.rota-hero__cta {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 24px 48px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.2);
    transition: var(--transition);
    animation: fadeInUp 0.6s ease 0.4s both;
}

.rota-hero__cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.3);
}

.rota-hero__secondary {
    display: block;
    font-size: 12px;
    color: var(--text-light);
    margin-top: 16px;
    animation: fadeInUp 0.6s ease 0.5s both;
}

/* VALUE SECTION */
.rota-value {
    background: var(--background);
    padding: 80px 0;
    border-top: 1px solid var(--border);
}

.rota-value__title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 64px;
    color: var(--text-primary);
}

.rota-value__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.rota-value__card {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    transition: var(--transition);
    animation: fadeInUp 0.6s ease;
}

.rota-value__card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.rota-value__card-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.rota-value__card-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.rota-value__card-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* QUIZ SECTION */
.rota-quiz {
    background: var(--surface);
    padding: 80px 0;
    border-top: 1px solid var(--border);
    display: none;
}

.rota-quiz.active {
    display: block;
}

.rota-quiz__container {
    max-width: 700px;
    margin: 0 auto;
}

.rota-quiz__progress {
    width: 100%;
    height: 8px;
    background: var(--border);
    border-radius: 4px;
    margin-bottom: 48px;
    overflow: hidden;
}

.rota-quiz__progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    transition: width 0.3s ease;
}

.rota-quiz__question {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 32px;
    line-height: 1.4;
}

.rota-quiz__options {
    display: grid;
    gap: 16px;
}

.rota-quiz__option {
    background: var(--background);
    border: 2px solid var(--border);
    border-radius: 8px;
    padding: 20px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 16px;
    color: var(--text-primary);
}

.rota-quiz__option:hover {
    border-color: var(--primary);
    background: #f0f7ff;
}

.rota-quiz__option.selected {
    border-color: var(--primary);
    background: #dbeafe;
    font-weight: 600;
}

.rota-quiz__button {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 32px;
    width: 100%;
}

.rota-quiz__button:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.rota-quiz__button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* RESULT SECTION */
.rota-result {
    background: var(--surface);
    padding: 80px 0;
    display: none;
}

.rota-result.active {
    display: block;
}

.rota-result__container {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.rota-result__badge {
    display: inline-block;
    background: #dbeafe;
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.rota-result__title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.rota-result__profile {
    font-size: 24px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 32px;
}

.rota-result__box {
    background: var(--background);
    border: 2px solid var(--primary);
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 32px;
    text-align: left;
}

.rota-result__box-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.rota-result__box-text {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.rota-result__price {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 24px;
}

.rota-result__cta {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 24px 48px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.2);
    transition: var(--transition);
}

.rota-result__cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.3);
}

/* TESTIMONIAL SECTION */
.rota-testimonial {
    background: var(--surface);
    padding: 80px 0;
    border-top: 1px solid var(--border);
}

.rota-testimonial__box {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: var(--shadow-md);
}

.rota-testimonial__text {
    font-size: 18px;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.8;
    margin-bottom: 24px;
}

.rota-testimonial__author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.rota-testimonial__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--border);
}

.rota-testimonial__name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.rota-testimonial__role {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

/* FAQ SECTION */
.rota-faq {
    background: var(--background);
    padding: 80px 0;
    border-top: 1px solid var(--border);
}

.rota-faq__title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.rota-faq__subtitle {
    text-align: center;
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 48px;
}

.rota-faq__container {
    max-width: 900px;
    margin: 0 auto;
}

.rota-faq__item {
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.rota-faq__item:hover {
    border-color: var(--primary);
}

.rota-faq__header {
    background: var(--surface);
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text-primary);
    user-select: none;
    transition: var(--transition);
}

.rota-faq__item.active .rota-faq__header {
    background: var(--primary);
    color: white;
}

.rota-faq__icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.rota-faq__item.active .rota-faq__icon {
    transform: rotate(180deg);
}

.rota-faq__content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--background);
}

.rota-faq__item.active .rota-faq__content {
    max-height: 500px;
}

.rota-faq__text {
    padding: 20px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* CTA SECTION */
.rota-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 80px 0;
    text-align: center;
    color: white;
}

.rota-cta__title {
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
}

.rota-cta__subtitle {
    font-size: 18px;
    color: #e0e7ff;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.rota-cta__button {
    display: inline-block;
    background: white;
    color: var(--primary);
    padding: 24px 48px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.rota-cta__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.rota-cta__footer {
    font-size: 12px;
    color: #c7d2fe;
    margin-top: 16px;
}

/* FOOTER */
.rota-footer {
    background: var(--text-primary);
    color: white;
    padding: 48px 0;
    border-top: 1px solid #1e293b;
}

.rota-footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

.rota-footer__col-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}

.rota-footer__col-text {
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.6;
}

.rota-footer__col-text a {
    color: #cbd5e1;
    text-decoration: none;
    transition: var(--transition);
}

.rota-footer__col-text a:hover {
    color: white;
}

.rota-footer__divider {
    border: none;
    border-top: 1px solid #1e293b;
    margin-bottom: 32px;
}

.rota-footer__copyright {
    text-align: center;
    font-size: 12px;
    color: #64748b;
}

/* ANIMATIONS */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .rota-hero__title {
        font-size: 36px;
    }

    .rota-hero__subtitle {
        font-size: 16px;
    }

    .rota-hero__cta {
        padding: 16px 32px;
        font-size: 16px;
    }

    .rota-value__title,
    .rota-faq__title,
    .rota-cta__title,
    .rota-result__title {
        font-size: 28px;
    }

    .rota-cta__subtitle {
        font-size: 16px;
    }

    .rota-quiz__question {
        font-size: 18px;
    }

    .rota-result__profile {
        font-size: 20px;
    }

    .rota-result__price {
        font-size: 24px;
    }
}
