/* =========================================================
   TEMA — o mesmo da loja. Texto sobre a cor da marca é sempre
   escuro, nunca branco; só o logotipo leva a cor direto.
   ========================================================= */
:root {
  --rosa: #f474a1;
  --rosa-pastel: #fa9dc1;
  --rosa-claro: #FEEBF2;
  --rosa-fundo: #FFF6F9;
  --ciano: #5ac4c0;
  --ciano-2: #5ac2c1;
  --ciano-claro: #DEF3F2;
  --ciano-fundo: #F2FAFA;
  --texto: #2A2A33;
  --texto-suave: #5C5C68;
  --borda: rgba(42, 42, 51, .12);
  --erro: #A0182F;

  --serifa: 'Instrument Serif', Georgia, serif;
  --sans: Figtree, system-ui, sans-serif;
  --cursiva: Allura, cursive;

  --margem: 20px;
  --raio: 20px;
  --sombra: 0 1px 2px rgba(42, 42, 51, .05), 0 8px 24px -10px rgba(42, 42, 51, .16);
  --sombra-forte: 0 18px 40px -14px rgba(42, 42, 51, .4);
  --curva: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-gutter: stable; }
html:has(dialog[open]) { overflow: hidden; }
body { margin: 0; background: #fff; color: var(--texto); font-family: var(--sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
button, input, select, textarea { font: inherit; color: inherit; }
button, a, label { touch-action: manipulation; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--texto); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--serifa); font-weight: 400; letter-spacing: -.01em; text-wrap: balance; }
.icone { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Logotipo: tamanho definido pelo font-size de .marca */
.marca { display: inline-flex; flex-direction: column; align-items: center; color: inherit; line-height: 1; text-decoration: none; }
.marca-1 { font-family: 'Playfair Display', serif; font-weight: 800; color: var(--rosa); }
.marca-2 { font-family: 'Playfair Display', serif; font-weight: 800; font-size: 1.14em; line-height: 1.12; color: var(--ciano); letter-spacing: .02em; }
.marca-3 { font-family: var(--cursiva); font-size: 1.2em; color: var(--rosa); margin-top: .1em; }

/* Botões: ciano é o padrão; rosa e claro são variações */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--ciano); color: var(--texto); font-weight: 600; font-size: 16px; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; transition: transform .2s var(--curva), box-shadow .2s, background-color .2s; }
.btn:active { transform: scale(.97); }
.btn.rosa { background: var(--rosa); }
.btn.claro { background: #fff; box-shadow: inset 0 0 0 1px var(--borda); }
.btn.perigo { background: transparent; color: var(--erro); min-height: 48px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.btn:disabled { opacity: .6; cursor: wait; }
@media (hover: hover) {
  .btn:not(.perigo):hover { box-shadow: 0 10px 22px -10px rgba(42, 42, 51, .45); }
  .btn.claro:hover { box-shadow: inset 0 0 0 1px var(--texto); }
}

/* Campos de formulário */
.campo { display: flex; flex-direction: column; gap: 6px; }
.campo label { font-weight: 600; font-size: 14px; }
.campo input, .campo select, .campo textarea { width: 100%; min-height: 52px; border: 1px solid var(--borda); border-radius: 14px; padding: 0 16px; background: #fff; font-size: 16px; -webkit-appearance: none; appearance: none; transition: border-color .15s, box-shadow .15s; }
.campo select { padding-right: 44px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%232A2A33' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 14px center; }
.campo textarea { display: block; padding: 14px 16px; min-height: 92px; resize: vertical; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--ciano); box-shadow: 0 0 0 3px var(--ciano-claro); }
::placeholder { color: var(--texto-suave); opacity: .75; }
.erro { color: var(--erro); font-size: 14px; font-weight: 500; margin: 0; }
.erro:empty { display: none; }

/* Janelas */
dialog { border: 0; padding: 0; background: #fff; color: var(--texto); overscroll-behavior: contain; }
dialog::backdrop { background: rgba(42, 42, 51, .45); }
dialog[open]::backdrop { animation: aparece .25s ease; }
@keyframes aparece { from { opacity: 0; } }
@keyframes sobe { from { transform: translateY(100%); } }
@keyframes entra-do-lado { from { transform: translateX(100%); } }

@media (min-width: 760px) {
  :root { --margem: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, ::before, ::after, ::backdrop { animation: none !important; transition: none !important; }
}
