/* ==========================================================================
   ZapRaf — landing page
   ========================================================================== */

:root {
  --cream: #f6f1e6;
  --cream-2: #eee6d3;
  --paper: #fffdf8;
  --ink: #1d2b24;
  --muted: #55635b;
  --line: rgba(29, 43, 36, 0.14);

  --field: #1f5c46;
  --field-2: #184a38;
  --field-deep: #10291f;
  --leaf: #2e9e68;
  --amber: #f0b44c;
  --amber-2: #e3a134;
  --amber-soft: #f6e2b8;
  --soil: #8a5a35;

  --bubble-out: #dcf5cf;
  --chat-wall: #efe6d6;

  --font-display: "Roboto Slab", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 16px;
  --radius-lg: 24px;
  --header-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --focus: var(--field);
}

/* --- Base --------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2.5px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection {
  background: var(--amber);
  color: var(--ink);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--field);
  color: var(--cream);
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(72px, 10vw, 120px);
}

.tint {
  background: var(--cream-2);
}

/* --- Type ---------------------------------------------------------------- */

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.4rem, 5.6vw, 4.3rem);
  line-height: 1.04;
}

h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.85rem);
  line-height: 1.12;
}

h3 {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
}

mark {
  padding: 0 0.04em;
  background: linear-gradient(transparent 60%, var(--amber) 60%, var(--amber) 92%, transparent 92%);
  color: inherit;
}

.lead {
  max-width: 62ch;
  font-size: clamp(1.08rem, 1.5vw, 1.22rem);
  color: var(--muted);
}

.eyebrow {
  margin-bottom: 14px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--field);
}

.section-head {
  max-width: 780px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section-head h2 {
  margin-bottom: 16px;
}

/* --- Buttons ------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 24px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: 700 1rem/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-sm {
  min-height: 42px;
  padding: 8px 18px;
  font-size: 0.95rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--field);
  color: var(--cream);
  box-shadow: 0 10px 24px -12px rgba(31, 92, 70, 0.7);
}

.btn-primary:hover {
  background: var(--field-2);
}

.btn-outline {
  border-color: rgba(29, 43, 36, 0.3);
  color: var(--ink);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--ink);
}

.btn-amber {
  background: var(--amber);
  color: var(--ink);
}

.btn-amber:hover {
  background: var(--amber-2);
}

.btn-light {
  background: var(--cream);
  color: var(--field);
}

.btn-light:hover {
  background: #fff;
}

.btn-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.btn-light .btn-icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linejoin: round;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.text-link {
  display: inline-block;
  margin-top: 20px;
  font-weight: 700;
  color: var(--field);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* --- Header -------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 241, 230, 0.86);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

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

.nav-list {
  display: flex;
  gap: 26px;
}

.nav-list a {
  font-size: 0.975rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.nav-list a:hover {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 2px;
  margin-left: -9px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s var(--ease);
}

.nav-toggle-bar {
  top: 50%;
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  left: 0;
  margin-left: 0;
}

.nav-toggle-bar::before {
  transform: translateY(-6px);
}

.nav-toggle-bar::after {
  transform: translateY(6px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before {
  transform: rotate(45deg);
  background: var(--ink);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after {
  transform: rotate(-45deg);
  background: var(--ink);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 16px var(--gutter) 28px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -20px rgba(29, 43, 36, 0.3);
  }

  .nav.is-open {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
  }

  .nav-list a {
    display: block;
    padding: 13px 0;
    font-size: 1.08rem;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
  }
}

/* --- Hero ---------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(40px, 6vw, 80px) clamp(64px, 8vw, 104px);
}

.hero::before {
  content: "";
  position: absolute;
  right: -10%;
  top: -12%;
  width: min(760px, 90vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 180, 76, 0.42), rgba(240, 180, 76, 0) 62%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: repeating-linear-gradient(100deg, rgba(31, 92, 70, 0.07) 0 2px, transparent 2px 26px);
  -webkit-mask-image: linear-gradient(transparent, #000);
  mask-image: linear-gradient(transparent, #000);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  padding: 7px 14px 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
}

.badge-dot {
  position: relative;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--leaf);
}

.badge-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--leaf);
  animation: ping 2.4s var(--ease) infinite;
}

@keyframes ping {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  80%,
  100% {
    transform: scale(2.8);
    opacity: 0;
  }
}

.hero h1 {
  margin-bottom: 24px;
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 26px;
  font-size: 0.95rem;
  color: var(--muted);
}

.hero-notes li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-notes li::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--field) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f6f1e6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

/* --- Phone + chat -------------------------------------------------------- */

.phone {
  width: min(340px, 100%);
  height: 660px;
  padding: 10px;
  border-radius: 46px;
  background: #13241c;
  box-shadow:
    0 50px 80px -40px rgba(16, 41, 31, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  transform: rotate(1.5deg);
}

.phone-screen {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 37px;
  background: var(--chat-wall);
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 30px 16px 12px;
  background: var(--field);
  color: var(--cream);
}

.chat-header img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.chat-header strong {
  display: block;
  font-size: 0.98rem;
  line-height: 1.2;
}

.chat-header span {
  font-size: 0.75rem;
  opacity: 0.8;
}

.chat-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  min-height: 0;
  padding: 12px 12px 4px;
  overflow: hidden;
  background-image: radial-gradient(rgba(29, 43, 36, 0.07) 1px, transparent 1.2px);
  background-size: 16px 16px;
}

.msg {
  position: relative;
  flex: none;
  max-width: 84%;
  padding: 7px 10px 6px;
  border-radius: 12px;
  font-size: 0.82rem;
  line-height: 1.42;
  box-shadow: 0 1px 1px rgba(16, 41, 31, 0.1);
}

.msg.in {
  align-self: flex-start;
  background: #fff;
  border-top-left-radius: 4px;
}

.msg.out {
  align-self: flex-end;
  background: var(--bubble-out);
  border-top-right-radius: 4px;
}

.time {
  float: right;
  margin: 7px 0 -3px 10px;
  font-size: 0.64rem;
  line-height: 1;
  color: rgba(29, 43, 36, 0.5);
}

.audio-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 190px;
}

.audio-row svg {
  width: 20px;
  height: 20px;
  fill: var(--field);
}

.wave {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 22px;
}

.wave i {
  width: 3px;
  border-radius: 2px;
  background: rgba(29, 43, 36, 0.45);
}

.wave i:nth-child(4n + 1) { height: 8px; }
.wave i:nth-child(4n + 2) { height: 16px; }
.wave i:nth-child(4n + 3) { height: 11px; }
.wave i:nth-child(4n + 4) { height: 20px; }
.wave i:nth-child(n + 9) { background: rgba(29, 43, 36, 0.25); }

.dur {
  font-size: 0.7rem;
  color: var(--muted);
}

.transcript {
  display: block;
  margin-top: 4px;
  font-size: 0.75rem;
  font-style: italic;
  color: var(--muted);
}

.summary {
  display: grid;
  gap: 1px;
  margin: 6px 0;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--cream);
  font-size: 0.78rem;
}

.summary b {
  display: inline-block;
  width: 6.2em;
  font-weight: 500;
  color: var(--muted);
}

.mini-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding: 8px;
  border: 1px dashed rgba(29, 43, 36, 0.3);
  border-radius: 8px;
  background: var(--cream);
  font-size: 0.72rem;
  line-height: 1.35;
}

.mini-label img {
  width: 58px;
  height: 58px;
  border-radius: 4px;
}

.mini-label b {
  display: block;
  font-size: 0.82rem;
}

.msg.typing {
  display: inline-flex;
  gap: 4px;
  padding: 11px 13px;
}

.msg.typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(29, 43, 36, 0.4);
  animation: typing 1.2s infinite;
}

.msg.typing i:nth-child(2) { animation-delay: 0.15s; }
.msg.typing i:nth-child(3) { animation-delay: 0.3s; }

@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-3px); opacity: 1; }
}

.chat-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 8px 10px 14px;
  padding: 6px 6px 6px 16px;
  border-radius: 999px;
  background: #fff;
  font-size: 0.85rem;
  color: rgba(29, 43, 36, 0.45);
}

.chat-mic {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--field);
}

.chat-mic svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--cream);
  stroke-width: 2;
  stroke-linecap: round;
}

/* Animação (ligada pelo JS; sem JS, a conversa aparece inteira) */
.chat-body.is-animated [data-msg] {
  display: none;
}

.chat-body.is-animated [data-msg].is-on,
.chat-body .msg.typing {
  animation: msg-in 0.35s var(--ease) both;
}

.chat-body.is-animated [data-msg].is-on {
  display: block;
}

@keyframes msg-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.replay {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--field);
  font: 700 0.9rem var(--font-body);
  cursor: pointer;
}

.replay[hidden] {
  display: none;
}

.replay svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.replay:hover {
  background: rgba(31, 92, 70, 0.08);
}

@media (max-width: 420px) {
  .phone {
    height: 600px;
    transform: none;
  }
}

/* --- Números ------------------------------------------------------------- */

.facts {
  background: var(--field-deep);
  color: var(--cream);
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.facts-grid li {
  display: grid;
  gap: 6px;
  padding: clamp(32px, 4vw, 48px) clamp(16px, 3vw, 40px);
}

.facts-grid li:first-child {
  padding-left: 0;
}

.facts-grid li + li {
  border-left: 1px solid rgba(246, 241, 230, 0.14);
}

.facts-grid strong {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  font-weight: 700;
  line-height: 1;
  color: var(--amber);
}

.facts-grid span {
  max-width: 30ch;
  color: rgba(246, 241, 230, 0.8);
}

.facts-grid sup {
  font-size: 0.65em;
  color: var(--amber);
}

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

  .facts-grid li,
  .facts-grid li:first-child {
    padding: 28px 0;
  }

  .facts-grid li + li {
    border-left: 0;
    border-top: 1px solid rgba(246, 241, 230, 0.14);
  }
}

/* --- Problema ------------------------------------------------------------ */

.pains {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 16px;
}

.pains li {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
}

.pain-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: 14px;
  background: var(--amber-soft);
}

.pain-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--soil);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pains h3 {
  margin-bottom: 8px;
}

.pains p {
  color: var(--muted);
}

.turn {
  max-width: 34ch;
  margin: clamp(48px, 7vw, 80px) auto 0;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.8vw, 2.1rem);
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-wrap: balance;
}

.turn strong {
  color: var(--field);
}

/* --- Como funciona ------------------------------------------------------- */

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  counter-reset: step;
}

.steps::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 24px;
  right: calc((100% - 72px) / 4 - 25px);
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(31, 92, 70, 0.35) 0 8px, transparent 8px 14px);
}

.steps li {
  position: relative;
}

.step-n {
  position: relative;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--field);
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  box-shadow: 0 0 0 6px var(--cream-2);
}

.steps h3 {
  margin-bottom: 8px;
}

.steps p {
  color: var(--muted);
}

@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .steps::before {
    top: 24px;
    bottom: 24px;
    left: 24px;
    right: auto;
    width: 2px;
    height: auto;
    background: repeating-linear-gradient(180deg, rgba(31, 92, 70, 0.35) 0 8px, transparent 8px 14px);
  }

  .steps li {
    padding-left: 74px;
  }

  .step-n {
    position: absolute;
    left: 0;
    top: -6px;
  }
}

.journey {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  gap: 32px clamp(32px, 6vw, 80px);
  align-items: center;
  margin-top: clamp(48px, 7vw, 80px);
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius-lg);
  background: var(--field);
  color: var(--cream);
}

.journey h3 {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
}

.journey-copy p {
  color: rgba(246, 241, 230, 0.85);
}

.trace-card {
  padding: 20px;
  border-radius: 18px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 30px 50px -30px rgba(0, 0, 0, 0.6);
}

.trace-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.78rem;
  color: var(--muted);
}

.trace-scan {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--amber-soft);
}

.trace-scan svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--soil);
  stroke-width: 2;
  stroke-linecap: round;
}

.trace-product {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
}

.trace-data {
  display: grid;
  gap: 0;
  font-size: 0.92rem;
}

.trace-data div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px solid var(--line);
}

.trace-data dt {
  color: var(--muted);
}

.trace-data dd {
  font-weight: 500;
  text-align: right;
}

.trace-foot {
  margin-top: 10px;
  font-size: 0.75rem;
  color: var(--muted);
}

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

/* --- Para quem ----------------------------------------------------------- */

.audiences {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 16px;
  align-items: stretch;
}

.audience {
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
}

.audience.featured {
  border-color: transparent;
  background: var(--field);
  color: var(--cream);
}

.price {
  align-self: flex-start;
  margin-bottom: 18px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--cream-2);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.featured .price {
  background: var(--amber);
  color: var(--ink);
}

.audience h3 {
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: 1.4rem;
}

.audience ul {
  display: grid;
  gap: 10px;
}

.audience li {
  position: relative;
  padding-left: 28px;
  font-size: 0.975rem;
  color: var(--muted);
}

.featured li {
  color: rgba(246, 241, 230, 0.9);
}

.audience li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--cream-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f5c46' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.featured li::before {
  background-color: var(--amber);
}

/* --- Funcionalidades ----------------------------------------------------- */

.features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.feature-col {
  padding: 30px;
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid var(--line);
}

.feature-col h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--amber-2);
}

.dot-on {
  border-color: var(--leaf);
  background: var(--leaf);
  box-shadow: 0 0 0 4px rgba(46, 158, 104, 0.18);
}

.feature-col li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
}

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

/* --- Tecnologia ---------------------------------------------------------- */

.dark {
  background: var(--field-deep);
  color: var(--cream);
  --focus: var(--amber);
}

.dark .eyebrow {
  color: var(--amber);
}

.dark .lead {
  color: rgba(246, 241, 230, 0.78);
}

.tech {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 32px;
}

.tech li {
  padding-top: 22px;
  border-top: 2px solid var(--amber);
}

.tech h3 {
  margin-bottom: 8px;
}

.tech p {
  color: rgba(246, 241, 230, 0.75);
}

.compare {
  margin-top: clamp(48px, 7vw, 80px);
  overflow-x: auto;
  border: 1px solid rgba(246, 241, 230, 0.14);
  border-radius: var(--radius-lg);
  background: rgba(246, 241, 230, 0.03);
}

.compare table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.compare caption {
  padding: 22px 24px 4px;
  text-align: left;
  font-weight: 700;
  color: rgba(246, 241, 230, 0.9);
}

.compare th,
.compare td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(246, 241, 230, 0.1);
  text-align: left;
  vertical-align: middle;
}

.compare tbody tr:last-child th,
.compare tbody tr:last-child td {
  border-bottom: 0;
}

.compare thead th {
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(246, 241, 230, 0.7);
}

.compare tbody th {
  font-weight: 500;
  color: var(--cream);
}

.compare td {
  color: rgba(246, 241, 230, 0.8);
}

.compare .is-us {
  background: rgba(240, 180, 76, 0.1);
  color: var(--cream);
}

.compare thead .is-us {
  color: var(--amber);
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.yes,
.no,
.meh {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.yes::before,
.no::before,
.meh::before {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 12px;
}

.yes::before {
  background-color: var(--leaf);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E");
}

.no::before {
  background-color: rgba(246, 241, 230, 0.12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f6f1e6' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E");
}

.meh::before {
  background-color: rgba(240, 180, 76, 0.25);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f0b44c' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 12h10'/%3E%3C/svg%3E");
}

/* --- Demonstração -------------------------------------------------------- */

.demo {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.demo h2 {
  margin-bottom: 16px;
}

.video {
  position: relative;
}

.video-poster,
.video iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--field-deep);
  box-shadow: 0 40px 70px -40px rgba(16, 41, 31, 0.7);
}

.video-poster {
  position: relative;
  padding: 0;
  cursor: pointer;
}

.video-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.video-poster:hover img {
  transform: scale(1.03);
}

.play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin: -42px 0 0 -42px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 10px rgba(240, 180, 76, 0.3);
  transition: transform 0.25s var(--ease);
}

.video-poster:hover .play {
  transform: scale(1.06);
}

.play svg {
  width: 34px;
  height: 34px;
  margin-left: 4px;
  fill: var(--ink);
}

.video-note {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--muted);
}

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

/* --- Rede ---------------------------------------------------------------- */

.network {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 16px;
}

.network li {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid var(--line);
}

.network strong {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--field);
}

.network span {
  color: var(--muted);
}

/* --- FAQ ----------------------------------------------------------------- */

.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 24px clamp(32px, 6vw, 80px);
  align-items: start;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 22px 48px 22px 0;
  font-weight: 700;
  font-size: 1.08rem;
  cursor: pointer;
  list-style: none;
}

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

.faq-list summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 28px;
  height: 28px;
  margin-top: -14px;
  border-radius: 50%;
  background: var(--cream-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f5c46' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform 0.25s var(--ease);
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 64ch;
  padding: 0 48px 24px 0;
  color: var(--muted);
}

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

  .faq .section-head {
    margin-bottom: 8px;
  }
}

/* --- Contato ------------------------------------------------------------- */

.cta {
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(240, 180, 76, 0.22), transparent 60%),
    var(--field);
  color: var(--cream);
  --focus: var(--amber);
}

.cta .eyebrow {
  color: var(--amber);
}

.cta .lead {
  color: rgba(246, 241, 230, 0.85);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}

.contact h2 {
  margin-bottom: 18px;
}

.contact .btn-light {
  margin-top: 32px;
}

.contact .btn[hidden],
.contact-alt[hidden] {
  display: none;
}

.contact-alt {
  margin-top: 18px;
  color: rgba(246, 241, 230, 0.85);
}

.contact-alt a {
  font-weight: 700;
  color: var(--cream);
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 36px);
  border-radius: var(--radius-lg);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 40px 70px -40px rgba(0, 0, 0, 0.55);
  --focus: var(--field);
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: 0.92rem;
  font-weight: 700;
}

.optional {
  font-weight: 400;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2355635b' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--field);
  box-shadow: 0 0 0 3px rgba(31, 92, 70, 0.18);
}

.field [aria-invalid="true"] {
  border-color: #c2412d;
}

.form-note {
  font-size: 0.82rem;
  color: var(--muted);
}

.form-status:empty {
  display: none;
}

.form-status {
  padding: 12px 14px;
  border-radius: 12px;
  background: #fbe3dc;
  color: #8f2c1b;
  font-size: 0.92rem;
}

.form-status.is-ok {
  background: #dff1e4;
  color: var(--field);
}

.form-status a {
  color: inherit;
  font-weight: 600;
}

/* Campo-armadilha para robôs: fica fora da tela e fora da ordem de foco. */
.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form [type="submit"]:disabled {
  cursor: progress;
  opacity: 0.7;
  transform: none;
}

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

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

/* --- Apoio --------------------------------------------------------------- */

.support {
  padding-block: 36px;
  background: var(--cream-2);
  border-bottom: 1px solid var(--line);
}

.support-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 20px 40px;
  align-items: center;
}

.support p {
  font-size: 0.9rem;
  color: var(--muted);
}

.support p a {
  font-weight: 700;
  color: var(--ink);
}

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

.seals li {
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.seals a {
  text-decoration: none;
}

@media (max-width: 860px) {
  .support-inner {
    grid-template-columns: 1fr;
  }
}

/* --- Footer -------------------------------------------------------------- */

.site-footer {
  padding-block: 56px 40px;
  background: var(--field-deep);
  color: var(--cream);
  --focus: var(--amber);
}

.site-footer .brand-name {
  color: var(--cream);
}

.site-footer .brand img {
  border-radius: 50%;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px 48px;
  align-items: start;
}

.footer-brand p {
  max-width: 46ch;
  margin-top: 14px;
  color: rgba(246, 241, 230, 0.75);
}

.footer-brand p a {
  color: var(--cream);
  font-weight: 700;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 28px;
}

.footer-nav a {
  color: rgba(246, 241, 230, 0.75);
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--cream);
}

.footer-legal {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid rgba(246, 241, 230, 0.14);
  font-size: 0.82rem;
  color: rgba(246, 241, 230, 0.6);
}

.footer-legal p + p {
  margin-top: 4px;
}

.footer-legal .sources {
  margin-bottom: 12px;
}

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

  .footer-nav {
    justify-content: flex-start;
  }
}

/* --- Revelar ao rolar ---------------------------------------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .phone {
    transform: none;
  }
}

/* Comparativo em telas estreitas: cada critério vira um bloco com as três opções lado a lado. */
@media (max-width: 720px) {
  .compare table {
    min-width: 0;
  }

  .compare caption {
    padding: 20px 18px 8px;
  }

  .compare thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .compare tbody,
  .compare tbody th,
  .compare tbody td {
    display: block;
  }

  .compare tbody tr {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 8px;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(246, 241, 230, 0.1);
  }

  .compare tbody tr:last-child {
    border-bottom: 0;
  }

  .compare tbody th {
    grid-column: 1 / -1;
    padding: 0;
    border: 0;
  }

  .compare tbody td {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 10px;
    border: 0;
    border-radius: 12px;
    background: rgba(246, 241, 230, 0.04);
    font-size: 0.85rem;
  }

  .compare tbody td::before {
    content: attr(data-label);
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(246, 241, 230, 0.6);
  }

  .compare tbody td.is-us::before {
    color: var(--amber);
  }
}
