/* ========================================
   FIRME & MELLO CONSIGNADOS - CSS
   Design: Neobancário Minimalista
   Cores: Azul Primário #1B4FD8, Azul Escuro #0F2D6B
   ======================================== */

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

:root {
    --primary: #1B4FD8;
    --primary-dark: #0F2D6B;
    --secondary: #7C3AED;
    --success: #059669;
    --warning: #D97706;
    --danger: #DC2626;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --border-light: #E5E7EB;
    --bg-light: #F9FAFB;
    --white: #FFFFFF;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ========================================
   BOTÕES
   ======================================== */

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(27, 79, 216, 0.3);
}

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

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

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* ========================================
   NAVBAR
   ======================================== */

.navbar {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--text-dark);
}

.logo-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.navbar-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin: 0;
}

.navbar-subtitle {
    font-size: 0.875rem;
    color: var(--primary);
    margin: 0;
    font-weight: 600;
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.navbar-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-menu a:hover {
    color: var(--primary);
}

.navbar-info {
    background-color: var(--primary);
    color: var(--white);
    padding: 0.75rem 0;
    text-align: center;
    font-size: 0.875rem;
}

.navbar-info a {
    color: var(--white);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .navbar-menu {
        display: none;
    }
    
    .navbar-content {
        flex-wrap: wrap;
    }
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
    padding: 4rem 0;
}

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

.hero-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

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

.text-primary {
    color: #60A5FA;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    text-align: center;
}

.hero-img {
    width: 100%;
    max-width: 400px;
    border-radius: 1rem;
    object-fit: cover;
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .hero-cta {
        flex-direction: column;
    }
}

/* ========================================
   SEÇÕES GERAIS
   ======================================== */

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 3rem;
}

.section-description {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* ========================================
   BANCOS PARCEIROS
   ======================================== */

.bancos-parceiros {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

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

.banco-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.banco-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.banco-card img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.banco-card p {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* ========================================
   QUEM SOMOS
   ======================================== */

.quem-somos {
    padding: 4rem 0;
}

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

.quem-somos-values {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.value {
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-radius: 0.75rem;
    border-left: 4px solid var(--primary);
}

.value h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.quem-somos-image img {
    width: 100%;
    border-radius: 1rem;
    object-fit: cover;
}

@media (max-width: 768px) {
    .quem-somos-content {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   SERVIÇOS
   ======================================== */

.servicos {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

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

.servico-card {
    background-color: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.servico-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
}

.servico-header h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.servico-subtitle {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.servico-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.servico-icon {
    font-size: 3rem;
    text-align: center;
    padding: 1.5rem;
}

.servico-beneficios {
    list-style: none;
    padding: 1.5rem;
    flex-grow: 1;
}

.servico-beneficios li {
    padding: 0.5rem 0;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.servico-card .btn-primary {
    margin: 0 1.5rem 1.5rem;
    display: block;
    text-align: center;
}

/* ========================================
   COMO FUNCIONA
   ======================================== */

.como-funciona {
    padding: 4rem 0;
}

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

.etapa {
    text-align: center;
    padding: 2rem;
    background-color: var(--bg-light);
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.etapa:hover {
    transform: translateY(-5px);
    background-color: var(--white);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.etapa-numero {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(27, 79, 216, 0.1);
    margin-bottom: 1rem;
}

.etapa h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

/* ========================================
   DEPOIMENTOS
   ======================================== */

.depoimentos {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

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

.depoimento-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.depoimento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.depoimento-stars {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.depoimento-texto {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-style: italic;
}

.depoimento-badge {
    display: inline-block;
    background-color: #DBEAFE;
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.depoimento-autor {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

.depoimento-autor img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.depoimento-nome {
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.depoimento-cargo {
    font-size: 0.75rem;
    color: var(--text-light);
    margin: 0;
}

/* ========================================
   DIFERENCIAIS
   ======================================== */

.diferenciais {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
    padding: 4rem 0;
}

.text-white {
    color: var(--white) !important;
}

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

.diferencial {
    text-align: center;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.diferencial:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.diferencial-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.diferencial h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

/* ========================================
   FAQ
   ======================================== */

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

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.faq-item {
    background-color: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 0.75rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background-color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: var(--bg-light);
}

.faq-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    display: none;
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-light);
    color: var(--text-light);
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-cta {
    text-align: center;
    padding: 2rem;
    background-color: var(--white);
    border-radius: 1rem;
    border: 2px dashed var(--border-light);
}

.faq-cta p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--text-dark);
}

/* ========================================
   CONTATO
   ======================================== */

.contato {
    padding: 4rem 0;
}

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

.contato-card {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.contato-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.contato-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contato-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--primary-dark);
}

.contato-info {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.contato-desc {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.contato-card .btn-primary {
    width: 100%;
    text-align: center;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--white);
}

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

.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

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

.footer-contact p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-certification {
    text-align: center;
}

.cert-badge {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 0.75rem;
}

.cert-number {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

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

.footer-copyright {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* ========================================
   BOTÃO WHATSAPP FLUTUANTE
   ======================================== */

.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 50;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.7);
    }
    100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
}

/* ========================================
   RESPONSIVO
   ======================================== */

@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .whatsapp-float {
        bottom: 1rem;
        right: 1rem;
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-float svg {
        width: 25px;
        height: 25px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn-primary,
    .hero-cta .btn-secondary {
        width: 100%;
        text-align: center;
    }
    
    .navbar-menu {
        display: none;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 1rem;
    }
}
