/* ========================================
   Andreia Salaro — Unified Responsive CSS (Light Theme)
   Follows high-fidelity mobile reference layout and clean desktop rules.
   ======================================== */

/* ---- Core Layout Elements ---- */
body {
  background: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-body);
}

/* ---- Header ---- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(251, 246, 245, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(138, 99, 91, 0.06);
  transition: background 0.3s ease, box-shadow 0.3s ease;
  padding: 0.5rem 1rem;
}
.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(138, 99, 91, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max-width);
  margin: 0 auto;
}
.logo-link {
  display: flex;
  align-items: center;
  flex-direction: column;
}
.header-logo-img {
  height: clamp(65px, 14vw, 82px);
  width: auto;
  object-fit: contain;
}

/* Nav Menu Desktop (hidden by default on mobile) */
.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.5rem;
}
.nav-link {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-secondary);
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: color var(--transition-fast);
  position: relative;
}
.nav-link:hover,
.nav-link.active {
  color: var(--primary-dark);
}

/* Header Actions always shown on mobile too, but styled compactly */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.header-actions .btn-header {
  background: var(--primary-dark);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: none;
  box-shadow: 0 4px 10px rgba(138, 99, 91, 0.15);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}
.header-actions .btn-header svg {
  width: 12px;
  height: 12px;
}
.header-my-booking {
  display: none; /* hidden on mobile header to save space */
}

/* Hamburger button */
.mobile-hamburger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-hamburger svg {
  width: 24px;
  height: 24px;
  stroke: var(--primary-dark);
}

/* ---- Mobile Menu Drawer ---- */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background: var(--card-bg);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  padding: 4rem 2rem 2rem;
  gap: 1.25rem;
  transition: right 0.3s ease;
  box-shadow: -5px 0 30px rgba(138, 99, 91, 0.1);
}
.mobile-menu.open {
  right: 0;
}
.mobile-link {
  font-size: 0.95rem;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

/* ============================================
   HERO MOBILE-FIRST
   ============================================ */
.hero-section {
  padding-top: 65px;
  background: linear-gradient(180deg, #FBF6F5 0%, #F5EDEB 100%);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 1.5rem;
  padding: 1.5rem 1rem 1rem;
}
.hero-content {
  width: 100%;
  max-width: 100%;
  text-align: left;
}
.hero-eyebrow {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 6.5vw, 2.5rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}
.hero-title em {
  font-style: italic;
  color: var(--primary-dark);
  font-size: clamp(1.2rem, 5vw, 2rem);
  display: block;
  margin-top: 2px;
}
.hero-desc {
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}
.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}
.hero-buttons .btn {
  width: 100%;
  max-width: 180px;
  padding: 0.65rem 1.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
}
.hero-my-booking {
  display: none;
}

/* Differential strips under Hero */
.hero-differentials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 1.5rem 0 1rem;
  border-top: 1px solid rgba(138, 99, 91, 0.08);
  padding-top: 1rem;
}
.hero-differential-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-size: 0.7rem;
  line-height: 1.2;
  color: var(--text-secondary);
}
.hero-differential-item svg {
  width: 20px;
  height: 20px;
  color: var(--primary-dark);
  margin-bottom: 0.25rem;
}

.hero-image-wrapper {
  display: block;
  width: 40%;
  max-width: 155px;
  flex-shrink: 0;
}
.hero-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(138, 99, 91, 0.1);
}

/* ============================================
   SOBRE MIM CARD
   ============================================ */
.sobre-section {
  padding: 2rem 0;
  background: var(--bg-color);
}
.sobre-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
}
.sobre-card-image-wrapper {
  width: 100%;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
}
.sobre-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sobre-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.sobre-card-eyebrow {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary-dark);
  margin-bottom: 0.25rem;
  font-weight: 600;
}
.sobre-card-text {
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}
.sobre-card-metrics {
  display: flex;
  gap: 0.25rem;
  background: #FAF3F2;
  padding: 0.4rem;
  border-radius: 8px;
  justify-content: space-between;
}
.sobre-metric-item {
  text-align: center;
  flex: 1;
}
.sobre-metric-number {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-dark);
  display: block;
  line-height: 1;
}
.sobre-metric-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  display: block;
  line-height: 1.1;
  margin-top: 2px;
}

/* ============================================
   SERVIÇOS (2x2 Grid)
   ============================================ */
.servicos-section {
  padding: 2.5rem 0;
  background: var(--bg-color);
}
.servicos-categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
.servico-card {
  background: var(--card-bg);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: 0 6px 20px rgba(0,0,0,0.04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.servico-card:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.servico-image-wrapper {
  aspect-ratio: 4/3;
  width: 100%;
  overflow: hidden;
}
.servico-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.servico-info-content {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}
.servico-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-primary);
}
.servico-title svg {
  color: var(--primary-dark);
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}
.servico-desc {
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.servico-card-featured .servico-desc {
  -webkit-line-clamp: 4;
}

.servico-price {
  margin: 0 0 .65rem;
  color: var(--primary-dark);
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.25;
}

.servico-price span {
  font-size: .72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.servico-info-content .btn {
  font-size: 0.78rem;
  padding: 0.5rem;
  width: 100%;
  border-radius: 999px;
  background: transparent;
  color: var(--primary-dark);
  border: 1px solid var(--primary-color);
  font-weight: 600;
}

/* ============================================
   RESULTADOS (Antes & Depois)
   ============================================ */
.antes-depois-container {
  max-width: 500px;
  margin: 0 auto;
  padding: 0 1rem;
}
.comparison-slider {
  aspect-ratio: 4/3;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.comparison-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0; left: 0;
}
.comparison-range {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0; cursor: col-resize; z-index: 20;
}
.comparison-handle {
  position: absolute;
  top: 0; bottom: 0; left: 50%;
  width: 3px; background: #fff; z-index: 15;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}
.zoom-btn {
  position: absolute;
  top: 0.75rem; right: 0.75rem;
  z-index: 25; background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-primary);
}
.thumbnails {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  justify-content: center;
}
.thumbnail {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  object-fit: cover;
  cursor: pointer;
  opacity: 0.6;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}
.thumbnail.active {
  opacity: 1;
  border-color: var(--primary-dark);
}

/* ============================================
   DEPOIMENTOS (Testimonials Carousel)
   ============================================ */
.depoimentos-grid {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.depoimentos-grid::-webkit-scrollbar {
  display: none;
}
.depoimento-card {
  flex: 0 0 280px;
  scroll-snap-align: center;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.25rem;
}
.depoimento-stars {
  display: flex;
  color: #F5A623;
  gap: 2px;
  margin-bottom: 0.75rem;
}
.depoimento-stars svg {
  width: 14px;
  height: 14px;
}
.depoimento-text {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  min-height: 4.5rem;
}
.depoimento-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.depoimento-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}
.depoimento-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 1rem;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #EADEDD;
  transition: background 0.3s ease;
  cursor: pointer;
}
.carousel-dot.active {
  background: var(--primary-dark);
}

/* ============================================
   COMO FUNCIONA
   ============================================ */
.como-funciona-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.steps-flow-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: 100%;
}
.step-flow-chevron {
  display: none !important;
}
.step-flow-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 140px;
}
.step-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0.75rem;
}
.step-flow-number {
  background: transparent;
  color: var(--primary-dark);
  font-size: 0.85rem;
  font-weight: 700;
  opacity: 0.5;
}
.step-flow-icon svg {
  width: 16px;
  height: 16px;
  color: var(--primary-dark);
}
.step-flow-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}
.step-flow-desc {
  font-size: 0.72rem;
  line-height: 1.25;
  color: var(--text-secondary);
}
.step-flow-chevron {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-flow-chevron svg {
  width: 14px;
  height: 14px;
  color: var(--text-muted);
}

.como-funciona-cta-box {
  background: var(--primary-dark);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  color: #fff;
}
.como-funciona-cta-title {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  color: #fff;
}
.como-funciona-cta-desc {
  font-size: 0.95rem;
  opacity: 0.85;
  margin-bottom: 1.25rem;
}
.como-funciona-cta-box .btn {
  width: 100%;
  margin-bottom: 0.5rem;
}
.btn-white-bg {
  background: #fff !important;
  color: var(--primary-dark) !important;
}
.btn-outline-white {
  background: transparent !important;
  color: #fff !important;
  border: 1.5px solid rgba(255,255,255,0.4) !important;
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-layout {
  width: 100%;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background: transparent;
  border: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
}
.faq-icon {
  width: 16px;
  height: 16px;
  color: var(--primary-dark);
  transition: transform 0.3s ease;
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 1rem 1rem;
}
.faq-answer p {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-secondary);
}
.faq-image-col {
  display: none;
}

/* ============================================
   CTA FINAL SECTION
   ============================================ */
.cta-final-section {
  background: var(--primary-dark);
  padding: 3rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  margin: 2rem 0 0;
  color: #fff;
}
.cta-final-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 0.5rem;
}
.cta-final-desc {
  color: rgba(255,255,255,0.8);
  font-size: 0.8rem;
  margin-bottom: 1.5rem;
}
.cta-final-section .btn {
  background: #fff;
  color: var(--primary-dark);
  padding: 0.8rem 2rem;
  font-weight: 600;
  font-size: 0.8rem;
}
.cta-leaf-decoration {
  position: absolute;
  right: -10px;
  bottom: -10px;
  opacity: 0.08;
  width: 90px;
  pointer-events: none;
}

/* ============================================
   FOOTER MOBILE-FIRST
   ============================================ */
.footer {
  background: var(--bg-color);
  border-top: 1px solid var(--border-color);
  padding: 3rem 0 2rem;
}
.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  text-align: center;
}
.footer-brand-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-map-col {
  display: none;
}
.footer-logo img {
  height: 50px;
  width: auto;
}
.footer-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
}
.footer-text {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer-links-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.8rem;
}
.footer-links-list a {
  color: var(--text-secondary);
  text-decoration: none;
}
.footer-social-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 0.5rem;
}
.footer-social-row a {
  color: var(--primary-dark);
}
.footer-social-row svg {
  width: 20px;
  height: 20px;
}
.copyright {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-align: center;
}
.copyright a {
  color: var(--text-muted);
  text-decoration: none;
}

/* ============================================
   DESKTOP RESPONSIVE BREAKPOINTS (769px+)
   ============================================ */
@media (min-width: 769px) {
  /* Header */
  .site-header {
    padding: 1rem 2rem;
  }
  .header-logo-img {
    height: 85px;
  }
  .nav-desktop {
    display: flex;
  }
  .header-actions .btn-header {
    font-size: 0.9rem;
    padding: 0.75rem 2rem;
  }
  .mobile-hamburger {
    display: none;
  }

  /* Hero */
  .hero-section {
    min-height: clamp(550px, 80vh, 900px);
    display: flex;
    align-items: center;
    padding-top: 0;
  }
  .hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    padding: 100px 2rem 50px;
    max-width: var(--container-max-width);
    margin: 0 auto;
  }
  .hero-content {
    max-width: 580px;
  }
  .hero-eyebrow {
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
  }
  .hero-title {
    font-size: 3.8rem;
  }
  .hero-title em {
    font-size: 2.8rem;
    display: inline;
    margin-top: 0;
  }
  .hero-desc {
    font-size: 1.05rem;
    margin: 0 0 2rem;
  }
  .hero-buttons {
    flex-direction: row;
    gap: 1rem;
  }
  .hero-buttons .btn {
    font-size: 0.9rem;
    padding: 0.85rem 2rem;
    max-width: none;
    width: auto;
  }
  .hero-image-wrapper {
    max-width: 450px;
    width: 100%;
  }

  /* Differentials */
  .hero-differentials {
    grid-column: 1 / -1;
    justify-content: center;
    margin: 2rem 0 0;
    gap: 3rem;
  }
  .hero-differential-item {
    flex-direction: row;
    text-align: left;
    font-size: 0.85rem;
  }
  .hero-differential-item svg {
    margin-bottom: 0;
  }

  /* Sobre Card */
  .sobre-section {
    padding: 4rem 0;
  }
  .sobre-card {
    padding: 2.5rem;
    gap: 3rem;
    display: grid;
    grid-template-areas: 
      "image header"
      "image body";
    grid-template-columns: 380px 1fr;
    align-items: center;
  }
  .sobre-card-header {
    grid-area: header;
  }
  .sobre-card-image-wrapper {
    grid-area: image;
    width: 100%;
  }
  .sobre-card-body {
    grid-area: body;
  }
  .sobre-card-text {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }
  .sobre-card-metrics {
    gap: 1rem;
    padding: 1rem;
  }
  .sobre-metric-number {
    font-size: 2.2rem;
  }
  .sobre-metric-label {
    font-size: 0.85rem;
  }

  /* Serviços */
  .servicos-section {
    padding: 4rem 0;
  }
  .servicos-categories-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
  .servico-title {
    font-size: 1.25rem;
  }
  .servico-desc {
    font-size: 0.92rem;
    line-height: 1.4;
  }

  /* Resultados Slider */
  .thumbnail {
    width: 70px;
    height: 70px;
  }

  /* Testimonials */
  .depoimento-card {
    flex: 0 0 340px;
  }

  /* Como Funciona */
  .como-funciona-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
  }
  .steps-flow-container {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
  .step-flow-card {
    min-height: 180px;
    padding: 1.5rem 1rem;
  }
  .step-flow-title {
    font-size: 1rem;
  }
  .step-flow-desc {
    font-size: 0.85rem;
  }

  /* FAQ */
  .faq-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: start;
  }
  .faq-image-col {
    display: block;
  }
  .faq-image-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
  }

  /* Footer */
  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    align-items: flex-start;
  }
  .footer-brand-col {
    align-items: flex-start;
    text-align: left;
  }
  .footer-map-col {
    display: block;
  }
  .footer-social-row {
    justify-content: flex-start;
  }
  .copyright {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ==================================================
   CATÁLOGO DE SERVIÇOS — MODAL & ACCORDION (DESKTOP + MOBILE)
   ================================================== */
.catalog-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(33, 29, 28, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 16px;
}
.catalog-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.catalog-modal {
  background: #FFFDFC;
  border: 1px solid rgba(138, 99, 91, 0.12);
  border-radius: 20px;
  width: 100%;
  max-width: 900px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 40px rgba(33, 29, 28, 0.12);
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}
.catalog-modal-overlay.active .catalog-modal {
  transform: translateY(0);
}

.catalog-modal-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(138, 99, 91, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #FFFDFC;
}
.catalog-modal-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--primary-dark);
  font-weight: 500;
  margin: 0;
}
.catalog-modal-close {
  background: transparent;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, transform 0.2s ease;
  border-radius: 50%;
}
.catalog-modal-close:hover {
  color: var(--primary-dark);
  transform: scale(1.05);
}

/* Category Tabs (Desktop) */
.catalog-tabs {
  display: flex;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: #FAF5F4;
  border-bottom: 1px solid rgba(138, 99, 91, 0.08);
  overflow-x: auto;
  scrollbar-width: none;
}
.catalog-tabs::-webkit-scrollbar {
  display: none;
}
.catalog-tab-btn {
  background: transparent;
  border: none;
  padding: 0.6rem 1.25rem;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  border-radius: 99px;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.catalog-tab-btn:hover {
  color: var(--primary-dark);
  background: rgba(138, 99, 91, 0.05);
}
.catalog-tab-btn.active {
  background: var(--primary-dark);
  color: #fff !important;
}

.catalog-modal-body {
  padding: 2rem;
  overflow-y: auto;
  flex: 1;
  background: #FFFDFC;
}

/* Tab Display logic for Desktop */
.catalog-tab-content {
  display: none;
}
.catalog-tab-content.active {
  display: block;
}
.catalog-mobile-acc-header {
  display: none;
}
.catalog-mobile-acc-body {
  display: block;
}

/* Service Item list */
.catalog-service-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(138, 99, 91, 0.08);
  gap: 1.5rem;
}
.catalog-service-item:last-child {
  border-bottom: none;
}
.catalog-service-info {
  flex: 1;
}
.catalog-service-name {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}
.catalog-service-desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.45;
}
.catalog-service-price {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-dark);
  white-space: nowrap;
  text-align: right;
}

/* Regras de Manutenção Card/Notice */
.catalog-notice {
  background: #FAF5F4;
  border: 1px solid rgba(138, 99, 91, 0.12);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 2rem;
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

/* Beauty Packages Grid layout */
.catalog-packages-highlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.package-highlight-card {
  background: #FFFDFC;
  border: 1px solid rgba(138, 99, 91, 0.15);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.package-highlight-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary-color);
}
.package-highlight-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--primary-dark);
  font-weight: 500;
  margin-bottom: 0.25rem;
}

/* Modal Footer Action Button */
.catalog-modal-footer {
  padding: 1.25rem 2rem;
  border-top: 1px solid rgba(138, 99, 91, 0.08);
  background: #FAF5F4;
  display: flex;
  justify-content: center;
}
.catalog-modal-footer .btn {
  width: 100%;
  max-width: 320px;
  text-align: center;
  font-weight: 600;
}

/* ==================================================
   MOBILE DRAWERS & ACCORDIONS (VIEWPORTS <= 768px)
   ================================================== */
@media (max-width: 768px) {
  .catalog-modal-overlay {
    align-items: flex-end;
    padding: 0;
  }
  .catalog-modal {
    width: 100%;
    max-width: 100%;
    height: 90vh;
    max-height: 90vh;
    border-radius: 20px 20px 0 0;
    border-bottom: none;
    border-left: none;
    border-right: none;
  }
  .catalog-modal-header {
    padding: 1.25rem 1.5rem;
  }
  .catalog-tabs {
    display: none; /* Accordion flow replaces tabs on mobile */
  }
  
  .catalog-modal-body {
    padding: 1.25rem 1.5rem;
  }

  /* Accordion Mode */
  .catalog-tab-content {
    display: block !important;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(138, 99, 91, 0.08);
    border-radius: 12px;
    background: #FFFDFC;
    overflow: hidden;
  }
  .catalog-mobile-acc-header {
    display: flex;
    width: 100%;
    padding: 1rem 1.25rem;
    background: #FAF5F4;
    border: none;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--primary-dark);
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
  }
  .catalog-mobile-acc-icon {
    transition: transform 0.3s ease;
    transform: rotate(0deg);
  }
  .catalog-tab-content.collapsed .catalog-mobile-acc-icon {
    transform: rotate(-90deg);
  }
  
  .catalog-mobile-acc-body {
    padding: 0.5rem 1.25rem 1.25rem 1.25rem;
    max-height: 1500px;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
  }
  .catalog-tab-content.collapsed .catalog-mobile-acc-body {
    max-height: 0;
    padding: 0 1.25rem;
  }

  .catalog-service-item {
    padding: 1rem 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    width: 100%;
  }
  .catalog-service-info {
    flex: 1;
    min-width: 0;
  }
  .catalog-service-name {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    white-space: normal;
    word-wrap: break-word;
  }
  .catalog-service-desc {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.4;
    white-space: normal;
    word-wrap: break-word;
  }
  .catalog-service-price {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-dark);
    white-space: nowrap;
    text-align: right;
    flex-shrink: 0;
  }

  .catalog-notice {
    padding: 1rem;
    font-size: 0.78rem;
    margin-bottom: 1.25rem;
  }

  .catalog-packages-highlight {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .package-highlight-card {
    padding: 1.25rem;
    gap: 1rem;
  }
  
  .catalog-modal-footer {
    padding: 1rem 1.5rem;
  }
}

/* V4 — Contato oficial / Instagram / Rota */
.instagram-profile-link,
.footer-route-btn,
.footer-route-inline {
  color: var(--primary-dark);
  text-decoration: none;
}
.footer-instagram-profile .instagram-profile-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(138, 99, 91, 0.14);
  border-radius: 12px;
  background: var(--card-bg);
  font-size: 0.82rem;
  font-weight: 600;
}
.footer-instagram-profile .instagram-profile-link svg {
  width: 19px;
  height: 19px;
}
.footer-address-block {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  color: var(--text-secondary);
  font-size: 0.78rem;
  line-height: 1.45;
}
.footer-address-block strong {
  color: var(--primary-dark);
  font-size: 0.78rem;
}
.footer-route-btn {
  margin-top: 0.85rem;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  border-radius: 12px;
  background: var(--primary-dark);
  color: #fff;
  font-weight: 600;
  font-size: 0.78rem;
}
.footer-route-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
}
