@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Raleway:wght@400;700&display=swap');

:root {
    --primary-color: #387A3D;
    --secondary-color: #384640;
    --dark-grey: #000000;
    --medium-grey: #606060;
    --light-grey: #e2e2e2;
    --white: #ffffff;
    --header-font: 'Montserrat', Arial, Helvetica, sans-serif;
    --body-font: 'Raleway', Arial, Helvetica, sans-serif;
}

body {
    font-family: var(--body-font);
    margin: 0;
    line-height: 1.6;
    background-color: var(--white);
    color: var(--dark-grey);
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 0 2rem;
    overflow: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--header-font);
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-top: 0.5rem;
    margin-bottom: 1.2rem;
    color: var(--secondary-color);
}

ul {
    list-style: none;
    padding: 0;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

/* Header */
header {
    background: var(--white);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--light-grey);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary-color);
    font-family: var(--header-font);
}

header nav ul {
    display: flex;
    gap: 25px;
}

header nav ul li a {
    color: var(--dark-grey);
    font-weight: 600;
    font-family: var(--header-font);
    font-size: 1rem;
}

.cta-button {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    display: inline-block;
    border: none;
    cursor: pointer;
    text-align: center;
    font-family: var(--header-font);
}

/* Hero Section */
.hero-bg {
    position: relative;
    min-height: 60vh;
    background: url('/images/banner-site.jpg') center center/cover no-repeat;
    display: flex;
    align-items: center;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(40, 50, 40, 0.7);
    z-index: 1;
}
.hero-center {
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: left;
    max-width: 700px;
    margin: 0;
    padding: 4rem 22rem 4rem 0;
}
.hero-label {
    display: block;
    font-size: 1.1rem;
    color: #d6e07a;
    margin-bottom: 1.2rem;
    font-weight: 600;
    letter-spacing: 1px;
}
.hero-center h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.hero-center ul {
    list-style: none;
    padding: 0;
    margin: 2rem 0 2.5rem 0;
}
.hero-center ul li {
    font-size: 1.1rem;
    margin-bottom: 0.7rem;
    color: #f3f3f3;
}
.hero-center .cta-button {
    margin-top: 1.5rem;
}
@media (max-width: 768px) {
    .hero-center {
        padding: 2.5rem 1rem 2.5rem 0;
    }
    .hero-center h1 { font-size: 2rem; }
}

.hero-form {
    flex: 0 0 400px;
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(56, 122, 61, 0.08);
}

.hero-form h3 {
    text-align: center;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    color: var(--secondary-color);
    font-family: var(--header-font);
}

.hero-form p {
    text-align: justify;
    margin-bottom: 1.5rem;
    color: var(--medium-grey);
    line-height: 1.5;
}

.hero-form form input,
.hero-form form select {
    width: 100%;
    padding: 12px;
    margin-bottom: 1rem;
    border: 1px solid var(--light-grey);
    border-radius: 5px;
    box-sizing: border-box;
    font-family: var(--body-font);
}

.hero-form form button {
    width: 100%;
}

.hero-banner-img {
    flex: 0 0 420px;
    max-width: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-banner-img img {
    width: 100%;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(56, 122, 61, 0.10);
}

/* Stats Section */
.stats {
    padding: 2.5rem 0;
    background-color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item p {
    margin: 0;
}

.stat-item strong {
    font-size: 2.2rem;
    color: var(--primary-color);
    font-weight: 700;
}

/* Solutions Section */
.solutions {
    padding: 2.5rem 0;
    background: var(--white);
}

.solutions-intro {
    display: block;
    width: 100%;
    text-align: center;
    color: var(--medium-grey);
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
}

#solutions .container {
    padding-top: 4rem;
}

.solution-cards-flex {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.solution-card {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 10px;
    flex: 1 1 0;
    min-width: 0;
    max-width: 350px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.solution-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.solution-card h4 {
    color: var(--secondary-color);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.solution-subtitle {
    color: var(--medium-grey);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.solution-card ul {
    list-style: '✔ ';
    padding-left: 1.5rem;
}

.solution-card ul li {
    margin-bottom: 0.5rem;
}

@media (max-width: 992px) {
    .solution-cards-flex {
        flex-direction: column;
        align-items: center;
    }
    .solution-card {
        flex-basis: 100%;
    }
}

.diseases {
    padding: 2.5rem 0;
    background: var(--light-grey);
}

.diseases-list {
    columns: 2;
    -webkit-columns: 2;
    -moz-columns: 2;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.diseases-list li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    break-inside: avoid-column;
}

.diseases > .container > p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
}

.testimonials {
    padding: 2.5rem 0;
    background-color: var(--white);
}

.testimonial-grid {
    display: flex;
    overflow-x: auto;
    gap: 2rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1rem;
}

.testimonial-card {
    min-width: 320px;
    max-width: 380px;
    flex: 0 0 340px;
    scroll-snap-align: start;
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 10px;
    border-top: 4px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    position: relative;
}

.testimonial-card p {
    font-style: italic;
    color: var(--medium-grey);
    margin-bottom: 1rem;
}

.testimonial-card h4 {
    text-align: right;
    color: var(--secondary-color);
}

.faq {
    padding: 2.5rem 0;
    background-color: var(--light-grey);
}

.faq .container {
    max-width: 800px;
}

.faq-item {
    background-color: var(--white);
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

.faq-item h4 {
    margin: 0;
}

.faq-list {
    margin-top: 2rem;
}

.faq-question {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    color: var(--secondary-color);
    font-family: var(--header-font);
}

.faq-question:after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: transform 0.2s;
}

.faq-item.open .faq-question {
    color: var(--primary-color);
}
.faq-item.open .faq-question:after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.faq-item.open .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 500px; /* Adjust as needed */
    transition: max-height 0.4s ease-in, padding 0.4s ease-in;
}

footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 3rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-content h3, .footer-content h4 {
    color: var(--white);
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}
.footer-links ul li a, footer p {
    color: var(--light-grey);
}
.footer-bottom {
    border-top: none;
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
}

.footer-bottom p {
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
    line-height: 1;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact .icon-email, .footer-contact .icon-whatsapp {
    font-size: 1.2rem;
}

.footer-contact a {
    color: var(--light-grey);
}

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

.footer-logo-img {
    height: 60px;
    margin-right: 10px;
    vertical-align: middle;
}

@media(max-width: 992px) {
    header nav ul {
        display: none;
    }
    .hero-content {
        padding: 3rem 1.5rem;
    }
    .hero-form {
        margin: 2rem 0 0 0;
    }
    .stats-grid, .testimonial-grid {
        grid-template-columns: 1fr;
    }
    .solutions .container {
        padding-top: 2rem;
    }
    .footer-content {
        grid-template-columns: 1fr;
    }
    .diseases-list {
        columns: 1;
        -webkit-columns: 1;
        -moz-columns: 1;
    }
}

.hero-content.reverse {
    flex-direction: row-reverse;
}

.trust-badge {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 1rem;
}

.cta-button, .hero-form form button {
    transition: background-color 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
}

.cta-button:hover, .hero-form form button:hover {
    background-color: #2e6031;
}

.btn-icon {
    margin-right: 8px;
    font-size: 1rem;
    display: inline-block;
}

.how-it-works {
    padding: 2.5rem 0;
    background-color: var(--light-grey);
}

.how-it-works h2 {
    margin-bottom: 3rem;
}

.steps {
    display: flex;
    justify-content: space-around;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.step {
    text-align: center;
    flex-basis: 200px;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}

.step:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 700;
    margin: 0 auto 1rem auto;
    font-size: 1.2rem;
}

.testimonial-card {
    position: relative;
    padding-top: 3rem;
    border-left: none;
    border-top: 4px solid var(--primary-color);
}

.testimonial-card:before {
    content: '“';
    font-family: Georgia, serif;
    font-size: 5rem;
    color: var(--primary-color);
    position: absolute;
    top: -1rem;
    left: 1.5rem;
    opacity: 0.8;
}

@media(max-width: 992px) {
    .hero-content.reverse {
        flex-direction: column-reverse;
    }
    .steps {
        flex-direction: column;
        align-items: center;
    }
}

.contact-social {
    text-align: center;
    margin-top: 1.5rem;
}

.contact-social a {
    color: var(--medium-grey);
    margin: 0 10px;
}

.contact-social a:hover {
    color: var(--primary-color);
}

.highlight {
    color: #d6e07a;
}

.legal-base, .solution-details {
    padding: 2.5rem 0;
    text-align: center;
}

.legal-base h2, .solution-details h2 {
    margin-bottom: 1.5rem;
}
.legal-base p, .solution-details p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
}

.team {
    padding: 2.5rem 0;
    background-color: var(--light-grey);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    align-items: flex-start;
}

.team-member {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid var(--primary-color);
}

.team-member h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.team-member p {
    color: var(--medium-grey);
}
.team-desc {
    margin-top: 3rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
}
@media(max-width: 992px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

.logo-img {
    height: 60px;
    margin-right: 10px;
    vertical-align: middle;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 30px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2001;
}
.hamburger span {
    display: block;
    width: 28px;
    height: 4px;
    background: var(--secondary-color);
    margin: 4px 0;
    border-radius: 2px;
    transition: all 0.3s;
}

.nav-links {
    display: flex;
    align-items: center;
}

@media (max-width: 992px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        flex-direction: column;
        padding-bottom: 1rem;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links ul {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .nav-links ul li {
        margin: 1rem 0;
        text-align: center;
    }

    .nav-links ul li a {
        font-size: 1.2rem;
    }

    .hamburger {
        display: flex;
    }

    header nav .nav-links {
        display: none;
    }

    header nav .nav-links.open {
        display: flex;
    }
}

.hero-content.reverse {
    flex-direction: row-reverse;
}

.trust-badge {
    background: var(--primary-color);
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.cta-button, .hero-form form button {
    border-radius: 30px;
    box-shadow: 0 2px 8px rgba(56, 122, 61, 0.08);
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
}

.cta-button:active, .hero-form form button:active {
    transform: scale(0.97);
    box-shadow: 0 2px 6px rgba(56, 122, 61, 0.08);
}

.btn-icon {
    font-size: 1.1em;
    margin-right: 0.2em;
    display: inline-block;
}

/* Overlay para menu hambúrguer */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.35);
    z-index: 1500;
    transition: opacity 0.3s;
}
.menu-overlay.open {
    display: block;
}

/* Animação do ícone hambúrguer para X */
.hamburger.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
}
.hamburger.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}
.hamburger span {
    transition: all 0.3s;
}

/* Divisores decorativos entre seções */
.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #387A3D 0%, #384640 100%);
    border-radius: 2px;
    margin: 2.5rem auto 2.5rem auto;
}

/* Espaçamento e centralização em telas pequenas */
@media(max-width: 992px) {
    .container {
        padding: 0 1rem;
    }
    .footer-content {
        text-align: center;
    }
    .footer-contact p {
        justify-content: center;
    }
}

@media (max-width: 1200px) {
    .hero-banner-img {
        flex: 0 0 320px;
        max-width: 320px;
    }
}

@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        gap: 2rem;
    }
    .hero-banner-img {
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
        padding: 0 1rem;
    }
    .hero-banner-img img {
        max-width: 350px;
        margin: 0 auto;
        display: block;
    }
}

.form-section {
    background: var(--light-grey);
    padding: 2.5rem 0 1.5rem 0;
}

.form-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    max-width: 700px;
    margin: 0 auto;
}
.form-logo-col {
    flex: 0 0 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.form-logo-img {
    width: 150px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(56, 122, 61, 0.10);
}
.form-section .hero-form {
    flex: 1 1 320px;
    max-width: 480px;
    margin: 0 auto;
}
@media (max-width: 700px) {
    .form-flex {
        flex-direction: column;
        gap: 1.5rem;
        max-width: 100%;
    }
    .form-logo-col {
        margin-bottom: 0.5rem;
    }
    .form-section .hero-form {
        max-width: 100%;
    }
    .form-logo-img {
        width: 110px;
    }
}

.floating-cta {
    display: none;
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 3000;
    background: var(--primary-color);
    color: #fff;
    font-family: var(--header-font);
    font-size: 1.1rem;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 32px;
    box-shadow: 0 4px 16px rgba(56, 122, 61, 0.18);
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
.floating-cta:active {
    transform: scale(0.97);
}
@media (max-width: 700px) {
    .floating-cta {
        display: block;
    }
}

.consultor-label {
    display: block;
    font-size: 0.98rem;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 0.5px;
}

@media (max-width: 700px) {
    .testimonial-card {
        min-width: 90vw;
        max-width: 95vw;
        flex: 0 0 90vw;
    }
}

.testimonial-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.testimonial-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(56, 122, 61, 0.12);
    opacity: 0.85;
    transition: background 0.2s, opacity 0.2s;
}
.testimonial-arrow.left {
    left: -18px;
}
.testimonial-arrow.right {
    right: -18px;
}
.testimonial-arrow:hover {
    background: var(--secondary-color);
    opacity: 1;
}
@media (max-width: 700px) {
    .testimonial-arrow {
        width: 32px;
        height: 32px;
        font-size: 1.2rem;
        left: 2px;
        right: 2px;
    }
    .testimonial-arrow.left {
        left: 2px;
    }
    .testimonial-arrow.right {
        right: 2px;
    }
}