/* ============ TATTOOFY · página de vendas ============ */

:root{
  --bg:        #09090A;
  --bg-soft:   #101012;
  --card:      #141416;
  --text:      #ECECEC;
  --text-dim:  #8B8B90;
  --line:      rgba(255,255,255,.10);
  --line-soft: rgba(255,255,255,.055);
  --gold:      #C2A15C;   /* dourado old money, dessaturado, uso mínimo */
  --white:     #FFFFFF;
  --red:       #E50914;   /* vermelho Netflix, só na seção de planos */
  --red-dim:   #8C0710;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --wrap: 1200px;
  --pad: clamp(20px, 5vw, 64px);
}

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

html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }

body{
  background:var(--bg);
  color:var(--text);
  font-family:var(--sans);
  font-weight:400;
  line-height:1.6;
  font-size:clamp(15px,1vw + 12px,17px);
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }

/* ---- grão de filme ---- */
.grain{
  position:fixed; inset:-50%;
  width:200%; height:200%;
  pointer-events:none;
  z-index:9999;
  opacity:.045;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation:grain 7s steps(6) infinite;
}
@keyframes grain{
  0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)}
  40%{transform:translate(2%,-4%)} 60%{transform:translate(-2%,3%)}
  80%{transform:translate(3%,1%)} 100%{transform:translate(0,0)}
}

/* ---- reveal on scroll ---- */
.reveal{ opacity:0; transform:translateY(26px); transition:opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in{ opacity:1; transform:none; }

@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  .reveal{ opacity:1; transform:none; transition:none; }
  .grain{ animation:none; }
  .frame::after{ animation:none; opacity:0; }
  .device .frame img{ animation:none; transform:none; }
  .device-desktop, .device-mobile{ transition:opacity .15s linear; }
  .device-stage{ transition:none; animation:none; }
  .hero-shot .frame{ animation:none; }
  .plano-card{ animation:none; }
}

/* ============ NAV ============ */
.nav{
  position:fixed; top:0; left:0; right:0; z-index:100;
  display:flex; align-items:center; justify-content:space-between;
  padding:18px var(--pad);
  backdrop-filter:blur(10px);
  background:linear-gradient(180deg, rgba(9,9,10,.85), rgba(9,9,10,0));
  transition:background .3s, border-color .3s;
  border-bottom:1px solid transparent;
}
.nav.scrolled{ background:rgba(9,9,10,.9); border-bottom-color:var(--line-soft); }

.wordmark{
  font-family:var(--sans);
  font-weight:800;
  letter-spacing:.28em;
  font-size:15px;
  color:var(--white);
}
.wordmark.small{ font-size:13px; letter-spacing:.24em; }

.nav-cta{
  font-size:13px; font-weight:600;
  letter-spacing:.04em;
  padding:9px 18px;
  border:1px solid var(--line);
  border-radius:999px;
  color:var(--text);
  transition:border-color .25s, color .25s;
}
.nav-cta:hover{ border-color:var(--gold); color:var(--white); }

/* ============ botões ============ */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  font-family:var(--sans); font-weight:600; font-size:15px;
  letter-spacing:.01em;
  padding:15px 30px;
  background:var(--white); color:#0A0A0A;
  border:1px solid var(--white);
  border-radius:999px;
  transition:transform .2s, background .2s, color .2s;
}
.btn:hover{ transform:translateY(-2px); }
.btn.ghost{
  background:transparent; color:var(--text);
  border-color:var(--line);
}
.btn.ghost:hover{ border-color:var(--gold); color:var(--white); }
.btn.big{ padding:19px 44px; font-size:17px; }
.cta-final .btn.big{
  background:var(--red); color:var(--white); border-color:var(--red);
}
.cta-final .btn.big:hover{ background:var(--red-dim); border-color:var(--red-dim); }

/* ============ HERO ============ */
.hero{
  max-width:var(--wrap); margin:0 auto;
  padding:clamp(130px,18vh,190px) var(--pad) clamp(60px,10vh,110px);
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);
  gap:clamp(32px,5vw,64px);
  align-items:center;
}
.eyebrow{
  font-size:12px; letter-spacing:.22em; text-transform:uppercase;
  color:var(--gold); font-weight:600;
  margin-bottom:26px;
}
.hero h1{
  font-family:var(--serif);
  font-weight:900;
  font-size:clamp(40px,6.4vw,74px);
  line-height:1.02;
  letter-spacing:-.015em;
  color:var(--white);
}
/* acima de 920px o hero vira 2 colunas e o h1 fica só com ~45% da largura,
   mas o clamp acima é calculado em cima da viewport inteira, então o texto
   estourava em 6 linhas dentro da coluna estreita. Reduzido só pra esse
   regime de layout. */
@media (min-width:921px){
  .hero h1{ font-size:clamp(30px, 3.4vw, 42px); }
}
.hero .lead{
  margin-top:26px;
  max-width:30em;
  color:var(--text-dim);
  font-size:clamp(15px,1.1vw,18px);
}
.hero-actions{ display:flex; flex-wrap:wrap; gap:14px; margin-top:34px; }

.hero-selo{
  margin-top:30px;
  font-size:13px; color:var(--text-dim);
  display:flex; align-items:center; gap:9px;
}
.dot{
  width:7px; height:7px; border-radius:50%;
  background:var(--red);
  box-shadow:0 0 0 4px rgba(229,9,20,.18);
  flex:none;
}

/* ---- frame de screenshot ---- */
.frame{
  position:relative;
  border-radius:18px;
  border:1px solid var(--line);
  background:var(--card);
  overflow:hidden;
  box-shadow:0 40px 80px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.02) inset;
}
.frame img{ width:100%; }

/* brilho lento cruzando a tela, tipo reflexo de luz no monitor */
.frame::after{
  content:"";
  position:absolute; inset:0;
  pointer-events:none;
  background:linear-gradient(112deg,
    transparent 38%,
    rgba(255,255,255,.04) 47%,
    rgba(255,255,255,.10) 50%,
    rgba(255,255,255,.04) 53%,
    transparent 62%);
  transform:translateX(-130%);
  animation:sheen 11s ease-in-out infinite;
  animation-delay:var(--sheen-delay, 0s);
  mix-blend-mode:overlay;
}
@keyframes sheen{
  0%, 74%  { transform:translateX(-130%); }
  88%      { transform:translateX(130%); }
  100%     { transform:translateX(130%); }
}

.frame-app .frame-bar{
  display:flex; align-items:center; gap:7px;
  padding:11px 15px;
  border-bottom:1px solid var(--line-soft);
  background:#0E0E10;
}
.frame-app .frame-bar span{
  width:9px; height:9px; border-radius:50%;
  background:rgba(255,255,255,.14);
}
.frame-app .frame-bar em{
  margin-left:12px;
  font-style:normal; font-size:11px; letter-spacing:.03em;
  color:var(--text-dim);
}

.hero-shot{ perspective:1400px; }
.hero-shot .frame{ animation:floaty 9s ease-in-out infinite; }
@keyframes floaty{
  0%,100%{ transform:translateY(0) }
  50%{ transform:translateY(-12px) }
}
@media (prefers-reduced-motion:reduce){ .hero-shot .frame{ animation:none; } }

/* ============ BRIDGE ============ */
.bridge{
  max-width:960px; margin:0 auto;
  padding:clamp(70px,12vh,130px) var(--pad);
  text-align:center;
}
.bridge p{
  font-family:var(--serif);
  font-weight:400;
  font-size:clamp(22px,3.2vw,38px);
  line-height:1.32;
  color:#B9B9BE;
}
.bridge p span{ color:var(--white); font-weight:500; }

/* ============ MÓDULO ============ */
.modulo{
  max-width:var(--wrap); margin:0 auto;
  padding:clamp(50px,9vh,110px) var(--pad);
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:clamp(30px,5vw,72px);
  align-items:center;
}
.modulo.reverse .modulo-shot{ order:2; }
.modulo.reverse .modulo-copy{ order:1; }

/* ---- palco Desktop / Mobile ---- */
.device-stage{
  position:relative;
  width:100%;
  height:420px;
  display:flex; align-items:center; justify-content:center;
  transition:height .5s cubic-bezier(.2,.7,.2,1);
}
.device[data-view="mobile"] .device-stage{ height:588px; }
/* CRM: compacta so o desktop; no mobile o iPhone precisa dos 588px cheios
   (senao a ficha do cliente vaza por cima do toggle) */
.modulo.crm .device[data-view="desktop"] .device-stage{ height:470px; }

/* todos os prints do sistema flutuam devagar, igual o print do hero */
.device-stage{
  animation:floaty 9s ease-in-out infinite;
  animation-delay:var(--float-delay, 0s);
}

.device-desktop,
.device-mobile{
  position:absolute;
  transition:opacity .45s cubic-bezier(.2,.7,.2,1),
             transform .5s cubic-bezier(.2,.7,.2,1);
}
.device-desktop{ width:100%; max-width:560px; }
.device-mobile{ transform-origin:center; }

/* estado desktop (padrao) */
.device[data-view="desktop"] .device-mobile{
  opacity:0; transform:scale(.86) translateY(14px); pointer-events:none;
}
.device[data-view="desktop"] .device-desktop{
  opacity:1; transform:none;
}
.device[data-view="desktop"] .device-desktop{ transition-delay:.06s; }

/* estado mobile */
.device[data-view="mobile"] .device-desktop{
  opacity:0; transform:scale(.94) translateY(-10px); pointer-events:none;
}
.device[data-view="mobile"] .device-mobile{
  opacity:1; transform:none;
}
.device[data-view="mobile"] .device-mobile{ transition-delay:.06s; }

.device .frame{ overflow:hidden; }
.device .frame img{
  max-height:500px;
  object-fit:cover;
  object-position:top;
}
.modulo.crm .device .frame img{ max-height:440px; object-position:center; }
.modulo.crm .device .frame{ background:#0C0C0E; }

/* ---- iPhone 17 Pro ---- */
.phone{
  width:min(266px, 64vw);
  aspect-ratio:266 / 562;           /* frame; tela interna fica ~0.462, igual iPhone */
  border-radius:44px;
  padding:6px;
  background:linear-gradient(150deg,#48484c 0%,#1c1c1e 32%,#0c0c0d 100%);
  box-shadow:
    0 44px 90px -30px rgba(0,0,0,.85),
    inset 0 0 0 1px rgba(255,255,255,.08),
    inset 0 0 20px rgba(0,0,0,.5);
}
.phone-screen{
  position:relative;
  width:100%; height:100%;
  border-radius:38px;
  overflow:hidden;
  background:#000;
}
.phone-screen img{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover; object-position:top;
}
.phone-screen::before{                /* barra de status / safe area */
  content:""; position:absolute; top:0; left:0; right:0; height:26px;
  background:#000; z-index:2;
}
.phone-island{
  position:absolute; top:11px; left:50%; transform:translateX(-50%);
  width:30%; height:13px;
  background:#000;
  border-radius:8px;
  z-index:3;
}
/* botoes laterais discretos */
.phone::before,
.phone::after{
  content:""; position:absolute; width:3px; border-radius:2px;
  background:#2b2b2f;
}
.phone::before{ left:-2px; top:22%; height:13%; box-shadow:0 40px 0 #2b2b2f; }
.phone::after{ right:-2px; top:28%; height:10%; }

/* ---- botao Mobile / Desktop ---- */
.device-toggle{
  display:flex;
  gap:3px;
  margin:26px auto 0;
  padding:4px;
  width:max-content;
  border:1px solid var(--line);
  border-radius:999px;
  background:var(--bg-soft);
}
.device-toggle button{
  font:600 11px/1 var(--sans);
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--text-dim);
  background:transparent;
  border:0;
  cursor:pointer;
  padding:9px 20px;
  border-radius:999px;
  transition:background .25s, color .25s;
}
.device-toggle button:hover{ color:var(--text); }
.device-toggle button[aria-selected="true"]{
  background:var(--white);
  color:#0a0a0a;
}

.kicker{
  display:flex; align-items:center; gap:12px;
  font-size:12px; letter-spacing:.18em; text-transform:uppercase;
  color:var(--text-dim); font-weight:600;
  margin-bottom:20px;
}
.kicker span{
  font-family:var(--serif);
  color:var(--red);
  font-size:13px; letter-spacing:0;
}
.modulo-copy h2{
  font-family:var(--serif);
  font-weight:600;
  font-size:clamp(26px,3.6vw,40px);
  line-height:1.14;
  letter-spacing:-.01em;
  color:var(--white);
  margin-bottom:20px;
}
.modulo-copy p{ color:#AEAEB2; max-width:30em; font-size:clamp(15px,1.1vw,17px); }
.modulo-copy p + p{ margin-top:14px; }
.modulo-copy .muted{ color:#77777C; font-size:.94em; }

/* ============ PASSOS ============ */
.passos{
  max-width:var(--wrap); margin:0 auto;
  padding:clamp(60px,11vh,130px) var(--pad);
}
.passos-title{
  font-family:var(--serif);
  font-weight:600;
  font-size:clamp(24px,3.4vw,38px);
  color:var(--white);
  margin-bottom:clamp(34px,5vh,60px);
}
.passos ol{ list-style:none; display:grid; grid-template-columns:repeat(4,1fr); gap:2px; background:var(--line-soft); border:1px solid var(--line-soft); border-radius:16px; overflow:hidden; }
.passos li{ background:var(--bg); padding:clamp(22px,2.6vw,34px); }
.passos .num{
  font-family:var(--serif);
  font-size:15px; color:var(--red);
  display:block; margin-bottom:20px;
  border:1px solid var(--red);
  width:34px; height:34px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
}
.passos h3{
  font-family:var(--sans); font-weight:700;
  font-size:16px; color:var(--white);
  margin-bottom:9px;
}
.passos p{ font-size:14px; color:var(--text-dim); }

/* ============ PROVA SOCIAL ============ */
.prova{
  max-width:900px; margin:0 auto;
  padding:clamp(50px,9vh,110px) var(--pad);
  text-align:center;
}
.prova blockquote p{
  font-family:var(--serif);
  font-weight:400;
  font-size:clamp(21px,3vw,34px);
  line-height:1.4;
  color:var(--white);
  letter-spacing:-.005em;
}
.prova footer{ margin-top:28px; display:flex; flex-direction:column; gap:5px; }
.prova .quem{ font-weight:700; font-size:15px; }
.prova .onde{ font-size:13px; color:var(--text-dim); }
.prova-selo{
  margin-top:26px;
  display:inline-flex; align-items:center; gap:9px;
  font-size:12px; color:var(--text-dim);
  letter-spacing:.04em;
}

/* ============ PLANOS / PREÇO ============ */
.planos{
  max-width:var(--wrap); margin:0 auto;
  padding:clamp(50px,9vh,110px) var(--pad);
  text-align:center;
}
.kicker.centro{ justify-content:center; }
.planos-title{
  font-family:var(--serif);
  font-weight:600;
  font-size:clamp(28px,4vw,44px);
  line-height:1.16;
  letter-spacing:-.01em;
  color:var(--white);
  margin-bottom:20px;
}
.planos-lead{
  color:var(--text-dim);
  max-width:36em; margin:0 auto 50px;
  font-size:clamp(15px,1.1vw,17px);
}

.planos-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:22px;
  max-width:1020px;
  margin:0 auto;
  text-align:left;
  align-items:stretch;
}
.plano-card{
  position:relative;
  display:flex; flex-direction:column;
  padding:clamp(28px,3vw,36px) clamp(22px,2.6vw,28px);
  border:1px solid var(--line);
  border-radius:20px;
  background:var(--card);
  animation:plano-flutuar 4.2s ease-in-out infinite;
}
@keyframes plano-flutuar{
  0%,100%{ transform:translateY(0); }
  50%{ transform:translateY(-9px); }
}
.plano-destaque{
  border-color:var(--red);
  background:linear-gradient(180deg, rgba(229,9,20,.08), var(--card) 40%);
  box-shadow:0 0 0 1px var(--red), 0 20px 60px -20px rgba(229,9,20,.35);
}
.plano-badge{
  position:absolute; top:-13px; left:50%; transform:translateX(-50%);
  background:var(--red); color:var(--white);
  font-size:11px; font-weight:700; letter-spacing:.06em; text-transform:uppercase;
  padding:6px 16px; border-radius:999px;
  white-space:nowrap;
}
.plano-nome{
  font-family:var(--sans); font-weight:800;
  font-size:15px; letter-spacing:.04em; text-transform:uppercase;
  color:var(--white);
  margin-bottom:14px;
}
.plano-preco{
  font-family:var(--serif);
  font-weight:900;
  font-size:clamp(34px,4vw,42px);
  line-height:1;
  color:var(--white);
  margin-bottom:14px;
}
.plano-preco .cifra{
  font-size:.4em; vertical-align:top;
  margin-right:3px; color:var(--red);
}
.plano-preco .mes{
  font-family:var(--sans); font-weight:600;
  font-size:.32em; color:var(--text-dim);
  margin-left:3px;
}
.plano-desc{ color:var(--text-dim); font-size:14px; margin-bottom:4px; }
.plano-limite{ color:var(--text); font-weight:600; font-size:14px; margin-bottom:22px; }
.plano-lista{
  list-style:none;
  display:grid; gap:11px;
  margin-bottom:30px;
  flex:1;
}
.plano-lista li{
  position:relative;
  padding-left:26px;
  color:var(--text);
  font-size:14px; line-height:1.5;
}
.plano-lista li::before{
  content:"✓";
  position:absolute; left:0; top:0;
  color:var(--red); font-weight:700;
}
.plano-cta{ width:100%; }
.plano-destaque .plano-cta{
  background:var(--red); color:var(--white); border-color:var(--red);
}

.planos-fina{ margin-top:36px; color:var(--text-dim); font-size:13px; }

/* ============ CTA FINAL ============ */
.cta-final{
  max-width:820px; margin:0 auto;
  padding:clamp(60px,12vh,150px) var(--pad) clamp(80px,14vh,170px);
  text-align:center;
}
.cta-final h2{
  font-family:var(--serif);
  font-weight:900;
  font-size:clamp(28px,4.4vw,52px);
  line-height:1.1;
  letter-spacing:-.015em;
  color:var(--white);
  margin-bottom:34px;
}
.cta-final .muted{ margin-top:20px; color:var(--text-dim); font-size:14px; }

.cta-final-actions{ display:flex; flex-wrap:wrap; gap:14px; justify-content:center; }
.btn[hidden]{ display:none; }
.ios-instrucao{
  margin-top:16px; color:var(--text-dim); font-size:13.5px;
  max-width:420px; margin-left:auto; margin-right:auto;
}
.ios-instrucao[hidden]{ display:none; }
.ios-instrucao strong{ color:var(--text); font-weight:600; }

/* ============ RODAPÉ ============ */
.rodape{
  border-top:1px solid var(--line-soft);
  padding:34px var(--pad);
  display:flex; flex-wrap:wrap; align-items:center; gap:8px 20px;
  font-size:12px; color:var(--text-dim);
}
.rodape a{ color:var(--text-dim); }
.rodape a:hover{ color:var(--gold); }
.rodape .wordmark{ color:var(--text); }

/* ============ RESPONSIVO ============ */
@media (max-width:920px){
  .hero{ grid-template-columns:1fr; padding-top:120px; }
  .hero-shot{ order:-1; }
  .modulo{ grid-template-columns:1fr; }
  .modulo.reverse .modulo-shot{ order:-1; }
  .modulo.reverse .modulo-copy{ order:0; }
  .modulo-copy p{ max-width:none; }
  .device-stage{ height:320px; }
  .device[data-view="mobile"] .device-stage{ height:560px; }
  .phone{ width:min(240px, 62vw); }
  .passos ol{ grid-template-columns:1fr 1fr; }
  .planos-grid{ grid-template-columns:1fr; max-width:420px; }
}
@media (max-width:560px){
  .passos ol{ grid-template-columns:1fr; }
  .hero-actions{ flex-direction:column; align-items:stretch; }
  .btn{ width:100%; }
  .nav-cta{ padding:8px 14px; }
  .hero h1{ font-size:clamp(20px, 6vw, 30px); }
}

/* ---- celular: sem toggle, so o print mobile do sistema ---- */
@media (max-width:767px){
  .device-toggle{ display:none; }

  .device[data-view="desktop"] .device-desktop,
  .device[data-view="mobile"]  .device-desktop{ display:none; }

  .device[data-view="desktop"] .device-mobile,
  .device[data-view="mobile"]  .device-mobile{
    position:relative;
    opacity:1;
    transform:none;
    pointer-events:auto;
    transition-delay:0s;
  }

  .device-stage,
  .device[data-view="mobile"] .device-stage,
  .modulo.crm .device[data-view="desktop"] .device-stage{ height:auto; }
}
