/* CSS Variables */
:root {
    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;
    --primary-color: #002A5E; /* Trust Blue */
    --accent-color: #FF6B00; /* High Contrast Orange Action */
    --accent-hover: #E65C00;
    --text-dark: #1E293B;
    --text-muted: #64748B;
    --border-light: #E2E8F0;
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-strong: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    
    --font-sans: 'Inter', sans-serif;
    --font-heading: 'Baloo 2', cursive;
}

/* Reset & Basics */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.5;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

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

/* Buttons & CTAs */
.cta-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background-color: var(--accent-color);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.125rem;
    padding: 18px 24px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 16px rgba(255, 107, 0, 0.3);
    text-decoration: none;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-primary::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent);
    transform: skewX(-20deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

.cta-primary:active {
    transform: scale(0.98);
}

.cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background-color: var(--primary-color);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    padding: 16px 24px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.floating-cta {
    position: fixed;
    bottom: -100px; /* Hidden initially */
    left: 20px;
    right: 20px;
    z-index: 50;
    background-color: var(--accent-color);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.125rem;
    padding: 16px 20px;
    border-radius: 50px;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(255, 107, 0, 0.4);
    transition: bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-cta.visible {
    bottom: 20px;
}

/* Sections */
.section-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.3;
}

/* 1. Hero Section */
.hero {
    position: relative;
    color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 20px;
    background: var(--primary-color) url('assets/hero_bg.png') center/cover no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,42,94,0.7) 0%, rgba(0,42,94,0.95) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.tagline {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.15);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 20px;
    backdrop-filter: blur(5px);
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

.hero h2 {
    font-size: 1.125rem;
    font-weight: 400;
    color: #E2E8F0;
    margin-bottom: 40px;
    line-height: 1.6;
}

.input-group {
    background: #fff;
    border-radius: 12px;
    padding: 5px;
    display: flex;
    margin-bottom: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.input-group input {
    flex: 1;
    border: none;
    padding: 16px;
    font-size: 1rem;
    font-family: var(--font-sans);
    outline: none;
    border-radius: 8px;
    color: var(--text-dark);
}

.micro-copy {
    font-size: 0.75rem;
    color: #CBD5E1;
    text-align: center;
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* 2. Benefícios Rápidos */
.benefits {
    padding: 60px 0;
    background-color: var(--bg-white);
}

.benefits-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.benefit-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: transform 0.3s ease;
}

.benefit-card:active {
    transform: translateY(-2px);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 42, 94, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.benefit-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.benefit-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* 3. Passo a Passo */
.steps-section {
    padding: 60px 0;
    background-color: var(--bg-white);
}

.timeline {
    position: relative;
    padding-left: 20px;
    margin: 0 auto 40px;
    max-width: 400px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 35px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #CBD5E1;
}

.timeline-item {
    position: relative;
    padding-left: 50px;
    margin-bottom: 30px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 0;
    top: 0;
    width: 32px;
    height: 32px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: var(--font-heading);
    z-index: 2;
    box-shadow: 0 0 0 4px var(--bg-light);
}

.timeline-content h3 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    color: var(--text-dark);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.timeline-content h3 i {
    color: var(--accent-color);
}

.timeline-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* 4. Prova Social */
.social-proof {
    padding: 60px 0;
    background-color: var(--bg-white);
}

.testimonials {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-bottom: 20px;
}

.testimonial-card {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 24px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
    border-left: 4px solid var(--accent-color);
}

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

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-color);
}

.stars {
    font-size: 0.9rem;
    margin-bottom: 0;
    margin-top: 4px;
}

.testimonial-card p {
    font-size: 1rem;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 0;
    line-height: 1.5;
}

.author {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* 5. FAQ */
.faq-section {
    padding: 60px 0;
    background-color: var(--bg-white);
}

.accordion {
    margin-bottom: 30px;
}

.accordion-item {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 12px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 20px;
    background: none;
    border: none;
    text-align: left;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.accordion-header i {
    transition: transform 0.3s ease;
    color: var(--text-muted);
}

.accordion-header.active i {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 20px;
}

.accordion-item.active .accordion-content {
    padding-bottom: 20px;
}

.accordion-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* 6. Footer */
.site-footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 60px 0 40px;
    font-size: 0.875rem;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 30px;
}

.footer-block {
    margin-bottom: 24px;
}

.footer-block h4 {
    color: #cbd5e1;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-contact {
    margin: 30px 0;
    padding-top: 20px;
    border-top: 1px solid #334155;
    color: #e2e8f0;
}

.footer-contact p {
    margin-bottom: 8px;
    font-size: 1rem;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid #334155;
    text-align: center;
}

.footer-links {
    margin-top: 16px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 42, 94, 0.8);
    backdrop-filter: blur(4px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    width: 100%;
    max-width: 400px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
}

.modal-content h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.modal-content p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* Media Queries (Larger screens logic) */
@media (min-width: 768px) {
    .benefits-grid {
        flex-direction: row;
    }
    .benefit-card {
        flex: 1;
    }
    .testimonials {
        flex-direction: row;
    }
    .testimonial-card {
        flex: 1;
    }
    .floating-cta {
        max-width: 400px;
        left: 50%;
        transform: translateX(-50%);
    }
}
