/* =========================================================
   FESTA DO KAMILLIM 2027 · 20ª edição
   ID: preto, laranja #FF4000, creme #ECDCCD, anéis laranja,
   logo serifado creme. Juturu (ID) → Urbanist no site.
   ========================================================= */
:root {
  --preto: #000;
  --grafite: #0d0b0a;
  --cinza: #1a1715;
  --laranja: #ff4000;
  --laranja-2: #ff5a1f;
  --creme: #ecdccd;
  --creme-2: #c9b9aa;
  --linha: rgba(236, 220, 205, .14);
  --fonte: 'Urbanist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--preto); color: var(--creme);
  font-family: var(--fonte); font-weight: 300; font-size: 17px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
b, strong { font-weight: 700; }
a { color: inherit; }
button { font: inherit; }
.is-hidden { display: none !important; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--laranja); color: var(--creme); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- tipografia ---------- */
.kicker, .meta {
  font-size: 12px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; margin: 0 0 14px;
}
.kicker { color: var(--laranja); }
.titulo {
  font-weight: 800; text-transform: uppercase; letter-spacing: -.035em; line-height: .92;
  font-size: clamp(40px, 7vw, 84px); margin: 0 0 28px;
}
.titulo em { font-style: normal; color: var(--laranja); }
.titulo-sm { font-size: clamp(32px, 4.4vw, 54px); }
.tarja {
  display: inline-block; background: var(--laranja); color: var(--creme);
  padding: .02em .16em .04em; line-height: 1;
}
.tarja-fina { font-size: 13px; font-weight: 500; letter-spacing: .32em; padding: 5px 12px; text-transform: uppercase; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; border-radius: 0; cursor: pointer; text-decoration: none;
  font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 14px;
  padding: 14px 22px; transition: background .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--creme); outline-offset: 3px; }
.btn-laranja { background: var(--laranja); color: var(--creme); }
.btn-laranja:hover { background: var(--laranja-2); box-shadow: 0 10px 30px -10px rgba(255, 64, 0, .7); }
.btn-ghost { background: transparent; color: var(--creme); box-shadow: inset 0 0 0 1.5px var(--creme); }
.btn-ghost:hover { background: var(--creme); color: var(--preto); }
.btn-lg { padding: 18px 28px; font-size: 15px; }
.btn-sm { padding: 10px 16px; font-size: 12px; }
.btn-full { width: 100%; }

/* ---------- topo ---------- */
.topo {
  position: fixed; inset: 0 0 auto; z-index: 40; display: flex; align-items: center; gap: 24px;
  padding: 14px var(--gutter); transition: background .3s, padding .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.topo.is-solido { background: rgba(0, 0, 0, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding-block: 10px; border-color: var(--linha); }
.topo-logo { opacity: 0; transition: opacity .3s; }
.topo.is-solido .topo-logo { opacity: 1; }
.topo-logo img { width: 140px; }
.topo-nav { display: flex; gap: 26px; margin-left: auto; }
.topo-nav a { text-decoration: none; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; opacity: .8; }
.topo-nav a:hover { opacity: 1; color: var(--laranja); }
@media (max-width: 860px) { .topo-nav { display: none; } .topo .btn { margin-left: auto; } }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  padding: 120px 0 90px; overflow: hidden; isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 70%; }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 40%, rgba(0,0,0,.55) 75%, #000 100%);
}
.meta-linha {
  position: absolute; top: 76px; left: 0; right: 0; display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 0 var(--gutter); font-size: 10.5px; font-weight: 600; letter-spacing: .14em; line-height: 1.35; opacity: .85;
}
.meta-linha span:nth-child(2), .meta-linha span:nth-child(3) { text-align: center; }
.meta-linha span:last-child { text-align: right; }
.hero-in { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); text-align: center; }
.hero-cab { display: grid; grid-template-columns: 1fr minmax(0, 720px) 1fr; align-items: center; gap: 24px; }
.hero-data, .hero-local { margin: 0; font-weight: 700; letter-spacing: .16em; font-size: 15px; }
.hero-data { text-align: left; }
.hero-local { text-align: left; justify-self: end; line-height: 1.3; font-weight: 500; letter-spacing: .14em; }
.hero-local small { display: block; font-size: 11px; font-weight: 600; }
.hero-logo { margin: 0; }
.hero-logo img { width: 100%; filter: drop-shadow(0 6px 30px rgba(0,0,0,.6)); }
.hero-ed { margin: 34px 0 0; font-size: clamp(30px, 5vw, 56px); font-weight: 800; text-transform: uppercase; letter-spacing: -.03em; }
.hero-sub { max-width: 560px; margin: 22px auto 0; font-size: 18px; color: var(--creme); text-wrap: balance; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 34px; }
.hero-aneis { position: absolute; left: -5%; right: -5%; bottom: -150px; width: 110%; height: 300px; z-index: -1; opacity: .9; }
.hero-aneis use, .info-aneis use, .pop-aneis use, .arcos use { fill: none; stroke: var(--laranja); stroke-width: 2.4; vector-effect: non-scaling-stroke; }

@media (max-width: 760px) {
  .hero { padding: 110px 0 80px; }
  .hero-bg img { object-position: 62% 80%; }
  .meta-linha { top: 70px; font-size: 9px; }
  .hero-cab { grid-template-columns: 1fr 1fr; gap: 18px 12px; }
  .hero-logo { grid-column: 1 / -1; grid-row: 1; }
  .hero-data { font-size: 13px; }
  .hero-local { font-size: 12px; text-align: right; }
  .hero-sub { font-size: 16px; }
  .hero-ctas .btn { width: 100%; }
}

/* ---------- faixa ---------- */
.faixa { background: var(--laranja); color: var(--creme); overflow: hidden; padding: 13px 0; }
.faixa-track { display: flex; gap: 22px; width: max-content; animation: faixa 38s linear infinite; font-weight: 800; letter-spacing: .06em; font-size: 15px; white-space: nowrap; }
.faixa i { font-style: normal; opacity: .75; }
@keyframes faixa { to { transform: translateX(-50%); } }

/* ---------- vendas no escuro ---------- */
.vendas { position: relative; overflow: hidden; padding: clamp(90px, 12vw, 150px) 0; isolation: isolate; }
.vendas-bg { position: absolute; inset: 0; z-index: -2; }
.vendas-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: grayscale(.2); }
.vendas-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.94) 0%, rgba(0,0,0,.78) 50%, rgba(0,0,0,.35) 100%); }
.arcos { position: absolute; z-index: -1; width: 420px; height: 400px; }
.arcos-vendas { left: -120px; top: -60px; }
.vendas-in { position: relative; }
.vendas-titulo {
  margin: 0 0 34px; font-weight: 800; text-transform: uppercase; letter-spacing: -.045em; line-height: .92;
  font-size: clamp(54px, 10vw, 128px);
}
.vendas-titulo span { display: block; width: max-content; max-width: 100%; }
.vendas-titulo .tarja { display: block; margin: .04em 0 .06em -.08em; padding: .04em .1em .06em; }
.vendas-texto { max-width: 560px; font-size: 18px; margin: 0 0 22px; }
.lembrete { margin: 0 0 30px; }
.v-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.vendas.is-aberta .lembrete, .vendas.is-aberta #v-cta-lembrete { display: none; }

.contagem { display: flex; gap: 10px; margin: 0 0 30px; }
.contagem div {
  min-width: 86px; padding: 14px 10px 10px; text-align: center;
  background: rgba(0, 0, 0, .55); box-shadow: inset 0 0 0 1px var(--linha);
}
.contagem b { display: block; font-size: 42px; font-weight: 800; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.contagem small { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--laranja); }
.contagem-sm div { min-width: 72px; }
.contagem-sm b { font-size: 32px; }
@media (max-width: 520px) {
  .contagem { gap: 6px; } .contagem div { min-width: 0; flex: 1; } .contagem b { font-size: 32px; }
  .v-ctas .btn { width: 100%; }
}

/* ---------- edição ---------- */
.edicao { padding: clamp(90px, 11vw, 140px) 0 0; }
.edicao-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: end; }
.edicao-txt p { font-size: 19px; margin: 0 0 34px; }
.numeros { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--linha); }
.numeros li { padding: 20px 12px 0 0; }
.numeros b { display: block; font-size: clamp(30px, 4vw, 46px); font-weight: 800; line-height: 1; color: var(--laranja); letter-spacing: -.03em; }
.numeros span { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.edicao-fotos { display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: 8px; margin-top: 70px; padding: 0 8px; }
.edicao-fotos img { width: 100%; height: clamp(220px, 32vw, 440px); object-fit: cover; }
@media (max-width: 860px) {
  .edicao-in { grid-template-columns: 1fr; gap: 10px; }
  .edicao-fotos { grid-template-columns: 1fr 1fr; }
  .edicao-fotos img:nth-child(2) { grid-column: 1 / -1; grid-row: 1; }
}

/* ---------- line-up ---------- */
.lineup { padding: clamp(90px, 11vw, 140px) 0; }
.lu-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.lu-card { position: relative; overflow: hidden; background: var(--cinza); }
.lu-card img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.lu-card:hover img { transform: scale(1.04); }
.lu-card h3 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.nota { margin: 26px 0 0; font-size: 15px; color: var(--creme-2); }
@media (max-width: 960px) { .lu-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .lu-grid { gap: 8px; } }

/* ---------- setores ---------- */
.setores { padding: clamp(90px, 11vw, 140px) 0; background: var(--grafite); border-top: 1px solid var(--linha); }
.st-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.st-card { display: flex; flex-direction: column; background: var(--preto); box-shadow: inset 0 0 0 1px var(--linha); }
.st-destaque { box-shadow: inset 0 0 0 2px var(--laranja); }
.st-foto img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.st-txt { padding: 26px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.st-txt h3 { margin: 0 0 16px; font-size: 34px; font-weight: 800; text-transform: uppercase; letter-spacing: -.035em; line-height: .95; }
.st-txt h3 .tarja { display: table; margin-bottom: 4px; }
.st-txt p { margin: 0 0 14px; font-size: 16px; }
.st-sub { color: var(--laranja); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 13px !important; margin-top: -6px !important; }
.bar { list-style: none; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 14px; font-size: 15px; }
.bar li::before { content: '·'; color: var(--laranja); font-weight: 800; margin-right: 8px; }
.st-obs { margin-top: auto !important; padding-top: 14px; border-top: 1px solid var(--linha); font-size: 12px !important; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--laranja); }
@media (max-width: 960px) { .st-grid { grid-template-columns: 1fr; } .st-foto img { aspect-ratio: 16 / 8; } }

.mapa { display: grid; grid-template-columns: 1fr 1.6fr; gap: 50px; align-items: center; margin-top: clamp(70px, 9vw, 110px); }
.mapa-txt p:last-child { font-size: 17px; margin: 0; }
.mapa-img { margin: 0; }
.mapa-img img { width: 100%; }
@media (max-width: 860px) { .mapa { grid-template-columns: 1fr; gap: 20px; } .mapa-img { margin: 0 calc(var(--gutter) * -1); } }

/* ---------- galeria ---------- */
.galeria { padding: clamp(90px, 11vw, 140px) 0 0; }
.gal-trilho {
  display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 8px 8px;
  scrollbar-width: none;
}
.gal-trilho::-webkit-scrollbar { display: none; }
.gal-trilho img { height: clamp(300px, 40vw, 520px); width: auto; flex: none; object-fit: cover; scroll-snap-align: start; }
.gal-trilho .gal-larga { aspect-ratio: 16 / 5; }

/* ---------- info ---------- */
.info { position: relative; overflow: hidden; padding: clamp(90px, 11vw, 140px) 0; }
.info-aneis { position: absolute; left: -10%; width: 120%; bottom: -220px; height: 380px; opacity: .55; pointer-events: none; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 14px; }
.info-card { padding: 26px 24px; box-shadow: inset 0 0 0 1px var(--linha); background: rgba(13, 11, 10, .8); }
.info-card small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--laranja); margin-bottom: 10px; }
.info-card b { display: block; font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.02em; line-height: 1; text-transform: uppercase; }
.info-card span { display: block; margin-top: 8px; color: var(--creme-2); }
.info-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.falta { margin-top: 50px; position: relative; }
.falta .contagem { margin: 0; }
@media (max-width: 860px) { .info-grid { grid-template-columns: 1fr 1fr; } .info-local { grid-column: 1 / -1; } }

/* ---------- final ---------- */
.final { position: relative; overflow: hidden; background: var(--laranja); color: var(--creme); padding: clamp(80px, 10vw, 130px) 0; isolation: isolate; }
.arcos-final { right: -100px; bottom: -120px; width: 520px; height: 480px; }
.arcos-final use { stroke: var(--preto); opacity: .5; }
.final-in { max-width: 820px; }
.final .titulo em { color: var(--preto); }
.final p { font-size: 19px; max-width: 560px; margin: 0 0 30px; }
.final .btn-laranja { background: var(--preto); color: var(--creme); }
.final .btn-laranja:hover { background: var(--cinza); box-shadow: none; }

/* ---------- rodapé ---------- */
.rodape { padding: 60px 0 120px; border-top: 1px solid var(--linha); text-align: center; }
.rodape-in img { width: 220px; margin: 0 auto 18px; }
.rodape-links { display: flex; gap: 22px; justify-content: center; margin: 18px 0; }
.rodape-links a { font-weight: 600; font-size: 14px; }
.rodape-copy { font-size: 13px; color: var(--creme-2); margin: 0; }
@media (min-width: 761px) { .rodape { padding-bottom: 60px; } }

/* ---------- barra celular ---------- */
.barra {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; display: none; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(0, 0, 0, .92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--linha);
  transform: translateY(110%); transition: transform .3s;
}
.barra .btn { flex: 1; }
.barra.is-visivel { transform: none; }
@media (max-width: 760px) { .barra { display: flex; } }

/* ---------- revelar ---------- */
.revela { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.revela.is-visto { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .faixa-track { animation: none; }
}

/* ordinal (a Urbanist não tem ª) */
.ord { font-size: .55em; vertical-align: .62em; line-height: 0; text-decoration: underline; text-decoration-thickness: .08em; text-underline-offset: .12em; margin-left: .02em; }
.meta-linha .ord { font-size: .8em; vertical-align: .3em; }
.info-card span.ord, .numeros span.ord { display: inline; margin: 0 0 0 .02em; font-size: .55em; letter-spacing: 0; color: inherit; text-transform: none; font-weight: inherit; }

/* line-up no escuro (atrações ainda não reveladas) */
.lu-segredo {
  aspect-ratio: 1; display: grid; place-items: center; position: relative;
  background: radial-gradient(120% 90% at 50% 110%, rgba(255, 64, 0, .35), transparent 60%), #050403;
  box-shadow: inset 0 0 0 1px var(--linha);
}
.lu-segredo::before {
  content: ''; position: absolute; left: 8%; right: 8%; bottom: 12%; height: 34%;
  border: 1.5px solid var(--laranja); border-radius: 50%; opacity: .55;
}
.lu-segredo::after {
  content: ''; position: absolute; left: 18%; right: 18%; bottom: 19%; height: 20%;
  border: 1.5px solid var(--laranja); border-radius: 50%; opacity: .35;
}
.lu-q { font-size: clamp(90px, 12vw, 150px); font-weight: 800; line-height: 1; color: var(--creme); opacity: .9; text-shadow: 0 0 40px rgba(255, 64, 0, .45); }
.lu-segredo .selo {
  position: absolute; left: 14px; top: 14px; background: var(--laranja); color: var(--creme);
  font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; padding: 5px 9px;
}
.nota a { color: var(--laranja); font-weight: 600; }

/* WhatsApp de vendas: lounges e PIX sem taxa */
.st-btn { margin-top: 18px; }
.btn-pix { background: #25d366; color: #04210f; }
.btn-pix:hover { background: #2fe474; }
.final-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
@media (max-width: 520px) { .final-ctas .btn { width: 100%; } }
.barra .btn { padding-inline: 10px; white-space: nowrap; }

/* foto do card de lounges: rosto no terço de cima */
.st-foto .st-lounge { object-position: 50% 28%; }

/* galeria: carrossel "trend total" contínuo (4 slides 4:5, sem espaço entre eles) */
.gal-trend { gap: 0; padding: 0; }
.gal-trend img { height: auto; width: clamp(260px, 25vw, 520px); aspect-ratio: 4 / 5; }
@media (min-width: 1100px) { .gal-trend { justify-content: center; } .gal-trend img { width: 25%; max-width: 520px; } }
