/* ===================================================================
   AGÊNCIA ONEPRO · Estilos principais
   Paleta: Black + Orange + White
   Identidade visual: globo + bandeira (preto/laranja) + moldura HUD
   =================================================================== */

/* ----- Reset & Tokens ----- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

:root {
  /* Paleta */
  --black-900: #050505;
  --black-800: #0b0b0d;
  --black-700: #141418;
  --black-600: #1c1c22;
  --black-500: #2a2a32;
  --gray-400: #5b5b66;
  --gray-300: #9a9aa3;
  --gray-200: #c8c8d0;
  --white: #ffffff;
  --off-white: #f4f4f6;

  --orange-500: #ff7a00;   /* laranja principal */
  --orange-600: #ff5e00;   /* hover */
  --orange-400: #ff9a3d;   /* claro */
  --orange-glow: rgba(255, 122, 0, 0.55);

  /* Tipografia */
  --font-display: 'Orbitron', 'Rajdhani', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Layout */
  --container: 1200px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-glow: 0 0 28px var(--orange-glow);
  --shadow-card: 0 14px 40px rgba(0, 0, 0, 0.45);
  --transition: .25s ease;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--black-900);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video, svg { max-width: 100%; display: block; }

a {
  color: var(--orange-500);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--orange-400); }

button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============== HEADER ============== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(5, 5, 5, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255, 122, 0, 0.18);
  transition: background var(--transition), border-color var(--transition);
}
.site-header.scrolled {
  background: rgba(5, 5, 5, 0.92);
  border-bottom-color: rgba(255, 122, 0, 0.45);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-logo {
  height: 56px;
  width: auto;
  filter: drop-shadow(0 0 12px rgba(255, 122, 0, 0.35));
  transition: transform var(--transition), filter var(--transition);
}
.brand:hover .brand-logo {
  transform: scale(1.04);
  filter: drop-shadow(0 0 20px rgba(255, 122, 0, 0.7));
}

.primary-nav ul {
  list-style: none;
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
}
.nav-link {
  display: inline-block;
  padding: 10px 14px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.nav-link::before {
  content: '';
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  background: var(--orange-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.nav-link:hover,
.nav-link.active {
  color: var(--orange-400);
}
.nav-link:hover::before,
.nav-link.active::before { transform: scaleX(1); }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid rgba(255, 122, 0, 0.4);
  border-radius: 10px;
  padding: 0;
  position: relative;
}
.menu-toggle span {
  position: absolute;
  left: 10px; right: 10px;
  height: 2px;
  background: var(--orange-500);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition), top var(--transition);
}
.menu-toggle span:nth-child(1) { top: 14px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 28px; }
.menu-toggle.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ============== ESTÁGIOS (seções) ============== */
.stage {
  position: relative;
  padding: 140px 0 100px;
  isolation: isolate;
  overflow: hidden;
}
.stage + .stage { border-top: 1px solid rgba(255, 255, 255, 0.04); }

.kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--orange-500);
  padding: 6px 12px;
  border: 1px solid rgba(255, 122, 0, 0.5);
  border-radius: 999px;
  background: rgba(255, 122, 0, 0.08);
  margin-bottom: 18px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin: 0 0 18px;
  color: var(--white);
  text-shadow: 0 0 24px rgba(255, 122, 0, 0.15);
}
.section-title::after {
  content: '';
  display: block;
  width: 64px;
  height: 4px;
  background: linear-gradient(90deg, var(--orange-500), transparent);
  margin-top: 14px;
  border-radius: 2px;
}
.section-sub {
  color: var(--gray-300);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto;
}

.section-head { text-align: center; margin-bottom: 60px; }
.section-head .section-title::after { margin-left: auto; margin-right: auto; }

.lead {
  color: var(--gray-200);
  font-size: 1.08rem;
  max-width: 640px;
}
.lead strong { color: var(--white); }
.lead em { color: var(--orange-400); font-style: normal; font-weight: 600; }

/* ============== ESTÁGIO 1 · HOME ============== */
.stage-home {
  min-height: 100vh;
  padding-top: 110px;
  padding-bottom: 60px;
  display: flex;
  align-items: center;
  background: var(--black-900);
}
.cosmic-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -3;
  filter: brightness(0.45) saturate(1.2);
}
.overlay-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 122, 0, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 122, 0, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: -2;
  mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
}
.overlay-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(5,5,5,0.6) 60%, var(--black-900) 100%);
  z-index: -1;
}

.home-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
  width: 100%;
}
.home-text { animation: fadeUp 1s ease both; }

.badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--orange-400);
  border: 1px solid rgba(255, 122, 0, 0.4);
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 122, 0, 0.06);
  margin-bottom: 22px;
}

.home-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.4rem, 7vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin: 0 0 24px;
  text-transform: uppercase;
}
.home-title .line {
  display: block;
  opacity: 0;
  transform: translateY(28px);
  animation: rise 0.9s ease forwards;
}
.home-title .line-1 { color: var(--white); animation-delay: 0.2s; }
.home-title .line-2 { color: var(--orange-500); animation-delay: 0.5s; text-shadow: 0 0 28px var(--orange-glow); }
.home-title .line-3 { color: var(--white); animation-delay: 0.8s; }

.home-sub {
  color: var(--gray-200);
  font-size: 1.12rem;
  max-width: 540px;
  margin: 0 0 32px;
}
.home-sub strong { color: var(--orange-400); }

.home-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: transform var(--transition), background var(--transition), color var(--transition), box-shadow var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--orange-500);
  color: #0a0a0a;
  box-shadow: 0 8px 24px rgba(255, 122, 0, 0.35);
}
.btn-primary:hover {
  background: var(--orange-400);
  color: #0a0a0a;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 122, 0, 0.55);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}
.btn-ghost:hover {
  border-color: var(--orange-500);
  color: var(--orange-400);
  transform: translateY(-2px);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #04240f;
  padding: 16px 28px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.35);
  transition: transform var(--transition), box-shadow var(--transition);
  margin-top: 24px;
}
.btn-whatsapp svg { width: 22px; height: 22px; }
.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.55);
  color: #04240f;
}

/* Logo Home com fundo transparente + órbitas */
.home-logo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  max-width: 460px;
  margin-left: auto;
  animation: fadeUp 1.1s ease both 0.3s;
}
.home-logo {
  position: relative;
  z-index: 2;
  width: 75%;
  height: auto;
  filter: drop-shadow(0 0 28px rgba(255, 122, 0, 0.55));
  animation: floaty 6s ease-in-out infinite;
}
.orbit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(255, 122, 0, 0.35);
}
.orbit-1 {
  transform: scale(0.85);
  animation: spin 18s linear infinite;
}
.orbit-2 {
  transform: scale(1.05);
  border-style: solid;
  border-color: rgba(255, 122, 0, 0.15);
  animation: spinReverse 30s linear infinite;
}
.orbit::before {
  content: '';
  position: absolute;
  top: -6px; left: 50%;
  transform: translateX(-50%);
  width: 12px; height: 12px;
  background: var(--orange-500);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--orange-glow);
}

.scroll-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid rgba(255, 122, 0, 0.6);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
  animation: bob 2s ease-in-out infinite;
}
.scroll-hint span {
  width: 3px; height: 8px;
  background: var(--orange-500);
  border-radius: 2px;
  animation: scrollDot 2s ease-in-out infinite;
}

/* ============== ESTÁGIO 2 · SOBRE ============== */
.stage-about {
  background:
    radial-gradient(1200px 600px at 10% 0%, rgba(255, 122, 0, 0.08), transparent 60%),
    radial-gradient(900px 500px at 100% 100%, rgba(255, 122, 0, 0.05), transparent 60%),
    var(--black-800);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  align-items: center;
}

.about-media { position: relative; }
.about-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  display: block;
  border-radius: var(--radius);
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.55));
}
.about-frame {
  position: absolute;
  inset: -16px -16px 16px 16px;
  border: 1px solid rgba(255, 122, 0, 0.5);
  border-radius: var(--radius);
  pointer-events: none;
}
.corner {
  position: absolute;
  width: 22px; height: 22px;
  border: 2px solid var(--orange-500);
}
.corner.tl { top: -2px; left: -2px; border-right: 0; border-bottom: 0; }
.corner.tr { top: -2px; right: -2px; border-left: 0; border-bottom: 0; }
.corner.bl { bottom: -2px; left: -2px; border-right: 0; border-top: 0; }
.corner.br { bottom: -2px; right: -2px; border-left: 0; border-top: 0; }

.about-media-caption {
  position: absolute;
  left: -16px; bottom: -16px;
  background: var(--orange-500);
  color: #0a0a0a;
  padding: 10px 18px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(255, 122, 0, 0.45);
}

.mv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 30px 0;
}
.mv-card {
  background: linear-gradient(180deg, rgba(255, 122, 0, 0.05), rgba(255, 122, 0, 0.01));
  border: 1px solid rgba(255, 122, 0, 0.25);
  border-radius: var(--radius);
  padding: 22px;
  position: relative;
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}
.mv-card::before {
  content: attr(data-icon);
  position: absolute;
  top: 18px; right: 18px;
  font-size: 1.6rem;
  opacity: 0.8;
}
.mv-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  color: var(--white);
  margin: 0 0 8px;
  text-transform: uppercase;
}
.mv-card p { color: var(--gray-200); margin: 0; font-size: 0.95rem; }
.mv-card:hover {
  transform: translateY(-4px);
  border-color: var(--orange-500);
  background: linear-gradient(180deg, rgba(255, 122, 0, 0.12), rgba(255, 122, 0, 0.02));
}

.ecv-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
.ecv-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--orange-500);
  border-radius: 999px;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.82rem;
  background: rgba(255, 122, 0, 0.08);
  transition: background var(--transition), color var(--transition);
}
.ecv-pill i {
  width: 8px; height: 8px;
  background: var(--orange-500);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--orange-glow);
  display: inline-block;
}
.ecv-pill:hover {
  background: var(--orange-500);
  color: #0a0a0a;
}

/* ============== ESTÁGIO 3 · SERVIÇOS ============== */
.stage-services {
  background:
    linear-gradient(180deg, var(--black-900) 0%, var(--black-800) 100%);
  position: relative;
}
.stage-services::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 80% 20%, rgba(255, 122, 0, 0.1), transparent 60%),
    radial-gradient(600px 300px at 10% 80%, rgba(255, 122, 0, 0.08), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.stage-services .container { position: relative; z-index: 1; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  background:
    linear-gradient(180deg, var(--black-700) 0%, var(--black-800) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange-500), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s ease;
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(400px 200px at 50% 0%, rgba(255, 122, 0, 0.18), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--orange-500);
  box-shadow: 0 22px 50px rgba(255, 122, 0, 0.15);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover::after { opacity: 1; }

.service-card.featured {
  border-color: var(--orange-500);
  box-shadow: 0 0 0 1px rgba(255, 122, 0, 0.3), 0 18px 40px rgba(255, 122, 0, 0.18);
}
.service-card.featured::before { transform: scaleX(1); }
.ribbon {
  position: absolute;
  top: 16px; right: -38px;
  background: var(--orange-500);
  color: #0a0a0a;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 40px;
  transform: rotate(35deg);
  box-shadow: 0 4px 12px rgba(255, 122, 0, 0.4);
}

.service-icon {
  width: 64px; height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 122, 0, 0.12);
  color: var(--orange-500);
  border-radius: 14px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.service-icon svg { width: 36px; height: 36px; }

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 0 10px;
  color: var(--white);
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
}
.service-card p {
  color: var(--gray-200);
  margin: 0 0 16px;
  position: relative;
  z-index: 1;
}
.service-card p em { color: var(--orange-400); font-style: normal; }

.service-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  position: relative;
  z-index: 1;
}
.service-list li {
  padding: 8px 0 8px 24px;
  position: relative;
  color: var(--gray-200);
  font-size: 0.95rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
}
.service-list li:last-child { border-bottom: 0; }
.service-list li::before {
  content: '›';
  position: absolute;
  left: 4px;
  color: var(--orange-500);
  font-weight: 800;
}

.card-cta {
  display: inline-block;
  color: var(--orange-500);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
  transition: color var(--transition), transform var(--transition);
}
.card-cta:hover {
  color: var(--orange-400);
  transform: translateX(4px);
}

/* ============== ESTÁGIO 4 · CONTATO ============== */
.stage-contact {
  background:
    radial-gradient(800px 400px at 100% 0%, rgba(255, 122, 0, 0.12), transparent 60%),
    var(--black-900);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
.contact-text .section-title::after {
  background: linear-gradient(90deg, #25d366, transparent);
}
.contact-info {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--gray-200);
}
.contact-info p { margin: 6px 0; }
.contact-info a { color: var(--orange-400); font-weight: 600; }

.contact-share {
  background: linear-gradient(180deg, var(--black-700), var(--black-800));
  border: 1px solid rgba(255, 122, 0, 0.25);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
}
.contact-share h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 8px;
  color: var(--white);
}
.contact-share > p {
  color: var(--gray-300);
  margin: 0 0 22px;
}

.share-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.share-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 18px 10px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}
.share-btn svg { width: 24px; height: 24px; color: var(--orange-500); transition: color var(--transition), transform var(--transition); }
.share-btn:hover {
  background: rgba(255, 122, 0, 0.12);
  border-color: var(--orange-500);
  color: var(--orange-400);
  transform: translateY(-3px);
}
.share-btn:hover svg { color: var(--orange-400); transform: scale(1.1); }

.share-status {
  margin-top: 16px;
  min-height: 24px;
  text-align: center;
  font-size: 0.92rem;
  color: var(--orange-400);
  font-weight: 600;
}

/* ============== FOOTER ============== */
.site-footer {
  background: #020202;
  border-top: 1px solid rgba(255, 122, 0, 0.2);
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--gray-300);
  font-size: 0.92rem;
}
.footer-mark { width: 36px; height: auto; opacity: 0.7; }
.footer-tag {
  font-family: var(--font-display);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--orange-500);
  font-size: 0.78rem;
  margin: 0;
}

/* ============== FAB WhatsApp ============== */
.fab-whatsapp {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 60px; height: 60px;
  background: #25d366;
  color: #04240f;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
  z-index: 90;
  transition: transform var(--transition);
  animation: pulse 2.4s ease-in-out infinite;
}
.fab-whatsapp svg { width: 30px; height: 30px; }
.fab-whatsapp:hover { transform: scale(1.08); color: #04240f; }

/* ============== Animações ============== */
@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@keyframes spin {
  to { transform: scale(0.85) rotate(360deg); }
}
@keyframes spinReverse {
  to { transform: scale(1.05) rotate(-360deg); }
}
@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}
@keyframes scrollDot {
  0% { opacity: 0; transform: translateY(0); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translateY(12px); }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.45); }
  50% { box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6), 0 0 0 18px rgba(37, 211, 102, 0); }
}

/* ============== Responsivo ============== */
@media (max-width: 1024px) {
  .home-content { grid-template-columns: 1fr; text-align: center; }
  .home-sub, .home-cta { margin-left: auto; margin-right: auto; }
  .home-cta { justify-content: center; }
  .home-logo-wrap { max-width: 360px; margin: 20px auto 0; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-media { order: -1; }
  .services-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }

  .primary-nav {
    position: fixed;
    top: 78px; left: 0; right: 0;
    background: rgba(5, 5, 5, 0.98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 122, 0, 0.3);
    padding: 16px 0;
    transform: translateY(-120%);
    transition: transform 0.35s ease;
    z-index: 99;
  }
  .primary-nav.open { transform: translateY(0); }
  .primary-nav ul {
    flex-direction: column;
    gap: 4px;
    padding: 0 24px;
  }
  .primary-nav .nav-link {
    display: block;
    padding: 14px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .nav-link::before { display: none; }

  .stage { padding: 110px 0 70px; }
  .stage-home { padding-top: 100px; }

  .home-title { font-size: clamp(2.1rem, 9vw, 3rem); }
  .home-logo-wrap { max-width: 280px; }

  .mv-grid { grid-template-columns: 1fr; }
  .share-buttons { grid-template-columns: repeat(2, 1fr); }
  .about-frame { inset: -10px -10px 10px 10px; }
  .about-media-caption { left: 0; bottom: 0; }

  .footer-inner { justify-content: center; text-align: center; }
}

@media (max-width: 480px) {
  .header-inner { min-height: 68px; }
  .brand-logo { height: 44px; }
  .primary-nav { top: 68px; }
  .stage { padding: 90px 0 60px; }
  .home-title { font-size: 2rem; }
  .badge { font-size: 0.66rem; padding: 6px 10px; }
  .btn { padding: 12px 20px; font-size: 0.78rem; }
  .section-title { font-size: 1.8rem; }
  .contact-share { padding: 22px; }
  .share-buttons { grid-template-columns: 1fr 1fr; }
  .share-btn { padding: 14px 6px; font-size: 0.7rem; }
  .fab-whatsapp { width: 54px; height: 54px; right: 16px; bottom: 16px; }
  .fab-whatsapp svg { width: 26px; height: 26px; }
}

/* Acessibilidade · prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
