﻿* { -webkit-font-smoothing: antialiased; }
body { font-family: 'Inter', sans-serif; color: #052650; }
h1,h2,h3,h4,h5 { font-family: 'Bricolage Grotesque', sans-serif; }

/* ── Smooth anchor scroll ── */
html { scroll-behavior: smooth; }

/* ── Skip link (acessibilidade) ── */
.skip-link {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 1000;
    background: #052650;
    color: #fff;
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 600;
    transform: translateY(-140%);
    transition: transform 0.2s ease;
}
.skip-link:focus {
    transform: translateY(0);
    outline: 2px solid #0BAA43;
    outline-offset: 2px;
}

/* ── Slider custom ── */
.range-slider {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: #E8ECF0;
    outline: none;
}
.range-slider::-webkit-slider-runnable-track {
    height: 4px;
    border-radius: 999px;
    background: transparent;
}
.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #0BAA43;
    cursor: pointer;
    box-shadow: 0 0 0 4px rgba(11,170,67,0.15);
    margin-top: -8px;
    transition: box-shadow 0.2s;
}
.range-slider::-webkit-slider-thumb:hover {
    box-shadow: 0 0 0 6px rgba(11,170,67,0.2);
}
.range-slider::-moz-range-track {
    height: 4px;
    border-radius: 999px;
    background: #E8ECF0;
}
.range-slider::-moz-range-progress {
    height: 4px;
    border-radius: 999px;
    background: #0BAA43;
}
.range-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #0BAA43;
    cursor: pointer;
    border: none;
    box-shadow: 0 0 0 4px rgba(11,170,67,0.15);
}

/* ── FAQ Accordion ── */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1), padding 0.3s ease;
}
.faq-answer.open {
    max-height: 500px;
}
.faq-icon {
    transition: transform 0.3s ease;
}
.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

/* ── Barra comparativa ── */
.bar-fill {
    width: 0%;
    transition: width 1.2s cubic-bezier(0.4,0,0.2,1);
}

/* ── Header scroll ── */
#header {
    transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

/* ── Nav links underline ── */
.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0BAA43;
    transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

/* ── Step connector ── */
.step-connector {
    position: absolute;
    top: 28px;
    left: calc(50% + 28px);
    width: calc(100% - 56px);
    height: 2px;
    background: linear-gradient(90deg, #0BAA43, #E8ECF0);
}

/* ── Card hover ── */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-hover:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(5,38,80,0.12);
}

/* ── Slider progress fill ── */
.slider-wrap { position: relative; }
.slider-track {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 4px;
    background: #0BAA43;
    border-radius: 2px;
    pointer-events: none;
}

/* ── Mobile menu ── */
#mobile-menu {
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.3s ease;
}
#mobile-menu.hidden-menu {
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
}

/* ── Hamburger ── */
.ham-line {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ── Reveal animations ── */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
/* Delay helpers */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── Simulador → Formulário ── */
.sim-panel { display: block; }
.sim-panel.hidden-panel { display: none; }

.tipo-btn,
.tipo-btn2,
.forma-btn,
.forma-btn2 {
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.tipo-btn:hover,
.tipo-btn2:hover,
.forma-btn:hover,
.forma-btn2:hover {
    transform: translateY(-1px);
}
.tipo-btn.active,
.tipo-btn2.active {
    box-shadow: 0 14px 28px rgba(5, 38, 80, 0.14);
    border-color: #052650;
    background: linear-gradient(180deg, rgba(5,38,80,0.08), rgba(5,38,80,0.02));
    color: #052650;
}
.forma-btn.active,
.forma-btn2.active {
    box-shadow: 0 14px 28px rgba(11, 170, 67, 0.18);
    border-color: #0BAA43;
    background: linear-gradient(180deg, rgba(11,170,67,0.12), rgba(11,170,67,0.04));
    color: #0BAA43;
}

.sim-result-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.sim-result-modal.hidden {
    display: none;
}
.sim-result-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 38, 80, 0.55);
    backdrop-filter: blur(8px);
}
.sim-result-modal__dialog {
    position: relative;
    width: min(100%, 720px);
    background: #fff;
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 30px 80px rgba(5, 38, 80, 0.25);
    border: 1px solid rgba(232, 236, 240, 1);
}
.sim-result-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid #E8ECF0;
    background: #fff;
    color: #052650;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.sim-result-modal__close:hover {
    transform: rotate(90deg);
    border-color: #0BAA43;
    color: #0BAA43;
}


@keyframes float {
    0%,100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}
.float-badge { animation: float 3s ease-in-out infinite; }

/* ── Section tab active ── */
.tab-btn.active {
    background: #052650;
    color: #fff;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #0BAA43; border-radius: 3px; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { scroll-behavior: auto !important; }
    .reveal,
    .card-hover,
    #header,
    .faq-answer,
    .ham-line {
        transition: none !important;
    }
    .reveal { transform: none !important; }
    .float-badge { animation: none !important; }
}

/* ── Botão flutuante WhatsApp ── */
.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 60;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, #0AAA43, #0AAA43);
    color: #fff;
    box-shadow: 0 18px 40px rgba(11, 170, 67, 0.32);
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}
.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 24px 46px rgba(11, 170, 67, 0.38);
}
.whatsapp-float__icon {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.18);
    flex-shrink: 0;
}
.whatsapp-float__icon svg {
    width: 24px;
    height: 24px;
}
.whatsapp-float__text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.whatsapp-float__text strong {
    font-size: 0.95rem;
    font-weight: 700;
}
.whatsapp-float__text small {
    font-size: 0.74rem;
    opacity: 0.9;
}

@media (max-width: 640px) {
    .whatsapp-float {
        right: 14px;
        bottom: 14px;
        padding: 10px;
    }
    .whatsapp-float__text {
        display: none;
    }
    .whatsapp-float__icon {
        width: 52px;
        height: 52px;
    }
}


/* ── Modelo 10: Hover List com Preview ── */
.hover-list-item { border-bottom: 1px solid #E8ECF0; transition: background 0.2s; cursor: pointer; }
.hover-list-item:hover { background: #f0fdf4; }
.hover-list-item:hover .list-num { color: #0BAA43; }
.hover-list-item:hover .list-arrow { transform: translateX(4px); color: #0BAA43; }
.list-arrow { transition: transform 0.2s, color 0.2s; }
.preview-panel { position: sticky; top: 100px; }
.preview-card { display: none; }
.preview-card.active { display: flex; }
