:root {
  --blue: #8db9c4;
  --blue-soft: #add3de;
  --ink: #555;
  --ink-strong: #5c5c5c;
  --accent: #d588d9;
  --accent-hover: #bd70c1;
  --white: #fff;
  --content: 1120px;
  --side-gap: clamp(20px, 4vw, 32px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; }
.section-wrap { width: min(var(--content), calc(100% - 2 * var(--side-gap))); margin-inline: auto; }
.skip-link {
  position: absolute;
  z-index: 10;
  left: 1rem;
  top: 1rem;
  padding: .7rem 1rem;
  color: #222;
  background: #fff;
  border-radius: .4rem;
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero {
  position: relative;
  display: grid;
  min-height: 670px;
  overflow: hidden;
  isolation: isolate;
  background-color: #fff;
  background-image: url("../images/borboletas-hero.png");
  background-repeat: repeat;
  background-position: center top;
}
.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(0, 0, 0, .25);
  content: "";
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 42px;
  width: min(var(--content), calc(100% - 2 * var(--side-gap)));
  margin-inline: auto;
  padding: 56px 20px;
  color: #fff;
}
.hero__copy { max-width: 510px; }
.hero h1 {
  max-width: 500px;
  margin: 0 0 36px;
  font-size: clamp(2.15rem, 3vw, 2.55rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.035em;
}
.hero p {
  margin: 0;
  font-size: clamp(1.1rem, 1.65vw, 1.55rem);
  font-weight: 500;
  line-height: 1.42;
}
.hero__brand { display: flex; justify-content: center; align-items: center; }
.hero__brand img { width: min(100%, 455px); height: auto; }

.priority {
  display: grid;
  min-height: 151px;
  place-items: center;
  padding: 28px var(--side-gap);
  color: #fff;
  background: var(--blue);
  text-align: center;
}
.priority h2 {
  max-width: 1350px;
  margin: 0;
  font-size: clamp(1.15rem, 1.7vw, 1.55rem);
  font-weight: 800;
  line-height: 1.25;
}

.profile {
  display: grid;
  grid-template-columns: minmax(260px, 35%) minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  padding-block: 72px 50px;
}
.profile__portrait { margin: 0; text-align: center; }
.profile__portrait img {
  width: 100%;
  max-width: 390px;
  aspect-ratio: 1;
  margin-inline: auto;
  object-fit: cover;
}
.profile__portrait figcaption { margin-top: 13px; font-size: .93rem; font-weight: 800; }
.profile__text h2, .profile__text h3, .section-title {
  color: var(--ink-strong);
  font-weight: 800;
  letter-spacing: -.025em;
}
.profile__text h2 { margin: 0 0 7px; font-size: clamp(1.55rem, 2.1vw, 1.9rem); }
.profile__text h3 { margin: 0 0 14px; font-size: 1.1rem; }
.profile__text p, .about p, .cycles p, .care p, .footer p { margin: 0 0 16px; }
.profile__text p { line-height: 1.62; text-align: justify; }
.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border: 0;
  border-radius: 7px;
  color: #fff;
  background: var(--accent);
  font-size: .91rem;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.button:hover { background: var(--accent-hover); box-shadow: 0 3px 12px #0002; transform: translateY(-1px); }
.button:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid #6a4370; outline-offset: 3px; }

.gallery { padding-block: 55px 72px; }
.section-title {
  position: relative;
  margin: 0 0 32px;
  font-size: clamp(1.65rem, 2.3vw, 1.95rem);
  line-height: 1.2;
  text-align: center;
}
.section-title::after {
  display: block;
  width: 25%;
  min-width: 86px;
  height: 3px;
  margin: 14px auto 0;
  background: var(--accent);
  content: "";
}
.section-title--left { text-align: left; }
.section-title--left::after { margin-left: 0; }
.gallery__frame { position: relative; }
.gallery__viewport { overflow: hidden; margin-inline: 0; }
.gallery__track {
  display: flex;
  gap: 20px;
  transform: translate3d(0, 0, 0);
  transition: transform .38s ease;
  will-change: transform;
}
.gallery__slide {
  flex: 0 0 calc((100% - 40px) / 3);
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  aspect-ratio: 1 / .84;
  background: #f3f3f3;
}
.gallery__slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery__arrow {
  position: absolute;
  z-index: 1;
  top: 50%;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: #5559;
  cursor: pointer;
  transform: translateY(-50%);
}
.gallery__arrow:hover { background: #555c; }
.gallery__arrow svg { width: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gallery__arrow--prev { left: 8px; }
.gallery__arrow--next { right: 8px; }
.gallery__dots { display: flex; justify-content: center; gap: 10px; margin-top: 20px; }
.gallery__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #d0d0d0;
  cursor: pointer;
}
.gallery__dot.is-active { background: #222; }

.about {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(36px, 5vw, 64px);
  padding-block: 24px 80px;
}
.about p, .cycles p, .care p { text-align: justify; }
.about__image { width: 100%; aspect-ratio: 1.5; object-fit: cover; }
.about .button { margin-top: 18px; }

.cycles {
  padding-block: 72px 64px;
  background-color: #fff;
  background-image: linear-gradient(#ffffffd9, #ffffffd9), url("../images/borboletas-pattern.png");
  background-position: center;
  background-size: auto, 300px auto;
}
.cycles__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; }
.cycles__item .section-title { min-height: 70px; margin-bottom: 32px; font-size: 1.55rem; }
.cycles__item .section-title::after { margin-top: 14px; }

.care {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  padding-block: 30px 72px;
}
.care__image { width: 100%; aspect-ratio: 1.29; object-fit: cover; }
.care__copy { padding-left: 0; }
.care__copy .section-title { margin-bottom: 48px; }
.care__copy .button { margin-top: 18px; }

.location { padding-block: 0 76px; }
.location address { margin-bottom: 12px; font-style: normal; font-weight: 600; }
.location iframe { display: block; width: 100%; height: 373px; border: 0; }
.location__link { display: inline-block; margin-top: 12px; color: #4f6870; font-weight: 600; }

.footer { padding-block: 34px 44px; color: #fff; background: var(--blue); }
.footer__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; }
.footer h2 { margin: 0 0 16px; color: #fff; font-size: clamp(1.55rem, 2.2vw, 1.9rem); font-weight: 800; line-height: 1.3; }
.footer__about { text-align: justify; }
.social-links { display: flex; gap: 8px; }
.social-link {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  transition: transform .18s ease;
}
.social-link:hover { transform: translateY(-2px); }
.social-link--whatsapp { background: #43c76b; }
.social-link--instagram { background: var(--accent); }
.social-link svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.social-link--whatsapp svg path:last-child { fill: currentColor; stroke: none; }
.social-link--instagram .instagram-dot { fill: currentColor; stroke: none; }

@media (max-width: 900px) {
  .hero { min-height: 580px; }
  .hero__inner { gap: 26px; }
  .hero h1 { margin-bottom: 24px; font-size: clamp(2rem, 4vw, 2.35rem); }
  .profile { grid-template-columns: minmax(220px, 34%) 1fr; gap: 28px; }
  .gallery__slide { flex-basis: calc((100% - 20px) / 2); }
  .cycles__inner { gap: 32px; }
  .cycles__item .section-title { min-height: 88px; }
}

@media (max-width: 640px) {
  :root { --side-gap: 20px; }
  body { font-size: 14px; line-height: 1.65; }
  .hero { min-height: 0; background-position: center top; background-size: auto 510px; }
  .hero__inner { grid-template-columns: 1fr; gap: 20px; padding: 56px 0 44px; }
  .hero__copy { max-width: 520px; }
  .hero h1 { max-width: 450px; margin-bottom: 20px; font-size: clamp(2rem, 9vw, 2.45rem); }
  .hero p { max-width: 540px; font-size: 1.1rem; line-height: 1.5; }
  .hero__brand { justify-content: flex-start; padding-top: 8px; }
  .hero__brand img { width: min(92%, 400px); }
  .priority { min-height: 126px; padding-block: 24px; }
  .priority h2 { font-size: 1.08rem; }
  .profile { grid-template-columns: 1fr; gap: 28px; padding-block: 46px 24px; }
  .profile__portrait img { max-width: 360px; }
  .profile__text h2 { font-size: 1.65rem; }
  .profile__text p { text-align: left; }
  .profile__text .button { width: 100%; }
  .gallery { padding-block: 42px 54px; }
  .section-title { font-size: 1.55rem; }
  .gallery__slide { flex-basis: 100%; aspect-ratio: 1 / .82; }
  .gallery__arrow--prev { left: 8px; }
  .gallery__arrow--next { right: 8px; }
  .about { grid-template-columns: 1fr; gap: 28px; padding-block: 20px 48px; }
  .about__image { grid-row: 2; aspect-ratio: 1.45; }
  .about p { text-align: left; }
  .about .button { width: 100%; }
  .cycles { padding-block: 46px 40px; background-size: auto, 220px auto; }
  .cycles__inner { grid-template-columns: 1fr; gap: 38px; }
  .cycles__item .section-title { min-height: 0; margin-bottom: 22px; }
  .cycles__item .section-title::after { margin-inline: auto; }
  .cycles p { text-align: left; }
  .care { grid-template-columns: 1fr; gap: 26px; padding-block: 24px 48px; }
  .care__image { aspect-ratio: 1.3; }
  .care__copy .section-title { margin-bottom: 26px; }
  .care .button { width: 100%; }
  .care p { text-align: left; }
  .location { padding-bottom: 48px; }
  .location address { font-size: .95rem; }
  .location iframe { height: 320px; }
  .footer { padding-block: 34px 36px; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__social, .footer__about { text-align: center; }
  .social-links { justify-content: center; }
  .footer__about p { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
