/* ============================================================
   M|P Assessoria — Página de captura "Método Balcão Cheio"
   Mobile-first. Cores: #000 fundo, #F5A623 dourado, #FFF texto.
   Seções alternam #000 / #111 / #1a1a1a.
   ============================================================ */

:root {
  --gold: #F5A623;
  --gold-hover: #ffb946;
  --black: #000000;
  --dark-1: #111111;
  --dark-2: #1a1a1a;
  --white: #ffffff;
  --gray-text: #c9c9c9;
  --error: #ff5a5a;
  --radius: 12px;
}

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

html { scroll-behavior: smooth; }

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

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

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

.narrow { max-width: 720px; }

.gold { color: var(--gold); }

/* Foco visível (acessibilidade) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* ============ TOPO / LOGO ============ */
.topbar {
  padding: 18px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(245, 166, 35, 0.15);
}

.logo {
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}

.logo-bar { color: var(--gold); }

.logo-sub {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--gray-text);
}

/* ============ HERO ============ */
.hero { padding: 32px 0 24px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.pre-headline {
  color: var(--gold);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

h1 {
  font-weight: 900;
  font-size: 1.65rem;
  line-height: 1.25;
  margin-bottom: 14px;
}

.subheadline {
  color: var(--gray-text);
  font-size: 1rem;
  margin-bottom: 20px;
}

h2 {
  font-weight: 900;
  font-size: 1.45rem;
  line-height: 1.3;
  margin-bottom: 18px;
}

/* ============ FOUNDERS (foto dos sócios no hero) ============ */
.founders {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 4px;
  padding: 12px 14px;
  background: rgba(245, 166, 35, 0.06);
  border: 1px solid rgba(245, 166, 35, 0.25);
  border-radius: var(--radius);
}

.founders img {
  width: 108px;
  height: 144px;
  border-radius: 10px;
  object-fit: cover;
  object-position: 50% 20%; /* prioriza logo + rostos na foto vertical */
  border: 2px solid var(--gold);
  flex-shrink: 0;
}

.founders p {
  font-size: 0.82rem;
  color: var(--gray-text);
  line-height: 1.45;
  margin: 0;
}

.founders p strong { color: var(--gold); }

/* ============ MOCKUP 3D DO EBOOK (CSS puro) ============ */
.ebook-mockup {
  display: none; /* escondido no mobile pra não empurrar o form pra baixo da dobra */
  perspective: 900px;
  margin: 28px auto 0;
  width: 210px;
}

.ebook-cover {
  width: 210px;
  height: 300px;
  background: linear-gradient(145deg, #0d0d0d 0%, #1e1e1e 55%, #0a0a0a 100%);
  border: 1px solid rgba(245, 166, 35, 0.45);
  border-radius: 4px 10px 10px 4px;
  transform: rotateY(-18deg);
  transform-style: preserve-3d;
  box-shadow: 18px 24px 40px rgba(0, 0, 0, 0.7), 0 0 40px rgba(245, 166, 35, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 24px 16px;
  text-align: center;
}

.ebook-brand {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--gray-text);
}

.ebook-title {
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1.15;
  color: var(--gold);
  letter-spacing: 1px;
}

.ebook-tag {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--white);
  border-top: 1px solid rgba(245, 166, 35, 0.4);
  padding-top: 10px;
}

/* ============ CARD DO FORMULÁRIO ============ */
.form-card {
  background: var(--dark-1);
  border: 1px solid rgba(245, 166, 35, 0.35);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.form-card-title {
  font-weight: 800;
  font-size: 1.15rem;
  text-align: center;
  margin-bottom: 18px;
}

.field { margin-bottom: 14px; }

.field label {
  display: block;
  font-weight: 700;
  font-size: 0.8rem;
  margin-bottom: 6px;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select {
  width: 100%;
  padding: 13px 14px;
  border-radius: 8px;
  border: 1px solid #333;
  background: var(--dark-2);
  color: var(--white);
  font-family: inherit;
  font-size: 1rem; /* >=16px evita zoom automático no iOS */
}

.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }

.field input::placeholder { color: #777; }

.field input.invalid,
.field select.invalid { border-color: var(--error); }

.field-error {
  color: var(--error);
  font-size: 0.78rem;
  margin-top: 4px;
  min-height: 0;
  display: none;
}

.field-error.visible { display: block; }

.field-check .check-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--gray-text);
  cursor: pointer;
  font-weight: 400;
}

.field-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--gold);
  flex-shrink: 0;
}

/* ============ BOTÕES ============ */
.btn {
  display: block;
  width: 100%;
  text-align: center;
  text-decoration: none;
  font-family: inherit;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 16px 24px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn-gold {
  background: var(--gold);
  color: #000;
}

.btn-gold:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 166, 35, 0.35);
}

.btn-gold:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

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

.btn-outline:hover {
  background: rgba(245, 166, 35, 0.1);
  transform: translateY(-2px);
}

.btn-big {
  font-size: 1.15rem;
  padding: 20px 28px;
}

.form-status {
  display: none;
  margin-top: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
}

.form-status.error { display: block; color: var(--error); }
.form-status.sending { display: block; color: var(--gray-text); }

.secure-line {
  margin-top: 12px;
  font-size: 0.78rem;
  color: var(--gray-text);
  text-align: center;
}

.micro-proof {
  margin-top: 22px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray-text);
}

/* ============ SEÇÕES ============ */
.section { padding: 56px 0; }

.section-dark { background: var(--dark-1); }
.section-gray { background: var(--dark-2); }
.section-cta  { background: var(--black); }

.section p { margin-bottom: 14px; color: var(--gray-text); }
.section p strong { color: var(--white); }
.section p strong.gold { color: var(--gold); }

.highlight-box {
  margin-top: 22px;
  border-left: 4px solid var(--gold);
  background: rgba(245, 166, 35, 0.07);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 20px;
}

.highlight-box p { margin: 0; color: var(--white); }

/* Lista com check dourado */
.check-list { list-style: none; }

.check-list li {
  position: relative;
  padding-left: 36px;
  margin-bottom: 14px;
  color: var(--white);
  font-weight: 600;
}

.check-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold);
  color: #000;
  font-size: 0.8rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* CTA final */
.section-cta { text-align: center; }
.section-cta .form-card { text-align: left; margin: 28px auto 0; max-width: 480px; }
.cta-sub { font-size: 1.05rem; }

.ps {
  margin-top: 28px;
  font-size: 0.9rem;
  color: var(--gray-text);
  font-style: italic;
}

/* ============ PÁGINA DE OBRIGADO ============ */
.thanks { padding: 48px 0 72px; }

.thanks-card {
  background: var(--dark-1);
  border: 1px solid rgba(245, 166, 35, 0.35);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.thanks h1 { font-size: 1.7rem; margin-bottom: 16px; }
.thanks p { color: var(--gray-text); margin-bottom: 14px; }
.thanks .btn-gold { margin-top: 12px; }

.next-step {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.next-step .btn-outline { max-width: 320px; margin: 0 auto; }

/* ============ RODAPÉ ============ */
.footer {
  padding: 36px 0;
  text-align: center;
  border-top: 1px solid rgba(245, 166, 35, 0.15);
  background: var(--black);
}

.logo-footer { font-size: 1.2rem; margin-bottom: 8px; }

.footer-line {
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.footer-legal {
  font-size: 0.72rem;
  color: #888;
  max-width: 520px;
  margin: 0 auto;
}

/* ============================================================
   TABLET (>=768px)
   ============================================================ */
@media (min-width: 768px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.8rem; }
  .hero { padding: 48px 0 32px; }
  .ebook-mockup { display: block; }
  .form-card { padding: 30px 28px; }
  .section { padding: 72px 0; }
  .thanks h1 { font-size: 2.1rem; }
  .thanks-card { padding: 48px 40px; }
  .btn-big { max-width: 420px; margin-left: auto; margin-right: auto; }
}

/* ============================================================
   DESKTOP (>=1024px) — hero em 2 colunas: copy+mockup | form
   ============================================================ */
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: start;
  }
  h1 { font-size: 2.4rem; }
  .ebook-mockup { margin: 36px 0 0; }
}
