/* Gabriela Monteiro Imports — base compartilhada (vitrine e painel). Claro e delicado: off-white, nude e ouro rosé. */
:root {
  color-scheme: light;
  --bg: #FBF7F4;
  --card: #FFFFFF;
  --nude: #F6EBE5;
  --blush: #EFD9CF;
  --line: #EEE2DC;
  --line-2: #E3D3CB;
  --ink: #2E2A2B;
  --text: #5C5250;
  --muted: #9A8B85;
  --rose: #B97A6A;
  --rose-dark: #9A5F50;
  --rose-soft: #F4E4DD;
  --gold-grad: linear-gradient(135deg, #8E5B4F 0%, #E9B9A9 30%, #B97A6A 52%, #EFC9BB 75%, #9A6355 100%);
  --ok: #6E9A6B;
  --ok-soft: #E8F0E6;
  --bad: #B5544B;
  --bad-soft: #F7E3E0;
  --wa: #25D366;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(110, 70, 60, .05), 0 8px 24px rgba(110, 70, 60, .07);
  --shadow-lg: 0 4px 10px rgba(110, 70, 60, .08), 0 24px 60px rgba(110, 70, 60, .16);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); -webkit-tap-highlight-color: transparent; }
body { margin: 0; font-family: var(--sans); color: var(--text); background: var(--bg); line-height: 1.55; font-size: 15px; -webkit-font-smoothing: antialiased; }
body.no-scroll { overflow: hidden; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); font-weight: 500; line-height: 1.15; margin: 0; letter-spacing: .005em; }
p { margin: 0; }
a { color: var(--rose-dark); }
img, svg { display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--blush); }
.ico { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Marca */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand .mono { width: 66px; height: auto; }
.brand-tx { display: grid; line-height: 1.05; }
.brand-tx b { font-family: "Cinzel", var(--serif); font-weight: 600; font-size: 16px; letter-spacing: .08em; text-transform: uppercase; color: #9A4F36;
  background: linear-gradient(180deg, #D8907A 0%, #9A4F36 55%, #C27A60 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.brand-tx i { font-style: normal; font-size: 9px; letter-spacing: .62em; color: var(--rose); margin-top: 3px; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; font-weight: 500; font-size: 14px; letter-spacing: .02em; text-decoration: none; white-space: nowrap; transition: background .15s, border-color .15s, color .15s, transform .1s, box-shadow .15s; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-primary { background: var(--rose); color: #fff; box-shadow: 0 6px 16px rgba(185, 122, 106, .28); }
.btn-primary:hover:not(:disabled) { background: var(--rose-dark); }
.btn-ghost { background: var(--card); border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover:not(:disabled) { border-color: var(--rose); color: var(--rose-dark); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 6px 16px rgba(37, 211, 102, .25); }
.btn-wa:hover:not(:disabled) { filter: brightness(.95); }
.btn-danger { background: var(--bad-soft); color: var(--bad); }
.btn-sm { height: 36px; padding: 0 15px; font-size: 13px; }
.btn-block { width: 100%; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; display: grid; place-items: center; cursor: pointer; color: var(--text); text-decoration: none; }
.icon-btn:hover { background: var(--rose-soft); color: var(--rose-dark); }

/* Campos */
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 12.5px; font-weight: 600; color: var(--ink); letter-spacing: .02em; }
.field small { color: var(--muted); font-size: 12px; }
.input { width: 100%; padding: 11px 14px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--card); color: var(--ink); outline: none; min-height: 46px; font-size: 15px; transition: border-color .15s, box-shadow .15s; }
.input::placeholder { color: #B5A7A1; }
.input:focus { border-color: var(--rose); box-shadow: 0 0 0 3px var(--rose-soft); }
textarea.input { min-height: 110px; resize: vertical; line-height: 1.5; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 2px; }

/* Selos */
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; background: var(--nude); color: var(--rose-dark); }
.tag.t-lancamento { background: var(--rose); color: #fff; }
.tag.t-seminovo { background: #EEF0EA; color: #66745F; }
.tag.t-encomenda { background: #F3EEE3; color: #8A7340; }
.tag.t-esgotado { background: #EDE9E8; color: #8B807C; }

/* Interruptor */
.switch { display: flex; align-items: center; gap: 12px; cursor: pointer; user-select: none; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch .sw { width: 46px; height: 28px; border-radius: 999px; background: #E2D6D0; position: relative; flex: none; transition: background .2s; }
.switch .sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .15); transition: transform .2s; }
.switch input:checked + .sw { background: var(--rose); }
.switch input:checked + .sw::after { transform: translateX(18px); }
.switch input:focus-visible + .sw { outline: 2px solid var(--rose); outline-offset: 2px; }
.switch .sw-tx b { display: block; color: var(--ink); font-weight: 600; font-size: 14px; }
.switch .sw-tx small { color: var(--muted); font-size: 12.5px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hidden { display: none !important; }
.skeleton { background: linear-gradient(90deg, var(--nude) 25%, #FBF3EF 50%, var(--nude) 75%); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: var(--radius); }
@keyframes sk { to { background-position: -200% 0; } }

/* Avisos */
.toast-wrap { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 600; display: grid; gap: 8px; width: min(92vw, 420px); }
.toast { background: var(--ink); color: #fff; padding: 13px 18px; border-radius: 14px; box-shadow: var(--shadow-lg); font-size: 14px; transition: opacity .3s; animation: up .2s ease; }
.toast.ok { background: var(--ok); }
.toast.bad { background: var(--bad); }

/* Janela */
.modal-back { position: fixed; inset: 0; background: rgba(46, 34, 30, .42); backdrop-filter: blur(3px); z-index: 300; display: flex; align-items: flex-end; justify-content: center; animation: fade .15s; }
@media (min-width: 720px) { .modal-back { align-items: center; padding: 24px; } }
.modal { position: relative; background: var(--card); width: 100%; max-width: 520px; max-height: 94vh; overflow: auto; border-radius: 24px 24px 0 0; box-shadow: var(--shadow-lg); animation: up .22s ease; overscroll-behavior: contain; }
.modal.wide { max-width: 860px; }
@media (min-width: 720px) { .modal { border-radius: 24px; } }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px 8px; position: sticky; top: 0; background: var(--card); z-index: 3; }
.modal-head h3 { font-size: 24px; }
.modal-body { padding: 8px 20px 22px; display: grid; gap: 16px; }
.modal-x { position: absolute; top: 12px; right: 12px; z-index: 5; background: rgba(255, 255, 255, .9); box-shadow: var(--shadow); }
@keyframes fade { from { opacity: 0; } }
@keyframes up { from { transform: translateY(20px); opacity: .5; } }

/* Passo a passo na tela */
.tour-shade { position: fixed; z-index: 700; border-radius: 16px; box-shadow: 0 0 0 9999px rgba(46, 34, 30, .55); outline: 2px solid var(--rose); transition: all .25s ease; pointer-events: none; }
.tour-tip { position: fixed; z-index: 701; width: min(340px, calc(100vw - 24px)); background: var(--card); border-radius: 18px; padding: 18px; box-shadow: var(--shadow-lg); display: grid; gap: 10px; animation: up .2s ease; }
.tour-tip h4 { font-size: 22px; }
.tour-tip p { font-size: 14px; }
.tour-tip .tour-foot { display: flex; align-items: center; gap: 8px; }
.tour-tip .tour-foot span { color: var(--muted); font-size: 12px; margin-right: auto; }
.brand-tx b { white-space: nowrap; }
@media (max-width: 420px) { .brand .mono { width: 56px; } .brand-tx b { font-size: 13.5px; letter-spacing: .06em; } .brand-tx i { font-size: 8px; } }
