/* ————————————————————————————————————————————————
   Mil Sonhos — tokens e estilos globais
   Portado de Milsonhos.html (paleta oficial do cardápio)
   ———————————————————————————————————————————————— */
:root {
  --bg:            #ffffff;
  --bg-alt:        oklch(0.975 0.006 15);
  --bg-warm:       oklch(0.95 0.014 15);
  --bg-deep:       #3B2729;
  --primary:       #A0787A;
  --primary-dark:  #7f5c5e;
  --primary-soft:  oklch(0.82 0.03 15);
  --accent:        oklch(0.72 0.05 15);
  --gold:          #A38A63;
  --text:          #3B2729;
  --text-soft:     #4a3b3c;
  --text-body:     #524040;
  --text-muted:    #A69595;
  --line:          oklch(0.9 0.008 15);
  --line-soft:     oklch(0.95 0.006 15);
  --white:         #ffffff;
}

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

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, .serif {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.1;
  color: var(--text);
}

.wordmark {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.serif-italic {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 400;
}

.script {
  font-family: 'Petit Formal Script', cursive;
  font-weight: 400;
}

.mono {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}

button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

/* ————————————— placeholder imagens ————————————— */
.ph {
  background:
    linear-gradient(135deg, transparent 48%, oklch(0.88 0.02 30) 49%, oklch(0.88 0.02 30) 51%, transparent 52%),
    linear-gradient(45deg, transparent 48%, oklch(0.88 0.02 30) 49%, oklch(0.88 0.02 30) 51%, transparent 52%),
    var(--bg-alt);
  background-size: 22px 22px, 22px 22px, 100% 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-align: center;
  padding: 16px;
  position: relative;
  overflow: hidden;
}
.ph::before {
  content: '';
  position: absolute; inset: 8px;
  border: 1px dashed oklch(0.78 0.02 30);
  border-radius: inherit;
  pointer-events: none;
}
.ph span { position: relative; z-index: 1; background: var(--bg); padding: 4px 10px; border-radius: 999px; }

/* ————————————— scrollbar sutil ————————————— */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: oklch(0.85 0.02 30); border-radius: 10px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--primary-soft); }

/* ————————————— utilitários ————————————— */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all .2s ease;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover { background: var(--text); }
.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--text);
}
.btn-outline:hover { background: var(--text); color: var(--white); }
.btn-ghost { color: var(--text); }
.btn-ghost:hover { color: var(--primary); }
.btn:disabled { cursor: default; }

.divider-ornament {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  color: var(--gold);
  margin: 8px 0;
}
.divider-ornament::before, .divider-ornament::after {
  content: ''; height: 1px; background: currentColor; flex: 1; max-width: 60px; opacity: 0.5;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 500;
}

#root { min-height: 100vh; }

/* ————————————— responsivo ————————————— */
/* A referência foi desenhada para desktop (1280px). Abaixo empilhamos os
   grids de 2/3/4 colunas e reduzirmos paddings — o header colapsa por JS. */
@media (max-width: 1080px) {
  .container { padding: 0 22px; }
}
@media (max-width: 900px) {
  .container { padding: 0 18px; }
}
