﻿/* ============================================================================
   DESIGN TOKENS — fonte única de verdade
   Este bloco substitui os :root duplicados que existiam em app.css, navbar.css
   e style.css com valores divergentes. Carregado primeiro em todas as páginas.
   Mantém aliases legados (--accent-color, --primary-color) E os nomes
   semânticos usados em style.css (--green-700, --sand-100, etc.) para que
   nenhum CSS quebre.
   ============================================================================ */
:root {
  /* ── Paleta principal (marca) ─────────────────────────────────────────── */
  --green-900: #07372b;
  --green-700: #0f5b45;          /* verde Souvenir (logo) */
  --green-500: #1d8d6a;
  --blue-900:  #0e2b4f;
  --blue-700:  #1f4f86;
  --navy:      #02203A;          /* azul navy escuro */

  /* ── Areia / Neutros quentes ──────────────────────────────────────────── */
  --sand-100: #f6f1e8;
  --sand-200: #efe5d6;

  /* ── Texto ────────────────────────────────────────────────────────────── */
  --text-900: #10232f;
  --text-700: #5d6c78;
  --ink-900:  #08141c;

  /* ── Acentos ──────────────────────────────────────────────────────────── */
  --gold-400: #d2a651;
  --white:    #ffffff;

  /* ── Aliases legados (compat com navbar.css / código antigo) ──────────── */
  --primary-color: var(--navy);
  --accent-color:  var(--green-700);
  --accent-dark:   var(--green-900);
  --surface-color: var(--white);
  --surface-soft:  #f5f7fb;
  --text-color:    #10243a;
  --text-muted:    var(--text-700);
  --border-soft:   #e3e8ef;

  /* ── Sombras e raios ──────────────────────────────────────────────────── */
  --shadow-sm:   0 6px 18px rgba(2, 32, 58, 0.08);
  --shadow-md:   0 14px 36px rgba(2, 32, 58, 0.12);
  --shadow-soft: 0 14px 36px rgba(16, 35, 47, 0.12);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;

  /* ── Tipografia ───────────────────────────────────────────────────────── */
  --font-body: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  color: var(--text-color);
  background: var(--surface-soft);
}

a {
  color: inherit;
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

main {
  width: min(1200px, calc(100% - 2rem));
  margin: 1.5rem auto 4rem;
}

.btn,
button,
input,
select,
textarea {
  font: inherit;
}

.btn,
.button-primary,
.send-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--accent-color);
  color: #fff;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  padding: 0.72rem 1.1rem;
  font-weight: 600;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover,
.button-primary:hover,
.send-btn:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 0.68rem 0.82rem;
  background: #fff;
  color: var(--text-color);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--accent-color) 60%, white);
  box-shadow: 0 0 0 3px rgba(0, 128, 96, 0.12);
}

.card,
.catalog-card,
.store-card,
.product-card,
.login-page,
.profile-page {
  background: var(--surface-color);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

#toast-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  pointer-events: none;
}

@media (max-width: 768px) {
  main {
    width: calc(100% - 1rem);
    margin-top: 1rem;
  }
}

/* ═════════════════════════════════════════════════════════════════════════
 * Override do header global (style.css) — heroes das páginas internas.
 * Não-sticky: visual normal, sem sobrepor outros elementos.
 * ═════════════════════════════════════════════════════════════════════════ */
.catalog-hero,
.loja-hero,
.dicas-hero,
.spots-hero,
.stores-hero,
.dest-hero {
  display: block !important;
  position: static !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  text-align: center;
  border-bottom: 1px solid #eef2f0;
  margin: 0 0 22px;
  padding: 28px 22px;
  box-shadow: none !important;
  z-index: auto;
}
