/* ============================================
   RESET & BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0f172a;
    --primary-light: #1e293b;
    --accent: #8b5cf6;
    --accent-light: #a78bfa;
    --accent-glow: rgba(139, 92, 246, 0.3);
    --gold: #d4af37;
    --text: #334155;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --bg-card: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--bg-light);
    overflow-x: hidden;
    cursor: default;
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.cursor-dot {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
    mix-blend-mode: difference;
}

.cursor-ring {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: all 0.15s ease-out;
    mix-blend-mode: difference;
    opacity: 0.5;
}

/* ============================================
   PARTICLES CANVAS
   ============================================ */
#particlesCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.6;
}

/* ============================================
   UTILITIES
   ============================================ */
.container {
    max-width: 1100px;
    margin: auto;
    padding: 20px;
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

/* ============================================
   PREMIUM ANIMATIONS - FLOATING ELEMENTS
   ============================================ */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-10px) rotate(1deg); }
    66% { transform: translateY(5px) rotate(-1deg); }
}

@keyframes floatSlow {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 20px var(--accent-glow); }
    50% { box-shadow: 0 0 40px var(--accent-glow), 0 0 60px rgba(139, 92, 246, 0.1); }
}

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

@keyframes morphBlob {
    0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
}

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

@keyframes textReveal {
    0% { clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); }
    100% { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
}

@keyframes scaleIn {
    0% { transform: scale(0); opacity: 0; }
    70% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    z-index: 999;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 30px rgba(0,0,0,0.06);
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    transition: height 0.4s ease;
}

.header.scrolled .nav {
    height: 60px;
}

.logo {
    font-weight: 300;
    letter-spacing: 2px;
    font-size: 1.2rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    cursor: pointer;
}

.logo span {
    font-weight: 600;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
    transition: width 0.5s ease;
}

.logo:hover::after {
    width: 100%;
}

.menu a {
    margin-left: 25px;
    text-decoration: none;
    color: var(--text-light);
    font-size: 14px;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s;
    letter-spacing: 0.5px;
}

.menu a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    transition: width 0.3s ease;
    border-radius: 2px;
}

.menu a:hover {
    color: var(--primary);
}

.menu a:hover::before {
    width: 100%;
}

/* Mobile Menu Icon */
.menu-mobile-icon {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    z-index: 1000;
}

.menu-mobile-icon span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition-bounce);
}

.menu-mobile-icon.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-mobile-icon.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.menu-mobile-icon.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 998;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-overlay a {
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    padding: 15px;
    transition: all 0.3s;
    position: relative;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mobile-menu-overlay.active a {
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu-overlay.active a:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu-overlay.active a:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu-overlay.active a:nth-child(3) { transition-delay: 0.3s; }
.mobile-menu-overlay.active a:nth-child(4) { transition-delay: 0.4s; }

.mobile-menu-overlay a::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s;
}

.mobile-menu-overlay a:hover::after {
    width: 60%;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    margin-top: 70px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: heroGlow 8s ease-in-out infinite, morphBlob 12s ease-in-out infinite;
}

@keyframes heroGlow {
    0%, 100% { transform: scale(1) translate(0, 0); opacity: 0.5; }
    50% { transform: scale(1.2) translate(-20px, 20px); opacity: 1; }
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: heroGlow 10s ease-in-out infinite reverse;
}

.hero-text {
    flex: 1;
    position: relative;
    z-index: 2;
}

.hero-image {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-img-wrapper {
    position: relative;
    display: inline-block;
    animation: floatSlow 6s ease-in-out infinite;
    perspective: 1000px;
}

.hero-img-wrapper img {
    width: 100%;
    max-width: 400px;
    border-radius: 200px 200px 0 0;
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 2;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-style: preserve-3d;
}

.hero-img-wrapper:hover img {
    transform: scale(1.02) rotateY(-3deg) rotateX(3deg);
}

.hero-img-glow {
    position: absolute;
    inset: -10px;
    background: linear-gradient(135deg, var(--accent), transparent, var(--accent-light));
    border-radius: 200px 200px 0 0;
    opacity: 0.2;
    filter: blur(20px);
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.2; filter: blur(20px); transform: scale(1); }
    50% { opacity: 0.4; filter: blur(30px); transform: scale(1.05); }
}

/* Animated floating badge on hero image */
.hero-badge-float {
    position: absolute;
    top: 10%;
    right: -5%;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    padding: 12px 18px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    border: 1px solid rgba(255,255,255,0.5);
    animation: floatBadge 7s ease-in-out infinite;
}

.hero-badge-float i {
    color: var(--gold);
    font-size: 1.2rem;
}

@keyframes floatBadge {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(5px, -10px); }
    50% { transform: translate(-3px, 5px); }
    75% { transform: translate(8px, -3px); }
}

.tag {
    border: 1px solid rgba(139, 92, 246, 0.2);
    display: inline-block;
    padding: 8px 16px;
    font-size: 12px;
    border-radius: 20px;
    margin-bottom: 20px;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 1px;
    background: rgba(139, 92, 246, 0.05);
    animation: tagPulse 2s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.1), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes tagPulse {
    0%, 100% { border-color: rgba(139, 92, 246, 0.2); box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.1); }
    50% { border-color: rgba(139, 92, 246, 0.5); box-shadow: 0 0 20px rgba(139, 92, 246, 0.1); }
}

h1 {
    font-size: 52px;
    font-weight: 300;
    line-height: 1.1;
    color: var(--primary);
    margin-bottom: 20px;
}

h1 span {
    background: linear-gradient(135deg, var(--accent), var(--accent-light), #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    background-size: 200% 200%;
    animation: gradientShift 4s ease-in-out infinite;
}

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

.buttons {
    margin-top: 35px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: 16px 32px;
    text-decoration: none;
    border-radius: 8px;
    margin-right: 10px;
    display: inline-block;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.3);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-outline {
    border: 2px solid rgba(15, 23, 42, 0.15);
    padding: 16px 32px;
    text-decoration: none;
    color: var(--primary);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-outline::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn-outline:hover::before {
    opacity: 1;
}

.btn-outline:hover {
    border-color: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.2);
}

.btn-primary > *, .btn-outline > * {
    position: relative;
    z-index: 2;
}

/* ============================================
   ABOUT (SOBRE)
   ============================================ */
.sobre {
    background: linear-gradient(135deg, #f1f5f9 0%, #f8fafc 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.sobre::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, var(--bg-light), transparent);
    pointer-events: none;
}

/* Decorative blobs */
.sobre::after {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.04), transparent 70%);
    border-radius: 50%;
    animation: morphBlob 15s ease-in-out infinite;
}

.sobre-grid {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

.sobre-text {
    flex: 1;
    min-width: 280px;
}

.sobre-text h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.sobre-text h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    border-radius: 2px;
    transition: width 0.5s ease;
}

.sobre-text:hover h2::after {
    width: 100%;
}

.sobre-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.cards {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    flex: 1;
    min-width: 280px;
}

.card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    flex: 1;
    min-width: 220px;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light), #c084fc);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
    background-size: 200% 200%;
}

.card:hover::before {
    transform: scaleX(1);
    animation: shimmer 2s linear infinite;
}

.card:hover {
    transform: translateY(-8px) rotateX(5deg);
    box-shadow: var(--shadow-xl);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    display: inline-block;
    transition: var(--transition-bounce);
}

.card:hover .card-icon {
    transform: scale(1.2) rotate(-5deg);
}

.card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.card ul {
    list-style: none;
}

.card li {
    margin-bottom: 15px;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    transition: var(--transition-fast);
    padding-left: 0;
}

.card li:hover {
    color: var(--primary);
    padding-left: 5px;
}

.card li strong {
    color: var(--primary);
}

.download {
    text-align: center;
    margin-top: 50px;
    padding: 40px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
}

.download::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--gold), var(--accent-light));
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}

.download p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

/* ============================================
   ESPECIALIDADES
   ============================================ */
.especialidades {
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.especialidades h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}

.especialidades h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    border-radius: 2px;
}

.especialidades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.esp-card {
    padding: 35px 25px;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: var(--radius);
    background: var(--bg-card);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.esp-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.03), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.esp-card:hover::before {
    opacity: 1;
}

.esp-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.esp-card:hover::after {
    transform: scaleX(1);
}

.esp-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: rgba(139, 92, 246, 0.15);
}

.esp-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: inline-block;
    animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-8px) scale(1.1); }
}

.esp-card:nth-child(2) .esp-icon { animation-delay: 0.5s; }
.esp-card:nth-child(3) .esp-icon { animation-delay: 1s; }
.esp-card:nth-child(4) .esp-icon { animation-delay: 1.5s; }

.esp-card h3 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 10px;
    transition: var(--transition-fast);
}

.esp-card:hover h3 {
    color: var(--accent);
}

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

/* ============================================
   STATS COUNTER
   ============================================ */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 800px;
    margin: 60px auto 0;
    padding: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.stats-bar::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(139, 92, 246, 0.1), transparent 50%);
    animation: rotateGlow 20s linear infinite;
}

.stat-item {
    text-align: center;
    position: relative;
    z-index: 2;
    color: white;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff, var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    margin-top: 5px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 100px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: morphBlob 15s ease-in-out infinite;
}

.footer::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: morphBlob 18s ease-in-out infinite reverse;
}

.footer-grid {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.footer-grid > div:first-child {
    flex: 2;
    min-width: 280px;
}

.footer h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff, var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer p {
    color: #94a3b8;
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 1rem;
}

.contact p {
    color: #cbd5e1;
    margin-bottom: 10px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-fast);
    padding: 8px 12px;
    border-radius: 8px;
}

.contact p:hover {
    background: rgba(139, 92, 246, 0.05);
    transform: translateX(5px);
}

.social {
    flex: 1;
    min-width: 220px;
}

.social h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--accent-light);
}

.social a {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    padding: 14px 18px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    text-decoration: none;
    color: #cbd5e1;
    transition: var(--transition);
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

.social a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.social a:hover::before {
    opacity: 1;
}

.social a:hover {
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateX(8px);
    color: white;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.1);
}

.copyright {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.06);
    font-size: 14px;
    color: #64748b;
    position: relative;
    z-index: 2;
}

/* ============================================
   WHATSAPP FLOATING
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition-bounce);
    animation: whatsappPulse 2s ease-in-out infinite;
}

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); transform: scale(1); }
    50% { box-shadow: 0 4px 40px rgba(37, 211, 102, 0.6), 0 0 60px rgba(37, 211, 102, 0.2); transform: scale(1.05); }
}

.whatsapp-float:hover {
    transform: scale(1.15) rotate(-10deg);
    box-shadow: 0 8px 40px rgba(37, 211, 102, 0.5);
}

/* WhatsApp tooltip */
.whatsapp-tooltip {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background: white;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    z-index: 998;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 500;
    opacity: 0;
    transform: translateY(10px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
    white-space: nowrap;
}

.whatsapp-tooltip.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 24px;
    width: 16px;
    height: 16px;
    background: white;
    transform: rotate(45deg);
    border-radius: 2px;
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 35px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid rgba(0,0,0,0.06);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    z-index: 998;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.back-to-top:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--accent-glow);
}

/* ============================================
   CUSTOM SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent), var(--accent-light));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ============================================
   PAGE LOADER
   ============================================ */
.page-loader {
    position: fixed;
    inset: 0;
    background: var(--bg-light);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(139, 92, 246, 0.1);
    border-top: 3px solid var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* ============================================
   PARALLAX SHAPES
   ============================================ */
.parallax-shape {
    position: fixed;
    pointer-events: none;
    z-index: 0;
    border-radius: 50%;
    opacity: 0.03;
}

.parallax-shape-1 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    top: 20%;
    left: -100px;
    animation: morphBlob 20s ease-in-out infinite;
}

.parallax-shape-2 {
    width: 250px;
    height: 250px;
    background: var(--gold);
    bottom: 30%;
    right: -50px;
    animation: morphBlob 15s ease-in-out infinite reverse;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .cursor-dot, .cursor-ring {
        display: none;
    }

    .menu {
        display: none;
    }

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

    .hero {
        flex-direction: column;
        text-align: center;
        margin-top: 60px;
        gap: 40px;
    }

    .hero::before {
        width: 300px;
        height: 300px;
        top: -10%;
        right: -20%;
    }

    h1 {
        font-size: 36px;
    }

    .hero-text p {
        margin: 0 auto;
    }

    .buttons {
        justify-content: center;
    }

    .hero-image img {
        max-width: 280px;
    }

    .hero-badge-float {
        display: none;
    }

    .sobre-grid {
        flex-direction: column;
    }

    .sobre-text h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

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

    .cards {
        justify-content: center;
    }

    .stats-bar {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 30px 20px;
    }

    .footer-grid {
        flex-direction: column;
        text-align: center;
    }

    .contact p {
        justify-content: center;
    }

    .social a:hover {
        transform: translateX(0) translateY(-2px);
    }

    .footer h2 {
        font-size: 1.6rem;
    }

    .especialidades-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 20px;
    }

    .download {
        padding: 25px;
    }

    .whatsapp-tooltip {
        display: none;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 28px;
    }

    .btn-primary, .btn-outline {
        padding: 14px 24px;
        font-size: 0.85rem;
    }
}
