/* Global Variables & Reset */
:root {
    --primary: #20603d;
    --primary-dark: #16462d;
    --primary-hover: #1a4d31;

    --bg-light: #f6f8f7;
    --bg-dark: #141e19;

    --surface-light: #ffffff;
    --surface-dark: #1e2b25;

    --text-main: #121614;
    --text-light: #f1f5f9;
    /* Slate-100 equivalent */
    --text-muted: #6a8174;
    --text-gray-500: #6b7280;
    --text-gray-600: #4b5563;

    --border-light: #e2e8f0;
    --border-dark: #1f2937;

    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    --shadow-soft: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: inherit;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button,
input {
    font-family: inherit;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.visible-desktop {
    display: flex;
}

.visible-mobile {
    display: none;
}

@media (max-width: 768px) {
    .visible-desktop {
        display: none;
    }

    .visible-mobile {
        display: block;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

/* Header & Navbar */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-divider {
    width: 1px;
    height: 32px;
    background: #e5e7eb;
}

.logo-tagline {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.2;
    max-width: 120px;
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    position: relative;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-gray-600);
    padding: 0.5rem 0;
}

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

.nav-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.nav-link:hover .nav-line {
    transform: scaleX(1);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 1.5rem;
    height: 44px;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(32, 96, 61, 0.2);
}

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

.btn-outline {
    background-color: white;
    border: 1px solid var(--border-light);
    color: var(--text-gray-600);
}

.btn-outline:hover {
    background-color: #f9fafb;
}

.mobile-menu-btn {
    border: none;
    background: none;
    cursor: pointer;
    color: var(--text-gray-600);
}

/* Mobile Menu */
#mobile-menu {
    border-top: 1px solid var(--border-light);
    background: white;
    padding: 1rem;
}

.mobile-nav-link {
    display: block;
    padding: 0.5rem;
    font-weight: 500;
    color: var(--text-gray-600);
}

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

/* Hero Section */
.hero-section {
    position: relative;
    padding-top: 160px;
    padding-bottom: 80px;
    overflow: hidden;
}

.hero-bg-gradient {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to left, rgba(32, 96, 61, 0.05), transparent);
    z-index: -1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
    }
}

.badge-verified {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    background: rgba(32, 96, 61, 0.1);
    border: 1px solid rgba(32, 96, 61, 0.2);
    border-radius: 9999px;
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
}

.hero-text {
    font-size: 1.125rem;
    color: var(--text-gray-600);
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-features {
    display: flex;
    gap: 1.5rem;
    color: var(--text-gray-500);
    font-size: 0.875rem;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-image-container {
    position: relative;
    display: flex;
    justify-content: center;
}

@media (min-width: 1024px) {
    .hero-image-container {
        justify-content: flex-end;
    }
}

.glow-effect {
    position: absolute;
    inset: 0;
    background: rgba(32, 96, 61, 0.2);
    filter: blur(60px);
    border-radius: 50%;
    transform: scale(0.8);
    opacity: 0.3;
}

.mockup-img {
    position: relative;
    z-index: 10;
}

/* Sections Global */
.section {
    padding: 5rem 0;
    background: white;
}

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

.section-alt {
    background: var(--bg-light);
    border-top: 1px solid var(--border-light);
}

.section-header {
    text-center;
    margin-bottom: 4rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.section-eyebrow {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
    display: block;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--text-muted);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s;
    box-shadow: var(--shadow-soft);
}

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

.feature-icon-box {
    width: 3.5rem;
    height: 3.5rem;
    background: white;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: 1px solid #f1f5f9;
}

.feature-icon-box span {
    font-size: 1.875rem;
    color: var(--primary);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.feature-text {
    color: var(--text-muted);
    line-height: 1.6;
}

.span-2-cols {
    grid-column: span 1;
}

@media (min-width: 1024px) {
    .span-2-cols {
        grid-column: span 2;
    }
}

.feature-card.horizontal {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .feature-card.horizontal {
        flex-direction: row;
        align-items: center;
    }

    .feature-card.horizontal .feature-icon-box {
        margin-bottom: 0;
    }
}

/* Visual Divider */
.visual-divider {
    height: 20rem;
    position: relative;
    overflow: hidden;
    background: #f1f5f9;
}

.visual-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.visual-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

/* Offline Section */
.grid-offline {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .grid-offline {
        grid-template-columns: 5fr 7fr;
    }
}

.offline-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    background: rgba(32, 96, 61, 0.1);
    color: var(--primary);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.feature-row {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-top: 1.5rem;
}

.icon-circle {
    width: 2rem;
    height: 2rem;
    background: rgba(32, 96, 61, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.dashboard-mock {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .dashboard-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.dashboard-item {
    background: #f8fafc;
    border-radius: 0.5rem;
    padding: 1rem;
    text-align: center;
    transition: background-color 0.2s;
}

.dashboard-item:hover {
    background: rgba(32, 96, 61, 0.05);
}

/* Teams Section */
.teams-flex {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .teams-flex {
        flex-direction: row;
    }
}

.avatars {
    display: flex;
    margin-left: 0.75rem;
}

.avatar-img {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: 2px solid white;
    margin-left: -0.75rem;
    background-color: #e5e7eb;
    background-size: cover;
}

.project-img {
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid #f3f4f6;
}

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

@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.pricing-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 1rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: box-shadow 0.3s;
}

.pricing-card:hover {
    box-shadow: var(--shadow-hover);
}

.pricing-card.featured {
    border: 2px solid var(--primary);
    position: relative;
    box-shadow: 0 20px 25px -5px rgba(32, 96, 61, 0.05);
}

.popular-badge {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
}

.price-display {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin-top: 1rem;
}

.price-currency {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-main);
}

.price-period {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

.btn-price {
    width: 100%;
    display: flex;
    justify-content: center;
    border-radius: 0.75rem;
    padding: 0.75rem;
    font-weight: 700;
}

.btn-price-default {
    background: #f3f4f6;
    color: var(--text-main);
}

.btn-price-default:hover {
    background: #e5e7eb;
}

.btn-price-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 15px -3px rgba(32, 96, 61, 0.2);
}

.btn-price-primary:hover {
    background: var(--primary-dark);
}

.benefits-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-gray-600);
}

.benefits-list li {
    display: flex;
    items-center: center;
    gap: 0.5rem;
}

.benefits-list .material-symbols-outlined {
    font-size: 1.125rem;
    color: var(--primary);
}

/* CTA Section */
.cta-box {
    text-center;
    max-width: 56rem;
    margin: 0 auto;
}

.cta-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 32rem;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .cta-form {
        flex-direction: row;
    }
}

.input-email {
    width: 100%;
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    border: 1px solid #cbd5e1;
    outline: none;
    transition: border-color 0.2s;
}

.input-email:focus {
    border-color: var(--primary);
    ring: 2px solid var(--primary);
}

/* Footer */
.main-footer {
    background: #f9fafb;
    border-top: 1px solid var(--border-light);
    padding-top: 4rem;
    padding-bottom: 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-heading {
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-gray-500);
}

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

.footer-bottom {
    border-top: 1px solid #e5e7eb;
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    color: var(--text-gray-500);
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}



/* Header Utilities */
.header-cta-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-divider {
    margin: 0.5rem 0;
    border: 0;
    border-top: 1px solid var(--border-light);
}

/* Footer Utilities */
.footer-logo-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 2rem;
    width: auto;
    align-self: flex-start;
}

.footer-tagline {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-gray-500);
    text-transform: uppercase;
}

.footer-text {
    font-size: 0.875rem;
    color: var(--text-gray-500);
    line-height: 1.6;
}

.footer-social-group {
    display: flex;
    gap: 1rem;
}

.footer-social-link {
    color: var(--text-gray-500);
}

.footer-social-icon {
    height: 1.25rem;
    width: 1.25rem;
}


/* Auth Pages (Cadastro/Login) */
.auth-body {
    background-color: var(--bg-light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 1rem;
}

.auth-header {
    margin: 0 auto;
    width: 100%;
    max-width: 28rem;
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.auth-logo-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.auth-logo-img {
    height: 3rem;
    width: auto;
}

.auth-tagline {
    font-size: 0.625rem;
    font-weight: 500;
    color: var(--text-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.auth-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-top: 1.5rem;
}

.auth-subtitle {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.auth-link-primary {
    font-weight: 500;
    color: var(--primary);
}

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

.auth-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-light);
    width: 100%;
    max-width: 28rem;
    margin: 0 auto;
}

.auth-security-badge {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-gray-500);
}

.auth-security-icon {
    font-size: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-gray-600);
    margin-bottom: 0.25rem;
}

.form-input {
    display: block;
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary);
}

.checkbox-group {
    display: flex;
    items-center;
}

.checkbox-input {
    height: 1rem;
    width: 1rem;
    color: var(--primary);
    border-radius: 0.25rem;
    border: 1px solid #d1d5db;
}

.checkbox-label {
    margin-left: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-gray-500);
}

.btn-full {
    width: 100%;
}

/* Payment Page */
.payment-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .payment-grid {
        grid-template-columns: repeat(12, 1fr);
    }

    .payment-summary {
        grid-column: 9 / span 4;
        grid-row: 1;
    }

    .payment-form-sec {
        grid-column: 1 / span 8;
        grid-row: 1;
    }
}

.payment-card {
    background: white;
    border-radius: 1rem;
    border: 1px solid var(--border-light);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.payment-header {
    padding: 1.5rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-light);
}

.total-row {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    font-weight: 700;
}

.total-price {
    font-size: 1.5rem;
    color: var(--primary);
}

.guarantee-box {
    background: #f8fafc;
    padding: 1rem;
    border-top: 1px solid var(--border-light);
    display: flex;
    gap: 0.75rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.payment-methods {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.method-option {
    flex: 1;
    position: relative;
}

.method-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border: 2px solid var(--border-light);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
}

.method-input:checked+.method-label {
    border-color: var(--primary);
    background-color: rgba(32, 96, 61, 0.05);
}

.method-check {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    color: var(--primary);
    display: none;
}

.method-input:checked~.method-check {
    display: block;
}