:root {
  --blue: #073a72;
  --blue-deep: #04366c;
  --green: #388c2e;
  --green-soft: #52aa36;
  --white: #ffffff;
  --text: #303030;
  --container: 1170px;
  --hero-height: 700px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: #fff;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(calc(100% - 32px), var(--container)); margin-inline: auto; }

.site-header {
  width: 100%;
  height: 176px;
  background: #fff;
  position: relative;
  z-index: 30;
}
.header-container { height: 100%; position: relative; }
.brand { position: absolute; top: 18px; left: 0; width: 350px; }
.brand img { width: 350px; height: auto; }
.site-nav {
  position: absolute;
  right: 0;
  top: 65px;
  display: flex;
  align-items: center;
  gap: 34px;
  height: 42px;
}
.site-nav > a:not(.contact-button) {
  position: relative;
  height: 42px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-size: 12.5px;
  line-height: 1;
  font-weight: 500;
  text-transform: uppercase;
  color: #1c1c1c;
  transition: color .2s ease;
}
.site-nav > a:not(.contact-button)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--green-soft);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}
.site-nav > a:not(.contact-button):hover,
.site-nav > a:not(.contact-button).active { color: #3f8d2f; }
.site-nav > a:not(.contact-button):hover::after,
.site-nav > a:not(.contact-button).active::after { transform: scaleX(1); }
.contact-button {
  margin-left: 12px;
  min-width: 144px;
  height: 42px;
  padding: 0 18px;
  border-radius: 6px;
  background: var(--blue-deep);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(2, 43, 86, .18);
  transition: transform .2s ease, background .2s ease;
}
.contact-button svg { width: 15px; height: 15px; fill: #fff; }
.contact-button:hover { transform: translateY(-1px); background: #0a4c8f; }
.menu-toggle { display: none; }

.hero-section {
  width: 100%;
  height: var(--hero-height);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.hero-half {
  position: relative;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
.hero-half::after {
  content: "";
  position: absolute;
  inset: 0;
}
.hero-half-left {
  background-image: url("../img/hero-left-fullscreen.png");
}
.hero-half-left::after {
  background: linear-gradient(0deg, rgba(34, 86, 22, .54), rgba(34, 86, 22, .54));
}
.hero-half-right {
  background-image: url("../img/hero-right-fullscreen-left-animals.png");
  background-position: center left;
}
.hero-half-right::after {
  background: linear-gradient(90deg, rgba(18, 69, 145, .76) 0%, rgba(23, 76, 151, .66) 45%, rgba(30, 85, 162, .58) 100%);
}
.hero-divider {
  position: absolute;
  left: 50%;
  top: 0;
  width: 1px;
  height: 100%;
  transform: translateX(-50%);
  background: rgba(255,255,255,.7);
  z-index: 1;
}
.hero-container {
  position: relative;
  z-index: 2;
  height: 100%;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 210px 1fr;
  align-items: center;
  height: 100%;
}
.hero-center {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 4;
}
.hero-center img {
  width: 184px;
  height: 184px;
  object-fit: contain;
  filter: drop-shadow(0 10px 25px rgba(0,0,0,.18));
  background: transparent;
}
.hero-content {
  color: #fff;
  position: relative;
  z-index: 3;
  max-width: 350px;
}
.hero-content-left { justify-self: start; transform: translateX(18px); }
.hero-content-right { justify-self: end; text-align: left; transform: translateX(-18px); }
.hero-content h1,
.hero-content h2 {
  margin: 0 0 18px;
  font-size: 48px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: .4px;
  text-transform: uppercase;
}
.hero-content p {
  margin: 0 0 34px;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 500;
}
.hero-cta {
  width: 292px;
  min-height: 70px;
  border: 2px solid rgba(255,255,255,.85);
  border-radius: 12px;
  display: grid;
  grid-template-columns: 48px 1fr 18px;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  color: #fff;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.35;
  backdrop-filter: blur(2px);
  background: rgba(255,255,255,.04);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.hero-cta:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.09);
  box-shadow: 0 12px 24px rgba(0,0,0,.12);
}
.hero-cta-icon {
  width: 40px; height: 40px;
  border-radius: 999px;
  background: rgba(255,255,255,.95);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hero-cta-icon.environmental svg { fill: #3d8f2e; }
.hero-cta-icon.veterinary svg { fill: #0d4789; }
.hero-cta-icon svg { width: 22px; height: 22px; }
.hero-cta-arrow { font-size: 28px; line-height: 1; }
.hero-content h1,
.hero-content h2,
.hero-content p { text-shadow: 0 2px 16px rgba(0,0,0,.22); }

.institutional-section { width: 100%; background: #fff; }
.institutional-container { min-height: 609px; padding-top: 50px; padding-bottom: 39px; }
.section-block { text-align: center; }
.section-block h1,
.section-block h2 {
  margin: 0;
  color: var(--blue);
  font-size: 30px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: .2px;
  text-transform: uppercase;
}
.accent-line {
  display: block;
  width: 46px;
  height: 2px;
  background: #58aa3c;
  margin: 13px auto 19px;
}
.about p { margin: 0; font-size: 15px; line-height: 1.75; color: #333; }
.differentials { margin-top: 55px; width: 100%; }
.differentials h2,
.differentials > .accent-line { position: relative; top: 7px; }
.differentials .accent-line { margin-bottom: 22px; }
.differential-grid {
  width: 100%;
  max-width: none;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.differential-card {
  width: 100%;
  min-height: 272px;
  border: 1px solid #ededed;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .055);
  padding: 21px 11px 17px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform .18s ease, box-shadow .18s ease;
}
.differential-card:hover { transform: translateY(-3px); box-shadow: 0 7px 18px rgba(0, 0, 0, .085); }
.icon-wrap {
  height: 99px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.feature-icon-svg {
  width: 76px;
  height: 76px;
  color: currentColor;
}
.differential-card.green .feature-icon-svg { color: #3a8a2c; }
.differential-card.blue .feature-icon-svg { color: #0c4a8c; }
.differential-card h3 { margin: 9px 0 8px; font-size: 15px; line-height: 1.25; font-weight: 700; text-transform: uppercase; }
.differential-card.green h3 { color: #38842d; }
.differential-card.blue h3 { color: #064789; }
.differential-card p { margin: 0; font-size: 13px; line-height: 1.65; color: #3b3b3b; }

.footer-main-section { width: 100%; background: #f9f9fb; }
.footer-container {
  min-height: 225px;
  padding: 40px 18px 32px;
  display: grid;
  grid-template-columns: 330px 1fr 1fr;
  gap: 34px;
  align-items: start;
}
.footer-brand img { width: 290px; height: auto; }
.footer-column { padding-top: 6px; }
.footer-column h3 {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 15px;
  line-height: 1.2;
  font-weight: 700;
  text-transform: uppercase;
}
.footer-line {
  min-height: 24px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.55;
  color: #414141;
}
.footer-line + .footer-line { margin-top: 4px; }
.footer-line svg { flex: 0 0 15px; width: 15px; height: 15px; margin-top: 2px; fill: var(--blue); }
.footer-hours p { margin: 0; font-size: 11.5px; line-height: 1.58; color: #414141; }
.footer-hours .follow-label { margin-top: 16px; }
.socials { display: flex; gap: 13px; margin-top: 8px; }
.social {
  width: 29px; height: 29px;
  border: 1.5px solid #6f92b4;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0a4c8f;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
}
.social.instagram svg { width: 15px; height: 15px; }
.social.instagram rect,
.social.instagram circle { fill: none; stroke: #0a4c8f; stroke-width: 2; }
.social.instagram .dot { fill: #0a4c8f; stroke: none; }
.footer-bottom-section { width: 100%; background: #012854; }
.footer-bottom {
  min-height: 44px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11.5px;
}

@media (max-width: 980px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .site-nav { gap: 24px; }
  .brand { left: 0; }
  .hero-grid { grid-template-columns: 1fr 166px 1fr; }
  .hero-center img { width: 138px; height: 138px; }
}

@media (max-width: 820px) {
  .site-header { height: 92px; position: sticky; top: 0; box-shadow: 0 1px 7px rgba(0, 0, 0, .08); }
  .header-container { display: flex; align-items: center; }
  .brand { position: static; width: 230px; }
  .brand img { width: 230px; }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    position: absolute;
    right: 0;
    top: 28px;
    width: 36px; height: 36px;
    border: 0; background: transparent; padding: 6px;
  }
  .menu-toggle span { width: 24px; height: 2px; background: var(--blue); transition: transform .2s ease, opacity .2s ease; }
  .menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav {
    position: absolute;
    top: 92px; left: -14px; right: -14px;
    height: auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 18px 18px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
  }
  .site-nav.open { display: flex; }
  .site-nav > a:not(.contact-button) { height: 45px; font-size: 14px; }
  .site-nav > a:not(.contact-button)::after { right: auto; width: 42px; }
  .contact-button { margin: 9px 0 0; width: 100%; height: 44px; font-size: 13.5px; }

  .hero-section { height: auto; }
  .hero-bg { display: none; }
  .hero-container { padding-block: 0; }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 0;
    position: relative;
    background: linear-gradient(180deg, rgba(26,82,32,.58), rgba(24,73,133,.4)), url("../img/hero-right-fullscreen-left-animals.png") center center / cover no-repeat;
    border-bottom: 1px solid rgba(255,255,255,.1);
    padding: 40px 18px 32px;
  }
  .hero-grid::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(16,54,22,.52) 0%, rgba(10,52,104,.52) 100%), url("../img/hero-left-fullscreen.png") center center / cover no-repeat;
    mix-blend-mode: soft-light;
    z-index: 0;
  }
  .hero-grid > * { position: relative; z-index: 1; }
  .hero-center { order: -1; margin-bottom: 26px; }
  .hero-center img { width: 136px; height: 136px; }
  .hero-content,
  .hero-content-left,
  .hero-content-right { max-width: 100%; justify-self: auto; transform: none; text-align: left; }
  .hero-content-right { margin-top: 34px; }
  .hero-content h1,
  .hero-content h2 { font-size: 38px; margin-bottom: 14px; }
  .hero-content p { font-size: 16px; margin-bottom: 22px; }
  .hero-cta { width: min(100%, 285px); }

  .institutional-container { min-height: 0; padding-top: 44px; padding-bottom: 38px; }
  .section-block h1, .section-block h2 { font-size: 27px; }
  .about p { font-size: 13px; }
  .desktop-only { display: none; }
  .differentials { margin-top: 52px; }
  .differential-grid { width: 100%; max-width: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .footer-container { min-height: 0; padding: 32px 10px; grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand img { width: 245px; }
}

@media (max-width: 520px) {
  .container { width: calc(100% - 24px); }
  .site-header { height: 82px; }
  .brand { width: 198px; }
  .brand img { width: 198px; }
  .menu-toggle { top: 23px; }
  .site-nav { top: 82px; left: -12px; right: -12px; }
  .hero-grid { padding: 34px 12px 28px; }
  .hero-content h1, .hero-content h2 { font-size: 33px; }
  .hero-cta { width: 100%; }
  .section-block h1, .section-block h2 { font-size: 24px; }
  .differential-grid { grid-template-columns: 1fr; }
  .differential-card { min-height: 238px; }
  .footer-container { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { min-height: 48px; text-align: center; padding: 10px 0; }
}

.footer-bottom {
  justify-content: space-between;
  gap: 24px;
}
.footer-bottom .legal-links {
  color: rgba(255,255,255,.9);
}
@media (max-width: 620px) {
  .footer-bottom {
    flex-direction: column;
    justify-content: center;
    gap: 7px;
  }
}


/* Rodapé v29: apenas rotas e contatos realmente existentes */
.footer-container-clean {
  grid-template-columns: 330px 220px 1fr;
  gap: 52px;
}
.footer-links a {
  display: block;
  margin-bottom: 12px;
  color: #414141;
  font-size: 13.5px;
  line-height: 1.5;
}
.footer-links a:hover {
  color: var(--blue);
}
@media (max-width: 820px) {
  .footer-container-clean {
    grid-template-columns: 1fr 1fr;
  }
  .footer-container-clean .footer-brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 520px) {
  .footer-container-clean {
    grid-template-columns: 1fr;
  }
  .footer-container-clean .footer-brand {
    grid-column: auto;
  }
}


/* v33 - portal icons via individual transparent PNG assets */
.hero-cta-icon-img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}
.portal-feature-icon-img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  display: block;
}
.differential-card.green .portal-feature-icon-img,
.differential-card.blue .portal-feature-icon-img {
  filter: none;
}
@media (max-width: 820px) {
  .portal-feature-icon-img {
    width: 72px;
    height: 72px;
  }
}


/* v38 - ícone de Equipe refinado, sem corte e com proporção original */
.env-diff-icon-img,
.portal-feature-icon-img {
  object-fit: contain;
  object-position: center;
}

.contact-button svg {
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
