@import url('./styles.css');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
}

header {
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

header h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

.card {
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.card-title {
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.form-select, .btn {
    height: 48px;
}

/* Botões modernos e consistentes */
.btn {
    border-radius: 10px !important;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    font-size: 1.08rem;
    box-shadow: 0 2px 8px rgba(56,135,246,0.08);
    transition: background 0.18s, color 0.18s, box-shadow 0.18s, border 0.18s;
    border: none;
    outline: none;
}
.btn:active, .btn:focus {
    box-shadow: 0 4px 16px rgba(56,135,246,0.16);
}
.btn-success {
    background: #219653 !important;
    color: #fff !important;
    border: none !important;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: all 0.3s ease;
}
.btn-success:hover, .btn-success:focus {
    background: #27ae60 !important;
    color: #fff !important;
    box-shadow: 0 6px 24px rgba(39,174,96,0.18);
}
.btn-primary {
    background: #3887f6 !important;
    color: #fff !important;
    border: none !important;
}
.btn-primary:hover, .btn-primary:focus {
    background: #2563eb !important;
    color: #fff !important;
    box-shadow: 0 6px 24px rgba(56,135,246,0.18);
}
.btn-outline-success {
    border: 2px solid #219653 !important;
    color: #219653 !important;
    background: #fff !important;
}
.btn-outline-success:hover, .btn-outline-success:focus {
    background: #219653 !important;
    color: #fff !important;
    box-shadow: 0 6px 24px rgba(39,174,96,0.18);
}
.btn-secondary {
    background: #7b8794 !important;
    color: #fff !important;
    border: none !important;
}
.btn-secondary:hover, .btn-secondary:focus {
    background: #5a6473 !important;
    color: #fff !important;
    box-shadow: 0 6px 24px rgba(123,135,148,0.18);
}
.btn-warning {
    background: #ffe066 !important;
    color: #7b5e00 !important;
    border: none !important;
}
.btn-warning:hover, .btn-warning:focus {
    background: #ffd23f !important;
    color: #7b5e00 !important;
    box-shadow: 0 6px 24px rgba(255,224,102,0.18);
}
.btn-lg {
    font-size: 1.18rem !important;
    padding: 0.8rem 2.2rem !important;
}
.btn-sm {
    font-size: 0.98rem !important;
    padding: 0.4rem 1.1rem !important;
}

footer {
    border-top: 1px solid #dee2e6;
}

@media (max-width: 768px) {
    .card {
        margin-bottom: 1.5rem;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    /* Ensure buttons keep their background on mobile */
    .btn-success, .btn-success:hover, .btn-success:focus, .btn-success:active {
        background: #219653 !important;
        color: #fff !important;
        opacity: 1;
    }
    
    /* Adjust hero section buttons for mobile */
    .hero-section .d-flex {
        flex-direction: column;
        gap: 10px !important;
    }
    
    .hero-section .btn {
        width: 100%;
        margin: 5px 0;
    }
}

/* Header Verde */
.header-green {
    background: #2ecc40;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.logo-title {
    font-size: 1.6rem;
    font-weight: bold;
    margin-left: 8px;
}
.nav-menu .nav-link {
    color: #fff;
    margin: 0 10px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}
.nav-menu .nav-link:hover {
    color: #e0ffe0;
}
.user-box {
    background: #fff;
    color: #2ecc40;
    border-radius: 20px;
    padding: 4px 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}
.saldo {
    background: #eaffea;
    color: #27ae60;
    border-radius: 12px;
    padding: 2px 8px;
    margin-left: 8px;
    font-size: 0.95em;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(90deg, #3887f6 60%, #4f8cff 100%);
    color: #fff;
    padding: 60px 0 40px 0;
    position: relative;
    overflow: hidden;
}
.hero-title {
    font-size: 2.5rem;
    font-weight: bold;
}
.hero-subtitle {
    font-size: 1.3rem;
    margin-top: 10px;
}
.hero-card {
    background: rgba(255,255,255,0.12);
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    padding: 32px 24px;
    margin-top: 20px;
}
.hero-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    font-size: 1.1rem;
    margin-bottom: 18px;
}
.hero-step i {
    font-size: 1.7rem;
    color: #7fffa2;
    margin-top: 2px;
}

/* Serviços */
/* Hero Card */
.hero-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.hero-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
}

.hero-step:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.hero-step i {
    font-size: 1.5rem;
    margin-right: 15px;
    color: #fff;
    min-width: 24px;
    text-align: center;
    line-height: 1.3;
    margin-top: 2px;
}

.hero-step-content {
    flex: 1;
}

.hero-step span {
    display: block;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 4px;
    line-height: 1.3;
}

.hero-step small {
    display: block;
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.4;
    margin: 0;
    padding: 0;
}

@media (max-width: 991.98px) {
    .hero-card {
        margin-top: 30px;
    }
    
    .hero-step {
        margin-bottom: 16px;
        padding-bottom: 16px;
    }
    
    .hero-step i {
        font-size: 1.3rem;
        margin-right: 12px;
        margin-top: 3px;
    }
    
    .hero-step span {
        font-size: 1rem;
        line-height: 1.3;
    }
    
    .hero-step small {
        font-size: 0.85rem;
        line-height: 1.3;
    }
}

.servicos-section {
    background: #f8fafc;
    padding: 60px 0 40px 0;
}
.servico-card {
    background: #38d9a9;
    color: #fff;
    border-radius: 16px;
    padding: 32px 10px 18px 10px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
    box-shadow: 0 2px 12px rgba(56,217,169,0.08);
    margin-bottom: 10px;
    transition: transform 0.15s, box-shadow 0.15s;
}
.servico-card i {
    font-size: 2.2rem;
    margin-bottom: 10px;
    display: block;
}
.servico-card:hover {
    transform: translateY(-6px) scale(1.04);
    box-shadow: 0 8px 32px rgba(56,217,169,0.18);
}

/* Como Funciona */
.como-funciona-section {
    background: #fff;
    padding: 60px 0 40px 0;
}
.funciona-card {
    background: #eafaf1;
    border-radius: 16px;
    padding: 32px 10px 18px 10px;
    margin-bottom: 10px;
    box-shadow: 0 2px 12px rgba(46,204,64,0.08);
    transition: transform 0.15s, box-shadow 0.15s;
}
.funciona-card i {
    font-size: 2.2rem;
    color: #2ecc40;
    margin-bottom: 10px;
    display: block;
}
.funciona-card:hover {
    transform: translateY(-6px) scale(1.04);
    box-shadow: 0 8px 32px rgba(46,204,64,0.18);
}

/* Busca Section */
.busca-section {
    background: #3887f6;
    color: #fff;
    padding: 50px 0 40px 0;
}
.busca-section .form-select, .busca-section .btn {
    font-size: 1.1rem;
}

/* Depoimentos */
.depoimentos-section {
    background: #f8fafc;
    padding: 60px 0 40px 0;
}
.depoimento-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(56,135,246,0.08);
    padding: 28px 18px 18px 18px;
    margin-bottom: 20px;
    text-align: center;
}
.depoimento-img img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}
.depoimento-nome {
    font-weight: bold;
    font-size: 1.1rem;
}
.depoimento-local {
    color: #3887f6;
    font-size: 0.98rem;
    margin-bottom: 6px;
}
.depoimento-text {
    font-style: italic;
    color: #444;
    font-size: 1.05rem;
}

/* CTA Section */
.cta-section {
    background: #3887f6;
    color: #fff;
    padding: 50px 0 40px 0;
}
.cta-title {
    font-size: 2rem;
    font-weight: bold;
}
.cta-desc {
    font-size: 1.2rem;
    margin-bottom: 18px;
}

/* Footer */
.footer-dark {
    background: #232b34;
    color: #fff;
    padding-top: 40px;
    padding-bottom: 20px;
}
.footer-dark h5 {
    color: #7fffa2;
    font-size: 1.1rem;
    margin-bottom: 12px;
}
.footer-links {
    list-style: none;
    padding: 0;
}
.footer-links li {
    margin-bottom: 6px;
}
.footer-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-links a:hover {
    color: #7fffa2;
}
.copyright {
    color: #b0b0b0;
    font-size: 0.98rem;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 16px rgba(37,211,102,0.18);
    z-index: 1000;
    transition: background 0.2s;
}
.whatsapp-float:hover {
    background: #128c7e;
    color: #fff;
}

/* Responsivo */
@media (max-width: 991px) {
    .hero-title { font-size: 2rem; }
    .cta-title { font-size: 1.4rem; }
    .nav-menu { flex-wrap: wrap; }
}
@media (max-width: 767px) {
    .header-green .container, .footer-dark .container { flex-direction: column !important; text-align: center; }
    .user-box { margin-top: 10px; }
    .hero-section, .servicos-section, .como-funciona-section, .busca-section, .depoimentos-section, .cta-section { padding: 30px 0 20px 0; }
}

/* HEADER FLEX LAYOUT */
.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}
.header-logo {
    min-width: 220px;
}
.nav-menu {
    flex: 1;
    display: flex;
    justify-content: center;
    gap: 32px;
}
.header-actions {
    min-width: 180px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}
.btn.btn-outline-success {
    border: 2px solid #fff;
    color: #fff;
    background: transparent;
    font-weight: 500;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}
.btn.btn-outline-success:hover {
    background: #fff;
    color: #2ecc40;
}
.btn.btn-primary {
    background: #3887f6;
    border: none;
    font-weight: 500;
    border-radius: 8px;
}
.btn.btn-primary:hover {
    background: #2563eb;
}

/* SERVIÇOS CARDS BRANCOS */
.servico-card-white {
    background: #fff;
    color: #222;
    border-radius: 18px;
    padding: 32px 10px 18px 10px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
    box-shadow: 0 2px 16px rgba(56,135,246,0.10);
    margin-bottom: 10px;
    transition: transform 0.15s, box-shadow 0.15s;
    border: 1.5px solid #e6eaf0;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.servico-card-white i {
    font-size: 2.4rem;
    margin-bottom: 12px;
    color: #2196f3;
    display: block;
}
.servico-card-white span {
    font-size: 1.08rem;
    font-weight: 600;
}
.servico-card-white:hover {
    transform: translateY(-6px) scale(1.04);
    box-shadow: 0 8px 32px rgba(56,135,246,0.18);
    border-color: #b3d1fa;
}

/* FOOTER AJUSTADO */
.footer-dark {
    background: #232b34;
    color: #fff;
    padding-top: 48px;
    padding-bottom: 24px;
}
.footer-dark .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0;
}
.footer-dark h5 {
    color: #7fffa2;
    font-size: 1.1rem;
    margin-bottom: 14px;
    font-weight: 700;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 8px;
}
.footer-links a {
    color: #e0ffe0;
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 500;
}
.footer-links a:hover {
    color: #7fffa2;
    text-decoration: underline;
}
.footer-dark p, .footer-dark li {
    color: #d0d0d0;
    font-size: 1.01rem;
}
.copyright {
    color: #b0b0b0;
    font-size: 0.98rem;
    margin-top: 24px;
}

/* AJUSTES GERAIS */
.section-title {
    font-size: 2.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #232b34;
}
.section-desc {
    color: #6c757d;
    font-size: 1.13rem;
    margin-bottom: 1.5rem;
}
.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
}
.hero-subtitle {
    font-size: 1.3rem;
    margin-top: 10px;
    color: #e0e0e0;
}

@media (max-width: 991px) {
    .header-flex { flex-direction: column; gap: 10px; }
    .nav-menu { gap: 18px; }
    .section-title { font-size: 1.5rem; }
    .hero-title { font-size: 1.5rem; }
}
@media (max-width: 767px) {
    .header-flex { flex-direction: column; text-align: center; gap: 10px; }
    .header-logo, .header-actions { justify-content: center; }
    .nav-menu { flex-direction: column; gap: 8px; }
    .footer-dark .row { flex-direction: column; gap: 24px; }
    .servico-card-white { min-height: 120px; }
}

/* Card bonito para produtos */
.produto-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(56,135,246,0.10);
    border: 1.5px solid #e6eaf0;
    padding: 28px 20px 18px 20px;
    margin-bottom: 10px;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    transition: transform 0.15s, box-shadow 0.15s;
}
.produto-card:hover {
    transform: translateY(-6px) scale(1.04);
    box-shadow: 0 8px 32px rgba(56,135,246,0.18);
    border-color: #b3d1fa;
}
.produto-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.produto-desc {
    color: #444;
    font-size: 1.05rem;
    margin-bottom: 10px;
}
.produto-preco {
    color: #2196f3;
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 6px;
}
.produto-prazo {
    color: #888;
    font-size: 0.98rem;
}

/* Header actions - botões menores e centralizados */
.header-actions .btn {
    height: 36px !important;
    min-height: 36px !important;
    padding: 0 1.2rem !important;
    font-size: 1rem !important;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    box-shadow: none;
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.header-flex {
    align-items: center !important;
}

/* Modernização dos formulários de login/cadastro */
.form-modern {
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 6px 32px rgba(56,135,246,0.10);
    padding: 2.5rem 2rem 2rem 2rem;
    max-width: 420px;
    width: 100%;
    border: none;
    margin-top: 48px;
    margin-bottom: 48px;
    transition: box-shadow 0.2s;
}
.form-modern:hover {
    box-shadow: 0 12px 48px rgba(56,135,246,0.16);
}
.bg-form {
    background: linear-gradient(135deg, #f4f8fb 60%, #eaf6ff 100%);
    min-height: 100vh;
}
.form-modern .input-group-text {
    background: #f4f8fb;
    border: none;
    color: #3887f6;
    font-size: 1.15rem;
}
.form-modern .form-control {
    border-radius: 10px;
    background: #f8fafc;
    border: 1.5px solid #e6eaf0;
    font-size: 1.07rem;
    padding: 0.7rem 1rem;
    margin-bottom: 0.2rem;
}
.form-modern .form-control:focus {
    border-color: #3887f6;
    box-shadow: 0 0 0 2px #eaf6ff;
}
.form-modern .btn-primary, .form-modern .btn-success {
    background: linear-gradient(90deg, #3887f6 60%, #2ecc40 100%) !important;
    color: #fff !important;
    border: none !important;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(56,135,246,0.10);
    transition: background 0.18s, box-shadow 0.18s;
}
.form-modern .btn-primary:hover, .form-modern .btn-success:hover {
    background: linear-gradient(90deg, #2563eb 60%, #27ae60 100%) !important;
    box-shadow: 0 6px 24px rgba(56,135,246,0.18);
}
.form-modern .form-label {
    font-weight: 600;
    color: #222;
    margin-bottom: 0.2rem;
}
.form-modern .rounded-circle {
    background: #eaf6ff !important;
    color: #3887f6 !important;
    box-shadow: 0 2px 8px rgba(56,135,246,0.10);
}
.form-modern h3 {
    font-weight: 800;
    color: #222;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}
.form-modern p {
    color: #6c757d;
    font-size: 1.01rem;
}
.form-modern a {
    color: #3887f6;
    text-decoration: none;
    transition: color 0.18s;
}
.form-modern a:hover {
    color: #2563eb;
    text-decoration: underline;
}
.form-modern .form-check-label a {
    color: #2196f3;
    text-decoration: underline;
}
.form-modern .form-check-input:checked {
    background-color: #3887f6;
    border-color: #3887f6;
}
.form-modern .input-group-text .fa {
    color: #3887f6;
}
@media (max-width: 600px) {
    .form-modern {
        padding: 1.2rem 0.5rem 1.2rem 0.5rem;
    }
}

/* Dropdown Menu Styles */
.dropdown .btn-white {
    background: #fff;
    color: #333;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.95rem;
    border: 1px solid #e0e0e0;
}

.dropdown .btn-white i {
    color: #219653;
}

.dropdown .btn-white span {
    color: #219653;
    font-weight: 500;
}

.dropdown-menu {
    padding: 8px 0;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    border-radius: 8px;
    margin-top: 8px;
    min-width: 200px;
}

.dropdown-menu .dropdown-item {
    padding: 8px 16px;
    font-size: 0.95rem;
    color: #333;
}

.dropdown-menu .dropdown-item i {
    margin-right: 8px;
    color: #219653;
    width: 20px;
}

.dropdown-menu .dropdown-item:hover {
    background-color: #f8f9fa;
}

.dropdown-menu .dropdown-item.text-danger i {
    color: #dc3545;
}

.dropdown-divider {
    margin: 8px 0;
    border-color: #e0e0e0;
}

.dropdown-menu li:first-child {
    padding: 8px 16px;
}

.dropdown-menu li:first-child div:first-child {
    color: #666;
    font-size: 0.9rem;
}

.dropdown-menu li:first-child div.fw-bold {
    color: #219653;
    font-size: 1.1rem;
}