/* ==========================================================================
   Castração Solidária — Liquid Glass
   Vidro fosco translúcido, relevo (highlights internos), profundidade,
   fundo colorido em aurora. Página de captura funcional e bonita.
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

:root {
  --txt:      #10231C;
  --txt-dim:  #3f5a4f;
  --txt-faint:#7d9086;

  --verde:    #10B981;
  --verde-2:  #059669;
  --grad-verde: linear-gradient(135deg, #34D399 0%, #10B981 55%, #059669 100%);

  --erro: #E5484D;

  /* Vidro */
  --glass-bg:     linear-gradient(150deg, rgba(255,255,255,.55), rgba(255,255,255,.22));
  --glass-brd:    rgba(255,255,255,.65);
  --glass-blur:   blur(26px) saturate(180%);
  --glass-relevo: inset 0 1.5px 1px rgba(255,255,255,.85), inset 0 -2px 3px rgba(255,255,255,.25), inset 0 0 0 1px rgba(255,255,255,.12);
  --glass-sombra: 0 18px 50px rgba(16,40,30,.18), 0 4px 14px rgba(16,40,30,.10);

  --raio:    20px;
  --raio-lg: 30px;
  --raio-xl: 40px;

  --fonte: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--fonte);
  color: var(--txt);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  background: #E8F3EE;
}
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(16,185,129,.25); }

/* Fundo colorido em aurora (o vidro refrata isso) ------------------------ */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(38% 44% at 18% 16%, rgba(52,211,153,.9), transparent 60%),
    radial-gradient(34% 40% at 82% 12%, rgba(96,165,250,.7), transparent 60%),
    radial-gradient(40% 46% at 78% 82%, rgba(45,212,191,.85), transparent 60%),
    radial-gradient(38% 44% at 22% 84%, rgba(167,139,250,.6), transparent 60%),
    linear-gradient(160deg, #EAF7F1 0%, #E4F0FA 100%);
}
/* granulado sutil pra dar textura de vidro real */
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.5) .5px, transparent .5px);
  background-size: 4px 4px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 90%);
}

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 22px; }

/* Vidro base -------------------------------------------------------------- */
.glass {
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
          backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-brd);
  box-shadow: var(--glass-sombra), var(--glass-relevo);
  position: relative;
}
/* brilho especular (o "líquido" do liquid glass) */
.glass::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(140deg, rgba(255,255,255,.5) 0%, rgba(255,255,255,0) 32%, rgba(255,255,255,0) 70%, rgba(255,255,255,.18) 100%);
}

/* ==========================================================================
   NAVBAR (pílula de vidro)
   ========================================================================== */
.nav-wrap { position: sticky; top: 18px; z-index: 50; padding: 0 22px; margin-top: 18px; }
.nav { max-width: 1160px; margin: 0 auto; border-radius: 999px; display: flex; align-items: center; justify-content: space-between; padding: 11px 12px 11px 22px; }
.logo { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 18px; letter-spacing: -.5px; }
.logo-icone { width: 38px; height: 38px; border-radius: 12px; background: var(--grad-verde); display: grid; place-items: center; box-shadow: 0 6px 16px rgba(16,185,129,.45), inset 0 1px 1px rgba(255,255,255,.6); }
.logo-icone svg { width: 21px; height: 21px; }
.nav-menu { display: flex; gap: 26px; }
.nav-menu a { font-size: 15px; font-weight: 600; color: var(--txt-dim); transition: color .2s; }
.nav-menu a:hover { color: var(--txt); }

/* ==========================================================================
   BOTÕES
   ========================================================================== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border: none; cursor: pointer; border-radius: 999px; font-family: var(--fonte); font-size: 15.5px; font-weight: 700; transition: transform .1s, box-shadow .25s, filter .2s; position: relative; overflow: hidden; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn svg { width: 18px; height: 18px; }
.btn-verde { background: var(--grad-verde); color: #fff; box-shadow: 0 12px 26px rgba(16,185,129,.4), inset 0 1.5px 1px rgba(255,255,255,.55), inset 0 -2px 3px rgba(4,120,87,.4); }
.btn-verde:hover { filter: brightness(1.05); box-shadow: 0 16px 34px rgba(16,185,129,.5), inset 0 1.5px 1px rgba(255,255,255,.55); }
.btn-verde:disabled { opacity: .65; cursor: not-allowed; }
.btn-verde::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(255,255,255,.45), transparent 45%); pointer-events: none; }
.btn-vidro { color: var(--txt); border: 1px solid var(--glass-brd); background: var(--glass-bg); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); box-shadow: var(--glass-relevo); }
.btn-whats { background: linear-gradient(135deg, #2BE86F, #14b85a); color: #fff; box-shadow: 0 12px 26px rgba(37,211,102,.4), inset 0 1.5px 1px rgba(255,255,255,.5); }
.btn-bloco { width: 100%; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { display: grid; grid-template-columns: 1fr 1.02fr; gap: 40px; align-items: start; padding: 40px 0 30px; }
.hero-esq { position: sticky; top: 100px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--verde-2); border-radius: 999px; margin-bottom: 22px; }
.eyebrow .ponto { width: 8px; height: 8px; border-radius: 50%; background: var(--grad-verde); box-shadow: 0 0 10px rgba(16,185,129,.8); }
.hero h1 { font-size: clamp(38px, 5.4vw, 60px); font-weight: 800; line-height: 1.04; letter-spacing: -2px; margin-bottom: 20px; }
.hero h1 .grad { background: var(--grad-verde); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero p.sub { font-size: 18px; color: var(--txt-dim); max-width: 440px; margin-bottom: 26px; }

.hero-foto { border-radius: var(--raio-lg); overflow: hidden; padding: 8px; margin-top: 6px; }
.hero-foto img { width: 100%; height: 260px; object-fit: cover; border-radius: 22px; }

.trust { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.chip-trust { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--txt-dim); }
.chip-trust svg { width: 15px; height: 15px; stroke: var(--verde-2); }

/* ==========================================================================
   CARD DO FORMULÁRIO (vidro grande)
   ========================================================================== */
.form-card { border-radius: var(--raio-xl); padding: 34px 30px; }
.form-card-titulo { font-size: 24px; font-weight: 800; letter-spacing: -.6px; }
.form-card-sub { font-size: 14.5px; color: var(--txt-dim); margin: 5px 0 24px; }

.secao-form { margin-bottom: 26px; }
.secao-cab { display: flex; align-items: center; gap: 11px; margin-bottom: 18px; }
.secao-num { flex-shrink: 0; width: 30px; height: 30px; border-radius: 10px; background: var(--grad-verde); color: #fff; font-weight: 800; font-size: 14px; display: grid; place-items: center; box-shadow: inset 0 1px 1px rgba(255,255,255,.5), 0 4px 10px rgba(16,185,129,.35); }
.secao-titulo { font-size: 18px; font-weight: 700; letter-spacing: -.3px; }
.secao-linha { height: 1px; background: rgba(16,40,30,.1); margin: 24px 0; }

.grupo { margin-bottom: 16px; }
.grupo label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 8px; }
.grupo label .opcional { color: var(--txt-faint); font-weight: 400; font-size: 12px; }

.campo {
  width: 100%; padding: 14px 16px; font-size: 15px; color: var(--txt);
  background: rgba(255,255,255,.5);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 14px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 2px rgba(255,255,255,.6), inset 0 -1px 2px rgba(16,40,30,.04);
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.campo::placeholder { color: var(--txt-faint); }
.campo:focus { outline: none; border-color: rgba(16,185,129,.7); background: rgba(255,255,255,.75); box-shadow: 0 0 0 4px rgba(16,185,129,.15), inset 0 1px 2px rgba(255,255,255,.6); }
select.campo { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%233f5a4f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 42px; }
textarea.campo { resize: vertical; min-height: 66px; }
.linha { display: flex; gap: 12px; }
.linha > .grupo { flex: 1; }

.chips { display: flex; gap: 10px; }
.chip { flex: 1; cursor: pointer; text-align: center; padding: 13px 10px; border-radius: 14px; font-size: 15px; font-weight: 600; color: var(--txt-dim); display: flex; align-items: center; justify-content: center; gap: 8px; background: rgba(255,255,255,.4); border: 1px solid rgba(255,255,255,.65); box-shadow: inset 0 1px 1px rgba(255,255,255,.6); transition: all .18s; }
.chip svg { width: 20px; height: 20px; opacity: .7; }
.chip input { display: none; }
.chip:hover { background: rgba(255,255,255,.6); color: var(--txt); }
.chip.ativo { color: var(--verde-2); border-color: rgba(16,185,129,.6); background: linear-gradient(150deg, rgba(52,211,153,.28), rgba(16,185,129,.14)); box-shadow: inset 0 1px 1px rgba(255,255,255,.6), 0 4px 12px rgba(16,185,129,.18); }
.chip.ativo svg { opacity: 1; }

.stepper { display: flex; align-items: center; width: fit-content; border-radius: 999px; overflow: hidden; background: rgba(255,255,255,.5); border: 1px solid rgba(255,255,255,.7); box-shadow: inset 0 1px 1px rgba(255,255,255,.6); }
.stepper button { width: 48px; height: 50px; border: none; background: transparent; font-size: 23px; font-weight: 600; cursor: pointer; color: var(--verde-2); transition: background .15s; }
.stepper button:hover { background: rgba(16,185,129,.12); }
.stepper input { width: 54px; height: 50px; border: none; text-align: center; font-size: 18px; font-weight: 800; background: transparent; color: var(--txt); }

#animais-container { display: flex; flex-direction: column; gap: 14px; margin-top: 4px; }
.animal-bloco { border-radius: 18px; padding: 18px 16px; background: rgba(255,255,255,.32); border: 1px solid rgba(255,255,255,.6); box-shadow: inset 0 1px 1px rgba(255,255,255,.55); animation: surge .35s cubic-bezier(.2,.8,.3,1.1); }
@keyframes surge { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.animal-bloco-cab { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; }
.animal-bloco-cab .selo-animal { width: 30px; height: 30px; border-radius: 9px; background: var(--grad-verde); display: grid; place-items: center; box-shadow: inset 0 1px 1px rgba(255,255,255,.5); }
.animal-bloco-cab .selo-animal svg { width: 16px; height: 16px; }
.animal-bloco-cab strong { font-size: 15.5px; font-weight: 700; }

/* Aviso de idade mínima (filhote < 6 meses) */
.aviso-idade { display: none; gap: 12px; align-items: flex-start; margin-bottom: 16px; padding: 14px 15px; border-radius: 14px; background: linear-gradient(150deg, rgba(255,193,7,.22), rgba(255,152,0,.12)); border: 1px solid rgba(230,145,0,.4); box-shadow: inset 0 1px 1px rgba(255,255,255,.5); }
.aviso-idade.ativo { display: flex; animation: surge .3s ease; }
.aviso-idade svg { width: 20px; height: 20px; flex-shrink: 0; stroke: #b26a00; margin-top: 2px; }
.aviso-idade strong { display: block; font-size: 14.5px; font-weight: 700; color: #8a5200; }
.aviso-idade span { font-size: 13px; color: #7a4d0a; line-height: 1.5; }
.aviso-idade b { font-weight: 700; }
.animal-bloco.bloqueado { border-color: rgba(230,145,0,.5); background: rgba(255,248,235,.55); }

.dica-privacidade { font-size: 12.5px; color: var(--txt-faint); text-align: center; margin-top: 16px; display: flex; align-items: center; justify-content: center; gap: 7px; }
.dica-privacidade svg { width: 14px; height: 14px; stroke: var(--txt-faint); }
.dica-privacidade a { color: var(--verde-2); font-weight: 600; }

.erro-msg { color: var(--erro); font-size: 12.5px; margin-top: 6px; display: none; }
.grupo.tem-erro .campo, .grupo.tem-erro .chip { border-color: rgba(229,72,77,.65); }
.grupo.tem-erro .erro-msg { display: block; }
.alerta { display: none; align-items: center; gap: 10px; background: rgba(229,72,77,.12); color: #b3282c; border: 1px solid rgba(229,72,77,.3); border-radius: 14px; padding: 12px 14px; font-size: 14px; margin-bottom: 18px; }
.alerta.ativo { display: flex; }

/* ==========================================================================
   RODAPÉ
   ========================================================================== */
.rodape { text-align: center; padding: 46px 22px 40px; color: var(--txt-dim); font-size: 13.5px; margin-top: 30px; }
.rodape .marca { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 17px; color: var(--txt); margin-bottom: 8px; }
.rodape .marca .logo-icone { width: 32px; height: 32px; }
.rodape a { color: var(--verde-2); font-weight: 600; }

/* ==========================================================================
   OBRIGADO
   ========================================================================== */
.obrigado { max-width: 600px; margin: 0 auto; padding: 30px 22px; text-align: center; }
.obrigado-card { border-radius: var(--raio-xl); padding: 40px 32px; }
.check-anim { width: 100px; height: 100px; margin: 6px auto 24px; border-radius: 50%; background: var(--grad-verde); display: grid; place-items: center; box-shadow: 0 16px 36px rgba(16,185,129,.45), inset 0 2px 2px rgba(255,255,255,.5); animation: pop .5s cubic-bezier(.2,.8,.3,1.5); }
.check-anim svg { width: 50px; height: 50px; stroke: #fff; }
@keyframes pop { 0% { transform: scale(.5); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.obrigado h1 { font-size: clamp(30px, 7vw, 40px); font-weight: 800; letter-spacing: -1px; margin-bottom: 12px; }
.obrigado > p, .obrigado-card p.intro { color: var(--txt-dim); font-size: 16px; }
.passo-box { text-align: left; margin: 26px 0; }
.passo { display: flex; gap: 15px; align-items: flex-start; padding: 15px 0; border-bottom: 1px solid rgba(16,40,30,.1); }
.passo:last-child { border-bottom: none; }
.passo-num { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--grad-verde); color: #fff; font-weight: 800; font-size: 15px; display: grid; place-items: center; box-shadow: inset 0 1px 1px rgba(255,255,255,.5); }
.passo strong { display: block; font-size: 15px; font-weight: 700; }
.passo span { font-size: 13.5px; color: var(--txt-dim); }

/* ==========================================================================
   PAINEL
   ========================================================================== */
.painel-topo { padding: 14px 0; position: sticky; top: 0; z-index: 10; margin-bottom: 10px; }
.painel-topo .nav { padding: 11px 12px 11px 22px; }
.painel-user { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--txt-dim); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin: 24px 0; }
.stat { border-radius: var(--raio); padding: 18px 20px; }
.stat .num { font-size: 32px; font-weight: 800; letter-spacing: -1px; }
.stat .rot { font-size: 12.5px; color: var(--txt-dim); margin-top: 2px; }
.stat.verde .num { color: var(--verde-2); }
.stat.rosa .num { color: #E07A3F; }
.barra-ferramentas { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.barra-ferramentas .campo { width: auto; flex: 1; min-width: 190px; }
.barra-ferramentas select.campo { flex: 0 0 auto; min-width: 150px; }
.barra-ferramentas .btn { padding: 13px 20px; font-size: 14px; }
.tabela-wrap { border-radius: var(--raio); overflow: hidden; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
thead th { text-align: left; padding: 14px 16px; font-size: 11px; text-transform: uppercase; letter-spacing: .5px; color: var(--txt-dim); border-bottom: 1px solid rgba(16,40,30,.12); white-space: nowrap; }
tbody td { padding: 14px 16px; border-bottom: 1px solid rgba(16,40,30,.08); vertical-align: middle; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: rgba(255,255,255,.35); }
.td-nome { font-weight: 700; }
.td-sub { font-size: 12px; color: var(--txt-faint); margin-top: 2px; }
.status-select { padding: 7px 30px 7px 13px; border-radius: 999px; border: 1px solid rgba(255,255,255,.6); font-size: 12.5px; font-weight: 700; cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%233f5a4f' stroke-width='2.5' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; }
.status-aguardando { background-color: rgba(255,176,32,.18); color: #a35a06; }
.status-agendado   { background-color: rgba(96,165,250,.2); color: #1d4ed8; }
.status-castrado   { background-color: rgba(16,185,129,.2); color: var(--verde-2); }
.status-cancelado  { background-color: rgba(229,72,77,.16); color: #b3282c; }
.link-whats { color: #0f8a4c; font-weight: 700; display: inline-flex; align-items: center; gap: 5px; }
.badge-qtd { display: inline-block; min-width: 26px; text-align: center; padding: 3px 9px; border-radius: 999px; background: rgba(16,185,129,.16); color: var(--verde-2); font-size: 12.5px; font-weight: 800; }
.vazio { text-align: center; padding: 60px 20px; color: var(--txt-dim); }
.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.login-card { width: 100%; max-width: 410px; border-radius: var(--raio-xl); padding: 34px 30px; }

.hidden { display: none !important; }
.spinner { width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: girar .6s linear infinite; }
@keyframes girar { to { transform: rotate(360deg); } }

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */
@media (max-width: 900px) {
  .nav-menu { display: none; }
  .hero { grid-template-columns: 1fr; gap: 26px; }
  .hero-esq { position: static; }
}
@media (max-width: 560px) {
  .linha { flex-direction: column; gap: 16px; }
  .form-card { padding: 26px 20px; }
}
