/* Elas por Aí · São Roque 29/11 (06/10/2026)
   Papel rosa da marca, serifa do letreiro (Cormorant), a letra de mão do "por aí"
   (Parisienne) e o vinho de São Roque como cor de texto. */
:root {
  --rosa: #e76c88;
  --rosa-claro: #fbc9cf;
  --rosa-papel: #fde3e5;
  --papel: #fff7f3;
  --vinho: #7a2342;
  --tinta: #4b2233;
  --chocolate: #4a2a1f;
  --ouro: #e9b061;
  --sombra: 0 18px 40px -18px rgba(122, 35, 66, .45);
  --serifa: 'Cormorant Garamond', Georgia, serif;
  --mao: 'Parisienne', 'Brush Script MT', cursive;
  --texto: 'Jost', system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--rosa-claro);
  color: var(--tinta);
  font: 400 17px/1.5 var(--texto);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--vinho); outline-offset: 3px; border-radius: 6px; }

/* ═════════ CAPA ═════════ */
.capa {
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; padding: 28px 16px 36px; text-align: center;
  background:
    radial-gradient(120% 70% at 50% 0%, #fff1ee 0%, transparent 60%),
    radial-gradient(90% 60% at 50% 110%, #f7b3bf 0%, transparent 70%),
    var(--rosa-claro);
}
.capa__marca { width: min(230px, 56vw); animation: sobe .9s .05s both; }
.capa__de { font: 400 26px/1 var(--mao); color: var(--vinho); animation: sobe .9s .15s both; }
.capa__titulo {
  font: 500 clamp(26px, 6.4vw, 44px)/1.12 var(--serifa); color: var(--tinta);
  max-width: 17em; text-wrap: balance; animation: sobe .9s .25s both;
}
.capa__titulo b { font-weight: 600; color: var(--rosa); }
.polaroide {
  position: relative; width: min(330px, 80vw); margin: 10px 0 6px;
  padding: 10px 10px 0; background: var(--papel); box-shadow: var(--sombra);
  transform: rotate(-3deg); animation: cai 1.1s .35s cubic-bezier(.2, .9, .3, 1.2) both;
}
.polaroide img:first-child { aspect-ratio: 1080 / 962; object-fit: cover; width: 100%; }
.polaroide figcaption { font: 400 30px/1 var(--mao); color: var(--vinho); padding: 10px 0 14px; }
.polaroide__ave {
  position: absolute; width: 74px; right: -34px; top: -36px;
  transform: rotate(22deg); filter: drop-shadow(0 6px 8px rgba(122, 35, 66, .25));
  animation: pousa 2.6s 1.2s ease-in-out infinite alternate;
}
.capa__acoes { display: flex; flex-direction: column; align-items: center; gap: 12px; animation: sobe .9s .55s both; }
.capa__ler { font-size: 15px; color: var(--vinho); text-underline-offset: 4px; }
@keyframes sobe { from { opacity: 0; transform: translateY(14px); } }
@keyframes cai { from { opacity: 0; transform: translateY(-30px) rotate(6deg); } }
@keyframes pousa { to { transform: rotate(14deg) translateY(-4px); } }

.botao {
  display: inline-flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 14px 28px 12px; border-radius: 999px; text-decoration: none;
  background: var(--vinho); color: #fff; box-shadow: 0 12px 26px -12px rgba(122, 35, 66, .8);
  transition: transform .2s, box-shadow .2s;
}
.botao span { font: 600 17px/1.2 var(--texto); letter-spacing: .01em; }
.botao small { font: 400 13px/1.2 var(--texto); opacity: .8; }
.botao:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(122, 35, 66, .9); }
.botao:active { transform: translateY(1px); }
.botao--voar { background: var(--rosa); }

/* ═════════ O VOO ═════════ */
.voo { position: fixed; inset: 0; z-index: 10; background: #ffe2e2; overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none; }
.voo canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: none; }
/* textura de papel por cima (granulado leve) */
.papel {
  position: absolute; inset: 0; pointer-events: none; opacity: .09; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .2 0 0 0 0 .3 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hud {
  position: absolute; left: 0; right: 0; top: 0; z-index: 3;
  display: flex; align-items: center; gap: 12px;
  padding: max(10px, env(safe-area-inset-top)) 16px 10px;
  background: linear-gradient(rgba(255, 240, 238, .75), rgba(255, 240, 238, 0));
}
.hud__marca { width: 74px; flex: none; }
.hud__paradas { flex: 1; display: flex; justify-content: center; gap: 6px; list-style: none; min-width: 0; }
.hud__paradas button {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font: 600 12px/1 var(--texto); color: var(--vinho);
  background: rgba(255, 255, 255, .55); border: 1.5px solid rgba(122, 35, 66, .35);
  transition: background .3s, color .3s, transform .3s;
}
.hud__paradas button.feito { background: var(--rosa); color: #fff; border-color: var(--rosa); }
.hud__paradas button.aqui { transform: scale(1.18); border-color: var(--vinho); }
.hud__reservar {
  flex: none; padding: 9px 16px; border-radius: 999px; background: var(--vinho); color: #fff;
  font: 600 14px/1 var(--texto); box-shadow: 0 8px 18px -10px rgba(122, 35, 66, .9);
}

.cartao {
  position: absolute; z-index: 2; left: 50%; top: calc(max(10px, env(safe-area-inset-top)) + 62px);
  width: min(420px, calc(100% - 32px)); padding: 18px 20px 16px 22px;
  background: var(--papel); color: var(--tinta); border-radius: 4px; box-shadow: var(--sombra);
  transform: translate(-50%, -16px) rotate(-1.5deg); opacity: 0; pointer-events: none;
  transition: opacity .45s, transform .6s cubic-bezier(.2, .9, .3, 1.2);
  background-image: repeating-linear-gradient(135deg, var(--rosa) 0 10px, transparent 10px 20px, #9ec9d0 20px 30px, transparent 30px 40px);
  background-size: 100% 6px; background-repeat: no-repeat; background-position: 0 100%;
}
.cartao.aberto { opacity: 1; transform: translate(-50%, 0) rotate(-1.5deg); }
.cartao__selo {
  position: absolute; right: 14px; top: 14px; width: 46px; height: 54px;
  border: 2px dashed rgba(231, 108, 136, .7); border-radius: 3px;
  background: url(img/ave-rosa.webp) center / 60% no-repeat, #fff1f2;
}
.cartao__onde { font: 600 12px/1 var(--texto); letter-spacing: .14em; text-transform: uppercase; color: var(--rosa); margin-bottom: 8px; padding-right: 60px; }
.cartao__frase { font: 500 clamp(23px, 5.6vw, 29px)/1.12 var(--serifa); padding-right: 54px; text-wrap: balance; }
.cartao__nota { font: 400 24px/1.15 var(--mao); color: var(--vinho); margin-top: 8px; }
.cartao__nota.longa { font: 400 16px/1.45 var(--texto); color: var(--tinta); }

.dica {
  position: absolute; z-index: 2; left: 50%; bottom: calc(26px + env(safe-area-inset-bottom)); transform: translateX(-50%);
  width: max-content; max-width: calc(100% - 32px); text-align: center;
  font: 500 14px/1.4 var(--texto); color: var(--vinho);
  background: rgba(255, 247, 243, .82); padding: 9px 16px; border-radius: 14px;
  transition: opacity .6s;
}
.dica.some { opacity: 0; }
.bando {
  position: absolute; z-index: 2; left: 16px; bottom: calc(18px + env(safe-area-inset-bottom));
  font: 400 22px/1 var(--mao); color: var(--vinho); background: rgba(255, 247, 243, .82); padding: 6px 14px 8px; border-radius: 14px;
  opacity: 0; transition: opacity .5s;
}
.bando.mostra { opacity: 1; }

/* o bilhete por cima do voo, no fim */
body.chegou .bilhete {
  position: fixed; z-index: 20; left: 50%; top: 50%; margin: 0;
  width: min(760px, calc(100% - 32px)); max-height: calc(100svh - 32px); overflow: auto;
  transform: translate(-50%, -50%); animation: bilhete .8s cubic-bezier(.2, .9, .3, 1.15) both;
}
@keyframes bilhete { from { opacity: 0; transform: translate(-50%, -40%) rotate(3deg); } }
body.chegou .bilhete__denovo { display: block; }
body.chegou .dica, body.chegou .bando { opacity: 0; }
body.voando { overflow: hidden; }
body.voando .capa, body.voando .roteiro > .postal, body.voando .rodape { display: none; }
body.voando .roteiro { padding: 0; }
body.voando:not(.chegou) .bilhete { display: none; }

/* ═════════ ROTEIRO (leitura) ═════════ */
.roteiro {
  display: grid; gap: 22px; justify-items: center;
  padding: 56px 16px 40px;
  background: linear-gradient(#fbc9cf, #f7d9c9 45%, #f3c2b4 80%, #e9a5ae);
}
.postal {
  position: relative; width: min(560px, 100%); padding: 22px 22px 20px 24px;
  background: var(--papel); box-shadow: var(--sombra); border-radius: 4px;
  transform: rotate(var(--giro, -1deg));
}
.postal:nth-child(2n) { --giro: 1.2deg; }
.postal::after {
  content: ''; position: absolute; right: 16px; top: 16px; width: 44px; height: 52px;
  border: 2px dashed rgba(231, 108, 136, .7); border-radius: 3px;
  background: url(img/ave-rosa.webp) center / 60% no-repeat, #fff1f2;
}
.postal__onde { font: 600 12px/1 var(--texto); letter-spacing: .14em; text-transform: uppercase; color: var(--rosa); margin-bottom: 10px; padding-right: 60px; }
.postal__frase { font: 500 clamp(25px, 6vw, 32px)/1.12 var(--serifa); padding-right: 56px; text-wrap: balance; }
.postal__nota { font: 400 25px/1.2 var(--mao); color: var(--vinho); margin-top: 10px; }
.postal[data-estacao="serra"] .postal__nota { font: 400 17px/1.5 var(--texto); color: var(--tinta); }

.bilhete {
  width: min(760px, 100%); margin-top: 18px;
  display: grid; grid-template-columns: 1.35fr 1fr;
  background: var(--papel); border-radius: 14px; box-shadow: 0 30px 60px -24px rgba(74, 34, 51, .55);
  position: relative;
}
.bilhete__corpo { padding: 26px 26px 24px; }
.bilhete__marca { width: 120px; margin-bottom: 8px; }
.bilhete__titulo { font: 400 clamp(38px, 9vw, 52px)/1 var(--mao); color: var(--vinho); margin-bottom: 14px; }
.bilhete__dados { display: grid; gap: 10px; }
.bilhete__dados div { display: grid; grid-template-columns: 92px 1fr; gap: 10px; align-items: baseline; border-bottom: 1px dashed rgba(122, 35, 66, .2); padding-bottom: 8px; }
.bilhete__dados dt { font: 600 11px/1.3 var(--texto); letter-spacing: .14em; text-transform: uppercase; color: var(--rosa); }
.bilhete__dados dd { font: 500 20px/1.2 var(--serifa); color: var(--tinta); }
.bilhete__valor dd { font: 600 30px/1 var(--serifa); color: var(--vinho); }
.bilhete__canhoto {
  position: relative; padding: 26px 22px 22px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center;
  background: var(--rosa-papel); border-radius: 0 14px 14px 0;
  border-left: 2px dashed rgba(122, 35, 66, .3);
}
/* os furinhos do picote */
.bilhete__canhoto::before, .bilhete__canhoto::after {
  content: ''; position: absolute; left: -13px; width: 24px; height: 24px; border-radius: 50%; background: #f1b7b9;
}
.bilhete__canhoto::before { top: -12px; }
.bilhete__canhoto::after { bottom: -12px; }
body.chegou .bilhete__canhoto::before, body.chegou .bilhete__canhoto::after { background: transparent; }
.botao--reservar { background: #1f9d55; box-shadow: 0 12px 26px -12px rgba(31, 157, 85, .9); }
.botao--reservar:hover { box-shadow: 0 16px 30px -12px rgba(31, 157, 85, 1); }
.bilhete__tel { font-size: 15px; }
.bilhete__tel a { font-weight: 600; text-decoration: none; white-space: nowrap; }
.bilhete__obs { font-size: 13px; line-height: 1.4; color: rgba(75, 34, 51, .78); max-width: 26em; }
.bilhete__assina { font: 400 27px/1 var(--mao); color: var(--vinho); }
.bilhete__denovo {
  display: none; grid-column: 1 / -1; justify-self: center; margin: 4px 0 14px;
  font: 500 14px/1 var(--texto); color: var(--vinho); text-decoration: underline; text-underline-offset: 4px; padding: 8px;
}

.rodape { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 28px 16px 40px; background: #e9a5ae; color: var(--vinho); font-size: 13px; text-align: center; }
.rodape img { width: 38px; transform: rotate(20deg); }

@media (max-width: 640px) {
  .bilhete { grid-template-columns: 1fr; }
  .bilhete__corpo { padding: 22px 18px 18px; }
  .bilhete__canhoto { border-left: 0; border-top: 2px dashed rgba(122, 35, 66, .3); border-radius: 0 0 14px 14px; padding: 22px 18px 20px; }
  .bilhete__canhoto::before, .bilhete__canhoto::after { top: -13px; bottom: auto; }
  .bilhete__canhoto::before { left: -12px; }
  .bilhete__canhoto::after { left: auto; right: -12px; }
  .bilhete__dados div { grid-template-columns: 80px 1fr; }
  .bilhete__dados dd { font-size: 18px; }
  .hud__marca { width: 58px; }
  .hud__paradas { gap: 4px; }
  .hud__paradas button { width: 26px; height: 26px; font-size: 11px; }
  .hud__reservar { padding: 8px 12px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ═════════ QUEM FAZ (a carta das fundadoras + o vídeo da Lívia) ═════════ */
.elas {
  width: min(760px, 100%); margin-top: 18px;
  display: grid; grid-template-columns: 1fr 300px; gap: 22px; align-items: center;
}
.elas__carta {
  position: relative; padding: 30px 26px 26px; background: #f7c6cf; border-radius: 6px; box-shadow: var(--sombra);
  transform: rotate(-.8deg);
  background-image: radial-gradient(circle at 92% 12%, rgba(255, 255, 255, .55) 0 34px, transparent 35px);
}
.elas__de { font: 600 12px/1 var(--texto); letter-spacing: .14em; text-transform: uppercase; color: var(--vinho); margin-bottom: 14px; }
.elas blockquote { font: 500 italic clamp(22px, 5vw, 27px)/1.25 var(--serifa); color: var(--tinta); }
.elas__assina { font: 400 30px/1 var(--mao); color: var(--rosa); margin-top: 14px; }
.elas__primeira { font: 500 15px/1.4 var(--texto); color: var(--vinho); margin-top: 14px; padding-top: 12px; border-top: 1px dashed rgba(122, 35, 66, .3); }
.elas__video { position: relative; display: block; background: var(--papel); padding: 8px 8px 12px; border-radius: 6px; box-shadow: var(--sombra); transform: rotate(1.2deg); text-decoration: none; transition: transform .3s; }
.elas__video:hover { transform: rotate(0deg) translateY(-3px); }
.elas__video img { width: 100%; aspect-ratio: 361 / 640; object-fit: cover; border-radius: 3px; }
.elas__play { position: absolute; left: 50%; top: 45%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(122, 35, 66, .82); box-shadow: 0 8px 20px rgba(0, 0, 0, .25); }
.elas__play::after { content: ''; position: absolute; left: 25px; top: 19px; border-left: 20px solid #fff; border-top: 13px solid transparent; border-bottom: 13px solid transparent; }
.elas__legenda { display: block; text-align: center; padding-top: 10px; font-size: 14px; color: var(--vinho); text-decoration: underline; text-underline-offset: 3px; }
.bilhete__video { font-size: 14px; color: var(--vinho); text-underline-offset: 3px; }
body.voando .elas { display: none; }
@media (max-width: 720px) {
  .elas { grid-template-columns: 1fr; }
  .elas__video { width: min(330px, 100%); justify-self: center; }
}

.hud__fechar { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .7); color: var(--vinho); font: 600 15px/1 var(--texto); border: 1.5px solid rgba(122, 35, 66, .3); }
@media (max-width: 640px) { .hud__fechar { width: 30px; height: 30px; } .hud { gap: 8px; } }
