/* ===================================
    ABIM — Máquinas e Equipamentos Ltda
    Customização Crafto Corporate
====================================== */

/* Importação de fonte */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@200;300;400;500;600;700;800&display=swap');

/* Variáveis de cor industrial */
:root {
    --base-color: #C62828;
    --base-color-dark: #8e1a1a;
    --base-color-light: #ef5350;
    --medium-gray: #878898;
    --dark-gray: #1a1a2e;
    --light-red: #fdecea;
    --alt-font: 'Plus Jakarta Sans', sans-serif;
    --primary-font: 'Plus Jakarta Sans', sans-serif;
}

/* Estilos globais (substitui corporate.css do Crafto) */
*, *::before, *::after { box-sizing: border-box; }
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 16px;
    line-height: 28px;
    color: #555;
    margin: 0;
}
b, strong { font-weight: 700; }
a { color: #878898; text-decoration: none; }
a:hover { color: #C62828; }
.box-layout { padding: 0; }
sup { top: -0.6em; }
.lh-42px { line-height: 42px; }
section { padding: 90px 0; }
@media (max-width: 991px) { section { padding: 60px 0; } }

/* Grid col-lg-2-4 (5 colunas a 20% cada) */
@media (min-width: 992px) {
    .col-lg-2-4 { flex: 0 0 20%; max-width: 20%; }
}

/* ── Logo texto ── */
.abim-logo-mark {
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.abim-logo-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 900;
    font-size: 24px;
    color: #C62828;
    letter-spacing: -1px;
    line-height: 1;
}
.abim-logo-sub {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 7.5px;
    color: #888;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 3px;
}
.abim-logo-footer .abim-logo-text { color: #C62828; }
.abim-logo-footer .abim-logo-sub { color: #aaa; }

/* ---- Override cor base para vermelho industrial ---- */
.bg-base-color { background-color: #C62828 !important; }
.text-base-color { color: #C62828 !important; }
.border-color-base-color { border-color: #C62828 !important; }
.btn-base-color { background-color: #C62828 !important; }
.bg-gradient-base-color-transparent {
    background: linear-gradient(to top, #C62828, transparent) !important;
}
.bg-gradient-regal-blue-transparent {
    background: linear-gradient(to top, #1a1a2e, transparent) !important;
}
.bg-regal-blue { background-color: #1a1a2e !important; }
.text-regal-blue { color: #1a1a2e !important; }
.bg-gradient-blue-whale-transparent {
    background: linear-gradient(135deg, rgba(26,26,46,0.3), transparent) !important;
}
.bg-light-red { background-color: #fdecea !important; }
.box-overlay.bg-base-color { background-color: rgba(198,40,40,0.85) !important; }

/* Header */
.navbar .navbar-nav .nav-link {
    font-weight: 600;
    font-size: 16px;
}
header .navbar-brand img {
    max-height: 55px;
}
.navbar .btn.btn-switch-text.btn-medium > span {
    padding: 10px 25px;
    font-size: 14px;
}
.navbar .navbar-nav .dropdown .dropdown-menu {
    background-color: #1a1a2e;
}
.navbar .navbar-nav .dropdown .dropdown-menu a,
.navbar .navbar-nav .dropdown .dropdown-menu a:hover,
.navbar .navbar-nav .dropdown .dropdown-menu li.active > a {
    color: #fff;
    font-weight: 500;
}

/* Hero / Slider */
.abim-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d1515 50%, #1a0a0a 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.abim-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://static.wixstatic.com/media/f98a71_d9642176ad8148d991a97c53aa391163~mv2.png') center/cover no-repeat;
    opacity: 0.18;
}
.abim-hero-content {
    position: relative;
    z-index: 2;
}
.abim-hero h1 {
    font-size: 58px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    color: #fff;
    margin-bottom: 24px;
}
.abim-hero p {
    font-size: 20px;
    font-weight: 300;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    margin-bottom: 40px;
}
@media (max-width: 991px) {
    .abim-hero h1 { font-size: 38px; letter-spacing: -1px; }
    .abim-hero p { font-size: 17px; }
}

/* Seção de números */
.abim-stats {
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
}
.abim-stat-item {
    padding: 40px 20px;
    border-right: 1px solid #e8e8e8;
    text-align: center;
}
.abim-stat-item:last-child { border-right: none; }
.abim-stat-num {
    font-size: 52px;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1;
}
.abim-stat-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #878898;
    margin-top: 8px;
}

/* Cards de serviço */
.abim-service-card {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 30px rgba(0,0,0,0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.abim-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(198,40,40,0.2);
}
.abim-service-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}
.abim-service-card .card-body {
    padding: 24px;
    background: #fff;
}
.abim-service-card .card-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
}
.abim-service-card .card-text {
    font-size: 15px;
    color: #666;
    line-height: 1.65;
}
.abim-service-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #C62828;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: 30px;
}

/* Setores atendidos */
.abim-setor-card {
    background: #f8f8f8;
    border-radius: 8px;
    padding: 28px 20px;
    text-align: center;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}
.abim-setor-card:hover {
    background: #fff;
    border-bottom-color: #C62828;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}
.abim-setor-card i {
    font-size: 36px;
    color: #C62828;
    margin-bottom: 12px;
    display: block;
}
.abim-setor-card span {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a2e;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Qualidade / pilares */
.abim-pilar-card {
    background: #fff;
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    border-top: 4px solid #C62828;
    transition: transform 0.3s ease;
}
.abim-pilar-card:hover { transform: translateY(-5px); }
.abim-pilar-card i {
    font-size: 44px;
    color: #C62828;
    margin-bottom: 16px;
    display: block;
}
.abim-pilar-card h5 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
}
.abim-pilar-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.65;
    margin: 0;
}

/* Valor card */
.abim-valor-card {
    background: #fff;
    border-radius: 10px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    transition: all 0.3s ease;
}
.abim-valor-card:hover {
    box-shadow: 0 10px 35px rgba(198,40,40,0.15);
    transform: translateY(-4px);
}
.abim-valor-card i {
    font-size: 38px;
    color: #C62828;
    margin-bottom: 14px;
    display: block;
}
.abim-valor-card h5 {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
}
.abim-valor-card p {
    font-size: 14px;
    color: #777;
    line-height: 1.6;
    margin: 0;
}

/* Depoimentos */
.abim-depoimento {
    background: #fff;
    border-radius: 10px;
    padding: 36px 32px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    border-top: 3px solid #C62828;
    position: relative;
}
.abim-depoimento .stars {
    color: #f5a623;
    font-size: 16px;
    margin-bottom: 16px;
}
.abim-depoimento p {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 20px;
}
.abim-depoimento .autor-nome {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a2e;
}
.abim-depoimento .autor-cargo {
    font-size: 13px;
    color: #999;
}

/* Formulário de contato */
.abim-form .form-control,
.abim-form .form-select {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 15px;
    transition: border-color 0.3s;
}
.abim-form .form-control:focus,
.abim-form .form-select:focus {
    border-color: #C62828;
    box-shadow: 0 0 0 3px rgba(198,40,40,0.1);
    outline: none;
}
.abim-form label {
    font-weight: 600;
    font-size: 14px;
    color: #1a1a2e;
    margin-bottom: 6px;
}
.abim-form textarea { min-height: 130px; resize: vertical; }

/* Botões ABIM */
.btn-abim-red {
    background-color: #C62828;
    color: #fff !important;
    border: none;
    border-radius: 6px;
    padding: 14px 32px;
    font-weight: 700;
    font-size: 15px;
    transition: background 0.3s;
    display: inline-block;
    text-decoration: none !important;
}
.btn-abim-red:hover { background-color: #8e1a1a; }
.btn-abim-outline {
    background: transparent;
    color: #C62828 !important;
    border: 2px solid #C62828;
    border-radius: 6px;
    padding: 12px 30px;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s;
    display: inline-block;
    text-decoration: none !important;
}
.btn-abim-outline:hover {
    background: #C62828;
    color: #fff !important;
}
.btn-abim-dark {
    background-color: #1a1a2e;
    color: #fff !important;
    border: none;
    border-radius: 6px;
    padding: 14px 32px;
    font-weight: 700;
    font-size: 15px;
    transition: background 0.3s;
    display: inline-block;
    text-decoration: none !important;
}
.btn-abim-dark:hover { background-color: #2d2d4e; }

/* CTA section dark */
.abim-cta-dark {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d1515 100%);
}

/* Ensaios badges */
.abim-ensaio-badge {
    background: #fdecea;
    border-left: 4px solid #C62828;
    border-radius: 6px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 12px;
}
.abim-ensaio-badge i { color: #C62828; font-size: 20px; flex-shrink: 0; }

/* Page title section */
.abim-page-title {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d1515 100%);
    padding: 100px 0 70px;
    position: relative;
    overflow: hidden;
}
.abim-page-title::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://static.wixstatic.com/media/f98a71_d9642176ad8148d991a97c53aa391163~mv2.png') center/cover no-repeat;
    opacity: 0.1;
}
.abim-page-title h1 {
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -1.5px;
    position: relative;
    z-index: 1;
    margin-bottom: 12px;
}
.abim-page-title p {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    position: relative;
    z-index: 1;
    margin: 0;
}
@media (max-width: 767px) {
    .abim-page-title h1 { font-size: 32px; }
}

/* MVV cards */
.abim-mvv-card {
    background: #fff;
    border-radius: 10px;
    padding: 36px 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    height: 100%;
}
.abim-mvv-card .icon-wrap {
    width: 60px;
    height: 60px;
    background: #fdecea;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.abim-mvv-card .icon-wrap i {
    font-size: 28px;
    color: #C62828;
}
.abim-mvv-card h4 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
}
.abim-mvv-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* LGPD page */
.abim-lgpd-content h2 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    margin-top: 40px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #fdecea;
}
.abim-lgpd-content h3 {
    font-size: 17px;
    font-weight: 700;
    color: #C62828;
    margin-top: 24px;
    margin-bottom: 10px;
}
.abim-lgpd-content p,
.abim-lgpd-content li {
    font-size: 15px;
    line-height: 1.75;
    color: #444;
}
.abim-lgpd-content ul { padding-left: 20px; margin-bottom: 16px; }
.abim-lgpd-updated {
    background: #fdecea;
    border: 1px solid #f5c6c6;
    border-radius: 6px;
    padding: 12px 20px;
    font-size: 14px;
    color: #C62828;
    font-weight: 600;
    margin-bottom: 30px;
    display: inline-block;
}

/* WhatsApp float button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none !important;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37,211,102,0.55);
}
.whatsapp-float i {
    color: #fff;
    font-size: 30px;
    line-height: 1;
}

/* Footer */
footer { background-color: #fff; }
footer a { color: #878898; }
footer a:hover { color: #C62828; }
.footer-logo img { max-height: 50px; }

/* Seção bg-light industrial */
.bg-industrial-light { background: #f7f7f7; }

/* Missão faixa vermelha */
.abim-missao-strip {
    background: #C62828;
    color: #fff;
    padding: 50px 0;
    text-align: center;
}
.abim-missao-strip h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
}
.abim-missao-strip p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.65;
}

/* Box estrutura */
.abim-estrutura-box {
    background: #1a1a2e;
    color: #fff;
    border-radius: 10px;
    padding: 36px 30px;
    text-align: center;
}
.abim-estrutura-box .num {
    font-size: 48px;
    font-weight: 800;
    color: #C62828;
    line-height: 1;
    margin-bottom: 6px;
}
.abim-estrutura-box .label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.7);
}

/* Box layout (frame) */
.box-layout {
    padding: 0 40px;
}
@media (max-width: 767px) {
    .box-layout { padding: 0; }
    .abim-stat-item { border-right: none; border-bottom: 1px solid #e8e8e8; }
}

/* Breadcrumb */
.abim-breadcrumb {
    position: relative;
    z-index: 1;
    margin-top: 8px;
}
.abim-breadcrumb a,
.abim-breadcrumb span {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
}
.abim-breadcrumb a:hover { color: #fff; }
.abim-breadcrumb .sep { margin: 0 8px; color: rgba(255,255,255,0.4); }

/* Qualidade frase destaque */
.abim-frase-qualidade {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e;
    text-align: center;
    padding: 50px 20px;
    position: relative;
    line-height: 1.4;
}
.abim-frase-qualidade::before {
    content: '"';
    font-size: 120px;
    color: #fdecea;
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-family: Georgia, serif;
    line-height: 1;
    z-index: 0;
}
.abim-frase-qualidade span {
    position: relative;
    z-index: 1;
}

/* Upload file */
input[type="file"].form-control { padding: 10px 16px; cursor: pointer; }
