/* HERO */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--gradient-blue);
  border-radius: 0 0 64px 64px;
}

.hero::before {
  width: 560px;
  height: 560px;
  top: -220px;
  left: -160px;
  background: rgba(255, 255, 255, 0.07);
}

.hero::after {
  width: 380px;
  height: 380px;
  bottom: -160px;
  left: 38%;
  background: rgba(255, 190, 61, 0.16);
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 800px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 40px 0 0;
}

.hero-text {
  padding-bottom: 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  padding: 10px 18px;
  border-radius: var(--radius-button);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
}

.hero-badge-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--yellow);
}

.hero-text h1 {
  font-family: var(--font-title);
  font-size: clamp(44px, 6vw, 82px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--white);
  margin-bottom: 26px;
}

.hero-text > p {
  max-width: 520px;
  font-size: 19px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 36px;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 560px;
  padding: 12px 12px 12px 26px;
  border-radius: var(--radius-button);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(12px);
}

.hero-cta-text span {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.hero-cta-text strong {
  font-family: var(--font-title);
  font-size: 19px;
  font-weight: 600;
  color: var(--white);
}

.hero-link {
  display: inline-flex;
  gap: 8px;
  margin: 22px 0 0 26px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s ease;
}

.hero-link:hover {
  color: var(--yellow);
}

.hero-image-area {
  position: relative;
  align-self: stretch;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.hero-image {
  width: min(100%, 680px);
}

.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px 12px 12px;
  border-radius: 22px;
  background: var(--white);
  animation: float 5s ease-in-out infinite;
}

.float-chip strong {
  display: block;
  font-family: var(--font-title);
  font-size: 16px;
  color: var(--navy);
}

.float-chip small {
  font-size: 13px;
  color: var(--muted);
}

.chip-top {
  top: 12%;
  right: 2%;
}

.chip-bottom {
  bottom: 14%;
  left: -2%;
  animation-delay: -2.5s;
}

.chip-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--blue-100);
}

.chip-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--blue-600);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chip-icon-yellow {
  background: var(--yellow-100);
}

.chip-icon-yellow svg {
  stroke: var(--yellow-600);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* PETS */

.pets-section {
  padding: 110px 0 100px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 56px;
}

.pets-content {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: flex-start;
}

.filters {
  z-index: 5;
  position: sticky;
  top: 24px;
  padding: 28px;
  border-radius: var(--radius-card);
  background: var(--white);
}

.filters-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.filters-head h3 {
  font-family: var(--font-title);
  font-size: 26px;
  font-weight: 600;
}

.filters-clear {
  border: none;
  background: none;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-600);
  cursor: pointer;
}

.filters-clear:hover {
  text-decoration: underline;
}

.filter-group {
  padding-top: 22px;
  margin-top: 22px;
  border-top: 1px dashed var(--line);
}

.filter-group h4 {
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  cursor: pointer;
}

.chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.chip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: var(--radius-button);
  border: 2px solid var(--line);
  background: var(--cream);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  transition: 0.2s ease;
}

.chip:hover span {
  border-color: var(--blue-400);
}

.chip input:checked + span {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: var(--white);
}

.chip input:focus-visible + span {
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
}

.color-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 0 1px rgba(11, 31, 75, 0.2);
}

.caramel {
  background-color: #d99b5f;
}

.brown {
  background-color: #623c22;
}

.gray {
  background-color: #b8b8b8;
}

.mixed {
  background: linear-gradient(135deg, #525f6a 50%, #d8dde2 50%);
}

.black {
  background-color: #111111;
}

.white {
  background-color: #ffffff;
}

.filter-group select {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border: 2px solid var(--line);
  border-radius: 16px;
  outline: none;
  background-color: var(--cream);
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
}

.filter-group select:focus {
  border-color: var(--blue-500);
}

.results-count {
  margin-bottom: 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
}

.pets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pet-card {
  display: block;
  padding: 12px;
  border-radius: var(--radius-card);
  background: var(--white);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.pet-card:hover {
  transform: translateY(-8px) rotate(-0.5deg);
}

.pet-card[hidden] {
  display: none;
}

.pet-card-photo {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.pet-card-photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.pet-card:hover .pet-card-photo img {
  transform: scale(1.06);
}

.pet-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 14px;
  border-radius: var(--radius-button);
  background: var(--yellow);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
}

.pet-card-info {
  padding: 18px 10px 8px;
}

.pet-card-info h3 {
  margin-bottom: 12px;
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 600;
}

.pet-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.pet-tags span {
  padding: 5px 12px;
  border-radius: var(--radius-button);
  background: var(--blue-100);
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-700);
}

.pet-foot {
  display: flex;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.empty-state {
  padding: 56px 24px;
  border-radius: var(--radius-card);
  background: var(--white);
  text-align: center;
}

.empty-state strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-title);
  font-size: 24px;
}

.empty-state p {
  color: var(--muted);
}

/* COMO FUNCIONA */

.how-section {
  position: relative;
  overflow: hidden;
  padding: 110px 0;
  background: var(--gradient-blue);
}

.how-section::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  top: -200px;
  right: -140px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.how-head {
  position: relative;
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
}

.how-head .section-title {
  color: var(--white);
}

.how-head .section-lead {
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.85);
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.step-card {
  position: relative;
  padding: 40px 32px 36px;
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px);
  color: var(--white);
  transition: transform 0.25s ease;
}

.step-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.18);
}

.step-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 20px;
  background: var(--white);
}

.step-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--blue-600);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step-card h3 {
  margin-bottom: 12px;
  font-family: var(--font-title);
  font-size: 26px;
  font-weight: 600;
}

.step-card p {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
}

/* SOBRE */

.about-section {
  padding: 120px 0 80px;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

.about-collage {
  position: relative;
  height: 520px;
}

.about-collage img {
  position: absolute;
  object-fit: cover;
  border: 6px solid var(--white);
}

.collage-a {
  top: 0;
  left: 0;
  width: 56%;
  height: 56%;
  border-radius: 40px 40px 120px 40px;
}

.collage-b {
  top: 8%;
  right: 0;
  width: 40%;
  height: 40%;
  border-radius: 120px 40px 40px 40px;
}

.collage-c {
  bottom: 0;
  left: 14%;
  width: 44%;
  height: 40%;
  border-radius: 40px 120px 40px 40px;
}

.collage-card {
  position: absolute;
  right: 0;
  bottom: 4%;
  width: 46%;
  padding: 24px;
  border-radius: 28px 28px 80px 28px;
  background: var(--gradient-blue);
  color: var(--white);
}

.collage-card .chip-icon {
  margin-bottom: 14px;
}

.collage-card p {
  font-family: var(--font-title);
  font-size: 20px;
  line-height: 1.25;
  font-weight: 600;
  margin-bottom: 10px;
}

.collage-card small {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
}

.about-text > p {
  margin: 22px 0 26px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
}

.check-list {
  list-style: none;
  margin-bottom: 36px;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: 700;
}

.check-list li::before {
  content: "✓";
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
}

/* FAQ */

.faq-section {
  padding: 80px 0 100px;
}

.faq-content {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  align-items: flex-start;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  border-radius: 24px;
  background: var(--white);
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px;
  list-style: none;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--blue-100) url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%231d5ee0%27 stroke-width=%272.6%27 stroke-linecap=%27round%27%3E%3Cpath d=%27M12 5v14M5 12h14%27/%3E%3C/svg%3E") center / 18px 18px no-repeat;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.faq-item summary:hover::after {
  transform: scale(1.08);
}

.faq-item[open] summary::after {
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%230b1f4b%27 stroke-width=%272.6%27 stroke-linecap=%27round%27%3E%3Cpath d=%27M5 12h14%27/%3E%3C/svg%3E") center / 18px 18px no-repeat;
}

.faq-item p {
  padding: 0 28px 26px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}

/* CTA */

.cta-section {
  padding: 0 0 120px;
}

.cta-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 72px 72px;
  border-radius: 48px;
  background: var(--gradient-blue);
}

.cta-card::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  top: -180px;
  left: -120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.cta-text {
  position: relative;
  color: var(--white);
}

.cta-text h2 {
  font-family: var(--font-title);
  font-size: clamp(36px, 4.6vw, 60px);
  line-height: 1.08;
  font-weight: 700;
  margin-bottom: 22px;
}

.cta-text p {
  max-width: 480px;
  margin-bottom: 34px;
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.cta-photos {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.cta-photos img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.5);
}

.cta-photos img:nth-child(1) {
  border-radius: 28px 28px 80px 28px;
}

.cta-photos img:nth-child(2) {
  border-radius: 28px 80px 28px 28px;
  margin-top: 28px;
}

.cta-photos img:nth-child(3) {
  grid-column: 1 / -1;
  aspect-ratio: 2.2;
  border-radius: 28px 28px 28px 80px;
  object-position: center 30%;
}

/* RESPONSIVO */

@media (max-width: 1100px) {
  .hero-content {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 24px;
  }

  .hero-image-area {
    order: 1;
  }

  .hero-text {
    padding-bottom: 0;
  }

  .hero-image {
    width: min(100%, 480px);
  }

  .hero-text {
    text-align: center;
  }

  .hero-text > p,
  .hero-cta {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-link {
    margin-left: 0;
  }

  .pets-content {
    grid-template-columns: 1fr;
  }

  .filters {
    position: static;
  }

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

  .steps {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 560px;
    margin: 0 auto;
  }

  .about-content,
  .faq-content,
  .cta-card {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-collage {
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
  }

  .cta-card {
    padding: 56px 40px;
  }
}

@media (max-width: 640px) {
  .hero {
    border-radius: 0 0 36px 36px;
  }

  .hero-content {
    padding-top: 16px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    border-radius: 28px;
    text-align: center;
  }

  .float-chip {
    display: none;
  }

  .pets-section {
    padding: 72px 0;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .pets-grid {
    grid-template-columns: 1fr;
  }

  .how-section {
    padding: 80px 0;
  }

  .about-section {
    padding-top: 80px;
  }

  .about-collage {
    height: 420px;
  }

  .cta-card {
    padding: 44px 24px;
    border-radius: 32px;
  }

  .cta-section {
    padding-bottom: 80px;
  }

  .faq-item summary {
    padding: 20px;
  }

  .faq-item p {
    padding: 0 20px 22px;
  }
}
