/* Comunidade Viver + o Mundo
   VOICE   convite próximo e calmo
   IDEA    o pin de expedição da comunidade: o mesmo emblema na foto do casal e no cartão do plano anual; a estrada pontilhada liga as cenas até a oferta
   PICTURE abertura como página de revista de viagem: texto de um lado, foto real de Luiz e Eliana do outro, com o pin no canto
   COLOUR  paleta do emblema: azul-petróleo #1A3B4F, verde-água #6FA9A5, laranja #E38429 (botão anual sobre o azul), vermelho #E64D33 (acentos), areia #EACEA3 (molduras), ardósia #3C475A, branco
   TYPE    Pantogrem (títulos), Anton (letreiros), Caveat (só legendas curtas à mão), TT Hoves (texto)
   LAYOUT  computador: revista em duas colunas; celular: cabeçalho compacto, foto com o pin, título e convite em sequência */

@font-face { font-family: "Pantogrem"; src: url("assets/fontes/pantogrem.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "TT Hoves"; src: url("assets/fontes/tthoves-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "TT Hoves"; src: url("assets/fontes/tthoves-medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "TT Hoves"; src: url("assets/fontes/tthoves-demibold.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  color-scheme: light;
  /* paleta do emblema */
  --petroleo: #1A3B4F;
  --verde: #6FA9A5;
  --verde-claro: #DDEBE8;
  --laranja: #E38429;
  --vermelho: #E64D33;
  --areia: #EACEA3;
  --areia-clara: #F8EFE1;
  --ardosia: #3C475A;
  --branco: #FFFFFF;
  /* papéis de cada cor na página */
  --cafe: var(--petroleo);
  --cafe-2: #21485f;
  --cafe-3: #122b3a;
  --terra: var(--ardosia);
  --caramelo: var(--laranja);
  --caramelo-escuro: var(--vermelho);
  --papel: var(--areia-clara);
  --claro: var(--branco);
  --creme: var(--branco);
  --tinta: var(--petroleo);
  --tinta-suave: var(--ardosia);
  --sobre-cafe: #F2F6F6;
  --sobre-cafe-suave: #BFD3D6;
  --raio: 18px;
  --titulo: "Pantogrem", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --letreiro: "Anton", Impact, "Arial Narrow", sans-serif;
  --mao: "Caveat", "Segoe Print", "Bradley Hand", cursive;
  --texto: "TT Hoves", "Helvetica Neue", Arial, system-ui, sans-serif;
  --gutter: max(5vw, 16px);
  --rasgo-h: clamp(26px, 3.4vw, 50px);
  --curva: cubic-bezier(.2, .7, .2, 1);
}
:root[data-theme="dark"] { color-scheme: light; }

*, *::before, *::after { box-sizing: border-box; }
* { min-width: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cafe); color: var(--tinta); font: 400 17px/1.6 var(--texto); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--titulo); font-weight: 400; line-height: 1.04; letter-spacing: -.01em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2.2rem, 5.6vw, 4.1rem); }
h3 { font-size: clamp(1.45rem, 2.4vw, 1.8rem); line-height: 1.1; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.nowrap { white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mao { font-family: var(--mao); font-weight: 600; letter-spacing: 0; line-height: 1.1; }

:focus-visible { outline: 3px solid var(--caramelo); outline-offset: 3px; border-radius: 4px; }
.pular { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--creme); color: var(--tinta); padding: 10px 16px; border-radius: 6px; font-weight: 600; }
.pular:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

.envelope { position: relative; z-index: 2; width: 100%; max-width: 1240px; margin-inline: auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.cena { position: relative; overflow-x: clip; padding-block: clamp(72px, 10vw, 140px) calc(clamp(72px, 10vw, 140px) + var(--rasgo-h)); }
.cafe { background: var(--cafe); color: var(--sobre-cafe); }
.papel { background: var(--papel); color: var(--tinta); }
.claro { background: var(--claro); color: var(--tinta); }
.intro { font-size: clamp(1.06rem, 1.6vw, 1.2rem); max-width: 40em; margin-top: 1.1em; color: var(--tinta-suave); }

/* Papel rasgado entre as cenas */
.rasgo { position: absolute; left: 0; right: 0; bottom: -1px; height: var(--rasgo-h); z-index: 3; pointer-events: none; }
.rasgo::before, .rasgo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.rasgo::before { top: 0; background: var(--creme); -webkit-mask-image: var(--rasgo-b); mask-image: var(--rasgo-b); }
.rasgo::after { top: 22%; background: var(--cor-rasgo); -webkit-mask-image: var(--rasgo-a); mask-image: var(--rasgo-a); }
.rasgo-papel { --cor-rasgo: var(--papel); }
.rasgo-cafe { --cor-rasgo: var(--cafe); }
.rasgo-claro { --cor-rasgo: var(--claro); }
.rasgo-topo { top: calc(-1 * var(--rasgo-h) + 1px); bottom: auto; }

/* Letreiros grandes, como os títulos dos slides */
.letreiro { font-family: var(--letreiro); font-weight: 400; text-transform: uppercase; white-space: nowrap; line-height: .86; letter-spacing: .005em; margin: 0; font-size: clamp(4.4rem, 15vw, 14rem); pointer-events: none; user-select: none; will-change: transform; }
.letreiro-escuro { color: rgba(26, 59, 79, .13); margin: -.12em 0 -.25em -2vw; }
.letreiro-claro { color: rgba(255, 255, 255, .08); margin: -.12em 0 -.2em -2vw; }

/* Botões */
.botao { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 52px; padding: 14px 28px; border-radius: 999px; background: var(--petroleo); color: var(--branco); font: 600 1.02rem/1.2 var(--texto); text-decoration: none; text-align: center; box-shadow: 0 10px 24px -14px rgba(0,0,0,.6); transition: transform .25s var(--curva), background-color .25s; }
.botao::after { content: "→"; transition: transform .25s var(--curva); }
.botao:hover { background: var(--cafe-2); }
.botao:hover::after { transform: translateX(4px); }
.botao:active { transform: scale(.98); }
/* sobre o azul-petróleo, o botão do anual fica laranja com texto azul */
.botao-laranja, .cafe .botao, .fechamento .botao, .barra-fixa .botao { background: var(--laranja); color: var(--petroleo); }
.botao-laranja:hover, .cafe .botao:hover, .fechamento .botao:hover, .barra-fixa .botao:hover { background: #EE9A47; }
.botao-grande { min-height: 60px; padding: 18px 30px; font-size: 1.1rem; width: 100%; }

/* Polaroide */
.polaroide { position: relative; background: var(--areia); border-radius: 6px; padding: 9px 9px 30px; box-shadow: 0 1px 2px rgba(0,0,0,.2), 0 18px 34px -20px rgba(26,59,79,.75); margin: 0; }
.polaroide > img:not(.fita) { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.fita { position: absolute; z-index: 2; top: -16px; left: 50%; width: 48%; height: auto; transform: translateX(-50%) rotate(-3deg); opacity: .92; pointer-events: none; }

/* ============ HERO: capa do álbum ============ */
.hero { position: relative; background: var(--petroleo); color: var(--branco); padding-bottom: calc(clamp(56px, 7vw, 100px) + var(--rasgo-h)); }
.topo { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: calc(16px + env(safe-area-inset-top, 0px)); padding-bottom: 16px; }
.topo-logo { display: block; padding: 4px 0; }
.topo-logo img { width: clamp(108px, 10vw, 150px); }
.topo-atalho { font-weight: 600; font-size: .95rem; text-decoration: none; padding: 9px 16px; border: 1.5px solid rgba(255,255,255,.7); border-radius: 999px; white-space: nowrap; color: var(--branco); }
.topo-atalho:hover { background: var(--branco); color: var(--petroleo); }
.hero-grade { display: grid; }
.hero-foto { position: relative; margin: 8px 0 0; background: var(--areia); padding: 10px 10px 44px; border-radius: 6px; box-shadow: 0 30px 50px -28px rgba(0,0,0,.75); transform: rotate(-1.5deg); }
.hero-quadro { position: relative; overflow: hidden; border-radius: 3px; }
.hero-quadro img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 66%; }
.hero-legenda { position: absolute; left: 0; right: 18px; bottom: 8px; text-align: right; color: var(--petroleo); font-size: 1.35rem; }
.pin { display: block; height: auto; filter: drop-shadow(0 10px 14px rgba(0,0,0,.4)); }
.pin-hero { position: absolute; z-index: 2; left: -10px; bottom: -38px; width: clamp(96px, 30vw, 128px); transform: rotate(-8deg); }
.hero-texto { position: relative; z-index: 1; padding-top: 56px; max-width: 680px; }
.selo { font: 600 .8rem/1.2 var(--texto); letter-spacing: .14em; text-transform: uppercase; color: var(--areia); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.selo::before { content: ""; flex: none; width: 34px; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--verde) 0 33.3%, var(--laranja) 33.3% 66.6%, var(--vermelho) 66.6%); }
.hero h1 { font-size: clamp(2.1rem, 8.8vw, 3.6rem); line-height: 1.02; color: var(--branco); }
.hero h1 .marca { white-space: nowrap; background: linear-gradient(transparent 72%, rgba(227,132,41,.75) 72% 90%, transparent 90%); }
.hero-sub { font-size: 1.12rem; line-height: 1.5; margin: 18px 0 26px; max-width: 30em; color: var(--sobre-cafe); }
.hero-acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.hero-acoes .botao { width: 100%; }
.hero-inclui { color: var(--sobre-cafe-suave); font-size: .95rem; margin: 0; }

@media (min-width: 560px) { .hero-acoes .botao { width: auto; } }
@media (min-width: 900px) {
  .topo { padding-top: 24px; padding-bottom: 20px; }
  .hero-grade { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(48px, 6vw, 96px); align-items: center; padding-top: clamp(8px, 2vw, 28px); }
  .hero-texto { order: 1; padding-top: 0; }
  .hero-foto { order: 2; margin: 0 0 30px; padding: 12px 12px 52px; transform: rotate(2deg); }
  .hero-quadro img { aspect-ratio: 4 / 4.6; object-position: 50% 64%; }
  .pin-hero { left: -62px; bottom: -44px; width: clamp(130px, 12vw, 172px); transform: rotate(-9deg); }
  .hero h1 { font-size: clamp(3rem, 4.9vw, 4.7rem); }
  .hero-sub { font-size: 1.25rem; margin: 24px 0 32px; }
}

/* ============ O ÁLBUM: fotos que viram ============ */
.album h2 { max-width: 14em; }
.fotos-album { display: grid; gap: 56px; margin-top: clamp(44px, 6vw, 76px); }
.foto-album { display: grid; justify-items: center; }
.foto-tipo { justify-self: start; font: 600 .78rem/1.2 var(--texto); letter-spacing: .14em; text-transform: uppercase; color: var(--ardosia); margin-bottom: 14px; }
.virar { width: 100%; perspective: 1400px; }
.virar-interno { display: grid; transition: transform .9s var(--curva); transform-style: preserve-3d; }
.face { grid-area: 1 / 1; background: var(--branco); padding: 12px 12px 0; border-radius: 4px; box-shadow: 0 1px 2px rgba(0,0,0,.15), 0 22px 36px -22px rgba(26,59,79,.7); -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.frente img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.anotacao { font-family: var(--mao); font-weight: 600; font-size: clamp(1.5rem, 5.4vw, 1.75rem); line-height: 1.1; color: var(--petroleo); padding: 14px 6px 16px; margin: 0; transform: rotate(-1.2deg); }
.verso { display: flex; flex-direction: column; justify-content: center; padding: clamp(22px, 4vw, 30px); background: var(--areia-clara); border: 1px solid rgba(26,59,79,.12); border-top: 6px solid var(--verde); }
.verso p { color: var(--petroleo); font-size: 1.02rem; line-height: 1.5; margin-bottom: .7em; }
.verso .verso-titulo { font-family: var(--mao); font-weight: 700; font-size: 1.6rem; line-height: 1; color: var(--vermelho); margin-bottom: 12px; }
.virar-botao { margin-top: 16px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1.5px solid var(--petroleo); background: transparent; color: var(--petroleo); font: 600 .95rem/1 var(--texto); cursor: pointer; }
.virar-botao::before { content: "↻"; font-size: 1.1rem; }
.virar-botao:hover, .virar-botao[aria-pressed="true"] { background: var(--petroleo); color: var(--branco); }
.foto-album:nth-child(1) .virar { transform: rotate(-1.8deg); }
.foto-album:nth-child(2) .virar { transform: rotate(1.4deg); }
.foto-album:nth-child(3) .virar { transform: rotate(-.8deg); }
/* com JavaScript: a foto vira; sem ele, o verso aparece embaixo da foto */
.js .face.frente { cursor: pointer; }
.js .verso { transform: rotateY(180deg); }
.js .foto-album.virada .virar-interno { transform: rotateY(180deg); }
html:not(.js) .virar-interno { gap: 14px; }
html:not(.js) .face { grid-area: auto; }
@media (min-width: 900px) {
  .fotos-album { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; align-items: start; }
  .foto-album:nth-child(2) { margin-top: 48px; }
}
@media (prefers-reduced-motion: reduce) { .virar-interno { transition: none; } }

/* ============ A ESTRADA ATÉ AQUI ============ */
.caminho { padding-top: clamp(48px, 7vw, 96px); }
.caminho-topo { display: grid; gap: 20px; }
.caminho-topo .intro { margin-top: 0; }
.expedicoes { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 78%); gap: 22px; margin-top: clamp(40px, 6vw, 72px); overflow-x: auto; scroll-snap-type: x mandatory; padding: 26px 4px 20px; scrollbar-width: thin; }
.expedicao { scroll-snap-align: start; }
.expedicao-foto { position: relative; background: var(--areia); border-radius: 6px; padding: 8px 8px 0; box-shadow: 0 16px 30px -20px rgba(26,59,79,.8); transform: rotate(-1.2deg); }
.expedicao:nth-child(even) .expedicao-foto { transform: rotate(1.3deg); }
.expedicao-foto > img:first-child { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.expedicao-mapa { position: absolute; z-index: 2; right: -14px; top: -34px; width: 38%; transform: rotate(5deg); filter: drop-shadow(0 8px 12px rgba(26,59,79,.45)); }
.expedicao:nth-child(even) .expedicao-mapa { transform: rotate(-4deg); }
.expedicao-titulo { position: absolute; left: 14px; bottom: 14px; width: 84%; filter: drop-shadow(0 2px 6px rgba(0,0,0,.55)); }
.expedicao-dados { display: flex; gap: 12px; align-items: baseline; margin: 18px 0 2px; font-family: var(--titulo); font-size: 1.45rem; line-height: 1; }
.expedicao-dados strong { font-weight: 400; }
.expedicao-dados span { color: var(--caramelo-escuro); }
.expedicao-lugar { font-size: .95rem; color: var(--tinta-suave); }
@media (min-width: 900px) {
  .caminho-topo { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: end; gap: 56px; }
  .expedicoes { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; padding: 26px 0 0; }
  .expedicao:nth-child(even) { margin-top: 40px; }
}

/* ============ PEÇAS SOLTAS ============ */
.peca { position: absolute; z-index: 1; pointer-events: none; will-change: transform; }
.peca-carta { right: -70px; top: 70px; width: clamp(150px, 18vw, 260px); transform: rotate(9deg); opacity: .55; }
@media (max-width: 719px) { .peca-carta { display: none; } }

/* ============ O QUE VOCÊ RECEBE ============ */
.recebe .letreiro { margin-bottom: -.1em; }
.momento { display: grid; gap: 30px; margin-top: clamp(52px, 7vw, 100px); }
.momento-foto { margin: 0; }
.momento .polaroide { transform: rotate(-2deg); }
.momento-grupo .polaroide { transform: rotate(2deg); }
.momento-quando { display: inline-block; font: 600 .8rem/1.2 var(--texto); letter-spacing: .14em; text-transform: uppercase; color: var(--petroleo); background: var(--verde-claro); padding: 7px 12px; border-radius: 999px; margin-bottom: 14px; }
.momento h3 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); line-height: 1.04; margin-bottom: .5em; }
.momento-texto p:not(.momento-quando):not(.doze-legenda) { font-size: 1.08rem; color: var(--tinta-suave); max-width: 32em; }
@media (min-width: 900px) {
  .momento { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: center; }
  .momento-grupo .momento-foto { order: 2; }
}
.doze { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; margin-top: 30px; max-width: 520px; }
.doze::before { content: ""; position: absolute; left: 4%; right: 4%; top: 50%; border-top: 2px dotted var(--terra); }
.doze span { position: relative; display: block; aspect-ratio: 1; border-radius: 50%; background: var(--terra); max-width: 40px; width: 100%; justify-self: center; box-shadow: 0 0 0 4px var(--papel); }
.doze span:nth-child(3n+1) { background: var(--verde); }
.doze span:nth-child(3n+2) { background: var(--laranja); }
.doze span:nth-child(3n) { background: var(--vermelho); }
.doze-legenda { font-family: var(--titulo); font-size: clamp(1.25rem, 2.2vw, 1.55rem); line-height: 1.15; margin-top: 14px; }
.vantagens { margin-top: clamp(64px, 8vw, 110px); }
.vantagens-titulo { font-size: clamp(2rem, 4.6vw, 3.2rem); margin-bottom: clamp(24px, 3vw, 36px); }
.cupons { display: grid; gap: 22px; }
.cupom { position: relative; display: grid; grid-template-columns: clamp(104px, 28vw, 170px) minmax(0, 1fr); background: var(--branco); border-radius: 16px; box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 26px 44px -28px rgba(26,59,79,.75); transition: transform .4s var(--curva); }
.cupom:hover { transform: translateY(-4px) rotate(-.4deg); }
/* picote entre o canhoto e o corpo, com os furinhos do cupom */
.cupom::before, .cupom::after { content: ""; position: absolute; left: clamp(104px, 28vw, 170px); width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; background: var(--claro); z-index: 2; }
.cupom::before { top: -11px; }
.cupom::after { bottom: -11px; }
.cupom-canhoto { position: relative; overflow: hidden; border-radius: 16px 0 0 16px; border-right: 3px dashed rgba(255,255,255,.85); display: grid; place-items: center; min-height: 170px; }
.cupom-roteiros .cupom-canhoto { background: var(--laranja); }
.cupom-parceiros .cupom-canhoto { background: var(--verde); }
.cupom-canhoto img { position: absolute; width: 62%; filter: drop-shadow(0 6px 8px rgba(26,59,79,.35)); }
.cupom-canhoto img:nth-child(1) { left: 6%; top: 10%; transform: rotate(-8deg); }
.cupom-canhoto img:nth-child(2) { right: 4%; top: 30%; transform: rotate(7deg); }
.cupom-icone { width: 58%; max-width: 92px; transform: rotate(-10deg); filter: drop-shadow(0 6px 8px rgba(26,59,79,.3)); }
.cupom-selo { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%) rotate(-4deg); background: var(--petroleo); color: var(--branco); font: 700 .7rem/1 var(--texto); letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.cupom-corpo { padding: clamp(18px, 3vw, 30px) clamp(18px, 3vw, 32px); display: flex; flex-direction: column; justify-content: center; }
.cupom-quem { font: 700 .74rem/1.2 var(--texto); letter-spacing: .14em; text-transform: uppercase; color: var(--vermelho); margin-bottom: 8px; }
.cupom h4 { font-family: var(--titulo); font-weight: 400; font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.08; margin: 0 0 10px; color: var(--petroleo); text-wrap: balance; }
.cupom-corpo p:last-child { color: var(--tinta-suave); font-size: .98rem; line-height: 1.5; }
@media (min-width: 900px) { .cupons { grid-template-columns: 1fr 1fr; gap: 30px; } .cupom:nth-child(2) { margin-top: 36px; } }
@media (max-width: 480px) { .cupom-canhoto { min-height: 0; } }
@media (min-width: 720px) {
  .doze { gap: 10px; }
}

/* Peru: o planejamento da próxima expedição */
.momento-peru { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(18px, 4vw, 40px); align-items: center; margin-top: clamp(52px, 7vw, 100px); padding: clamp(22px, 4vw, 40px); background: var(--papel); border-radius: var(--raio); border-left: 6px solid #D91023; }
.bandeira-peru { width: clamp(64px, 14vw, 120px); height: auto; transform: rotate(-4deg); filter: drop-shadow(0 8px 10px rgba(26,59,79,.25)); transform-origin: 6% 100%; }
.momento-peru h3 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); line-height: 1.05; margin-bottom: .45em; }
.momento-peru-texto > p:last-child { font-size: 1.08rem; color: var(--tinta-suave); max-width: 36em; }
@media (max-width: 719px) { .momento-peru { grid-template-columns: minmax(0, 1fr); align-items: start; } .bandeira-peru { width: 74px; } }
.bandeira-mini { display: inline-block; width: 22px; height: 15px; vertical-align: -2px; margin-left: 6px; }
@media (prefers-reduced-motion: no-preference) {
  .js .momento-peru.visto .bandeira-peru { animation: tremula 2.4s var(--curva) .3s both; }
}
@keyframes tremula { 0% { transform: rotate(-14deg); } 40% { transform: rotate(2deg); } 70% { transform: rotate(-6deg); } 100% { transform: rotate(-4deg); } }

/* ============ OFERTA: ficha de membro ============ */
.oferta { padding-top: clamp(84px, 10vw, 140px); }
.faixa-pin { position: absolute; left: 0; right: 0; top: 0; display: grid; grid-template-rows: repeat(3, 6px); }
.faixa-pin span:nth-child(1) { background: var(--verde); }
.faixa-pin span:nth-child(2) { background: var(--laranja); }
.faixa-pin span:nth-child(3) { background: var(--vermelho); }
.ficha { position: relative; max-width: 760px; margin-inline: auto; background: var(--areia-clara); color: var(--petroleo); border-radius: 14px; overflow: hidden; box-shadow: 0 40px 70px -40px rgba(0,0,0,.9); }
.ficha-topo { display: flex; justify-content: space-between; gap: 12px; padding: 12px clamp(20px, 4vw, 40px); background: var(--areia); font: 600 .74rem/1.2 var(--texto); letter-spacing: .16em; text-transform: uppercase; color: var(--petroleo); border-bottom: 2px dashed rgba(26,59,79,.35); }
.ficha-corpo { padding: clamp(24px, 4.5vw, 44px); }
.ficha-cabeca { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: start; }
.ficha-tipo { font: 600 .78rem/1.2 var(--texto); letter-spacing: .12em; text-transform: uppercase; color: var(--ardosia); margin-bottom: 10px; }
.ficha h2 { font-size: clamp(1.7rem, 6.4vw, 2.9rem); line-height: 1.02; }
.pin-oferta { width: clamp(76px, 20vw, 130px); margin-top: -6px; transform: rotate(7deg); }
.ficha-lista { margin: 26px 0 0; display: grid; gap: 0; border-top: 2px solid var(--petroleo); }
.ficha-lista li { position: relative; padding: 13px 0 13px 38px; border-bottom: 1px solid rgba(26,59,79,.16); font-size: 1.05rem; line-height: 1.35; }
.ficha-lista li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 20px; height: 20px; border: 2px solid var(--petroleo); border-radius: 4px; background: var(--branco); }
.ficha-lista li::after { content: ""; position: absolute; left: 8px; top: 16px; width: 7px; height: 12px; border-right: 3px solid var(--vermelho); border-bottom: 3px solid var(--vermelho); transform: rotate(40deg); }
.ficha-lista strong { font-weight: 700; }
.ficha-preco { margin-top: 26px; }
.preco { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 6px; line-height: 1; }
.preco-valor { font-family: var(--titulo); font-size: clamp(4rem, 16vw, 5.8rem); letter-spacing: -.02em; white-space: nowrap; }
.preco-periodo { font: 600 1.3rem/1 var(--texto); }
.preco-ref { color: var(--ardosia); font-size: 1rem; margin-bottom: 10px; }
.preco-economia { display: inline-block; font-weight: 600; font-size: .98rem; color: var(--petroleo); background: var(--verde-claro); padding: 8px 14px; border-radius: 10px; margin-bottom: 22px; }
.ficha .botao-grande { box-shadow: 0 14px 30px -14px rgba(227,132,41,.9); }
.link-mensal { display: flex; justify-content: center; align-items: center; min-height: 48px; margin-top: 8px; color: var(--petroleo); font-weight: 600; text-decoration: underline; text-decoration-color: var(--laranja); text-decoration-thickness: 2.5px; text-underline-offset: 5px; }
.link-mensal:hover { text-decoration-thickness: 3.5px; }
.plano-depois { font-size: .9rem; color: var(--ardosia); margin-top: 12px; }
@media (min-width: 720px) { .ficha-lista { grid-template-columns: 1fr 1fr; column-gap: 28px; } .ficha-lista li:nth-child(3) { grid-column: 1 / -1; } }

/* ============ DÚVIDAS ============ */
.duvidas { padding-bottom: clamp(72px, 10vw, 140px); }
.duvidas-grade { display: grid; gap: 32px; }
.perguntas { border-top: 2px solid var(--tinta); }
.perguntas details { border-bottom: 1px solid rgba(26,59,79,.18); }
.perguntas summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 600; font-size: 1.1rem; line-height: 1.35; min-height: 48px; }
.perguntas summary::-webkit-details-marker { display: none; }
.perguntas summary::after { content: "+"; flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--tinta); font: 400 1.3rem/1 var(--texto); transition: transform .3s var(--curva), background-color .3s; }
.perguntas details[open] summary::after { transform: rotate(45deg); background: var(--areia); border-color: var(--areia); }
.perguntas summary:hover { color: var(--caramelo-escuro); }
.perguntas details p { padding: 0 0 22px; color: var(--tinta-suave); max-width: 40em; }
@media (min-width: 900px) { .duvidas-grade { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; } }

/* ============ FECHAMENTO ============ */
.fechamento { position: relative; background: var(--cafe); color: var(--creme); }
.fechamento-palco { position: relative; overflow: hidden; }
.fechamento-foto { width: 100%; aspect-ratio: 3 / 1; min-height: 340px; object-fit: cover; }
.fechamento-palco::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,59,79,0) 50%, var(--cafe) 100%); }
.juntos { position: absolute; z-index: 2; left: 50%; top: 46%; transform: translate(-50%, -50%); display: grid; justify-items: start; color: var(--creme); width: clamp(150px, 16vw, 230px); }
.juntos .mao { font-size: clamp(1.4rem, 2.4vw, 2rem); }
.juntos img { width: 100%; margin: 4px 0; }
.juntos .mao:last-child { justify-self: end; transform: rotate(-4deg); }
.fechamento-texto { position: relative; z-index: 2; margin-top: -30px; padding-bottom: clamp(72px, 10vw, 130px); }
.fechamento-intro { font-size: clamp(1.1rem, 2vw, 1.3rem); line-height: 1.5; max-width: 34em; color: var(--sobre-cafe); margin-bottom: 26px; }
.fechamento h2 { font-size: clamp(2.5rem, 7.6vw, 5.4rem); margin-bottom: 32px; max-width: 12em; }
.fechamento .botao-grande { max-width: 440px; }
.fechamento-preco { margin-top: 16px; color: var(--sobre-cafe-suave); }
.fechamento-preco a { color: var(--creme); text-underline-offset: 4px; }

/* ============ RODAPÉ ============ */
.rodape { background: var(--cafe-3); color: var(--sobre-cafe-suave); padding-block: 48px calc(48px + env(safe-area-inset-bottom, 0px)); font-size: .95rem; }
.rodape-grade { display: grid; gap: 24px; align-items: center; }
.rodape-logo { width: 120px; }
.rodape-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.rodape-links a { display: inline-block; padding: 6px 0; text-underline-offset: 4px; }
@media (min-width: 720px) { .rodape-grade { grid-template-columns: auto 1fr auto; gap: 40px; } }

/* ============ ESTRADA (liga as cenas até a oferta) ============ */
main { position: relative; }
.estrada { position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 5; pointer-events: none; overflow: visible; }
.estrada-base { fill: none; stroke: var(--caramelo); stroke-opacity: .22; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 2 7; }
.estrada-feita { fill: none; stroke: var(--caramelo); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 12 9; }
.estrada-parada circle { fill: var(--papel); stroke: var(--caramelo); stroke-width: 3; transition: fill .4s, r .4s; }
.estrada-parada.chegou circle { fill: var(--caramelo); }
.estrada-parada text { font-family: var(--mao); font-size: 20px; fill: var(--caramelo); text-anchor: middle; opacity: .35; transition: opacity .5s, transform .6s var(--curva); transform-box: fill-box; transform-origin: center; }
.estrada-parada.chegou text { opacity: 1; animation: carimbo .6s var(--curva); }
@keyframes carimbo { 0% { transform: scale(1.6) rotate(-8deg); opacity: 0; } 100% { transform: none; opacity: 1; } }
.estrada-final circle { fill: var(--caramelo); }

/* ============ BARRA FIXA (celular) ============ */
.barra-fixa { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px max(16px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); background: rgba(26,59,79,.95); color: var(--creme); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid rgba(234,206,163,.18); transform: translateY(110%); transition: transform .4s var(--curva); }
.barra-fixa p { margin: 0; font-size: .95rem; white-space: nowrap; }
.barra-fixa strong { font-family: var(--titulo); font-weight: 400; font-size: 1.5rem; }
.barra-fixa .botao { min-height: 46px; padding: 10px 20px; font-size: .98rem; }
.barra-fixa.visivel { transform: translateY(0); }
@media (min-width: 900px) { .barra-fixa { display: none; } }

/* Aviso da prévia (some quando os links reais forem colocados) */
.aviso-checkout { position: fixed; left: 50%; bottom: calc(90px + env(safe-area-inset-bottom, 0px)); z-index: 60; width: min(92vw, 460px); margin: 0; padding: 14px 18px; border-radius: 6px; background: var(--papel); color: var(--tinta); font-size: .95rem; box-shadow: 0 20px 40px -20px rgba(0,0,0,.8); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--curva); }
.aviso-checkout.visivel { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 420px) {
  .botao-grande { padding: 16px 20px; font-size: 1.04rem; }
  .botao-grande::after { display: none; }
}

/* ============ MOVIMENTO (só com JavaScript e sem preferência por menos movimento) ============ */
@media (prefers-reduced-motion: no-preference) {
  .js .revela { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--curva), transform .9s var(--curva); transition-delay: var(--atraso, 0s); }
  .js .revela.visto { opacity: 1; transform: none; }
  .js .momento.revela .polaroide, .js .expedicao.revela .expedicao-foto { transition: transform 1.1s var(--curva); transition-delay: var(--atraso, 0s); }
  .js .momento.revela:not(.visto) .polaroide, .js .expedicao.revela:not(.visto) .expedicao-foto { transform: rotate(-9deg) translateY(30px) scale(.95); }
  .js .foto-album.revela:not(.visto) .virar { transform: rotate(-10deg) translateY(30px) scale(.95); }
  .js .foto-album.revela .virar { transition: transform 1.1s var(--curva); transition-delay: var(--atraso, 0s); }
  .js .cupom.revela { transform: translateY(40px) rotate(-4deg); }
  .js .cupom.revela.visto { transform: none; }
  .js .doze.revela span { transform: scale(0); transition: transform .5s var(--curva); }
  .js .doze.revela.visto span { transform: scale(1); }
  .js .doze.revela.visto span:nth-child(n) { transition-delay: calc(var(--i, 0) * 60ms); }
  .js .juntos.revela { transform: translate(-50%, -40%); }
  .js .juntos.revela.visto { transform: translate(-50%, -50%); }
  .js .hero-quadro img { animation: aproxima 2.6s var(--curva) both; }
  .js .hero-texto > * { animation: sobe 1s var(--curva) both; }
  .js .hero-texto > :nth-child(2) { animation-delay: .1s; }
  .js .hero-texto > :nth-child(3) { animation-delay: .25s; }
  .js .hero-texto > :nth-child(4) { animation-delay: .35s; }
  .js .hero-texto > :nth-child(5) { animation-delay: .45s; }
  .js .pin-hero { animation: crava 1s var(--curva) .7s both; }
}
@keyframes aproxima { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes sobe { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes crava { from { opacity: 0; scale: 1.5; rotate: -14deg; } to { opacity: 1; scale: 1; rotate: 0deg; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Bordas de papel rasgado (geradas) */
:root {
  --rasgo-a: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 60' preserveAspectRatio='none'%3E%3Cpath d='M0 60 L0 28.0 L16 23.8 L26 26.6 L45 33.4 L61 42.3 L78 23.0 L89 21.6 L106 43.4 L119 40.6 L139 26.6 L160 32.5 L174 31.6 L190 43.9 L209 45.9 L229 46.5 L247 26.5 L257 22.5 L265 40.4 L275 31.0 L282 38.5 L304 34.2 L311 35.7 L323 23.4 L334 46.3 L348 34.5 L363 37.3 L376 38.3 L397 26.3 L413 22.6 L420 36.8 L431 34.6 L448 43.1 L464 30.2 L475 35.9 L494 23.0 L505 26.8 L514 25.2 L525 41.2 L534 30.1 L547 29.0 L556 42.0 L567 41.4 L578 26.6 L588 30.7 L601 28.4 L621 44.5 L642 27.0 L658 34.4 L668 23.9 L687 21.8 L708 44.7 L714 38.6 L731 34.5 L746 30.9 L760 39.9 L775 39.9 L795 31.7 L815 25.1 L830 32.3 L836 25.9 L843 37.5 L854 30.2 L869 31.4 L877 35.4 L884 27.3 L903 30.9 L916 31.1 L929 38.3 L943 37.4 L956 44.4 L976 39.7 L984 41.6 L1003 38.2 L1011 35.5 L1029 13.1 L1038 21.5 L1057 38.5 L1073 39.1 L1087 37.9 L1108 25.0 L1127 29.1 L1143 39.4 L1155 21.8 L1177 31.8 L1194 40.2 L1208 37.8 L1215 40.7 L1228 38.1 L1237 35.7 L1254 43.1 L1267 42.3 L1277 23.4 L1285 31.2 L1294 44.9 L1307 42.7 L1321 39.8 L1339 44.1 L1348 39.3 L1368 29.1 L1377 39.4 L1387 41.4 L1405 26.6 L1415 30.7 L1421 30.4 L1431 36.3 L1446 26.4 L1453 31.0 L1465 40.9 L1482 38.0 L1500 45.2 L1508 33.9 L1525 35.3 L1541 25.4 L1549 41.9 L1566 36.2 L1580 19.3 L1598 35.1 L1600 34.0 L1600 60 Z' fill='black'/%3E%3C/svg%3E");
  --rasgo-b: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 60' preserveAspectRatio='none'%3E%3Cpath d='M0 60 L0 32.6 L13 34.2 L28 30.0 L35 26.0 L57 38.7 L63 34.6 L73 20.7 L92 34.6 L109 32.9 L131 44.8 L140 29.2 L153 43.4 L172 21.7 L186 34.3 L204 28.7 L226 40.0 L233 19.4 L248 32.7 L256 37.3 L266 25.8 L277 43.5 L296 37.3 L306 26.1 L316 24.2 L326 36.7 L348 33.5 L357 22.0 L367 24.0 L376 49.4 L388 25.2 L398 39.2 L414 29.0 L421 25.9 L437 26.3 L443 21.1 L455 35.7 L475 48.9 L491 9.3 L508 44.1 L521 40.0 L529 35.5 L546 40.7 L558 40.4 L571 43.9 L587 30.5 L594 39.0 L612 30.4 L625 41.7 L631 36.9 L648 33.9 L659 21.3 L668 22.6 L681 44.3 L690 31.7 L710 30.5 L718 33.9 L736 45.5 L749 28.5 L765 33.8 L787 16.7 L793 40.2 L812 22.7 L818 42.2 L825 37.6 L842 44.9 L851 22.8 L868 25.8 L885 34.6 L898 27.1 L915 23.6 L936 30.3 L954 46.6 L964 41.4 L981 24.1 L1003 35.2 L1023 33.3 L1038 26.3 L1045 41.2 L1064 25.5 L1081 44.7 L1095 44.3 L1110 27.3 L1124 44.2 L1136 45.9 L1156 47.7 L1165 35.0 L1171 47.6 L1190 35.8 L1197 35.1 L1218 27.4 L1231 44.9 L1242 24.6 L1250 40.1 L1260 38.9 L1276 21.3 L1290 27.9 L1303 30.6 L1311 24.9 L1326 44.7 L1336 42.0 L1347 27.5 L1369 43.1 L1386 28.5 L1399 40.8 L1416 22.2 L1437 44.9 L1455 34.1 L1462 25.3 L1476 35.6 L1485 46.2 L1493 18.5 L1511 29.1 L1524 36.2 L1544 25.0 L1556 26.7 L1562 47.0 L1582 37.5 L1596 50.0 L1600 34.0 L1600 60 Z' fill='black'/%3E%3C/svg%3E");
  --rasgo-c: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 60' preserveAspectRatio='none'%3E%3Cpath d='M0 60 L0 33.1 L9 20.3 L21 35.1 L35 20.1 L42 37.4 L59 37.2 L75 25.0 L91 26.8 L102 35.8 L117 23.0 L139 12.0 L150 31.4 L163 35.6 L182 24.3 L196 22.8 L203 27.6 L211 25.2 L222 29.3 L243 23.8 L263 22.3 L274 31.8 L286 29.4 L306 34.9 L315 35.9 L335 26.3 L355 26.8 L374 22.0 L380 29.8 L400 28.9 L419 22.6 L436 36.3 L451 22.2 L459 28.5 L468 19.4 L489 31.6 L504 23.5 L519 31.0 L535 23.9 L547 30.5 L568 29.6 L584 33.5 L592 37.9 L605 32.5 L625 39.2 L646 27.9 L653 26.7 L672 23.1 L686 32.7 L698 26.7 L710 26.0 L718 18.6 L737 36.6 L747 35.7 L763 25.3 L780 36.0 L798 39.0 L814 21.6 L821 30.6 L833 23.9 L841 23.5 L850 31.1 L871 27.4 L880 29.2 L889 27.3 L902 23.2 L914 33.3 L926 23.9 L943 36.1 L953 38.7 L971 26.5 L991 29.9 L1006 36.8 L1016 25.6 L1035 29.7 L1052 30.8 L1063 15.8 L1080 29.0 L1094 20.6 L1116 35.3 L1125 35.1 L1145 23.3 L1158 29.9 L1167 35.3 L1188 38.7 L1202 28.8 L1210 25.7 L1227 39.4 L1239 31.4 L1248 25.9 L1261 30.0 L1267 30.1 L1281 38.8 L1295 34.6 L1310 29.9 L1325 33.7 L1344 33.6 L1361 29.3 L1382 28.4 L1399 30.7 L1410 34.6 L1431 37.0 L1451 35.8 L1459 37.3 L1477 29.9 L1499 23.0 L1509 27.0 L1525 36.6 L1538 22.0 L1556 31.0 L1574 23.7 L1589 22.4 L1600 30.0 L1600 60 Z' fill='black'/%3E%3C/svg%3E");
}
