/* ============================================================
   BONNKE PROFISSIONAL — Design System (tokens + base)
   Fonte: design-system.html (raiz do projeto)
============================================================ */

:root {
  /* Marca */
  --orange:       #FF5500;
  --orange-dark:  #D94600;
  --orange-deep:  #A83700;
  --orange-light: #FF7A33;
  --orange-pale:  #FFE8DC;

  --ink:   #0D0D0D;
  --ink-2: #1A1A1A;
  --ink-3: #262626;

  /* Aço inox (paleta secundária) */
  --steel-900: #27272A;
  --steel-700: #52525B;
  --steel-500: #71717A;
  --steel-300: #A1A1AA;
  --steel-200: #D4D4D8;
  --steel-100: #E4E4E7;
  --steel-50:  #F4F4F5;

  /* Semânticas */
  --success: #16A34A;
  --warning: #F59E0B;
  --danger:  #DC2626;
  --info:    #2563EB;

  /* Superfície */
  --bg-body:    #FFFFFF;
  --bg-surface: #F7F6F3;
  --bg-dark:    #17181B;
  --bg-dark-2:  #232427;

  /* Texto */
  --text-main:  #0D0D0D;
  --text-muted: #52525B;
  --text-light: #8A8A90;

  /* Bordas */
  --border:       #E4E4E7;
  --border-hover: #D4D4D8;

  /* Motion */
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-circ: cubic-bezier(0.85, 0, 0.15, 1);
  --ease-back: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Larguras de conteúdo */
  --container-lg: 1280px;
  --container-md: 1100px;

  /* Espaçamento */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px;
  --sp-5: 20px; --sp-6: 24px; --sp-8: 32px; --sp-10: 40px;
  --sp-12: 48px; --sp-16: 64px; --sp-20: 80px; --sp-24: 96px;

  /* Raios */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* Sombras */
  --shadow-sm: 0 1px 2px rgba(13,13,13,0.07), 0 1px 1px rgba(13,13,13,0.04);
  --shadow-md: 0 4px 12px rgba(13,13,13,0.10), 0 2px 4px rgba(13,13,13,0.05);
  --shadow-lg: 0 16px 40px rgba(13,13,13,0.14), 0 4px 8px rgba(13,13,13,0.06);
  --shadow-xl: 0 32px 60px rgba(13,13,13,0.16), 0 8px 16px rgba(13,13,13,0.07);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: hidden; scroll-behavior: smooth; }

body {
  font-family: 'Manrope', sans-serif;
  background: var(--bg-body);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.55;
}

a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }
img { max-width: 100%; display: block; }

/* ============================================================
   ANIMAÇÕES E MOTION
============================================================ */
@keyframes revealUp {
  from { opacity: 0; transform: translateY(28px); filter: blur(6px); }
  to   { opacity: 1; transform: translateY(0);    filter: blur(0);   }
}
.reveal { opacity: 0; }
.reveal.active { animation: revealUp 0.85s var(--ease-expo) forwards; }
.delay-100 { animation-delay: .1s; }
.delay-150 { animation-delay: .15s; }
.delay-200 { animation-delay: .2s; }
.delay-250 { animation-delay: .25s; }
.delay-300 { animation-delay: .3s; }
.delay-400 { animation-delay: .4s; }
.delay-500 { animation-delay: .5s; }
.delay-600 { animation-delay: .6s; }

@keyframes pulseDot {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(1.4); }
}
.pulse-dot { animation: pulseDot 2s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   GRID E TEXTURAS DE FUNDO
============================================================ */
.bg-grid {
  background-image:
    linear-gradient(to right, rgba(13,13,13,0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(13,13,13,0.045) 1px, transparent 1px);
  background-size: 40px 40px;
}
.bg-grid-dark {
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}
/* Overlay de textura para heros com foto: aplicar numa camada separada, nunca direto no container de conteúdo */
.bg-grid-hero {
  background-image:
    linear-gradient(to right, rgba(255,85,0,0.12) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,85,0,0.12) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
}
/* Variante de seção escura: linhas laranja sem máscara, cobrindo o bloco inteiro.
   Terceira "voz" do sistema de fundo — preto + grid laranja — usada 1x, no meio
   do trecho claro, para não repetir o preto + grid branco + glow do Showroom/Contato. */
.bg-grid-orange {
  background-image:
    linear-gradient(to right, rgba(255,85,0,0.16) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,85,0,0.16) 1px, transparent 1px);
  background-size: 44px 44px;
}
.orange-rule {
  height: 3px;
  width: 64px;
  background: linear-gradient(90deg, var(--orange), rgba(255,85,0,0));
}

/* ============================================================
   TIPOGRAFIA
============================================================ */
.font-display { font-family: 'Archivo', sans-serif; }
.font-ui      { font-family: 'Manrope', sans-serif; }
.font-mono    { font-family: 'JetBrains Mono', monospace; }

.display-2xl { font-family: 'Archivo', sans-serif; font-size: clamp(3rem, 7vw, 6.75rem); font-weight: 900; letter-spacing: -0.03em; line-height: 0.94; }
.display-xl  { font-family: 'Archivo', sans-serif; font-size: clamp(2.5rem, 5vw, 4.75rem); font-weight: 900; letter-spacing: -0.025em; line-height: 0.98; }
.display-lg  { font-family: 'Archivo', sans-serif; font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; }
.heading-xl  { font-family: 'Archivo', sans-serif; font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; letter-spacing: -0.015em; }
.heading-lg  { font-family: 'Archivo', sans-serif; font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 700; letter-spacing: -0.01em; }
.heading-md  { font-family: 'Archivo', sans-serif; font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 700; }
.heading-sm  { font-family: 'Archivo', sans-serif; font-size: 1.05rem; font-weight: 700; }
.body-lg     { font-family: 'Manrope', sans-serif; font-size: 1.125rem; line-height: 1.7; font-weight: 400; }
.body-base   { font-family: 'Manrope', sans-serif; font-size: 1rem; line-height: 1.65; font-weight: 400; }
.body-sm     { font-family: 'Manrope', sans-serif; font-size: 0.875rem; line-height: 1.6; font-weight: 400; }
.label       { font-family: 'Manrope', sans-serif; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.caption     { font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }

/* ============================================================
   NAVBAR
============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(13,13,13,0.07);
  transition: box-shadow 0.3s ease;
}
.navbar.scrolled { box-shadow: 0 1px 20px rgba(13,13,13,0.06); }
.nav-inner {
  max-width: var(--container-lg); margin: 0 auto; padding: 0 24px;
  height: 68px; display: flex; align-items: center; justify-content: space-between;
}
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-link {
  font-family: 'Manrope', sans-serif; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted);
  transition: color 0.25s ease; white-space: nowrap;
}
.nav-link:hover, .nav-link.is-active { color: var(--orange-dark); }
@media (max-width: 900px) { .nav-links { display: none; } }

/* ============================================================
   BOTÕES
============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 0.9rem;
  padding: 13px 26px; border-radius: var(--radius-md);
  transition: transform 0.25s var(--ease-expo), box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  border: 1px solid transparent; white-space: nowrap;
}
.btn-primary { background: var(--orange); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-dark { background: var(--ink); color: #fff; box-shadow: var(--shadow-sm); }
.btn-dark:hover { background: var(--ink-2); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline {
  position: relative; overflow: hidden;
  background: #fff; color: var(--ink); border-color: rgba(255,85,0,0.28);
  box-shadow: 0 1px 2px rgba(13,13,13,0.04);
}
.btn-outline::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  transform: scaleX(0); transform-origin: left center;
  transition: transform .4s var(--ease-expo);
}
.btn-outline svg { width: 16px; height: 16px; transition: transform .3s var(--ease-expo); }
.btn-outline:hover {
  border-color: var(--orange); color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(255,85,0,0.28);
}
.btn-outline:hover::before { transform: scaleX(1); }
.btn-outline:hover svg { transform: translateX(4px); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.35); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-ghost { background: transparent; color: var(--text-muted); padding: 13px 8px; }
.btn-ghost:hover { color: var(--ink); }
.btn-sm { padding: 9px 18px; font-size: 0.8rem; }
.btn:disabled, .btn.is-disabled { opacity: 0.4; cursor: not-allowed; transform: none !important; }

/* ============================================================
   CARDS E ELEVAÇÃO
============================================================ */
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); transition: transform 0.35s var(--ease-expo), box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--steel-200); }
.card::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(255,85,0,0.14), transparent 60%);
  transition: opacity 0.4s ease;
}
.card:hover::before { opacity: 1; }

/* ============================================================
   BADGES / TAGS
============================================================ */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 0.68rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 12px; border-radius: var(--radius-sm);
}
.tag-novo { background: var(--ink); color: #fff; }
.tag-seminovo { background: var(--orange); color: #fff; }
.tag-neutral { background: var(--steel-50); color: var(--text-muted); border: 1px solid var(--border); }
.tag-outline { background: transparent; color: var(--ink); border: 1px solid var(--steel-300); }

/* ============================================================
   FORMULÁRIOS
============================================================ */
.field-label { display: block; font-size: 0.78rem; font-weight: 700; margin-bottom: 8px; letter-spacing: 0.02em; }
.field-input, .field-textarea, .field-select {
  width: 100%; border: 1.5px solid var(--border); border-radius: var(--radius-md);
  padding: 13px 16px; font-size: 0.95rem; color: var(--ink);
  background: #fff; transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.field-input::placeholder, .field-textarea::placeholder { color: var(--text-light); }
.field-input:focus, .field-textarea:focus, .field-select:focus {
  outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255,85,0,0.15);
}
.field-textarea { resize: vertical; min-height: 110px; }

/* ============================================================
   ACCORDION (FAQ)
============================================================ */
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 4px; text-align: left; font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 1.02rem;
  color: var(--ink); background: none; border: none;
}
.accordion-icon { flex-shrink: 0; transition: transform 0.35s var(--ease-expo); color: var(--orange-dark); }
.accordion-item.open .accordion-icon { transform: rotate(45deg); }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease-expo); }
.accordion-item.open .accordion-panel { max-height: 420px; }
.accordion-panel-inner { padding: 0 4px 22px; color: var(--text-muted); font-size: 0.92rem; line-height: 1.7; }
.accordion-item.open .accordion-trigger { background: var(--orange-pale); border-radius: var(--radius-md); }

/* ============================================================
   SEÇÕES / UTILITÁRIOS DE LAYOUT

   Sistema de fundo da Home (definido, não decorativo por seção):
   1) .section-light  → branco puro (#fff). Seções de produto/conteúdo direto:
      Trust bar, Sobre a Bonnke, Estoque, Time. Sem textura, máximo respiro.
   2) .section-surface → off-white morno (--bg-surface) + .bg-grid (textura
      pontilhada 4.5%). Seções de apoio/prova: Soluções Completas, FAQ.
   3) .section-dark → SEMPRE --ink (#0D0D0D), nunca outro tom de preto.
      Duas variantes de textura, nunca "preto flat":
      a) .bg-grid-dark (grid branco 6%) + 1-2 .showroom-depth-glow (laranja,
         blur 90-100px) → Showroom e Contato+rodapé (fechamento).
      b) .bg-grid-orange (linhas laranja 16%, sem glow) → Soluções Completas,
         pontuação escura isolada no meio do trecho claro do topo.
      Nunca 3+ seções escuras em sequência, pra não ler como "duas metades
      de sites diferentes" coladas. Nunca --bg-dark/--bg-dark-2 isolados
      (mantidos só como alias legado).
   Ritmo da página: L, L, D(solucoes/grid-laranja), L, O, D(showroom), L(time), D(contato+rodapé).
   Laranja (--orange/--orange-light) fica reservado para CTA, tags e os
   glows de profundidade no escuro — nunca uma 4ª cor de fundo.
============================================================ */
.section-light { background: #fff; }
.section-surface { background: var(--bg-surface); }
.section-dark { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.ds-section { padding: 90px 0; }
.ds-container { max-width: var(--container-lg); margin: 0 auto; padding: 0 24px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--steel-50); }
::-webkit-scrollbar-thumb { background: var(--steel-300); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--orange); }

/* ============================================================
   UTILITÁRIOS DE LAYOUT (substituem o Tailwind CDN em produção,
   que trava o parsing da página até baixar o script externo)
============================================================ */
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.flex-col { flex-direction: column; }
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.hidden { display: none; }
.block { display: block; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.justify-between { justify-content: space-between; }
.text-center { text-align: center; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }

/* Espaçamento (escala 4px, igual Tailwind) — sem isso, mt-4/mt-8/mt-10 etc.
   usados no HTML inteiro não têm efeito nenhum e os elementos colam. */
.mt-0  { margin-top: 0; }
.mt-1  { margin-top: 4px; }
.mt-2  { margin-top: 8px; }
.mt-3  { margin-top: 12px; }
.mt-4  { margin-top: 16px; }
.mt-5  { margin-top: 20px; }
.mt-6  { margin-top: 24px; }
.mt-8  { margin-top: 32px; }
.mt-10 { margin-top: 40px; }
.mt-12 { margin-top: 48px; }
.mt-14 { margin-top: 56px; }
.mt-16 { margin-top: 64px; }

@media (min-width: 768px) {
  .md\:inline-flex { display: inline-flex; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
