/* ==========================================================================
   Calcularte — /comecar Landing Page (Instagram Bio Link)
   Mobile-first, standalone CSS — brand palette with conversion-optimized design
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(165deg, #f0fdfa 0%, #f5f3ff 30%, #fdf2f8 60%, #fff7ed 100%);
    height: 100vh;
    height: 100dvh;
    -webkit-font-smoothing: antialiased;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

/* ============================================================
   MOBILE LAYOUT (default, < 768px)
   ============================================================ */

/* ---------- Page Container ---------- */
.comecar-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    padding: 3vh 20px 0;
    justify-content: flex-start;
    overflow-y: auto;
    overflow-x: hidden;
}

/* ---------- Brand Panel (hidden on mobile) ---------- */
.comecar-brand-panel {
    display: none;
}

/* ---------- Main Card (no visual card on mobile, just a layout container) ---------- */
.comecar-card {
    width: 100%;
    max-width: 420px;
    background: transparent;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2vh;
}

/* ---------- Logo ---------- */
.comecar-logo {
    width: 140px;
    height: auto;
}

/* ---------- Tagline ---------- */
.comecar-tagline {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: #198B86;
    text-align: center;
    letter-spacing: 0.2px;
}

/* ---------- Social Proof ---------- */
.comecar-social-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(135deg, #f0fdfa, #e0f7f5);
    border: 1px solid #b2dfdb;
    border-radius: 12px;
    padding: 8px 12px;
    width: 100%;
    white-space: nowrap;
}

.comecar-social-proof span {
    font-size: 0.75rem;
    font-weight: 600;
    color: #0d7d78;
    letter-spacing: 0.2px;
}

.proof-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #0d9488;
    flex-shrink: 0;
}

/* ---------- Divider ---------- */
.comecar-divider {
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #d1d5db, transparent);
    margin: 4px 0;
}

/* ---------- Primary CTA ---------- */
.comecar-primary-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 4px;
}

.btn-comecar-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #0d9488, #0f766e);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 4px 14px rgba(13, 148, 136, 0.35),
        0 1px 3px rgba(13, 148, 136, 0.2);
    position: relative;
    overflow: hidden;
}

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

.btn-comecar-primary:hover {
    transform: translateY(-2px);
    box-shadow:
        0 8px 24px rgba(13, 148, 136, 0.4),
        0 2px 6px rgba(13, 148, 136, 0.25);
    background: linear-gradient(135deg, #0f766e, #115e59);
    color: #fff;
}

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

.btn-comecar-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(13, 148, 136, 0.3);
}

.comecar-primary-subtitle {
    font-size: 0.78rem;
    color: #6b7280;
    text-align: center;
    font-weight: 400;
}

/* ---------- CRO Onda 1: Emotional Tagline ---------- */
.comecar-emotional-tagline {
    font-family: 'Inter', sans-serif;
    font-style: italic;
    color: #2F9E99;
    font-size: 0.9rem;
    font-weight: 400;
    text-align: center;
    line-height: 1.5;
    margin: 2px 0;
}

/* ---------- CRO Onda 1: Testimonial Carousel ---------- */
.comecar-testimonial-carousel {
    width: 100%;
    display: grid;
    overflow: hidden;
    border-left: 3px solid #0d9488;
    border-radius: 0 8px 8px 0;
    background: rgba(13, 148, 136, 0.04);
}

.testimonial-slide {
    grid-area: 1 / 1;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 12px;
    opacity: 0;
    animation: testimonialFade 15s ease-in-out infinite;
}

.testimonial-slide-1 { animation-delay: 0s; }
.testimonial-slide-2 { animation-delay: 5s; }
.testimonial-slide-3 { animation-delay: 10s; }

@keyframes testimonialFade {
    0%, 5%    { opacity: 0; }
    8%, 28%   { opacity: 1; }
    33%, 100% { opacity: 0; }
}

.testimonial-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 1.5px solid #b2dfdb;
}

.testimonial-content {
    flex: 1;
    min-width: 0;
}

.comecar-testimonial-text {
    font-family: 'Inter', sans-serif;
    font-style: italic;
    font-size: 0.82rem;
    font-weight: 500;
    color: #374151;
    line-height: 1.4;
    margin-bottom: 2px;
}

.comecar-testimonial-author {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 400;
    color: #9ca3af;
    letter-spacing: 0.3px;
}

/* Subtle pulse animation for primary CTA */
@keyframes subtlePulse {
    0%, 100% { box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35), 0 1px 3px rgba(13, 148, 136, 0.2); }
    50% { box-shadow: 0 4px 20px rgba(13, 148, 136, 0.5), 0 1px 3px rgba(13, 148, 136, 0.3); }
}

.btn-comecar-primary {
    animation: subtlePulse 3s ease-in-out infinite;
}

.btn-comecar-primary:hover {
    animation: none;
}

/* ---------- Secondary CTAs ---------- */
.comecar-secondary-ctas {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 8px;
}

.btn-comecar-secondary {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.7);
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    color: #374151;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-comecar-secondary:hover {
    background: #fff;
    border-color: #0d9488;
    color: #0d9488;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.btn-comecar-secondary:active {
    transform: translateY(0);
    box-shadow: none;
}

.btn-icon {
    font-size: 1.2rem;
    width: 28px;
    text-align: center;
    flex-shrink: 0;
}

.btn-icon-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 4px;
}

.btn-arrow {
    margin-left: auto;
    color: #9ca3af;
    font-size: 0.85rem;
    transition: color 0.2s, transform 0.2s;
}

.btn-comecar-secondary:hover .btn-arrow {
    color: #0d9488;
    transform: translateX(3px);
}

/* ---------- iOS Note ---------- */
.comecar-ios-note {
    font-family: 'Inter', sans-serif;
    font-size: 0.73rem;
    color: #9ca3af;
    text-align: center;
    line-height: 1.5;
    margin: -2px 0 0;
    padding: 0 8px;
}

.comecar-ios-note a {
    color: #0d9488;
    font-weight: 600;
    text-decoration: none;
}

.comecar-ios-note a:hover {
    text-decoration: underline;
}

/* ---------- Social Links ---------- */
.comecar-social-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 8px 0;
}

.comecar-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid #e5e7eb;
    transition: all 0.25s ease;
}

.comecar-social-link:hover {
    background: #f0fdfa;
    border-color: #0d9488;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.15);
}

.social-icon {
    width: 22px;
    height: 22px;
}

/* ---------- Footer ---------- */
.comecar-footer {
    text-align: center;
    font-size: 0.72rem;
    color: #9ca3af;
    line-height: 1.6;
    padding: 6px 16px;
    flex-shrink: 0;
}

.comecar-footer a {
    color: #9ca3af;
    transition: color 0.2s;
}

.comecar-footer a:hover {
    color: #0d9488;
}

.footer-sep {
    margin: 0 6px;
}

/* ---------- WhatsApp Floating Button ---------- */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    z-index: 100;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

.whatsapp-float-icon {
    width: 30px;
    height: 30px;
    fill: #fff;
}

/* ---------- Extra small devices ---------- */
@media (max-width: 360px) {
    .comecar-logo {
        width: 120px;
    }

    .btn-comecar-primary {
        font-size: 1.05rem;
        padding: 14px 18px;
    }

    .btn-comecar-secondary {
        padding: 11px 14px;
        font-size: 0.88rem;
    }

    .comecar-tagline {
        font-size: 0.8rem;
    }

    .comecar-emotional-tagline {
        font-size: 0.82rem;
    }

    .comecar-testimonial-text {
        font-size: 0.78rem;
    }
}

/* ============================================================
   TABLET (768px – 1023px)
   ============================================================ */
@media (min-width: 768px) and (max-width: 1023px) {
    .comecar-page {
        padding: 2vh 24px 0;
        justify-content: flex-start;
    }

    .comecar-card {
        max-width: 480px;
    }

    .comecar-logo {
        width: 160px;
    }

    .comecar-tagline {
        font-size: 0.9rem;
    }

    .btn-comecar-primary {
        padding: 18px 28px;
        font-size: 1.2rem;
    }
}

/* ============================================================
   DESKTOP (1024px+) — Two-column layout
   ============================================================ */
@media (min-width: 1024px) {
    body {
        background: #fff;
    }

    .comecar-page {
        flex-direction: row;
        padding: 0;
        flex: 1;
        gap: 0;
        align-items: stretch;
        overflow: hidden;
    }

    /* ---- Left panel: Brand hero (right-aligned text) ---- */
    .comecar-brand-panel {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-end;
        text-align: right;
        width: 50%;
        padding: 40px 60px 40px 40px;
        background:
            radial-gradient(ellipse at 30% 40%, rgba(13, 148, 136, 0.06) 0%, transparent 60%),
            radial-gradient(ellipse at 70% 80%, rgba(244, 114, 182, 0.04) 0%, transparent 50%),
            linear-gradient(160deg, #f0fdfa 0%, #f8fafc 50%, #fdf2f8 100%);
        position: relative;
    }

    .comecar-brand-panel::after {
        content: '';
        position: absolute;
        right: 0;
        top: 10%;
        height: 80%;
        width: 1px;
        background: linear-gradient(180deg, transparent, #d1d5db, transparent);
    }

    .comecar-brand-panel .brand-logo-desktop {
        width: 180px;
        height: auto;
        margin-bottom: 24px;
    }

    .comecar-brand-panel .brand-headline {
        font-family: 'Inter', sans-serif;
        font-size: 2.4rem;
        font-weight: 800;
        color: #1a1a1a;
        line-height: 1.25;
        margin-bottom: 16px;
    }

    .comecar-brand-panel .brand-headline .highlight-teal {
        color: #0d9488;
    }

    .comecar-brand-panel .brand-subtext {
        font-family: 'Montserrat', sans-serif;
        font-size: 1.1rem;
        color: #6b7280;
        line-height: 1.7;
        margin-bottom: 24px;
    }

    .comecar-brand-panel .brand-social-proof-desktop {
        display: flex;
        align-items: center;
        gap: 10px;
        background: rgba(255, 255, 255, 0.7);
        border: 1px solid #b2dfdb;
        border-radius: 12px;
        padding: 14px 24px;
    }

    .comecar-brand-panel .brand-social-proof-desktop span {
        font-size: 0.9rem;
        font-weight: 600;
        color: #0d7d78;
    }

    .comecar-brand-panel .brand-social-proof-desktop .proof-dot {
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: #0d9488;
    }

    /* ---- Right panel: CTAs (left-aligned to mirror) ---- */
    .comecar-card {
        width: 50%;
        max-width: none;
        border-radius: 0;
        border: none;
        background: #fff;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        padding: 40px 40px 40px 60px;
        justify-content: center;
        align-items: flex-start;
        gap: 12px;
    }

    /* Hide mobile-only elements on desktop */
    .comecar-card .comecar-logo {
        display: none;
    }

    .comecar-card .comecar-tagline {
        display: none;
    }

    .comecar-card .comecar-social-proof {
        display: none;
    }

    .comecar-card .comecar-divider:first-of-type {
        display: none;
    }

    /* New CRO elements on desktop */
    .comecar-testimonial-carousel {
        max-width: 440px;
    }

    /* Desktop CTA sizing */
    .comecar-primary-cta {
        gap: 6px;
        max-width: 440px;
    }

    .btn-comecar-primary {
        max-width: 440px;
        padding: 18px 32px;
        font-size: 1.2rem;
        border-radius: 16px;
    }

    .comecar-primary-subtitle {
        font-size: 0.85rem;
    }

    .comecar-divider {
        max-width: 440px;
    }

    .comecar-secondary-ctas {
        max-width: 440px;
        gap: 8px;
    }

    .btn-comecar-secondary {
        padding: 13px 20px;
        font-size: 0.95rem;
        border-radius: 14px;
    }

    .btn-comecar-secondary:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    }

    .comecar-social-row {
        max-width: 440px;
        gap: 16px;
        padding: 8px 0;
        justify-content: center;
    }

    .comecar-social-link {
        width: 48px;
        height: 48px;
    }

    .social-icon {
        width: 24px;
        height: 24px;
    }

    /* Footer: full-width, part of flex flow */
    .comecar-footer {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 10px 24px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border-top: 1px solid #f0f0f0;
        font-size: 0.75rem;
        flex-shrink: 0;
    }
}

/* Large desktop fine-tuning */
@media (min-width: 1440px) {
    .comecar-brand-panel {
        padding: 80px 80px 80px 100px;
    }

    .comecar-brand-panel .brand-headline {
        font-size: 2.8rem;
    }

    .comecar-card {
        padding: 80px 100px 80px 80px;
    }
}

/* Hide brand panel on mobile and tablet */
@media (max-width: 1023px) {
    .comecar-brand-panel {
        display: none;
    }
}

