/* styles/style.css
   Design system: dark, moderno, responsivo, com microinterações.
   Compatível com: index.html, login.html, services.html, etc.
*/

/* ========== VARS / DESIGN SYSTEM ========== */
:root {
  --bg: #071018;
  --panel: rgba(18, 24, 32, 0.94);
  --panel-2: #0f1622;
  --muted: #93a8b8;
  --text: #eef6fb;
  --primary: #3b82f6;
  --primary-600: #2563eb;
  --accent: #5eead4;
  --danger: #ef4444;
  --glass: rgba(255, 255, 255, 0.03);
  --border: rgba(255, 255, 255, 0.04);
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 6px 18px rgba(3, 8, 14, 0.6);
  --shadow-lg: 0 20px 60px rgba(3, 8, 14, 0.7);
  --maxw: 1150px;
  --easing: cubic-bezier(0.16, 0.84, 0.37, 1);
  --glass-blur: 6px;
  --gap: 18px;
}

/* ========== RESET ========== */
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial;
  background: linear-gradient(180deg, #04101a 0%, #071018 50%, #05121a 100%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.45;
  letter-spacing: 0.01em;
  -webkit-tap-highlight-color: transparent;
  padding-bottom: 48px; /* breathing room for mobile */
}

/* ======== Estilo global para links ======== */
.panel.developer-section a {
  margin-top: 25px;
}

a {
  color: #1a73e8;
  text-decoration: none;
  transition: color 0.3s;
}

a:hover,
a:focus {
  color: #0c47b7;
  outline: none;
}

a:visited {
  color: #551a8b;
}

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

/* Utility layout */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 30px;
}
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /*gap: 16px;*/
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-direction: row;
}

.logo {
  height: 58px;
  width: auto;
  object-fit: contain;
  margin: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-title {
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0;
  color: var(--text);
}
.sub {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
  margin-bottom: 10px;
}

/* ========== HEADER ========== */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(6px);
  background: linear-gradient(
    180deg,
    rgba(6, 10, 14, 0.6),
    rgba(8, 12, 18, 0.45)
  );
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
}

/* Header actions */
.header .btn {
  min-width: 140px;
}

/* ========== PANELS ========== */
.panel {
  background: rgba(10, 16, 24, 0.55);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: none;
  padding: 200px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}

/* Slightly larger panel for hero */
.hero {
  text-align: center;
  padding: 36px 28px;
}
.hero h2 {
  font-size: clamp(1.4rem, 3.4vw, 1.5rem);
  margin: 0 0 8px;
}
.hero p {
  subtle: var(--muted);
  color: var(--muted);
  margin: 6px 0;
}

/* ========== GRID LAYOUTS ========== */
.grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--gap);
  margin-top: 18px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 1080px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* ========== CARD / STACK ========== */
.stack {
  display: grid;
  gap: 12px;
}
.card {
  background: linear-gradient(
    180deg,
    rgba(14, 20, 28, 0.7),
    rgba(8, 10, 14, 0.55)
  );
  border-radius: 10px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.02);
  transition: transform 0.22s var(--easing), box-shadow 0.22s var(--easing);
}
.card h4 {
  margin: 0 0 8px;
  font-size: 1rem;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 10px rgba(59, 130, 246, 0.3);
}

/* ===== PRICING SECTION ===== */
.pricing-section {
  text-align: center;
  padding: 60px 20px;
}

.pricing-section h2 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.pricing-section .sub {
  font-size: 1rem;
  margin-bottom: 40px;
  color: var(--muted);
}

/* ===== PRICING CARDS ===== */
.pricing-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  background: linear-gradient(
    180deg,
    rgba(14, 20, 28, 0.85),
    rgba(6, 10, 14, 0.7)
  );
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: left;
  transition: transform 0.25s var(--easing), box-shadow 0.25s var(--easing);
}

.pricing-card h3 {
  font-size: 1.3rem;
  margin: 0;
}

.pricing-card p {
  margin: 0;
  color: var(--muted);
}

.pricing-card ul {
  margin: 14px 0;
  padding-left: 20px;
  list-style: none;
}

.pricing-card ul li {
  margin: 8px 0;
  padding-left: 22px;
  position: relative;
  color: var(--text);
  font-size: 0.95rem;
}

.pricing-card ul li::before {
  content: "✔";
  color: var(--accent);
  position: absolute;
  left: 0;
  font-size: 0.9rem;
}

/* destaque premium */
.pricing-card.highlight {
  border: 1px solid rgba(94, 234, 212, 0.25);
  box-shadow: 0 20px 50px rgba(46, 54, 66, 0.5);
  transform: translateY(-4px);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 14px rgba(59, 130, 246, 0.3);
}

.pricing-card .btn {
  margin-top: auto;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 0;
  border-radius: 12px;
  transition: all 0.25s var(--easing);
  box-shadow: 0 8px 26px rgba(59, 130, 246, 0.12);
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, #5eead4, #3b82f6);
  opacity: 0;
  transition: opacity 0.25s var(--easing);
  border-radius: 12px;
  z-index: -1;
}

.btn:hover::before {
  opacity: 0.15;
}

.btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 18px 40px rgba(59, 130, 246, 0.3),
    0 0 8px rgba(94, 234, 212, 0.25);
}

/* BOTÃO ACCENT */
.btn.accent {
  background: linear-gradient(135deg, #5eead4, #26d6bf);
  color: #052022;
}

.btn.accent:hover::before {
  opacity: 0.2;
}

/* BOTÃO WARN */
.btn.warn {
  background: linear-gradient(135deg, #fbbf24, #f97316);
  color: #fff;
}

.btn.warn:hover::before {
  opacity: 0.2;
}

/* BOTÃO GHOST */
.btn.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: none;
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.04);
}

/* TAMANHOS */
.btn.lg {
  padding: 14px 22px;
  font-size: 1.05rem;
}
.btn.full {
  width: 100%;
}

/* focus states accessible */
.btn:focus,
a:focus,
input:focus,
button:focus {
  outline: 3px solid rgba(59, 130, 246, 0.14);
  outline-offset: 3px;
  border-radius: 10px;
}

/* ========== FORMS / AUTH ========= */
.auth-container {
  max-width: 720px;
  margin: 20px auto;
  padding: 20px;
}
.tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}
.tab-btn {
  flex: 1;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.14s var(--easing);
}
.tab-btn.active {
  background: linear-gradient(
    180deg,
    rgba(59, 130, 246, 0.12),
    rgba(59, 130, 246, 0.06)
  );
  color: var(--text);
  box-shadow: 0 8px 24px rgba(3, 8, 14, 0.5);
}
.auth-form {
  display: none;
  gap: 12px;
}
.auth-form.active {
  display: flex;
  flex-direction: column;
}
label {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 6px;
}
input[type="email"],
input[type="password"],
input[type="text"],
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(6, 8, 12, 0.4);
  color: var(--text);
  font-size: 0.95rem;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.35);
}
textarea {
  min-height: 100px;
  resize: vertical;
}
input::placeholder {
  color: rgba(255, 255, 255, 0.18);
}
.form-row {
  display: flex;
  gap: 12px;
}
@media (max-width: 650px) {
  .form-row {
    flex-direction: column;
  }
}

/* ========== SERVICES LIST ========== */
.stack .card .openServiceBtn {
  margin-top: 10px;
}

/* ========== TOASTS ========== */
.toast-wrap {
  position: fixed;
  right: 18px;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}
.toast {
  min-width: 260px;
  background: linear-gradient(
    180deg,
    rgba(12, 18, 24, 0.9),
    rgba(6, 10, 14, 0.86)
  );
  border-radius: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.02);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transform-origin: right bottom;
  opacity: 0;
  pointer-events: auto;
  animation: toastIn 0.28s var(--easing) forwards;
}
@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.995);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.toast .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.toast p {
  margin: 0;
}
.toast .muted {
  color: var(--muted);
  font-size: 0.92rem;
}
.toast.ok {
  border-left: 4px solid #16a34a;
}
.toast.err {
  border-left: 4px solid var(--danger);
}
.toast.warn {
  border-left: 4px solid #f59e0b;
}

/* progress bar small */
.progress {
  height: 6px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 6px;
  overflow: hidden;
}
.progress > i {
  display: block;
  height: 100%;
  width: 100%;
  transform-origin: left;
  animation: progressLinear 4.2s linear forwards;
}
@keyframes progressLinear {
  from {
    transform: scaleX(1);
  }
  to {
    transform: scaleX(0);
  }
}

/* ========== LISTS / TEXT ========== */
ul {
  padding-left: 18px;
  margin: 8px 0;
  color: var(--muted);
}
p {
  margin: 6px 0;
}
h2,
h3,
h4 {
  color: var(--text);
  margin: 0 0 8px;
}

/* ========== FOOTER (light) ========== */
.footer {
  margin-top: 26px;
  padding: 16px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.02);
  color: var(--muted);
  text-align: center;
  font-size: 0.9rem;
}

/* ========== STATIC ASSETS FALLBACK ========== */
img {
  max-width: 100%;
  display: block;
  border-radius: 8px;
}

/* ========== SMALL / MOBILE ADJUSTMENTS ========== */
@media (max-width: 900px) {
  .wrap {
    padding: 14px;
  }
  .hero {
    padding: 28px;
  }
  .panel {
    padding: 16px;
  }
}
@media (max-width: 520px) {
  .header .wrap {
    padding: 12px;
  }
  .logo-title {
    font-size: 1rem;
  }
  .btn {
    min-width: unset;
    padding: 10px 12px;
  }
  .toast-wrap {
    left: 12px;
    right: 12px;
  }
}

/* ========== ACCESSIBILITY TWEAKS ========== */
/* ensure focus visible for keyboard users */
:focus {
  outline: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12),
    0 8px 20px rgba(3, 8, 14, 0.45);
  border-radius: 10px;
}

/* ========== NICE SMALL INTERACTIONS ========== */
/* subtle floating for hero CTA */
.hero .btn.lg {
  transition: transform 0.45s var(--easing);
}
.hero .btn.lg:hover {
  transform: translateY(-6px) scale(1.01);
}

/* card subtle tilt on mouse move (optional; safe fallback if no JS) */
.card[data-tilt]:hover {
  transform: translateY(-8px) rotateX(1deg);
}

/* ========== LOADING / PLACEHOLDERS ========== */
.loading {
  padding: 18px;
  border-radius: 10px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.01),
    rgba(255, 255, 255, 0.015)
  );
  color: var(--muted);
  font-weight: 600;
  text-align: center;
}

/* ========== HELPERS ========== */
.text-muted {
  color: var(--muted);
}
.row {
  display: flex;
  gap: 12px;
  align-items: center;
}
.center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hidden {
  display: none;
}

/* ========== EXTRA: CARD SERVICE PRESENTATION (services.html) ========== 
.service-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-radius: 12px;
  background: linear-gradient(
    180deg,
    rgba(8, 12, 18, 0.6),
    rgba(12, 18, 24, 0.5)
  );
  border: 1px solid rgba(255, 255, 255, 0.02);
}
.service-card .meta {
  flex: 1;
}
.service-card h3 {
  margin: 0 0 6px;
}
.service-card .url {
  color: var(--muted);
  font-size: 0.9rem;
  word-break: break-all;
}

.service-card button {
  min-width: unset;
  padding: 8px 12px;
}
*/
.plan-info {
  margin-bottom: 0;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--accent);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}

@media (max-width: 650px) {
  .header-flex {
    flex-direction: column;
    align-items: flex-start;
  }

  .plan-info {
    order: 2;
    margin: 6px 0;
    max-width: 100%;
    text-align: left;
    font-size: 0.85rem;
    padding: 6px 10px;
  }

  .header-actions {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .header-actions .btn {
    flex: 1;
  }
}

@media (max-width: 480px) {
  .plan-info {
    font-size: 0.8rem;
    padding: 5px 8px;
  }
}

/* ===== HERO COM VIDEO ===== */
.video-hero {
  position: relative;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  border-radius: none;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(6, 12, 20, 0.7) 0%,
    rgba(6, 12, 20, 0.8) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 0 20px;
}

.video-hero h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 12px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.video-hero .sub {
  font-size: 1rem;
  margin-bottom: 14px;
}

.card h3 i,
.card h4 i {
  color: #4a90e2;
  margin-right: 8px;
}

.footer {
  background: rgba(10, 16, 24, 0.8);
  border-top: 1px solid var(--border);
  padding: 24px 22px;
  color: var(--muted);
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s;
}
.footer a:hover {
  color: var(--primary-600);
}

.footer-right a {
  margin-left: 12px;
  font-size: 1.1rem;
}

/* ===================== RESPONSIVIDADE EXTRA ===================== */

@media (max-width: 900px) {
  .wrap {
    padding: 14px;
  }
  .hero {
    padding: 22px 16px;
  }
  .panel {
    padding: 18px;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  .form-row {
    flex-direction: column;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .header .wrap {
    padding: 12px;
  }
  .logo-title {
    font-size: 1rem;
  }
  .btn {
    min-width: unset;
    padding: 10px 12px;
  }
  .toast-wrap {
    left: 12px;
    right: 12px;
  }
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  h2 {
    font-size: 1.25rem;
  }
  h3 {
    font-size: 1.05rem;
  }
  p,
  .sub,
  label {
    font-size: 0.88rem;
  }

  .btn {
    padding: 8px 10px;
    font-size: 0.9rem;
  }

  .grid,
  .grid-2,
  .grid-4 {
    gap: 10px;
  }

  .card {
    padding: 12px;
  }
  .service-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .video-hero {
    height: 70vh;
  }
  .video-hero h2 {
    font-size: 1.5rem;
  }
  .video-hero .sub {
    font-size: 0.9rem;
  }
}

/* Container lateral */
.side-button {
  position: fixed;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  text-decoration: none;
  z-index: 1000;
  cursor: pointer;
}

/* Texto inicialmente invisível */
.side-button .text {
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0 5px 5px 0;
  margin-left: 5px;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  white-space: nowrap;
}

/* Seta */
.side-button .arrow {
  color: #fff;
  font-weight: bold;
  font-size: 1.2rem;
  display: inline-block;
  transition: transform 0.4s ease;
}

/* Hover: seta desliza e texto aparece */
.side-button:hover .arrow {
  transform: translateX(160px); /* Ajuste até o final do texto */
}

.side-button:hover .text {
  opacity: 1;
  transform: translateX(0);
}

/* Accordion FAQ */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
}
.accordion-header {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 14px 18px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: background 0.3s;
}
.accordion-header:hover {
  background: rgba(255, 255, 255, 0.05);
}
.accordion-body {
  max-height: 0;
  overflow: hidden;
  padding: 0 18px;
  color: var(--muted);
  line-height: 1.5;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.accordion-item.active .accordion-body {
  max-height: 500px;
  padding: 14px 18px;
}

/* WhatsApp Floating Button */
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  color: #fff;
  font-size: 28px;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 100;
  transition: transform 0.25s;
}
.whatsapp-button:hover {
  transform: scale(1.1);
}

/* Scrollspy Style */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.help-btn {
  background: #007bff;
  color: #fff;
  font-size: 1.3rem;
  width: 40px;
  height: 40px;
  cursor: pointer;
  transition: all 0.2s;
  border-radius: 12px;
  transition: all 0.25s var(--easing);
  box-shadow: 0 8px 26px rgba(59, 130, 246, 0.12);
}

.help-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 18px 40px rgba(59, 130, 246, 0.3),
    0 0 8px rgba(94, 234, 212, 0.25);
}

/* Scrollspy flutuante moderno */
.scrollspy-menu {
  position: fixed;
  top: 70px; /* logo + header */
  right: 20px;
  background: rgba(0, 0, 0, 0.85);
  padding: 15px 20px;
  border-radius: 8px;
  z-index: 999;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.scrollspy-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.scrollspy-menu li {
  margin: 10px 0;
}

.scrollspy-menu a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: color 0.2s;
}

.scrollspy-menu a:hover,
.scrollspy-menu a.active {
  color: #ffce00;
}

.scrollspy-menu.hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
}
.scrollspy-menu.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Chat Style */

.chat-button {
  position: fixed;
  bottom: 90px;
  right: 20px;
  background: #0a74da;
  color: white;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  transition: transform 0.25s;
}

.chat-button:hover {
  transform: scale(1.1);
}

.chat-popup {
  position: fixed;
  bottom: 150px;
  right: 20px;
  width: 260px;
  background: var(--panel);
  border: 1px solid #494949;
  border-radius: 8px;
  display: none;
  flex-direction: column;
  z-index: 1000;
}

.chat-header {
  background: #1a73e8;
  color: white;
  padding: 10px;
  border-radius: 8px 8px 0 0;
}

.chat-body {
  padding: 10px;
}

.chat-body button {
  display: block;
  width: 100%;
  margin: 5px 0;
  cursor: pointer;
}

.chat-response {
  padding: 10px;
  font-size: 14px;
  color: #909090;
}

/*MORE STYLE*/
.btn:hover {
  background: var(--primary-600);
  color: #fff;
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

.scrollspy-menu a {
  color: var(--text);
  transition: color 0.3s;
}

.scrollspy-menu a:hover {
  color: var(--accent);
}

.card:hover {
  border-color: var(--primary);
  background: rgba(20, 30, 50, 0.8);
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/*NEW*/

/* ========== NOVO ESTILO MODERNO PARA SERVICE CARDS ========== */
#servicesList {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding: 10px 0;
}

/* Cartão base */
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border-radius: 16px;
  background: rgba(15, 18, 25, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease, transform 0.25s ease;
  cursor: pointer;
  overflow: hidden;
}

/* Efeito de luz suave no hover */
.service-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at center,
    rgba(0, 174, 255, 0.15),
    transparent 60%
  );
  transform: scale(0);
  transition: transform 0.4s ease;
  pointer-events: none;
}

/* Ao passar o mouse */
.service-card:hover {
  transform: translateY(-6px) scale(1.03);
  border-color: var(--accent);
  box-shadow: 0 8px 20px rgba(0, 174, 255, 0.25);
}

.service-card:hover::before {
  transform: scale(1);
}

/* Conteúdo do card */
.service-card h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
}

.service-card .meta {
  flex: 1;
  font-size: 0.95rem;
  color: var(--muted);
}

.service-card .url {
  color: var(--accent);
  font-size: 0.85rem;
  word-break: break-all;
}

/* Botão do card */
.service-card button {
  align-self: flex-start;
  padding: 8px 14px;
  font-size: 0.85rem;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  transition: background 0.3s ease, transform 0.2s ease;
}

.service-card button:hover {
  background: #00a2ff;
  transform: scale(1.05);
}

/* Loading */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #ddd;
  border-top: 4px solid #333;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

.hidden {
  display: none;
}

.loading-message {
  margin-top: 12px;
  margin-left: 12px;
  font-size: 1rem;
  color: #333;
  font-weight: 500;
  text-align: center;
}
