* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1e40af;
    --primary-dark: #1e3a8a;
    --secondary: #f59e0b;
    --secondary-dark: #d97706;
    --accent: #10b981;
    --danger: #ef4444;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.15);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

/* HERO SECTION */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
    padding: 120px 24px 100px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(255,255,255,0.3);
}

.oab-badge {
    background: rgba(16, 185, 129, 0.2);
    border: 2px solid rgba(16, 185, 129, 0.5);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    margin-left: 8px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.2);
    letter-spacing: -1px;
}

.hero-highlight {
    color: #fbbf24;
    position: relative;
    display: inline-block;
}

.hero p {
    font-size: 1.25rem;
    line-height: 1.7;
    margin-bottom: 32px;
    opacity: 0.95;
    font-weight: 500;
}

.urgency-badge {
    background: rgba(239, 68, 68, 0.2);
    border: 2px solid rgba(239, 68, 68, 0.5);
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
    display: inline-block;
}

.cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--secondary);
    color: var(--white);
    padding: 22px 48px;
    font-size: 1.125rem;
    font-weight: 800;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.cta-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.cta-primary:hover::before {
    left: 100%;
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(245, 158, 11, 0.5);
    background: var(--secondary-dark);
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-top: 48px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 600;
}

.trust-badge-icon {
    width: 24px;
    height: 24px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.social-proof-live {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 12px 24px;
    border-radius: 8px;
    margin-top: 24px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
}

.social-proof-live .pulse-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    margin-right: 8px;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* STATS */
.stats {
    background: var(--white);
    padding: 60px 24px;
    border-bottom: 1px solid #e5e7eb;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 48px;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 12px;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 600;
}

/* TESTIMONIALS */
.testimonials {
    background: var(--bg-light);
    padding: 80px 24px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 48px;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.section-title-accent {
    color: var(--secondary-dark);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--white);
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: all 0.3s ease;
    border-top: 4px solid var(--accent);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.testimonial-quote {
    font-size: 3rem;
    color: var(--secondary);
    opacity: 0.2;
    line-height: 1;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.25rem;
}

.testimonial-info strong {
    display: block;
    font-weight: 700;
    color: var(--text-dark);
}

.testimonial-info span {
    font-size: 0.875rem;
    color: var(--text-light);
}

.testimonial-rating {
    color: #fbbf24;
    font-size: 1.125rem;
}

.testimonials-note {
  font-size: 0.95rem;
  color: var(--text-dark, #374151);
  margin: 0 auto 24px;
  text-align: center;
  max-width: 820px;    /* limita a largura para melhor legibilidade */
  padding: 0 16px;     /* garante espaçamento lateral em telas pequenas */
  line-height: 1.4;
}
@media (max-width: 480px) {
  .testimonials-note {
    font-size: 0.92rem;
    max-width: 100%;
  }
}

/* FILTER SECTION */
.filter-section {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 80px 24px;
    position: relative;
    border-top: 4px solid var(--secondary);
    border-bottom: 4px solid var(--secondary);
}

.filter-grid {
    display: grid;
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto 48px;
}

.filter-card {
    background: var(--white);
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border-left: 6px solid var(--accent);
    transition: all 0.3s ease;
    display: flex;
    gap: 20px;
}

.filter-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-xl);
}

.filter-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent) 0%, #059669 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white);
}

.filter-content h4 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.filter-content p {
    color: var(--text-light);
    line-height: 1.7;
}

/* QUIZ */
.quiz-section {
    background: var(--bg-light);
    padding: 80px 24px;
}

.quiz-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    padding: 48px;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    border: 2px solid var(--secondary);
}

.quiz-header {
    text-align: center;
    margin-bottom: 32px;
}

.quiz-header h3 {
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.quiz-progress {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
}

.quiz-progress-step {
    flex: 1;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.quiz-progress-step.active {
    background: var(--secondary);
}

.quiz-question {
    display: none;
}

.quiz-question.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.quiz-question h4 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.quiz-options {
    display: grid;
    gap: 16px;
}

.quiz-option {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.quiz-option:hover {
    border-color: var(--secondary);
    background: #fef3c7;
    transform: translateX(4px);
}

.quiz-option.selected {
    border-color: var(--secondary);
    background: #fef3c7;
}

.quiz-result {
    display: none;
    text-align: center;
}

.quiz-result.show {
    display: block;
    animation: slideIn 0.5s ease;
}

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

.quiz-result-score {
    font-size: 4rem;
    font-weight: 900;
    color: var(--accent);
    margin-bottom: 16px;
}

.quiz-result-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.quiz-result-text {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 32px;
}

/* DIFERENCIAL */
.diferencial-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 80px 24px;
    border-top: 4px solid var(--primary);
    border-bottom: 4px solid var(--primary);
}

.diferencial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.diferencial-item {
    background: var(--white);
    padding: 24px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.diferencial-wrong {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 2px solid #fee2e2;
}

.diferencial-wrong .icon {
    color: var(--danger);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.diferencial-wrong p {
    color: var(--text-dark);
    font-weight: 600;
}

.diferencial-right {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.diferencial-right .icon {
    color: var(--accent);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.diferencial-right p {
    color: var(--text-dark);
    font-weight: 600;
}

/* SECTION STYLES */
section {
    padding: 80px 24px;
}

.section-light {
    background: var(--white);
}

.section-dark {
    background: var(--bg-light);
}

/* STEPS */
.steps-grid {
    display: grid;
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.step-card {
    background: var(--white);
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    display: flex;
    gap: 24px;
    align-items: flex-start;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--secondary);
}

.step-number {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--white);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.step-content h4 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.step-content p {
    color: var(--text-light);
    line-height: 1.7;
}

/* FORMULÁRIO */
.form-section {
    background: var(--white);
    padding: 80px 24px;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 48px;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    border: 2px solid var(--secondary);
}

.form-header {
    text-align: center;
    margin-bottom: 32px;
}

.form-header h2 {
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.form-header p {
    color: var(--text-light);
    font-size: 1.125rem;
}

.form-promise {
    background: #f0f9ff;
    border: 2px solid var(--primary);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 32px;
}

.form-promise h4 {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.form-promise ul {
    list-style: none;
    padding: 0;
}

.form-promise li {
    padding-left: 24px;
    position: relative;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 600;
}

.form-promise li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 900;
}

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

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-size: 1rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.form-group.error input,
.form-group.error select {
    border-color: var(--danger);
}

.form-error {
    color: var(--danger);
    font-size: 0.875rem;
    margin-top: 4px;
    display: none;
}

.form-group.error .form-error {
    display: block;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 32px;
}

.form-checkbox input {
    margin-top: 4px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.form-checkbox label {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

.form-checkbox a {
    color: var(--primary);
    text-decoration: underline;
}

.btn-submit {
    width: 100%;
    background: #25D366;
    color: var(--white);
    padding: 20px;
    font-size: 1.125rem;
    font-weight: 800;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.btn-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.5);
    background: #1fb855;
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-footer {
    text-align: center;
    margin-top: 16px;
    font-size: 0.875rem;
    color: var(--text-light);
}

/* PRÉ-QUALIFICAÇÃO */
.pre-qualification {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    padding: 60px 24px;
    border-top: 4px solid var(--danger);
    border-bottom: 4px solid var(--danger);
}

.pre-qualification-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.pre-qualification h2 {
    font-size: 2.25rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 32px;
}

.pre-qualification ul {
    text-align: left;
    max-width: 700px;
    margin: 0 auto 32px;
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-dark);
    list-style: none;
}

.pre-qualification li {
    margin-bottom: 16px;
    padding-left: 32px;
    position: relative;
}

.pre-qualification li::before {
    content: '❌';
    position: absolute;
    left: 0;
    font-size: 1.25rem;
}

.pre-qualification-footer {
    background: rgba(153, 27, 27, 0.1);
    padding: 20px;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 700;
    color: #991b1b;
}

/* FAQ */
.faq-grid {
    display: grid;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--primary);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(4px);
}

.faq-item.faq-urgent {
    border-left-color: var(--danger);
}

.faq-question {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.faq-answer {
    color: var(--text-light);
    line-height: 1.8;
}

.faq-highlight {
    background: #fee2e2;
    padding: 8px 12px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 12px;
    font-weight: 700;
    color: #991b1b;
}

/* CTA SECTION */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
    padding: 100px 24px;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
}

.cta-section h3 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 48px;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #25D366;
    color: var(--white);
    padding: 20px 48px;
    font-size: 1.125rem;
    font-weight: 800;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    text-transform: uppercase;
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.5);
    background: #1fb855;
}

.btn-phone {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    color: var(--primary);
    padding: 20px 48px;
    font-size: 1.125rem;
    font-weight: 800;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.btn-phone:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(255,255,255,0.3);
}

.guarantee-section {
    background: #f0fdf4;
    border: 3px solid var(--accent);
    padding: 32px;
    border-radius: 16px;
    max-width: 700px;
    margin: 48px auto 0;
    text-align: center;
}

.guarantee-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--accent);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.125rem;
    margin-bottom: 16px;
}

.guarantee-text {
    font-size: 1.125rem;
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.7;
}

/* WHATSAPP FLUTUANTE */
.whatsapp-float {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 64px;
    height: 64px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--white);
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
    }
    50% {
        box-shadow: 0 8px 32px rgba(37, 211, 102, 0.7);
    }
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* FOOTER */
footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 60px 24px 32px;
    text-align: center;
}

.footer-content {
    max-width: 900px;
    margin: 0 auto;
}

.footer-links {
    margin: 32px 0;
}

.footer-links a {
    color: var(--white);
    text-decoration: underline;
    margin: 0 16px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-disclaimer {
    font-size: 0.875rem;
    opacity: 0.7;
    line-height: 1.7;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    overflow-y: auto;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal-content {
    background: var(--white);
    padding: 48px;
    border-radius: 16px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-light);
    cursor: pointer;
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--bg-light);
    color: var(--text-dark);
}

.modal-content h2 {
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.modal-content h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-top: 32px;
    margin-bottom: 16px;
}

.modal-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

.modal-content ul {
    color: var(--text-light);
    line-height: 1.8;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero {
        padding: 80px 20px 60px;
    }
    
    .hero h1 {
        font-size: 2.25rem;
    }
    
    .hero p {
        font-size: 1.125rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-section h3 {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .testimonials-grid,
    .diferencial-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-card,
    .step-card {
        flex-direction: column;
        text-align: center;
    }
    
    .form-container,
    .calculator-container,
    .quiz-container {
        padding: 32px 24px;
    }
    
    .pre-qualification h2 {
        font-size: 1.75rem;
    }
    
    .pre-qualification ul {
        font-size: 1rem;
    }
    
    .cta-primary,
    .btn-submit {
        padding: 20px 32px;
        font-size: 1rem;
    }
    
    .whatsapp-float {
        width: 56px;
        height: 56px;
        bottom: 20px;
        right: 20px;
        font-size: 28px;
    }
    
    .modal-content {
        padding: 32px 24px;
    }
    
    .quiz-result-score {
        font-size: 3rem;
    }
    
    .calc-result-value {
        font-size: 2.5rem;
    }
}

/* ACCESSIBILITY */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* LOADING STATE */
.loading {
    pointer-events: none;
    opacity: 0.6;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    margin: -12px 0 0 -12px;
    border: 3px solid var(--white);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* FontAwesome Icons and CTA Buttons Styling */

.cta-primary i,
.btn-whatsapp i,
.btn-phone i,
.btn-submit i {
  margin-right: 12px; /* Espaço entre ícone e texto */
  vertical-align: middle; /* Alinha ícone verticalmente com o texto */
  font-size: 1.25em; /* Tamanho do ícone */
  color: inherit; /* Herda a cor do texto do botão */
}

.btn-submit i {
  font-size: 1.4em;
}

.cta-primary,
.btn-whatsapp,
.btn-phone,
.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.btn-whatsapp {
  background-color: #25d366; /* Verde WhatsApp */
  color: var(--white);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  border-radius: 12px;
  padding: 20px 48px;
  font-weight: 800;
  font-size: 1.125rem;
  text-transform: uppercase;
}

.btn-whatsapp:hover {
  background-color: #1ebe57;
  box-shadow: 0 15px 40px rgba(37, 211, 102, 0.5);
}

.btn-phone {
  background-color: var(--white);
  color: var(--primary);
  box-shadow: 0 10px 30px rgba(30, 64, 175, 0.2);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  border-radius: 12px;
  padding: 20px 48px;
  font-weight: 800;
  font-size: 1.125rem;
  text-transform: uppercase;
}

.btn-phone:hover {
  background-color: #e0e7ff;
  box-shadow: 0 15px 40px rgba(30, 64, 175, 0.4);
}

.btn-submit {
  background-color: #128c7e; /* Verde escuro WhatsApp */
  color: var(--white);
  box-shadow: 0 10px 30px rgba(18, 140, 126, 0.4);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  border: none;
  font-weight: 800;
  padding: 20px;
  border-radius: 12px;
  font-size: 1.125rem;
  text-transform: uppercase;
  width: 100%;
  justify-content: center;
}

.btn-submit:hover:not(:disabled) {
  background-color: #0f7a6a;
  box-shadow: 0 15px 40px rgba(15, 122, 106, 0.5);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Cookie Consent Banner */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #1e293b;
  color: #f1f5f9;
  padding: 16px;
  z-index: 9999;
  font-size: 0.9rem;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.cookie-banner.show {
  display: block;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cookie-content p {
  margin: 0;
  flex: 1;
  min-width: 300px;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

.btn {
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s ease;
}

.btn-primary {
  background-color: #3b82f6;
  color: white;
}

.btn-primary:hover {
  background-color: #2563eb;
}

.btn-secondary {
  background-color: #64748b;
  color: white;
}

.btn-secondary:hover {
  background-color: #475569;
}

@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }
}

/* Ajustes para HERO com prefill estruturado */
.hero-ctas { display:flex; gap:14px; justify-content:center; align-items:center; flex-wrap:wrap; }
.hero .btn-whatsapp { padding:14px 20px; font-size:1rem; text-transform:none; background:#25D366; color:#fff; border-radius:10px; box-shadow:0 8px 24px rgba(37,211,102,0.25); text-decoration:none; font-weight:800; }
.hero .btn-whatsapp:hover { transform:translateY(-2px); box-shadow:0 12px 36px rgba(37,211,102,0.35); }
.microcopy { text-align:center; max-width:760px; margin:0 auto; }

/* Mobile tweaks */
@media (max-width:768px) {
  .hero h1 { font-size:1.6rem; }
  .hero p { font-size:1rem; }
  .hero .btn-whatsapp, .hero .cta-primary { padding:12px 16px; font-size:0.95rem; }
}

.btn-whatsapp i {
  transition: transform 0.3s ease;
}
.btn-whatsapp:hover i {
  transform: rotate(15deg);
}

a:focus, button:focus {
  outline: 3px solid var(--secondary);
  outline-offset: 2px;
}
