/* ═══════════════════════════════════════════════════════════
   BEIMAX — Design tokens compartilhados
   Usado pelo institucional (raiz) e pelas páginas "aguarde" dos
   produtos (coiffeur/, motoclube/, delivery/). A landing do
   Turismo tem seu próprio CSS completo (turismo/style.css) e
   não depende deste arquivo.

   Cada página define --brand / --brand-dark / --accent antes de
   carregar este arquivo (ou via <style> inline) para assumir a
   cor do produto — o resto (tipografia, espaçamento, botões,
   cards) é idêntico em todo lugar.
════════════════════════════════════════════════════════════ */

:root {
  /* Valores padrão (institucional) — cada produto sobrescreve --brand/--brand-dark/--accent */
  --brand:       #0B3D91;
  --brand-dark:  #082a66;
  --brand-pale:  #eff6ff;
  --accent:      #E8A020;

  --white:      #ffffff;
  --gray-50:    #f8faff;
  --gray-100:   #f1f5f9;
  --gray-200:   #e2e8f0;
  --gray-400:   #94a3b8;
  --gray-600:   #475569;
  --gray-800:   #1e293b;
  --gray-900:   #0f172a;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:  0 4px 20px rgba(0,0,0,.10);
  --shadow-lg:  0 16px 48px rgba(0,0,0,.16);

  --radius-md:  14px;
  --radius-lg:  22px;
  --transition: .25s cubic-bezier(.4,0,.2,1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img, svg { max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ── Header ── */
.bx-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
}
.bx-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; max-width: 1100px; margin: 0 auto;
}
.bx-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--gray-900); }
.bx-logo-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.bx-logo-accent { color: var(--brand); }
.bx-header-actions { display: flex; align-items: center; gap: 10px; }

/* ── Botões ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 10px; font-weight: 700; font-size: 15px;
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition), background var(--transition);
  white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: var(--shadow-lg); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: var(--shadow-md); }
.btn-accent:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: var(--shadow-lg); }
.btn-outline { background: #fff; color: var(--brand); border: 1.5px solid var(--gray-200); }
.btn-outline:hover { border-color: var(--brand); }
.btn-lg { padding: 16px 34px; font-size: 16.5px; }
.btn-block { width: 100%; }

/* ── Hero ── */
.bx-hero {
  padding: 110px 0 90px;
  background: linear-gradient(180deg, var(--brand-pale, var(--gray-50)) 0%, #fff 100%);
  text-align: center;
}
.bx-hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--gray-200); border-radius: 30px;
  padding: 7px 16px; font-size: 13px; font-weight: 700; color: var(--brand);
  box-shadow: var(--shadow-sm); margin-bottom: 26px;
}
.bx-hero-icon { font-size: 46px; line-height: 1; margin-bottom: 18px; display: block; }
.bx-hero h1 {
  font-size: clamp(32px, 5vw, 54px); font-weight: 800; letter-spacing: -1px;
  color: var(--gray-900); line-height: 1.12; margin-bottom: 20px;
}
.bx-hero h1 span { color: var(--brand); }
.bx-hero p.lead {
  font-size: 18px; color: var(--gray-600); max-width: 620px; margin: 0 auto 34px;
}
.bx-hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Seção genérica ── */
.section { padding: 80px 0; }
.section-title {
  font-size: clamp(26px, 3.5vw, 36px); font-weight: 800; color: var(--gray-900);
  text-align: center; letter-spacing: -.5px; margin-bottom: 14px;
}
.section-sub {
  text-align: center; color: var(--gray-600); font-size: 16px;
  max-width: 560px; margin: 0 auto 50px;
}

/* ── Cards de produto (institucional) ── */
.bx-products-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px;
}
.bx-product-card {
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  padding: 30px 24px; text-align: center; box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.bx-product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.bx-product-icon {
  width: 60px; height: 60px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center; font-size: 28px;
  color: #fff;
}
.bx-product-card h3 { font-size: 18px; font-weight: 800; color: var(--gray-900); }
.bx-product-card p { font-size: 13.5px; color: var(--gray-600); line-height: 1.55; }
.bx-product-status {
  font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px;
  padding: 3px 11px; border-radius: 20px;
}
.bx-product-status.ativo   { background: #dcfce7; color: #166534; }
.bx-product-status.aguarde { background: #f1f5f9; color: #64748b; }

/* ── Formulário de lista de espera ── */
.bx-waitlist {
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  padding: 34px 30px; box-shadow: var(--shadow-md); max-width: 460px; margin: 0 auto;
}
.bx-field { margin-bottom: 14px; text-align: left; }
.bx-field label { display: block; font-size: 12.5px; font-weight: 700; color: var(--gray-800); margin-bottom: 6px; }
.bx-field input {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--gray-200); border-radius: 9px;
  font-size: 14.5px; font-family: inherit; outline: none; transition: border-color var(--transition);
}
.bx-field input:focus { border-color: var(--brand); }
.bx-form-msg { margin-top: 12px; padding: 11px 14px; border-radius: 8px; font-size: 13.5px; font-weight: 600; }
.bx-form-msg.success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.bx-form-msg.error   { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }

/* ── Toast flutuante ── */
.bx-toast {
  position: fixed; top: 88px; right: 24px; z-index: 200;
  max-width: 320px; box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(-10px);
  transition: opacity .3s ease, transform .3s ease;
  white-space: pre-line;
}
.bx-toast.in-view { opacity: 1; transform: none; }
@media (max-width: 640px) { .bx-toast { left: 16px; right: 16px; top: 76px; max-width: none; } }

/* ── Footer ── */
.bx-footer {
  padding: 40px 0; text-align: center; color: var(--gray-400); font-size: 13px;
  border-top: 1px solid var(--gray-200);
}
.bx-footer a { color: var(--brand); font-weight: 600; }

/* ── Fade-in on scroll ── */
.fade-in { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.in-view { opacity: 1; transform: none; }

@media (max-width: 640px) {
  .bx-hero { padding: 80px 0 60px; }
  .bx-hero-actions { flex-direction: column; align-items: stretch; }
  .section { padding: 56px 0; }
}
