/* Os seus meses do amor em 2027 (prefixo .ma-) */
.ma-app { position: relative; --rosa: #f6a5c0; }
.ma-hero { position: relative; overflow: hidden; text-align: center; padding: 26px 18px 22px; margin-bottom: 16px; border-radius: var(--radius); border: 1px solid var(--line);
  background: radial-gradient(120% 90% at 50% 0%, rgba(246,165,192,.22), transparent 60%), radial-gradient(90% 70% at 50% 110%, rgba(155,132,242,.24), transparent 70%), linear-gradient(180deg, #221743, #120e2c); }
.ma-hero > *:not(.ma-coracoes) { position: relative; z-index: 1; }
.ma-titulo { font-family: var(--display); font-size: clamp(30px, 8vw, 44px); line-height: 1.08; margin: 8px 0 10px; color: #fff; text-wrap: balance; }
.ma-lede { margin: 0 auto; max-width: 560px; }
.ma-coracoes { position: absolute; inset: 0; pointer-events: none; }
.ma-coracoes span { position: absolute; bottom: -20px; color: var(--rosa); opacity: 0; text-shadow: 0 0 10px rgba(246,165,192,.6); animation: ma-sobe 8s linear infinite; }
.ma-coracoes span:nth-child(3n) { color: var(--gold-soft); text-shadow: 0 0 8px rgba(216,181,106,.6); }
@keyframes ma-sobe { 0% { transform: translateY(0) scale(.6); opacity: 0; } 15% { opacity: .85; } 50% { transform: translateY(-170px) translateX(12px) scale(1); } 85% { opacity: .5; } 100% { transform: translateY(-340px) translateX(-8px) scale(1.15); opacity: 0; } }

.ma-form { display: grid; gap: 12px; }
.ma-linha { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; }
.ma-campo { display: grid; gap: 5px; font-size: 14px; color: var(--muted); }
.ma-campo i { font-style: normal; opacity: .75; }
.ma-campo input { width: 100%; box-sizing: border-box; background: var(--surface-2); color: var(--fg); border: 1px solid var(--line); border-radius: 12px; padding: 11px 12px; font: 500 16px var(--body); color-scheme: dark; }
.ma-campo input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(216,181,106,.18); }
.ma-dica, .ma-priv { margin: 0; }
.ma-priv { text-align: center; }
.ma-msg { color: var(--hot); margin: 0; min-height: 1em; }
.ma-btn-full { width: 100%; justify-content: center; font-size: 16px; padding: 14px; }

.ma-carregando { text-align: center; padding: 28px 0; color: var(--gold-soft); }
.ma-pulso { font-size: 46px; color: var(--rosa); text-shadow: 0 0 22px rgba(246,165,192,.7); animation: ma-bate 1s ease-in-out infinite; }
@keyframes ma-bate { 0%, 100% { transform: scale(1); } 30% { transform: scale(1.22); } 60% { transform: scale(.96); } }

.ma-resultado { margin-top: 18px; }
.ma-bloco { margin: 0 0 26px; }
.ma-h2 { font-family: var(--display); font-size: clamp(26px, 6.5vw, 32px); line-height: 1.12; margin: 4px 0 10px; }
.ma-aviso { padding: 10px 12px; border-radius: 12px; background: rgba(155,132,242,.12); border: 1px solid rgba(155,132,242,.3); color: var(--fg); }
.ma-abas { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); margin-top: 12px; }
.ma-abas button { border: 0; border-radius: 999px; padding: 10px 8px; background: transparent; color: var(--muted); font: 600 14px var(--body); cursor: pointer; transition: background .2s, color .2s; }
.ma-abas button[aria-selected="true"] { background: linear-gradient(180deg, var(--gold-soft), var(--gold)); color: var(--bg); }

.ma-cor { letter-spacing: 3px; font-size: 16px; white-space: nowrap; }
.ma-cor i { font-style: normal; color: rgba(255,255,255,.14); display: inline-block; }
.ma-cor i.on { color: var(--rosa); text-shadow: 0 0 8px rgba(246,165,192,.55); }

.ma-tops { display: grid; gap: 12px; }
@media (min-width: 680px) { .ma-tops { grid-template-columns: repeat(3, 1fr); } }
.ma-top { position: relative; padding: 16px; border-radius: 18px; border: 1px solid rgba(246,165,192,.35); background: radial-gradient(120% 100% at 0% 0%, rgba(246,165,192,.14), transparent 60%), linear-gradient(180deg, #2a1f55, var(--surface)); }
.ma-top:first-child { border-color: rgba(216,181,106,.7); box-shadow: 0 0 26px rgba(216,181,106,.15); }
.ma-medalha { position: absolute; top: 12px; right: 14px; font: 700 13px var(--body); color: var(--gold-soft); }
.ma-top h3 { font-family: var(--display); font-size: 28px; margin: 0 0 2px; }
.ma-txt { margin: 8px 0 0; color: var(--fg); font-size: 14.5px; line-height: 1.45; }
.ma-ev { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; font-size: 13.5px; color: var(--muted); }
.ma-ev li { padding-left: 14px; position: relative; }
.ma-ev li::before { content: "♥"; position: absolute; left: 0; color: var(--rosa); font-size: 10px; top: 3px; }
.ma-ev li.neg::before { content: "◆"; color: #f2b8a2; }
.ma-ev b { color: var(--gold-soft); font-weight: 600; }

.ma-linha-tempo { display: grid; gap: 6px; }
.ma-mes { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--fg); cursor: pointer; text-align: left; font: inherit; }
.ma-mes:hover { border-color: rgba(246,165,192,.5); }
.ma-mes-top { border-color: rgba(216,181,106,.6); background: linear-gradient(90deg, rgba(216,181,106,.10), var(--surface)); }
.ma-mes-rever { border-style: dashed; border-color: rgba(242,139,130,.4); }
.ma-mes-nome { font: 700 13px var(--body); text-transform: uppercase; letter-spacing: .6px; color: var(--gold-soft); }
.ma-termo { position: relative; height: 10px; border-radius: 99px; background: rgba(255,255,255,.07); overflow: hidden; }
.ma-termo-fill { position: absolute; inset: 0 auto 0 0; width: calc(var(--n) * 20%); border-radius: 99px; background: linear-gradient(90deg, #9b84f2, #f6a5c0 60%, #d8b56a); box-shadow: 0 0 10px rgba(246,165,192,.5); }
.ma-mes .ma-cor { font-size: 13px; letter-spacing: 1px; }
.ma-mes-det { padding: 4px 14px 12px; margin-top: -2px; border-left: 2px solid rgba(246,165,192,.4); margin-left: 12px; }

.ma-rever { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 8px; }
.ma-rever li { display: grid; gap: 3px; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(242,139,130,.28); background: rgba(242,139,130,.06); }
.ma-rever span { color: var(--muted); font-size: 14px; }
.ma-honesto { margin: 0 0 8px; padding: 14px 16px; border-left: 3px solid var(--rosa); border-radius: 0 12px 12px 0; background: rgba(246,165,192,.07); font-family: var(--display); font-size: 19px; font-style: italic; line-height: 1.35; color: #f8d3e0; }

.ma-trava, .ma-mail { margin-top: 22px; }
.ma-mail h3 { font-family: var(--display); font-size: 24px; margin: 6px 0 4px; }
.ma-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.ma-link { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 8px; text-align: center; border: 1px solid var(--line); border-radius: 16px; color: var(--fg); text-decoration: none; font-weight: 600; font-size: 13.5px; line-height: 1.25;
  background: linear-gradient(180deg, var(--surface-2), var(--surface)); transition: transform .15s, border-color .15s; }
.ma-link span { font-size: 22px; }
.ma-link:hover { border-color: var(--gold); transform: translateY(-2px); }

.ma-voa { position: fixed; z-index: 90; pointer-events: none; color: #f6a5c0; text-shadow: 0 0 10px rgba(246,165,192,.7); animation: ma-voa 2.2s ease-out both; }
@keyframes ma-voa { 0% { transform: translate(0,0) scale(.3); opacity: 0; } 15% { opacity: 1; } 100% { transform: translate(var(--x), -180px) scale(1.2); opacity: 0; } }

@media (prefers-reduced-motion: no-preference) {
  .ma-resultado .ma-bloco, .ma-honesto { animation: ma-surge .6s cubic-bezier(.2,.8,.2,1) both; }
  .ma-top { animation: ma-surge .6s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--d) * 120ms + .15s); }
  .ma-mes { animation: ma-surge .5s ease both; animation-delay: calc(var(--d) * 60ms + .3s); }
  .ma-termo-fill { transform: scaleX(0); transform-origin: left; transition: transform 1.1s cubic-bezier(.2,.8,.2,1); }
  .ma-cheio .ma-mes:nth-child(n) .ma-termo-fill { transition-delay: calc(var(--d) * 90ms + .5s); }
  .ma-cheio .ma-termo-fill { transform: scaleX(1); }
  .ma-cor i.on { transform: scale(0); transition: transform .35s cubic-bezier(.3,1.6,.5,1); }
  .ma-cheio .ma-cor i.on { transform: scale(1); transition-delay: calc(var(--k) * 110ms + .6s); }
  .ma-cheio .ma-mes .ma-cor i.on { transition-delay: calc(var(--d) * 90ms + var(--k) * 80ms + .7s); }
  .ma-mes-det:not([hidden]) { animation: ma-surge .35s ease both; }
  .ma-troca { animation: ma-troca .4s ease both; }
  @keyframes ma-troca { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
  @keyframes ma-surge { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  .ma-coracoes, .ma-voa { display: none; }
  .ma-pulso { animation: none; }
}

/* Travas: 2º e 3º meses, linha do tempo detalhada e aba de casal (no relatório) */
.ma-cota .cota-aviso { margin: 10px 0 0; font-size: 13.5px; color: var(--muted); text-align: center; }
.ma-mes-fixo { cursor: default; }
.ma-mes-fixo:hover { border-color: var(--line); }
.ma-mes-fixo.ma-mes-top:hover { border-color: rgba(216,181,106,.6); }
.ma-lock { position: relative; overflow: hidden; border-radius: 14px; }
.ma-borra { filter: blur(5px); user-select: none; pointer-events: none; opacity: .85; }
.ma-lock::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,12,34,0) 10%, rgba(15,12,34,.72)); pointer-events: none; }
.ma-lock .ma-borra p { margin: 6px 0; }
.ma-lock-selo { position: absolute; z-index: 1; left: 50%; bottom: 10px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(15,12,34,.82); border: 1px solid rgba(216,181,106,.6); color: var(--gold-soft); font: 600 13px var(--body); text-decoration: none; white-space: nowrap; }
.ma-lock-selo .ma-cadeado { width: 30px; height: 30px; font-size: 14px; }
.ma-cadeado { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; font-size: 20px; background: radial-gradient(circle at 35% 30%, #fbe9b6, #d8b56a 55%, #8f6c2c); box-shadow: 0 0 0 4px rgba(216,181,106,.14), 0 0 24px rgba(216,181,106,.45); animation: ma-cad 3.2s ease-in-out infinite; }
@keyframes ma-cad { 50% { box-shadow: 0 0 0 6px rgba(216,181,106,.08), 0 0 36px rgba(216,181,106,.6); } }
.ma-top-lock { min-height: 190px; }
.ma-lock-grande { min-height: 380px; }
.ma-lock-grande::after { background: linear-gradient(180deg, rgba(15,12,34,.1), rgba(15,12,34,.8) 45%); }
.ma-lock-grande .ma-trava { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; margin: 0; text-align: center; background: linear-gradient(180deg, rgba(31,25,66,.92), rgba(15,12,34,.96)); }
.ma-lock-grande .ma-trava .ma-cadeado { margin: 0 auto 6px; }
.ma-trava-casal { margin-top: 12px; }
.ma-trava-casal p { margin: 0 0 10px; color: var(--fg); }
.ma-pisca { animation: ma-surge .4s ease both; }
@media (prefers-reduced-motion: reduce) { .ma-cadeado, .ma-pisca { animation: none; } }
