:root {
    --primary: #16a34a;
    --primary-dark: #15803d;
    --secondary: #0f172a;
    --text: #1e293b;
    --muted: #64748b;
    --background: #ffffff;
    --background-soft: #f8fafc;
    --card: #ffffff;
    --border: #e2e8f0;
    --shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
    --radius: 20px;
}

body.dark-mode {
    --secondary: #f8fafc;
    --text: #e2e8f0;
    --muted: #94a3b8;
    --background: #0f172a;
    --background-soft: #111827;
    --card: #1e293b;
    --border: #334155;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background: var(--background);
    transition: background 0.3s ease, color 0.3s ease;
}

a {
    text-decoration: none;
}

.section-padding {
    padding: 100px 0;
}

.section-heading {
    max-width: 800px;
    margin: 0 auto;
}

.section-label {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.section-heading h2,
.about-section h2 {
    margin-bottom: 20px;
    color: var(--secondary);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
}

.section-heading h2 span,
.about-section h2 span {
    color: var(--primary);
}

.section-heading p {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.8;
}


/* =========================================================
   NAVBAR
========================================================= */

#mainNavbar {
    padding: 14px 0;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    backdrop-filter: blur(15px);
    transition: 0.3s ease;
}

.dark-mode #mainNavbar {
    background: rgba(15, 23, 42, 0.92);
    border-color: var(--border);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--secondary);
    font-size: 1.15rem;
    font-weight: 500;
}

.navbar-brand strong {
    font-weight: 800;
}

.brand-icon {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 12px;
    color: white;
    background: var(--primary);
}

.nav-link {
    color: var(--text);
    font-weight: 600;
    margin: 0 5px;
}

.nav-link:hover {
    color: var(--primary);
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border: 0;
    border-radius: 10px;
    color: white;
    background: #25d366;
    font-weight: 700;
    transition: 0.25s ease;
}

.btn-whatsapp:hover {
    color: white;
    background: #1ebe5d;
    transform: translateY(-2px);
}

.theme-button {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text);
    background: var(--card);
}

.navbar-toggler {
    border: 0;
    color: var(--text);
    font-size: 1.5rem;
}


/* =========================================================
   HERO
========================================================= */

.hero-section {
    position: relative;
    overflow: hidden;
    background: var(--background-soft);
}

.hero-background {
    position: absolute;
    top: -300px;
    right: -300px;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: rgba(22, 163, 74, 0.08);
}

.hero-section h1 {
    margin: 25px 0;
    color: var(--secondary);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.05;
}

.text-gradient {
    color: var(--primary);
}

.hero-description {
    max-width: 680px;
    color: var(--muted);
    font-size: 1.2rem;
    line-height: 1.8;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 100px;
    color: var(--primary-dark);
    background: rgba(22, 163, 74, 0.1);
    font-size: 0.85rem;
    font-weight: 800;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.btn-primary-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 25px;
    border-radius: 10px;
    color: white;
    background: var(--primary);
    font-weight: 700;
    transition: 0.25s ease;
}

.btn-primary-custom:hover {
    color: white;
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline-custom {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 25px;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    background: var(--card);
    font-weight: 700;
}

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

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
    color: var(--muted);
    font-size: 0.9rem;
}

.hero-trust i {
    color: var(--primary);
    margin-right: 5px;
}

.hero-card {
    padding: 40px;
    border: 1px solid var(--border);
    border-radius: 25px;
    background: var(--card);
    box-shadow: var(--shadow);
}

.hero-card-icon {
    display: grid;
    width: 65px;
    height: 65px;
    margin-bottom: 20px;
    place-items: center;
    border-radius: 18px;
    color: white;
    background: var(--primary);
    font-size: 1.8rem;
}

.hero-card h2 {
    color: var(--secondary);
    font-size: 1.8rem;
    font-weight: 800;
}

.hero-card p {
    color: var(--muted);
    line-height: 1.7;
}

.hero-card-items {
    margin: 25px 0;
}

.hero-card-items div {
    margin: 12px 0;
    color: var(--text);
}

.hero-card-items i {
    margin-right: 8px;
    color: var(--primary);
}


/* =========================================================
   PROBLEMAS
========================================================= */

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

.problem-card {
    height: 100%;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card);
    transition: 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.problem-card i {
    color: var(--primary);
    font-size: 2rem;
}

.problem-card h3 {
    margin: 20px 0 10px;
    color: var(--secondary);
    font-size: 1.25rem;
    font-weight: 800;
}

.problem-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}


/* =========================================================
   SERVIÇOS
========================================================= */

.services-section {
    background: var(--background-soft);
}

.service-card {
    position: relative;
    height: 100%;
    padding: 35px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card);
    transition: 0.3s ease;
}

.service-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow);
}

.featured-service {
    border: 2px solid var(--primary);
}

.service-icon {
    display: grid;
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    place-items: center;
    border-radius: 15px;
    color: white;
    background: var(--primary);
    font-size: 1.6rem;
}

.service-card h3 {
    color: var(--secondary);
    font-size: 1.35rem;
    font-weight: 800;
}

.service-card p {
    min-height: 80px;
    color: var(--muted);
    line-height: 1.7;
}

.service-card a {
    color: var(--primary);
    font-weight: 800;
}

.service-card a i {
    margin-left: 5px;
}


/* =========================================================
   PROCESSO
========================================================= */

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

.process-card {
    position: relative;
    height: 100%;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card);
}

.process-number {
    position: absolute;
    top: 20px;
    right: 25px;
    color: rgba(22, 163, 74, 0.15);
    font-size: 2rem;
    font-weight: 900;
}

.process-card > i {
    display: block;
    margin: 15px 0;
    color: var(--primary);
    font-size: 2.5rem;
}

.process-card h3 {
    color: var(--secondary);
    font-weight: 800;
}

.process-card p {
    color: var(--muted);
    line-height: 1.7;
}


/* =========================================================
   SOBRE
========================================================= */

.about-section {
    background: var(--background-soft);
}

.about-image {
    display: flex;
    min-height: 400px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: 30px;
    color: white;
    /*background: linear-gradient(135deg, #166534, #16a34a);*/
    box-shadow: var(--shadow);
}

.about-icon {
    display: grid;
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
    place-items: center;
    border-radius: 35px;
    background: rgba(255, 255, 255, 0.15);
    font-size: 4rem;
}

.about-image span {
    font-weight: 700;
}

.about-section p {
    color: var(--muted);
    line-height: 1.8;
}

.about-list {
    margin: 25px 0;
}

.about-list div {
    margin: 12px 0;
    color: var(--text);
    font-weight: 600;
}

.about-list i {
    margin-right: 8px;
    color: var(--primary);
}


/* =========================================================
   DEPOIMENTOS
========================================================= */

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

.testimonial-card {
    height: 100%;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card);
}

.stars {
    margin-bottom: 15px;
    color: #f59e0b;
    letter-spacing: 3px;
}

.testimonial-card p {
    color: var(--muted);
    line-height: 1.8;
}

.testimonial-card strong {
    color: var(--secondary);
}


/* =========================================================
   FAQ
========================================================= */

.faq-section {
    background: var(--background-soft);
}

.faq-accordion .accordion-item {
    margin-bottom: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--card);
}

.faq-accordion .accordion-button {
    color: var(--secondary);
    background: var(--card);
    box-shadow: none;
    font-weight: 700;
}

.faq-accordion .accordion-button:not(.collapsed) {
    color: var(--primary);
}

.faq-accordion .accordion-body {
    color: var(--muted);
    line-height: 1.7;
}


/* =========================================================
   CTA
========================================================= */

.cta-section {
    padding: 80px 0;
    background: var(--background);
}

.cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 55px;
    border-radius: 30px;
    color: white;
    background: linear-gradient(135deg, #14532d, #16a34a);
}

.cta-box h2 {
    max-width: 650px;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
}

.cta-box p {
    max-width: 650px;
    margin: 0;
    opacity: 0.85;
    line-height: 1.7;
}

.cta-box .section-label {
    color: white;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    padding: 70px 0 30px;
    color: #cbd5e1;
    background: #020617;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: white;
    font-size: 1.3rem;
    font-weight: 800;
}

.footer p {
    color: #94a3b8;
    line-height: 1.7;
}

.footer h4 {
    margin-bottom: 20px;
    color: white;
    font-size: 1rem;
}

.footer a {
    display: block;
    margin-bottom: 10px;
    color: #94a3b8;
}

.footer a:hover {
    color: white;
}

.footer hr {
    margin: 40px 0 25px;
    border-color: #1e293b;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #64748b;
    font-size: 0.85rem;
}


/* =========================================================
   WHATSAPP FLUTUANTE
========================================================= */

.whatsapp-floating {
    position: fixed;
    z-index: 999;
    right: 25px;
    bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 100px;
    color: white;
    background: #25d366;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
    font-weight: 800;
    animation: whatsappPulse 2s infinite;
}

.whatsapp-floating:hover {
    color: white;
}


/* =========================================================
   RESPONSIVIDADE
========================================================= */

@media (max-width: 991px) {

    .navbar-collapse {
        margin-top: 15px;
        padding: 20px;
        border-radius: 15px;
        background: var(--card);
        box-shadow: var(--shadow);
    }

    .nav-item {
        margin: 5px 0;
    }

    .hero-section h1 {
        font-size: 3rem;
    }

    .cta-box {
        flex-direction: column;
        align-items: flex-start;
    }

}


@media (max-width: 767px) {

    .section-padding {
        padding: 70px 0;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

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

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons a {
        width: 100%;
    }

    .hero-card {
        padding: 25px;
    }

    .hero-trust {
        flex-direction: column;
        gap: 8px;
    }

    .about-image {
        min-height: 300px;
    }

    .cta-box {
        padding: 35px 25px;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .whatsapp-floating {
        right: 15px;
        bottom: 15px;
        width: 58px;
        height: 58px;
        justify-content: center;
        padding: 0;
        border-radius: 50%;
    }

    .whatsapp-floating span {
        display: none;
    }

}


@keyframes whatsappPulse {

    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

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

}

/* =========================================================
   NOTÍCIAS OFICIAIS
========================================================= */

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

.news-source-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--card);
    box-shadow: 0 10px 35px rgba(15, 23, 42, 0.05);
    transition: 0.3s ease;
}

.news-source-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}


.news-source-header {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 30px;
    border-bottom: 1px solid var(--border);
}


.news-source-icon {
    display: grid;
    flex: 0 0 65px;
    width: 65px;
    height: 65px;
    place-items: center;
    border-radius: 18px;
    color: white;
    font-size: 1.7rem;
}


.simples-icon {
    background: linear-gradient(
        135deg,
        #15803d,
        #16a34a
    );
}


.receita-icon {
    background: linear-gradient(
        135deg,
        #1d4ed8,
        #2563eb
    );
}


.news-source-label {
    display: block;
    margin-bottom: 5px;
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1.5px;
}


.news-source-header h3 {
    margin: 0;
    color: var(--secondary);
    font-size: 1.45rem;
    font-weight: 800;
}


.news-source-body {
    padding: 30px;
}


.news-source-body > p {
    margin-bottom: 25px;
    color: var(--muted);
    line-height: 1.8;
}


.news-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}


.news-topics span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 11px;
    border-radius: 8px;
    color: var(--text);
    background: var(--background-soft);
    font-size: 0.8rem;
    font-weight: 600;
}


.news-topics i {
    color: var(--primary);
}


.news-source-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    width: 100%;
    padding: 14px 18px;
    border-radius: 10px;
    color: white;
    background: var(--primary);
    font-weight: 700;
    transition: 0.25s ease;
}


.news-source-button:hover {
    color: white;
    background: var(--primary-dark);
    transform: translateY(-2px);
}


.news-source-button i {
    font-size: 1.1rem;
}


.news-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    max-width: 850px;
    margin: 35px auto 0;
    padding: 18px 22px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--background-soft);
}


.news-disclaimer > i {
    margin-top: 2px;
    color: var(--primary);
    font-size: 1.2rem;
}


.news-disclaimer p {
    margin: 0;
    color: var(--muted);
    font-size: 0.85rem;
    line-height: 1.6;
}


/* =========================================================
   NOTÍCIAS - MOBILE
========================================================= */

@media (max-width: 767px) {

    .news-source-header {
        padding: 22px;
    }

    .news-source-body {
        padding: 22px;
    }

    .news-source-icon {
        flex-basis: 55px;
        width: 55px;
        height: 55px;
    }

    .news-source-header h3 {
        font-size: 1.2rem;
    }

    .news-source-button {
        font-size: 0.9rem;
    }

    .news-disclaimer {
        padding: 15px;
    }

}

/* =========================================================
   AVALIAÇÕES DOS CLIENTES
========================================================= */

.reviews-section {
    background: var(--background-soft);
}


/* =========================================================
   FORMULÁRIO
========================================================= */

.review-form-card {
    padding: 35px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--card);
    box-shadow: var(--shadow);
}

.review-form-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.review-form-icon {
    display: grid;
    flex: 0 0 55px;
    width: 55px;
    height: 55px;
    place-items: center;
    border-radius: 15px;
    color: white;
    background: var(--primary);
    font-size: 1.3rem;
}

.review-form-header h3 {
    margin: 0 0 4px;
    color: var(--secondary);
    font-size: 1.25rem;
    font-weight: 800;
}

.review-form-header p {
    margin: 0;
    color: var(--muted);
    font-size: 0.85rem;
}


/* =========================================================
   CAMPOS
========================================================= */

.review-field {
    position: relative;
    margin-bottom: 22px;
}

.review-field label {
    display: block;
    margin-bottom: 8px;
    color: var(--secondary);
    font-size: 0.9rem;
    font-weight: 700;
}

.review-field .form-control,
.review-field .form-select {
    min-height: 48px;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    background: var(--background);
    box-shadow: none;
}

.review-field textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.review-field .form-control:focus,
.review-field .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1);
}


/* =========================================================
   ESTRELAS
========================================================= */

.star-rating {
    display: flex;
    align-items: center;
    gap: 4px;
}

.star-button {
    padding: 3px;
    border: 0;
    color: #cbd5e1;
    background: transparent;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    transition: 0.15s ease;
}

.star-button:hover,
.star-button.active {
    color: #f59e0b;
    transform: scale(1.08);
}

.star-button.preview {
    color: #fbbf24;
}

.rating-message {
    display: block;
    margin-top: 7px;
    color: var(--muted);
}


/* =========================================================
   CONTADOR
========================================================= */

.character-counter {
    position: absolute;
    right: 10px;
    bottom: 8px;
    color: var(--muted);
    font-size: 0.75rem;
}


/* =========================================================
   CONSENTIMENTO
========================================================= */

.review-consent {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-bottom: 20px;
}

.review-consent input {
    width: 17px;
    height: 17px;
    margin-top: 2px;
    accent-color: var(--primary);
}

.review-consent label {
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.5;
}


/* =========================================================
   MENSAGEM DO FORMULÁRIO
========================================================= */

.review-form-message {
    display: none;
    margin-top: 15px;
    padding: 12px 15px;
    border-radius: 10px;
    font-size: 0.85rem;
}

.review-form-message.success {
    display: block;
    color: #166534;
    background: #dcfce7;
}

.review-form-message.error {
    display: block;
    color: #991b1b;
    background: #fee2e2;
}


/* =========================================================
   RESUMO
========================================================= */

.reviews-summary {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 25px;
    padding: 25px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--card);
}

.reviews-score {
    flex: 0 0 170px;
    text-align: center;
}

.reviews-score strong {
    display: block;
    color: var(--secondary);
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
}

.reviews-stars {
    margin: 10px 0;
    color: #f59e0b;
    letter-spacing: 2px;
}

.reviews-score span {
    display: block;
    color: var(--muted);
    font-size: 0.75rem;
}

.reviews-summary-text {
    padding-left: 30px;
    border-left: 1px solid var(--border);
}

.reviews-summary-text strong {
    color: var(--secondary);
    font-size: 1.15rem;
}

.reviews-summary-text p {
    margin: 7px 0 0;
    color: var(--muted);
    line-height: 1.6;
}


/* =========================================================
   CARD DE AVALIAÇÃO
========================================================= */

.review-card {
    margin-bottom: 15px;
    padding: 25px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--card);
    transition: 0.25s ease;
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.review-card-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.review-avatar {
    display: grid;
    flex: 0 0 45px;
    width: 45px;
    height: 45px;
    place-items: center;
    border-radius: 50%;
    color: white;
    background: var(--primary);
    font-weight: 800;
}

.review-client {
    flex: 1;
}

.review-client strong {
    display: block;
    color: var(--secondary);
}

.review-client span {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 0.75rem;
}

.review-card-stars {
    color: #f59e0b;
    letter-spacing: 1px;
}

.review-card > p {
    margin-bottom: 15px;
    color: var(--muted);
    line-height: 1.7;
}

.review-card > small {
    color: var(--primary);
    font-weight: 700;
}

.review-card > small i {
    margin-right: 4px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .review-form-card {
        padding: 25px;
    }

    .reviews-summary {
        flex-direction: column;
        text-align: center;
    }

    .reviews-summary-text {
        padding-top: 20px;
        padding-left: 0;
        border-top: 1px solid var(--border);
        border-left: 0;
    }

    .review-card-top {
        flex-wrap: wrap;
    }

    .review-card-stars {
        width: 100%;
        margin-left: 57px;
    }

}