@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #9a7944;
    --primary-hover: #fdeed2;
    --primary-glow: rgba(154, 121, 68, 0.4);
    --gold: #9a7944;
    --gold-hover: #fdeed2;
    --gold-glow: rgba(154, 121, 68, 0.4);
    --dark: #000000;
    --slate-400: #94A3B8;
}

body {
    background-color: var(--dark);
    color: #E2E8F0;
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
}

/* ─── UTILITIES ──────────────────────────────────── */
.text-glow { text-shadow: 0 0 30px rgba(212, 175, 55, 0.2); }

.bg-grid-pattern {
    background-image:
        linear-gradient(to right, rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 4rem 4rem;
}


/* ─── GLASS BUTTON ───────────────────────────────── */
.btn-glass {
    position: relative;
    display: inline-flex;
    cursor: pointer;
    overflow: hidden;
    border-radius: 9999px;
    transition: all 0.3s ease;
    isolation: isolate;
    border: none;
    background: transparent;
    padding: 0;
    text-decoration: none;
}

.btn-glass-glow {
    position: absolute;
    inset: -100%;
    width: 300%;
    height: 300%;
    left: -100%;
    top: -100%;
    animation: spin-slow 4s linear infinite;
    background: conic-gradient(from 0deg, transparent 0deg, transparent 80deg, #ffffff 180deg, transparent 280deg, transparent 360deg);
    z-index: 0;
    opacity: 0.5;
}

.btn-glass-base {
    position: absolute;
    inset: 1px;
    border-radius: 9999px;
    backdrop-filter: blur(12px);
    background: #ffffff;
    z-index: 1;
    transition: all 0.3s ease;
}

.btn-glass:hover .btn-glass-base { 
    background: linear-gradient(135deg, #9a7944 0%, #d4af37 100%);
}
.btn-glass:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px 5px rgba(154, 121, 68, 0.3);
}
.btn-glass:hover .btn-glass-content {
    color: #ffffff;
}

/* Animations */
@keyframes flow {
    from { stroke-dashoffset: 24; }
    to { stroke-dashoffset: 0; }
}

.animate-line {
    animation: flow 1s linear infinite;
    filter: drop-shadow(0 0 8px rgba(154, 121, 68, 0.4));
}

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

.animate-float {
    animation: float 4s ease-in-out infinite;
}

@keyframes flash {
    0% { left: -150%; }
    20% { left: 150%; }
    100% { left: 150%; }
}

.btn-glass:hover .btn-glass-base { 
    filter: brightness(1.1);
    box-shadow: inset 0 0 20px rgba(255,255,255,0.4);
}

.btn-glass-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #000000;
    width: 100%;
    height: 100%;
}

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

/* ─── WHATSAPP VARIANT ───────────────────────────── */
.btn-whatsapp .btn-glass-base {
    background: linear-gradient(135deg, #075E54 0%, #04332D 100%);
    border: 1px solid rgba(255,255,255,0.1);
}
.btn-whatsapp:hover .btn-glass-base {
    background: linear-gradient(135deg, #0B3D2E 0%, #075E54 100%);
}
.btn-whatsapp .btn-glass-glow {
    background: conic-gradient(from 0deg, transparent 0deg, transparent 80deg, #128C7E 180deg, transparent 280deg, transparent 360deg);
}
.btn-whatsapp:hover { box-shadow: 0 0 30px 5px rgba(7, 94, 84, 0.4) !important; }
.btn-whatsapp .btn-glass-content { color: #fff; }

/* ─── TEXT GOLD GRADIENT ────────────────────────── */
.text-gold-gradient {
    background: linear-gradient(90deg, #9a7944 0%, #fdeed2 25%, #9a7944 50%, #fdeed2 75%, #9a7944 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: gold-shimmer 4s linear infinite;
}
@keyframes gold-shimmer {
    0%   { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* ─── REVEAL ANIMATION ──────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ─── WHATSAPP WIDGET ────────────────────────────── */
.float-wa-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
}

@media (min-width: 1024px) {
    .float-wa-container {
        bottom: 30px;
        right: 30px;
    }
}

.wa-balloon {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 280px;
    background: #0A0A0A;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    display: none;
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.4s ease;
}

.wa-balloon.animate {
    display: block;
    transform: translateY(0);
    opacity: 1;
}

.wa-btn {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: linear-gradient(45deg, #25D366, #128C7E);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s ease;
}

.wa-btn:hover {
    transform: scale(1.1) rotate(10deg);
}
