/* ================================================================
   style.css — CSF Digital
   Design: Corporativo B2B Premium
   ================================================================ */

/* ----------------------------------------------------------------
   1. VARIÁVEIS DE TEMA
   ---------------------------------------------------------------- */

:root,
[data-theme="light"] {
    --primary:        #a31d1e;
    --primary-dark:   #7a1617;
    --primary-light:  rgba(163, 29, 30, 0.07);
    --bg:             #ffffff;
    --bg-alt:         #f7f8fa;
    --bg-card:        #ffffff;
    --bg-input:       #ffffff;
    --text-primary:   #1a1e24;
    --text-secondary: #4a5568;
    --text-muted:     #718096;
    --border:         rgba(0, 0, 0, 0.09);
    --border-accent:  rgba(163, 29, 30, 0.20);
    --header-bg:      rgba(255, 255, 255, 0.97);
    --shadow-sm:      0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.03);
    --shadow-md:      0 4px 20px rgba(0,0,0,0.06), 0 2px 6px rgba(0,0,0,0.04);
    --shadow-lg:      0 12px 40px rgba(0,0,0,0.09), 0 4px 12px rgba(0,0,0,0.05);
    --shadow-red:     0 6px 24px rgba(163, 29, 30, 0.18);
    --map-svg-bg:     #dce0e5;
    --r-sm:  4px;
    --r-md:  8px;
    --r-lg:  14px;
    --r-xl:  22px;
    --r-pill:9999px;
}

[data-theme="dark"] {
    --primary:        #c0292a;
    --primary-dark:   #8f1d1e;
    --primary-light:  rgba(192, 41, 42, 0.10);
    --bg:             #0e0f11;
    --bg-alt:         #141519;
    --bg-card:        #1a1c21;
    --bg-input:       #20232a;
    --text-primary:   #f0f2f5;
    --text-secondary: #9aa3b2;
    --text-muted:     #6b7280;
    --border:         rgba(255,255,255,0.08);
    --border-accent:  rgba(192, 41, 42, 0.28);
    --header-bg:      rgba(14, 15, 17, 0.97);
    --shadow-sm:      0 1px 3px rgba(0,0,0,0.20);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.30);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.40);
    --shadow-red: 0 6px 24px rgba(192, 41, 42, 0.25);
    --map-svg-bg:     #1e2028;
    --r-sm:  4px;
    --r-md:  8px;
    --r-lg:  14px;
    --r-xl:  22px;
    --r-pill:9999px;
}

/* ----------------------------------------------------------------
   2. RESET / BASE
   ---------------------------------------------------------------- */

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

html {
    scroll-behavior: smooth;
    max-width: 100%;
    overflow-x: clip;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    background: var(--bg);
    color: var(--text-primary);
    overflow-x: hidden;
    transition: background 0.3s ease, color 0.3s ease;
}

h1,h2,h3,h4,h5,h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; display: block; }

.text-primary { color: var(--primary) !important; }
.bg-primary { background-color: var(--primary) !important; }
.border-primary { border-color: var(--primary) !important; }
.text-theme { color: var(--text-primary) !important; }
.text-theme-muted { color: var(--text-secondary) !important; }

/* ----------------------------------------------------------------
   3. UTILITÁRIOS
   ---------------------------------------------------------------- */

.section-tag,
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}
.tag-line,
.section-eyebrow::before {
    content: '';
    width: 28px;
    height: 2px;
    flex: 0 0 28px;
    background: currentColor;
    border-radius: var(--r-pill);
}
.tag-text,
.section-eyebrow {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 0;
    line-height: 1;
    text-transform: uppercase;
}
.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-top: 10px;
}
.tech-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-light);
    color: var(--primary);
    border: 1px solid var(--border-accent);
    border-radius: var(--r-pill);
    padding: 5px 16px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.4px;
    margin-bottom: 20px;
}

/* ----------------------------------------------------------------
   3.1. HERO INTERNO
   ---------------------------------------------------------------- */

.hero-simple {
    min-height: clamp(320px, 42vh, 430px);
    display: flex;
    align-items: center;
    padding: 86px 0 78px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    isolation: isolate;
}

.hero-simple::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(163, 29, 30, 0.08), transparent 34%),
        linear-gradient(180deg, transparent 72%, var(--bg) 100%);
    z-index: 1;
    pointer-events: none;
}

[data-theme="dark"] .hero-simple::before {
    background:
        linear-gradient(90deg, rgba(192, 41, 42, 0.12), transparent 34%),
        linear-gradient(180deg, transparent 72%, var(--bg) 100%);
}

.hero-simple::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 30px;
    width: 96px;
    height: 3px;
    border-radius: var(--r-pill);
    background: var(--primary);
    transform: translateX(-50%);
    z-index: 2;
}

.hero-short {
    min-height: clamp(300px, 38vh, 390px);
}

.hero-simple .tech-badge {
    margin-bottom: 22px;
}

.hero-simple h1 {
    font-size: clamp(2.35rem, 5vw, 4.35rem);
    letter-spacing: -0.02em;
}

.hero-simple .lead {
    color: var(--text-secondary);
    line-height: 1.75;
}

/* ----------------------------------------------------------------
   4. BOTÕES
   ---------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 12px 28px;
    border-radius: var(--r-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    line-height: 1;
}
.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--primary);
    --bs-btn-border-color: var(--primary);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--primary-dark);
    --bs-btn-hover-border-color: var(--primary-dark);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--primary-dark);
    --bs-btn-active-border-color: var(--primary-dark);
    --bs-btn-focus-shadow-rgb: 163, 29, 30;
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:focus-visible,
.btn-primary:active,
.btn-primary.active,
.btn-primary.show {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-red);
}
.btn-outline-primary {
    --bs-btn-color: var(--text-primary);
    --bs-btn-border-color: var(--border);
    --bs-btn-hover-color: var(--primary);
    --bs-btn-hover-bg: var(--primary-light);
    --bs-btn-hover-border-color: var(--primary);
    --bs-btn-active-color: var(--primary);
    --bs-btn-active-bg: var(--primary-light);
    --bs-btn-active-border-color: var(--primary);
    --bs-btn-focus-shadow-rgb: 163, 29, 30;
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border);
}
.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:focus-visible,
.btn-outline-primary:active,
.btn-outline-primary.active,
.btn-outline-primary.show {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
    transform: translateY(-2px);
}
.btn-light-custom {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
    border-radius: var(--r-md);
    font-weight: 600;
}
.btn-light-custom:hover {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.7);
    transform: translateY(-2px);
}
.btn-outline-white-custom {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.45);
    border-radius: var(--r-md);
    font-weight: 600;
}
.btn-outline-white-custom:hover {
    background: rgba(255,255,255,0.10);
    border-color: #fff;
    color: #fff;
    transform: translateY(-2px);
}

/* ----------------------------------------------------------------
   5. HEADER / NAVBAR
   ---------------------------------------------------------------- */

header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 1030;
}

.navbar {
    background: var(--header-bg) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 14px 0;
    transition: padding 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

[data-theme="dark"] .navbar {
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

header.scrolled .navbar {
    padding: 10px 0;
    box-shadow: var(--shadow-sm);
}

.navbar-brand img {
    height: 38px;
    transition: transform 0.2s ease;
}
.navbar-brand:hover img { transform: scale(1.03); }

@media (min-width: 992px) {
    .navbar-brand,
    .hero-full__content {
        margin-left: 56px;
    }
}

@media (min-width: 1400px) {
    header .navbar .container {
        max-width: 1460px;
    }
}

@media (min-width: 1600px) {
    header .navbar .container {
        max-width: 1660px;
    }
}

.navbar .nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    font-size: 0.92rem;
    padding: 8px 14px !important;
    border-radius: var(--r-md);
    transition: all 0.2s ease;
}
.navbar .nav-link:hover, .navbar .nav-link.active {
    color: var(--primary) !important;
    background: var(--primary-light);
}

.btn-portal-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: #fff !important;
    padding: 9px 20px;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--r-md);
    border: 2px solid var(--primary);
    text-decoration: none;
    transition: all 0.25s ease;
}
.btn-portal-cta:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-red);
}

.navbar-toggler {
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    padding: 6px 10px;
}

.header-spacer { height: 76px; }

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: var(--bg-card);
        border-radius: var(--r-lg);
        border: 1px solid var(--border);
        padding: 20px;
        margin-top: 8px;
        box-shadow: var(--shadow-lg);
    }
    .navbar .nav-link { margin-bottom: 4px; }
    .btn-portal-cta { width: 100%; justify-content: center; margin-top: 8px; }
}

/* ----------------------------------------------------------------
   6. THEME TOGGLE
   ---------------------------------------------------------------- */

.theme-toggle-btn {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 9999;
    width: 44px;
    height: 44px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-pill);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    font-size: 14px;
    color: var(--text-primary);
    transition: all 0.25s ease;
}
.theme-toggle-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-red);
}
.toggle-icon { width: 16px; height: 16px; display: block; }
.toggle-label { display: none; }

[data-theme="dark"] .icon-sun  { display: inline-flex; align-items: center; }
[data-theme="dark"] .icon-moon { display: none; }
[data-theme="light"] .icon-sun  { display: none; }
[data-theme="light"] .icon-moon { display: inline-flex; align-items: center; }


/* ----------------------------------------------------------------
   7. HERO — FULL BLEED
   ---------------------------------------------------------------- */

.hero-full {
    position: relative;
    min-height: 580px;
    height: calc(100vh - 70px);
    max-height: 760px;
    display: flex;
    align-items: center;
    background-image: url('../images/hero.webp');
    background-size: cover;
    background-position: 72% center;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* Amplia o container no Hero para aproveitar o espaço em aberto na esquerda */
@media (min-width: 1400px) {
    .hero-full .container {
        max-width: 1460px;
    }
}
@media (min-width: 1600px) {
    .hero-full .container {
        max-width: 1660px;
    }
}

/* Overlay: gradiente da esquerda pra direita */
.hero-full::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.88) 0%,
            rgba(255, 255, 255, 0.46) 12%,
            rgba(255, 255, 255, 0.00) 28%
        ),
        linear-gradient(
            100deg,
            rgba(255, 255, 255, 1.0) 0%,
            rgba(255, 255, 255, 0.98) 24%,
            rgba(255, 255, 255, 0.82) 35%,
            rgba(255, 255, 255, 0.44) 47%,
            rgba(255, 255, 255, 0.10) 60%,
            rgba(255, 255, 255, 0.00) 70%
        );
    z-index: 1;
}
[data-theme="dark"] .hero-full::before {
    background:
        linear-gradient(
            180deg,
            rgba(14, 15, 17, 0.90) 0%,
            rgba(14, 15, 17, 0.50) 12%,
            rgba(14, 15, 17, 0.00) 28%
        ),
        linear-gradient(
            100deg,
            rgba(14, 15, 17, 1.0) 0%,
            rgba(14, 15, 17, 0.98) 24%,
            rgba(14, 15, 17, 0.84) 35%,
            rgba(14, 15, 17, 0.48) 47%,
            rgba(14, 15, 17, 0.12) 60%,
            rgba(14, 15, 17, 0.00) 70%
        );
}

[data-theme="dark"] .hero-full__stats {
    background: rgba(26, 28, 33, 0.78);
}

.hero-full__content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    padding: 60px 0;
}

.hero-full__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-light);
    color: var(--primary);
    border: 1px solid var(--border-accent);
    border-radius: var(--r-pill);
    padding: 6px 18px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin-bottom: 22px;
}
.hero-full__eyebrow i { font-size: 10px; }

.hero-full__title {
    font-size: clamp(2.25rem, 4.6vw, 3.65rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}
.hero-full__title .accent { color: var(--primary); }

.hero-full__subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.68;
    max-width: 530px;
    margin-bottom: 30px;
}

.hero-full__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 38px;
}

.hero-full__actions .btn-outline-primary {
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(163, 29, 30, 0.20);
    color: var(--primary);
}

.hero-full__actions .btn-outline-primary:hover,
.hero-full__actions .btn-outline-primary:focus,
.hero-full__actions .btn-outline-primary:focus-visible,
.hero-full__actions .btn-outline-primary:active,
.hero-full__actions .btn-outline-primary.active {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary);
}

[data-theme="dark"] .hero-full__actions .btn-outline-primary {
    background: rgba(26, 28, 33, 0.72);
}

/* Stats inline */
.hero-full__stats {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
    width: fit-content;
    max-width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.hero-stat {
    min-width: 136px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 18px;
}
.hero-stat:first-child { padding-left: 0; }
.hero-stat:last-child { padding-right: 0; }
.hero-stat__num {
    font-size: 1.52rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    letter-spacing: -0.03em;
}
.hero-stat__label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.hero-stat-divider {
    width: 1px;
    height: 42px;
    background: var(--border);
    flex-shrink: 0;
}

@media (max-width: 991.98px) {
    .hero-full {
        min-height: 0;
        height: auto;
        max-height: none;
        display: block;
        padding: 0;
        background-image: none;
        background-color: var(--bg);
    }
    .hero-full::before {
        display: none;
    }
    .hero-full__content {
        padding: 48px 0 0;
    }
    .hero-full .hero-shape-divider {
        display: none;
    }
    .hero-full__title { font-size: 2.1rem; }
    .hero-stat-divider { display: none; }
    .hero-full__stats { gap: 20px; }
}

@media (max-width: 575.98px) {
    .hero-full {
        padding: 0;
    }

    .hero-full__content {
        padding-top: 40px;
    }

    .hero-full__content,
    .hero-full__subtitle {
        max-width: 100%;
    }

    .hero-full__actions {
        gap: 10px;
        margin-bottom: 28px;
    }

    .hero-full__actions .btn {
        width: 100%;
        max-width: 280px;
    }

    .hero-full__stats {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
        padding: 16px 18px;
    }

    .hero-stat {
        min-width: 0;
        padding: 0;
    }
}

/* Divisor de Forma Orgânica SVG */
.hero-shape-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 3;
    pointer-events: none;
}

.hero-shape-divider svg {
    position: relative;
    display: block;
    width: 100%;
    height: 42px;
}

.hero-shape-divider .shape-fill {
    fill: var(--bg);
    transition: fill 0.3s ease;
}

@media (max-width: 991.98px) {
    .hero-shape-divider svg {
        height: 40px;
    }
}

/* ----------------------------------------------------------------
   8. SEÇÕES GENÉRICAS
   ---------------------------------------------------------------- */

.page-section,
.page-section-alt,
.presence-section,
.positioning-section,
    .services-section,
    .solutions-carousel-section {
    position: relative;
    padding: 80px 0;
    border-bottom: 1px solid var(--border);
}

.page-section-alt,
.bg-alt { background: var(--bg); }

/* ----------------------------------------------------------------
   9. CARDS CORPORATIVOS (base)
   ---------------------------------------------------------------- */

.corp-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 28px;
    height: 100%;
    transition: all 0.28s ease;
    box-shadow: var(--shadow-sm);
}
.corp-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: var(--border-accent);
}

.corp-card__icon {
    width: 52px;
    height: 52px;
    border-radius: var(--r-md);
    background: var(--primary-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 18px;
    flex-shrink: 0;
}

/* ----------------------------------------------------------------
   10. POSITIONING / DIFERENCIAIS
   ---------------------------------------------------------------- */

.positioning-card,
.differential-item-new {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 30px;
    height: 100%;
    transition: all 0.28s ease;
    box-shadow: var(--shadow-sm);
}
.positioning-card:hover,
.differential-item-new:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: var(--border-accent);
}

.positioning-icon,
.differential-item-new > i:first-child {
    width: 52px;
    height: 52px;
    border-radius: var(--r-md);
    background: var(--primary-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 18px;
}
.positioning-card h4,
.differential-item-new h5 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.positioning-card p,
.differential-item-new p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin: 0;
}


/* ----------------------------------------------------------------
   11. MAPA DE COBERTURA NACIONAL
   ---------------------------------------------------------------- */

.presence-section { background: var(--bg); }

.presence-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
    margin: 28px 0;
    box-shadow: var(--shadow-sm);
}
.stat-card {
    padding: 22px 16px;
    text-align: center;
    background: var(--bg-card);
    border-right: 1px solid var(--border);
}
.stat-card:last-child { border-right: none; }
.stat-card .stat-number {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    letter-spacing: -0.03em;
}
.stat-card .stat-label {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-top: 4px;
}

.tech-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
    color: var(--primary);
    border: 1px solid var(--border-accent);
    border-radius: var(--r-md);
    padding: 12px 16px;
    background: var(--primary-light);
}

/* Card do mapa */
.map-card-improved {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 22px;
    box-shadow: var(--shadow-md);
}

.card-header-improved {
    display: flex;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 14px;
    margin-bottom: 18px;
}
.header-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--r-md);
    background: var(--primary-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    color: var(--primary);
    flex-shrink: 0;
}
.header-title h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 2px;
}
.header-title p {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
}

.map-image-wrapper {
    position: relative;
    background: var(--bg-alt);
    border-radius: var(--r-md);
    padding: 8px;
}

/* SVG Map */
#brazil-map { width: 100%; height: auto; max-height: 400px; }
#brazil-map .state { cursor: pointer; outline: none; }

/* BASE: todos os estados sem atendimento — quase invisíveis */
#brazil-map .shape {
    fill: rgba(100, 116, 139, 0.06);
    stroke: rgba(100, 116, 139, 0.18);
    stroke-width: 1.5;
    transition: fill 0.28s ease, stroke 0.28s ease, filter 0.28s ease, opacity 0.28s ease;
}

/* ATIVOS em repouso: âmbar/dourado quente — complementar ao vermelho CSF */
#brazil-map .state.norte .shape,
#brazil-map .state.nordeste .shape,
#brazil-map .state.centro-oeste .shape,
#brazil-map .state.sudeste .shape,
#brazil-map .state.sul .shape {
    fill: rgba(180, 83, 9, 0.12);    /* amber-700 quente */
    stroke: rgba(180, 83, 9, 0.35);
}

/* INATIVOS: apagados — praticamente transparentes */
#brazil-map .state.inativo .shape {
    fill: rgba(180, 83, 9, 0.04);
    stroke: rgba(180, 83, 9, 0.12);
    opacity: 0.45;
}

/* Rótulos UF nos estados grandes (AM, MT, PA, BA...) */
#brazil-map .label_icon_state {
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    font-weight: 700;
    fill: rgba(120, 53, 15, 0.80);   /* amber-900 legível */
    pointer-events: none;
    paint-order: stroke fill;
    stroke: rgba(255,255,255,0.85);
    stroke-width: 2.5px;
    stroke-linejoin: round;
}

/* Círculos dos estados pequenos (RN, PB, AL, SE, ES, RJ, DF) */
#brazil-map .icon_state {
    fill: #b45309;                    /* amber-700 sólido */
    stroke: rgba(255,255,255,0.9);
    stroke-width: 1.5px;
}

/* Texto DENTRO dos círculos — sempre branco */
#brazil-map a .icon_state ~ text,
#brazil-map a:has(.icon_state) .label_icon_state {
    fill: #ffffff !important;
    stroke: none !important;
    font-size: 8px;
    font-weight: 700;
}

/* HOVER / HIGHLIGHTED: Vermelho CSF acende com impacto máximo */
#brazil-map .state.highlighted .shape {
    fill: rgba(163, 29, 30, 0.82) !important;
    stroke: #a31d1e !important;
    stroke-width: 2px;
    filter: drop-shadow(0 0 8px rgba(163, 29, 30, 0.50));
}

/* Círculo do estado destacado também acende em vermelho */
#brazil-map .state.highlighted .icon_state {
    fill: #a31d1e !important;
    stroke: rgba(255,255,255,0.95) !important;
    filter: drop-shadow(0 0 5px rgba(163, 29, 30, 0.6));
}

/* DIMMED: estados não selecionados desvanecem com elegaância */
#brazil-map .state.dimmed { opacity: 0.15; }

/* City labels legíveis com stroke branco ao redor das letras */
#brazil-map .city-label {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    fill: #1a1a1a;
    paint-order: stroke fill;
    stroke: rgba(255,255,255,0.9);
    stroke-width: 3px;
    stroke-linejoin: round;
    pointer-events: none;
}

/* Modo escuro: texto branco com stroke escuro */
[data-theme="dark"] #brazil-map .city-label {
    fill: #fff;
    stroke: rgba(20,20,20,0.85);
}

/* Accent do título Presença Nacional — texto em Vermelho CSF */
.presence-accent {
    color: var(--primary);
}

/* Map Tooltip */
.map-tooltip {
    position: absolute;
    background: var(--text-primary);
    color: var(--bg);
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--r-md);
    z-index: 1000;
    pointer-events: none;
    display: none;
    box-shadow: var(--shadow-md);
    flex-direction: column;
}
.tip-estado { font-weight: 700; }
.tip-regiao { font-size: 11px; opacity: 0.75; margin-top: 2px; }

/* Legenda de regiões */
.regions-legend-horizontal {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    justify-content: center;
}
.region-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    padding: 5px 12px;
    border: 1px solid var(--border);
    border-radius: var(--r-pill);
    background: var(--bg-alt);
    transition: all 0.2s ease;
}
.region-pill:hover {
    border-color: var(--border-accent);
    background: var(--primary-light);
}
.region-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

/* ----------------------------------------------------------------
   12. SERVIÇOS (svc-card)
   ---------------------------------------------------------------- */

.svc-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 28px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.28s ease;
    box-shadow: var(--shadow-sm);
}
.svc-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: var(--border-accent);
}

.svc-glow { display: none; }

.svc-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.svc-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: var(--r-md);
    background: var(--primary-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary);
    flex-shrink: 0;
}

.svc-tag {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--r-pill);
    padding: 4px 12px;
}

.svc-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.svc-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 18px;
}

.svc-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    font-size: 0.88rem;
    color: var(--text-secondary);
}
.svc-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.svc-features li i {
    color: var(--primary);
    font-size: 11px;
    flex-shrink: 0;
}

.svc-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--primary);
    margin-top: auto;
    transition: gap 0.2s ease;
}
.svc-btn:hover { color: var(--primary-dark); gap: 10px; }

.services-label { letter-spacing: 0; }

/* ----------------------------------------------------------------
   13. CLIENTES
   ---------------------------------------------------------------- */

.clients-section {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg);
    scroll-margin-top: 92px;
}
.clients-heading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 30px;
}
.clients-heading .section-eyebrow {
    margin-bottom: 14px;
}
.clients-heading h3 {
    max-width: 760px;
    font-size: clamp(1.35rem, 2.4vw, 2.2rem);
    line-height: 1.18;
    margin: 0;
}
.clients-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}
.client-logo-card {
    --logo-box-width: 154px;
    --logo-box-height: 54px;
    --logo-scale: 1;
    min-height: 112px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
    background: var(--bg-card);
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    transition: background 0.22s ease, transform 0.22s ease;
}
.client-logo-card img {
    width: var(--logo-box-width);
    max-width: 100%;
    height: var(--logo-box-height);
    object-fit: contain;
    filter: grayscale(1) contrast(0.85);
    opacity: 0.78;
    transform: scale(var(--logo-scale));
    transition: all 0.2s ease;
}
.client-logo-card--ifma {
    --logo-box-width: 112px;
    --logo-box-height: 62px;
    --logo-scale: 1.08;
}
.client-logo-card--ufma {
    --logo-box-width: 112px;
    --logo-box-height: 62px;
    --logo-scale: 1.12;
}
.client-logo-card--dutra {
    --logo-box-width: 112px;
    --logo-box-height: 62px;
    --logo-scale: 1.08;
}
.client-logo-card--sebrae {
    --logo-box-width: 172px;
    --logo-box-height: 60px;
    --logo-scale: 1.78;
}
.client-logo-card--sesc {
    --logo-scale: 1.12;
}
.client-logo-card--senac {
    --logo-box-width: 148px;
    --logo-box-height: 56px;
    --logo-scale: 1.24;
}
.client-logo-card--banco-nordeste {
    --logo-box-width: 144px;
    --logo-box-height: 50px;
    --logo-scale: 0.94;
}
.client-logo-card--equatorial,
.client-logo-card--cagece {
    --logo-box-width: 134px;
    --logo-box-height: 52px;
    --logo-scale: 0.96;
}
.client-logo-card--cgb {
    --logo-box-width: 110px;
    --logo-box-height: 48px;
    --logo-scale: 0.92;
}
.client-logo-card--caema {
    --logo-box-width: 128px;
    --logo-box-height: 48px;
    --logo-scale: 0.92;
}
.client-logo-card--pmce {
    --logo-box-width: 112px;
    --logo-box-height: 62px;
    --logo-scale: 1.08;
}
.client-logo-card--ceneged {
    --logo-box-width: 132px;
    --logo-box-height: 58px;
    --logo-scale: 1.1;
}
.client-logo-card--semace {
    --logo-box-width: 124px;
    --logo-box-height: 58px;
    --logo-scale: 1.18;
}
.client-logo-card--ifce {
    --logo-box-width: 188px;
    --logo-box-height: 58px;
    --logo-scale: 1.08;
}
.client-logo-card--saneamento-amapa {
    --logo-box-width: 146px;
    --logo-box-height: 50px;
    --logo-scale: 0.9;
}
.client-logo-card--ma-agency {
    gap: 10px;
    padding: 18px;
}
.ma-agency__brand {
    position: relative;
    flex: 0 0 112px;
    width: 112px;
    height: 42px;
    overflow: hidden;
}
.ma-agency__brand::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../images/ses.png") left center / 168px auto no-repeat;
    filter: grayscale(1) contrast(0.85);
    opacity: 0.78;
    transition: filter 0.2s ease, opacity 0.2s ease;
}
.ma-agency__divider {
    flex: 0 0 1px;
    width: 1px;
    height: 42px;
    background: rgba(31, 64, 132, 0.55);
}
.ma-agency__copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: var(--text-primary);
    line-height: 1.05;
    opacity: 0.78;
    transition: opacity 0.2s ease;
}
.ma-agency__copy strong {
    color: #1f2937;
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}
.ma-agency__copy small {
    max-width: 116px;
    margin-top: 4px;
    color: #374151;
    font-size: 0.6rem;
    font-weight: 700;
    line-height: 1.15;
}
.client-logo-card--seap-ma .ma-agency__copy small {
    max-width: 136px;
    font-size: 0.62rem;
}
.client-logo-card--ma-agency:hover .ma-agency__brand::before {
    filter: grayscale(0) contrast(1);
    opacity: 1;
}
.client-logo-card--ma-agency:hover .ma-agency__copy {
    opacity: 1;
}
.client-logo-card:hover {
    background: var(--bg);
    transform: translateY(-2px);
}
.client-logo-card:hover img {
    filter: grayscale(0) contrast(1);
    opacity: 1;
}

/* ----------------------------------------------------------------
   14. CTA STRIP
   ---------------------------------------------------------------- */

.cta-strip-section {
    padding: 44px 0;
    background: var(--bg);
    color: var(--text-primary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.cta-strip {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr);
    gap: 32px;
    align-items: center;
    padding: 26px 0;
}

.cta-strip__label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    color: var(--primary);
}

.cta-strip__label::before {
    content: '';
    width: 28px;
    height: 2px;
    flex: 0 0 28px;
    border-radius: var(--r-pill);
    background: currentColor;
}

.cta-strip h3 {
    color: var(--text-primary);
    max-width: 520px;
    font-size: clamp(1.55rem, 2.2vw, 2.1rem);
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 12px;
}
.cta-strip p {
    color: var(--text-secondary);
    font-size: 0.97rem;
    margin: 0;
}

.cta-channel-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.cta-channel {
    min-height: 78px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg-card);
    color: var(--text-primary);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.cta-channel:hover {
    color: var(--text-primary);
    transform: translateY(-2px);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-md);
}

.cta-channel__icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 1.05rem;
}

.cta-channel:first-child .cta-channel__icon {
    background: rgba(37, 211, 102, 0.14);
    color: #128c4a;
}

.cta-channel__text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.cta-channel__text strong {
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.1;
}

.cta-channel__text small {
    color: var(--text-secondary);
    font-size: 0.78rem;
    line-height: 1.2;
}
@media (max-width: 991.98px) {
    .cta-strip {
        grid-template-columns: 1fr;
    }

    .cta-channel-list {
        grid-template-columns: 1fr;
    }
}

.cta-banner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    padding: 30px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.cta-banner-content h2 {
    color: var(--text-primary);
    letter-spacing: -0.02em;
}
.cta-banner-content p {
    color: var(--text-secondary);
    line-height: 1.7;
}
.cta-banner-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 991.98px) {
    .cta-banner {
        grid-template-columns: 1fr;
    }
    .cta-banner-actions {
        justify-content: flex-start;
    }
}

/* ----------------------------------------------------------------
   15. TIMELINE (SOBRE NÓS)
   ---------------------------------------------------------------- */

.timeline-card {
    position: relative;
    border-left: 2px solid var(--border);
    padding-left: 28px;
    margin-left: 14px;
}
.timeline-item {
    position: relative;
    margin-bottom: 32px;
}
.timeline-dot {
    position: absolute;
    left: -36px;
    top: 5px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--border);
    transition: border-color 0.2s;
}
.timeline-dot-active {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-light);
}
.timeline-year {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 4px;
    display: block;
}
.timeline-content h6 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 6px;
}
.timeline-content p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* ----------------------------------------------------------------
   16. NUMBER CARDS / MVV / SOBRE
   ---------------------------------------------------------------- */

.number-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 24px 16px;
    text-align: center;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
}
.number-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.number-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--r-md);
    background: var(--primary-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 14px;
}
.number-value {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 6px;
    letter-spacing: -0.03em;
}
.number-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.mvv-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 32px 26px;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
}
.mvv-card-featured {
    border-color: var(--border-accent);
    box-shadow: var(--shadow-md);
}
.mvv-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--r-md);
    background: var(--primary-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 18px;
}
.mvv-card h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.mvv-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.75; margin: 0; }
.mvv-list { list-style: none; padding: 0; margin: 0; font-size: 0.9rem; }
.mvv-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--text-secondary);
}
.mvv-list li i { color: var(--primary); font-size: 11px; flex-shrink: 0; }

/* ----------------------------------------------------------------
   17. DETALHES DE SERVIÇO (servicos.php)
   ---------------------------------------------------------------- */

.service-icon-big {
    width: 68px;
    height: 68px;
    border-radius: var(--r-md);
    background: var(--primary-light);
    border: 1px solid var(--border-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.svc-detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 10px 16px;
    transition: all 0.2s ease;
}
.svc-detail-item i { color: var(--primary); font-size: 12px; flex-shrink: 0; }
.svc-detail-item:hover {
    background: var(--primary-light);
    border-color: var(--border-accent);
    transform: translateY(-2px);
}

.svc-info-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.svc-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0.32);
    transform-origin: left;
    transition: transform 0.25s ease;
}
.svc-info-card:hover {
    border-color: var(--border-accent);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.svc-info-card:hover::before {
    transform: scaleX(1);
}
.svc-info-header {
    border-bottom: 1px solid var(--border);
    padding-bottom: 14px;
    margin-bottom: 18px;
}
.svc-info-tag {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
}
.svc-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.svc-info-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.svc-info-list li i { font-size: 10px; color: var(--primary); flex-shrink: 0; }

.service-divider {
    height: 1px;
    background: var(--border);
    margin: 60px 0;
}

/* ----------------------------------------------------------------
   18. FORMULÁRIO DE CONTATO
   ---------------------------------------------------------------- */

.contact-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}
.contact-form-header {
    border-bottom: 1px solid var(--border);
    padding: 22px 26px;
}
.contact-form-header h3 { font-size: 1.1rem; font-weight: 700; margin: 0; }
.contact-form-body { padding: 22px 26px; }

.alert-csf {
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid transparent;
    border-radius: var(--r-md);
    font-size: 0.9rem;
    align-items: flex-start;
}
.alert-csf-success { background: rgba(46,204,113,0.08); border-color: #2ecc71; color: #1a8044; }
.alert-csf-erro    { background: rgba(163,29,30,0.08);  border-color: var(--primary); color: var(--primary); }

.csf-input {
    width: 100%;
    background: var(--bg-input);
    border: 1.5px solid var(--border);
    border-radius: var(--r-md);
    color: var(--text-primary);
    padding: 12px 16px;
    font-size: 0.92rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
}
.csf-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
    background: var(--bg-card);
}
.form-select.csf-input {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px;
    padding-right: 36px;
    appearance: none;
}

/* Canais de atendimento */
.contact-info-stack { display: flex; flex-direction: column; gap: 10px; }
.contact-info-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease;
    box-shadow: var(--shadow-sm);
}
.contact-info-item:hover {
    border-color: var(--border-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.contact-info-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--r-md);
    background: var(--primary-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    color: var(--primary);
    flex-shrink: 0;
}
.contact-info-body { flex: 1; }
.contact-info-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.contact-info-value { font-size: 1rem; font-weight: 700; }

.ct-badge {
    font-size: 10px;
    font-weight: 600;
    background: var(--primary-light);
    color: var(--primary);
    border: 1px solid var(--border-accent);
    border-radius: var(--r-pill);
    padding: 2px 8px;
}

/* WhatsApp item */
.contact-whatsapp-item {
    border-color: rgba(46,204,113,0.35);
    background: rgba(46,204,113,0.04);
}
.contact-whatsapp-item .contact-info-icon {
    background: rgba(46,204,113,0.12);
    color: #2ecc71;
}
.contact-whatsapp-item:hover {
    background: #2ecc71;
    border-color: #2ecc71;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46,204,113,0.25);
}
.contact-whatsapp-item:hover .contact-info-icon,
.contact-whatsapp-item:hover .contact-info-label,
.contact-whatsapp-item:hover .contact-info-value { color: #fff !important; }
.contact-whatsapp-item:hover .contact-info-icon  { background: rgba(255,255,255,0.20); }

/* Endereço */
.address-card {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 16px 20px;
    position: relative;
}
.address-badge {
    position: absolute;
    top: 10px;
    right: 12px;
    font-size: 10px;
    font-weight: 600;
    background: var(--primary);
    color: #fff;
    border-radius: var(--r-pill);
    padding: 3px 10px;
}
.address-badge-secondary { background: var(--text-secondary); }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: border-color 0.25s ease;
}
.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 18px 22px;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: color 0.2s ease;
    font-family: inherit;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    padding: 0 22px;
}
.faq-answer p {
    font-size: 0.9rem;
    line-height: 1.75;
    padding-bottom: 18px;
    color: var(--text-secondary);
    margin: 0;
}
.faq-icon {
    font-size: 12px;
    color: var(--primary);
    transition: transform 0.25s ease;
    flex-shrink: 0;
}
.faq-item.open { border-color: var(--border-accent); }
.faq-item.open .faq-question { color: var(--primary); }

/* ----------------------------------------------------------------
   19. PORTAL DO CLIENTE
   ---------------------------------------------------------------- */

.portal-main-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}
.portal-left-inner, .portal-right-inner { padding: 36px; }
.portal-left-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--r-lg);
    background: var(--primary-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 20px;
}
.portal-left h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 10px; }
.portal-feature-list { list-style: none; padding: 0; margin: 0; font-size: 0.9rem; }
.portal-feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--text-secondary);
}
.portal-feature-list li i { color: var(--primary); font-size: 11px; flex-shrink: 0; }

.ct-divider { width: 1px; background: var(--border); align-self: stretch; }

.portal-access-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: var(--primary-light);
    border: 1px solid var(--border-accent);
    border-radius: var(--r-md);
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease;
    margin-bottom: 10px;
    box-shadow: var(--shadow-sm);
}
.portal-access-btn:hover,
.portal-access-btn:focus,
.portal-access-btn:focus-visible,
.portal-access-btn:active,
.portal-access-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-red);
}
.portal-access-btn:hover .portal-access-icon,
.portal-access-btn:focus .portal-access-icon,
.portal-access-btn:focus-visible .portal-access-icon,
.portal-access-btn:active .portal-access-icon,
.portal-access-btn.active .portal-access-icon {
    background: #fff;
    color: var(--primary) !important;
}
.portal-access-btn:hover .portal-access-text strong,
.portal-access-btn:hover .portal-access-text span,
.portal-access-btn:hover .portal-access-arrow,
.portal-access-btn:focus .portal-access-text strong,
.portal-access-btn:focus .portal-access-text span,
.portal-access-btn:focus .portal-access-arrow,
.portal-access-btn:focus-visible .portal-access-text strong,
.portal-access-btn:focus-visible .portal-access-text span,
.portal-access-btn:focus-visible .portal-access-arrow,
.portal-access-btn:active .portal-access-text strong,
.portal-access-btn:active .portal-access-text span,
.portal-access-btn:active .portal-access-arrow,
.portal-access-btn.active .portal-access-text strong,
.portal-access-btn.active .portal-access-text span,
.portal-access-btn.active .portal-access-arrow { color: #fff !important; }

.portal-access-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--r-md);
    background: var(--bg-card);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--primary);
    flex-shrink: 0;
    transition: all 0.25s ease;
}
.portal-access-text strong {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--primary);
    transition: color 0.25s;
}
.portal-access-text span {
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: color 0.25s;
}
.portal-access-arrow {
    margin-left: auto;
    font-size: 13px;
    color: var(--primary);
    transition: all 0.25s ease;
}
.portal-access-btn:hover .portal-access-arrow { transform: translateX(4px); }

.portal-divider-text {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 22px 0;
    color: var(--text-muted);
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0;
}
.portal-divider-text::before,
.portal-divider-text::after {
    content: '';
    height: 1px;
    flex: 1;
    background: var(--border);
}

.portal-quick-contacts {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.portal-quick-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    color: var(--text-primary);
    text-decoration: none;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}
.portal-quick-item:hover {
    color: var(--text-primary);
    background: var(--primary-light);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}
.portal-quick-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--r-md);
    background: var(--primary-light);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
}
.portal-quick-body {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.portal-quick-body strong {
    color: var(--text-primary);
    font-size: 0.9rem;
    line-height: 1.15;
}
.portal-quick-body span {
    color: var(--text-secondary);
    font-size: 0.78rem;
}
.portal-quick-item > i:last-child {
    color: var(--primary);
    font-size: 12px;
    transition: transform 0.22s ease;
}
.portal-quick-item:hover > i:last-child {
    transform: translateX(4px);
}
.portal-quick-whatsapp .portal-quick-icon {
    background: rgba(37, 211, 102, 0.12);
    color: #128c4a;
}

.step-card,
.sla-card {
    position: relative;
    height: 100%;
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.step-card::before,
.sla-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0.28);
    transform-origin: left;
    transition: transform 0.25s ease;
}
.step-card:hover,
.sla-card:hover {
    border-color: var(--border-accent);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.step-card:hover::before,
.sla-card:hover::before {
    transform: scaleX(1);
}
.step-number {
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 18px;
}
.step-icon {
    width: 46px;
    height: 46px;
    border-radius: var(--r-md);
    background: var(--primary-light);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border: 1px solid var(--border-accent);
}
.step-card h5 {
    font-size: 1rem;
}
.step-card p {
    line-height: 1.7;
}
.sla-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: var(--r-pill);
    background: var(--primary-light);
    border: 1px solid var(--border-accent);
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}
.sla-time {
    margin: 16px 0 10px;
    color: var(--primary);
    font-size: 2.25rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.03em;
}

/* ----------------------------------------------------------------
   20. FOOTER
   ---------------------------------------------------------------- */

.footer {
    background: #0f1013;
    color: #9aa3b2;
    padding: 56px 0 0;
}

.footer-logo-white {
    filter: brightness(0) invert(1);
    opacity: 0.9;
}
.footer-desc {
    font-size: 0.88rem;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 16px;
}
.footer-socials { display: flex; gap: 10px; }
.fsoc {
    width: 34px;
    height: 34px;
    border-radius: var(--r-md);
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.09);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #9aa3b2;
    transition: all 0.2s ease;
}
.fsoc:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.footer-col-title {
    font-size: 13px;
    font-weight: 700;
    color: #e2e8f0;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li { margin-bottom: 8px; }
.footer-links a {
    font-size: 0.88rem;
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--primary); }

.footer-contact-list { display: flex; flex-direction: column; gap: 8px; }
.footer-contact-list a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-contact-list a:hover { color: #e2e8f0; }
.footer-contact-list i { color: var(--primary); font-size: 12px; flex-shrink: 0; }
.fct-city {
    font-size: 11px;
    font-weight: 600;
    background: rgba(255,255,255,0.07);
    border-radius: var(--r-pill);
    padding: 2px 8px;
    color: #9aa3b2;
}

/* Footer map */
.footer-map-wrap { margin-top: 4px; }
.fmap-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
}
.fmap-tab {
    font-size: 11px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: var(--r-pill);
    border: 1px solid rgba(255,255,255,0.12);
    background: transparent;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}
.fmap-tab.active, .fmap-tab:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
.fmap-frame { display: none; }
.fmap-frame.active { display: block; }
.footer-map-iframe {
    border-radius: var(--r-md);
    border: 0;
    width: 100%;
    display: block;
    filter: grayscale(0.3) contrast(0.9);
}

.footer-main { padding-bottom: 40px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 18px 0;
    font-size: 12px;
    color: #4b5563;
    text-align: center;
}

/* ----------------------------------------------------------------
   21. WHATSAPP FLOAT
   ---------------------------------------------------------------- */

.whatsapp-float {
    position: fixed;
    bottom: 80px;
    right: 24px;
    z-index: 9998;
    width: 52px;
    height: 52px;
    background: #25d366;
    border-radius: var(--r-pill);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    box-shadow: 0 4px 20px rgba(37,211,102,0.35);
    transition: all 0.25s ease;
}
.whatsapp-float:hover {
    background: #20ba5a;
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(37,211,102,0.45);
    color: #fff;
}
.wf-tooltip {
    position: absolute;
    right: 62px;
    background: #1a1a1a;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: var(--r-md);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}
.whatsapp-float:hover .wf-tooltip { opacity: 1; }

/* ----------------------------------------------------------------
   22. HERO — stats legados (stat-item / stat-number)
   ---------------------------------------------------------------- */

.stat-item { padding: 0 12px; border-right: 1px solid var(--border); }
.stat-item:last-child { border-right: none; }
.stat-number {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    letter-spacing: -0.03em;
}
.stat-label {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-top: 4px;
}

/* ----------------------------------------------------------------
   23. TECH FRAME (mantido para compatibilidade)
   ---------------------------------------------------------------- */

.tech-frame {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
}

/* ----------------------------------------------------------------
   24. FEATURE CARDS (Hero interativo legado)
   ---------------------------------------------------------------- */

.cards-grid { display: flex; flex-direction: column; gap: 10px; }
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: var(--shadow-sm);
}
.feature-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.feature-card.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-red);
}
.feature-card__icon {
    width: 44px;
    height: 44px;
    border-radius: var(--r-md);
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--primary);
    flex-shrink: 0;
    transition: all 0.25s ease;
}
.feature-card.active .feature-card__icon { background: rgba(255,255,255,0.2); color: #fff; }
.feature-card__content { flex: 1; }
.feature-card__title { font-size: 0.9rem; font-weight: 700; margin-bottom: 3px; }
.feature-card__desc  { font-size: 0.8rem; color: var(--text-secondary); margin: 0; line-height: 1.5; }
.feature-card.active .feature-card__title,
.feature-card.active .feature-card__desc { color: rgba(255,255,255,0.92) !important; }
.feature-card__stat {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    background: var(--primary-light);
    border-radius: var(--r-pill);
    padding: 3px 10px;
    flex-shrink: 0;
    transition: all 0.25s ease;
}
.feature-card.active .feature-card__stat { background: rgba(255,255,255,0.2); color: #fff; }

.progress-indicators { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
.progress-dot {
    width: 8px;
    height: 8px;
    border-radius: var(--r-pill);
    background: var(--border);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}
.progress-dot.active { width: 22px; background: var(--primary); }

/* ----------------------------------------------------------------
   25. RESPONSIVIDADE GERAL
   ---------------------------------------------------------------- */

@media (max-width: 767.98px) {
    .page-section,
    .page-section-alt,
    .presence-section,
    .positioning-section,
    .services-section,
    .solutions-carousel-section { padding: 56px 0; }
    h1 { font-size: 1.9rem; }
    h2 { font-size: 1.5rem; }
    .stats-container { grid-template-columns: 1fr 1fr; }
    .cta-strip h3 { font-size: 1.4rem; }
    .footer { padding: 40px 0 0; }
}

@media (max-width: 575.98px) {
    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .row.g-5 {
        --bs-gutter-x: 1.5rem;
    }

    .navbar .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .navbar-brand img {
        height: 34px;
        max-width: 176px;
        object-fit: contain;
    }

    .hero-simple {
        min-height: 330px;
        padding: 64px 0 66px;
    }

    .hero-simple h1 {
        max-width: 330px;
        margin-left: auto;
        margin-right: auto;
        font-size: 2.15rem;
        line-height: 1.14;
    }

    .hero-simple .lead {
        max-width: 330px !important;
        font-size: 0.98rem;
        line-height: 1.65;
    }

    .hero-simple::after {
        bottom: 24px;
        width: 76px;
    }

    .service-row .row.g-3 > .col-6 {
        flex: 0 0 100%;
        width: 100%;
    }

    .service-row h2,
    .service-row p,
    .svc-detail-item,
    .svc-info-card {
        max-width: 100%;
    }

    .service-row p,
    .svc-detail-item span {
        overflow-wrap: anywhere;
    }

    .service-row .btn,
    .cta-banner-actions .btn {
        width: 100%;
    }

    .contact-form-header,
    .contact-form-body,
    .portal-left-inner,
    .portal-right-inner {
        padding: 22px;
    }

    .contact-info-item,
    .portal-quick-item {
        align-items: flex-start;
    }
}

/* ----------------------------------------------------------------
   26. PREMIUM REDESIGN - NO-AI AUTHENTIC SYSTEM
   ---------------------------------------------------------------- */

/* Asymmetric Positioning Panel (O que entregamos) */
.pos-grid-modern {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr 0.9fr;
    gap: 24px;
    margin-top: 40px;
}
.pos-panel {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}
.pos-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}
.pos-panel:hover::before {
    transform: scaleX(1);
}
.pos-panel:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-accent);
}
.pos-panel__num {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 24px;
    font-family: 'Inter', sans-serif;
    opacity: 0.15;
    transition: opacity 0.3s ease;
}
.pos-panel:hover .pos-panel__num {
    opacity: 1;
}
.pos-panel h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}
.pos-panel p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 991.98px) {
    .pos-grid-modern {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .pos-panel {
        padding: 30px;
    }
}

/* Horizontal Table-Style Services (Nossas soluções) */
.services-table {
    display: flex;
    flex-direction: column;
    margin-top: 40px;
    border-top: 1px solid var(--border);
}
.svc-row {
    display: grid;
    grid-template-columns: 0.3fr 1.5fr 1fr 2.5fr 0.3fr;
    align-items: center;
    padding: 24px 16px;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    background: transparent;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    position: relative;
}
.svc-row::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary);
    transform: scaleY(0);
    transform-origin: bottom;
    z-index: 1;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.svc-row:hover::after {
    transform: scaleY(1);
}
.svc-row > * {
    position: relative;
    z-index: 2;
    transition: color 0.3s ease, transform 0.3s ease;
}
.svc-row:hover > * {
    color: #fff !important;
}
.svc-row__num {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-muted);
}
.svc-row__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}
.svc-row__tag {
    font-size: 11px;
    font-weight: 600;
    color: var(--primary);
    background: var(--primary-light);
    border: 1px solid var(--border-accent);
    padding: 3px 12px;
    border-radius: 999px;
    width: fit-content;
}
.svc-row:hover .svc-row__tag {
    background: rgba(255,255,255,0.2) !important;
    border-color: rgba(255,255,255,0.4) !important;
    color: #fff !important;
}
.svc-row__desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}
.svc-row__arrow {
    font-size: 1.2rem;
    color: var(--primary);
    justify-self: end;
    transition: transform 0.3s ease;
}
.svc-row:hover .svc-row__arrow {
    transform: translateX(6px);
}

@media (max-width: 991.98px) {
    .svc-row {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 24px;
        align-items: start;
    }
    .svc-row__arrow {
        display: none;
    }
    .svc-row__tag {
        margin: 4px 0;
    }
}

/* Solutions Carousel Section */
.solutions-carousel-section {
    background: var(--bg);
    overflow: hidden;
    scroll-margin-top: 92px;
}

.solutions-carousel {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #111827;
    box-shadow: var(--shadow-md);
}

.solutions-carousel .carousel-inner,
.solutions-carousel .carousel-item {
    aspect-ratio: 3 / 1;
}

.solutions-carousel__image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
    background: #111827;
}

.solutions-carousel__control {
    width: 56px;
    opacity: 0;
    transition: opacity 0.22s ease, background 0.22s ease;
}

.solutions-carousel:hover .solutions-carousel__control {
    opacity: 0.95;
}

.solutions-carousel__control:hover {
    background: rgba(0, 0, 0, 0.18);
}

.solutions-carousel__indicators {
    right: auto;
    bottom: 18px;
    left: 28px;
    margin: 0;
    justify-content: flex-start;
    gap: 8px;
}

.solutions-carousel__indicators [data-bs-target] {
    width: 34px;
    height: 4px;
    margin: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    opacity: 1;
}

.solutions-carousel__indicators .active {
    background: #fff;
}

@media (max-width: 991.98px) {
    .clients-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .solutions-carousel .carousel-inner,
    .solutions-carousel .carousel-item {
        aspect-ratio: 2 / 1;
    }

    .solutions-carousel__control {
        width: 44px;
        opacity: 0.85;
    }

    .solutions-carousel__indicators {
        bottom: 14px;
        left: 18px;
    }

    .clients-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .client-logo-card {
        --logo-box-width: 124px;
        --logo-box-height: 44px;
        min-height: 92px;
        padding: 18px;
        overflow: hidden;
    }

    .client-logo-card--sebrae {
        --logo-scale: 1.3;
    }

    .client-logo-card--ma-agency {
        min-height: 118px;
        flex-direction: column;
        gap: 7px;
        padding: 14px 10px;
    }

    .ma-agency__brand {
        flex-basis: auto;
        width: 126px;
        height: 38px;
    }

    .ma-agency__divider {
        display: none;
    }

    .ma-agency__copy {
        align-items: center;
        text-align: center;
    }

    .ma-agency__copy strong {
        font-size: 1rem;
    }

    .ma-agency__copy small,
    .client-logo-card--seap-ma .ma-agency__copy small {
        max-width: 142px;
        font-size: 0.58rem;
        line-height: 1.12;
    }
}

/* ----------------------------------------------------------------
   27. CLEAN TYPOGRAPHIC COLUMN FLOW (NO CARDS, NO LISTS)
   ---------------------------------------------------------------- */

.services-label { letter-spacing: 0; }

.sol-grid-flow {
    margin-top: 40px;
}

.sol-flow-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: transparent;
    border: none;
    padding: 22px 16px;
    border-radius: 8px;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.sol-flow-col__header {
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
    margin-bottom: 2px;
    transition: border-color 0.35s ease;
}

.sol-flow-col__icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--primary-light);
    font-size: 1.25rem;
    color: var(--primary);
    opacity: 1;
    transition: transform 0.35s ease, color 0.35s ease, filter 0.35s ease, background-color 0.35s ease;
}

.sol-flow-col__title {
    font-size: 1.42rem;
    font-weight: 700;
    line-height: 1.18;
    margin: 0;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 0;
}

.sol-flow-col__title::after {
    display: none;
}

.sol-flow-col__desc {
    font-size: 1.02rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.sol-flow-col__bullets {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.sol-flow-col__bullets li {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 24px;
    color: var(--text-secondary);
    font-size: 0.96rem;
    font-weight: 600;
    line-height: 1.35;
}

.sol-flow-col__bullets i {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 18px;
    border-radius: var(--r-pill);
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.65rem;
}

.sol-flow-col__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.96rem; /* Aumentado de 0.88rem para destaque premium */
    color: var(--primary);
    margin-top: auto;
    transition: color 0.2s ease;
}

.sol-flow-col__link i {
    transition: transform 0.2s ease;
}

/* Hover & Active States (Simple, Auto & Dynamic) */
.sol-flow-col:hover,
.sol-flow-col.active {
    transform: translateY(-4px);
}

.sol-flow-col:hover .sol-flow-col__header,
.sol-flow-col.active .sol-flow-col__header {
    border-color: var(--primary);
}

.sol-flow-col:hover .sol-flow-col__icon,
.sol-flow-col.active .sol-flow-col__icon {
    transform: translateY(-2px);
    color: var(--primary-dark);
    background: rgba(163, 29, 30, 0.13);
    filter: drop-shadow(0 0 8px rgba(163, 29, 30, 0.45));
}

[data-theme="dark"] .sol-flow-col:hover .sol-flow-col__icon,
[data-theme="dark"] .sol-flow-col.active .sol-flow-col__icon {
    filter: drop-shadow(0 0 10px rgba(192, 41, 42, 0.6));
}

.sol-flow-col:hover .sol-flow-col__title::after,
.sol-flow-col.active .sol-flow-col__title::after {
    width: 60px;
}

.sol-flow-col:hover .sol-flow-col__link,
.sol-flow-col.active .sol-flow-col__link {
    color: var(--primary-dark);
}

.sol-flow-col:hover .sol-flow-col__link i,
.sol-flow-col.active .sol-flow-col__link i {
    transform: translateX(4px);
}

@media (max-width: 991.98px) {
    .sol-flow-col {
        padding: 20px 24px;
        border-bottom: 1px solid var(--border);
    }
    .sol-flow-col:last-child {
        border-bottom: none;
    }
}

/* ----------------------------------------------------------------
   28. ADICIONAIS DE ALTERNÂNCIA DE FUNDOS
   ---------------------------------------------------------------- */
.about-section {
    background: var(--bg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

/* ----------------------------------------------------------------
   29. BOTÃO E MENU DE ACESSIBILIDADE FLUTUANTE (BOTTOM RIGHT)
   ---------------------------------------------------------------- */

.acc-float-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    width: 44px;
    height: 44px;
    background: rgba(30, 144, 255, 0.12); /* Botão bonitinho que envolve o azul de acessibilidade */
    border: 2px solid rgba(30, 144, 255, 0.35);
    color: #1e90ff;
    border-radius: var(--r-pill);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    font-size: 18px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] .acc-float-btn {
    background: rgba(30, 144, 255, 0.18);
    border-color: rgba(30, 144, 255, 0.45);
    color: #4da6ff;
}

.acc-float-btn:hover,
.acc-float-btn.active {
    background: #1e90ff;
    border-color: #1e90ff;
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(30, 144, 255, 0.45);
    transform: translateY(-2px);
}

/* Menu Popover Flutuante (Física de Mola) */
.acc-float-menu {
    position: fixed;
    bottom: 82px;
    right: 24px;
    z-index: 10000;
    width: 260px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
    padding: 16px 14px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(18px) scale(0.95);
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); /* Animação de física de mola elástica */
    pointer-events: none;
}

.acc-float-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.acc-menu-header {
    border-bottom: 1px solid var(--border);
    padding-bottom: 10px;
}

.acc-menu-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.acc-menu-title i {
    color: #1e90ff;
}

.btn-close-acc {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 20px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s;
    padding: 0 4px;
}

.btn-close-acc:hover {
    color: var(--text-primary);
}

.acc-menu-section {
    display: flex;
    flex-direction: column;
}

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

.btn-acc-action {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    color: var(--text-primary);
    padding: 5px 8px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-acc-action:hover {
    background: #1e90ff;
    border-color: #1e90ff;
    color: #ffffff;
}

.acc-menu-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.acc-menu-item {
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 8px 10px;
    border-radius: var(--r-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
}

.acc-menu-item:hover {
    background: var(--bg-alt);
    color: var(--text-primary);
}

.acc-menu-divider {
    height: 1px;
    background: var(--border);
}

/* Indicador de Status Ativo (Círculos Luminosos Verdes) */
.acc-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--border);
    display: inline-block;
    transition: all 0.25s ease;
}

.acc-menu-item.active {
    background: rgba(30, 144, 255, 0.08) !important;
    color: #1e90ff !important;
}

[data-theme="dark"] .acc-menu-item.active {
    background: rgba(30, 144, 255, 0.12) !important;
    color: #4da6ff !important;
}

.acc-menu-item.active .acc-status-dot {
    background: #25d366 !important; /* Lâmpada verde neon ativa */
    box-shadow: 0 0 6px rgba(37, 211, 102, 0.8);
}

/* Estilos de Alto Contraste */
body.high-contrast {
    background: #000000 !important;
    color: #ffffff !important;
}

body.high-contrast :not(.acc-float-btn):not(.acc-float-btn *):not(.acc-float-menu):not(.acc-float-menu *):not(.theme-toggle-btn):not(.theme-toggle-btn *) {
    background-color: #000000 !important;
    color: #ffffff !important;
    border-color: #ffffff !important;
}

/* Ocultação e limpeza completa do Hero no Alto Contraste para máxima acessibilidade visual */
body.high-contrast .hero-full {
    background-image: none !important;
    background-color: #000000 !important;
}
body.high-contrast .hero-full::before,
body.high-contrast .hero-shape-divider {
    display: none !important;
}

/* Força transparência em containers de layout do Hero para evitar retângulos pretos sobrepostos */
body.high-contrast .hero-full .container,
body.high-contrast .hero-full .row,
body.high-contrast .hero-full__content,
body.high-contrast .hero-full__stats,
body.high-contrast .hero-stat {
    background: transparent !important;
    background-color: transparent !important;
}

/* Destaque em amarelo de alta acessibilidade para o CTA Principal (Ação Primária) */
body.high-contrast .hero-full__actions .btn-primary {
    border: 2px solid #ffff00 !important;
    color: #ffff00 !important;
    background: transparent !important;
}
body.high-contrast .hero-full__actions .btn-primary:hover {
    background: #ffff00 !important;
    color: #000000 !important;
}

/* Grayscale de Alto Contraste para Logotipos */
body.high-contrast .navbar-brand img,
body.high-contrast .footer-logo-white {
    filter: grayscale(100%) brightness(2.0) contrast(1.2) !important;
}

/* Dessaturação suave de banners e fotos sem destruição visual */
body.high-contrast img:not(.navbar-brand img):not(.footer-logo-white),
body.high-contrast .footer-map-wrap iframe,
body.high-contrast #brazil-map {
    filter: grayscale(60%) contrast(100%) opacity(0.85) !important;
}

/* Remove brilhos e sombras coloridas da interface */
body.high-contrast * {
    text-shadow: none !important;
}

body.high-contrast .sol-flow-col:hover .sol-flow-col__icon,
body.high-contrast .sol-flow-col.active .sol-flow-col__icon,
body.high-contrast .header-icon,
body.high-contrast .positioning-icon,
body.high-contrast .corp-card__icon,
body.high-contrast .btn:hover,
body.high-contrast .theme-toggle-btn:hover {
    filter: none !important;
    box-shadow: none !important;
}

body.high-contrast a:not(.acc-float-menu *) {
    color: #ffff00 !important;
    text-decoration: underline !important;
}

body.high-contrast button:not(.acc-float-btn *):not(.acc-float-menu *):not(.theme-toggle-btn *), 
body.high-contrast .btn:not(.acc-float-btn *):not(.acc-float-menu *):not(.theme-toggle-btn *) {
    background: #000000 !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
}

/* Links Sublinhados */
body.underline-links a {
    text-decoration: underline !important;
}

/* Filtro Monocromático (Cinza) - Aplicado na raiz HTML para evitar bugs de cabeçalho fixo */
html.grayscale-filter {
    filter: grayscale(100%) !important;
}

/* Oculta o botão azul nativo do VLibras por padrão (Pristine layout clean) */
div[vw-access-button] {
    display: none !important;
}

/* Exibe o botão azul do VLibras somente quando a opção estiver ativa no menu */
body.libras-active div[vw-access-button] {
    display: block !important;
}
