/* ========================================
   ÊXITO TELECOM - Premium Design System
   Stunning Visual Experience
   ======================================== */

/* Fontes Premium - Mais Distintas */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800;900&family=Syne:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

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

:root {
    /* Paleta Vibrante Premium */
    --cor-primaria: #0D0D0D;
    --cor-secundaria: #1A1A2E;
    --accent-gold: #F5A623;
    --accent-coral: #FF6B6B;
    --accent-cyan: #00D9FF;
    --accent-purple: #A855F7;
    --accent-emerald: #10B981;
    
    /* Cores das Operadoras */
    --claro-red: #DA291C;
    --tim-blue: #004B87;
    --vivo-purple: #660099;
    
    /* WhatsApp */
    --cor-whatsapp: #25D366;
    --cor-whatsapp-dark: #128C7E;
    
    /* Gradientes */
    --gradient-hero: linear-gradient(135deg, #0D0D0D 0%, #1A1A2E 50%, #16213E 100%);
    --gradient-gold: linear-gradient(135deg, #F5A623 0%, #FF8C00 100%);
    --gradient-coral: linear-gradient(135deg, #FF6B6B 0%, #EE5A5A 100%);
    --gradient-mesh: radial-gradient(at 40% 20%, hsla(28,100%,74%,0.3) 0px, transparent 50%),
                     radial-gradient(at 80% 0%, hsla(189,100%,56%,0.2) 0px, transparent 50%),
                     radial-gradient(at 0% 50%, hsla(355,100%,93%,0.2) 0px, transparent 50%),
                     radial-gradient(at 80% 50%, hsla(340,100%,76%,0.15) 0px, transparent 50%),
                     radial-gradient(at 0% 100%, hsla(22,100%,77%,0.3) 0px, transparent 50%);
    
    /* Tons Neutros */
    --texto-light: #F8FAFC;
    --texto-muted: #94A3B8;
    --texto-dark: #0F172A;
    
    /* Fundos */
    --bg-light: #FAFAFA;
    --bg-card: rgba(255, 255, 255, 0.9);
    --bg-glass: rgba(255, 255, 255, 0.08);
    --bg-glass-strong: rgba(255, 255, 255, 0.15);
    
    /* Fontes */
    --fonte-display: 'Playfair Display', serif;
    --fonte-heading: 'Syne', sans-serif;
    --fonte-body: 'Inter', sans-serif;
    
    /* Transições */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-fast: 0.2s var(--ease-out-expo);
    --transition-normal: 0.4s var(--ease-out-expo);
    --transition-slow: 0.6s var(--ease-out-expo);
    
    /* Sombras */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-glow-gold: 0 0 40px rgba(245, 166, 35, 0.4);
    --shadow-glow-cyan: 0 0 40px rgba(0, 217, 255, 0.4);
    
    /* Bordas */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(245, 166, 35, 0.3); }
    50% { box-shadow: 0 0 40px rgba(245, 166, 35, 0.6); }
}

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

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

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

@keyframes particle-float {
    0%, 100% { 
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0.6;
    }
    50% { 
        transform: translateY(-100px) translateX(50px) scale(1.2);
        opacity: 1;
    }
}

/* Base */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--fonte-body);
    font-size: 1rem;
    color: var(--texto-dark);
    line-height: 1.7;
    background: var(--bg-light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 92%;
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Tipografia */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--fonte-heading);
    color: var(--texto-dark);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* ========================================
   HEADER - Glassmorphism Premium
   ======================================== */
#main-header {
    background: rgba(13, 13, 13, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    animation: fadeIn 0.8s var(--ease-out-expo);
}

.logo-container {
    max-width: 180px;
    margin: 0 auto;
    transition: var(--transition-normal);
    filter: brightness(1.1);
}

.logo-container:hover {
    transform: scale(1.08);
    filter: brightness(1.3) drop-shadow(0 0 20px rgba(245, 166, 35, 0.5));
}

/* ========================================
   HERO SECTION - Immersive Experience
   ======================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--gradient-hero);
    padding: 8rem 0;
}

/* Animated Background Mesh */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-mesh);
    opacity: 0.8;
    animation: gradient-shift 15s ease infinite;
    background-size: 400% 400%;
}

/* Animated Blob Background */
.hero-section::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.15), rgba(0, 217, 255, 0.1));
    filter: blur(80px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: blob 8s ease-in-out infinite;
    pointer-events: none;
}

/* Particles */
.hero-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--accent-gold);
    border-radius: 50%;
    animation: particle-float 8s ease-in-out infinite;
    pointer-events: none;
}

.hero-particle:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.hero-particle:nth-child(2) { top: 60%; left: 85%; animation-delay: 2s; background: var(--accent-cyan); }
.hero-particle:nth-child(3) { top: 80%; left: 15%; animation-delay: 4s; background: var(--accent-coral); }
.hero-particle:nth-child(4) { top: 30%; left: 90%; animation-delay: 1s; }
.hero-particle:nth-child(5) { top: 70%; left: 50%; animation-delay: 3s; background: var(--accent-purple); }

.hero-text {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero-text h1 {
    font-family: var(--fonte-display);
    color: #FFFFFF;
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.03em;
    animation: fadeInUp 1s var(--ease-out-expo) 0.2s both;
    text-shadow: 0 4px 60px rgba(0, 0, 0, 0.5);
}

/* Golden Accent Text */
.hero-text h1 span.accent {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text h2 {
    color: rgba(255, 255, 255, 0.85);
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 400;
    font-family: var(--fonte-body);
    margin-bottom: 2rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    animation: fadeInUp 1s var(--ease-out-expo) 0.4s both;
}

.hero-cta-text {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    animation: fadeInUp 1s var(--ease-out-expo) 0.6s both;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s var(--ease-out-expo) 0.8s both;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.1rem 2.5rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.05em;
    transition: var(--transition-normal);
    color: #fff;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.btn-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn-hero:hover::before {
    transform: translateX(100%);
}

.btn-hero i {
    font-size: 1.4rem;
    transition: var(--transition-fast);
}

.btn-hero:hover i {
    transform: scale(1.2);
}

/* Cores específicas das operadoras */
.btn-claro {
    background: linear-gradient(135deg, #DA291C 0%, #FF4136 100%);
    box-shadow: 0 4px 25px rgba(218, 41, 28, 0.4);
}

.btn-claro:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 40px rgba(218, 41, 28, 0.6);
}

.btn-tim {
    background: linear-gradient(135deg, #004B87 0%, #0066B3 100%);
    box-shadow: 0 4px 25px rgba(0, 75, 135, 0.4);
}

.btn-tim:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 40px rgba(0, 75, 135, 0.6);
}

.btn-vivo {
    background: linear-gradient(135deg, #660099 0%, #8B00CC 100%);
    box-shadow: 0 4px 25px rgba(102, 0, 153, 0.4);
}

.btn-vivo:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 40px rgba(102, 0, 153, 0.6);
}

/* ========================================
   SOBRE SECTION - Elegant Minimal
   ======================================== */
.sobre-section {
    padding: 8rem 0;
    background: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.sobre-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 166, 35, 0.08) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    pointer-events: none;
}

.sobre-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.sobre-content h2 {
    font-family: var(--fonte-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 2rem;
    color: var(--texto-dark);
    position: relative;
    display: inline-block;
}

.sobre-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-gold);
    border-radius: var(--radius-full);
}

.sobre-content p {
    font-size: 1.25rem;
    color: var(--texto-muted);
    line-height: 1.9;
    margin-top: 1.5rem;
}

/* ========================================
   PARCEIRAS SECTION - Glass Cards
   ======================================== */
.parceiras-section {
    padding: 8rem 0;
    background: linear-gradient(180deg, #F8F9FA 0%, #FFFFFF 100%);
    position: relative;
}

.section-title {
    text-align: center;
    font-family: var(--fonte-display);
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 4rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-gold);
    border-radius: var(--radius-full);
}

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

.card-parceira {
    background: #FFFFFF;
    border-radius: var(--radius-xl);
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.card-parceira::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease-out-expo);
}

.card-parceira:hover::before {
    transform: scaleX(1);
}

.card-parceira:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(245, 166, 35, 0.1);
}

/* Card colors based on operator */
.card-parceira:nth-child(1):hover {
    box-shadow: var(--shadow-xl), 0 20px 60px rgba(218, 41, 28, 0.15);
}

.card-parceira:nth-child(1)::before {
    background: linear-gradient(135deg, #DA291C, #FF4136);
}

.card-parceira:nth-child(2):hover {
    box-shadow: var(--shadow-xl), 0 20px 60px rgba(0, 75, 135, 0.15);
}

.card-parceira:nth-child(2)::before {
    background: linear-gradient(135deg, #004B87, #0066B3);
}

.card-parceira:nth-child(3):hover {
    box-shadow: var(--shadow-xl), 0 20px 60px rgba(102, 0, 153, 0.15);
}

.card-parceira:nth-child(3)::before {
    background: linear-gradient(135deg, #660099, #8B00CC);
}

.card-parceira h3 {
    font-family: var(--fonte-heading);
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    color: var(--texto-dark);
    transition: var(--transition-fast);
}

.card-parceira:nth-child(1):hover h3 { color: var(--claro-red); }
.card-parceira:nth-child(2):hover h3 { color: var(--tim-blue); }
.card-parceira:nth-child(3):hover h3 { color: var(--vivo-purple); }

.card-parceira h4 {
    font-size: 1rem;
    color: var(--texto-muted);
    margin-bottom: 1.5rem;
    font-weight: 500;
    font-family: var(--fonte-body);
}

.card-parceira p {
    margin-bottom: 2rem;
    color: var(--texto-dark);
    line-height: 1.7;
    flex-grow: 1;
}

.btn-card {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--texto-dark);
    color: #fff;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn-card:hover::before {
    transform: translateX(100%);
}

.card-parceira:nth-child(1) .btn-card:hover {
    background: var(--claro-red);
    transform: scale(1.05);
}

.card-parceira:nth-child(2) .btn-card:hover {
    background: var(--tim-blue);
    transform: scale(1.05);
}

.card-parceira:nth-child(3) .btn-card:hover {
    background: var(--vivo-purple);
    transform: scale(1.05);
}

/* ========================================
   FEATURES SECTION - Icon Grid
   ======================================== */
.features-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, #0D0D0D 0%, #1A1A2E 100%);
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-mesh);
    opacity: 0.4;
}

.features-section .section-title {
    color: #FFFFFF;
}

.features-section .section-title::after {
    background: var(--gradient-gold);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    position: relative;
    z-index: 2;
}

.feature-item {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: var(--transition-normal);
}

.feature-item:hover {
    transform: translateY(-8px);
    background: var(--bg-glass-strong);
    border-color: rgba(245, 166, 35, 0.3);
}

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

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: var(--transition-normal);
}

.feature-item:hover .feature-icon {
    transform: scale(1.15);
    filter: drop-shadow(0 0 20px rgba(245, 166, 35, 0.5));
}

.feature-item h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #FFFFFF;
    font-family: var(--fonte-heading);
    letter-spacing: 0.05em;
}

.feature-item p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ========================================
   FOOTER - Premium Dark
   ======================================== */
.main-footer {
    background: linear-gradient(135deg, #0D0D0D 0%, #1A1A2E 100%);
    color: var(--texto-light);
    padding: 6rem 0 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.main-footer::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(245, 166, 35, 0.1) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    pointer-events: none;
}

.footer-cta {
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.footer-cta h3 {
    font-family: var(--fonte-display);
    color: #fff;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

.footer-cta p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.btn-whatsapp-footer {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #fff;
    padding: 1.2rem 3rem;
    border-radius: var(--radius-full);
    font-size: 1.15rem;
    font-weight: 700;
    transition: var(--transition-normal);
    box-shadow: 0 4px 30px rgba(37, 211, 102, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-whatsapp-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn-whatsapp-footer:hover::before {
    transform: translateX(100%);
}

.btn-whatsapp-footer:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 8px 50px rgba(37, 211, 102, 0.5);
}

.btn-whatsapp-footer i {
    font-size: 1.4rem;
    transition: var(--transition-fast);
}

.btn-whatsapp-footer:hover i {
    transform: scale(1.2);
}

.footer-contact {
    margin: 3rem 0;
    font-size: 1.2rem;
    position: relative;
    z-index: 2;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact p strong {
    color: var(--accent-gold);
}

.copyright {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 2;
}

/* ========================================
   SCROLL ANIMATIONS (Optional JS)
   ======================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--ease-out-expo);
}

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

/* ========================================
   RESPONSIVIDADE
   ======================================== */
@media (max-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }
    
    .hero-text h2 {
        font-size: 1rem;
        letter-spacing: 0.15em;
    }
    
    .hero-btns {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn-hero {
        width: 100%;
        max-width: 280px;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .feature-item {
        padding: 1.5rem 1rem;
    }
    
    .sobre-section,
    .parceiras-section,
    .features-section {
        padding: 5rem 0;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 6rem 0 4rem;
    }
    
    .hero-cta-text {
        font-size: 1.05rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .sobre-content h2 {
        font-size: 1.75rem;
    }
    
    .footer-cta h3 {
        font-size: 1.5rem;
    }
}

/* ========================================
   SELECTION & SCROLLBAR
   ======================================== */
::selection {
    background: var(--accent-gold);
    color: var(--texto-dark);
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--texto-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-gold);
    border-radius: var(--radius-full);
}

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

/* ========================================
   WHATSAPP FLOATING BUTTON
   ======================================== */
@keyframes whatsapp-pulse {
    0%, 100% {
        box-shadow: 0 4px 25px rgba(37, 211, 102, 0.4),
                    0 0 0 0 rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(37, 211, 102, 0.4),
                    0 0 0 15px rgba(37, 211, 102, 0);
    }
}

@keyframes whatsapp-bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: all 0.4s var(--ease-out-expo);
    animation: whatsapp-pulse 2s infinite;
    cursor: pointer;
    text-decoration: none;
}

.whatsapp-float i {
    color: #FFFFFF;
    font-size: 2rem;
    transition: transform 0.3s var(--ease-spring);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
    animation: none;
    box-shadow: 0 8px 40px rgba(37, 211, 102, 0.6);
}

.whatsapp-float:hover i {
    transform: scale(1.15) rotate(-10deg);
}

/* Tooltip */
.whatsapp-tooltip {
    position: absolute;
    right: 80px;
    background: #FFFFFF;
    color: var(--texto-dark);
    padding: 10px 18px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s var(--ease-out-expo);
    pointer-events: none;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 8px 0 8px 8px;
    border-style: solid;
    border-color: transparent transparent transparent #FFFFFF;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 58px;
        height: 58px;
    }
    
    .whatsapp-float i {
        font-size: 1.75rem;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
}
