/* Tropa do Viking. Conceito: ferro, ouro velho e brasa, conforme o mockup e a logo. */
:root {
  --carvao: #14110e;
  --carvao-2: #1e1a16;
  --ardosia: #2b3038;
  --ardosia-2: #1d2026;
  --ouro: #d9b26c;
  --ouro-claro: #f4d58d;
  --ouro-escuro: #8d6529;
  --brasa: #f07a1c;
  --aco: #9a9da0;
  --texto: #e9e2d5;
  --texto-2: #b9ae9c;
  --display: 'Fira Sans Extra Condensed', 'Arial Narrow', Impact, sans-serif;
  --corpo: 'Fira Sans', 'Helvetica Neue', Arial, sans-serif;
  --gutter: clamp(16px, 5vw, 96px);
  --largura: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--carvao) url(../img/stone.jpg) center top / 1100px; color: var(--texto); font: 400 1.0625rem/1.55 var(--corpo); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ouro-claro); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.defs { position: absolute; }

h1, h2, h3, .fim__line, .plano__preco, .btn { font-family: var(--display); font-weight: 700; text-wrap: balance; }
h1, h2, .fim__line { text-transform: uppercase; line-height: 1; letter-spacing: .01em; }
h2 { font-size: clamp(2.5rem, 5.2vw, 4.4rem); }

/* Ouro batido: o texto ganha o metal da logo */
.metal {
  background: linear-gradient(180deg, #f7e1ad 0%, #dcb56f 46%, #a97f3c 62%, #e0bb78 100%);
  -webkit-background-clip: text; background-clip: text;
  color: var(--ouro);
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 2px rgb(0 0 0 / .75));
}

/* Brasas */
#brasas { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }

/* Botão */
.btn {
  display: inline-block;
  padding: .72em 1.5em;
  border-radius: 10px;
  border: 2px solid #7a5416;
  background: linear-gradient(180deg, #ffdf8e 0%, #eeb446 48%, #c98a22 100%);
  box-shadow: 0 0 0 1px rgb(255 214 130 / .5) inset, 0 0 22px rgb(240 122 28 / .55), 0 3px 0 #5c3d0d;
  color: #231503;
  font-size: 1.32rem; line-height: 1.1; letter-spacing: .015em; text-transform: uppercase; text-align: center; text-decoration: none;
  transition: transform .15s, box-shadow .15s, filter .15s;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.07); box-shadow: 0 0 0 1px rgb(255 214 130 / .6) inset, 0 0 34px rgb(240 122 28 / .85), 0 5px 0 #5c3d0d; }
.btn--sm { padding: .55em 1.05em; font-size: 1.08rem; box-shadow: 0 0 0 1px rgb(255 214 130 / .5) inset, 0 2px 0 #5c3d0d; flex: none; }
.btn--ghost {
  border-color: #8a7350; color: #efe3cb;
  background: linear-gradient(180deg, #3b4048 0%, #24272d 100%);
  box-shadow: 0 0 0 1px rgb(255 255 255 / .08) inset, 0 3px 0 #0d0e10;
}
.btn--ghost:hover { box-shadow: 0 0 0 1px rgb(255 255 255 / .14) inset, 0 5px 0 #0d0e10; }
.btn.is-off { background: transparent; border: 2px dashed #6a5f4e; box-shadow: none; color: var(--texto-2); cursor: not-allowed; transform: none; filter: none; }

/* Topo */
.top {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: clamp(16px, 2.5vw, 34px);
  padding: 9px var(--gutter);
  background: linear-gradient(180deg, #2a2d33, #191a1d);
  border-bottom: 1px solid #4a4b4d;
  box-shadow: 0 6px 18px rgb(0 0 0 / .5);
}
.top__brand { margin-right: auto; }
.top__brand img { width: 150px; }
.top__nav { display: flex; gap: clamp(16px, 2.5vw, 34px); font-size: .98rem; color: #d8d3c8; }
.top__nav a { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s; }
.top__nav a:hover { color: var(--ouro-claro); border-color: var(--ouro); }
.top__nav a[hidden] { display: none; }

/* Hero */
.hero { position: relative; isolation: isolate; background: #1a1d21; min-height: clamp(520px, 45vw, 860px); display: flex; align-items: center; overflow: hidden; }
.hero picture { position: absolute; inset: 0; z-index: -1; }
.hero__art { width: 100%; height: 100%; object-fit: cover; object-position: right top; animation: chega 1.4s cubic-bezier(.16, 1, .3, 1) both; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(13 15 18 / .74), rgb(13 15 18 / .5) 36%, transparent 62%); }
.hero__text { width: min(52%, 720px); margin-left: max(var(--gutter), calc((100vw - var(--largura)) / 2)); padding-block: 48px; }
.hero h1 { font-size: clamp(3rem, 5.5vw, 5.4rem); font-weight: 800; line-height: .98; animation: sobe .8s .1s cubic-bezier(.16, 1, .3, 1) both; }
.hero h1 span { display: block; -webkit-text-fill-color: transparent; }
.hero__text > p { margin-top: 20px; max-width: 54ch; font-size: clamp(1.05rem, 1.35vw, 1.22rem); text-shadow: 0 1px 6px rgb(0 0 0 / .9); animation: sobe .8s .22s cubic-bezier(.16, 1, .3, 1) both; }
.hero__text strong { font-weight: 600; color: var(--ouro-claro); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; animation: sobe .8s .32s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes chega { from { transform: scale(1.05); opacity: .5; } }
@keyframes sobe { from { transform: translateY(16px); opacity: 0; } }

/* Divisor: lâmina com as pontas de seta e as runas nas bordas */
.divisor { position: relative; z-index: 3; display: flex; align-items: center; height: 26px; background: #17130f; box-shadow: 0 0 14px rgb(0 0 0 / .8); overflow: visible; }
.divisor .runas { flex: 1 1 0; min-width: 0; white-space: nowrap; overflow: hidden; padding-inline: 8px; color: var(--ouro); font: 400 .82rem/26px 'Noto Sans Runic', sans-serif; letter-spacing: .28em; opacity: .9; }
.divisor .runas:last-child { text-align: right; }
.divisor__barra { position: relative; flex: 0 0 68%; height: 14px; background: linear-gradient(180deg, #d4d6d7, #808387 46%, #4f5255 54%, #a0a3a6); box-shadow: 0 1px 4px #000; }
.divisor__barra::before, .divisor__barra::after { content: ""; position: absolute; top: 50%; width: 44px; height: 38px; background: linear-gradient(180deg, #e0e2e3, #7c7f82 50%, #a6a9ac); transform: translateY(-50%); filter: drop-shadow(0 1px 2px #000); }
.divisor__barra::before { left: -30px; clip-path: polygon(0 50%, 100% 0, 72% 50%, 100% 100%); }
.divisor__barra::after { right: -30px; clip-path: polygon(100% 50%, 0 0, 28% 50%, 0 100%); }

/* Seção padrão e título entre espadas */
.sec { position: relative; padding: clamp(52px, 7vw, 92px) var(--gutter); }
.titulo { display: flex; align-items: center; justify-content: center; gap: clamp(10px, 2vw, 24px); text-align: center; margin-bottom: clamp(32px, 4vw, 52px); }
.titulo svg { width: clamp(70px, 17vw, 230px); height: 20px; flex: 0 1 auto; filter: drop-shadow(0 2px 2px #000); }
.titulo svg.inv { transform: scaleX(-1); }
.titulo svg:first-child { transform: none; }

/* Como funciona */
.passos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.2vw, 30px); max-width: var(--largura); margin-inline: auto; counter-reset: p; }
.passo { position: relative; border: 1px solid #55504a; border-radius: 10px; background: linear-gradient(180deg, #1f1b18, #161311); box-shadow: 0 10px 24px rgb(0 0 0 / .5), inset 0 1px 0 rgb(255 255 255 / .06); text-align: center; padding-bottom: 24px; }
.passo:not(:last-child)::after { content: ""; position: absolute; z-index: 2; top: 52%; right: clamp(-23px, -1.75vw, -17px); width: 13px; height: 26px; background: var(--ouro); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.passo__topo { display: flex; align-items: center; justify-content: space-between; padding: 8px 20px; border-radius: 9px 9px 0 0; border-bottom: 2px solid var(--ouro-escuro); background: linear-gradient(180deg, #3a4048, #272b31); }
.passo__topo span { font: 700 clamp(3rem, 4.3vw, 3.9rem)/1 var(--display); }
.passo__topo svg { width: 50px; height: 50px; fill: none; stroke: var(--ouro); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.passo h3 { margin: 20px 12px 8px; font-size: 1.55rem; line-height: 1.05; font-weight: 600; color: #f2eadb; }
.passo p { padding-inline: 18px; font-size: .98rem; line-height: 1.45; color: var(--texto-2); }

/* Três frentes */
.frentes { position: relative; padding: 0 var(--gutter) clamp(60px, 8vw, 100px); text-align: center; }
.frentes__head { max-width: 860px; margin: 0 auto clamp(34px, 4vw, 52px); }
.frentes__head p { margin-top: 18px; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--texto); }
.frentes__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: var(--largura); margin: 0 auto clamp(32px, 4vw, 46px); border-block: 1px solid var(--ouro-escuro); text-align: left; }
.frente { padding: clamp(24px, 3vw, 38px) clamp(18px, 2.6vw, 36px); }
.frente + .frente { border-left: 1px solid rgb(141 101 41 / .55); }
.frente > svg { width: 64px; height: 64px; fill: none; stroke: var(--ouro-claro); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.frente__rotulo { margin-top: 14px; font: 600 1.05rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--brasa); }
.frente h3 { margin: 6px 0 12px; font-size: clamp(2rem, 3vw, 2.6rem); line-height: 1; text-transform: uppercase; color: #f6efe1; }
.frente p:not(.frente__rotulo) { color: var(--texto-2); font-size: 1rem; }
.frente .frente__sem { margin-top: 14px; padding-top: 12px; border-top: 1px dashed rgb(217 178 108 / .35); color: var(--texto); }
.frente__sem b { font-weight: 600; color: var(--ouro-claro); }

/* Jarl */
.jarl { position: relative; z-index: 2; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 0 clamp(8px, 2vw, 32px); padding-left: max(var(--gutter), calc((100vw - var(--largura)) / 2)); background: #15120f; }
.jarl h2 { font-size: clamp(3rem, 6.4vw, 5.8rem); margin-bottom: 14px; }
.jarl__nome { margin-bottom: 18px; font: 700 clamp(1.7rem, 2.8vw, 2.4rem)/1.05 var(--display); letter-spacing: .03em; text-transform: uppercase; color: var(--brasa); }
.jarl__text { padding-block: 40px; }
.jarl__text p { max-width: 50ch; }
.jarl__text p + p { margin-top: 14px; color: var(--texto-2); }
.jarl__art { width: 100%; max-width: 720px; justify-self: end; align-self: end; -webkit-mask-image: linear-gradient(90deg, transparent, #000 17%); mask-image: linear-gradient(90deg, transparent, #000 17%); }
.jarl__text .jarl__nome + p { color: var(--texto); }

/* Planos */
.ciclo { display: flex; justify-content: center; gap: 0; margin: 0 auto clamp(30px, 3.5vw, 44px); padding: 0; border: 0; }
.ciclo input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ciclo span { display: block; padding: 10px clamp(18px, 3vw, 34px); border: 1px solid var(--ouro-escuro); font: 600 1.2rem/1 var(--display); letter-spacing: .03em; cursor: pointer; background: var(--ardosia-2); transition: background .15s, color .15s; }
.ciclo label + label span { border-left: 0; }
.ciclo label:first-of-type span { border-radius: 8px 0 0 8px; }
.ciclo label:last-of-type span { border-radius: 0 8px 8px 0; }
.ciclo span:hover { color: var(--ouro-claro); }
.ciclo input:checked + span { background: linear-gradient(180deg, #f6d27f, #c98f2f); color: #231503; }
.ciclo input:focus-visible + span { outline: 3px solid var(--ouro-claro); outline-offset: 2px; }

.tabela { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); align-items: stretch; max-width: 1180px; margin-inline: auto; }
.plano {
  position: relative; display: flex; flex-direction: column; text-align: center;
  padding: 28px clamp(16px, 2vw, 28px) 28px;
  background: linear-gradient(180deg, #2a2e35 0, #1b1d21 170px, #171411 171px);
  border: 2px solid #6d6256; outline: 1px solid #3e3831; outline-offset: 5px; margin: 6px;
  box-shadow: 0 16px 34px rgb(0 0 0 / .55);
}
.plano h3 { font-size: 2.3rem; line-height: 1; font-weight: 700; color: #f2eadb; }
.plano__foco { margin-top: 6px; font-weight: 500; font-size: .95rem; color: var(--ouro); min-height: 1.5em; }
.plano__preco { margin-top: 12px; font-size: clamp(2.5rem, 3.6vw, 3.2rem); line-height: 1; font-weight: 800; color: #f6efe1; white-space: nowrap; }
.plano__mes { margin-top: 18px; font-size: .92rem; line-height: 1.35; font-weight: 500; color: var(--ouro-claro); }
.plano__parc { margin-top: 4px; font-size: .84rem; color: var(--texto-2); }
.plano ul { margin: 20px auto 24px; text-align: left; flex: 1; }
.plano li { position: relative; padding: 5px 0 5px 28px; font-size: .98rem; }
.plano li::before { content: ""; position: absolute; left: 3px; top: .62em; width: 15px; height: 8px; border-left: 2px solid var(--ouro); border-bottom: 2px solid var(--ouro); transform: rotate(-45deg); }
.plano li.no { color: #8d8475; text-decoration: line-through; }
.plano li.no::before { width: 13px; height: 2px; top: 1em; border: 0; background: #6e6558; transform: none; }
.plano .btn { align-self: center; width: 100%; max-width: 280px; }

.plano--ouro { padding-top: 0; padding-inline: 0; background: linear-gradient(180deg, #1f1912, #15110c); border-color: #e6bd67; outline-color: #a57a2e; box-shadow: 0 0 44px rgb(214 150 40 / .34), 0 16px 34px rgb(0 0 0 / .55); }
.plano--ouro > *:not(.plano__tampo) { margin-inline: clamp(16px, 2vw, 28px); }
.plano--ouro ul { margin-inline: auto; }
.plano--ouro .btn { align-self: center; width: calc(100% - 2 * clamp(16px, 2vw, 28px)); }
.plano__tampo { padding: 28px clamp(14px, 2vw, 24px) 0; background: linear-gradient(180deg, #f8dc95, #dba945 55%, #b98426); color: #1f1405; }
.plano--ouro h3, .plano--ouro .plano__tampo .plano__preco { color: #1f1405; }
.plano--ouro .plano__foco { color: #3a2608; font-weight: 600; }
.plano__selo { display: inline-block; margin-top: 12px; margin-bottom: -15px; position: relative; padding: 5px 20px; border-radius: 99px; background: #1f1912; border: 1px solid #c79a44; font: 700 1.05rem/1.2 var(--display); letter-spacing: .05em; text-transform: uppercase; color: var(--ouro-claro); }
.plano--ouro .plano__mes { margin-top: 30px; }

/* FAQ */
.faq { position: relative; padding: 0 var(--gutter) clamp(56px, 7vw, 90px); max-width: 920px; margin-inline: auto; box-sizing: content-box; }
.faq h2 { text-align: center; font-size: clamp(2.2rem, 4vw, 3.3rem); margin-bottom: 26px; }
.faq details { border-top: 1px solid rgb(217 178 108 / .4); }
.faq details:last-child { border-bottom: 1px solid rgb(217 178 108 / .4); }
.faq summary { display: flex; justify-content: space-between; gap: 18px; padding: 16px 2px; font-weight: 500; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 700 1.5rem/1 var(--display); color: var(--ouro); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 2px 18px; color: var(--texto-2); max-width: 70ch; }

/* Fim */
.fim { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; padding: clamp(48px, 7vw, 90px) var(--gutter); text-align: center; background: linear-gradient(180deg, transparent, rgb(120 56 12 / .3)); }
.fim img { width: clamp(110px, 12vw, 160px); filter: drop-shadow(0 8px 16px #000); }
.fim__line { font-size: clamp(2.3rem, 5.2vw, 4.4rem); font-weight: 800; max-width: 18em; }

/* Rodapé */
.rodape { position: relative; padding: 36px var(--gutter) 40px; background: #0e0c0a; color: var(--texto-2); font-size: .86rem; text-align: center; }
.rodape img { width: 190px; margin: 0 auto 18px; }
.rodape p { max-width: 70ch; margin-inline: auto; }
.rodape p + p { margin-top: 8px; }

.sec, .frentes, .faq, .fim, .rodape { z-index: 2; }
.hero { z-index: 2; }

@media (max-width: 1040px) {
  .passos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .passo:nth-child(2)::after { display: none; }
  .tabela { grid-template-columns: minmax(0, 480px); justify-content: center; }
  .plano--ouro { order: -1; }
  .plano__mes { min-height: 0; }
  .divisor__barra { flex-basis: 56%; }
}

@media (max-width: 760px) {
  body { font-size: 1rem; }
  .top__nav { display: none; }
  .top__brand img { width: 118px; }
  .hero { display: block; min-height: 0; background: #14110e; }
  .hero picture { position: static; display: block; }
  .hero__art { height: auto; aspect-ratio: 768 / 900; object-position: center top; }
  .hero::after { inset: auto 0 auto 0; top: 0; aspect-ratio: 768 / 900; background: linear-gradient(180deg, transparent 72%, #14110e 100%); }
  .hero__text { width: auto; margin: 0; padding: 4px 16px 40px; }
  .hero h1 { font-size: clamp(2.65rem, 12.4vw, 3.8rem); }
  .hero__cta .btn { flex: 1 1 100%; }
  .divisor .runas { display: none; }
  .divisor { justify-content: center; }
  .divisor__barra { flex: 0 0 calc(100% - 70px); }
  .frentes__grid { grid-template-columns: minmax(0, 1fr); }
  .frente + .frente { border-left: 0; border-top: 1px solid rgb(141 101 41 / .55); }
  .frentes .btn { width: 100%; }
  .jarl { grid-template-columns: minmax(0, 1fr); padding: 0; background: #15120f; }
  .jarl__art { order: -1; max-width: none; -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent); mask-image: linear-gradient(180deg, #000 80%, transparent); }
  .jarl__text { padding: 8px 16px 44px; }
  .ciclo span { padding-inline: 16px; }
}

@media (max-width: 480px) {
  .passos { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .passo:not(:last-child)::after { display: block; top: auto; bottom: -22px; right: calc(50% - 13px); width: 26px; height: 13px; clip-path: polygon(0 0, 100% 0, 50% 100%); }
  .passo:nth-child(2)::after { display: block; }
}

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