/* esteticairacema.com.br — landing page additions on top of web.css */

/* Tratamentos section (renamed from protocolos, plus "Saiba mais" link style) */
.web-tratamentos {
  max-width: var(--container);
  margin: 0 auto;
  padding: 112px 32px;
}
.web-tratamentos__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.web-tratamentos__note {
  text-align: center;
  margin-top: 40px;
  font-style: italic;
  color: var(--coffee-soft);
}

.treat-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
  display: flex;
  flex-direction: column;
}
.treat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}
.treat-card__img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--cream);
}
.treat-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.treat-card__img--video {
  position: relative;
  overflow: hidden;
  background: var(--cream);
}
.treat-card__img--video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.treat-card__body { padding: 28px 28px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.treat-card__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 32px;
  color: var(--ink);
  margin: 4px 0 0;
  line-height: 1.05;
}
.treat-card__desc {
  font-size: 15px;
  color: var(--coffee);
  margin: 0 0 8px;
  line-height: 1.55;
  flex: 1;
}
.treat-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--clay);
  text-decoration: none;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: auto;
  align-self: flex-start;
  width: 100%;
}
.treat-card__link:hover { color: var(--clay-deep); }
.treat-card__link svg { transition: transform var(--dur-base) var(--ease); }
.treat-card:hover .treat-card__link svg { transform: translateX(3px); }

/* About: emphasis italic in the user's voice */
.web-about__copy h2 em { font-style: italic; color: var(--clay); font-weight: 400; }
.web-about__copy p em { font-style: italic; color: var(--coffee); font-weight: 500; }
.web-espaco__copy p em {
  font-style: italic;
  color: var(--sage-deep);
  font-weight: 500;
  font-family: var(--font-display);
  font-size: 1.08em;
}
.web-espaco__h2-small {
  display: inline-block;
  font-size: 42px;
  font-style: italic;
  color: var(--clay);
  font-weight: 400;
  line-height: 1.05;
}

/* Hero — slightly tighten display on smaller desktops, photo treatment */
.web-hero__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(62,47,37,0.22) 100%);
  pointer-events: none;
}
.web-hero__caption {
  z-index: 2;
}

/* Section eyebrow spacing on heros — small visual polish */
.web-hero__copy .eyebrow,
.web-about__copy .eyebrow,
.web-espaco__copy .eyebrow,
.web-agendar__copy .eyebrow,
.web-section__head .eyebrow {
  display: inline-block;
  margin-bottom: 14px;
}

/* Sage accent rule under section heads */
.web-section__head::after {
  content: "";
  display: block;
  width: 56px;
  height: 1px;
  background: var(--clay);
  margin: 20px auto 0;
  opacity: .6;
}

/* Anchor jumps must clear the sticky header */
#sobre, #tratamentos, #espaco, #agendar, #contato { scroll-margin-top: 80px; }

/* Espaço section: bump body copy to ink for AA contrast on the sand background */
.web-espaco__copy p { color: var(--ink); }
.web-espaco__info dt { color: var(--ink); }
.web-espaco__info dd { color: var(--ink); }

/* Footer link spacing for tap-target comfort */
.web-footer__cols p a {
  display: inline-block;
  padding: 6px 0;
}

/* Pause the in-card video for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .treat-card__img--video video {
    display: none;
  }
  .treat-card__img--video::after {
    content: "Vídeo desativado para movimento reduzido";
    display: block;
    padding: 24px;
    color: var(--coffee);
    font-style: italic;
    text-align: center;
  }
}

/* Responsive */
@media (max-width: 960px) {
  .web-hero,
  .web-about,
  .web-espaco,
  .web-agendar {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-left: 24px;
    padding-right: 24px;
  }
  .web-hero { padding-top: 48px; padding-bottom: 64px; }
  .web-hero__copy .display { font-size: 64px; }
  .web-about__copy h2,
  .web-espaco__copy h2,
  .web-agendar h2,
  .web-section__head h2 { font-size: 40px; }
  .web-tratamentos { padding: 72px 24px; }
  .web-tratamentos__grid { grid-template-columns: 1fr; }
  .web-header__inner { padding: 14px 20px; gap: 14px; }
  .web-header__links { gap: 16px; font-size: 13px; }
  .web-header__links a { font-size: 13px; }
  .web-footer__top { grid-template-columns: 1fr; gap: 32px; }
  .web-footer__cols { grid-template-columns: 1fr 1fr; gap: 24px; }
  .web-footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
  .web-hero__credentials { flex-wrap: wrap; gap: 20px; }
  .web-espaco__images { grid-template-columns: 1fr 1fr; }
  .web-espaco__images .img-short { margin-top: 0; }
}
@media (max-width: 640px) {
  .web-header__links { display: none; }
}
@media (max-width: 560px) {
  .web-hero__copy .display { font-size: 52px; }
  .web-depoimento__quote { font-size: 28px; }
  .web-footer__cols { grid-template-columns: 1fr; }
  .web-agendar__form { padding: 20px; }
  .web-agendar__form .form-row { grid-template-columns: 1fr; }
  .web-espaco__info div { grid-template-columns: 1fr; gap: 4px; }
  .web-espaco__images { grid-template-columns: 1fr; }
  .web-footer__brand .script.display { font-size: 40px; }
}
