:root {
  --ink: #2f3029;
  --muted: #6f6d61;
  --sage: #a8ad98;
  --sage-light: #c6cab6;
  --sand: #efe4d3;
  --peach: #efc8b1;
  --coral: #ee9985;
  --coral-dark: #cf765f;
  --cream: #fffaf4;
  --line: rgba(47, 48, 41, 0.12);
}

* {
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--ink);
  font-family: "Prachason Neue", "Trebuchet MS", Arial, Helvetica, sans-serif;
  background: var(--cream);
}

.navbar {
  padding: 0.65rem 0;
  background: #fff;
  border-bottom: 1px solid rgba(47, 48, 41, 0.06);
  transition: box-shadow 220ms ease, padding 220ms ease;
}

.navbar.is-scrolled {
  padding: 0.45rem 0;
  box-shadow: 0 10px 28px rgba(47, 48, 41, 0.08);
}

.nav-container {
  padding-left: clamp(1rem, 8vw, 9rem);
  padding-right: clamp(1rem, 4vw, 4rem);
}

.navbar-brand {
  color: var(--ink);
  font-weight: 800;
}

.nav-link {
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 500;
  transition: color 180ms ease, transform 180ms ease;
}

.nav-link:hover,
.nav-link:focus,
.navbar-brand:hover {
  color: var(--coral-dark);
}

.nav-link:hover,
.nav-link:focus {
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  background: var(--cream);
}

.hero-row {
  min-height: 760px;
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--ink);
}

.hero-copy-col {
  min-height: 760px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 5rem 4vw 3rem;
}

.hero-copy {
  width: min(100%, 640px);
}

.eyebrow,
.section-kicker {
  margin-bottom: 0.8rem;
  color: var(--coral-dark);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero .eyebrow {
  margin-bottom: 0.55rem;
  color: var(--coral-dark);
  text-align: left;
}

.hero-logo {
  width: min(190px, 54vw);
  height: auto;
  margin-bottom: 0.65rem;
  display: block;
  filter: brightness(0) saturate(100%) invert(76%) sepia(19%) saturate(651%) hue-rotate(314deg) brightness(91%) contrast(87%);
  animation: softRise 700ms ease both;
}

h1,
h2,
h3 {
  font-weight: 800;
}

h1 {
  max-width: 590px;
  margin-bottom: 0.85rem;
  font-size: clamp(2.25rem, 4.6vw, 4.2rem);
  font-weight: 600;
  line-height: 1;
  animation: softRise 760ms ease 80ms both;
}

h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
}

h3 {
  margin-bottom: 0;
  font-size: 1.05rem;
  line-height: 1.35;
}

p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.hero p {
  color: var(--ink);
}

.lead {
  max-width: 590px;
  margin-bottom: 1.35rem;
  font-size: clamp(1.02rem, 1.55vw, 1.25rem);
  line-height: 1.45;
  animation: softRise 760ms ease 160ms both;
}

.btn {
  border-radius: 6px;
  font-weight: 800;
  min-height: 48px;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.btn-primary {
  background: var(--coral);
  border-color: var(--coral);
  color: var(--ink);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--coral-dark);
  border-color: var(--coral-dark);
  color: #fff;
  box-shadow: 0 12px 24px rgba(207, 118, 95, 0.24);
  transform: translateY(-2px);
}

.btn-outline-light:hover,
.btn-outline-light:focus {
  color: var(--ink);
}

.section-cta {
  margin-top: 1.35rem;
}

.hero .btn-outline-light {
  color: var(--ink);
  border-color: var(--sage);
}

.hero .btn-outline-light:hover,
.hero .btn-outline-light:focus {
  background: var(--sage-light);
  border-color: var(--sage-light);
}

.hero-visual {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: url("../img/limpeza-de-pele.jpg") center / cover no-repeat;
  animation: imageReveal 900ms ease both;
}

.section {
  padding: 6rem 0;
}

.section-soft {
  background: var(--sand);
}

.section-muted {
  background: var(--sage-light);
}

.experience-section {
  position: relative;
  overflow: hidden;
  padding: 4rem 0;
  background:
    linear-gradient(90deg, rgba(255, 250, 244, 0.82), rgba(255, 250, 244, 0.96)),
    url("../img/skincare.jpg") left center / auto 100% no-repeat;
}

.experience-section h2 {
  max-width: 520px;
}

.experience-line,
.experience-card-line {
  width: min(100%, 260px);
  height: 6px;
  margin: 2rem 0;
  background: #d8a7a9;
  border-radius: 999px;
}

.experience-cards {
  display: grid;
  gap: 1.35rem;
}

.experience-card {
  min-height: 150px;
  padding: 1.75rem 2.15rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(47, 48, 41, 0.06);
  border-radius: 8px;
  box-shadow: 0 12px 24px rgba(47, 48, 41, 0.13);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.experience-card-line {
  width: 160px;
  height: 3px;
  margin: 0 0 1.35rem;
}

.experience-card p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  line-height: 1.35;
}

.experience-card p + p {
  margin-top: 0.35rem;
}

.experience-card span {
  color: var(--coral-dark);
}

.feature-image,
.form-image {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 24px 70px rgba(47, 48, 41, 0.14);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.feature-image:hover,
.form-image:hover,
.treatments-photo img:hover,
.rebeca-step-photo img:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 76px rgba(47, 48, 41, 0.18);
}

.feature-image {
  aspect-ratio: 5 / 4;
}

.form-image {
  aspect-ratio: 4 / 3;
  margin-top: 1.5rem;
}

.benefit-card {
  height: 100%;
  min-height: 136px;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.benefit-card span {
  width: 42px;
  height: 42px;
  margin-bottom: 1rem;
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: var(--sage);
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 800;
}

.step-cards {
  display: grid;
  gap: 1.35rem;
}

.step-card {
  min-height: 150px;
  padding: 1.75rem 2.15rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(47, 48, 41, 0.06);
  border-radius: 8px;
  box-shadow: 0 12px 24px rgba(47, 48, 41, 0.13);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.experience-card:hover,
.step-card:hover,
.treatment-card:hover {
  transform: translateY(-5px);
  border-color: rgba(238, 153, 133, 0.28);
  box-shadow: 0 18px 34px rgba(47, 48, 41, 0.16);
}

.step-card strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--coral-dark);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 500;
  line-height: 1.35;
}

.step-card p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
  line-height: 1.35;
}

.treatments-section {
  background: #fff;
}

.treatments-title {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

.treatments-title h2 {
  margin: 0;
  font-size: clamp(2rem, 3.8vw, 3.15rem);
  font-weight: 500;
}

.treatments-photo {
  position: relative;
  max-width: 480px;
  margin-inline: auto;
}

.treatments-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 520px;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(47, 48, 41, 0.14);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.treatments-photo + .section-cta {
  margin-top: 1.5rem;
}

.treatment-list {
  display: grid;
  gap: 1.25rem;
}

.treatment-card {
  min-height: 112px;
  padding: 1.2rem 2rem 1.25rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(47, 48, 41, 0.06);
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(47, 48, 41, 0.13);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.treatment-card .experience-card-line {
  width: 150px;
  margin-bottom: 0.8rem;
}

.treatment-card p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.45;
}

.treatment-card strong {
  color: var(--ink);
  font-size: clamp(1.12rem, 1.8vw, 1.32rem);
  font-weight: 700;
}

.rebeca-step-photo {
  position: relative;
  width: min(100%, 460px);
  margin: 3rem 0 0;
}

.rebeca-step-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(47, 48, 41, 0.14);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.form-section {
  background: var(--cream);
}

.signup-form {
  padding: 2rem;
  background: rgb(255 255 255 / 46%);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(47, 48, 41, 0.08);
}

.form-label,
.form-check-label {
  color: var(--ink);
  font-weight: 700;
}

.form-control,
.form-select {
  min-height: 48px;
  border-color: rgba(47, 48, 41, 0.18);
  border-radius: 6px;
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 0.25rem rgba(238, 153, 133, 0.24);
}

.form-check {
  padding: 1rem 1rem 1rem 2.6rem;
  background: #fbf1e8;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.form-check-input:checked {
  background-color: var(--coral);
  border-color: var(--coral);
}

.rules-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rules-list li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.rules-list li::before {
  position: absolute;
  top: 0.62rem;
  left: 0;
  width: 7px;
  height: 7px;
  content: "";
  background: var(--coral);
  border-radius: 50%;
}

.footer {
  color: var(--ink);
}

.contact-footer {
    min-height: 620px;
    padding: 5.5rem 0 4rem;
    background: url("../img/tratamento-facial-rodape.jpg") 100% center / contain no-repeat, #d3d3d3;
}

.contact-footer-content {
  width: min(100%, 430px);
}

.contact-footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(520px, 1fr);
  align-items: start;
  gap: clamp(1.25rem, 3vw, 3rem);
}

.contact-label {
  margin: 0;
  color: var(--ink);
  font-size: 1.45rem;
  line-height: 1.1;
}

.contact-footer h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.35rem, 4vw, 3.8rem);
  font-weight: 500;
}

.contact-line {
  width: 260px;
  height: 6px;
  margin: 0 0 3rem;
  background: #d8a7a9;
  border-radius: 999px;
}

.contact-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  color: var(--ink);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  text-decoration: none;
}

.contact-phone:hover,
.contact-phone:focus {
  color: var(--coral-dark);
}

.contact-phone .bi {
  font-size: 1.7rem;
  line-height: 1;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-width: 300px;
  margin-bottom: 3rem;
  color: #fff;
  background: #d8a7a9;
  border-color: #d8a7a9;
}

.contact-button .bi {
  font-size: 1.2rem;
  line-height: 1;
}

.contact-button:hover,
.contact-button:focus {
  background: var(--coral-dark);
  border-color: var(--coral-dark);
}

.footer-logo {
  width: min(280px, 78vw);
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(76%) sepia(19%) saturate(651%) hue-rotate(314deg) brightness(91%) contrast(87%);
}

.footer-rules {
  width: 100%;
  margin-top: 0;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(47, 48, 41, 0.08);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(47, 48, 41, 0.1);
}

.footer-rules h2 {
  margin-bottom: 1.35rem;
  font-size: clamp(1.75rem, 3vw, 2.45rem);
}

.rules-highlight {
  margin: 0 0 1.4rem;
  padding: 1rem 1.15rem;
  color: var(--ink);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.45;
  background: rgba(216, 167, 169, 0.18);
  border-left: 5px solid #d8a7a9;
  border-radius: 8px;
}

.footer-rules .rules-list {
  grid-template-columns: 1fr;
}

.back-to-top {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 1030;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--coral);
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(47, 48, 41, 0.2);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.back-to-top:hover,
.back-to-top:focus {
  color: #fff;
  background: var(--coral-dark);
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(47, 48, 41, 0.24);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 620ms ease, transform 620ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

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

@keyframes softRise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes imageReveal {
  from {
    opacity: 0;
    transform: scale(1.02);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

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

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

@media (max-width: 991.98px) {
  .hero {
    min-height: auto;
    padding-top: 4.75rem;
    background: var(--cream);
  }

  .hero-row {
    min-height: auto;
  }

  .hero-copy-col {
    min-height: auto;
    padding: 2rem 1.5rem 3rem;
    justify-content: center;
  }

  .hero-visual {
    min-height: 420px;
  }

  .section {
    padding: 4.5rem 0;
  }

  .experience-section {
    padding: 3rem 0;
  }

  .rebeca-step-photo {
    width: min(100%, 420px);
    margin-top: 2rem;
  }

  .contact-footer {
    min-height: auto;
    padding: 4.5rem 0 22rem;
    background:
      linear-gradient(180deg, rgba(244, 243, 240, 0.98) 0%, rgba(244, 243, 240, 0.9) 50%, rgba(244, 243, 240, 0.08) 100%),
      url("../img/tratamento-facial-rodape.jpg") center bottom / min(100%, 620px) auto no-repeat,
      #f4f3f0;
  }

  .footer-rules {
    margin-top: 2.5rem;
  }

  .contact-footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 767.98px) {
  .navbar {
    position: fixed;
    padding: 0.7rem 0;
    background: #fff;
  }

  .nav-container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .navbar-toggler {
    width: 44px;
    height: 38px;
    padding: 0.25rem;
    border-color: rgba(47, 48, 41, 0.14);
    border-radius: 6px;
  }

  .navbar-collapse {
    margin-top: 0.75rem;
    padding: 0.75rem 0;
    border-top: 1px solid rgba(47, 48, 41, 0.08);
  }

  .nav-link {
    padding: 0.65rem 0;
  }

  .hero {
    min-height: auto;
    padding-top: 4.8rem;
  }

  .hero-copy-col {
    padding: 3.25rem 1.5rem 2.2rem;
    text-align: left;
  }

  .hero-copy {
    width: min(100%, 360px);
    margin: 0 auto;
    margin-top: -2rem;
    text-align: center!important;
  }

  .hero-visual {
    min-height: 240px;
    background-position: center top;
  }

  .hero-logo {
    width: min(165px, 62vw);
    margin: 0 auto 1rem;
  }

  .hero .eyebrow {
    margin-bottom: 0.65rem;
    font-size: 0.72rem;
    text-align: center!important;
  }

  h1 {
    max-width: 330px;
    font-size: clamp(2rem, 10vw, 2.65rem);
    line-height: 1.03;
  }

  .lead {
    max-width: 340px;
    margin-bottom: 1.25rem;
    font-size: 1rem;
    line-height: 1.45;
  }

  .hero .btn {
    min-height: 48px;
    font-size: 1.05rem;
  }

  .section-cta {
    width: 100%;
    margin-top: 1.25rem;
  }

  .treatment-card {
    min-height: 76px;
    padding: 1rem 1.25rem;
  }

  .treatments-photo img {
    height: 360px;
  }

  .signup-form {
    padding: 1.25rem;
  }

  .rules-list {
    grid-template-columns: 1fr;
  }

  .footer-rules {
    padding: 1.35rem;
  }

  .btn-lg {
    width: 100%;
  }

  .contact-footer {
    padding-bottom: 18rem;
  }

  .contact-footer-content {
    width: min(100%, 300px);
    margin: 0 auto;
    text-align: center;
  }

  .contact-label {
    font-size: 1rem;
  }

  .contact-footer h2 {
    font-size: 2rem;
  }

  .contact-line {
    width: 150px;
    height: 4px;
    margin: 0.8rem auto 1.5rem;
  }

  .contact-phone {
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.35rem;
    font-size: 0.95rem;
  }

  .contact-phone .bi {
    font-size: 1.1rem;
  }

  .contact-button {
    min-width: 0;
    width: 100%;
    min-height: 42px;
    margin-bottom: 2rem;
    font-size: 0.9rem;
  }

  .footer-logo {
    width: min(190px, 74vw);
    height: auto;
    margin: 0 auto;
  }
}
