/* ==========================================
   RESET
========================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


/* ==========================================
   CONFIGURAÇÕES GERAIS
========================================== */

body {
  font-family: Arial, sans-serif;
  background: #f8f5f0;
  color: #333;
}


/* ==========================================
   HEADER / PÁGINA INICIAL
========================================== */

header {
  padding: 25px 8%;
  background: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #333;
}


/* ==========================================
   HERO
========================================== */

.hero {
  min-height: 80vh;
  padding: 80px 8%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.hero-text {
  max-width: 600px;
}

.hero h1 {
  font-size: 52px;
  line-height: 1.1;
  margin-bottom: 25px;
}

.hero p {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 35px;
  color: #666;
}


/* ==========================================
   BOTÕES
========================================== */

.button {
  display: inline-block;
  padding: 16px 30px;
  background: #222;
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-weight: bold;
  font-size: 17px;
  border: none;
  cursor: pointer;
  transition: 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}


/* ==========================================
   CARD DA HOME
========================================== */

.hero-card {
  width: 350px;
  height: 350px;
  background: white;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 100px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}


/* ==========================================
   PÁGINA PÚBLICA DO PET
========================================== */

.pet-page {
  min-height: 100vh;
  padding: 30px 16px 50px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}


/* ==========================================
   ÁREA DE CARREGAMENTO
========================================== */

#carregando {
  width: 100%;
  max-width: 500px;
  margin-top: 80px;
  background: white;
  padding: 40px 30px;
  border-radius: 24px;
  text-align: center;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
}

#carregando h2 {
  margin-bottom: 10px;
}

#carregando p {
  color: #777;
  line-height: 1.5;
}


/* ==========================================
   CARD PRINCIPAL DO PET
========================================== */

.pet-card {
  width: 100%;
  max-width: 520px;
  background: white;
  border-radius: 28px;
  padding: 25px;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.10);
  text-align: center;
}


/* ==========================================
   FOTO DO PET
========================================== */

#petFoto {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 22px;
  margin-bottom: 20px;
}


/* ==========================================
   STATUS
========================================== */

.pet-status {
  display: inline-block;
  padding: 9px 15px;
  border-radius: 999px;
  background: #eaf7ed;
  color: #24733a;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 15px;
}

.pet-status.pet-lost {
  background: #ffe8e8;
  color: #c62828;
}


/* ==========================================
   ALERTA PET PERDIDO
========================================== */

.alerta-pet-perdido {
  background: #fff0f0;
  border: 2px solid #e53935;
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 22px;
  text-align: left;
}

.alerta-pet-perdido strong {
  display: block;
  color: #c62828;
  font-size: 16px;
  margin-bottom: 8px;
}

.alerta-pet-perdido p {
  color: #7f1d1d;
  font-size: 14px;
  line-height: 1.5;
}


/* ==========================================
   NOME DO PET
========================================== */

#petNome {
  font-size: 38px;
  line-height: 1.1;
  margin-bottom: 8px;
  color: #222;
}

#petResumo {
  color: #777;
  font-size: 16px;
  margin-bottom: 25px;
}


/* ==========================================
   INFORMAÇÕES DO PET
========================================== */

.pet-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 25px;
}

.pet-info > div {
  background: #f8f5f0;
  border-radius: 16px;
  padding: 15px 12px;
  text-align: left;
}

.pet-info strong {
  display: block;
  font-size: 13px;
  color: #777;
  margin-bottom: 6px;
}

.pet-info span {
  display: block;
  font-size: 16px;
  font-weight: bold;
  color: #333;
}


/* ==========================================
   SEÇÕES
========================================== */

.pet-section {
  background: #fafafa;
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 15px;
  text-align: left;
  border: 1px solid #eeeeee;
}

.pet-section h3 {
  font-size: 17px;
  margin-bottom: 9px;
  color: #333;
}

.pet-section p {
  color: #666;
  line-height: 1.6;
  white-space: pre-line;
}


/* ==========================================
   RESPONSÁVEL
========================================== */

.responsavel-box {
  margin-top: 20px;
  padding: 20px;
  background: #f8f5f0;
  border-radius: 18px;
  text-align: left;
}

.responsavel-box h3 {
  margin-bottom: 8px;
  font-size: 17px;
}

.responsavel-box p {
  color: #555;
}


/* ==========================================
   BOTÃO WHATSAPP
========================================== */

.whatsapp-button {
  width: 100%;
  margin-top: 20px;
  background: #25d366;
  text-align: center;
  border-radius: 14px;
  padding: 17px;
}

.whatsapp-button:hover {
  background: #1ebe5d;
}


/* ==========================================
   PET NÃO ENCONTRADO
========================================== */

#petErro {
  width: 100%;
  max-width: 500px;
  margin-top: 80px;
  background: white;
  padding: 45px 30px;
  border-radius: 24px;
  text-align: center;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
}

#petErro h2 {
  margin-bottom: 12px;
  font-size: 28px;
}

#petErro p {
  color: #777;
  line-height: 1.5;
}


/* ==========================================
   RESPONSIVIDADE
========================================== */

@media (max-width: 768px) {

  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 50px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-card {
    width: 280px;
    height: 280px;
  }

  .pet-page {
    padding: 15px 12px 35px;
  }

  .pet-card {
    padding: 18px;
    border-radius: 24px;
  }

  #petNome {
    font-size: 32px;
  }

  .pet-info {
    gap: 9px;
  }

  .pet-info > div {
    padding: 13px 10px;
  }

  .alerta-pet-perdido {
    padding: 15px;
  }
}/* ==========================================
   LOGIN
========================================== */

.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
}

.login-card {
  width: 100%;
  max-width: 430px;
  background: #ffffff;
  padding: 35px;
  border-radius: 24px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.login-logo {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #f3e8ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

.login-card h1 {
  margin-bottom: 10px;
  color: #333333;
}

.login-subtitle {
  color: #777777;
  line-height: 1.5;
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 18px;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 7px;
  font-weight: 600;
  color: #444444;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #dddddd;
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
  box-sizing: border-box;
  background: #ffffff;
}

.form-group textarea {
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #8b5cf6;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.mensagem-login {
  min-height: 22px;
  margin-top: 15px;
  color: #555555;
  font-size: 14px;
}

.login-ajuda {
  margin-top: 25px;
  color: #777777;
  font-size: 14px;
}

.login-link {
  color: #7c3aed;
  font-weight: 600;
  text-decoration: none;
}


/* ==========================================
   PAINEL DO DONO
========================================== */

.painel-page {
  min-height: 100vh;
  padding: 30px 20px 50px;
}

.painel-card {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  background: #ffffff;
  padding: 35px;
  border-radius: 24px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
}

.painel-topo {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
}

.painel-tag {
  display: inline-block;
  margin-bottom: 8px;
  color: #7c3aed;
  font-weight: 700;
  font-size: 14px;
}

.painel-topo h1 {
  margin: 0 0 8px;
  color: #333333;
}

.painel-topo p {
  margin: 0;
  color: #777777;
}

.botao-sair {
  border: none;
  background: #f3f3f3;
  color: #555555;
  padding: 10px 16px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
}

.botao-sair:hover {
  background: #e9e9e9;
}

.painel-subtitulo {
  margin: 30px 0 18px;
  font-size: 19px;
  color: #333333;
}

.painel-foto-area {
  text-align: center;
  margin-bottom: 30px;
}

.preview-foto {
  width: 130px;
  height: 130px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: #f3e8ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 50px;
  overflow: hidden;
}

.preview-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.painel-foto-area p {
  margin: 0;
  color: #777777;
  font-size: 14px;
}

.status-opcoes {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 25px;
}

.status-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px;
  border: 1px solid #dddddd;
  border-radius: 12px;
  cursor: pointer;
  background: #ffffff;
}

.status-option:hover {
  background: #fafafa;
}

.status-option input {
  width: auto;
}

.status-perdido {
  border-color: #f1b0b0;
}

#painelSemPet {
  text-align: center;
  padding: 30px 10px;
}

#painelSemPet h2 {
  margin-bottom: 10px;
}

#painelSemPet p {
  color: #777777;
}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 600px) {

  .login-card {
    padding: 25px 20px;
  }

  .painel-page {
    padding: 15px 10px 30px;
  }

  .painel-card {
    padding: 25px 20px;
    border-radius: 20px;
  }

  .painel-topo {
    flex-direction: column;
  }

  .botao-sair {
    align-self: flex-end;
  }

}/* ==========================================
   BOTÃO DE FOTO
========================================== */

.botao-foto {
  display: inline-block;
  padding: 10px 18px;
  background: #7c3aed;
  color: #ffffff;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
}

.botao-foto:hover {
  background: #6d28d9;
}.alerta-localizacao {
  background: #f5f3ff;
  border: 2px solid #7c3aed;
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 22px;
  text-align: left;
}

.alerta-localizacao strong {
  display: block;
  color: #5b21b6;
  font-size: 16px;
  margin-bottom: 8px;
}

.alerta-localizacao p {
  color: #4c1d95;
  font-size: 14px;
  line-height: 1.5;
}

.botao-localizacao {
  width: 100%;
  border: none;
  border-radius: 12px;
  padding: 14px 18px;
  margin-top: 8px;
  background: #7c3aed;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.botao-localizacao:hover {
  background: #6d28d9;
}

.mensagem-localizacao {
  margin-top: 12px;
  margin-bottom: 0;
  font-weight: 600;
}
.alertas-localizacao {
  margin-top: 25px;
  padding: 20px;
  background: #fff7ed;
  border: 2px solid #f97316;
  border-radius: 18px;
  text-align: left;
}

.alertas-localizacao h2 {
  margin-top: 0;
  color: #c2410c;
  font-size: 18px;
}

.alerta-localizacao-item {
  background: #ffffff;
  padding: 16px;
  border-radius: 12px;
}

.alerta-localizacao-data {
  font-size: 14px;
  color: #555;
  margin-bottom: 12px;
}

.botao-mapa {
  display: inline-block;
  padding: 11px 16px;
  background: #16a34a;
  color: #ffffff;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
}

.botao-mapa:hover {
  background: #15803d;
}/* ==========================================
   DESIGN PADRÃO PET TAG
   Base visual para formulários
========================================== */

.form-page {
  min-height: 100vh;
  padding: 30px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-card {
  width: 100%;
  max-width: 430px;
  background: #ffffff;
  padding: 35px;
  border-radius: 24px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.form-header {
  text-align: center;
  margin-bottom: 28px;
}

.form-logo {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #f3e8ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

.form-header h1 {
  margin-bottom: 10px;
  color: #222222;
  font-size: 28px;
  line-height: 1.2;
}

.form-subtitle {
  color: #666666;
  line-height: 1.5;
  font-size: 15px;
  margin: 0;
}


/* CAMPOS */

.form-card .form-group {
  margin-bottom: 18px;
  text-align: left;
}

.form-card .form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  color: #333333;
  font-size: 14px;
}

.form-card .form-group input,
.form-card .form-group select,
.form-card .form-group textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #eef2fb;
  color: #333333;
  font-size: 15px;
  font-family: inherit;
  box-sizing: border-box;
  transition: 0.2s ease;
}

.form-card .form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.form-card .form-group input::placeholder,
.form-card .form-group textarea::placeholder {
  color: #888888;
}

.form-card .form-group input:focus,
.form-card .form-group select:focus,
.form-card .form-group textarea:focus {
  outline: none;
  border-color: #c4b5fd;
  background: #f5f3ff;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.08);
}


/* BOTÃO PRINCIPAL */

.form-card .button {
  width: 100%;
  margin-top: 8px;
  padding: 15px 20px;
  background: #222222;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.form-card .button:hover {
  background: #333333;
  transform: translateY(-1px);
}


/* MENSAGENS */

.form-message {
  min-height: 22px;
  margin-top: 15px;
  text-align: center;
  color: #555555;
  font-size: 14px;
}


/* ÁREA INFERIOR */

.form-footer {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #eeeeee;
  text-align: center;
}

.form-footer p {
  margin: 0 0 8px;
  color: #777777;
  font-size: 14px;
}

.form-link {
  color: #6b3ba7;
  font-weight: 700;
  text-decoration: none;
}

.form-link:hover {
  text-decoration: underline;
}


/* RESPONSIVO */

@media (max-width: 600px) {

  .form-page {
    padding: 20px 15px;
  }

  .form-card {
    padding: 25px 20px;
    border-radius: 20px;
  }

  .form-header h1 {
    font-size: 25px;
  }

}/* ==========================================
   FORMULÁRIO MAIS AMPLO
========================================== */

.form-card-wide {
  width: 100%;
  max-width: 600px;
  background: #ffffff;
  padding: 35px;
  border-radius: 24px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.form-card-wide .form-group {
  margin-bottom: 18px;
  text-align: left;
}

.form-card-wide .form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  color: #333333;
  font-size: 14px;
}

.form-card-wide .form-group input,
.form-card-wide .form-group select,
.form-card-wide .form-group textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #eef2fb;
  color: #333333;
  font-size: 15px;
  font-family: inherit;
  box-sizing: border-box;
  transition: 0.2s ease;
}

.form-card-wide .form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.form-card-wide .form-group input::placeholder,
.form-card-wide .form-group textarea::placeholder {
  color: #888888;
}

.form-card-wide .form-group input:focus,
.form-card-wide .form-group select:focus,
.form-card-wide .form-group textarea:focus {
  outline: none;
  border-color: #c4b5fd;
  background: #f5f3ff;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.08);
}

.form-section-title {
  margin: 30px 0 18px;
  padding-top: 25px;
  border-top: 1px solid #eeeeee;
  color: #333333;
  font-size: 18px;
}

@media (max-width: 600px) {

  .form-card-wide {
    padding: 25px 20px;
    border-radius: 20px;
  }

}/* ==========================================
   LISTA DE PETS
========================================== */

.lista-pets {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pet-card-selecao {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fafafa;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  cursor: pointer;
  text-align: left;
  transition: 0.2s ease;
}

.pet-card-selecao:hover {
  background: #f5f3ff;
  border-color: #c4b5fd;
}

.pet-card-selecao.ativo {
  background: #f5f3ff;
  border-color: #8b5cf6;
}

.pet-card-selecao-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pet-card-selecao-foto {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f3e8ff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  font-size: 22px;
}

.pet-card-selecao-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pet-card-selecao-nome {
  font-weight: 700;
  color: #333333;
  margin-bottom: 3px;
}

.pet-card-selecao-tag {
  font-size: 12px;
  color: #777777;
}

.pet-card-selecao-status {
  font-size: 12px;
  font-weight: 700;
  color: #24733a;
}

.pet-card-selecao-status.perdido {
  color: #c62828;
}

.botao-adicionar-pet {
  width: 100%;
  margin-top: 5px;
  padding: 13px 16px;
  border: 1px dashed #b8a5d6;
  border-radius: 14px;
  background: #faf8ff;
  color: #6b3ba7;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.botao-adicionar-pet:hover {
  background: #f3e8ff;
}/* ==========================================
   ADICIONAR OUTRO PET
========================================== */

.tela-adicionar-pet {
  width: 100%;
  max-width: 430px;
  margin: 30px auto 0;
  padding: 30px;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.tela-adicionar-pet .form-header {
  margin-bottom: 25px;
}

@media (max-width: 600px) {

  .tela-adicionar-pet {
    padding: 25px 20px;
    border-radius: 20px;
  }

}/* ==========================================
   MELHORIA VISUAL DOS CARDS DOS PETS
========================================== */

.pet-card-selecao {
  position: relative;
  padding: 16px;
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.pet-card-selecao:hover {
  transform: translateY(-1px);
  border-color: #c4b5fd;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
}

.pet-card-selecao.ativo {
  background: #faf8ff;
  border-color: #8b5cf6;
  box-shadow: 0 6px 18px rgba(124, 58, 237, 0.10);
}

.pet-card-selecao-info {
  min-width: 0;
}

.pet-card-selecao-foto {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #f3e8ff;
  border: 2px solid #eee5ff;
  box-sizing: border-box;
}

.pet-card-selecao-nome {
  font-size: 16px;
  font-weight: 700;
  color: #292929;
}

.pet-card-selecao-tag {
  margin-top: 2px;
  font-size: 12px;
  color: #777777;
}

.pet-card-selecao-status {
  white-space: nowrap;
  padding: 5px 9px;
  border-radius: 20px;
  background: #eef8f0;
  font-size: 11px;
  font-weight: 700;
  color: #24733a;
}

.pet-card-selecao-status.perdido {
  background: #fff0f0;
  color: #c62828;
}/* ==========================================
   ÁREA DIREITA DO CARD DO PET
========================================== */

.pet-card-selecao-direita {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}


/* ==========================================
   BOTÃO EXCLUIR PET
========================================== */

.botao-excluir-pet {
  width: 38px;
  height: 38px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: none;
  border-radius: 10px;

  background: #fff0f0;
  color: #c62828;

  font-size: 18px;

  cursor: pointer;

  transition:
    background 0.2s ease,
    transform 0.2s ease;
}


.botao-excluir-pet:hover {
  background: #ffe0e0;
  transform: scale(1.05);
}


.botao-excluir-pet:active {
  transform: scale(0.95);
}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 600px) {

  .pet-card-selecao {
    gap: 10px;
  }

  .pet-card-selecao-direita {
    gap: 6px;
  }

  .pet-card-selecao-status {
    font-size: 10px;
    padding: 4px 7px;
  }

  .botao-excluir-pet {
    width: 36px;
    height: 36px;
    font-size: 17px;
  }

}

/* ==========================================
   XODOZIN DE CASA — IDENTIDADE VISUAL
   ========================================== */

:root {
  --xd-verde: #064b35;
  --xd-verde-escuro: #033c2a;
  --xd-creme: #fafaf2;
  --xd-terracota: #cb6339;
  --xd-texto: #343a33;
  --xd-texto-suave: #6f756c;
  --xd-branco: #ffffff;
  --xd-borda: #e6e7dc;
  --xd-sombra: 0 14px 38px rgba(6, 75, 53, 0.08);
}

/* Fundo e textos */

body {
  font-family: Arial, sans-serif;
  background: var(--xd-creme);
  color: var(--xd-texto);
}

h1,
h2,
h3 {
  color: var(--xd-verde);
}

/* Cabeçalho e marca */

header {
  background: var(--xd-creme);
  border-bottom: 1px solid var(--xd-borda);
}

.logo {
  color: var(--xd-verde);
  font-weight: 800;
  letter-spacing: -0.7px;
}

.logo-patinha {
  color: var(--xd-terracota);
}

.logo-destaque {
  color: var(--xd-terracota);
}

/* Página inicial */

.hero {
  background: var(--xd-creme);
}

.hero h1 {
  color: var(--xd-verde);
  letter-spacing: -1.4px;
}

.hero p {
  color: var(--xd-texto-suave);
}

.hero-card {
  background: var(--xd-branco);
  border: 1px solid var(--xd-borda);
  box-shadow: var(--xd-sombra);
}

/* Botões principais */

.button,
.form-card .button {
  background: var(--xd-verde);
  color: var(--xd-branco);
  border-radius: 14px;
  transition: background 0.2s ease,
              transform 0.2s ease;
}

.button:hover,
.form-card .button:hover {
  background: var(--xd-verde-escuro);
}

/* Cartões e formulários */

.login-card,
.form-card,
.form-card-wide,
.tela-adicionar-pet,
.painel-card,
.pet-card,
#carregando,
#petErro {
  background: var(--xd-branco);
  border: 1px solid var(--xd-borda);
  box-shadow: var(--xd-sombra);
}

.login-logo,
.form-logo,
.preview-foto,
.pet-card-selecao-foto {
  background: var(--xd-creme);
  border-color: var(--xd-borda);
}

/* Campos */

.form-group input,
.form-group select,
.form-group textarea,
.form-card .form-group input,
.form-card .form-group select,
.form-card .form-group textarea,
.form-card-wide .form-group input,
.form-card-wide .form-group select,
.form-card-wide .form-group textarea {
  background: #fcfcf8;
  border: 1px solid var(--xd-borda);
  color: var(--xd-texto);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.form-card .form-group input:focus,
.form-card .form-group select:focus,
.form-card .form-group textarea:focus,
.form-card-wide .form-group input:focus,
.form-card-wide .form-group select:focus,
.form-card-wide .form-group textarea:focus {
  outline: none;
  border-color: var(--xd-verde);
  background: var(--xd-branco);
  box-shadow: 0 0 0 3px rgba(6, 75, 53, 0.1);
}

/* Links */

.login-link,
.form-link {
  color: var(--xd-verde);
}

.login-link:hover,
.form-link:hover {
  color: var(--xd-terracota);
}

/* Painel do responsável */

.painel-tag {
  color: var(--xd-terracota);
}

.botao-sair {
  background: var(--xd-creme);
  color: var(--xd-verde);
  border: 1px solid var(--xd-borda);
}

.botao-sair:hover {
  background: #efefe4;
}

/* Lista de pets */

.pet-card-selecao {
  border-color: var(--xd-borda);
}

.pet-card-selecao:hover {
  background: var(--xd-creme);
  border-color: var(--xd-verde);
}

.pet-card-selecao.ativo {
  background: #f0f5ef;
  border-color: var(--xd-verde);
  box-shadow: 0 6px 18px rgba(6, 75, 53, 0.08);
}

.botao-adicionar-pet {
  background: var(--xd-creme);
  border-color: #b7c9bd;
  color: var(--xd-verde);
}

.botao-adicionar-pet:hover {
  background: #eff3e9;
}

/* Página pública do pet */

.pet-info > div,
.responsavel-box {
  background: var(--xd-creme);
}

.pet-section {
  background: #fcfcf8;
  border-color: var(--xd-borda);
}

.pet-section h3,
.responsavel-box h3 {
  color: var(--xd-verde);
}

#petNome {
  color: var(--xd-verde);
}

/* Botão para adicionar foto */

.botao-foto {
  background: var(--xd-verde);
}

.botao-foto:hover {
  background: var(--xd-verde-escuro);
}

/* Alertas de localização */

.alerta-localizacao {
  background: #f0f5ef;
  border-color: var(--xd-verde);
}

.alerta-localizacao strong,
.alerta-localizacao p {
  color: var(--xd-verde);
}

.botao-localizacao {
  background: var(--xd-verde);
}

.botao-localizacao:hover {
  background: var(--xd-verde-escuro);
}


/* Ajustes para telas pequenas */

@media (max-width: 600px) {
  header {
    padding: 20px 5%;
    flex-wrap: wrap;
    gap: 12px;
  }

  .logo {
    font-size: 21px;
  }

  .hero {
    gap: 30px;
  }

  .hero h1 {
    letter-spacing: -0.7px;
  }
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  display: block;
  width: 180px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
.hero-card img {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  object-fit: contain;
}
.icone-ativacao img {
  display: block;
  width: 180px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
}