/* ==========================================================================
   Calcularte + Elo7 Landing Page
   Standalone CSS — visually consistent with Calcularte brand
   ========================================================================== */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.2;
}

a {
    color: #198B86;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #0e625e;
}

/* ---------- Buttons ---------- */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #1fa59f, #198B86);
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 14px 36px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(25, 139, 134, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #198B86, #0e625e);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(25, 139, 134, 0.4);
}

.btn-primary.btn-large {
    font-size: 1.25rem;
    padding: 18px 48px;
}

.btn-secondary {
    display: inline-block;
    color: #198B86;
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 24px;
    border: 2px solid #198B86;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background-color: rgba(25, 139, 134, 0.08);
    color: #198B86;
}

/* ---------- Header ---------- */
.landing-header {
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.landing-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    height: 40px;
    width: auto;
}

.header-nav {
    display: flex;
    gap: 24px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: #555;
}

.nav-link:hover {
    color: #198B86;
}

/* ---------- Hero ---------- */
.hero {
    background: linear-gradient(160deg, #f0faf9 0%, #e6f7f6 40%, #fff 100%);
    padding: 80px 0 60px;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, #198B86, #1fa59f);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.hero h1 {
    font-size: 2.6rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.highlight-elo7 {
    color: #F5A623;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #555;
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    align-items: center;
}

/* Hero Cards Carousel */
.hero-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-cards-carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
}

.hero-card {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid rgba(25, 139, 134, 0.15);
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}

.hero-card.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.card-header {
    background: linear-gradient(135deg, #198B86, #1fa59f);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 16px 24px;
}

.card-header-maxima {
    background: linear-gradient(135deg, #D4820A, #F5A623);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: #198B86;
}

.card-body {
    padding: 20px 24px;
}

.card-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 0.95rem;
    color: #555;
}

.card-value {
    font-weight: 700;
    color: #1a1a1a;
    font-size: 1.05rem;
}

.card-value.included {
    color: #198B86;
    font-size: 0.9rem;
}

.card-divider {
    height: 1px;
    background: #e8e8e8;
    margin: 8px 0;
}

.card-row.highlight {
    background: #f0faf9;
    border-radius: 8px;
    padding: 12px 16px;
    margin: 8px -16px 0;
}

.card-row.highlight .card-value {
    color: #198B86;
    font-size: 1.1rem;
}

/* ---------- Taxas Section ---------- */
.taxas-section {
    padding: 80px 0;
    background: #fff;
}

.taxas-section h2,
.como-funciona h2,
.diferencial-section h2,
.cta-section h2 {
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.section-subtitle {
    text-align: center;
    color: #777;
    font-size: 1.1rem;
    margin-bottom: 48px;
}

.taxas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.taxa-card {
    background: #fafafa;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    border: 1px solid #eee;
    transition: transform 0.2s, box-shadow 0.2s;
}

.taxa-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.taxa-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.taxa-card h3 {
    font-size: 1.15rem;
    color: #198B86;
    margin-bottom: 20px;
}

.taxa-values {
    margin-bottom: 16px;
}

.taxa-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border-radius: 8px;
    margin-bottom: 6px;
    background: #fff;
}

.taxa-option.single {
    flex-direction: column;
    gap: 4px;
    padding: 16px;
}

.taxa-label {
    font-size: 0.85rem;
    color: #777;
}

.taxa-number {
    font-weight: 700;
    font-size: 1.1rem;
    color: #1a1a1a;
}

.taxa-number.large {
    font-size: 1.6rem;
    color: #198B86;
}

.taxa-note {
    font-size: 0.8rem;
    color: #999;
    font-style: italic;
}

/* ---------- Como Funciona ---------- */
.como-funciona {
    padding: 80px 0;
    background: linear-gradient(180deg, #f0faf9 0%, #fff 100%);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.step {
    text-align: center;
    padding: 0 16px;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #198B86, #1fa59f);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(25, 139, 134, 0.25);
}

.step h3 {
    font-size: 1.1rem;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.step p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* ---------- Diferenciais ---------- */
.diferencial-section {
    padding: 80px 0;
    background: #fff;
}

.diferencial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.diferencial {
    display: flex;
    gap: 16px;
    padding: 24px;
    border-radius: 12px;
    background: #fafafa;
    border: 1px solid #eee;
    transition: transform 0.2s, box-shadow 0.2s;
}

.diferencial:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.diferencial-icon {
    font-size: 2rem;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.diferencial h3 {
    font-size: 1rem;
    color: #198B86;
    margin-bottom: 6px;
}

.diferencial p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* ---------- CTA Final ---------- */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(160deg, #198B86, #1fa59f);
    text-align: center;
}

.cta-section h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 12px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

.cta-section .btn-primary {
    background: #fff;
    color: #198B86;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.cta-section .btn-primary:hover {
    background: #f0faf9;
    color: #0e625e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.cta-links {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.link-help, .link-blog {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    transition: color 0.2s;
}

.link-help:hover, .link-blog:hover {
    color: #fff;
}

.cta-separator {
    color: rgba(255, 255, 255, 0.4);
}

/* ---------- Footer ---------- */
.landing-footer {
    padding: 24px 0;
    background: #1a1a1a;
    color: #888;
    font-size: 0.85rem;
}

.landing-footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: #888;
    font-size: 0.85rem;
}

.footer-links a:hover {
    color: #ccc;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .taxas-grid,
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .diferencial-grid {
        grid-template-columns: 1fr;
    }

    .landing-footer .container {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .header-nav {
        gap: 16px;
    }

    .cta-links {
        flex-direction: column;
        gap: 8px;
    }

    .cta-separator {
        display: none;
    }
}
