/* Páginas de brindes para igrejas (/brindes/igreja-*): página de vendas no formato da Folha de Bottons.
   Cores no <body style="--wine: ...; --gold: ...">; imagens dos produtos em /brindes/<pagina>/img/. */

body {
  --ink: #1C1220;
  --night: #170E1B;
  --night-2: #241629;
  --wine: #5B2346;
  --gold: #FFC23D;
  --gold-2: #FFB000;
  --red: #E5383B;
  --paper: #F7F3EE;
  --line: #E6DED6;
  --muted: #6E6470;
  font-family: "Figtree", system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
}
h1, h2, h3 { font-family: "Archivo", sans-serif; letter-spacing: -0.025em; text-wrap: balance; }

.promo-bar { background: var(--red); font-weight: 700; letter-spacing: 0.01em; }
.promo-bar b { background: var(--gold); color: var(--ink); padding: 1px 8px; border-radius: 6px; }

/* Faixa fixa com atalhos para as seções */
.nav-ig { background: rgba(23, 14, 27, 0.94); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.nav-logo img { height: 26px; width: auto; filter: brightness(0) invert(1); }
.nav-links { display: flex; gap: 4px; margin: 0 auto; }
.nav-links a { color: rgba(255, 255, 255, 0.72); font-weight: 600; font-size: 0.92rem; padding: 8px 14px; border-radius: 999px; white-space: nowrap; transition: color 0.2s, background 0.2s; }
.nav-links a:hover { color: #fff; }
.nav-links a.on { color: #fff; background: rgba(255, 255, 255, 0.1); }
.nav-cta { background: var(--gold); color: var(--ink); font-weight: 800; font-size: 0.9rem; padding: 10px 18px; border-radius: 999px; white-space: nowrap; }
.nav-cta:hover { background: var(--gold-2); }
section[id] { scroll-margin-top: 64px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.dark { background: var(--night); color: #fff; }
.kick { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); }
.dark .kick { color: var(--gold); }
.h2 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); font-weight: 900; line-height: 1.05; margin-top: 10px; }
.lead { margin-top: 16px; font-size: 1.1rem; color: var(--muted); max-width: 40em; }
.dark .lead { color: rgba(255, 255, 255, 0.72); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
/* Destaque de palavra ou frase: só cor (dourado fechado no fundo claro, dourado no escuro) */
.hl { color: #B8871A; } /* dourado mais fechado: o --gold some no fundo creme */
.dark .hl, .final-ig .hl, .hero-ig .hl { color: var(--gold); }
section { padding: 84px 0; }

/* Botão principal amarelo */
.cta {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: linear-gradient(180deg, #FFD460, var(--gold-2));
  color: var(--ink);
  border-radius: 16px;
  padding: 18px 34px;
  box-shadow: 0 6px 0 #C98700, 0 18px 40px -12px rgba(255, 176, 0, 0.6);
  font-family: "Archivo", sans-serif;
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.cta small { font-family: "Figtree", sans-serif; font-weight: 600; font-size: 0.8rem; text-transform: none; letter-spacing: 0; opacity: 0.8; }
.cta:hover { transform: translateY(2px); box-shadow: 0 4px 0 #C98700, 0 14px 30px -12px rgba(255, 176, 0, 0.6); }
.checks { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; font-weight: 600; font-size: 0.92rem; }
.checks li::before { content: "✓ "; color: var(--gold); font-weight: 900; }
.light .checks li::before { color: var(--red); }

/* Hero */
.hero-ig {
  background: radial-gradient(900px 500px at 85% 10%, rgba(140, 40, 90, 0.55), transparent 60%), var(--night);
  color: #fff;
  padding: 64px 0 80px;
  overflow: hidden;
}
.hero-ig .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.hero-ig h1 { font-size: clamp(2.4rem, 5.6vw, 4.3rem); font-weight: 900; line-height: 0.98; margin-top: 14px; }
.hero-ig h1 em { font-style: normal; color: var(--gold); }
.hero-ig .lead { color: rgba(255, 255, 255, 0.75); }
.hero-ig .cta { margin-top: 30px; }
.stack { position: relative; aspect-ratio: 1 / 0.95; }
.stack img { position: absolute; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.45)); }
.stack .s1 { width: 54%; left: 4%; top: 6%; transform: rotate(-7deg); z-index: 2; }
.stack .s2 { width: 44%; right: 0; top: 0; transform: rotate(8deg); }
.stack .s3 { width: 40%; right: 6%; bottom: 0; transform: rotate(-5deg); z-index: 3; }
.stack .s4 { width: 34%; left: 14%; bottom: 2%; transform: rotate(10deg); z-index: 1; }
.sticker {
  position: absolute;
  z-index: 4;
  left: 40%;
  bottom: 34%;
  background: var(--gold);
  color: var(--ink);
  font-family: "Archivo", sans-serif;
  font-weight: 900;
  font-size: clamp(0.9rem, 1.8vw, 1.25rem);
  text-transform: uppercase;
  padding: 12px 22px;
  border-radius: 999px;
  transform: rotate(-8deg);
  box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

/* Dores */
.pains { margin-top: 36px; list-style: none; display: grid; gap: 14px; }
.pains li {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--red);
  border-radius: 14px;
  padding: 18px 22px;
  font-size: 1.05rem;
}
.punch { margin-top: 48px; font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 900; line-height: 1.1; }

/* Produtos (ímã x botton) */
.duo { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.duo-card {
  background: var(--night-2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
}
.duo-visual { height: 230px; display: flex; align-items: flex-end; justify-content: center; gap: 14px; }
.duo-visual img { filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.5)); }
.duo-visual figure { text-align: center; }
.duo-visual figcaption { margin-top: 8px; font-weight: 800; font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); }
.duo-card h3 { margin-top: 26px; font-size: 1.6rem; font-weight: 900; }
.duo-card .tag { display: inline-block; margin-top: 6px; color: var(--gold); font-weight: 700; }
.duo-card ul { margin-top: 14px; list-style: none; display: grid; gap: 8px; color: rgba(255, 255, 255, 0.8); }
.duo-card li::before { content: "✓ "; color: var(--gold); font-weight: 900; }

/* Kits */
.kits { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.kit {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 30px 26px 26px;
  display: flex;
  flex-direction: column;
  text-align: center;
}
.kit.best { border: 3px solid var(--gold-2); box-shadow: 0 30px 60px -30px rgba(201, 135, 0, 0.55); transform: translateY(-10px); }
.kit-flag {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: #fff;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.kit img { width: 62%; margin: 4px auto 0; filter: drop-shadow(0 16px 20px rgba(28, 18, 32, 0.25)); }
.kit h3 { margin-top: 18px; font-size: 1.35rem; font-weight: 900; }
.kit .what { margin-top: 6px; color: var(--muted); font-size: 0.95rem; flex: 1; }
.kit .old { margin-top: 18px; color: var(--muted); font-size: 0.9rem; }
.kit .old s { color: var(--red); }
.kit .price { font-family: "Archivo", sans-serif; font-weight: 900; font-size: 2.8rem; line-height: 1; letter-spacing: -0.03em; margin-top: 4px; }
.kit .price small { font-size: 1.1rem; vertical-align: top; margin-right: 2px; }
.kit .unit { margin-top: 6px; font-weight: 700; color: var(--wine); font-size: 0.92rem; }
.kit .cta { margin-top: 20px; width: 100%; padding: 15px 18px; font-size: 1rem; }
.kit:not(.best) .cta { background: var(--ink); color: #fff; box-shadow: 0 5px 0 #000; }
.kits-note { margin-top: 26px; text-align: center; color: var(--muted); }
.kits-note a { color: var(--wine); font-weight: 700; text-decoration: underline; }

/* Modelos */
.models { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.model {
  background: var(--night-2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 26px 22px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.model img { width: 74%; filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.5)); transition: transform 0.25s ease; }
.model:hover img { transform: rotate(-4deg) scale(1.04); }
.model .num { margin-top: 18px; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.12em; color: var(--gold); text-transform: uppercase; }
.model h3 { margin-top: 4px; font-size: 1.2rem; font-weight: 800; }
.model p { margin-top: 4px; color: rgba(255, 255, 255, 0.65); font-size: 0.9rem; flex: 1; }
.model a { margin-top: 14px; font-weight: 800; color: var(--gold); }
.model a:hover { text-decoration: underline; }

/* Calculadora */
.calc-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
.calc { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 28px; box-shadow: 0 30px 60px -36px rgba(28, 18, 32, 0.4); font-variant-numeric: tabular-nums; }
.r-row { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.r-row b { font-weight: 800; }
.r-row small { display: block; color: var(--muted); font-size: 0.82rem; }
.r-row .unit { color: var(--wine); font-weight: 800; }
.stepper { display: inline-flex; align-items: center; background: var(--paper); border-radius: 12px; overflow: hidden; }
.stepper button { width: 38px; height: 38px; border: 0; background: transparent; font-size: 1.15rem; font-weight: 800; color: var(--ink); cursor: pointer; }
.stepper button:hover { background: var(--line); }
.stepper input { width: 54px; height: 38px; border: 0; background: transparent; text-align: center; font: inherit; font-weight: 800; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.r-ship { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; padding: 14px 0 6px; }
.r-ship b { font-weight: 800; }
.r-ship small { display: block; color: var(--muted); font-size: 0.82rem; }
.cep-box { display: flex; background: var(--paper); border-radius: 12px; overflow: hidden; }
.cep-box input { width: 122px; height: 38px; border: 0; background: transparent; padding: 0 12px; font: inherit; font-weight: 700; letter-spacing: 0.02em; }
.cep-box input:focus { outline: 2px solid var(--gold); outline-offset: -2px; border-radius: 12px; }
.cep-box button { border: 0; background: var(--ink); color: #fff; font: inherit; font-weight: 700; font-size: 0.88rem; padding: 0 14px; cursor: pointer; }
.cep-box button:hover { background: var(--wine); }
.ship-opts { display: grid; gap: 8px; }
.ship-opts:not(:empty) { margin-top: 6px; }
.ship-opt { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; }
.ship-opt.on { border-color: var(--ink); background: var(--paper); }
.ship-opt input { accent-color: var(--ink); margin: 0; }
.ship-opt b { font-weight: 800; font-size: 0.95rem; }
.ship-opt small { display: block; color: var(--muted); font-size: 0.8rem; }
.ship-opt strong { font-weight: 800; }
.ship-msg { font-size: 0.85rem; color: var(--muted); margin-top: 6px; min-height: 1.2em; }
.ship-msg.warn { color: var(--red); font-weight: 700; }
.calc.need .stepper { animation: need 1.4s ease; }
@keyframes need { 0%, 60% { box-shadow: 0 0 0 3px var(--gold); background: #FFF4D6; } 100% { box-shadow: 0 0 0 0 transparent; } }
.r-sum { display: flex; justify-content: space-between; font-size: 0.92rem; color: var(--muted); padding-top: 6px; }
.r-sum.first { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 12px; }
.r-sum span:last-child { font-weight: 700; color: var(--ink); }
.r-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 8px; }
.r-total span { color: var(--muted); font-weight: 600; }
.r-total strong { font-family: "Archivo", sans-serif; font-weight: 900; font-size: 2.2rem; letter-spacing: -0.03em; }
.r-pix { display: flex; justify-content: space-between; align-items: baseline; margin-top: 2px; color: #1B7F4B; font-size: 0.92rem; }
.r-pix strong { font-family: "Archivo", sans-serif; font-weight: 800; font-size: 1.15rem; }
.r-pay { margin-top: 12px; text-align: center; font-size: 0.8rem; color: var(--muted); line-height: 1.5; }
.r-pay b { color: var(--ink); font-weight: 700; }
.r-note { margin-top: 4px; font-size: 0.88rem; color: var(--muted); min-height: 1.3em; }
.r-note.warn { color: var(--red); font-weight: 700; }
.calc .cta { margin-top: 18px; width: 100%; font-size: 1rem; }

/* Passos */
.steps { margin-top: 44px; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.steps li { background: var(--night-2); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 18px; padding: 24px; }
.steps .n { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--red); font-family: "Archivo", sans-serif; font-weight: 900; font-size: 1.2rem; }
.steps h3 { margin-top: 16px; font-size: 1.15rem; font-weight: 800; }
.steps p { margin-top: 6px; color: rgba(255, 255, 255, 0.68); font-size: 0.93rem; }

/* Garantia */
.promise {
  margin-top: 40px;
  border: 2px dashed var(--gold);
  border-radius: 20px;
  padding: 26px 30px;
  display: flex;
  gap: 22px;
  align-items: center;
}
.promise .seal { flex: none; width: 74px; height: 74px; border-radius: 50%; background: var(--gold); color: var(--ink); display: grid; place-items: center; font-size: 2rem; }
.promise h3 { font-size: 1.3rem; font-weight: 900; }
.promise p { margin-top: 4px; color: rgba(255, 255, 255, 0.72); }

/* FAQ */
.faq { margin-top: 36px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 800; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--red); font-size: 1.4rem; line-height: 1; font-weight: 900; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 10px; color: var(--muted); }

/* CTA final */
.final-ig {
  background: radial-gradient(700px 400px at 50% 0%, rgba(140, 40, 90, 0.6), transparent 70%), var(--night);
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.countdown { display: inline-flex; align-items: baseline; gap: 10px; margin-top: 18px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 16px; padding: 12px 22px; }
.countdown strong { font-family: "Archivo", sans-serif; font-weight: 900; font-size: 2.6rem; color: var(--gold); line-height: 1; }
.final-ig .cta { margin-top: 30px; }
.final-row { margin-top: 44px; display: flex; justify-content: center; align-items: flex-end; gap: 10px; }
.final-row img { width: 150px; filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.5)); }
.final-row img:nth-child(odd) { transform: rotate(-6deg); }
.final-row img:nth-child(even) { transform: rotate(6deg) translateY(-14px); }

/* Responsivo */
@media (max-width: 960px) {
  .hero-ig .wrap { grid-template-columns: 1fr; }
  .stack { max-width: 520px; width: 100%; margin: 0 auto; }
  .kits, .models { grid-template-columns: 1fr 1fr; }
  .kit.best { transform: none; }
  .calc-grid { grid-template-columns: 1fr; gap: 28px; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  section { padding: 60px 0; }
  .hero-ig { padding: 36px 0 56px; }
  .hero-ig .cta { width: 100%; padding: 16px 18px; font-size: 1.02rem; }
  .duo, .kits { grid-template-columns: 1fr; }
  .kits { gap: 30px; }
  .models { grid-template-columns: 1fr 1fr; gap: 12px; }
  .model { padding: 18px 12px 16px; }
  .model img { width: 92%; }
  .model h3 { font-size: 1rem; }
  .model p { display: none; }
  .duo-visual { height: 180px; }
  .steps { grid-template-columns: 1fr; }
  .promise { flex-direction: column; text-align: center; }
  .calc { padding: 20px 16px; }
  .final-row img { width: 96px; }
  .final-ig .cta { width: 100%; }
}

@media (max-width: 760px) {
  .nav-inner { height: auto; padding: 8px 0 8px 16px; gap: 10px; }
  .nav-logo, .nav-cta { display: none; }
  .nav-links { margin: 0; overflow-x: auto; scrollbar-width: none; padding-right: 16px; }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { font-size: 0.88rem; padding: 7px 12px; }
  section[id] { scroll-margin-top: 52px; }
}

/* Kit ou modelo escolhido, no topo da calculadora */
.r-pick[hidden], .r-pix[hidden] { display: none; }
.r-pick { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: #FFF4D6; border: 1.5px solid var(--gold); border-radius: 12px; padding: 8px 8px 8px 14px; font-size: 0.92rem; margin-bottom: 4px; }
.r-pick b { font-weight: 800; }
.r-pick button { border: 0; background: transparent; font-size: 1.3rem; line-height: 1; color: var(--muted); cursor: pointer; padding: 2px 8px; }
.calc.picked { animation: picked 1.2s ease; }
@keyframes picked { 0% { box-shadow: 0 0 0 4px var(--gold), 0 30px 60px -36px rgba(28, 18, 32, 0.4); } 100% { box-shadow: 0 0 0 0 transparent, 0 30px 60px -36px rgba(28, 18, 32, 0.4); } }
.final-alt { margin-top: 14px; color: rgba(255, 255, 255, 0.7); font-size: 0.95rem; }
.final-alt a { color: var(--gold); font-weight: 700; text-decoration: underline; }

/* Barra fixa de pedido (só no celular) */
.m-bar { display: none; }
@media (max-width: 760px) {
  .m-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(23, 14, 27, 0.96); border-top: 1px solid rgba(255, 255, 255, 0.08); transform: translateY(110%); transition: transform 0.25s ease; }
  .m-bar.on { transform: none; }
  .m-bar-cta { flex: 1; display: flex; flex-direction: column; align-items: center; background: var(--gold); color: var(--ink); border-radius: 14px; padding: 10px 12px; font-family: "Archivo", sans-serif; font-weight: 900; text-transform: uppercase; font-size: 0.95rem; letter-spacing: 0.01em; }
  .m-bar-cta small { font-family: "Figtree", sans-serif; text-transform: none; font-weight: 600; font-size: 0.75rem; opacity: 0.8; }
  .floating-whatsapp { bottom: 92px; }
}

/* Quantidade e tamanho de cada kit */
.kit-spec { display: inline-block; margin: 8px auto 2px; padding: 4px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-weight: 800; font-size: 0.85rem; color: var(--wine); }

/* imagens com width/height no HTML (evita a página pular ao carregar) mantêm a proporção */
main img { height: auto; }
