/**
 * Criado Por Matheus da IMAGINE COMPANY
 * "Tudo posso naquele que me fortalece - Filipenses 4:13."
 */

/* ── Reset & Base ── */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: #000;
    color: #f5f5f7;
    overflow-x: hidden;
}

/* ── Three.js Canvas ── */
#three-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.dark #three-bg { opacity: 0.8; }
html:not(.dark) #three-bg { opacity: 0.4; }

/* ── Vinheta de Foco ── */
.ambient-vignette {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    transition: background 0.5s ease;
}

.dark .ambient-vignette {
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.92) 100%);
}

html:not(.dark) .ambient-vignette {
    background: radial-gradient(circle at center, transparent 0%, rgba(245, 244, 240, 0.92) 100%);
}

/* ── Content over 3D ── */
.content-wrapper {
    position: relative;
    z-index: 1;
    animation: contentFadeIn 0.8s ease-out;
}

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

/* ── Navbar ── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.9);
    border-bottom-color: rgba(255, 255, 255, 0.12);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #FF6B00;
    text-decoration: none;
    letter-spacing: -0.02em;
}

.navbar-logo-img {
    height: 32px;
    width: auto;
}

.dark-logo { display: block; }
.light-logo { display: none; }
html:not(.dark) .dark-logo { display: none; }
html:not(.dark) .light-logo { display: block; }

.navbar-logo-text {
    font-size: 1.375rem;
    font-weight: 700;
    color: #FF6B00;
    letter-spacing: -0.02em;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    list-style: none;
}

.navbar-links a {
    color: #a1a1a6;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}

.navbar-links a:hover,
.navbar-links a.active {
    color: #f5f5f7;
}

/* ── Mega Menu Toggle ── */
.mega-menu-toggle {
    cursor: pointer;
}

.mega-menu-toggle.open .mega-menu-chevron {
    transform: rotate(180deg);
}

/* ── Mega Menu Overlay ── */
.mega-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 104;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    pointer-events: none;
}

.mega-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* ── Mega Menu Sidebar ── */
.mega-menu-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: auto;
    min-width: 480px;
    max-width: 92vw;
    z-index: 106;
    background: rgba(18, 18, 20, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.4);
    transform: translateX(100%);
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
}

.mega-menu-sidebar.active {
    transform: translateX(0);
}

.mega-menu-sidebar-inner {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    box-sizing: border-box;
}

.mega-menu-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mega-menu-sidebar-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.mega-menu-sidebar-logo img {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.mega-menu-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #a1a1a6;
    cursor: pointer;
    transition: all 0.2s;
}

.mega-menu-close:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #f5f5f7;
}

/* ── Mega Menu Search ── */
.mega-menu-search {
    position: relative;
    margin-bottom: 1.25rem;
}

.mega-menu-search-input {
    width: 100%;
    padding: 0.625rem 0.75rem 0.625rem 2.25rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #f5f5f7;
    font-size: 0.8125rem;
    outline: none;
    transition: all 0.2s;
    box-sizing: border-box;
}

.mega-menu-search-input::placeholder {
    color: #6e6e73;
}

.mega-menu-search-input:focus {
    border-color: #FF6B00;
    background: rgba(255, 107, 0, 0.06);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
}

/* ── Mega Menu Services Grid ── */
.mega-menu-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 0.5rem;
}

.mega-menu-service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 0.75rem 0.4rem;
    border-radius: 14px;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    transform: translateX(20px);
    background: transparent;
    border: 1px solid transparent;
    min-width: 0;
    overflow: hidden;
}

.mega-menu-sidebar.active .mega-menu-service-item {
    opacity: 1;
    transform: translateX(0);
}

.mega-menu-sidebar.active .mega-menu-service-item:nth-child(1) { transition-delay: 0.05s; }
.mega-menu-sidebar.active .mega-menu-service-item:nth-child(2) { transition-delay: 0.08s; }
.mega-menu-sidebar.active .mega-menu-service-item:nth-child(3) { transition-delay: 0.11s; }
.mega-menu-sidebar.active .mega-menu-service-item:nth-child(4) { transition-delay: 0.14s; }
.mega-menu-sidebar.active .mega-menu-service-item:nth-child(5) { transition-delay: 0.17s; }
.mega-menu-sidebar.active .mega-menu-service-item:nth-child(6) { transition-delay: 0.20s; }
.mega-menu-sidebar.active .mega-menu-service-item:nth-child(7) { transition-delay: 0.23s; }
.mega-menu-sidebar.active .mega-menu-service-item:nth-child(8) { transition-delay: 0.26s; }
.mega-menu-sidebar.active .mega-menu-service-item:nth-child(9) { transition-delay: 0.29s; }
.mega-menu-sidebar.active .mega-menu-service-item:nth-child(10) { transition-delay: 0.32s; }

.mega-menu-service-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.08);
    transform: scale(1.04);
}

.mega-menu-service-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.mega-menu-service-icon i,
.mega-menu-service-icon svg {
    width: 24px;
    height: 24px;
    color: #fff;
    stroke: #fff;
}

.mega-menu-service-item:hover .mega-menu-service-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.mega-menu-service-name {
    font-size: 0.75rem;
    font-weight: 500;
    color: #d1d1d6;
    line-height: 1.3;
    transition: color 0.2s;
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.mega-menu-service-item:hover .mega-menu-service-name {
    color: #fff;
}

html:not(.dark) .mega-menu-service-item {
    background: transparent;
    border-color: transparent;
}

html:not(.dark) .mega-menu-service-item:hover {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.06);
}

html:not(.dark) .mega-menu-service-name { color: #515154; }
html:not(.dark) .mega-menu-service-item:hover .mega-menu-service-name { color: #1d1d1f; }

/* ── Mega Menu Nav Links (mobile only) ── */
.mega-menu-nav-links {
    display: none;
    flex-direction: column;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mega-menu-nav-links a {
    display: block;
    padding: 0.625rem 0;
    color: #d1d1d6;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color 0.2s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.mega-menu-nav-links a:hover {
    color: #FF6B00;
}

html:not(.dark) .mega-menu-nav-links {
    border-top-color: rgba(0, 0, 0, 0.06);
}

html:not(.dark) .mega-menu-nav-links a {
    color: #515154;
    border-bottom-color: rgba(0, 0, 0, 0.04);
}

html:not(.dark) .mega-menu-nav-links a:hover {
    color: #FF6B00;
}

/* ── Mega Menu Sidebar Footer ── */
.mega-menu-sidebar-footer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mega-menu-footer-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #FF6B00;
    text-decoration: none;
    transition: all 0.2s;
}

.mega-menu-footer-link:hover {
    color: #FF8C40;
    transform: translateX(4px);
}

.mega-menu-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: #3B82F6;
    color: #fff;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: 0;
    box-sizing: border-box;
}

.mega-menu-cta:hover {
    background: #2563EB;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

/* ── Mobile Menu Services ── */
.mobile-menu-section {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 0.5rem;
}

.mobile-menu-section-title {
    display: block;
    font-size: 1.125rem;
    font-weight: 600;
    padding: 0.875rem 0;
    border-bottom: none !important;
}

.mobile-menu-services {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    padding: 0.5rem 0 0.75rem;
}

.mobile-service-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.625rem !important;
    border-radius: 0.75rem;
    font-size: 0.8125rem !important;
    font-weight: 500;
    border-bottom: none !important;
    transition: background 0.2s;
}

.mobile-service-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.mobile-service-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-service-icon i,
.mobile-service-icon svg {
    width: 16px;
    height: 16px;
    color: #fff;
    stroke: #fff;
}

/* ── Grid Toggle (Adobe-style) ── */
.grid-toggle {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 3.5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 110;
    border-radius: 8px;
    transition: background 0.2s;
}

.grid-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
}

.grid-toggle span {
    display: block;
    width: 4px;
    height: 4px;
    background: #f5f5f7;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.grid-toggle.active span {
    border-radius: 1px;
}
.grid-toggle.active span:nth-child(1) { transform: translate(1px, 1px); }
.grid-toggle.active span:nth-child(3) { transform: translate(-1px, 1px); }
.grid-toggle.active span:nth-child(5) { background: #FF6B00; transform: scale(1.4); }
.grid-toggle.active span:nth-child(7) { transform: translate(1px, -1px); }
.grid-toggle.active span:nth-child(9) { transform: translate(-1px, -1px); }


.mobile-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    z-index: 99;
    padding: 1.5rem;
    overflow-y: auto;
}

.mobile-menu.active { display: block; }

.mobile-menu a {
    display: block;
    color: #f5f5f7;
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 500;
    padding: 0.875rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-menu a:hover { color: #FF6B00; }

/* ── Dark Mode Toggle ── */
.theme-toggle {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 9999px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #a1a1a6;
    transition: all 0.2s;
}

.theme-toggle:hover {
    border-color: #FF6B00;
    color: #FF6B00;
}

/* ══════════════════════════════════════════════
   LIGHT MODE — Contraste Forte
   ══════════════════════════════════════════════ */

html:not(.dark) body {
    background: #f5f4f0;
    color: #1d1d1f;
}

html:not(.dark) .navbar {
    background: rgba(255, 255, 255, 0.88);
    border-bottom-color: rgba(0, 0, 0, 0.12);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

html:not(.dark) .navbar.scrolled {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

html:not(.dark) .navbar-links a { color: #515154; }
html:not(.dark) .navbar-links a:hover,
html:not(.dark) .navbar-links a.active { color: #1d1d1f; }

html:not(.dark) .mega-menu-sidebar {
    background: rgba(255, 255, 255, 0.98);
    border-left-color: rgba(0, 0, 0, 0.08);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.12);
}

html:not(.dark) .mega-menu-sidebar-header { border-bottom-color: rgba(0, 0, 0, 0.08); }

html:not(.dark) .mega-menu-close {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.1);
    color: #515154;
}

html:not(.dark) .mega-menu-search-input {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.1);
    color: #1d1d1f;
}

html:not(.dark) .mega-menu-service-item:hover {
    background: rgba(0, 0, 0, 0.04);
}

html:not(.dark) .mega-menu-service-name { color: #515154; }
html:not(.dark) .mega-menu-service-item:hover .mega-menu-service-name { color: #1d1d1f; }

html:not(.dark) .mega-menu-sidebar-footer {
    border-top-color: rgba(0, 0, 0, 0.08);
}

html:not(.dark) .mobile-menu-section {
    border-bottom-color: rgba(0, 0, 0, 0.06);
}

html:not(.dark) .mobile-service-item:hover {
    background: rgba(0, 0, 0, 0.04);
}

html:not(.dark) .grid-toggle span { background: #1d1d1f; }
html:not(.dark) .grid-toggle:hover { background: rgba(0, 0, 0, 0.06); }

html:not(.dark) .mobile-menu { background: rgba(255, 255, 255, 0.98); }
html:not(.dark) .mobile-menu a {
    color: #1d1d1f;
    border-bottom-color: rgba(0, 0, 0, 0.06);
}

html:not(.dark) .theme-toggle {
    border-color: rgba(0, 0, 0, 0.15);
    color: #515154;
}

/* Bento Cards Light */
html:not(.dark) .bento-card {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    backdrop-filter: none;
}

html:not(.dark) .bento-card:hover {
    background: #ffffff;
    border-color: rgba(255, 107, 0, 0.35);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 107, 0, 0.12);
}

/* Footer Light */
html:not(.dark) .footer {
    background: #ffffff;
    border-top-color: rgba(0, 0, 0, 0.08);
}

html:not(.dark) .footer,
html:not(.dark) .footer a { color: #515154; }
html:not(.dark) .footer-col h4 { color: #1d1d1f; }
html:not(.dark) .footer-bottom { border-top-color: rgba(0, 0, 0, 0.1); }

/* Section Header Light */
html:not(.dark) .section-header p { color: #333; }

/* Blog Cards Light */
html:not(.dark) .blog-card-excerpt { color: #1d1d1f; }
html:not(.dark) .blog-card-image {
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.08), rgba(255, 107, 0, 0.02));
}

/* Breadcrumb Light */
html:not(.dark) .breadcrumb { color: #86868b; }
html:not(.dark) .breadcrumb a { color: #86868b; }
html:not(.dark) .breadcrumb-current { color: #1d1d1f !important; }

/* Text utility classes with light mode */
.text-secondary { color: #a1a1a6; }
html:not(.dark) .text-secondary { color: #1d1d1f; }

.text-body { color: #d1d1d6; }
html:not(.dark) .text-body { color: #424245; }

/* Dock Light */
html:not(.dark) .dock {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

html:not(.dark) .dock-item { color: #515154; }
html:not(.dark) .dock-item:hover {
    background: rgba(0, 0, 0, 0.06);
    color: #FF6B00;
}

html:not(.dark) .dock-item .tooltip {
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
}

html:not(.dark) .dock-divider { background: rgba(0, 0, 0, 0.12); }

/* Sidebar border light */
html:not(.dark) .sidebar-border { border-color: rgba(0, 0, 0, 0.08) !important; }

/* ── Buttons ── */
.btn-premium {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #FF6B00;
    color: #fff;
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    border-radius: 9999px;
    text-decoration: none;
    font-size: 0.9375rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.5s;
}

.btn-premium:hover::before { left: 100%; }

.btn-premium:hover {
    background: #e55d00;
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(255, 107, 0, 0.35), 0 0 20px rgba(255, 107, 0, 0.15);
}

.btn-premium-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: #FF6B00;
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    border-radius: 9999px;
    text-decoration: none;
    font-size: 0.9375rem;
    border: 2px solid #FF6B00;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-premium-outline:hover {
    background: #FF6B00;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(255, 107, 0, 0.3);
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    background: #3B82F6;
    color: #fff;
    font-weight: 600;
    padding: 0.875rem 1.75rem;
    border-radius: 9999px;
    text-decoration: none;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background: #2563EB;
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.3);
}

/* ── Bento Cards ── */
.bento-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.25rem;
    padding: 1.5rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.bento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    transition: left 0.6s;
}

.bento-card:hover::before { left: 100%; }

.bento-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 107, 0, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 30px rgba(255, 107, 0, 0.06);
}

.bento-card .icon-box {
    width: 44px;
    height: 44px;
    background: rgba(255, 107, 0, 0.15);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.875rem;
}

.bento-card .icon-box i,
.bento-card .icon-box svg {
    width: 22px;
    height: 22px;
    color: #FF6B00;
}

/* ── Gradient Text ── */
.gradient-text {
    background: linear-gradient(135deg, #FF6B00 0%, #FF8C40 40%, #FFa060 60%, #FF6B00 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 5s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

html:not(.dark) .gradient-text {
    background: linear-gradient(135deg, #FF6B00 0%, #e55d00 40%, #cc5200 60%, #FF6B00 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 5s ease infinite;
}

/* ── Hero Glow ── */
.hero-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: heroGlowPulse 6s ease-in-out infinite;
    z-index: -1;
}

@keyframes heroGlowPulse {
    0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
}

html:not(.dark) .hero-glow {
    background: radial-gradient(circle, rgba(255, 107, 0, 0.08) 0%, transparent 70%);
}

/* ── Fade Up Animation ── */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-up-stagger > * {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-up-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.fade-up-stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.fade-up-stagger.visible > *:nth-child(3) { transition-delay: 0.15s; }
.fade-up-stagger.visible > *:nth-child(4) { transition-delay: 0.2s; }
.fade-up-stagger.visible > *:nth-child(5) { transition-delay: 0.25s; }
.fade-up-stagger.visible > *:nth-child(6) { transition-delay: 0.3s; }
.fade-up-stagger.visible > *:nth-child(7) { transition-delay: 0.35s; }
.fade-up-stagger.visible > *:nth-child(8) { transition-delay: 0.4s; }
.fade-up-stagger.visible > *:nth-child(9) { transition-delay: 0.45s; }
.fade-up-stagger.visible > *:nth-child(10) { transition-delay: 0.5s; }

.fade-up-stagger.visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* ── Section Styling ── */
.section {
    padding: 4rem 1.5rem;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.section-header h2 {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.625rem;
}

.section-header p {
    color: #a1a1a6;
    font-size: 1rem;
    line-height: 1.6;
}

/* ── Stats ── */
.stat-number {
    font-size: clamp(1.75rem, 5vw, 3rem);
    font-weight: 700;
    color: #FF6B00;
    letter-spacing: -0.03em;
    line-height: 1;
}

/* ── Footer ── */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: #111113;
    padding: 3rem 1.5rem 1.5rem;
    color: #a1a1a6;
}

.footer a {
    color: #a1a1a6;
    text-decoration: none;
    transition: color 0.2s;
}

.footer a:hover { color: #FF6B00; }

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2.5rem;
}

.footer-col h4 {
    color: #f5f5f7;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.875rem;
}

.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 0.375rem; }
.footer-col ul li a { font-size: 0.875rem; }

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8125rem;
}

/* ── Blog Card ── */
.blog-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 1.25rem;
    overflow: hidden;
    transition: all 0.4s ease;
}

.blog-card:hover { transform: translateY(-4px); }

.blog-card-image {
    height: 180px;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.15), transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-body { padding: 1.25rem; }

.blog-card-category {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #FF6B00;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.375rem;
}

.blog-card-title {
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.375rem;
    transition: color 0.2s;
}

.blog-card:hover .blog-card-title { color: #FF6B00; }

.blog-card-excerpt {
    font-size: 0.8125rem;
    color: #a1a1a6;
    line-height: 1.5;
}

/* ── Breadcrumb ── */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: #a1a1a6;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.breadcrumb a { color: #a1a1a6; text-decoration: none; }
.breadcrumb a:hover { color: #FF6B00; }
.breadcrumb-current { color: #f5f5f7; }

/* ── Dock Menu (macOS style) ── */
.dock {
    display: none !important;
}

.dock.hidden {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
    pointer-events: none;
}

.dock-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 0.75rem;
    color: #a1a1a6;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.dock-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #FF6B00;
    transform: scale(1.15) translateY(-4px);
}

.dock-item .tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(29, 29, 31, 0.95);
    color: #f5f5f7;
    font-size: 0.6875rem;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s;
}

.dock-item:hover .tooltip { opacity: 1; }

.dock-divider {
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 0.25rem;
}

/* ══════════════════════════════════════════════
   RESPONSIVE — Mobile First
   ══════════════════════════════════════════════ */

/* ── Small screens (up to 480px) ── */
@media (max-width: 480px) {
    .section { padding: 2.5rem 1rem; }

    .section-header { margin-bottom: 1.75rem; }
    .section-header h2 { font-size: 1.375rem; }
    .section-header p { font-size: 0.875rem; }

    .stat-number { font-size: 1.5rem !important; }

    .btn-premium,
    .btn-premium-outline {
        padding: 0.625rem 1.25rem;
        font-size: 0.8125rem;
        width: 100%;
        justify-content: center;
    }

    .btn-whatsapp {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
        width: 100%;
        justify-content: center;
    }

    .bento-card { padding: 1.25rem; border-radius: 1rem; }
    .bento-card:hover { transform: none; }

    .blog-card-image { height: 140px; }
    .blog-card-body { padding: 1rem; }
    .blog-card-title { font-size: 0.9375rem; }

    .hero-glow { width: 250px; height: 250px; }

    /* Hero small mobile — texto maior, mais próximo do topo */
    .hero-title {
        font-size: 1.75rem !important;
        line-height: 1.3 !important;
    }
    section[style*="min-height:85vh"] {
        min-height: 65vh !important;
        padding-top: 3.5rem !important;
    }

    /* Footer mobile */
    .footer { padding: 2rem 1rem 1rem; }
    .footer-grid { gap: 1.5rem; }
    .footer-col h4 { font-size: 0.75rem; margin-bottom: 0.625rem; }

    /* Navbar compact */
    .navbar-container { height: 56px; padding: 0 1rem; }
    .navbar-logo-img { height: 26px; }
    .navbar-logo-text { font-size: 1.125rem; }
    /* Mega menu adapts to small screens */
    .mega-menu-sidebar {
        min-width: 0;
        width: 100vw;
        max-width: 100vw;
        border-left: none;
    }
    .mega-menu-sidebar-inner {
        padding: 1.25rem 1rem;
    }
    .mega-menu-service-icon {
        width: 42px;
        height: 42px;
        min-width: 42px;
        border-radius: 12px;
    }
    .mega-menu-service-icon i,
    .mega-menu-service-icon svg {
        width: 20px;
        height: 20px;
    }
    .mega-menu-service-name {
        font-size: 0.6875rem;
    }

    /* Form pages mobile */
    .page-content h2 { font-size: 1.375rem !important; }
}

/* ── Medium screens (481px to 768px) ── */
@media (max-width: 768px) {
    .navbar-links { display: none; }
    .grid-toggle { display: none; }
    .dock { display: none; }
    .section { padding: 3rem 1rem; }
    /* Mega menu responsive on tablet/mobile */
    .mega-menu-sidebar {
        min-width: 0;
        width: 88vw;
        max-width: 400px;
    }

    /* Show nav links on mobile */
    .mega-menu-nav-links {
        display: flex;
    }

    /* Hero mobile — texto maior + mais perto do topo */
    .hero-title {
        font-size: 2rem !important;
        line-height: 1.25 !important;
    }
    section[style*="min-height:85vh"] {
        min-height: 70vh !important;
        padding-top: 4rem !important;
    }

    /* Footer mobile — coluna única, alinhado à esquerda */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .hero-glow { width: 300px; height: 300px; }

    /* Blog grid 1 col on small tablet */
    .blog-card-image { height: 160px; }

    /* Make flex buttons stack on mobile */
    .flex.flex-col.sm\:flex-row { gap: 0.75rem !important; }

    /* Breadcrumb mobile */
    .breadcrumb { font-size: 0.75rem; gap: 0.25rem; }

    /* Service show layout on mobile */
    .lg\:col-span-3,
    .lg\:col-span-2 { grid-column: span 1; }

    /* Cards no hover effect on touch */
    .bento-card:hover { transform: none; }
    .blog-card:hover { transform: none; }
}

/* ── Tablet (769px to 1024px) ── */
@media (min-width: 769px) and (max-width: 1024px) {
    .navbar-links { gap: 1.25rem; }
    .navbar-links a { font-size: 0.8125rem; }

    .section { padding: 3.5rem 1.5rem; }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 2rem;
    }
}

/* ── Desktop only ── */
@media (min-width: 769px) {
    .mega-menu-nav-links { display: none !important; }
}

/* ── Large desktop ── */
@media (min-width: 1200px) {
    .section { padding: 5rem 2rem; }
}

/* ══════════════════════════════════════════════
   SOLID BACKGROUND for TEXT READABILITY
   ══════════════════════════════════════════════ */
.solid-bg {
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 1.25rem;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

html:not(.dark) .solid-bg {
    background: rgba(255, 255, 255, 0.88);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

/* ══════════════════════════════════════════════
   BLOG SEARCH BAR
   ══════════════════════════════════════════════ */
.blog-search-form {
    position: relative;
    max-width: 480px;
    margin: 0 auto;
}

.blog-search-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 9999px;
    color: #f5f5f7;
    font-size: 0.875rem;
    outline: none;
    transition: all 0.3s ease;
}

.blog-search-input::placeholder { color: #6e6e73; }

.blog-search-input:focus {
    border-color: #FF6B00;
    background: rgba(255, 107, 0, 0.06);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
}

.blog-search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6e6e73;
    pointer-events: none;
}

html:not(.dark) .blog-search-input {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.12);
    color: #1d1d1f;
}

/* ══════════════════════════════════════════════
   BLOG COMMENTS
   ══════════════════════════════════════════════ */
.comments-section {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

html:not(.dark) .comments-section {
    border-top-color: rgba(0, 0, 0, 0.08);
}

.comments-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.comments-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #f5f5f7;
}

html:not(.dark) .comments-header h3 { color: #1d1d1f; }

.comments-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 0.5rem;
    background: rgba(255, 107, 0, 0.15);
    color: #FF6B00;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 9999px;
}

.comment-item {
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 1rem;
    margin-bottom: 0.75rem;
}

html:not(.dark) .comment-item {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.comment-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.625rem;
}

.comment-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 107, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
    color: #FF6B00;
    flex-shrink: 0;
}

.comment-author {
    font-size: 0.875rem;
    font-weight: 600;
    color: #f5f5f7;
}

html:not(.dark) .comment-author { color: #1d1d1f; }

.comment-date {
    font-size: 0.75rem;
    color: #8e8e93;
}

html:not(.dark) .comment-date { color: #48484a; }

.comment-body {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #d1d1d6;
}

html:not(.dark) .comment-body { color: #1a1a1c; }

/* Comment form */
.comment-form {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 1rem;
}

html:not(.dark) .comment-form {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.comment-form h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #f5f5f7;
    margin-bottom: 1rem;
}

html:not(.dark) .comment-form h4 { color: #1d1d1f; }

.comment-form-group {
    margin-bottom: 0.875rem;
}

.comment-form-input,
.comment-form-textarea {
    width: 100%;
    padding: 0.625rem 0.875rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #f5f5f7;
    font-size: 0.8125rem;
    outline: none;
    font-family: inherit;
    transition: all 0.2s;
}

.comment-form-input::placeholder,
.comment-form-textarea::placeholder { color: #8e8e93; }

html:not(.dark) .comment-form-input::placeholder,
html:not(.dark) .comment-form-textarea::placeholder { color: #636366; }

.comment-form-input:focus,
.comment-form-textarea:focus {
    border-color: #FF6B00;
    background: rgba(255, 107, 0, 0.06);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
}

html:not(.dark) .comment-form-input,
html:not(.dark) .comment-form-textarea {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.1);
    color: #1d1d1f;
}

.comment-form-textarea { resize: vertical; min-height: 80px; }

.comment-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

@media (max-width: 480px) {
    .comment-form-row { grid-template-columns: 1fr; }
}

.comment-form-submit {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.5rem;
    background: #FF6B00;
    color: #fff;
    font-weight: 600;
    font-size: 0.8125rem;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.comment-form-submit:hover {
    background: #e55d00;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.3);
}

/* ══════════════════════════════════════════════
   MOBILE BOTTOM NAV — Tubelight Effect
   ══════════════════════════════════════════════ */

.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 120;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.375rem 0.5rem calc(0.375rem + env(safe-area-inset-bottom, 0px));
    align-items: stretch;
    justify-content: space-around;
}

html:not(.dark) .mobile-bottom-nav {
    background: rgba(255, 255, 255, 0.92);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.mobile-bottom-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.125rem;
    padding: 0.375rem 0.75rem;
    border-radius: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    font-size: 0.625rem;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
    border: none;
    background: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    flex: 1;
}

html:not(.dark) .mobile-bottom-item {
    color: rgba(0, 0, 0, 0.35);
}

.mobile-bottom-item span {
    line-height: 1;
}

/* Lamp container — hidden by default */
.mobile-bottom-lamp {
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 2rem;
    height: 0.25rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

/* The solid bar at top */
.lamp-bar {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2rem;
    height: 0.1875rem;
    background: #FF6B00;
    border-radius: 0 0 9999px 9999px;
}

/* Glow layers */
.lamp-glow-1 {
    position: absolute;
    top: -0.375rem;
    left: 50%;
    transform: translateX(-50%);
    width: 3rem;
    height: 1.25rem;
    background: rgba(255, 107, 0, 0.2);
    border-radius: 9999px;
    filter: blur(8px);
}

.lamp-glow-2 {
    position: absolute;
    top: -0.125rem;
    left: 50%;
    transform: translateX(-50%);
    width: 2rem;
    height: 1.25rem;
    background: rgba(255, 107, 0, 0.2);
    border-radius: 9999px;
    filter: blur(6px);
}

.lamp-glow-3 {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1rem;
    height: 0.75rem;
    background: rgba(255, 107, 0, 0.2);
    border-radius: 9999px;
    filter: blur(4px);
}

/* Active state */
.mobile-bottom-item.active {
    color: #FF6B00;
    background: rgba(255, 107, 0, 0.06);
}

html:not(.dark) .mobile-bottom-item.active {
    color: #FF6B00;
    background: rgba(255, 107, 0, 0.08);
}

.mobile-bottom-item.active .mobile-bottom-lamp {
    opacity: 1;
}

/* Show only on mobile */
@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex;
    }

    /* Add padding at bottom of page so content isn't hidden behind bottom nav */
    body {
        padding-bottom: 4.5rem;
    }

    /* Hide grid-toggle since we have bottom nav now */
    .grid-toggle {
        display: none !important;
    }
}

/* ══════════════════════════════════════════════
   CLIENT LOGOS — Color + Black Strip Marquee
   ══════════════════════════════════════════════ */

/* ══════════════════════════════════════════════
   HERO TRUST AVATAR BUBBLES
   ══════════════════════════════════════════════ */

.hero-trust-bubbles {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.trust-avatar-stack {
    display: flex;
    align-items: center;
}

.trust-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 2.5px solid #FF6B00;
    background: #1a1a1a;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -12px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    flex-shrink: 0;
}
.trust-avatar:first-child {
    margin-left: 0;
}

html:not(.dark) .trust-avatar {
    border-color: #FF6B00;
    background: #fff;
}

.trust-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.trust-avatar:hover {
    transform: scale(1.12);
    z-index: 20 !important;
}

/* Carousel animation — slide like conveyor belt */
.trust-avatar-slide-out {
    animation: trustSlideOut 0.4s ease forwards;
}
.trust-avatar-slide-in {
    animation: trustSlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes trustSlideOut {
    0% { opacity: 1; transform: translateX(0) scale(1); }
    100% { opacity: 0; transform: translateX(-20px) scale(0.7); }
}
@keyframes trustSlideIn {
    0% { opacity: 0; transform: translateX(20px) scale(0.7); }
    100% { opacity: 1; transform: translateX(0) scale(1); }
}

.trust-bubbles-text {
    font-size: 1rem;
    font-weight: 400;
    color: #a1a1a6;
    line-height: 1.6;
    white-space: nowrap;
}

html:not(.dark) .trust-bubbles-text {
    color: #1d1d1f;
}

/* Responsive */
@media (max-width: 480px) {
    .hero-trust-bubbles {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.625rem;
    }
    .trust-avatar {
        width: 38px;
        height: 38px;
        margin-left: -10px;
    }
    .trust-bubbles-text {
        font-size: 0.8125rem;
    }
}

.client-logo-color img:hover { opacity: 1 !important; }

/* Faixa preta fixa — sempre preta, independente do modo de cor */
.logo-black-strip {
    background: #000 !important;
    padding: 2rem 0;
    overflow: hidden;
    width: 100%;
    position: relative;
}
.logo-black-strip::before,
.logo-black-strip::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}
.logo-black-strip::before {
    left: 0;
    background: linear-gradient(to right, #000, transparent);
}
.logo-black-strip::after {
    right: 0;
    background: linear-gradient(to left, #000, transparent);
}

/* Marquee */
.logo-marquee {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.logo-marquee-track {
    display: flex;
    align-items: center;
    gap: 3.5rem;
    animation: marquee 35s linear infinite;
    width: max-content;
}
.logo-marquee-track:hover { animation-play-state: paused; }

.logo-marquee-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    min-width: 100px;
}
.logo-marquee-item img {
    height: 44px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    filter: grayscale(1) brightness(1.8);
    opacity: 0.65;
    transition: all 0.4s ease;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}
.logo-marquee-item img:hover {
    filter: grayscale(0) brightness(1);
    opacity: 1;
    transform: scale(1.06);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ══════════════════════════════════════════════
   TESTIMONIALS — YouTube Video Cards
   ══════════════════════════════════════════════ */

/* ══════════════════════════════════════════════
   PHONE MOCKUP — Testimonial Videos
   ══════════════════════════════════════════════ */

.phone-carousel {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Phone Marquee (carrossel infinito de depoimentos) */
.phone-marquee {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 1rem 0;
}
.phone-marquee::before,
.phone-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 3;
    pointer-events: none;
}
.phone-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--bg, #000), transparent);
}
.phone-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--bg, #000), transparent);
}
.phone-marquee-track {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    width: max-content;
    animation: phoneMarquee 40s linear infinite;
}
.phone-marquee-track:hover {
    animation-play-state: paused;
}
@keyframes phoneMarquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.phone-mockup {
    text-align: center;
    transition: transform 0.4s ease;
}
.phone-mockup:hover {
    transform: translateY(-8px);
}

.phone-frame {
    position: relative;
    width: 220px;
    height: 440px;
    background: #1a1a1a;
    border-radius: 32px;
    padding: 8px;
    box-shadow:
        0 0 0 2px #333,
        0 20px 60px rgba(0, 0, 0, 0.4),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.phone-notch {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 22px;
    background: #1a1a1a;
    border-radius: 0 0 14px 14px;
    z-index: 5;
}
.phone-notch::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: #2a2a2a;
    border-radius: 50%;
    box-shadow: inset 0 0 2px rgba(0,0,0,0.5);
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    background: #000;
    position: relative;
}

.phone-home-indicator {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 36%;
    height: 4px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 9999px;
    z-index: 5;
}

.phone-client-name {
    margin-top: 0.75rem;
    font-size: 0.8125rem;
    font-weight: 600;
    opacity: 0.8;
}

/* Video inside phone */
.phone-screen .testimonial-video {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    padding-bottom: 0;
    cursor: pointer;
    overflow: hidden;
    background: #000;
}
.phone-screen .testimonial-video img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, opacity 0.3s ease;
}
.phone-screen .testimonial-video:hover img {
    transform: scale(1.05);
    opacity: 0.85;
}

.testimonial-play {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.9;
}
.testimonial-video:hover .testimonial-play {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
}

/* Iframe loaded state */
.phone-screen .testimonial-video iframe,
.testimonial-video iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive phones */
@media (max-width: 768px) {
    .phone-carousel {
        gap: 1.25rem;
    }
    .phone-frame {
        width: 160px;
        height: 320px;
        border-radius: 24px;
        padding: 6px;
    }
    .phone-screen { border-radius: 18px; }
    .phone-notch {
        width: 60px;
        height: 16px;
        border-radius: 0 0 10px 10px;
        top: 6px;
    }
    .phone-notch::after { width: 6px; height: 6px; top: 5px; }
    .phone-home-indicator { bottom: 10px; height: 3px; }
}

@media (max-width: 480px) {
    .phone-carousel {
        gap: 1rem;
        justify-content: center;
    }
    .phone-frame {
        width: 140px;
        height: 280px;
        border-radius: 22px;
        padding: 5px;
    }
    .phone-screen { border-radius: 17px; }
    .phone-notch {
        width: 50px;
        height: 14px;
        top: 5px;
    }
}
