/* ============================================
   PAÇOCA CRM — style.css
   Paleta: #f27100 (laranja), #101820 (azul/preto),
            #a2aaad (cinza claro), #75787b (cinza médio)
   ============================================ */

:root {
  --color-primary: #f27100;
  --color-primary-dark: #d25f00;
  --color-primary-light: #ff8a2a;
  --color-secondary: #101820;
  --color-secondary-light: #1a2530;
  --color-gray-light: #a2aaad;
  --color-gray-medium: #75787b;
  --color-bg: #ffffff;
  --color-bg-alt: #fafafa;
  --color-bg-dark: #101820;
  --color-text: #101820;
  --color-text-muted: #75787b;
  --color-border: #e8e8e8;

  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --shadow-sm: 0 2px 8px rgba(16, 24, 32, 0.06);
  --shadow-md: 0 8px 24px rgba(16, 24, 32, 0.08);
  --shadow-lg: 0 20px 50px rgba(16, 24, 32, 0.12);
  --shadow-orange: 0 12px 40px rgba(242, 113, 0, 0.35);

  --transition: all 0.3s cubic-bezier(.4, 0, .2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

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

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

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-orange);
}

.btn--primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 16px 50px rgba(242, 113, 0, 0.45);
}

.btn--outline {
  background: transparent;
  color: var(--color-secondary);
  border-color: var(--color-secondary);
}

.btn--outline:hover {
  background: var(--color-secondary);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  color: var(--color-secondary);
}

.btn--ghost:hover {
  color: var(--color-primary);
}

.btn--light {
  background: #fff;
  color: var(--color-secondary);
}

.btn--light:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

.btn--lg {
  padding: 16px 32px;
  font-size: 16px;
}

.btn--block {
  width: 100%;
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  z-index: 100;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  gap: 24px;
}

.header__logo img {
  height: 42px;
}

.header__nav ul {
  display: flex;
  list-style: none;
  gap: 36px;
}

.header__nav a {
  font-weight: 600;
  font-size: 15px;
  color: var(--color-secondary);
  transition: var(--transition);
  position: relative;
}

.header__nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s;
}

.header__nav a:hover::after {
  width: 100%;
}

.header__actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.header__burger {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.header__burger span {
  width: 24px;
  height: 2px;
  background: var(--color-secondary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  padding: 80px 0 60px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}

.blob--1 {
  width: 500px;
  height: 500px;
  background: var(--color-primary);
  top: -200px;
  right: -100px;
  animation: float 18s ease-in-out infinite;
}

.blob--2 {
  width: 400px;
  height: 400px;
  background: #ffb366;
  top: 100px;
  left: -150px;
  animation: float 22s ease-in-out infinite reverse;
}

.blob--3 {
  width: 300px;
  height: 300px;
  background: var(--color-primary-light);
  bottom: -100px;
  left: 40%;
  opacity: 0.2;
  animation: float 25s ease-in-out infinite;
}

.blob--plans-1 {
  width: 500px;
  height: 500px;
  background: var(--color-primary);
  top: -100px;
  left: -150px;
  opacity: 0.15;
}

.blob--plans-2 {
  width: 400px;
  height: 400px;
  background: var(--color-primary);
  bottom: -100px;
  right: -100px;
  opacity: 0.12;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.05); }
  66% { transform: translate(-20px, 30px) scale(0.95); }
}

.grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--color-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.3;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
}

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

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(242, 113, 0, 0.1);
  border: 1px solid rgba(242, 113, 0, 0.25);
  border-radius: 100px;
  font-weight: 600;
  font-size: 13px;
  color: var(--color-primary);
  margin-bottom: 28px;
  animation: fadeInUp 0.8s ease-out;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(242, 113, 0, 0.7);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(242, 113, 0, 0.7); }
  70% { box-shadow: 0 0 0 12px rgba(242, 113, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(242, 113, 0, 0); }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 1000px;
  margin: 0 auto 24px;
  animation: fadeInUp 1s ease-out;
}

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

.hero__subtitle {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--color-text-muted);
  max-width: 780px;
  margin: 0 auto 40px;
  animation: fadeInUp 1.1s ease-out;
}

.hero__subtitle strong {
  color: var(--color-secondary);
  font-weight: 700;
}

.hero__cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 70px;
  animation: fadeInUp 1.2s ease-out;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Mockup Dashboard */
.hero__mockup {
  max-width: 1000px;
  margin: 0 auto 80px;
  animation: fadeInUp 1.4s ease-out;
}

.mockup-window {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.mockup-window__bar {
  background: #f5f5f5;
  padding: 14px 18px;
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--color-border);
}

.mockup-window__bar span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
}

.mockup-window__bar span:nth-child(1) { background: #ff5f57; }
.mockup-window__bar span:nth-child(2) { background: #ffbd2e; }
.mockup-window__bar span:nth-child(3) { background: #28ca42; }

.mockup-window__content {
  padding: 0;
}

.dashboard-preview {
  display: grid;
  grid-template-columns: 80px 1fr;
  min-height: 420px;
  background: #fafbfc;
}

.dash-sidebar {
  background: var(--color-secondary);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dash-logo {
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  border-radius: 12px;
  margin-bottom: 8px;
}

.dash-item {
  width: 48px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}

.dash-item.active {
  background: var(--color-primary);
}

.dash-main {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dash-title-bar {
  width: 180px;
  height: 24px;
  background: linear-gradient(90deg, var(--color-secondary) 0%, var(--color-secondary) 60%, transparent 60%);
  border-radius: 6px;
}

.dash-avatar {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  border-radius: 50%;
}

.dash-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.dash-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  overflow: hidden;
}

.dash-card .bar {
  width: 40px;
  height: 4px;
  background: var(--color-primary);
  border-radius: 2px;
  margin-bottom: 8px;
}

.dash-card .bar--2 { background: var(--color-secondary); }
.dash-card .bar--3 { background: var(--color-gray-light); }

.dash-card .num {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--color-secondary);
}

.dash-card .lbl {
  font-size: 11px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dash-chart {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px;
  height: 140px;
}

.dash-chart svg {
  width: 100%;
  height: 100%;
}

.dash-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dash-row {
  height: 32px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  position: relative;
}

.dash-row::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  background: var(--color-primary);
  border-radius: 50%;
}

.dash-row::after {
  content: '';
  position: absolute;
  left: 36px;
  top: 50%;
  transform: translateY(-50%);
  width: 60%;
  height: 8px;
  background: #eee;
  border-radius: 4px;
}

/* Integrações */
.integrations {
  margin-top: 20px;
}

.integrations__label {
  text-align: center;
  font-size: 14px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 24px;
}

.integrations__marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.integrations__track {
  display: flex;
  gap: 16px;
  animation: scroll-x 40s linear infinite;
  width: max-content;
}

@keyframes scroll-x {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.int-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 100px;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

.int-icon {
  font-size: 20px;
}

/* ============================================
   TAGS MARQUEE
   ============================================ */
.tags-marquee {
  background: var(--color-secondary);
  color: #fff;
  padding: 32px 0;
  overflow: hidden;
  transform: rotate(-2deg);
  margin: 40px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.tags-track {
  display: flex;
  gap: 24px;
  align-items: center;
  animation: scroll-x 50s linear infinite;
  width: max-content;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 4vw, 40px);
  letter-spacing: -0.02em;
}

.tags-track span {
  white-space: nowrap;
}

.tags-track .dot {
  color: var(--color-primary);
  font-size: 0.8em;
}

/* ============================================
   SECTION HEAD
   ============================================ */
.section-head {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 60px;
}

.section-kicker {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(242, 113, 0, 0.1);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 100px;
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--color-secondary);
  margin-bottom: 18px;
}

.section-sub {
  font-size: 18px;
  color: var(--color-text-muted);
  max-width: 680px;
  margin: 0 auto;
}

.section-head--dark .section-title { color: var(--color-secondary); }

/* ============================================
   FEATURES
   ============================================ */
.features {
  padding: 100px 0 80px;
  background: var(--color-bg);
}

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

.feature-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(242, 113, 0, 0.04) 100%);
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

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

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

.feature-icon {
  width: 56px;
  height: 56px;
  background: rgba(242, 113, 0, 0.1);
  color: var(--color-primary);
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-secondary);
  position: relative;
  z-index: 1;
}

.feature-card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-text-muted);
  position: relative;
  z-index: 1;
}

.feature-card--highlight {
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-light) 100%);
  color: #fff;
  border-color: transparent;
}

.feature-card--highlight h3 { color: #fff; }
.feature-card--highlight p { color: rgba(255, 255, 255, 0.75); }
.feature-card--highlight .feature-icon {
  background: var(--color-primary);
  color: #fff;
}

.feature-card--highlight:hover .feature-icon {
  background: #fff;
  color: var(--color-primary);
}

.feature-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--color-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
}

.features__cta {
  text-align: center;
  margin-top: 60px;
}

.features__cta h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--color-secondary);
  letter-spacing: -0.02em;
}

/* ============================================
   REPLACE TABLE
   ============================================ */
.replace {
  padding: 100px 0;
  background: var(--color-bg-alt);
  position: relative;
}

.replace-table {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.replace-row {
  display: grid;
  grid-template-columns: 1.2fr 2fr 1fr;
  gap: 24px;
  padding: 20px 28px;
  align-items: center;
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition);
}

.replace-row:last-child { border-bottom: none; }

.replace-row:hover:not(.replace-row--header):not(.replace-row--winner) {
  background: rgba(242, 113, 0, 0.03);
}

.replace-row--header {
  background: var(--color-secondary);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 18px 28px;
}

.replace-cell-title { font-size: 16px; }

.replace-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 6px 14px;
  background: #f3f4f5;
  border: 1px solid var(--color-border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-gray-medium);
}

.chip--total {
  background: rgba(16, 24, 32, 0.05);
  color: var(--color-secondary);
}

.chip--winner {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

.replace-price {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-secondary);
  text-align: right;
}

.replace-price span {
  font-size: 14px;
  color: var(--color-text-muted);
  font-weight: 500;
}

.replace-row--total {
  background: #f5f5f6;
  font-weight: 700;
}

.replace-price--total {
  font-size: 26px;
  color: var(--color-gray-medium);
  text-decoration: line-through;
  text-decoration-color: #d93838;
}

.replace-row--winner {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: #fff;
  padding: 28px;
}

.replace-winner-brand img {
  height: 56px;
  filter: brightness(0) invert(1);
}

.replace-price--winner {
  font-size: 34px;
  color: #fff;
  font-weight: 800;
}

.replace-price--winner span {
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  padding: 100px 0;
  background: #fff;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.testimonial {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.testimonial:hover {
  border-color: var(--color-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stars {
  font-size: 18px;
  letter-spacing: 2px;
}

.testimonial p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-secondary);
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  flex-shrink: 0;
  position: relative;
}

.avatar::after {
  content: '';
  position: absolute;
  inset: 4px;
  background: var(--color-secondary);
  border-radius: 50%;
  mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M12 12c2.7 0 4.9-2.2 4.9-4.9S14.7 2.2 12 2.2 7.1 4.4 7.1 7.1 9.3 12 12 12zm0 2.4c-3.3 0-9.8 1.6-9.8 4.9V22h19.6v-2.7c0-3.3-6.5-4.9-9.8-4.9z'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M12 12c2.7 0 4.9-2.2 4.9-4.9S14.7 2.2 12 2.2 7.1 4.4 7.1 7.1 9.3 12 12 12zm0 2.4c-3.3 0-9.8 1.6-9.8 4.9V22h19.6v-2.7c0-3.3-6.5-4.9-9.8-4.9z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.avatar--2 { background: linear-gradient(135deg, var(--color-secondary), var(--color-gray-medium)); }
.avatar--3 { background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary)); }
.avatar--4 { background: linear-gradient(135deg, var(--color-gray-light), var(--color-gray-medium)); }
.avatar--5 { background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); }

.testimonial-author strong {
  display: block;
  font-size: 15px;
  color: var(--color-secondary);
}

.testimonial-author span {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* ============================================
   PLANS
   ============================================ */
.plans {
  position: relative;
  padding: 100px 0;
  background: var(--color-bg-alt);
  overflow: hidden;
}

.plans__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.plans__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.plan-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 40px;
  position: relative;
  transition: var(--transition);
  overflow: hidden;
}

.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.plan-card--featured {
  background: linear-gradient(155deg, var(--color-secondary) 0%, var(--color-secondary-light) 100%);
  color: #fff;
  border-color: transparent;
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

.plan-card--featured::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--color-primary) 0%, transparent 70%);
  opacity: 0.3;
  border-radius: 50%;
  transform: translate(50%, -50%);
}

.plan-card__badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--color-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  z-index: 2;
  box-shadow: var(--shadow-orange);
}

.plan-card__top {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--color-border);
  position: relative;
  z-index: 1;
}

.plan-card--featured .plan-card__top {
  border-bottom-color: rgba(255, 255, 255, 0.15);
}

.plan-card__tag {
  display: inline-block;
  font-size: 13px;
  color: var(--color-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.plan-card__name {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--color-secondary);
}

.plan-card--featured .plan-card__name { color: #fff !important; }
.plan-card--featured .plan-card__tag { color: #fff !important; }

.plan-card__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}

.plan-card__price .currency {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--color-text-muted);
}

.plan-card--featured .plan-card__price .currency { color: rgba(255, 255, 255, 0.7); }

.plan-card__price .amount {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--color-secondary);
}

.plan-card--featured .plan-card__price .amount { color: #fff; }

.plan-card__price .period {
  font-size: 16px;
  color: var(--color-text-muted);
}

.plan-card--featured .plan-card__price .period { color: rgba(255, 255, 255, 0.7); }

.plan-card__subtitle {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.plan-card--featured .plan-card__subtitle { color: rgba(255, 255, 255, 0.6); }

.plan-card--featured .plan-card__list li { color: #fff; }

.plan-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.plan-card__list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.5;
}

.plan-card__list li::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: var(--color-primary);
  border-radius: 50%;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 2px;
}

/* ============================================
   FAQ
   ============================================ */
.faq {
  padding: 100px 0;
  background: #fff;
}

.faq__list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item[open] {
  border-color: var(--color-primary);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  padding: 22px 28px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--color-secondary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-primary);
  position: relative;
  flex-shrink: 0;
  transition: var(--transition);
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: #fff;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 1px;
}

.faq-icon::before { width: 12px; height: 2px; }
.faq-icon::after { width: 2px; height: 12px; transition: var(--transition); }

.faq-item[open] .faq-icon { transform: rotate(180deg); }
.faq-item[open] .faq-icon::after { height: 0; }

.faq-answer {
  padding: 0 28px 24px;
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ============================================
   FINAL CTA
   ============================================ */
.final-cta {
  padding: 60px 0 100px;
}

.final-cta__card {
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-light) 100%);
  border-radius: var(--radius-xl);
  padding: 80px 40px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.final-cta__card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--color-primary) 0%, transparent 70%);
  opacity: 0.35;
  border-radius: 50%;
}

.final-cta__card::after {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--color-primary-light) 0%, transparent 70%);
  opacity: 0.25;
  border-radius: 50%;
}

.final-cta__card h2 {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.final-cta__card p {
  position: relative;
  z-index: 1;
  font-size: 18px;
  opacity: 0.8;
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta__card .btn {
  position: relative;
  z-index: 1;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--color-secondary);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 24px;
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__brand img {
  height: 46px;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer__brand p {
  font-size: 14px;
  line-height: 1.6;
  max-width: 340px;
}

.footer__col h4 {
  color: #fff;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col a {
  font-size: 14px;
  transition: var(--transition);
}

.footer__col a:hover { color: var(--color-primary); }

.footer__bottom {
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  z-index: 50;
  animation: bounce-in 1s ease-out 2s both;
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(-10deg);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.6);
}

@keyframes bounce-in {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 960px) {
  .header__nav,
  .header__actions .btn--ghost {
    display: none;
  }

  .header__burger { display: flex; }
  .header__burger.is-open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .header__burger.is-open span:nth-child(2) { opacity: 0; }
  .header__burger.is-open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  .header__nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 24px;
    border-bottom: 1px solid var(--color-border);
    transform: translateX(-100%);
    transition: transform 0.3s;
  }

  .header__nav.is-open {
    transform: translateX(0);
    display: block;
  }

  .header__nav ul {
    flex-direction: column;
    gap: 18px;
  }

  .replace-row {
    grid-template-columns: 1fr;
    gap: 10px;
    text-align: left;
  }

  .replace-row--header { display: none; }
  .replace-price { text-align: left; }

  .replace-row--winner {
    text-align: center;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
  }

  .plan-card--featured { transform: none; }

  .dashboard-preview {
    grid-template-columns: 60px 1fr;
    min-height: 340px;
  }

  .dash-sidebar { padding: 14px 10px; }
  .dash-logo, .dash-item { width: 40px; }
  .dash-main { padding: 16px; }
  .dash-cards { gap: 8px; }
  .dash-card { padding: 12px; }
  .dash-card .num { font-size: 16px; }

  .tags-marquee { font-size: 24px; transform: rotate(-1deg); }
}

@media (max-width: 600px) {
  .hero { padding: 60px 0 40px; }
  .features, .replace, .testimonials, .plans, .faq { padding: 60px 0; }
  .section-head { margin-bottom: 40px; }
  .footer__top { grid-template-columns: 1fr; gap: 30px; }
  .final-cta__card { padding: 50px 24px; }
  .plan-card { padding: 32px 24px; }
  .plan-card__name { font-size: 32px; }
  .plan-card__price .amount { font-size: 56px; }
}

/* Forçar texto branco no título do plano Black */
body .plan-card--featured .plan-card__name,
body .plan-card--featured h3.plan-card__name,
.page-id-2197 .plan-card--featured .plan-card__name {
  color: #ffffff !important;
}

/* Override: card A.I. com texto igual aos outros cards */
.feature-card--highlight {
  background: #fff !important;
  color: var(--color-secondary) !important;
  border-color: #eee !important;
}
.feature-card--highlight h3 {
  color: var(--color-secondary) !important;
}
.feature-card--highlight p {
  color: var(--color-text-muted) !important;
}
.feature-card--highlight .feature-icon {
  background: var(--color-primary-light) !important;
  color: var(--color-primary) !important;
}

/* ========================================
   CORREÇÕES GERAIS - Rodapé e Logo
   ======================================== */

/* Ocultar footer padrão do Phlox Pro (barra laranja abaixo do nosso footer customizado) */
.page-id-2197 #footer,
.page-id-2197 .aux-footer,
.page-id-2197 .site-footer,
.page-id-2197 footer.site-footer,
.page-id-2197 #colophon {
  display: none !important;
}

/* Remover padding/margin extra do wrapper Elementor após o template */
.page-id-2197 .elementor-section-wrap > .elementor-section:last-child,
.page-id-2197 .e-con-inner > .e-con:last-child {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Remover área branca entre o CTA e o footer */
.page-id-2197 .entry-content,
.page-id-2197 .aux-primary,
.page-id-2197 #page,
.page-id-2197 .aux-wrapper {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

/* Garantir que a seção final-cta não tenha margem extra */
.page-id-2197 section:last-of-type,
.page-id-2197 .final-cta + * {
  margin-top: 0 !important;
}

/* Logo no footer do template customizado */
.page-id-2197 .footer__brand img {
  max-width: 160px !important;
  height: auto !important;
  display: block !important;
}

/* ========================================
   FIX: Área branca após o CTA
   (padding-bottom da seção .final-cta)
   ======================================== */
.final-cta {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

/* O elementor-widget-html pode ter padding extra */
.elementor-global-2272 {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.elementor-global-2272 .elementor-widget-container {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* O container elementor-9b63349 pode ter padding */
.elementor-element-9b63349 {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

/* ========================================
   FIX: Barra laranja (PhotoSwipe gallery)
   Ocultar completamente o PhotoSwipe
   ======================================== */
.pswp,
.pswp__ui,
.pswp__top-bar,
.pswp__button,
.pswp__counter,
.pswp__caption,
[class*="pswp"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
