/* ═══════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-nav);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    background: rgba(8, 8, 8, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.nav__logo {
    height: 36px;
    filter: brightness(1.1);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

/* ── NAV VARIATION: HERO OVERLAY ── */
.nav--hero {
    background: transparent !important;
    border-bottom: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
}

.nav--hero.nav--scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06) !important;
    padding: 10px 0;
}

.nav--hero.nav--scrolled .nav__logo {
    filter: brightness(0);
}

/* ── Pill central — agrupa os links em uma cápsula escura ── */
.nav__pill {
    display: flex;
    align-items: center;
    gap: 2px;
    background: rgba(10, 10, 10, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 99px;
    padding: 4px;
    transition: all 0.3s ease;
}

.nav__pill-link {
    display: inline-block;
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    border-radius: 99px;
    transition: all 0.2s ease;
    letter-spacing: 0.01em;
}

.nav__pill-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.nav__pill-link--active {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

/* Pill links ficam escuros quando nav está com fundo branco */
.nav--hero.nav--scrolled .nav__pill {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.06);
    backdrop-filter: none;
}

.nav--hero.nav--scrolled .nav__pill-link {
    color: #555;
}

.nav--hero.nav--scrolled .nav__pill-link:hover {
    color: #000;
    background: rgba(0, 0, 0, 0.05);
}

.nav--hero.nav--scrolled .nav__pill-link--active {
    background: rgba(0, 0, 0, 0.08);
    color: #000;
}

/* ── CTA direita — (estilo home) ── */
.nav__hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px 10px 24px;
    background: var(--amber);
    color: #000;
    font-size: 13px;
    font-weight: 700;
    border-radius: 99px;
    border: 1.5px solid transparent;
    text-decoration: none;
    transition: all 0.25s ease;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.nav__hero-cta:hover {
    background: #000;
    color: var(--amber);
    border-color: var(--amber);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    transform: translateY(-2px);
}

.nav__hero-cta-arrow {
    width: 26px;
    height: 26px;
    background: #000;
    color: var(--amber);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.nav__hero-cta:hover .nav__hero-cta-arrow {
    background: var(--amber);
    color: #000;
    transform: translateX(2px);
}

/* Mobile Menu Toggle */
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
    cursor: pointer;
    z-index: calc(var(--z-nav) + 1);
}

.nav__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--ease-base);
}

/* Mobile Toggle adapt side colors */
.nav--hero .nav__toggle span {
    background: #fff;
}
.nav--hero.nav--scrolled .nav__toggle span {
    background: #000;
}

.nav__toggle--active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle--active span:nth-child(2) {
    opacity: 0;
}

.nav__toggle--active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav Panel */
.nav__mobile {
    display: none;
    position: fixed;
    inset: 0;
    z-index: var(--z-nav);
    background: rgba(8, 8, 8, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-8);
}

.nav__mobile--open {
    display: flex;
}

body.nav-open .whatsapp-float {
    display: none;
}

.nav__mobile .nav__link {
    font-size: var(--text-xl);
    font-weight: 500;
    color: var(--text-primary);
}

.nav--hero.nav--scrolled ~ .nav__mobile {
    background: rgba(255, 255, 255, 0.98);
}
.nav--hero.nav--scrolled ~ .nav__mobile .nav__link {
    color: #444;
}

@media (max-width: 991px) {
    .nav__pill {
        display: none !important;
    }
    .nav__hero-cta {
        display: none !important;
    }
    .nav__toggle {
        display: flex;
    }
}



/* ═══════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all var(--ease-base);
    letter-spacing: 0.02em;
    white-space: nowrap;
    line-height: 1;
}

.btn--primary {
    background: var(--amber);
    color: #000;
    box-shadow: var(--shadow-glow);
}

.btn--primary:hover {
    background: var(--amber-light);
    color: #000;
    box-shadow: var(--shadow-glow-lg);
    transform: translateY(-2px);
}

.btn--whatsapp {
    background: var(--whatsapp);
    color: #fff;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.btn--whatsapp:hover {
    background: var(--whatsapp-dark);
    color: #fff;
    transform: translateY(-2px);
}

.btn--secondary {
    background: #fff;
    color: #000;
}

.btn--secondary:hover {
    background: #e8e8e8;
    color: #000;
    transform: translateY(-1px);
}

.btn--ghost {
    background: transparent;
    color: var(--amber);
    border: 1px solid var(--amber);
}

.btn--ghost:hover {
    background: var(--amber-subtle);
    color: var(--amber);
}

.btn--text {
    background: none;
    color: var(--text-primary);
    padding: 12px 8px;
}

.btn--text:hover {
    color: var(--amber);
}

.btn--icon {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
    background: var(--bg-surface);
    color: var(--text-primary);
    border: 1px solid var(--border-standard);
}

.btn--icon:hover {
    border-color: var(--amber);
    color: var(--amber);
}

/* Sizes */
.btn--sm {
    padding: 8px 16px;
    font-size: var(--text-xs);
}

.btn--lg {
    padding: 16px 32px;
    font-size: var(--text-base);
}

.btn--xl {
    padding: 18px 40px;
    font-size: var(--text-lg);
}

.btn--full {
    width: 100%;
}


/* ═══════════════════════════════════════
   CARDS
   ═══════════════════════════════════════ */
.card {
    padding: var(--space-8);
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    transition: all var(--ease-base);
    position: relative;
    overflow: hidden;
}

.card--bordered {
    border: 1px solid var(--border-standard);
}

.card--bordered:hover {
    border-color: var(--border-amber);
    transform: translateY(-2px);
}

.card--glow {
    border: 1px solid var(--border-amber);
    box-shadow: 0 0 30px rgba(255, 180, 0, 0.06), inset 0 1px 0 rgba(255, 180, 0, 0.1);
    background: linear-gradient(180deg, rgba(255, 180, 0, 0.03), var(--bg-card));
}

.card--glow:hover {
    box-shadow: 0 0 40px rgba(255, 180, 0, 0.1);
    transform: translateY(-2px);
}

.card--surface {
    background: var(--bg-surface);
}

.card__icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--amber-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-4);
    color: var(--amber);
}

.card__title {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 500;
    margin-bottom: var(--space-2);
}

.card__text {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    line-height: 1.6;
}


/* ═══════════════════════════════════════
   STEP CARDS
   ═══════════════════════════════════════ */
.step-card {
    padding: var(--space-8);
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-standard);
    transition: all var(--ease-base);
}

.step-card:hover {
    border-color: var(--border-amber);
    transform: translateY(-2px);
}

.step-card__number {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 700;
    color: var(--amber);
    line-height: 1;
    margin-bottom: var(--space-4);
    display: block;
    opacity: 0.7;
}

.step-card__title {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 500;
    margin-bottom: var(--space-2);
}

.step-card__text {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.6;
}


/* ═══════════════════════════════════════
   INPUTS / FORMS
   ═══════════════════════════════════════ */
.input-wrap {
    display: flex;
    align-items: center;
    border-radius: var(--radius-full);
    overflow: hidden;
    background: var(--bg-surface);
    border: 1px solid var(--border-standard);
    transition: border-color var(--ease-fast);
}

.input-wrap:focus-within {
    border-color: var(--amber);
}

.input-wrap__icon {
    padding: 0 4px 0 16px;
    color: var(--text-tertiary);
    flex-shrink: 0;
    display: flex;
}

.input {
    flex: 1;
    background: none;
    border: none;
    color: var(--text-primary);
    padding: 14px 16px;
    font-size: var(--text-sm);
    font-family: var(--font-body);
    outline: none;
    width: 100%;
}

.input::placeholder {
    color: var(--text-tertiary);
}

.textarea-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-surface);
    border: 1px solid var(--border-standard);
    transition: border-color var(--ease-fast);
}

.textarea-wrap:focus-within {
    border-color: var(--amber);
}

.textarea {
    width: 100%;
    background: none;
    border: none;
    color: var(--text-primary);
    padding: 14px 16px;
    font-size: var(--text-sm);
    font-family: var(--font-body);
    outline: none;
    resize: vertical;
    min-height: 120px;
}

.textarea::placeholder {
    color: var(--text-tertiary);
}

.select-wrap {
    position: relative;
    border-radius: var(--radius-full);
    background: var(--bg-surface);
    border: 1px solid var(--border-standard);
    transition: border-color var(--ease-fast);
}

.select-wrap:focus-within {
    border-color: var(--amber);
}

.select {
    width: 100%;
    background: none;
    border: none;
    color: var(--text-primary);
    padding: 14px 16px;
    font-size: var(--text-sm);
    font-family: var(--font-body);
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.select option {
    background: var(--bg-surface);
    color: var(--text-primary);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.form-label {
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}


/* ═══════════════════════════════════════
   BADGES
   ═══════════════════════════════════════ */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.badge--amber {
    background: var(--amber-subtle);
    color: var(--amber);
    border: 1px solid rgba(255, 180, 0, 0.2);
}

.badge--live {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
}

.badge--success {
    background: rgba(37, 211, 102, 0.1);
    color: var(--whatsapp);
    border: 1px solid rgba(37, 211, 102, 0.2);
}

.badge--neutral {
    background: var(--bg-surface);
    color: var(--text-secondary);
    border: 1px solid var(--border-standard);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--amber);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}


/* ═══════════════════════════════════════
   FAQ / ACCORDION
   ═══════════════════════════════════════ */
.faq {
    max-width: 700px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.faq__item {
    background: var(--bg-card);
    border: 1px solid var(--border-standard);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--ease-fast);
}

.faq__item[open] {
    border-color: var(--border-amber);
}

.faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    list-style: none;
}

.faq__question::-webkit-details-marker {
    display: none;
}

.faq__icon {
    transition: transform var(--ease-base);
    color: var(--text-tertiary);
    flex-shrink: 0;
}

.faq__item[open] .faq__icon {
    transform: rotate(180deg);
    color: var(--amber);
}

.faq__answer {
    padding: 0 20px 18px;
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.7;
}


/* ═══════════════════════════════════════
   SOCIAL PROOF / METRICS
   ═══════════════════════════════════════ */
.metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

.metric {
    text-align: center;
    padding: var(--space-6) var(--space-4);
}

.metric__value {
    font-family: var(--font-heading);
    font-size: var(--text-5xl);
    font-weight: 700;
    color: var(--amber);
    line-height: 1;
    margin-bottom: var(--space-2);
}

.metric__label {
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .metrics {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ═══════════════════════════════════════
   WHATSAPP FLOATING BUTTON
   ═══════════════════════════════════════ */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: var(--z-whatsapp);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: opacity var(--ease-base), transform var(--ease-base);
}

.whatsapp-float__btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--whatsapp);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all var(--ease-base);
    animation: whatsapp-pulse 3s ease-in-out infinite;
}

.whatsapp-float__btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float__btn svg {
    width: 28px;
    height: 28px;
    color: #fff;
}

.whatsapp-float__tooltip {
    background: var(--bg-elevated);
    color: var(--text-primary);
    font-size: var(--text-xs);
    font-weight: 600;
    padding: 8px 14px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-standard);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all var(--ease-base);
    pointer-events: none;
}

.whatsapp-float:hover .whatsapp-float__tooltip {
    opacity: 1;
    transform: translateX(0);
}

@keyframes whatsapp-pulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6), 0 0 0 12px rgba(37, 211, 102, 0.08);
    }
}


/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-subtle);
    padding: var(--space-16) 0 var(--space-8);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: var(--space-10);
    margin-bottom: var(--space-12);
}

.footer__logo {
    height: 32px;
    margin-bottom: var(--space-4);
}

.footer__desc {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 280px;
}

.footer__heading {
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-4);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer__list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer__link {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    transition: color var(--ease-fast);
}

.footer__link:hover {
    color: var(--amber);
}

.footer__social {
    display: flex;
    gap: var(--space-3);
    margin-top: var(--space-4);
}

.footer__social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 1px solid var(--border-standard);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all var(--ease-fast);
}

.footer__social-link:hover {
    border-color: var(--amber);
    color: var(--amber);
    background: var(--amber-subtle);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-8);
    border-top: 1px solid var(--border-subtle);
    font-size: var(--text-xs);
    color: var(--text-tertiary);
}

@media (max-width: 768px) {
    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-8);
    }

    .footer__bottom {
        flex-direction: column;
        gap: var(--space-2);
        text-align: center;
    }

    /* WhatsApp floating button mobile */
    .whatsapp-float {
        bottom: 16px;
        right: 16px;
    }

    body:not(.is-scrolled) .whatsapp-float {
        opacity: 0;
        pointer-events: none;
        transform: translateY(12px);
    }

    .whatsapp-float__btn {
        width: 50px;
        height: 50px;
    }

    .whatsapp-float__btn svg {
        width: 24px;
        height: 24px;
    }

    .whatsapp-float__tooltip {
        display: none;
    }

    /* Metrics grid mobile */
    .metrics {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
    }

    .metric {
        padding: var(--space-4);
    }

    .metric__value {
        font-size: var(--text-3xl);
    }

    .metric__label {
        font-size: var(--text-xs);
    }

    /* FAQ mobile */
    .faq {
        max-width: 100%;
    }

    .faq__question {
        padding: 16px 18px;
        font-size: 14px;
    }

    .faq__answer {
        padding: 0 18px 16px;
        font-size: var(--text-sm);
    }

    /* Step cards mobile */
    .step-card {
        padding: var(--space-6);
    }

    .step-card__number {
        font-size: 42px;
    }

    .step-card__title {
        font-size: var(--text-base);
    }

    /* Cards mobile */
    .card {
        padding: var(--space-6);
    }

    .card__icon {
        width: 42px;
        height: 42px;
    }

    .card__title {
        font-size: var(--text-base);
    }

    /* Inputs mobile — previne zoom no iOS */
    .input,
    .textarea,
    .select {
        font-size: 16px;
    }

    /* Buttons mobile */
    .btn--lg {
        padding: 14px 28px;
        font-size: var(--text-sm);
    }

    .btn--full-mobile {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .footer__grid {
        grid-template-columns: 1fr;
    }

    .footer {
        padding: var(--space-12) 0 var(--space-6);
    }

    .footer__heading {
        font-size: var(--text-xs);
    }

    .footer__link {
        font-size: var(--text-xs);
    }

    .footer__social-link {
        width: 36px;
        height: 36px;
    }

    /* WhatsApp button menor em telas pequenas */
    .whatsapp-float {
        bottom: 12px;
        right: 12px;
    }

    .whatsapp-float__btn {
        width: 46px;
        height: 46px;
    }

    .whatsapp-float__btn svg {
        width: 22px;
        height: 22px;
    }
}
