:root {
  --teal: #2a524f;
  --teal-deep: #234643;
  --title: #2c6a62;
  --orange: #b45a23;
  --orange-deep: #9c4e1e;
  --green-soft: #d7e6df;
  --green-leaf: #3f8f6e;
  --bg: #f6f3ee;
  --white: #fffcf9;
  --ink: #243330;
  --muted: #4d5c59;
  --line: #e4ddd4;
  --header: 104px;
  --content: 1120px;
  --shadow: 0 10px 28px rgba(36, 51, 48, 0.06);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--teal);
  color: white;
  padding: 8px 12px;
  z-index: 30;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(var(--content), calc(100% - 48px));
  margin-inline: auto;
}

.rule {
  display: block;
  width: 46px;
  height: 3px;
  border-radius: 99px;
  background: var(--orange);
}

h1,
h2,
h3,
p {
  margin: 0;
}

section[id] {
  scroll-margin-top: calc(var(--header) + 16px);
}

h1,
h2 {
  color: var(--title);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

h2 {
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 600;
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
}

.section-head h2 {
  display: flex;
  align-items: center;
  gap: 16px;
}

.side-line {
  width: 36px;
  height: 2px;
  background: var(--orange);
  display: inline-block;
}

/* Header */

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: auto;
  background: var(--white);
  border-bottom: 1px solid rgba(42, 82, 79, 0.06);
}

.header-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 12px;
  row-gap: 12px;
  width: min(1152px, 100%);
  min-height: 96px;
  margin-inline: auto;
  padding: 12px 16px;
}

.header-actions {
  display: contents;
}

.logo {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: center;
  min-width: 0;
  justify-self: start;
  text-decoration: none;
}

.logo:focus-visible,
.nav a:focus-visible,
.btn-system:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid #df6500;
  outline-offset: 4px;
}

.logo-mark {
  display: flex;
  width: 192px;
  flex: none;
  flex-direction: column;
  align-items: center;
}

.logo-paw {
  width: 43px;
  height: 32px;
  flex: none;
}

.logo-word {
  width: 148px;
  height: 40px;
  flex: none;
}

.logo-sub {
  margin-top: 4px;
  white-space: nowrap;
  text-align: center;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.4px;
  color: #154f4c;
}

.nav {
  display: none;
}

.nav.is-open {
  display: flex;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 20;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 8px 16px 18px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #142c2b;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  text-underline-offset: 8px;
}

.nav a:hover {
  text-decoration: underline;
  text-decoration-color: #ff7c10;
}

.nav.is-open a {
  width: 100%;
}

.btn-system {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  width: auto;
  justify-self: start;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid #005c56;
  border-radius: 999px;
  color: #005c56;
  background: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
}

.btn-system svg {
  width: 20px;
  height: 20px;
  flex: none;
}

.btn-system:hover,
.btn-system:focus-visible {
  background: #edf4f1;
  color: #005c56;
}

.btn-system[aria-disabled="true"] {
  cursor: default;
}

.nav-toggle {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid #dce6e2;
  border-radius: 6px;
  background: transparent;
  color: #005c56;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

@media (min-width: 768px) {
  .header-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    column-gap: 20px;
    row-gap: 8px;
    padding: 8px 24px;
  }

  .header-actions {
    display: flex;
    position: relative;
    align-items: center;
    gap: 12px;
    margin-left: 0;
  }

  .nav,
  .nav.is-open {
    display: flex;
    position: static;
    align-items: center;
    gap: 32px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .nav a {
    width: auto;
  }

  .btn-system {
    width: auto;
    min-height: 44px;
    justify-self: auto;
    justify-content: flex-start;
    padding: 8px 16px;
    font-size: 12px;
  }

  .nav-toggle {
    display: none;
  }
}

@media (min-width: 1024px) {
  .header-inner {
    padding-inline: 32px;
  }
}

/* Hero */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-start;
  min-height: 0;
  background: #f7f5f2;
  overflow: hidden;
}

.hero-bg {
  order: 2;
  display: block;
  width: 100%;
  height: 256px;
  object-fit: cover;
  object-position: right center;
}

@media (min-width: 640px) {
  .hero-bg {
    height: 320px;
  }
}

@media (min-width: 768px) {
  .hero-bg {
    position: absolute;
    inset: 0;
    z-index: -10;
    height: 100%;
    object-position: center center;
  }
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 80px));
  margin-inline: auto;
  padding: 48px 0 116px;
}

.hero-line {
  display: block;
  white-space: nowrap;
}

.hero h1 {
  font-size: 32px;
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: -1.1px;
  color: #005d58;
  max-width: none;
}

.hero h1 strong {
  font-weight: 600;
}

.hero-rule {
  width: 80px;
  height: 4px;
  margin: 12px 0 20px;
  background: #ff7c10;
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 38px;
  }
}

.hero p {
  margin-top: 0;
  max-width: 430px;
  color: #4a5552;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 11px 18px;
  background: #c56a2c;
  color: white;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
}

.btn-whatsapp svg {
  width: 18px;
  height: 18px;
}

.btn-whatsapp:hover,
.btn-whatsapp:focus-visible {
  background: var(--orange-deep);
}

.curve {
  position: absolute;
  bottom: 0;
  z-index: 2;
  display: block;
  pointer-events: none;
}

.curve-teal {
  left: 0;
  width: 38%;
  height: auto;
}

.curve-orange {
  right: 0;
  width: 18%;
  height: auto;
}

/* Sobre */

.sobre {
  position: relative;
  padding: 32px 0;
}

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

.sobre-photo {
  position: relative;
  overflow: hidden;
  height: 288px;
  border-radius: 16px;
  background: #e8eeeb;
}

.sobre-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sobre-copy {
  position: relative;
}

.sobre-copy h2 {
  position: relative;
  z-index: 1;
  font-size: 30px;
  font-weight: 600;
  line-height: 36px;
  letter-spacing: -0.025em;
  color: #005c56;
}

.sobre-nome {
  color: #00887d;
}

.sobre-copy .rule {
  width: 80px;
  height: 4px;
  margin: 12px 0 20px;
  border-radius: 0;
  background: #ff7c10;
}

.sobre-copy p + p {
  margin-top: 20px;
}

.sobre-copy p {
  color: #1f2c2d;
  font-size: 16px;
  line-height: 1.625;
  max-width: none;
  position: relative;
  z-index: 1;
}

.paw-mark {
  position: absolute;
  right: -12px;
  top: -16px;
  width: 96px;
  height: 96px;
  color: #e3eeea;
  z-index: 0;
  pointer-events: none;
}

@media (min-width: 768px) {
  .sobre-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

  .sobre-copy h2 {
    font-size: 36px;
  }
}

@media (min-width: 1024px) {
  .sobre-photo {
    height: 300px;
  }
}

/* Exames */

.exames {
  padding: 4px 0 36px;
}

.exames-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-bottom: 20px;
}

.exames-head h2 {
  text-align: center;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: #005c56;
}

.exames-line {
  display: none;
  height: 1px;
  flex: 1;
  background: #f18437;
}

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.card {
  display: flex;
  min-height: 112px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 12px;
  border: 1px solid #dedbd5;
  border-radius: 12px;
  background: #faf9f6;
  color: #005c56;
  text-align: center;
}

.card svg {
  width: 44px;
  height: 44px;
  flex: none;
}

.card h3 {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: inherit;
}

@media (min-width: 420px) {
  .cards {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 640px) {
  .exames-line {
    display: block;
  }
}

@media (min-width: 768px) {
  .exames-head h2 {
    font-size: 34px;
  }

  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .card h3 {
    font-size: 18px;
    line-height: 1.75;
  }
}

/* Estrutura */

.estrutura {
  padding: 8px 0 40px;
}

.estrutura-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

.estrutura h2 {
  font-size: 30px;
  font-weight: 600;
  line-height: 36px;
  letter-spacing: -0.025em;
  color: #005c56;
}

.estrutura .rule {
  width: 80px;
  height: 4px;
  margin: 12px 0 20px;
  border-radius: 0;
  background: #ff7c10;
}

.estrutura p {
  max-width: 320px;
  color: #1f2c2d;
  font-size: 16px;
  line-height: 1.625;
}

.galeria {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.galeria-foto {
  position: relative;
  overflow: hidden;
  height: 240px;
  border-radius: 16px;
  background: #e8eeeb;
}

.galeria img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.galeria-sala {
  object-position: center 58%;
}

.galeria-recepcao {
  object-position: center 46%;
}

.galeria-lab {
  object-position: center;
}

@media (min-width: 640px) {
  .galeria {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .estrutura-grid {
    grid-template-columns: 0.95fr 2.4fr;
  }

  .galeria-foto {
    height: 224px;
  }
}

/* Contato */

.contato {
  padding: 4px 0 64px;
}

.contato-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

.contato h2 {
  font-size: 30px;
  font-weight: 600;
  line-height: 36px;
  color: #005c56;
}

.contato .rule {
  width: 80px;
  height: 4px;
  margin: 12px 0 20px;
  border-radius: 0;
  background: #ff7c10;
}

.contato-dados {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  color: #1f2c2d;
  font-size: 14px;
  font-style: normal;
  line-height: 1.625;
}

.contato-linha {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  color: inherit;
  text-decoration: none;
}

.contato-link {
  align-items: center;
  min-height: 44px;
}

.contato-linha svg {
  width: 28px;
  height: 28px;
  flex: none;
  color: #c95900;
}

.contato-link:focus-visible,
.social a:focus-visible {
  outline: 2px solid #df6500;
  outline-offset: 4px;
}

.social {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 0 0;
  border-top: 1px solid #e8a36d;
  color: #1f2c2d;
}

.social a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: inherit;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
}

.social svg {
  width: 28px;
  height: 28px;
  flex: none;
}

.contato-mapa {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #1f2c2d;
  font-size: 14px;
  line-height: 1.625;
}

.contato-endereco {
  justify-content: center;
  margin: 0;
  text-align: center;
}

.mapa {
  width: 100%;
  height: 208px;
  border: 1px solid #d4dad6;
  border-radius: 12px;
  background: #e7e2da;
}

@media (min-width: 768px) {
  .contato-grid {
    grid-template-columns: 0.75fr 1.15fr 1.3fr;
  }

  .social {
    padding: 0 0 0 28px;
    border-top: 0;
    border-left: 1px solid #e8a36d;
    transform: translateY(36px);
  }
}

/* Footer */

.footer {
  position: relative;
  isolation: isolate;
  background: var(--teal);
  color: white;
  overflow: hidden;
}

.footer-swoosh {
  display: none;
  pointer-events: none;
  position: absolute;
  right: -56px;
  top: -96px;
  z-index: -10;
  width: 384px;
  height: 128px;
  border-radius: 50%;
  border-bottom: 12px solid #ff7c10;
  background: #00857a;
  transform: rotate(-12deg);
}

@media (min-width: 768px) {
  .footer-swoosh {
    display: block;
  }
}

.footer-inner {
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: min(1152px, 100%);
  min-height: 160px;
  margin-inline: auto;
  padding: 32px 24px;
  text-align: center;
}

.footer-mark {
  display: flex;
  width: 192px;
  flex: none;
  flex-direction: column;
  align-items: center;
}

.footer-paw {
  width: 43px;
  height: 32px;
  flex: none;
}

.footer-word {
  width: 148px;
  height: 40px;
  flex: none;
}

.footer-sub {
  margin-top: 4px;
  white-space: nowrap;
  text-align: center;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.4px;
  color: white;
}

.footer-frase {
  width: 100%;
  max-width: 288px;
  margin: 0;
  padding: 16px 8px;
  border-top: 1px solid #6b9d93;
  border-bottom: 1px solid #6b9d93;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.625;
}

@media (min-width: 768px) {
  .footer-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    padding: 28px 24px;
  }

  .footer-mark {
    justify-self: start;
  }

  .footer-frase {
    width: auto;
    max-width: none;
    padding: 20px 28px;
    border-top: 0;
    border-bottom: 0;
    border-left: 1px solid #a4cbc3;
    border-right: 1px solid #a4cbc3;
    line-height: 1.5;
    justify-self: center;
  }
}

@media (min-width: 1024px) {
  .footer-inner {
    padding-inline: 32px;
  }
}

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
  }

  .hero-copy {
    order: 1;
    width: min(640px, calc(100% - 32px));
    margin: 0 auto;
    padding: 40px 0 116px;
  }

  .hero-line {
    white-space: normal;
  }

  .curve-teal {
    width: 58%;
  }

  .curve-orange {
    width: 26%;
  }
}

@media (max-width: 767px) {
  :root {
    --header: 169px;
  }

  .hero-copy {
    padding: 32px 0 24px;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(100% - 32px, var(--content));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
