/* ==========================================================================
   K7WEB - AGÊNCIA DIGITAL
   Design System & Layout - Identidade Visual Oficial com Animações Modernas
   (Efeitos 21st.dev, GSAP e Lordicon)
   ========================================================================== */

:root {
    /* Paleta Oficial K7WEB */
    --k7-header-bg: #242d38;
    --k7-header-dark: #181f26;
    --k7-footer-bg: #242d38;
    --k7-footer-sub: #181f26;
    
    --k7-cyan: #0088cc;
    --k7-cyan-light: #00a2ea;
    --k7-cyan-glow: rgba(0, 162, 234, 0.35);
    --k7-blue-deep: #005f8f;
    
    --k7-pink-btn: #9c1b48;
    --k7-pink-btn-hover: #b52255;
    
    --k7-dark-btn: #242d38;
    --k7-dark-btn-hover: #181f26;
    
    --k7-cta-banner-bg: #1a212b;
    --k7-sub-banner-bg: #ffffff;
    --k7-sub-banner-border: #e9ecef;
    
    --k7-text-dark: #333f48;
    --k7-text-headings: #2b343d;
    --k7-text-muted: #718096;
    --k7-text-light: #f8fafc;
    --k7-text-footer: #a0aec0;
    
    --k7-bg-light: #f8f9fa;
    --k7-bg-white: #ffffff;
    --k7-border-light: #e2e8f0;
    --k7-border-dotted: #cbd5e1;
    
    --k7-badge-green: #10b981;
    --k7-badge-blue: #0284c7;
    --k7-badge-cyan: #06b6d4;
    --k7-badge-yellow: #f59e0b;
    
    --k7-whatsapp-green: #25d366;
    
    /* Tipografia */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Estrutura */
    --max-width: 1200px;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-pill: 9999px;
    
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.12);
    --shadow-dark: 0 8px 30px rgba(0, 0, 0, 0.25);
    --shadow-glow-cyan: 0 0 25px rgba(0, 162, 234, 0.25);
    
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 15px;
}

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

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

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

/* ==========================================================================
   EFEITOS MODERNOS 21ST.DEV (Spotlight, Glow & Shimmer)
   ========================================================================== */

/* 1. Spotlight Card Effect (gradiente que segue a posição do mouse) */
.spotlight-card {
    position: relative;
    background-color: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.spotlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        350px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(0, 162, 234, 0.12),
        transparent 65%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.spotlight-card:hover::before {
    opacity: 1;
}

.spotlight-card:hover {
    border-color: rgba(0, 162, 234, 0.4);
    box-shadow: 0 12px 30px -8px rgba(0, 136, 204, 0.14), 0 4px 12px rgba(0, 0, 0, 0.04);
}

/* 2. Shimmer & Glow nos Botões */
.shimmer-btn {
    position: relative;
    overflow: hidden;
}

.shimmer-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 30%;
    height: 200%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(30deg);
    transition: all 0.75s ease;
    opacity: 0;
}

.shimmer-btn:hover::after {
    left: 130%;
    opacity: 1;
}

/* Lordicon Styling Helper */
lord-icon {
    display: inline-block;
    vertical-align: middle;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover lord-icon,
.contact-detail-item:hover lord-icon,
.service-step-item:hover lord-icon {
    transform: scale(1.12);
}

/* ==========================================================================
   1. TOPBAR (Header Superior)
   ========================================================================== */
.topbar {
    background-color: var(--k7-header-dark);
    color: #e2e8f0;
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.topbar-contacts {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #cbd5e1;
}

.topbar-item lord-icon {
    margin-right: -2px;
}

.topbar-item:hover {
    color: #ffffff;
}

.topbar-socials {
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #334155;
    color: #cbd5e1;
    font-size: 0.78rem;
    transition: var(--transition);
}

.social-circle:hover {
    background-color: var(--k7-cyan);
    color: #ffffff;
    transform: translateY(-2px) scale(1.08);
    box-shadow: 0 4px 10px rgba(0, 136, 204, 0.4);
}

/* ==========================================================================
   2. NAVBAR PRINCIPAL
   ========================================================================== */
.main-header {
    background-color: var(--k7-header-bg);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
    transition: padding 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.navbar-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 78px;
}

.brand-logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.brand-logo-link:hover {
    transform: scale(1.03);
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    color: #ffffff;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.08);
}

.nav-link.active-pill {
    background-color: var(--k7-header-dark);
    color: #ffffff;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--k7-header-dark);
    min-width: 230px;
    box-shadow: var(--shadow-dark);
    border-radius: var(--radius-sm);
    border-top: 3px solid var(--k7-cyan);
    padding: 8px 0;
    display: none;
    z-index: 100;
}

.dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 18px;
    color: #cbd5e1;
    font-size: 0.9rem;
    transition: var(--transition);
}

.dropdown-menu li a:hover {
    background-color: rgba(0, 136, 204, 0.15);
    color: #ffffff;
    padding-left: 22px;
}

.nav-item:hover .dropdown-menu {
    display: block;
    animation: fadeIn 0.2s ease-in-out;
}

.navbar-wrapper {
    position: relative;
}

.services-nav-item {
    position: static;
}

.services-menu-toggle {
    font-family: inherit;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.services-menu-toggle > i {
    font-size: 0.7rem;
    transition: transform 0.2s ease;
}

.services-menu-toggle[aria-expanded="true"] > i {
    transform: rotate(180deg);
}

.services-mega-menu {
    position: absolute;
    top: calc(100% - 12px);
    right: 0;
    width: min(780px, calc(100vw - 40px));
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    padding: 20px;
    gap: 22px;
    background: var(--k7-header-dark);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 3px solid var(--k7-cyan);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-dark);
    z-index: 100;
}

.services-mega-menu[hidden],
.mega-preview[hidden] {
    display: none;
}

@media (min-width: 769px) and (max-height: 760px) {
    .services-mega-menu {
        max-height: calc(100dvh - 135px);
        overflow-y: auto;
    }
}

.mega-eyebrow {
    display: block;
    color: #94a3b8;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    margin-bottom: 12px;
}

.mega-services-list > .mega-eyebrow {
    padding: 3px 12px;
}

.mega-service-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 12px;
    border-radius: var(--radius-sm);
    color: #cbd5e1;
    transition: background 0.2s ease, color 0.2s ease;
}

.mega-service-link > i:first-child {
    color: var(--k7-cyan);
    width: 22px;
    text-align: center;
    flex-shrink: 0;
}

.mega-service-link strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
}

.mega-service-link small {
    display: block;
    font-size: 0.72rem;
    color: #94a3b8;
    margin-top: 4px;
    line-height: 1.5;
}

.mega-service-arrow {
    margin-left: auto;
    font-size: 0.7rem;
    color: var(--k7-cyan);
}

.mega-service-link.is-previewed,
.mega-service-link:hover {
    background: rgba(0, 136, 204, 0.15);
    color: #fff;
}

.services-menu-toggle:focus-visible,
.mega-service-link:focus-visible,
.mega-preview:focus-visible {
    outline: 2px solid var(--k7-cyan);
    outline-offset: 3px;
}

.mega-preview-area {
    min-width: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    padding-left: 22px;
}

.mega-preview {
    display: block;
    height: 100%;
    overflow: hidden;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.03);
}

.mega-preview img {
    display: block;
    width: 100%;
    height: 175px;
    object-fit: cover;
}

.mega-preview-copy {
    padding: 18px;
}

.mega-preview-copy .mega-eyebrow {
    color: var(--k7-cyan);
    margin-bottom: 8px;
}

.mega-preview-copy h3 {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.mega-preview-copy p {
    color: #94a3b8;
    font-size: 0.8rem;
    line-height: 1.6;
}

.mega-preview-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .nav-links.show-mobile {
        max-height: calc(100dvh - 78px);
        overflow-y: auto;
    }

    .services-menu-toggle {
        justify-content: space-between;
    }

    .services-mega-menu {
        position: static;
        width: 100%;
        grid-template-columns: 1fr;
        padding: 12px;
        gap: 16px;
        margin-top: 8px;
        box-shadow: none;
    }

    .mega-preview-area {
        border-left: 0;
        padding-left: 0;
    }

    .mega-preview img {
        height: 150px;
    }
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 6px;
    width: 44px;
    height: 44px;
}

.mobile-menu-icon {
    display: block;
    position: relative;
    width: 24px;
    height: 20px;
    margin: auto;
}

.mobile-menu-icon span {
    position: absolute;
    left: 0;
    top: 9px;
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transform-origin: center;
    transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1), opacity 200ms ease;
}

.mobile-menu-icon span:first-child {
    transform: translateY(-7px);
}

.mobile-menu-icon span:last-child {
    transform: translateY(7px);
}

.mobile-menu-toggle[aria-expanded="true"] .mobile-menu-icon span:first-child {
    transform: rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] .mobile-menu-icon span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0.5);
}

.mobile-menu-toggle[aria-expanded="true"] .mobile-menu-icon span:last-child {
    transform: rotate(-45deg);
}

.mobile-menu-toggle:focus-visible {
    outline: 2px solid var(--k7-cyan);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
}

/* ==========================================================================
   3. SUBHEADER / BREADCRUMB BANNER
   ========================================================================== */
.sub-header-banner {
    background-color: var(--k7-sub-banner-bg);
    border-bottom: 1px solid var(--k7-sub-banner-border);
    padding: 26px 0;
    box-shadow: var(--shadow-sm);
}

.sub-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.page-main-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--k7-text-headings);
    letter-spacing: -0.5px;
}

.breadcrumb-nav {
    font-size: 0.88rem;
    color: var(--k7-text-muted);
}

.breadcrumb-nav a {
    color: var(--k7-text-muted);
}

.breadcrumb-nav a:hover {
    color: var(--k7-cyan);
}

.breadcrumb-nav .separator {
    margin: 0 8px;
    color: #cbd5e1;
}

.breadcrumb-nav .current-page {
    color: #4b5563;
    font-weight: 500;
}

/* ==========================================================================
   4. SEÇÃO HERO (Home com Vídeo de Fundo)
   ========================================================================== */
.hero-home {
    position: relative;
    background-color: #141c26;
    padding: 110px 0 120px;
    color: #ffffff;
    overflow: hidden;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.hero-bg-video,
.hero-bg-canvas {
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.60;
    filter: brightness(0.9) contrast(1.1);
    transition: opacity 0.6s ease;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(20, 28, 38, 0.88) 0%, rgba(24, 33, 44, 0.76) 50%, rgba(15, 23, 42, 0.92) 100%);
    z-index: 1;
}

.hero-content-relative {
    position: relative;
    z-index: 3;
}

/* Elementos Geométricos Flutuantes Hero */
.hero-floating-element {
    position: absolute;
    pointer-events: none;
    opacity: 0.75;
    z-index: 1;
}

.floating-triangle-1 {
    top: 18%;
    right: 35%;
    width: 0;
    height: 0;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-bottom: 16px solid #ff007a;
}

.floating-triangle-2 {
    bottom: 20%;
    left: 4%;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 18px solid #ff9900;
}

.floating-square-1 {
    bottom: 35%;
    left: 10%;
    width: 16px;
    height: 16px;
    border: 2px solid #ffcc00;
}

.floating-circle-1 {
    top: 15%;
    right: 5%;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #3b82f6;
}

.floating-circle-2 {
    top: 28%;
    left: 51%;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #ff007a;
}

.floating-circle-3 {
    bottom: 18%;
    left: 37%;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #ff7700;
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-headline {
    font-family: var(--font-heading);
    font-size: 3.1rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 18px;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.hero-headline .highlight-box {
    display: inline-block;
    position: relative;
    padding: 3px 18px;
    border-radius: 8px;
    color: #ffffff;
    background: #19222c;
    box-shadow: 0 0 25px rgba(255, 0, 85, 0.45);
    overflow: hidden;
    z-index: 1;
    vertical-align: middle;
}

/* Feixe de luz brilhante que circula continuamente pelo contorno */
.hero-headline .highlight-box::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: conic-gradient(
        from 0deg,
        rgba(255, 0, 85, 0.25) 0deg,
        transparent 70deg,
        transparent 230deg,
        #ff0055 285deg,
        #ffffff 330deg,
        #38bdf8 360deg
    );
    animation: rotateBorderBeam 3s linear infinite;
    z-index: -2;
}

/* Fundo interno que define a espessura da borda de 2px */
.hero-headline .highlight-box::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: #18212b;
    border-radius: 6px;
    z-index: -1;
}

@keyframes rotateBorderBeam {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.hero-subheadline {
    font-size: 1.25rem;
    font-weight: 500;
    color: #e2e8f0;
    margin-bottom: 16px;
}

.hero-description {
    font-size: 1.05rem;
    color: #cbd5e1;
    margin-bottom: 36px;
    line-height: 1.65;
    max-width: 650px;
}

.hero-description strong {
    color: #ffffff;
}

/* Botão Rosa Hero */
.btn-hero-pink {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--k7-pink-btn);
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    padding: 15px 30px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(156, 27, 72, 0.45);
    transition: var(--transition);
}

.btn-hero-pink:hover {
    background-color: var(--k7-pink-btn-hover);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(156, 27, 72, 0.65);
}

/* Indicador de Mouse / Rolar "Veja mais" no Hero */
.hero-scroll-indicator {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-top: 48px;
    color: #e2e8f0;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0.85;
}

.hero-scroll-indicator:hover {
    opacity: 1;
    color: var(--k7-cyan);
    transform: translateY(3px);
}

.mouse-icon {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 14px;
    position: relative;
    box-shadow: 0 0 12px rgba(0, 162, 234, 0.25);
}

.mouse-wheel {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 7px;
    background-color: var(--k7-cyan);
    border-radius: 2px;
    animation: mouseScroll 1.8s infinite cubic-bezier(0.65, 0.05, 0.36, 1);
}

.scroll-text {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.scroll-chevron {
    font-size: 0.75rem;
    animation: bounceChevron 1.8s infinite ease-in-out;
}

@keyframes mouseScroll {
    0% {
        opacity: 1;
        transform: translate(-50%, 0);
    }
    50% {
        opacity: 0.4;
        transform: translate(-50%, 14px);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, 16px);
    }
}

@keyframes bounceChevron {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(5px);
    }
}

/* ==========================================================================
   4.1 SEÇÃO MARQUEE (Carrossel Infinito de Tecnologias & Parceiros)
   ========================================================================== */
.section-marquee {
    position: relative;
    background-color: #171f2a;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 30px 0 26px;
    overflow: hidden;
    z-index: 5;
}

.marquee-heading {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}

.marquee-title {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.4;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #f8fafc;
    display: inline-flex;
    align-items: center;
    gap: 16px;
}

.marquee-title::before,
.marquee-title::after {
    content: '';
    display: inline-block;
    width: 32px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00a2ea);
    border-radius: 2px;
}

.marquee-title::after {
    background: linear-gradient(90deg, #00a2ea, transparent);
}

.marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marqueeScroll var(--duration, 28s) linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-item {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 38px;
    flex-shrink: 0;
    opacity: 0.78;
    filter: grayscale(20%);
    transition: var(--transition);
}

.marquee-item:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.06);
}

.marquee-item svg {
    height: 32px;
    width: auto;
    max-width: 150px;
    display: block;
}

@keyframes marqueeScroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* ==========================================================================
   5. SEÇÃO SERVIÇOS (Home)
   ========================================================================== */
.clients-section {
    scroll-margin-top: 100px;
    padding: 38px 0 42px;
    background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
    border-bottom: 1px solid #e2e8f0;
    position: relative;
}
.clients-heading {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    min-height: 38px;
}
.clients-heading h2 {
    margin: 0 44px;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.4;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #111827;
    display: inline-flex;
    align-items: center;
    gap: 16px;
}

.clients-heading h2::before,
.clients-heading h2::after {
    content: '';
    display: inline-block;
    width: 32px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00a2ea);
    border-radius: 2px;
}

.clients-heading h2::after {
    background: linear-gradient(90deg, #00a2ea, transparent);
}
.clients-toggle {
    position: absolute;
    right: 0;
    width: 34px;
    height: 34px;
    border: 1px solid #cbd5e1;
    border-radius: 50%;
    background: #ffffff;
    color: #475569;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}
.clients-toggle:hover { background: #0088cc; color: #ffffff; border-color: #0088cc; }
.clients-toggle:focus-visible, .clients-viewport:focus-visible { outline: 2px solid var(--k7-cyan); outline-offset: 3px; }
.clients-viewport {
    overflow-x: auto;
    scrollbar-width: none;
    mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}
.clients-viewport::-webkit-scrollbar { display: none; }
.clients-track { display: flex; width: max-content; }
.clients-group { display: flex; align-items: center; flex-shrink: 0; list-style: none; padding: 0; margin: 0; }
.client-logo {
    width: 210px;
    height: 64px;
    padding: 4px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.client-logo img {
    display: block;
    width: 100%;
    height: 54px;
    object-fit: contain;
    opacity: .72;
    transition: opacity .2s ease;
}
.client-logo:hover img { opacity: 1; }
.clients-section.is-animated .clients-viewport { overflow: hidden; }
.clients-section.is-animated .clients-track { animation: marqueeScroll 38s linear infinite; }
.clients-section.is-animated.is-paused .clients-track { animation-play-state: paused; }
.clients-section:not(.is-animated) .clients-group[aria-hidden="true"] { display: none; }
@media (max-width: 640px) {
    .section-marquee { padding: 22px 0 20px; }
    .marquee-heading { margin-bottom: 16px; }
    .marquee-title {
        font-size: 0.9rem;
        letter-spacing: 0.1em;
        margin: 0 16px;
        gap: 10px;
    }
    .marquee-title::before,
    .marquee-title::after {
        width: 18px;
    }
    .clients-section { padding: 26px 0 28px; }
    .clients-heading { margin-bottom: 16px; }
    .clients-heading h2 {
        font-size: 0.95rem;
        letter-spacing: 0.1em;
        margin: 0 16px;
        gap: 10px;
    }
    .clients-heading h2::before,
    .clients-heading h2::after {
        width: 18px;
    }
    .client-logo { width: 160px; padding: 4px 18px; }
}

.section-services {
    position: relative;
    padding: 95px 0 105px;
    background-image: 
        radial-gradient(circle at 15% 20%, rgba(0, 162, 234, 0.22), transparent 45%),
        radial-gradient(circle at 85% 80%, rgba(14, 165, 233, 0.18), transparent 50%),
        linear-gradient(rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.92)),
        url('assets/images/services-parallax-bg.jpg');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    overflow: hidden;
}

.section-services .section-title-dotted h2,
.section-services .section-title-dotted h3 {
    color: #ffffff;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
}

.section-services .section-title-dotted .dotted-line {
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.35) 33%, rgba(255, 255, 255, 0) 0%);
}

.section-services .service-card {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.25);
    border-radius: 16px;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.section-services .service-card:hover {
    transform: translateY(-8px);
    background: #ffffff;
    border-color: rgba(0, 162, 234, 0.7);
    box-shadow: 0 20px 45px rgba(0, 162, 234, 0.28), 0 8px 20px rgba(0, 0, 0, 0.25);
}

.section-services .service-icon-wrap {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border: 1px solid rgba(0, 162, 234, 0.25);
    box-shadow: 0 4px 14px rgba(0, 162, 234, 0.12);
}

.section-services .service-card:hover .service-icon-wrap {
    background: linear-gradient(135deg, #e0f2fe, #bae6fd);
    border-color: #00a2ea;
    box-shadow: 0 0 25px rgba(0, 162, 234, 0.35);
}

.section-services .service-card-title {
    color: #0f172a;
    font-size: 1.18rem;
    font-weight: 800;
}

.section-services .service-card-desc {
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.6;
}

.section-services .service-learn-more-btn {
    transition: transform 0.2s ease, color 0.2s ease;
}

.section-services .service-card:hover .service-learn-more-btn {
    transform: translateX(4px);
    color: #0284c7;
}

@media (max-width: 1024px) {
    .section-services {
        background-attachment: scroll; /* Otimização fluida para mobile / tablets */
    }
}

.section-title-dotted {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 45px;
}

.section-title-dotted h2,
.section-title-dotted h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--k7-text-headings);
    white-space: nowrap;
}

.section-title-dotted .dotted-line {
    flex: 1;
    height: 2px;
    background-image: linear-gradient(to right, #cbd5e1 33%, rgba(255,255,255,0) 0%);
    background-position: bottom;
    background-size: 8px 2px;
    background-repeat: repeat-x;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.service-card {
    padding: 36px 22px 32px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.service-card:hover {
    transform: translateY(-6px);
}

.service-icon-wrap {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: var(--radius-pill);
    background-color: #f8fafc;
    border: 1px solid #eef2f6;
    transition: var(--transition);
}

.service-card:hover .service-icon-wrap {
    background-color: #e0f2fe;
    border-color: rgba(0, 162, 234, 0.4);
    box-shadow: 0 0 20px rgba(0, 162, 234, 0.2);
}

.service-card-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--k7-text-headings);
    margin-bottom: 14px;
}

.service-card-desc {
    font-size: 0.88rem;
    color: var(--k7-text-muted);
    line-height: 1.55;
}

/* ==========================================================================
   6. SEÇÃO PORTFÓLIO (Home - Carrossel Stacked 3D em Navegador Chrome)
   ========================================================================== */
.section-portfolio {
    padding: 40px 0 80px;
    background-color: var(--k7-bg-white);
    position: relative;
}

.portfolio-header-block {
    margin-bottom: 24px;
}

.portfolio-subtitle-desc {
    font-size: 0.98rem;
    color: var(--k7-text-muted);
    max-width: 720px;
    margin-top: 8px;
    line-height: 1.6;
}

.portfolio-subtitle-desc strong {
    color: var(--k7-text-headings);
}

/* Container do Carrossel Stacked 3D */
.portfolio-stacked-carousel-container {
    position: relative;
    width: 100%;
    padding: 10px 0 25px;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Palco 3D Central */
.stacked-carousel-stage {
    position: relative;
    width: 100%;
    max-width: 1050px;
    height: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
    transform-style: preserve-3d;
}

/* Card Individual com Estilo Janela Chrome */
.stacked-card {
    position: absolute;
    width: 490px;
    height: 355px;
    border-radius: 16px;
    overflow: hidden;
    background-color: #1e293b;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.08);
    will-change: transform, opacity;
    cursor: pointer;
    transition: box-shadow 0.35s ease, border-color 0.35s ease;
    transform-origin: center center;
}

.stacked-card.is-active-card {
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.32), 0 0 35px rgba(0, 162, 234, 0.22), 0 0 0 1.5px rgba(0, 162, 234, 0.45);
}

.chrome-browser-window {
    display: flex;
    flex-direction: column;
}

/* Barra Superior Google Chrome */
.chrome-window-bar {
    height: 38px;
    background: linear-gradient(180deg, #242d38 0%, #19212a 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    gap: 10px;
    flex-shrink: 0;
    z-index: 10;
}

.chrome-window-dots {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.chrome-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.dot-close {
    background-color: #ff5f56;
    box-shadow: 0 0 5px rgba(255, 95, 86, 0.5);
}

.dot-minimize {
    background-color: #ffbd2e;
    box-shadow: 0 0 5px rgba(255, 189, 46, 0.5);
}

.dot-maximize {
    background-color: #27c93f;
    box-shadow: 0 0 5px rgba(39, 201, 63, 0.5);
}

.chrome-address-bar {
    flex: 1;
    max-width: 310px;
    height: 24px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 8px;
}

.chrome-address-bar .lock-icon {
    color: #10b981;
    font-size: 0.68rem;
}

.chrome-url-text {
    font-size: 0.72rem;
    color: #cbd5e1;
    font-weight: 500;
    letter-spacing: 0.2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chrome-action-icons {
    color: #64748b;
    font-size: 0.75rem;
    flex-shrink: 0;
    cursor: pointer;
    transition: color 0.2s;
}

.chrome-action-icons:hover {
    color: #00a2ea;
}

/* Viewport do Navegador Chrome */
.chrome-window-viewport {
    position: relative;
    flex: 1;
    overflow: hidden;
    background-color: #0f172a;
}

.chrome-viewport-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    pointer-events: none;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.stacked-card:hover .chrome-viewport-img {
    transform: scale(1.06);
}

/* Camadas de Overlay */
.stacked-card-dark-overlay {
    position: absolute;
    inset: 0;
    background-color: #000000;
    pointer-events: none;
    transition: opacity 0.3s ease;
    opacity: 0;
    z-index: 2;
}

.stacked-card-gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.6) 42%, rgba(0, 0, 0, 0.05) 75%, transparent 100%);
    pointer-events: none;
    z-index: 3;
}

/* Badge de Categoria */
.stacked-card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 6;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    color: #ffffff;
}

.badge-cyan {
    background: rgba(0, 162, 234, 0.92);
}

.badge-green {
    background: rgba(16, 185, 129, 0.92);
}

.badge-blue {
    background: rgba(2, 132, 199, 0.92);
}

.badge-pink {
    background: rgba(225, 29, 72, 0.92);
}

.badge-amber {
    background: rgba(217, 119, 6, 0.92);
}

.badge-purple {
    background: rgba(147, 51, 234, 0.92);
}

/* Conteúdo de Texto do Card */
.stacked-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 20px;
    z-index: 6;
    color: #ffffff;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.stacked-card-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 4px;
    line-height: 1.25;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.stacked-card-desc {
    font-size: 0.82rem;
    color: #e2e8f0;
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

.stacked-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    padding: 2px 9px;
    font-size: 0.68rem;
    font-weight: 600;
    color: #f8fafc;
}

/* Superfície de Drag Invisível */
.stacked-carousel-drag-surface {
    position: absolute;
    inset: 0;
    z-index: 40;
    cursor: grab;
    touch-action: pan-y;
}

.stacked-carousel-drag-surface:active {
    cursor: grabbing;
}

/* Botões de Navegação Flutuantes */
.stacked-carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    color: #1e293b;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 50;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.stacked-carousel-nav-btn:hover {
    background: #00a2ea;
    color: #ffffff;
    border-color: #00a2ea;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 162, 234, 0.4);
}

.stacked-carousel-nav-btn.prev-btn {
    left: 10px;
}

.stacked-carousel-nav-btn.next-btn {
    right: 10px;
}

/* Barra Inferior de Controles */
.portfolio-stacked-bottom-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 10px;
}

.stacked-pagination-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stacked-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.stacked-dot:hover {
    background-color: #94a3b8;
    transform: scale(1.2);
}

.stacked-dot.active {
    background-color: var(--k7-cyan-light);
    width: 26px;
    border-radius: var(--radius-pill);
    box-shadow: 0 0 10px rgba(0, 162, 234, 0.4);
}

.stacked-drag-hint {
    font-size: 0.8rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

/* Grid Clássico de Mockups (Usado em portfolio.html) */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 35px;
}

.portfolio-browser-mockup {
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.09);
    border: 1px solid #e5e7eb;
}

.portfolio-browser-mockup:hover {
    transform: translateY(-6px);
}

.browser-header-dots {
    background-color: #f1f5f9;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid #e2e8f0;
}

.browser-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #cbd5e1;
}

.browser-mockup-img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    object-position: top;
    display: block;
    transition: transform 0.5s ease;
}

.portfolio-browser-mockup:hover .browser-mockup-img {
    transform: scale(1.04);
}

.portfolio-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.carousel-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: #cbd5e1;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    background-color: var(--k7-cyan-light);
    width: 22px;
    border-radius: var(--radius-pill);
}

.btn-cyan-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #00b4d8, #0077b6);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 11px 30px;
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 14px rgba(0, 180, 216, 0.35);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-cyan-pill:hover {
    background: linear-gradient(135deg, #00c6eb, #0088cc);
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 180, 216, 0.55);
    color: #ffffff;
}

/* Responsividade do Carrossel Stacked */
@media (max-width: 1024px) {
    .stacked-carousel-stage {
        height: 410px;
    }
    .stacked-card {
        width: 410px;
        height: 305px;
    }
}

@media (max-width: 640px) {
    .stacked-carousel-stage {
        height: 330px;
    }
    .stacked-card {
        width: 295px;
        height: 230px;
        border-radius: 12px;
    }
    .chrome-window-bar {
        height: 32px;
        padding: 0 10px;
    }
    .chrome-address-bar {
        max-width: 170px;
        height: 20px;
    }
    .chrome-url-text {
        font-size: 0.65rem;
    }
    .stacked-card-title {
        font-size: 0.98rem;
    }
    .stacked-card-desc {
        display: none;
    }
    .stacked-card-badge {
        font-size: 0.6rem;
        padding: 3px 8px;
        top: 8px;
        right: 8px;
    }
    .stacked-carousel-nav-btn {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
    .stacked-carousel-nav-btn.prev-btn {
        left: 4px;
    }
    .stacked-carousel-nav-btn.next-btn {
        right: 4px;
    }
}

/* ==========================================================================
   6.1 SEÇÃO DEPOIMENTOS GOOGLE MEU NEGÓCIO (Carrossel Interativo)
   ========================================================================== */
.section-google-reviews {
    padding: 85px 0;
    background-color: #f8fafc;
    position: relative;
    overflow: hidden;
}

.google-reviews-header-block {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.google-rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: #ffffff;
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
}

.google-g-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.rating-score-stars {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.score-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.score-number {
    font-size: 1.15rem;
    font-weight: 800;
    color: #1e293b;
}

.stars-gold {
    color: #f59e0b;
    font-size: 0.95rem;
    display: flex;
    gap: 3px;
}

.reviews-count-text {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
}

.btn-google-maps {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #ffffff;
    color: #0f766e;
    border: 1.5px solid #cbd5e1;
    padding: 9px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
}

.btn-google-maps:hover {
    border-color: #00a2ea;
    color: #00a2ea;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 162, 234, 0.15);
}

/* Carrossel de Reviews */
.reviews-carousel-container {
    position: relative;
    width: 100%;
}

.reviews-carousel-track-wrapper {
    overflow: hidden;
    padding: 15px 5px;
}

.reviews-carousel-track {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
    gap: 24px;
}

.review-card {
    flex: 0 0 calc(33.333% - 16px);
    background: #ffffff;
    border-radius: 12px;
    padding: 28px 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.review-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.reviewer-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviewer-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0088cc, #00a2ea);
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    text-transform: uppercase;
}

.reviewer-info h4 {
    font-family: var(--font-heading);
    font-size: 0.98rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2px;
}

.reviewer-company {
    font-size: 0.78rem;
    color: #64748b;
}

.google-mini-tag {
    width: 22px;
    height: 22px;
}

.review-stars-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.review-date {
    font-size: 0.75rem;
    color: #94a3b8;
}

.review-card-body {
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 18px;
    flex: 1;
    font-style: normal;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    color: #16a34a;
    font-weight: 600;
    background: #f0fdf4;
    padding: 3px 8px;
    border-radius: 4px;
    width: fit-content;
}

/* Controles de Navegação */
.reviews-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #334155;
    font-size: 1rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.reviews-nav-btn:hover {
    background: var(--k7-cyan);
    color: #ffffff;
    border-color: var(--k7-cyan);
    box-shadow: 0 6px 20px rgba(0, 162, 234, 0.35);
}

.reviews-nav-btn.prev-btn {
    left: -22px;
}

.reviews-nav-btn.next-btn {
    right: -22px;
}

.reviews-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
}

.reviews-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: var(--transition);
}

.reviews-dot.active {
    background: var(--k7-cyan);
    width: 26px;
    border-radius: 8px;
}

@media (max-width: 992px) {
    .review-card {
        flex: 0 0 calc(50% - 12px);
    }
}

@media (max-width: 640px) {
    .review-card {
        flex: 0 0 100%;
    }
    
    .reviews-nav-btn.prev-btn {
        left: 4px;
    }
    
    .reviews-nav-btn.next-btn {
        right: 4px;
    }
}

/* ==========================================================================
   7. BANNER ORÇAMENTO (Blueprint Linhas Geométricas)
   ========================================================================== */
.banner-cta-blueprint {
    background-color: var(--k7-cta-banner-bg);
    position: relative;
    padding: 65px 0;
    color: #ffffff;
    overflow: hidden;
}

.blueprint-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(0, 162, 234, 0.1) 0%, transparent 40%),
        linear-gradient(125deg, transparent 40%, rgba(255,255,255,0.03) 40.5%, rgba(255,255,255,0.03) 41.5%, transparent 42%),
        linear-gradient(-35deg, transparent 55%, rgba(255,255,255,0.03) 55.5%, rgba(255,255,255,0.03) 56.5%, transparent 57%),
        linear-gradient(75deg, transparent 20%, rgba(0, 162, 234, 0.05) 20.5%, rgba(0, 162, 234, 0.05) 21.5%, transparent 22%);
    pointer-events: none;
    transition: transform 0.5s ease-out;
}

.banner-blueprint-flex {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.banner-blueprint-text {
    flex: 1;
}

.banner-blueprint-title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}

.banner-blueprint-desc {
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.6;
}

.btn-cyan-gradient-lg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(90deg, #38bdf8, #0284c7);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 15px 34px;
    border-radius: var(--radius-pill);
    white-space: nowrap;
    box-shadow: 0 4px 18px rgba(2, 132, 199, 0.45);
    transition: var(--transition);
}

.btn-cyan-gradient-lg:hover {
    background: linear-gradient(90deg, #7dd3fc, #0369a1);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 26px rgba(2, 132, 199, 0.7);
    color: #ffffff;
}

/* ==========================================================================
   8. SEÇÃO NOVIDADES (Blog Cards)
   ========================================================================== */
.section-news {
    padding: 75px 0;
    background-color: var(--k7-bg-white);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.news-card {
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.news-card:hover {
    transform: translateY(-6px);
}

.news-thumb-wrap {
    position: relative;
    height: 160px;
    overflow: hidden;
}

.news-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-thumb-img {
    transform: scale(1.08);
}

.news-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.badge-green { background-color: var(--k7-badge-green); }
.badge-blue { background-color: var(--k7-badge-blue); }
.badge-cyan { background-color: var(--k7-badge-cyan); }

.news-body {
    padding: 18px 16px 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.news-title {
    font-family: var(--font-heading);
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--k7-text-headings);
    line-height: 1.4;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.25s ease;
}

.news-card:hover .news-title {
    color: var(--k7-cyan);
}

.news-footer-date {
    border-top: 1px solid #f1f3f5;
    padding-top: 10px;
    font-size: 0.78rem;
    color: #94a3b8;
    text-align: center;
}

/* ==========================================================================
   9. BANNER PARALLAX "SOLUÇÕES VIRTUAIS"
   ========================================================================== */
.banner-parallax-solutions {
    position: relative;
    background-image: linear-gradient(rgba(24, 31, 38, 0.75), rgba(24, 31, 38, 0.75)), url('assets/images/banner-parallax.jpg');
    background-size: cover;
    background-position: center 30%;
    background-attachment: fixed;
    padding: 90px 0;
    text-align: center;
    color: #ffffff;
}

.banner-parallax-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.5px;
    display: inline-block;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

.banner-parallax-title .typewriter-text {
    background: linear-gradient(135deg, #ffffff 40%, #7dd3fc 85%, #00a2ea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline;
}

.banner-parallax-title .typewriter-cursor {
    display: inline-block;
    margin-left: 4px;
    color: #00a2ea;
    font-weight: 300;
    text-shadow: 0 0 10px rgba(0, 162, 234, 0.8);
    animation: typewriterBlink 0.8s infinite;
    vertical-align: baseline;
}

@keyframes typewriterBlink {
    0%, 45% { opacity: 1; }
    50%, 95% { opacity: 0; }
    100% { opacity: 1; }
}

@media (max-width: 768px) {
    .banner-parallax-title {
        font-size: 1.6rem;
    }
}

/* ==========================================================================
   10. PÁGINA FALE CONOSCO (Formulário & Contato)
   ========================================================================== */
.contact-section-layout {
    padding: 55px 0 85px;
    background-color: var(--k7-bg-white);
}

.contact-columns-grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 50px;
}

.contact-info-col {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-photo-card {
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e9ecef;
    transition: var(--transition);
}

.contact-photo-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.contact-photo-img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.contact-block-group h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--k7-text-headings);
    margin-bottom: 12px;
}

.contact-social-icons {
    display: flex;
    gap: 12px;
}

.contact-social-link {
    color: #94a3b8;
    font-size: 1.1rem;
    transition: var(--transition);
}

.contact-social-link:hover {
    color: var(--k7-cyan);
    transform: translateY(-3px) scale(1.15);
}

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

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.94rem;
    color: #4b5563;
    line-height: 1.5;
    padding: 8px 12px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    background: transparent;
}

.contact-detail-item:hover {
    color: #1e293b;
    background: rgba(0, 162, 234, 0.05);
    transform: translateX(4px);
}

.contact-detail-icon-wrap {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 10px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.contact-detail-icon-wrap lord-icon {
    display: block;
    margin: 0 auto;
}

.contact-detail-item:hover .contact-detail-icon-wrap {
    background: #ffffff;
    border-color: #00a2ea;
    box-shadow: 0 4px 14px rgba(0, 162, 234, 0.22);
}

/* Animações contínuas e refinadas dos Ícones do Bloco de Endereço */
.contact-icon-animated {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

/* 1. Ícone Localização (Pulse e Flutuação) */
.contact-icon-animated.icon-pin {
    color: #00a2ea;
    font-size: 1.25rem;
    animation: contactPinBounce 2.4s ease-in-out infinite;
    transform-origin: center center;
}

@keyframes contactPinBounce {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    30% {
        transform: translateY(-5px) scale(1.08);
    }
    50% {
        transform: translateY(0) scale(0.96);
    }
    70% {
        transform: translateY(-2px) scale(1.03);
    }
}

/* 2. Ícone WhatsApp / Telefone (Balanço / Toque de chamada perfeitamente centralizado) */
.contact-icon-animated.icon-phone {
    transform-origin: center center;
    animation: contactPhoneRing 3s ease-in-out infinite;
}

@keyframes contactPhoneRing {
    0%, 60%, 100% {
        transform: rotate(0deg) scale(1);
    }
    65% {
        transform: rotate(-14deg) scale(1.1);
    }
    70% {
        transform: rotate(14deg) scale(1.1);
    }
    75% {
        transform: rotate(-10deg) scale(1.1);
    }
    80% {
        transform: rotate(10deg) scale(1.1);
    }
    85% {
        transform: rotate(-4deg);
    }
    90% {
        transform: rotate(0deg);
    }
}

/* 3. Ícone Calendário (Batimento Suave / Flip de folha) */
.contact-icon-animated.icon-calendar {
    color: #00a2ea;
    font-size: 1.2rem;
    animation: contactCalPulse 2.8s ease-in-out infinite;
}

@keyframes contactCalPulse {
    0%, 100% {
        transform: scale(1);
    }
    40% {
        transform: scale(1.15) rotate(-5deg);
    }
    55% {
        transform: scale(1.15) rotate(5deg);
    }
    70% {
        transform: scale(1.05) rotate(0deg);
    }
}

/* 4. Ícone Relógio (Rotação contínua e suave dos ponteiros ou rotação 360 periódica) */
.contact-icon-animated.icon-clock {
    color: #00a2ea;
    font-size: 1.2rem;
    animation: contactClockSpin 8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes contactClockSpin {
    0% {
        transform: rotate(0deg);
    }
    15% {
        transform: rotate(360deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Hover Boost */
.contact-detail-item:hover .contact-icon-animated {
    animation-play-state: paused;
    transform: scale(1.22);
}

.contact-form-col {
    background-color: transparent;
}

.k7-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
}

.form-label .required-star {
    color: #ef4444;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    background-color: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: var(--radius-sm);
    color: #1e293b;
    font-size: 0.95rem;
    transition: all 0.25s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--k7-cyan);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 136, 204, 0.18);
}

/* ==========================================================================
   ESTILOS DE VALIDAÇÃO ANGULARJS 1.6 (.ng-valid / .ng-invalid / .ng-touched)
   ========================================================================== */
/* 1. Ao clicar ou digitar no campo (foco / preenchimento ativo) -> Fica VERDE */
.form-control:focus,
.form-control.ng-dirty:focus,
.form-control.ng-valid:focus {
    outline: none !important;
    border-color: #10b981 !important;
    background-color: #f0fdf4 !important;
    box-shadow: 0 0 0 3.5px rgba(16, 185, 129, 0.25) !important;
}

/* 2. Campo válido preenchido (mesmo após sair do campo) -> Continua VERDE */
.form-control.ng-valid.ng-dirty,
.form-control.ng-valid.ng-touched,
form.ng-submitted .form-control.ng-valid {
    border-color: #10b981 !important;
    background-color: #f0fdf4 !important;
    box-shadow: 0 0 0 2.5px rgba(16, 185, 129, 0.18) !important;
}

/* 3. Campo se ficar vazio ou com valor incorreto (quando tocado, desfocado ou enviado) -> Fica VERMELHO */
.form-control.ng-invalid.ng-touched:not(:focus),
form.ng-submitted .form-control.ng-invalid {
    border-color: #ef4444 !important;
    background-color: #fef2f2 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2) !important;
}

/* 4. Campo inválido enquanto o usuário ainda está nele com erro evidente (ex: email incompleto desfocado e retornado) */
.form-control.ng-invalid.ng-touched:focus {
    border-color: #ef4444 !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25) !important;
}

/* Mensagens de feedback de validação */
.form-error-msg {
    font-size: 0.8rem;
    font-weight: 600;
    color: #dc2626;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 5px;
    animation: fadeIn 0.2s ease-in-out;
}

.service-select summary {
    cursor: pointer;
}

.service-select summary::marker {
    color: var(--k7-cyan);
}

.service-select[open] summary {
    border-color: var(--k7-cyan);
}

.service-select-options {
    margin-top: 8px;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-sm);
    background: #ffffff;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 12px;
}

.service-select-options label {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 8px 12px;
    border-radius: 8px;
    color: #334155;
    font-size: 0.92rem;
    font-weight: 500;
    cursor: pointer;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.service-select-options label:hover,
.service-select-options label:focus-within {
    background: #f0f9ff;
    border-color: #00a2ea;
    color: #0369a1;
    transform: translateY(-1px);
}

.service-select-options input {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    accent-color: var(--k7-cyan);
    cursor: pointer;
}

@media (max-width: 640px) {
    .service-select-options {
        grid-template-columns: 1fr;
    }
}

.form-help {
    color: #64748b;
    font-size: 0.8rem;
}

textarea.form-control {
    min-height: 160px;
    resize: vertical;
}

.btn-form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background-color: var(--k7-dark-btn);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 16px 24px;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(36, 45, 56, 0.25);
    transition: var(--transition);
}

.btn-form-submit:hover {
    background-color: var(--k7-dark-btn-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(36, 45, 56, 0.45);
}

/* ==========================================================================
   11. PÁGINAS DE SERVIÇO (Header, Processo & Sidebar Rica)
   ========================================================================== */
.sub-header-banner {
    background: linear-gradient(135deg, #181f26 0%, #0f172a 100%);
    padding: 38px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.sub-header-banner::before {
    content: '';
    position: absolute;
    top: 0;
    right: 15%;
    width: 350px;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 162, 234, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.sub-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.page-main-title {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
    margin-bottom: 6px;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #94a3b8;
}

.breadcrumb-nav a {
    color: #cbd5e1;
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb-nav a:hover {
    color: var(--k7-cyan);
}

.breadcrumb-nav .separator {
    color: #64748b;
}

.breadcrumb-nav .current-page {
    color: var(--k7-cyan);
    font-weight: 600;
}

.service-page-layout {
    padding: 55px 0 85px;
    background-color: var(--k7-bg-white);
}

.service-intro-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: start;
    margin-bottom: 50px;
}

.service-content-main h2 {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--k7-text-headings);
    margin-bottom: 18px;
}

.service-content-main p {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.65;
    margin-bottom: 24px;
}

.service-steps-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--k7-text-headings);
    margin: 28px 0 16px;
}

.service-steps-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.service-step-item {
    font-size: 0.92rem;
    color: #4b5563;
    line-height: 1.55;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    background-color: #fafbfc;
    border: 1px solid #f1f3f5;
    transition: var(--transition);
}

.service-step-item:hover {
    background-color: #ffffff;
    border-color: rgba(0, 162, 234, 0.35);
    box-shadow: 0 4px 14px rgba(0, 136, 204, 0.08);
    transform: translateX(4px);
}

.service-step-item strong {
    color: #1e293b;
    font-weight: 700;
}

.service-side-photo {
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid #e9ecef;
}

.service-side-photo img {
    width: 100%;
    height: auto;
    display: block;
}

/* Card Especial do Autor / Liderança em Quem Somos */
.about-author-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-author-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 162, 234, 0.12);
}

.about-author-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: center 20%;
    display: block;
}

.about-author-caption {
    padding: 20px 22px 24px;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
}

.about-author-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--k7-cyan-primary);
    background: rgba(0, 162, 234, 0.08);
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    margin-bottom: 10px;
}

.about-author-caption h4 {
    margin: 0 0 6px;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--k7-text-headings);
}

.about-author-caption p {
    margin: 0;
    font-size: 0.84rem;
    color: var(--k7-text-secondary);
    line-height: 1.5;
}

/* Sidebar Completa da Página de Serviço */
.service-sidebar {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

/* Galeria Multi-Imagens na Sidebar */
.service-gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.service-gallery-item {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-gallery-item:first-child {
    grid-column: span 2;
}

.service-gallery-item img {
    width: 100%;
    height: 100%;
    min-height: 110px;
    object-fit: cover;
    display: block;
}

.service-gallery-item:first-child img {
    min-height: 180px;
}

.service-gallery-item:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 162, 234, 0.18);
}

/* Widgets da Sidebar */
.service-side-widget {
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    padding: 22px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.service-side-widget h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Lista 'Veja Também' (Outros Serviços) */
.related-services-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.related-service-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 6px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    color: #334155;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.related-service-link i.service-icon {
    color: #00a2ea;
    width: 18px;
    text-align: center;
}

.related-service-link:hover {
    background: #00a2ea;
    color: #ffffff;
    border-color: #00a2ea;
    transform: translateX(4px);
}

.related-service-link:hover i.service-icon,
.related-service-link:hover i.arrow-icon {
    color: #ffffff;
}

.related-service-link.active-link {
    background: #e0f2fe;
    color: #0284c7;
    border-color: #bae6fd;
}

/* Widget Atendimento Pelotas */
.contact-quick-widget {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: #ffffff;
    border: none;
}

.contact-quick-widget h4 {
    color: #ffffff;
}

.contact-quick-widget p {
    font-size: 0.85rem;
    color: #cbd5e1;
    line-height: 1.5;
    margin-bottom: 14px;
}

.btn-whatsapp-sidebar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: #25d366;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 12px 18px;
    border-radius: 6px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp-sidebar:hover {
    background: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.55);
}

/* Selos de Benefício */
.trust-badges-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 6px;
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    color: #475569;
    font-weight: 500;
}

.trust-badge-item i {
    color: #10b981;
    font-size: 0.95rem;
}

.why-indispensable-box {
    margin: 40px 0 60px;
}

.why-indispensable-box h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--k7-text-headings);
    margin-bottom: 16px;
}

.why-bullets {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.92rem;
    color: #4b5563;
}

.rocket-cta-center {
    text-align: center;
    margin: 60px auto 70px;
    max-width: 600px;
}

.rocket-cta-center h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--k7-text-headings);
    margin-bottom: 24px;
}

.rocket-graphic-wrap {
    margin: 20px auto 30px;
    display: flex;
    justify-content: center;
}

.hand-pointer-cta-wrap {
    margin: 25px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.rocket-cta-link {
    font-size: 0.95rem;
    color: #4b5563;
    font-weight: 600;
}

.rocket-cta-link a {
    color: var(--k7-cyan);
    text-decoration: underline;
    transition: var(--transition);
}

.rocket-cta-link a:hover {
    color: #005f8f;
}

/* Accordion FAQ */
.faq-accordion-container {
    margin-top: 50px;
}

.faq-accordion-item {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-accordion-item.active {
    border-color: var(--k7-cyan);
    background-color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.08);
}

.faq-accordion-btn {
    width: 100%;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--k7-text-headings);
    cursor: pointer;
}

.faq-accordion-btn i {
    color: #94a3b8;
    transition: transform 0.3s ease;
}

.faq-accordion-item.active .faq-accordion-btn i {
    transform: rotate(180deg);
    color: var(--k7-cyan);
}

.faq-accordion-body {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    font-size: 0.92rem;
    color: #4b5563;
    line-height: 1.6;
}

.faq-accordion-item.active .faq-accordion-body {
    padding: 0 20px 20px;
    max-height: 400px;
}

/* ==========================================================================
   12. RODAPÉ COMPLETO (Identidade K7WEB)
   ========================================================================== */
.main-footer {
    background-color: var(--k7-footer-bg);
    color: #ffffff;
    padding: 60px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer-column h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    position: relative;
}

.fb-widget-container {
    width: 100%;
    max-width: 320px;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.fb-widget-container iframe {
    display: block;
    width: 100%;
    border: none;
    overflow: hidden;
}

/* Filtros de Categoria do Portfólio */
.portfolio-categories-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 30px 0 40px;
    flex-wrap: wrap;
}

.portfolio-cat-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: var(--radius-pill);
    background: #ffffff;
    color: var(--k7-text-secondary);
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 600;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.portfolio-cat-btn:hover {
    color: var(--k7-cyan-primary);
    border-color: var(--k7-cyan-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 162, 234, 0.12);
}

.portfolio-cat-btn.active {
    background: var(--k7-gradient-cyan);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 6px 18px rgba(0, 162, 234, 0.28);
}

.portfolio-cat-btn .cat-count {
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.06);
    font-weight: 700;
}

.portfolio-cat-btn.active .cat-count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.portfolio-item-card {
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.portfolio-item-card.is-hidden {
    display: none !important;
}

.portfolio-item-title-bar {
    padding: 12px 16px;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.portfolio-item-title-bar h3 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--k7-text-headings);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.portfolio-item-title-bar .cat-tag {
    font-size: 0.72rem;
    padding: 2px 8px;
    border-radius: 4px;
    background: #f1f5f9;
    color: #475569;
    font-weight: 600;
    white-space: nowrap;
}

.footer-contacts-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 22px;
}

.footer-contact-row {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #cbd5e1;
    font-size: 0.92rem;
}

.footer-badges-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-badge-box {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #cbd5e1;
}

.footer-badge-box strong {
    color: #ffffff;
}

.footer-location-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-size: 0.88rem;
    color: #cbd5e1;
    line-height: 1.5;
}

.footer-location-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-location-item i {
    color: #94a3b8;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-payment-text {
    font-size: 0.9rem;
    color: #cbd5e1;
    margin-bottom: 16px;
}

.payment-flags-grid {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.payment-flag-card {
    background-color: #ffffff;
    border-radius: var(--radius-sm);
    padding: 4px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    min-width: 44px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.payment-flag-card img {
    height: 16px;
    width: auto;
    object-fit: contain;
}

.pix-badge-wrap {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}

.pix-logo-svg {
    height: 32px;
    width: auto;
}

.footer-social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-social-link-item {
    color: #f43f5e;
    font-size: 0.92rem;
    transition: var(--transition);
}

.footer-social-link-item:hover {
    color: #ffffff;
    padding-left: 4px;
}

/* Sub-Rodapé Inferior */
.sub-footer-bottom {
    background-color: var(--k7-footer-sub);
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.82rem;
    color: #94a3b8;
}

.sub-footer-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.sub-footer-socials {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ==========================================================================
   13. WIDGET FLUTUANTE WHATSAPP & BOTÃO VOLTAR AO TOPO
   ========================================================================== */
.floating-whatsapp-widget {
    position: fixed;
    bottom: 22px;
    right: 22px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.whatsapp-chat-bubble {
    background-color: #ffffff;
    color: #1e293b;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    border: 1px solid #e2e8f0;
    white-space: nowrap;
    transition: var(--transition);
}

.whatsapp-circle-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: var(--k7-whatsapp-green);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
    transition: var(--transition);
}

.floating-whatsapp-widget:hover .whatsapp-circle-btn {
    transform: scale(1.1);
    box-shadow: 0 6px 22px rgba(37, 211, 102, 0.65);
}

.floating-whatsapp-widget:hover .whatsapp-chat-bubble {
    transform: translateX(-4px);
    background-color: #f8fafc;
}

/* Botão Flutuante Voltar ao Topo (Subir Página) */
.back-to-top-btn {
    position: fixed;
    bottom: 84px;
    right: 25px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(30, 38, 48, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1.5px solid rgba(0, 162, 234, 0.45);
    color: #00a2ea;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    cursor: pointer;
    z-index: 9998;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.28), 0 0 12px rgba(0, 162, 234, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(18px) scale(0.85);
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.25s ease,
                color 0.25s ease,
                box-shadow 0.25s ease,
                border-color 0.25s ease;
    pointer-events: none;
    outline: none;
}

.back-to-top-btn i {
    transition: transform 0.25s ease;
}

.back-to-top-btn.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.back-to-top-btn:hover {
    background: linear-gradient(135deg, #00a2ea 0%, #0077b6 100%);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 8px 24px rgba(0, 162, 234, 0.5), 0 0 16px rgba(0, 162, 234, 0.35);
}

.back-to-top-btn:hover i {
    transform: translateY(-2px);
}

.back-to-top-btn:active {
    transform: translateY(-1px) scale(0.96);
}

@media (max-width: 600px) {
    .back-to-top-btn {
        bottom: 80px;
        right: 24px;
        width: 42px;
        height: 42px;
        font-size: 0.95rem;
    }
}

/* ==========================================================================
   14. RESPONSIVIDADE E AJUSTES MOBILE
   ========================================================================== */
@media (max-width: 1100px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 820px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-columns-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 580px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .topbar-flex {
        justify-content: center;
        text-align: center;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--k7-header-dark);
        flex-direction: column;
        align-items: stretch;
        padding: 16px 20px;
        gap: 8px;
        display: none;
        box-shadow: var(--shadow-dark);
    }
    
    .nav-links.show-mobile {
        display: flex;
    }
    
    .nav-link {
        width: 100%;
        padding: 12px 16px;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        border-top: none;
        border-left: 2px solid var(--k7-cyan);
        margin-left: 14px;
    }
    
    .hero-headline {
        font-size: 2.2rem;
    }
    
    .banner-blueprint-flex {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-columns-grid {
        grid-template-columns: 1fr;
    }
    
    .service-intro-grid {
        grid-template-columns: 1fr;
    }
    
    .k7-form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
    
    .footer-columns-grid {
        grid-template-columns: 1fr;
    }
    
    .sub-footer-flex {
        flex-direction: column;
        text-align: center;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   COOKIE CONSENT MODAL DISCRETO E CRIATIVO
   ========================================================================== */
.k7-cookie-modal {
    position: fixed;
    bottom: 24px;
    left: 24px;
    max-width: 440px;
    background: rgba(24, 31, 38, 0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(0, 162, 234, 0.4);
    border-radius: 16px;
    padding: 22px 24px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 25px rgba(0, 162, 234, 0.15);
    z-index: 99999;
    color: #ffffff;
    font-family: var(--font-body, 'Inter', sans-serif);
    transform: translateY(120px) scale(0.96);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.45s ease;
}

.k7-cookie-modal.is-visible {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}

.k7-cookie-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.k7-cookie-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(0, 162, 234, 0.25), rgba(2, 132, 199, 0.15));
    border: 1px solid rgba(0, 162, 234, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #38bdf8;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.k7-cookie-title {
    font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.3px;
}

.k7-cookie-text {
    font-size: 0.88rem;
    line-height: 1.55;
    color: #cbd5e1;
    margin: 0 0 16px;
}

.k7-cookie-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.k7-cookie-btn-accept {
    flex: 1;
    min-width: 130px;
    background: linear-gradient(135deg, #00a2ea, #0284c7);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 10px 18px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    box-shadow: 0 4px 14px rgba(0, 162, 234, 0.35);
}

.k7-cookie-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 162, 234, 0.5);
    background: linear-gradient(135deg, #38bdf8, #00a2ea);
}

.k7-cookie-btn-terms {
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    padding: 10px 16px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.k7-cookie-btn-terms:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    .k7-cookie-modal {
        left: 14px;
        right: 14px;
        bottom: 14px;
        max-width: none;
        padding: 18px;
    }
    .k7-cookie-actions {
        flex-direction: column;
    }
    .k7-cookie-btn-accept,
    .k7-cookie-btn-terms {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}
