/* ========================================
   DESIGN SYSTEM — DONU BRAND
   ======================================== */
:root {
    --donu-50: #eff6ff;
    --donu-100: #dbeafe;
    --donu-200: #bfdbfe;
    --donu-300: #93c5fd;
    --donu-400: #60a5fa;
    --donu-500: #1a56db;
    --donu-600: #1648b8;
    --donu-700: #0f3a8a;
    --donu-800: #0c2d6b;
    --donu-900: #071d47;
    --donu-950: #040f26;

    --green: #10b981;
    --orange: #f59e0b;
    --red: #ef4444;

    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --gray-950: #030712;

    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-800);
    background: #ffffff;
    overflow-x: hidden;
}

::selection {
    background: var(--donu-500);
    color: white;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--donu-300); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--donu-500); }

/* ========================================
   ANIMATIONS
   ======================================== */

/* Scroll reveal — GSAP controlled
   Elements start visible for no-JS / GSAP fallback.
   GSAP sets initial opacity:0 via fromTo().
   CSS fallback kept for graceful degradation. */
.no-gsap .reveal {
    opacity: 0; transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.no-gsap .reveal.visible { opacity: 1; transform: translateY(0); }
.no-gsap .reveal-left {
    opacity: 0; transform: translateX(-60px);
    transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.no-gsap .reveal-left.visible { opacity: 1; transform: translateX(0); }
.no-gsap .reveal-right {
    opacity: 0; transform: translateX(60px);
    transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.no-gsap .reveal-right.visible { opacity: 1; transform: translateX(0); }
.no-gsap .reveal-scale {
    opacity: 0; transform: scale(0.9);
    transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.no-gsap .reveal-scale.visible { opacity: 1; transform: scale(1); }
.delay-6 { transition-delay: 0.6s; }

/* Shimmer button */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Border beam */
@keyframes border-beam-move {
    0% { offset-distance: 0%; }
    100% { offset-distance: 100%; }
}

/* Bounce scroll indicator */
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* Pulse */
@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* Float */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* Gradient text animation */
@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Counter */
@keyframes count-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Spin slow */
@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Particle float */
@keyframes particle-float {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.4; }
    25% { transform: translate(30px, -50px) scale(1.2); opacity: 0.7; }
    50% { transform: translate(-20px, -100px) scale(0.8); opacity: 0.3; }
    75% { transform: translate(50px, -60px) scale(1.1); opacity: 0.6; }
}

/* ========================================
   HEADER
   ======================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 12px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: all 0.3s;
}
.site-header.scrolled {
    padding: 8px 40px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.06);
}
.site-header.dark-mode {
    background: rgba(4,15,38,0.85);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.logo-link {
    display: flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
}
.logo-link img {
    height: 48px;
    width: auto;
}
.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-menu a {
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-500);
    transition: color 0.2s;
    position: relative;
}
.nav-menu a:hover { color: var(--donu-500); }
.nav-menu a.current {
    color: var(--donu-500);
    font-weight: 600;
}
.dark-mode .nav-menu a { color: rgba(255,255,255,0.6); }
.dark-mode .nav-menu a:hover,
.dark-mode .nav-menu a.current { color: white; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    font-weight: 600;
    font-size: 14px;
    border-radius: var(--radius-sm);
    padding: 10px 24px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}
.btn-primary {
    background: var(--donu-500);
    color: white;
}
.nav-menu .btn-primary {
    color: white;
}
.btn-primary:hover {
    background: var(--donu-600);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(26,86,219,0.3);
}
/* Shimmer overlay on primary button */
.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmer 3s infinite;
}
.btn-secondary {
    background: transparent;
    color: var(--donu-500);
    border: 2px solid var(--donu-200);
}
.btn-secondary:hover {
    border-color: var(--donu-500);
    background: var(--donu-50);
    transform: translateY(-2px);
}
.btn-ghost {
    background: rgba(255,255,255,0.1);
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}
.btn-ghost:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}
.btn-whatsapp {
    background: #25d366;
    color: white;
}
.btn-whatsapp:hover {
    background: #20bd5a;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37,211,102,0.3);
}
.btn-lg { padding: 16px 36px; font-size: 16px; border-radius: var(--radius); }

/* ========================================
   HERO — HOME
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 40px 80px;
    background: linear-gradient(160deg, var(--donu-950) 0%, var(--donu-800) 40%, var(--donu-700) 100%);
    overflow: hidden;
}

/* Background particles */
.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    animation: particle-float linear infinite;
}

/* Glow orbs */
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}
.hero-glow-1 {
    width: 600px;
    height: 600px;
    background: rgba(26,86,219,0.25);
    top: -200px;
    left: -200px;
}
.hero-glow-2 {
    width: 500px;
    height: 500px;
    background: rgba(96,165,250,0.15);
    bottom: -150px;
    right: -150px;
}

/* Dot pattern overlay */
.dot-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.08;
    background-image: radial-gradient(circle, rgba(255,255,255,0.8) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
}

.hero-content { position: relative; z-index: 2; max-width: 800px; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--donu-200);
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
}
.hero-badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse-ring 2s infinite;
    box-shadow: 0 0 8px var(--green);
}

.hero h1 {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 900;
    color: white;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 24px;
}
.hero h1 .gradient-text {
    background: linear-gradient(135deg, var(--donu-300), var(--donu-100), var(--donu-300));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 4s ease infinite;
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: rgba(255,255,255,0.7);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}
.hero .btn-primary {
    background: white;
    color: var(--donu-700) !important;
    font-size: 16px;
    padding: 16px 36px;
    border-radius: var(--radius);
}
.hero .btn-primary:hover {
    box-shadow: 0 8px 40px rgba(255,255,255,0.2);
}
.hero .btn-primary::after {
    background: linear-gradient(90deg, transparent, rgba(26,86,219,0.15), transparent);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite ease-in-out;
    cursor: pointer;
}
.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}
.scroll-mouse-dot {
    width: 3px;
    height: 8px;
    background: var(--donu-300);
    border-radius: 3px;
}

/* Hero mockup */
.hero-mockup {
    position: relative;
    max-width: 320px;
    margin: 0 auto;
    animation: float 6s ease-in-out infinite;
}
.hero-mockup-frame {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 32px;
    padding: 12px;
    backdrop-filter: blur(10px);
}
.hero-mockup-screen {
    background: linear-gradient(180deg, var(--donu-900), var(--donu-800));
    border-radius: 24px;
    height: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    border: 1px solid rgba(255,255,255,0.05);
}
.hero-mockup-screen img {
    height: 60px;
    opacity: 0.9;
}
.hero-mockup-screen span {
    color: rgba(255,255,255,0.4);
    font-size: 13px;
}

/* ========================================
   SECTIONS — SHARED
   ======================================== */
.section {
    padding: 100px 40px;
    max-width: 1200px;
    margin: 0 auto;
}
.section-full {
    padding: 100px 40px;
}
.section-alt { background: var(--gray-50); }
.section-dark {
    background: var(--gray-950);
    color: white;
}
.section-blue {
    background: linear-gradient(160deg, var(--donu-800), var(--donu-600));
    color: white;
    position: relative;
    overflow: hidden;
}
.section-blue .dot-pattern {
    opacity: 0.05;
}
.section-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--donu-500);
    margin-bottom: 12px;
}
.section-label::before {
    content: '';
    width: 20px;
    height: 2px;
    background: var(--donu-500);
    border-radius: 2px;
}
.section-dark .section-label,
.section-blue .section-label {
    color: var(--donu-300);
}
.section-dark .section-label::before,
.section-blue .section-label::before {
    background: var(--donu-300);
}

.section-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: 16px;
}
.section-subtitle {
    font-size: 17px;
    color: var(--gray-500);
    max-width: 580px;
    line-height: 1.7;
    margin-bottom: 56px;
}
.section-dark .section-subtitle { color: rgba(255,255,255,0.5); }
.section-blue .section-subtitle { color: rgba(255,255,255,0.7); }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ========================================
   STATS BAR
   ======================================== */
.stats-bar {
    background: white;
    border-bottom: 1px solid var(--gray-200);
    padding: 48px 40px;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
}
.stat-item {
    position: relative;
}
.stat-number {
    font-size: 40px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--donu-500), var(--donu-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 6px;
}
.stat-label {
    font-size: 13px;
    color: var(--gray-500);
    font-weight: 500;
}

/* ========================================
   PAIN POINTS
   ======================================== */
.pain-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 800px;
}
.pain-card {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    transition: all 0.3s;
}
.pain-card:hover {
    border-color: var(--red);
    box-shadow: 0 8px 30px rgba(239,68,68,0.08);
    transform: translateY(-2px);
}
.pain-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #fef2f2;
    color: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
}
.pain-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.pain-card p { font-size: 13px; color: var(--gray-500); line-height: 1.6; }

/* ========================================
   STEPS (Como Funciona)
   ======================================== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 940px;
    margin: 0 auto;
    position: relative;
}
/* Connector line */
.steps-grid::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(90deg, var(--donu-200), var(--donu-400), var(--donu-200));
    z-index: 0;
}
.step-card {
    text-align: center;
    position: relative;
    z-index: 1;
}
.step-number {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: white;
    border: 3px solid var(--donu-200);
    color: var(--donu-500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 900;
    margin: 0 auto 20px;
    transition: all 0.3s;
}
.step-card:hover .step-number {
    background: var(--donu-500);
    color: white;
    border-color: var(--donu-500);
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(26,86,219,0.25);
}
.step-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.step-card p { font-size: 14px; color: var(--gray-500); line-height: 1.6; max-width: 260px; margin: 0 auto; }

/* ========================================
   FEATURE CARDS
   ======================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feature-card {
    position: relative;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 36px 28px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--donu-400), var(--donu-600));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.feature-card:hover {
    border-color: var(--donu-300);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(26,86,219,0.1);
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--donu-50);
    color: var(--donu-500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
    transition: all 0.3s;
}
.feature-card:hover .feature-icon {
    background: var(--donu-500);
    color: white;
}
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--gray-500); line-height: 1.7; }

/* ========================================
   JULIUS (Mascote)
   ======================================== */
.julius-section {
    background: linear-gradient(160deg, var(--donu-50), var(--donu-100), white);
    padding: 60px 24px;
    position: relative;
    overflow: hidden;
}
.julius-grid {
    display: grid;
    grid-template-columns: 500px 1fr;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}
.julius-image-wrapper {
    position: relative;
}
.julius-image-wrapper::before {
    display: none;
}
.julius-content h2 {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 20px;
    color: var(--donu-800);
}
.julius-content p {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 12px;
}
.julius-traits {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}
.julius-trait {
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    background: white;
    color: var(--donu-600);
    border: 1px solid var(--donu-200);
    transition: all 0.3s;
}
.julius-trait:hover {
    background: var(--donu-500);
    color: white;
    border-color: var(--donu-500);
}

/* ========================================
   PRICING
   ======================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
    align-items: start;
}
.pricing-card {
    background: white;
    border-radius: var(--radius-lg);
    border: 2px solid var(--gray-200);
    padding: 40px 32px;
    text-align: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.pricing-card:hover {
    transform: translateY(-4px);
}
.pricing-card.popular {
    border-color: var(--donu-500);
    box-shadow: 0 20px 60px rgba(26,86,219,0.15);
    z-index: 2;
}
/* Border beam on popular card */
.border-beam {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.border-beam::after {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, var(--donu-400), transparent 70%);
    offset-path: rect(0 100% 100% 0 round var(--radius-lg));
    animation: border-beam-move 6s linear infinite;
    opacity: 0.6;
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--donu-500);
    color: white;
    padding: 5px 20px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}
.pricing-name { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.pricing-desc { color: var(--gray-500); font-size: 14px; margin-bottom: 24px; }
.pricing-price {
    font-size: 48px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 4px;
}
.pricing-price small { font-size: 18px; font-weight: 600; color: var(--gray-400); }
.pricing-period { color: var(--gray-400); font-size: 14px; margin-bottom: 28px; }
.pricing-features {
    text-align: left;
    list-style: none;
    margin: 0 0 28px;
}
.pricing-features li {
    padding: 10px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    gap: 10px;
}
.pricing-features li .check { color: var(--green); font-weight: 700; }
.pricing-features li .dash { color: var(--gray-300); }
.pricing-features li.disabled { color: var(--gray-400); }
.pricing-card .btn { width: 100%; justify-content: center; }

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.testimonial-card {
    background: white;
    padding: 32px;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    transition: all 0.3s;
}
.testimonial-card:hover {
    border-color: var(--donu-300);
    box-shadow: 0 8px 30px rgba(26,86,219,0.06);
    transform: translateY(-2px);
}
.testimonial-stars { color: var(--orange); font-size: 16px; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--gray-700);
    margin-bottom: 20px;
    font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--donu-400), var(--donu-600));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}
.testimonial-name { font-weight: 700; font-size: 14px; }
.testimonial-role { color: var(--gray-400); font-size: 12px; }

/* ========================================
   FAQ
   ======================================== */
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    margin-bottom: 12px;
    background: white;
    overflow: hidden;
    transition: all 0.3s;
}
.faq-item:hover { border-color: var(--donu-300); }
.faq-item.open { border-color: var(--donu-400); box-shadow: 0 4px 16px rgba(26,86,219,0.06); }
.faq-question {
    padding: 22px 28px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.2s;
}
.faq-question:hover { color: var(--donu-500); }
.faq-arrow {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--donu-500);
    flex-shrink: 0;
    transition: all 0.3s;
}
.faq-item.open .faq-arrow {
    background: var(--donu-500);
    color: white;
    transform: rotate(45deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s;
    padding: 0 28px;
}
.faq-answer-inner {
    padding-bottom: 22px;
    color: var(--gray-500);
    font-size: 14px;
    line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 300px; }

/* ========================================
   CTA FINAL
   ======================================== */
.cta-section {
    background: linear-gradient(160deg, var(--donu-800), var(--donu-500));
    padding: 100px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section .dot-pattern { opacity: 0.04; }
.cta-section h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
    letter-spacing: -1px;
}
.cta-section p {
    font-size: 18px;
    color: rgba(255,255,255,0.75);
    max-width: 480px;
    margin: 0 auto 36px;
    line-height: 1.6;
}
.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}
.cta-section .btn-primary {
    background: white;
    color: var(--donu-700) !important;
}
.cta-section .btn-primary:hover {
    box-shadow: 0 8px 40px rgba(255,255,255,0.2);
}
.cta-section .btn-primary::after {
    background: linear-gradient(90deg, transparent, rgba(26,86,219,0.12), transparent);
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    background: var(--gray-950);
    color: white;
    padding: 72px 40px 32px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
}
.footer-brand img { height: 44px; margin-bottom: 16px; }
.footer-brand p { color: var(--gray-400); font-size: 14px; line-height: 1.7; }
.footer-col h4,
.footer-col .footer-col-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gray-400);
    margin-bottom: 20px;
}
.footer-col a {
    display: block;
    color: var(--gray-500);
    text-decoration: none;
    font-size: 14px;
    padding: 5px 0;
    transition: color 0.2s;
}
.footer-col a:hover { color: white; }
.footer-bottom {
    max-width: 1200px;
    margin: 48px auto 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--gray-400);
    font-size: 13px;
}
.footer-social {
    display: flex;
    gap: 16px;
}
.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}
.footer-social a:hover {
    border-color: var(--donu-500);
    color: var(--donu-400);
    background: rgba(26,86,219,0.1);
}

/* ========================================
   WHATSAPP FLOAT
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 998;
    cursor: pointer;
}
.whatsapp-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(37,211,102,0.4);
    transition: all 0.3s;
    position: relative;
}
.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37,211,102,0.5);
}
.whatsapp-btn svg { width: 28px; height: 28px; fill: white; }
.whatsapp-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid #25d366;
    animation: pulse-ring 2s infinite;
}

/* ========================================
   FUNCIONALIDADES PAGE
   ======================================== */
.feature-detail-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto 80px;
}
.feature-detail-row.reverse { direction: rtl; }
.feature-detail-row.reverse > * { direction: ltr; }
.feature-detail-image {
    background: linear-gradient(135deg, var(--donu-50), var(--donu-100));
    border-radius: var(--radius-lg);
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--donu-400);
    font-size: 14px;
    border: 1px solid var(--donu-200);
}
.feature-detail-content h3 {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}
.feature-detail-content p {
    color: var(--gray-500);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
}
.check-list { list-style: none; }
.check-list li {
    padding: 8px 0;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
}
.check-list li::before {
    content: '✓';
    color: white;
    background: var(--green);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

/* ========================================
   SOBRE PAGE
   ======================================== */
.about-hero {
    background: linear-gradient(160deg, var(--donu-800), var(--donu-600));
    color: white;
    padding: 160px 40px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.about-hero .dot-pattern { opacity: 0.04; }
.about-hero h1 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 900;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}
.about-hero p {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    max-width: 560px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: center;
}
.about-image {
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    font-size: 14px;
}
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}
.value-card {
    text-align: center;
    padding: 40px 28px;
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    transition: all 0.3s;
}
.value-card:hover {
    border-color: var(--donu-300);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(26,86,219,0.08);
}
.value-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--donu-50);
    color: var(--donu-500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 800;
    margin: 0 auto 20px;
    transition: all 0.3s;
}
.value-card:hover .value-icon {
    background: var(--donu-500);
    color: white;
}
.value-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.value-card p { font-size: 14px; color: var(--gray-500); line-height: 1.6; }

/* ========================================
   JULIUS MASCOT ELEMENTS
   ======================================== */

/* Julius image in section — parallax container */
.julius-image {
    position: relative;
    z-index: 1;
    height: auto;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: visible;
    background: none;
}
.julius-image img {
    height: auto;
    width: 140%;
    max-width: 140%;
    max-height: none;
    object-fit: contain;
    object-position: bottom;
    margin-left: -20%;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    filter: drop-shadow(0 12px 30px rgba(26,86,219,0.15));
}
.julius-image:hover img {
    transform: scale(1.03);
}

/* Julius parallax — subtle movement on scroll */
.julius-parallax {
    will-change: transform;
    transition: transform 0.1s linear;
}

/* Julius hero image — breaks container */
.julius-hero-img {
    position: absolute;
    bottom: 0;
    right: 40px;
    height: 420px;
    max-height: 50%;
    width: auto;
    z-index: 1;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.25));
    pointer-events: none;
    opacity: 0.9;
}

/* Julius in About page hero */
.about-julius {
    position: absolute;
    bottom: 0;
    right: 8%;
    height: 60%;
    width: auto;
    z-index: 3;
    filter: drop-shadow(0 8px 20px rgba(0,0,0,0.15));
    pointer-events: none;
    opacity: 0.25;
}

/* Julius FAQ companion */
.faq-julius-wrapper {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 40px;
    align-items: start;
}
.faq-julius-sticky {
    position: sticky;
    top: 120px;
    text-align: center;
}
.faq-julius-sticky img {
    max-height: 320px;
    width: auto;
    filter: drop-shadow(0 8px 24px rgba(26,86,219,0.12));
    animation: float 6s ease-in-out infinite;
}
.faq-julius-bubble {
    background: white;
    border: 1px solid var(--donu-200);
    border-radius: var(--radius);
    padding: 14px 18px;
    margin-top: 16px;
    font-size: 13px;
    color: var(--gray-600);
    line-height: 1.5;
    position: relative;
    box-shadow: 0 4px 16px rgba(26,86,219,0.06);
}
.faq-julius-bubble::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid white;
}

/* ========================================
   PAGE LOADER
   ======================================== */
.page-loader {
    position: fixed;
    inset: 0;
    background: var(--donu-950);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s, visibility 0.5s;
}
.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}
.page-loader img {
    height: 56px;
    animation: loader-pulse 1.2s ease-in-out infinite;
}
@keyframes loader-pulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.15); opacity: 1; }
}

/* ========================================
   BACK TO TOP
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 96px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--donu-500);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 997;
    box-shadow: 0 4px 16px rgba(26,86,219,0.3);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s;
    pointer-events: none;
    border: none;
}
.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.back-to-top:hover {
    background: var(--donu-600);
    transform: translateY(-2px);
}

/* ========================================
   LGPD COOKIE BANNER
   ======================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--gray-950);
    color: var(--gray-300);
    padding: 16px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    z-index: 9998;
    font-size: 13px;
    line-height: 1.5;
    border-top: 1px solid rgba(255,255,255,0.08);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner.hidden { transform: translateY(100%); }
.cookie-banner a { color: var(--donu-300); text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 12px; flex-shrink: 0; }
.cookie-banner-actions .btn { padding: 8px 20px; font-size: 13px; }

/* ========================================
   MOBILE HAMBURGER
   ======================================== */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}
.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--gray-500);
    margin: 5px 0;
    border-radius: 2px;
    transition: all 0.3s;
}
.dark-mode .hamburger span { background: rgba(255,255,255,0.7); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gray-950);
    z-index: 999;
    padding: 120px 40px 40px;
    flex-direction: column;
    gap: 8px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
    display: block;
    color: white;
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--donu-300); }
.mobile-menu .btn { margin-top: 16px; text-align: center; font-size: 16px; padding: 14px; }

/* ========================================
   SOCIAL PROOF BAR
   ======================================== */
.social-proof {
    background: var(--donu-950);
    padding: 20px 40px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.social-proof-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
    flex-wrap: wrap;
}
.social-proof-text {
    color: rgba(255,255,255,0.5);
    font-size: 13px;
    font-weight: 500;
}
.social-proof-logos {
    display: flex;
    align-items: center;
    gap: 24px;
}
.social-proof-logos span {
    color: rgba(255,255,255,0.25);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ========================================
   NFS-E URGENCY BANNER
   ======================================== */
.urgency-banner {
    background: linear-gradient(90deg, var(--orange), #ea580c);
    padding: 14px 40px;
    text-align: center;
}
.urgency-banner-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    max-width: 800px;
    margin: 0 auto;
    flex-wrap: wrap;
}
.urgency-banner-inner svg { flex-shrink: 0; }
.urgency-banner p {
    color: white;
    font-size: 14px;
    font-weight: 600;
}
.urgency-banner a {
    color: white;
    text-decoration: underline;
    font-weight: 700;
}

/* ========================================
   COMPARISON TABLE (Donu vs Contador)
   ======================================== */
.comparison-table {
    max-width: 800px;
    margin: 0 auto;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--gray-200);
}
.comparison-header {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    background: var(--donu-950);
    color: white;
    font-size: 14px;
    font-weight: 700;
}
.comparison-header > div {
    padding: 16px 20px;
    text-align: center;
}
.comparison-header > div:first-child { text-align: left; }
.comparison-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    border-bottom: 1px solid var(--gray-100);
    font-size: 14px;
    transition: background 0.2s;
}
.comparison-row:hover { background: var(--donu-50); }
.comparison-row:last-child { border-bottom: none; }
.comparison-row > div {
    padding: 14px 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.comparison-row > div:first-child {
    text-align: left;
    justify-content: flex-start;
    font-weight: 500;
}
.comparison-row .yes { color: var(--green); font-weight: 700; }
.comparison-row .no { color: var(--gray-300); }
.comparison-row .price-highlight {
    color: var(--donu-500);
    font-weight: 800;
    font-size: 16px;
}
.comparison-row .price-dim {
    color: var(--gray-400);
    font-size: 13px;
}

/* ========================================
   CALCULATOR WIDGET
   ======================================== */

/* ========================================
   BLOG PREVIEW
   ======================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.blog-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s;
}
.blog-card:hover {
    border-color: var(--donu-300);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(26,86,219,0.08);
}
.blog-card-thumb {
    height: 160px;
    background: linear-gradient(135deg, var(--donu-100), var(--donu-50));
    display: flex;
    align-items: center;
    justify-content: center;
}
.blog-card-thumb svg { opacity: 0.3; }
.blog-card-body { padding: 24px; }
.blog-card-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--donu-500);
    background: var(--donu-50);
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
}
.blog-card-body h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
}
.blog-card-body p {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ========================================
   JULIUS VIDEO THUMBNAIL
   ======================================== */
.julius-video {
    position: relative;
    margin-top: 24px;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    background: var(--donu-900);
    aspect-ratio: 16/9;
    max-width: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.julius-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: opacity 0.3s;
}
.julius-video:hover img { opacity: 0.4; }
.julius-video-play {
    position: absolute;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    transition: transform 0.3s;
}
.julius-video:hover .julius-video-play { transform: scale(1.1); }
.julius-video-play svg { margin-left: 3px; }

/* ========================================
   FEATURE ICON MICRO-INTERACTIONS
   ======================================== */
.feature-card:hover .feature-icon svg {
    animation: icon-bounce 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes icon-bounce {
    0% { transform: scale(1); }
    40% { transform: scale(1.2) rotate(-5deg); }
    70% { transform: scale(0.95) rotate(2deg); }
    100% { transform: scale(1) rotate(0); }
}

/* Pain icon SVG styling */
.pain-icon svg { width: 22px; height: 22px; stroke: var(--red); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Feature page Julius between sections */
.feature-julius-break {
    text-align: center;
    padding: 40px 0;
}
.feature-julius-break img {
    height: 180px;
    width: auto;
    filter: drop-shadow(0 8px 24px rgba(26,86,219,0.12));
}

/* CTA section Julius */
.cta-julius {
    position: absolute;
    bottom: 0;
    left: 5%;
    height: 60%;
    width: auto;
    z-index: 1;
    opacity: 0.12;
    pointer-events: none;
    filter: brightness(0) invert(1) drop-shadow(0 0 20px rgba(255,255,255,0.1));
}

/* Mouse tracking eyes effect container */
.julius-track-eyes {
    transition: transform 0.15s ease-out;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .site-header { padding: 8px 20px; }
    .logo-link img { height: 36px; }
    .nav-menu { gap: 12px; }
    .nav-menu a:not(.btn) { display: none; }
    .section, .section-full { padding: 60px 20px; }
    .features-grid, .pricing-grid, .testimonials-grid,
    .steps-grid, .values-grid, .stats-grid {
        grid-template-columns: 1fr;
    }
    .pain-grid, .julius-grid, .about-grid,
    .feature-detail-row, .feature-detail-row.reverse {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .feature-detail-row.reverse { direction: ltr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .steps-grid::before { display: none; }
    .hero { padding: 120px 24px 60px; }
    .julius-hero-img { display: none; }
    .about-julius { display: none; }
    .cta-julius { display: none; }
    .faq-julius-wrapper { grid-template-columns: 1fr; }
    .faq-julius-sticky { display: none; }
    .julius-image img { max-height: 300px; }
    .feature-julius-break { display: none; }
    .hamburger { display: block; }
    .nav-menu { display: none; }
    .blog-grid { grid-template-columns: 1fr; }
    .comparison-header, .comparison-row { grid-template-columns: 1.5fr 1fr 1fr; font-size: 12px; }
    .comparison-header > div, .comparison-row > div { padding: 10px 8px; }
    .social-proof-inner { gap: 16px; }
    .urgency-banner { padding: 12px 20px; }
    .cookie-banner { flex-direction: column; text-align: center; padding: 16px 20px; }
    .back-to-top { bottom: 88px; right: 16px; }
    .mobile-menu { padding: 100px 24px 40px; }
    /* Pricing 2-column to 1-column on mobile */
    #precos-home > div:nth-child(2),
    #page-precos .section > div:first-child {
        grid-template-columns: 1fr !important;
    }
}
/* ========================================
   JULIUS 3D INTERACTIVE
   ======================================== */
.julius-3d-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    background: radial-gradient(ellipse at 50% 40%, #122a5c 0%, #0a1a3a 40%, #060e1f 100%);
    cursor: default;
}
.julius-3d-spotlight {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s;
}
.julius-3d-wrapper:hover .julius-3d-spotlight {
    opacity: 1;
}
.julius-3d-wrapper canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
}
.julius-3d-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 2;
}
.julius-3d-loading .spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(255,255,255,0.15);
    border-top-color: var(--donu-400);
    border-radius: 50%;
    animation: spin3d 0.8s linear infinite;
}
@keyframes spin3d {
    to { transform: rotate(360deg); }
}
.julius-3d-hint {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.35);
    font-size: 11px;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 6px;
    pointer-events: none;
    transition: opacity 0.5s;
    z-index: 2;
}
.julius-3d-hint svg {
    width: 14px;
    height: 14px;
    animation: rotateHint 3s ease-in-out infinite;
}
@keyframes rotateHint {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(15deg); }
    75% { transform: rotate(-15deg); }
}

@media (max-width: 768px) {
    .julius-3d-wrapper {
        height: 350px;
        border-radius: 16px;
    }
}

/* ===== REFERRAL / INDICAÇÃO PAGE ===== */

.referral-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 960px;
    margin: 48px auto 0;
}

.referral-step {
    text-align: center;
    padding: 32px 24px;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius);
    position: relative;
}

.referral-step-number {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    background: var(--donu-500);
    color: white;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.referral-step-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: rgba(26, 86, 219, 0.06);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--donu-500);
}

.referral-step h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark);
}

.referral-step p {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.6;
}

.referral-rules {
    max-width: 800px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.referral-rule {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid var(--gray-100);
}

.referral-rule-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: rgba(26, 86, 219, 0.06);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.referral-rule h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.referral-rule p {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .referral-steps {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .referral-rule {
        flex-direction: column;
        gap: 12px;
    }
}

