/* ============================================
   PSICOTI - SITE INSTITUCIONAL
   Design Moderno e Tecnológico
   ============================================ */

:root {
    /* Cores Principais */
    --bg-primary: #0a0e27;
    --bg-secondary: #0f172a;
    --bg-card: #1e293b;
    --bg-card-hover: #334155;
    
    /* Acentos */
    --accent-blue: #38bdf8;
    --accent-purple: #818cf8;
    --accent-green: #10b981;
    --accent-orange: #f59e0b;
    
    /* Textos */
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #c084fc 100%);
    --gradient-secondary: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    
    /* Espaçamentos */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Transições */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Cursor Glow Effect */
.cursor-glow {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.5) 0%, transparent 70%);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
    display: none;
}

body:hover .cursor-glow {
    display: block;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    box-sizing: border-box;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 14, 39, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(56, 189, 248, 0.1);
    padding: 20px 0;
    z-index: 1000;
    transition: all var(--transition-normal);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--text-primary);
    align-items: flex-start;
}

.logo-img {
    height: 50px !important;
    width: 50px !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.3));
    transition: filter 0.3s ease, transform 0.3s ease;
}

.navbar .logo-img {
    height: 50px !important;
    width: 50px !important;
    aspect-ratio: 1 / 1 !important;
    max-width: 50px !important;
    max-height: 50px !important;
}

.logo:hover .logo-img {
    filter: drop-shadow(0 0 15px rgba(99, 102, 241, 0.5));
    transform: scale(1.02);
}

.footer-brand .logo-img {
    height: 60px !important;
    width: 60px !important;
    aspect-ratio: 1 / 1 !important;
    max-height: 60px !important;
    max-width: 60px !important;
}

.logo-icon {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.05em;
}

.logo-tagline {
    font-size: 0.7rem;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 0.1em;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-normal);
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--gradient-primary);
    border-radius: 12px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    position: relative;
    overflow: hidden;
}

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

.nav-cta:hover::before {
    left: 100%;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(56, 189, 248, 0.3);
}

.cta-dot {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #38bdf8 0%, transparent 70%);
    top: -200px;
    right: -200px;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #818cf8 0%, transparent 70%);
    bottom: -150px;
    left: -150px;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.1); }
}

.grid-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(56, 189, 248, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56, 189, 248, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 50px;
    width: fit-content;
    font-size: 0.85rem;
    color: var(--accent-blue);
    font-weight: 500;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-blue);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    display: flex;
    flex-direction: column;
}

.title-line {
    display: block;
}

.title-accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all var(--transition-normal);
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(56, 189, 248, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid rgba(56, 189, 248, 0.3);
}

.btn-secondary:hover {
    border-color: var(--accent-blue);
    background: rgba(56, 189, 248, 0.1);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 16px;
    padding-top: 32px;
    border-top: 1px solid rgba(56, 189, 248, 0.1);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.visual-card {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 24px;
    padding: 32px;
    position: relative;
    overflow: hidden;
}

.card-glow {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.card-content {
    position: relative;
    z-index: 1;
}

.code-snippet {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.8;
}

.code-line {
    display: block;
    margin-bottom: 8px;
}

.code-line.indent {
    padding-left: 24px;
}

.code-keyword {
    color: #c084fc;
}

.code-var {
    color: #38bdf8;
}

.code-property {
    color: #10b981;
}

.code-string {
    color: #f59e0b;
}

.floating-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.float-item {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 500;
    animation: floatItem 6s infinite ease-in-out;
}

.float-item svg {
    color: var(--accent-blue);
}

.float-1 {
    top: 20%;
    right: -10%;
    animation-delay: 0s;
}

.float-2 {
    bottom: 30%;
    right: 10%;
    animation-delay: -2s;
}

.float-3 {
    top: 60%;
    left: -10%;
    animation-delay: -4s;
}

@keyframes floatItem {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(10px, -10px); }
}

.scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.scroll-line {
    width: 2px;
    height: 30px;
    background: var(--gradient-primary);
    border-radius: 2px;
    animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(10px); opacity: 0; }
}

/* Section Styles */
section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--accent-blue);
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}

.text-accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Sobre Section */
.sobre {
    background: var(--bg-secondary);
}

.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.sobre-intro {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 24px;
    line-height: 1.8;
}

.sobre-content p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
}

.sobre-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 32px;
}

.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent-blue);
}

.feature-content h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.feature-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

.visual-stack {
    position: relative;
    height: 400px;
    min-height: 400px;
}

.stack-card {
    position: absolute;
    width: 100%;
    max-width: 300px;
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 16px;
    padding: 24px;
    transition: all var(--transition-normal);
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    pointer-events: auto;
}

.stack-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--accent-blue);
    box-shadow: 0 20px 40px rgba(56, 189, 248, 0.2);
    z-index: 5 !important;
}

.stack-card.active {
    z-index: 10 !important;
    transform: translateY(-12px) scale(1.05);
    border-color: var(--accent-blue);
    box-shadow: 0 25px 50px rgba(56, 189, 248, 0.3);
    opacity: 1 !important;
}

.card-1 {
    top: 0;
    left: 0;
    z-index: 3;
    opacity: 1;
}

.card-2 {
    top: 30px;
    left: 30px;
    z-index: 2;
    opacity: 0.98;
}

.card-3 {
    top: 60px;
    left: 60px;
    z-index: 1;
    opacity: 0.96;
}

.card-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 16px;
}

.card-dots {
    display: flex;
    gap: 6px;
}

.card-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-muted);
}

.card-body h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.card-body p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Serviços Section */
/* Jornada Container */
.jornada-container {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.jornada-etapa {
    position: relative;
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.jornada-etapa.highlight {
    margin-top: 40px;
}

.etapa-number {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 8px 24px rgba(56, 189, 248, 0.3);
}

.jornada-etapa.highlight .etapa-number {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
    width: 64px;
    height: 64px;
    font-size: 1.75rem;
}

.etapa-content {
    flex: 1;
    min-width: 0;
}

.etapa-header {
    margin-bottom: 20px;
}

.etapa-label {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-blue);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.jornada-etapa.highlight .etapa-label {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
    color: var(--accent-green);
}

.etapa-header h3 {
    font-size: 1.75rem;
    margin: 0;
    color: var(--text-primary);
}

.jornada-connector {
    display: flex;
    justify-content: center;
    padding: 20px 0;
    color: rgba(56, 189, 248, 0.4);
}

.jornada-connector svg {
    transform: rotate(180deg);
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.servico-card {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 20px;
    padding: 32px;
    position: relative;
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    width: 100%;
}

.jornada-etapa .servico-card {
    margin-top: 0;
}

.servico-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-blue);
    box-shadow: 0 20px 60px rgba(56, 189, 248, 0.2);
}

.servico-card.featured {
    border-color: var(--accent-green);
}

.servico-card.highlight {
    border: 2px solid var(--accent-blue);
    background: rgba(56, 189, 248, 0.05);
}

/* Storytelling Section */
.storytelling {
    background: var(--bg-primary);
    padding: 100px 0;
}

.storytelling-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.story-item {
    display: flex;
    gap: 24px;
    padding: 32px;
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(56, 189, 248, 0.15);
    border-radius: 20px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.story-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.story-item:hover {
    transform: translateX(8px);
    border-color: rgba(56, 189, 248, 0.3);
    box-shadow: 0 10px 40px rgba(56, 189, 248, 0.1);
}

.story-item:hover::before {
    opacity: 1;
}

.story-item.destaque {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.25);
}

.story-item.destaque::before {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.story-item.destaque:hover {
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.15);
}

.story-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
}

.story-item.destaque .story-icon {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
    color: var(--accent-green);
}

.story-content {
    flex: 1;
    min-width: 0;
}

.story-content h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.4;
    font-weight: 600;
}

.story-problema {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
    padding-left: 16px;
    border-left: 2px solid rgba(239, 68, 68, 0.3);
    font-size: 0.95rem;
}

.story-solucao {
    color: var(--text-primary);
    line-height: 1.8;
    padding: 16px;
    background: rgba(56, 189, 248, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(56, 189, 248, 0.15);
    font-size: 0.95rem;
}

.story-item.destaque .story-solucao {
    background: rgba(16, 185, 129, 0.05);
    border-color: rgba(16, 185, 129, 0.2);
}

.story-solucao strong {
    color: var(--accent-blue);
    font-weight: 600;
}

.story-item.destaque .story-solucao strong {
    color: var(--accent-green);
}

.story-link {
    color: var(--accent-blue);
    font-weight: 600;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.story-item.destaque .story-link {
    color: var(--accent-green);
}

.story-link:hover {
    text-decoration: underline;
}

.storytelling-cta {
    margin-top: 60px;
    text-align: center;
    padding: 40px;
    background: radial-gradient(circle at center, rgba(56, 189, 248, 0.1), rgba(15, 23, 42, 0.8));
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 24px;
}

.storytelling-message {
    font-size: 1.1rem;
    color: var(--text-primary);
    line-height: 1.8;
    margin-bottom: 24px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.storytelling-message strong {
    color: var(--accent-blue);
    font-weight: 600;
}

/* Responsive Storytelling */
@media (max-width: 768px) {
    .story-item {
        flex-direction: column;
        gap: 20px;
    }
    
    .story-icon {
        width: 48px;
        height: 48px;
    }
    
    .story-content h3 {
        font-size: 1.15rem;
    }
    
    .storytelling-cta {
        padding: 28px 20px;
    }
    
    .storytelling-message {
        font-size: 1rem;
    }
}

/* Serviços - Explicação (um serviço por "sessão") */
.servicos-explicacao {
    background: var(--bg-secondary);
}

.servicos-exp-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 40px;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.servico-exp-item {
    position: relative;
    background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.12), rgba(15, 23, 42, 0.9));
    border-radius: 24px;
    border: 1px solid rgba(56, 189, 248, 0.25);
    padding: 26px 26px 30px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.9);
    overflow: hidden;
}

.servico-exp-item.destaque {
    background: radial-gradient(circle at top left, rgba(16, 185, 129, 0.14), rgba(15, 23, 42, 0.95));
    border-color: rgba(16, 185, 129, 0.6);
    box-shadow: 0 24px 52px rgba(16, 185, 129, 0.36);
}

.servico-exp-header h3 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin: 4px 0 8px;
}

.exp-etapa {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.3);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-blue);
}

.servico-exp-item.destaque .exp-etapa {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.4);
    color: var(--accent-green);
}

.servico-exp-text {
    margin-top: 8px;
    margin-bottom: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.servico-exp-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.servico-exp-list li {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.servico-exp-list li::before {
    content: "•";
    color: var(--accent-blue);
    margin-right: 6px;
}

.servico-exp-item.destaque .servico-exp-list li::before {
    color: var(--accent-green);
}

.servico-exp-cta {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(148, 163, 184, 0.3);
}

.servico-exp-cta p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

/* Serviço - Revelar Valores */
.servico-valor-wrapper {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.btn-revelar-valor {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 10px;
    color: var(--accent-blue);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-normal);
    font-family: inherit;
}

.btn-revelar-valor:hover {
    background: rgba(56, 189, 248, 0.15);
    border-color: rgba(56, 189, 248, 0.5);
    transform: translateY(-2px);
}

.btn-revelar-valor svg {
    transition: transform var(--transition-normal);
}

.btn-revelar-valor.revelado svg {
    transform: rotate(180deg);
}

.btn-revelar-valor.revelado {
    opacity: 0.85;
}

.servico-valor-content {
    margin-top: 16px;
    animation: fadeInUp 0.4s ease-out;
}

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

.valor-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 12px;
    text-align: center;
}

.valor-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.valor-preco {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.valor-note {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.servico-exp-item.destaque .btn-revelar-valor {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
    color: var(--accent-green);
}

.servico-exp-item.destaque .btn-revelar-valor:hover {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.5);
}

.servico-exp-item.destaque .valor-box {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.2);
}

.servico-exp-item.destaque .valor-preco {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    padding: 6px 16px;
    background: var(--gradient-primary);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    letter-spacing: 0.05em;
}

.servico-card.featured .card-badge {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.card-icon {
    width: 64px;
    height: 64px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    margin-bottom: 24px;
}

.servico-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.card-price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.card-price-note {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.card-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
    flex-grow: 1;
}

.card-features {
    list-style: none;
    margin-bottom: 24px;
}

.card-features li {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.card-cta {
    display: block;
    text-align: center;
    padding: 14px 24px;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all var(--transition-normal);
    margin-top: auto;
}

.card-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(56, 189, 248, 0.3);
}

/* Portfólio Section */
.portfolio {
    background: var(--bg-secondary);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.portfolio-card {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.portfolio-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-blue);
    box-shadow: 0 20px 60px rgba(56, 189, 248, 0.2);
}

.portfolio-image {
    width: 100%;
    height: 250px;
    background: var(--bg-card);
    position: relative;
    overflow: hidden;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.portfolio-content {
    padding: 32px;
}

.portfolio-tag {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--accent-blue);
    font-weight: 600;
    margin-bottom: 12px;
}

.portfolio-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.portfolio-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.portfolio-tech {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.portfolio-tech span {
    padding: 6px 12px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--accent-blue);
    font-weight: 500;
}

/* Contato Section */
.contato {
    overflow-x: hidden;
}

.contato-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.contato-info {
    min-width: 0;
    width: 100%;
}

.contato-form-wrapper {
    min-width: 0;
    width: 100%;
}

.contato-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 40px;
}

.detail-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.detail-icon {
    width: 56px;
    height: 56px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    flex-shrink: 0;
}

.detail-icon svg {
    width: 24px;
    height: 24px;
    display: block;
    flex-shrink: 0;
}

.detail-content h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.detail-content p {
    color: var(--text-secondary);
    margin: 0;
}

.detail-item-link {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-normal);
    border-radius: 12px;
    padding: 8px;
    margin: -8px;
}

.detail-item-link:hover {
    background: rgba(56, 189, 248, 0.05);
    transform: translateX(4px);
}

.detail-item-link .detail-icon {
    transition: all var(--transition-normal);
}

.detail-item-link:hover .detail-icon {
    background: rgba(56, 189, 248, 0.2);
    border-color: var(--accent-blue);
    transform: scale(1.05);
}

.detail-item-whatsapp .detail-icon {
    color: #25D366;
    border-color: rgba(37, 211, 102, 0.4);
    background: rgba(37, 211, 102, 0.1);
}

.detail-item-discord .detail-icon {
    color: #5865F2;
    border-color: rgba(88, 101, 242, 0.4);
    background: rgba(88, 101, 242, 0.12);
}

.contato-form-wrapper {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 24px;
    padding: 40px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-width: 0;
    overflow: visible;
}

.contato-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 18px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: all var(--transition-normal);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    background: rgba(15, 23, 42, 0.8);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Mensagens de Formulário */
.form-message {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 2px solid;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
    animation: slideDown 0.3s ease;
}

.form-message strong {
    font-weight: 600;
}

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

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid rgba(56, 189, 248, 0.1);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 16px;
    line-height: 1.7;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 1rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: var(--accent-blue);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(56, 189, 248, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 968px) {
    .nav-links {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero {
        padding-bottom: 80px;
    }

    .hero-badge {
        margin: 0 auto;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .sobre-grid {
        grid-template-columns: 1fr;
    }
    
    .contato-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        min-width: 0;
    }
    
    .contato-info {
        min-width: 0;
        width: 100%;
    }
    
    .contato-form-wrapper {
        padding: 24px;
        min-width: 0;
        width: 100%;
        max-width: 100%;
    }
    
    .visual-stack {
        height: 350px;
        min-height: 350px;
    }
    
    .stack-card {
        max-width: 280px;
    }
    
    .card-2 {
        top: 25px;
        left: 25px;
    }
    
    .card-3 {
        top: 50px;
        left: 50px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .logo-img {
        height: 40px !important;
        width: 40px !important;
        aspect-ratio: 1 / 1 !important;
        max-height: 40px !important;
        max-width: 40px !important;
    }
    
    .navbar .logo-img {
        height: 40px !important;
        width: 40px !important;
        aspect-ratio: 1 / 1 !important;
        max-height: 40px !important;
        max-width: 40px !important;
    }
    
    .footer-brand .logo-img {
        height: 50px !important;
        width: 50px !important;
        aspect-ratio: 1 / 1 !important;
        max-height: 50px !important;
        max-width: 50px !important;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 24px;
        margin-top: 8px;
        padding-top: 24px;
        margin-bottom: 56px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    .scroll-hint {
        bottom: 16px;
    }
    
    .jornada-container {
        max-width: 100%;
    }
    
    .jornada-etapa {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .jornada-etapa.highlight {
        margin-top: 32px;
    }
    
    .etapa-number {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
    
    .jornada-etapa.highlight .etapa-number {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
    }
    
    .etapa-content {
        width: 100%;
    }
    
    .etapa-header {
        text-align: center;
        margin-bottom: 16px;
    }
    
    .etapa-header h3 {
        font-size: 1.5rem;
    }
    
    .jornada-connector {
        padding: 16px 0;
    }
    
    .servicos-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .contato-grid {
        gap: 32px;
        min-width: 0;
    }
    
    .contato-info {
        min-width: 0;
        width: 100%;
    }
    
    .contato-form-wrapper {
        padding: 20px;
        min-width: 0;
        width: 100%;
        max-width: 100%;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        max-width: 100%;
    }
    
    .visual-stack {
        height: 300px;
        min-height: 300px;
        margin: 0 auto;
        max-width: 280px;
    }
    
    .stack-card {
        max-width: 100%;
        position: relative;
        margin-bottom: 16px;
    }
    
    .card-1,
    .card-2,
    .card-3 {
        position: relative;
        top: 0;
        left: 0;
        opacity: 1;
        z-index: 1;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 64px;
    height: 64px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all var(--transition-normal);
    text-decoration: none;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    display: block;
    flex-shrink: 0;
}

.whatsapp-tooltip {
    position: absolute;
    right: 80px;
    background: rgba(10, 14, 39, 0.95);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-normal);
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid rgba(10, 14, 39, 0.95);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    right: 76px;
}

@keyframes pulse-whatsapp {
    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);
    }
}

@media (max-width: 640px) {
    .whatsapp-float {
        width: 56px;
        height: 56px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
}
