/* ── main.css ──────────────────────────────────────────────────────────────
   Merged from all <style> blocks in index.html
   Block 1: <head> styles  (lines 104-628)
   Block 2: .checklist-item styles  (line 867)
   Block 3: .acc-item / accordion styles  (line 883)
   Block 4: .cf-step / Como Funciona animation  (line 1129)
─────────────────────────────────────────────────────────────────────────── */

/* ── Block 1 ────────────────────────────────────────────────────────────── */
body { font-family: 'Inter', sans-serif; font-weight: 300; line-height: 1.5; color: #334155; letter-spacing: -0.01em; }
h1, h2, h3, h4, h5, h6 { font-family: 'Inter', sans-serif; letter-spacing: -0.02em; color: #0f172a; }
p, span, a, li { font-family: 'Inter', sans-serif; }

/* Força Tarefa: Títulos Negritos */
.product-btn .text-\[13px\],
.acc-title,
.product-panel h3,
#mobile-menu .mobile-menu-product-link,
.nav-link {
    font-weight: 800 !important;
}
.hero-highlight {
    background: linear-gradient(90deg, #ff6b81 0%, #ffc06a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}
@keyframes text-shimmer {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}
.hero-blue-gradient {
    background: linear-gradient(90deg, #BAE6FD 0%, #0099dd 25%, #BAE6FD 50%, #0099dd 75%, #BAE6FD 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
    animation: text-shimmer 8s linear infinite;
}
html { scroll-behavior: auto; }
/* ── Custom Animations ── */
@keyframes aurora-drift {
    0%   { transform: translate(0%,  0%)  scale(1);    }
    25%  { transform: translate(4%, -3%)  scale(1.04); }
    50%  { transform: translate(-3%, 5%)  scale(0.97); }
    75%  { transform: translate(6%,  2%)  scale(1.06); }
    100% { transform: translate(-5%,-4%)  scale(1.02); }
}
@keyframes aurora-drift-reverse {
    0%   { transform: translate(0%,  0%)  scale(1.02); }
    30%  { transform: translate(-5%, 4%)  scale(0.96); }
    60%  { transform: translate(4%, -5%)  scale(1.05); }
    100% { transform: translate(3%,  3%)  scale(0.99); }
}
@keyframes fade-in-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes scroll-vertical {
    from { transform: translateY(0); }
    to { transform: translateY(-50%); }
}
@keyframes scroll-vertical-reverse {
    from { transform: translateY(-50%); }
    to { transform: translateY(0); }
}
@keyframes scroll-horizontal {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@keyframes scroll-horizontal-reverse {
    from { transform: translateX(-50%); }
    to { transform: translateX(0); }
}

.animate-scroll-horizontal { animation: scroll-horizontal 30s linear infinite; }
.animate-scroll-horizontal-reverse { animation: scroll-horizontal-reverse 30s linear infinite; }
.animate-scroll-vertical { animation: scroll-vertical var(--duration, 30s) linear infinite; }
.animate-scroll-vertical-reverse { animation: scroll-vertical-reverse var(--duration, 30s) linear infinite; }
.aurora-layer-1 { animation: aurora-drift 14s ease-in-out infinite alternate; }
.aurora-layer-2 { animation: aurora-drift-reverse 18s ease-in-out infinite alternate; mix-blend-mode: screen; }

.scroll-mask {
    mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
}

.avatar-sprite {
    background-size: 200% 200%;
    background-repeat: no-repeat;
    background-position: center;
}

/* Prevent scroll bar for custom elements */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

.btn-glow:hover {
    box-shadow: 0 0 0 1px rgba(0,153,221,0.7), 0 12px 40px rgba(0,153,221,0.45);
}

/* Hero title: break only on desktop */
.hero-br { display: none; }
@media (min-width: 640px) { .hero-br { display: block; } }

/* Logo: sem compressão no mobile */
#logo-img { max-width: none !important; width: auto !important; height: 32px !important; }
@media (min-width: 1024px) { #logo-img { height: 36px !important; } }

/* Navbar responsivo (corrige Tailwind purged) */
@media (max-width: 1023px) {
    #desktop-nav { display: none !important; }
    #desktop-cta { display: none !important; }
    #mobile-menu-toggle { display: flex !important; }
}
@media (min-width: 1024px) {
    #desktop-nav { display: flex !important; }
    #desktop-cta { display: block !important; }
    #mobile-menu-toggle { display: none !important; }
}

/* Navbar scrolled state */
#navbar.scrolled { background: #ffffff; box-shadow: 0 4px 20px rgba(0,0,0,0.08); border-bottom: 1px solid #f1f5f9; }
#navbar.scrolled a { color: #003956 !important; }
#navbar.scrolled #nav-nav-produtos { color: #003956 !important; }
#navbar.scrolled > div svg { stroke: #003956 !important; }

/* ── Produtos Dropdown (Itaú style) ── */
#produtos-dropdown {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s;
    z-index: 99;
}
#produtos-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s;
}
.dd-prod-link {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 8px 10px;
    font-size: 15px;
    color: #334155;
    font-weight: 400;
    border: none;
    border-radius: 8px;
    background: none;
    cursor: pointer;
    width: 100%;
    text-align: left;
    transition: color 0.15s, background 0.15s;
}
.dd-prod-link { color: #334155; }
.dd-prod-link:hover { color: #0099dd; background: #f0f7ff; }
.dd-prod-link:hover .dd-icon { background: rgba(0,153,221,0.15); }
.dd-icon {
    width: 30px; height: 30px;
    background: #f1f5f9;
    border-radius: 7px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: background 0.15s;
}
.eco-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 13px 14px;
    border: none;
    border-bottom: 1px solid #e8eaed;
    background: none;
    cursor: pointer;
    text-align: left;
    transition: background 0.18s;
}
.eco-card:last-child { border-bottom: none; }
.eco-card:hover { background: #003956; border-radius: 0; }
.eco-card:hover .eco-name { color: #fff; }
.eco-card:hover .eco-desc { color: rgba(255,255,255,0.55); }
.eco-card:hover svg { stroke: #fff; }
.eco-name { font-size: 14px; font-weight: 700; color: #003956; transition: color 0.18s; }
.eco-desc { font-size: 11px; color: #94a3b8; margin-top: 2px; font-weight: 400; transition: color 0.18s; }
.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #0099dd;
    transition: width 0.3s ease;
}
.nav-link:hover::after {
    width: 100%;
}

/* ── Mobile Menu ── */
#mobile-menu {
    position: fixed; top: 0; right: -100%; width: 85%; max-width: 360px;
    height: 100vh; background: #fff; z-index: 200;
    transition: right 0.35s cubic-bezier(.4,0,.2,1);
    overflow-y: auto; padding: 0;
    box-shadow: -8px 0 40px rgba(0,0,0,0.15);
}
#mobile-menu.open { right: 0; }
#mobile-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.5); z-index: 190;
}
#mobile-overlay.open { display: block; }

#whatsapp-float.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(0.9);
}

/* ── Carousel: tamanho consistente em todos os celulares (381px–767px) ── */
@media (min-width: 381px) and (max-width: 767px) {
    #carousel-row1,
    #carousel-row2 {
        gap: 48px !important;
    }

    #carousel-row1 img,
    #carousel-row2 img {
        height: 40px !important;
    }

    #carousel-row1 img[alt="Mercado Pago"],
    #carousel-row2 img[alt="Mercado Pago"] {
        height: 26px !important;
    }
}

@media (max-width: 380px) {
    #navbar {
        padding-top: 14px;
        padding-bottom: 14px;
    }

    #navbar .max-w-7xl {
        padding-left: 14px;
        padding-right: 14px;
    }

    #navbar .w-1\/4 {
        width: auto;
        flex: 0 0 auto;
    }

    #logo-img {
        height: 36px !important;
    }

    #mobile-menu {
        padding: 16px 14px 28px;
    }

    #inicio {
        min-height: 100svh;
        padding-top: 104px !important;
        padding-bottom: 48px !important;
    }

    #inicio .relative.z-10 {
        padding-left: 18px;
        padding-right: 18px;
    }

    #inicio h1 {
        font-size: clamp(1.95rem, 10.8vw, 2.65rem) !important;
        line-height: 1.02 !important;
        letter-spacing: -0.025em;
        margin: 0 auto 16px !important;
        max-width: 11.5ch;
    }

    #inicio p {
        margin-top: 0 !important;
        font-size: 15px !important;
        line-height: 1.6 !important;
        max-width: 18rem;
    }

    #inicio .mt-14 {
        margin-top: 28px !important;
        gap: 16px 18px !important;
    }

    #inicio [data-counter] {
        font-size: 1.45rem !important;
    }

    #produtos {
        padding-top: 56px !important;
        padding-bottom: 56px !important;
    }

    #produtos .max-w-4xl,
    #como-funciona .max-w-7xl,
    #parceiros .max-w-7xl,
    footer .max-w-7xl,
    section .max-w-5xl {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    .acc-title {
        font-size: 15px;
        line-height: 1.3;
    }

    .acc-body {
        padding: 0 0 24px 0;
    }

    .acc-body ul {
        padding-left: 0;
    }

    .acc-link {
        width: 100%;
        justify-content: space-between;
        line-height: 1.3;
    }

    #como-funciona {
        padding: 72px 0 !important;
    }

    #como-funciona .mb-24 {
        margin-bottom: 42px !important;
    }

    #como-funciona h2 {
        font-size: clamp(2.7rem, 15vw, 3.5rem) !important;
        line-height: 0.96 !important;
        margin-bottom: 14px !important;
    }

    #como-funciona p.text-white\/40 {
        font-size: 15px !important;
        line-height: 1.55 !important;
        max-width: 15rem;
    }

    #como-funciona .grid {
        gap: 22px !important;
    }

    .cf-step {
        padding-right: 8px;
    }

    .cf-step-title {
        font-size: 14px !important;
        line-height: 1.3 !important;
        margin-bottom: 8px !important;
    }

    .cf-step-desc {
        font-size: 12px !important;
        line-height: 1.55 !important;
    }

    #parceiros {
        padding-top: 64px !important;
        padding-bottom: 64px !important;
    }

    #parceiros .mb-24 {
        margin-bottom: 36px !important;
    }

    #parceiros h2 {
        font-size: 2.4rem !important;
        line-height: 1 !important;
        margin-bottom: 18px !important;
    }

    #parceiros p {
        font-size: 15px !important;
        line-height: 1.6 !important;
    }

    #carousel-row1,
    #carousel-row2 {
        gap: 36px !important;
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }

    #carousel-row1 img,
    #carousel-row2 img {
        height: 32px !important;
    }

    #carousel-row1 img[alt="Mercado Pago"],
    #carousel-row2 img[alt="Mercado Pago"] {
        height: 20px !important;
    }

    section[style*="padding-top:64px; padding-bottom:160px;"] {
        padding-top: 56px !important;
        padding-bottom: 88px !important;
    }

    section[style*="padding-top:64px; padding-bottom:160px;"] h2 {
        font-size: 2.25rem !important;
        line-height: 1.02 !important;
        margin-bottom: 18px !important;
    }

    section[style*="padding-top:64px; padding-bottom:160px;"] p {
        font-size: 15px !important;
        line-height: 1.6 !important;
    }

    section[style*="padding-top:64px; padding-bottom:160px;"] button {
        width: 100%;
        padding: 18px 20px !important;
        font-size: 15px !important;
    }

    section[style*="padding-top:64px; padding-bottom:160px;"] .mt-16 {
        margin-top: 28px !important;
        gap: 12px 16px !important;
        letter-spacing: 0.18em !important;
    }

    footer {
        padding-top: 48px !important;
        padding-bottom: 48px !important;
    }

    footer .grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 32px 24px !important;
    }

    footer .lg\:col-span-4 {
        grid-column: 1 / -1 !important;
    }

    footer .mb-24 {
        margin-bottom: 40px !important;
    }

    footer h4 {
        margin-bottom: 14px !important;
    }

    footer .space-y-4 > li {
        margin-bottom: 10px;
    }

    footer .space-y-8 {
        gap: 16px !important;
    }

    footer .lg\:col-span-2 {
        grid-column: 1 / -1 !important;
        flex-direction: row !important;
        gap: 24px !important;
    }

    footer .lg\:col-span-2 > div {
        flex: 1;
    }

    footer .space-y-10 {
        gap: 28px;
    }

    footer .space-y-16 {
        gap: 34px !important;
    }

    footer .pt-16 {
        padding-top: 32px !important;
    }

    footer .mb-12 {
        margin-bottom: 36px !important;
    }

    footer .text-lg {
        font-size: 1rem !important;
    }

    button.fixed.bottom-8.right-8 {
        right: 14px !important;
        bottom: 14px !important;
        padding: 12px !important;
    }

    button.fixed.bottom-8.right-8 svg {
        width: 24px !important;
        height: 24px !important;
    }

    #lead-modal {
        padding: 12px !important;
    }

    #lead-modal > div.relative.z-10 {
        max-width: none !important;
        border-radius: 20px !important;
        padding: 28px 18px 20px !important;
    }

    #lead-modal h3 {
        font-size: 18px !important;
        line-height: 1.25 !important;
        padding-right: 20px;
    }

    #lead-modal p,
    #lead-modal input,
    #lead-modal button,
    #lead-modal select {
        font-size: 14px !important;
    }

    #parceria-modal {
        padding: 16px 10px !important;
    }

    #parceria-modal > div {
        border-radius: 24px !important;
    }
}

/* ── Block 2: .checklist-item ────────────────────────────────────────────── */
.checklist-item { transition: all 0.25s ease; border-radius: 10px; padding: 10px 12px !important; margin-left: -12px; cursor: default; border-bottom: 1px solid #f1f5f9 !important; }
.checklist-item:last-child { border-bottom: none !important; }
.checklist-item:hover { background: rgba(0,153,221,0.07); transform: translateX(6px); color: #003956; border-bottom-color: transparent !important; }
.checklist-item:hover .checklist-icon { transform: scale(1.3); transition: transform 0.25s ease; }
.checklist-icon { transition: transform 0.25s ease; }

/* ── Block 3: Accordion ──────────────────────────────────────────────────── */
.acc-item { background: #fff; border-radius: 20px; transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1); margin-bottom: 24px; }
.acc-item.open { box-shadow: 0 12px 40px rgba(0,57,86,0.08); }
.acc-header { display: flex; align-items: center; gap: 16px; padding: 24px 28px; cursor: pointer; width: 100%; text-align: left; background: none; border: none; border-radius: 20px; }
.acc-header:hover .acc-title { transform: translateX(8px); }
.acc-chevron { margin-left: auto; flex-shrink: 0; color: #9ca3af; transition: transform 0.25s ease; }
.acc-item.open .acc-chevron { transform: rotate(180deg); color: #003956; }
.acc-body { display: none; padding: 0 28px 32px 76px; }
.acc-item.open .acc-body { display: block; }
.acc-desc { color: #6b7280; font-size: 15px; line-height: 1.75; margin-bottom: 18px; }
.acc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.acc-tag { font-size: 11px; font-weight: 700; color: #003956; background: rgba(0,57,86,0.07); padding: 4px 10px; border-radius: 999px; }
.acc-link { font-size: 14px; font-weight: 700; color: #0099dd; text-decoration: none; display: inline-flex; align-items: center; line-height: 1; gap: 6px; background: none; border: none; padding: 0; border-radius: 0; transition: all 0.2s; }
.acc-link svg { display: block; flex-shrink: 0; }
.acc-link:hover { color: #003956; gap: 10px; }
.acc-icon { width: 32px; height: 32px; flex-shrink: 0; color: #003956; transition: all 0.3s ease; }
.acc-item.open .acc-icon { color: #0099dd; transform: scale(1.1); }
.acc-title { font-family: 'Inter', sans-serif !important; font-size: 18px; font-weight: 600 !important; color: #003956 !important; line-height: 1.2; transition: all 0.2s ease; }
.acc-subtitle { font-family: 'Inter', sans-serif !important; font-size: 13px; color: #64748b; font-weight: 400; margin-top: 4px; letter-spacing: 0.01em; }

/* ── Block 4: Como Funciona animation ───────────────────────────────────── */
.cf-step { opacity:0; transform:translateY(28px); transition:opacity 0.95s ease, transform 0.95s ease; }
.cf-step.visible { opacity:1; transform:translateY(0); }
.cf-dot { opacity:0; transform:scale(0); transition:opacity 0.7s ease, transform 0.7s cubic-bezier(.34,1.56,.64,1); }
.cf-dot.visible { opacity:1; transform:scale(1); }
.cf-line { transform-origin:left; transform:scaleX(0); transition:transform 1.15s cubic-bezier(.4,0,.2,1); }
.cf-line.visible { transform:scaleX(1); }
.cf-step:hover .cf-step-title { color:#0099dd; }
.cf-step-title { transition:color 0.25s; }
.cf-step:hover .cf-dot { transform:scale(1.5) !important; box-shadow:0 0 0 6px rgba(0,153,221,0.3),0 0 16px rgba(0,153,221,0.4) !important; }
.cf-step-desc { transition:color 0.25s; }
.cf-step:hover .cf-step-desc { color:rgba(255,255,255,0.8) !important; }
/* Linha vertical + layout timeline no mobile */
@keyframes cf-line-v { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@media (max-width: 639px) {
    #cf-steps-grid {
        display: flex !important;
        flex-direction: column;
        gap: 28px;
    }
    .cf-step {
        display: grid !important;
        grid-template-columns: 24px 1fr;
        grid-template-rows: auto auto;
        column-gap: 16px;
    }
    .cf-step > div:first-child {
        grid-column: 1;
        grid-row: 1 / 3;
        margin-bottom: 0 !important;
        display: flex;
        justify-content: center;
        padding-top: 2px;
        position: relative;
    }
    /* Linha entre passos — apenas nos que NÃO são o último */
    .cf-step:not(:last-child) > div:first-child::after {
        content: '';
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: 12px;
        height: calc(100% - 12px + 28px);
        width: 1px;
        background: rgba(255,255,255,0.2);
        animation: cf-line-v 1.15s cubic-bezier(.4,0,.2,1) 0.3s both;
    }
    .cf-step-title {
        grid-column: 2;
        grid-row: 1;
    }
    .cf-step-desc {
        grid-column: 2;
        grid-row: 2;
    }
}

/* ── Carousel Marquee — infinite CSS animation ─────────────────────────────── */
@keyframes marquee-left {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@keyframes marquee-right {
    from { transform: translateX(-50%); }
    to   { transform: translateX(0); }
}

#carousel-row1 {
    animation: marquee-right 32s linear infinite;
    will-change: transform;
    width: max-content;
}
#carousel-row2 {
    animation: marquee-left 40s linear infinite;
    will-change: transform;
    width: max-content;
}

/* Pause on hover — desktop only (touch devices não têm hover real) */
@media (hover: hover) {
    .carousel-wrapper:hover #carousel-row1,
    .carousel-wrapper:hover #carousel-row2 {
        animation-play-state: paused;
    }
}

/* Fade edges */
.carousel-wrapper::before,
.carousel-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}
.carousel-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #f8fafc, transparent);
}
.carousel-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #f8fafc, transparent);
}

/* Mobile: reduz fade das bordas para não engolir logos */
@media (max-width: 767px) {
    .carousel-wrapper::before,
    .carousel-wrapper::after {
        width: 40px;
    }
}

