/* Variáveis e Reset Básico */
:root {
    --primary-green: #00b09b; /* Cor de destaque principal */
    --primary-dark: #1e3a53; /* Cor de texto e elementos escuros */
    --light-bg: #f5f8fa;
    --white: #ffffff;
    --gray-light: #e0e6ed;
    --gray-mid: #9ea9b4;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --border-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--primary-dark);
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--white) 100%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 5rem 0;
}

h1, h2, h3 {
    font-weight: 800;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    text-align: center;
    margin-bottom: 3rem;
}

/* Botões */
.btn {
    padding: 0.9rem 2rem;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: var(--shadow);
    transform: translateY(0);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: var(--primary-green);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #008f7d;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-dark);
    border: 2px solid var(--primary-dark);
}

.btn-secondary:hover {
    background-color: var(--primary-dark);
    color: var(--white);
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-dark);
    font-weight: 800;
    font-size: 1.5rem;
}

.logo span {
    margin-left: 0.5rem;
}

/* Mobile menu */
.nav-list {
    display: none;
    flex-direction: column;
    width: 100%;
    text-align: center;
    padding-top: 1rem;
}

.nav-list.active {
    display: flex;
}

.nav-list li {
    list-style: none;
    margin: 0.5rem 0;
}

.nav-list a {
    text-decoration: none;
    color: var(--primary-dark);
    font-weight: 600;
    transition: color 0.3s ease;
    display: block;
    padding: 0.5rem;
}

.nav-list a:hover {
    color: var(--primary-green);
}

.profile-button {
    background: var(--light-bg);
    border: 1px solid var(--gray-light);
    padding: 0.7rem 1.5rem;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary-dark);
    transition: all 0.3s ease;
}

.profile-button:hover {
    background-color: var(--gray-light);
}

.menu-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 2rem;
    color: var(--primary-dark);
}

.mobile-actions {
    display: none;
    width: 100%;
    margin-top: 1rem;
    gap: 1rem;
    flex-direction: column;
}

/* Hero Section */
.hero-section {
    padding: 6rem 0;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 3rem;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--gray-mid);
}

.hero-actions {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.hero-mascot {
    max-width: 100%;
    height: auto;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Products Section */
.products-section {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 4rem;
}

.tabs-container {
    max-width: 900px;
    margin: 0 auto;
}

.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--gray-light);
    flex-wrap: wrap; /* Para quebrar linha em telas menores */
}

.tab-button {
    background: transparent;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    cursor: pointer;
    color: var(--gray-mid);
    font-weight: 600;
    border-bottom: 4px solid transparent;
    transition: all 0.3s ease;
}

.tab-button:hover {
    color: var(--primary-green);
}

.tab-button.active {
    border-color: var(--primary-green);
    color: var(--primary-green);
}

.tab-pane {
    display: none;
    padding: 2rem;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.tab-pane.active {
    display: block;
}

.product-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: var(--border-radius);
}

.product-info-image {
    max-width: 180px;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.product-text-content {
    flex-grow: 1;
    text-align: center;
}

.product-text-content h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.product-text-content p {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.product-text-content ul {
    list-style: none;
    padding-left: 0;
    max-width: 450px;
    margin: 0 auto;
    text-align: left;
}

.product-text-content li {
    padding-left: 2rem;
    position: relative;
    margin-bottom: 0.8rem;
    color: var(--primary-dark);
    font-weight: 400;
    font-size: 0.95rem;
}

.product-text-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%2300b09b" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><path d="M22 11.08V12a10 10 0 1 1-5.93-8.86"></path><polyline points="22 4 12 14.01 9 11.01"></polyline></svg>') no-repeat center center;
    background-size: contain;
}

/* Social Proof Section */
.social-proof-section {
    background-color: var(--white);
}

.metrics-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.metric-card {
    text-align: center;
}

.metric-card span {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-green);
}

.metric-card p {
    color: var(--gray-mid);
}

.testimonials-carousel {
    max-width: 800px;
    margin: 0 auto 3rem;
    position: relative;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonial-card {
    min-width: 100%;
    flex-shrink: 0;
    box-sizing: border-box;
    text-align: center;
    padding: 2.5rem;
    background: var(--light-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.testimonial-card p {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.testimonial-author strong {
    display: block;
    font-weight: 700;
    color: var(--primary-green);
}

.testimonial-author span {
    color: var(--gray-mid);
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    border: 1px solid var(--gray-light);
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    transition: all 0.3s ease;
}

.carousel-arrow:hover {
    background-color: var(--primary-green);
    color: var(--white);
    border-color: var(--primary-green);
}

.carousel-arrow.prev { left: -25px; }
.carousel-arrow.next { right: -25px; }

.client-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 4rem;
}

.client-logos img {
    height: 45px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.client-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* How It Works Section */
.how-it-works-section {
    background-color: var(--light-bg);
}

.flowchart {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
}

.flow-step {
    text-align: center;
    max-width: 280px;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transform: translateY(0);
    transition: transform 0.3s ease;
}

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

.step-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-green);
    color: var(--white);
    border-radius: 50%;
    font-size: 2.5rem;
    font-weight: 800;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem;
}

.flow-arrow {
    font-size: 3rem;
    color: var(--primary-dark);
    align-self: center;
    display: none;
}

/* Calculator Section */
.calculator-section {
    background-color: var(--white);
}

.calculator-box {
    max-width: 900px;
    margin: 0 auto;
    background: var(--light-bg);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.calculator-controls {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.calculator-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    border: 2px solid var(--gray-light);
    border-radius: var(--border-radius);
    transition: all 0.2s ease;
}

.calculator-item:has(.product-toggle:checked) {
    border-color: var(--primary-green);
    background-color: rgba(0, 176, 155, 0.05);
}

.item-info {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.item-info span { font-weight: 600; }
.item-price { color: var(--primary-green); }

.ai-config {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 1rem;
}

.ai-config select {
    padding: 0.5rem;
    border-radius: 8px;
    border: 1px solid var(--gray-light);
    width: 100%;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--gray-mid);
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider { background-color: var(--primary-green); }
input:checked + .slider:before { transform: translateX(26px); }

.calculator-summary {
    border-top: 2px dashed var(--gray-light);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
}

.summary-line span:last-child {
    font-weight: 700;
}

.total-line {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-green);
}

/* Pricing Plans Section */
.pricing-plans-section {
    background-color: var(--light-bg);
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.pricing-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 2.5rem;
    text-align: center;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: scale(1.05);
    border: 3px solid var(--primary-green);
    z-index: 1;
}

.pricing-card.featured .plan-title { color: var(--primary-green); }
.pricing-card.featured .plan-price { color: var(--white); }
.pricing-card.featured .plan-price span { color: var(--gray-light); }
.pricing-card.featured .features li { color: var(--gray-light); }
.pricing-card.featured .features li::before { background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23ffffff" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><path d="M22 11.08V12a10 10 0 1 1-5.93-8.86"></path><polyline points="22 4 12 14.01 9 11.01"></polyline></svg>') no-repeat center center; }

.plan-title {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.plan-price {
    font-size: clamp(2.5rem, 6vw, 3rem);
    font-weight: 800;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
}

.plan-price span {
    font-size: clamp(0.9rem, 2vw, 1rem);
    font-weight: 400;
    color: var(--gray-mid);
}

.features {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.features li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    font-size: clamp(0.8rem, 2vw, 0.9rem);
}

.features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%2300b09b" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><path d="M22 11.08V12a10 10 0 1 1-5.93-8.86"></path><polyline points="22 4 12 14.01 9 11.01"></polyline></svg>') no-repeat center center;
    background-size: contain;
}

/* FAQ Section */
.faq-section {
    background-color: var(--light-bg);
}

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

.accordion-item {
    border: 1px solid var(--gray-light);
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.accordion-item:hover {
    box-shadow: var(--shadow);
}

.accordion-header {
    background: var(--white);
    border: none;
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header::after {
    content: '+';
    font-size: 2rem;
    color: var(--primary-green);
    transition: transform 0.3s ease;
}

.accordion-header.active::after {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    padding: 0 1.5rem;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    background-color: var(--white);
}

.accordion-content.active {
    max-height: 300px; /* Grande o suficiente para a maioria dos textos */
    padding: 1.5rem;
}

.accordion-content p {
    color: var(--gray-mid);
}

/* Footer */
.footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 4rem 0;
    font-size: clamp(0.8rem, 2vw, 0.9rem);
}

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

.footer-col h3 {
    color: var(--primary-green);
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col a {
    display: block;
    text-decoration: none;
    color: var(--gray-light);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

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

.social-icons a {
    margin-right: 1rem;
    font-size: 1.25rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray-light);
}

/* Responsividade */
@media (max-width: 767px) {
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

    .nav-list {
        display: none;
        flex-direction: column;
        width: 100%;
        padding: 1rem 0;
    }

    .nav.active .nav-list {
        display: flex;
    }

    .nav.active .mobile-actions {
        display: flex;
    }

    .profile-button {
        width: 100%;
        margin-top: 1rem;
    }

    .mobile-actions {
        padding: 0 1.5rem 1.5rem;
    }

    .desktop-actions {
        display: none; /* Esconde em mobile */
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .calculator-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .item-info {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 0.5rem;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .carousel-arrow.prev { left: 0.5rem; }
    .carousel-arrow.next { right: 0.5rem; }
}

@media (min-width: 768px) {
    .header-content {
        flex-direction: row;
        flex-wrap: nowrap;
    }

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

    .nav-list {
        display: flex;
        flex-direction: row;
        gap: 2rem;
        width: auto;
        padding-top: 0;
    }

    .menu-toggle {
        display: none;
    }

    .mobile-actions {
        display: none; /* Esconde em desktop */
    }

    .desktop-actions {
        display: block; /* Mostra em desktop */
    }

    .hero-content {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
    }
    .hero-text { flex-basis: 50%; }
    .hero-image-container { flex-basis: 50%; text-align: right; }
    .hero-actions { justify-content: flex-start; }
    .hero-actions { flex-direction: row; }
    .flowchart { flex-wrap: nowrap; }
    .flow-arrow { display: block; }
    .calculator-box { grid-template-columns: 1fr 1fr; }

    .product-info {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
    }

    .product-text-content {
        text-align: left;
        margin-left: 2rem;
    }

    .product-text-content h3 {
        text-align: left;
    }

    .product-text-content p {
        text-align: left;
    }

    .product-text-content ul {
        margin: 0;
    }

    .calculator-item {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .item-info {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 1.5rem;
    }

    .ai-config {
        align-items: flex-end;
        margin-top: 0;
    }
    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}
