/*
 Theme Name:   Eleve Child
 Theme URI:    https://elevedigitalmidia.com
 Description:  Tema filho da Eleve Digital Mídia — Hello Elementor
 Author:       Eleve Digital Mídia
 Template:     hello-elementor
 Version:      1.0.0
 Text Domain:  eleve-child
*/

/* ============================================================
   ELEVE DIGITAL MÍDIA — Custom CSS
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,700;1,300&display=swap');

/* ── VARIÁVEIS ── */
:root {
  --elv-bg: #050508;
  --elv-accent: #FF3B00;
  --elv-accent2: #FFB800;
  --elv-white: #F5F0E8;
  --elv-muted: #888888;
  --elv-glass: rgba(255, 255, 255, 0.04);
}

/* ── CURSOR CUSTOMIZADO ── */
body { cursor: none !important; }
a, button, [role="button"], .elementor-button { cursor: none !important; }

.elv-cursor {
  position: fixed;
  width: 12px; height: 12px;
  background: var(--elv-accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, background 0.3s;
}
.elv-cursor-ring {
  position: fixed;
  width: 40px; height: 40px;
  border: 1.5px solid rgba(255, 59, 0, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s;
}

/* ── BARRA DE PROGRESSO DE SCROLL ── */
.elv-scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  z-index: 99997;
  background: linear-gradient(90deg, var(--elv-accent), var(--elv-accent2));
  transition: width 0.08s linear;
}

/* ── PARTÍCULAS ── */
#elv-particles {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* ── GRAIN OVERLAY ── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.03;
}

/* ── SCROLL SUAVE ── */
html {
  scroll-behavior: smooth;
}

/* ── NAVBAR GLASSMORPHISM AO ROLAR ── */
header.site-header,
#masthead,
.site-header,
.main-navigation {
  transition: backdrop-filter 0.4s ease, background 0.4s ease, box-shadow 0.4s ease !important;
}
body.elv-scrolled header.site-header,
body.elv-scrolled #masthead,
body.elv-scrolled .site-header {
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  background: rgba(5, 5, 8, 0.92) !important;
  box-shadow: 0 1px 0 rgba(255, 59, 0, 0.15) !important;
}

/* ── TIPOGRAFIA DISPLAY ── */
.elementor-heading-title,
h1, h2, h3,
h1.entry-title,
.page-title {
  font-family: 'Bebas Neue', sans-serif !important;
  letter-spacing: 1px !important;
  line-height: 0.95 !important;
}

/* ── REVEAL ON SCROLL ── */
.elementor-widget,
.elementor-column,
.elementor-section {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.elementor-widget.elv-revealed,
.elementor-column.elv-revealed,
.elementor-section.elv-revealed {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* ── BOTÕES ── */
.elementor-button,
a.elementor-button,
.wp-block-button__link {
  font-family: 'DM Sans', sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 3px !important;
  text-transform: uppercase !important;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px)) !important;
  transition: transform 0.25s ease, filter 0.3s ease !important;
  overflow: hidden;
}
.elementor-button:hover,
a.elementor-button:hover {
  transform: translateY(-3px) !important;
  filter: brightness(1.15) !important;
}

/* ── MARQUEE ── */
.elv-marquee-outer {
  overflow: hidden;
  border-top: 1px solid rgba(255, 59, 0, 0.2);
  border-bottom: 1px solid rgba(255, 59, 0, 0.2);
  background: rgba(255, 59, 0, 0.04);
  padding: 16px 0;
  white-space: nowrap;
  width: 100%;
  position: relative;
  z-index: 3;
}
.elv-marquee-track {
  display: inline-flex;
  animation: elvMarquee 22s linear infinite;
  width: max-content;
}
.elv-marquee-track:hover { animation-play-state: paused; }
.elv-marquee-item {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 6px;
  color: var(--elv-accent);
  padding: 0 36px;
  display: inline-flex;
  align-items: center;
  gap: 36px;
}
.elv-marquee-item::after {
  content: '✦';
  color: var(--elv-accent2);
}
@keyframes elvMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── TILT 3D ── */
.elementor-widget-image-box,
.elementor-widget-icon-box {
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  will-change: transform;
}

/* ── GLOW NOS BOTÕES CTA ── */
.elv-cta-glow {
  animation: elvPulseGlow 2.5s ease-in-out infinite !important;
}
@keyframes elvPulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(255, 59, 0, 0.25); }
  50%       { box-shadow: 0 0 55px rgba(255, 59, 0, 0.55), 0 0 100px rgba(255, 184, 0, 0.2); }
}

/* ── LINHA DECORATIVA ── */
.elv-deco-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 59, 0, 0.3), transparent);
}

/* ── Z-INDEX GERAL ── */
.elementor-section,
.e-con {
  position: relative;
  z-index: 2;
}

/* ── BODY GERAL ── */
body {
  font-family: 'DM Sans', sans-serif;
  background-color: var(--elv-bg);
  color: var(--elv-white);
}
