/* ================================================
   9IN BANK - STYLESHEET COMPLETO
   Versão HTML/CSS Puro (Convertido de Tailwind)
   ================================================ */

/* ===============================================
   1. RESET & BASE STYLES
   =============================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --background: #fcfcfc;
    --foreground: #040b13;
    --card: #ffffff;
    --card-foreground: #0f172a;
    --primary: #004696;
    --primary-foreground: #ffffff;
    --secondary: #00192f;
    --secondary-foreground: #ffffff;
    --muted: #f2f5f8;
    --muted-foreground: #64748b;
    --accent: #00356c;
    --border: #e2e4e8;
    --input: #f2f5f8;
    --ring: #004696;
    
    /* Gradients */
    --gradient-primary-from: #004696;
    --gradient-primary-to: #003a7a;
    --gradient-blue-from: #2563eb;
    --gradient-blue-to: #1d4ed8;
    --gradient-dark-from: #1e293b;
    --gradient-dark-to: #334155;
    
    /* Spacing */
    --radius: 12px;
    --container-max-width: 1280px;
    --container-padding: 1rem;
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===============================================
   2. LAYOUT & CONTAINER
   =============================================== */

.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

/* ===============================================
   3. HEADER & NAVIGATION
   =============================================== */

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: #ffffff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo a {
    display: flex;
    align-items: center;
    transition: opacity 0.2s;
}

.logo a:hover {
    opacity: 0.8;
}

.logo img {
    height: 32px;
    width: auto;
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 2rem;
}

.nav-desktop a {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    transition: color 0.2s;
}

.nav-desktop a:hover {
    color: var(--foreground);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--foreground);
}

.mobile-menu-toggle .icon-close {
    display: none;
}

.mobile-menu-toggle.active .icon-menu {
    display: none;
}

.mobile-menu-toggle.active .icon-close {
    display: block;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    border-top: 1px solid var(--border);
    background-color: #ffffff;
    padding: 1rem;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-menu-link {
    display: block;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    transition: color 0.2s;
}

.mobile-menu-link:hover {
    color: var(--foreground);
}

/* Mobile Overlay */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 30;
}

.mobile-overlay.active {
    display: block;
}

/* Desktop only elements */
@media (min-width: 1024px) {
    .nav-desktop {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: none;
    }
    
    .btn-desktop {
        display: inline-flex;
    }
}

/* ===============================================
   4. BUTTONS
   =============================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius);
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

.btn-primary:hover {
    background-color: #003a7a;
}

.btn-secondary {
    background-color: #ffffff;
    color: var(--primary);
}

.btn-secondary:hover {
    background-color: #f8f9fa;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--border);
    color: var(--foreground);
}

.btn-outline:hover {
    background-color: var(--muted);
}

.btn-outline-light {
    background-color: transparent;
    border: 1px solid var(--primary-foreground);
    color: var(--primary-foreground);
}

.btn-outline-light:hover {
    background-color: var(--primary-foreground);
    color: var(--primary);
}

.btn-ghost {
    background-color: transparent;
    color: var(--foreground);
}

.btn-ghost:hover {
    background-color: var(--muted);
}

.btn-gradient-light {
    background-color: #ffffff;
    color: var(--primary);
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
}

.btn-gradient-light:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

.btn-desktop {
    display: none;
}

/* ===============================================
   5. HERO SECTION
   =============================================== */

.hero {
    padding: 4rem 0;
    background-color: var(--background);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.badge {
    display: inline-block;
    width: fit-content;
    padding: 0.375rem 1rem;
    background-color: #0A1628;
    color: #ffffff;
    font-size: 0.875rem;
    border-radius: calc(var(--radius) * 2);
}

.hero h1 {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--foreground);
}

.hero-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-image {
    position: relative;
    border-radius: calc(var(--radius) * 2);
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
                0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.hero-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* ===============================================
   6. SECTIONS
   =============================================== */

.section {
    padding: 4rem 0;
    background-color: var(--background);
}

.section-alt {
    background-color: rgba(242, 245, 248, 0.3);
}

.section-white {
    background-color: #ffffff;
}

.section-gradient-cards {
    padding: 3rem 0;
    background-color: var(--background);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.section-header .badge {
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

/* ===============================================
   7. CARDS & GRID
   =============================================== */

.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.cards-grid-4 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.cards-grid-6 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: all 0.2s;
}

.card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
                0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: calc(var(--radius) - 2px);
    background-color: rgba(0, 70, 150, 0.1);
    margin-bottom: 1rem;
}

.card-icon svg {
    color: var(--primary);
}

.card-icon-blue {
    background-color: rgba(37, 99, 235, 0.1);
}

.card-icon-blue svg {
    color: #2563eb;
}

.card-icon-round {
    display: flex;
    align-items: center;
    justify-center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: rgba(0, 70, 150, 0.1);
    margin: 0 auto 1rem;
}

.card-icon-round svg {
    color: var(--primary);
}

.card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--card-foreground);
    margin-bottom: 0.5rem;
}

.card-title-center {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--card-foreground);
    margin-bottom: 0.5rem;
    text-align: center;
}

.card-description {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.5;
}

.card-description-center {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.5;
    text-align: center;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.card-header svg {
    color: var(--primary);
}

.card-header h3 {
    font-size: 1.125rem;
    font-weight: 600;
}

.card-subtitle {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.card-industry {
    text-align: center;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 220px;
}

.card-icon-round {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: rgba(0, 70, 150, 0.1);
    margin: 0 auto 1rem;
    flex-shrink: 0;
}

.card-title-center {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--card-foreground);
    margin-bottom: 0.5rem;
    text-align: center;
    min-height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-description-center {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.5;
    text-align: center;
}

.card-service {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-grow: 1;
}

.service-list li {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* ===============================================
   8. GRADIENT CARDS
   =============================================== */

.gradient-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.gradient-card {
    position: relative;
    overflow: hidden;
    border-radius: calc(var(--radius) + 4px);
    padding: 2rem;
    color: #ffffff;
}

.gradient-card-primary {
    background: linear-gradient(135deg, var(--gradient-primary-from) 0%, var(--gradient-primary-to) 100%);
}

.gradient-card-blue {
    background: linear-gradient(135deg, var(--gradient-blue-from) 0%, var(--gradient-blue-to) 100%);
}

.gradient-card-dark {
    background: linear-gradient(135deg, var(--gradient-dark-from) 0%, var(--gradient-dark-to) 100%);
}

.gradient-card-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.gradient-card-icon {
    display: flex;
    align-items: center;
    justify-center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
}

.gradient-card-icon svg {
    color: #ffffff;
}

.gradient-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

.gradient-card p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
}

.gradient-circle {
    position: absolute;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
}

.gradient-circle-br {
    bottom: -1rem;
    right: -1rem;
}

.gradient-circle-tl {
    top: -1rem;
    left: -1rem;
}

.gradient-circle-tr {
    top: -0.5rem;
    right: -0.5rem;
}

/* ===============================================
   9. CTA SECTION
   =============================================== */

.cta-section {
    padding: 4rem 0;
    background-color: var(--primary);
    color: var(--primary-foreground);
}

.cta-content {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cta-content h2 {
    font-size: 1.875rem;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.125rem;
    opacity: 0.9;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

/* ===============================================
   10. FOOTER
   =============================================== */

.footer {
    background-color: rgba(242, 245, 248, 0.3);
    border-top: 1px solid var(--border);
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    height: 32px;
    width: auto;
}

.footer-brand p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

.footer-col h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.75rem;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-col ul li {
    font-size: 0.875rem;
}

.footer-col ul li a {
    color: var(--muted-foreground);
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: var(--foreground);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted-foreground);
}

.footer-contact svg {
    flex-shrink: 0;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* ===============================================
   11. RESPONSIVE DESIGN
   =============================================== */

/* Mobile específico para cards indústrias */
@media (max-width: 767px) {
    .cards-grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .card-industry {
        min-height: 200px;
        padding: 1.25rem 1rem;
    }
    
    .card-icon-round {
        width: 56px;
        height: 56px;
        margin-bottom: 0.75rem;
    }
    
    .card-title-center {
        font-size: 1rem;
        min-height: 2.25rem;
    }
    
    .card-description-center {
        font-size: 0.8125rem;
        line-height: 1.4;
    }
}

/* Tablets (768px+) */
@media (min-width: 768px) {
    :root {
        --container-padding: 2rem;
    }
    
    .hero {
        padding: 6rem 0;
    }
    
    .section {
        padding: 6rem 0;
    }
    
    .cta-section {
        padding: 6rem 0;
    }
    
    .section-gradient-cards {
        padding: 4rem 0;
    }
    
    .hero-actions {
        flex-direction: row;
    }
    
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cards-grid-6 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gradient-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-actions {
        flex-direction: row;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-brand {
        grid-column: span 2;
    }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
    .hero {
        padding: 8rem 0;
    }
    
    .section {
        padding: 8rem 0;
    }
    
    .cta-section {
        padding: 8rem 0;
    }
    
    .section-gradient-cards {
        padding: 5rem 0;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .cards-grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .cards-grid-6 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .gradient-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .section-header h2 {
        font-size: 2.25rem;
    }
    
    .cta-content h2 {
        font-size: 2.25rem;
    }
    
    .footer-grid {
        grid-template-columns: repeat(5, 1fr);
    }
    
    .footer-brand {
        grid-column: span 1;
    }
}

/* Large Desktop (1280px+) */
@media (min-width: 1280px) {
    :root {
        --container-padding: 2rem;
    }
}

/* ===============================================
   12. ANIMATIONS
   =============================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

/* ===============================================
   13. UTILITIES
   =============================================== */

.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

/* Focus states for accessibility */
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
    outline: 2px solid var(--ring);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .header,
    .mobile-menu,
    .mobile-overlay,
    .cta-section,
    .btn {
        display: none;
    }
}