/* ═══════════════════════════════════════════════
   Gestor da Obra Landing Page — Custom Styles
   ═══════════════════════════════════════════════ */

:root {
    --primary: #0b877d;
    --primary-dark: #075952;
    --primary-light: #e6f5f3;
    --success: #25bf97;
    --warning: #f6ad55;
    --error: #fc8181;
    --bg: #f3f4f6;
    --text-dark: #363f4d;
    --text-mid: #535d6e;
    --text-muted: #6d819c;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

* {
    box-sizing: border-box;
}

body {
    font-family: "Roboto", sans-serif;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
}

/* ── Navbar ── */
.navbar-brand {
    font-weight: 700;
    font-size: 1.55rem;
    color: var(--primary) !important;
    letter-spacing: -0.5px;
}

.navbar-brand span {
    color: var(--text-dark);
}

.navbar-brand img {
    height: 32px;
    margin-right: 8px;
}

.navbar {
    padding: 0.85rem 0;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
    background: rgba(255, 255, 255, 0.96);
}

.nav-link {
    font-weight: 500;
    color: var(--text-mid) !important;
    margin: 0 0.35rem;
    transition: color 0.2s;
    font-size: 0.95rem;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--primary) !important;
}

/* ── Buttons ── */
.btn-primary-custom {
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    padding: 0.6rem 1.5rem;
    font-weight: 500;
    transition: all 0.25s ease;
    font-size: 0.95rem;
}

.btn-primary-custom:hover {
    background: var(--primary-dark);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(11, 135, 125, 0.35);
}

.btn-outline-custom {
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: var(--radius-sm);
    padding: 0.55rem 1.5rem;
    font-weight: 500;
    background: transparent;
    transition: all 0.25s ease;
    font-size: 0.95rem;
}

.btn-outline-custom:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-lg-custom {
    padding: 0.8rem 2.2rem;
    font-size: 1.05rem;
    border-radius: var(--radius);
}

/* ── Hero ── */
.hero-section {
    background: linear-gradient(
        160deg,
        var(--white) 0%,
        var(--primary-light) 50%,
        #d5f0ec 100%
    );
    padding: 7rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(
        circle,
        rgba(11, 135, 125, 0.08) 0%,
        transparent 70%
    );
    top: -100px;
    right: -100px;
    border-radius: 50%;
}

.hero-section::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(
        circle,
        rgba(37, 191, 151, 0.06) 0%,
        transparent 70%
    );
    bottom: -50px;
    left: -50px;
    border-radius: 50%;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-dark);
    letter-spacing: -1px;
}

.hero-title .highlight {
    color: var(--primary);
    position: relative;
}

.hero-title .highlight::after {
    content: "";
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(11, 135, 125, 0.15);
    border-radius: 4px;
    z-index: -1;
}

.hero-subtitle {
    font-size: 1.18rem;
    color: var(--text-mid);
    font-weight: 300;
    line-height: 1.7;
    max-width: 520px;
}

.hero-mockup {
    max-width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    transition: transform 0.4s ease;
}

.hero-mockup:hover {
    transform: scale(1.02);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(11, 135, 125, 0.1);
    color: var(--primary-dark);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.2rem;
}

.hero-badge i {
    font-size: 1rem;
}

.hero-trust-badges {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* ── Section commons ── */
.section-padding {
    padding: 5.5rem 0;
}

.section-bg {
    background: var(--bg);
}

.section-title {
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.6rem;
    letter-spacing: -0.5px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    font-weight: 300;
    max-width: 560px;
    margin: 0 auto 3rem;
}

/* ── Features ── */
.feature-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem 1.6rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(11, 135, 125, 0.15);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius);
    background: var(--primary-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.1rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: var(--primary);
}

.feature-icon i {
    font-size: 1.6rem;
    color: var(--primary);
    transition: color 0.3s ease;
}

.feature-card:hover .feature-icon i {
    color: var(--white);
}

.feature-card h5 {
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* ── Feature Showcase ── */
.feature-showcase-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(11, 135, 125, 0.1);
    color: var(--primary-dark);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.2rem;
}

.feature-showcase-badge i {
    font-size: 1rem;
}

.feature-showcase-title {
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.6rem;
    letter-spacing: -0.5px;
    text-align: left;
}

.feature-showcase-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    font-weight: 300;
    margin-bottom: 2rem;
    max-width: 560px;
}

.feature-showcase-point {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.3rem;
}

.feature-showcase-point-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-showcase-point-icon i {
    font-size: 1.3rem;
    color: var(--primary);
}

.feature-showcase-point h6 {
    font-weight: 600;
    margin-bottom: 0.2rem;
    color: var(--text-dark);
}

.feature-showcase-point p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

.feature-showcase-img {
    max-width: 100%;
    border-radius: 31px;
    box-shadow: var(--shadow-lg);
    transition: transform 0.4s ease;
}

.feature-showcase-img:hover {
    transform: scale(1.02);
}

/* ── How it works ── */
.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--success) 100%);
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    box-shadow: 0 4px 15px rgba(11, 135, 125, 0.3);
}

.step-card {
    text-align: center;
    padding: 1.5rem;
}

.step-card h5 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

.step-connector {
    display: none;
}

@media (min-width: 768px) {
    .step-connector {
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--primary);
        font-size: 1.5rem;
        opacity: 0.4;
        padding-top: 1rem;
    }
}

/* ── Pricing ── */
.pricing-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: scale(1.03);
}

.pricing-card.featured::before {
    content: "MAIS POPULAR";
    position: absolute;
    top: 25px;
    right: -48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--success) 100%);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 2.5rem;
    transform: rotate(45deg);
    letter-spacing: 1px;
}

.pricing-card .plan-name {
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--text-mid);
    margin-bottom: 0.3rem;
}

.pricing-card .plan-price {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.1;
}

.pricing-card .plan-price small {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-muted);
}

.pricing-card .plan-price .currency {
    font-size: 1.4rem;
    font-weight: 500;
    vertical-align: super;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    flex: 1;
}

.plan-features li {
    padding: 0.45rem 0;
    font-size: 0.9rem;
    color: var(--text-mid);
    display: flex;
    align-items: flex-start;
    gap: 4px;
}

.plan-features li i {
    color: var(--success);
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.plan-features li.limited i {
    color: var(--error);
}

/* ── Billing Toggle ── */
.billing-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0;
    background: #e2e8f0;
    border-radius: 50px;
    padding: 4px;
    position: relative;
    margin-top: 1.2rem;
}

.billing-btn {
    border: none;
    background: transparent;
    padding: 0.5rem 1.6rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-mid);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.billing-btn.active {
    background: var(--white);
    color: var(--text-dark);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-weight: 600;
}

.billing-btn:hover:not(.active) {
    color: var(--text-dark);
}

.billing-discount-badge {
    position: absolute;
    top: -10px;
    right: -8px;
    background: var(--success);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 50px;
    letter-spacing: 0.5px;
    z-index: 1;
}

/* ── Annual pricing extras ── */
.badge-economize {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(37, 191, 151, 0.12);
    color: #1a9a75;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    margin-bottom: 0.3rem;
}

.badge-economize i {
    font-size: 0.9rem;
}

.plan-annual-total {
    margin: 0.3rem 0 0;
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.annual-total-value {
    display: inline-block;
    background: rgba(37, 191, 151, 0.12);
    color: #1a9a75;
    font-weight: 600;
    padding: 0.15rem 0.6rem;
    border-radius: 50px;
    font-size: 0.78rem;
}

.annual-total-strike {
    text-decoration: line-through;
    color: var(--error);
    font-size: 0.78rem;
}

.price-monthly {
    display: none;
}

.price-annual {
    display: none;
}

.price-monthly,
.price-annual {
    min-height: 95px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.price-monthly.active,
.price-annual.active {
    display: flex;
}

/* ── Client Panel ── */
.client-section {
    background: linear-gradient(160deg, #075952 0%, #0b877d 50%, #25bf97 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.client-section::before {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.06) 0%,
        transparent 70%
    );
    top: -100px;
    left: -100px;
    border-radius: 50%;
}

.client-section .section-title {
    color: var(--white);
}

.client-section .section-subtitle {
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 2rem;
}

.client-point {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.3rem;
}

.client-point-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.client-point-icon i {
    font-size: 1.3rem;
}

.client-point h6 {
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.client-point p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.5;
}

.client-mockup {
    max-width: 320px;
    border-radius: 29px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    transform: rotate(3deg);
}

/* ── FAQ ── */
.accordion-item {
    border: none;
    margin-bottom: 0.7rem;
    border-radius: var(--radius) !important;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.accordion-button {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.95rem;
    padding: 1.1rem 1.3rem;
    background: var(--white);
    border-radius: var(--radius) !important;
}

.accordion-button:not(.collapsed) {
    background: var(--white);
    color: var(--primary);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230b877d'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
    padding-top: 0;
}

/* ── CTA Final ── */
.cta-section {
    background: linear-gradient(160deg, #075952, #0b877d, #25bf97);
    color: var(--white);
}

.cta-section .cta-title {
    font-size: 2rem;
}

.cta-section .cta-subtitle {
    color: rgba(255, 255, 255, 0.8);
    max-width: 500px;
    margin: 0 auto 2rem;
    font-weight: 300;
}

.btn-cta {
    background: var(--white);
    color: var(--primary);
    font-weight: 600;
    border: none;
    border-radius: var(--radius);
    padding: 0.85rem 2.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn-cta:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
}

/* ── Footer ── */
.footer {
    background: #1a2332;
    color: rgba(255, 255, 255, 0.6);
    padding: 3.5rem 0 1.5rem;
}

.footer h6 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.footer-description {
    font-size: 0.88rem;
    line-height: 1.7;
}

.footer-links {
    line-height: 2.2;
}

.footer a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.88rem;
}

.footer a:hover {
    color: var(--success);
}

.footer-brand {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white) !important;
}

.footer-brand span {
    color: var(--success);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.3rem;
    margin-top: 2.5rem;
    font-size: 0.82rem;
}

.social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6) !important;
    margin-right: 0.4rem;
    transition: all 0.2s;
    font-size: 1.1rem;
}

.social-link:hover {
    background: var(--primary);
    color: var(--white) !important;
    transform: translateY(-2px);
}

/* ── Animations ── */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.3rem;
    }

    .hero-section {
        padding: 6rem 0 3rem;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .section-padding {
        padding: 4rem 0;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 1.85rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.65rem;
    }

    .hero-mockup {
        margin-top: 2.5rem;
    }

    .client-mockup {
        margin-top: 2rem;
        max-width: 260px;
    }

    .btn-lg-custom {
        padding: 0.7rem 1.6rem;
        font-size: 0.95rem;
    }
}
