/* ===== Variáveis Globais de Cores ===== */
:root {
    --red: #C4342B;
    --red-dark: #A32A22;
    --red-light: #D9463C;
    --red-light-2: #F6DDDA;
    --charcoal: #2B2B2B;
    --light: #E9E6E1;
    --light-2: #F4F2EF;
    --text-dark: #3A3A3A;
    --text-mute-light: #C4BEB8;
    --notch-color: var(--charcoal);
}

/* ===== Configurações Gerais ===== */
body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
}

/* ===== Suporte a Redução de Movimento ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

/* ===== Custom Colors e Background Utility ===== */
.bg-light-2 {
    background-color: var(--light-2);
}

.bg-charcoal {
    background-color: var(--charcoal);
}

.bg-red {
    background-color: var(--red);
}

.bg-light {
    background-color: var(--light);
}

.text-charcoal {
    color: var(--charcoal);
}

.text-red {
    color: var(--red);
}

.text-red-light {
    color: var(--red-light);
}

.text-red-light-2 {
    color: var(--red-light-2);
}

.text-mute-light {
    color: var(--text-mute-light);
}

.fw-extrabold {
    font-weight: 800;
}

.italic {
    font-style: italic;
}

.font-26 {
    font-size: 26px;
}

/* ===== Brand Mark (Assist24 Wordmark) ===== */
.brand {
    display: inline-flex;
    flex-direction: column;
    line-height: 1;
    text-decoration: none;
}

.brand .word {
    font-weight: 800;
    font-size: 26px;
    letter-spacing: -0.5px;
    display: flex;
    align-items: baseline;
}

.brand .word .a {
    color: var(--charcoal);
    position: relative;
}

.brand .word .n {
    color: var(--red);
    font-style: italic;
}

.brand .tagline {
    font-size: 7.5px;
    letter-spacing: .22em;
    font-weight: 600;
    color: #6E6A66;
    text-transform: uppercase;
    margin-top: 3px;
}

.brand.on-dark .word .a {
    color: #fff;
}

.brand.on-dark .tagline {
    color: #B9B4AF;
}

/* ===== Custom Buttons ===== */
.btn-red {
    background: var(--red);
    color: #fff;
    box-shadow: 0 4px 14px rgba(196, 52, 43, .35);
    border: none;
    transition: transform .15s, box-shadow .15s, background .15s;
}

.btn-red:hover {
    background: var(--red-light);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    transition: transform .15s, background .15s, color .15s;
}

.btn-outline-white:hover {
    background: #fff;
    color: var(--charcoal);
}

/* ===== Custom Nav Hover Line ===== */
.nav-item-custom {
    font-size: 17px;
    font-weight: 400;
    color: var(--charcoal);
    text-decoration: none;
    position: relative;
    padding-bottom: 4px;
}

.nav-item-custom::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2.5px;
    background: var(--red);
    transition: width .2s;
}

.nav-item-custom:hover::after {
    width: 100%;
}

/* ===== Brand Accents ===== */
.dash-accent {
    display: inline-flex;
    gap: 0;
    height: 4px;
    margin-bottom: 16px;
}

.dash-accent span:first-child {
    width: 34px;
    background: var(--red);
}

.dash-accent span:last-child {
    width: 16px;
    background: var(--charcoal);
}

.dash-accent.on-dark span:last-child {
    background: #fff;
}

/* ===== HERO CSS Grid & Vector Background ===== */
.hero {
    background: linear-gradient(rgba(28, 28, 28, .82), rgba(28, 28, 28, .72)),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="800" height="600"><rect fill="%23262626" width="800" height="600"/><g fill="%23303030"><rect x="60" y="180" width="120" height="420"/><rect x="220" y="100" width="140" height="500"/><rect x="400" y="220" width="110" height="380"/><rect x="550" y="60" width="150" height="540"/></g><g fill="%233a3a3a"><rect x="80" y="200" width="18" height="18"/><rect x="110" y="200" width="18" height="18"/><rect x="240" y="130" width="20" height="20"/><rect x="280" y="130" width="20" height="20"/><rect x="320" y="130" width="20" height="20"/><rect x="240" y="170" width="20" height="20"/><rect x="280" y="170" width="20" height="20"/><rect x="570" y="90" width="22" height="22"/><rect x="610" y="90" width="22" height="22"/><rect x="650" y="90" width="22" height="22"/><rect x="570" y="135" width="22" height="22"/><rect x="610" y="135" width="22" height="22"/></g></svg>');
    background-size: cover;
    background-position: center;
    min-height: 80vh;
}

.hero-num {
    position: absolute;
    right: -30px;
    top: 10px;
    font-weight: 800;
    font-size: 340px;
    line-height: 1;
    color: rgba(255, 255, 255, .05);
    user-select: none;
    pointer-events: none;
    font-style: italic;
    z-index: 0;
}

/* ===== Estilo para a Nova Logo em Imagem ===== */
.brand-logo {
    display: inline-flex;
    align-items: center;
    transition: opacity 0.2s ease;
}

.brand-logo:hover {
    opacity: 0.85;
}

.logo-img {
    height: 80px;
    width: auto;
    display: block;
}

.logo-img-footer {
    height: 64px;
    width: auto;
    display: block;
}

/* ===== Cards de Ação Modernos (Glassmorphism) ===== */
.action-card {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
        background-color 0.3s ease,
        box-shadow 0.3s ease;
}

/* Efeito ao passar o mouse */
.action-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Indicador de Número Modernizado */
.num-badge {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--red);
    font-weight: 800;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.action-card:hover .num-badge {
    transform: scale(1.1);
}

/* Ajustes finos de texto */
.small-text {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.9;
}

/* Garante ajuste em telas menores se necessário */
@media (max-width: 576px) {
    .logo-img {
        height: 40px;
    }
    .logo-img-footer {
        height: 48px;
    }
}

.hero-slogan {
    color: var(--red-light);
    font-size: 15px;
    letter-spacing: .06em;
}

.hero-sub {
    color: #D8D4CF;
    max-width: 50ch;
}

.border-white-15 {
    border-color: rgba(255, 255, 255, .18) !important;
}

.small-tag {
    font-size: 11.5px;
    color: #B9B4AF;
    letter-spacing: .05em;
}

/* Card Moderno Sem Hover */
.modern-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: none;
}

/* Ajustes de tipografia para o card */
.modern-card h3 {
    font-size: 1.25rem;
    letter-spacing: -0.01em;
}

.modern-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--red) 70%, var(--charcoal) 70%);
    border-radius: 10px 10px 0 0;
}

.check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
}

.check svg {
    width: 11px;
    height: 11px;
    stroke: #fff;
    stroke-width: 3;
    fill: none;
}

/* ===== Soluções e Notches ===== */
.mt-n5-custom {
    margin-top: -46px !important;
}

.sol-notch {
    width: 0;
    height: 0;
    margin: 0 auto 26px;
    border-left: 36px solid transparent;
    border-right: 36px solid transparent;
    border-top: 30px solid var(--charcoal);
}

/* ===== Band Red Accent ===== */
.big24 {
    position: absolute;
    left: -40px;
    bottom: -90px;
    font-size: 360px;
    font-weight: 800;
    font-style: italic;
    color: rgba(255, 255, 255, .06);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

.num-circle {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-weight: 800;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== Checkerboard custom grid para Diferenciais ===== */
.cell-custom {
    aspect-ratio: 1.25/1;
    border-radius: 8px;
}

/* ===== Efeito de Zoom e Elevação Suave ===== */
.hover-zoom {
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease;
    position: relative;
    z-index: 1;
}

.hover-zoom:hover {
    transform: scale(1.05);
    z-index: 2;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25) !important;
}

.icon-custom {
    width: 34px;
    height: 34px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.6;
}

/* ===== Segmentos Custom borders ===== */
.border-top-red {
    border-top: 5px solid var(--red) !important;
}

.seg-card {
    transition: transform .18s, box-shadow .18s;
}

.seg-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .12) !important;
}

.seg-link {
    display: block;
    font-size: 13px;
    text-decoration: none;
    letter-spacing: .05em;
    transition: background .15s;
}

.seg-link:hover {
    background: var(--red) !important;
}

/* ===== Jornada (Custom Grid e Linha Vermelha) ===== */
.steps-row .col-xl-2-4 {
    flex: 0 0 auto;
    width: 20%;
}

@media(max-width: 1200px) {
    .steps-row .col-xl-2-4 {
        width: 50%;
    }
}

@media(max-width: 576px) {
    .steps-row .col-xl-2-4 {
        width: 100%;
    }
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 44px;
    height: 5px;
    background: linear-gradient(90deg, var(--red) 65%, #fff 65%);
}

/* ===== NOVO BLOCO DE CONTATOS (Sem Formulário) ===== */
.contact-section {
    position: relative;
}

.rounded-4 {
    border-radius: 16px !important;
}

.bg-white-10 {
    background: rgba(255, 255, 255, 0.05);
}

.border-white-10 {
    border-color: rgba(255, 255, 255, 0.12) !important;
}

.contact-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(196, 52, 43, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon-box svg {
    width: 20px;
    height: 20px;
    stroke: var(--red-light);
    fill: none;
    stroke-width: 1.8;
}

.small-tag-modern {
    font-size: 11px;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.big24-contact {
    position: absolute;
    right: -20px;
    top: -20px;
    font-size: 260px;
    font-weight: 800;
    font-style: italic;
    color: rgba(255, 255, 255, 0.02);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

/* Ajustes de responsividade do novo container do mapa separado */
.map-container-wrapper {
    min-height: 450px;
}

@media (max-width: 991.98px) {
    .map-container-wrapper {
        height: 350px !important;
        min-height: auto !important;
    }
}

/* Estilos de assinatura da agência Divera no footer (Aumentada e Ajustada) */
.divera-logo-img {
    height: 24px; /* <--- Tamanho aumentado conforme solicitado */
    width: auto;
    display: inline-block;
    transition: filter 0.2s ease;
    vertical-align: middle;
}

.divera-logo-img:hover {
    filter: brightness(1.25);
}

/* ===== CTA e Contatos ===== */
.cta-section {
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
}

.icon-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .15);
}

.icon-circle svg {
    width: 19px;
    height: 19px;
    stroke: #fff;
    fill: none;
    stroke-width: 1.8;
}

/* Custom form style */
.form-card {
    border-radius: 10px;
}

.form-label-custom {
    font-size: 11.5px;
    letter-spacing: .05em;
}

.form-control-custom {
    border: 1.5px solid #DDD8D2;
    border-radius: 6px;
    font-size: 14px;
    background: var(--light-2);
    color: var(--charcoal);
    transition: border-color .2s, background-color .2s;
}

.form-control-custom:focus {
    outline: none;
    border-color: var(--red);
    background: #fff;
}

/* ===== Footer Styles ===== */
.footer-links a {
    font-size: 13.5px;
    color: var(--text-mute-light);
    text-decoration: none;
    transition: color .2s;
}

.footer-links a:hover {
    color: var(--red-light);
}

/* ===== Reveal Scroll Animação ===== */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .55s ease, transform .55s ease;
}

.reveal.in {
    opacity: 1;
    transform: none;
}

/* ===== Mobile CTA Sticky Bar ===== */
@media(max-width: 768px) {
    body {
        padding-bottom: 52px;
    }
}

/* ===== Correção do Recuo de Ancoragem (Scroll Offset) ===== */
#solucoes,
#diferenciais,
#segmentos,
#jornada,
#orcamento {
    scroll-margin-top: 130px; /* Cria o espaço exato para o menu sticky não cobrir o título */
}