/* ==========================================================================
   PrimaDecor — landing page
   Cores e letras vêm de tipografia.css (--prima-*). Aqui: layout e componentes.
   Assinatura visual: ARCOS (os painéis que a PrimaDecor usa nas festas),
   BALÕES da marca flutuando e bilhetes à mão (Caveat).
   ========================================================================== */

:root {
  --bg: var(--prima-creme);
  --bg-2: var(--prima-creme-2);
  --tinta: var(--prima-cacau);
  --tinta-2: #6d5660;
  --linha: #ead9cb;
  --prima: var(--prima-framboesa);
  --prima-2: var(--prima-framboesa-escura);
  --ouro: var(--prima-dourado);
  --r: 22px;
  --sombra: 0 22px 44px -26px rgba(61, 42, 50, .5);
  --sombra-2: 0 10px 24px -14px rgba(61, 42, 50, .35);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --topo-h: 74px;
  --lado: clamp(1rem, 4vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topo-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--prima-font-texto); font-weight: var(--prima-peso-texto); font-size: var(--prima-size-corpo);
  line-height: var(--prima-altura-texto); color: var(--tinta); background: var(--bg); overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
.ic { width: 1.2em; height: 1.2em; flex: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--ouro); outline-offset: 3px; border-radius: 8px; }
.pular { position: absolute; left: 1rem; top: -60px; z-index: 100; background: var(--tinta); color: #fff; padding: .6rem 1rem; border-radius: 10px; font-weight: 800; }
.pular:focus { top: 1rem; }

/* palavra de destaque nos títulos: framboesa com um traço feito à mão */
h1 em, h2 em {
  font-style: italic; color: var(--prima);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8.5C40 3 80 3 110 6.5S170 10 198 4' fill='none' stroke='%23CE9E3E' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 0 100% / 100% .22em;
  padding-bottom: .08em;
}
.videos h2 em { color: var(--prima-dourado-claro); }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .7rem 1.35rem; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--prima-font-texto); font-weight: var(--prima-peso-forte); font-size: .98rem; line-height: 1.15;
  text-decoration: none; white-space: nowrap; transition: transform .2s var(--ease), background-color .2s, box-shadow .2s, color .2s, border-color .2s;
}
.btn:active { transform: scale(.97); }
.btn-prima { background: var(--prima-2); color: #fff; box-shadow: 0 14px 26px -14px rgba(168, 50, 90, .9); }
.btn-prima:hover { background: #93284e; transform: translateY(-2px); }
.btn-linha { border-color: var(--tinta); color: var(--tinta); }
.btn-linha:hover { background: var(--tinta); color: var(--bg); }
.btn-creme { background: var(--bg); color: var(--prima-2); }
.btn-creme:hover { background: #fff; transform: translateY(-2px); }
.btn-grande { min-height: 56px; padding: .85rem 1.6rem; font-size: 1.04rem; }
.btn-bloco { width: 100%; }

/* ---------- topo fixo ---------- */
.topo { position: sticky; top: 0; z-index: 50; background: rgba(255, 248, 239, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: box-shadow .3s, background .3s; }
.topo.rolou { background: rgba(255, 248, 239, .95); box-shadow: 0 10px 30px -22px rgba(61, 42, 50, .45); }
.topo-in { display: flex; align-items: center; gap: 1.5rem; max-width: 1240px; margin: 0 auto; padding: 0 var(--lado); height: var(--topo-h); }
.marca img { height: 40px; width: auto; }
.menu { display: flex; gap: .3rem; margin-left: auto; }
.menu a { padding: .5rem .8rem; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .95rem; color: var(--tinta-2); transition: background .2s, color .2s; }
.menu a:hover { background: var(--bg-2); color: var(--tinta); }
.topo-cta { padding: .6rem 1.15rem; min-height: 44px; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 14px; place-items: center; }
.menu-btn .ic { width: 26px; height: 26px; }

/* ---------- herói ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(242, 198, 109, .35) 0 3px, transparent 4px) 0 0 / 140px 140px,
    radial-gradient(circle at 70% 60%, rgba(210, 70, 110, .18) 0 3px, transparent 4px) 0 0 / 180px 180px,
    radial-gradient(circle at 40% 85%, rgba(140, 200, 230, .35) 0 2.5px, transparent 3.5px) 0 0 / 120px 120px,
    var(--bg);
}
.hero::after { content: ""; position: absolute; right: -12vw; top: 8%; width: 58vw; height: 58vw; max-width: 760px; max-height: 760px; border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 183, 154, .55), rgba(246, 183, 154, 0) 68%); pointer-events: none; }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center;
  max-width: 1240px; margin: 0 auto; padding: clamp(2rem, 5vw, 4.5rem) var(--lado) clamp(3rem, 6vw, 5.5rem); min-height: calc(100svh - var(--topo-h)); }
.selo-topo { display: inline-flex; align-items: center; gap: .6rem; color: var(--prima-2); }
.selo-topo .ponto { width: 9px; height: 9px; border-radius: 50%; background: var(--prima); box-shadow: 0 0 0 5px rgba(210, 70, 110, .15); }
.hero h1 { margin-top: 1rem; max-width: 15ch; font-size: clamp(2.7rem, 1.5rem + 3.6vw, 5rem); }
.hero-lead { margin-top: 1.3rem; max-width: 36rem; font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--tinta-2); }
.hero-acoes { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-bilhete { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.3rem; color: var(--prima-2); transform: rotate(-3deg); transform-origin: left; }
.hero-bilhete .ic { width: .75em; height: .75em; }
.hero-ig { display: flex; align-items: center; gap: .5rem; margin-top: 1.6rem; width: fit-content; text-decoration: none; font-weight: 800; color: var(--tinta); }
.hero-ig .ic { color: var(--prima); }
.hero-ig span { font-weight: 600; color: var(--tinta-2); font-size: .9rem; }

.hero-arte { position: relative; height: min(640px, 76vh); min-height: 460px; }
.arco { position: absolute; overflow: hidden; border-radius: 999px 999px 28px 28px; background: var(--bg-2); border: 8px solid #fff; box-shadow: var(--sombra); }
.arco video, .arco img { width: 100%; height: 100%; object-fit: cover; }
.arco-video { right: 2%; top: 0; width: 60%; height: 94%; }
.arco-foto { left: 0; bottom: 0; width: 42%; height: 54%; transform: rotate(-3deg); }
.etiqueta { position: absolute; font-size: clamp(1.25rem, 1rem + .8vw, 1.7rem); color: var(--tinta); line-height: 1; white-space: nowrap; }
.etiqueta::before { content: ""; position: absolute; width: 38px; height: 26px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 38 26'%3E%3Cpath d='M2 4c10 2 20 7 30 18M32 22l-8-1M32 22l-1-8' fill='none' stroke='%23A8325A' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain; }
.etiqueta-1 { right: 64%; top: 12%; transform: rotate(-6deg); }
.etiqueta-1::before { right: -44px; top: 12px; }
.etiqueta-2 { left: 3%; bottom: -9%; transform: rotate(-4deg); }
.etiqueta-2::before { display: none; }
.balao { position: absolute; width: 72px; height: auto; aspect-ratio: 100 / 152; filter: drop-shadow(0 12px 14px rgba(61, 42, 50, .2)); animation: flutua 7s ease-in-out infinite; }
.hero .b1 { color: var(--prima); left: 36%; top: -2%; width: 86px; }
.hero .b2 { color: var(--prima-dourado-claro); left: 4%; top: 18%; width: 58px; animation-duration: 8.5s; animation-delay: -2s; }
.hero .b3 { color: var(--prima-ceu); right: -3%; top: 44%; width: 64px; animation-duration: 9s; animation-delay: -4s; }
.hero .b4 { color: var(--prima-salvia); left: 38%; bottom: 8%; width: 50px; animation-duration: 7.5s; animation-delay: -1s; }
@keyframes flutua {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-18px) rotate(4deg); }
}

/* ---------- faixa que corre ---------- */
.faixa { overflow: hidden; background: var(--prima-2); color: var(--bg); padding: 1rem 0; }
.faixa-trilho { display: flex; align-items: center; gap: 1.6rem; width: max-content; animation: corre 46s linear infinite; }
.faixa span { font-family: var(--prima-font-titulo); font-style: italic; font-weight: 500; font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); white-space: nowrap; }
.faixa i { width: 10px; height: 13px; border-radius: 50% 50% 50% 50% / 58% 58% 42% 42%; background: var(--prima-dourado-claro); flex: none; }
.faixa:hover .faixa-trilho { animation-play-state: paused; }
@keyframes corre { to { transform: translateX(-50%); } }

/* ---------- seções ---------- */
.secao { position: relative; padding: clamp(4rem, 8vw, 7rem) var(--lado); }
.cabeca { max-width: 760px; margin: 0 auto clamp(2rem, 4vw, 3rem); text-align: center; }
.cabeca .t-selo { color: var(--prima-2); display: inline-flex; align-items: center; gap: .7rem; }
.cabeca .t-selo::before, .cabeca .t-selo::after { content: ""; width: 26px; height: 2px; border-radius: 2px; background: currentColor; opacity: .5; }
.cabeca h2 { margin-top: .8rem; }
.cabeca-lead { margin-top: 1rem; color: var(--tinta-2); font-size: 1.08rem; }

/* tipos de festa */
.festas-grade { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 2rem); max-width: 1180px; margin: 0 auto; }
.festa { display: flex; flex-direction: column; gap: 1rem; text-decoration: none; }
.festa-foto { display: block; overflow: hidden; border-radius: 999px 999px 26px 26px; aspect-ratio: 3 / 4; background: var(--bg-2); box-shadow: var(--sombra-2); }
.festa-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.festa:hover .festa-foto img { transform: scale(1.06); }
.festa-txt { display: grid; gap: .35rem; padding: 0 .3rem; }
.festa-txt span { color: var(--tinta-2); font-size: .98rem; }
.festa-txt em { display: inline-flex; align-items: center; gap: .35rem; margin-top: .2rem; font-style: normal; font-weight: 800; color: var(--prima-2); }
.festa-txt em .ic { transition: transform .25s var(--ease); }
.festa:hover .festa-txt em .ic { transform: translateX(4px); }

/* galeria */
.galeria { background: var(--bg-2); }
.filtros { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; max-width: 1180px; margin: 0 auto 2rem; }
.filtros button { min-height: 44px; padding: .5rem 1.1rem; border-radius: 999px; border: 2px solid var(--linha); background: var(--bg); font-weight: 800; font-size: .92rem; color: var(--tinta-2); transition: all .2s; }
.filtros button:hover { border-color: var(--tinta); color: var(--tinta); }
.filtros button[aria-pressed="true"] { background: var(--tinta); border-color: var(--tinta); color: var(--bg); }
.filtros button small { font-size: .78rem; opacity: .7; margin-left: .2rem; }
.mosaico { column-count: 4; column-gap: 1rem; max-width: 1180px; margin: 0 auto; }
.mosaico-item { position: relative; display: block; width: 100%; margin: 0 0 1rem; break-inside: avoid; border-radius: 18px; overflow: hidden; background: #e9d8ca; box-shadow: var(--sombra-2);
  animation: aparece .6s var(--ease) both; }
.mosaico-item img { width: 100%; height: auto; transition: transform .7s var(--ease); }
.mosaico-item:hover img { transform: scale(1.05); }
.mosaico-item .leg { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.2rem .9rem .75rem; text-align: left;
  background: linear-gradient(transparent, rgba(40, 24, 31, .78)); color: #fff; opacity: 0; transform: translateY(8px); transition: all .35s var(--ease); }
.mosaico-item .leg b { display: block; font-family: var(--prima-font-titulo); font-style: italic; font-weight: 600; font-size: 1.1rem; line-height: 1.15; }
.mosaico-item .leg small { font-size: .78rem; opacity: .85; }
.mosaico-item:hover .leg, .mosaico-item:focus-visible .leg { opacity: 1; transform: none; }
@keyframes aparece { from { opacity: 0; transform: translateY(16px); } }
.mais-fotos { display: flex; justify-content: center; margin-top: 1.5rem; }

/* vídeos */
.videos { background: var(--tinta); color: var(--bg); overflow: hidden; }
.videos .cabeca .t-selo { color: var(--prima-dourado-claro); }
.videos .cabeca-lead { color: #d9c7cd; }
.videos .bv1 { color: var(--prima); width: 70px; right: 6%; top: 8%; opacity: .9; }
.videos .bv2 { color: var(--prima-dourado-claro); width: 46px; left: 5%; top: 22%; animation-delay: -3s; opacity: .9; }
.trilho-wrap { position: relative; max-width: 1240px; margin: 0 auto; }
.trilho { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .5rem .25rem 1.2rem; scrollbar-width: none; overscroll-behavior-x: contain; }
.trilho::-webkit-scrollbar { display: none; }
.video-card { flex: none; width: clamp(200px, 22vw, 260px); scroll-snap-align: start; text-align: left; }
.video-quadro { position: relative; display: block; aspect-ratio: 9 / 16; border-radius: 24px; overflow: hidden; background: #2a1c22; box-shadow: 0 20px 40px -24px #000; }
.video-quadro video, .video-quadro img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-quadro .play { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 248, 239, .92); color: var(--prima-2); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .6); transition: opacity .3s, transform .3s var(--ease); }
.video-quadro .play .ic { width: 24px; height: 24px; margin-left: 3px; }
.video-card.tocando .play { opacity: 0; transform: scale(.7); }
.video-card b { display: block; margin-top: .7rem; font-family: var(--prima-font-titulo); font-style: italic; font-weight: 600; font-size: 1.08rem; color: var(--bg); }
.video-card small { color: #cbb4bc; font-size: .82rem; }
.trilho-seta { position: absolute; top: 40%; z-index: 2; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); color: var(--tinta); box-shadow: var(--sombra); transition: transform .2s; }
.trilho-seta:hover { transform: scale(1.08); }
.trilho-seta.esq { left: -8px; } .trilho-seta.dir { right: -8px; }
.trilho-seta .ic { width: 24px; height: 24px; }

/* como funciona */
.passos { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); max-width: 1180px; margin: 0 auto; counter-reset: p; position: relative; }
.passos::before { content: ""; position: absolute; left: 12%; right: 12%; top: 46px; border-top: 2px dashed var(--linha); }
.passos li { position: relative; text-align: center; padding: 0 .5rem; }
.passo-n { position: relative; display: block; width: 72px; margin: 0 auto 1rem; }
.passo-n .balao { position: static; width: 72px; color: var(--prima); animation: none; filter: drop-shadow(0 10px 12px rgba(168, 50, 90, .3)); }
.passos li:nth-child(2) .balao { color: var(--prima-dourado); }
.passos li:nth-child(3) .balao { color: var(--prima-salvia); }
.passos li:nth-child(4) .balao { color: var(--prima-ceu); }
.passo-n b { position: absolute; left: 0; right: 0; top: 16px; text-align: center; font-family: var(--prima-font-titulo); font-style: italic; font-size: 1.9rem; color: #fff; }
.passos h3 { margin-bottom: .4rem; }
.passos p { color: var(--tinta-2); font-size: .98rem; }
.itens { max-width: 1000px; margin: clamp(3rem, 6vw, 4.5rem) auto 0; padding: clamp(1.5rem, 3vw, 2.2rem); border-radius: 28px; background: var(--bg-2); text-align: center; }
.itens-tit { color: var(--prima-2); }
.itens ul { list-style: none; padding: 0; margin-top: 1.2rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
.itens li { display: flex; align-items: center; gap: .6rem; padding: .8rem .9rem; border-radius: 16px; background: var(--bg); font-weight: 700; font-size: .92rem; text-align: left; }
.itens li .ic { width: 26px; height: 26px; color: var(--prima-2); }

/* curso + instagram */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.5vw, 2rem); max-width: 1240px; margin: 0 auto; padding-top: 0; }
.curso, .insta { position: relative; overflow: hidden; border-radius: 30px; padding: clamp(1.8rem, 4vw, 3rem); display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.curso { background: var(--prima-2); color: var(--bg); justify-content: center; }
.curso .t-selo { color: var(--prima-dourado-claro); }
.curso h2 em { color: var(--prima-dourado-claro); background: none; }
.curso p:not(.t-selo) { color: #f6dfe7; max-width: 24rem; }
.curso .bc { right: 7%; top: 10%; width: 70px; color: var(--prima-dourado-claro); opacity: .95; }
.insta { background: var(--bg-2); }
.insta .t-selo { color: var(--prima-2); }
.insta-fotos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; width: 100%; }
.insta-fotos a { display: block; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: #e9d8ca; }
.insta-fotos img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.insta-fotos a:hover img { transform: scale(1.07); }

/* orçamento */
.orcamento { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.orc-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; max-width: 1180px; margin: 0 auto; }
.orc-texto h2 { margin-top: .8rem; }
.orc-texto .t-selo { color: var(--prima-2); }
.contato { list-style: none; padding: 0; margin-top: 2rem; display: grid; gap: .75rem; }
.contato a, .contato-lin { display: flex; align-items: center; gap: .9rem; padding: .9rem 1.1rem; border-radius: 18px; background: #fff; text-decoration: none; box-shadow: var(--sombra-2); transition: transform .2s; }
.contato a:hover { transform: translateY(-2px); }
.contato .ic { width: 28px; height: 28px; color: var(--prima-2); }
.contato b { display: block; font-weight: 800; }
.contato small { color: var(--tinta-2); font-size: .85rem; }
.orc-form { background: #fff; border-radius: 30px; padding: clamp(1.4rem, 3.5vw, 2.4rem); box-shadow: var(--sombra); display: grid; gap: 1rem; }
.campo { display: grid; gap: .4rem; }
.campo label { font-weight: 800; font-size: .92rem; }
.campo input, .campo select, .campo textarea { width: 100%; min-height: 50px; padding: .75rem .95rem; border-radius: 14px; border: 2px solid var(--linha); background: var(--bg);
  font: inherit; font-size: 16px; color: var(--tinta); transition: border-color .2s, box-shadow .2s; }
.campo textarea { min-height: 96px; resize: vertical; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--prima); box-shadow: 0 0 0 4px rgba(210, 70, 110, .15); background: #fff; }
.campo.erro input, .campo.erro select { border-color: var(--prima-2); }
.linha2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.orc-nota { text-align: center; font-size: .85rem; color: var(--tinta-2); }

/* rodapé */
.rodape { background: var(--tinta); color: var(--bg); padding: 3.5rem var(--lado) 6rem; text-align: center; }
.rodape-in { display: grid; justify-items: center; gap: 1rem; max-width: 900px; margin: 0 auto; }
.rodape img { height: 52px; width: auto; }
.rodape .t-mao { color: var(--prima-dourado-claro); margin-top: -.3rem; }
.rodape-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.6rem; margin-top: .6rem; }
.rodape-links a, .rodape-links span { display: inline-flex; align-items: center; gap: .45rem; text-decoration: none; font-weight: 700; color: #f1e3e8; }
.rodape-links .ic { color: var(--prima-dourado-claro); }
.rodape-pe { margin-top: 1rem; font-size: .85rem; color: #bda6ae; }

/* WhatsApp flutuante */
.wa-flutua { position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 40; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 16px 30px -12px rgba(37, 211, 102, .8);
  transform: translateY(120px); transition: transform .45s var(--ease); }
.wa-flutua .ic { width: 30px; height: 30px; }
.wa-flutua.mostra { transform: none; }

/* janela de foto grande */
.caixa { position: fixed; inset: 0; z-index: 90; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .5rem;
  padding: max(1rem, env(safe-area-inset-top)) .75rem max(1rem, env(safe-area-inset-bottom)); background: rgba(30, 18, 24, .95); color: #fff; }
.caixa-fig { display: grid; justify-items: center; gap: .9rem; min-width: 0; }
.caixa-midia img, .caixa-midia video { max-height: 80vh; max-height: 80svh; width: auto; max-width: 100%; border-radius: 16px; box-shadow: 0 30px 60px -20px #000; }
.caixa figcaption { text-align: center; }
.caixa figcaption b { display: block; font-family: var(--prima-font-titulo); font-style: italic; font-weight: 600; font-size: 1.3rem; }
.caixa figcaption small { color: #d6c3ca; font-size: .85rem; }
.caixa-fecha { position: absolute; right: 1rem; top: max(1rem, env(safe-area-inset-top)); width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .12); color: #fff; z-index: 2; }
.caixa-seta { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .12); color: #fff; }
.caixa-seta:hover, .caixa-fecha:hover { background: rgba(255, 255, 255, .24); }
.caixa .ic { width: 26px; height: 26px; }
body.caixa-aberta { overflow: hidden; }

/* aparecer ao rolar (só com JS; sem animação para quem pediu menos movimento) */
.js .revela { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .revela.visto { opacity: 1; transform: none; }
.festas-grade .revela:nth-child(3n+2) { transition-delay: .08s; }
.festas-grade .revela:nth-child(3n) { transition-delay: .16s; }
.passos .revela:nth-child(2) { transition-delay: .08s; }
.passos .revela:nth-child(3) { transition-delay: .16s; }
.passos .revela:nth-child(4) { transition-delay: .24s; }

/* confete do envio */
.confete { position: fixed; z-index: 95; width: 10px; height: 14px; border-radius: 3px; pointer-events: none; animation: cai 1.6s cubic-bezier(.2, .6, .4, 1) forwards; }
@keyframes cai { to { transform: translate(var(--dx), var(--dy)) rotate(var(--rot)); opacity: 0; } }

/* ---------- telas menores ---------- */
@media (max-width: 1100px) {
  .mosaico { column-count: 3; }
  .itens ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .menu { display: none; position: absolute; left: var(--lado); right: var(--lado); top: calc(var(--topo-h) - 6px); flex-direction: column; gap: .2rem;
    padding: .6rem; border-radius: 20px; background: #fff; box-shadow: var(--sombra); }
  .menu.aberto { display: flex; }
  .menu a { padding: .85rem 1rem; font-size: 1.02rem; }
  .menu-btn { display: grid; margin-left: 0; }
  .topo-cta { margin-left: auto; }
  .hero-in { grid-template-columns: 1fr; min-height: 0; padding-top: 1.8rem; }
  .hero h1 { max-width: 16ch; font-size: clamp(2.5rem, 1.4rem + 5vw, 4rem); }
  .hero-arte { height: 540px; min-height: 0; max-width: 560px; width: 100%; margin: 0 auto; }
  .festas-grade { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .passos { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.5rem; }
  .passos::before { display: none; }
  .duo { grid-template-columns: 1fr; }
  .orc-in { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  :root { --topo-h: 64px; }
  .marca img { height: 32px; }
  .topo-in { gap: .6rem; }
  .topo-cta { padding: 0; width: 46px; min-height: 46px; }
  .topo-cta span { display: none; }
  .hero-acoes .btn { flex: 1 1 100%; }
  .hero-arte { height: 470px; }
  .arco { border-width: 6px; }
  .arco-video { width: 64%; }
  .arco-foto { width: 46%; height: 48%; }
  .etiqueta { font-size: 1.2rem; }
  .etiqueta-1 { left: 1%; right: auto; top: 2%; }
  .etiqueta-1::before { right: auto; left: 64%; top: 20px; transform: rotate(10deg); }
  .etiqueta-2 { left: 1%; bottom: -10%; }
  .hero .b3 { right: -6%; }
  /* tipos de festa: carrossel de cartões no celular */
  .festas-grade { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1rem; margin: 0 calc(-1 * var(--lado)); padding: 0 var(--lado) 1rem; scrollbar-width: none; }
  .festas-grade::-webkit-scrollbar { display: none; }
  .festa { flex: none; width: 74%; scroll-snap-align: center; }
  .js .festas-grade .revela { opacity: 1; transform: none; }
  .mosaico { column-count: 2; column-gap: .7rem; }
  .mosaico-item { margin-bottom: .7rem; border-radius: 14px; }
  .mosaico-item .leg { opacity: 1; transform: none; padding: 1.6rem .6rem .5rem; }
  .mosaico-item .leg b { font-size: .95rem; }
  .filtros { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; margin: 0 calc(-1 * var(--lado)) 1.4rem; padding: 0 var(--lado) .3rem; scrollbar-width: none; }
  .filtros::-webkit-scrollbar { display: none; }
  .filtros button { flex: none; }
  .trilho-seta { display: none; }
  .videos .bv1 { width: 44px; right: 3%; top: .8rem; }
  .videos .bv2 { display: none; }
  .video-card { width: 62vw; }
  .passos { grid-template-columns: 1fr; }
  .itens ul { grid-template-columns: 1fr 1fr; }
  .itens li { font-size: .86rem; padding: .7rem; }
  .linha2 { grid-template-columns: 1fr; }
  .caixa { grid-template-columns: minmax(0, 1fr); }
  .caixa-seta { position: absolute; bottom: max(1rem, env(safe-area-inset-bottom)); }
  .caixa-seta.esq { left: 1rem; } .caixa-seta.dir { right: 1rem; }
  .caixa-midia img, .caixa-midia video { max-height: 70svh; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .balao, .faixa-trilho, .mosaico-item { animation: none !important; }
  .faixa { overflow-x: auto; }
  .js .revela { opacity: 1; transform: none; transition: none; }
  .festa-foto img, .mosaico-item img, .insta-fotos img { transition: none; }
}
