/* ==========================================================================
   Design System & Tokens (CSS Variables)
   ========================================================================== */
:root {
    /* Color Palette */
    --bg-darker: #020617;     /* Slate 950 */
    --bg-dark: #0f172a;       /* Slate 900 */
    --bg-card: rgba(15, 23, 42, 0.65);
    --border-light: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(99, 102, 241, 0.3);
    
    --text-light: #f8fafc;    /* Slate 50 */
    --text-muted: #94a3b8;    /* Slate 400 */
    --text-dark: #1e293b;     /* Slate 800 */
    
    --primary: #6366f1;       /* Indigo 500 */
    --primary-hover: #4f46e5; /* Indigo 600 */
    --primary-glow: rgba(99, 102, 241, 0.25);
    
    --secondary: #8b5cf6;     /* Violet 500 */
    --secondary-hover: #7c3aed;
    
    /* Pillar Colors */
    --yellow-pillar: #fbbf24;
    --blue-pillar: #3b82f6;
    --purple-pillar: #a855f7;
    --green-pillar: #10b981;
    --orange-pillar: #f97316;

    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-darker);
    color: var(--text-light);
    font-family: var(--font-body);
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Containers & Layout utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center {
    text-align: center;
}

.max-w-600 {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ==========================================================================
   Glow Effects (SaaS Backgrounds)
   ========================================================================== */
.glow-bg {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.45;
}

.glow-hero-1 {
    top: -10%;
    right: 5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
}

.glow-hero-2 {
    top: 30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
}

.glow-pillars {
    top: 20%;
    right: -10%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.3) 0%, transparent 75%);
}

.glow-solutions {
    bottom: 10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.25) 0%, transparent 70%);
}

.glow-contact {
    top: 20%;
    right: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
}

/* ==========================================================================
   Typography & Headers
   ========================================================================== */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.text-gradient {
    background: linear-gradient(135deg, #a5b4fc 0%, #c084fc 50%, #818cf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: #a5b4fc;
    margin-bottom: 1.5rem;
}

.section-badge {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    color: #c084fc;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    border: none;
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--text-light);
    box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* ==========================================================================
   Header / Navbar
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(2, 6, 23, 0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    transition: padding var(--transition-normal);
    padding: 1.25rem 0;
}

.header.scrolled {
    padding: 0.85rem 0;
    background: rgba(2, 6, 23, 0.9);
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.2rem 1.25rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all var(--transition-normal);
}

.logo:hover {
    background: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.15);
}

.header.scrolled .logo {
    padding: 0.15rem 1rem;
}

.logo-img {
    height: 80px;
    width: auto;
    object-fit: contain;
    transition: height var(--transition-normal);
}

.header.scrolled .logo-img {
    height: 58px;
}

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

.nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 2.25rem;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.nav-link:hover {
    color: var(--text-light);
}

.nav-btn {
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
}

/* Hamburger Menu (Mobile) */
.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-light);
    position: relative;
    transition: background var(--transition-fast);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--text-light);
    transition: transform var(--transition-fast), top var(--transition-fast);
}

.hamburger::before {
    top: -6px;
}

.hamburger::after {
    top: 6px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    padding-top: 10rem;
    padding-bottom: 6rem;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    max-width: 620px;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 4rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
}

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

.stat-num {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-light);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   Interactive Orbit Engine (Hero Visual)
   ========================================================================== */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.orbit-system {
    position: relative;
    width: 500px;
    height: 500px;
}

/* Center core (Escola) */
.orbit-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, var(--bg-dark) 30%, #1e1b4b 100%);
    border: 2px solid rgba(99, 102, 241, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 0 35px rgba(99, 102, 241, 0.35);
}

.center-glow {
    position: absolute;
    width: 120%;
    height: 120%;
    border-radius: 50%;
    background: var(--primary);
    filter: blur(15px);
    opacity: 0.15;
    animation: pulseGlow 4s infinite alternate ease-in-out;
}

.center-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #e0e7ff;
}

/* Orbit tracks */
.orbit-path {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px dashed rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.path-1 { width: 220px; height: 220px; }
.path-2 { width: 340px; height: 340px; }
.path-3 { width: 460px; height: 460px; }

/* Orbit Nodes */
.orbit-node {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 5;
    cursor: pointer;
    transition: transform var(--transition-fast);
}

.node-dot {
    display: block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--color);
    box-shadow: 0 0 15px var(--color);
    position: relative;
    z-index: 2;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.node-dot::after {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border-radius: 50%;
    border: 1px solid var(--color);
    opacity: 0;
    transition: transform var(--transition-normal), opacity var(--transition-normal);
}

.node-label {
    position: absolute;
    top: 50%;
    left: 28px;
    transform: translateY(-50%);
    white-space: nowrap;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid var(--border-light);
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-light);
    opacity: 0.85;
    transition: opacity var(--transition-fast), border var(--transition-fast), background var(--transition-fast);
    backdrop-filter: blur(5px);
}

/* Hover effects on individual nodes */
.orbit-node:hover {
    z-index: 100;
}

.orbit-node:hover .node-dot {
    transform: scale(1.35);
    box-shadow: 0 0 25px var(--color);
}

.orbit-node:hover .node-dot::after {
    transform: scale(1.4);
    opacity: 0.6;
}

.orbit-node:hover .node-label {
    opacity: 1;
    border-color: var(--color);
    background: rgba(15, 23, 42, 0.98);
}

/* CSS Orbit Rotation Animations */
.node-yellow { animation: orbitSpin1 35s linear infinite; }
.node-blue   { animation: orbitSpin2 35s linear infinite; }
.node-purple { animation: orbitSpin3 50s linear infinite; }
.node-green  { animation: orbitSpin4 50s linear infinite; }
.node-orange { animation: orbitSpin5 65s linear infinite; }

/* Pause on system hover */
.orbit-system:hover .orbit-node {
    animation-play-state: paused;
}

/* Animation declarations for orbiting */
@keyframes orbitSpin1 {
    from { transform: translate(-50%, -50%) rotate(0deg) translateX(110px) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg) translateX(110px) rotate(-360deg); }
}
@keyframes orbitSpin2 {
    from { transform: translate(-50%, -50%) rotate(120deg) translateX(110px) rotate(-120deg); }
    to { transform: translate(-50%, -50%) rotate(480deg) translateX(110px) rotate(-480deg); }
}
@keyframes orbitSpin3 {
    from { transform: translate(-50%, -50%) rotate(60deg) translateX(170px) rotate(-60deg); }
    to { transform: translate(-50%, -50%) rotate(420deg) translateX(170px) rotate(-420deg); }
}
@keyframes orbitSpin4 {
    from { transform: translate(-50%, -50%) rotate(240deg) translateX(170px) rotate(-240deg); }
    to { transform: translate(-50%, -50%) rotate(600deg) translateX(170px) rotate(-600deg); }
}
@keyframes orbitSpin5 {
    from { transform: translate(-50%, -50%) rotate(300deg) translateX(230px) rotate(-300deg); }
    to { transform: translate(-50%, -50%) rotate(660deg) translateX(230px) rotate(-660deg); }
}

@keyframes pulseGlow {
    from { transform: translate(-50%, -50%) scale(0.95); opacity: 0.1; }
    to { transform: translate(-50%, -50%) scale(1.1); opacity: 0.25; }
}

/* ==========================================================================
   About Section (Sobre)
   ========================================================================== */
.about {
    padding: 8rem 0;
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-info {
    max-width: 540px;
}

.about-quote {
    margin-top: 2.5rem;
    padding-left: 1.5rem;
    border-left: 3px solid var(--secondary);
    font-style: italic;
    font-size: 1.15rem;
    color: #e2e8f0;
}

.about-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    transition: all var(--transition-normal);
}

.about-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.05);
}

.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(99, 102, 241, 0.1);
    color: #a5b4fc;
    margin-bottom: 1.5rem;
}

.card-icon svg {
    width: 24px;
    height: 24px;
}

.about-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.about-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================================================
   Pillars Section (Método Órbita)
   ========================================================================== */
.pillars {
    padding: 8rem 0;
    position: relative;
    background: linear-gradient(180deg, var(--bg-darker) 0%, #090d1a 50%, var(--bg-darker) 100%);
}

.pillars-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 4rem;
    align-items: stretch;
}

/* Pillar detail card dynamic display */
.pillar-display {
    position: relative;
    min-height: 380px;
}

.pillar-detail-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
    transition: opacity var(--transition-normal), transform var(--transition-normal);
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 3rem;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pillar-detail-card.active {
    position: relative;
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.pillar-indicator {
    width: 60px;
    height: 4px;
    border-radius: 2px;
    margin-bottom: 1.5rem;
}

.indicator-yellow { background-color: var(--yellow-pillar); box-shadow: 0 0 10px var(--yellow-pillar); }
.indicator-blue   { background-color: var(--blue-pillar); box-shadow: 0 0 10px var(--blue-pillar); }
.indicator-purple { background-color: var(--purple-pillar); box-shadow: 0 0 10px var(--purple-pillar); }
.indicator-green  { background-color: var(--green-pillar); box-shadow: 0 0 10px var(--green-pillar); }
.indicator-orange { background-color: var(--orange-pillar); box-shadow: 0 0 10px var(--orange-pillar); }

.pillar-tag {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.pillar-detail-title {
    font-size: 2.25rem;
    margin-bottom: 1.25rem;
}

.pillar-detail-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.pillar-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    list-style: none;
}

.pillar-features li {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-light);
}

/* Selector list on the right */
.pillars-selector {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pillar-selector-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 1.25rem 1.75rem;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.pillar-selector-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.pillar-selector-item.active {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--active-border-color, var(--primary));
    transform: translateX(10px);
}

.selector-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    transition: transform var(--transition-fast);
}

.selector-icon svg {
    width: 20px;
    height: 20px;
}

.icon-yellow { background: rgba(251, 191, 36, 0.1); color: var(--yellow-pillar); }
.icon-blue   { background: rgba(59, 130, 246, 0.1); color: var(--blue-pillar); }
.icon-purple { background: rgba(168, 85, 247, 0.1); color: var(--purple-pillar); }
.icon-green  { background: rgba(16, 185, 129, 0.1); color: var(--green-pillar); }
.icon-orange { background: rgba(249, 115, 22, 0.1); color: var(--orange-pillar); }

.pillar-selector-item.active .selector-icon {
    transform: scale(1.1);
}

.selector-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.selector-content p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ==========================================================================
   Target Audience Section (Públicos)
   ========================================================================== */
.audience {
    padding: 8rem 0;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.audience-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 3rem 2.25rem;
    backdrop-filter: blur(10px);
    transition: all var(--transition-normal);
}

.audience-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: 0 12px 35px rgba(99, 102, 241, 0.08);
}

.audience-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(139, 92, 246, 0.1);
    color: #c084fc;
    margin-bottom: 2rem;
}

.audience-icon svg {
    width: 26px;
    height: 26px;
}

.audience-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.audience-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================================================
   Solutions Section (Soluções)
   ========================================================================== */
.solutions {
    padding: 8rem 0;
    position: relative;
    background: linear-gradient(180deg, var(--bg-darker) 0%, #060914 50%, var(--bg-darker) 100%);
}

.solutions-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    color: var(--text-muted);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-light);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-color: transparent;
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.25);
}

.solutions-tabs-content {
    min-height: 350px;
}

.tab-pane {
    display: none;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity var(--transition-normal), transform var(--transition-normal);
}

.tab-pane.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.tab-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.tab-info {
    max-width: 400px;
}

.tab-info h3 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
    line-height: 1.3;
}

.tab-info p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.tab-list-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.solution-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 1.75rem;
    transition: all var(--transition-normal);
}

.solution-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.solution-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #e2e8f0;
}

.solution-item p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* ==========================================================================
   Why Choose Us Section (Diferenciais)
   ========================================================================== */
.diferenciais {
    padding: 8rem 0;
}

.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
}

.diferencial-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 3.5rem 2.5rem 2.5rem;
    backdrop-filter: blur(10px);
    transition: all var(--transition-normal);
}

.diferencial-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: 0 12px 35px rgba(99, 102, 241, 0.08);
}

.card-num {
    position: absolute;
    top: 2rem;
    right: 2.5rem;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: rgba(99, 102, 241, 0.15);
    line-height: 1;
}

.diferencial-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.diferencial-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.diferenciais-highlight {
    margin-top: 5rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
}

.highlight-text p {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: #e2e8f0;
    line-height: 1.5;
}

/* ==========================================================================
   Contact Section & Form (Contato)
   ========================================================================== */
.contact {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 5rem;
    align-items: center;
}

.contact-info {
    max-width: 500px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.detail-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(99, 102, 241, 0.1);
    color: #a5b4fc;
}

.detail-icon svg {
    width: 22px;
    height: 22px;
}

.detail-text {
    display: flex;
    flex-direction: column;
}

.detail-text span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.detail-text strong {
    font-size: 1rem;
    color: var(--text-light);
    margin-top: 0.15rem;
}

.contact-link {
    text-decoration: none;
}

.contact-link strong {
    color: var(--text-light);
    transition: color var(--transition-fast);
}

.contact-link:hover strong {
    color: var(--primary);
}

/* Glassmorphic Contact Form */
.contact-form-container {
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 3rem;
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #cbd5e1;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 0.8rem 1rem;
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #475569;
}

/* Custom dropdown style */
.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.1em;
    padding-right: 2.5rem;
}

.form-group select option {
    background: var(--bg-dark);
    color: var(--text-light);
}

/* Form Validation Styling */
.form-group.invalid input,
.form-group.invalid select {
    border-color: #ef4444;
}

.form-group.invalid .error-msg {
    display: block;
}

.error-msg {
    display: none;
    font-size: 0.75rem;
    color: #ef4444;
    margin-top: 0.35rem;
}

/* Spinner and Feedback */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--text-light);
    animation: spin 0.8s ease-in-out infinite;
    margin-left: 0.5rem;
}

.spinner.hidden {
    display: none;
}

.form-feedback {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    color: #34d399;
    font-size: 0.95rem;
}

.form-feedback.hidden {
    display: none;
}

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

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--border-light);
    padding: 5rem 0 0;
    position: relative;
    z-index: 10;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 5rem;
    padding-bottom: 4rem;
}

.footer-brand {
    max-width: 380px;
}

.footer-tagline {
    color: var(--text-muted);
    margin-top: 1.25rem;
    font-size: 0.95rem;
}

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

.links-group h4 {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.links-group ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.links-group ul a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.links-group ul a:hover {
    color: var(--text-light);
}

.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding: 2rem 0;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #475569;
}

.developer-tag {
    font-weight: 500;
}

/* ==========================================================================
   Scroll Reveal Animations
   ========================================================================== */
.reveal-up,
.reveal-left,
.reveal-right,
.fade-in-up,
.fade-in {
    opacity: 0;
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal-up { transform: translateY(50px); }
.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }
.fade-in-up { transform: translateY(30px); }

.reveal-up.active,
.reveal-left.active,
.reveal-right.active,
.fade-in-up.active,
.fade-in.active {
    opacity: 1;
    transform: translate(0);
}

/* Delays */
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */

/* Desktop / Laptop sizes */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3.5rem;
    }
    .orbit-system {
        transform: scale(0.9);
    }
}

/* Tablet portrait / large phone */
@media (max-width: 992px) {
    html {
        font-size: 15px;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    /* Hero */
    .hero-container {
        grid-template-columns: 1fr;
        gap: 5rem;
        text-align: center;
    }
    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-stats {
        justify-content: center;
    }
    .hero-visual {
        margin-top: 2rem;
    }
    
    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .about-info {
        max-width: 100%;
    }
    
    /* Pillars (Selectors first, details second for mobile reading) */
    .pillars-layout {
        display: flex;
        flex-direction: column-reverse;
        gap: 2.5rem;
    }
    .pillar-display {
        min-height: 320px;
    }
    
    /* Audience */
    .audience-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Solutions */
    .tab-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .tab-info {
        max-width: 100%;
        text-align: center;
    }
    .tab-info .btn {
        display: inline-flex;
    }
    
    /* Diferenciais */
    .diferenciais-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Contact */
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .contact-info {
        max-width: 100%;
    }
    
    /* Footer */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

/* Small devices (phones) */
@media (max-width: 768px) {
    /* General spacing fixes for mobile */
    .hero {
        padding-top: 8rem;
        padding-bottom: 4rem;
    }
    .about, .pillars, .audience, .solutions, .diferenciais, .contact {
        padding: 4rem 0;
    }

    /* Logo scaling on mobile to save header space */
    .logo-img {
        height: 48px;
    }
    .logo {
        padding: 0.15rem 0.9rem;
    }

    /* Mobile Navigation */
    .mobile-nav-toggle {
        display: block;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: rgba(9, 13, 26, 0.95);
        backdrop-filter: blur(20px);
        border-left: 1px solid var(--border-light);
        z-index: 1000;
        transition: right var(--transition-normal);
        padding: 8rem 2.5rem 3rem;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
    }
    
    .nav.open {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
        width: 100%;
    }
    
    .nav-link {
        font-size: 1.25rem;
        width: 100%;
        display: block;
    }
    
    .nav-btn {
        width: 100%;
        margin-top: 1rem;
        text-align: center;
    }
    
    /* Hamburger Active Style */
    .mobile-nav-toggle[aria-expanded="true"] .hamburger {
        background: transparent;
    }
    .mobile-nav-toggle[aria-expanded="true"] .hamburger::before {
        transform: rotate(45deg);
        top: 0;
    }
    .mobile-nav-toggle[aria-expanded="true"] .hamburger::after {
        transform: rotate(-45deg);
        top: 0;
    }
    
    /* Hero */
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }
    .hero-actions .btn {
        width: 100%;
    }
    .orbit-system {
        transform: scale(0.7);
        width: 350px;
        height: 350px;
    }
    
    /* Scaling animations down for smaller container */
    @keyframes orbitSpin1 {
        from { transform: translate(-50%, -50%) rotate(0deg) translateX(75px) rotate(0deg); }
        to { transform: translate(-50%, -50%) rotate(360deg) translateX(75px) rotate(-360deg); }
    }
    @keyframes orbitSpin2 {
        from { transform: translate(-50%, -50%) rotate(120deg) translateX(75px) rotate(-120deg); }
        to { transform: translate(-50%, -50%) rotate(480deg) translateX(75px) rotate(-480deg); }
    }
    @keyframes orbitSpin3 {
        from { transform: translate(-50%, -50%) rotate(60deg) translateX(120px) rotate(-60deg); }
        to { transform: translate(-50%, -50%) rotate(420deg) translateX(120px) rotate(-420deg); }
    }
    @keyframes orbitSpin4 {
        from { transform: translate(-50%, -50%) rotate(240deg) translateX(120px) rotate(-240deg); }
        to { transform: translate(-50%, -50%) rotate(600deg) translateX(120px) rotate(-600deg); }
    }
    @keyframes orbitSpin5 {
        from { transform: translate(-50%, -50%) rotate(300deg) translateX(160px) rotate(-300deg); }
        to { transform: translate(-50%, -50%) rotate(660deg) translateX(160px) rotate(-660deg); }
    }
    .path-1 { width: 150px; height: 150px; }
    .path-2 { width: 240px; height: 240px; }
    .path-3 { width: 320px; height: 320px; }
    
    /* Compact Pillars selectors for mobile devices */
    .pillar-selector-item {
        padding: 0.8rem 1.25rem;
        gap: 1rem;
    }
    .selector-icon {
        width: 38px;
        height: 38px;
    }
    .selector-icon svg {
        width: 18px;
        height: 18px;
    }
    .selector-content h4 {
        font-size: 1rem;
        margin-bottom: 0;
    }
    .selector-content p {
        display: none; /* Hides subtexts to save massive screen estate */
    }

    /* Solutions Tab items */
    .tab-btn {
        padding: 0.6rem 1.1rem;
        font-size: 0.85rem;
    }
    .tab-list-items {
        grid-template-columns: 1fr;
    }
    
    /* Contact Form */
    .contact-form-container {
        padding: 2rem 1.5rem;
    }
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Footer bottom */
    .footer-bottom-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Very small mobile devices (narrow viewports like SE/SE2/small screens) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2.15rem;
    }
    .section-title {
        font-size: 1.85rem;
    }
    
    /* Scales down orbit system dynamically so it never overflows 320px screens */
    .orbit-system {
        transform: scale(0.8);
        width: 280px;
        height: 280px;
    }
    
    .path-1 { width: 120px; height: 120px; }
    .path-2 { width: 200px; height: 200px; }
    .path-3 { width: 280px; height: 280px; }
    
    @keyframes orbitSpin1 {
        from { transform: translate(-50%, -50%) rotate(0deg) translateX(60px) rotate(0deg); }
        to { transform: translate(-50%, -50%) rotate(360deg) translateX(60px) rotate(-360deg); }
    }
    @keyframes orbitSpin2 {
        from { transform: translate(-50%, -50%) rotate(120deg) translateX(60px) rotate(-120deg); }
        to { transform: translate(-50%, -50%) rotate(480deg) translateX(60px) rotate(-480deg); }
    }
    @keyframes orbitSpin3 {
        from { transform: translate(-50%, -50%) rotate(60deg) translateX(100px) rotate(-60deg); }
        to { transform: translate(-50%, -50%) rotate(420deg) translateX(100px) rotate(-420deg); }
    }
    @keyframes orbitSpin4 {
        from { transform: translate(-50%, -50%) rotate(240deg) translateX(100px) rotate(-240deg); }
        to { transform: translate(-50%, -50%) rotate(600deg) translateX(100px) rotate(-600deg); }
    }
    @keyframes orbitSpin5 {
        from { transform: translate(-50%, -50%) rotate(300deg) translateX(140px) rotate(-300deg); }
        to { transform: translate(-50%, -50%) rotate(660deg) translateX(140px) rotate(-660deg); }
    }
}
