/* CentralizeTV marketing landing — light, sage, conversion-first. */
:root {
  --accent: #506d48;
  --accent-hover: #41573b;
  --accent-soft: #e8efe6;
  --bg: #faf9f6;
  --card: #ffffff;
  --text: #1c1a16;
  --text-2: #5d594f;
  --muted: #7d786c;
  --border: #e7e3da;
  --shadow: 0 18px 50px rgba(28, 26, 22, 0.08);
  --radius: 16px;
  --nav-h: 72px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 12px;
}
.section .lede {
  font-size: 18px;
  color: var(--text-2);
  max-width: 640px;
  margin-bottom: 40px;
}
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease, color 0.2s ease, border-color 0.2s ease;
  min-height: 44px;
  font-family: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; box-shadow: 0 8px 24px rgba(80, 109, 72, 0.28); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* Header */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 249, 246, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--nav-h);
}
.nav-logo img { height: 42px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 600;
}
.nav-links a { color: var(--text-2); }
.nav-links a:hover { color: var(--accent); }
.nav-cta { display: flex; align-items: center; gap: 8px; margin-left: 8px; }
.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  padding: 48px 0 28px;
  overflow: hidden;
  background:
    radial-gradient(circle 520px at 4% 22%, rgba(80, 109, 72, 0.11), transparent 70%),
    var(--bg);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(80, 109, 72, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(80, 109, 72, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 78% 70% at 50% 18%, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 78% 70% at 50% 18%, #000 30%, transparent 100%);
}
.hero > .wrap { position: relative; z-index: 1; }
.hero::before {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  right: -90px;
  top: -140px;
  background: radial-gradient(circle, rgba(80, 109, 72, 0.16), transparent 68%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 40px 52px;
  align-items: center;
}
.hero-copy { max-width: 540px; }
.hero h1 {
  font-size: clamp(32px, 4.2vw, 52px);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin-bottom: 18px;
}
.hero .sub {
  font-size: 18px;
  color: var(--text-2);
  max-width: 500px;
  margin-bottom: 26px;
  line-height: 1.65;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.trust-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  font-size: 13px;
  color: var(--text-2);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 600;
}

.hero-stage { position: relative; }
.hero-carousel {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  background: #e8efe6;
  touch-action: pan-y;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.55s ease;
  pointer-events: none;
}
.hero-slide.is-on {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}
.hero-photo {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 28% 32%;
  z-index: 2;
}
.hero-slide:has(.hero-photo) .hero-ph { display: none; }

.hero-ph {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-ph-label {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(231, 227, 218, 0.9);
  border-radius: 8px;
  padding: 4px 8px;
}
.hero-ph-loja {
  background:
    linear-gradient(180deg, rgba(28, 26, 22, 0.08), transparent 28%),
    linear-gradient(90deg, #d7c4a8 0 18%, #f1ebe0 18% 100%);
}
.hero-ph-rest {
  background:
    linear-gradient(180deg, #c9b8a0 0 38%, #efe6d8 38% 72%, #c4b49a 72%);
}
.hero-ph-clinic {
  background:
    linear-gradient(180deg, #e7eee8 0 42%, #f7f6f2 42% 78%, #dce6da 78%);
}
.hero-ph-office {
  background:
    linear-gradient(180deg, #d5ddd3 0 36%, #eceae4 36% 70%, #c9d2c6 70%);
}
.hero-tv {
  position: absolute;
  right: 11%;
  top: 18%;
  width: 42%;
  aspect-ratio: 16 / 10;
  background: #1c1a16;
  border-radius: 10px;
  padding: 7px 7px 14px;
  box-shadow: 0 18px 40px rgba(28, 26, 22, 0.22);
}
.hero-tv::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 28%;
  height: 4px;
  transform: translateX(-50%);
  background: #3a3732;
  border-radius: 2px;
}
.hero-tv-screen {
  height: 100%;
  border-radius: 4px;
}
.hero-tv-screen.s-loja {
  background:
    linear-gradient(180deg, #506d48 0 28%, #faf9f6 28% 58%, #e8efe6 58%);
}
.hero-tv-screen.s-rest {
  background:
    repeating-linear-gradient(180deg, #faf9f6 0 18px, #e8efe6 18px 22px);
}
.hero-tv-screen.s-clinic {
  background:
    linear-gradient(135deg, #e8efe6, #faf9f6 55%, #506d48);
}
.hero-tv-screen.s-office {
  background:
    linear-gradient(90deg, #506d48 0 22%, #faf9f6 22% 100%);
}

.hero-float {
  position: absolute;
  right: 16px;
  left: auto;
  bottom: 16px;
  z-index: 4;
  display: grid;
  grid-template-columns: 32px 1fr;
  grid-template-rows: auto auto;
  column-gap: 10px;
  row-gap: 2px;
  align-items: start;
  width: min(268px, 56%);
  min-width: 0;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(231, 227, 218, 0.95);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(28, 26, 22, 0.1);
  transition: opacity 0.18s ease;
}
.hero-float.is-swap { opacity: 0; }
.hero-float-ico {
  grid-row: 1 / span 2;
  width: 32px;
  height: 32px;
  margin-top: 1px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
}
.hero-float-title {
  font-size: 14px;
  font-weight: 650;
  color: var(--text);
  line-height: 1.25;
}
.hero-float-sub {
  grid-column: 2;
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.4;
}

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}
.hero-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #d5d0c6;
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}
.hero-dots button.is-on {
  width: 22px;
  background: var(--accent);
}

.trust-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  padding: 22px 0 0;
}
.trust-bar span {
  text-align: center;
  font-size: 13px;
  font-weight: 650;
  color: var(--text-2);
  padding: 12px 8px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
}

/* Pain / vídeo — só o respiro sob os chips do hero */
#dor {
  padding-top: 40px;
}

/* Pain — framed landing video */
.pain-stage {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.pain-frame {
  background: #f3f1ec;
  padding: 22px;
  border-radius: 24px;
  box-shadow: 0 8px 28px rgba(28, 26, 22, 0.045);
}
.pain-media {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 17px;
  overflow: hidden;
  background: #eceae4;
}
.pain-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
  border: 0;
  vertical-align: middle;
}
.pain-media:not(.is-playing) video::-webkit-media-controls {
  display: none !important;
}
.pain-play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 16px;
  border: 0;
  background: rgba(28, 26, 22, 0.16);
  cursor: pointer;
}
.pain-play span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font: 650 15px/1.2 inherit;
  letter-spacing: -0.01em;
  box-shadow: 0 8px 24px rgba(80, 109, 72, 0.28);
  transition: background 0.2s ease, transform 0.2s ease;
}
.pain-play:hover span { background: var(--accent-hover); transform: translateY(-1px); }
.pain-media.is-playing .pain-play { display: none; }

#como-funciona {
  scroll-margin-top: calc(var(--nav-h) + 16px);
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 72px 0 64px;
}
.how h2 { text-align: center; }
.how .lede {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 32px;
}
.how-demo {
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  gap: 28px 36px;
  align-items: stretch;
  max-width: 1040px;
  margin: 0 auto;
}
.how-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.how-tab {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  text-align: left;
  width: 100%;
  padding: 14px 14px 14px 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg);
  color: inherit;
  cursor: pointer;
  font: inherit;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.how-tab:hover { border-color: #c9d6c4; }
.how-tab:focus { outline: none; }
.how-tab:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.how-tab.is-on {
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 4px 14px rgba(80, 109, 72, 0.08);
}
.how-tab-num {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid transparent;
}
.how-tab.is-on .how-tab-num {
  background: var(--accent);
  color: #fff;
}
.how-tab-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.how-tab-body strong {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.how-tab-body span {
  font-size: 13px;
  line-height: 1.4;
  color: var(--text-2);
}
.how-stage {
  position: relative;
  min-height: 0;
  aspect-ratio: 16 / 9;
}
.how-panel {
  position: absolute;
  inset: 0;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}
.how-panel.is-on {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}
.how-panel[hidden] { display: block !important; }
@media (prefers-reduced-motion: reduce) {
  .how-panel { transition: none; }
}

/* Slots de mídia reutilizáveis: layout fixo; conteúdo (img | video | sequência) entra depois. */
.media-slot {
  margin: 0;
  width: 100%;
  height: 100%;
}
.media-slot-frame {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 280px;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  border: 1px dashed var(--border);
  background: var(--bg);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.media-slot.has-media .media-slot-frame {
  border-style: solid;
  background: #fff;
  box-shadow: var(--shadow);
}
.media-slot-pending {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--muted);
  opacity: 0.72;
  user-select: none;
  pointer-events: none;
}
.media-slot.has-media .media-slot-pending { display: none; }
.media-slot-item,
.media-slot-frame > img.media-slot-item,
.media-slot-frame > video.media-slot-item,
.media-slot-frame > .media-sequence {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border: 0;
  margin: 0;
}

/* Como funciona — demos em vídeo 16:9, sem crop, sem controles. */
#como-funciona .media-slot,
#como-funciona .media-slot-frame {
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
}
#como-funciona .media-slot-frame {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #f3f1ec;
  box-shadow: 0 10px 28px rgba(28, 26, 22, 0.06);
}
#como-funciona .media-slot.has-media .media-slot-frame {
  background: #f3f1ec;
  box-shadow: 0 10px 28px rgba(28, 26, 22, 0.06);
}
#como-funciona .media-slot-frame > video.media-slot-item {
  object-fit: contain;
  background: #f3f1ec;
  pointer-events: none;
}
.media-sequence {
  background: #0f1218;
}
.media-sequence [data-seq-frame] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.media-sequence [data-seq-frame].is-on { opacity: 1; }

.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.benefit {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.benefit:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.benefit h3 { font-size: 20px; margin: 12px 0 8px; }
.benefit p { font-size: 15px; color: var(--text-2); }

#compatibilidade {
  background: #fff;
  border-top: 1px solid var(--border);
}
.compat-head { margin-bottom: 4px; }
.compat-badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.compat-hub {
  position: relative;
  max-width: 900px;
  margin: 8px auto 0;
}
.compat-figure {
  width: min(820px, 100%);
  margin: 0 auto;
  aspect-ratio: 76 / 52;
  background: transparent;
  overflow: visible;
}
.compat-iso {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}
.compat-iso-grid {
  -webkit-mask-image: radial-gradient(ellipse 58% 52% at 50% 48%, #000 28%, transparent 78%);
  mask-image: radial-gradient(ellipse 58% 52% at 50% 48%, #000 28%, transparent 78%);
}
.compat-iso-grid line {
  stroke: rgba(80, 109, 72, 0.11);
  stroke-width: 1;
}
.compat-iso-slot {
  fill: rgba(80, 109, 72, 0.05);
  stroke: none;
}
.compat-iso-link {
  fill: none;
  stroke: #b7c0b2;
  stroke-width: 1.4;
  stroke-dasharray: 3.5 5.5;
  stroke-linecap: round;
  opacity: 0.55;
  transition: stroke 0.3s ease, stroke-width 0.3s ease, opacity 0.3s ease;
}
.compat-iso-link.is-dim {
  opacity: 0.2;
}
.compat-iso-link.is-on {
  stroke: var(--accent);
  stroke-width: 2.1;
  opacity: 1;
  animation: compat-link-pulse 2.4s ease-in-out infinite;
}
@keyframes compat-link-pulse {
  0%, 100% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -18; }
}
.compat-iso-hub-top {
  fill: #fbfcfa;
  stroke: #8fa388;
  stroke-width: 1.2;
}
.compat-iso-hub-side {
  fill: #c5d0bf;
  stroke: #aeb9a8;
  stroke-width: 0.75;
}
.compat-iso-hub-side.is-right {
  fill: #b3c0ad;
}
.compat-iso-hub.is-live .compat-iso-hub-top {
  stroke: var(--accent);
  stroke-width: 1.55;
}
.compat-iso-hub-mark-box {
  fill: rgba(80, 109, 72, 0.1);
  stroke: var(--accent);
  stroke-width: 1.2;
}
.compat-iso-hub-mark-text {
  fill: var(--accent);
  font-family: inherit;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.compat-iso-node {
  cursor: pointer;
  outline: none;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}
.compat-iso-node.is-dim {
  opacity: 0.58;
}
.compat-iso-node.is-on {
  opacity: 1;
}
.compat-iso-node:focus-visible .compat-iso-node-top {
  stroke: var(--accent);
  stroke-width: 1.8;
}
.compat-iso-node-top {
  fill: #fff;
  stroke: #d0d7cb;
  stroke-width: 1;
  transition: stroke 0.3s ease, fill 0.3s ease;
}
.compat-iso-node-side {
  fill: #e4e9e0;
  stroke: #ced6c8;
  stroke-width: 0.65;
  transition: fill 0.3s ease, stroke 0.3s ease;
}
.compat-iso-node-side.is-right {
  fill: #d7ddd2;
}
.compat-iso-node.is-on .compat-iso-node-top {
  fill: #f3f7f1;
  stroke: var(--accent);
  stroke-width: 1.55;
}
.compat-iso-node.is-on .compat-iso-node-side {
  fill: #c7d4c1;
  stroke: #a8b8a3;
}
.compat-iso-node.is-on .compat-iso-node-side.is-right {
  fill: #b6c6b0;
}
.compat-iso-icon-path {
  stroke: #6d7568;
  transition: stroke 0.3s ease;
}
.compat-iso-node.is-on .compat-iso-icon-path {
  stroke: var(--accent);
}
.compat-iso-float {
  cursor: pointer;
  transition: opacity 0.3s ease;
}
.compat-iso-float.is-dim {
  opacity: 0.5;
}
.compat-iso-float.is-on {
  opacity: 1;
}
.compat-iso-float-bg {
  fill: rgba(250, 249, 246, 0.42);
  stroke: rgba(80, 109, 72, 0.1);
  stroke-width: 1;
  transition: fill 0.3s ease, stroke 0.3s ease;
}
.compat-iso-float.is-hub .compat-iso-float-bg {
  fill: rgba(232, 239, 230, 0.55);
  stroke: rgba(80, 109, 72, 0.18);
}
.compat-iso-float.is-on .compat-iso-float-bg {
  fill: rgba(232, 239, 230, 0.82);
  stroke: rgba(80, 109, 72, 0.32);
}
.compat-iso-float-text {
  fill: var(--text-2);
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: -0.01em;
  pointer-events: none;
  transition: fill 0.3s ease;
}
.compat-iso-float-text.is-hub {
  fill: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.compat-iso-float.is-on .compat-iso-float-text {
  fill: var(--accent);
}
@media (prefers-reduced-motion: reduce) {
  .compat-iso-link,
  .compat-iso-link.is-on,
  .compat-iso-node,
  .compat-iso-node-top,
  .compat-iso-node-side,
  .compat-iso-float,
  .compat-iso-float-bg,
  .compat-iso-float-text,
  .compat-iso-icon-path { transition: none; animation: none; }
}
.compat-legend {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}
.compat-chip {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
  text-align: left;
  width: 100%;
  padding: 12px 12px 11px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  color: inherit;
  cursor: pointer;
  font: inherit;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.compat-chip:hover {
  border-color: #c9d6c4;
  transform: translateY(-1px);
}
.compat-chip:focus { outline: none; }
.compat-chip:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.compat-chip.is-on {
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 8px 20px rgba(80, 109, 72, 0.1);
}
.compat-chip strong {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.compat-chip span {
  font-size: 11px;
  line-height: 1.35;
  color: var(--muted);
}
.compat-detail {
  max-width: 640px;
  margin: 14px auto 0;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(80, 109, 72, 0.16);
  background: var(--accent-soft);
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.55;
  text-align: center;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.compat-detail.is-swap {
  opacity: 0;
  transform: translateY(4px);
}
@media (prefers-reduced-motion: reduce) {
  .compat-chip,
  .compat-chip:hover,
  .compat-chip.is-on { transform: none; }
  .compat-detail,
  .compat-detail.is-swap { transition: none; transform: none; }
}

.uses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.use {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.use:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.use-art {
  height: 120px;
  background:
    radial-gradient(circle at 20% 30%, rgba(80, 109, 72, 0.25), transparent 50%),
    linear-gradient(160deg, #dfe8dc, #f4f1ea);
}
.use-art.u2 { background: radial-gradient(circle at 80% 20%, rgba(80, 109, 72, 0.22), transparent 46%), linear-gradient(160deg, #efe8dc, #faf9f6); }
.use-art.u3 { background: radial-gradient(circle at 50% 80%, rgba(80, 109, 72, 0.2), transparent 50%), linear-gradient(160deg, #e6eee8, #faf9f6); }
.use-art.u4 { background: radial-gradient(circle at 10% 80%, rgba(80, 109, 72, 0.22), transparent 48%), linear-gradient(160deg, #e9e4d8, #faf9f6); }
.use-art.u5 { background: radial-gradient(circle at 70% 40%, rgba(80, 109, 72, 0.2), transparent 50%), linear-gradient(160deg, #e2eadc, #faf9f6); }
.use-art.u6 { background: radial-gradient(circle at 40% 20%, rgba(80, 109, 72, 0.24), transparent 46%), linear-gradient(160deg, #ece7db, #faf9f6); }
.use-body { padding: 20px; }
.use h3 { font-size: 20px; margin-bottom: 6px; }
.use p { font-size: 15px; color: var(--text-2); }

.billing-toggle {
  display: flex;
  justify-content: center;
  gap: 4px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px;
  width: max-content;
  margin: 0 auto 28px;
}
.billing-toggle button {
  background: transparent;
  color: var(--muted);
  border: none;
  border-radius: 999px;
  padding: 9px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  min-height: 40px;
  font-family: inherit;
}
.billing-toggle button[aria-pressed="true"] { background: var(--accent); color: #fff; }
.cycle-note { text-align: center; font-size: 13px; color: var(--muted); margin: -12px 0 28px; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.price-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-soft);
}
.price-card.featured::before {
  content: "Recomendado";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: 4px 14px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}
.price-card h3 { font-size: 20px; }
.price-card .price { font-size: 32px; font-weight: 700; color: var(--accent); margin: 12px 0 4px; letter-spacing: -0.02em; }
.price-card .price span { font-size: 15px; color: var(--muted); font-weight: 500; }
.price-card .yearly { font-size: 13px; color: var(--muted); margin-bottom: 14px; min-height: 1.4em; }
.price-card ul { list-style: none; margin-bottom: 16px; flex: 1; }
.price-card li { font-size: 14px; color: var(--text-2); padding: 5px 0; }
.price-card li::before { content: "✓ "; color: var(--accent); }
.price-card .more { display: block; font-size: 13px; margin-bottom: 16px; }
.price-card .btn { width: 100%; margin-top: auto; }
.price-card.quote-card p {
  color: var(--text-2);
  font-size: 15px;
  margin: 12px 0 18px;
}
.pricing-tail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}
.pricing-tail.is-solo {
  grid-template-columns: 1fr;
}
.selfhost-card {
  background: var(--accent-soft);
  border: 1px solid #cdd9c8;
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.selfhost-card h3 { font-size: 20px; margin-bottom: 8px; }
.selfhost-card p { color: var(--text-2); font-size: 15px; }
.selfhost-card .acts { margin-top: auto; padding-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; }

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 4px 18px;
  margin-bottom: 8px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 650;
  font-size: 16px;
  padding: 14px 0;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { color: var(--text-2); font-size: 15px; padding-bottom: 14px; }

.cta-band {
  text-align: center;
  padding: 72px 24px;
  background: linear-gradient(180deg, var(--accent-soft), #faf9f6);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-band h2 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 10px; }
.cta-band p { color: var(--text-2); margin-bottom: 22px; }

.site-footer {
  padding: 48px 0 28px;
  border-top: 1px solid var(--border);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 28px;
}
.site-footer h3 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 12px; }
.site-footer a { display: block; font-size: 14px; color: var(--muted); margin: 6px 0; }
.site-footer .copy { text-align: center; font-size: 13px; color: var(--muted); }

.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(28, 26, 22, 0.45); align-items: center; justify-content: center; z-index: 1000; padding: 16px; }
.modal-overlay.is-open { display: flex; }
.modal { background: #fff; border: 1px solid var(--border); border-radius: 12px; width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto; }
.modal-header { padding: 20px 24px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.modal-header h3 { font-size: 18px; margin: 0; }
.modal-close { background: none; border: none; color: var(--muted); font-size: 24px; cursor: pointer; }
.modal-body { padding: 20px 24px; }
.modal-description { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.modal-footer { padding: 16px 24px; border-top: 1px solid var(--border); display: flex; gap: 12px; justify-content: flex-end; }
.modal-body label { display: block; margin-bottom: 12px; font-size: 13px; }
.modal-body input, .modal-body select, .modal-body textarea {
  width: 100%; margin-top: 4px; padding: 8px 10px; border: 1px solid var(--border); border-radius: 6px; font-size: 14px; font-family: inherit;
}
.contact-status-success { color: var(--accent); font-size: 13px; }
.contact-status-error { color: #a35d4a; font-size: 13px; }

.reveal { opacity: 0; transform: translateY(16px); }
.reveal.is-in { animation: rise 0.55s ease forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { animation: none !important; opacity: 1; transform: none; }
  .hero-slide { transition: none; }
  .hero-float { transition: none; }
  .hero-float.is-swap { opacity: 1; }
  .btn:hover, .benefit:hover, .use:hover { transform: none; }
}

@media (max-width: 960px) {
  .hero-grid, .uses, .benefits, .pricing-grid, .pricing-tail, .foot-grid, .trust-bar {
    grid-template-columns: 1fr;
  }
  #como-funciona { padding: 56px 0 48px; }
  .how-demo {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .media-slot-frame { min-height: 220px; }
  .compat-figure {
    width: 100%;
    max-width: 520px;
  }
  .compat-iso-float-text { font-size: 10px; }
  .compat-iso-float-text.is-hub { font-size: 11px; }
  .compat-legend {
    grid-template-columns: 1fr 1fr;
  }
  .compat-chip[data-compat="web"] { grid-column: 1 / -1; }
  .compat-detail { text-align: left; }
  .hero-copy { max-width: none; }
  .nav-toggle { display: inline-flex; }
  .nav-links, .nav-cta { display: none; }
  .site-nav.open .nav-links, .site-nav.open .nav-cta {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    left: 0; right: 0; top: 64px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 20px;
    margin: 0;
  }
  .benefits { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero { padding-top: 28px; }
  .hero-tv { width: 48%; right: 8%; top: 16%; }
  .hero-float {
    right: 10px;
    bottom: 10px;
    width: min(240px, 72%);
    padding: 10px 12px;
  }
  .pain-frame { padding: 16px; border-radius: 20px; }
  .pain-media { border-radius: 14px; }
  .pain-play span { font-size: 13px; padding: 12px 16px; text-align: center; }
}
