/* ═══════════════════════════════════════════════════════════════
   Guímel Connect — base compartilhada
   Tokens, reset, componentes e microinterações comuns.
   Cada página sobrescreve os tokens de marca no próprio CSS.
   ═══════════════════════════════════════════════════════════════ */

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/PlusJakartaSans-Variable-latin.woff2') format('woff2');
}

:root {
  /* Marca Guímel — padrão (páginas sobrescrevem) */
  --bg: #0B0F0D;
  --bg-soft: #101612;
  --surface: rgba(255, 255, 255, .035);
  --surface-strong: rgba(255, 255, 255, .06);
  --line: rgba(255, 255, 255, .09);
  --text: #F2F5F3;
  --muted: rgba(242, 245, 243, .66);
  --accent: #4FCE5D;
  --accent-soft: rgba(79, 206, 93, .14);
  --on-accent: #06130A;
  --glow: rgba(79, 206, 93, .32);

  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --maxw: 1120px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-pill: 999px;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; height: auto; }
button, input, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
ul[class] { list-style: none; padding: 0; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--accent); color: var(--on-accent); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 100;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 0 0 12px 12px;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; }

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  width: min(100% - 40px, var(--maxw));
  margin-inline: auto;
}
.section { padding-block: clamp(64px, 9vw, 108px); }
.section-head { max-width: 680px; margin-bottom: clamp(32px, 5vw, 52px); }
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .76rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(1.65rem, 3.8vw, 2.35rem);
  font-weight: 800;
}
.section-lead {
  color: var(--muted);
  margin-top: 14px;
  font-size: 1.02rem;
}

/* ── Botões ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: .95rem;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease, border-color .22s ease, color .22s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn .arrow { transition: transform .22s ease; }
.btn:hover .arrow { transform: translateX(4px); }
.btn:active { transform: translateY(0) scale(.98); }

.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px -8px var(--glow); }

.btn-ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); transform: translateY(-2px); }

.btn-sm { padding: 10px 20px; font-size: .86rem; }

/* ── Cards e chips ──────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 30px);
  transition: transform .25s ease, border-color .25s ease, background-color .25s ease, box-shadow .25s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  box-shadow: 0 18px 44px -18px rgba(0, 0, 0, .5);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: .86rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface);
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 18px;
}

/* ── Topbar das páginas de produto ──────────────────────────── */
.topbar { padding-block: 18px; }
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar-logo img { height: 34px; width: auto; }

/* ── Animação de entrada ────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
  transition-delay: var(--d, 0s);
}
.reveal.in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .btn .arrow { transition: none; }
}

/* ── Assinatura Guímel (páginas de produto) ─────────────────── */
.guimel-band {
  background: #0B0F0D;
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-block: clamp(56px, 7vw, 84px);
  text-align: center;
}
.gb-kicker {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .72rem;
  font-weight: 700;
  color: rgba(242, 245, 243, .5);
}
.gb-logo-link {
  display: inline-block;
  margin: 22px auto 18px;
  transition: opacity .2s ease;
}
.gb-logo-link:hover { opacity: .85; }
.gb-logo-link img { width: min(230px, 60vw); height: auto; margin-inline: auto; }
.gb-text {
  color: rgba(242, 245, 243, .66);
  max-width: 520px;
  margin-inline: auto;
  font-size: .97rem;
}
.gb-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: #4FCE5D;
  font-weight: 700;
}
.gb-link .arrow { transition: transform .22s ease; }
.gb-link:hover .arrow { transform: translateX(4px); }

/* ── Rodapé (sempre escuro, consistente no ecossistema) ─────── */
.site-footer {
  background: #080B09;
  color: #F2F5F3;
  border-top: 1px solid rgba(255, 255, 255, .07);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-block: clamp(48px, 6vw, 72px);
}
.footer-logo { width: 170px; height: auto; }
.footer-tagline {
  color: rgba(242, 245, 243, .6);
  margin-top: 16px;
  font-size: .95rem;
  max-width: 300px;
}
.footer-heading {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .74rem;
  font-weight: 700;
  color: rgba(242, 245, 243, .5);
  margin-bottom: 18px;
}
.footer-links { display: grid; gap: 12px; }
.footer-links a {
  color: rgba(242, 245, 243, .78);
  font-size: .95rem;
  transition: color .2s ease;
}
.footer-links a:hover { color: #4FCE5D; }
.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, .07);
  padding-block: 22px;
}
.footer-legal p {
  color: rgba(242, 245, 243, .45);
  font-size: .82rem;
}

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ── Botão flutuante de WhatsApp ────────────────────────────── */
.wa-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #4FCE5D;
  color: #fff;
  box-shadow: 0 10px 30px -6px rgba(79, 206, 93, .55), 0 4px 14px rgba(0, 0, 0, .25);
  transition: transform .22s ease, box-shadow .22s ease;
}
.wa-fab:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 16px 38px -6px rgba(79, 206, 93, .6), 0 6px 18px rgba(0, 0, 0, .3);
}
@media (prefers-reduced-motion: reduce) {
  .wa-fab { transition: none; }
}

/* ── Página 404 ─────────────────────────────────────────────── */
.page-404 {
  min-height: 70vh;
  display: flex;
  align-items: center;
  text-align: center;
}
.page-404 .container { max-width: 560px; }
.page-404 h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); font-weight: 800; margin-bottom: 14px; }
.page-404 p { color: var(--muted); margin-bottom: 28px; }
