/* =====================================================================
   Método V30 · camada de conversão (depoimentos, barra fixa, popup de saída)
   Tudo aqui usa o prefixo .atb- para não conflitar com o CSS do site.
   ===================================================================== */
:root {
  --atb-gold: #c9a84c;
  --atb-gold-l: #f0d080;
  --atb-purple: #9b59b6;
  --atb-bg: #080810;
  --atb-bg2: #1a0a2e;
  --atb-chat: #efe9df;
  --atb-serif: "Playfair Display", serif;
}

/* ---------- base das seções ---------- */
.atb-sec { position: relative; padding: 4rem 0; overflow: hidden; font-family: Inter, sans-serif; }
.atb-wrap { max-width: 24rem; margin: 0 auto; padding: 0 1.25rem; position: relative; z-index: 1; }
.atb-glow { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 0%, rgba(155, 89, 182, .2) 0%, transparent 60%); }
.atb-eyebrow { display: block; text-align: center; font-size: 10px; font-weight: 900; letter-spacing: .25em;
  text-transform: uppercase; color: var(--atb-purple); }
.atb-h2 { font-family: var(--atb-serif); font-weight: 900; font-size: 1.9rem; line-height: 1.2; color: #fff;
  text-align: center; margin-top: .5rem; }
.atb-h2 em { font-style: italic; -webkit-text-fill-color: transparent;
  background: linear-gradient(135deg, #9b59b6, #d070ff 60%, #9b59b6); -webkit-background-clip: text; background-clip: text; }
.atb-sub { text-align: center; color: rgba(255, 255, 255, .55); font-size: 13px; line-height: 1.6; margin-top: .75rem; }
.atb-orn { display: flex; align-items: center; justify-content: center; gap: .75rem; padding: .5rem 0; }
.atb-orn i { height: 1px; width: 60px; background: linear-gradient(to right, transparent, rgba(155, 89, 182, .5)); }
.atb-orn i:last-child { transform: scaleX(-1); }
.atb-orn b { width: 8px; height: 8px; transform: rotate(45deg); background: var(--atb-purple); opacity: .7; }

/* entrada suave */
.atb-rv { opacity: 0; transform: translateY(28px); transition: opacity .75s cubic-bezier(.22, 1, .36, 1), transform .75s cubic-bezier(.22, 1, .36, 1); }
.atb-rv.atb-in { opacity: 1; transform: none; }

/* ---------- frase em destaque ---------- */
.atb-quote { margin-top: 2rem; padding: 1.6rem 1.4rem 1.3rem; border-radius: 1.25rem; text-align: center;
  background: linear-gradient(160deg, rgba(74, 26, 110, .45), rgba(26, 10, 46, .7));
  border: 1px solid rgba(201, 168, 76, .28); box-shadow: 0 20px 50px -20px rgba(155, 89, 182, .45); }
.atb-quote p { font-family: var(--atb-serif); font-style: italic; font-weight: 700; font-size: 1.45rem; line-height: 1.3; color: #fff; }
.atb-quote p span { -webkit-text-fill-color: transparent;
  background: linear-gradient(135deg, #c9a84c, #f0d080, #c9a84c); -webkit-background-clip: text; background-clip: text; }
.atb-quote small { display: block; margin-top: .9rem; font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  font-weight: 700; color: var(--atb-gold); }
.atb-quote small i { font-style: normal; color: rgba(255, 255, 255, .4); font-weight: 500; text-transform: none; letter-spacing: 0; }

/* ---------- carrossel de prints ---------- */
.atb-label { margin: 2.25rem 0 .9rem; text-align: center; font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  font-weight: 800; color: rgba(255, 255, 255, .4); }
.atb-car { position: relative; }
.atb-track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  padding: 6px max(1.25rem, calc((100% - 21.5rem) / 2)) 14px; scrollbar-width: none; }
.atb-track::-webkit-scrollbar { display: none; }
.atb-print { flex: 0 0 auto; width: 15.5rem; scroll-snap-align: center; border: 0; padding: 0; cursor: zoom-in; text-align: left;
  border-radius: 1.4rem; overflow: hidden; background: #14101f; border: 1px solid rgba(201, 168, 76, .3);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .9); transition: transform .35s ease, opacity .35s ease; opacity: .55; transform: scale(.94); }
.atb-print.atb-on { opacity: 1; transform: none; }
.atb-print-top { display: flex; align-items: center; gap: 8px; padding: 9px 12px; background: #1d1630; }
.atb-print-top i { width: 8px; height: 8px; border-radius: 50%; background: #25d366; box-shadow: 0 0 8px #25d366; }
.atb-print-top span { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.atb-print-img { height: 21rem; background: var(--atb-chat); display: flex; align-items: center; justify-content: center; }
.atb-print-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.atb-print-cap { padding: 10px 13px 12px; }
.atb-print-cap b { display: block; color: #fff; font-size: 12.5px; font-weight: 700; }
.atb-print-cap span { display: block; color: rgba(255, 255, 255, .45); font-size: 10.5px; margin-top: 1px; }
.atb-dots { display: flex; justify-content: center; gap: 6px; margin-top: 6px; }
.atb-dots i { width: 6px; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .18); transition: all .3s; }
.atb-dots i.atb-on { width: 22px; background: linear-gradient(90deg, #c9a84c, #f0d080); }
.atb-hint { text-align: center; color: rgba(255, 255, 255, .3); font-size: 10.5px; margin-top: .7rem; }

/* ---------- alunas certificadas (esteira) ---------- */
.atb-marq { overflow: hidden; padding: 10px 0 6px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.atb-marq-in { display: flex; gap: 14px; width: max-content; animation: atb-marq 38s linear infinite; }
.atb-marq:hover .atb-marq-in { animation-play-state: paused; }
.atb-cert { width: 9.5rem; flex: 0 0 auto; border-radius: 1rem; overflow: hidden; border: 1px solid rgba(201, 168, 76, .35);
  background: #14101f; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .9); }
.atb-cert:nth-child(odd) { transform: rotate(-1.6deg); }
.atb-cert:nth-child(even) { transform: rotate(1.6deg) translateY(6px); }
.atb-cert img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
@keyframes atb-marq { to { transform: translateX(calc(-50% - 7px)); } }

/* ---------- botão ---------- */
.atb-cta { display: flex; align-items: center; justify-content: center; width: 100%; padding: 1.15rem 1rem; margin-top: 2rem;
  border-radius: 1rem; color: #0d0a06; font-weight: 900; font-size: 15px; letter-spacing: .05em; text-transform: uppercase;
  text-align: center; text-decoration: none; box-shadow: 0 20px 40px -12px rgba(201, 168, 76, .45);
  background: linear-gradient(90deg, #8b5e1a, #c9a84c 20%, #f0d080, #c9a84c 80%, #8b5e1a) 0 0 / 200%;
  animation: atb-shim 2.5s linear infinite; }
@keyframes atb-shim { to { background-position: 200% 0; } }
.atb-safe { text-align: center; color: rgba(255, 255, 255, .3); font-size: 11px; margin-top: .75rem; }

/* ---------- adicionais do checkout ---------- */
.atb-bumps { padding: 0 0 1rem; font-family: Inter, sans-serif; }
.atb-bumps-box { padding: 1.25rem; border-radius: 1.1rem; background: rgba(26, 10, 46, .5); border: 1px dashed rgba(201, 168, 76, .35); }
.atb-bumps-box > span { display: inline-block; font-size: 9px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase;
  color: #0d0a06; background: linear-gradient(135deg, #c9a84c, #f0d080); padding: 3px 9px; border-radius: 99px; }
.atb-bumps-box h3 { font-family: var(--atb-serif); font-weight: 900; font-size: 1.2rem; line-height: 1.3; color: #fff; margin: .7rem 0 .35rem; }
.atb-bumps-box h3 em { font-style: italic; color: var(--atb-gold-l); }
.atb-bumps-box > p { color: rgba(255, 255, 255, .55); font-size: 12.5px; line-height: 1.55; }
.atb-bumps-box ul { list-style: none; margin: .9rem 0 0; padding: 0; display: grid; gap: .55rem; }
.atb-bumps-box li { display: flex; gap: .7rem; align-items: flex-start; padding: .7rem .8rem; border-radius: .8rem;
  background: rgba(8, 8, 16, .55); border: 1px solid rgba(255, 255, 255, .06); }
.atb-bumps-box li i { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid var(--atb-gold);
  display: grid; place-items: center; color: var(--atb-gold); font-style: normal; font-size: 13px; font-weight: 900; line-height: 1; }
.atb-bumps-box li b { display: block; color: #fff; font-size: 13px; }
.atb-bumps-box li span { display: block; color: rgba(255, 255, 255, .5); font-size: 11.5px; line-height: 1.45; margin-top: 1px; }
.atb-bumps-box small { display: block; margin-top: .9rem; color: rgba(255, 255, 255, .35); font-size: 10.5px; line-height: 1.5; }
html.atb-no-bumps .atb-bumps { display: none; }

/* ---------- zoom do print ---------- */
.atb-lb { position: fixed; inset: 0; z-index: 90; display: none; align-items: center; justify-content: center; padding: 3.2rem 1rem 1.5rem;
  background: rgba(5, 4, 10, .93); cursor: zoom-out; }
.atb-lb.atb-open { display: flex; }
.atb-lb img { max-width: 100%; max-height: 100%; border-radius: 14px; background: var(--atb-chat); box-shadow: 0 30px 80px rgba(0, 0, 0, .8); }
.atb-x { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .08); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; }

/* ---------- barra fixa ---------- */
.atb-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; align-items: center; gap: 12px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); font-family: Inter, sans-serif;
  background: rgba(10, 7, 20, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid rgba(201, 168, 76, .3); transform: translateY(110%); transition: transform .4s cubic-bezier(.22, 1, .36, 1); }
.atb-sticky.atb-show { transform: none; }
.atb-sticky-t { flex: 1; min-width: 0; }
.atb-sticky-t b { display: block; color: #fff; font-size: 13px; font-weight: 800; white-space: nowrap; }
.atb-sticky-t b em { font-style: normal; color: var(--atb-gold-l); }
.atb-sticky-t span { display: block; color: rgba(255, 255, 255, .5); font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.atb-sticky a { flex: 0 0 auto; padding: 12px 18px; border-radius: 12px; color: #0d0a06; font-weight: 900; font-size: 12.5px;
  letter-spacing: .05em; text-transform: uppercase; text-decoration: none;
  background: linear-gradient(90deg, #8b5e1a, #c9a84c 20%, #f0d080, #c9a84c 80%, #8b5e1a) 0 0 / 200%; animation: atb-shim 2.5s linear infinite; }
@media (min-width: 640px) { .atb-sticky { justify-content: center; } .atb-sticky-t { flex: 0 0 auto; } }

/* ---------- popup de saída ---------- */
.atb-pop { position: fixed; inset: 0; z-index: 80; display: none; align-items: flex-end; justify-content: center;
  background: rgba(5, 4, 10, .78); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); font-family: Inter, sans-serif; }
.atb-pop.atb-open { display: flex; animation: atb-fade .3s ease; }
.atb-pop-card { position: relative; width: 100%; max-width: 25rem; padding: 2rem 1.4rem calc(1.4rem + env(safe-area-inset-bottom));
  border-radius: 1.6rem 1.6rem 0 0; text-align: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(155, 89, 182, .35), transparent 65%), linear-gradient(180deg, #1a0a2e, #0b0814);
  border: 1px solid rgba(201, 168, 76, .35); border-bottom: 0; animation: atb-up .45s cubic-bezier(.22, 1, .36, 1); }
@media (min-width: 640px) { .atb-pop { align-items: center; } .atb-pop-card { border-radius: 1.6rem; border-bottom: 1px solid rgba(201, 168, 76, .35); } }
.atb-pop-seal { width: 58px; height: 58px; margin: 0 auto .9rem; border-radius: 50%; display: grid; place-items: center;
  border: 2px solid rgba(201, 168, 76, .5); background: rgba(201, 168, 76, .1); color: var(--atb-gold-l);
  font-family: var(--atb-serif); font-weight: 900; font-size: 1.35rem; }
.atb-pop-card h3 { font-family: var(--atb-serif); font-weight: 900; font-size: 1.55rem; line-height: 1.2; color: #fff; }
.atb-pop-card h3 em { font-style: italic; color: var(--atb-gold-l); }
.atb-pop-card > p { color: rgba(255, 255, 255, .65); font-size: 13.5px; line-height: 1.6; margin-top: .7rem; }
.atb-pop-card > p b { color: #fff; }
.atb-pop-card ul { list-style: none; margin: 1.1rem 0 0; padding: 0; display: grid; gap: .45rem; text-align: left; }
.atb-pop-card li { display: flex; gap: .6rem; color: rgba(255, 255, 255, .8); font-size: 12.5px; line-height: 1.45; }
.atb-pop-card li::before { content: "✓"; color: var(--atb-gold); font-weight: 900; }
.atb-pop-card .atb-cta { margin-top: 1.4rem; }
.atb-pop-no { display: block; width: 100%; margin-top: .8rem; background: none; border: 0; color: rgba(255, 255, 255, .4);
  font-size: 12px; text-decoration: underline; cursor: pointer; padding: .4rem; }
@keyframes atb-fade { from { opacity: 0; } }
@keyframes atb-up { from { transform: translateY(40px); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .atb-marq-in, .atb-cta, .atb-sticky a { animation: none; }
  .atb-rv { opacity: 1; transform: none; transition: none; }
  .atb-marq { overflow-x: auto; }
}

.atb-pop-card:focus { outline: none; }
.atb-print:focus-visible, .atb-cta:focus-visible, .atb-sticky a:focus-visible, .atb-x:focus-visible, .atb-pop-no:focus-visible { outline: 2px solid #f0d080; outline-offset: 3px; }
