:root {
  --bg: #0a0a0f;
  --bg-alt: #10101a;
  --card: #161622;
  --card-border: rgba(255, 255, 255, 0.08);
  --text: #e8e8f0;
  --text-dim: #a0a0b8;
  --neon: #39ff14;
  --neon-2: #9d4eff;
  --neon-3: #00e5ff;
  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(1100px, 90%);
  margin: 0 auto;
}

/* ---------- Loader ---------- */
.loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-logo {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  animation: pulse-glow 1.4s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { text-shadow: 0 0 10px var(--neon), 0 0 30px var(--neon); }
  50% { text-shadow: 0 0 20px var(--neon), 0 0 60px var(--neon); }
}

/* ---------- Typography ---------- */
.neon-text {
  color: var(--neon);
  text-shadow: 0 0 10px rgba(57, 255, 20, 0.6), 0 0 40px rgba(57, 255, 20, 0.3);
}

.neon-dot {
  color: var(--neon);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  border: none;
}

.btn-neon {
  background: var(--neon);
  color: #04100a;
  box-shadow: 0 0 20px rgba(57, 255, 20, 0.35);
}

.btn-neon:hover {
  background: #4dff30;
  box-shadow: 0 0 35px rgba(57, 255, 20, 0.6);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-ghost:hover {
  border-color: var(--neon);
  color: var(--neon);
  box-shadow: 0 0 20px rgba(57, 255, 20, 0.2);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-full {
  width: 100%;
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 15, 0.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.navbar.scrolled {
  background: rgba(10, 10, 15, 0.95);
  border-bottom-color: rgba(57, 255, 20, 0.2);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.logo .neon-dot {
  color: var(--neon);
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-dim);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--neon);
}

.btn-mobile {
  display: none;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(circle, rgba(157, 78, 255, 0.25), rgba(0, 229, 255, 0.08) 40%, transparent 70%);
  filter: blur(60px);
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 50px;
  border: 1px solid rgba(57, 255, 20, 0.4);
  background: rgba(57, 255, 20, 0.06);
  color: var(--neon);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  margin-bottom: 28px;
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  color: var(--text-dim);
  max-width: 600px;
  margin: 0 auto 40px;
}

.hero-sub strong {
  color: var(--text);
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 70px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--neon);
  text-shadow: 0 0 15px rgba(57, 255, 20, 0.5);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ---------- Sections ---------- */
.section {
  padding: 100px 0;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}

.section-head {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  color: var(--neon);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 14px;
}

.section-sub {
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto;
}

/* ---------- Cards ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 36px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(57, 255, 20, 0.4);
  box-shadow: 0 0 30px rgba(57, 255, 20, 0.1);
}

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.service-card {
  text-align: center;
}

.card-icon {
  font-size: 2.6rem;
  margin-bottom: 18px;
}

.service-card h3,
.card h3 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.service-card p,
.card p {
  color: var(--text-dim);
  font-size: 0.95rem;
}

.card-list {
  list-style: none;
  margin-top: 18px;
  text-align: left;
}

.card-list li {
  position: relative;
  padding-left: 24px;
  color: var(--text-dim);
  font-size: 0.92rem;
  margin-bottom: 8px;
}

.card-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--neon);
  font-weight: 700;
}

/* ---------- Portfólio ---------- */
.grid-portfolio {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.portfolio-item {
  display: block;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item:hover {
  transform: translateY(-6px);
  border-color: rgba(157, 78, 255, 0.5);
  box-shadow: 0 0 30px rgba(157, 78, 255, 0.15);
}

.portfolio-demo {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--neon);
  transition: transform 0.2s ease;
}

.portfolio-item:hover .portfolio-demo {
  transform: translateX(4px);
}

.portfolio-mockup {
  padding: 28px;
  background:
    radial-gradient(circle at 20% 20%, color-mix(in srgb, var(--brand) 20%, transparent), transparent 50%),
    radial-gradient(circle at 80% 80%, color-mix(in srgb, var(--brand) 14%, transparent), transparent 50%),
    linear-gradient(135deg, #12121d, #1a1a2e);
  min-height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mini navegador */
.browser {
  width: 100%;
  max-width: 260px;
  border-radius: 10px;
  overflow: hidden;
  background: #0d0d15;
  border: 1px solid var(--card-border);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #191925;
  border-bottom: 1px solid var(--card-border);
}

.browser-dots {
  display: flex;
  gap: 4px;
}

.browser-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.browser-dots i:nth-child(1) { background: #ff5f57; }
.browser-dots i:nth-child(2) { background: #febc2e; }
.browser-dots i:nth-child(3) { background: #28c840; }

.browser-url {
  flex: 1;
  background: #0d0d15;
  border-radius: 20px;
  font-size: 0.6rem;
  color: #777;
  text-align: center;
  padding: 3px 8px;
  white-space: nowrap;
  overflow: hidden;
}

/* Preview de site */
.site-preview {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-nav {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--brand);
  text-align: center;
}

.site-nav b {
  color: var(--text);
}

.site-img {
  height: 62px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.site-img-box {
  width: 70px;
  height: 52px;
  flex-shrink: 0;
}

.site-cards {
  display: flex;
  gap: 6px;
}

.site-cards i {
  flex: 1;
  height: 34px;
  border-radius: 6px;
  background: #1f1f33;
  border: 1px solid var(--card-border);
}

.site-hero-split {
  display: flex;
  gap: 10px;
  align-items: center;
}

.site-hero-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 8px;
}

.site-hero-text i {
  height: 6px;
  border-radius: 3px;
  background: #26263d;
}

.site-hero-text i:first-child {
  width: 60%;
  background: var(--brand);
}

.site-cta {
  height: 16px;
  border-radius: 6px;
  background: var(--brand);
  opacity: 0.9;
}

.site-serv {
  display: flex;
  gap: 6px;
}

.site-serv i {
  flex: 1;
  height: 30px;
  border-radius: 6px;
  background: #1f1f33;
  border: 1px solid var(--card-border);
}

.site-hero-cafe {
  height: 56px;
  border-radius: 8px;
  background: linear-gradient(135deg, #d97706, var(--brand));
}

.site-menu {
  display: flex;
  gap: 6px;
}

.site-menu i {
  flex: 1;
  height: 26px;
  border-radius: 6px;
  background: #1f1f33;
}

/* Celular */
.phone {
  width: 130px;
  border-radius: 20px;
  border: 2px solid #333;
  background: #0d0d15;
  padding: 12px 10px 14px;
  position: relative;
  box-shadow: 0 0 40px color-mix(in srgb, var(--brand) 25%, transparent);
}

.phone-notch {
  width: 40px;
  height: 6px;
  background: #333;
  border-radius: 4px;
  margin: 0 auto 10px;
}

.app-preview {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.app-img {
  height: 62px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}

.app-top {
  font-family: var(--font-head);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  color: var(--brand);
}

.app-top b {
  color: var(--text);
}

.app-chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 36px;
}

.app-chart i {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: color-mix(in srgb, var(--brand) 60%, #1f1f33);
}

.app-chart i:nth-child(1) { height: 40%; }
.app-chart i:nth-child(2) { height: 70%; }
.app-chart i:nth-child(3) { height: 55%; }
.app-chart i:nth-child(4) { height: 90%; }
.app-chart i:nth-child(5) { height: 65%; }
.app-chart i:nth-child(6) { height: 100%; background: var(--brand); }

.app-cards {
  display: flex;
  gap: 6px;
}

.app-cards i {
  flex: 1;
  height: 26px;
  border-radius: 6px;
  background: #1f1f33;
}

.app-cta {
  height: 16px;
  border-radius: 6px;
  background: var(--brand);
  opacity: 0.9;
}

.app-products {
  display: flex;
  gap: 5px;
}

.app-products i {
  flex: 1;
  height: 30px;
  border-radius: 6px;
  background: linear-gradient(160deg, var(--brand), #d1495b);
}

.portfolio-info {
  padding: 24px;
}

.portfolio-info h3 {
  font-family: var(--font-head);
  margin-bottom: 8px;
}

.portfolio-info p {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.portfolio-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(157, 78, 255, 0.15);
  color: #c59dff;
  border: 1px solid rgba(157, 78, 255, 0.4);
}

/* ---------- Planos ---------- */
.grid-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  align-items: stretch;
}

.plan {
  display: flex;
  flex-direction: column;
  position: relative;
}

.plan-featured {
  border: 1px solid var(--neon);
  box-shadow: 0 0 40px rgba(57, 255, 20, 0.15);
}

.plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--neon);
  color: #04100a;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 50px;
  white-space: nowrap;
}

.plan-name {
  font-family: var(--font-head);
  margin-bottom: 6px;
}

.plan-price {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.plan-badge-price {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 3px 10px;
  vertical-align: middle;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.plan-monthly {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--neon);
  text-shadow: 0 0 12px rgba(57, 255, 20, 0.4);
  margin-bottom: 6px;
}

.plan-monthly span {
  font-size: 0.85rem;
  color: var(--text-dim);
  font-weight: 500;
  text-shadow: none;
}

.plan-currency {
  font-size: 1.2rem;
  vertical-align: super;
  color: var(--neon);
}

.plan-desc {
  margin-bottom: 10px;
}

.plan .btn {
  margin-top: auto;
}

.plans-note {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.9rem;
  max-width: 640px;
  margin: 36px auto 0;
}

.plans-note strong {
  color: var(--neon);
}

/* ---------- Criações Avulsas ---------- */
.grid-avulsos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.avulso {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 20px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.avulso:hover {
  border-color: rgba(0, 229, 255, 0.4);
  box-shadow: 0 0 25px rgba(0, 229, 255, 0.12);
  transform: translateY(-3px);
}

.avulso-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.avulso h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  margin-bottom: 2px;
}

.avulso p {
  color: var(--text-dim);
  font-size: 0.85rem;
}

.avulso-price {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--neon);
  white-space: nowrap;
  margin-left: auto;
}

.avulso-price small {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.avulso .btn {
  padding: 8px 16px;
  font-size: 0.85rem;
  white-space: nowrap;
}

@media (max-width: 520px) {
  .avulso {
    flex-wrap: wrap;
  }

  .avulso-price {
    margin-left: 0;
  }
}

/* ---------- Features ---------- */
.grid-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature {
  text-align: center;
  padding: 30px 20px;
  border-radius: 16px;
  border: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.feature:hover {
  border-color: rgba(0, 229, 255, 0.3);
  background: rgba(0, 229, 255, 0.04);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.feature h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.feature p {
  color: var(--text-dim);
  font-size: 0.9rem;
}

/* ---------- Contato ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 30px;
}

.channel {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.channel:hover {
  border-color: var(--neon);
  transform: translateX(6px);
}

.channel-icon {
  font-size: 1.5rem;
}

.channel strong {
  font-family: var(--font-head);
}

.channel span:last-child {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.4;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dim);
}

.form-group input,
.form-group textarea {
  background: var(--bg-alt);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--neon);
  box-shadow: 0 0 15px rgba(57, 255, 20, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #5a5a75;
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-align: center;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--card-border);
  padding: 50px 0 40px;
  background: var(--bg-alt);
}

.footer-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

.footer-inner > p {
  color: var(--text-dim);
  font-size: 0.9rem;
}

.social {
  display: flex;
  gap: 16px;
}

.social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--card-border);
  background: var(--card);
  font-size: 1.2rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.social a:hover {
  border-color: var(--neon);
  box-shadow: 0 0 15px rgba(57, 255, 20, 0.3);
  transform: translateY(-3px);
}

.copyright {
  font-size: 0.8rem !important;
  color: #66668a !important;
}

/* ---------- WhatsApp float ---------- */
.wa-wrapper {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.wa-bubble {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 1px solid rgba(37, 211, 102, 0.4);
  border-radius: 14px;
  padding: 14px 18px;
  max-width: 250px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  animation: bubble-in 0.5s ease both;
}

.wa-bubble-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  color: #25d366;
  filter: drop-shadow(0 0 8px rgba(37, 211, 102, 0.5));
}

.wa-bubble-text {
  display: flex;
  flex-direction: column;
}

.wa-bubble strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.95rem;
  color: #25d366;
  margin-bottom: 2px;
}

.wa-bubble span {
  font-size: 0.8rem;
  color: var(--text-dim);
  display: block;
}

.wa-bubble::after {
  content: "";
  position: absolute;
  bottom: -8px;
  right: 22px;
  width: 14px;
  height: 14px;
  background: var(--card);
  border-right: 1px solid rgba(37, 211, 102, 0.4);
  border-bottom: 1px solid rgba(37, 211, 102, 0.4);
  transform: rotate(45deg);
}

.wa-bubble-close {
  position: absolute;
  top: 6px;
  right: 8px;
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 1.1rem;
  cursor: pointer;
  line-height: 1;
  padding: 2px;
}

.wa-bubble-close:hover {
  color: var(--text);
}

.wa-bubble.hidden {
  display: none;
}

@keyframes bubble-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.whatsapp-float {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 35px rgba(37, 211, 102, 0.75);
}

.whatsapp-float::before,
.whatsapp-float::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.6);
  animation: wa-ring 2s ease-out infinite;
}

.whatsapp-float::after {
  animation-delay: 1s;
}

@keyframes wa-ring {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

.wa-float-icon {
  width: 30px;
  height: 30px;
  color: #fff;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.3));
}

.wa-tooltip {
  position: absolute;
  right: 74px;
  top: 50%;
  transform: translateY(-50%);
  background: #25d366;
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.wa-tooltip::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: #25d366;
}

.whatsapp-float:hover .wa-tooltip {
  opacity: 1;
}

@media (max-width: 520px) {
  .wa-bubble {
    max-width: 180px;
  }
}

/* ---------- Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: flex;
  }

  .btn-desktop {
    display: none;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    right: 0;
    width: min(320px, 80%);
    height: calc(100vh - 70px);
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 50px 20px;
    gap: 26px;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    border-left: 1px solid var(--card-border);
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .btn-mobile {
    display: inline-flex;
  }

  .hero-stats {
    gap: 30px;
  }
}
