@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --navy: #19294A;
  --green: #3BB057;
  --white: #FEFEFE;
  --graphite: #373534;
  --gray-bg: #F6F8FA;
  --gray-border: #E5E9EF;
  --gray-text: #6B7280;
  --danger: #C0392B;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

/* Trava scroll horizontal da página inteira — rede de segurança pro pedido do usuário em
   2026-09-02 de a página caber na tela do celular sem precisar arrastar pro lado. */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: 'Inter', 'Calibri', 'Carlito', sans-serif;
  background: var(--gray-bg);
  color: var(--graphite);
}

h1, h2, h3, .brand-font {
  font-family: 'Fredoka One', 'Inter', sans-serif;
}

a { color: inherit; }

.header {
  background: var(--navy);
  color: var(--white);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* Logo oficial (variação branca, pra fundo escuro) no lugar do antigo texto em pílula branca —
   revisão de identidade visual pedida pelo usuário em 2026-09-02 (ver IDENTIDADE-VISUAL-BREMAR.md
   no projeto: variações de logo já vinham prontas, só não estavam sendo usadas aqui). */
.brand-badge {
  display: inline-flex;
  align-items: center;
}

.brand-badge img {
  display: block;
  height: 38px;
  width: auto;
}

.header-actions { display: flex; align-items: center; gap: 14px; font-size: 14px; }

/* Link discreto de acesso do vendedor (pedido do usuário em 2026-09-09): fica no cabeçalho,
   junto da tagline, sem chamar atenção como um card/botão grande — mas continua clicável e
   levando direto pro login da equipe. */
.link-discreto {
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  text-decoration: none;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.35);
  padding-bottom: 1px;
  transition: color 0.15s;
}
.link-discreto:hover { color: var(--white); }

.footer {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 18px;
  margin-top: 32px;
}

.footer .tagline {
  color: var(--green);
  font-weight: 800;
  font-size: 16px;
}

.footer .contact {
  color: #B9C4D2;
  font-size: 13px;
  margin-top: 8px;
  line-height: 1.7;
}

/* Atalho fixo pra pular direto pros campos de cliente/pagamento no fim da página — só aparece
   no celular, onde o catálogo de produtos pode ficar bem comprido antes desses campos. Pedido do
   usuário em 2026-09-02. */
.atalho-mobile { display: none; }

@media (max-width: 900px) {
  .container { padding: 20px 12px; }
  .card { padding: 16px; }

  .atalho-mobile {
    display: flex;
    align-items: center;
    gap: 6px;
    position: fixed;
    right: 14px;
    bottom: 14px;
    z-index: 50;
    background: var(--green);
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    padding: 12px 16px;
    border-radius: 999px;
    box-shadow: 0 6px 16px rgba(25, 41, 74, 0.3);
  }
}

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

.card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: 12px;
  padding: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  font-weight: 700;
  font-size: 14.5px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.05s ease, opacity 0.15s ease;
}

.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

.btn-green { background: var(--green); color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-whatsapp { background: #25D366; color: var(--white); }
.btn-danger { background: var(--danger); color: var(--white); }

label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-text);
  margin-bottom: 5px;
}

input, select, textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid var(--gray-border);
  border-radius: 8px;
  font-size: 14.5px;
  font-family: inherit;
  background: var(--white);
  color: var(--graphite);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--green);
}

.field { margin-bottom: 14px; }

.error-box {
  background: #FDECEA;
  color: var(--danger);
  border: 1px solid #F5C6C2;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13.5px;
  margin-bottom: 14px;
}

.badge {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.4px;
  padding: 4px 10px;
  border-radius: 20px;
}

.badge-muted {
  background: var(--gray-border);
  color: var(--gray-text);
}
