/* === Impacte+ Marketing — Site Público v3.1.1 === */
/* Paleta: dourado #EF9F27 sobre preto #1A1A1A */

:root {
  --gold: #EF9F27;
  --gold-dark: #C48319;
  --gold-light: #F9CB7F;
  --green: #1BB66A;
  --green-dark: #0F7A46;
  --black: #1A1A1A;
  --gray-dark: #2A2A2A;
  --gray-mid: #4A4A4A;
  --gray-light: #E5E5E5;
  --white: #FFFFFF;
  --bg-soft: #FAFAFA;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.12);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.16);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== Header ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-light);
  padding: 14px 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header .logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.site-header .logo img {
  height: 40px;
  width: auto;
}

.site-header .logo-text {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--black);
}

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

.site-nav a {
  color: var(--gray-mid);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.site-nav a:hover {
  color: var(--gold-dark);
  text-decoration: none;
}

.btn-login {
  background: var(--black);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.btn-login:hover {
  background: var(--gray-dark);
}

/* ========== Hero ========== */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--black) 0%, #2a1a08 100%);
  color: var(--white);
  padding: 80px 0 120px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(239, 159, 39, 0.15), transparent 70%);
  pointer-events: none;
}

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

.hero-badge {
  display: inline-block;
  background: rgba(239, 159, 39, 0.15);
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero h1 .highlight {
  color: var(--gold);
}

.hero p.subhead {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: rgba(255,255,255,0.8);
  max-width: 720px;
  margin: 0 auto 40px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  font-family: inherit;
}

.btn-primary {
  background: var(--gold);
  color: var(--black);
  box-shadow: 0 6px 20px rgba(239, 159, 39, 0.4);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(239, 159, 39, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: var(--gold-dark);
  border: 2px solid var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--black);
  text-decoration: none;
}

.btn-block {
  width: 100%;
}

/* ========== Sections ========== */
section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--gray-mid);
}

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

.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: all 0.3s;
}

.feature-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: inline-block;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--black);
}

.feature-card p {
  color: var(--gray-mid);
  font-size: 0.95rem;
}

/* ========== How it works ========== */
.how-section {
  background: var(--bg-soft);
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  position: relative;
}

.how-step {
  text-align: center;
  position: relative;
  padding: 32px 20px;
}

.how-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--black);
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.how-step h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.how-step p {
  color: var(--gray-mid);
}

/* ========== Plans ========== */
.plans-section {
  background: var(--white);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}

.plan-card {
  background: var(--white);
  border: 2px solid var(--gray-light);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
}

.plan-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.plan-card.popular {
  border-color: var(--gold);
  background: linear-gradient(180deg, #fff 0%, #fff8eb 100%);
  transform: scale(1.03);
}

.plan-card.popular::before {
  content: '⭐ Mais Popular';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--black);
  padding: 4px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

.plan-name {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
}

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

.plan-price .currency {
  font-size: 1rem;
  color: var(--gray-mid);
  font-weight: 600;
}

.plan-price .amount {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--black);
  line-height: 1;
}

.plan-price .period {
  font-size: 0.95rem;
  color: var(--gray-mid);
}

.plan-features {
  list-style: none;
  margin-bottom: 32px;
  flex: 1;
}

.plan-features li {
  padding: 10px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--gray-mid);
  font-size: 0.95rem;
  border-bottom: 1px solid var(--gray-light);
}

.plan-features li:last-child {
  border-bottom: none;
}

.plan-features li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 800;
  flex-shrink: 0;
}

/* ========== CTA Final ========== */
.cta-final {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--black);
  text-align: center;
}

.cta-final h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-final p {
  font-size: 1.15rem;
  margin-bottom: 32px;
  opacity: 0.9;
}

.cta-final .btn {
  background: var(--black);
  color: var(--white);
  font-size: 1.1rem;
  padding: 16px 36px;
}

.cta-final .btn:hover {
  background: var(--gray-dark);
  transform: translateY(-2px);
}

/* ========== Footer ========== */
.site-footer {
  background: var(--black);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.footer-brand img {
  height: 48px;
  margin-bottom: 16px;
  background: var(--white);
  border-radius: 8px;
  padding: 6px;
}

.footer-brand p {
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  padding: 6px 0;
}

.footer-col a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--gold);
  text-decoration: none;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* ========== Modal ========== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 40px;
  max-width: 480px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray-mid);
}

.modal h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.modal p {
  color: var(--gray-mid);
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--black);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

/* ========== WhatsApp Floating ========== */
.wa-floating {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  background: #25D366;
  color: white;
  border-radius: 999px;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: all 0.2s;
}

.wa-floating:hover {
  transform: translateY(-2px);
  text-decoration: none;
  color: white;
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
}

.wa-floating svg {
  width: 24px;
  height: 24px;
  fill: white;
}

@media (max-width: 768px) {
  .wa-floating span {
    display: none;
  }
  .wa-floating {
    padding: 14px;
    border-radius: 50%;
  }
}

/* ========== Cookies banner ========== */
.cookies-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 100px;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-lg);
  z-index: 998;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 600px;
}

.cookies-banner p {
  margin: 0;
  font-size: 0.9rem;
  flex: 1;
}

.cookies-banner button {
  padding: 8px 20px;
  border: none;
  background: var(--gold);
  color: var(--black);
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

@media (max-width: 768px) {
  .cookies-banner {
    left: 12px;
    right: 12px;
    bottom: 80px;
    flex-direction: column;
    text-align: center;
  }
}

/* ========== Legal pages (privacidade, termos, etc) ========== */
.legal-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.legal-page h1 {
  font-size: 2.2rem;
  margin-bottom: 8px;
  color: var(--black);
}

.legal-page .last-update {
  color: var(--gray-mid);
  margin-bottom: 40px;
  font-size: 0.9rem;
}

.legal-page h2 {
  font-size: 1.4rem;
  margin: 32px 0 12px;
  color: var(--black);
}

.legal-page h3 {
  font-size: 1.1rem;
  margin: 20px 0 8px;
  color: var(--gray-dark);
}

.legal-page p,
.legal-page ul,
.legal-page ol {
  margin-bottom: 16px;
  color: var(--gray-dark);
  line-height: 1.75;
}

.legal-page ul,
.legal-page ol {
  padding-left: 24px;
}

.legal-page li {
  margin-bottom: 8px;
}

/* ========== Admin ========== */
.admin-wrap {
  min-height: 100vh;
  background: var(--bg-soft);
}

.admin-header {
  background: var(--black);
  color: var(--white);
  padding: 16px 0;
}

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

.admin-header h1 {
  font-size: 1.2rem;
  color: var(--gold);
}

.admin-header .admin-user {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-header form {
  margin: 0;
}

.btn-logout {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.85rem;
}

.btn-logout:hover {
  background: rgba(255,255,255,0.1);
}

.admin-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 24px;
}

.admin-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 2px solid var(--gray-light);
  margin-bottom: 24px;
}

.admin-tab {
  padding: 12px 20px;
  background: transparent;
  border: none;
  color: var(--gray-mid);
  font-weight: 600;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  font-family: inherit;
  font-size: 0.95rem;
}

.admin-tab.active {
  color: var(--gold-dark);
  border-bottom-color: var(--gold);
}

.admin-section {
  display: none;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.admin-section.active {
  display: block;
}

.admin-section h2 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--black);
}

.admin-section .hint {
  color: var(--gray-mid);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 768px) {
  .field-grid {
    grid-template-columns: 1fr;
  }
}

.field-grid .full {
  grid-column: 1 / -1;
}

.alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.alert-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert-error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Login admin */
.admin-login {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: linear-gradient(135deg, var(--black) 0%, #2a1a08 100%);
  padding: 20px;
}

.admin-login-box {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 40px;
  max-width: 420px;
  width: 100%;
  box-shadow: var(--shadow-lg);
}

.admin-login-box img {
  height: 56px;
  margin: 0 auto 24px;
}

.admin-login-box h1 {
  text-align: center;
  font-size: 1.4rem;
  margin-bottom: 24px;
}

/* Tabela leads */
.leads-table {
  width: 100%;
  border-collapse: collapse;
}

.leads-table th,
.leads-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid var(--gray-light);
  font-size: 0.9rem;
}

.leads-table th {
  background: var(--bg-soft);
  font-weight: 600;
  color: var(--gray-dark);
}

.leads-table td {
  color: var(--gray-dark);
}

.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--gray-mid);
}

/* ========== Impacte+ v4.2 sales sections ========== */
.sales-hero {
  padding: 76px 0 96px;
  background: linear-gradient(135deg, #1A1A1A 0%, #30220E 58%, #123522 100%);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 56px;
  align-items: center;
}

.hero-copy {
  text-align: left;
}

.hero-copy h1 {
  max-width: 760px;
  margin-left: 0;
  margin-right: 0;
}

.hero-copy .subhead {
  margin-left: 0;
  max-width: 680px;
}

.hero-copy .hero-ctas {
  justify-content: flex-start;
}

.hero-proof {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  padding: 28px;
  box-shadow: var(--shadow-lg);
}

.hero-proof img {
  width: 100%;
  max-width: 420px;
  margin: 0 auto 24px;
}

.hero-proof p {
  color: rgba(255,255,255,0.82);
  margin-top: 18px;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.proof-grid strong {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px;
  color: var(--white);
  padding: 14px;
  text-align: center;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.trust-strip span {
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  color: rgba(255,255,255,0.86);
  padding: 7px 12px;
  font-size: 0.9rem;
}

.campaign-package .feature-icon {
  background: var(--black);
  border-radius: 8px;
  color: var(--gold);
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 800;
  min-width: 46px;
  padding: 8px 10px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 44px;
  align-items: center;
}

.section-kicker {
  color: var(--green-dark);
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.crm-section {
  background: #F3FBF6;
}

.crm-section h2,
.manual-section h2 {
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  line-height: 1.16;
  margin-bottom: 18px;
}

.crm-section p,
.manual-section p {
  color: var(--gray-mid);
  margin-bottom: 14px;
}

.crm-list {
  display: grid;
  gap: 12px;
}

.crm-list div,
.glossary-grid div {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 8px;
  padding: 20px;
}

.crm-list strong,
.glossary-grid strong {
  display: block;
  font-size: 1.03rem;
  margin-bottom: 6px;
}

.crm-list span,
.glossary-grid p {
  color: var(--gray-mid);
}

.glossary-section {
  background: var(--white);
}

.glossary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}

.plans-grid.wide {
  max-width: 1320px;
}

.plan-desc {
  color: var(--gray-mid);
  font-size: 0.95rem;
  min-height: 76px;
  margin-bottom: 18px;
}

.plan-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.plan-meta span {
  background: #F1F5F2;
  border: 1px solid #DCE8E0;
  border-radius: 999px;
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 10px;
}

.plan-price .amount.consult {
  font-size: 2rem;
}

.payment-note {
  color: var(--gray-mid);
  margin-top: 28px;
  text-align: center;
}

.manual-section {
  background: var(--bg-soft);
}

.manual-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

@media (max-width: 900px) {
  .hero-layout,
  .split-section {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    text-align: center;
  }
  .hero-copy .subhead,
  .hero-copy h1 {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-copy .hero-ctas,
  .trust-strip,
  .manual-actions {
    justify-content: center;
  }
}
