/* ana.alrix.com.br — rosa pastel, cantos redondos, ar de bilhete de amor. */

@font-face {
  font-family: 'Rubik';
  src: url('../rubik.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('../space-grotesk-700.woff2') format('woff2');
  font-weight: 700;
}

:root {
  --rosa: #FF8FAB;
  --rosa-forte: #FF6392;
  --rosa-nuvem: #FFB6C9;
  --creme: #FFF5F7;
  --lilas: #C9B6FF;
  --tinta: #6B3548;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--creme);
  color: var(--tinta);
  font-family: 'Rubik', system-ui, sans-serif;
  line-height: 1.55;
}

h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  color: var(--rosa-forte);
  margin-bottom: 1.2rem;
}
h3 { margin-bottom: .8rem; font-size: 1.05rem; }
small { display: block; opacity: .7; font-size: .85em; font-weight: normal; }
section { max-width: 720px; margin: 0 auto; padding: 3.5rem 1.4rem 0; }

/* hero */
#ceu {
  text-align: center;
  padding: 3.5rem 1.4rem 2.5rem;
  background: radial-gradient(120% 100% at 50% 0%,
              #FFE3EC 0%, var(--creme) 70%);
}
#ceu .marca { width: min(420px, 78vw); }
#ceu .chamada { font-size: 1.2rem; margin-top: .6rem; }
#ceu .cena {
  width: min(560px, 92vw);
  margin-top: 1.6rem;
  border-radius: 22px;
  box-shadow: 0 14px 50px rgba(255, 99, 146, .30);
}
#ceu .convite { margin-top: 1.4rem; font-size: 1.05rem; }
.botao {
  display: inline-block;
  margin-top: 1.2rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  color: #fff;
  background: linear-gradient(135deg, var(--rosa) 0%, var(--rosa-forte) 100%);
  border-radius: 999px;
  padding: .7em 1.8em;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(255, 99, 146, .45);
  transition: transform .15s;
}
.botao:hover { transform: scale(1.05); }

/* passos */
.passos { list-style: none; counter-reset: passo; }
.passos li {
  counter-increment: passo;
  position: relative;
  padding: 0 0 1.3rem 3rem;
}
.passos li::before {
  content: counter(passo);
  position: absolute; left: 0; top: .05rem;
  width: 2.1rem; height: 2.1rem;
  display: grid; place-items: center;
  background: var(--rosa-nuvem);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  border-radius: 50%;
}

/* o comandinho */
.comando {
  display: flex; gap: .6rem; align-items: stretch;
  margin: .7rem 0 .3rem;
  flex-wrap: wrap;
}
.comando code, code.mini {
  flex: 1 1 260px;
  background: #fff;
  border: 2px dashed var(--rosa-nuvem);
  border-radius: 14px;
  padding: .8em 1em;
  font-size: .85rem;
  overflow-x: auto;
  white-space: nowrap;
}
code.mini { display: block; margin-top: .6rem; }
#copiar {
  font-family: inherit;
  font-size: .95rem;
  color: #fff;
  background: var(--rosa-forte);
  border: none; border-radius: 14px;
  padding: 0 1.2em;
  cursor: pointer;
}
#copiar:active { transform: scale(.96); }
kbd {
  background: #fff; border-radius: 6px; padding: .05em .45em;
  border: 1px solid var(--rosa-nuvem);
  font-family: inherit;
}

/* cartões */
.cartao {
  background: #fff;
  border-radius: 22px;
  padding: 1.4rem 1.6rem;
  margin-bottom: 1.2rem;
  box-shadow: 0 8px 30px rgba(255, 99, 146, .14);
}
.mapa { list-style: none; }
.mapa li { padding: .35rem 0; border-bottom: 1px dashed #FFE3EC; }
.mapa li:last-child { border-bottom: none; }
.mapa b { color: var(--rosa-forte); }

/* a carta do jogo */
#jogo .carta {
  width: min(300px, 70vw);
  margin: 0 auto;
  background: #fff;
  border-radius: 22px;
  padding: 12px;
  box-shadow: 0 14px 50px rgba(255, 99, 146, .30);
  text-align: center;
}
#jogo .carta img { width: 100%; border-radius: 14px; }
#jogo figcaption {
  font-family: 'Space Grotesk', sans-serif;
  padding: .7rem 0 .3rem;
}

/* socorro */
#socorro details {
  background: #fff;
  border-radius: 16px;
  padding: .9rem 1.2rem;
  margin-bottom: .8rem;
  box-shadow: 0 6px 20px rgba(255, 99, 146, .10);
}
#socorro summary {
  cursor: pointer;
  font-weight: 500;
  color: var(--rosa-forte);
}
#socorro p { padding: .7rem .2rem .2rem; }

footer {
  text-align: center;
  padding: 3.5rem 1rem 2.5rem;
  opacity: .8;
}
footer .pata { width: 42px; }
footer a { color: var(--rosa-forte); }
