/* ===========================================
   NeoTantra - Estilo Global
   Cores: #0A0A0A (fundo), #111111 (header/footer), #F7515D (primária)
   Fontes: Distro (títulos), Poppins (texto)
   =========================================== */

@font-face {
  font-family: 'Distro';
  src: url('../fonts/Distro-Regular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Distro';
  src: url('../fonts/Distro-Bold.ttf') format('truetype');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Distro';
  src: url('../fonts/Distro-Heavy.ttf') format('truetype');
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Distro';
  src: url('../fonts/Distro-Black.ttf') format('truetype');
  font-weight: 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-Light.ttf') format('truetype');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-Regular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-Medium.ttf') format('truetype');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-SemiBold.ttf') format('truetype');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-Bold.ttf') format('truetype');
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  --bg: #000000;
  --bg-alt: #111111;
  --primary: #F7515D;
  --primary-dark: #d8434f;
  --text: #ffffff;
  --text-muted: #c9c9c9;
  --border: rgba(247,81,93,0.4);
}

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

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Poppins', Arial, sans-serif;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }

/* === Headings com Distro === */
h1, h2, h3, h4, .distro {
  font-family: 'Distro', 'Poppins', sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
}
h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); }

/* === Container === */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* === Header === */
.site-header {
  background: var(--bg-alt);
  padding: 18px 0 14px;
  border-bottom: 2px solid var(--primary);
  position: sticky; top: 0; z-index: 100;
}
.site-header .container {
  display: flex; align-items: center; justify-content: center;
}
.site-header .logo img {
  max-height: 60px;
  width: auto;
}

/* === Botão padrão === */
.btn {
  display: inline-block;
  background: var(--primary);
  color: #0a0a0a;
  font-family: 'Distro', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 12px 32px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all .25s ease;
  text-transform: none;
  text-align: center;
  letter-spacing: .5px;
  box-shadow: 0 4px 18px rgba(247,81,93,0.25);
}
.btn:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(247,81,93,0.4);
}
.btn-lg { font-size: 1.2rem; padding: 16px 42px; }

/* === Hero (banner) === */
.hero {
  background: #000000;
  padding: 60px 0;
  position: relative;
}
.hero .container {
  display: flex; align-items: center; gap: 40px;
  flex-wrap: wrap;
}
.hero-img { flex: 1 1 380px; max-width: 560px; }
.hero-img img { filter: drop-shadow(0 12px 28px rgba(0,0,0,0.6)); }
.hero-content { flex: 1 1 380px; }
.hero-content h1 {
  color: var(--primary);
  margin-bottom: 14px;
  line-height: 1.05;
  white-space: nowrap;
}
.hero-content p {
  color: var(--text);
  font-size: 1.05rem;
  margin-bottom: 28px;
  font-weight: 400;
}

/* === Seção Vídeo === */
.video-section { padding: 70px 0 50px; text-align: center; }
.video-wrap {
  max-width: 880px;
  margin: 0 auto 30px;
  border: 4px solid var(--primary);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(247,81,93,0.18);
  aspect-ratio: 16 / 9;
}
.video-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-section h2 { color: var(--primary); margin-bottom: 8px; }
.video-section p { color: var(--text-muted); margin-bottom: 26px; font-weight: 500; }

/* === Sobre o casal === */
.about {
  padding: 70px 0;
}
.about .container {
  display: flex; align-items: center; gap: 50px;
  flex-wrap: wrap;
}
.about-img { flex: 1 1 360px; max-width: 480px; }
.about-img img { border-radius: 6px; }
.about-text { flex: 1 1 360px; }
.about-text h2 {
  color: var(--primary);
  margin-bottom: 18px;
}
.about-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: .98rem;
}
.about-text .btn { margin-top: 14px; }

/* === Comprar livro (centralizado) === */
.buy-book {
  padding: 60px 0 70px;
  text-align: center;
}
.buy-book .book-img {
  max-width: 520px;
  margin: 0 auto 24px;
}
.buy-book h2 {
  color: var(--primary);
  margin-bottom: 4px;
  font-size: clamp(2rem, 5vw, 3rem);
}
.buy-book .subtitle {
  color: var(--text);
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  margin-bottom: 18px;
}
.buy-book .lead {
  color: var(--primary);
  font-family: 'Distro', sans-serif;
  font-size: 1.25rem;
  max-width: 100%;
  margin: 0 auto 28px;
  line-height: 1.35;
  white-space: nowrap;
}

/* === Depoimentos === */
.testimonials {
  padding: 50px 0 80px;
  text-align: center;
}
.testimonials h2 {
  color: var(--primary);
  margin-bottom: 6px;
}
.testimonials .subtitle {
  color: var(--text-muted);
  margin-bottom: 36px;
  font-weight: 500;
}
.testimonial-track {
  display: flex; gap: 24px; justify-content: center;
  flex-wrap: wrap;
}
.testimonial-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(247,81,93,0.25);
  border-radius: 14px;
  padding: 22px 22px 22px 110px;
  position: relative;
  flex: 1 1 320px;
  max-width: 460px;
  text-align: left;
  min-height: 130px;
  display: flex; align-items: center;
}
.testimonial-card .ph {
  width: 90px; height: 90px;
  border-radius: 50%;
  border: 3px solid var(--primary);
  position: absolute; left: 14px; top: 50%;
  transform: translateY(-50%);
  background-size: cover; background-position: center;
}
.testimonial-card p { color: var(--text); font-size: .92rem; margin: 0; }
.testimonial-card .testimonial-body { display:flex; flex-direction:column; gap:6px; }
.testimonial-card .testimonial-body .depo-nome {
  color: #F7515D;
  font-weight: 700;
  letter-spacing: .3px;
  font-size: 1rem;
  margin-bottom: 2px;
}

/* === Footer === */
.site-footer {
  background: var(--bg-alt);
  padding: 36px 0 24px;
  margin-top: 20px;
}
.site-footer .container {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 30px;
  align-items: center;
}
.footer-brand img { max-height: 70px; }
.footer-brand .copy {
  color: var(--text-muted);
  font-size: .8rem;
  margin-top: 8px;
}
.footer-meta { text-align: center; }
.footer-meta img { max-height: 60px; margin: 0 auto; }
.footer-social {
  display: flex; flex-direction: column; align-items: flex-end;
  gap: 10px;
}
.footer-social .icons { display: flex; gap: 10px; }
.footer-social .icons a img { height: 32px; width: 32px; }
.footer-social .icons a.tiktok {
  background: #fff; color: #000; width:32px; height:32px;
  border-radius: 6px; display: inline-flex; align-items: center;
  justify-content: center; font-weight: 800; font-size: 14px;
}
.footer-social .privacy {
  color: var(--text-muted); font-size: .82rem; text-align: right;
}
.footer-social .privacy a { color: var(--text-muted); display:block; }
.footer-social .privacy a:hover { color: var(--primary); }

/* === Página COMPRAR === */
.page-comprar { padding: 50px 0; }
.page-comprar .titulo {
  text-align: center; margin-bottom: 40px;
}
.page-comprar .titulo h1 {
  color: var(--primary);
  font-size: 1.6rem;
  letter-spacing: 1px;
}
.page-comprar .titulo p { color: var(--text); font-weight: 600; }

.comprar-grid {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 40px; align-items: start;
}
.comprar-img { text-align: center; }
.comprar-img img { max-width: 100%; }

.comprar-form { padding: 0 10px; }
.comprar-form .form-title {
  text-align: center; margin-bottom: 22px;
}
.comprar-form .form-title h2 { color: var(--primary); font-size: 1.2rem; }
.comprar-form .form-title h3 { color: var(--primary); font-size: 1rem; font-weight: 700; }

.comprar-form label {
  display: block; color: var(--primary); font-weight: 600;
  margin: 14px 0 6px; font-size: .95rem;
}
.comprar-form input,
.comprar-form select,
.comprar-form textarea {
  width: 100%; background: transparent; color: var(--text);
  border: 1.5px solid var(--primary);
  border-radius: 30px; padding: 12px 18px;
  font-family: 'Poppins', sans-serif; font-size: .95rem;
  outline: none; transition: border-color .2s;
}
.comprar-form input::placeholder,
.comprar-form textarea::placeholder { color: rgba(247,81,93,0.7); }
.comprar-form textarea {
  border-radius: 18px; min-height: 160px; resize: vertical;
  font-family: 'Poppins', sans-serif;
}
.comprar-form select { appearance: none; background-image:
  linear-gradient(45deg, transparent 50%, var(--primary) 50%),
  linear-gradient(135deg, var(--primary) 50%, transparent 50%);
  background-position: calc(100% - 22px) center, calc(100% - 16px) center;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat; padding-right: 40px;
}
.comprar-form input:focus,
.comprar-form select:focus,
.comprar-form textarea:focus { border-color: #fff; }

/* Opções do select: fundo escuro + texto claro (PIX/Cartão) */
.comprar-form select { color: #ffffff; background-color: #0a0a0a; }
.comprar-form select option {
  background-color: #111111;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  padding: 10px 14px;
}
.comprar-form select option:checked,
.comprar-form select option:hover {
  background-color: var(--primary);
  color: #0a0a0a;
}
/* placeholder primeira option (disabled) */
.comprar-form select option[value=""] {
  color: rgba(247,81,93,0.9);
}
.comprar-form .endereco-section { margin-top: 8px; }
.comprar-form .endereco-section .endereco-title {
  color: var(--primary); font-weight: 700; margin-top: 18px; margin-bottom: 4px;
}
.comprar-form .valor {
  text-align: center; color: var(--primary);
  font-family: 'Distro', sans-serif; font-size: 1.45rem;
  margin: 22px 0 14px;
}
.comprar-form .submit-wrap { text-align: center; margin-top: 8px; }
.comprar-form .btn { background: var(--primary); color: #1a1a1a; font-size: 1rem; }

/* === Página Privacidade === */
.privacidade { padding: 40px 0 60px; }
.privacidade h1 { text-align: center; color: var(--text); margin-bottom: 30px; font-size: 1.6rem; letter-spacing: 1px; }
.privacidade .conteudo { max-width: 920px; margin: 0 auto; color: var(--text); font-size: .9rem; line-height: 1.6; }
.privacidade .conteudo h2, .privacidade .conteudo h3 { color: var(--text); margin: 18px 0 6px; font-family: 'Poppins', sans-serif; font-size: 1rem; font-weight: 700; }
.privacidade .conteudo p, .privacidade .conteudo li { margin-bottom: 6px; color: var(--text); }
.privacidade .conteudo ul { padding-left: 22px; margin-bottom: 8px; }
.privacidade .cta-pdf { text-align: center; margin-top: 30px; }

/* === Modal sucesso === */
.toast {
  position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #1a1a1a; padding: 14px 24px;
  border-radius: 30px; font-weight: 600; z-index: 9999;
  opacity: 0; transition: opacity .3s, transform .3s;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(-6px); }

/* === Mobile === */
@media (max-width: 820px) {
  /* Tipografia compacta no mobile */
  h1 { font-size: clamp(1.7rem, 7vw, 2.2rem); line-height: 1.1; }
  h2 { font-size: clamp(1.35rem, 6vw, 1.8rem); line-height: 1.15; }
  h3 { font-size: clamp(1.1rem, 5vw, 1.4rem); }

  /* Header */
  .site-header { padding: 12px 0 10px; }
  .site-header .container { flex-direction: column; }
  .site-header .logo img { max-height: 48px; }

  /* Botão menor no mobile */
  .btn { padding: 10px 24px; font-size: .95rem; }
  .btn-lg { font-size: 1rem; padding: 12px 28px; }

  /* Hero compacto e alinhado - mobile */
  .hero { padding: 28px 0 16px; }
  .hero .container { flex-direction: column; text-align: center; gap: 0; row-gap: 0; padding: 0 14px; display: flex; }
  .hero-img { max-width: 300px; margin: 0 auto; flex: 0 0 auto; padding: 0; line-height: 0; }
  .hero-img img { filter: drop-shadow(0 8px 18px rgba(0,0,0,0.55)); display: block; margin: 0 auto; }
  .hero-content { text-align: center; flex: 0 0 auto; margin-top: -10px; padding: 0; }
  .hero-content h1 { margin: 0 0 6px; font-size: clamp(1.7rem, 7.5vw, 2.2rem); line-height: 1.05; white-space: normal; }
  .hero-content p { font-size: .9rem; line-height: 1.3; margin-bottom: 10px; }
  .hero-content .btn { margin-top: 2px; }

  /* Seção vídeo */
  .video-section { padding: 28px 0 24px; }
  .video-section h2 { font-size: 1.25rem; margin-bottom: 6px; }
  .video-section p { font-size: .9rem; margin-bottom: 14px; }
  .video-wrap { border-width: 3px; border-radius: 12px; margin-bottom: 18px; }

  /* Sobre o casal */
  .about { padding: 30px 0 28px; }
  .about .container { flex-direction: column; text-align: center; gap: 18px; }
  .about-img { max-width: 320px; margin: 0 auto; }
  .about-text h2 { margin-bottom: 10px; font-size: 1.4rem; }
  .about-text p { font-size: .9rem; margin-bottom: 10px; line-height: 1.45; }
  .about-text .btn { margin-top: 8px; }

  /* Comprar livro (seção central da home) */
  .buy-book { padding: 28px 0 32px; }
  .buy-book .book-img { max-width: 260px; margin-bottom: 14px; }
  .buy-book h2 { font-size: clamp(1.7rem, 7vw, 2.2rem); }
  .buy-book .subtitle { font-size: .9rem; margin-bottom: 10px; }
  .buy-book .lead { font-size: 1.05rem; line-height: 1.3; margin-bottom: 16px; white-space: normal; }

  /* Página COMPRAR */
  .page-comprar { padding: 24px 0; }
  .page-comprar .titulo { margin-bottom: 20px; }
  .page-comprar .titulo h1 { font-size: 1.2rem; }
  .comprar-grid { grid-template-columns: 1fr; gap: 18px; }
  .comprar-form { padding: 0; }
  .comprar-form input, .comprar-form select, .comprar-form textarea { padding: 10px 14px; font-size: .9rem; }
  .comprar-form textarea { min-height: 110px; }

  /* Depoimentos */
  .testimonials { padding: 24px 0 32px; }
  .testimonials h2 { font-size: 1.4rem; }
  .testimonials .subtitle { margin-bottom: 18px; font-size: .88rem; }
  .testimonial-track { gap: 14px; }
  .testimonial-card { padding: 18px; flex-direction: column; text-align: center; min-height: 0; max-width: 100%; }
  .testimonial-card .ph { position: static; transform: none; margin: 0 auto 10px; width: 72px; height: 72px; }
  .testimonial-card p { font-size: .88rem; }

  /* Footer */
  .site-footer { padding: 22px 0 16px; }
  .site-footer .container { grid-template-columns: 1fr; text-align: center; gap: 16px; }
  .footer-brand, .footer-meta, .footer-social { display: flex; flex-direction: column; align-items: center; }
  .footer-brand img { max-height: 54px; }
  .footer-meta img { max-height: 48px; }
  .footer-social { align-items: center; }
  .footer-social .privacy { text-align: center; font-size: .78rem; }

  /* Privacidade */
  .privacidade { padding: 24px 0 40px; }
  .privacidade h1 { font-size: 1.3rem; margin-bottom: 18px; }

  /* WhatsApp flutuante menor no mobile */
  .whatsapp-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
}

@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .hero-content h1 { font-size: clamp(1.6rem, 8vw, 2rem); }
  .hero-content p { font-size: .9rem; }
  .buy-book .lead { font-size: .98rem; }
}

/* === ADMIN === */
.admin-login-page {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg);
  padding: 20px;
}
.admin-login-card {
  width: 100%; max-width: 460px;
  text-align: center;
}
.admin-login-card .logo { margin-bottom: 30px; }
.admin-login-card .logo img { max-height: 90px; margin: 0 auto; }
.admin-login-card .form-group { margin-bottom: 16px; }
.admin-login-card input {
  width: 100%; background: transparent; color: var(--primary);
  border: 1.5px solid var(--primary);
  border-radius: 30px; padding: 14px 26px;
  font-family: 'Poppins', sans-serif; font-size: 1rem;
  text-align: center; outline: none;
}
.admin-login-card input::placeholder { color: rgba(247,81,93,0.7); }
.admin-login-card .btn { width: 60%; margin-top: 8px; }
.admin-login-card .alert {
  background: rgba(247,81,93,0.18); color: #fff;
  padding: 10px; border-radius: 6px; margin-bottom: 14px; font-size: .9rem;
}

/* === Dashboard layout === */
.admin-shell { min-height: 100vh; display: flex; flex-direction: column; }
.admin-header {
  background: #000; padding: 16px 0; text-align: center;
}
.admin-header img { max-height: 60px; margin: 0 auto; }
.admin-body { display: flex; flex: 1; min-width: 0; }
.admin-sidebar {
  width: 280px;
  flex: 0 0 280px;
  min-width: 280px;
  background: var(--bg);
  border-right: 1px solid rgba(255,255,255,0.05);
  padding: 24px 22px;
  color: var(--primary);
  font-family: 'Distro', sans-serif;
  /* Scroll vertical próprio */
  max-height: calc(100vh - 60px); /* topbar do admin */
  overflow-y: auto;
  overflow-x: hidden;
  position: sticky;
  top: 60px;
  scrollbar-width: thin;
  scrollbar-color: #F7515D #111;
}
.admin-sidebar::-webkit-scrollbar { width: 8px; }
.admin-sidebar::-webkit-scrollbar-track { background: #0a0a0a; border-radius: 4px; }
.admin-sidebar::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #F7515D, #b83440);
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.08);
}
.admin-sidebar::-webkit-scrollbar-thumb:hover { background: #F7515D; }
.admin-sidebar h3 { color: var(--primary); margin: 16px 0 10px; font-size: 1.3rem; }
.admin-sidebar ul { list-style: none; padding: 0; }
.admin-sidebar li { margin: 6px 0; }
.admin-sidebar a {
  color: var(--primary); display: block; padding: 4px 0;
  font-family: 'Distro', sans-serif; font-weight: 700; font-size: 1rem;
  border-bottom: 1px solid rgba(247,81,93,0.15);
}
.admin-sidebar a:hover { color: #fff; }
.admin-sidebar a.active { color: #fff; }
.admin-sidebar .sub { padding-left: 14px; font-size: .9rem; border: none; }
.admin-content { flex: 1 1 auto; min-width: 0; max-width: 100%; padding: 30px 40px; background: #0a0a0a; color: #fff; overflow-x: hidden; }
.admin-content h1 { color: var(--primary); margin-bottom: 20px; font-size: 1.8rem; }
.admin-footer {
  background: #000; padding: 14px 24px;
  display: flex; justify-content: space-between;
  color: var(--text-muted); font-size: .8rem;
}
.admin-footer .by { color: var(--primary); font-family: 'Distro'; font-weight: 700; }

.table-data { width: 100%; border-collapse: collapse; margin-top: 14px; }
.table-data th, .table-data td { padding: 10px 12px; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.08); }
.table-data th { background: #161616; color: var(--primary); font-weight: 700; }
.table-data tr:hover td { background: rgba(255,255,255,0.03); }
.btn-sm { padding: 6px 14px; font-size: .85rem; border-radius: 20px; }

/* Wrapper para tabelas largas no admin: barra de rolagem horizontal visível embaixo da tabela */
.table-wrap{
  width:100%; max-width:100%;
  overflow-x:auto; overflow-y:hidden;
  border:1px solid rgba(255,255,255,.06);
  border-radius:10px; background:#0f0f0f;
  scrollbar-width:thin; scrollbar-color:#F7515D #1a1a1a;
}
.table-wrap::-webkit-scrollbar{ height:12px; }
.table-wrap::-webkit-scrollbar-track{ background:#1a1a1a; border-radius:10px; }
.table-wrap::-webkit-scrollbar-thumb{
  background:linear-gradient(90deg,#F7515D,#b83440);
  border-radius:10px; border:2px solid #1a1a1a;
}
.table-wrap::-webkit-scrollbar-thumb:hover{ background:#F7515D; }
.table-wrap .table-data{ margin-top:0; min-width:1100px; }
.table-wrap .table-data th, .table-wrap .table-data td{ white-space:nowrap; }
.table-wrap .tbl{ margin-top:0; min-width:980px; }
.table-wrap .tbl th, .table-wrap .tbl td{ white-space:nowrap; }

@media (max-width: 820px) {
  .admin-body { flex-direction: column; }
  .admin-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    max-height: 260px;   /* scroll horizontal interno no mobile */
    position: static;
    top: auto;
  }
  .admin-content { padding: 20px; }
}

/* WhatsApp flutuante */
.whatsapp-float {
  position: fixed; right: 20px; bottom: 20px;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  z-index: 999; box-shadow: 0 6px 18px rgba(0,0,0,0.4);
  transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 32px; height: 32px; fill: #fff; }


/* ==========================================================
   DASHBOARD ANALÍTICO
   ========================================================== */
.dash-wrap { padding: 4px 0 40px; }
.dash-top {
  display:flex; justify-content:space-between; align-items:flex-end;
  gap:16px; flex-wrap:wrap; margin-bottom:18px;
}
.dash-top h1 {
  color:#F7515D; font-family:'Distro',sans-serif; font-size:1.9rem;
  margin:0 0 6px;
}
.dash-top .muted { color:#9a9a9a; font-size:.88rem; margin:0; }

.dash-filter { display:flex; flex-wrap:wrap; gap:6px; align-items:center; }
.dash-filter .chip {
  display:inline-block; padding:7px 14px; border-radius:999px;
  background:#1a1a1a; color:#cfcfcf; font-size:.82rem;
  border:1px solid rgba(255,255,255,.06); transition:all .2s;
}
.dash-filter .chip:hover { background:#222; color:#fff; }
.dash-filter .chip.active {
  background:#F7515D; color:#0a0a0a; border-color:#F7515D; font-weight:600;
}
.dash-filter .range {
  display:inline-flex; gap:6px; align-items:center;
  margin-left:8px; padding:4px; background:#1a1a1a; border-radius:8px;
}
.dash-filter .range input[type=date] {
  background:#111; color:#fff; border:1px solid rgba(255,255,255,.08);
  border-radius:6px; padding:6px 8px; font-size:.82rem;
  color-scheme: dark;
}
.dash-filter .btn-filter {
  background:#F7515D; color:#0a0a0a; border:none; border-radius:6px;
  padding:6px 14px; font-weight:600; cursor:pointer; font-size:.82rem;
}
.dash-filter .btn-filter:hover { background:#ff6a75; }

.dash-err {
  background:rgba(247,81,93,.12); color:#ffb4ba;
  border:1px solid rgba(247,81,93,.3);
  padding:10px 14px; border-radius:10px; margin-bottom:14px; font-size:.9rem;
}

/* ===== KPIs ===== */
.kpi-grid {
  display:grid; grid-template-columns: repeat(6, 1fr);
  gap:14px; margin-bottom:22px;
}
.kpi {
  display:flex; align-items:center; gap:12px;
  background: linear-gradient(145deg, #161616 0%, #0e0e0e 100%);
  border:1px solid rgba(247,81,93,.18);
  border-radius:14px; padding:14px 16px;
  position:relative; overflow:hidden;
  transition: transform .2s, border-color .2s;
}
.kpi::before {
  content:""; position:absolute; inset:0; left:auto; width:4px;
  background:#F7515D;
}
.kpi:hover { transform: translateY(-2px); border-color: rgba(247,81,93,.4); }
.kpi-a::before{ background:#F7515D; } .kpi-b::before{ background:#2ecc71; }
.kpi-c::before{ background:#4aa3ff; } .kpi-d::before{ background:#ffce54; }
.kpi-e::before{ background:#a569ff; } .kpi-f::before{ background:#ff8a95; }
.kpi-ico { font-size:1.8rem; filter: drop-shadow(0 2px 4px rgba(0,0,0,.4)); }
.kpi-label { color:#9a9a9a; font-size:.75rem; text-transform:uppercase; letter-spacing:.6px; }
.kpi-value { color:#fff; font-family:'Distro',sans-serif; font-size:1.45rem; line-height:1; margin-top:4px; }

/* ===== Charts ===== */
.chart-grid {
  display:grid; grid-template-columns: 2.2fr 1fr; gap:16px; margin-bottom:18px;
}
.card {
  background: linear-gradient(145deg, #161616 0%, #0e0e0e 100%);
  border:1px solid rgba(255,255,255,.06);
  border-radius:14px; padding:16px 18px;
  box-shadow: 0 4px 18px rgba(0,0,0,.25);
  position:relative;
}
.card canvas { max-height:320px; }
.card-title {
  color:#F7515D; font-family:'Distro',sans-serif; font-size:1.05rem;
  margin-bottom:10px; letter-spacing:.3px;
}
.table-scroll { max-height:340px; overflow:auto; }

/* Pills status */
.pill {
  display:inline-block; padding:3px 10px; border-radius:999px;
  font-size:.72rem; font-weight:600; text-transform:uppercase;
  background:#2a2a2a; color:#ddd;
}
.pill-aguardando { background:rgba(255,206,84,.2); color:#ffce54; }
.pill-pago       { background:rgba(46,204,113,.2); color:#2ecc71; }
.pill-enviado    { background:rgba(74,163,255,.2); color:#4aa3ff; }
.pill-cancelado  { background:rgba(138,138,138,.25); color:#bbb; }

.table-data.compact th, .table-data.compact td { padding:8px 10px; font-size:.82rem; }

/* Responsivo */
@media (max-width: 1180px) {
  .kpi-grid { grid-template-columns: repeat(3, 1fr); }
  .chart-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-top h1 { font-size:1.5rem; }
  .kpi-value { font-size:1.2rem; }
  .kpi-ico { font-size:1.5rem; }
  .card { padding:12px; }
}


/* =========================================================
   CARROSSEL DE DEPOIMENTOS
========================================================= */
.carousel { position: relative; max-width: 1100px; margin: 0 auto; padding: 0 40px; }
.carousel-viewport { overflow: hidden; }
.carousel-track {
  display: flex;
  transition: transform .55s cubic-bezier(.22,.61,.36,1);
  will-change: transform;
}
.carousel-slide {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 8px 14px;
  box-sizing: border-box;
}
.carousel-slide .testimonial-card { height: 100%; margin: 0; }
.carousel-slide .depo-nome {
  margin-top: 0;
  margin-bottom: 4px;
  color: #F7515D;
  font-weight: 700;
  letter-spacing: .3px;
  font-size: 1rem;
}
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(247,81,93,.5);
  background: rgba(17,17,17,.85);
  color: #F7515D;
  font-size: 1.05rem;
  cursor: pointer;
  z-index: 3;
  transition: all .25s ease;
}
.carousel-arrow:hover { background: #F7515D; color: #fff; border-color: #F7515D; }
.carousel-arrow.prev { left: 0; }
.carousel-arrow.next { right: 0; }
.carousel-dots {
  display: flex; gap: 8px; justify-content: center;
  margin-top: 18px;
}
.carousel-dot {
  width: 10px; height: 10px; border-radius: 50%;
  border: 0; padding: 0; cursor: pointer;
  background: rgba(255,255,255,.25);
  transition: all .2s ease;
}
.carousel-dot.active { background: #F7515D; transform: scale(1.25); }
.carousel-dot:hover { background: rgba(247,81,93,.75); }

@media (max-width: 820px) {
  .carousel { padding: 0 34px; }
  .carousel-slide { flex: 0 0 100%; max-width: 100%; padding: 6px 6px; }
  .carousel-arrow { width: 34px; height: 34px; font-size: .95rem; }
  .carousel-arrow.prev { left: -4px; }
  .carousel-arrow.next { right: -4px; }
}


/* === Bloco Frete + Chamada (página /comprar.php) ============== */
.comprar-bloco-frete{
  margin-top:18px;
  padding:20px 16px;
  background:linear-gradient(135deg, rgba(247,81,93,.06), rgba(46,204,113,.04));
  border:1px solid rgba(255,255,255,.08);
  border-radius:14px;
  text-align:center;
}
.comprar-bloco-frete .badge-frete{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:#2ecc71;
  color:#fff;
  font-weight:800;
  letter-spacing:.6px;
  border-radius:999px;
  padding:10px 24px;
  font-size:1.05rem;
  box-shadow:0 6px 18px rgba(46,204,113,.35);
  margin-bottom:18px;
  text-transform:uppercase;
  animation:freteFloat 2.4s ease-in-out infinite;
}
@keyframes freteFloat {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-3px); }
}
.comprar-bloco-frete .livro-chamada{
  color:#fff;
  line-height:1.35;
}
.comprar-bloco-frete .linha-paginas{
  color:#F7515D;
  font-weight:900;
  font-size:1.6rem;
  letter-spacing:1px;
  text-transform:uppercase;
  text-shadow:0 0 14px rgba(247,81,93,.45);
  margin-bottom:6px;
}
.comprar-bloco-frete .livro-paginas{
  color:#fff;
  font-weight:900;
  font-size:2.1rem;
  margin-right:6px;
  display:inline-block;
  text-shadow:0 0 16px rgba(247,81,93,.6);
}
.comprar-bloco-frete .linha-frase{
  color:#eaeaea;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.4px;
  font-size:.92rem;
  line-height:1.4;
}
@media (max-width:600px){
  .comprar-bloco-frete .linha-paginas{ font-size:1.3rem; }
  .comprar-bloco-frete .livro-paginas{ font-size:1.7rem; }
  .comprar-bloco-frete .linha-frase{ font-size:.82rem; }
}
