/* style.css */
/* Proposta Consolidada 2026 - Megamil + LSLog */

:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-card: rgba(255, 255, 255, 0.8);
    --bg-dark: #090d16;
    --primary: #4f46e5;       /* Megamil Indigo */
    --primary-light: #818cf8;
    --primary-glow: rgba(79, 70, 229, 0.1);
    --secondary: #ef5037;     /* LSLog Laranja */
    --secondary-light: #f26d56;
    --secondary-glow: rgba(239, 80, 55, 0.1);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --border-color: rgba(15, 23, 42, 0.08);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 12px 20px -8px rgba(15, 23, 42, 0.06), 0 4px 6px -2px rgba(15, 23, 42, 0.03);
    --shadow-lg: 0 20px 32px -12px rgba(15, 23, 42, 0.08), 0 8px 16px -8px rgba(15, 23, 42, 0.04);
    --font-title: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 16px;
}

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

.hidden {
    display: none !important;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-secondary);
    color: var(--text-secondary);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

/* Tipografia */
h1, h2, h3, h4 {
    font-family: var(--font-title);
    color: var(--text-primary);
    font-weight: 700;
}

/* Seções Gerais */
.section {
    padding: 100px 0;
    position: relative;
}

.bg-light {
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.bg-dark {
    background-color: var(--bg-dark);
    color: rgba(255, 255, 255, 0.8);
}

.section-header {
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.section-title span {
    color: var(--primary);
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-muted);
}

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

/* Botões */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
    font-family: var(--font-title);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.4);
}

.btn-secondary {
    background: var(--bg-primary);
    color: var(--text-primary);
    border-color: var(--border-color);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--bg-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 12px;
}

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

.btn-block {
    width: 100%;
}

/* Glassmorphism Card Base */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.glass-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: rgba(79, 70, 229, 0.2);
}

/* Header & Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
    transition: var(--transition);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 24px;
    color: var(--primary);
}

.logo-text {
    font-size: 20px;
    font-weight: 800;
    font-family: var(--font-title);
    color: var(--text-primary);
}

.logo-text span {
    color: var(--secondary);
    font-weight: 500;
}

.badge {
    background: var(--primary-glow);
    color: var(--primary);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    border: 1px solid rgba(79, 70, 229, 0.15);
    margin-left: 8px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition);
}

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

/* Hero Section */
.hero {
    position: relative;
    padding: 180px 0 120px 0;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background-color: var(--bg-secondary);
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}

.shape-1 {
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
}

.shape-2 {
    bottom: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(239, 80, 55, 0.06) 0%, rgba(255, 255, 255, 0) 70%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 650px;
}

.hero-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary);
    background: var(--secondary-glow);
    padding: 6px 14px;
    border-radius: 30px;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 52px;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
    font-weight: 800;
}

.hero-title span {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.hero-visual {
    position: relative;
}

.visual-badge-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.visual-badge {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.visual-badge i {
    font-size: 28px;
    color: var(--primary);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--primary-glow);
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-badge h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 2px;
}

.visual-badge p {
    font-size: 13px;
    color: var(--text-muted);
}

/* Animações de Float */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

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

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

/* Resumo Executivo */
.executivo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.exec-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.exec-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(79, 70, 229, 0.15);
}

.exec-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--primary-glow);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
}

.exec-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.exec-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Lista de Módulos */
.modules-list {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.module-card {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.module-card.card-reverse {
    grid-template-columns: 0.9fr 1.1fr;
}

.module-card.card-reverse .module-info {
    grid-column: 2;
}

.module-card.card-reverse .module-visual {
    grid-column: 1;
    grid-row: 1;
}

.module-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.badge-blue {
    background: var(--primary-glow);
    color: var(--primary);
}

.badge-orange {
    background: var(--secondary-glow);
    color: var(--secondary);
}

.badge-purple {
    background: rgba(147, 51, 234, 0.08);
    color: #9333ea;
}

.module-info h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 16px;
}

.module-desc {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.module-frentes {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.frente-item {
    border-left: 3px solid var(--border-color);
    padding-left: 16px;
    transition: var(--transition);
}

.frente-item:hover {
    border-left-color: var(--primary);
}

.frente-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.frente-title i {
    color: var(--primary);
    font-size: 16px;
}

.frente-title h4 {
    font-size: 15px;
    font-weight: 700;
}

.label-status {
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 4px;
    margin-left: 8px;
    font-weight: 700;
}

.label-new {
    background: var(--primary-glow);
    color: var(--primary);
}

.label-current {
    background: #e2e8f0;
    color: var(--text-secondary);
}

.label-pending {
    background: var(--secondary-glow);
    color: var(--secondary);
}

.frente-item p {
    font-size: 13.5px;
    color: var(--text-muted);
}

/* Tags de Preços */
.price-tag {
    margin-top: 30px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    transition: opacity 0.5s ease;
}

.price-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.price-value {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    margin-top: 4px;
}

.price-desc {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

.price-details-list {
    margin-top: 6px;
    font-size: 11.5px;
    color: var(--text-muted);
}

/* Condicionais para Exibição Suave */
.price-conditional, .links-conditional {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.price-conditional.visible, .links-conditional.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Visuals do Celular / Mockups */
.phone-mockup-light {
    width: 260px;
    height: 480px;
    border-radius: 36px;
    border: 10px solid #cbd5e1;
    background: #f1f5f9;
    box-shadow: var(--shadow-lg);
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.mock-screen {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.mock-header {
    background: var(--primary);
    color: #fff;
    font-size: 12px;
    padding: 14px 10px;
    text-align: center;
    font-family: var(--font-title);
    font-weight: 700;
}

.mock-body {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex-grow: 1;
    background: #f8fafc;
}

.mock-route-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px;
    box-shadow: var(--shadow-sm);
}

.route-id {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
}

.route-address {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 4px 0;
}

.route-status {
    font-size: 10px;
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
}

.route-status.pendente {
    background: var(--secondary-glow);
    color: var(--secondary);
}

.mock-photo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.mock-photo-slot {
    border: 2px dashed #cbd5e1;
    border-radius: 10px;
    height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.mock-photo-slot i {
    font-size: 18px;
    margin-bottom: 4px;
}

.mock-photo-slot small {
    font-size: 9px;
}

.mock-btn {
    background: #10b981;
    color: #fff;
    border-radius: 8px;
    padding: 10px;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    margin-top: auto;
}

/* Chatbot IA Visual */
.ai-visual-card {
    width: 320px;
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    margin: 0 auto;
    overflow: hidden;
}

.ai-header {
    background: var(--primary);
    color: #fff;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ai-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.ai-header h4 {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.ai-header small {
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
}

.ai-chat-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #f8fafc;
}

.chat-bubble {
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 12.5px;
    max-width: 85%;
    line-height: 1.4;
}

.chat-bubble.user {
    background: #e2e8f0;
    color: var(--text-primary);
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.chat-bubble.bot {
    background: #fff;
    color: var(--text-primary);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.chat-alert {
    display: inline-block;
    margin-top: 6px;
    color: var(--secondary);
    font-weight: 600;
}

/* Crossdocking Visual */
.crossdocking-visual {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
}

.doca-visual-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.doca-box {
    width: 90px;
    height: 90px;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 700;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.doca-box.in {
    background: var(--secondary-glow);
    color: var(--secondary);
    border-color: rgba(239, 80, 55, 0.2);
}

.doca-box.sort {
    background: var(--primary-glow);
    color: var(--primary);
    border-color: rgba(79, 70, 229, 0.2);
}

.doca-box.out {
    background: rgba(16, 185, 129, 0.08);
    color: #10b981;
    border-color: rgba(16, 185, 129, 0.2);
}

.doca-box i {
    font-size: 22px;
}

.flow-arrow {
    color: var(--text-muted);
    font-size: 16px;
}

/* Agendamento Visual */
.agendamento-visual {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
}

.doca-grid-demo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.doca-demo-item {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 15px;
    box-shadow: var(--shadow-md);
}

.doca-demo-title {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
    color: var(--text-primary);
}

.doca-demo-slot {
    font-size: 11px;
    padding: 6px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 6px;
    font-weight: 600;
}

.doca-demo-slot.ocupado {
    background: #fee2e2;
    color: #ef4444;
}

.doca-demo-slot.livre {
    background: #d1fae5;
    color: #10b981;
}

/* Seção de Orçamento e Tabela */
.budget-table-wrapper {
    overflow-x: auto;
    margin-bottom: 40px;
}

.budget-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.budget-table th, .budget-table td {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
}

.budget-table th {
    font-family: var(--font-title);
    font-weight: 700;
    color: var(--text-primary);
    font-size: 15px;
    background: rgba(15, 23, 42, 0.02);
}

.budget-table td strong {
    display: block;
    color: var(--text-primary);
    font-size: 15px;
    margin-bottom: 4px;
}

.budget-table td small {
    display: block;
    color: var(--text-muted);
    font-size: 12px;
}

.badge-status {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
}

.badge-status.novo {
    background: var(--primary-glow);
    color: var(--primary);
}

.badge-status.pendente {
    background: var(--secondary-glow);
    color: var(--secondary);
}

.badge-status.especial {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.value-cell {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.row-total-individual td {
    font-weight: 700;
    color: var(--text-primary);
    background: rgba(15, 23, 42, 0.01);
}

.row-pacote-especial {
    background: rgba(79, 70, 229, 0.02);
}

.pacote-destaque {
    display: flex;
    align-items: center;
    gap: 16px;
}

.pacote-destaque i {
    font-size: 24px;
    color: var(--primary);
}

.pacote-preco-final {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
}

.pacote-economia {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #10b981;
}

/* Grid de Condições */
.finance-conditions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.condition-card {
    background: var(--bg-primary);
}

.condition-card i {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 16px;
    display: block;
}

.condition-card h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.condition-card p {
    font-size: 13.5px;
    line-height: 1.5;
}

/* Propostas Originais */
.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.link-detail-card {
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.link-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--primary-glow);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 20px;
}

.link-detail-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.link-detail-card p {
    font-size: 13.5px;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.5;
}

.link-action-btn {
    margin-top: auto;
    font-family: var(--font-title);
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.link-detail-card:hover .link-action-btn {
    gap: 10px;
}

/* Contato */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.contact-info h2 {
    color: #fff;
    font-size: 36px;
    margin-bottom: 16px;
}

.contact-info h2 span {
    color: var(--secondary-light);
}

.contact-info p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
}

.contact-details {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-details li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 15px;
}

.contact-details li i {
    color: var(--secondary-light);
}

.contact-cta-card {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.contact-cta-card h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 10px;
}

.contact-cta-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 24px;
}

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

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo-icon {
    font-size: 20px;
    color: var(--primary);
}

.footer-logo-text {
    font-family: var(--font-title);
    font-weight: 800;
    color: var(--text-primary);
}

.footer-brand p {
    font-size: 12px;
    color: var(--text-muted);
    margin-left: 16px;
    padding-left: 16px;
    border-left: 1px solid var(--border-color);
}

.footer-legal p {
    font-size: 12px;
    color: var(--text-muted);
}

/* Responsividade */
@media (max-width: 992px) {
    .hero-container, .module-card, .module-card.card-reverse, .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .module-card.card-reverse .module-info {
        grid-column: 1;
    }
    
    .hero-visual, .module-visual {
        order: -1;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .navbar {
        position: relative;
    }
    
    .nav-links {
        display: none;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .finance-conditions-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-brand p {
        border-left: none;
        margin-left: 0;
        padding-left: 0;
        margin-top: 10px;
    }
}

/* ── CARD COM BORDA GLOW ESTILO IA ANIMADA ──────────────── */
.card-ia-glow {
    position: relative;
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 24px;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.05);
    overflow: hidden;
    z-index: 1;
}

.card-ia-glow::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 12px;
    padding: 2.5px; /* Espessura da borda */
    background: linear-gradient(135deg, #4f46e5, #ec4899, #10b981, #f59e0b, #4f46e5);
    background-size: 300% 300%;
    animation: gradient-border-anim 6s ease infinite;
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
    z-index: -1;
}

@keyframes gradient-border-anim {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
