/* ===== IDENTIDADE ===== */
:root {
  --bg: #000;
  --surface: #0a0a0a;
  --border: #1f1f1f;
  --border-hover: #3a3a3a;
  --white: #fff;
  --muted: #7a7a7a;
  --soft: #bdbdbd;
  --light-bg: #f3f3f1;
  --ink: #111;
  --ink-muted: #6b6b6b;
  --font: 'Poppins', sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--soft);
  font-family: var(--font);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.label { display: block; font-size: .85rem; color: #8a8a8a; margin-bottom: 16px; }

h1, h2, h3 { color: var(--white); font-weight: 700; letter-spacing: -0.035em; }
h2 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); line-height: 1.05; }

/* ===== BOTÕES ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s, background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--black { background: #000; color: #fff; text-align: center; width: 100%; padding: 16px 24px; }
.btn--black:hover { background: #222; }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }

.link-arrow { color: var(--white); font-weight: 500; font-size: 1.05rem; }
.link-arrow span { display: inline-block; transition: transform .2s; }
.link-arrow:hover span { transform: translateX(4px); }

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s;
}
.header.scrolled {
  background: rgba(0, 0, 0, .85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 84px;
  transition: height .3s;
}
.header.scrolled .header__inner { height: 68px; }

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}
.logo img { height: 30px; width: auto; }

.nav { display: flex; align-items: center; gap: 36px; margin-left: auto; }
.nav a {
  position: relative;
  color: var(--soft);
  font-weight: 500;
  font-size: .95rem;
  padding: 6px 0;
  transition: color .2s;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--white);
  transition: width .25s;
}
.nav a:hover,
.nav a.active { color: var(--white); }
.nav a:hover::after,
.nav a.active::after { width: 100%; }

.header__actions { display: flex; align-items: center; gap: 12px; }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 24px; height: 2px;
  margin: 0 auto;
  background: var(--white);
  transition: transform .3s, opacity .3s;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Seletor de idioma */
.lang {
  display: flex;
  gap: 2px;
  padding: 4px;
  border: 1px solid #2a2a2a;
  border-radius: 999px;
}
.lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 12px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font);
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.lang__btn:hover { color: var(--white); }
.lang__btn.active { background: #1f1f1f; color: var(--white); }

.flag {
  display: block;
  width: 20px; height: 14px;
  border-radius: 3px;
  overflow: hidden;
  opacity: .5;
  transition: opacity .2s;
}
.flag svg { display: block; width: 100%; height: 100%; }
.lang__btn.active .flag,
.lang__btn:hover .flag { opacity: 1; }

/* ===== TOPO ===== */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding: 110px 0 80px;
  display: flex;
  align-items: center;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 5rem);
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 40px;
}

/* Globo */
.globe-wrap {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1;
  margin-left: auto;
  align-self: center;
}
.globe-wrap::before {
  content: '';
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.22) 0%, rgba(255,255,255,.06) 50%, transparent 72%);
  filter: blur(40px);
  pointer-events: none;
}
#globe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: pan-y;
}
#globe:active { cursor: grabbing; }

.hint {
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  font-size: .8rem;
  color: #8a8a8a;
  white-space: nowrap;
  pointer-events: none;
}

/* ===== SEÇÕES ===== */
.section { padding: 130px 0; }

/* ===== SERVIÇOS ===== */
.services-section {
  background: var(--light-bg);
  color: var(--ink);
  padding: 120px 0;
}
.services__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 56px;
}
.services__head h2 {
  color: var(--ink);
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  letter-spacing: -0.05em;
}
.services__head p { max-width: 520px; color: var(--ink-muted); font-size: 1.2rem; font-weight: 400; }

.svc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.svc-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid transparent;
  border-radius: 32px;
  padding: 22px;
  transition: border-color .25s, transform .25s;
}
.svc-card:hover { border-color: var(--ink); }

.svc-card__art {
  position: relative;
  height: 230px;
  margin-bottom: 28px;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--light-bg);
  background-image: radial-gradient(#d6d6d2 1px, transparent 1.3px);
  background-size: 14px 14px;
}
.svc-card__art--bottom { align-items: flex-end; }

.tag {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 3;
  padding: 5px 13px;
  background: #fff;
  border: 1px solid #e6e6e3;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 500;
  color: var(--ink);
}

.svc-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0 14px 14px;
}
.svc-card h3 {
  color: var(--ink);
  font-size: clamp(1.5rem, 2.2vw, 1.8rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}
.svc-card__desc {
  flex: 1;
  color: var(--ink-muted);
  font-size: 1.05rem;
  font-weight: 400;
  margin-bottom: 24px;
}
.ideal {
  background: var(--light-bg);
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 24px;
  color: var(--ink);
}
.ideal strong { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 4px; }
.ideal p { font-weight: 400; }

/* Ilustrações dos cards */
.win {
  background: #fff;
  border: 1px solid #e3e3e0;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(0,0,0,.08);
  overflow: hidden;
}
.win__bar { display: flex; gap: 4px; padding: 7px 10px; border-bottom: 1px solid #eee; }
.win__bar i { width: 5px; height: 5px; border-radius: 50%; background: #cfcfcc; }
.win__body { padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.win__body--center { align-items: center; padding-top: 20px; }

.bar { display: block; height: 5px; border-radius: 99px; background: #e6e6e3; }
.bar--dark { background: #111; }
.bar--short { width: 60%; }
.box { display: block; background: #efefec; border-radius: 6px; }

/* Sites (janelas empilhadas) */
.stack { position: relative; width: 260px; height: 160px; }
.stack .win { position: absolute; width: 200px; height: 140px; }
.win--back1 { left: -6px; top: 18px; transform: rotate(-5deg); }
.win--back2 { right: -10px; top: 14px; transform: rotate(4deg); }
.win--front { left: 30px; top: 0; z-index: 2; }

/* Loja virtual */
.win--shop { width: 260px; }
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.products .box { height: 46px; margin-bottom: 8px; }
.products .bar { width: 75%; margin-bottom: 6px; }
.products .bar--dark { width: 45%; height: 4px; }

.cart {
  position: absolute;
  top: 16px; right: 16px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cart__count {
  position: absolute;
  top: -4px; right: -4px;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #111;
  color: #111;
  font-size: .6rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Sistema (painel) */
.win--sys { width: min(380px, 85%); }
.dash { display: grid; grid-template-columns: 80px 1fr; gap: 16px; }
.dash__side { display: flex; flex-direction: column; gap: 9px; }
.dash__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.dash__stats .box { height: 26px; }
.dash__chart { display: flex; align-items: flex-end; gap: 7px; height: 72px; margin-top: 12px; }
.dash__chart i { flex: 1; background: #d9d9d6; border-radius: 2px 2px 0 0; }
.dash__chart i.on { background: #111; }

/* Celular */
.phone {
  width: 146px; height: 180px;
  padding: 12px 12px 0;
  background: #fff;
  border: 1px solid #d8d8d5;
  border-bottom: none;
  border-radius: 26px 26px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.phone__notch { width: 40px; height: 5px; margin: 0 auto 2px; border-radius: 99px; background: #111; }
.phone__header { height: 42px; border-radius: 10px; background: #111; }
.phone__row { display: flex; align-items: center; gap: 8px; }
.phone__row .dot { flex: none; width: 18px; height: 18px; border-radius: 6px; background: #efefec; }
.phone__row div { flex: 1; display: flex; flex-direction: column; gap: 5px; }

/* ===== SOBRE ===== */
.about__label {
  display: block;
  margin-bottom: 20px;
  font-size: .95rem;
  font-weight: 500;
  color: #8a8a8a;
}
.about__title {
  max-width: 920px;
  margin-bottom: 72px;
  font-size: clamp(2rem, 4.6vw, 3.8rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}
.about__items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.about__item {
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.about__item h3 { font-size: 1.35rem; font-weight: 600; margin-bottom: 10px; }
.about__item p { font-size: 1.05rem; }

/* ===== CONTATO ===== */
.section--contact { padding-top: 0; }

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 64px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 36px;
}
.contact h2 { margin-bottom: 16px; }
.contact__text { font-size: 1.15rem; margin-bottom: 40px; max-width: 440px; }

.channels { list-style: none; display: grid; gap: 12px; }
.channel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  transition: border-color .2s, background .2s;
}
.channel:hover { border-color: var(--border-hover); background: #111; }
.channel__icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid #333;
}
.channel__icon svg {
  width: 20px; height: 20px;
  fill: none;
  stroke: var(--white);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.channel__text { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.channel__text small { font-size: .8rem; color: #8a8a8a; }
.channel__text strong { color: var(--white); font-weight: 500; }
.channel__arrow { color: var(--muted); transition: transform .2s, color .2s; }
.channel:hover .channel__arrow { color: var(--white); transform: translate(2px, -2px); }

/* Formulário */
.contact__form {
  background: #fff;
  color: var(--ink);
  border-radius: 28px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact__form h3 { color: var(--ink); font-size: 1.5rem; font-weight: 600; margin-bottom: 4px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .9rem; font-weight: 500; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--ink);
  background: var(--light-bg);
  border: 1px solid transparent;
  border-radius: 12px;
  outline: none;
  transition: border-color .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder,
.field textarea::placeholder { color: #767676; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--ink); background: #fff; }
.contact__form .btn--black { margin-top: 8px; }
.form__note { font-size: .85rem; color: var(--ink-muted); text-align: center; }

/* ===== RODAPÉ ===== */
.footer { border-top: 1px solid var(--border); padding: 64px 0 32px; font-size: .9rem; }
.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.footer__brand p { margin-top: 12px; max-width: 280px; color: #8a8a8a; }
.footer__nav { display: flex; gap: 32px; }
.footer__nav a { color: var(--soft); font-weight: 500; transition: color .2s; }
.footer__nav a:hover { color: var(--white); }
.footer__social { display: flex; gap: 12px; }
.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid #333;
  border-radius: 50%;
  transition: background .2s, border-color .2s;
}
.footer__social svg {
  width: 20px; height: 20px;
  fill: none;
  stroke: var(--white);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke .2s;
}
.footer__social a:hover { background: var(--white); border-color: var(--white); }
.footer__social a:hover svg { stroke: #000; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 28px;
  color: #8a8a8a;
}
.footer__top-link { color: var(--soft); font-weight: 500; }
.footer__top-link:hover { color: var(--white); }

/* ===== WHATSAPP FLUTUANTE ===== */
.whats-float {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--white);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(0,0,0,.35);
  z-index: 100;
  transition: transform .2s;
}
.whats-float:hover { transform: scale(1.08); }

/* ===== ANIMAÇÃO DE ENTRADA ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease, border-color .25s; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== RESPONSIVO ===== */
@media (max-width: 1024px) {
  .contact { padding: 48px; gap: 48px; }
}

@media (max-width: 960px) {
  .hero { min-height: auto; padding-top: 130px; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .globe-wrap { margin: 0 auto; max-width: 440px; }

  .menu-toggle { display: flex; }
  .nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 16px; right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-left: 0;
    padding: 8px 20px;
    background: #0a0a0a;
    border: 1px solid var(--border);
    border-radius: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 16px 0; border-bottom: 1px solid var(--border); }
  .nav a:last-child { border-bottom: none; }
  .nav a::after { display: none; }

  .about__title { margin-bottom: 48px; }
  .about__items { grid-template-columns: 1fr; gap: 32px; }
  .contact { grid-template-columns: 1fr; }
  .section, .services-section { padding: 90px 0; }
  .section--contact { padding-top: 0; }
}

@media (max-width: 760px) {
  .svc-grid { grid-template-columns: 1fr; }

  .footer { padding: 48px 0 110px; }
  .footer__top { flex-direction: column; text-align: center; gap: 28px; }
  .footer__brand { display: flex; flex-direction: column; align-items: center; }
  .footer__nav { flex-wrap: wrap; justify-content: center; gap: 10px; }
  .footer__nav a { padding: 10px 18px; border: 1px solid var(--border); border-radius: 999px; }
  .footer__bottom { flex-direction: column; text-align: center; gap: 12px; }
}

@media (max-width: 560px) {
  .svc-card { padding: 16px; border-radius: 26px; }
  .svc-card__body { padding: 0 8px 8px; }
  .contact { padding: 28px 20px; border-radius: 28px; }
  .contact__form { padding: 24px 20px; }
  .header__inner { gap: 12px; }
  .logo { font-size: 1rem; }
}

@media (max-width: 400px) {
  .lang__btn { padding: 0 8px; }
  .header .logo span { display: none; }
}