/* Sobre Nós — identidade visual própria (café com leite / marrom-café / verde-mata / dourado-torrado)
   Este arquivo é carregado SOMENTE em /sobre-nos, depois de marketing.css — as variáveis abaixo
   sobrescrevem as do tema escuro padrão só nesta página, sem afetar a home nem o resto do site. */

:root {
  --bg: #FAF7F2;
  --surface: #FFFDFA;
  --surface-2: #F2E8D9;
  --text: #2B1B12;
  --muted: #7A6A5D;
  --border: #EAE0D5;
  --accent: #5A3825;
  --accent-hover: #472B1B;
  --gold: #C89B3C;
  --gold-hover: #B78B2E;
  --green: #3F6B4A;
  --green-tint: rgba(63, 107, 74, 0.1);
  --terracota: #B5573B;
  --terracota-tint: rgba(181, 87, 59, 0.1);
  --on-accent: #2B1B12;
  --ok: #3F6B4A;
  --danger: #B5573B;
  --shadow: 0 24px 60px rgba(43, 27, 18, 0.14);
  --shadow-soft: 0 10px 30px rgba(43, 27, 18, 0.08);
  --radius: 20px;
  --logo-gradient-start: #5A3825;
  --logo-gradient-end: #C89B3C;
  --logo-shadow: 0 10px 24px rgba(90, 56, 37, 0.22);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

.m-hero-micro a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.m-hero-micro a:hover {
  text-decoration: underline;
}

h1, h2, h3,
.m-logo,
.m-step-number,
.m-eyebrow,
.m-btn,
.m-benefit h3,
.m-compare-value {
  font-family: 'Manrope', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

/* Header: transparente no topo, ganha fundo/blur ao rolar */

.m-header {
  background: transparent;
  border-bottom: 1px solid transparent;
  backdrop-filter: none;
  transition: background-color 200ms ease, border-color 200ms ease, box-shadow 200ms ease, backdrop-filter 200ms ease;
}

.m-header.is-scrolled {
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--border);
  box-shadow: 0 4px 24px rgba(43, 27, 18, 0.06);
}

.m-btn-primary {
  background: var(--gold);
  color: var(--on-accent);
}

.m-btn-primary:hover {
  background: var(--gold-hover);
}

.m-btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.m-eyebrow {
  background: var(--surface-2);
  border-color: transparent;
  color: var(--accent);
}

/* Hero */

.m-hero-split {
  padding-bottom: 88px;
}

.m-hero-visual {
  position: relative;
}

.m-hero-visual svg {
  display: block;
  filter: drop-shadow(var(--shadow));
  border-radius: 20px;
}

.m-hero-visual-caption {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

/* Problema / Dor */

#problema .m-pain {
  max-width: 680px;
  margin: 0 auto;
}

.m-pain-quote {
  margin: 32px auto 0;
  max-width: 520px;
  text-align: center;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  line-height: 1.35;
  color: var(--text);
}

/* Como funciona — passos conectados */

@media (min-width: 720px) {
  .m-step {
    position: relative;
  }

  .m-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 34px;
    left: calc(100% + 12px);
    width: calc(24px + 2 * 12px);
    border-top: 2px dashed var(--border);
  }
}

.m-step {
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.m-step-number {
  background: var(--gold);
  color: var(--on-accent);
}

/* Benefícios — cards com hover */

.m-benefit {
  background: var(--surface);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.m-benefit:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--green);
}

/* Comparativa — dois cards, não tabela (usada em "Para quem é") */

.m-compare-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
  max-width: 880px;
  margin: 0 auto;
}

.m-compare-card {
  border-radius: var(--radius);
  padding: 28px 26px;
  border: 1px solid var(--border);
}

.m-compare-card-old {
  background: var(--surface-2);
}

.m-compare-card-old .m-compare-title {
  color: var(--muted);
}

.m-compare-card-new {
  background: var(--surface);
  border-color: var(--green);
  box-shadow: var(--shadow);
}

.m-compare-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 18px;
  color: var(--text);
}

.m-compare-rows {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.m-compare-rows li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.5;
}

.m-compare-card-old .m-compare-rows li {
  color: var(--muted);
}

.m-compare-card-new .m-compare-rows li {
  color: var(--text);
  font-weight: 500;
}

.m-compare-rows svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.m-compare-card-old .m-compare-rows svg {
  color: var(--terracota);
}

.m-compare-card-new .m-compare-rows svg {
  color: var(--green);
}

@media (min-width: 720px) {
  .m-compare-cards {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .m-compare-card-new {
    transform: translateY(-10px);
  }
}

/* FAQ */

.m-faq {
  max-width: 720px;
  margin: 0 auto;
}

.m-faq-item {
  background: var(--surface);
}

.m-faq-item summary::after {
  transform-origin: center;
}

/* CTA final — única faixa escura da página, de propósito */

.m-cta-final {
  background: linear-gradient(160deg, #2B1B12, #241610);
  border: none;
  color: #FAF7F2;
  box-shadow: none;
}

.m-cta-final h2 {
  color: #FAF7F2;
}

.m-cta-final p {
  color: rgba(250, 247, 242, 0.72);
}

.m-cta-final .m-btn-primary {
  background: var(--gold);
  color: #2B1B12;
}

.m-cta-final .m-btn-primary:hover {
  background: var(--gold-hover);
}

/* Reveal on scroll */

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 500ms ease, transform 500ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Botão flutuante — mesma cor de marca do WhatsApp, mantida de propósito (reconhecimento) */

.m-floating-cta {
  box-shadow: 0 12px 30px rgba(43, 27, 18, 0.28);
}

/* Barra de identificação — logo abaixo do hero */

.m-identify-bar {
  padding-top: 0;
  border-top: none;
}

.m-identify-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.m-identify-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow-soft);
  text-align: left;
}

.m-identify-card svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
  margin-bottom: 10px;
}

.m-identify-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 6px;
}

.m-identify-card p {
  margin: 0;
  font-size: 14px;
  color: var(--text);
  font-weight: 600;
  line-height: 1.4;
}

/* Virada de percepção */

.m-shift {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.m-shift h2 {
  font-size: clamp(22px, 3.5vw, 30px);
  margin: 0 0 16px;
  font-weight: 800;
}

.m-shift p {
  color: var(--muted);
  font-size: 16px;
  margin: 0 0 16px;
}

.m-shift-highlight {
  margin-top: 20px !important;
  font-size: 18px;
  font-weight: 700;
  color: var(--accent) !important;
}

/* Apresentação do PlanejaCafé */

.m-intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.m-intro-visual svg {
  display: block;
  filter: drop-shadow(var(--shadow-soft));
  border-radius: 18px;
}

/* Controle de custos — fórmula visual */

.m-cost-formula {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  max-width: 640px;
  margin: 0 auto;
}

.m-cost-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  flex: 1;
  width: 100%;
}

.m-cost-card svg {
  width: 26px;
  height: 26px;
  color: var(--accent);
  margin-bottom: 10px;
}

.m-cost-card-label {
  display: block;
  font-size: 13px;
  color: var(--text);
  font-weight: 700;
}

.m-cost-operator {
  font-size: 24px;
  font-weight: 800;
  color: var(--gold);
}

/* Produtividade / Simplicidade — tags */

.m-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 8px;
}

.m-tag {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

/* Arquitetura modular — diagrama */

.m-modules {
  display: flex;
  justify-content: center;
}

.m-modules svg {
  max-width: 480px;
  width: 100%;
  height: auto;
}

/* CTA de conversão (meio da página) */

.m-cta-mid {
  text-align: center;
  padding: 48px 24px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.m-cta-mid h2 {
  margin: 0 0 12px;
  font-size: clamp(20px, 3.5vw, 28px);
  font-weight: 800;
  color: var(--text);
}

.m-cta-mid p {
  color: var(--muted);
  margin: 0 0 22px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.m-cta-mid-micro {
  margin: 16px 0 0 !important;
  font-size: 13px;
}

/* Barra fixa inferior no mobile */

.m-sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 39;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 24px rgba(43, 27, 18, 0.18);
  transform: translateY(100%);
  transition: transform 220ms ease;
  display: none;
}

.m-sticky-bar.is-visible {
  transform: translateY(0);
}

.m-sticky-bar .m-btn {
  width: 100%;
}

@media (max-width: 719px) {
  .m-sticky-bar {
    display: block;
  }

  .m-floating-cta {
    display: none;
  }
}

@media (min-width: 720px) {
  .m-identify-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .m-intro-grid {
    grid-template-columns: 1fr 1.15fr;
  }

  .m-cost-formula {
    flex-direction: row;
    justify-content: center;
  }

  .m-cost-card {
    width: auto;
  }
}
