@import url('https://fonts.googleapis.com/css2?family=Libre+Franklin:wght@400;700;800&family=Roboto:wght@400;700&display=swap');

/* Mesma paleta/tipografia do Joga na Cumbuca (assets/css/style.css de lá) —
   qualquer ajuste de marca deve ser espelhado nos dois lugares. */
:root {
  color-scheme: light;
  --bg: #FFF7E1;
  --dark: #23302D;
  --accent: #00FFAA;
  --near-white: #F9FFFC;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }

body {
  background: var(--bg);
  color: var(--dark);
  font-family: 'Roboto', -apple-system, sans-serif;
  -webkit-tap-highlight-color: transparent;
}

/* Todo espaçamento usa clamp(mínimo-mobile, %-do-viewport, valor-no-limite-de-430px) —
   "vw" puro cresce com a tela inteira mesmo depois que .page para de crescer (max-width:
   430px), o que sobrava um respiro gigante em telas largas e encolhia o conteúdo visível.
   O clamp trava o valor assim que a tela passa de ~430px. */
.page {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100dvh;
  padding: clamp(20px, 7vw, 30px) clamp(18px, 6vw, 26px) clamp(24px, 8vw, 34px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ============ Foto + logo por cima ============ */

.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: clamp(18px, 6vw, 26px);
  overflow: hidden;
  margin-bottom: clamp(16px, 5vw, 22px);
  background: var(--dark);
}
.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  transition: transform .5s ease;
}
@media (hover: hover) {
  .hero:hover .hero__photo { transform: scale(1.06); }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .28);
}
.hero__logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 74%;
}

.social-row {
  display: flex;
  gap: clamp(18px, 6vw, 26px);
  margin-bottom: clamp(18px, 6vw, 26px);
}
.social-row a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(38px, 10vw, 44px);
  aspect-ratio: 1;
  border-radius: 50%;
  color: var(--dark);
  background: transparent;
  transition: color .18s ease, background-color .18s ease, transform .18s ease;
}
.social-row svg { width: clamp(22px, 6.2vw, 27px); display: block; }
.social-row a:active { transform: scale(.88); }
@media (hover: hover) {
  .social-row a:hover { background: var(--accent); transform: translateY(-3px); }
}

.links {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 3.2vw, 14px);
}

.link-btn {
  display: flex;
  align-items: center;
  gap: clamp(10px, 3.2vw, 14px);
  width: 100%;
  min-height: clamp(50px, 15vw, 65px);
  padding: clamp(9px, 2.6vw, 11px) clamp(14px, 4vw, 17px);
  border-radius: clamp(16px, 4.5vw, 19px);
  background: var(--dark);
  color: var(--near-white);
  text-decoration: none;
  box-shadow: 0 0 0 rgba(35, 48, 45, 0);
  transition: transform .16s ease, filter .16s ease, box-shadow .16s ease;
}
.link-btn:active { transform: scale(.97); filter: brightness(1.08); }
.link-btn--accent { background: var(--accent); color: var(--dark); }
@media (hover: hover) {
  .link-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(35, 48, 45, .16);
  }
  .link-btn:hover .link-btn__avatar { transform: scale(1.08) rotate(-6deg); }
}

.link-btn__avatar {
  flex: none;
  width: clamp(38px, 11vw, 47px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--near-white);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform .18s ease;
}
.link-btn__avatar--dark { background: var(--dark); }
.link-btn__avatar--accent { background: var(--accent); }
.link-btn__avatar img { width: 58%; display: block; }

.link-btn__text {
  font-family: 'Libre Franklin', sans-serif;
  font-weight: 700;
  font-size: clamp(15px, 4vw, 17px);
  letter-spacing: .01em;
  line-height: 1.25;
}

.link-btn__sub {
  display: block;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: clamp(11px, 3vw, 13px);
  letter-spacing: normal;
  opacity: .7;
  margin-top: .4em;
}

/* ============ Cumbuquers (bolhas dos integrantes) ============ */

.section-title {
  width: 100%;
  margin: clamp(28px, 9vw, 38px) 0 clamp(14px, 4vw, 18px);
  font-family: 'Libre Franklin', sans-serif;
  font-weight: 800;
  font-size: clamp(18px, 5.2vw, 22px);
  text-align: center;
}

.cumbuquers {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / .72;
  margin-bottom: clamp(8px, 2vw, 12px);
}

.bubble {
  position: absolute;
  top: var(--top);
  left: var(--left);
  width: var(--size);
  aspect-ratio: 1;
  opacity: 0;
  animation: bubble-pop .55s cubic-bezier(.34, 1.56, .64, 1) forwards;
  animation-delay: var(--pop-delay);
}

.bubble__float {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--accent);
  box-shadow: 0 6px 16px rgba(35, 48, 45, .18);
  animation: bubble-float var(--float-duration) ease-in-out infinite;
  animation-delay: var(--float-delay);
  transition: transform .18s ease, box-shadow .18s ease;
}

.bubble img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (hover: hover) {
  .bubble:hover .bubble__float {
    transform: scale(1.08);
    box-shadow: 0 10px 22px rgba(35, 48, 45, .26);
  }
}
.bubble:active .bubble__float { transform: scale(.94); }

@keyframes bubble-pop {
  from { opacity: 0; transform: scale(.35); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes bubble-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-8%) rotate(3deg); }
}
@media (prefers-reduced-motion: reduce) {
  .bubble { opacity: 1; animation: none; }
  .bubble__float { animation: none; }
}

.footer {
  margin-top: clamp(24px, 8vw, 34px);
  padding-top: clamp(18px, 8vw, 34px);
  font-family: 'Roboto', sans-serif;
  font-size: clamp(11px, 3.2vw, 13px);
  opacity: .5;
  text-align: center;
}
.footer p { margin: 0; }
