/* Página do Emerald: o verde da pedra no escuro. Fundo verde quase preto com estrelas, brilhos
   menta e azul-petróleo (os mesmos do ícone), vidro com reflexo em cima e o celular com o print
   real. Os desenhos lembram o ícone: a pedra lapidada em degraus e o anel de órbita. */
body.th-emerald {
  --bg: #030a07;
  --ink: #effaf4;
  --dim: rgba(226, 245, 236, .74);
  --mute: rgba(226, 245, 236, .5);
  --mint: #7fe6b0;
  --mint-hi: #c4ffe0;
  --deep: #1d8a5e;
  --glass: linear-gradient(135deg, rgba(196, 255, 224, .12), rgba(196, 255, 224, .03) 60%, rgba(196, 255, 224, .065));
  --glass-hi: rgba(196, 255, 224, .12);
  --line: rgba(196, 255, 224, .16);
  --grad: linear-gradient(90deg, #c4ffe0, #7fe6b0 45%, #3fbf80);
  --gem: #7fe6b0;
  --r: 1.2rem;
}
body.th-emerald::after {
  background:
    radial-gradient(1px 1px at 8% 14%, #fff9, transparent), radial-gradient(1px 1px at 23% 62%, #fff6, transparent),
    radial-gradient(1.5px 1.5px at 37% 28%, #c4ffe0aa, transparent), radial-gradient(1px 1px at 52% 84%, #fff5, transparent),
    radial-gradient(1px 1px at 66% 9%, #fff7, transparent), radial-gradient(1.5px 1.5px at 81% 46%, #c4ffe099, transparent),
    radial-gradient(1px 1px at 92% 74%, #fff7, transparent), radial-gradient(1px 1px at 14% 92%, #fff5, transparent),
    radial-gradient(1px 1px at 74% 30%, #fff5, transparent), radial-gradient(1px 1px at 45% 50%, #fff4, transparent),
    radial-gradient(60% 50% at 86% 4%, rgba(29, 138, 94, .26), transparent 70%),
    radial-gradient(55% 45% at 4% 100%, rgba(21, 90, 110, .24), transparent 70%),
    #030a07;
}
body.th-emerald::before {
  background: radial-gradient(34% 30% at 76% 20%, rgba(127, 230, 176, .1), transparent 70%),
    radial-gradient(30% 28% at 16% 72%, rgba(21, 90, 110, .14), transparent 70%);
}

/* Vidro do Emerald: verde bem claro, borda fina e o reflexo em cima. */
.th-emerald .glass, .th-emerald .dev {
  background: var(--glass); border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(196, 255, 224, .28), inset 0 -1px 0 rgba(196, 255, 224, .04), 0 1rem 2.4rem rgba(0, 0, 0, .45);
}
.th-emerald .top { background: rgba(3, 10, 7, .72); }
.th-emerald .btn { background: var(--glass); border-color: var(--line); box-shadow: inset 0 1px 0 rgba(196, 255, 224, .22); }
.th-emerald .btn.primary { background: var(--grad); color: #03140c; box-shadow: 0 .6rem 1.8rem rgba(127, 230, 176, .22); }
.th-emerald .btn.primary:hover { box-shadow: 0 0 0 .14rem rgba(196, 255, 224, .5), 0 .8rem 2.4rem rgba(127, 230, 176, .35); }
.th-emerald .dev.here { border: 2px solid var(--mint); background: var(--glass) padding-box;
  box-shadow: 0 0 0 .14rem rgba(127, 230, 176, .22), 0 1.4rem 3rem rgba(29, 138, 94, .3), inset 0 1px 0 rgba(196, 255, 224, .35); }
.th-emerald .dev .badge { background: var(--grad); color: #03140c; }
.th-emerald .chip { background: rgba(196, 255, 224, .06); }

/* Apresentação: texto à esquerda, o celular flutuando na frente da pedra que gira (no celular, embaixo). */
.th-emerald .page-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; text-align: left; padding: 4rem 0 2.5rem; }
.th-emerald .page-hero p { margin-left: 0; }
.th-emerald .page-hero h1 { font-weight: 300; letter-spacing: -.01em; font-size: clamp(3rem, 8vw, 5.4rem); margin: 1rem 0 .8rem; }
.th-emerald .page-hero h1 b { font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.th-emerald .page-hero .kick { display: inline-flex; align-items: center; gap: .6rem; font-size: .8rem; letter-spacing: .26em; text-transform: uppercase; font-weight: 700; color: var(--dim); }
.th-emerald .page-hero .kick img { width: 2.2rem; height: 2.2rem; }
.th-emerald .page-hero p b { color: var(--ink); }
.ver-row { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.th-emerald .chip.new { text-decoration: none; color: var(--mint-hi); border-color: rgba(127, 230, 176, .4);
  background: linear-gradient(90deg, rgba(127, 230, 176, .18), rgba(21, 90, 110, .3)); transition: filter .2s; }
.th-emerald .chip.new:hover { filter: brightness(1.25); }
.th-emerald .chip.closed { color: var(--mute); }
.th-emerald .hero-acts { margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.th-emerald .hero-acts .btn svg { width: 1.15rem; height: 1.15rem; }

.em-stage { position: relative; display: grid; place-items: center; min-height: 34rem; }
.em-scene { position: absolute; width: 118%; aspect-ratio: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: .6; pointer-events: none; }
.em-scene svg { width: 100%; height: 100%; overflow: visible; }
/* A pedra em degraus no meio; as órbitas pontilhadas giram devagar, uma para cada lado. */
.em-scene .orb { transform-origin: 200px 200px; animation: emSpin 70s linear infinite; }
.em-scene .orb-out { animation-duration: 120s; animation-direction: reverse; }
.em-scene .tw { transform-box: fill-box; transform-origin: center; animation: emTwinkle 2.6s ease-in-out infinite alternate; }
.em-scene .tw:nth-of-type(2n) { animation-delay: 1.1s; }
@keyframes emSpin { to { transform: rotate(360deg); } }
@keyframes emTwinkle { from { opacity: .25; transform: scale(.75); } to { opacity: 1; transform: none; } }

/* O celular: moldura preta fina, câmera no alto e o print real da tela. */
.phone { position: relative; width: min(17.5rem, 70vw); aspect-ratio: 1080 / 2400; padding: .5rem; border-radius: 2.5rem;
  background: linear-gradient(160deg, #26302b, #070b09 40%, #141a17); border: 1px solid rgba(196, 255, 224, .16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 2.4rem 4rem rgba(0, 0, 0, .6), 0 0 5rem rgba(127, 230, 176, .16); }
.phone > img, .phone .tela { width: 100%; height: 100%; border-radius: 2.05rem; object-fit: cover; }
.phone::before { content: ""; position: absolute; top: 1.15rem; left: 50%; width: .62rem; height: .62rem; margin-left: -.31rem; border-radius: 50%;
  background: #050806; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .06); z-index: 2; }
.phone::after { content: ""; position: absolute; inset: .5rem; border-radius: 2.05rem; pointer-events: none;
  background: linear-gradient(118deg, rgba(255, 255, 255, .1), transparent 30%); }
.phone.flutua { animation: emFloat 7s ease-in-out infinite alternate; }
@keyframes emFloat { to { transform: translateY(-.7rem) rotate(.4deg); } }
.phone.sm { width: min(13.5rem, 42vw); border-radius: 2rem; padding: .42rem; }
.phone.sm > img, .phone.sm .tela, .phone.sm::after { border-radius: 1.62rem; }
.phone.sm::after { inset: .42rem; }
.phone.sm::before { top: .95rem; width: .5rem; height: .5rem; margin-left: -.25rem; }

/* Dois celulares lado a lado, o de trás um pouco mais baixo. */
.phones { display: flex; justify-content: center; align-items: flex-start; gap: 1.2rem; }
.phones .phone:nth-child(2) { margin-top: 3rem; }

/* Faixa de destaques logo abaixo do topo. */
.facts { list-style: none; margin: 1rem 0 0; padding: 1.2rem 1.4rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  border-radius: var(--r); border: 1px solid var(--line); background: var(--glass); box-shadow: inset 0 1px 0 rgba(196, 255, 224, .2); }
.facts li { display: flex; flex-direction: column; padding-left: 1rem; border-left: 1px solid var(--line); }
.facts li:first-child { border-left: 0; padding-left: 0; }
.facts b { font-size: 1.35rem; font-weight: 300; letter-spacing: -.01em; }
.facts span { color: var(--mute); font-size: .9rem; }

/* Títulos das seções. */
.th-emerald .eyebrow { margin: 0; font-size: .76rem; letter-spacing: .26em; text-transform: uppercase; font-weight: 700; color: var(--mint); }
.th-emerald section > .eyebrow { text-align: center; margin-top: 5.5rem; }
.th-emerald section > .eyebrow + h3.t { margin-top: .5rem; }
.th-emerald h3.t { font-weight: 300; font-size: 2rem; letter-spacing: -.01em; text-align: center; margin: 4rem 0 0; }
.th-emerald .sub { text-align: center; color: var(--dim); max-width: 40rem; margin: .8rem auto 0; }
.th-emerald .sub b { color: var(--ink); }

/* Galeria: os 8 estilos em pílulas, o claro/escuro ao lado, e o papel dentro do celular com o relógio. */
.galeria { --pc: #7fe6b0; }
.gal-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: 1.8rem 0 1rem; }
.gal-tabs button, .gal-modo button { font: inherit; font-weight: 600; font-size: .95rem; color: var(--dim); cursor: pointer; display: inline-flex; align-items: center; gap: .55rem;
  padding: .6rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); transition: color .2s, border-color .2s, background .2s; }
.gal-tabs button::before { content: ""; width: .6rem; height: .6rem; border-radius: 2px; transform: rotate(45deg); border: 2px solid var(--mint); }
.gal-tabs button:hover, .gal-modo button:hover { color: var(--ink); }
.gal-tabs button[aria-selected="true"], .gal-modo button[aria-pressed="true"] { color: #03140c; background: var(--mint-hi); border-color: var(--mint-hi); }
.gal-tabs button[aria-selected="true"]::before { border-color: #1d8a5e; }
.gal-modo { display: flex; justify-content: center; gap: .4rem; margin-bottom: 2rem; }
.gal-modo button { padding: .45rem .95rem; font-size: .88rem; }
.gal-view { display: grid; grid-template-columns: 1fr auto 1fr; gap: 2.4rem; align-items: center; }
.gal-view .lado { display: grid; gap: .9rem; }
.gal-view .lado.esq { justify-items: end; }
.gal-view .lado img { width: 5.4rem; aspect-ratio: 360 / 800; border-radius: .9rem; border: 1px solid var(--line); opacity: .55; cursor: pointer;
  transition: opacity .3s, transform .3s; object-fit: cover; }
.gal-view .lado img:hover { opacity: .9; transform: translateY(-.2rem); }
.gal-tela { position: relative; width: 100%; height: 100%; border-radius: 2.05rem; overflow: hidden; background: #0a1a12; }
.gal-tela img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s ease; }
.gal-tela img.on { opacity: 1; }
.gal-hora { position: absolute; left: 0; right: 0; top: 16%; text-align: center; color: #fff; z-index: 1; text-shadow: 0 .1rem .6rem rgba(0, 0, 0, .35); transition: color .5s; }
.gal-hora b { display: block; font-size: 3.4rem; font-weight: 300; letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.gal-hora span { font-size: .85rem; opacity: .85; }
.gal-tela.claro .gal-hora { color: #11231a; text-shadow: none; }
.gal-cap { text-align: center; color: var(--dim); margin: 1.6rem auto 0; max-width: 40rem; min-height: 3.1em; }
.gal-cap b { color: var(--ink); }

/* Blocos de celular + texto. */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; margin-top: 6.5rem; }
.split.flip > :first-child { order: 2; }
.split h3 { font-weight: 300; font-size: 2.1rem; line-height: 1.1; letter-spacing: -.01em; margin: .5rem 0 .8rem; }
.split .lead { color: var(--dim); margin: 0 0 1.1rem; }
.split .lead.small { font-size: .95rem; margin-top: 1.1rem; }
.split .lead b { color: var(--ink); }
.split ul.marcas { margin: 0 0 1.2rem; padding: 0; list-style: none; display: grid; gap: .55rem; }
.split ul.marcas li { position: relative; padding-left: 1.4rem; color: var(--dim); }
.split ul.marcas li::before { content: ""; position: absolute; left: 0; top: .62em; width: .5rem; height: .5rem; border-radius: 2px; transform: rotate(45deg); background: var(--mint); }
.split ul.marcas li b { color: var(--ink); }
.pills { list-style: none; margin: 0 0 .6rem; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.pills li { padding: .3rem .75rem; border-radius: 999px; font-size: .85rem; border: 1px solid var(--line); background: rgba(196, 255, 224, .05); color: var(--dim); }
.pills.tracejado li { border-style: dashed; }
.pills-t { margin: 1rem 0 .45rem; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--mute); }

/* Cartões de recurso: o ícone em linha dentro de um anel fino da mesma cor, e a pedrinha do Emerald no canto. */
.th-emerald .feat { grid-template-columns: repeat(3, 1fr); }
.th-emerald .feat .glass { position: relative; overflow: hidden; padding: 1.4rem; }
.th-emerald .feat .glass::after { content: ""; position: absolute; right: -1rem; top: -1rem; width: 5.2rem; height: 5.2rem; opacity: .22; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%237fe6b0' stroke-width='1.6' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M18.1 11.5H29.9L34.5 16.1V31.9L29.9 36.5H18.1L13.5 31.9V16.1Z'/%3E%3Cpath d='M21.65 17.8H26.35L28.2 19.65V28.35L26.35 30.2H21.65L19.8 28.35V19.65Z'/%3E%3Cpath d='M45 24A21 6.2 0 0 1 3 24' transform='rotate(-21 24 24)'/%3E%3C/svg%3E") center / contain no-repeat; }
.th-emerald .dev .ic, .th-emerald .feat i { display: grid; place-items: center; border-radius: 50%; color: var(--c, var(--mint)); background: none;
  border: 1.5px solid color-mix(in srgb, var(--c, #7fe6b0) 55%, transparent); }
.th-emerald .dev .ic { width: 3.4rem; height: 3.4rem; }
.th-emerald .dev .ic svg { width: 1.7rem; height: 1.7rem; }
.th-emerald .feat i { width: 2.8rem; height: 2.8rem; margin-bottom: .5rem; }
.th-emerald .feat i svg { width: 1.4rem; height: 1.4rem; }
.th-emerald .feat span { color: var(--dim); }

/* Baixar: um cartão só, centralizado, com os passos. */
.th-emerald .get { margin-top: 6rem; padding-top: 1rem; scroll-margin-top: 4.2rem; }
.th-emerald .ask { font-weight: 300; font-size: 1.9rem; margin-bottom: .4rem; }
.th-emerald .get > .sub { margin-bottom: 2.2rem; }
.baixar { max-width: 46rem; margin: 0 auto; }
.baixar .linha { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: center; }
.baixar .icone { width: 5.6rem; height: 5.6rem; border-radius: 1.4rem; background: #000; display: grid; place-items: center;
  box-shadow: 0 0 0 1px rgba(196, 255, 224, .14), 0 1rem 2.4rem rgba(0, 0, 0, .5), 0 0 2.4rem rgba(127, 230, 176, .18); }
.baixar .icone img { width: 4.4rem; height: 4.4rem; }
.baixar h2 { margin: 0; }
.baixar .acts { display: flex; flex-wrap: wrap; gap: .7rem; }
.baixar .so-android { display: none; margin: 0; padding: .8rem 1rem; border-radius: .9rem; color: var(--dim); border: 1px dashed var(--line); }
.baixar.iphone .so-android { display: block; }
.th-emerald .all { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; margin: 2.4rem 0 0; }
.th-emerald .foot b { color: var(--ink); }

@media (max-width: 960px) {
  .th-emerald .feat { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts li:nth-child(3) { border-left: 0; padding-left: 0; }
  .gal-view { grid-template-columns: 1fr; gap: 1.4rem; }
  .gal-view .lado { display: none; }
  .gal-view .phone { margin: 0 auto; }
}
@media (max-width: 860px) {
  .th-emerald .page-hero { grid-template-columns: 1fr; text-align: center; padding-top: 2.4rem; }
  .th-emerald .page-hero p { margin-left: auto; }
  .th-emerald .hero-acts, .th-emerald .ver-row { justify-content: center; }
  .em-stage { min-height: 30rem; margin-top: .5rem; }
  .em-scene { width: 100%; }
  .split, .split.flip { grid-template-columns: 1fr; gap: 2.4rem; margin-top: 5rem; }
  .split.flip > :first-child { order: 0; }
}
@media (max-width: 560px) {
  .th-emerald .feat { grid-template-columns: 1fr; }
  .facts { padding: 1rem; }
  .facts b { font-size: 1.15rem; }
  .gal-tabs button { font-size: .85rem; padding: .5rem .85rem; }
  .split h3 { font-size: 1.7rem; }
  .th-emerald .page-hero h1 { font-size: 3.4rem; }
  .phones { gap: .7rem; }
  .phones .phone:nth-child(2) { margin-top: 2rem; }
  .baixar .linha { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .baixar .acts { flex-direction: column; }
  .baixar .acts .btn { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .phone.flutua, .em-scene .orb, .em-scene .tw { animation: none; } }

.th-emerald .dev summary::before { content: ""; width: .45rem; height: .45rem; border: solid currentColor; border-width: 0 1.8px 1.8px 0; transform: rotate(-45deg); margin-right: .15rem; }
.th-emerald .dev details[open] summary::before { transform: rotate(45deg); }
