/* style.css */
:root {
    --primary-color: #0d233a; /* Azul Escuro (confiança/negócios) */
    --secondary-color: #f39c12; /* Laranja CTA */
    --secondary-hover: #e67e22;
    --text-color: #333;
    --text-light: #666;
    --bg-light: rgba(248, 249, 250, 0.85);
    --bg-white: rgba(255, 255, 255, 0.85);
    --font-main: 'Roboto', sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background: url('images/navio.avif') no-repeat center center fixed;
    background-size: cover;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.img-fluid {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

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

.section-header h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Botões */
.btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background-color: #1a3d66;
    color: white;
}

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

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

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

.header.scrolled {
    padding: 10px 0;
    background-color: #ffffff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

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

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

.logo-icon {
    height: 40px;
    width: auto;
    object-fit: contain;
    border-radius: 50%;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.logo-text strong {
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    gap: 25px;
}

.nav-link {
    font-weight: 500;
    color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--secondary-color);
}

.header-cta {
    display: flex;
    gap: 15px;
    align-items: center;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    padding: 180px 0 120px;
    background-color: transparent;
}

.hero-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.hero-content {
    max-width: 600px;
    background: rgba(255, 255, 255, 0.85);
    padding: 40px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
}

.hero-title {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.hero-bullets {
    margin-bottom: 40px;
}

.hero-bullets li {
    font-size: 1.1rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
}

.hero-bullets i {
    color: var(--secondary-color);
}

/* Benefícios */
.benefits {
    padding: 80px 0;
    background-color: var(--bg-light);
}

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

.benefit-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.icon-box {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.benefit-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Como Funciona */
.how-it-works {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.steps-container {
    display: flex;
    justify-content: space-between;
    position: relative;
    gap: 20px;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-icon {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.step h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Sobre a Empresa */
.about {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-content h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 15px;
    color: var(--text-light);
}

.mission {
    background: var(--bg-white);
    padding: 20px;
    border-left: 4px solid var(--secondary-color);
    border-radius: 0 8px 8px 0;
    margin-top: 30px;
    box-shadow: var(--shadow);
}

/* Serviços */
.services {
    padding: 80px 0;
    background-color: var(--bg-white);
}

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

.service-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 10px;
    transition: var(--transition);
    border: 1px solid #eaeaea;
}

.service-card:hover {
    background: var(--primary-color);
    color: white;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card:hover .service-icon,
.service-card:hover h3,
.service-card:hover p {
    color: white;
}

/* Depoimentos */
.testimonials {
    padding: 80px 0;
    background-color: var(--bg-light);
}

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

.testimonial-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    position: relative;
}

.quote-icon {
    font-size: 1.5rem;
    color: var(--secondary-color);
    opacity: 0.5;
    margin-bottom: 15px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.client-avatar {
    font-size: 3rem;
    color: var(--primary-color);
}

.client-details h4 {
    color: var(--primary-color);
}

.client-details span {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Resultados */
.results {
    padding: 60px 0;
    background-color: var(--primary-color);
    color: white;
}

.results-grid {
    display: flex;
    justify-content: space-around;
    text-align: center;
    flex-wrap: wrap;
    gap: 30px;
}

.result-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.result-text {
    font-size: 1.2rem;
    font-weight: 500;
}

/* CTA Final / Formulário de Contato */
.final-cta {
    padding: 100px 0;
    background: linear-gradient(rgba(13, 35, 58, 0.9), rgba(13, 35, 58, 0.9)), url('https://images.pexels.com/photos/924824/pexels-photo-924824.jpeg?auto=compress&cs=tinysrgb&w=1200') center/cover no-repeat;
    text-align: center;
    color: white;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.9);
    font-family: var(--font-main);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 8px rgba(243, 156, 18, 0.5);
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    border: none;
    margin-top: 10px;
    width: 100%;
}

.alert {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-weight: 500;
}

.alert-success {
    background-color: #2ecc71;
    color: white;
}

.alert-danger {
    background-color: #e74c3c;
    color: white;
}

/* Footer */
.footer {
    background-color: #081625;
    color: #a0aab5;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-logo {
    margin-bottom: 15px;
}

.footer-logo .logo-text {
    color: white;
}

.footer-logo .logo-text strong {
    color: var(--secondary-color);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
}

.contact-col ul li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-col ul li i {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--secondary-color);
}

/* Nova Seção Corporativa (Footer) */
.footer-corporate {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 30px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: #a0aab5;
    gap: 20px;
}

.fc-left p {
    margin-bottom: 5px;
}

.fc-links {
    margin-top: 15px;
}

.fc-links a {
    color: #FFF;
    transition: var(--transition);
}

.fc-links a:hover {
    color: var(--secondary-color);
}

.fc-right {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: right;
}

.fc-metric {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    font-weight: 500;
    color: #FFF;
}

.fc-metric i {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

/* Botão Flutuante do WhatsApp */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #1ebe57;
    color: #FFF;
    animation: none; /* Pausa o pulso no hover */
    transform: scale(1.1);
    box-shadow: 2px 2px 15px rgba(37, 211, 102, 0.5);
}

/* Responsividade */
@media (max-width: 992px) {
    .hero-container, .about-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-bullets li {
        justify-content: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .steps-container {
        flex-direction: column;
        align-items: center;
    }
    
    .step {
        width: 100%;
        max-width: 400px;
        margin-bottom: 30px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        display: none;
    }
    
    .navbar.active {
        display: block;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .header-cta {
        display: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-corporate {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .fc-right {
        text-align: center;
        align-items: center;
        margin-top: 20px;
    }
    
    .fc-metric {
        justify-content: center;
    }
    
    .contact-col ul li {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .hero {
        padding-top: 100px;
    }
}

.actions { display:flex; gap:8px; justify-content:center; }
.action-btn { width:34px; height:34px; border-radius:8px; display:inline-flex; align-items:center; justify-content:center; border:2px solid transparent; cursor:pointer; background:#fff; text-decoration:none; transition: all 0.2s ease; }
.action-btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(243,156,18,.25); }
.action-btn:hover { filter: brightness(0.98); }
.action-btn.is-disabled { opacity: 0.45; cursor: not-allowed; pointer-events: none; }
.action-view { color: var(--primary-color); border-color: rgba(20,40,80,.15); }
.action-edit { color: var(--secondary-color); border-color: rgba(243,156,18,.25); }
.action-dup { color: #6f42c1; border-color: rgba(111,66,193,.25); }
.action-print { color: #2d7ff9; border-color: rgba(45,127,249,.25); }
.action-del { color: #e74c3c; border-color: rgba(231,76,60,.25); }
.action-fav { color: #c0c0c0; border-color: rgba(20,40,80,.15); }
.action-fav.is-active { color: var(--secondary-color); border-color: rgba(243,156,18,.25); }

.cbm-grid-table td.col-actions { vertical-align: middle; }
.cbm-grid-table td.col-actions .actions { display:flex; align-items:center; justify-content:center; gap:4px !important; }
.cbm-grid-table td.col-actions .action-btn {
    width:34px !important;
    height:34px !important;
    min-width:34px !important;
    max-width:34px !important;
    min-height:34px !important;
    max-height:34px !important;
    padding:0 !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    overflow:hidden !important;
    white-space:nowrap !important;
}

.cbm-page { max-width: 1920px; margin: 0 auto; padding: 20px; }

.cbm-grid { background: var(--bg-white); border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; }
.cbm-grid-scroll { width: 100%; overflow-x: auto; }
.cbm-grid-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-family: var(--font-main); }
.cbm-grid-table thead th { height: 48px; background: var(--bg-light); color: var(--primary-color); font-family: var(--font-main); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.2px; text-align: left; padding: 12px; white-space: nowrap; }
.cbm-grid-table tbody td { padding: 12px; border-bottom: 1px solid #eee; font-family: var(--font-main); font-size: 0.92rem; vertical-align: middle; color: var(--text-dark); }
.cbm-grid-table tbody tr:nth-child(even) { background: rgba(20, 40, 80, 0.025); }
.cbm-grid-table tbody tr:hover { background: rgba(243, 156, 18, 0.06); }
.cbm-grid-table tbody tr.is-selected { background: rgba(243, 156, 18, 0.12); }

.cbm-grid-table .status-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; line-height: 1; }
.cbm-grid-table .status-ativo { background: rgba(46, 204, 113, 0.16); color: #166534; }
.cbm-grid-table .status-inativo { background: rgba(231, 76, 60, 0.16); color: #7f1d1d; }
.cbm-grid-table .status-bloqueado { background: rgba(243, 156, 18, 0.18); color: #7a4a00; }

.cbm-grid-table .col-id { width: 70px; }
.cbm-grid-table .col-tipo { width: 90px; }
.cbm-grid-table .col-doc { width: 160px; }
.cbm-grid-table .col-md { width: 160px; }
.cbm-grid-table .col-phone { width: 150px; }
.cbm-grid-table .col-email { width: 240px; }
.cbm-grid-table .col-city { width: 170px; }
.cbm-grid-table .col-status { width: 120px; }
.cbm-grid-table .col-date { width: 140px; }
.cbm-grid-table .col-money { width: 140px; }
.cbm-grid-table .col-company { width: 160px; }
.cbm-grid-table .col-actions { width: 220px; text-align: center; }
.cbm-grid-table tbody td.col-actions { text-align: center; }

@media (max-width: 1100px) {
    .cbm-page { padding: 16px; }
    .cbm-grid-table { min-width: 980px; }
}

body.system { background-image: none; position: relative; }
body.system::before { content: ""; position: fixed; inset: 0; background: url('images/navio.avif') center/cover no-repeat fixed; opacity: 0.5; z-index: -1; }
