/* =============================================
   ES Estética Saúde — Stylesheet
   ============================================= */

/* === CSS VARIABLES === */
:root {
  --bg: #FAFAF8;
  --dark: #181818;
  --dark-2: #2C2C2C;
  --gold: #B8945A;
  --gold-light: #D4B896;
  --cream: #F2E9DF;
  --cream-2: #E9DDD1;
  --text: #3A3A3A;
  --text-light: #7A7A7A;
  --border: #DDD5CA;
  --white: #FFFFFF;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 4px 24px rgba(0,0,0,0.09);
  --shadow-lg: 0 16px 56px rgba(0,0,0,0.15);

  --max: 1240px;
  --pad: clamp(1.25rem, 4vw, 2rem);
  --header-h: 88px;
  --bar-h: 38px;
}

/* === RESET === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* === UTILS === */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.hidden { display: none !important; }

/* === TOP BAR === */
.top-bar {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  height: var(--bar-h);
  display: flex;
  align-items: center;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar__links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.top-bar__links a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}
.top-bar__links a:hover { color: var(--gold-light); }
.top-bar__socials {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.top-bar__socials a {
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
  display: flex;
  align-items: center;
}
.top-bar__socials a:hover { color: var(--gold-light); }
.top-bar__socials svg { width: 15px; height: 15px; }
.top-bar__links svg { width: 14px; height: 14px; }

/* === HEADER === */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
  transition: box-shadow 0.3s;
}
.header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.09); }
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 2rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.logo__image {
  height: 46px;
  width: auto;
  max-width: 210px;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}
.logo__image--footer {
  filter: brightness(0) invert(1);
  opacity: 0.88;
}
.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.logo__text strong {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--dark);
}
.logo__text em {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Navigation */
.nav { flex: 1; }
.nav__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}
.nav__list > li { position: relative; }
.nav__list > li > a {
  display: block;
  padding: 0.5rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--dark-2);
  transition: color 0.2s;
}
.nav__list > li > a:hover { color: var(--gold); }
.nav__list > li.active > a { color: var(--gold); }

/* Dropdown */
.nav__item--dropdown { position: relative; }
/* Ponte invisível que cobre o gap entre o link e o dropdown */
.nav__item--dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -20px;
  right: -20px;
  height: 22px;
}
.nav__item--dropdown > a::after {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-left: 5px;
  margin-bottom: 2px;
  transition: transform 0.2s;
}
.nav__item--dropdown:hover > a::after { transform: rotate(-135deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 2px solid var(--gold);
  box-shadow: var(--shadow-lg);
  min-width: 480px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  transform: translateX(-50%) translateY(-8px);
}
.nav__item--dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.dropdown__col { padding: 1.5rem 1.75rem; }
.dropdown__col:first-child { border-right: 1px solid var(--border); }
.dropdown__col h4 {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}
.dropdown__col li + li { margin-top: 0.1rem; }
.dropdown__col li a {
  display: block;
  padding: 0.35rem 0;
  font-size: 0.88rem;
  color: var(--text);
  transition: color 0.2s, padding-left 0.2s;
}
.dropdown__col li a:hover { color: var(--gold); padding-left: 4px; }

/* Header CTA */
.header__cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.btn-wa {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: #25D366;
  color: white;
  padding: 0.55rem 1.1rem;
  border-radius: 2px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background 0.2s, transform 0.2s;
}
.btn-wa:hover { background: #20BD5C; transform: translateY(-1px); }
.btn-wa svg { width: 16px; height: 16px; }
.header__cta .header__book-btn {
  padding: 0.55rem 1.1rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  gap: 0.4rem;
  border: none;
  border-radius: 2px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  width: 36px;
}
.hamburger span {
  display: block;
  height: 1.5px;
  background: var(--dark);
  transition: var(--t);
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* === HERO === */
.hero {
  position: relative;
  height: calc(100vh - var(--header-h) - var(--bar-h));
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__slider {
  position: absolute;
  inset: 0;
}
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
}
.hero__slide--active {
  opacity: 1;
}
.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(15,10,8,0.72) 0%,
    rgba(15,10,8,0.45) 55%,
    rgba(15,10,8,0.15) 100%
  );
  z-index: 1;
}
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.hero__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(184,148,90,0.4);
}
.hero__title {
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 500;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.hero__title em {
  font-style: italic;
  color: var(--gold-light);
}
.hero__sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.72);
  font-weight: 300;
  letter-spacing: 0.04em;
  margin-bottom: 2.5rem;
  max-width: 420px;
}
.hero__btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.hero__scroll span {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.hero__scroll-bar {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollBar 2s ease-in-out infinite;
}
@keyframes scrollBar {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: var(--t);
  text-decoration: none;
}
.btn--gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn--gold:hover {
  background: #a07a45;
  border-color: #a07a45;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184,148,90,0.3);
}
.btn--outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.45);
}
.btn--outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.8);
}
.btn--outline-dark {
  background: transparent;
  color: var(--dark);
  border-color: var(--dark);
}
.btn--outline-dark:hover {
  background: var(--dark);
  color: var(--white);
}
.btn--dark {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}
.btn--dark:hover {
  background: #000;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* === SECTION COMMON === */
.section-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 0.85rem;
}
.section-header p {
  font-size: 0.95rem;
  color: var(--text-light);
  max-width: 520px;
  margin: 0 auto;
}

/* === INTRO STRIP === */
.strip {
  background: var(--dark);
  padding: 3rem 0;
}
.strip .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.strip__item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1rem 2rem;
}
.strip__item + .strip__item {
  border-left: 1px solid rgba(255,255,255,0.1);
}
.strip__icon {
  width: 44px;
  height: 44px;
  background: rgba(184,148,90,0.15);
  border: 1px solid rgba(184,148,90,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.strip__icon svg { width: 20px; height: 20px; color: var(--gold-light); }
.strip__text strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.25rem;
  letter-spacing: 0.03em;
}
.strip__text span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

/* === SOBRE NÓS === */
.sobre { padding: 6rem 0; }
.sobre .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.sobre__visual { position: relative; }
.sobre__visual .img-block {
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
  position: relative;
}
.sobre__visual .img-block img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.sobre__visual .img-block:hover img { transform: scale(1.04); }
.sobre__badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 140px;
  height: 140px;
  background: var(--gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  padding: 1rem;
}
.sobre__badge strong {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1;
}
.sobre__badge span {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-top: 0.3rem;
}
.sobre__content h2 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 1.5rem;
}
.sobre__content p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.75;
}
.sobre__content p:last-of-type { margin-bottom: 2rem; }
.sobre__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
  padding: 1.75rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat strong {
  display: block;
  font-family: var(--serif);
  font-size: 2.25rem;
  font-weight: 400;
  color: var(--dark);
  line-height: 1;
}
.stat span {
  font-size: 0.75rem;
  color: var(--text-light);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* === TRATAMENTOS / SERVIÇOS === */
.tratamentos { padding: 6rem 0; background: var(--cream); }

/* Category selector (Medicina Estética / Outros Serviços) */
.servicos__cat-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 1.75rem;
  background: var(--dark);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.cat-btn {
  padding: 0.85rem 2.75rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: var(--t);
}
.cat-btn + .cat-btn { border-left: 1px solid rgba(255,255,255,0.12); }
.cat-btn.active {
  color: var(--white);
  background: rgba(184,148,90,0.18);
}
.cat-btn:hover:not(.active) { color: rgba(255,255,255,0.75); }

/* Outros Serviços grid */
.servicos__outros-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

/* Service Card (Outros Serviços) */
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: var(--t);
}
.service-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.service-card__icon {
  width: 46px;
  height: 46px;
  background: var(--cream);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.service-card__icon svg { width: 20px; height: 20px; color: var(--gold); }
.service-card__content { flex: 1; }
.service-card__title {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 0.3rem;
}
.service-card__sub {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.service-card__desc {
  font-size: 0.84rem;
  color: var(--text-light);
  line-height: 1.7;
}
.service-card__cta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gold);
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  margin-top: auto;
  transition: gap 0.2s, color 0.2s;
  text-decoration: none;
}
.service-card:hover .service-card__cta { gap: 0.65rem; }

/* Wide dropdown (mega menu) */
.dropdown--wide {
  min-width: 620px;
  grid-template-columns: repeat(3, 1fr);
}
.dropdown__footer {
  grid-column: span 3;
  padding: 0.8rem 1.75rem;
  border-top: 1px solid var(--border);
  background: var(--cream);
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.dropdown__footer span {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light);
  flex-shrink: 0;
}
.dropdown__footer a {
  font-size: 0.8rem;
  color: var(--text);
  transition: color 0.2s;
}
.dropdown__footer a:hover { color: var(--gold); }

.tratamentos__tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 3rem;
  border: 1px solid var(--border);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  background: var(--white);
}
.tab-btn,
.sub-tab-btn {
  padding: 0.7rem 2.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: var(--t);
  position: relative;
}
.tab-btn + .tab-btn,
.sub-tab-btn + .sub-tab-btn { border-left: 1px solid var(--border); }
.tab-btn.active,
.sub-tab-btn.active {
  background: var(--dark);
  color: var(--white);
}
.tratamentos__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5px;
  background: var(--border);
}
.treatment-card {
  background: var(--white);
  cursor: pointer;
  overflow: hidden;
  position: relative;
  transition: var(--t);
  display: flex;
  flex-direction: column;
}
.treatment-card:hover { z-index: 1; box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.treatment-card__img {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
  background: var(--cream-2);
}
.treatment-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.treatment-card:hover .treatment-card__img img { transform: scale(1.05); }
.treatment-card__body {
  padding: 1.75rem;
  flex: 1;
}
.treatment-card__body h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 0.6rem;
}
.treatment-card__body p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.treatment-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.75rem;
  border-top: 1px solid var(--border);
}
.treatment-card__sessions {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.treatment-card__sessions svg { width: 12px; height: 12px; color: var(--gold); }
.treatment-card__link {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap 0.2s;
}
.treatment-card:hover .treatment-card__link { gap: 0.6rem; }
.treatment-card__link svg { width: 14px; height: 14px; }

/* === CTA BANNER === */
.cta-banner {
  background: var(--dark);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at center, rgba(184,148,90,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner .section-tag { display: block; margin-bottom: 1rem; }
.cta-banner h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.cta-banner h2 em { font-style: italic; color: var(--gold-light); }
.cta-banner p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 2.5rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.cta-banner .btn-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* === GALERIA === */
.galeria { padding: 6rem 0 3rem; }
.galeria__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 6px;
  margin-top: 3.5rem;
}
.gal-item {
  overflow: hidden;
  position: relative;
  background: var(--cream);
  cursor: pointer;
}
.gal-item:nth-child(1) { grid-column: span 7; grid-row: span 2; }
.gal-item:nth-child(2) { grid-column: span 5; }
.gal-item:nth-child(3) { grid-column: span 5; }
.gal-item:nth-child(4) { grid-column: span 4; }
.gal-item:nth-child(5) { grid-column: span 4; }
.gal-item:nth-child(6) { grid-column: span 4; }
.gal-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.gal-item:hover img { transform: scale(1.06); }
.gal-placeholder {
  width: 100%;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 2rem;
  border: 1.5px dashed var(--border);
  color: var(--text-light);
  background: var(--bg);
}
.gal-item:nth-child(1) .gal-placeholder { min-height: 420px; }
.gal-placeholder svg { width: 28px; height: 28px; opacity: 0.4; }
.gal-placeholder span { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.5; }
.galeria__cta { text-align: center; margin-top: 2.5rem; }

/* === CONTACTOS === */
.contactos { padding: 6rem 0; background: var(--cream); }
.contactos .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.contactos__info h2 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}
.contactos__info p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.75;
}
.contact-items { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  transition: var(--t);
}
.contact-item:hover { border-color: var(--gold); }
.contact-item__icon {
  width: 40px;
  height: 40px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item__icon svg { width: 18px; height: 18px; color: var(--gold); }
.contact-item__label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.3rem;
}
.contact-item__value {
  font-size: 0.92rem;
  color: var(--dark);
  font-weight: 500;
}
.contact-item__value a { color: var(--dark); transition: color 0.2s; }
.contact-item__value a:hover { color: var(--gold); }
.contactos__map {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
}
.map-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--cream-2);
  border: 1.5px dashed var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--text-light);
}
.map-placeholder svg { width: 36px; height: 36px; opacity: 0.35; }
.map-placeholder p { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.5; }
.contactos__form {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--sans);
  font-size: 0.875rem;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--text-light); }
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus { border-color: var(--gold); }
.form-field textarea { min-height: 100px; resize: vertical; }

/* === RESERVAS === */
.reservas {
  padding: 6rem 0;
  background: var(--dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.reservas::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at center, rgba(184,148,90,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.reservas .section-tag { display: block; margin-bottom: 1rem; }
.reservas .section-header h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 1rem;
}
.reservas .section-header p {
  color: rgba(255,255,255,0.6);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.reservas__cta {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
  position: relative;
}
.btn--lg {
  padding: 1.1rem 3rem;
  font-size: 1rem;
  gap: 0.65rem;
}

/* === FOOTER === */
.footer {
  background: #111111;
  color: rgba(255,255,255,0.6);
  padding: 3.5rem 0 1.5rem;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 1.5rem;
}
.footer__brand p {
  font-size: 0.84rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.45);
  margin-top: 1.25rem;
  max-width: 280px;
}
.footer__socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.footer__socials a {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: var(--t);
}
.footer__socials a:hover { border-color: var(--gold); color: var(--gold-light); }
.footer__socials svg { width: 15px; height: 15px; }
.footer__col h4 {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.footer__col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer__col ul a {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer__col ul a:hover { color: var(--gold-light); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer__bottom a { color: rgba(255,255,255,0.3); transition: color 0.2s; }
.footer__bottom a:hover { color: var(--gold-light); }

/* === MODAL === */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,12,10,0.75);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
  backdrop-filter: blur(4px);
}
.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}
.modal {
  background: var(--white);
  width: 100%;
  max-width: 760px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.35s var(--ease);
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }
.modal__close {
  position: sticky;
  top: 0;
  left: 100%;
  float: right;
  width: 44px;
  height: 44px;
  background: var(--dark);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s;
  border: none;
}
.modal__close:hover { background: var(--gold); }
.modal__hero {
  width: 100%;
  aspect-ratio: 16/7;
  overflow: hidden;
  background: var(--cream-2);
}
.modal__hero img { width: 100%; height: 100%; object-fit: cover; }
.modal__img-placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  color: var(--text-light);
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-2) 100%);
}
.modal__img-placeholder svg { width: 32px; height: 32px; opacity: 0.35; }
.modal__img-placeholder span { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.5; }
.modal__body { padding: 2.5rem; }
.modal__cat {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.modal__title {
  font-family: var(--serif);
  font-size: 2.25rem;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 0.5rem;
}
.modal__subtitle {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}
.modal__desc {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.modal__benefits {
  margin-bottom: 2rem;
}
.modal__benefits h4 {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 1rem;
}
.modal__benefits ul { display: flex; flex-direction: column; gap: 0.5rem; }
.modal__benefits li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: var(--text);
}
.modal__benefits li::before {
  content: '';
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B8945A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
  flex-shrink: 0;
  margin-top: 1px;
}
.modal__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}
.modal__meta-item {
  background: var(--cream);
  padding: 1rem 1.25rem;
}
.modal__meta-item label {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.4rem;
}
.modal__meta-item p { font-size: 0.85rem; color: var(--text); }
.modal__cta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* === IMAGE BLOCK PLACEHOLDER === */
.img-block-placeholder {
  width: 100%;
  height: 100%;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border: 1.5px dashed var(--border);
  background: var(--bg);
  color: var(--text-light);
}
.img-block-placeholder svg { width: 28px; height: 28px; opacity: 0.35; }
.img-block-placeholder span {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.5;
}

/* === MOBILE NAV OVERLAY === */
.mobile-nav {
  position: fixed;
  inset: 0;
  top: var(--header-h);
  background: var(--white);
  z-index: 90;
  padding: 2rem var(--pad);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav__section { margin-bottom: 2rem; }
.mobile-nav__section h4 {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}
.mobile-nav__section ul { display: flex; flex-direction: column; gap: 0; }
.mobile-nav__section ul a {
  display: block;
  padding: 0.7rem 0;
  font-size: 0.95rem;
  color: var(--text);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.mobile-nav .btn-wa { margin-top: 1rem; display: inline-flex; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .sobre .container { gap: 3rem; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: span 2; }
}

@media (max-width: 860px) {
  :root { --header-h: 70px; }
  .nav { display: none; }
  .hamburger { display: flex; }
  .top-bar__links .email-link { display: none; }
  .header__book-btn-text { display: none; }
  .header__cta .header__book-btn { padding: 0.55rem 0.7rem; gap: 0; }
  .btn-wa-text { display: none; }
  .btn-wa { padding: 0.55rem 0.7rem; gap: 0; }

  .strip .container { grid-template-columns: 1fr; }
  .strip__item + .strip__item { border-left: none; border-top: 1px solid rgba(255,255,255,0.1); }

  .sobre .container { grid-template-columns: 1fr; }
  .sobre__badge { right: 1rem; bottom: -1rem; width: 110px; height: 110px; }

  .contactos .container { grid-template-columns: 1fr; }
  .contactos__map { position: static; }

  .galeria__grid { grid-template-columns: 1fr 1fr; }
  .gal-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .gal-item:nth-child(2),
  .gal-item:nth-child(3),
  .gal-item:nth-child(4),
  .gal-item:nth-child(5),
  .gal-item:nth-child(6) { grid-column: span 1; }

  .footer__top { grid-template-columns: 1fr; }
  .footer__brand { grid-column: auto; }

  .form-row { grid-template-columns: 1fr; }

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

@media (max-width: 540px) {
  .hero__btns { flex-direction: column; }
  .cta-banner .btn-group { flex-direction: column; align-items: center; }
  .sobre__stats { grid-template-columns: repeat(3, 1fr); }
  .tratamentos__grid { grid-template-columns: 1fr; }
  .servicos__cat-tabs { width: 100%; }
  .cat-btn { flex: 1; padding: 0.85rem 1rem; }
  .servicos__outros-grid { grid-template-columns: 1fr; }
  .tratamentos__tabs { width: 100%; }
  .sub-tab-btn { flex: 1; padding: 0.7rem 0.4rem; font-size: 0.68rem; letter-spacing: 0.06em; }
}

@media (max-width: 860px) {
  .servicos__outros-grid { grid-template-columns: repeat(2, 1fr); }
  .dropdown--wide { min-width: 320px; grid-template-columns: 1fr; }
  .dropdown__footer { grid-column: span 1; }
}

/* === LIGHTBOX === */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(10,8,6,0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox__img {
  max-width: min(90vw, 1100px);
  max-height: 85vh;
  object-fit: contain;
  display: block;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6);
}
.lightbox__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  z-index: 10;
}
.lightbox__close:hover { background: var(--gold); border-color: var(--gold); }
.lightbox__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  z-index: 10;
}
.lightbox__btn:hover { background: var(--gold); border-color: var(--gold); }
.lightbox__prev { left: 1.25rem; }
.lightbox__next { right: 1.25rem; }
.lightbox__counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  pointer-events: none;
}
@media (max-width: 540px) {
  .lightbox__btn { display: none; }
}

/* === TESTEMUNHOS SLIDER === */
.testemunhos { padding: 2.5rem 0 4.5rem; background: var(--bg); }
.testemunhos .section-header { margin-bottom: 2rem; }
.testemunhos .section-header h2 { color: var(--dark); }
.testemunhos .section-header p  { color: var(--text-light); }
.testemunhos .section-tag       { color: var(--gold); }
.testemunhos__outer { overflow: hidden; width: 100%; }
.testemunhos__track {
  display: flex;
  width: 100%;
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.testemunho-card {
  flex: 0 0 100%;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 2.25rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-sizing: border-box;
}
.testemunho-card__stars {
  color: var(--gold);
  font-size: 0.88rem;
  letter-spacing: 3px;
  line-height: 1;
}
.testemunho-card__text {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.7;
  max-width: 800px;
}
.testemunho-card__text::before { content: '\201C'; }
.testemunho-card__text::after  { content: '\201D'; }
.testemunho-card__author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.testemunho-card__name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark);
}
.testemunho-card__treatment {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  padding-left: 1rem;
  border-left: 1px solid var(--border);
}
.testemunhos__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}
.testemunhos__arrow {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  flex-shrink: 0;
}
.testemunhos__arrow:hover { border-color: var(--gold); color: var(--gold); }
.testemunhos__dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.t-dot {
  width: 6px;
  height: 6px;
  background: var(--border);
  border-radius: 50%;
  cursor: pointer;
  transition: width 0.3s var(--ease), background 0.3s, border-radius 0.3s;
}
.t-dot.active {
  width: 22px;
  background: var(--gold);
  border-radius: 3px;
}
.testemunhos__insta {
  text-align: center;
  margin-top: 2.5rem;
}
@media (max-width: 860px) {
  .testemunho-card { padding: 1.75rem 1.5rem; }
  .testemunho-card__text { font-size: 1.05rem; }
}
@media (max-width: 540px) {
  .testemunhos { padding: 2rem 0 3.5rem; }
  .testemunho-card { padding: 1.5rem 1.25rem; gap: 0.75rem; }
  .testemunho-card__text { font-size: 0.98rem; }
  .testemunho-card__author { flex-wrap: wrap; gap: 0.5rem; }
  .testemunho-card__treatment { padding-left: 0; border-left: none; border-top: 1px solid var(--border); padding-top: 0.4rem; width: 100%; }
  .testemunhos__nav { gap: 1rem; }
}

/* === FORM FEEDBACK === */
.form-feedback {
  padding: 0.9rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
  margin-top: 0.25rem;
}
.form-feedback--success {
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.3);
  color: #15803d;
}
.form-feedback--error {
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.3);
  color: #b91c1c;
}
