/* ============================================
   QIRI DIGITAL - CREATIVE DESIGN SYSTEM
   ============================================ */

/* Reset & Setup */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* === COLOR PALETTE - BASED ON QIRI LOGO === */
    
    /* Brand Navy (from logo "QIRI") */
    --navy: #1a3a5f;
    --navy-dark: #12283f;
    --navy-light: #2a4a6f;
    --navy-50: #f0f4f8;
    
    /* Brand Gray (from logo "Digital") */
    --brand-gray: #4a5568;
    --brand-gray-light: #6b7280;
    
    /* Primary = Navy (for buttons, accents) */
    --primary: #1a3a5f;
    --primary-dark: #12283f;
    --primary-light: #2a5a8f;
    --primary-glow: rgba(26, 58, 95, 0.5);
    
    /* Accent = Lighter blue for highlights */
    --accent-blue: #3b82f6;
    --accent-light: #60a5fa;
    
    /* Neutrals - Full Gray Scale */
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --gray-text: #64748b;
    --gray-bg: #f8fafc;
    
    /* Borders */
    --border-light: rgba(26, 58, 95, 0.1);
    
    /* Gradients - Navy based */
    --gradient-hero: linear-gradient(135deg, #1a3a5f 0%, #12283f 50%, #0f1f2f 100%);
    --gradient-accent: linear-gradient(135deg, var(--navy) 0%, var(--accent-blue) 100%);
    --gradient-card: linear-gradient(135deg, rgba(26, 58, 95, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
    --gradient-text: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-light) 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 60px -12px var(--primary-glow);
    --shadow-card: 0 25px 50px -12px rgba(0, 0, 0, 0.12);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --container: 1200px;
    --spacing-section: 140px;
    
    /* Border Radius */
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --radius-full: 999px;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--white);
    color: var(--navy);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.noise-overlay {
    display: none;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--navy);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   HEADER - PREMIUM DESIGN
   ============================================ */
.header {
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all var(--transition-slow);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 14px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(26, 58, 95, 0.08);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 42px;
    width: auto;
    transition: var(--transition-base);
}

/* Esconder logo colorido, mostrar branco no header inicial */
.header .logo-white {
    display: block;
}

.header .logo-color {
    display: none;
}

/* Quando scrolled, trocar logos */
.header.scrolled .logo-white {
    display: none;
}

.header.scrolled .logo-color {
    display: block;
}

/* Para páginas com fundo claro (sem hero) */
.header.header-light {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(26, 58, 95, 0.08);
}

.header.header-light .logo-white {
    display: none;
}

.header.header-light .logo-color {
    display: block;
}

.header.header-light .nav-menu a:not(.btn-contact-header) {
    color: var(--gray-600);
}

.header.header-light .nav-menu a:not(.btn-contact-header):hover {
    color: var(--navy);
    background: var(--gray-100);
}

.header.header-light .nav-menu a:not(.btn-contact-header).active {
    color: var(--navy);
    background: var(--navy-50);
}

.header.header-light .btn-contact-header {
    background: var(--gradient-accent);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(26, 58, 95, 0.2);
}

.header.header-light .mobile-menu-toggle {
    background: var(--gray-100);
}

.header.header-light .mobile-menu-toggle span {
    background: var(--navy);
}

.footer-logo-img {
    height: 38px;
    width: auto;
}

/* Navigation */
.nav-menu {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-menu a:not(.btn-contact-header) {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    transition: all var(--transition-base);
    padding: 10px 18px;
    border-radius: var(--radius-full);
    position: relative;
}

.nav-menu a:not(.btn-contact-header):hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.nav-menu a:not(.btn-contact-header).active {
    color: var(--white);
    font-weight: 600;
    background: rgba(255, 255, 255, 0.15);
}

.header.scrolled .nav-menu a:not(.btn-contact-header) {
    color: var(--gray-600);
}

.header.scrolled .nav-menu a:not(.btn-contact-header):hover {
    color: var(--navy);
    background: var(--gray-100);
}

.header.scrolled .nav-menu a:not(.btn-contact-header).active {
    color: var(--navy);
    background: var(--navy-50);
    font-weight: 600;
}

/* Contact Button in Header */
.btn-contact-header {
    padding: 12px 26px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white) !important;
    border: 1px solid rgba(255, 255, 255, 0.25);
    margin-left: 12px;
    transition: all var(--transition-base);
}

.btn-contact-header:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.header.scrolled .btn-contact-header {
    background: var(--gradient-accent);
    color: var(--white) !important;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(26, 58, 95, 0.2);
}

.header.scrolled .btn-contact-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 58, 95, 0.3);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    padding: 12px;
    z-index: 1001;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

.mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: white;
    margin: 5px 0;
    transition: var(--transition-base);
    border-radius: 2px;
}

.header.scrolled .mobile-menu-toggle {
    background: var(--gray-100);
}

.header.scrolled .mobile-menu-toggle:hover {
    background: var(--gray-200);
}

.header.scrolled .mobile-menu-toggle span {
    background: var(--navy);
}

/* ============================================
   HERO - MAGICAL ANIMATED VERSION
   ============================================ */
.hero {
    background: var(--gradient-hero);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: var(--white);
}

/* Animated gradient orbs */
.hero::before {
    content: '';
    position: absolute;
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, var(--accent-blue) 0%, transparent 60%);
    top: -500px;
    right: -300px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    pointer-events: none;
    animation: floatBlob1 15s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--navy-light) 0%, transparent 60%);
    bottom: -400px;
    left: -200px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    pointer-events: none;
    animation: floatBlob2 18s ease-in-out infinite;
}

/* Third orb for extra depth */
.hero .container::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-blue) 0%, transparent 60%);
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    pointer-events: none;
    animation: floatBlob3 12s ease-in-out infinite;
}

/* Grid pattern overlay */
.hero .container::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

@keyframes floatBlob1 {
    0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
    33% { transform: translate(-30px, 40px) scale(1.1) rotate(5deg); }
    66% { transform: translate(20px, -20px) scale(0.95) rotate(-3deg); }
}

@keyframes floatBlob2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(60px, -40px) scale(1.15); }
}

@keyframes floatBlob3 {
    0%, 100% { transform: translateY(-50%) scale(1); opacity: 0.3; }
    50% { transform: translateY(-50%) scale(1.2); opacity: 0.5; }
}

.hero .container {
    position: relative;
}

.hero-content {
    max-width: 850px;
    position: relative;
    z-index: 10;
}

.hero-headline {
    font-size: clamp(52px, 7vw, 88px);
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.03em;
}

/* Gradient text accent */
.hero-headline span,
.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subheadline {
    font-size: clamp(20px, 2.5vw, 26px);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
    line-height: 1.5;
    font-weight: 500;
}

.hero-description {
    margin-bottom: 48px;
}

.hero-description p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 19px;
    line-height: 1.8;
    max-width: 600px;
}

/* ============================================
   BUTTONS - ENHANCED
   ============================================ */
.cta-buttons {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.btn {
    padding: 18px 36px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-bounce);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--white);
    box-shadow: 0 15px 40px -10px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 25px 50px -10px var(--primary-glow);
}

.btn-primary:active {
    transform: translateY(-2px) scale(1);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-4px);
}

/* Button arrow animation */
.btn svg,
.btn .arrow {
    transition: transform var(--transition-base);
}

.btn:hover svg,
.btn:hover .arrow {
    transform: translateX(4px);
}

/* ============================================
   SECTIONS & TITLES
   ============================================ */
section {
    padding: var(--spacing-section) 0;
}

.section-title {
    font-size: clamp(36px, 5vw, 52px);
    margin-bottom: 20px;
    color: var(--navy);
    position: relative;
    display: inline-block;
    font-weight: 800;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 80px;
    height: 5px;
    background: var(--gradient-accent);
    border-radius: 4px;
}

.section-subtitle {
    font-size: 20px;
    color: var(--gray-500);
    margin-bottom: 80px;
    max-width: 600px;
    line-height: 1.7;
}

/* Section badge/label */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--gradient-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.section-label::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

/* Dark theme label */
.hero .section-label {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
}

.hero .section-label::before {
    background: var(--accent-blue);
}

/* Section Header Centered */
.section-header-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.section-header-centered .section-label {
    display: inline-flex;
    margin-bottom: 20px;
}

.section-header-centered .section-title {
    margin-bottom: 0;
    width: 100%;
}

.section-header-centered .section-title::after {
    display: none;
}

/* ============================================
   SERVICES - BENTO GRID LAYOUT
   ============================================ */
.servicos {
    background: var(--gray-50);
    position: relative;
    overflow: hidden;
}

.servicos::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}

/* Services Header - Stacked */
.services-header {
    margin-bottom: 60px;
}

.services-header .section-label {
    display: inline-flex;
    margin-bottom: 20px;
}

.services-header .section-title {
    display: block;
    margin-bottom: 20px;
}

.services-header-desc {
    font-size: 18px;
    color: var(--gray-500);
    line-height: 1.7;
    max-width: 550px;
    margin: 0;
}

/* Bento Grid */
.services-bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
}

/* Card Base */
.service-card-bento {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(26, 58, 95, 0.08);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-slow);
}

.service-card-bento:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(26, 58, 95, 0.15);
    border-color: var(--navy);
}

/* Large Cards */
.service-card-bento.large {
    grid-column: span 2;
    padding: 40px;
    display: flex;
    flex-direction: column;
    min-height: 280px;
}

.service-card-bento.large .service-card-content {
    flex: 1;
}

.service-card-bento.large h3 {
    font-size: 26px;
    color: var(--navy);
    margin-bottom: 12px;
    font-weight: 700;
}

.service-card-bento.large p {
    font-size: 16px;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Service Tags */
.service-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: auto;
}

.service-tags li {
    padding: 6px 14px;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 500;
    color: var(--navy);
    transition: all var(--transition-base);
}

.service-card-bento:hover .service-tags li {
    background: var(--navy-50);
    color: var(--navy);
}

/* Small Cards */
.service-card-bento.small {
    padding: 28px;
    display: flex;
    flex-direction: column;
}

.service-card-bento.small h3 {
    font-size: 18px;
    color: var(--navy);
    margin-bottom: 8px;
    font-weight: 700;
}

.service-card-bento.small p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
    flex: 1;
}

/* Card Number */
.service-card-number {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-blue);
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}

/* Card Icons */
.service-card-icon {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 80px;
    height: 80px;
    opacity: 0.1;
    transition: all var(--transition-base);
}

.service-card-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--navy);
}

.service-card-bento:hover .service-card-icon {
    opacity: 0.2;
    transform: scale(1.1);
}

.service-card-icon-small {
    width: 40px;
    height: 40px;
    margin-top: auto;
    padding-top: 16px;
    opacity: 0.3;
    transition: all var(--transition-base);
}

.service-card-icon-small svg {
    width: 100%;
    height: 100%;
    stroke: var(--navy);
}

.service-card-bento:hover .service-card-icon-small {
    opacity: 0.6;
    stroke: var(--accent-blue);
}

.service-card-bento:hover .service-card-icon-small svg {
    stroke: var(--accent-blue);
}

/* Services CTA */
.services-cta {
    text-align: center;
    margin-top: 50px;
}

/* Responsive Bento */
@media (max-width: 1024px) {
    .services-bento {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-card-bento.large {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .services-bento {
        grid-template-columns: 1fr;
    }
    
    .service-card-bento.large,
    .service-card-bento.small {
        grid-column: span 1;
    }
}

/* Service Detail Rows */
.service-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 120px;
}

.service-row:last-child {
    margin-bottom: 0;
}

.service-row.reverse {
    direction: rtl;
}

.service-row.reverse > * {
    direction: ltr;
}

.service-row-content h2 {
    font-size: 36px;
    margin-bottom: 24px;
    color: var(--navy);
}

.service-row-content p {
    font-size: 18px;
    color: var(--gray-text);
    margin-bottom: 32px;
    line-height: 1.7;
}

.service-features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.service-features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--navy);
    font-weight: 500;
}

.service-features-list li::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ============================================
   SERVICES DETAIL PAGE - NEW LAYOUT
   ============================================ */
.services-detail-section {
    padding: var(--spacing-section) 0;
    background: var(--gray-50);
}

.service-detail-card {
    display: flex;
    gap: 40px;
    padding: 48px;
    background: var(--white);
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
    border: 1px solid var(--gray-100);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-detail-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-accent);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.service-detail-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--gray-200);
}

.service-detail-card:hover::before {
    opacity: 1;
}

.service-detail-number {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 800;
    color: var(--gray-100);
    line-height: 1;
    min-width: 80px;
    transition: color var(--transition-base);
}

.service-detail-card:hover .service-detail-number {
    color: var(--accent-blue);
}

.service-detail-content {
    flex: 1;
}

.service-detail-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 16px;
}

.service-detail-content p {
    font-size: 16px;
    color: var(--gray-text);
    line-height: 1.7;
    margin-bottom: 24px;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.service-tags span {
    padding: 6px 14px;
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-600);
    transition: all var(--transition-base);
}

.service-detail-card:hover .service-tags span {
    background: var(--navy-50);
    border-color: var(--navy-100);
    color: var(--navy);
}

@media (max-width: 768px) {
    .service-detail-card {
        flex-direction: column;
        gap: 20px;
        padding: 32px 24px;
    }
    
    .service-detail-number {
        font-size: 36px;
        min-width: auto;
    }
    
    .service-detail-content h2 {
        font-size: 20px;
    }
}

/* ============================================
   PROCESS - ANIMATED
   ============================================ */
.processo {
    background: var(--gradient-hero);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

/* Animated background lines */
.processo::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.1) 1px, transparent 1px);
    background-size: 80px 80px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(80px, 80px); }
}

/* Floating orb */
.processo::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-blue) 0%, transparent 60%);
    right: -200px;
    top: 50%;
    transform: translateY(-50%);
    filter: blur(80px);
    opacity: 0.3;
    animation: floatBlob2 15s ease-in-out infinite;
}

.processo .section-title {
    color: var(--white);
}

.processo .section-title::after {
    background: var(--gradient-accent);
}

.processo .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.process-home-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

/* Connecting line between steps */
.process-home-steps::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-blue), var(--accent-light), var(--accent-blue), transparent);
    opacity: 0.5;
}

.process-home-step {
    background: rgba(255, 255, 255, 0.03);
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    transition: all var(--transition-slow);
    position: relative;
}

.process-home-step:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px -10px rgba(99, 102, 241, 0.3);
}

.step-num-home {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 20px;
    line-height: 1;
    opacity: 0.8;
    transition: all var(--transition-base);
}

.process-home-step:hover .step-num-home {
    opacity: 1;
    transform: scale(1.1);
}

.process-home-step h3 {
    color: var(--white);
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: 700;
}

.process-home-step p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    line-height: 1.7;
}

/* Process Detail Timeline */
.process-detail-section {
    background: var(--navy);
    color: var(--white);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.timeline-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: 40px 0;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 40px;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.timeline-item {
    display: flex;
    gap: 40px;
    margin-bottom: 80px;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: var(--navy-dark);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    position: relative;
    z-index: 2;
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.2);
    transition: var(--transition-base);
}

.timeline-item:hover .timeline-marker {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 0 40px var(--primary-glow);
    transform: scale(1.1);
}

.timeline-content {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    flex-grow: 1;
    transition: var(--transition-base);
}

.timeline-item:hover .timeline-content {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
}

.timeline-content h3 {
    font-size: 24px;
    color: var(--white);
    margin-bottom: 16px;
}

.timeline-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    line-height: 1.7;
}

/* Principles Grid */
.principles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.principle-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    text-align: center;
    transition: var(--transition-base);
}

.principle-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.principle-card h3 {
    color: var(--navy);
    margin-bottom: 16px;
    font-size: 20px;
}

.principle-card p {
    color: var(--gray-text);
    line-height: 1.7;
}

/* ============================================
   PARA QUEM & DIFERENCIAÇÃO
   ============================================ */
.para-quem {
    background: var(--white);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: var(--container);
    margin: 0 auto;
    padding: var(--spacing-section) 24px;
}

.para-quem-content h2 {
    font-size: clamp(36px, 4vw, 48px);
    margin-bottom: 24px;
    color: var(--navy);
}

.para-quem-content p {
    color: var(--gray-600);
    font-size: 18px;
    line-height: 1.7;
}

.para-quem-list li {
    padding: 20px 0;
    border-bottom: 1px solid var(--gray-100);
    color: var(--navy);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 16px;
}

.para-quem-list li::before {
    content: '✓';
    color: var(--primary);
    font-weight: 800;
    background: var(--navy-50);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.diferenciação {
    background: var(--navy-50);
}

.diferenciação h2 {
    text-align: center;
}

.diferenciação-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 60px;
}

.diferenciação-card {
    background: var(--white);
    padding: 60px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.diferenciação-card:hover {
    box-shadow: var(--shadow-xl);
}

.diferenciação-card.faz-sentido {
    border-top: 4px solid transparent;
    background: 
        linear-gradient(var(--white), var(--white)) padding-box,
        var(--gradient-accent) border-box;
}

.diferenciação-card:hover {
    transform: translateY(-8px);
}

.diferenciação-title {
    font-size: 24px;
    margin-bottom: 32px;
    color: var(--navy);
}

.diferenciação-list li {
    margin-bottom: 16px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: var(--gray-600);
}

/* ============================================
   CTA SECTION - VIBRANT
   ============================================ */
.cta-section {
    background: var(--gradient-hero);
    color: var(--white);
    padding: 160px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Animated gradient overlay */
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(96, 165, 250, 0.2) 0%, transparent 50%);
    animation: ctaPulse 8s ease-in-out infinite;
}

@keyframes ctaPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

/* Decorative circles */
.cta-section::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rotateSlow 30s linear infinite;
}

@keyframes rotateSlow {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-title {
    color: var(--white);
    font-size: clamp(40px, 6vw, 64px);
    margin-bottom: 24px;
    font-weight: 800;
}

.cta-description {
    color: rgba(255, 255, 255, 0.75);
    max-width: 600px;
    margin: 0 auto 56px;
    font-size: 21px;
    line-height: 1.7;
}

.cta-section .cta-buttons {
    justify-content: center;
}

/* ============================================
   PROJECTS
   ============================================ */
.projects-section {
    padding: 100px 0;
    background: var(--white);
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 80px;
    max-width: 900px;
    margin: 0 auto;
}

.project-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-glow);
}

.project-header {
    background: linear-gradient(135deg, var(--navy-50) 0%, rgba(37, 99, 235, 0.05) 100%);
    padding: 40px;
    border-bottom: 1px solid var(--border-light);
}

.project-tag {
    display: inline-block;
    padding: 6px 12px;
    background: var(--primary);
    color: white;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.project-title {
    font-size: 28px;
    color: var(--navy);
    margin-bottom: 16px;
}

.project-desc {
    font-size: 18px;
    color: var(--gray-text);
    line-height: 1.6;
}

.project-body {
    padding: 40px;
}

.project-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.metric-item {
    text-align: center;
    padding: 24px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
}

.metric-label {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--gray-text);
    margin-bottom: 8px;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.metric-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
}

/* ============================================
   PAGE HERO (Internal Pages)
   ============================================ */
.page-hero {
    background: var(--navy);
    padding: 160px 0 100px;
    text-align: left;
    position: relative;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, var(--white), transparent);
}

.page-hero h1 {
    color: var(--white);
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 700;
    margin-bottom: 20px;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    max-width: 600px;
    line-height: 1.7;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-intro {
    padding: 100px 0;
}

.about-intro-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-intro-content p {
    font-size: 18px;
    color: var(--gray-600);
    line-height: 1.9;
    margin-bottom: 28px;
}

.about-intro-content p:first-child {
    font-size: 22px;
    color: var(--gray-800);
    font-weight: 500;
}

.values-section {
    background: var(--gray-50);
    padding: 100px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.value-card {
    background: var(--white);
    padding: 48px 36px;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.value-card h3 {
    font-size: 20px;
    color: var(--gray-900);
    margin-bottom: 16px;
    font-weight: 600;
}

.value-card p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
}

.origin-section {
    padding: 100px 0;
}

.origin-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.origin-text h2 {
    font-size: 36px;
    color: var(--gray-900);
    margin-bottom: 24px;
    font-weight: 700;
}

.origin-text p {
    font-size: 17px;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 20px;
}

.origin-visual {
    background: var(--gradient-accent);
    border-radius: var(--radius-lg);
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.origin-visual img {
    height: 80px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-page {
    padding: 160px 0 100px;
    min-height: 100vh;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.contact-info-block h1 {
    font-size: clamp(32px, 4vw, 48px);
    color: var(--gray-900);
    margin-bottom: 24px;
    font-weight: 700;
}

.contact-info-block > p {
    font-size: 18px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 48px;
}

.contact-method {
    margin-bottom: 32px;
}

.contact-method h3 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-500);
    margin-bottom: 8px;
    font-weight: 600;
}

.contact-method p,
.contact-method a {
    font-size: 18px;
    color: var(--gray-900);
    text-decoration: none;
    font-weight: 500;
}

.contact-method a:hover {
    color: var(--primary);
}

.contact-form-card {
    background: var(--white);
    padding: 52px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(99, 102, 241, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
}

.contact-form-card h2 {
    font-size: 24px;
    color: var(--gray-900);
    margin-bottom: 32px;
    font-weight: 600;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-family: inherit;
    transition: all var(--transition-fast);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
}

.form-group input:hover,
.form-group textarea:hover,
.form-group select:hover {
    border-color: var(--gray-400);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
}

.response-note {
    background: var(--gray-50);
    padding: 20px 24px;
    border-radius: var(--radius-md);
    margin-top: 32px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.response-note svg {
    flex-shrink: 0;
    color: var(--primary);
    margin-top: 2px;
}

.response-note p {
    font-size: 14px;
    color: var(--gray-600);
    margin: 0;
}

/* ============================================
   FAQ PAGE
   ============================================ */
.faq-section {
    padding: 80px 0 120px;
    background: var(--gray-50);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-category {
    margin-top: 60px;
}

.faq-category:first-child {
    margin-top: 0;
}

.faq-category h2 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--navy);
    margin-bottom: 24px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.faq-category h2::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--accent-blue);
    font-weight: 700;
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(26, 58, 95, 0.06);
    border: 1px solid var(--gray-100);
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-item:hover {
    box-shadow: 0 4px 16px rgba(26, 58, 95, 0.1);
    border-color: var(--gray-200);
}

.faq-item.active {
    border-color: var(--accent-blue);
    box-shadow: 0 4px 20px rgba(26, 58, 95, 0.12);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 24px;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.faq-question h3 {
    font-size: 17px;
    color: var(--navy);
    font-weight: 600;
    line-height: 1.5;
}

.faq-item:hover .faq-question h3 {
    color: var(--navy-dark);
}

.faq-item.active .faq-question h3 {
    color: var(--navy);
}

.faq-question svg {
    width: 20px;
    height: 20px;
    color: var(--accent-blue);
    flex-shrink: 0;
    transition: all var(--transition-base);
    background: var(--navy-50);
    padding: 6px;
    border-radius: 50%;
    box-sizing: content-box;
}

.faq-item.active .faq-question svg {
    transform: rotate(45deg);
    background: var(--accent-blue);
    color: var(--white);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.8;
    padding: 0 24px 24px;
    border-top: 1px solid var(--gray-100);
    padding-top: 20px;
    margin-top: 4px;
}

/* ============================================
   LEGAL PAGES
   ============================================ */
.legal-page {
    padding: 160px 0 100px;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    font-size: 36px;
    color: var(--gray-900);
    margin-bottom: 16px;
    font-weight: 700;
}

.legal-content .last-updated {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 48px;
}

.legal-content h2 {
    font-size: 22px;
    color: var(--gray-900);
    margin-top: 40px;
    margin-bottom: 16px;
    font-weight: 600;
}

.legal-content p,
.legal-content li {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal-content ul {
    margin-left: 24px;
    margin-bottom: 24px;
    list-style: disc;
}

.legal-content a {
    color: var(--primary);
}

.legal-content a:hover {
    text-decoration: underline;
}

/* ============================================
   FOOTER - MODERN
   ============================================ */
.footer {
    background: var(--navy-dark);
    color: rgba(255, 255, 255, 0.6);
    padding: 100px 0 50px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--navy), var(--accent-blue), var(--navy), transparent);
}

.footer-columns {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
}

.footer-col p {
    margin-top: 16px;
    line-height: 1.7;
}

.footer h4 {
    color: var(--white);
    font-family: var(--font-heading);
    margin-bottom: 24px;
    font-size: 16px;
}

.footer a {
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition-base);
}

.footer a:hover {
    color: var(--primary);
}

.footer-col p a {
    display: block;
    margin-bottom: 12px;
}

.social-links {
    margin-top: 24px;
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition-base);
}

.social-link:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.footer-bottom {
    margin-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.btn-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 52px;
    height: 52px;
    background: var(--gradient-accent);
    color: var(--white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-bounce);
    z-index: 900;
    box-shadow: 0 15px 30px -5px var(--primary-glow);
    cursor: pointer;
}

.btn-back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.btn-back-to-top:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 20px 40px -5px var(--primary-glow);
}

/* ============================================
   ANIMATIONS - ENHANCED
   ============================================ */
.reveal-text {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-text.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }

/* Scale reveal */
.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Slide in from sides */
.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.visible,
.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Text shimmer effect */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.shimmer-text {
    background: linear-gradient(
        90deg,
        var(--white) 0%,
        var(--accent-light) 25%,
        var(--white) 50%,
        var(--accent-light) 75%,
        var(--white) 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
}

/* Floating animation for decorative elements */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.float {
    animation: float 6s ease-in-out infinite;
}

/* Pulse for attention */
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* Glow pulse */
@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 20px var(--primary-glow); }
    50% { box-shadow: 0 0 40px var(--primary-glow), 0 0 60px rgba(236, 72, 153, 0.3); }
}

/* Cursor glow effect for cards */
.glow-on-hover {
    position: relative;
}

.glow-on-hover::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--gradient-accent);
    border-radius: inherit;
    opacity: 0;
    z-index: -1;
    filter: blur(20px);
    transition: opacity var(--transition-base);
}

.glow-on-hover:hover::before {
    opacity: 0.5;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    :root {
        --spacing-section: 80px;
    }
    
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu.active {
        display: flex !important;
        position: absolute;
        top: calc(100% + 10px);
        left: 16px;
        right: 16px;
        background: var(--navy);
        flex-direction: column;
        padding: 20px;
        gap: 8px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
        border-radius: var(--radius-lg);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu.active a:not(.btn-contact-header) {
        color: rgba(255, 255, 255, 0.85);
        padding: 14px 20px;
        border-radius: var(--radius-md);
    }
    
    .nav-menu.active a:not(.btn-contact-header):hover,
    .nav-menu.active a:not(.btn-contact-header).active {
        color: var(--white);
        background: rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu.active .btn-contact-header {
        margin-left: 0;
        margin-top: 8px;
        text-align: center;
    }
    
    .services-grid-home,
    .process-home-steps,
    .principles-grid,
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .para-quem,
    .diferenciação-grid,
    .footer-columns,
    .origin-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-headline {
        font-size: clamp(36px, 6vw, 48px);
    }
    
    .service-row,
    .service-row.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 80px;
        direction: ltr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-section: 60px;
    }
    
    .services-grid-home,
    .process-home-steps,
    .principles-grid,
    .values-grid,
    .project-metrics {
        grid-template-columns: 1fr;
    }
    
    .service-features-list {
        grid-template-columns: 1fr;
    }
    
    .hero {
        min-height: auto;
        padding: 140px 0 80px;
    }
    
    .timeline-container::before {
        left: 20px;
    }
    
    .timeline-marker {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .timeline-item {
        gap: 20px;
        margin-bottom: 60px;
    }
    
    .timeline-content {
        padding: 24px;
    }
    
    .project-header,
    .project-body {
        padding: 24px;
    }
    
    .diferenciação-card {
        padding: 40px 30px;
    }
    
    .cta-section {
        padding: 80px 0;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .origin-visual {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .btn {
        padding: 14px 24px;
        font-size: 14px;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all var(--transition-bounce);
    animation: whatsappPulse 2s ease-in-out infinite;
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1); }
}

/* ============================================
   COOKIE BANNER (RGPD)
   ============================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--navy-dark);
    color: var(--white);
    padding: 20px 24px;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-content {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.6;
    flex: 1;
    min-width: 280px;
}

.cookie-content p a {
    color: var(--accent-light);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
}

.cookie-btn {
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: all var(--transition-base);
}

.cookie-accept {
    background: var(--accent-blue);
    color: white;
}

.cookie-accept:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
}

.cookie-decline {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-decline:hover {
    background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .whatsapp-float {
        bottom: 90px;
        right: 20px;
        width: 54px;
        height: 54px;
    }
    
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

/* ============================================
   STATS/COUNTERS SECTION
   ============================================ */
.stats-section {
    background: var(--white);
    padding: 80px 0;
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: var(--gray-200);
}

.stat-item:last-child::after {
    display: none;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(42px, 5vw, 64px);
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
    display: inline-flex;
    align-items: baseline;
}

.stat-number .counter {
    display: inline-block;
}

.stat-number .suffix {
    font-size: 0.6em;
    margin-left: 4px;
}

.stat-label {
    font-size: 15px;
    color: var(--gray-500);
    font-weight: 500;
}

@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 24px;
    }
    
    .stat-item:nth-child(2)::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .stat-item::after {
        display: none;
    }
}

/* ============================================
   PARA QUEM - REDESIGNED
   ============================================ */
.para-quem-section {
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    padding: var(--spacing-section) 0;
    position: relative;
    overflow: hidden;
}

.para-quem-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-blue) 0%, transparent 70%);
    top: -300px;
    right: -200px;
    opacity: 0.05;
    pointer-events: none;
}

.para-quem-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.para-quem-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.para-quem-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.para-quem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.para-quem-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(26, 58, 95, 0.15);
    border-color: transparent;
}

.para-quem-card:hover::before {
    transform: scaleX(1);
}

.para-quem-icon {
    width: 56px;
    height: 56px;
    background: var(--navy-50);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all var(--transition-base);
}

.para-quem-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--navy);
}

.para-quem-card:hover .para-quem-icon {
    background: var(--navy);
}

.para-quem-card:hover .para-quem-icon svg {
    stroke: var(--white);
}

.para-quem-card h3 {
    font-size: 20px;
    color: var(--navy);
    margin-bottom: 12px;
    font-weight: 700;
}

.para-quem-card p {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.7;
}

@media (max-width: 1024px) {
    .para-quem-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .para-quem-cards {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   NEWSLETTER SIGNUP (FOOTER)
   ============================================ */
.footer-newsletter {
    margin-top: 24px;
}

.footer-newsletter p {
    font-size: 14px;
    margin-bottom: 16px !important;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-size: 14px;
    transition: all var(--transition-base);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--accent-blue);
    background: rgba(255, 255, 255, 0.08);
}

.newsletter-form button {
    padding: 12px 20px;
    background: var(--accent-blue);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.newsletter-form button:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
}

@media (max-width: 480px) {
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form button {
        width: 100%;
    }
}

/* ============================================
   404 PAGE - CREATIVE
   ============================================ */
.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    padding: 40px 24px;
}

.error-page::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--accent-blue) 0%, transparent 60%);
    top: -400px;
    right: -200px;
    opacity: 0.3;
    animation: floatBlob1 15s ease-in-out infinite;
}

.error-page::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--navy-light) 0%, transparent 60%);
    bottom: -300px;
    left: -100px;
    opacity: 0.4;
    animation: floatBlob2 18s ease-in-out infinite;
}

.error-content {
    text-align: center;
    position: relative;
    z-index: 10;
    max-width: 600px;
}

.error-code {
    font-family: var(--font-heading);
    font-size: clamp(120px, 25vw, 200px);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--white) 0%, var(--accent-light) 50%, var(--white) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    animation: shimmer 3s linear infinite;
    background-size: 200% auto;
}

.error-content h1 {
    color: var(--white);
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: 16px;
    font-weight: 700;
}

.error-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    margin-bottom: 40px;
    line-height: 1.7;
}

.error-content .btn-primary {
    display: inline-flex;
}

/* Floating elements for 404 */
.error-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.error-shape {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: floatShape 20s ease-in-out infinite;
}

.error-shape:nth-child(1) {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.error-shape:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 15%;
    animation-delay: -5s;
}

.error-shape:nth-child(3) {
    width: 140px;
    height: 140px;
    bottom: 20%;
    left: 20%;
    animation-delay: -10s;
}

@keyframes floatShape {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
}

/* ============================================
   PREMIUM ANIMATIONS - AGENCY SHOWCASE
   ============================================ */

/* 1. MAGNETIC BUTTON EFFECT
   Botões que "seguem" ligeiramente o cursor
   ------------------------------------------ */
.btn-magnetic {
    position: relative;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-magnetic:hover {
    transform: translate(var(--mouse-x, 0), var(--mouse-y, 0));
}

/* 2. 3D CARD TILT EFFECT
   Cards com inclinação suave no hover
   ------------------------------------------ */
.card-3d {
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.card-3d:hover {
    transform: perspective(1000px) rotateX(var(--rotate-x, 0deg)) rotateY(var(--rotate-y, 0deg)) scale3d(1.02, 1.02, 1.02);
}

.card-3d::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 50%,
        rgba(0, 0, 0, 0.05) 100%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    border-radius: inherit;
    z-index: 1;
}

.card-3d:hover::before {
    opacity: 1;
}

/* 3. ANIMATED MENU UNDERLINE
   Linha elegante que aparece no hover
   ------------------------------------------ */
.nav-menu a:not(.btn-contact-header) {
    position: relative;
}

.nav-menu a:not(.btn-contact-header)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-light));
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-menu a:not(.btn-contact-header):hover::after,
.nav-menu a:not(.btn-contact-header).active::after {
    width: 100%;
}

/* Scrolled header - white underline */
.header.scrolled .nav-menu a:not(.btn-contact-header)::after {
    background: linear-gradient(90deg, var(--white), rgba(255,255,255,0.7));
}

/* 4. BUTTON LOADING STATE
   Spinner elegante ao submeter formulário
   ------------------------------------------ */
.btn-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: buttonSpin 0.8s linear infinite;
}

.btn-loading::before {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    border-radius: inherit;
}

@keyframes buttonSpin {
    to { transform: rotate(360deg); }
}

/* 5. SMOOTH TEXT REVEAL
   Texto aparece suavemente de baixo
   ------------------------------------------ */
.text-reveal {
    overflow: hidden;
}

.text-reveal > * {
    transform: translateY(100%);
    opacity: 0;
    animation: textRevealUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.text-reveal > *:nth-child(1) { animation-delay: 0.1s; }
.text-reveal > *:nth-child(2) { animation-delay: 0.2s; }
.text-reveal > *:nth-child(3) { animation-delay: 0.3s; }
.text-reveal > *:nth-child(4) { animation-delay: 0.4s; }
.text-reveal > *:nth-child(5) { animation-delay: 0.5s; }

@keyframes textRevealUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* 6. HOVER GLOW EFFECT
   Brilho suave nos cards ao hover
   ------------------------------------------ */
.hover-glow {
    position: relative;
    overflow: hidden;
}

.hover-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at var(--glow-x, 50%) var(--glow-y, 50%),
        rgba(59, 130, 246, 0.15) 0%,
        transparent 50%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.hover-glow:hover::after {
    opacity: 1;
}

/* Apply 3D effect to service cards */
.service-card-new {
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s ease;
}

.service-card-new:hover {
    transform: perspective(1000px) rotateX(2deg) rotateY(-2deg) translateY(-8px);
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(59, 130, 246, 0.1);
}

/* Apply hover glow to FAQ items */
.faq-item {
    position: relative;
    overflow: hidden;
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(59, 130, 246, 0.05),
        transparent
    );
    transition: left 0.5s ease;
}

.faq-item:hover::before {
    left: 100%;
}

/* Smooth scale on timeline markers */
.timeline-marker {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.timeline-item:hover .timeline-marker {
    transform: scale(1.15);
    box-shadow: 0 0 0 8px rgba(59, 130, 246, 0.15);
}

/* Footer link hover effect (exclude social links) */
.footer-col a:not(.social-link) {
    position: relative;
    display: inline-block;
}

.footer-col a:not(.social-link)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.5);
    transition: width 0.3s ease;
}

.footer-col a:not(.social-link):hover::after {
    width: 100%;
}

/* ============================================
   VALUE PROPOSITION SECTION
   ============================================ */
.value-section {
    padding: 100px 0;
    background: var(--white);
    position: relative;
}

.value-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gray-200), transparent);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.value-item {
    text-align: center;
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
}

.value-item:hover {
    background: var(--gray-50);
    transform: translateY(-5px);
}

.value-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    background: var(--gradient-accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition-base);
}

.value-item:hover .value-icon {
    transform: scale(1.1) rotate(-5deg);
}

.value-icon svg {
    width: 32px;
    height: 32px;
}

.value-item h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
}

.value-item p {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .value-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .value-item {
        padding: 30px 20px;
    }
}

/* ============================================
   TOOLTIP SYSTEM FOR SERVICE TAGS
   ============================================ */
.service-tags span,
.service-tags li {
    position: relative;
}

.service-tags span[data-tooltip],
.service-tags li[data-tooltip] {
    cursor: help;
}

.service-tags span[data-tooltip]::before,
.service-tags span[data-tooltip]::after,
.service-tags li[data-tooltip]::before,
.service-tags li[data-tooltip]::after {
    position: absolute;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 100;
    pointer-events: none;
}

/* Tooltip bubble */
.service-tags span[data-tooltip]::before {
    content: attr(data-tooltip);
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    padding: 12px 16px;
    width: max-content;
    max-width: 280px;
    background: var(--navy);
    color: var(--white);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    text-align: left;
}

/* Tooltip arrow */
.service-tags span[data-tooltip]::after {
    content: '';
    bottom: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    border: 8px solid transparent;
    border-top-color: var(--navy);
}

/* Show on hover */
.service-tags span[data-tooltip]:hover::before,
.service-tags span[data-tooltip]:hover::after,
.service-tags li[data-tooltip]:hover::before,
.service-tags li[data-tooltip]:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Glow effect on hover */
.service-tags span[data-tooltip]:hover,
.service-tags li[data-tooltip]:hover {
    background: var(--accent-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}
