/* Site do Simplave (página inicial). O cadastro.html continua com o styles.css. */

@font-face {
  font-family: 'Figtree Variable';
  src: url('assets/fonts/figtree-latin-wght-normal.woff2') format('woff2');
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Quicksand Variable';
  src: url('assets/fonts/quicksand-latin-wght-normal.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --pine: #12302a;
  --pine-deep: #0b211c;
  --pine-soft: #1b433a;
  --accent: #1f6f5c;
  --accent-dark: #17574a;
  --accent-soft: #e2f0eb;
  --gold: #e0a82e;
  --gold-dark: #c8921c;
  --paper: #f3f6f4;
  --surface: #ffffff;
  --ink: #12251f;
  --muted: #55655f;
  --line: #dbe4df;
  --cream: #f4f1ea;
  --male: #4a7fd6;
  --male-fill: #cfe1f8;
  --female: #d9608f;
  --female-fill: #f6cfdf;
  --font-body: 'Figtree Variable', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Quicksand Variable', 'Figtree Variable', system-ui, sans-serif;
  --wrap: 1240px;
  --radius: 18px;
  --shadow: 0 30px 60px -30px rgb(8 28 23 / 0.45);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
}

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

[hidden] {
  display: none !important;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.06;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
}

p {
  margin: 0;
}

.wrap {
  width: min(100% - 40px, var(--wrap));
  margin-inline: auto;
}

.sr,
.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
}

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

.ico {
  flex: none;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1.5px solid transparent;
  border-radius: 12px;
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}

.btn-lg {
  min-height: 52px;
  padding: 0 26px;
  border-radius: 14px;
  font-size: 1.02rem;
}

.btn-gold {
  background: var(--gold);
  color: var(--pine-deep);
}

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

.btn-ghost {
  border-color: rgb(255 255 255 / 0.4);
  color: #fff;
}

.btn-ghost:hover {
  border-color: #fff;
  background: rgb(255 255 255 / 0.08);
}

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

/* ---------- Menu do topo: barra de fora a fora, transparente na abertura e branca ao rolar ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
}

.nav-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 12px max(32px, 5.5vw - 20px);
  border-bottom: 1px solid rgb(255 255 255 / 0.12);
  background: rgb(8 28 23 / 0.32);
  color: #fff;
  backdrop-filter: blur(10px);
  transition: background 0.25s, border-color 0.25s, box-shadow 0.25s, color 0.25s;
}

.nav.is-solid .nav-in {
  border-bottom-color: var(--line);
  background: rgb(255 255 255 / 0.96);
  box-shadow: 0 14px 34px -24px rgb(8 28 23 / 0.5);
  color: var(--ink);
}

/* Marca: passarinho, nome e a frase do sistema em texto (legível) */
.nav-brand {
  display: flex;
  flex: none;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

.brand-mark img {
  display: block;
  width: 54px;
  height: 54px;
}

.brand-text {
  display: grid;
  gap: 3px;
}

.brand-text img {
  display: block;
  height: 34px;
  width: auto;
}

.brand-tag {
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.01em;
  opacity: 0.88;
  white-space: nowrap;
}

.nav-brand .logo-dark,
.nav.is-solid .nav-brand .logo-light {
  display: none;
}

.nav.is-solid .nav-brand .logo-dark {
  display: block;
}

.nav.is-solid .brand-tag {
  color: var(--muted, #5b6b65);
  opacity: 1;
}

.menu {
  display: flex;
  align-items: center;
  gap: 2px;
}

/* Monitor: os itens do menu não quebram em duas linhas */
@media (min-width: 1281px) {
  .menu a,
  .menu .btn {
    white-space: nowrap;
  }
}

.menu a:not(.btn) {
  padding: 8px 8px;
  border-radius: 10px;
  font-size: 1.06rem;
  font-weight: 600;
  text-decoration: none;
}

.menu a:not(.btn):hover {
  background: rgb(255 255 255 / 0.12);
}

.nav.is-solid .menu a:not(.btn):hover {
  background: var(--accent-soft);
}

.menu .btn {
  margin-left: 8px;
  font-size: 1.02rem;
}

/* Tela média: a frase sai e o menu fica um pouco menor, para tudo caber numa linha */
@media (max-width: 1320px) {
  .menu a:not(.btn) {
    padding: 8px 7px;
    font-size: 0.97rem;
  }

  .menu .btn {
    font-size: 0.97rem;
  }
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.menu-btn i {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  border-radius: 2px;
  background: currentColor;
}

/* ---------- Abertura ---------- */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 150px 0 110px;
  background:
    radial-gradient(900px 520px at 78% 30%, rgb(31 111 92 / 0.55), transparent 70%),
    radial-gradient(700px 500px at 0% 100%, rgb(224 168 46 / 0.1), transparent 70%),
    var(--pine-deep);
  color: #fff;
}

/* Linhas de árvore genealógica, bem de leve, no fundo */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='160' fill='none' stroke='%23ffffff' stroke-opacity='.05' stroke-width='1.5'><path d='M0 80h60V30h60M60 80v50h60M120 30h40V10h80M160 30v20h80M120 130h40v-20h80M160 130v20h80'/></svg>");
  mask-image: linear-gradient(90deg, #000, transparent 70%);
  pointer-events: none;
}

/* Foto de uma ave do criador (opcional): entra por cima do fundo quando o arquivo existe */
.hero-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.6s;
}

.hero.has-photo .hero-photo {
  opacity: 1;
}

.hero.has-photo .hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(11 33 28 / 0.94) 0%, rgb(11 33 28 / 0.78) 45%, rgb(11 33 28 / 0.35) 100%);
}

.hero-in {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 7fr);
  align-items: center;
  gap: 64px;
}

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 6px 14px;
  border: 1px solid rgb(224 168 46 / 0.45);
  border-radius: 999px;
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 600;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.hero h1 {
  font-size: clamp(2.4rem, 4.6vw, 3.9rem);
  line-height: 1.02;
}

.hero-lead {
  max-width: 34rem;
  margin-top: 22px;
  color: rgb(255 255 255 / 0.82);
  font-size: 1.18rem;
}

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

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  color: rgb(255 255 255 / 0.78);
  font-size: 0.93rem;
  font-weight: 600;
}

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

.hero-points .ico {
  width: 18px;
  height: 18px;
  color: var(--gold);
}

.hero-media {
  position: relative;
  margin-right: -140px;
}

/* ---------- Molduras dos vídeos ---------- */
.frame {
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
}

.frame-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  background: #e9eeeb;
}

.frame-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c3cec8;
}

.frame-bar span {
  margin-left: 12px;
  padding: 3px 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 0.75rem;
}

.frame-video,
.phone-video {
  display: block;
  width: 100%;
  height: auto;
  background: var(--paper);
}

.frame-video {
  aspect-ratio: 1280 / 800;
}

.phone {
  position: relative;
  overflow: hidden;
  width: 250px;
  padding: 9px;
  border-radius: 38px;
  background: #0d1614;
  box-shadow: var(--shadow), inset 0 0 0 2px #2a3a35;
}

.phone-notch {
  position: absolute;
  top: 15px;
  left: 50%;
  z-index: 2;
  width: 70px;
  height: 16px;
  border-radius: 999px;
  background: #0d1614;
  transform: translateX(-50%);
}

.phone-video {
  aspect-ratio: 390 / 844;
  border-radius: 30px;
}

.hero-media .phone {
  position: absolute;
  left: -46px;
  bottom: -56px;
  width: 176px;
  padding: 7px;
  border-radius: 28px;
}

.hero-media .phone .phone-video {
  border-radius: 22px;
}

.hero-media .phone .phone-notch {
  top: 12px;
  width: 50px;
  height: 12px;
}

/* ---------- Seções ---------- */
/* Cada seção ocupa a tela inteira do visitante, com o conteúdo no meio. Seção mais alta que a tela só cresce. */
.sec {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 104px 0;
}

/* Setas fixas para subir e descer de seção em seção */
.sec-nav {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: grid;
  gap: 8px;
}

.sec-nav-btn {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--gold);
  color: var(--pine-deep);
  box-shadow: 0 10px 24px -10px rgb(8 28 23 / 0.6);
  cursor: pointer;
  transition: transform 0.15s, background 0.15s;
}

.sec-nav-btn:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
}

.sec-nav-btn svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sec-head {
  max-width: 44rem;
  margin-bottom: 36px;
}

.sec-head p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.1rem;
}

.sec-tint {
  background: #e9f0ec;
}

.ticks {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.ticks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 600;
}

.ticks .ico {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  padding: 3px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
  stroke-width: 2.6;
}

/* ---------- Veja funcionando ---------- */
.show-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 28px;
  padding: 5px;
  border-radius: 16px;
  background: #e2eae6;
}

.show-tab {
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
}

.show-tab:hover {
  color: var(--ink);
}

.show-tab.is-on {
  background: var(--surface);
  color: var(--accent-dark);
  box-shadow: 0 2px 8px -4px rgb(8 28 23 / 0.4);
}

/* Carrossel das abas: a linha embaixo da aba ativa mostra quanto falta para passar */
.show-tabs.is-auto .show-tab {
  position: relative;
  overflow: hidden;
}

.show-tabs.is-auto .show-tab.is-on::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: var(--gold, #e0a82e);
  transform: scaleX(var(--tab-progress, 0));
  transform-origin: left;
  transition: transform 0.25s linear;
}

.show-panel {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  align-items: center;
  gap: 48px;
}

.show-panel[hidden] {
  display: none;
}

.show-panel.is-on .frame {
  animation: rise 0.45s ease-out;
}

.show-text h3 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
}

.show-text p {
  margin-top: 14px;
  color: var(--muted);
}

.show-panel .frame {
  border-color: var(--line);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

/* ---------- Genealogia ---------- */
.sec-pine {
  background:
    radial-gradient(800px 480px at 90% 0%, rgb(31 111 92 / 0.5), transparent 70%),
    var(--pine);
  color: #fff;
}

.gene {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: 56px;
}

.gene-text p {
  margin-top: 18px;
  color: rgb(255 255 255 / 0.8);
  font-size: 1.1rem;
}

.ticks-light .ico {
  background: rgb(224 168 46 / 0.18);
  color: var(--gold);
}

.gene-tree {
  margin: 0;
  padding: 28px 28px 18px;
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 0.05);
}

.gene-tree figcaption {
  margin-top: 12px;
  color: rgb(255 255 255 / 0.6);
  font-size: 0.85rem;
}

.tree {
  display: block;
  width: 100%;
  height: auto;
  font-family: var(--font-display);
}

.tree-lines path {
  fill: none;
  stroke: rgb(244 241 234 / 0.45);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tree-box rect {
  stroke-width: 2;
}

.tree-box text {
  fill: var(--pine);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.tree-box.m rect {
  fill: var(--male-fill);
  stroke: var(--male);
}

.tree-box.f rect {
  fill: var(--female-fill);
  stroke: var(--female);
}

.tree-box.main rect {
  stroke-width: 3;
}

.tree-ring circle {
  fill: none;
  stroke: var(--gold);
  stroke-width: 3;
}

.tree-ring text {
  fill: var(--gold);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
}

/* A árvore se desenha quando a seção aparece na tela */
.js .gene-tree .tree-lines path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.js .gene-tree .tree-box,
.js .gene-tree .tree-ring {
  opacity: 0;
}

.js .gene-tree.is-in .tree-lines path {
  animation: draw 0.9s ease-out 0.4s forwards;
}

.js .gene-tree.is-in .tree-box,
.js .gene-tree.is-in .tree-ring {
  animation: show 0.5s ease-out forwards;
  animation-delay: calc(var(--d, 0) * 0.4s + 0.1s);
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes show {
  to {
    opacity: 1;
  }
}

/* ---------- Aplicativo ---------- */
.app {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: 64px;
}

.app-media {
  display: grid;
  place-items: center;
  padding: 44px 20px;
  border-radius: 28px;
  background:
    radial-gradient(360px 300px at 50% 40%, rgb(224 168 46 / 0.28), transparent 70%),
    var(--pine);
}

.tag {
  display: inline-block;
  margin-bottom: 16px;
  padding: 5px 14px;
  border-radius: 999px;
  background: #fbf1d6;
  color: #7a5200;
  font-size: 0.85rem;
  font-weight: 700;
}

/* Andamento do aplicativo: um quadro por versão (Android e iPhone), cada um com duas barras */
.app-status {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.app-platform {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 18px 20px 20px;
  border-radius: 20px;
  background: var(--pine);
  color: #fff;
}

.platform {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.platform .ico {
  width: 30px;
  height: 30px;
  color: var(--gold);
}

.platform small {
  display: block;
  color: rgb(255 255 255 / 0.65);
  font-size: 0.72rem;
  line-height: 1.2;
}

.platform strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.15;
}

.app-progress-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.app-progress-top > span {
  color: rgb(255 255 255 / 0.88);
  font-size: 0.95rem;
  font-weight: 600;
}

.app-progress-top b {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.3rem;
}

.app-platform-note {
  margin: 0;
  color: rgb(255 255 255 / 0.7);
  font-size: 0.88rem;
}

/* Aviso de que o aplicativo ainda não está nas lojas */
.app-warning {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 14px 0 0;
  padding: 14px 16px;
  border: 1px solid var(--gold);
  border-radius: 16px;
  background: #fbf1d6;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.45;
}

.app-warning .ico {
  flex: none;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  color: var(--gold-dark);
}

@media (max-width: 560px) {
  .app-status {
    grid-template-columns: 1fr;
  }
}

.app-bar {
  overflow: hidden;
  height: 14px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.14);
}

.app-bar i {
  --bar-a: var(--gold);
  --bar-b: #f0bd4c;
  display: block;
  height: 100%;
  border-radius: 999px;
  background: repeating-linear-gradient(-45deg, var(--bar-a) 0 12px, var(--bar-b) 12px 24px);
  background-size: 34px 100%;
  animation: stripes 1.2s linear infinite;
}

/* Cor pelo andamento: começo cinza claro, metade amarelo, perto do fim verde */
.app-bar i[data-level='low'] {
  --bar-a: #c9d3cf;
  --bar-b: #e3e9e6;
}

.app-bar i[data-level='high'] {
  --bar-a: #34b37e;
  --bar-b: #5cca99;
}

@keyframes stripes {
  to {
    background-position: 34px 0;
  }
}

.app-text > p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.1rem;
}

.app-list {
  display: grid;
  gap: 16px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.app-list li,
.road li {
  display: flex;
  gap: 14px;
}

.app-list .ico,
.road .ico {
  width: 44px;
  height: 44px;
  padding: 11px;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.app-list strong,
.road strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.app-list span,
.road span {
  color: var(--muted);
  font-size: 0.97rem;
}

/* Celular da seção Aplicativo: um vídeo por parte do app, que passam sozinhos; os botões escolhem */
.app-media {
  gap: 22px;
}

.app-reel {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  max-width: 360px;
}

.app-reel-chip {
  position: relative;
  overflow: hidden;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgb(255 255 255 / 0.18);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.06);
  color: rgb(255 255 255 / 0.78);
  font: inherit;
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
}

.app-reel-chip:hover {
  color: #fff;
}

.app-reel-chip.is-on {
  border-color: transparent;
  background: var(--gold, #e0a82e);
  color: #14231f;
}

/* Quanto falta para passar para o próximo vídeo */
.app-reel.is-auto .app-reel-chip.is-on::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: rgb(20 35 31 / 0.45);
  transform: scaleX(var(--reel-progress, 0));
  transform-origin: left;
  transition: transform 0.25s linear;
}

/* ---------- Recursos ---------- */
/* Masonry: colunas CSS, cada bloco cai na coluna mais curta */
.feats {
  columns: 4;
  column-gap: 16px;
}

.feat {
  break-inside: avoid;
  margin: 0 0 16px;
  padding: 22px 20px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.feat-ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: var(--pine);
  color: var(--gold);
}

.feat h3 {
  font-size: 1.18rem;
  letter-spacing: -0.01em;
}

.feat > p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.97rem;
}

.feat details {
  margin-top: 14px;
  border-top: 1px solid var(--line);
}

.feat summary {
  padding: 12px 0 4px;
  color: var(--accent-dark);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
}

.feat details ul {
  display: grid;
  gap: 8px;
  margin: 8px 0 6px;
  padding-left: 18px;
  color: var(--ink);
  font-size: 0.93rem;
}

/* Ver o que inclui: abre o conteúdo do bloco numa janela */
.feat-more {
  display: block;
  width: 100%;
  margin-top: 14px;
  padding: 12px 0 4px;
  border: 0;
  border-top: 1px solid var(--line);
  background: none;
  color: var(--accent-dark);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.feat-modal {
  width: min(92vw, 560px);
  max-height: 86vh;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: var(--surface);
  color: var(--ink);
  overflow: hidden;
}

.feat-modal::backdrop {
  background: rgb(6 20 16 / 0.6);
}

.feat-modal-body {
  max-height: 86vh;
  overflow-y: auto;
  padding: 24px 26px 20px;
}

.feat-modal-body h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 1.15rem;
}

.feat-modal-list {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding-left: 18px;
  font-size: 0.97rem;
}

.feat-modal-close {
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--accent-dark);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.road {
  margin-top: 40px;
  padding: 26px 28px;
  border: 1.5px dashed #b9c9c1;
  border-radius: var(--radius);
}

.road h3 {
  margin-bottom: 18px;
  font-size: 1.25rem;
}

.road ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.road .ico {
  background: var(--surface);
}

/* ---------- Contato ---------- */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 56px;
}

.lead {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.1rem;
}

.contact-list {
  display: grid;
  gap: 2px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.contact-list li[hidden] {
  display: none;
}

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

.contact-list a {
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

.form {
  display: grid;
  gap: 14px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 24px 50px -36px rgb(8 28 23 / 0.5);
}

.form label {
  display: grid;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 600;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: var(--accent);
  outline: 0;
  background: #fff;
}

.hint {
  color: var(--muted);
  font-size: 0.88rem;
}

/* ---------- Rodapé ---------- */
.footer {
  padding: 48px 0 40px;
  background: var(--pine-deep);
  color: rgb(255 255 255 / 0.75);
}

.footer-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 40px;
}

.footer img {
  display: block;
  height: 54px;
  width: auto;
  margin-bottom: 8px;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 22px;
  font-weight: 600;
}

.footer a {
  color: #fff;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.small {
  font-size: 0.88rem;
}

/* ---------- Telas menores ---------- */
@media (max-width: 1060px) {
  .hero-in,
  .gene,
  .app,
  .contact,
  .show-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .hero-media {
    margin: 0 0 40px 34px;
  }

  .hero {
    padding-bottom: 96px;
  }

  .feats {
    columns: 2;
  }

  .app-media {
    order: 2;
  }
}

@media (max-width: 1280px) {
  .menu-btn {
    display: block;
  }

  .menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 44px -24px rgb(8 28 23 / 0.6);
    color: var(--ink);
  }

  .menu.open {
    display: flex;
  }

  .menu a:not(.btn) {
    padding: 12px 14px;
  }

  .menu a:not(.btn):hover {
    background: var(--accent-soft);
  }

  .menu .btn {
    margin: 8px 0 0;
  }

  .nav-in {
    position: relative;
  }
}

@media (max-width: 640px) {
  .nav-in {
    padding: 10px 16px;
  }

  /* Celular: a frase volta, embaixo do nome */
  .brand-tag {
    display: block;
    font-size: 0.68rem;
  }

  .brand-mark img {
    width: 44px;
    height: 44px;
  }

  .brand-text img {
    height: 28px;
  }

  .sec-nav {
    right: 12px;
    bottom: 14px;
  }

  .sec-nav-btn {
    width: 38px;
    height: 38px;
    opacity: 0.92;
  }

  body {
    font-size: 1rem;
  }

  .hero {
    padding: 118px 0 84px;
  }

  .hero-lead {
    font-size: 1.05rem;
  }

  .actions .btn {
    flex: 1 1 100%;
  }

  .hero-media {
    margin-left: 26px;
  }

  .hero-media .phone {
    left: -26px;
    bottom: -40px;
    width: 118px;
    padding: 5px;
    border-radius: 20px;
  }

  .hero-media .phone .phone-video {
    border-radius: 16px;
  }

  .hero-media .phone .phone-notch {
    top: 9px;
    width: 34px;
    height: 8px;
  }

  .frame-bar {
    height: 26px;
  }

  .frame-bar span {
    display: none;
  }

  /* O topo da seção fica abaixo do menu fixo quando a seta leva até ela */
  .sec {
    padding: 104px 0 72px;
  }

  /* Sem rolagem de lado: as abas quebram em linhas */
  .show-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 0;
    background: transparent;
    gap: 6px;
  }

  .show-tab {
    flex: none;
    background: #e2eae6;
  }

  .show-tab.is-on {
    background: var(--pine);
    color: #fff;
  }

  .gene-tree {
    padding: 16px 14px 12px;
  }

  .feats {
    columns: 1;
  }

  .road ul {
    grid-template-columns: minmax(0, 1fr);
  }

  .road {
    padding: 22px 18px;
  }

  .form {
    padding: 20px;
  }

  .footer-in {
    grid-template-columns: minmax(0, 1fr);
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js .gene-tree .tree-lines path {
    stroke-dashoffset: 0;
  }

  .js .gene-tree .tree-box,
  .js .gene-tree .tree-ring {
    opacity: 1;
  }
}

/* ---------- Seção encaixada na tela (computador) ----------
   O script mede o conteúdo de cada seção e aplica um zoom para ele caber inteiro na tela:
   cresce no monitor grande, diminui no notebook. No celular isso não vale (a seção só cresce). */
html.fit {
  scroll-snap-type: y proximity;
  scroll-padding-top: 0;
}

html.fit .hero,
html.fit .sec {
  height: 100vh;
  height: 100svh;
  min-height: 0;
  padding: 92px 0 20px;
  overflow: hidden;
  scroll-snap-align: start;
}

html.fit .footer {
  scroll-snap-align: end;
}

/* Conteúdo que não cabe nem no menor zoom (bloco de Recursos aberto): a seção volta a crescer */
html.fit .sec.is-tall {
  height: auto;
  min-height: 100svh;
  overflow: visible;
}

html.fit .hero > .wrap,
html.fit .sec > .wrap {
  flex: none;
}

/* Abertura encaixada: o vídeo não sangra para fora da tela e o celular entra na conta da altura */
html.fit .hero-media {
  margin-right: 0;
  margin-bottom: 56px;
}

/* Fim da página: botão para voltar ao topo */
.sec-nav-top {
  display: flex;
  gap: 8px;
  width: auto;
  padding: 0 18px 0 14px;
  border-radius: 999px;
  justify-self: end;
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
}

.sec-nav-top[hidden] {
  display: none;
}

/* Pausar e continuar o vídeo */
.frame,
.phone {
  position: relative;
}

.js-video {
  cursor: pointer;
}

.video-toggle {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgb(8 28 23 / 0.62);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(6px);
}

.video-toggle svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* No celular desenhado o botão fica acima do rodapé do app */
.phone .video-toggle {
  right: 16px;
  bottom: 15%;
  width: 30px;
  height: 30px;
}

.hero-media .phone .video-toggle {
  display: none;
}

/* Celular: o rodapé deixa espaço para o botão Voltar ao topo */
@media (max-width: 640px) {
  .footer {
    padding-bottom: 76px;
  }
}

/* ---------- Seção encaixada na tela do celular ----------
   Até 1060 px de largura (celular e tablet em pé) o conteúdo fica em uma coluna. Para caber em uma
   tela, cada seção mostra só o essencial: título, a peça principal e a ação. O script ainda aplica
   um zoom pequeno quando falta pouco; se não couber nem assim, a seção cresce. */
@media (max-width: 1060px) {
  html.fit .hero,
  html.fit .sec {
    padding: 80px 0 60px;
  }

  html.fit .hero > .wrap,
  html.fit .sec > .wrap {
    width: min(100% - 32px, 560px);
  }

  html.fit h2 {
    font-size: clamp(1.55rem, 6.4vw, 2.1rem);
  }

  /* Setas lado a lado, na faixa livre do rodapé da seção */
  html.fit .sec-nav {
    right: 12px;
    bottom: 10px;
    grid-auto-flow: column;
  }

  /* Abertura */
  html.fit .hero-in {
    gap: 22px;
  }

  html.fit .hero-status {
    margin-bottom: 12px;
  }

  html.fit .hero h1 {
    font-size: clamp(1.9rem, 8.4vw, 2.6rem);
  }

  html.fit .hero-lead {
    margin-top: 12px;
    font-size: 1rem;
  }

  html.fit .hero-points {
    display: none;
  }

  html.fit .actions {
    flex-wrap: nowrap;
    gap: 10px;
    margin-top: 18px;
  }

  html.fit .actions .btn {
    flex: 1 1 0;
    min-height: 46px;
    padding-inline: 10px;
    font-size: 0.95rem;
  }

  html.fit .hero-media {
    margin: 0 0 34px 24px;
  }

  /* Aplicativo: título, andamento e o celular */
  html.fit .app {
    gap: 18px;
  }

  html.fit .app-text > p:not(.app-warning),
  html.fit .app-list {
    display: none;
  }

  html.fit .app-status {
    margin-top: 16px;
    gap: 10px;
  }

  html.fit .app-platform {
    padding: 12px 14px 14px;
    gap: 10px;
  }

  html.fit .app-platform-note {
    display: none;
  }

  html.fit .app-warning {
    margin-top: 10px;
    padding: 10px 12px;
    font-size: 0.9rem;
  }

  html.fit .app-media {
    padding: 16px;
    border-radius: 22px;
  }

  html.fit .app-media .phone {
    width: 128px;
    padding: 5px;
    border-radius: 22px;
  }

  html.fit .app-media .phone .phone-video {
    border-radius: 17px;
  }

  html.fit .app-media .phone .phone-notch {
    top: 9px;
    width: 36px;
    height: 8px;
  }

  html.fit .app-media {
    gap: 10px;
  }

  /* Sem rolagem de lado: os botões quebram em linhas */
  html.fit .app-reel {
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    max-width: 100%;
  }

  html.fit .app-reel-chip {
    flex: none;
    min-height: 28px;
    padding: 0 10px;
    font-size: 0.76rem;
  }

  /* Veja funcionando: abas, uma frase e o vídeo */
  html.fit .sec-head {
    margin-bottom: 14px;
  }

  html.fit .sec-head p,
  html.fit .show-text .ticks,
  html.fit .gene-text .ticks {
    display: none;
  }

  html.fit .show-tabs {
    margin-bottom: 14px;
  }

  html.fit .show-tab {
    min-height: 36px;
    padding: 0 13px;
    font-size: 0.88rem;
  }

  html.fit .show-panel {
    gap: 14px;
  }

  html.fit .show-text h3 {
    font-size: 1.2rem;
  }

  html.fit .show-text p {
    margin-top: 6px;
    font-size: 0.95rem;
  }

  /* Genealogia */
  html.fit .gene {
    gap: 18px;
  }

  html.fit .gene-text p {
    margin-top: 10px;
    font-size: 0.97rem;
  }

  /* Recursos: uma linha por bloco, que abre ao toque */
  /* Doze blocos: linhas mais baixas para a seção continuar cabendo na tela do celular */
  html.fit .feats {
    columns: 1;
    column-gap: 5px;
  }

  html.fit .feat {
    margin-bottom: 5px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 10px;
    padding: 4px 12px;
    border-radius: 14px;
  }

  html.fit .feat-ico {
    width: 28px;
    height: 28px;
    margin: 0;
    border-radius: 9px;
  }

  html.fit .feat-ico .ico {
    width: 16px;
    height: 16px;
  }

  html.fit .feat h3 {
    font-size: 0.98rem;
  }

  html.fit .feat > p {
    display: none;
  }

  html.fit .feat details {
    margin: 0;
    border: 0;
  }

  html.fit .feat summary {
    padding: 4px 0;
    font-size: 0.8rem;
    white-space: nowrap;
  }

  html.fit .feat details[open] {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  html.fit .road {
    margin-top: 10px;
    padding: 10px 12px;
  }

  html.fit .road h3 {
    margin-bottom: 6px;
    font-size: 0.95rem;
  }

  html.fit .road ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  html.fit .road li {
    display: block;
  }

  html.fit .road .ico,
  html.fit .road span {
    display: none;
  }

  html.fit .road strong {
    font-size: 0.82rem;
    line-height: 1.2;
  }

  /* Contato: WhatsApp e o formulário curto */
  html.fit .contact {
    gap: 14px;
  }

  html.fit .contact .lead,
  html.fit .form .hint {
    display: none;
  }

  html.fit .contact-list {
    margin-top: 8px;
  }

  html.fit .contact-list li {
    padding: 8px 0;
  }

  html.fit .contact-list li:last-child {
    display: none;
  }

  html.fit .form {
    gap: 10px;
    padding: 14px;
  }

  html.fit .form textarea {
    height: 64px;
    min-height: 0;
  }
}

/* Botões da abertura: texto curto no celular, para caberem lado a lado sem quebrar */
.lbl-short {
  display: none;
}

@media (max-width: 1060px) {
  html.fit .actions .lbl-full {
    display: none;
  }

  html.fit .actions .lbl-short {
    display: inline;
  }

  html.fit .actions .btn {
    white-space: nowrap;
  }
}

/* Frase de apoio da abertura, entre o título e o texto */
.hero-sub {
  margin-top: 18px;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.hero-sub + .hero-lead {
  margin-top: 12px;
}

@media (max-width: 1060px) {
  html.fit .hero-sub {
    margin-top: 10px;
    font-size: 1.12rem;
  }

  /* No celular a frase de apoio faz o papel do texto, que sai para a abertura caber em uma tela */
  html.fit .hero-sub + .hero-lead {
    display: none;
  }
}


/* ---------- Planos ---------- */
.sec-plans {
  background: #fff8e6;
}

.plans-free {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  max-width: 860px;
  margin: 0 auto 26px;
  padding: 16px 22px;
  border: 2px solid var(--gold-dark);
  border-radius: 18px;
  background: linear-gradient(120deg, #ffe082 0%, #ffca3a 60%, #f6a821 100%);
  color: #3a2700;
}

.plans-free[hidden] {
  display: none;
}

.plans-free strong {
  font-size: 1.7rem;
  line-height: 1.1;
}

.plans-free > span {
  flex: 1 1 240px;
  font-weight: 600;
}

.btn-pine {
  background: var(--pine);
  color: #fff;
}

.btn-pine:hover {
  background: var(--pine-soft);
}

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

.btn-line-pine:hover {
  background: var(--pine);
  color: #fff;
}

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 860px;
  margin: 0 auto;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px 24px 24px;
  border: 1px solid #e6dcc0;
  border-radius: 20px;
  background: #fff;
}

.plan-best {
  border: 2px solid var(--gold-dark);
  box-shadow: 0 16px 38px rgba(200, 146, 28, 0.2);
}

.plan-tag {
  position: absolute;
  top: -13px;
  right: 20px;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--pine);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}

.plan h3 {
  margin: 0;
  font-size: 1.25rem;
}

.plan-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin: 0;
}

.plan-price b {
  color: var(--pine);
  font-size: 2.3rem;
  line-height: 1.05;
}

.plan-price span,
.plan-month {
  color: #5b6b65;
  font-weight: 600;
}

.plan-month {
  margin: 0;
  font-size: 0.92rem;
}

.plan-month strong {
  color: var(--pine);
}

/* Medalha do plano ao lado do nome */
.plan h3 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.plan-medal {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 3px rgb(255 255 255 / 0.55);
}

.plan-medal-silver {
  background: #93a1ab;
}

.plan-medal-gold {
  background: #d4a017;
}

.plan ul {
  display: grid;
  flex: 1 1 auto;
  gap: 6px;
  margin: 8px 0 14px;
  padding-left: 20px;
}

.plan .btn {
  align-self: flex-start;
}

.plans-note {
  max-width: 860px;
  margin: 18px auto 0;
  color: #5b6b65;
  text-align: center;
}

.plans-note[hidden] {
  display: none;
}

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

  .plans-free strong {
    font-size: 1.4rem;
  }

  .plans-free .btn {
    flex: 1 1 100%;
    justify-content: center;
    text-align: center;
  }

  .plan .btn {
    align-self: stretch;
    justify-content: center;
    text-align: center;
  }
}

/* ---------- Identificar aves do plantel ---------- */
/* Texto e passos à esquerda; à direita, o desenho da tabela do SISPASS (azul, só anilhas) virando a
   lista do Simplave (verde, com o nome de cada ave). Desenho próprio, não é imagem do SISPASS. */
.ident {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: 56px;
}

.ident-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 5px 12px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: #fff8e6;
  color: #6b4a00;
  font-size: 0.85rem;
  font-weight: 700;
}

.ident-text > p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.1rem;
}

.ident-steps {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: ident;
}

.ident-steps li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  column-gap: 12px;
  counter-increment: ident;
}

.ident-steps li::before {
  content: counter(ident);
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}

.ident-steps span {
  color: var(--muted);
  font-size: 0.95rem;
}

.ident-uses {
  margin-top: 20px;
}

.ident-art {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.ident-art figcaption {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.85rem;
}

.ident-panel {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.ident-cap {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.ident-sispass {
  overflow: hidden;
  border: 1px solid #c5d8f4;
  border-radius: 10px;
}

.ident-bar {
  display: flex;
  gap: 5px;
  padding: 8px 10px;
  background: #2f4b7a;
}

.ident-bar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9db9e6;
}

.ident-sispass table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.74rem;
  line-height: 1.3;
}

.ident-sispass th {
  padding: 7px 8px;
  background: #eaf1fb;
  color: #2f4b7a;
  text-align: left;
}

.ident-sispass td {
  padding: 8px;
  border-top: 1px solid #eaf1fb;
}

.ident-sispass td:first-child {
  font-weight: 600;
  white-space: nowrap;
}

.ident-sispass td:last-child,
.ident-sispass th:last-child {
  white-space: nowrap;
}

.ident-arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--pine-deep);
}

.ident-arrow svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ident-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ident-list li {
  display: grid;
  gap: 1px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 9px;
  background: #fff;
}

.ident-list strong {
  font-family: var(--font-display);
  font-size: 1.02rem;
  line-height: 1.2;
}

.ident-list span {
  color: var(--muted);
  font-size: 0.72rem;
}

.ident-list li.is-none {
  border-left-color: #b4bdb9;
  background: var(--paper);
}

.ident-list li.is-none strong {
  font-family: var(--font-body);
  font-size: 0.78rem;
}

@media (max-width: 1060px) {
  .ident {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  /* No celular: o título, uma frase e o desenho (os passos ficam para quem abre o sistema) */
  html.fit .ident {
    gap: 14px;
  }

  html.fit .ident-text > p {
    margin-top: 10px;
    font-size: 0.97rem;
  }

  html.fit .ident-steps,
  html.fit .ident-uses {
    display: none;
  }

  html.fit .ident-tag {
    margin-bottom: 8px;
  }
}

@media (max-width: 640px) {
  .ident-art {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 14px;
  }

  .ident-arrow {
    justify-self: center;
    width: 36px;
    height: 36px;
  }

  .ident-sispass table {
    font-size: 0.66rem;
  }

  .ident-sispass th,
  .ident-sispass td {
    padding: 5px 6px;
  }

  .ident-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
  }

  .ident-list li {
    padding: 5px 8px;
  }

  .ident-list strong {
    font-size: 0.9rem;
  }

  .ident-list span {
    font-size: 0.64rem;
  }
}

/* ---------- Ajustes de encaixe (14/10/2026) ----------
   Recursos no notebook, Aplicativo e Planos no celular em pé: cada seção cabe inteira na tela. */

/* Recursos no computador: seis blocos por linha (16 blocos em 3 linhas) e o ícone ao lado do título */
@media (min-width: 1061px) {
  .feats {
    columns: 6;
    column-gap: 12px;
  }

  /* Ícone em cima e título embaixo, alinhado à esquerda: o título usa a largura toda do card e não estoura */
  .feat {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    row-gap: 10px;
    padding: 16px 16px 10px;
  }

  .feat-ico {
    width: 40px;
    height: 40px;
    margin: 0;
    border-radius: 12px;
  }

  .feat h3 {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.2;
  }

  .feat > p,
  .feat details {
    grid-column: 1 / -1;
  }

  .feat > p {
    margin-top: 10px;
    font-size: 0.9rem;
  }

  .feat details {
    margin-top: 8px;
  }

  .feat summary {
    padding: 9px 0 2px;
  }
}

@media (max-width: 1060px) {
  /* Aplicativo no celular: Android e iPhone lado a lado, aviso e celular menores */
  html.fit .app-status {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
  }

  html.fit .app-platform {
    min-width: 0;
    padding: 10px 10px 12px;
    gap: 8px;
  }

  html.fit .app-progress-top {
    align-items: flex-start;
    gap: 6px;
    font-size: 0.74rem;
  }

  html.fit .app-progress-top > span {
    min-width: 0;
    font-size: inherit;
    line-height: 1.2;
  }

  html.fit .app-warning {
    margin-top: 8px;
    padding: 8px 10px;
    font-size: 0.8rem;
    line-height: 1.35;
  }

  html.fit .app {
    gap: 12px;
  }

  html.fit .app-media {
    padding: 10px;
    gap: 8px;
  }

  html.fit .app-media .phone {
    width: 100px;
  }

  html.fit .app-reel {
    gap: 5px;
  }

  html.fit .app-reel-chip {
    min-height: 24px;
    padding: 0 8px;
    font-size: 0.7rem;
  }

  /* Recursos no celular: linhas um pouco mais baixas, com treze blocos */
  html.fit .feats {
    column-gap: 4px;
  }

  html.fit .feat {
    margin-bottom: 4px;
  }

  html.fit .feat {
    padding: 3px 12px;
  }

  html.fit .feat h3 {
    font-size: 0.92rem;
    line-height: 1.2;
  }

  html.fit .feat summary {
    padding: 3px 0;
    font-size: 0.74rem;
  }

  /* Planos no celular: nome, preço, os dois primeiros itens e o botão de cada plano */
  html.fit .plans-free > span,
  html.fit .plans-free .btn {
    display: none;
  }

  html.fit .plans-free {
    margin-bottom: 12px;
    padding: 10px 14px;
  }

  html.fit .plans-free strong {
    font-size: 1.1rem;
  }

  html.fit .plans {
    gap: 10px;
  }

  html.fit .plan {
    padding: 14px 16px 14px;
  }

  html.fit .plan h3 {
    font-size: 1.1rem;
  }

  html.fit .plan ul li:nth-child(n + 3) {
    display: none;
  }

  html.fit .plan ul {
    margin: 8px 0 10px;
    gap: 4px;
    font-size: 0.88rem;
  }

  html.fit .plans-note {
    margin-top: 10px;
    font-size: 0.82rem;
  }
}

/* Celular em pé com tela baixa (360 x 640, 375 x 667, 390 x 664, com as barras do navegador à vista):
   Recursos e Planos ficam mais compactos para a seção caber inteira */
@media (max-width: 1060px) and (max-height: 700px) {
  html.fit .feats {
    column-gap: 2px;
  }

  html.fit .feat {
    margin-bottom: 2px;
  }

  html.fit .feat {
    padding: 1px 10px;
  }

  /* Dezessete blocos: ícone e título um pouco menores para a seção continuar cabendo */
  html.fit .feat-ico {
    width: 23px;
    height: 23px;
    border-radius: 8px;
  }

  html.fit .feat-ico .ico {
    width: 14px;
    height: 14px;
  }

  html.fit .feat h3 {
    font-size: 0.92rem;
  }

  html.fit .feat summary {
    font-size: 0.7rem;
  }

  html.fit .road {
    margin-top: 8px;
    padding: 8px 10px;
  }

  html.fit .plan {
    padding: 10px 14px 12px;
  }

  html.fit .plan-price b {
    font-size: 1.6rem;
  }

  html.fit .plan ul li:nth-child(n + 2) {
    display: none;
  }

  html.fit .plans-note {
    font-size: 0.74rem;
  }
}

/* Celular estreito em pé (360 x 640 e parecidos): o aplicativo com um pouco mais de aperto */
@media (max-width: 374px) {
  html.fit .app-media .phone {
    width: 86px;
  }

  html.fit .app-platform {
    padding: 8px 8px 10px;
  }

  html.fit .app-warning {
    font-size: 0.76rem;
    padding: 7px 9px;
  }
}

/* ---------- Indique e ganhe: seção de propaganda depois dos planos (14/10/2026) ---------- */
.sec-refer {
  background: linear-gradient(135deg, var(--pine) 0%, #1c4a3f 100%);
  color: #f4f1ea;
}

.sec-refer[hidden] {
  display: none;
}

.refer {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
}

.refer-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  padding: 6px 16px 6px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffe082, #f6a821);
  color: #3a2700;
  font-weight: 800;
}

.refer-kicker .ico {
  width: 22px;
  height: 22px;
}

.sec-refer h2 {
  margin: 0 0 16px;
  color: #ffd45c;
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  line-height: 1.08;
}

.refer-text {
  margin: 0 0 14px;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.45;
}

.refer-note {
  margin: 0 0 22px;
  color: #cfe0d9;
  font-size: 0.92rem;
  line-height: 1.45;
}

.refer-steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.refer-steps li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid rgb(255 255 255 / 0.18);
  border-radius: 16px;
  background: rgb(255 255 255 / 0.07);
  font-weight: 600;
  line-height: 1.35;
}

.refer-steps b {
  display: grid;
  flex: none;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffd45c;
  color: #3a2700;
  font-size: 1.1rem;
}

@media (max-width: 1060px) {
  .refer {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .refer-link {
    justify-content: center;
    text-align: center;
  }

  .refer-text {
    font-size: 1.05rem;
  }
}

/* Celular em pé com tela baixa: o texto e a nota ficam; os três passos saem para a seção caber inteira */
@media (max-width: 1060px) and (max-height: 740px) {
  html.fit .refer-steps {
    display: none;
  }

  html.fit .refer {
    gap: 0;
  }
}

/* Atalho "Indique e ganhe" no menu do topo (só aparece com a chamada no ar) */
.menu a.menu-ref:not(.btn) {
  color: #ffd45c;
  font-weight: 800;
}

.nav.is-solid .menu a.menu-ref:not(.btn) {
  color: #8a5e00;
}

.menu a.menu-ref[hidden] {
  display: none;
}

/* Com Torneios (e o atalho Indique e ganhe) no menu, a frase da marca sai em monitor médio para tudo caber numa linha */
@media (min-width: 1281px) and (max-width: 1560px) {
  .brand-tag {
    display: none;
  }
}

@media (min-width: 1281px) and (max-width: 1560px) {
  .nav.has-ref .menu a:not(.btn) {
    padding: 8px 5px;
    font-size: 0.92rem;
  }

  .nav.has-ref .menu .btn {
    font-size: 0.92rem;
    margin-left: 4px;
  }
}

@media (min-width: 1281px) and (max-width: 1400px) {
  .menu a:not(.btn) {
    padding: 8px 5px;
    font-size: 0.92rem;
  }

  .menu .btn {
    font-size: 0.92rem;
    margin-left: 4px;
  }
}

/* Menu aberto no celular tem fundo claro: o atalho usa o dourado escuro */
@media (max-width: 1280px) {
  .menu a.menu-ref:not(.btn),
  .nav.is-solid .menu a.menu-ref:not(.btn) {
    color: #8a5e00;
  }
}

/* Dez abas no computador: menos folga lateral para ficarem em uma linha só */
@media (min-width: 1061px) {
  .show-tab {
    padding: 0 12px;
    font-size: 0.9rem;
  }
}

/* Torneios: seção própria em destaque (reaproveita o desenho da Genealogia) */
.tour .frame {
  border-color: rgb(255 255 255 / 0.2);
}

/* Saiba mais do Marcador: vídeo em janela */
.btn-more {
  display: inline-flex;
  min-height: 36px;
  margin: 4px 0 10px;
  padding: 0 16px;
  font-size: 0.9rem;
}

.vid-modal {
  width: min(92vw, 520px);
  max-height: 92vh;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: #0d241d;
  color: #fff;
  overflow: hidden;
}

.vid-modal::backdrop {
  background: rgb(6 20 16 / 0.78);
}

.vid-player {
  display: block;
  width: 100%;
  max-height: 88vh;
  background: #000;
}

.vid-close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgb(0 0 0 / 0.6);
  color: #fff;
  cursor: pointer;
}

.vid-close .ico {
  width: 20px;
  height: 20px;
}

/* ---------- Aba Parcerias: vídeo longo (16:9), só toca ao clicar ---------- */
.frame-video-wide {
  aspect-ratio: 16 / 9;
  background: #0d241d;
}

/* ---------- T-049: repaginada com as cores, raios e sombras do design system ---------- */
:root {
  --ds-radius-lg: 16px;
  --ds-radius-xl: 22px;
  --ds-card-shadow: 0 1px 2px rgb(18 48 42 / 0.06), 0 14px 30px -18px rgb(18 48 42 / 0.28);
  --ds-card-shadow-hover: 0 2px 4px rgb(18 48 42 / 0.08), 0 22px 40px -18px rgb(18 48 42 / 0.36);
}

/* Etiqueta pequena acima do título de cada seção */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 5px 13px 5px 11px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1.2;
  text-transform: uppercase;
}

.kicker::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.sec-head .kicker {
  margin: 0 0 14px;
  font-size: 0.76rem;
}

.sec-pine .kicker,
.sec-contact .kicker {
  background: rgb(255 255 255 / 0.1);
  color: var(--gold);
}

/* Cartões: canto mais redondo, sombra suave e um leve toque ao passar o mouse */
.feat,
.plan,
.app-platform,
.road {
  border-radius: var(--ds-radius-xl);
}

.feat {
  box-shadow: var(--ds-card-shadow);
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

.feat:hover {
  border-color: #c4d4cc;
  box-shadow: var(--ds-card-shadow-hover);
  transform: translateY(-2px);
}

.feat-ico {
  border-radius: 14px;
  background: linear-gradient(145deg, var(--pine-soft), var(--pine));
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08);
}

.plan {
  box-shadow: var(--ds-card-shadow);
}

.btn {
  box-shadow: 0 1px 2px rgb(18 48 42 / 0.12);
}

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

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

/* Barra do topo ao rolar: branca com leve vidro */
.nav.is-solid {
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
}

/* Fundo das seções claras com um brilho verde bem discreto */
.sec-tint {
  background: radial-gradient(900px 420px at 85% 0%, #dfece6 0%, transparent 70%), #e9f0ec;
}

/* Seção de novidades */
.sec-news {
  background:
    radial-gradient(760px 380px at 8% 0%, rgb(224 168 46 / 0.12) 0%, transparent 70%),
    radial-gradient(900px 420px at 100% 100%, #dfece6 0%, transparent 70%),
    var(--paper);
}

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

.news-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 22px 20px 20px;
  border: 1px solid var(--line);
  border-radius: var(--ds-radius-xl);
  background: var(--surface);
  box-shadow: var(--ds-card-shadow);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

.news-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  opacity: 0;
  transition: opacity 0.2s;
}

.news-card:hover {
  border-color: #c4d4cc;
  box-shadow: var(--ds-card-shadow-hover);
  transform: translateY(-2px);
}

.news-card:hover::before {
  opacity: 1;
}

.news-ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
}

.news-ico .ico {
  width: 24px;
  height: 24px;
}

.news-tier {
  position: absolute;
  top: 20px;
  right: 18px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #fbf1d6;
  color: #8a6208;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.news-card h3 {
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

.news-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.45;
}

/* Celular e tablet em pé: só ícone e título (o essencial de cada seção), duas colunas */
@media (max-width: 1060px) {
  .news {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .news-card {
    padding: 14px 12px 12px;
  }

  .news-ico {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
  }

  .news-card h3 {
    font-size: 0.95rem;
  }

  .news-card p {
    display: none;
  }

  .news-tier {
    top: 12px;
    right: 10px;
    padding: 2px 8px;
    font-size: 0.64rem;
  }
}

/* Planos: a lista de um plano mais curto não estica as linhas */
.plan ul {
  align-content: start;
}

/* ---------- v3: telas novas e detalhes transparentes ---------- */
.hero {
  background:
    radial-gradient(760px 520px at 82% 38%, rgb(63 143 120 / 0.55), transparent 70%),
    radial-gradient(520px 420px at 62% 92%, rgb(224 168 46 / 0.22), transparent 70%),
    radial-gradient(700px 500px at 0% 100%, rgb(31 111 92 / 0.35), transparent 70%),
    var(--pine-deep);
}

.hero-media {
  margin-right: -60px;
}

/* moldura de vidro em volta da tela */
.glass-rim {
  padding: 10px;
  border: 1px solid rgb(255 255 255 / 0.22);
  border-radius: 24px;
  background: rgb(255 255 255 / 0.08);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 40px 90px -30px rgb(0 0 0 / 0.7), inset 0 1px 0 rgb(255 255 255 / 0.25);
}

.glass-rim .frame-bar {
  border-radius: 14px 14px 0 0;
}

.glass-rim .frame-video {
  display: block;
  width: 100%;
  border-radius: 0 0 14px 14px;
}

/* gráficos do Início soltos por cima, em cartão de vidro */
.glass-card {
  position: absolute;
  z-index: 3;
  margin: 0;
  padding: 8px;
  border: 1px solid rgb(255 255 255 / 0.35);
  border-radius: 22px;
  background: rgb(255 255 255 / 0.16);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 30px 60px -24px rgb(0 0 0 / 0.65);
}

.glass-card img {
  display: block;
  width: 100%;
  border-radius: 15px;
}

.gc-funnel {
  top: -64px;
  right: 36px;
  width: 300px;
}

.gc-ring {
  left: 150px;
  bottom: -92px;
  width: 270px;
}

.glass-phone {
  z-index: 4;
  background: rgb(10 21 18 / 0.9) !important;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.25), 0 40px 70px -24px rgb(0 0 0 / 0.75) !important;
}

.glass-phone .phone-video {
  display: block;
  width: 100%;
  border-radius: 22px;
}

/* seções claras: fundo com brilho e cartões de vidro */
.sec:not(.sec-pine):not(.sec-app) {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.sec:not(.sec-pine):not(.sec-app)::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(40% 35% at 85% 15%, rgb(63 143 120 / 0.22), transparent 70%),
    radial-gradient(35% 30% at 10% 90%, rgb(224 168 46 / 0.18), transparent 70%);
  pointer-events: none;
}

.feat,
.plan,
.contact-form,
.news-card {
  border: 1px solid rgb(255 255 255 / 0.85) !important;
  background: rgb(255 255 255 / 0.62) !important;
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.9) inset, 0 20px 40px -24px rgb(8 33 27 / 0.3) !important;
}

/* seções escuras: vidro escuro */
.sec-pine .gene-card {
  border: 1px solid rgb(255 255 255 / 0.14) !important;
  background: rgb(255 255 255 / 0.06) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.app-platform {
  border: 1px solid rgb(255 255 255 / 0.16) !important;
  background: rgb(13 51 42 / 0.86) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.sec-app {
  background:
    radial-gradient(600px 400px at 20% 50%, rgb(224 168 46 / 0.12), transparent 70%),
    radial-gradient(700px 500px at 90% 20%, rgb(63 143 120 / 0.3), transparent 70%),
    var(--paper);
}

@media (max-width: 1060px) {
  .hero-media { margin-right: 0; }
  .gc-funnel { top: -30px; right: 0; width: 44%; }
  .gc-ring { left: auto; right: 22%; bottom: -46px; width: 40%; }
}

/* Site do Criatório: chamada da página principal */
.sec-site {
  background:
    radial-gradient(700px 480px at 85% 40%, rgb(63 143 120 / 0.5), transparent 70%),
    radial-gradient(520px 400px at 10% 90%, rgb(224 168 46 / 0.16), transparent 70%),
    var(--pine-deep) !important;
  color: #fff;
}
.sec-site::before { display: none; }
.sec-site .kicker { background: rgb(255 255 255 / 0.1); color: var(--gold); }
.sdc { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: center; }
.sdc-text h2 { color: #fff; }
.sdc-text p { margin-top: 18px; color: #cfe3db; font-size: 1.1rem; }
.sdc-actions { margin-top: 30px; }
.sdc-media { position: relative; }
.sdc-media .frame { margin-right: -40px; }
.sdc-phone { position: absolute; left: -54px; bottom: -40px; width: 170px; padding: 7px; border-radius: 28px; }
@media (max-width: 1060px) {
  .sdc { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .sdc-media .frame { margin-right: 0; }
  .sdc-phone { left: auto; right: -6px; bottom: -24px; width: 30%; }
  .sdc-text p { font-size: 0.98rem; }
}

.sdc-text .sdc-note { margin-top: 14px; padding: 12px 16px; border-radius: 14px; border: 1px solid rgb(224 168 46 / 0.45); background: rgb(224 168 46 / 0.12); color: #f5dfa3; font-size: 0.95rem; }
.sdc-note strong { color: #fff; }

/* Contas do criatório: carrossel */
.fin { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 56px; align-items: center; }
.fin-text p { margin-top: 16px; color: var(--muted); font-size: 1.08rem; }
.fin-points { display: grid; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.fin-points li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.fin-points li::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); flex: none; }
.fin-carousel { min-width: 0; }
.fin-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 2px 10px; }
.fin-track::-webkit-scrollbar { display: none; }
.fin-slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; }
.fin-slide figcaption { display: grid; gap: 4px; padding: 14px 4px 0; }
.fin-slide figcaption strong { font-family: var(--font-display); font-size: 1.15rem; }
.fin-slide figcaption span { color: var(--muted); font-size: 0.97rem; }
.sec-fin .glass-rim { border-color: rgb(255 255 255 / 0.9); background: rgb(255 255 255 / 0.55); box-shadow: 0 30px 60px -30px rgb(8 33 27 / 0.45); }
.fin-nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 12px; }
.fin-arrow { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; }
.fin-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.fin-arrow:hover { border-color: var(--accent); color: var(--accent); }
.fin-dots { display: flex; gap: 8px; }
.fin-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; background: #c9d5cf; cursor: pointer; transition: width 0.2s, background 0.2s; }
.fin-dot.is-on { width: 26px; background: var(--accent); }
@media (max-width: 1060px) {
  .fin { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .fin-points { display: none; }
  .fin-text p { font-size: 0.98rem; }
}

/* Botões das lojas (Google Play e App Store) */
.app-stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.store-btn { display: inline-flex; align-items: center; gap: 12px; min-height: 58px; padding: 8px 20px 8px 16px; border-radius: 14px; background: var(--pine-deep); color: #fff; text-decoration: none; box-shadow: 0 10px 24px -14px rgb(8 28 23 / 0.7); transition: transform 0.15s, background 0.15s; }
.store-btn:hover { background: #000; transform: translateY(-1px); }
.store-btn .store-ico { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.store-btn span { display: grid; line-height: 1.1; }
.store-btn small { font-size: 0.72rem; opacity: 0.85; }
.store-btn strong { font-family: var(--font-display); font-size: 1.15rem; }
.store-btn.is-soon { cursor: default; }
.store-btn.is-soon:hover { background: var(--pine-deep); transform: none; }

/* Selo oficial da loja (imagem), quando o arquivo está em assets/stores; sem ele, fica o botão desenhado acima.
   O selo do Google tem margem transparente própria; a margem negativa alinha com o da Apple. */
.store-badge { display: inline-flex; align-items: center; border-radius: 10px; }
.store-badge img { display: block; width: auto; }
.store-badge .badge-gp { height: 72px; margin: -9px -11px; }
.store-badge .badge-as { height: 54px; }
.store-badge:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.footer-stores { margin-top: 0; }

/* Marcador Simplave */
.sec-marc {
  background:
    radial-gradient(700px 480px at 80% 50%, rgb(224 168 46 / 0.22), transparent 70%),
    radial-gradient(600px 420px at 0% 100%, rgb(63 143 120 / 0.35), transparent 70%),
    var(--pine-deep);
  color: #fff;
}
.sec-marc::before { display: none; }
.marc { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.marc-brand { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 16px; font: 700 1.05rem var(--font-display); color: var(--gold); letter-spacing: 0.02em; }
.marc-brand img { width: 48px; height: 48px; }
.marc-text h2 { color: #fff; }
.marc-text > p { margin-top: 16px; color: #cfe3db; font-size: 1.1rem; }
.marc-points { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin: 22px 0 0; padding: 0; list-style: none; }
.marc-points li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.marc-points li::before { content: ''; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.sec-marc .store-btn { background: #fff; color: var(--pine-deep); }
.sec-marc .store-btn:hover { background: var(--cream); }
.sec-marc .store-btn.is-soon:hover { background: #fff; }
.marc-more { margin-top: 16px !important; }
.marc-media { position: relative; height: 560px; }
.marc-phone { position: absolute; top: 50%; width: 230px; border-radius: 30px; border: 7px solid #0a1512; box-shadow: 0 0 0 1px rgb(255 255 255 / 0.2), 0 40px 70px -24px rgb(0 0 0 / 0.75); }
.mp-1 { left: 4%; transform: translateY(-50%) rotate(-7deg); }
.mp-2 { left: 50%; z-index: 2; width: 260px; transform: translate(-50%, -52%); }
.mp-3 { right: 4%; transform: translateY(-50%) rotate(7deg); }
@media (max-width: 1060px) {
  .marc { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .marc-points { display: none; }
  .marc-text > p { font-size: 0.98rem; }
  .marc-media { height: 300px; }
  .marc-phone { width: 30%; max-width: 150px; border-width: 5px; border-radius: 20px; }
  .mp-2 { width: 34%; max-width: 170px; }
  .mp-1 { left: 6%; }
  .mp-3 { right: 6%; }
}

/* Selos das lojas no padrão oficial: fundo preto, borda cinza, logos das lojas */
.store-btn, .sec-marc .store-btn { min-height: 54px; padding: 7px 18px 7px 14px; border: 1px solid #a6a6a6; border-radius: 10px; background: #000; color: #fff; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; }
.store-btn:hover, .sec-marc .store-btn:hover { background: #000; border-color: #fff; }
.store-btn .store-ico { width: 28px; height: 28px; stroke: none; }
.store-btn small { font-size: 0.66rem; letter-spacing: 0.02em; opacity: 1; }
.store-btn strong { font-family: inherit; font-size: 1.28rem; font-weight: 600; letter-spacing: -0.01em; }
video.marc-phone { aspect-ratio: 9 / 16; object-fit: cover; background: #0a1512; }

/* ---------- Celular e tablet em pé (T-049, Chule 04/11): a seção fica do tamanho do conteúdo ----------
   Sem tela cheia nem zoom: nada de espaço vazio em cima e embaixo, e o texto e as telas no tamanho real. */
@media (max-width: 1060px) {
  html.fit { scroll-snap-type: none; }
  html.fit .hero,
  html.fit .sec,
  .hero,
  .sec {
    height: auto;
    min-height: 0;
    padding: 84px 0 48px;
    overflow: visible;
    scroll-snap-align: none;
    justify-content: flex-start;
  }
  html.fit .hero, .hero { padding-top: 92px; }
  html.fit .sec > .wrap,
  html.fit .hero > .wrap { zoom: 1 !important; }
}

/* Telas do computador no celular: sem a barra do endereço e sem a lateral do sistema, para o conteúdo
   aparecer maior; quando o app tem o recurso, entra o vídeo do app num celular */
@media (max-width: 760px) {
  .frame:not(.frame-app) .frame-bar { display: none; }
  .frame:not(.frame-app) video.frame-video,
  .frame:not(.frame-app) img.frame-video {
    aspect-ratio: 4 / 3;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: right top;
  }
  .frame.frame-app {
    width: 62%;
    max-width: 250px;
    margin: 0 auto;
    padding: 6px;
    border: 0;
    border-radius: 30px;
    background: #0a1512;
    box-shadow: 0 0 0 1px rgb(255 255 255 / 0.18), 0 30px 50px -24px rgb(0 0 0 / 0.55);
  }
  .frame.frame-app .frame-bar { display: none; }
  .frame.frame-app video.frame-video {
    aspect-ratio: 390 / 844;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 24px;
  }
}

/* Plano Ouro: a lista completa, em duas colunas no computador */
.plan-best { grid-column: span 1; }
.plan-list-gold { gap: 7px !important; }
.plan-foot { margin: -6px 0 14px; color: var(--muted); font-size: 0.85rem; }
@media (min-width: 1061px) {
  .plans { grid-template-columns: 0.8fr 1.4fr !important; align-items: stretch; max-width: 1100px; }
  .plan-list-gold { grid-template-columns: 1fr 1fr; column-gap: 28px; }
}

/* Planos (T-049, Chule 04/11): a lista toda aparece também no celular, com marca de visto */
html.fit .plan ul li:nth-child(n),
.plan ul li { display: flex !important; }
.plan ul { list-style: none; padding-left: 0 !important; }
.plan ul li { gap: 8px; align-items: flex-start; line-height: 1.35; }
.plan ul li::before { content: ''; flex: none; width: 16px; height: 16px; margin-top: 1px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f6f5c' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/10px no-repeat; }
.plan-best ul li::before { background-color: #fbf1d6; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239c700f' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E"); }
.plan-list-gold li:first-child { font-weight: 700; }
@media (min-width: 1061px) {
  .plan-list-gold { grid-template-columns: 1fr 1fr; column-gap: 24px; row-gap: 8px !important; }
}

/* T-122 (ESPEC 480): celular. Tela da loja na primeira visita e, depois, a faixa fina no topo */
.store-lock, .store-lock body { overflow: hidden; }
.store-screen {
  position: fixed; inset: 0; z-index: 200; overflow-y: auto;
  display: flex; justify-content: center;
  padding: calc(32px + env(safe-area-inset-top, 0px)) 16px calc(24px + env(safe-area-inset-bottom, 0px));
  background:
    radial-gradient(ellipse 90% 55% at 0% 0%, #2f3f26 0%, transparent 70%),
    radial-gradient(ellipse 90% 55% at 100% 100%, #1d5b4d 0%, transparent 70%),
    var(--pine);
  color: var(--cream);
}
.store-screen-in { display: flex; flex-direction: column; align-items: center; gap: 24px; width: 100%; max-width: 440px; }
.store-screen-logo { width: min(70%, 260px); height: auto; }
.store-screen-card {
  display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%;
  padding: 24px 20px; border: 1px solid rgba(244, 241, 234, 0.12); border-radius: 20px;
  background: rgba(255, 255, 255, 0.05); text-align: center;
}
.store-screen-card h2 { margin: 0; color: var(--cream); font: 700 22px/28px var(--font-display); }
.store-screen-card p { margin: 0 0 8px; color: rgba(244, 241, 234, 0.72); font-size: 1rem; line-height: 1.5; }
.store-screen-go { width: 100%; justify-content: center; margin-top: 4px; }
.store-bar .store-ico { flex: none; width: 18px; height: 18px; }
.store-screen-version { color: rgba(244, 241, 234, 0.72); font-size: 0.82rem; }
.store-screen-skip {
  border: 0; background: none; padding: 8px; color: rgba(244, 241, 234, 0.72);
  font: inherit; font-size: 0.9rem; text-decoration: underline; cursor: pointer;
}
.store-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: flex; align-items: center; gap: 8px;
  min-height: 44px; padding: calc(4px + env(safe-area-inset-top, 0px)) 4px 4px 14px;
  background: var(--pine); color: var(--cream);
}
.store-bar-text { flex: 1; min-width: 0; overflow: hidden; font-size: 0.82rem; font-weight: 600; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.store-bar-go {
  flex: none; padding: 5px 12px; border-radius: 999px; background: var(--gold); color: var(--pine-deep);
  font-size: 0.82rem; font-weight: 700; text-decoration: none; white-space: nowrap;
}
.store-bar-close {
  flex: none; width: 36px; height: 36px; border: 0; border-radius: 999px; background: none;
  color: rgba(244, 241, 234, 0.72); font-size: 1.4rem; line-height: 1; cursor: pointer;
}
.has-store-bar .nav { top: calc(44px + env(safe-area-inset-top, 0px)); }
