
/* ============================
   BeWaves — Tema Inovador
   Autor: M365 Copilot
============================ */
:root {
  /* Cores base (claro) */
  --bg: #0B1220; /* fundo no hero (dark rich) */
  --surface: #0F172A; /* superfícies escuras */
  --text: #E5E7EB; /* texto claro */
  --muted: #9CA3AF; /* texto secundário */
  --primary: #2563EB; /* azul */
  --primary-2: #06B6D4; /* ciano */
  --green: #10B981; /* verde */
  --yellow: #F59E0B; /* amarelo */
  --white: #FFFFFF;
  --black: #000000;
  --shadow: 0 12px 40px -12px rgba(0,0,0,0.5);
  --radius: 16px;
  --radius-sm: 12px;
  --blur: saturate(120%) blur(8px);
}
/* Tema claro */
@media (prefers-color-scheme: light) {
  :root { --bg: #F8FAFC; --surface: #FFFFFF; --text: #0F172A; --muted: #475569; --shadow: 0 10px 30px -10px rgba(0,0,0,0.15); }
}
/* Alternância manual */
[data-theme="dark"] { --bg: #0B1220; --surface: #0F172A; --text: #E5E7EB; --muted: #9CA3AF; }
[data-theme="light"] { --bg: #F8FAFC; --surface: #FFFFFF; --text: #0F172A; --muted: #475569; }

/* Reset */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, 'Helvetica Neue', Arial, 'Noto Sans', 'Liberation Sans', sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Nav */
.nav { position: sticky; top: 0; backdrop-filter: var(--blur); background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)); border-bottom: 1px solid rgba(255,255,255,0.08); z-index: 1000; }
.nav__inner { display: grid; grid-template-columns: 1fr auto auto; align-items: center; height: 72px; gap: 16px; }
.logo { font-weight: 700; letter-spacing: -0.5px; }
.logo span { color: var(--primary); }
.nav__menu { display: flex; gap: 24px; align-items: center; }
.nav__link { color: var(--muted); font-weight: 500; }
.nav__link:hover { color: var(--text); }
.nav__cta { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: white; padding: 10px 18px; border-radius: 999px; font-weight: 600; box-shadow: 0 8px 20px rgba(37,99,235,0.35); }
.theme { background: transparent; border: 1px solid rgba(255,255,255,0.2); color: var(--text); padding: 8px 12px; border-radius: 999px; }
.burger { display: none; background: transparent; border: none; color: var(--text); font-size: 1.6rem; }

/* Hero */
.hero { position: relative; padding: 120px 0 64px; overflow: hidden; }
.bg-gradient { position: absolute; inset: -10%; background: radial-gradient(800px 300px at 10% 10%, rgba(37,99,235,0.30), transparent 60%), radial-gradient(600px 260px at 90% 20%, rgba(6,182,212,0.25), transparent 60%); filter: blur(30px); }
.noise { position: absolute; inset: 0; background-image: url('data:image/svg+xml;utf8,<svg xmlns=%22http://www.w3.org/2000/svg%22 width=%22200%22 height=%22200%22><filter id=%22n%22><feTurbulence baseFrequency=%220.8%22 numOctaves=%222%22 seed=%221%22/></filter><rect width=%22200%22 height=%22200%22 filter=%22url(%23n)%22 opacity=%220.04%22/></svg>'); opacity: 0.6; pointer-events: none; }
.hero__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.1; letter-spacing: -0.5px; }
.accent { background: linear-gradient(135deg, var(--primary), var(--primary-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__text p { color: var(--muted); max-width: 640px; }
.hero__actions { display: flex; gap: 12px; margin-top: 20px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 22px; border-radius: 12px; font-weight: 600; }
.btn--primary { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: white; box-shadow: 0 12px 30px rgba(37,99,235,0.35); }
.btn--ghost { border: 1px solid rgba(255,255,255,0.2); color: var(--text); }
.hero__trust { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.hero__trust span { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.10); padding: 6px 10px; border-radius: 999px; color: var(--muted); }

/* Cards 3D */
.cards3d { perspective: 1000px; display: grid; grid-template-columns: 1fr; gap: 16px; }
.card3d { background: var(--surface); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; transform-style: preserve-3d; transition: transform 0.4s ease, box-shadow 0.4s ease; }
.card3d:hover { transform: rotateX(6deg) rotateY(-6deg) translateY(-2px); box-shadow: 0 24px 60px -24px rgba(0,0,0,0.5); }
.card3d h3 { margin: 0 0 6px; }
.card3d p { margin: 0; color: var(--muted); }

/* Marquee */
.marquee { overflow: hidden; border-top: 1px solid rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.06); }
.marquee__track { display: inline-flex; gap: 36px; padding: 12px 0; min-width: 100%; animation: scroll 14s linear infinite; }
.marquee span { color: var(--muted); }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Section base */
.section { padding: 88px 0; }
.section__head { text-align: center; margin-bottom: 40px; }
.section__head p { color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.tile { background: var(--surface); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius); padding: 28px; transition: transform .25s ease, box-shadow .25s ease; box-shadow: var(--shadow); }
.tile:hover { transform: translateY(-4px); box-shadow: 0 20px 50px -20px rgba(0,0,0,0.45); }
.tile__icon { font-size: 28px; margin-bottom: 12px; }
.tile__link { display: inline-flex; align-items: center; gap: 6px; color: var(--text); opacity: .9; }

/* PMOC foco */
.pmoc { background: linear-gradient(180deg, rgba(37,99,235,0.08), rgba(6,182,212,0.06)); }
.pmoc__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.badge { display: inline-block; background: var(--yellow); color: #212121; padding: 6px 12px; border-radius: 8px; font-weight: 700; font-size: .85rem; }
.steps { margin: 16px 0 24px; padding-left: 16px; }
.steps li { margin-bottom: 8px; }
.btn--white { background: white; color: #111827; }

/* Gauge visual */
.gauge { position: relative; width: 220px; height: 220px; margin: 0 auto; }
.gauge__ring { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 180deg, var(--green) 0 70%, rgba(255,255,255,0.15) 70% 100%); }
.gauge__needle { position: absolute; left: 50%; top: 50%; width: 2px; height: 90px; background: #fff; transform-origin: bottom; transform: translate(-50%, -100%) rotate(calc((var(--value,70) / 100) * 180deg)); box-shadow: 0 0 12px rgba(0,0,0,0.6); }
.gauge__label { position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); color: var(--muted); }

/* Carousel */
.carousel { position: relative; overflow: hidden; }
.carousel__track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 0; transition: transform .6s ease; }
.case { padding: 24px; background: var(--surface); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius); box-shadow: var(--shadow); min-height: 160px; }
.carousel__dots { display: flex; gap: 8px; justify-content: center; margin-top: 12px; }
.dot { width: 8px; height: 8px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.4); background: transparent; }
.dot.is-active { background: var(--primary); border-color: var(--primary); }

/* Contato */
.contato { padding: 88px 0; }
.contato__box { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; background: var(--surface); border: 1px solid rgba(255,255,255,0.08); border-radius: 20px; box-shadow: var(--shadow); padding: 32px; }
.contato__info .info { display: flex; align-items: center; gap: 8px; color: var(--muted); margin: 6px 0; }
.contato__form { display: grid; gap: 14px; }
.contato__form label { display: grid; gap: 6px; }
.contato__form input, .contato__form select { padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.04); color: var(--text); }
.btn--green { background: var(--green); color: white; border-radius: 999px; padding: 10px 16px; font-weight: 700; }

/* Rodapé */
.footer { padding: 28px 0; border-top: 1px solid rgba(255,255,255,0.06); }
.footer__grid { display: flex; justify-content: space-between; align-items: center; }
.socials a { color: var(--muted); margin-left: 10px; }
.socials a:hover { color: var(--text); }
.whatsapp-fab { position: fixed; bottom: 24px; right: 24px; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: white; box-shadow: 0 20px 40px -20px rgba(37,211,102,0.6); z-index: 999; }

/* Acessibilidade / motion */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { 
  .marquee__track { animation: none; }
  .card3d:hover { transform: none; }
}

/* Responsivo */
@media (max-width: 920px) {
  .hero__grid { grid-template-columns: 1fr; }
  .pmoc__grid { grid-template-columns: 1fr; }
  .contato__box { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav__menu { display: none; }
  .burger { display: inline-block; }
}
