:root {
  color-scheme: light;
  --paper: #fff9ef;
  --plum: #4b2354;
  --gold: #f5b82e;
  --ink: #27242a;
  --muted: #655663;
  --line: #deced4;
  font: 400 16px/1.45 Inter, sans-serif;
  background: var(--paper);
  color: var(--ink);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.masthead, .hero { width: min(1120px, 90%); margin-inline: auto; }
.masthead { display: flex; align-items: center; gap: 24px; padding-top: max(20px, env(safe-area-inset-top)); }
.masthead::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.masthead img { width: clamp(140px, 12vw, 172px); height: auto; }
.hero {
  flex: 1; display: grid; grid-template-columns: 1.05fr 1fr; grid-template-rows: auto auto;
  grid-template-areas: "copy portrait" "join portrait"; align-content: center;
  column-gap: clamp(18px, 4vw, 70px); padding-block: clamp(18px, 4vh, 54px);
}
.copy { grid-area: copy; align-self: end; position: relative; z-index: 1; }
h1 { margin: 0; font: 800 clamp(48px, min(5.85vw, 9.3vh), 88px)/.99 Montserrat, sans-serif; letter-spacing: -.069em; color: var(--plum); }
h1 em { position: relative; isolation: isolate; font-style: normal; white-space: nowrap; }
h1 em::after { content: ""; position: absolute; z-index: -1; bottom: .04em; left: -.025em; right: -.025em; height: .14em; background: var(--gold); border-radius: 60% 30% 50% 8%; transform: rotate(-1.8deg); }
.copy p { margin: 21px 0 0; max-width: 39ch; font-size: clamp(16px, 1.4vw, 20px); }
.portrait { grid-area: portrait; margin: 0; align-self: center; min-width: 0; display: grid; place-items: center; }
.art { margin: 0; position: relative; isolation: isolate; width: min(100%, 49vh, 490px); aspect-ratio: 1 / 1.11; }
.tag { position: absolute; inset: 10% 5% 4% 8%; transform: rotate(9deg); background: var(--gold);
  clip-path: polygon(0 14%, 16% 0, 82% 0, 100% 19%, 100% 100%, 0 100%); border-radius: 12% 12% 7% 7%; }
.tag::after { content: ""; position: absolute; height: 5%; aspect-ratio: 1; top: 9%; right: 12%; border-radius: 50%; background: var(--paper); }
.dots { position: absolute; inset: 28% 5% 6% 11%; clip-path: ellipse(50% 45%); background: radial-gradient(#a5690b 1px,transparent 1.4px) 0 0 / 7px 7px; opacity: .38; }
.art img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; clip-path: inset(0 0 0 0 round 0 0 12% 12%); }
.art img.group-scene { inset: 50% auto auto 50%; transform: translate(-50%, -50%); width: 94%; height: auto; clip-path: none; border-radius: 44% 44% 10% 10% / 22% 22% 10% 10%; }
.store-names { font-size: .7em; letter-spacing: -.045em; }
.spark { position: absolute; color: var(--plum); line-height: 1; }
.large { left: 0; top: 22%; font-size: clamp(30px,4vw,62px); transform: rotate(8deg); }
.small { right: 0; top: 42%; color: #74467a; font-size: clamp(18px,2vw,34px); }
figcaption { position: absolute; right: 0; bottom: 7%; background: var(--paper); color: var(--plum); border: 1.5px solid var(--plum); border-radius: 6px;
  padding: .48em .95em; transform: rotate(-5deg); box-shadow: 3px 3px 0 var(--plum); font: 700 clamp(12px,1.2vw,17px)/1.2 Montserrat, sans-serif; }
.join { grid-area: join; align-self: start; margin-top: 25px; width: min(100%, 385px); }
.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 62px;
  padding: 12px 20px;
  border: 1px solid #25d366;
  border-radius: 999px;
  background: #12a145 linear-gradient(105deg, #18a548, #119e42 22%, #12a145 78%, #18a548);
  color: #fff;
  font: 800 clamp(19px,1.4vw,21px)/1.2 Montserrat, sans-serif;
  letter-spacing: -.035em;
  text-decoration: none;
  box-shadow: 0 3px 7px rgb(10 84 36 / 20%);
  animation: invite-pulse 2.2s ease-in-out infinite;
  transition: transform .18s ease;
}
.cta svg { width: 26px; height: 26px; flex: none; }
.cta::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  inset: 0;
  background: linear-gradient(108deg, transparent 36%, rgb(255 255 255 / 5%) 50%, transparent 64%);
  animation: invite-sheen 2.2s ease-in-out infinite;
}
@keyframes invite-pulse {
  0%, 72%, 100% { scale: 1; box-shadow: 0 3px 7px rgb(10 84 36 / 20%), 0 0 0 0 rgb(37 211 102 / 0%); }
  13% { scale: 1.035; box-shadow: 0 4px 12px rgb(10 84 36 / 26%), 0 0 0 4px rgb(37 211 102 / 50%); }
  26% { scale: 1; box-shadow: 0 3px 7px rgb(10 84 36 / 20%), 0 0 0 10px rgb(37 211 102 / 0%); }
  38% { scale: 1.025; box-shadow: 0 4px 10px rgb(10 84 36 / 24%), 0 0 0 3px rgb(37 211 102 / 45%); }
  62% { scale: 1; box-shadow: 0 3px 7px rgb(10 84 36 / 20%), 0 0 0 12px rgb(37 211 102 / 0%); }
}
@keyframes invite-sheen {
  0%, 12% { transform: translateX(-100%); }
  65%, 100% { transform: translateX(100%); }
}
@media (hover: hover) { .cta:hover { transform: translateY(-2px); } }
.cta:active { transform: scale(.985); }
:focus-visible { outline: 3px solid var(--plum); outline-offset: 4px; }
.join p { margin: 12px 0 0; color: var(--muted); font-size: 13px; text-align: center; }
footer { margin-top: auto; }
.stores { min-height: 60px; display: flex; align-items: center; gap: 22px; padding: 6px max(5%, env(safe-area-inset-right)) 6px max(5%, env(safe-area-inset-left)); border-block: 1px solid var(--line); background: #f4ebdf; color: var(--plum); }
.stores-label { font: 700 11px/1.2 Montserrat, sans-serif; text-transform: uppercase; letter-spacing: .13em; flex: none; }
.stores-label::after { content: ""; display: inline-block; width: 22px; height: 1px; margin: 0 0 3px 14px; background: var(--plum); }
.ticker { overflow: hidden; min-width: 0; flex: 1; mask-image: linear-gradient(90deg, transparent, black 3%, black 97%, transparent); }
.belt { display: flex; width: max-content; }
.brands { margin: 0; padding: 0; list-style: none; display: flex; align-items: center; flex: none; }
.brands li { display: flex; align-items: center; white-space: nowrap; font: 700 20px/1.4 Montserrat, sans-serif; letter-spacing: -.05em; }
.brands li::after { content: ""; display: inline-block; width: 5px; height: 5px; transform: rotate(45deg); background: #9b7a68; margin-inline: 24px; }
.moving .belt { animation: roll 32s linear infinite; }
@keyframes roll { to { transform: translateX(var(--offset)); } }
.paused .belt { animation-play-state: paused; }
.motion { border: 1px solid #9c8798; border-radius: 50%; width: 32px; height: 32px; flex: none; background: transparent; color: var(--plum); cursor: pointer; display: grid; place-content: center; }
.motion[hidden] { display: none; }
.motion span { width: 9px; height: 11px; border-inline: 3px solid currentColor; }
.paused .motion span { width: 0; height: 0; margin-left: 2px; border: solid transparent; border-width: 6px 0 6px 9px; border-left-color: currentColor; }
.legal { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 2px 14px; padding: 8px 10px max(8px,env(safe-area-inset-bottom)); color: var(--muted); font-size: 11px; }
.legal nav { display: inline-flex; align-items: center; gap: 8px; }
.legal a { color: inherit; text-underline-offset: .18em; }
@media (max-width: 900px) and (orientation: portrait), (max-width: 499px) and (min-height: 420px) {
  .masthead { gap: 12px; padding-top: max(clamp(7px,1.8svh,18px),env(safe-area-inset-top)); justify-content: center; }
  .masthead img { width: clamp(116px,16svh,155px); }
  .masthead::before { content: ""; height: 1px; background: var(--line); flex: 1; }
  .hero { grid-template-columns: 1fr; grid-template-rows: auto minmax(60px,1fr) auto; grid-template-areas: "copy" "portrait" "join"; text-align: center; justify-items: center;
    width: min(94%, 530px); padding-block: clamp(8px,2svh,20px) clamp(10px,2.2svh,20px); gap: 0; }
  h1 { font-size: clamp(32px,min(11.2vw,6.5svh),56px); line-height: .99; }
  .copy p { font-size: clamp(13px,1.9svh,16px); line-height: 1.35; margin: 10px auto 0; max-width: 34ch; padding-inline: 4px; }
  .portrait { align-self: stretch; width: 100%; position: relative; min-height: 60px; }
  .art { position: absolute; inset: 5px 0 0; margin: auto; height: min(calc(100% - 6px),107vw,515px); width: auto; max-width: 100%; }
  .large { font-size: clamp(22px,5svh,42px); }
  figcaption { bottom: 9%; }
  .join { margin: 0; width: min(100%,385px); }
  .cta { min-height: clamp(48px,7.5svh,62px); padding: 9px 16px; }
  .join p { font-size: 12px; margin-top: 9px; }
  .stores { min-height: 45px; gap: 9px; padding-inline: 3%; }
  .stores-label { max-width: 70px; font-size: 9px; }
  .stores-label::after { display: none; }
  .brands li { font-size: 16px; }
  .brands li::after { margin-inline: 17px; }
  .motion { width: 28px; height: 28px; }
  .legal { font-size: 10px; padding-block: 4px max(5px,env(safe-area-inset-bottom)); }
}
@media (max-height: 540px) and (orientation: landscape) {
  .masthead { padding-top: max(6px,env(safe-area-inset-top)); }
  .masthead img { width: 108px; }
  .hero { padding-block: 6px 10px; }
  h1 { font-size: clamp(29px,8.4vh,43px); }
  .copy p { font-size: 13px; margin-top: 8px; }
  .join { margin-top: 10px; width: min(100%,305px); }
  .cta { min-height: 45px; padding-block: 6px; }
  .join p { font-size: 11px; margin-top: 6px; }
  .art { width: min(100%,54vh); }
  .stores { min-height: 38px; padding-block: 3px; }
  .legal { padding-block: 3px max(3px,env(safe-area-inset-bottom)); }
}
@media (max-height: 640px) and (orientation: portrait) {
  .art figcaption { display: none; }
  .copy p { margin-top: 7px; }
}
@media (max-width: 600px) and (max-height: 420px) and (orientation: landscape) {
  .masthead { padding-top: 4px; }
  .masthead img { width: 85px; }
  .hero { width: 94%; column-gap: 8px; grid-template-columns: 1.28fr .72fr; }
  .cta { gap: 6px; padding-inline: 9px; }
  .cta svg { width: 20px; height: 20px; }
  .stores { padding-inline: 3%; gap: 7px; }
  .stores-label { font-size: 9px; }
  .stores-label::after { display: none; }
  .legal { font-size: 9px; }
  figcaption { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before { animation: none !important; transition: none !important; }
  .motion { display: none; }
  .ticker { mask-image: none; }
  .belt { width: auto; }
  .brands { flex: 1; flex-wrap: wrap; gap: 2px 12px; justify-content: center; }
  .brands[aria-hidden] { display: none; }
  .brands li { font-size: clamp(11px,1.2vw,16px); }
  .brands li::after { display: none; }
}

/* 16/11: a pagina do grupo tinha o logo parado e nenhuma saida. Agora: logo clicavel (home) e o botao
   "Ver mais grupos" (home, na lista de grupos). Ordem na faixa: logo | traco | botao. */
.masthead .marca { display: block; flex: none; line-height: 0; }
.masthead .marca img { display: block; }
.masthead::after { order: 1; }
.mais-grupos {
  order: 2; flex: none; display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 8px 18px; border: 1.5px solid var(--plum); border-radius: 999px;
  color: var(--plum); font: 700 15px/1.2 Montserrat, sans-serif; letter-spacing: -.02em;
  text-decoration: none; white-space: nowrap; transition: background-color .18s ease;
}
.mais-grupos span { font-size: 1.1em; line-height: 1; }
@media (hover: hover) { .mais-grupos:hover { background: #f4e9da; } }
.mais-grupos:active { background: #efe0cd; }
@media (max-width: 900px) and (orientation: portrait), (max-width: 499px) and (min-height: 420px) {
  .masthead { justify-content: flex-start; }
  .masthead::before { display: none; }
  .mais-grupos { min-height: 40px; padding: 6px 14px; font-size: 13px; gap: 6px; }
}
@media (max-width: 360px) { .mais-grupos { padding: 6px 11px; font-size: 12px; gap: 4px; } .masthead { gap: 8px; } }
@media (max-height: 540px) and (orientation: landscape) { .mais-grupos { min-height: 36px; padding: 4px 14px; font-size: 13px; } }
@media (max-width: 600px) and (max-height: 420px) and (orientation: landscape) { .mais-grupos { min-height: 32px; padding: 3px 11px; font-size: 12px; } }
