/* =========================================
   1. VARIABLES & THEME
   ========================================= */
:root {
    --primary: #7c2bee;
    --bg-dark: #050505;
    --surface-dark: #0F0F12;
    --text-gray: #9CA3AF;
    --accent-blue: #3B82F6;
    --accent-purple: #8B5CF6;
    --accent-green: #10B981;
}

/* =========================================
   2. RESET & BASE STYLES
   ========================================= */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body {
    margin: 0;
    padding-top: 70px;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    background-image:
        radial-gradient(circle at 20% 20%, rgba(124, 43, 238, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 30%, rgba(59, 130, 246, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 50% 80%, rgba(139, 92, 246, 0.12) 0%, transparent 50%);
    background-attachment: fixed;
    color: #F3F4F6;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* =========================================
   3. LAYOUT & TYPOGRAPHY
   ========================================= */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2.5rem);
}

h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.2rem, 8vw, 4rem);
    font-weight: 800;
    margin-bottom: 0rem;
    line-height: 1.1;
    text-align: center;
}

h2 {
    font-size: clamp(1.8rem, 6vw, 3.2rem);
    font-weight: 800;
    line-height: 1.1;
    color: white;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Navigation */
nav {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    right: 0;
    width: 100%;
    height: 80px;
    z-index: 9999;
    background: transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    border-bottom: 1px solid transparent;
}

nav.scrolled {
    height: 70px;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.logo-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: transform 0.3s ease;
}

.logo-box:hover {
    transform: scale(1.02);
}

.logo-img {
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 0.6rem;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.logo-box:hover .logo-img {
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(124, 43, 238, 0.3);
}

.brand-name {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    font-size: 1.25rem;
    color: white;
    background: linear-gradient(135deg, #FFF 0%, #A78BFA 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}

.logo-box:hover .brand-name {
    letter-spacing: 0.01em;
    opacity: 0.9;
}

.nav-items {
    display: flex;
    gap: 1rem;
    align-items: center;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.nav-btn {
    font-family: 'Outfit', sans-serif;
    background: transparent;
    border: 1px solid transparent;
    color: white;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    letter-spacing: 0.02em;
    white-space: nowrap;
    border-radius: 0.75rem;
}

.nav-btn:hover {
    background: rgba(124, 43, 238, 0.1);
    border-color: rgba(124, 43, 238, 0.3);
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(124, 43, 238, 0.15);
}

/* Header/Hero */
header {
    text-align: center;
    padding: clamp(2rem, 10vw, 4rem) 1rem 2rem;
}

header p {
    font-family: 'Outfit', sans-serif;
    color: white;
    max-width: 500px;
    margin: 0 auto;
    font-size: 1rem;
}

.hero-card {
    background: transparent;
    border: none;
    padding: 6rem 0 6rem;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: none;
    text-align: center;
}

/* Footer */
footer {
    padding: clamp(3rem, 10vw, 6rem) 0 4rem;
    color: white;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: clamp(2rem, 8vw, 5rem);
}

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

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        align-items: start;
    }
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #9CA3AF;
    margin-bottom: 1rem;
    transition: color 0.2s;
}

.contact-info-item i {
    width: 1.2rem;
    text-align: center;
    color: var(--primary);
}

.contact-info-item:hover {
    color: white;
}

/* =========================================
   4. COMPONENTS
   ========================================= */

/* Buttons */
.btn-main {
    background: var(--primary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(91, 33, 182, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.2s;
}

.btn-main:hover {
    transform: translateY(-2px);
}

.cta-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 0.75rem;
    font-weight: bold;
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(91, 33, 182, 0.4);
    transition: all 0.2s ease;
    width: auto;
    max-width: 100%;
}

@media (max-width: 480px) {
    .cta-btn {
        width: 100%;
        padding: 1rem 1.5rem;
    }
}

/* Cards & Boxes */
.benefit-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: default;
    height: 100%;
}

.benefit-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.benefit-card svg {
    width: 2rem;
    height: 2rem;
    color: white;
    fill: currentColor;
    opacity: 0.9;
}

/* Service Components */
.services-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .services-layout {
        /* grid-template-columns: 320px 1fr; Removed to keep stacked layout */
        grid-template-columns: 1fr;
    }
}


.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: clamp(1rem, 3vw, 2rem);
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 0;
    animation: slideUp 0.6s ease;
    justify-items: center;
    /* Centers grid items if they don't fill the row */
}

@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr;
        /* Force single column on mobile */
        padding: 0 1rem;
    }

    .service-card-new {
        padding: 1.25rem !important;
        gap: 0.75rem !important;
    }

    .service-icon-box {
        margin-bottom: 0.75rem !important;
        width: 3.2rem !important;
        height: 3.2rem !important;
    }

    .service-card-new h3 {
        font-size: 1.15rem !important;
        margin-bottom: 0.5rem !important;
    }

    .service-card-new p {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
    }

    .service-card-new div[style*="margin-top: 1.5rem"] {
        margin-top: 0.75rem !important;
    }
}

.service-card-new {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1.5rem;
    padding: clamp(1.5rem, 3vw, 2rem);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    backdrop-filter: blur(10px);
    height: 100%;
    width: 100%;
    /* Ensure it fills the grid cell */
}

.service-card-new:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(124, 43, 238, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.service-icon-box {
    width: 4rem;
    height: 4rem;
    background: rgba(124, 43, 238, 0.1);
    border: 1px solid rgba(124, 43, 238, 0.2);
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.service-tab {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid transparent;
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-tab:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(10px);
}

.service-tab.active {
    background: rgba(255, 255, 255, 0.08);
    border-left: 4px solid var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.tab-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tab-icon svg {
    width: 1.2rem;
    height: 1.2rem;
    fill: var(--accent-purple);
}

.service-tab.active .tab-icon {
    background: var(--primary);
}

.service-tab.active .tab-icon svg {
    fill: white;
}

.tab-content h3 {
    font-size: 1rem;
    font-weight: bold;
    margin: 0;
    color: #eee;
}

.tab-content span {
    font-size: 0.6rem;
    color: var(--accent-purple);
    display: block;
    margin-top: 0.2rem;
}

/* Service Detail Modal Content */
.service-detail {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 1rem;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.detail-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-purple);
}

.detail-icon svg {
    width: 1.8rem;
    height: 1.8rem;
    fill: currentColor;
}

.detail-title {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.02em;
}

.detail-desc {
    color: #bbb;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 900px) {
    .detail-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.benefit-item {
    display: flex;
    align-items: start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: #ddd;
}

.check-circle {
    min-width: 1.2rem;
    height: 1.2rem;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.1rem;
}

.check-circle svg {
    width: 0.8rem;
    fill: white;
}

/* =========================================
   5. SECTIONS
   ========================================= */

/* Typography Helpers */
.gradient-text {
    background: linear-gradient(to right, #60A5FA, #A78BFA);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title {
    font-size: clamp(1.8rem, 6vw, 3.2rem);
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 800;
}

.section-badge {
    font-size: clamp(1.8rem, 6vw, 3.2rem);
    font-weight: 800;
    display: block;
    margin-bottom: 0rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 2rem;
    font-weight: 500;
    text-align: center;
    margin-top: 0.5rem;
}

.section-sub {
    color: #6B7280;
    font-size: 0.875rem;
    text-align: center;
    margin-bottom: 2rem;
}

/* Authority Section */
.authority-header {
    position: relative;
    padding: clamp(2rem, 8vw, 4rem) 1rem 2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.authority-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.25rem;
    background: rgba(124, 43, 238, 0.08);
    /* Sophisticated glass background */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #D8B4FE;
    /* Lavender text for high contrast and elegance */
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    border-radius: 999px;
    border: 1px solid rgba(124, 43, 238, 0.3);
    margin-bottom: 1.5rem;
    box-shadow: 0 0 30px rgba(124, 43, 238, 0.15);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.authority-badge:hover {
    background: rgba(124, 43, 238, 0.15);
    transform: translateY(-2px);
    border-color: rgba(124, 43, 238, 0.5);
    box-shadow: 0 0 40px rgba(124, 43, 238, 0.25);
}

/* Shine effect animation */
.authority-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right,
            transparent,
            rgba(255, 255, 255, 0.15),
            transparent);
    transform: skewX(-25deg);
    animation: badgeShine 5s infinite cubic-bezier(0.19, 1, 0.22, 1);
}

@keyframes badgeShine {
    0% {
        left: -100%;
    }

    15% {
        left: 150%;
    }

    100% {
        left: 150%;
    }
}

.authority-header h1 {
    font-size: clamp(1.8rem, 5vw, 3rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.authority-header p {
    color: var(--text-gray);
    font-size: clamp(0.9rem, 2vw, 1rem);
    line-height: 1.6;
}

.timeline-container {
    max-width: 1440px;
    margin: 4rem auto 8rem;
    padding: 0 clamp(1rem, 3vw, 2.5rem);
    position: relative;
    z-index: 1;
}

#auth-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    position: relative;
    padding-bottom: 2rem;
}

@media (min-width: 900px) {
    #auth-grid {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 2rem;
        padding-bottom: 0;
    }
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    position: relative;
    background: transparent;
    border: none;
    padding: 0;
}

.process-step:hover {
    background: transparent;
    transform: none;
    border: none;
}

.process-node {
    margin-bottom: 0.5rem;
    width: auto;
    height: auto;
    background: transparent;
    border: none;
}

.node-number {
    font-size: 5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.04);
    font-family: 'Outfit', sans-serif;
    line-height: 1;
}

.process-content .stats-title {
    font-size: clamp(1.2rem, 4vw, 2rem);
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, #60A5FA, #A78BFA);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    /* Bring back the gradient */
    font-weight: 800;
    line-height: 1.2;
}

.process-content .stats-desc {
    color: #A1A1AA;
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 320px;
    margin: 0 auto;
}

/* Clients section (Parte 4 - Cases) */
.clients-section {
    margin: clamp(4rem, 8vw, 6rem) auto;
    position: relative;
}

.clients-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}

.clients-badge {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #C4B5FD;
    background: rgba(124, 43, 238, 0.1);
    border: 1px solid rgba(124, 43, 238, 0.3);
    padding: 0.4rem 1rem;
    border-radius: 999px;
    margin-bottom: 1.25rem;
}

.clients-subtitle {
    color: #9CA3AF;
    font-size: 1rem;
    line-height: 1.65;
    max-width: 620px;
    margin: 1rem auto 0;
}

.clients-carousel-wrapper {
    position: relative;
    padding: clamp(1.5rem, 4vw, 3rem) 0;
    overflow: hidden;
}

.carousel-container {
    overflow: hidden;
    position: relative;
    padding: 0.5rem 0;
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.carousel-track {
    display: flex;
    width: max-content;
    gap: 1.25rem;
    animation: carousel-scroll 50s linear infinite;
}

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

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

.client-card {
    position: relative;
    width: 220px;
    height: 140px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.015) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.1rem;
    color: white;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    backdrop-filter: blur(8px);
}

.client-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, transparent, transparent);
    transition: background 0.4s ease;
}

.client-card-glow {
    position: absolute;
    top: -40%;
    right: -40%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.2), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.client-card:hover {
    background: linear-gradient(160deg, rgba(124, 43, 238, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-color: rgba(124, 43, 238, 0.45);
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(124, 43, 238, 0.18), 0 0 0 1px rgba(124, 43, 238, 0.15);
}

.client-card:hover::before {
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.client-card:hover .client-card-glow {
    opacity: 1;
}

.client-logo-box {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    overflow: hidden;
}

.client-logo-box img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 0.5rem;
    filter: brightness(0.95);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.client-card:hover .client-logo-box img {
    filter: brightness(1.1);
    transform: scale(1.05);
}

.client-logo-svg {
    width: 2rem;
    height: 2rem;
    opacity: 0.8;
    color: white;
}

@media (max-width: 768px) {
    .carousel-track { gap: 0.75rem; }
    .client-card {
        width: 140px;
        height: 100px;
        padding: 0.6rem;
        border-radius: 0.9rem;
    }
    .client-logo-box { padding: 0.25rem; }
}

@media (max-width: 480px) {
    .client-card {
        width: 120px;
        height: 88px;
        padding: 0.5rem;
    }
}

/* Results Section */
.result-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.25rem 1rem;
    border-radius: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    height: 100%;
}

.result-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* CTA */
.cta-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1.5rem;
    padding: 3rem 1.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

/* =========================================
   6. UTILITIES & MOBILE
   ========================================= */

/* Mobile Sidebar */
.mobile-sidebar {
    position: fixed;
    top: 80px;
    right: -280px;
    width: 280px;
    height: calc(100vh - 80px);
    background: #0a0a0c;
    z-index: 9998;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1), top 0.4s cubic-bezier(0.4, 0, 0.2, 1), height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

.mobile-sidebar.open {
    right: 0;
}

.sidebar-header {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.close-sidebar {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
}

.sidebar-nav {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-nav .nav-btn {
    width: 100%;
    text-align: left;
    padding: 0.75rem 1rem;
    background: transparent;
    border-left: 2px solid transparent;
    border-radius: 0;
    font-size: 1.1rem;
}

.sidebar-nav .nav-btn:hover {
    background: rgba(124, 43, 238, 0.05);
    border-left-color: var(--primary);
    padding-left: 1.5rem;
    color: white;
}

.sidebar-nav .sidebar-cta-btn {
    background: var(--primary) !important;
    border-radius: 0.75rem !important;
    border: none !important;
    color: white !important;
    text-align: center !important;
    justify-content: center;
}

.sidebar-nav .sidebar-cta-btn:hover {
    background: #6D28D9 !important;
    border: none !important;
    padding-left: 1.25rem !important;
    /* Override the hover padding */
    transform: translateY(-2px);
}

.sidebar-overlay {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 997;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease, top 0.4s cubic-bezier(0.4, 0, 0.2, 1), height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

nav.scrolled~.mobile-sidebar {
    top: 70px;
    height: calc(100vh - 70px);
}

nav.scrolled~.sidebar-overlay {
    top: 70px;
    height: calc(100vh - 70px);
}

.sidebar-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-btn {
    display: none;
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
    background: var(--primary);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.35rem;
    color: white;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(124, 43, 238, 0.4);
    transition: all 0.2s;
    z-index: 10005;
}

@media (max-width: 1100px) {
    nav {
        justify-content: space-between;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-items {
        display: none;
    }

    .modal-content {
        max-height: 90vh;
        width: 95%;
        margin: 0 auto;
        border-radius: 1rem;
    }

    .modal-header {
        padding: 0.75rem 1rem;
        /* Compact header */
    }

    .modal-header h3 {
        font-size: 1.2rem;
        /* Smaller title */
    }

    .modal-body {
        padding: 1rem;
        /* Compact body */
        font-size: 0.9rem;
        /* Smaller text */
    }

    /* Footer Reordering */
    .footer-grid {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        /* Add gap between sections */
    }

    .footer-grid>div:nth-child(1) {
        order: 2;
        /* Move branding/socials to bottom */
    }

    .footer-grid>div:nth-child(2) {
        order: 1;
        /* Move contact to top */
    }
}

/* =========================================
   7. MODALS & SOCIALS (Restored)
   ========================================= */

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 10005;
    display: none;
    /* Hidden by default */
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    /* Show when active */
    opacity: 1;
}

.modal-content {
    background: #111113;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    width: 100%;
    max-width: 800px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-header {
    background: #111113;
    /* Solid background to hide scrolling content */
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 10;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.15rem;
    color: white;
}

.close-modal-btn {
    background: transparent;
    border: none;
    color: #9CA3AF;
    cursor: pointer;
    transition: color 0.2s;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
}

.close-modal-btn:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.modal-body {
    padding: 1rem 1.25rem;
    color: #D1D5DB;
    line-height: 1.7;
}

.modal-body h4 {
    color: white;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.modal-body ul {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.modal-body li {
    margin-bottom: 0.5rem;
}

/* Social Links */
.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    color: #9CA3AF;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid transparent;
}

.social-link:hover {
    background: rgba(124, 43, 238, 0.1);
    color: var(--primary);
    transform: translateY(-3px);
    border-color: rgba(124, 43, 238, 0.3);
    box-shadow: 0 5px 15px rgba(124, 43, 238, 0.2);
}

.social-link i {
    font-size: 1.2rem;
}

/* =========================================
   7. MOBILE OPTIMIZATIONS (Service Modal)
   ========================================= */
@media (max-width: 768px) {
    .modal-overlay {
        padding: 1rem !important;
        align-items: center !important;
        display: none;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .modal-overlay.active {
        display: flex !important;
        opacity: 1 !important;
    }

    .modal-content {
        width: 100% !important;
        max-width: 500px !important;
        max-height: 90vh !important;
        border-radius: 1.5rem !important;
        position: relative !important;
        top: auto !important;
        margin: 0 auto !important;
        transform: scale(0.9) !important;
        transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    }

    .modal-overlay.active .modal-content {
        transform: scale(1) !important;
    }

    .modal-header {
        padding: 0.6rem 1rem !important;
    }

    .modal-body {
        padding: 0.75rem 1rem 1.25rem !important;
    }


    /* Option 1: Minimalist List - Extra Compact for Non-Scrolling */
    .topics-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.6rem !important;
    }

    .topic-item {
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        border-left: 2px solid var(--primary) !important;
        padding-left: 1rem !important;
        border-radius: 0 !important;
        text-align: left !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .topic-item h4 {
        font-size: 0.95rem !important;
        margin-bottom: 0.15rem !important;
        color: white !important;
    }

    .topic-header {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 0.5rem !important;
        margin-bottom: 0.35rem !important;
        width: 100% !important;
    }

    .topic-icon {
        font-size: 1.25rem !important;
        margin-bottom: 0 !important;
        display: flex !important;
        align-items: center !important;
    }

    .topic-title {
        font-size: 0.95rem !important;
        margin: 0 !important;
        line-height: 1.2 !important;
        display: flex !important;
        align-items: center !important;
    }

    .topic-item p {
        font-size: 0.78rem !important;
        line-height: 1.2 !important;
        color: #9CA3AF !important;
    }

    .modal-summary {
        font-size: 0.85rem !important;
        margin-bottom: 0.75rem !important;
        line-height: 1.3 !important;
    }

    .modal-cta-box {
        margin-top: 0.75rem !important;
    }

    .topic-item h4 {
        font-size: 0.9rem !important;
        margin-bottom: 0 !important;
    }
}

/* =========================================
   7. CRO Modifications 
   ========================================= */
body {
    padding-top: 0 !important;
}

nav {
    justify-content: space-between !important;
    position: fixed !important;
    pointer-events: auto !important;
}

nav .logo-box {
    pointer-events: auto;
}

nav .nav-items {
    display: flex !important;
}

.hero-card {
    padding-bottom: 1rem !important;
}

.alt-section-bg {
    position: relative;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.alt-section-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: rgba(255, 255, 255, 0.015);
    z-index: -1;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.floating-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-cta.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.floating-cta .whatsapp-float-btn {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: #25D366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}

.floating-cta .whatsapp-float-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

@media (max-width: 768px) {
    nav {
        position: fixed !important;
        background: #050505 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
        pointer-events: auto !important;
    }

    nav .logo-box {
        margin-top: 0 !important;
    }

    .hero-card {
        padding-top: 6rem !important;
        /* Offset for the fixed mobile nav */
    }

    .floating-cta {
        bottom: 1.5rem;
        right: 1.5rem;
    }

    .alt-section-bg {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

/* Diagnostic Form Styles */
.diag-options-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.diag-opt {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: white;
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    width: 100%;
}

.diag-opt:hover {
    background: rgba(124, 43, 238, 0.05);
    border-color: var(--primary);
    transform: translateX(5px);
}

.diag-opt.selected {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.diagnostic-step {
    display: none;
    animation: fadeInSlide 0.4s ease forwards;
}

.diagnostic-step.active {
    display: block;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.diag-multi-opt {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
    margin-bottom: 0.75rem;
}

.diag-multi-opt:hover {
    background: rgba(255, 255, 255, 0.05);
}

.diag-multi-opt input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    accent-color: var(--primary);
}

.diag-label {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    text-align: left;
}

.diag-label span {
    color: white;
    font-size: 0.95rem;
}

/* Interactive Effects for Testimonials and FAQ */
.testimonial-card,
.faq-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(124, 43, 238, 0.15);
}

.faq-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.testimonial-card:hover svg {
    transform: scale(1.1) rotate(-5deg);
    transition: transform 0.3s ease;
}

/* CTA Button Hover Effect */
.cta-btn {
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background: #6D28D9 !important;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(124, 43, 238, 0.5), 0 0 15px rgba(124, 43, 238, 0.3);
}

.cta-btn:active {
    transform: translateY(-1px) scale(0.99);
}

/* Responsive Header: Logo, Badge (Center), Button (Right) */
#main-nav .nav-wrapper {
    position: relative;
    display: flex;
    justify-content: space-between !important;
    align-items: center;
    gap: 0.5rem;
}

#main-nav .logo-box {
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
    z-index: 10;
    flex-shrink: 0;
}

#main-nav .nav-items,
#main-nav .nav-btn {
    display: none !important;
}

.mobile-menu-btn {
    display: none !important;
}

/* Fix "trepado" (overlap) by removing absolute positioning on mobile */
.header-center-badge {
    pointer-events: none;
    z-index: 5;
    flex-grow: 1;
    display: flex;
    justify-content: center;
    min-width: 0;
}

@media (max-width: 850px) {
    .header-center-badge {
        position: static !important;
        transform: none !important;
    }
}

@media (max-width: 768px) {
    .header-center-badge .authority-badge {
        font-size: 0.6rem !important;
        padding: 0.3rem 0.6rem !important;
        white-space: normal;
        text-align: center;
        line-height: 1.2;
        max-width: 160px;
    }

    .header-cta-btn {
        display: none !important;
    }

    .mobile-menu-btn {
        display: flex !important;
    }
}

@media (max-width: 580px) {
    .brand-name {
        font-size: 1.1rem;
    }

    .header-center-badge .authority-badge {
        font-size: 0.6rem !important;
        padding: 0.3rem 0.5rem !important;
        max-width: 160px;
    }

    .header-cta-btn {
        display: none !important;
    }
}

@media (max-width: 400px) {
    .brand-name {
        font-size: 0.95rem;
    }

    /* Allow badge to wrap on very narrow screens instead of hiding */
    .header-center-badge {
        display: flex !important;
    }

    .header-center-badge .authority-badge {
        font-size: 0.55rem !important;
        max-width: 150px;
        padding: 0.3rem !important;
    }
}

/* FAQ Accordion Hover */
.faq-question-btn:hover span {
    color: var(--primary);
}

/* --- New Component Classes (Refactored from JS) --- */

/* Service Cards */
.service-card-new {
    display: flex;
    flex-direction: column;
    text-align: left;
    align-items: flex-start;
    height: 100%;
    padding: clamp(1.25rem, 2vw, 1.5rem);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.25rem;
    transition: transform 0.3s ease, background 0.3s ease;
}

.service-card-new:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-5px);
}

.service-icon-box {
    margin-bottom: 1rem;
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(124, 43, 238, 0.1);
    border-radius: 0.8rem;
    color: var(--primary);
}

.service-icon-box .material-symbols-outlined {
    font-size: 1.8rem;
}

.service-card-title {
    font-size: 1.15rem;
    color: white;
    margin: 0 0 0.75rem 0;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

.service-card-desc {
    color: #9CA3AF;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    flex-grow: 1;
}

/* Result Cards */
.result-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 1rem;
}

.result-icon-box {
    background: rgba(16, 185, 129, 0.1);
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.result-card-title {
    color: white;
    margin: 0 0 0.4rem 0;
    font-size: 1.05rem;
    font-weight: 700;
}

.result-card-desc {
    color: #9CA3AF;
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Modal Content */
.modal-summary {
    font-size: 0.95rem;
    color: #E5E7EB;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.topic-item {
    background: rgba(124, 43, 238, 0.03);
    border: 1px solid rgba(124, 43, 238, 0.1);
    padding: 0.65rem;
    border-radius: 0.6rem;
    transition: all 0.3s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    overflow: hidden;
    /* Prevent content leak */
}

.topic-item:hover {
    background: rgba(124, 43, 238, 0.08);
    border-color: rgba(124, 43, 238, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.topic-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.3rem;
    width: 100%;
}

.topic-icon {
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.modal-body .topic-title {
    color: white !important;
    margin: 0 !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    white-space: normal !important;
    word-break: break-word !important;
}

.topic-desc {
    margin: 0;
    font-size: 0.75rem;
    color: #9CA3AF;
    line-height: 1.4;
}

.modal-cta-box {
    margin-top: 1.25rem;
    text-align: center;
}

/* open-modal-btn hover effect */
.open-modal-btn {
    transition: all 0.3s ease !important;
}

.open-modal-btn:hover {
    background: rgba(124, 43, 238, 0.1) !important;
    border-color: rgba(124, 43, 238, 0.8) !important;
    box-shadow: 0 5px 15px rgba(124, 43, 238, 0.2) !important;
    transform: translateY(-2px);
}

/* =========================================
   8. TRIPÉ SECTION
   ========================================= */
.tripe-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 900px) {
    .tripe-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }
}

@media (min-width: 600px) and (max-width: 900px) {
    .tripe-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 100%;
    }
}

.tripe-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 1.25rem;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.tripe-card--bi:hover { border-color: rgba(59, 130, 246, 0.35); box-shadow: 0 15px 40px rgba(59, 130, 246, 0.08); }
.tripe-card--automacao:hover { border-color: rgba(16, 185, 129, 0.35); box-shadow: 0 15px 40px rgba(16, 185, 129, 0.08); }
.tripe-card--ia:hover { border-color: rgba(167, 139, 250, 0.35); box-shadow: 0 15px 40px rgba(167, 139, 250, 0.08); }

.tripe-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.035);
}

.tripe-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tripe-icon-box {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.75rem;
    border: 1px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tripe-pill {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 1px solid;
    border-radius: 999px;
    padding: 0.2rem 0.65rem;
}

.tripe-card-title {
    color: white;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0;
}

.tripe-card-desc {
    color: #9CA3AF;
    font-size: 0.85rem;
    line-height: 1.55;
    margin: 0;
}

.tripe-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.tripe-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #D1D5DB;
    line-height: 1.4;
}

/* =========================================
   9. HERO SPLIT LAYOUT (Redes & Franquias)
   ========================================= */
.hero-card.hero-split {
    max-width: none;
    padding: clamp(3rem, 6vw, 5rem) 0 clamp(1.25rem, 3vw, 2rem);
    text-align: left;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: center;
}

@media (max-width: 960px) {
    .hero-card.hero-split {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    min-width: 0;
}

.hero-text .hero-badge {
    align-self: flex-start;
    margin-bottom: 0.5rem;
    font-size: 0.7rem;
    padding: 0.4rem 1rem;
}

@media (max-width: 960px) {
    .hero-text .hero-badge {
        align-self: center;
    }
}

.hero-text h1 {
    text-align: left;
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    line-height: 1.05;
    margin: 0;
}

.hero-text h2 {
    text-align: left;
    font-size: clamp(1.1rem, 2.2vw, 1.5rem);
    font-weight: 600;
    color: #D1D5DB;
    margin: 0.25rem 0 0.5rem;
    line-height: 1.3;
}

.hero-text p {
    color: #9CA3AF;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    max-width: 560px;
}

@media (max-width: 960px) {
    .hero-text h1,
    .hero-text h2 { text-align: center; }
    .hero-text p { margin-left: auto; margin-right: auto; }
}

.hero-checklist {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.hero-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    color: #E5E7EB;
    font-size: 0.92rem;
    line-height: 1.45;
}

.hero-checklist li::before {
    content: '';
    flex-shrink: 0;
    width: 1.1rem;
    height: 1.1rem;
    margin-top: 0.15rem;
    border-radius: 999px;
    background: var(--primary);
    background-image: linear-gradient(135deg, #7c2bee 0%, #A78BFA 100%);
    box-shadow: 0 0 0 3px rgba(124, 43, 238, 0.12);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 0.7rem 0.7rem;
    background-image:
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/></svg>"),
        linear-gradient(135deg, #7c2bee 0%, #A78BFA 100%);
}

@media (max-width: 960px) {
    .hero-checklist { align-items: flex-start; max-width: 520px; margin-left: auto; margin-right: auto; }
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

@media (max-width: 960px) {
    .hero-cta-group { justify-content: center; }
}

.hero-btn-outline {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    color: white !important;
    box-shadow: none !important;
}

.hero-btn-outline:hover {
    background: rgba(124, 43, 238, 0.12) !important;
    border-color: rgba(124, 43, 238, 0.5) !important;
}

/* Visual column (mascot + service grid) */
.hero-visual {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    min-width: 0;
}

/* Mascote integrada ao fundo (sem card, sem borda) */
.hero-mascot {
    position: relative;
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    pointer-events: none;
}

.hero-mascot-glow {
    position: absolute;
    inset: -15%;
    background:
        radial-gradient(circle at 55% 35%, rgba(167, 139, 250, 0.28), transparent 55%),
        radial-gradient(circle at 60% 80%, rgba(124, 43, 238, 0.22), transparent 55%);
    filter: blur(70px);
    pointer-events: none;
    z-index: 0;
}

.hero-mascot-img {
    position: relative;
    z-index: 1;
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: bottom center;
    filter:
        drop-shadow(0 30px 40px rgba(0, 0, 0, 0.5))
        drop-shadow(0 0 45px rgba(124, 43, 238, 0.35));
    pointer-events: none;
    user-select: none;
}

/* Desktop: Mia como fundo da coluna direita, tiles sobrepondo embaixo */
@media (min-width: 961px) {
    .hero-card.hero-split { align-items: stretch; }
    .hero-visual {
        position: relative;
        min-height: clamp(360px, 42vw, 520px);
        justify-content: flex-end;
    }
    .hero-mascot {
        position: absolute;
        inset: 0;
        z-index: 1;
    }
    .hero-services-grid {
        position: relative;
        z-index: 2;
        margin-top: auto;
    }
}

/* ≤960px: oculta apenas a mascote, mantém a grid de serviços */
@media (max-width: 960px) {
    .hero-mascot {
        display: none;
    }
    .hero-visual {
        min-height: 0;
        gap: 0;
    }
}

/* ≤768px: sobe os cards de serviço, aproximando do texto do hero */
@media (max-width: 768px) {
    .hero-card.hero-split {
        gap: 0.5rem;
        padding-top: clamp(2rem, 5vw, 3rem);
    }
    .hero-visual {
        margin-top: -0.5rem;
    }
}

/* ≤480px: oculta totalmente a coluna visual em telas muito pequenas */
@media (max-width: 480px) {
    .hero-visual {
        display: none;
    }
}

.hero-services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.hero-service-tile {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    padding: 1rem 0.85rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    cursor: pointer;
    text-align: center;
    color: white;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 92px;
    font-family: 'Outfit', sans-serif;
}

.hero-service-tile,
.hero-service-tile * {
    text-decoration: none !important;
}

.hero-service-tile .material-symbols-outlined {
    font-size: 1.6rem;
    color: var(--accent-purple);
    transition: color 0.25s ease;
}

.hero-service-tile .hero-service-label {
    font-weight: 600;
    font-size: 0.85rem;
    line-height: 1.2;
    color: #E5E7EB;
}

.hero-service-tile:hover {
    background: rgba(124, 43, 238, 0.12);
    border-color: rgba(124, 43, 238, 0.55);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(124, 43, 238, 0.18);
}

.hero-service-tile:hover .material-symbols-outlined,
.hero-service-tile:hover .hero-service-label {
    color: white;
}

.hero-service-tile--featured {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

.hero-service-tile--featured .material-symbols-outlined {
    color: var(--accent-purple);
}

.hero-service-tile--featured .hero-service-label {
    color: #E5E7EB;
}

.hero-service-tile--featured:hover {
    background: rgba(124, 43, 238, 0.12);
    border-color: rgba(124, 43, 238, 0.55);
    box-shadow: 0 12px 28px rgba(124, 43, 238, 0.18);
}

.hero-service-tile--featured:hover .material-symbols-outlined,
.hero-service-tile--featured:hover .hero-service-label {
    color: white;
}

@media (max-width: 480px) {
    .hero-services-grid { grid-template-columns: 1fr; }
    .hero-service-tile { flex-direction: row; justify-content: flex-start; padding: 0.85rem 1rem; min-height: 0; }
    .hero-service-tile .hero-service-label { font-size: 0.95rem; }
}

/* Stats Strip (compact, right under hero) */
.stats-strip {
    background: rgba(15, 15, 22, 0.85);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: clamp(1.25rem, 3vw, 2rem) 0;
    margin-top: clamp(1rem, 3vw, 2rem);
}

.stats-strip-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(0.75rem, 2vw, 2rem);
    align-items: center;
}

@media (max-width: 720px) {
    .stats-strip-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem;
    }
}

.stat-strip-item {
    text-align: center;
    min-width: 0;
}

.stat-strip-number {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, #7c2bee 0%, #A78BFA 60%, #60A5FA 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.4rem;
    letter-spacing: -0.02em;
}

.stat-strip-label {
    color: #9CA3AF;
    font-size: clamp(0.75rem, 1.5vw, 0.9rem);
    font-weight: 500;
    line-height: 1.3;
}

/* Authority section — number-first layout */
#authority-section #auth-grid.auth-stats-grid {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(1.5rem, 4vw, 3rem);
}

#authority-section .process-step.auth-stat {
    flex: 0 1 auto;
    min-width: 140px;
    max-width: 200px;
}

#authority-section .process-step.auth-stat .process-node {
    display: none;
}

#authority-section .process-step.auth-stat .stats-title {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0.5rem;
}

#authority-section .process-step.auth-stat .stats-desc {
    color: #9CA3AF;
    font-size: 0.9rem;
    max-width: 180px;
}

/* =========================================
   10. PAINS SECTION (Parte 2: Dores que resolvemos)
   ========================================= */
.pains-section {
    margin-top: clamp(3rem, 7vw, 5rem);
    margin-bottom: clamp(3rem, 7vw, 5rem);
    position: relative;
    overflow: hidden;
}

.pains-section::before {
    content: '';
    position: absolute;
    top: -180px;
    left: -180px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(124, 43, 238, 0.10) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.pains-section::after {
    content: '';
    position: absolute;
    bottom: -120px;
    right: -120px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.pains-section > * {
    position: relative;
    z-index: 1;
}

.pains-header {
    text-align: left;
    margin-bottom: clamp(2rem, 4vw, 3.5rem);
    max-width: 720px;
}

.pains-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(124, 43, 238, 0.08);
    border: 1px solid rgba(124, 43, 238, 0.3);
    color: #C4B5FD;
    font-family: 'Outfit', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    margin-bottom: 1.5rem;
}

.pains-badge .material-symbols-outlined {
    font-size: 1rem;
    color: var(--accent-purple);
}

.pains-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.8rem, 4.5vw, 2.6rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin: 0 0 1rem;
    text-align: left;
}

.pains-subtitle {
    font-size: 1rem;
    color: #9CA3AF;
    line-height: 1.65;
    max-width: 600px;
    margin: 0;
    text-align: left;
}

.pains-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

@media (max-width: 960px) {
    .pains-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

.pain-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    padding: 1.25rem 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.pain-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, transparent, transparent);
    transition: background 0.3s ease;
}

.pain-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(124, 43, 238, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(124, 43, 238, 0.12);
}

.pain-card:hover::before {
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.pain-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.65rem;
    background: rgba(124, 43, 238, 0.12);
    border: 1px solid rgba(124, 43, 238, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-purple);
    margin-bottom: 0.9rem;
}

.pain-icon .material-symbols-outlined {
    font-size: 1.2rem;
}

.pain-question {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
    margin: 0 0 0.55rem;
}

.pain-text {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.55;
    margin: 0 0 0.9rem;
    flex-grow: 1;
}

.pain-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin-bottom: 0.75rem;
}

.pain-solution-label {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-purple);
    margin-bottom: 0.4rem;
}

.pain-solution {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.55;
    margin: 0;
}

.pains-cta {
    text-align: center;
    padding-top: 1rem;
}

.pains-cta-text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.65);
    margin: 0 0 1.5rem;
}

.pains-cta-text strong {
    color: #fff;
    font-weight: 500;
}

.pains-cta-buttons {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.pains-cta-buttons .hero-btn-outline {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

/* =========================================
   11. PRODUCTS SECTION (Parte 3: linhas alternadas)
   ========================================= */
.products-section {
    margin-top: clamp(4rem, 8vw, 6rem);
    margin-bottom: clamp(4rem, 8vw, 6rem);
    position: relative;
}

@media (max-width: 768px) {
    .products-section {
        margin-top: 1rem;
    }
    .products-header {
        margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
    }
}

.products-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto clamp(3rem, 6vw, 5rem);
}

.products-section-badge {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #C4B5FD;
    background: rgba(124, 43, 238, 0.1);
    border: 1px solid rgba(124, 43, 238, 0.3);
    padding: 0.4rem 1rem;
    border-radius: 999px;
    margin-bottom: 1.25rem;
}

.products-rows {
    display: flex;
    flex-direction: column;
    gap: clamp(4rem, 10vw, 7rem);
}

.product-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
}

.product-row--reverse .product-visual {
    order: 2;
}

@media (max-width: 900px) {
    .product-row,
    .product-row--reverse {
        grid-template-columns: 1fr;
    }
    .product-row--reverse .product-visual {
        order: 0;
    }
}

.product-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
}

.product-badge {
    align-self: flex-start;
    font-family: 'Outfit', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #A78BFA;
    background: rgba(124, 43, 238, 0.1);
    border: 1px solid rgba(124, 43, 238, 0.3);
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
}

.product-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin: 0;
    text-align: left;
}

.product-desc {
    color: #9CA3AF;
    font-size: 1rem;
    line-height: 1.65;
    margin: 0;
}

.product-features-list {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.product-feature-icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background: rgba(124, 43, 238, 0.12);
    border: 1px solid rgba(124, 43, 238, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-purple);
}

.product-feature-icon .material-symbols-outlined {
    font-size: 1.2rem;
}

.product-feature-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.product-feature-text strong {
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.3;
}

.product-feature-text span {
    color: #9CA3AF;
    font-size: 0.88rem;
    line-height: 1.5;
}

.product-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

/* =========================================
   12. PRODUCT VISUAL MOCKUPS
   ========================================= */
.product-visual {
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.pv-frame {
    width: 100%;
    max-width: 460px;
    background: linear-gradient(160deg, rgba(20, 18, 38, 0.85) 0%, rgba(10, 10, 18, 0.95) 100%);
    border: 1px solid rgba(124, 43, 238, 0.18);
    border-radius: 1.25rem;
    padding: 1.25rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 40px rgba(124, 43, 238, 0.12);
    position: relative;
}

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

.pv-frame-title {
    font-family: 'Outfit', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.6);
}

.pv-frame-status {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: #A78BFA;
}

.pv-dot {
    width: 0.5rem;
    height: 0.5rem;
    background: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-green);
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
}

.pv-float-tag {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, rgba(124, 43, 238, 0.95), rgba(91, 33, 182, 0.95));
    color: white;
    font-family: 'Outfit', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(167, 139, 250, 0.5);
    box-shadow: 0 10px 30px rgba(124, 43, 238, 0.35);
    z-index: 2;
}

.pv-float-tag .material-symbols-outlined {
    font-size: 0.95rem;
}

.pv-float-tag--data { top: 1rem; right: -0.5rem; transform: rotate(4deg); }
.pv-float-tag--bi { bottom: 1rem; left: -0.5rem; transform: rotate(-4deg); }
.pv-float-tag--ia { top: 1.5rem; right: -0.5rem; transform: rotate(3deg); }
.pv-float-tag--wl { bottom: 1.5rem; right: -0.5rem; transform: rotate(-3deg); }

/* Data Platform visual */
.pv-data-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
}

.pv-data-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0.75rem;
    padding: 1rem 0.75rem;
    text-align: center;
}

.pv-metric-value {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, #A78BFA, #60A5FA);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.pv-metric-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.55rem;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 0.4rem;
}

.pv-pipeline {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0.75rem;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
}

.pv-pipeline-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.7);
    flex: 1;
}

.pv-pipeline-row .material-symbols-outlined {
    color: var(--accent-purple);
    font-size: 1.3rem;
}

.pv-pipeline-arrow {
    color: rgba(167, 139, 250, 0.6);
    font-size: 0.9rem;
}

/* BI Platform visual */
.pv-kpi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
}

.pv-kpi {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0.75rem;
    padding: 0.85rem;
    text-align: left;
}

.pv-kpi-value {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.pv-kpi-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.55rem;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.4rem;
}

.pv-chart {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0.75rem;
    padding: 0.85rem;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.4rem;
    height: 100px;
}

.pv-bar {
    flex: 1;
    background: linear-gradient(180deg, rgba(167, 139, 250, 0.5), rgba(124, 43, 238, 0.25));
    border-radius: 0.3rem 0.3rem 0 0;
    min-height: 10%;
}

.pv-bar--accent {
    background: linear-gradient(180deg, #A78BFA, #7c2bee);
    box-shadow: 0 0 20px rgba(124, 43, 238, 0.5);
}

/* Automação + IA visual */
.pv-chat-header {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding-bottom: 0.85rem;
    margin-bottom: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pv-chat-avatar {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.pv-chat-avatar .material-symbols-outlined {
    font-size: 1.2rem;
}

.pv-chat-info {
    display: flex;
    flex-direction: column;
}

.pv-chat-name {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: #fff;
    font-size: 0.9rem;
}

.pv-chat-sub {
    font-size: 0.7rem;
    color: var(--accent-green);
}

.pv-chat-body {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.pv-bubble {
    max-width: 80%;
    padding: 0.65rem 0.9rem;
    border-radius: 1rem;
    font-size: 0.82rem;
    line-height: 1.4;
    color: #E5E7EB;
}

.pv-bubble--user {
    align-self: flex-end;
    background: linear-gradient(135deg, rgba(124, 43, 238, 0.35), rgba(91, 33, 182, 0.4));
    border: 1px solid rgba(124, 43, 238, 0.4);
    border-bottom-right-radius: 0.35rem;
}

.pv-bubble--bot {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom-left-radius: 0.35rem;
}

.pv-bubble--bot strong { color: #A78BFA; }
.pv-bubble--bot em { color: #60A5FA; font-style: normal; }

.pv-bubble--voice {
    align-self: flex-end;
    background: linear-gradient(135deg, rgba(124, 43, 238, 0.35), rgba(91, 33, 182, 0.4));
    border: 1px solid rgba(124, 43, 238, 0.4);
    border-bottom-right-radius: 0.35rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.85rem;
}

.pv-bubble--voice .material-symbols-outlined {
    color: #A78BFA;
    font-size: 1.1rem;
}

.pv-voice-bars {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    flex: 1;
    height: 1.1rem;
}

.pv-voice-bars i {
    display: inline-block;
    width: 2px;
    background: #A78BFA;
    border-radius: 2px;
    animation: voiceWave 1.2s ease-in-out infinite;
}

.pv-voice-bars i:nth-child(1) { height: 30%; animation-delay: 0s; }
.pv-voice-bars i:nth-child(2) { height: 70%; animation-delay: 0.1s; }
.pv-voice-bars i:nth-child(3) { height: 100%; animation-delay: 0.2s; }
.pv-voice-bars i:nth-child(4) { height: 60%; animation-delay: 0.3s; }
.pv-voice-bars i:nth-child(5) { height: 85%; animation-delay: 0.4s; }
.pv-voice-bars i:nth-child(6) { height: 45%; animation-delay: 0.5s; }
.pv-voice-bars i:nth-child(7) { height: 30%; animation-delay: 0.6s; }

@keyframes voiceWave {
    0%, 100% { transform: scaleY(0.4); }
    50% { transform: scaleY(1); }
}

.pv-voice-time {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    font-variant-numeric: tabular-nums;
}

/* White Label visual (browser frame) */
.pv-frame--browser { padding: 0; overflow: hidden; }

.pv-browser-bar {
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.6rem 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.pv-browser-dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
}

.pv-browser-dot--red { background: #ff5f56; }
.pv-browser-dot--yellow { background: #ffbd2e; }
.pv-browser-dot--green { background: #27c93f; }

.pv-browser-url {
    margin-left: 0.6rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 999px;
    padding: 0.15rem 0.65rem;
    flex: 1;
}

.pv-browser-body {
    padding: 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.pv-brand-header {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pv-brand-logo {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, var(--primary), var(--accent-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: 'Outfit', sans-serif;
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.pv-brand-name {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: #fff;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
}

.pv-brand-kpi {
    background: rgba(124, 43, 238, 0.08);
    border: 1px solid rgba(124, 43, 238, 0.2);
    border-radius: 0.75rem;
    padding: 1rem;
    text-align: left;
}

.pv-brand-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.pv-brand-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.55rem 0.75rem;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0.6rem;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.75);
}

.pv-brand-row span:last-child {
    color: #A78BFA;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

/* =========================================
   13. CTA FORM SECTION (Parte 5)
   ========================================= */
.cta-form-section {
    margin: clamp(4rem, 8vw, 6rem) auto;
    position: relative;
}

.cta-form-card {
    background:
        radial-gradient(circle at 15% 0%, rgba(124, 43, 238, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 95% 100%, rgba(167, 139, 250, 0.1) 0%, transparent 50%),
        linear-gradient(160deg, rgba(20, 18, 38, 0.6) 0%, rgba(15, 15, 22, 0.85) 100%);
    border: 1px solid rgba(124, 43, 238, 0.25);
    border-radius: 1.5rem;
    padding: clamp(1.75rem, 5vw, 3rem);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: start;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35), 0 0 40px rgba(124, 43, 238, 0.12);
    position: relative;
    overflow: hidden;
}

@media (max-width: 900px) {
    .cta-form-card { grid-template-columns: 1fr; }
}

.cta-form-card.is-collapsed {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
}

.cta-form-card.is-collapsed .cta-form-text {
    align-items: center;
    text-align: center;
    max-width: 640px;
}

.cta-form-card.is-collapsed .cta-form-text h2 {
    text-align: center;
}

.cta-form-card.is-collapsed .cta-form-bullets {
    align-self: center;
}

.cta-form-cta {
    align-self: center;
    margin-top: 0.75rem;
}

@media (max-width: 900px) {
    .cta-form-cta { align-self: stretch; justify-content: center; }
}

.cta-form-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
}

.cta-form-text h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin: 0;
    text-align: left;
}

.cta-form-text p {
    color: #9CA3AF;
    font-size: 1rem;
    line-height: 1.65;
    margin: 0;
}

.cta-form-bullets {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.cta-form-bullets li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.92rem;
    color: #E5E7EB;
}

.cta-form-bullets .material-symbols-outlined {
    color: var(--accent-green);
    font-size: 1.15rem;
}

.cta-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 560px) {
    .cta-form { grid-template-columns: 1fr; }
}

.cta-form-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    min-width: 0;
}

.cta-form-field--full {
    grid-column: 1 / -1;
}

.cta-form-field label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: #C4B5FD;
    letter-spacing: 0.04em;
}

.cta-form-optional {
    color: #6B7280;
    font-weight: 400;
}

.cta-form-field input,
.cta-form-field textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 0.8rem 0.95rem;
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: all 0.25s ease;
    resize: vertical;
}

.cta-form-field input::placeholder,
.cta-form-field textarea::placeholder {
    color: #6B7280;
}

.cta-form-field input:focus,
.cta-form-field textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(124, 43, 238, 0.6);
    box-shadow: 0 0 0 3px rgba(124, 43, 238, 0.15);
}

.cta-form-submit {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 0.5rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--primary), #6D28D9);
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 10px 30px rgba(124, 43, 238, 0.35);
    transition: all 0.25s ease;
}

.cta-form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(124, 43, 238, 0.5);
    background: linear-gradient(135deg, #8b3df0, #7c2bee);
}

.cta-form-submit:active {
    transform: translateY(0);
}

.cta-form-submit .material-symbols-outlined {
    font-size: 1.15rem;
}

.cta-form-disclaimer {
    grid-column: 1 / -1;
    text-align: center;
    margin: 0.5rem 0 0;
    font-size: 0.78rem;
    color: #6B7280;
    line-height: 1.4;
}

.cta-form-disclaimer a {
    color: #A78BFA;
    text-decoration: none;
}

.cta-form-disclaimer a:hover {
    text-decoration: underline;
}

.cta-form-success {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2.5rem 1rem;
    animation: fadeInUp 0.4s ease;
}

.cta-form-success-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--accent-green);
}

.cta-form-success-icon .material-symbols-outlined {
    font-size: 2.2rem;
}

.cta-form-success h3 {
    font-family: 'Outfit', sans-serif;
    color: white;
    font-size: 1.4rem;
    margin: 0 0 0.5rem;
}

.cta-form-success p {
    color: #9CA3AF;
    font-size: 0.95rem;
    max-width: 380px;
    margin: 0 auto;
    line-height: 1.5;
}

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

/* =========================================
   14. SERVICE PAGE (servico.html)
   ========================================= */
.service-hero {
    padding: clamp(2rem, 6vw, 4rem) clamp(1rem, 3vw, 2.5rem) clamp(2rem, 4vw, 3rem);
    margin-top: clamp(1rem, 3vw, 2rem);
}

.service-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #9CA3AF;
    text-decoration: none;
    font-size: 0.85rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.2s ease;
    margin-bottom: 1.5rem;
}

.service-back-link:hover {
    color: white;
    border-color: rgba(124, 43, 238, 0.5);
    background: rgba(124, 43, 238, 0.08);
}

.service-category-badge {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #A78BFA;
    background: rgba(124, 43, 238, 0.12);
    border: 1px solid rgba(124, 43, 238, 0.3);
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    margin-bottom: 1.25rem;
}

.service-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: center;
}

@media (max-width: 900px) {
    .service-hero-grid { grid-template-columns: 1fr; text-align: center; }
}

.service-hero-text {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    min-width: 0;
    text-align: left;
}

@media (max-width: 900px) {
    .service-hero-text { text-align: center; align-items: center; }
}

.service-hero-text h1 {
    text-align: left;
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    line-height: 1.05;
    margin: 0;
    background: linear-gradient(135deg, #FFF 0%, #A78BFA 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-hero-text h2 {
    text-align: left;
    font-size: clamp(1.1rem, 2.2vw, 1.4rem);
    font-weight: 600;
    color: #D1D5DB;
    margin: 0;
    line-height: 1.3;
}

.service-hero-text p {
    color: #9CA3AF;
    font-size: 1rem;
    line-height: 1.65;
    margin: 0;
    max-width: 640px;
}

@media (max-width: 900px) {
    .service-hero-text h1,
    .service-hero-text h2 { text-align: center; }
}

.service-hero-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-hero-icon {
    position: relative;
    width: clamp(140px, 22vw, 220px);
    height: clamp(140px, 22vw, 220px);
    border-radius: 2rem;
    background:
        radial-gradient(circle at 60% 40%, rgba(124, 43, 238, 0.3) 0%, transparent 60%),
        linear-gradient(135deg, rgba(20, 18, 38, 0.9) 0%, rgba(10, 10, 18, 0.9) 100%);
    border: 1px solid rgba(124, 43, 238, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(124, 43, 238, 0.15);
}

.service-hero-icon .material-symbols-outlined {
    font-size: clamp(3.5rem, 7vw, 5.5rem) !important;
    background: linear-gradient(135deg, #A78BFA 0%, #60A5FA 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-topics-section {
    margin: clamp(2rem, 6vw, 4rem) auto;
}

.service-topics-header {
    text-align: center;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.service-topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: clamp(0.85rem, 2vw, 1.25rem);
}

.service-topic-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.25rem;
    padding: clamp(1.25rem, 2vw, 1.75rem);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-topic-card:hover {
    background: rgba(124, 43, 238, 0.05);
    border-color: rgba(124, 43, 238, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(124, 43, 238, 0.12);
}

.service-topic-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.8rem;
    background: rgba(124, 43, 238, 0.12);
    border: 1px solid rgba(124, 43, 238, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-purple);
    margin-bottom: 0.25rem;
}

.service-topic-icon .material-symbols-outlined {
    font-size: 1.5rem;
}

.service-topic-title {
    color: white;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    margin: 0;
    line-height: 1.25;
}

.service-topic-desc {
    color: #9CA3AF;
    font-size: 0.9rem;
    line-height: 1.55;
    margin: 0;
}

/* =========================================
   THEME TOGGLE BUTTON (botão único circular)
   ========================================= */
.theme-toggle {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #c4b5fd;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.theme-toggle:hover {
    background: rgba(124, 43, 238, 0.12);
    border-color: rgba(124, 43, 238, 0.45);
    color: #fff;
    box-shadow: 0 6px 18px rgba(124, 43, 238, 0.25);
}

.theme-toggle:active {
    transform: scale(0.94);
}

.theme-toggle:focus { outline: none; }
.theme-toggle:focus-visible {
    box-shadow: 0 0 0 3px rgba(124, 43, 238, 0.45);
}

.theme-toggle-icon {
    font-size: 20px !important;
    line-height: 1;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-toggle:hover .theme-toggle-icon {
    transform: rotate(20deg);
}

html.light .theme-toggle {
    background: rgba(15, 15, 18, 0.04);
    border-color: rgba(15, 15, 18, 0.12);
    color: #5b21b6;
}

html.light .theme-toggle:hover {
    background: rgba(124, 43, 238, 0.10);
    border-color: rgba(124, 43, 238, 0.45);
    color: #5b21b6;
    box-shadow: 0 6px 18px rgba(124, 43, 238, 0.18);
}

@media (max-width: 580px) {
    .theme-toggle {
        width: 38px;
        height: 38px;
    }
    .theme-toggle-icon {
        font-size: 18px !important;
    }
}

/* =========================================
   LIGHT THEME OVERRIDES
   ========================================= */
html.light {
    --bg-dark: #f5f5f7;
    --surface-dark: #ffffff;
    --text-gray: #4b5563;
}

html.light body {
    background-color: #f5f5f7;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(124, 43, 238, 0.10) 0%, transparent 40%),
        radial-gradient(circle at 80% 30%, rgba(59, 130, 246, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 50% 80%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
    color: #111827;
}

html.light nav.scrolled {
    background: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(15, 15, 18, 0.08);
    box-shadow: 0 4px 30px rgba(15, 15, 18, 0.08);
}

html.light .brand-name {
    background: linear-gradient(135deg, #111827 0%, #7c2bee 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

html.light .mobile-menu-btn svg,
html.light .close-sidebar svg {
    fill: #111827 !important;
}

html.light .mobile-menu-btn {
    color: #111827 !important;
}

html.light .nav-btn {
    color: #111827;
}

html.light h1,
html.light h2,
html.light h3,
html.light h4,
html.light h5,
html.light h6,
html.light p,
html.light li,
html.light span,
html.light label {
    color: inherit;
}

html.light header p {
    color: #374151;
}

html.light .service-card-new,
html.light .pv-frame-header,
html.light .modal-body,
html.light .sidebar-nav,
html.light .hero-card,
html.light .stats-strip,
html.light .pains-section,
html.light .faq-question-btn {
    color: #111827;
}

html.light .service-card-new {
    background: rgba(15, 15, 18, 0.03);
    border-color: rgba(15, 15, 18, 0.10);
}

html.light .mobile-sidebar {
    background: #ffffff;
    color: #111827;
}

html.light .sidebar-overlay {
    background: rgba(15, 15, 18, 0.35);
}

/* FAQ — overrides p/ inline styles em modo claro */
html.light .faq-question-btn {
    color: #111827 !important;
}

html.light .faq-accordion-item {
    border-bottom-color: rgba(15, 15, 18, 0.12) !important;
}

html.light .faq-answer-container > div {
    color: #374151 !important;
}

/* Produtos — títulos/features em branco ficavam invisíveis no light */
html.light .product-title,
html.light .product-feature-text strong {
    color: #111827;
}

html.light .product-desc,
html.light .product-feature-text span {
    color: #4b5563;
}

/* Botão outline (Falar com especialista, Ver outros serviços etc.) */
html.light .hero-btn-outline {
    background: rgba(15, 15, 18, 0.04) !important;
    border: 1px solid rgba(15, 15, 18, 0.18) !important;
    color: #111827 !important;
}

html.light .hero-btn-outline:hover {
    background: rgba(124, 43, 238, 0.10) !important;
    border-color: rgba(124, 43, 238, 0.45) !important;
    color: #5b21b6 !important;
}

/* Outras superfícies com texto branco */
html.light .testimonial-card,
html.light .pain-card,
html.light .stat-strip-number,
html.light .stat-strip-label,
html.light .pains-cta-buttons,
html.light .service-hero-text,
html.light .contact-info-item,
html.light footer,
html.light footer a,
html.light .footer-link,
html.light .footer-col h4,
html.light .footer-col p,
html.light .footer-bottom {
    color: #111827;
}

html.light .testimonial-card p,
html.light .pain-card p,
html.light .service-hero-text p {
    color: #4b5563;
}

/* Hero services grid — labels e ícones */
html.light .hero-service-tile {
    background: rgba(15, 15, 18, 0.03);
    border-color: rgba(15, 15, 18, 0.10);
    color: #111827;
}

html.light .hero-service-tile .hero-service-label {
    color: #111827;
}

html.light .hero-service-tile:hover {
    background: rgba(124, 43, 238, 0.08);
    border-color: rgba(124, 43, 238, 0.45);
    box-shadow: 0 12px 28px rgba(124, 43, 238, 0.15);
}

html.light .hero-service-tile:hover .material-symbols-outlined,
html.light .hero-service-tile:hover .hero-service-label {
    color: #5b21b6;
}

html.light .hero-service-tile--featured {
    background: rgba(15, 15, 18, 0.03);
    border-color: rgba(15, 15, 18, 0.10);
    box-shadow: none;
}

html.light .hero-service-tile--featured .hero-service-label {
    color: #111827 !important;
}

html.light .hero-service-tile--featured .material-symbols-outlined {
    color: var(--accent-purple) !important;
}

html.light .hero-service-tile--featured:hover {
    background: rgba(124, 43, 238, 0.08);
    border-color: rgba(124, 43, 238, 0.45);
    box-shadow: 0 12px 28px rgba(124, 43, 238, 0.15);
}

html.light .hero-service-tile--featured:hover .hero-service-label,
html.light .hero-service-tile--featured:hover .material-symbols-outlined {
    color: #5b21b6 !important;
}

/* Pains CTA — "Se você se identificou com algum desses cenários..." */
html.light .pains-cta-text {
    color: rgba(15, 15, 18, 0.65);
}

html.light .pains-cta-text strong {
    color: #111827;
}

/* Footer — heading "Contato", ícones sociais e copyright (inline styles) */
html.light footer h3[style*="color: white"],
html.light footer h3[data-bind="contact-label"] {
    color: #111827 !important;
}

html.light footer .social-link[style] {
    background: rgba(15, 15, 18, 0.05) !important;
    color: #111827 !important;
}

html.light footer .social-link[style]:hover {
    background: rgba(124, 43, 238, 0.12) !important;
    color: #5b21b6 !important;
}

html.light footer [style*="color: #9CA3AF"],
html.light footer [data-bind="footer"] {
    color: #4b5563 !important;
}

html.light footer #privacy-policy-link[style] {
    color: #6b7280 !important;
}

html.light footer #privacy-policy-link[style]:hover {
    color: #5b21b6 !important;
}

html.light .contact-info-item,
html.light .contact-info-item span {
    color: #111827;
}

/* Página de serviço — títulos brancos sobre fundo claro */
html.light .service-hero-text h1 {
    background: linear-gradient(135deg, #111827 0%, #7c2bee 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

html.light .service-hero-text h2 {
    color: #374151;
}

html.light .service-hero-text p {
    color: #4b5563;
}

html.light .service-back-link {
    color: #4b5563;
}

html.light .service-back-link:hover {
    color: #5b21b6;
}

html.light .service-topics-section .section-title,
html.light .service-topics-header h3 {
    color: #111827;
}

html.light .service-topics-header .section-subtitle,
html.light .service-topics-section .section-subtitle {
    color: #4b5563;
}

html.light .service-topic-card {
    background: rgba(15, 15, 18, 0.03);
    border-color: rgba(15, 15, 18, 0.10);
    color: #111827;
}

html.light .service-topic-card .service-topic-desc,
html.light .service-topic-desc {
    color: #4b5563 !important;
}

/* CTA box ("Pronto para unificar...") */
html.light .cta-box {
    background: rgba(15, 15, 18, 0.03);
    border-color: rgba(15, 15, 18, 0.08);
}

html.light .cta-box h2[style*="color: white"],
html.light .cta-box h2 {
    color: #111827 !important;
}

html.light .cta-box p[style*="color"] {
    color: #4b5563 !important;
}

html.light #service-not-found h1 {
    color: #111827 !important;
}

html.light #service-not-found p {
    color: #4b5563 !important;
}

/* Mia mascote — no light, removemos o glow lavanda atrás dela (vira halo
   esquisito sobre fundo claro) e suavizamos a sombra. */
html.light .hero-mascot-img {
    filter: drop-shadow(0 18px 24px rgba(15, 15, 18, 0.12));
}

html.light .hero-mascot-glow {
    display: none;
}
