/* =====================================================
   CULTURA COMERCIAL — Stylesheet
   One-page, CSS puro, sem frameworks
   ===================================================== */

/* ---------- 1. VARIÁVEIS ---------- */
:root {
  /* Paleta oficial — Arquivo 01 */
  --navy:       #0A2342;   /* primária */
  --navy-dark:  #071A32;   /* fundo footer / áreas profundas */
  --graphite:   #3A3A3A;   /* secundária */
  --gold:       #B8860B;   /* acento premium */
  --gold-hover: #9C7309;
  --off-white:  #F7F6F2;   /* fundo principal */
  --gray-light: #F1EFEA;   /* fundo alternado */
  --gray-mid:   #D6D3CC;   /* divisores */
  --ink:        #1A1A1A;   /* texto principal */
  --ink-soft:   #4A4A4A;   /* texto secundário */
  --white:      #FFFFFF;

  /* Tipografia */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout */
  --max-width: 1180px;
  --narrow-width: 760px;

  /* Transições */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 2. RESET LEVE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; color: var(--navy); margin: 0 0 0.6em; line-height: 1.2; }
p  { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 28px; }
.container.narrow { max-width: var(--narrow-width); }

/* ---------- 3. NAV ---------- */
.topnav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(10, 35, 66, 0.0);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
  padding: 18px 0;
}
.topnav.scrolled {
  background: rgba(10, 35, 66, 0.96);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
  padding: 12px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.14em;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.brand-logo {
  display: block;
  height: 34px;
  width: auto;
}
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  transition: color 0.2s var(--ease);
}
.nav-links a:hover { color: var(--gold); }

/* ---------- 4. HERO ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(140deg, var(--navy) 0%, #0B2C54 55%, #132A4A 100%);
  color: var(--white);
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184,134,11,0.55), transparent);
}
.hero-inner { max-width: 900px; }
.eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 28px;
}
.eyebrow.dark  { color: var(--navy); opacity: 0.75; }
.eyebrow.gold  { color: var(--gold); }

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5.2vw, 4.25rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--white);
  margin: 0 0 28px;
  letter-spacing: -0.01em;
}
.hero-headline em { font-style: italic; color: var(--gold); font-weight: 600; }
.hero-sub {
  font-size: clamp(1.02rem, 1.3vw, 1.18rem);
  line-height: 1.7;
  color: rgba(255,255,255,0.86);
  max-width: 720px;
  margin: 0 0 40px;
}
.scarcity {
  margin-top: 22px;
  font-size: 14px;
  color: rgba(255,255,255,0.62);
  letter-spacing: 0.02em;
}

/* ---------- 5. BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 30px;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  text-align: center;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 4px 14px rgba(184,134,11,0.25);
}
.btn-primary:hover {
  background: var(--gold-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(184,134,11,0.35);
}
.btn-primary:active { transform: translateY(0); }
.btn-block { width: 100%; justify-content: center; padding: 18px 24px; }
.cta-row { margin-top: 8px; }
.cta-row.center { display: flex; justify-content: center; margin-top: 48px; }

/* ---------- 6. SEÇÕES ---------- */
.section {
  padding: clamp(80px, 10vw, 140px) 0;
  position: relative;
}
.section-light { background: var(--off-white); }
.section-gray  { background: var(--gray-light); }
.section-dark  {
  background: linear-gradient(160deg, var(--navy) 0%, #0B2846 100%);
  color: var(--white);
}
.section-title {
  font-size: clamp(1.9rem, 3.6vw, 2.85rem);
  line-height: 1.2;
  margin: 0 0 22px;
  max-width: 800px;
  letter-spacing: -0.01em;
}
.section-title.light { color: var(--white); }
.section-lead {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 720px;
  margin: 0 0 60px;
  line-height: 1.7;
}
.section-dark .section-lead { color: rgba(255,255,255,0.8); }

/* ---------- 7. PROBLEMA ---------- */
.pain-list { display: flex; flex-direction: column; gap: 32px; margin-top: 40px; }
.pain-item {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 28px;
  padding: 28px 0;
  border-top: 1px solid var(--gray-mid);
}
.pain-item:last-child { border-bottom: 1px solid var(--gray-mid); }
.pain-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  padding-top: 4px;
}
.pain-body h3 { font-size: 1.3rem; margin: 0 0 10px; color: var(--navy); }
.pain-body p  { margin: 0; color: var(--ink-soft); line-height: 1.7; }

/* ---------- 8. MÉTODO — 4 Pilares ---------- */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.pillar-card {
  background: var(--white);
  padding: 40px 36px 36px;
  border-left: 3px solid var(--gold);
  position: relative;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  box-shadow: 0 1px 2px rgba(10,35,66,0.04);
}
.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(10,35,66,0.12);
}
.pillar-num {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  color: var(--gold);
  font-weight: 400;
  display: block;
  margin-bottom: 12px;
}
.pillar-card h3 { font-size: 1.5rem; margin: 0 0 12px; }
.pillar-card p  { color: var(--ink-soft); margin: 0; line-height: 1.7; }

.sub-block { margin-top: 72px; }
.sub-title {
  font-size: 1.55rem;
  color: var(--navy);
  margin: 0 0 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--gray-mid);
}

.ritual-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ritual-item { padding: 24px 26px; background: var(--white); border-top: 2px solid var(--gold); }
.ritual-item h4 { font-family: var(--font-heading); color: var(--navy); font-size: 1.15rem; margin: 0 0 8px; }
.ritual-item p  { margin: 0; color: var(--ink-soft); font-size: 0.97rem; line-height: 1.65; }

.quadrant-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 20px; }
.quadrant-item {
  padding: 18px 22px;
  background: var(--white);
  border-left: 3px solid var(--navy);
  color: var(--ink-soft);
  font-size: 0.97rem;
  line-height: 1.6;
}
.quadrant-item strong {
  display: inline-block;
  color: var(--gold);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  margin-right: 10px;
}

/* ---------- 9. COMO FUNCIONA — Timeline ---------- */
.timeline {
  display: grid;
  grid-template-columns: 1fr 40px 1fr 40px 1fr;
  align-items: stretch;
  gap: 16px;
  margin-top: 40px;
}
.timeline-step {
  background: var(--white);
  padding: 32px 28px;
  border-top: 3px solid var(--gold);
  box-shadow: 0 1px 2px rgba(10,35,66,0.05);
}
.step-label {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 10px;
}
.timeline-step h3 { font-size: 1.35rem; margin: 0 0 6px; }
.step-when { font-size: 0.88rem; color: var(--graphite); letter-spacing: 0.04em; text-transform: uppercase; margin: 0 0 14px; font-weight: 600; }
.timeline-step p { margin: 0; color: var(--ink-soft); font-size: 0.97rem; line-height: 1.65; }
.timeline-arrow {
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-size: 1.8rem;
  color: var(--gold); opacity: 0.5;
}

.practical { margin-top: 80px; }
.practical-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.practical-list li {
  padding: 18px 22px;
  background: var(--white);
  border-left: 3px solid var(--navy);
  line-height: 1.65;
}
.practical-list li span {
  display: inline-block;
  min-width: 130px;
  color: var(--gold);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-right: 12px;
}

/* ---------- 10. SOBRE + FORMULÁRIO ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.col-about p { color: rgba(255,255,255,0.82); line-height: 1.75; max-width: 520px; }
.col-about .muted { color: rgba(255,255,255,0.5); font-size: 0.92rem; font-style: italic; margin-top: 24px; }

.form-wrapper {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 44px 40px 40px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}
.form-wrapper h3 {
  color: var(--white);
  font-size: 1.6rem;
  margin: 0 0 8px;
}
.form-lead {
  color: rgba(255,255,255,0.62);
  font-size: 0.95rem;
  margin: 0 0 28px;
}

form label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  margin: 18px 0 8px;
  font-weight: 600;
}
form label .hint { font-size: 11px; color: rgba(255,255,255,0.45); font-weight: 400; letter-spacing: 0.02em; text-transform: none; margin-left: 6px; }

form input[type="text"],
form input[type="email"],
form input[type="tel"],
form select,
form textarea {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--white);
  padding: 13px 14px;
  font-family: var(--font-body);
  font-size: 15px;
  border-radius: 2px;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23B8860B' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 38px; }
form select option { background: var(--navy); color: var(--white); }
form textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
form input:focus, form select:focus, form textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255,255,255,0.1);
}
form input::placeholder, form textarea::placeholder { color: rgba(255,255,255,0.38); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-col label { margin-top: 18px; }

form button.btn-primary { margin-top: 32px; }
.form-footnote { margin-top: 16px; color: rgba(255,255,255,0.45); font-size: 0.88rem; text-align: center; }

/* ---------- Tela de confirmação pós-envio ---------- */
.form-success {
  padding: 48px 32px;
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
}
.form-success.fade-in {
  animation: fadeInConfirm 0.5s var(--ease) forwards;
}
@keyframes fadeInConfirm {
  to { opacity: 1; transform: translateY(0); }
}

.success-check {
  width: 64px;
  height: 64px;
  margin: 0 auto 28px;
  display: block;
}

.success-title {
  font-family: var(--font-heading);
  color: #FFFFFF;
  font-size: 1.7rem;
  font-weight: 700;
  margin: 0 0 18px;
  line-height: 1.25;
}

.success-text {
  font-family: var(--font-body);
  color: rgba(255,255,255,0.78);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 auto 32px;
  max-width: 440px;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25D366;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 14px 28px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s var(--ease), transform 0.15s var(--ease), box-shadow 0.2s var(--ease);
  box-shadow: 0 2px 12px rgba(37,211,102,0.28);
}
.btn-whatsapp:hover {
  background: #1EBE57;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(37,211,102,0.38);
}
.whatsapp-icon {
  width: 20px;
  height: 20px;
  color: #FFFFFF;
  flex-shrink: 0;
}

.scarcity-note {
  margin: 24px auto 0;
  max-width: 360px;
  color: rgba(255,255,255,0.5);
  font-size: 0.82rem;
  line-height: 1.5;
}

/* Fade-out do formulário antes de mostrar a confirmação */
.form-wrapper form.is-fading {
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}

/* ---------- 11. FOOTER ---------- */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.72);
  padding: 60px 0 40px;
  font-size: 0.95rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}
.footer-brand-block { display: flex; align-items: center; }
.footer-logo {
  display: block;
  height: 56px;
  width: auto;
  max-width: 100%;
}
.footer-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--white);
  margin: 0 0 4px;
  font-size: 16px;
}
.footer-tagline { margin: 0; font-size: 0.88rem; color: rgba(255,255,255,0.5); font-style: italic; }
.footer-links { display: flex; justify-content: flex-end; gap: 32px; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,0.72); transition: color 0.2s var(--ease); border-bottom: 1px solid transparent; padding-bottom: 2px; }
.footer-links a:hover { color: var(--gold); border-bottom-color: var(--gold); }
.copyright { grid-column: 1 / -1; margin: 32px 0 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08); font-size: 0.82rem; color: rgba(255,255,255,0.45); text-align: center; }

/* ---------- 12. REVEAL ON SCROLL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 13. RESPONSIVO ---------- */
@media (max-width: 960px) {
  .pillar-grid { grid-template-columns: 1fr; }
  .ritual-grid { grid-template-columns: 1fr; }
  .quadrant-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .timeline-arrow { transform: rotate(90deg); padding: 8px 0; }
  .two-col { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-links { justify-content: center; }
  .nav-links { display: none; }
}

@media (max-width: 560px) {
  .container { padding: 0 22px; }
  .section { padding: 70px 0; }
  .hero { padding: 100px 0 60px; }
  .hero-headline { font-size: clamp(2rem, 9vw, 2.6rem); }
  .hero-sub { font-size: 1rem; }
  .section-title { font-size: clamp(1.65rem, 6vw, 2.1rem); }
  .pain-item { grid-template-columns: 50px 1fr; gap: 18px; }
  .pain-number { font-size: 1.5rem; }
  .pillar-card { padding: 32px 24px 28px; }
  .form-wrapper { padding: 32px 24px 28px; }
  .form-row { grid-template-columns: 1fr; }
  .btn { padding: 14px 24px; font-size: 14px; }
  .practical-list li span { display: block; margin-bottom: 4px; }
  .brand { font-size: 14px; }
  .brand-logo { height: 26px; }
  .footer-logo { height: 44px; }
}

/* ---------- 14. ACESSIBILIDADE ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
