:root {
  --green-950: #052e1b;
  --green-900: #0a4327;
  --green-800: #0d562f;
  --green-700: #126838;
  --green-500: #5aba69;
  --green-100: #dfeade;
  --brown-950: #21150f;
  --brown-800: #3c261b;
  --brown-600: #6c5141;
  --ivory: #f7f4ed;
  --ivory-2: #eee9df;
  --white: #fffdf8;
  --ink: #1e1814;
  --muted: #706a64;
  --line: rgba(30, 24, 20, 0.14);
  --line-light: rgba(255, 255, 255, 0.18);
  --header-h: 92px;
  /* Onde a fotografia começa no hero. O painel claro ocupa o restante. */
  --hero-split: 45%;
  /* Respiro reservado na base do hero para a faixa de provas. */
  --proof-space: 152px;
  --shell: min(1440px, calc(100vw - 96px));
  --radius: 28px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

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

html {
  scroll-behavior: smooth;
  background: var(--ivory);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

::selection {
  color: var(--white);
  background: var(--green-700);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  color: white;
  background: var(--green-900);
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-160%);
}

.skip-link:focus-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  display: grid;
  grid-template-columns: 260px 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 0 48px;
  border-bottom: 1px solid rgba(30, 24, 20, 0.1);
  transition: height .45s var(--ease), background .45s var(--ease), box-shadow .45s var(--ease);
}

.site-header::after {
  content: "";
  position: absolute;
  right: 48px;
  bottom: -1px;
  width: 66px;
  height: 2px;
  background: var(--green-700);
}

.site-header.is-scrolled {
  height: 74px;
  background: rgba(247, 244, 237, 0.9);
  box-shadow: 0 12px 40px rgba(33, 21, 15, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  width: 214px;
  transition: width .35s var(--ease);
}

.site-header.is-scrolled .brand {
  width: 186px;
}

.brand img {
  width: 100%;
}

.desktop-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 54px);
}

.desktop-nav a {
  position: relative;
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 1px;
  background: var(--green-700);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s var(--ease);
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-family: "Manrope", sans-serif;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .08em;
  transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}

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

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-solid {
  color: var(--white);
  background: var(--green-800);
  box-shadow: 0 12px 28px rgba(13, 86, 47, 0.2);
}

.btn-solid:hover,
.btn-solid:focus-visible {
  background: var(--green-950);
  box-shadow: 0 16px 36px rgba(13, 86, 47, 0.28);
}

.btn-outline {
  color: var(--green-900);
  border-color: var(--green-800);
  background: rgba(247, 244, 237, 0.52);
}

.btn-dark {
  color: white;
  background: var(--brown-950);
}

.btn-cream {
  color: var(--green-950);
  background: var(--ivory);
}

.btn-large {
  min-height: 58px;
  padding: 0 30px;
  font-size: 12px;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition: transform .35s var(--ease);
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  z-index: 90;
  inset: 0;
  display: none;
  flex-direction: column;
  justify-content: center;
  padding: 120px 9vw 50px;
  color: white;
  background: var(--green-950);
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu__eyebrow {
  margin-bottom: 36px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .16em;
}

.mobile-menu nav {
  display: grid;
}

.mobile-menu nav a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-light);
  font-family: "Manrope", sans-serif;
  font-size: clamp(35px, 9vw, 56px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.04em;
}

.mobile-menu nav a span {
  color: var(--green-500);
  font-size: 11px;
  letter-spacing: .08em;
}

.mobile-menu__actions {
  display: grid;
  gap: 22px;
  margin-top: 36px;
}

.mobile-emergency {
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.7);
}

.hero {
  position: relative;
  min-height: 100svh;
  padding-top: var(--header-h);
  overflow: hidden;
  background: var(--ivory);
}

/*
 * A fotografia ocupa apenas a metade direita, começando abaixo do header e
 * terminando acima da faixa de provas. A elipse é ancorada na borda direita
 * com raio vertical maior que a altura da caixa, então só o trecho central
 * da curva aparece: a foto avança sobre o painel claro no meio da tela e
 * recua no topo e na base.
 */
.hero-media,
.hero-shade {
  position: absolute;
  z-index: 1;
  top: var(--header-h);
  right: 0;
  bottom: var(--proof-space);
  left: var(--hero-split);
  -webkit-clip-path: ellipse(100% 150% at 100% 50%);
  clip-path: ellipse(100% 150% at 100% 50%);
}

/*
 * Enquadramento pensado para a caixa estreita da metade direita: mantém
 * cão, veterinária e gato inteiros. Em 64% o gato ficava cortado na borda.
 */
.hero-media img,
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 84% center;
}

/*
 * O vídeo de 1920×1080 já traz a composição pronta: sala em tela cheia e, no
 * fim, o painel creme entrando pela esquerda com a curva côncava em 47,6% da
 * largura. Ele ocupa o hero inteiro e dispensa o recorte do CSS — aplicar os
 * dois mostrava o painel do próprio vídeo dentro da nossa curva, como uma
 * faixa pálida entre a copy e a fotografia.
 */
.hero-media--video {
  left: 0;
  -webkit-clip-path: none;
  clip-path: none;
}

.hero-media--video video {
  object-position: center;
}

/*
 * O creme do vídeo é #f2f1ec e o do site é #f7f4ed. Igualar o fundo do hero
 * evita a emenda horizontal onde o vídeo termina e a faixa de provas começa.
 */
.hero:has(.hero-media--video) {
  background: #f2f1ec;
}

/* O respiro fica só na versão em imagem; com vídeo o movimento é o próprio. */
.hero-media img {
  animation: heroBreath 15s ease-in-out infinite alternate;
}

@keyframes heroBreath {
  from { transform: scale(1.01); }
  to { transform: scale(1.055); }
}

/* Suaviza a entrada da curva da foto no creme, sem cobrir os animais. */
.hero-shade {
  z-index: 2;
  background: linear-gradient(90deg, rgba(247, 244, 237, .42) 0%, rgba(247, 244, 237, 0) 24%);
}

/*
 * A largura acompanha o corte da foto: a copy nunca ultrapassa o ponto em
 * que a curva entra no painel, que é o que causava o texto sobre a imagem.
 */
.hero-copy {
  position: relative;
  z-index: 3;
  width: var(--hero-split);
  min-height: calc(100svh - var(--header-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 1.5vw calc(var(--proof-space) + 16px) 6.5vw;
  background: transparent;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 28px;
  color: var(--green-800);
  font-family: "Manrope", sans-serif;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
}

.eyebrow > span {
  --dot-rgb: 18, 104, 56;
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--green-700);
  box-shadow: 0 0 0 5px rgba(var(--dot-rgb), .08);
  animation: eyebrowPulse 3s var(--ease) infinite;
}

/*
 * O anel fixo de 5px permanece em todos os quadros; o que pulsa é o segundo
 * anel. Manter os dois sempre declarados é o que torna o box-shadow animável.
 * A cor vem de `--dot-rgb`, então a variante clara pulsa no próprio tom.
 */
@keyframes eyebrowPulse {
  0% {
    box-shadow: 0 0 0 5px rgba(var(--dot-rgb), .08), 0 0 0 0 rgba(var(--dot-rgb), .34);
  }
  70%,
  100% {
    box-shadow: 0 0 0 5px rgba(var(--dot-rgb), .08), 0 0 0 12px rgba(var(--dot-rgb), 0);
  }
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.72);
}

.eyebrow-light > span {
  --dot-rgb: 141, 219, 135;
  background: #8ddb87;
}

.hero h1,
.display-title,
.emergency-callout h2 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(50px, 5.25vw, 92px);
  font-weight: 600;
  line-height: .99;
  letter-spacing: -.065em;
}

/*
 * Dimensionado para a linha mais larga ("Cuidado completo.") caber no painel
 * com folga, mesmo se a Manrope não carregar e a fonte de fallback for mais
 * larga. É o que permite o painel ficar estreito sem o texto invadir a foto.
 */
.hero h1 {
  font-size: clamp(46px, 4.6vw, 80px);
}

.hero h1 em,
.display-title em,
.emergency-callout h2 em {
  color: var(--green-700);
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
}

/*
 * A medida em ch acompanha o corpo do texto, então a quantidade de linhas
 * fica estável de 1280 a 2560px. Com max-width fixo o parágrafo quebrava
 * em quatro linhas e deixava "privativo." sozinho nas telas largas.
 */
.hero-lead {
  max-width: 44ch;
  margin: 32px 0 0;
  color: #514a44;
  font-size: clamp(17px, 1.2vw, 22px);
  line-height: 1.5;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 42px;
  margin-top: 38px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green-800);
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.text-link span {
  font-size: 18px;
  transition: transform .3s var(--ease);
}

.text-link:hover span,
.text-link:focus-visible span {
  transform: translate(3px, 3px);
}

.text-link-light {
  color: white;
}

.hero-side-label {
  position: absolute;
  z-index: 4;
  left: 24px;
  top: 50%;
  color: rgba(33, 21, 15, 0.48);
  font-family: "Manrope", sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .22em;
  writing-mode: vertical-rl;
  transform: translateY(-50%) rotate(180deg);
}

/* Fica sobre a fotografia, que é clara: branco não tinha contraste algum. */
.scroll-cue {
  position: absolute;
  z-index: 4;
  right: 34px;
  bottom: calc(var(--proof-space) + 26px);
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(33, 21, 15, 0.6);
  text-shadow: 0 1px 12px rgba(255, 255, 255, .95);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .18em;
  writing-mode: vertical-rl;
}

.scroll-cue svg {
  width: 16px;
}

.proof-rail {
  position: absolute;
  z-index: 6;
  right: 6.5vw;
  bottom: 28px;
  left: 6.5vw;
  min-height: 106px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  padding: 20px 28px;
  border: 1px solid rgba(255, 255, 255, .66);
  border-radius: 18px;
  background: rgba(250, 248, 242, 0.86);
  box-shadow: 0 20px 50px rgba(30, 24, 20, 0.1);
  backdrop-filter: blur(18px);
}

.proof-item {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 22px;
  color: var(--green-900);
  border-right: 1px solid rgba(13, 86, 47, 0.26);
}

.proof-item:last-child {
  border-right: 0;
}

.proof-item svg {
  flex: 0 0 auto;
  width: 35px;
  height: 35px;
  stroke-width: 1.4;
}

.proof-item span {
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: .035em;
}

.section {
  position: relative;
  padding: clamp(100px, 11vw, 180px) 0;
}

.section-shell {
  width: var(--shell);
  margin: 0 auto;
}

.intro-grid {
  display: grid;
  grid-template-columns: 100px minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: 5vw;
  align-items: start;
}

.section-index {
  color: rgba(13, 86, 47, 0.16);
  font-family: "Manrope", sans-serif;
  font-size: 74px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.08em;
}

.display-title {
  font-size: clamp(46px, 5.1vw, 82px);
}

.display-title.light {
  color: var(--white);
}

.display-title.light em {
  color: #9add94;
}

.intro-copy {
  padding-top: 54px;
  color: var(--muted);
  font-size: clamp(17px, 1.2vw, 21px);
}

.intro-copy p {
  margin: 0 0 22px;
}

.intro-copy .text-link {
  margin-top: 22px;
}

.care-journey {
  position: relative;
  padding: clamp(110px, 11vw, 175px) 0;
  color: white;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 10%, rgba(78, 163, 91, .22), transparent 35%),
    linear-gradient(135deg, var(--green-950), #072819);
}

.care-journey::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .12;
  background-image: linear-gradient(rgba(255,255,255,.2) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.2) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to bottom, black, transparent);
}

.journey-head {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, .5fr);
  gap: 8vw;
  align-items: end;
}

.journey-summary {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 18px;
}

.journey-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 85px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-light);
}

.journey-step {
  position: relative;
  min-height: 305px;
  padding: 46px 35px 30px 0;
  border-right: 1px solid var(--line-light);
}

.journey-step:not(:first-child) {
  padding-left: 35px;
}

.journey-step:last-child {
  border-right: 0;
}

.journey-step::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #95dc8f;
  box-shadow: 0 0 0 8px rgba(149, 220, 143, 0.08);
}

.journey-number {
  position: absolute;
  top: 18px;
  right: 20px;
  color: rgba(255, 255, 255, 0.24);
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.journey-step svg {
  width: 38px;
  height: 38px;
  color: #95dc8f;
  stroke-width: 1.4;
}

.journey-step h3 {
  margin: 36px 0 14px;
  font-family: "Manrope", sans-serif;
  font-size: 24px;
}

.journey-step p {
  margin: 0;
  color: rgba(255, 255, 255, .58);
  font-size: 15px;
}

.services {
  background: var(--ivory);
}

.section-heading-row {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, .5fr);
  gap: 7vw;
  align-items: end;
}

.section-lead {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 18px;
}

.section-lead p {
  margin: 0 0 28px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 72px;
}

.service-card {
  position: relative;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  padding: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.5);
  transition: color .45s var(--ease), background .45s var(--ease), transform .45s var(--ease), box-shadow .45s var(--ease);
}

.service-card::before {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -100px;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(90, 186, 105, 0.2);
  border-radius: 50%;
  transition: transform .6s var(--ease);
}

.service-card:hover,
.service-card:focus-visible {
  color: white;
  background: var(--green-800);
  transform: translateY(-8px);
  box-shadow: 0 28px 60px rgba(13, 86, 47, 0.18);
}

.service-card:hover::before,
.service-card:focus-visible::before {
  transform: scale(1.3);
  border-color: rgba(255, 255, 255, 0.15);
}

.service-card__index {
  position: absolute;
  top: 34px;
  right: 34px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.service-card:hover .service-card__index,
.service-card:focus-visible .service-card__index {
  color: rgba(255, 255, 255, .5);
}

.service-card > svg {
  width: 42px;
  height: 42px;
  color: var(--green-700);
  stroke-width: 1.35;
}

.service-card:hover > svg,
.service-card:focus-visible > svg {
  color: #9add94;
}

.service-card h3 {
  max-width: 290px;
  margin: 55px 0 14px;
  font-family: "Manrope", sans-serif;
  font-size: 27px;
  line-height: 1.1;
  letter-spacing: -.035em;
}

.service-card p {
  max-width: 320px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.service-card:hover p,
.service-card:focus-visible p {
  color: rgba(255, 255, 255, .68);
}

.card-link {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 30px;
  color: var(--green-800);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.service-card:hover .card-link,
.service-card:focus-visible .card-link {
  color: white;
}

.card-link b {
  font-size: 19px;
}

.services-action {
  display: flex;
  justify-content: center;
  margin-top: 44px;
}

.infusion {
  position: relative;
  min-height: 850px;
  display: grid;
  grid-template-columns: 56% 44%;
  color: white;
  background: var(--green-950);
  overflow: hidden;
}

.infusion-media {
  position: relative;
  min-height: 780px;
}

.infusion-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 52%, var(--green-950) 100%), linear-gradient(0deg, rgba(5, 46, 27, .35), transparent 50%);
}

.infusion-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.infusion-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  max-width: 700px;
  padding: 100px 8vw 100px 4vw;
}

.infusion-copy .display-title {
  font-size: clamp(48px, 4.7vw, 80px);
}

.infusion-copy > p:not(.eyebrow) {
  max-width: 610px;
  margin: 34px 0 0;
  color: rgba(255, 255, 255, .67);
  font-size: 18px;
}

.feature-list {
  display: grid;
  gap: 13px;
  margin: 34px 0 40px;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.feature-list svg {
  width: 19px;
  color: #9add94;
}

.infusion-orbit {
  position: absolute;
  right: -170px;
  bottom: -180px;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  animation: spinSlow 35s linear infinite;
}

.infusion-orbit::before {
  content: "";
  position: absolute;
  inset: 65px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
}

.infusion-orbit span {
  position: absolute;
  color: rgba(255, 255, 255, .32);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .18em;
}

.infusion-orbit span:nth-child(1) { top: 18px; left: 50%; }
.infusion-orbit span:nth-child(2) { right: -22px; top: 50%; }
.infusion-orbit span:nth-child(3) { bottom: 18px; left: 45%; }

@keyframes spinSlow { to { transform: rotate(360deg); } }

.structure {
  background: var(--white);
}

.structure-gallery {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  grid-template-rows: repeat(2, 330px);
  gap: 16px;
  margin-top: 70px;
}

.structure-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #d9d4cb;
}

.structure-card--large {
  grid-row: 1 / 3;
}

.structure-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.85);
  transition: transform .8s var(--ease), filter .8s var(--ease);
}

.structure-card:hover img {
  transform: scale(1.045);
  filter: saturate(1);
}

.structure-card figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  color: white;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 10px;
  background: rgba(5, 46, 27, .62);
  backdrop-filter: blur(12px);
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.structure-card figcaption span {
  color: #a8e4a3;
  font-size: 10px;
}

.equipment-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 34px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.equipment-strip span {
  padding: 23px 20px;
  border-right: 1px solid var(--line);
  color: var(--green-900);
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.equipment-strip span:last-child {
  border-right: 0;
}

.emergency-callout {
  display: grid;
  grid-template-columns: 170px 1fr auto;
  gap: 4vw;
  align-items: center;
  padding: 70px 6.5vw;
  color: white;
  background: var(--green-800);
}

.emergency-callout__visual {
  position: relative;
  width: 150px;
  height: 150px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
}

.emergency-callout__visual > svg {
  width: 54px;
  height: 54px;
  color: #aeefa9;
  stroke-width: 1.3;
}

.pulse-ring {
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  animation: pulseRing 2.4s ease-out infinite;
}

@keyframes pulseRing {
  0% { opacity: 0; transform: scale(.7); }
  35% { opacity: 1; }
  100% { opacity: 0; transform: scale(1.45); }
}

.emergency-callout .eyebrow {
  margin-bottom: 15px;
}

.emergency-callout h2 {
  font-size: clamp(38px, 4vw, 66px);
}

.emergency-callout h2 em {
  color: #b0eca9;
}

.emergency-callout__copy > p:last-child {
  max-width: 680px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.emergency-callout__actions {
  display: grid;
  gap: 20px;
  justify-items: start;
}

.team {
  background: var(--ivory-2);
}

.team-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .65fr);
  column-gap: 8vw;
  row-gap: 80px;
  align-items: start;
}

.team-copy {
  padding-top: 54px;
  color: var(--muted);
  font-size: 17px;
}

.team-copy__lead {
  color: var(--ink);
  font-size: 22px;
}

.team-copy .text-link {
  margin-top: 22px;
}

.team-quote {
  grid-column: 1 / -1;
  position: relative;
  display: grid;
  grid-template-columns: 120px 1fr auto;
  align-items: center;
  gap: 34px;
  padding: 38px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quote-mark {
  color: var(--green-500);
  font-family: Georgia, serif;
  font-size: 110px;
  line-height: .6;
}

.team-quote p {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(25px, 2.6vw, 42px);
  font-weight: 600;
  letter-spacing: -.04em;
}

.team-quote__label {
  max-width: 150px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  text-align: right;
  text-transform: uppercase;
  letter-spacing: .13em;
}

.testimonials {
  background: var(--white);
}

.testimonials-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
}

.slider-controls {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 8px;
}

.slider-controls button {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: color .3s, background .3s;
}

.slider-controls button:hover,
.slider-controls button:focus-visible {
  color: white;
  background: var(--green-800);
}

.slider-controls span {
  min-width: 54px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.slider-controls b {
  color: var(--green-800);
}

.testimonial-stage {
  position: relative;
  min-height: 385px;
  margin-top: 70px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.testimonial {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 160px 1fr 240px;
  gap: 5vw;
  align-items: center;
  padding: 60px 2vw;
  opacity: 0;
  transform: translateX(35px);
  pointer-events: none;
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}

.testimonial.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.stars {
  color: #d59d22;
  font-size: 18px;
  letter-spacing: .18em;
}

.testimonial blockquote {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(25px, 2.8vw, 44px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.04em;
}

.testimonial footer {
  display: grid;
  gap: 5px;
}

.testimonial footer strong {
  font-family: "Manrope", sans-serif;
  font-size: 14px;
}

.testimonial footer span {
  color: var(--muted);
  font-size: 12px;
}

.contact {
  background: var(--ivory);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(500px, 1.2fr);
  gap: 7vw;
  align-items: stretch;
}

.contact-lead {
  max-width: 550px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.contact-details {
  display: grid;
  gap: 22px;
  margin-top: 45px;
}

.contact-details > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.contact-details span {
  color: var(--green-800);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.contact-details p,
.contact-details a {
  margin: 0;
  font-size: 16px;
}

.contact-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
}

.map-card {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #dce7da;
  box-shadow: inset 0 0 0 1px rgba(13, 86, 47, .12);
}

.map-grid {
  position: absolute;
  inset: 0;
  opacity: .6;
  background-image: linear-gradient(rgba(13, 86, 47, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(13, 86, 47, .07) 1px, transparent 1px);
  background-size: 46px 46px;
}

.map-road {
  position: absolute;
  width: 150%;
  height: 85px;
  left: -25%;
  border: 1px solid rgba(13, 86, 47, .15);
  background: rgba(247, 244, 237, .8);
}

.map-road::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 100%;
  border-top: 1px dashed rgba(13, 86, 47, .25);
}

.map-road--one {
  top: 28%;
  transform: rotate(-19deg);
}

.map-road--two {
  top: 62%;
  transform: rotate(31deg);
}

.map-pin {
  position: absolute;
  top: 46%;
  left: 54%;
  width: 110px;
  height: 110px;
  display: grid;
  place-items: center;
  padding: 16px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 22px 50px rgba(13, 86, 47, .2);
  transform: translate(-50%, -50%);
}

.map-pin img {
  width: 100%;
}

.map-pin__pulse {
  position: absolute;
  inset: -15px;
  border: 1px solid rgba(13, 86, 47, .35);
  border-radius: 50%;
  animation: pulseRing 2.4s infinite;
}

.map-label {
  position: absolute;
  top: calc(46% + 77px);
  left: 54%;
  display: grid;
  padding: 12px 16px;
  background: rgba(255, 253, 248, .92);
  border-radius: 8px;
  transform: translateX(-50%);
  text-align: center;
}

.map-label span {
  color: var(--green-900);
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.map-label small {
  color: var(--muted);
}

.map-open {
  position: absolute;
  right: 20px;
  bottom: 20px;
  padding: 13px 18px;
  color: white;
  border-radius: 6px;
  background: var(--green-900);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/*
 * Sem recuo lateral próprio: quem define a medida é `--shell`, igual às
 * demais seções. Com `4vw` a caixa interna ficava mais estreita que o shell
 * entre ~1200 e ~1565px e o conteúdo do rodapé transbordava.
 */
.site-footer {
  padding: 80px 0 28px;
  color: white;
  overflow: hidden;
  background: var(--brown-950);
}

.footer-top {
  width: var(--shell);
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 5vw;
  align-items: center;
  margin: 0 auto;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.footer-top img {
  width: 210px;
  padding: 12px;
  border-radius: 8px;
  background: var(--ivory);
}

.footer-top p {
  max-width: 430px;
  margin: 0;
  color: rgba(255, 255, 255, .6);
  font-size: 18px;
}

.footer-social {
  display: flex;
  gap: 28px;
}

.footer-social a {
  color: rgba(255, 255, 255, .7);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/*
 * "VETCONTAGEM" nesta fonte mede 6,65em de largura, medida estável em
 * qualquer corpo. Dividir a medida do rodapé por 6,75 faz a palavra preencher
 * exatamente a mesma largura do conteúdo em qualquer viewport, com uma folga
 * pequena caso a Manrope não carregue e o fallback seja mais largo.
 * Com `12.2vw` ela estourava a tela abaixo de 700px e ficava desalinhada do
 * restante do rodapé acima de 1536px, onde `--shell` já não cresce mais.
 */
.footer-wordmark {
  width: var(--shell);
  margin: 40px auto 0;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .18);
  font-family: "Manrope", sans-serif;
  font-size: calc(var(--shell) / 6.75);
  font-weight: 800;
  line-height: .9;
  letter-spacing: -.08em;
  white-space: nowrap;
}

.footer-bottom {
  width: var(--shell);
  display: flex;
  justify-content: space-between;
  margin: 30px auto 0;
  color: rgba(255, 255, 255, .42);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.floating-whatsapp {
  position: fixed;
  z-index: 70;
  right: 20px;
  bottom: 20px;
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px;
  color: white;
  border-radius: 30px;
  background: var(--green-700);
  box-shadow: 0 15px 36px rgba(13, 86, 47, .28);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  transition: transform .35s var(--ease), opacity .35s var(--ease);
}

.floating-whatsapp:hover {
  transform: translateY(-3px);
}

/* No hero o botão cobria o último item da faixa de provas. */
.floating-whatsapp.is-tucked {
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px) scale(.9);
}

.floating-whatsapp svg {
  width: 19px;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js .hero .reveal:nth-child(2) { transition-delay: .1s; }
.js .hero .reveal:nth-child(3) { transition-delay: .18s; }
.js .hero .reveal:nth-child(4) { transition-delay: .26s; }

@media (max-width: 1280px) {
  :root {
    --shell: min(1180px, calc(100vw - 64px));
    /* A copy precisa de proporcionalmente mais espaço antes da curva. */
    --hero-split: 48%;
  }

  .site-header {
    grid-template-columns: 210px 1fr auto;
    padding: 0 32px;
  }

  .site-header::after {
    right: 32px;
  }

  .brand {
    width: 190px;
  }

  .desktop-nav {
    gap: 24px;
  }

  .header-actions .btn {
    padding: 0 16px;
  }

  .hero-copy {
    padding-left: 5.5vw;
    padding-right: 2vw;
  }

  .hero h1 {
    font-size: clamp(44px, 5vw, 64px);
  }

  .proof-rail {
    right: 4vw;
    left: 4vw;
  }

  .proof-item {
    padding: 0 12px;
  }

  .proof-item span {
    font-size: 11px;
  }

  .proof-item svg {
    width: 30px;
  }
}

@media (max-width: 1024px) {
  :root {
    --header-h: 78px;
    --shell: calc(100vw - 48px);
  }

  .site-header {
    grid-template-columns: 1fr auto;
    height: var(--header-h);
    padding: 0 24px;
  }

  .site-header::after {
    display: none;
  }

  .desktop-nav,
  .btn-urgent,
  .header-whatsapp {
    display: none;
  }

  /*
   * O botão precisa continuar em bloco: com display:flex as duas barras
   * do ícone viravam traços lado a lado em vez de um hambúrguer.
   */
  .menu-toggle {
    display: block;
  }

  .mobile-menu {
    display: flex;
  }

  .brand,
  .site-header.is-scrolled .brand {
    width: 184px;
  }

  /*
   * Abaixo de 1025px a divisão em duas metades deixa a foto estreita demais
   * e espreme a copy. A composição passa a ser vertical: imagem, depois texto.
   */
  .hero {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    padding-top: 0;
  }

  /*
   * Mesma lógica do desktop, girada 90°: a elipse é ancorada no topo e só o
   * trecho central da curva aparece, descendo sobre o creme. A borda do painel
   * fica côncava em vez de abaular sobre a fotografia e comer espaço dela.
   */
  /*
   * A fotografia absorve o espaço que sobra da coluna, então o hero fecha
   * exatamente em 100svh e a faixa de provas nunca fica cortada. Com altura
   * fixa o conteúdo somava mais que a tela em aparelhos comuns.
   * A base de 150px é o piso: em telas muito baixas o hero passa de 100svh e
   * rola, em vez de cortar conteúdo.
   */
  .hero-media {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    flex: 1 1 150px;
    height: auto;
    min-height: 0;
    -webkit-clip-path: ellipse(120% 100% at 50% 0);
    clip-path: ellipse(120% 100% at 50% 0);
  }

  /* Com a fotografia flexível o degradê não teria como acompanhar a altura;
     quem faz a transição para o creme é a própria curva. */
  .hero-shade {
    display: none;
  }

  /*
   * Os arquivos de mobile são verticais (1080 × 1920 e 768 × 1376), então a
   * largura sempre encaixa e o corte é só vertical. Centralizado, a faixa
   * visível pega veterinária, cão e gato.
   */
  .hero-media img,
  .hero-media video {
    object-position: center;
  }

  .hero-media img {
    animation: none;
  }

  /*
   * Sem cúpula e sem recuo negativo: quem desenha a borda agora é o recorte
   * da fotografia. O fundo do hero já é marfim, então a copy segue reta.
   */
  .hero-copy {
    width: auto;
    min-height: 0;
    flex: 0 0 auto;
    justify-content: flex-start;
    margin-top: 0;
    padding: 34px 5vw 44px;
    border-radius: 0;
    background: transparent;
  }

  .hero-side-label,
  .scroll-cue {
    display: none;
  }

  .proof-rail {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    width: auto;
    flex: 0 0 auto;
    margin: 0 5vw 28px;
    grid-template-columns: repeat(2, 1fr);
    min-height: 154px;
    padding: 12px 20px;
  }

  .proof-item {
    min-height: 60px;
  }

  .proof-item:nth-child(2) {
    border-right: 0;
  }

  .proof-item:nth-child(-n+2) {
    border-bottom: 1px solid rgba(13, 86, 47, .15);
  }

  .intro-grid {
    grid-template-columns: 80px 1fr;
  }

  .intro-copy {
    grid-column: 2;
    max-width: 650px;
    padding-top: 0;
  }

  .journey-head,
  .section-heading-row {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .journey-summary,
  .section-lead {
    max-width: 650px;
  }

  .journey-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .journey-step:nth-child(2) {
    border-right: 0;
  }

  .journey-step:nth-child(-n+2) {
    border-bottom: 1px solid var(--line-light);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .infusion {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .infusion-media {
    min-height: 620px;
  }

  .infusion-media::after {
    background: linear-gradient(0deg, var(--green-950), transparent 45%);
  }

  .infusion-copy {
    max-width: 850px;
    padding: 30px 6vw 100px;
  }

  .emergency-callout {
    grid-template-columns: 120px 1fr;
  }

  .emergency-callout__visual {
    width: 110px;
    height: 110px;
  }

  .emergency-callout__actions {
    grid-column: 2;
  }

  .team-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .team-copy {
    max-width: 720px;
    padding-top: 0;
  }

  .testimonial {
    grid-template-columns: 110px 1fr;
  }

  .testimonial footer {
    grid-column: 2;
  }

  .map-card {
    min-height: 520px;
  }
}

@media (max-width: 700px) {
  :root {
    --shell: calc(100vw - 36px);
    --radius: 20px;
  }

  body {
    font-size: 15px;
  }

  .site-header {
    padding: 0 18px;
    border-bottom-color: rgba(30, 24, 20, .08);
  }

  .site-header.is-scrolled {
    height: 68px;
  }

  .brand,
  .site-header.is-scrolled .brand {
    width: 154px;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
    color: white;
    border-color: var(--green-800);
    background: var(--green-800);
    box-shadow: 0 10px 26px rgba(13, 86, 47, .2);
  }

  .mobile-menu {
    padding: 105px 24px 34px;
  }

  .mobile-menu nav a {
    padding: 9px 0;
  }


  .hero-copy {
    padding: 34px 22px 30px;
  }

  .eyebrow {
    margin-bottom: 20px;
    font-size: 9px;
    letter-spacing: .12em;
  }

  .eyebrow > span {
    width: 8px;
    height: 8px;
  }

  /* Em 390px "Cuidado completo." estourava a linha e quebrava em duas. */
  .hero h1 {
    font-size: clamp(32px, 9.8vw, 44px);
    line-height: .96;
  }

  /*
   * Mesmo tratamento do desktop: medida em ch e controle de quebra. Aqui o
   * parágrafo ocupa quatro linhas, então `balance` equilibra o comprimento
   * delas e impede que "privativo." fique sozinho na última.
   */
  .hero-lead {
    max-width: 38ch;
    margin-top: 22px;
    font-size: 15.5px;
    line-height: 1.5;
    /* Fallback progressivo: quem não entende `balance` fica com `pretty`. */
    text-wrap: pretty;
    text-wrap: balance;
  }

  .hero-actions {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
    margin-top: 25px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-actions .text-link {
    justify-content: center;
  }

  /*
   * Em quatro colunas a legenda caía para 7px e ficava ilegível.
   * A faixa passa a 2 × 2 com texto em tamanho utilizável.
   */
  .proof-rail {
    min-height: 0;
    margin: 0 16px 16px;
    padding: 8px 10px;
    border-radius: 14px;
  }

  .proof-item {
    min-height: 66px;
    flex-direction: column;
    gap: 7px;
    padding: 10px 6px;
    text-align: center;
  }

  .proof-item svg {
    width: 24px;
    height: 24px;
  }

  .proof-item span {
    font-size: 10px;
    line-height: 1.3;
  }

  .section {
    padding: 90px 0;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .section-index {
    font-size: 54px;
  }

  .intro-copy {
    grid-column: auto;
    font-size: 16px;
  }

  .display-title {
    font-size: clamp(42px, 12vw, 58px);
  }

  .care-journey {
    padding: 90px 0;
  }

  .journey-steps {
    grid-template-columns: 1fr;
    margin-top: 55px;
  }

  .journey-step,
  .journey-step:not(:first-child) {
    min-height: 230px;
    padding: 38px 22px 32px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
  }

  .journey-step:last-child {
    border-bottom: 0;
  }

  .journey-step h3 {
    margin-top: 28px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    margin-top: 45px;
  }

  .service-card {
    min-height: 310px;
    padding: 28px;
  }

  .service-card h3 {
    margin-top: 38px;
  }

  .infusion-media {
    min-height: 430px;
  }

  .infusion-media img {
    object-position: 63% center;
  }

  .infusion-copy {
    padding: 20px 20px 80px;
  }

  .infusion-copy .display-title {
    font-size: clamp(42px, 11vw, 56px);
  }

  .infusion-copy > p:not(.eyebrow) {
    font-size: 16px;
  }

  .infusion-copy .btn {
    width: 100%;
  }

  .structure-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    margin-top: 45px;
  }

  .structure-card,
  .structure-card--large {
    min-height: 300px;
    grid-row: auto;
  }

  .equipment-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .equipment-strip span {
    min-height: 74px;
    display: grid;
    place-items: center;
    padding: 15px 10px;
    font-size: 9px;
  }

  .equipment-strip span:nth-child(2) {
    border-right: 0;
  }

  .equipment-strip span:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .emergency-callout {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 70px 20px;
  }

  .emergency-callout__visual {
    width: 90px;
    height: 90px;
  }

  .emergency-callout__visual > svg {
    width: 40px;
  }

  .emergency-callout h2 {
    font-size: clamp(39px, 11vw, 54px);
  }

  .emergency-callout__actions {
    grid-column: auto;
    width: 100%;
  }

  .emergency-callout__actions .btn {
    width: 100%;
  }

  .team-grid {
    row-gap: 45px;
  }

  .team-copy__lead {
    font-size: 19px;
  }

  .team-quote {
    grid-template-columns: 64px 1fr;
    gap: 18px;
  }

  .quote-mark {
    font-size: 80px;
  }

  .team-quote__label {
    grid-column: 2;
    text-align: left;
  }

  .testimonials-head {
    grid-template-columns: 1fr;
  }

  .slider-controls {
    justify-content: space-between;
  }

  .testimonial-stage {
    min-height: 440px;
    margin-top: 40px;
  }

  .testimonial {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 45px 6px;
  }

  .testimonial footer {
    grid-column: auto;
  }

  .testimonial blockquote {
    font-size: 26px;
  }

  .contact-grid {
    gap: 55px;
  }

  .contact-details > div {
    grid-template-columns: 82px 1fr;
  }

  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-actions .btn {
    width: 100%;
  }

  .contact-actions .text-link {
    justify-content: center;
  }

  .map-card {
    min-height: 430px;
  }

  .map-pin {
    width: 90px;
    height: 90px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-wordmark {
    margin-top: 50px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .floating-whatsapp {
    width: 52px;
    height: 52px;
    justify-content: center;
    padding: 0;
  }

  .floating-whatsapp span {
    display: none;
  }
}

/*
 * Celulares baixos (iPhone SE em 667px, Android antigo em 640px). Só o
 * encolhimento da fotografia não bastava: sem apertar o ritmo vertical o link
 * "Conhecer a estrutura" ficava abaixo da dobra.
 */
@media (max-width: 700px) and (max-height: 700px) {
  .hero-copy {
    padding-top: 24px;
    padding-bottom: 32px;
  }

  .hero-copy .eyebrow {
    margin-bottom: 14px;
  }

  .hero-lead {
    margin-top: 16px;
  }

  .hero-actions {
    gap: 14px;
    margin-top: 18px;
  }

  .hero-media {
    flex-basis: 110px;
  }

  .proof-item {
    min-height: 54px;
    gap: 5px;
    padding: 8px 5px;
  }

  .proof-item svg {
    width: 20px;
    height: 20px;
  }

  .proof-item span {
    font-size: 9px;
  }
}

/* Só vale onde o hero ainda é dividido em duas metades. */
@media (max-height: 730px) and (min-width: 1025px) {
  .hero {
    min-height: 820px;
  }

  .hero-copy {
    min-height: 728px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
