/* ==========================================================================
   GRUPO LOYALTY — Rebrand v2 (futurista)
   Dark + neon + glass. HTML/CSS/JS puro. Comentado em PT-BR.
   ========================================================================== */

:root {
  --bg:        #07080a;
  --bg-2:      #0c0e11;
  --panel:     rgba(255,255,255,.035);
  --panel-2:   rgba(255,255,255,.06);
  --border:    rgba(255,255,255,.09);
  --border-2:  rgba(182,242,74,.30);
  --text:      #f3f6ee;
  --muted:     #98a09a;
  --green:     #b6f24a;
  --green-2:   #e7ff9b;
  --green-deep:#83d63a;
  --glow:      rgba(182,242,74,.35);
  --radius:    18px;
  --radius-lg: 26px;
  --container: 1240px;
  --font:      "Space Grotesk", "Inter", system-ui, sans-serif;
  --mono:      "JetBrains Mono", ui-monospace, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }

/* ---------- Fundo: mesh animada + grid ---------- */
.bg-fx { position: fixed; inset: 0; z-index: -2; overflow: hidden; background: var(--bg); }
.bg-fx::before {
  content: ""; position: absolute; inset: -20%;
  background:
    radial-gradient(40% 40% at 20% 20%, rgba(182,242,74,.18), transparent 60%),
    radial-gradient(35% 35% at 80% 10%, rgba(60,200,160,.16), transparent 60%),
    radial-gradient(45% 45% at 70% 80%, rgba(182,242,74,.12), transparent 60%),
    radial-gradient(30% 30% at 25% 75%, rgba(40,120,255,.10), transparent 60%);
  filter: blur(40px);
  animation: meshMove 22s ease-in-out infinite alternate;
}
.bg-fx::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 75%);
}
@keyframes meshMove {
  0%   { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(-4%, -3%, 0) scale(1.12); }
}

/* ---------- Tipografia utilitária ---------- */
.eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--muted);
  display: inline-flex; align-items: center; gap: 11px;
}
.eyebrow::before {
  content: ""; width: 3px; height: 15px; border-radius: 2px;
  background: var(--green); box-shadow: 0 0 10px var(--glow);
}
.section__head.center .eyebrow { justify-content: center; }
.grad-green {
  background: linear-gradient(100deg, var(--green), var(--green-2) 60%, #fff);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1px solid var(--border); color: var(--text); cursor: pointer;
  transition: .25s ease; background: transparent;
}
.btn:hover { border-color: var(--border-2); transform: translateY(-2px); }
.btn--primary {
  background: linear-gradient(100deg, var(--green), var(--green-deep));
  color: #0a0c07; border: none;
  box-shadow: 0 0 0 0 var(--glow);
}
.btn--primary:hover { box-shadow: 0 12px 40px -8px var(--glow); transform: translateY(-2px); }
.btn--wa { background: linear-gradient(100deg, #25d366, #128c4b); color: #04210f; border: none; }
.btn--wa:hover { box-shadow: 0 12px 40px -8px rgba(37,211,102,.45); }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 100; padding: 18px 0; }
.header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 12px 14px 12px 22px;
  background: rgba(10,12,14,.55); border: 1px solid var(--border);
  border-radius: 999px; backdrop-filter: blur(14px);
}
.header__logo img { height: 32px; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-size: 15px; color: var(--muted); transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.header__cta { display: flex; gap: 12px; align-items: center; }
.burger { display: none; background: none; border: 0; cursor: pointer; }
.burger span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: .3s; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 90px 0 60px; text-align: center; }
.hero__tag {
  display: inline-flex; align-items: center; gap: 14px; margin-bottom: 30px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--muted);
}
.hero__tag .txt { white-space: nowrap; }
.hero__tag b { color: var(--green); font-weight: 500; }
.hero__tag .sep { color: var(--green); opacity: .6; margin: 0 2px; }
.hero__tag .ln {
  width: 56px; height: 1px; flex: none;
  background: linear-gradient(90deg, transparent, var(--green));
}
.hero__tag .ln--r { background: linear-gradient(90deg, var(--green), transparent); }
.hero h1 {
  font-size: clamp(42px, 8vw, 96px); line-height: 1.02; font-weight: 700;
  letter-spacing: -.03em;
}
.hero__sub { max-width: 680px; margin: 26px auto 0; font-size: 19px; color: var(--muted); }
.hero__sub b { color: var(--text); font-weight: 600; }
.hero__cta { display: flex; gap: 14px; justify-content: center; margin-top: 38px; flex-wrap: wrap; }

/* ---------- Faixa de números (stats) ---------- */
.stats { position: relative; padding: 40px 0 30px; }
.stats__grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px;
}
.stat {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 18px; text-align: center; backdrop-filter: blur(10px);
  transition: .3s ease;
}
.stat:hover { border-color: var(--border-2); transform: translateY(-4px); background: var(--panel-2); }
.stat__num { font-size: clamp(28px, 3vw, 40px); font-weight: 700; letter-spacing: -.02em; }
.stat__num .grad-green { display: inline; }
.stat__label { margin-top: 8px; font-size: 13px; color: var(--muted); line-height: 1.35; }

/* ---------- Seções genéricas ---------- */
.section { position: relative; padding: 110px 0; }
.section__head { max-width: 720px; margin-bottom: 56px; }
.section__head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section__title { font-size: clamp(30px, 4.5vw, 52px); font-weight: 700; letter-spacing: -.02em; line-height: 1.08; margin-top: 18px; }
.section__text { margin-top: 18px; font-size: 18px; color: var(--muted); }

/* ---------- Pilares (o que fazemos) ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pillar {
  position: relative; padding: 30px 26px 34px; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--border); overflow: hidden;
  transition: .3s ease;
}
.pillar::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(120% 80% at 50% 0%, rgba(182,242,74,.10), transparent 55%);
  opacity: 0; transition: opacity .3s;
}
.pillar:hover { transform: translateY(-6px); border-color: var(--border-2); }
.pillar:hover::after { opacity: 1; }
.pillar__ico {
  width: 54px; height: 54px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-size: 26px; color: var(--green); margin-bottom: 20px;
  background: rgba(182,242,74,.10); border: 1px solid var(--border-2);
}
.pillar__num { font-family: var(--mono); font-size: 12px; color: var(--green); letter-spacing: .15em; }
.pillar h3 { font-size: 21px; font-weight: 600; margin: 10px 0 12px; }
.pillar p { font-size: 15px; color: var(--muted); }

/* ---------- Ecossistema (empresas) ---------- */
.eco { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.eco__big { font-family: var(--mono); font-size: 13px; color: var(--green); letter-spacing: .15em; }
.eco__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.eco__card {
  aspect-ratio: 1; border-radius: 16px; overflow: hidden; position: relative;
  border: 1px solid var(--border); background: var(--panel);
}
.eco__card img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: .3s; }
.eco__card:hover img { transform: scale(1.06); opacity: 1; }
/* placeholder de logo (temporário, até receber as logos reais) */
.eco__card--ph {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
  transition: border-color .3s ease;
}
.eco__card--ph:hover { border-color: var(--border-2); }
.eco__card--ph svg { width: 34px; height: 34px; color: var(--muted); opacity: .3; }

/* Carreira: galeria de cultura (bento) */
.life { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 196px; gap: 14px; }
.life img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; border: 1px solid var(--border); transition: transform .35s ease, border-color .35s ease; }
.life img:hover { transform: scale(1.015); border-color: var(--border-2); }
.life .big { grid-column: span 2; grid-row: span 2; }
.life .wide { grid-column: span 2; }
@media (max-width: 760px) {
  .life { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 148px; }
  .life .big { grid-column: span 2; grid-row: span 2; }
  .life .wide { grid-column: span 2; }
}

/* Carreira: CTA do meio (banner horizontal) */
.mid-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  padding: 38px 44px; border-radius: var(--radius-lg);
  background: linear-gradient(120deg, rgba(182,242,74,.10), rgba(255,255,255,.02));
  border: 1px solid var(--border-2);
}
.mid-cta h3 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 600; }
.mid-cta p { color: var(--muted); margin-top: 8px; font-size: 16px; }
@media (max-width: 760px) { .mid-cta { padding: 30px 26px; } }

/* Carreira: preleção / recado do fundador */
.manifesto {
  max-width: 780px; margin: 0 auto; text-align: center;
  background: linear-gradient(160deg, rgba(182,242,74,.06), rgba(255,255,255,.015));
  border: 1px solid var(--border-2); border-radius: var(--radius-lg);
  padding: 56px 50px;
}
.manifesto__title { font-size: clamp(26px, 3.6vw, 42px); font-weight: 700; letter-spacing: -.02em; line-height: 1.08; margin: 16px 0 30px; }
.manifesto__body { text-align: left; }
.manifesto__body p { color: var(--muted); font-size: 17px; line-height: 1.7; margin-bottom: 15px; }
.manifesto__body p b { color: var(--text); font-weight: 600; }
.manifesto__sign { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--green); margin: 26px 0 30px; }
@media (max-width: 720px) { .manifesto { padding: 40px 26px; } }

/* ---------- Marquee de logos ---------- */
.marquee { overflow: hidden; padding: 26px 0; border-block: 1px solid var(--border); }
.marquee__track { display: inline-flex; align-items: center; gap: 70px; padding-left: 70px; animation: scroll 30s linear infinite; }
.marquee__track img { height: 26px; opacity: .55; filter: grayscale(1) brightness(2.4); transition: .3s; }
.marquee__track img:hover { opacity: 1; filter: none; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- CTA WhatsApp ---------- */
.cta {
  position: relative; text-align: center; padding: 80px 40px; border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(182,242,74,.10), rgba(255,255,255,.02));
  border: 1px solid var(--border-2); overflow: hidden;
}
.cta h2 { font-size: clamp(30px, 5vw, 56px); font-weight: 700; letter-spacing: -.02em; }
.cta p { max-width: 560px; margin: 18px auto 32px; color: var(--muted); font-size: 18px; }

/* ---------- Rodapé ---------- */
.footer { padding: 70px 0 40px; border-top: 1px solid var(--border); margin-top: 40px; }
.footer__top { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.footer__logo img { height: 30px; }
.footer__menu { display: flex; gap: 28px; }
.footer__menu a { color: var(--muted); transition: .2s; }
.footer__menu a:hover { color: var(--text); }
.footer__social { display: flex; gap: 12px; }
.footer__copy { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--border); text-align: center; color: var(--muted); font-size: 14px; }

/* ---------- Reveal no scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
  .stats__grid { grid-template-columns: repeat(3, 1fr); }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .eco { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  .nav-links, .header__cta .btn { display: none; }
  .burger { display: block; }
  .header__inner.open { flex-wrap: wrap; border-radius: 22px; }
  .header__inner.open .nav-links { display: flex; flex-direction: column; width: 100%; gap: 16px; padding: 16px 8px 6px; text-align: center; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: 1fr; }
  .eco__grid { grid-template-columns: repeat(3, 1fr); }
  .section { padding: 72px 0; }
  .hero { padding-top: 56px; }
  .hero__tag .ln { display: none; }
  .hero__tag { letter-spacing: .18em; font-size: 11px; }
}

/* ==========================================================================
   PÁGINAS INTERNAS (Sobre / Carreira / Contato) — estilo futurista
   ========================================================================== */

/* ---------- Hero de página interna ---------- */
.page-hero { position: relative; text-align: center; padding: 130px 0 70px; overflow: hidden; }
.page-hero__bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  z-index: -1; opacity: .28;
  mask-image: linear-gradient(180deg, #000 10%, transparent 95%);
}
.page-hero h1 { font-size: clamp(40px, 7vw, 80px); font-weight: 700; letter-spacing: -.03em; line-height: 1.04; }
.page-hero p { max-width: 640px; margin: 22px auto 0; color: var(--muted); font-size: 18px; }

/* ---------- Split (imagem + texto) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__img { width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--border); }
.split__title { font-size: clamp(28px, 4vw, 46px); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.split__text { margin-top: 18px; color: var(--muted); font-size: 18px; }

/* ---------- Timeline ---------- */
.timeline { position: relative; max-width: 940px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: linear-gradient(180deg, transparent, var(--border-2), transparent); transform: translateX(-50%); }
.timeline__item { position: relative; width: 50%; padding: 0 46px 50px; box-sizing: border-box; }
.timeline__item:nth-child(odd) { left: 0; text-align: right; }
.timeline__item:nth-child(even) { left: 50%; }
.timeline__dot { position: absolute; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--green); box-shadow: 0 0 14px var(--green); }
.timeline__item:nth-child(odd) .timeline__dot { right: -6px; }
.timeline__item:nth-child(even) .timeline__dot { left: -6px; }
.timeline__year { font-family: var(--mono); font-size: 30px; font-weight: 600; color: var(--green); }
.timeline__title { font-size: 22px; font-weight: 600; margin: 6px 0 10px; }
.timeline__text { color: var(--muted); font-size: 15px; }

/* ---------- Cards de feature (Quem Procuramos / Por Que) ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature { padding: 28px 24px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--border); transition: .3s; }
.feature:hover { transform: translateY(-6px); border-color: var(--border-2); }
.feature__ico { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--green); background: rgba(182,242,74,.10); border: 1px solid var(--border-2); margin-bottom: 16px; font-size: 22px; }
.feature h3 { font-size: 19px; font-weight: 600; margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: 15px; }

/* ---------- Valores ---------- */
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 30px; }
.value { display: flex; align-items: flex-start; gap: 13px; padding: 22px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--border); transition: transform .3s ease, border-color .3s ease; }
.value:hover { transform: translateY(-3px); border-color: var(--border-2); }
.value i { color: var(--green); font-style: normal; font-size: 16px; line-height: 1; margin-top: 4px; }
.value strong { display: block; font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.value span { font-size: 13px; color: var(--muted); line-height: 1.45; }

/* ---------- Contato (WhatsApp) ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.contact__img { width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--border); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.field input, .field textarea { width: 100%; padding: 14px 16px; border-radius: 12px; background: var(--panel); border: 1px solid var(--border); color: var(--text); font-family: var(--font); font-size: 15px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--border-2); }

@media (max-width: 1100px) {
  .features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .split, .contact { grid-template-columns: 1fr; gap: 30px; }
  .split--reverse .split__media { order: 0; }
  .features, .values { grid-template-columns: 1fr; }
  .timeline::before { left: 6px; }
  .timeline__item, .timeline__item:nth-child(even) { width: 100%; left: 0; text-align: left; padding: 0 0 36px 32px; }
  .timeline__item:nth-child(odd) { text-align: left; }
  .timeline__item:nth-child(odd) .timeline__dot, .timeline__item:nth-child(even) .timeline__dot { left: 0; right: auto; }
}
