/* Lumarj · página de proposta (link da bio do Instagram) */
:root {
  --vinho: #6B0D1F; --bordo: #8A1538; --carmim: #C41E3A; --carmim-escuro: #A5182F;
  --papel: #FBF6F7; --nevoa: #F4E8EB; --linha: #E7D6DA; --tinta: #2B1218; --tinta-2: #6E5359;
  --t: "Saira", "Segoe UI", sans-serif; --x: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; background: var(--papel); color: var(--tinta); font: 400 16px/1.55 var(--x); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid var(--carmim); outline-offset: 3px; border-radius: 6px; }

.pagina { position: relative; width: 100%; max-width: 520px; margin: 0 auto; padding: 0 18px 40px; overflow: hidden; }
@media (min-width: 600px) {
  body { background: linear-gradient(135deg, #F4E8EB, #FBF6F7 40%, #F4E8EB); padding: 32px 0; }
  .pagina { background: #fff; border-radius: 0 72px 0 0; box-shadow: 0 40px 80px -40px rgba(107,13,31,.35); padding: 0 32px 40px; }
}

/* topo */
.topo { position: relative; padding: 58px 0 26px; text-align: center; }
.curvas { position: absolute; right: -18px; top: 0; width: 84px; height: 84px; stroke: none; }
@media (min-width: 600px) { .curvas { right: -32px; width: 110px; height: 110px; } }
.logo { display: block; width: 210px; height: auto; margin: 0 auto; position: relative; }
.topo h1 { position: relative; margin-top: 22px; font: 800 26px/1.08 var(--t); color: var(--vinho); letter-spacing: -.01em; }
.apoio { margin-top: 8px; font-size: 14.5px; color: var(--tinta-2); }

/* links */
.links { display: grid; gap: 11px; }
.link { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 12px 16px; border: 1.5px solid var(--linha); border-radius: 18px; background: #fff; text-decoration: none; transition: transform .2s, border-color .2s, box-shadow .2s; }
.link:hover { transform: translateY(-2px); border-color: var(--carmim); box-shadow: 0 14px 28px -18px rgba(107,13,31,.45); }
.link__icone { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 0 21px 0 0; background: var(--nevoa); color: var(--carmim); }
.link__icone svg { width: 22px; height: 22px; }
.link__icone svg.cheio { fill: currentColor; stroke: none; }
.link__texto b { display: block; font: 700 17px/1.2 var(--t); color: var(--vinho); }
.link__texto small { display: block; margin-top: 2px; font-size: 13.5px; color: var(--tinta-2); }
.link--destaque { background: linear-gradient(120deg, #6B0D1F, #8A1538 55%, #C41E3A); border-color: transparent; }
.link--destaque .link__icone { background: rgba(255,255,255,.16); color: #fff; }
.link--destaque b { color: #fff; } .link--destaque small { color: #FFD9DF; }
.link--whats .link__icone { background: #25D366; color: #fff; }

/* redes */
.redes { display: flex; justify-content: center; gap: 12px; list-style: none; margin: 22px 0 6px; }
.redes a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 1.5px solid var(--linha); color: var(--vinho); transition: background .2s, color .2s; }
.redes a:hover { background: var(--vinho); color: #fff; border-color: var(--vinho); }
.redes svg { width: 21px; height: 21px; }
.redes .ponto { fill: currentColor; }

/* proposta */
.proposta { margin-top: 30px; padding: 26px 20px 24px; background: #fff; border: 1.5px solid var(--linha); border-radius: 0 56px 0 0; scroll-margin-top: 16px; }
@media (min-width: 600px) { .proposta { border: 0; padding: 26px 0 0; border-top: 1.5px solid var(--linha); border-radius: 0; } }
.sobre { display: flex; align-items: center; gap: 10px; font: 600 12.5px var(--t); letter-spacing: .18em; text-transform: uppercase; color: var(--carmim); }
.sobre::before { content: ""; width: 22px; height: 3px; background: currentColor; }
.proposta h2 { margin-top: 10px; font: 800 26px/1.08 var(--t); color: var(--vinho); }
.proposta .texto { margin-top: 8px; font-size: 15px; color: var(--tinta-2); }

form { display: grid; gap: 14px; margin-top: 20px; }
fieldset { border: 0; min-width: 0; }
legend { font: 600 15px var(--t); color: var(--vinho); margin-bottom: 4px; }
.dupla { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dupla legend { grid-column: 1 / -1; }
.campo { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.campo label { font: 600 14.5px var(--t); color: var(--vinho); }
.campo label small { font: 400 12.5px var(--x); color: var(--tinta-2); }
.campo input, .campo select, .campo textarea {
  width: 100%; min-height: 48px; padding: 11px 18px; border: 1.5px solid #B98E98; border-radius: 26px;
  background: #fff; font: 400 16px var(--x); color: var(--tinta); appearance: none; -webkit-appearance: none;
  transition: border-color .2s, box-shadow .2s;
}
.campo textarea { border-radius: 20px; resize: vertical; min-height: 96px; }
.campo select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B0D1F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center / 20px; padding-right: 46px; }
.campo select:invalid { color: #8D7177; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--carmim); box-shadow: 0 0 0 4px rgba(196,30,58,.12); }
.campo [aria-invalid="true"] { border-color: #B3261E; background-color: #FFF6F6; }
.armadilha { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.aceite { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--tinta-2); cursor: pointer; }
.aceite input { flex: none; width: 22px; height: 22px; margin-top: 1px; accent-color: var(--carmim); }
.erro { padding: 12px 16px; border-radius: 14px; background: #FCE8EA; color: #8C1D18; font-size: 14.5px; }

.botao { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 54px; padding: 14px 24px; border: 0; border-radius: 999px; background: var(--carmim); color: #fff; font: 700 17px var(--t); text-decoration: none; cursor: pointer; transition: background .2s, transform .2s; }
.botao:hover { background: var(--carmim-escuro); transform: translateY(-1px); }
.botao[disabled] { opacity: .7; cursor: progress; transform: none; }
.botao--whats { background: #25D366; color: #0B3D1F; }
.botao--whats:hover { background: #1FB858; }

.sucesso { margin-top: 18px; text-align: center; padding: 10px 4px 4px; }
.sucesso__icone { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 0 32px 0 0; background: var(--carmim); color: #fff; }
.sucesso__icone svg { width: 32px; height: 32px; stroke-width: 2.6; }
.sucesso h3 { margin-top: 14px; font: 800 24px var(--t); color: var(--vinho); }
.sucesso p { margin: 8px 0 18px; color: var(--tinta-2); }

/* rodapé */
.rodape { margin-top: 30px; text-align: center; font-size: 12.5px; line-height: 1.6; color: var(--tinta-2); }
.selos { display: flex; justify-content: center; align-items: center; gap: 22px; margin-bottom: 16px; }
.selos img { height: 64px; width: auto; }
.rodape b { color: var(--vinho); font-family: var(--t); }
.copy { margin-top: 10px; }

/* animações: arcos abrem e depois respiram em onda; o resto sobe ao carregar.
   fill-mode backwards para não prender o transform (o hover dos links continua). */
.curvas { overflow: visible; }
.curvas circle { transform-box: view-box; transform-origin: 100px 0; animation: arco-abre 1.1s cubic-bezier(.2,.8,.2,1) backwards, arco-respira 7s ease-in-out 1.1s infinite; }
.curvas circle:nth-child(2) { animation-delay: .12s, 1.9s; }
.curvas circle:nth-child(3) { animation-delay: .24s, 2.7s; }
@keyframes arco-abre { from { transform: scale(0); } }
@keyframes arco-respira { 0%, 100% { transform: scale(1); } 50% { transform: scale(.86); } }

.logo, .topo h1, .apoio, .link, .redes li, .proposta, .rodape { animation: sobe .7s cubic-bezier(.2,.7,.2,1) backwards; }
.logo { animation-delay: .15s; }
.topo h1 { animation-delay: .25s; }
.apoio { animation-delay: .33s; }
.link:nth-child(1) { animation-delay: .42s; } .link:nth-child(2) { animation-delay: .49s; }
.link:nth-child(3) { animation-delay: .56s; } .link:nth-child(4) { animation-delay: .63s; }
.link:nth-child(5) { animation-delay: .70s; } .link:nth-child(6) { animation-delay: .77s; }
.redes li { animation-name: surge; animation-delay: .86s; }
.redes li:nth-child(2) { animation-delay: .91s; } .redes li:nth-child(3) { animation-delay: .96s; }
.redes li:nth-child(4) { animation-delay: 1.01s; } .redes li:nth-child(5) { animation-delay: 1.06s; }
.proposta { animation-delay: 1.1s; }
.rodape { animation-delay: 1.2s; }
@keyframes sobe { from { opacity: 0; transform: translateY(18px); } }
@keyframes surge { from { opacity: 0; transform: scale(.6); } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, .curvas circle { transition: none !important; animation: none !important; } }
