/* ═══════════════════════════════════════════════════════════════════
   AZVÉ STUDIO · base visual (site e painel)
   Identidade: vinho #460817 · verde #1E4D3F · rosa #F1D7E9 · marrom #432B27 · marfim #FFF7EE
   Cormorant Garamond (títulos) · Manrope (texto)
   ═══════════════════════════════════════════════════════════════════ */
/* Fontes: assets/fontes.css (embutidas no site, não dependem do Google) */

:root {
  --vinho: #460817; --vinho-fundo: #2a040d; --vinho-luz: #6a1426; --verde: #1E4D3F; --rosa: #E9CED2; --rosa-claro: #f6e9eb; --ouro: #C8A675;
  --marrom: #432B27; --marfim: #F5EFE5; --papel: #fffcf8; --branco: #ffffff;
  --tinta: #2b1a17; --suave: #7d6762; --linha: rgba(70, 8, 23, .12); --linha-forte: rgba(70, 8, 23, .24);
  --ok: #1E4D3F; --erro: #a3122b; --alerta: #8a5a0a;
  --serif: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-s: 10px; --r-m: 16px; --r-l: 28px;
  --sombra-1: 0 1px 2px rgba(42, 4, 13, .05), 0 8px 24px -12px rgba(42, 4, 13, .16);
  --sombra-2: 0 30px 60px -28px rgba(42, 4, 13, .35);
  --facil: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--tinta); background: var(--marfim); font-size: 15px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; color: var(--vinho); line-height: 1.08; margin: 0 0 .45em; letter-spacing: -.01em; }
h1 { font-size: clamp(40px, 6vw, 64px); }
h2 { font-size: clamp(34px, 4.6vw, 54px); }
h3 { font-size: 24px; }
p { margin: 0 0 1em; }
a { color: var(--vinho); text-underline-offset: 3px; }
img { max-width: 100%; display: block; }
::selection { background: var(--rosa); color: var(--vinho); }
:focus-visible { outline: 2px solid var(--vinho-luz); outline-offset: 3px; border-radius: 6px; }
.mudo { color: var(--suave); }
.pequeno { font-size: 13px; }
.oculto { display: none !important; }
.num { font-variant-numeric: tabular-nums; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 24px; border-radius: 999px;
  border: 1px solid var(--vinho); background: var(--vinho); color: var(--marfim); font: 600 14px/1 var(--sans); letter-spacing: .01em;
  cursor: pointer; text-decoration: none; transition: background .25s var(--facil), color .25s, border-color .25s, transform .15s; white-space: nowrap; }
.btn:hover { background: var(--vinho-luz); border-color: var(--vinho-luz); }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .45; cursor: default; }
.btn.claro { background: transparent; color: var(--vinho); border-color: var(--linha-forte); }
.btn.claro:hover { border-color: var(--vinho); background: rgba(70, 8, 23, .04); }
.btn.verde { background: var(--verde); border-color: var(--verde); }
.btn.verde:hover { background: #255e4d; }
.btn.mini { min-height: 36px; padding: 0 16px; font-size: 13px; }
.btn.perigo { background: transparent; color: var(--erro); border-color: rgba(163, 18, 43, .35); }
.btn.perigo:hover { background: rgba(163, 18, 43, .06); border-color: var(--erro); }
.btn.zap { background: #1d7a4c; border-color: #1d7a4c; }
.btn.zap:hover { background: #18663f; }

/* Formulários */
label.campo { display: block; margin: 0 0 16px; }
label.campo > span, .campo-rot { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; color: var(--marrom); }
label.campo small, .ajuda { display: block; color: var(--suave); font-size: 12.5px; margin-top: 6px; line-height: 1.45; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=tel], input[type=url], input[type=date],
input[type=datetime-local], input[type=time], input[type=search], select, textarea {
  width: 100%; min-height: 46px; padding: 11px 14px; border: 1px solid var(--linha-forte); border-radius: var(--r-s); background: var(--branco);
  color: var(--tinta); font: 15px/1.4 var(--sans); transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none; }
select { background: var(--branco) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23460817' stroke-width='1.5'/%3E%3C/svg%3E") right 14px center/12px no-repeat; padding-right: 38px; }
input:hover, select:hover, textarea:hover { border-color: rgba(70, 8, 23, .4); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--vinho); box-shadow: 0 0 0 4px rgba(70, 8, 23, .08); }
textarea { min-height: 104px; resize: vertical; line-height: 1.55; }
input[type=color] { width: 46px; height: 46px; padding: 3px; border: 1px solid var(--linha-forte); border-radius: var(--r-s); background: var(--branco); cursor: pointer; }
input::placeholder, textarea::placeholder { color: #b3a19b; }
.interruptor { display: flex; align-items: center; gap: 12px; cursor: pointer; margin: 0 0 14px; font-weight: 500; }
.interruptor input { appearance: none; width: 44px; height: 26px; border-radius: 20px; background: #dccdc6; position: relative; transition: .25s var(--facil); flex: none; margin: 0; cursor: pointer; }
.interruptor input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: .25s var(--facil); box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
.interruptor input:checked { background: var(--verde); }
.interruptor input:checked::after { left: 21px; }

/* iPhone (mesmo desenho dos convites no computador) */
.iphone { position: relative; width: min(100%, 380px); aspect-ratio: 393/852; border-radius: 62px; padding: 11px;
  background: linear-gradient(150deg, #4a3f43 0%, #1c1517 22%, #120d0f 60%, #3b3135 100%);
  box-shadow: inset 0 0 0 1.5px #6b5d61, inset 0 0 0 4px #0c0809, 0 60px 120px -30px rgba(30, 4, 10, .6), 0 30px 50px -30px rgba(0, 0, 0, .55); }
.iphone > i { position: absolute; width: 4px; border-radius: 3px; background: linear-gradient(90deg, #2a2124, #5a4d51); }
.iphone > i.a { left: -3px; top: 17%; height: 4%; } .iphone > i.b { left: -3px; top: 24%; height: 8%; } .iphone > i.c { left: -3px; top: 34%; height: 8%; }
.iphone > i.d { right: -3px; top: 27%; height: 12%; background: linear-gradient(270deg, #2a2124, #5a4d51); }
.iphone .tela { position: relative; width: 100%; height: 100%; border-radius: 52px; overflow: hidden; background: #000; isolation: isolate; }
.iphone .ilha { position: absolute; z-index: 3; top: 11px; left: 50%; transform: translateX(-50%); width: 32%; height: 31px; border-radius: 20px; background: #000; pointer-events: none; }
.iphone iframe, .iphone .tela > img { position: relative; z-index: 1; display: block; width: 100%; height: 100%; border: 0; object-fit: cover; background: #fff; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }
