/* =====================================================================
   nara.css · base compartilhada da Varanda da Nara
   Dono: worker páginas-de-venda. Importado por index/quiz/obrigado e
   por css/mapa.css (página do cliente/grátis). Classes estáveis; não renomear.

   Importa /marca/tokens.css (paleta, fontes locais, --arco).
   Classes públicas:
     Layout ......... .nv-wrap (largura), .nv-texto (largura de leitura),
                      .nv-sec (seção com respiro), .nv-sec--creme2 / --papel /
                      --ceu (anil escuro) / --terracota, .nv-grid-2, .nv-grid-3,
                      .nv-stack (gap vertical), .nv-center
     Tipografia ..... .nv-eyebrow, .nv-h1, .nv-h2, .nv-h3, .nv-lead, .nv-mini,
                      .nv-assina (assinatura manuscrita da Nara), em = itálico terracota
     Botões ......... .nv-btn, .nv-btn--grande, .nv-btn--ghost, .nv-btn--claro,
                      .nv-btn--whats, .nv-btn--bloco (100% largura), .nv-link
     Cards .......... .nv-card, .nv-card--ceu, .nv-selo, .nv-tag, .nv-lista-check
     Fotos .......... .nv-foto-arco (topo em arco), .nv-moldura (moldura papel)
     Header/footer .. .nv-header, .nv-logo, .nv-footer, .nv-aviso-ia
     Decoração ...... .nv-grao (papel com grão), .nv-azulejo (faixa de azulejo),
                      .nv-divisor (estrela entre linhas), .nv-ceu-estrelas
     Utilitários .... .nv-sr (só leitor de tela), .nv-oculto, .nv-mt-0/1/2/3
   ===================================================================== */
@import url("/marca/tokens.css");

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--creme); color: var(--tinta);
  font: 400 var(--t-corpo)/1.65 var(--f-texto); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--anil); text-underline-offset: .18em; }
:focus-visible { outline: 3px solid var(--mostarda); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ---------- tipografia ---------- */
h1, h2, h3, .nv-h1, .nv-h2, .nv-h3 { font-family: var(--f-titulo); font-weight: 500; letter-spacing: -.015em; line-height: 1.06;
  font-variation-settings: "opsz" 144, "SOFT" 50; color: var(--tinta); text-wrap: balance; }
.nv-h1 { font-size: var(--t-hero); }
.nv-h2 { font-size: var(--t-h2); }
.nv-h3 { font-size: var(--t-h3); line-height: 1.2; }
h1 em, h2 em, h3 em, .nv-em { font-style: italic; color: var(--terracota); font-weight: 400; }
.nv-eyebrow { display: inline-flex; align-items: center; gap: .6em; font: 700 .76rem/1.2 var(--f-texto); letter-spacing: .16em;
  text-transform: uppercase; color: var(--terracota); }
.nv-eyebrow::before { content: ""; width: 22px; height: 1.5px; background: currentColor; }
.nv-lead { font-size: 1.16rem; line-height: 1.6; color: var(--tinta-2); }
.nv-mini { font-size: var(--t-mini); line-height: 1.5; color: var(--tinta-2); }
.nv-assina { font-family: var(--f-titulo); font-style: italic; font-size: 1.5rem; color: var(--terracota); }
p + p { margin-top: 1em; }
strong { font-weight: 700; }

/* ---------- layout ---------- */
.nv-wrap { width: min(100% - 2.5rem, var(--largura)); margin-inline: auto; }
.nv-texto { width: min(100% - 2.5rem, var(--largura-texto)); margin-inline: auto; }
.nv-sec { padding-block: clamp(3.5rem, 9vw, 7rem); position: relative; }
.nv-sec--creme2 { background: var(--creme-2); }
.nv-sec--papel { background: var(--papel); }
.nv-sec--ceu { background: var(--anil-escuro); color: #F3ECDD; }
.nv-sec--ceu h1, .nv-sec--ceu h2, .nv-sec--ceu h3 { color: #FBF7EF; }
.nv-sec--ceu h2 em, .nv-sec--ceu h3 em { color: var(--mostarda-clara); }
.nv-sec--ceu .nv-eyebrow { color: var(--mostarda); }
.nv-sec--ceu .nv-lead, .nv-sec--ceu .nv-mini { color: #D9D2C4; }
.nv-sec--ceu a { color: var(--mostarda-clara); }
.nv-sec--terracota { background: var(--terracota); color: #FFF7EC; }
.nv-sec--terracota h2 { color: #FFF7EC; } .nv-sec--terracota h2 em { color: var(--mostarda-clara); }
.nv-stack > * + * { margin-top: var(--gap, 1.1rem); }
.nv-center { text-align: center; }
.nv-center .nv-eyebrow { justify-content: center; }
.nv-grid-2, .nv-grid-3 { display: grid; gap: clamp(1.25rem, 3vw, 2.25rem); }
@media (min-width: 820px) {
  .nv-grid-2 { grid-template-columns: 1fr 1fr; align-items: center; }
  .nv-grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- botões ---------- */
.nv-btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 52px; padding: .95rem 1.6rem;
  border-radius: var(--raio-pill); background: var(--terracota); color: #fff; font: 700 1.02rem/1.15 var(--f-texto); text-align: center;
  text-decoration: none; border: 0; box-shadow: var(--sombra-cta); cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s; }
.nv-btn:hover { background: var(--terracota-escura); transform: translateY(-1px); }
.nv-btn:active { transform: translateY(1px); }
.nv-btn--grande { min-height: 60px; padding: 1.1rem 2rem; font-size: 1.12rem; }
.nv-btn--bloco { display: flex; width: 100%; }
.nv-btn--ghost { background: transparent; color: var(--tinta); box-shadow: inset 0 0 0 1.5px var(--tinta); }
.nv-btn--ghost:hover { background: var(--tinta); color: var(--creme); }
.nv-btn--claro { background: var(--creme); color: var(--terracota-escura); box-shadow: 0 10px 24px -12px rgba(0,0,0,.5); }
.nv-btn--claro:hover { background: #fff; }
.nv-btn--whats { background: var(--folha); box-shadow: 0 10px 24px -10px rgba(60,85,45,.6); }
.nv-btn--whats:hover { background: #4b6539; }
.nv-btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.nv-link { background: none; border: 0; padding: 0; color: var(--anil); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; font-weight: 500; }

/* ---------- cards ---------- */
.nv-card { background: var(--papel); border-radius: var(--raio); box-shadow: var(--sombra); border: 1px solid var(--linha); padding: clamp(1.25rem, 3vw, 2rem); }
.nv-card--ceu { background: var(--anil-escuro); color: #F3ECDD; border-color: rgba(255,255,255,.12); }
.nv-selo { display: inline-grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; background: var(--mostarda); color: var(--tinta);
  font: 700 .72rem/1.15 var(--f-texto); text-transform: uppercase; letter-spacing: .06em; text-align: center; padding: .6rem;
  box-shadow: inset 0 0 0 4px var(--mostarda), inset 0 0 0 5.5px var(--tinta); transform: rotate(-8deg); }
.nv-tag { display: inline-block; padding: .3em .8em; border-radius: var(--raio-pill); background: var(--mostarda-clara); color: var(--tinta);
  font: 700 .74rem/1.2 var(--f-texto); letter-spacing: .06em; text-transform: uppercase; }
.nv-lista-check { list-style: none; padding: 0; display: grid; gap: .7rem; }
.nv-lista-check li { position: relative; padding-left: 2rem; }
.nv-lista-check li::before { content: ""; position: absolute; left: 0; top: .2em; width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: var(--folha-clara) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%235E7A4A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/80% no-repeat; }

/* ---------- fotos ---------- */
.nv-foto-arco { border-radius: var(--arco); object-fit: cover; width: 100%; }
.nv-moldura { position: relative; padding: 10px; background: var(--papel); border-radius: var(--arco); box-shadow: var(--sombra); }
.nv-moldura::before { content: ""; position: absolute; inset: 4px; border: 1px solid var(--linha); border-radius: var(--arco); pointer-events: none; }

/* ---------- header / footer ---------- */
.nv-header { position: sticky; top: 0; z-index: 20; background: rgba(246,238,223,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--linha); }
.nv-header .nv-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 62px; }
.nv-logo { display: inline-flex; align-items: center; gap: .55rem; font: italic 500 1.28rem/1 var(--f-titulo); color: var(--tinta); text-decoration: none; }
.nv-logo svg { width: 30px; height: 30px; color: var(--terracota); }
.nv-header .nv-btn { min-height: 42px; padding: .6rem 1.1rem; font-size: .92rem; box-shadow: none; }
.nv-footer { background: var(--anil-escuro); color: #D9D2C4; padding: 3rem 0 2.5rem; font-size: .92rem; }
.nv-footer .nv-logo { color: #FBF7EF; }
.nv-footer a { color: var(--mostarda-clara); }
.nv-footer nav { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: 1.2rem; }
.nv-aviso-ia { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.14); font-size: .84rem; line-height: 1.55; color: #C9C1B2; }

/* ---------- decoração ---------- */
.nv-grao { position: relative; isolation: isolate; }
.nv-grao::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .32; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .25 0 0 0 0 .18 0 0 0 .18 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.nv-sec--ceu.nv-grao::after { mix-blend-mode: screen; opacity: .12; }
/* faixa de azulejo de Olinda (SVG em linha, anil sobre creme) */
.nv-azulejo { height: 34px; background-color: var(--creme);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='34' viewBox='0 0 34 34'%3E%3Cg fill='none' stroke='%232F4A7A' stroke-width='1.2'%3E%3Crect x='.6' y='.6' width='32.8' height='32.8'/%3E%3Cpath d='M17 4c3 5 3 8 0 13-3-5-3-8 0-13zM17 30c3-5 3-8 0-13-3 5-3 8 0 13zM4 17c5-3 8-3 13 0-5 3-8 3-13 0zM30 17c-5-3-8-3-13 0 5 3 8 3 13 0z'/%3E%3Ccircle cx='17' cy='17' r='2.2' fill='%23D9A23F' stroke='none'/%3E%3Cpath d='M.6 6.6A6 6 0 0 0 6.6.6M27.4.6a6 6 0 0 0 6 6M33.4 27.4a6 6 0 0 0-6 6M6.6 33.4a6 6 0 0 0-6-6'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 34px 34px; border-block: 1.5px solid var(--anil); }
.nv-divisor { display: flex; align-items: center; gap: 1rem; color: var(--terracota); margin: 2rem auto; max-width: 320px; }
.nv-divisor::before, .nv-divisor::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .4; }
.nv-divisor svg { width: 18px; height: 18px; }
.nv-ceu-estrelas { background-image:
  radial-gradient(1.2px 1.2px at 12% 18%, #F1D79A 50%, transparent 51%), radial-gradient(1px 1px at 78% 12%, #fff 50%, transparent 51%),
  radial-gradient(1.4px 1.4px at 45% 70%, #F1D79A 50%, transparent 51%), radial-gradient(1px 1px at 88% 64%, #fff 50%, transparent 51%),
  radial-gradient(1px 1px at 24% 84%, #fff 50%, transparent 51%), radial-gradient(1.3px 1.3px at 62% 32%, #F1D79A 50%, transparent 51%);
  background-size: 420px 420px; }

/* ---------- utilitários ---------- */
.nv-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nv-oculto, [hidden] { display: none !important; }
.nv-mt-0 { margin-top: 0 !important; } .nv-mt-1 { margin-top: .75rem; } .nv-mt-2 { margin-top: 1.5rem; } .nv-mt-3 { margin-top: 2.5rem; }
.nv-pular { position: absolute; left: -999px; top: 0; background: var(--tinta); color: #fff; padding: .6rem 1rem; z-index: 99; }
.nv-pular:focus { left: 1rem; top: 1rem; }

@media print { .nv-header, .nv-footer nav, .nv-btn { display: none !important; } body { background: #fff; } .nv-grao::after { display: none; } }
