/* Happy Pet — estilos do site (happypet.vet.br).
   Não há CSS inline no index.html: tudo mora aqui.
   Paleta: azul-céu #8EC8F2 · azul-médio #2A63AC · azul-noite #1F3561 · laranja-areia #F2A65A
           azul-claro #DCEEFB · creme-areia #F6E7C8 */

/* ===== Base ===== */
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Nunito', system-ui, sans-serif; color: #1F3561; background: #F6E7C8; }
[id] { scroll-margin-top: 96px; }
/* :where() deixa estas regras com prioridade zero: qualquer classe abaixo (ex.: botão com texto
   branco) vence, e o link do botão não fica azul-escuro ao passar o mouse. */
:where(a) { color: #2A63AC; }
:where(a:hover) { color: #1F3561; }
input:focus, select:focus, textarea:focus { outline: 3px solid #F2A65A; outline-offset: 1px; }

/* ===== Interações ===== */
.hp-nav a { color: #1F3561; text-decoration: none; font-weight: 700; padding: 10px 14px; border-radius: 999px; }
.hp-nav a:hover { background: #F2A65A; color: #1F3561; }
.hp-btn { transition: transform .15s ease, box-shadow .15s ease; }
.hp-btn:hover { transform: translateY(-2px); }
.hp-tile { transition: transform .2s ease; }
.hp-tile:hover { transform: scale(1.03) rotate(-1deg); }
.hp-fab { animation: hp-pulse 2.4s ease-in-out infinite; }
@keyframes hp-pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(31,53,97,.35), 0 0 0 0 rgba(242,166,90,.9); }
  50% { box-shadow: 0 8px 24px rgba(31,53,97,.35), 0 0 0 14px rgba(242,166,90,0); }
}

/* ===== Compartilhado ===== */
.hp-comum-section-1 {
  padding: 96px 24px;
}
.hp-comum-div-1 {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.hp-comum-div-2 {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 720px;
}
.hp-comum-span {
  color: #2A63AC;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 14px;
}
.hp-comum-h2 {
  margin: 0;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 1.1;
}
.hp-comum-p-1 {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
}
.hp-comum-div-3 {
  background: #FFFFFF;
  border: 3px solid #1F3561;
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 8px 8px 0 #F2A65A;
}
.hp-comum-div-4 {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: #DCEEFB;
  color: #2A63AC;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hp-comum-h3 {
  margin: 0;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 26px;
}
.hp-comum-p-2 {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}
.hp-comum-a {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  background: #2A63AC;
  color: #FFFFFF;
  border-radius: 999px;
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
}
.hp-comum-section-2 {
  padding: 96px 24px;
  background: #DCEEFB;
}
.hp-comum-p-3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}

/* ===== Cabeçalho ===== */
.hp-cabecalho-div-1 {
  width: 100%;
  min-height: 100%;
  background: #F6E7C8;
  position: relative;
  box-sizing: border-box;
}
.hp-cabecalho-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #F6E7C8;
  border-bottom: 3px solid #F2A65A;
}
.hp-cabecalho-div-2 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.hp-cabecalho-a-1 {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.hp-cabecalho-img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: block;
}
.hp-cabecalho-span {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 26px;
  color: #2A63AC;
}
.hp-cabecalho-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  font-size: 16px;
}
.hp-cabecalho-a-2 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  background: #2A63AC;
  color: #FFFFFF;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

/* ===== Início (hero) ===== */
.hp-inicio-section {
  background: #8EC8F2;
  position: relative;
  overflow: hidden;
}
.hp-inicio-div-1 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 88px 24px 104px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.hp-inicio-div-2 {
  flex: 1 1 480px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hp-inicio-span-1 {
  align-self: flex-start;
  background: #1F3561;
  color: #F2A65A;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 999px;
}
.hp-inicio-h1 {
  margin: 0;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 68px;
  line-height: 1.02;
  color: #1F3561;
}
.hp-inicio-span-2 {
  color: #1F3561;
  text-decoration: underline;
  text-decoration-color: #F2A65A;
  text-decoration-thickness: 10px;
  text-underline-offset: 6px;
}
.hp-inicio-p {
  margin: 0;
  font-size: 20px;
  line-height: 1.55;
  max-width: 520px;
  color: #1F3561;
}
.hp-inicio-a-1 {
  color: #1F3561;
  font-weight: 800;
  text-decoration: underline;
}
.hp-inicio-div-3 {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hp-inicio-a-2 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 28px;
  background: #2A63AC;
  color: #FFFFFF;
  border-radius: 999px;
  font-weight: 800;
  font-size: 18px;
  text-decoration: none;
  box-shadow: 0 6px 0 #1F3561;
}
.hp-inicio-a-3 {
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  padding: 0 28px;
  background: #F6E7C8;
  color: #1F3561;
  border: 3px solid #1F3561;
  border-radius: 999px;
  font-weight: 800;
  font-size: 18px;
  text-decoration: none;
  box-sizing: border-box;
}
.hp-inicio-div-4 {
  flex: 0 1 480px;
  display: flex;
  justify-content: center;
  position: relative;
}
/* Logo do hero: direto sobre o azul-céu (assets/logo-hero.webp, 883×572, fundo transparente). */
.hp-inicio-logo {
  display: block;
  width: 100%;
  height: auto;
}
.hp-inicio-svg {
  display: block;
  width: 100%;
  height: 60px;
  position: absolute;
  bottom: -1px;
  left: 0;
}

/* ===== Banho ===== */
.hp-banho-div {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

/* ===== Tosa ===== */
.hp-tosa-div-1 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}
.hp-tosa-div-2 {
  background: #2A63AC;
  color: #FFFFFF;
  border-radius: 32px;
  padding: 44px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.hp-tosa-div-3 {
  display: flex;
  align-items: center;
  gap: 16px;
}
.hp-tosa-div-4 {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #F2A65A;
  color: #1F3561;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hp-tosa-h3 {
  margin: 0;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 34px;
}
.hp-tosa-div-5 {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
}
.hp-tosa-div-6 {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hp-tosa-span-1 {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #F2A65A;
  flex-shrink: 0;
}
.hp-tosa-a-1 {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  background: #F2A65A;
  color: #1F3561;
  border-radius: 999px;
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
}
.hp-tosa-div-7 {
  background: #F2A65A;
  color: #1F3561;
  border-radius: 32px;
  padding: 44px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border: 3px solid #1F3561;
}
.hp-tosa-div-8 {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #1F3561;
  color: #F2A65A;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hp-tosa-span-2 {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2A63AC;
  flex-shrink: 0;
}
.hp-tosa-a-2 {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  background: #1F3561;
  color: #F2A65A;
  border-radius: 999px;
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
}

/* ===== Táxi Dog ===== */
.hp-taxi-section {
  padding: 96px 24px;
  background: #1F3561;
  color: #FFFFFF;
}
.hp-taxi-div-1 {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px;
}
.hp-taxi-div-2 {
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.hp-taxi-span-1 {
  color: #F2A65A;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 14px;
}
.hp-taxi-p {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: #DCEEFB;
}
.hp-taxi-a {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 28px;
  background: #F2A65A;
  color: #1F3561;
  border-radius: 999px;
  font-weight: 800;
  font-size: 18px;
  text-decoration: none;
}
.hp-taxi-div-3 {
  flex: 1 1 480px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}
.hp-taxi-div-4 {
  background: #2A63AC;
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hp-taxi-span-2 {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 44px;
  color: #F6E7C8;
  line-height: 1;
}
.hp-taxi-h3 {
  margin: 0;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 22px;
}
.hp-taxi-div-5 {
  background: #F2A65A;
  color: #1F3561;
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hp-taxi-span-3 {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 44px;
  color: #2A63AC;
  line-height: 1;
}

/* ===== Veterinária ===== */
.hp-veterinaria-div-1 {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 720px;
}
.hp-veterinaria-div-2 {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hp-veterinaria-span {
  display: inline-flex;
  align-items: center;
  background: #1F3561;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .04em;
  padding: 8px 16px;
  border-radius: 999px;
}
.hp-veterinaria-div-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 800px;
}

/* ===== Instagram ===== */
.hp-instagram-div-1 {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.hp-instagram-div-2 {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.hp-instagram-div-3 {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 640px;
}
.hp-instagram-a-1 {
  font-weight: 800;
}
.hp-instagram-a-2 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  background: #1F3561;
  color: #FFFFFF;
  border-radius: 999px;
  font-weight: 800;
  font-size: 17px;
  text-decoration: none;
}
.hp-instagram-div-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 16px;
}
.hp-instagram-div-5 {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  background: #F2A65A;
  color: #1F3561;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border: 3px solid #1F3561;
}
.hp-instagram-span {
  font-size: 13px;
  font-weight: 800;
}
.hp-instagram-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hp-instagram-div-6 {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  background: #2A63AC;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border: 3px solid #1F3561;
}
.hp-instagram-div-7 {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  background: #1F3561;
  color: #F2A65A;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border: 3px solid #1F3561;
}
.hp-instagram-div-8 {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  background: #DCEEFB;
  color: #2A63AC;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border: 3px solid #1F3561;
}
.hp-instagram-div-9 {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  background: #2A63AC;
  color: #F2A65A;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border: 3px solid #1F3561;
}

/* ===== Contato e formulário ===== */
.hp-contato-section {
  padding: 96px 24px;
  background: #8EC8F2;
}
.hp-contato-div-1 {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
}
.hp-contato-div-2 {
  flex: 1 1 380px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hp-contato-div-3 {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hp-contato-span-1 {
  color: #1F3561;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 14px;
}
.hp-contato-div-4 {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hp-contato-a-1 {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #F6E7C8;
  border: 3px solid #1F3561;
  border-radius: 20px;
  padding: 18px 22px;
  text-decoration: none;
  color: #1F3561;
}
.hp-contato-span-2 {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #2A63AC;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hp-contato-span-3 {
  display: flex;
  flex-direction: column;
}
.hp-contato-span-4 {
  font-size: 14px;
  font-weight: 700;
}
.hp-contato-span-5 {
  font-size: 20px;
  font-weight: 800;
}
.hp-contato-div-5 {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #F6E7C8;
  border: 3px solid #1F3561;
  border-radius: 20px;
  padding: 18px 22px;
}
.hp-contato-span-6 {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #1F3561;
  color: #F2A65A;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hp-contato-span-7 {
  font-size: 18px;
  font-weight: 800;
}
.hp-contato-span-8 {
  font-size: 16px;
  font-weight: 600;
}
.hp-contato-span-9 {
  font-size: 14px;
  font-weight: 700;
  margin-top: 4px;
}
.hp-contato-form {
  flex: 1 1 440px;
  background: #FFFFFF;
  border: 3px solid #1F3561;
  border-radius: 32px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 12px 12px 0 #2A63AC;
  box-sizing: border-box;
}
.hp-contato-h3 {
  margin: 0;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 30px;
}
.hp-contato-div-6 {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hp-contato-label {
  font-weight: 800;
  font-size: 15px;
}
.hp-contato-input {
  min-height: 52px;
  padding: 0 16px;
  border: 2px solid #1F3561;
  border-radius: 14px;
  font: inherit;
  font-size: 17px;
  color: #1F3561;
  background: #F6E7C8;
  box-sizing: border-box;
}
.hp-contato-textarea {
  padding: 14px 16px;
  border: 2px solid #1F3561;
  border-radius: 14px;
  font: inherit;
  font-size: 17px;
  color: #1F3561;
  background: #F6E7C8;
  resize: vertical;
  box-sizing: border-box;
}
.hp-contato-a-2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 28px;
  background: #2A63AC;
  color: #FFFFFF;
  border-radius: 999px;
  font-weight: 800;
  font-size: 18px;
  text-decoration: none;
  box-shadow: 0 6px 0 #1F3561;
}

/* ===== Rodapé e botão do WhatsApp ===== */
.hp-rodape-footer {
  background: #1F3561;
  color: #DCEEFB;
  padding: 48px 24px 120px;
}
.hp-rodape-div-1 {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.hp-rodape-div-2 {
  display: flex;
  align-items: center;
  gap: 14px;
}
.hp-rodape-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: block;
}
.hp-rodape-div-3 {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hp-rodape-span-1 {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: #F2A65A;
}
.hp-rodape-span-2 {
  font-size: 14px;
}
.hp-rodape-p {
  margin: 0;
  font-size: 14px;
  max-width: 460px;
  line-height: 1.6;
}
.hp-rodape-strong {
  color: #F2A65A;
}
/* Crédito do desenvolvedor: linha própria no fim do rodapé, na largura do conteúdo. */
.hp-rodape-credito {
  max-width: 1200px;
  margin: 32px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(220, 238, 251, .25);
  font-size: 13px;
  text-align: center;
}
.hp-rodape-credito-link {
  color: #F2A65A;
  font-weight: 700;
  text-decoration: none;
}
.hp-rodape-credito-link:hover {
  text-decoration: underline;
}
.hp-rodape-a {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #2A63AC;
  color: #FFFFFF;
  border: 4px solid #F2A65A;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  text-decoration: none;
}

/* ===== Movimento reduzido ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hp-fab { animation: none; }
  .hp-btn, .hp-tile { transition: none; }
}

/* ===== Celular =====
   O !important continua aqui de propósito: estas regras precisam vencer as classes acima
   (valores de desktop) sem depender da ordem nem da especificidade. */
@media (max-width: 640px) {
  h1 { font-size: 44px !important; }
  h2 { font-size: 34px !important; }
  section { padding-top: 64px !important; padding-bottom: 64px !important; }
  #inicio > div { padding-top: 48px !important; padding-bottom: 72px !important; }
  #hp-form { padding: 28px !important; }
  .hp-nav { display: none !important; }
  header > div { flex-wrap: nowrap !important; }
}
