/* WhaTickets Pro — Tema WordPress
 * Fontes carregadas via wp_enqueue_style em functions.php
 * Paths de assets adaptados para estrutura de tema WordPress
 */

/* --- Variáveis de Design --- */
:root {
  /* Fontes */
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Transição de Tema */
  --theme-transition: background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                       border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                       color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                       box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);

  /* Tema Escuro (Padrão) */
  --bg-primary: #0a0614;
  --bg-secondary: rgba(21, 16, 42, 0.75);
  --bg-tertiary: rgba(35, 27, 69, 0.45);
  --bg-image: url('../images/background-dark.webp');
  --text-primary: #f8f7fa;
  --text-secondary: #adabbf;
  --text-muted: #74718c;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-glow: rgba(0, 229, 255, 0.2);
  --accent-primary: #8257ff;
  --accent-primary-rgb: 130, 87, 255;
  --accent-secondary: #00e5ff;
  --accent-secondary-rgb: 0, 229, 255;
  --accent-success: #00e676;
  --accent-glow: rgba(130, 87, 255, 0.2);
  --card-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.45);
  --header-bg: rgba(10, 6, 20, 0.75);
  --logo-src: url('../images/logo.webp');
  --wa-bg: url('../images/wa-background-dark.webp');
  --scrollbar-thumb: #352d58;
  --scrollbar-track: #0b0716;
}

/* Override para Tema Claro */
html[data-theme="light"] {
  --bg-primary: #f3f5fa;
  --bg-secondary: rgba(255, 255, 255, 0.85);
  --bg-tertiary: rgba(225, 230, 245, 0.6);
  --bg-image: url('../images/background-light.webp');
  --text-primary: #120e24;
  --text-secondary: #56536b;
  --text-muted: #8d8aab;
  --border-color: rgba(18, 14, 36, 0.07);
  --border-color-glow: rgba(98, 0, 234, 0.15);
  --accent-primary: #6200ea;
  --accent-primary-rgb: 98, 0, 234;
  --accent-secondary: #0091ea;
  --accent-secondary-rgb: 0, 145, 234;
  --accent-success: #00c853;
  --accent-glow: rgba(98, 0, 234, 0.08);
  --card-shadow: 0 12px 40px 0 rgba(18, 25, 78, 0.06);
  --header-bg: rgba(243, 245, 250, 0.8);
  --logo-src: url('../images/logo-dark.webp');
  --wa-bg: url('../images/wa-background.webp');
  --scrollbar-thumb: #c8cbd6;
  --scrollbar-track: #edf0f6;
}

/* --- Estilos Globais e Reset --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  scroll-padding-top: 95px; /* Offset para o header fixo não cobrir o início das seções */
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  background-image: var(--bg-image);
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: var(--theme-transition);
}

/* Personalização da Barra de Rolagem (Padrão e Fallback) */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

@supports not (scrollbar-color: auto) {
  ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
  }
  ::-webkit-scrollbar-track {
    background: var(--scrollbar-track);
  }
  ::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: var(--accent-primary);
  }
}

/* Cursor Customizado */
.custom-cursor {
  width: 8px;
  height: 8px;
  background-color: var(--accent-secondary);
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9999;
  transition: width 0.2s, height 0.2s, background-color 0.2s;
}

.custom-cursor-follower {
  width: 32px;
  height: 32px;
  border: 1px solid var(--accent-primary);
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9998;
  transition: transform 0.08s ease-out, width 0.2s, height 0.2s, border-color 0.2s;
}

/* Hover no cursor */
.custom-cursor.hovered {
  width: 14px;
  height: 14px;
  background-color: var(--accent-primary);
}

.custom-cursor-follower.hovered {
  width: 48px;
  height: 48px;
  border-color: var(--accent-secondary);
  background-color: rgba(0, 229, 255, 0.05);
}

/* Remover cursor customizado em telas touch */
@media (max-width: 1024px) {
  .custom-cursor, .custom-cursor-follower {
    display: none !important;
  }
}

/* --- Tipografia & Títulos --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Layout Estrutural --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 8rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4.5rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.15rem;
}

/* Badge Superior */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-secondary);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  backdrop-filter: blur(8px);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-success);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px var(--accent-success);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(0, 230, 118, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 230, 118, 0); }
}

/* --- Efeitos Glassmorphism --- */
.glass {
  background: var(--bg-secondary);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  box-shadow: var(--card-shadow);
  transition: var(--theme-transition);
}

.glass:hover {
  border-color: var(--border-color-glow);
}

/* --- Botões / Links --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.875rem 2rem;
  border-radius: 12px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-primary) 50%, var(--accent-primary) 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(130, 87, 255, 0.4);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent-secondary) 0%, var(--accent-primary) 100%);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(130, 87, 255, 0.6);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-secondary {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--bg-secondary);
  border-color: var(--accent-primary);
  transform: translateY(-3px);
}

/* --- Cabeçalho de Navegação --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

.header .btn {
  padding: 0.65rem 1.35rem;
  font-size: 0.9rem;
  border-radius: 10px;
}

.header.scrolled {
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  transition: height 0.3s ease;
}

.header.scrolled .header-container {
  height: 60px;
}

/* Logotipo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-img {
  height: 42px !important;
  width: auto !important;
  transition: var(--theme-transition);
}

/* Logo via get_custom_logo() do WordPress */
.custom-logo-link {
  display: inline-flex !important;
  align-items: center !important;
  text-decoration: none !important;
}

.custom-logo-link img,
img.custom-logo {
  height: 42px !important;
  width: auto !important;
  max-height: 42px !important;
  transition: var(--theme-transition);
}

/* Logo escuro/claro via JS (data-theme) — fallback para logo estático do tema */
html[data-theme="dark"] .logo-img-light { display: none; }
html[data-theme="light"] .logo-img-dark  { display: none; }

/* Links do Menu */
.nav-menu {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-menu > li > a,
.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s;
  position: relative;
}

.nav-menu > li > a::after,
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-secondary);
  transition: width 0.3s ease;
}

.nav-menu > li > a:hover,
.nav-link:hover {
  color: var(--text-primary);
}

.nav-menu > li > a:hover::after,
.nav-link:hover::after {
  width: 100%;
}

/* Ações de Cabeçalho (Tema e Botão) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-primary);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
  border: 1px solid var(--border-color);
  background-color: var(--bg-tertiary);
  flex-shrink: 0;
}

.theme-toggle:hover {
  background-color: var(--bg-secondary);
  border-color: var(--accent-primary);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  transition: transform 0.5s ease;
}

.theme-toggle:hover svg {
  transform: rotate(30deg);
}

/* Ícones de sol e lua */
.theme-toggle .sun-icon { display: none; }
.theme-toggle .moon-icon { display: block; }

html[data-theme="light"] .theme-toggle .sun-icon { display: block; }
html[data-theme="light"] .theme-toggle .moon-icon { display: none; }

/* Seletores de Idioma e Moeda Premium */
.lang-selector,
.currency-selector {
  position: relative;
  display: inline-block;
}

.lang-trigger,
.currency-trigger {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 0 1rem;
  height: 42px;
  border-radius: 50px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.lang-trigger:hover,
.currency-trigger:hover {
  background-color: var(--bg-secondary);
  border-color: var(--accent-primary);
}

.lang-trigger svg,
.currency-trigger svg {
  transition: transform 0.3s ease;
}

.lang-selector:hover .lang-trigger svg,
.currency-selector:hover .currency-trigger svg {
  transform: rotate(180deg);
}

.lang-dropdown,
.currency-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  list-style: none;
  padding: 0.5rem;
  min-width: 145px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100;
}

.lang-selector:hover .lang-dropdown,
.lang-selector:focus-within .lang-dropdown,
.currency-selector:hover .currency-dropdown,
.currency-selector:focus-within .currency-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown li a,
.currency-dropdown li button {
  display: block;
  width: 100%;
  padding: 0.6rem 0.8rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.2s ease;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-body);
}

.lang-dropdown li a:hover,
.currency-dropdown li button:hover {
  background: rgba(130, 87, 255, 0.1);
  color: var(--accent-secondary);
  padding-left: 1.1rem;
}

/* Ocultar seletores do menu mobile por padrão no Desktop */
.nav-menu-selectors {
  display: none;
}

/* Menu Mobile Hamburguer */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 140px;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  z-index: 2;
}

.hero h1 {
  font-size: 3.75rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-desc {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Mockup de Interface Animado */
.mockup-container {
  width: 100%;
  max-width: 500px;
  height: 380px;
  position: relative;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 1rem;
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.mockup-dots span:nth-child(1) { background-color: #ff5f56; }
.mockup-dots span:nth-child(2) { background-color: #ffbd2e; }
.mockup-dots span:nth-child(3) { background-color: #27c93f; }

.mockup-title {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

.mockup-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background-image: var(--wa-bg);
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  padding: 1.25rem 1rem;
  overflow: hidden;
}

/* Chat Bubbles Mock */
.mock-bubble {
  padding: 0.75rem 1rem;
  border-radius: 12px;
  max-width: 80%;
  font-size: 0.85rem;
  animation: slide-bubble 4s ease infinite;
  opacity: 0;
}

.mock-bubble.sent {
  align-self: flex-end;
  background-color: var(--accent-primary);
  color: #fff;
  border-bottom-right-radius: 2px;
  transform: translateX(20px);
}

.mock-bubble.received {
  align-self: flex-start;
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
  border-bottom-left-radius: 2px;
  transform: translateX(-20px);
  border: 1px solid var(--border-color);
}

.mock-bubble:nth-child(1) {
  animation-delay: 0.5s;
}
.mock-bubble:nth-child(2) {
  animation-delay: 1.8s;
}
.mock-bubble:nth-child(3) {
  animation-delay: 3s;
}

@keyframes slide-bubble {
  0% { opacity: 0; transform: translateY(10px) scale(0.95); }
  5% { opacity: 1; transform: translateY(0) scale(1); }
  90% { opacity: 1; transform: translateY(0) scale(1); }
  95% { opacity: 0; transform: translateY(-10px) scale(0.95); }
  100% { opacity: 0; }
}

/* Kanban Card Mock */
.mockup-kanban-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 180px;
  padding: 1rem;
  border-radius: 14px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border-color-glow);
  transform: rotate(-4deg);
  animation: float-reverse 7s ease-in-out infinite;
}

@keyframes float-reverse {
  0% { transform: translateY(0px) rotate(-4deg); }
  50% { transform: translateY(10px) rotate(-2deg); }
  100% { transform: translateY(0px) rotate(-4deg); }
}

.kanban-title {
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.kanban-tag {
  display: inline-block;
  font-size: 0.6rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background-color: rgba(0, 229, 255, 0.15);
  color: var(--accent-secondary);
  font-weight: 600;
}

/* Pix Card Mock */
.mockup-pix-card {
  position: absolute;
  top: -15px;
  right: -10px;
  width: 170px;
  padding: 0.85rem;
  border-radius: 14px;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(0, 230, 118, 0.2);
  transform: rotate(5deg);
  animation: float-side 8s ease-in-out infinite;
}

@keyframes float-side {
  0% { transform: translateY(0px) rotate(5deg); }
  50% { transform: translateY(-8px) rotate(3deg); }
  100% { transform: translateY(0px) rotate(5deg); }
}

.pix-val {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent-success);
  margin-bottom: 0.25rem;
}

.pix-status {
  font-size: 0.7rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* --- Canais Section --- */
.channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.channel-card {
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.channel-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(var(--accent-secondary-rgb), 0.15);
  border-color: var(--accent-secondary);
}

.channel-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
  font-size: 2rem;
  transition: all 0.3s;
  position: relative;
}

/* Micro-Badges de Conectividade com Animações */
.channel-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--bg-secondary);
  border: 2.5px solid var(--border-color-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.channel-card:hover .channel-badge {
  transform: scale(1.15) translateY(-2px);
  background-color: var(--bg-primary);
}

/* 1. QR Code Badge */
.badge-qr {
  border-color: #ffffff;
  color: #ffffff;
}
.badge-qr svg {
  animation: qr-pulse 2s ease-in-out infinite;
}
@keyframes qr-pulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.1); opacity: 1; filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.4)); }
}

html[data-theme="light"] .badge-qr {
  border-color: #000000;
  color: #000000;
}
html[data-theme="light"] .badge-qr svg {
  filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.3));
}

/* 2. Crown Badge */
.badge-crown {
  border-color: #ffd700;
}
.badge-crown svg {
  animation: crown-float 2.5s ease-in-out infinite;
}
@keyframes crown-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-2px) rotate(8deg); }
}

/* 3. Camera Flash Badge */
.badge-camera {
  border-color: #ff3366;
  overflow: hidden;
}
.badge-camera::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #ffffff;
  opacity: 0;
  pointer-events: none;
  z-index: 6;
  animation: camera-flash 4s ease-in-out infinite;
}
@keyframes camera-flash {
  0%, 88% { opacity: 0; }
  90% { opacity: 0.95; transform: translate(-50%, -50%) scale(1); }
  93% { opacity: 0.1; transform: translate(-50%, -50%) scale(1.6); }
  98%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(2); }
}

/* 4. Like / Thumbs Up Badge */
.badge-like {
  border-color: #0084ff;
}
.badge-like svg {
  animation: like-bounce 2.2s ease infinite;
}
@keyframes like-bounce {
  0%, 75%, 100% { transform: scale(1) translateY(0) rotate(0deg); }
  85% { transform: scale(1.3) translateY(-3px) rotate(-10deg); }
}

.channel-card:hover .channel-icon {
  background-color: var(--accent-secondary);
  color: #000;
}

.channel-title {
  font-size: 1.25rem;
  font-weight: 700;
}

.channel-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* --- Recursos Section --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.feature-card {
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(var(--accent-primary-rgb), 0.1), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(var(--accent-primary-rgb), 0.15);
  border-color: var(--accent-primary);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background-color: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  font-size: 1.5rem;
  border: 1px solid var(--border-color);
  transition: all 0.3s;
}

.feature-card:hover .feature-icon-wrapper {
  background-color: var(--accent-primary);
  color: #ffffff;
}

.feature-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- Arquitetura/VPS Section --- */
.architecture-container {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 5rem;
  align-items: center;
}

.architecture-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.architecture-content h2 {
  font-size: 2.5rem;
}

.architecture-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1rem;
}

.architecture-point {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.architecture-check {
  width: 24px;
  height: 24px;
  background-color: rgba(0, 230, 118, 0.15);
  color: var(--accent-success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.75rem;
}

.architecture-text h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

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

.architecture-visual {
  position: relative;
  padding: 2rem;
}

.tech-stack-showcase {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.tech-item {
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  padding: 1.5rem 1rem;
  border-radius: 12px;
  text-align: center;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.tech-item:hover {
  background-color: var(--bg-secondary);
  border-color: var(--accent-secondary);
  transform: scale(1.05);
}

/* --- Tabela de Preços --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  align-items: stretch;
}

.pricing-card {
  padding: 3.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.pricing-card.popular {
  border-color: var(--accent-primary);
  box-shadow: 0 20px 45px rgba(130, 87, 255, 0.15);
}

.popular-badge {
  position: absolute;
  top: 20px;
  right: -35px;
  background: var(--accent-primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  width: 140px;
  text-align: center;
  padding: 0.35rem 0;
  transform: rotate(45deg);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 10;
}

.pricing-card:hover {
  transform: translateY(-8px);
}

.pricing-name {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.pricing-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  min-height: 45px;
}

.pricing-price {
  font-family: var(--font-title);
  margin-bottom: 2.5rem;
}

.price-currency {
  font-size: 1.25rem;
  font-weight: 600;
  vertical-align: super;
}

.price-amount {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.price-period {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
  flex: 1;
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.pricing-feature svg {
  color: var(--accent-secondary);
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.pricing-card .btn {
  width: 100%;
}

/* --- FAQ Section --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
}

.faq-trigger {
  width: 100%;
  padding: 1.75rem 2rem;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  cursor: pointer;
  color: var(--text-primary);
}

.faq-trigger h3 {
  font-size: 1.15rem;
  font-weight: 600;
  padding-right: 1.5rem;
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--accent-secondary);
  transition: transform 0.3s;
}

.faq-item.faq-open .faq-icon {
  transform: rotate(45deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-content-inner {
  padding: 0 2rem 1.75rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- Depoimentos Section --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.testimonial-quote {
  font-size: 1rem;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.7;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--accent-primary);
}

.testimonial-user-info h4 {
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.testimonial-user-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- CTA Fim da Página --- */
.cta-section {
  text-align: center;
  overflow: hidden;
}

.cta-box {
  padding: 5rem 3rem;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.cta-box h2 {
  font-size: 2.75rem;
  max-width: 700px;
}

.cta-box p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin-bottom: 1.5rem;
}

/* --- Rodapé --- */
.footer {
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  padding: 4rem 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-desc {
  max-width: 320px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links-group h4 {
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--accent-secondary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Botão Flutuante de WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: #ffffff; /* Fundo branco para contrastar com o ícone verde */
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  z-index: 999;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: wa-float-pulse 3s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: #25d366;
}

@keyframes wa-float-pulse {
  0% {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 0 0 0 rgba(37, 211, 102, 0.4);
    transform: scale(1);
  }
  70% {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 0 0 10px rgba(37, 211, 102, 0);
    transform: scale(1.05);
  }
  100% {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 0 0 0 rgba(37, 211, 102, 0);
    transform: scale(1);
  }
}

/* --- Efeitos de Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* --- Responsividade Geral --- */
@media (max-width: 1024px) {
  .hero h1 { font-size: 3rem; }
  .hero-grid { gap: 2rem; }
  .section { padding: 6rem 0; }
  .architecture-container {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

@media (max-width: 1250px) {
  .hamburger { display: flex; }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--bg-primary);
    border-left: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    flex-direction: column;
    padding: 100px 2.5rem 2rem;
    transition: right 0.4s cubic-bezier(0.1, 0.9, 0.2, 1);
    z-index: 1000;
    overflow-y: auto;
  }
  
  .nav-menu.active {
    right: 0;
  }

  /* Hamburger transformado em X */
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -8px);
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-btns {
    justify-content: center;
  }
  
  .hero-visual {
    margin-top: 3rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* --- Novos Estilos para Ícones de Imagem --- */
.channel-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.channel-card:hover .channel-icon img {
  transform: scale(1.1);
}

/* --- Grid de Integrações --- */
.integrations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 992px) {
  .integrations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.integration-card {
  padding: 2.5rem 2rem;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.integration-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(var(--accent-primary-rgb), 0.15);
  border-color: var(--accent-primary);
}

.integration-header-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.integration-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  padding: 0.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, border-color 0.3s;
}

.integration-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s;
}

.integration-card:hover .integration-icon-wrapper {
  transform: scale(1.1) rotate(2deg);
  border-color: var(--accent-secondary);
}

.integration-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

.integration-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* --- Efeito de Varredura Circular (View Transitions) --- */
::view-transition-old(root),
::view-transition-new(root) {
  animation: none;
  mix-blend-mode: normal;
}

/* Garante que o tema não utilize o fade padrão do navegador */
html::view-transition-old(root) {
  animation: none;
}
html::view-transition-new(root) {
  animation: none;
}

/* --- Efeito de Linhas de Brilho no Fundo --- */
.background-glow-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.glow-lines-svg {
  width: 100%;
  height: 100%;
}

.glow-path {
  stroke-width: 3px;
  stroke-linecap: round;
  opacity: 0.35;
  filter: drop-shadow(0 0 6px var(--accent-secondary));
  stroke-dasharray: 150 1200; /* Pulso de 150px de luz */
  animation: glow-travel-1 25s linear infinite;
  transition: filter 0.4s, stroke 0.4s;
}

.glow-path-2 {
  stroke-width: 2px;
  opacity: 0.25;
  filter: drop-shadow(0 0 6px var(--accent-primary));
  stroke-dasharray: 250 1400; /* Pulso de 250px de luz */
  animation: glow-travel-2 35s linear infinite;
}

/* Modificações para o tema claro para suavizar o brilho */
html[data-theme="light"] .glow-path {
  opacity: 0.18;
  filter: drop-shadow(0 0 4px var(--accent-secondary));
}
html[data-theme="light"] .glow-path-2 {
  opacity: 0.12;
  filter: drop-shadow(0 0 4px var(--accent-primary));
}

@keyframes glow-travel-1 {
  0% {
    stroke-dashoffset: 1500;
  }
  100% {
    stroke-dashoffset: -1500;
  }
}

@keyframes glow-travel-2 {
  0% {
    stroke-dashoffset: -1800;
  }
  100% {
    stroke-dashoffset: 1800;
  }
}

/* --- Responsividade Adicional para Header e Seções Móveis --- */
@media (max-width: 1250px) {
  /* Cabeçalho no Mobile */
  .header-actions {
    gap: 0.75rem;
  }
  
  /* Ocultar seletores do header no Mobile para evitar quebra de layout */
  .header-actions .lang-selector,
  .header-actions .currency-selector {
    display: none !important;
  }

  /* Exibir seletores dentro do menu mobile slide-out drawer */
  .nav-menu-selectors {
    display: flex !important;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    width: 100%;
    justify-content: center;
    list-style: none;
  }

  .nav-menu-selectors .lang-selector,
  .nav-menu-selectors .currency-selector {
    display: inline-block;
  }
  
  .theme-toggle {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }
  
  .theme-toggle svg {
    width: 18px;
    height: 18px;
  }
  
  .header .btn-primary {
    padding: 0.5rem 0.85rem;
    font-size: 0.8rem;
    white-space: nowrap;
  }
  
  /* Seção de Arquitetura e Tech Grid no Mobile */
  .architecture-visual {
    padding: 1rem 0.5rem;
  }
  
  .tech-stack-showcase {
    padding: 1.5rem 1rem;
    gap: 1.5rem;
  }
  
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  
  .tech-item {
    padding: 1rem 0.5rem;
    font-size: 0.8rem;
  }

  /* Cartões de Preços no Mobile */
  .pricing-card {
    padding: 2.5rem 1.5rem;
  }

  /* Ajuste de Escritas do Hero no Mobile */
  .hero {
    padding-top: 110px;
    padding-bottom: 40px;
  }
  
  .hero h1 {
    font-size: 2.15rem;
    line-height: 1.25;
  }
  
  .hero h1 br {
    display: none;
  }
  
  .hero-desc {
    font-size: 1rem;
    margin-bottom: 1.75rem;
  }

  /* Ajuste da Animação de Canva/Mockup no Mobile */
  .hero-visual {
    padding: 0 1rem; /* Garante que os cards flutuantes fiquem dentro do limite */
  }

  .mockup-container {
    max-width: 100%;
    height: 330px;
    padding: 1rem;
  }

  .mockup-kanban-card {
    width: 130px;
    bottom: -15px;
    left: -5px;
    padding: 0.75rem;
  }

  .mockup-pix-card {
    width: 120px;
    top: -10px;
    right: -5px;
    padding: 0.65rem;
  }
}

/* --- Efeito de Pulso Discreto no Ícone de WhatsApp do Rodapé --- */
.footer-wa-pulse {
  width: 18px;
  height: 18px;
  object-fit: contain;
  background-color: #ffffff;
  border-radius: 50%;
  padding: 2px;
  box-sizing: content-box;
  animation: wa-discreet-pulse 2.5s ease-in-out infinite;
  display: inline-block;
  vertical-align: middle;
}

@keyframes wa-discreet-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.4);
    transform: scale(1);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(0, 230, 118, 0);
    transform: scale(1.05);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 230, 118, 0);
    transform: scale(1);
  }
}

/* --- Inverter ícone da OpenAI no tema escuro --- */
.integration-icon[src*="chatgpt.png"] {
  filter: invert(1) brightness(2);
  transition: filter 0.4s ease;
}

html[data-theme="light"] .integration-icon[src*="chatgpt.png"] {
  filter: none;
}

/* --- BOTÃO VOLTAR AO TOPO (FOGUETE ANIMADO) --- */
.rocket-top-button {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 1000;
  background: rgba(21, 16, 42, 0.65);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(30px) scale(0.8);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              visibility 0.4s, 
              transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.3s,
              border-color 0.3s;
}

/* Quando visível */
.rocket-top-button.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* Efeito de flutuação ocioso (idle float) */
.rocket-top-button.visible:not(:hover):not(.launching) .rocket-wrapper {
  animation: rocket-idle-float 3s ease-in-out infinite;
}

@keyframes rocket-idle-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* Wrapper do Foguete */
.rocket-wrapper {
  position: relative;
  width: 32px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

/* Estilo do SVG do Foguete */
.rocket-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* Chama do motor em loop ocioso */
.rocket-flame {
  transform-origin: top center;
  animation: flame-flicker 0.15s ease-in-out infinite alternate;
}

@keyframes flame-flicker {
  0% {
    transform: scaleY(0.9) scaleX(0.95);
    opacity: 0.8;
  }
  100% {
    transform: scaleY(1.15) scaleX(1.05);
    opacity: 1;
  }
}

/* --- INTERAÇÃO HOVER (MIRA E PREPARAÇÃO) --- */
.rocket-top-button:hover {
  background: rgba(30, 25, 60, 0.85);
  border-color: var(--accent-primary);
  box-shadow: 0 8px 30px rgba(124, 77, 255, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Vibração intensa do motor no hover (shake) */
.rocket-top-button:hover:not(.launching) .rocket-wrapper {
  animation: rocket-shake 0.08s linear infinite;
}

@keyframes rocket-shake {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(-0.5px, 0.5px) rotate(-0.5deg); }
  50% { transform: translate(0.5px, -0.5px) rotate(0.5deg); }
  75% { transform: translate(-0.5px, -0.5px) rotate(0deg); }
}

/* Aumento das chamas no hover */
.rocket-top-button:hover:not(.launching) .rocket-flame {
  animation: flame-boost 0.1s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 6px #ff4500);
}

@keyframes flame-boost {
  0% {
    transform: scaleY(1.3) scaleX(1.1);
  }
  100% {
    transform: scaleY(1.7) scaleX(1.3);
  }
}

/* Fumaça / Partículas */
.smoke-particles {
  position: absolute;
  bottom: -12px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 3px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.rocket-top-button:hover .smoke-particles,
.rocket-top-button.launching .smoke-particles {
  opacity: 1;
}

.smoke-particles span {
  display: block;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  animation: smoke-fall 0.6s linear infinite;
}

.smoke-particles span:nth-child(1) {
  animation-delay: 0s;
  background: #ff4500;
}
.smoke-particles span:nth-child(2) {
  animation-delay: 0.2s;
  background: #ffd700;
}
.smoke-particles span:nth-child(3) {
  animation-delay: 0.4s;
  background: #adabbf;
}

@keyframes smoke-fall {
  0% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    transform: translateY(15px) scale(0.2);
    opacity: 0;
  }
}

/* --- DECOLAGEM FÍSICA (LAUNCHING!) --- */
.rocket-top-button.launching {
  pointer-events: none;
  animation: rocket-launch-animation 1.2s cubic-bezier(0.6, -0.28, 0.735, 0.045) forwards;
}

@keyframes rocket-launch-animation {
  0% {
    transform: translateY(0) scale(1);
    background: rgba(30, 25, 60, 0.85);
    box-shadow: 0 8px 30px rgba(124, 77, 255, 0.4);
  }
  10% {
    /* Pequeno recuo antes de subir (efeito de mola/cartoon) */
    transform: translateY(8px) scale(0.95);
  }
  30% {
    /* Vibração intensa ao ligar propulsores */
    transform: translateY(0) scale(1.05);
  }
  100% {
    /* Decola para fora do topo da tela */
    transform: translateY(-125vh) scale(1.3);
    opacity: 0;
  }
}

.rocket-top-button.launching .rocket-flame {
  animation: flame-launch 0.05s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 12px #ff4500);
}

@keyframes flame-launch {
  0% {
    transform: scaleY(2.2) scaleX(1.4);
  }
  100% {
    transform: scaleY(2.8) scaleX(1.6);
  }
}

/* Adaptação para o Tema Claro */
html[data-theme="light"] .rocket-top-button {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

html[data-theme="light"] .rocket-top-button:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--accent-primary);
  box-shadow: 0 8px 30px rgba(124, 77, 255, 0.15), inset 0 1px 0 rgba(255, 255, 255, 1);
}

/* Responsividade Mobile */
@media (max-width: 768px) {
  .rocket-top-button {
    bottom: 1.5rem;
    left: 1.5rem;
    width: 48px;
    height: 48px;
  }
  .rocket-wrapper {
    width: 26px;
    height: 30px;
  }
  .whatsapp-float {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
  }
  .whatsapp-float img {
    width: 28px !important;
    height: 28px !important;
  }
}

/* --- SEÇÃO DE SEGMENTOS --- */
.segments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.segment-card {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  transition: var(--theme-transition), transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.segment-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(var(--accent-primary-rgb), 0.15);
}

.segment-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.segment-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(var(--accent-primary-rgb), 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-secondary);
  border: 1px solid rgba(var(--accent-primary-rgb), 0.2);
  transition: all 0.3s ease;
  font-size: 1.5rem;
}

.segment-card:hover .segment-icon-wrapper {
  background: var(--accent-primary);
  color: #fff;
  transform: rotate(5deg) scale(1.1);
}

.segment-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.segment-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.segment-features-list {
  list-style: none;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.segment-features-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.segment-features-list li::before {
  content: "✓";
  color: var(--accent-success);
  font-weight: bold;
}

/* WhatsApp-like Chat Mock */
.segment-chat-mock {
  background-color: var(--bg-tertiary);
  background-image: var(--wa-bg);
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  padding: 1.25rem 1rem;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: auto;
  position: relative;
  overflow: hidden;
}

.chat-mock-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
}

.chat-mock-status-dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent-success);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

.chat-mock-header span {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
}

.chat-bubble {
  padding: 0.6rem 0.9rem;
  border-radius: 12px;
  max-width: 85%;
  font-size: 0.8rem;
  line-height: 1.4;
  position: relative;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.chat-bubble.received {
  align-self: flex-start;
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  border-bottom-left-radius: 2px;
  border: 1px solid var(--border-color);
}

.chat-bubble.sent {
  align-self: flex-end;
  background: linear-gradient(135deg, rgba(var(--accent-primary-rgb), 0.2) 0%, rgba(var(--accent-primary-rgb), 0.1) 100%);
  color: var(--text-primary);
  border-bottom-right-radius: 2px;
  border: 1px solid rgba(var(--accent-primary-rgb), 0.3);
}

.chat-time {
  display: block;
  text-align: right;
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* --- TABELA DE COMPARAÇÃO --- */
.comparison-section {
  position: relative;
  overflow: hidden;
}

.comparison-table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin-top: 3rem;
  border-radius: 24px;
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  background: var(--bg-secondary);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.comparison-table th,
.comparison-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1rem;
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

.comparison-table td {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:hover td {
  background: rgba(var(--accent-primary-rgb), 0.02);
}

.comparison-table .feature-col {
  font-weight: 600;
  color: var(--text-primary);
  width: 40%;
}

.comparison-table .whatickets-col {
  font-weight: 700;
  color: var(--accent-secondary);
  background: rgba(var(--accent-primary-rgb), 0.04);
}

.comparison-table tr:hover .whatickets-col {
  background: rgba(var(--accent-primary-rgb), 0.08);
}

.comparison-table .check-icon {
  color: var(--accent-success);
  font-weight: bold;
  font-size: 1.2rem;
}

.comparison-table .cross-icon {
  color: var(--text-muted);
  font-weight: bold;
  font-size: 1.2rem;
}

.comparison-table .partial-icon {
  color: #ffb300;
  font-weight: bold;
  font-size: 1.2rem;
}

.comparison-legend {
  margin-top: 1.5rem;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Responsive adjustment for comparison table */
@media (max-width: 768px) {
  .comparison-table {
    min-width: 650px;
  }
  .comparison-table th,
  .comparison-table td {
    padding: 1rem;
    font-size: 0.85rem;
  }
}

/* --- Seção de Parceiros --- */
.partners-section {
  position: relative;
}

.partners-box {
  padding: 4.5rem 3rem;
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.partners-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.partners-content h2 {
  font-size: 2.5rem;
  line-height: 1.2;
}

.partners-content h3 {
  font-size: 1.3rem;
  color: var(--accent-secondary);
  font-weight: 600;
}

.partners-content p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
}

.partners-benefits {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1rem 0;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  color: var(--text-primary);
  font-weight: 500;
}

.benefit-icon {
  font-size: 1.3rem;
}

.partners-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.partners-card {
  padding: 2rem;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(130, 87, 255, 0.1), rgba(255, 51, 102, 0.05));
  border: 1px solid rgba(130, 87, 255, 0.2);
  box-shadow: 0 8px 32px rgba(130, 87, 255, 0.15);
  text-align: center;
  position: relative;
  width: 100%;
  max-width: 320px;
  overflow: hidden;
}

.partners-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 51, 102, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.partners-card .card-percent {
  font-size: 4rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-secondary), var(--accent-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.partners-card .card-label {
  font-size: 1rem;
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.partners-card .card-subtext {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Responsividade para Parceiros */
@media (max-width: 900px) {
  .partners-box {
    grid-template-columns: 1fr;
    padding: 3rem 2rem;
    gap: 2.5rem;
    text-align: center;
  }
  .partners-content {
    align-items: center;
  }
  .partners-benefits {
    align-items: flex-start;
  }
  .partners-card {
    margin: 0 auto;
  }
}

/* --- Ajuste de Responsividade do Menu Desktop para Evitar Quebras --- */
@media (min-width: 1251px) and (max-width: 1400px) {
  .nav-menu {
    gap: 1rem;
  }
  .nav-menu > li > a,
  .nav-link {
    font-size: 0.85rem;
  }
  .header-actions {
    gap: 0.5rem;
  }
  .header .btn {
    padding: 0.5rem 0.8rem;
    font-size: 0.8rem;
  }
}

/* --- Controles de Preço na Seção --- */
.pricing-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 10;
}

.pricing-page-selector {
  position: relative;
}

.pricing-page-selector .currency-trigger {
  padding: 0.65rem 1.25rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  height: auto;
}

.pricing-page-selector .currency-trigger:hover {
  border-color: var(--accent-primary);
  background: rgba(255, 255, 255, 0.08);
}

.billing-toggle-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 1.25rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
}

.billing-label {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.3s ease;
  cursor: pointer;
}

.billing-label.active {
  color: var(--text-primary);
  font-weight: 700;
}

.discount-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-success);
  background: rgba(16, 185, 129, 0.15);
  padding: 0.15rem 0.4rem;
  border-radius: 6px;
  margin-left: 0.25rem;
}

.billing-toggle-switch {
  width: 50px;
  height: 26px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  position: relative;
  cursor: pointer;
  outline: none;
  transition: background 0.3s ease;
}

.billing-toggle-switch:hover {
  border-color: var(--accent-primary);
}

.billing-toggle-switch.yearly {
  background: var(--accent-primary);
}

.switch-handle {
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: left 0.3s cubic-bezier(0.1, 0.9, 0.2, 1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.billing-toggle-switch.yearly .switch-handle {
  left: 26px;
}

/* =============================================================================
   ESTILOS EXCLUSIVOS PARA WORDPRESS
   Adaptações para conteúdo nativo: páginas, posts, blog, WooCommerce, Polylang
   ============================================================================= */

/* --- Offset do Admin Bar do WordPress --- */
.admin-bar .header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .header {
    top: 46px;
  }
}

/* --- Acessibilidade: Link pular para conteúdo --- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 99999;
  padding: 0.75rem 1.5rem;
  background: var(--accent-primary);
  color: #fff;
  border-radius: 0 0 8px 8px;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

/* --- Área de Conteúdo Geral --- */
.site-main {
  min-height: 70vh;
}

.wtp-content-area {
  padding-top: 110px; /* Offset para header fixo */
  padding-bottom: 5rem;
}

/* --- Área de Página Estática --- */
.wtp-page-area {
  padding-top: 120px;
}

.wtp-page-header {
  text-align: center;
  padding: 3rem 0 2rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--border-color);
}

.wtp-page-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.wtp-page-featured-image {
  margin-bottom: 3rem;
  border-radius: 20px;
  overflow: hidden;
}

.wtp-page-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- Conteúdo Editável (editor-content) --- */
.wtp-entry-content,
.entry-content {
  max-width: 780px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.wtp-entry-content h1,
.wtp-entry-content h2,
.wtp-entry-content h3,
.wtp-entry-content h4,
.wtp-entry-content h5,
.wtp-entry-content h6,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  color: var(--text-primary);
  margin: 2rem 0 1rem;
  line-height: 1.3;
}

.wtp-entry-content h2, .entry-content h2 { font-size: 2rem; }
.wtp-entry-content h3, .entry-content h3 { font-size: 1.5rem; }
.wtp-entry-content h4, .entry-content h4 { font-size: 1.25rem; }

.wtp-entry-content p,
.entry-content p {
  margin-bottom: 1.5rem;
}

.wtp-entry-content a,
.entry-content a {
  color: var(--accent-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.wtp-entry-content a:hover,
.entry-content a:hover {
  color: var(--accent-primary);
}

.wtp-entry-content ul,
.wtp-entry-content ol,
.entry-content ul,
.entry-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.wtp-entry-content ul li::marker,
.entry-content ul li::marker {
  color: var(--accent-secondary);
}

.wtp-entry-content blockquote,
.entry-content blockquote {
  border-left: 4px solid var(--accent-primary);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  background: var(--bg-tertiary);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: var(--text-secondary);
}

.wtp-entry-content code,
.entry-content code {
  font-family: 'Courier New', monospace;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  font-size: 0.9em;
  color: var(--accent-secondary);
}

.wtp-entry-content pre,
.entry-content pre {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  overflow-x: auto;
  margin: 2rem 0;
}

.wtp-entry-content img,
.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 1.5rem 0;
}

.wtp-entry-content table,
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  border-radius: 12px;
  overflow: hidden;
}

.wtp-entry-content th,
.entry-content th {
  background: var(--bg-tertiary);
  padding: 0.85rem 1.25rem;
  text-align: left;
  font-weight: 700;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-color);
}

.wtp-entry-content td,
.entry-content td {
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.wtp-entry-content tr:last-child td,
.entry-content tr:last-child td {
  border-bottom: none;
}

/* --- Grid de Posts (Blog / Archive) --- */
.wtp-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.wtp-post-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s;
}

.wtp-post-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(var(--accent-primary-rgb), 0.15);
  border-color: var(--accent-primary);
}

.wtp-post-thumbnail {
  display: block;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
  aspect-ratio: 16/9;
}

.wtp-post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.wtp-post-card:hover .wtp-post-thumbnail img {
  transform: scale(1.05);
}

.wtp-post-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex: 1;
}

.wtp-post-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.wtp-post-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-secondary);
  background: rgba(0, 229, 255, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
}

.wtp-post-date,
.wtp-read-time {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.wtp-post-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
}

.wtp-post-title a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s;
}

.wtp-post-title a:hover {
  color: var(--accent-secondary);
}

.wtp-post-excerpt {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}

.wtp-read-more {
  align-self: flex-start;
  margin-top: auto;
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
}

/* --- Cabeçalho de Arquivo / Categoria --- */
.wtp-archive-header,
.wtp-shop-header {
  text-align: center;
  padding: 2rem 0 3rem;
}

.wtp-archive-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.wtp-archive-desc {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* --- Paginação --- */
.wtp-pagination {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
}

.wtp-pagination .nav-links {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.wtp-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--text-secondary);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  transition: all 0.25s ease;
}

.wtp-pagination .page-numbers:hover,
.wtp-pagination .page-numbers.current {
  background: var(--accent-primary);
  color: #fff;
  border-color: var(--accent-primary);
}

.wtp-pagination .page-numbers.prev,
.wtp-pagination .page-numbers.next {
  width: auto;
  padding: 0 1rem;
}

/* --- Post Individual --- */
.wtp-single-container {
  max-width: 860px;
}

.wtp-single-area {
  padding-top: 110px;
}

.wtp-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.wtp-breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.wtp-breadcrumb a:hover {
  color: var(--accent-secondary);
}

.wtp-breadcrumb span[aria-current] {
  color: var(--text-secondary);
}

.wtp-post-header {
  margin-bottom: 2.5rem;
}

.wtp-post-meta-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.wtp-single-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.wtp-single-excerpt {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.wtp-post-author-bar {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem;
  background: var(--bg-tertiary);
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.wtp-author-avatar img {
  border-radius: 50%;
  width: 44px;
  height: 44px;
}

.wtp-author-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.wtp-post-featured-image {
  border-radius: 20px;
  overflow: hidden;
  margin: 2rem 0 3rem;
}

.wtp-post-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

.wtp-post-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 2.5rem 0;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.wtp-tags-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.wtp-tag-badge {
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
}

.wtp-post-navigation {
  margin: 3rem 0;
}

.wtp-post-navigation .nav-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.wtp-post-navigation a {
  display: block;
  padding: 1.25rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.wtp-post-navigation a:hover {
  border-color: var(--accent-primary);
  transform: translateY(-3px);
}

.wtp-nav-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.wtp-nav-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* --- Sem Resultados --- */
.wtp-no-results {
  text-align: center;
  padding: 5rem 3rem;
  max-width: 600px;
  margin: 3rem auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.wtp-no-results .feature-icon-wrapper {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  font-size: 2rem;
}

.wtp-no-results h2 {
  font-size: 1.75rem;
}

.wtp-no-results p {
  color: var(--text-secondary);
}

/* --- Switcher Polylang --- */
.polylang-switcher .lang-dropdown .pll-active a {
  color: var(--accent-secondary);
  font-weight: 700;
  background: rgba(0, 229, 255, 0.08);
}

.polylang-switcher .lang-dropdown li {
  list-style: none;
}

/* --- Comentários WordPress --- */
.wtp-comments-section {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border-color);
}

.comment-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.comment-body {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.5rem;
}

.comment-author .fn {
  font-weight: 700;
  color: var(--text-primary);
}

.comment-metadata {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.comment-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

#respond {
  margin-top: 2.5rem;
}

#respond h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

#commentform label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

#commentform input[type="text"],
#commentform input[type="email"],
#commentform input[type="url"],
#commentform textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.3s;
  margin-bottom: 1.25rem;
}

#commentform input:focus,
#commentform textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
}

#commentform .form-submit input[type="submit"] {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-primary));
  color: #fff;
  border: none;
  padding: 0.875rem 2rem;
  border-radius: 12px;
  font-family: var(--font-title);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

#commentform .form-submit input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(130, 87, 255, 0.5);
}

/* --- Blocos Gutenberg Nativos --- */
.wp-block-image img {
  border-radius: 12px;
}

.wp-block-quote {
  border-left: 4px solid var(--accent-primary);
  padding: 1rem 1.5rem;
  background: var(--bg-tertiary);
  border-radius: 0 12px 12px 0;
  font-style: italic;
}

.wp-block-cover {
  border-radius: 20px;
  overflow: hidden;
}

.wp-block-button__link {
  background: var(--accent-primary) !important;
  border-radius: 12px !important;
  font-family: var(--font-title) !important;
  font-weight: 600 !important;
  transition: all 0.3s !important;
}

.wp-block-button__link:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(130, 87, 255, 0.4) !important;
}

.wp-block-separator {
  border: none;
  height: 1px;
  background: var(--border-color);
  margin: 2rem 0;
}

/* --- WooCommerce Básico (complementa woocommerce.css) --- */
.wtp-woocommerce-area {
  padding-top: 110px;
}

.wtp-woocommerce-single {
  padding-top: 110px;
}

.wtp-product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin: 2rem 0 4rem;
  align-items: start;
}

.wtp-product-gallery img {
  border-radius: 16px;
  width: 100%;
}

.wtp-product-summary .price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-success);
  margin: 1rem 0;
}

.wtp-product-summary .price del {
  color: var(--text-muted);
  font-size: 1.2rem;
}

.wtp-product-summary .button,
.woocommerce .button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce #payment #place_order {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-primary)) !important;
  color: #fff !important;
  border: none !important;
  padding: 0.875rem 2rem !important;
  border-radius: 12px !important;
  font-family: var(--font-title) !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  cursor: pointer !important;
  transition: all 0.3s !important;
  text-decoration: none !important;
}

.woocommerce .button:hover,
.woocommerce button.button:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(130, 87, 255, 0.4) !important;
}

.woocommerce ul.products li.product .price {
  color: var(--accent-success);
  font-weight: 700;
}

.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error {
  border-top-color: var(--accent-primary);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: var(--text-primary);
}

.woocommerce-breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.woocommerce-breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}

.woocommerce-breadcrumb a:hover {
  color: var(--accent-secondary);
}

/* WooCommerce Ordering + Results */
.woocommerce-ordering select {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  border-radius: 10px;
  padding: 0.5rem 1rem;
  font-family: var(--font-body);
}

/* --- Responsividade WordPress --- */
@media (max-width: 768px) {
  .wtp-posts-grid {
    grid-template-columns: 1fr;
  }

  .wtp-single-title {
    font-size: 2rem;
  }

  .wtp-page-title {
    font-size: 2rem;
  }

  .wtp-product-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .wtp-post-navigation .nav-links {
    grid-template-columns: 1fr;
  }

  .wtp-content-area,
  .wtp-woocommerce-area,
  .wtp-single-area,
  .wtp-page-area {
    padding-top: 90px;
  }
}

/* --- Página 404 --- */
.wtp-404-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
  padding: 4rem 0;
}

.wtp-404-number {
  font-family: var(--font-title);
  font-size: clamp(8rem, 20vw, 16rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: -2rem;
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.15;
  user-select: none;
}

.wtp-404-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.5rem;
}

/* --- Formulário de Busca --- */
.wtp-search-form-wrapper,
.wtp-404-search {
  max-width: 520px;
  width: 100%;
  margin: 1.5rem auto;
}

.search-form {
  display: flex;
  gap: 0.5rem;
}

.search-form label {
  flex: 1;
}

.search-field {
  width: 100%;
  padding: 0.75rem 1.25rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.3s;
}

.search-field:focus {
  outline: none;
  border-color: var(--accent-primary);
}

.search-submit {
  padding: 0.75rem 1.5rem;
  background: var(--accent-primary);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-family: var(--font-title);
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s;
}

.search-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(130, 87, 255, 0.4);
}

/* --- Formatação de Conteúdo Adicional e WordPress --- */

/* Classes de Alinhamento Padrão do WordPress */
.alignleft {
  float: left;
  margin: 0.5rem 1.5rem 1.5rem 0;
}
.alignright {
  float: right;
  margin: 0.5rem 0 1.5rem 1.5rem;
}
.aligncenter {
  display: block;
  clear: both;
  margin: 1.5rem auto;
}
.alignjustify {
  text-align: justify;
}

/* Gutenberg alignments */
.entry-content .alignwide {
  margin-left: -80px;
  margin-right: -80px;
  max-width: 940px;
}
.entry-content .alignfull {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  max-width: 100vw;
  width: 100vw;
  border-radius: 0;
}
.entry-content .alignfull img {
  border-radius: 0;
}

@media (max-width: 940px) {
  .entry-content .alignwide {
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
  }
}

/* Legendas de Imagens (Captions) */
.wp-caption {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 0.5rem;
  max-width: 100%;
  text-align: center;
  margin-bottom: 1.5rem;
}
.wp-caption img {
  margin: 0;
  display: block;
  max-width: 100%;
  height: auto;
}
.wp-caption-text,
.gallery-caption,
.wp-block-image figcaption {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 0.5rem 0.25rem 0;
  margin: 0;
  font-style: italic;
  text-align: center;
}

/* Emojis */
.wp-smiley {
  max-height: 1.5em;
  margin: 0 !important;
  display: inline !important;
  vertical-align: middle;
}

/* Acessibilidade: Screen Reader Text */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: var(--bg-primary);
  border-radius: 6px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: var(--text-primary);
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px;
  position: absolute;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Elementos inline de formatação */
.entry-content abbr[title] {
  text-decoration: underline dotted var(--accent-secondary);
  cursor: help;
}

.entry-content ins {
  background: rgba(0, 230, 118, 0.1);
  color: var(--accent-success);
  text-decoration: none;
  padding: 0 0.25rem;
  border-radius: 4px;
}

.entry-content del {
  text-decoration: line-through;
  color: var(--text-muted);
  opacity: 0.8;
}

.entry-content mark {
  background: linear-gradient(120deg, rgba(0, 229, 255, 0.2) 0%, rgba(130, 87, 255, 0.2) 100%);
  color: var(--text-primary);
  padding: 0.1rem 0.3rem;
  border-radius: 4px;
}

.entry-content kbd {
  font-family: var(--font-body);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-bottom-width: 3px;
  color: var(--text-primary);
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  font-size: 0.85em;
  font-weight: 600;
}

.entry-content dfn {
  font-style: italic;
}

.entry-content address {
  font-style: normal;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: var(--bg-tertiary);
  border-left: 3px solid var(--accent-secondary);
  border-radius: 0 8px 8px 0;
}

/* Listas de Definição */
.entry-content dl {
  margin-bottom: 1.5rem;
}
.entry-content dt {
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 1rem;
}
.entry-content dd {
  margin-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

/* Resets de listas aninhadas */
.entry-content li > ul,
.entry-content li > ol {
  margin-top: 0.5rem;
  margin-bottom: 0;
  padding-left: 1.5rem;
}

/* Tabelas responsivas e melhoradas */
.entry-content table {
  border: 1px solid var(--border-color);
}
.entry-content tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.02);
}
html[data-theme="light"] .entry-content tr:nth-child(even) td {
  background: rgba(0, 0, 0, 0.01);
}

/* --- Estilos Globais de Formulários (Glassmorphism e Temas) --- */

/* Controles de Inputs Genéricos */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="tel"],
input[type="number"],
input[type="search"],
input[type="password"],
input[type="date"],
input[type="time"],
input[type="datetime-local"],
select,
textarea,
.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-textarea,
.wpcf7-form-control.wpcf7-select,
.wpforms-field input[type="text"],
.wpforms-field input[type="email"],
.wpforms-field input[type="url"],
.wpforms-field input[type="password"],
.wpforms-field input[type="tel"],
.wpforms-field input[type="number"],
.wpforms-field textarea,
.wpforms-field select {
  width: 100%;
  padding: 0.75rem 1.25rem;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.5;
  transition: border-color 0.3s, box-shadow 0.3s, background-color 0.3s;
  box-sizing: border-box;
}

/* Foco em Inputs */
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="password"]:focus,
input[type="date"]:focus,
input[type="time"]:focus,
input[type="datetime-local"]:focus,
select:focus,
textarea:focus,
.wpcf7-form-control.wpcf7-text:focus,
.wpcf7-form-control.wpcf7-textarea:focus,
.wpcf7-form-control.wpcf7-select:focus,
.wpforms-field input:focus,
.wpforms-field textarea:focus,
.wpforms-field select:focus {
  outline: none;
  border-color: var(--accent-primary);
  background-color: var(--bg-secondary);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

/* Autofill styling (correção para fundos pretos/brancos indesejados) */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--text-primary);
  -webkit-box-shadow: 0 0 0px 1000px var(--bg-tertiary) inset;
  transition: background-color 5000s ease-in-out 0s;
}

/* Placeholders */
input::placeholder,
textarea::placeholder {
  color: var(--text-muted);
  opacity: 1;
}

/* Estado Desabilitado */
input:disabled,
select:disabled,
textarea:disabled {
  background-color: var(--bg-tertiary);
  opacity: 0.5;
  cursor: not-allowed;
  border-color: var(--border-color);
}

/* Rótulos e Etiquetas */
label,
.wpforms-field-label,
.gfield_label {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

/* Ajustes de Textarea */
textarea,
.wpcf7-form-control.wpcf7-textarea,
.wpforms-field textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.6;
}

/* Customização de Select (Seta estilizada) */
select,
.wpcf7-form-control.wpcf7-select,
.wpforms-field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23adabbf' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.25rem center;
  background-size: 16px;
  padding-right: 3rem !important;
  cursor: pointer;
}

html[data-theme="light"] select,
html[data-theme="light"] .wpcf7-form-control.wpcf7-select,
html[data-theme="light"] .wpforms-field select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2356536b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
}

/* Checkboxes e Radios Personalizados */
input[type="checkbox"],
input[type="radio"],
.wpforms-field input[type="checkbox"],
.wpforms-field input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 4px;
  display: inline-grid;
  place-content: center;
  cursor: pointer;
  margin-right: 0.5rem;
  vertical-align: middle;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  flex-shrink: 0;
}

input[type="radio"],
.wpforms-field input[type="radio"] {
  border-radius: 50%;
}

input[type="checkbox"]::before,
.wpforms-field input[type="checkbox"]::before {
  content: "";
  width: 0.65em;
  height: 0.65em;
  clip-path: polygon(14% 44%, 0 58%, 38% 96%, 100% 16%, 86% 2%, 38% 70%);
  transform: scale(0);
  transform-origin: center;
  transition: 120ms transform ease-in-out;
  background-color: #ffffff;
}

input[type="radio"]::before,
.wpforms-field input[type="radio"]::before {
  content: "";
  width: 0.5em;
  height: 0.5em;
  border-radius: 50%;
  transform: scale(0);
  transform-origin: center;
  transition: 120ms transform ease-in-out;
  background-color: #ffffff;
}

input[type="checkbox"]:checked,
input[type="radio"]:checked,
.wpforms-field input[type="checkbox"]:checked,
.wpforms-field input[type="radio"]:checked {
  background-color: var(--accent-primary);
  border-color: var(--accent-primary);
}

input[type="checkbox"]:checked::before,
input[type="radio"]:checked::before,
.wpforms-field input[type="checkbox"]:checked::before,
.wpforms-field input[type="radio"]:checked::before {
  transform: scale(1);
}

input[type="checkbox"]:focus,
input[type="radio"]:focus,
.wpforms-field input[type="checkbox"]:focus,
.wpforms-field input[type="radio"]:focus {
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-glow);
}

/* Grupos de Campos e Recipientes */
fieldset {
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  background-color: var(--bg-secondary);
}

legend {
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--text-primary);
  padding: 0 0.75rem;
  font-size: 1.1rem;
}

.form-row,
.form-group,
.wpforms-field {
  margin-bottom: 1.25rem;
}

/* Botões de Envio de Formulário */
input[type="button"],
input[type="submit"],
.btn-submit,
.wpcf7-submit,
.wpforms-submit,
form button[type="submit"],
.wpforms-form button,
.wpcf7-form button,
.affwp-form button,
.entry-content button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.875rem 2.25rem;
  border-radius: 12px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: none;
  white-space: nowrap;
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-primary) 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(130, 87, 255, 0.3);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

input[type="button"]:hover,
input[type="submit"]:hover,
.wpcf7-submit:hover,
.wpforms-submit:hover,
form button[type="submit"]:hover,
.wpforms-form button:hover,
.wpcf7-form button:hover,
.affwp-form button:hover,
.entry-content button[type="submit"]:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(130, 87, 255, 0.5);
}

/* Mensagens de feedback/validação (Contact Form 7 e WPForms) */
.wpcf7-response-output,
.wpforms-error-container {
  margin: 1.5rem 0 0;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-family: var(--font-body);
  border: 1px solid var(--border-color) !important;
  background: var(--bg-secondary) !important;
  color: var(--text-primary) !important;
}

.wpcf7-mail-sent-ok {
  border-left: 4px solid var(--accent-success) !important;
}

.wpcf7-mail-sent-ng,
.wpcf7-validation-errors {
  border-left: 4px solid #ff3366 !important;
}

.wpcf7-not-valid-tip,
.wpforms-error {
  color: #ff3366 !important;
  font-size: 0.85rem !important;
  margin-top: 0.35rem;
  display: block;
}

/* --- Suporte ao Plugin WP Affiliate (AffiliateWP) --- */
.affwp-form fieldset,
#affwp-register-form fieldset,
#affwp-login-form fieldset {
  border: 1px solid var(--border-color) !important;
  border-radius: 16px !important;
  padding: 2rem !important;
  margin-bottom: 2rem !important;
  background-color: var(--bg-secondary) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
}

.affwp-form legend,
#affwp-register-form legend,
#affwp-login-form legend {
  font-family: var(--font-title) !important;
  font-weight: 700 !important;
  color: var(--text-primary) !important;
  padding: 0 1rem !important;
  font-size: 1.25rem !important;
}

.affwp-form label,
#affwp-register-form label,
#affwp-login-form label,
.affwp-wrap label {
  display: block !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  color: var(--text-secondary) !important;
  margin-bottom: 0.5rem !important;
}

.affwp-form .affwp-wrap,
#affwp-register-form .affwp-wrap,
#affwp-login-form .affwp-wrap {
  margin-bottom: 1.5rem !important;
  width: 100% !important;
}

/* Forçar inputs do AffiliateWP a ocuparem largura total e usarem o design do tema */
.affwp-form input.affwp-field,
.affwp-form select.affwp-field,
.affwp-form textarea.affwp-field,
#affwp-register-form input,
#affwp-register-form select,
#affwp-register-form textarea,
#affwp-login-form input,
#affwp-login-form select,
#affwp-login-form textarea,
input.affwp-field,
#affwp-user-name,
#affwp-user-login,
#affwp-user-pass,
#affwp-user-email,
#affwp-payment-email,
#affwp-user-url {
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
  box-sizing: border-box !important;
  padding: 0.75rem 1.25rem !important;
  background-color: var(--bg-tertiary) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 12px !important;
  color: var(--text-primary) !important;
  font-family: var(--font-body) !important;
  font-size: 0.95rem !important;
  line-height: 1.5 !important;
  transition: border-color 0.3s, box-shadow 0.3s, background-color 0.3s !important;
}

/* Evitar alterar checkboxes e radios para largura total */
.affwp-form input[type="checkbox"].affwp-field,
.affwp-form input[type="radio"].affwp-field,
#affwp-register-form input[type="checkbox"],
#affwp-register-form input[type="radio"],
#affwp-login-form input[type="checkbox"],
#affwp-login-form input[type="radio"] {
  width: 1.2rem !important;
  height: 1.2rem !important;
  display: inline-grid !important;
  margin-right: 0.5rem !important;
}

/* Foco nos inputs do AffiliateWP */
.affwp-form input.affwp-field:focus,
.affwp-form select.affwp-field:focus,
.affwp-form textarea.affwp-field:focus,
#affwp-register-form input:focus,
#affwp-register-form select:focus,
#affwp-register-form textarea:focus,
#affwp-login-form input:focus,
#affwp-login-form select:focus,
#affwp-login-form textarea:focus,
input.affwp-field:focus,
#affwp-user-name:focus,
#affwp-user-login:focus,
#affwp-user-pass:focus,
#affwp-user-email:focus,
#affwp-payment-email:focus,
#affwp-user-url:focus {
  outline: none !important;
  border-color: var(--accent-primary) !important;
  background-color: var(--bg-secondary) !important;
  box-shadow: 0 0 0 3px var(--accent-glow) !important;
}

/* Botão de Envio do AffiliateWP */
.affwp-form input[type="submit"],
#affwp-register-form input[type="submit"],
#affwp-login-form input[type="submit"],
.affwp-submit,
input[type="submit"].affwp-submit {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.75rem !important;
  padding: 0.875rem 2.25rem !important;
  border-radius: 12px !important;
  font-family: var(--font-title) !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  cursor: pointer !important;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  border: none !important;
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-primary) 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(130, 87, 255, 0.3) !important;
  width: auto !important;
  margin-top: 1rem !important;
}

.affwp-form input[type="submit"]:hover,
#affwp-register-form input[type="submit"]:hover,
#affwp-login-form input[type="submit"]:hover,
.affwp-submit:hover,
input[type="submit"].affwp-submit:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 25px rgba(130, 87, 255, 0.5) !important;
}
