/* =========================================================
   HERO
========================================================= */
.hero {
    background: url('https://orcamentador.com.br/images/api-topo.jpg') center/cover no-repeat;
    min-height: 40vh;
    display: flex;
    align-items: center;
    position: relative;
    color: #fff;
    text-shadow: 0 2px 5px rgba(0,0,0,0.6);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-left: 3rem;
}

/* =========================================================
   SEÇÕES
========================================================= */
.section-alt {
    background: #e8eef7;
}

/* =========================================================
   CARDS / PRICING
========================================================= */
.pricing-card {
    position: relative;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform .3s ease, box-shadow .3s ease;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.price-tag {
    display: inline-block;
    margin-bottom: 14px;
    padding: 10px 22px;
    font-size: 1.15rem;
    font-weight: 700;
    border-radius: 16px;
    background: linear-gradient(90deg, #f8f9fa, #e9ecef);
}

.ribbon {
    position: absolute;
    top: -10px;
    right: -10px;
    padding: 5px 15px;
    font-size: .8rem;
    font-weight: 700;
    color: #fff;
    background: #0d6efd;
    border-radius: 8px;
    transform: rotate(10deg);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* =========================================================
   TESTIMONIAL
========================================================= */
.testimonial-box {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* =========================================================
   ANIMAÇÕES
========================================================= */
.fade-in {
    opacity: 0;
    animation: fadeIn 1.2s ease-in-out forwards;
}

.fade-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1.2s ease forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   NAVBAR – COMPORTAMENTO BASE
========================================================= */
.top-nav a {
    white-space: nowrap;
}

/* Desktop: navbar sobre o hero */
@media (min-width: 769px) {
    .navbar {
        position: absolute;
        top: 0;
    }
}

/* Mobile: navbar ocupa espaço normal */
@media (max-width: 768px) {
    .navbar {
        position: relative;
        background: rgba(0,0,0,0.75);
        backdrop-filter: blur(6px);
        transition: background .3s ease;
    }

    .navbar-collapse {
        text-align: center;
    }

    .animated-menu {
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity .25s ease, transform .25s ease;
    }

    .animated-menu.show {
        opacity: 1;
        transform: translateY(0);
    }

    .hero-content {
        padding-left: 1rem;
        text-align: center;
    }

    .hero h1 {
        font-size: 1.9rem;
    }

    .hero p {
        font-size: 1rem;
    }
}

/* Mobile pequeno */
@media (max-width: 480px) {
    .top-nav a {
        width: 100%;
        text-align: center;
        padding: 0.5rem;
    }
}

/* =========================================================
   NAVBAR – ESTADO FIXO APÓS SCROLL
========================================================= */
.navbar.scrolled {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.footer {
    background: linear-gradient(180deg, #121212, #0a0a0a);
}

.footer-links li {
    margin-bottom: 6px;
}

.footer-link {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color .2s ease;
}

.footer-link:hover {
    color: #fff;
}

.footer-social {
    color: rgba(255,255,255,0.7);
    font-size: 1.25rem;
    transition: color .2s ease, transform .2s ease;
}

.footer-social:hover {
    color: #0d6efd;
    transform: translateY(-2px);
}

.footer h6 {
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .footer {
        text-align: center;
    }
}
/* FAQ – animação suave */
.accordion-collapse {
    transition: height 0.35s ease, opacity 0.3s ease;
}

.accordion-collapse.collapsing {
    opacity: 0;
}

.accordion-collapse.show {
    opacity: 1;
}
/* FAQ – botão */
.accordion-button {
    font-weight: 600;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(13, 110, 253, 0.08);
    color: #0d6efd;
}

/* Ícone mais suave */
.accordion-button::after {
    transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
    transform: rotate(180deg);
}