/* Novocred - Estilos CSS Puro */

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

:root {
    --novocred-green: #1E5128;
    --novocred-gold-start: #CFB53B;
    --novocred-gold-end: #8B713A;
    --text-gray: #6B7280;
    --text-dark: #1F2937;
    --bg-light: #F9FAFB;
    --border-color: #E5E7EB;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    font-size: 16px;
}

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

/* Header */
.header {
    background: var(--novocred-green);
    color: white;
    padding: 16px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

.logo {
    height: 32px;
    width: auto;
}

.nav {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
}

.nav a:hover {
    color: var(--novocred-gold-start);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 16px;
}

.btn-primary {
    background: linear-gradient(to right, var(--novocred-gold-start), var(--novocred-gold-end));
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(to right, var(--novocred-gold-end), var(--novocred-gold-start));
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid white;
    background: white;
    color: var(--novocred-green);
}

.btn-outline:hover {
    background: transparent;
    color: white;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 18px;
    height: 56px;
}

.btn-full {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, white 100%);
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 32px;
}

.gradient-text {
    background: linear-gradient(to right, var(--novocred-gold-start), var(--novocred-gold-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.features-list {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    color: var(--text-gray);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Forms Section */
.section {
    padding: 80px 0;
}

.section-white {
    background: white;
}

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

.section-green {
    background: var(--novocred-green);
    color: white;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(to right, var(--novocred-gold-start), var(--novocred-gold-end));
    color: white;
    padding: 8px 16px;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-gray);
    max-width: 512px;
    margin: 0 auto;
}

/* Card */
.card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    max-width: 512px;
    margin: 0 auto;
}

.card-content {
    padding: 32px;
}

/* Tabs */
.tabs {
    width: 100%;
}

.tabs-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--bg-light);
    border-radius: 8px;
    padding: 4px;
    margin-bottom: 32px;
}

.tab-trigger {
    padding: 12px 16px;
    border: none;
    background: transparent;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.tab-trigger.active {
    background: var(--novocred-green);
    color: white;
}

.tab-content {
    display: none;
}

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

/* Form Elements */
.form-group {
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-label {
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
    color: var(--text-dark);
}

.required {
    color: #EF4444;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    background: #F3F4F6;
    transition: border-color 0.3s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--novocred-green);
    box-shadow: 0 0 0 3px rgba(30, 81, 40, 0.1);
}

.form-textarea {
    min-height: 80px;
    resize: vertical;
}

.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 24px 0;
}

.checkbox {
    margin-top: 4px;
}

.checkbox-text {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.5;
}

.checkbox-text a {
    color: var(--novocred-green);
    text-decoration: none;
}

.checkbox-text a:hover {
    text-decoration: underline;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.service-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    border-left: 4px solid var(--novocred-gold-start);
    transition: box-shadow 0.3s;
}

.service-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.service-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(to right, var(--novocred-gold-start), var(--novocred-gold-end));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
}

.service-description {
    color: var(--text-gray);
    margin-bottom: 16px;
}

.service-features {
    list-style: none;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--text-gray);
}

/* Advantages Grid */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.advantage-item {
    text-align: center;
}

.advantage-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(to right, var(--novocred-gold-start), var(--novocred-gold-end));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: white;
}

.advantage-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.advantage-description {
    color: var(--text-gray);
}

/* Footer */
.footer {
    padding: 48px 0;
    background: white;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 32px;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--novocred-green);
    margin-bottom: 16px;
}

.footer-description {
    color: var(--text-gray);
    margin-bottom: 16px;
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text-gray);
}

.footer-separator {
    height: 1px;
    background: var(--border-color);
    margin: 32px 0;
}

.footer-bottom {
    text-align: center;
    color: var(--text-gray);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-grid,
    .services-grid,
    .advantages-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .nav {
        display: none;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .logo {
        height: 32px;
    }
    
    .tab-trigger {
        font-size: 14px;
        padding: 8px 12px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .section {
        padding: 48px 0;
    }
    
    .card-content {
        padding: 24px;
    }
}

@media (min-width: 640px) {
    .logo {
        height: 48px;
    }
}

@media (min-width: 768px) {
    .logo {
        height: 192px;
    }
}

/* Utilities */
.text-center {
    text-align: center;
}

.hidden {
    display: none;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.gap-4 {
    gap: 16px;
}

.mb-4 {
    margin-bottom: 16px;
}

.mt-4 {
    margin-top: 16px;
}

/* Icons usando Unicode */
.icon::before {
    font-size: 1.5rem;
}

.icon-check::before {
    content: "✓";
    color: var(--novocred-green);
}

.icon-clock::before {
    content: "⏰";
}

.icon-shield::before {
    content: "🛡️";
}

.icon-map::before {
    content: "📍";
}

.icon-phone::before {
    content: "📞";
}

.icon-mail::before {
    content: "✉️";
}

.icon-home::before {
    content: "🏠";
}

.icon-trending::before {
    content: "📈";
}

.icon-whatsapp::before {
    content: "📱";
}

/* Loading state */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s ease-in-out infinite;
    margin-left: 8px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Toast notifications */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 8px;
    padding: 16px 24px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.3s;
}

.toast.show {
    transform: translateX(0);
}

.toast.success {
    border-left: 4px solid #10B981;
}

.toast.error {
    border-left: 4px solid #EF4444;
}