/* ===================================================
   Roglio Beauty Salon — Custom Styles
   Paleta: #FBF1E7 bg · #742A77 brand · #2B2C2D near-black · #2E0C0D dark-brown · #CEC4C1 brown-light
   =================================================== */

@font-face {
  font-family: 'Material Symbols Outlined';
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url('fonts/material-symbols-outlined.woff2') format('woff2');
}

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
}

details summary::-webkit-details-marker {
  display: none;
}

details summary {
  list-style: none;
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* ── Linktree Buttons ── */
.linktree-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.6rem;
  width: 100%;
  padding: 0.875rem 1.25rem;
  border-radius: 0.875rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, opacity 0.15s ease;
  letter-spacing: 0.01em;
}

.linktree-btn:active {
  transform: scale(0.97);
}

.linktree-btn:hover {
  opacity: 0.92;
}

.linktree-btn-sm {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: 0.625rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.linktree-btn-sm:hover {
  opacity: 0.88;
}

/* ── Icon Buttons (BI) ── */
.btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  flex-shrink: 0;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.btn-icon:active { transform: scale(0.93); }
.btn-icon:hover { opacity: 0.88; }

/* ── BA Sanfona ── */
.btn-sanfona { justify-content: flex-start; }
.btn-sanfona-content {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0.5rem 1rem;
}
.btn-sanfona-content.open { display: flex; }

/* ── Accordion Cards ── */
.accordion-card {
  background: #ffffff;
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.accordion-card[open] {
}

.accordion-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  user-select: none;
}

.accordion-card:has(.accordion-summary:active) {
  transform: scale(0.98);
}

.accordion-content {
  padding: 0 1.25rem 1.25rem;
  line-height: 1.65;
}

.accordion-card[open] .accordion-icon {
  transform: rotate(180deg);
}

/* ── WhatsApp Widget ── */
.whatsapp-widget {
  width: 100%;
}

.whatsapp-widget-shell {
  overflow: hidden;
  border-radius: 1.75rem;
  background: #f7f3ee;
}

.whatsapp-widget-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  background: linear-gradient(135deg, #742A77, #9a3a9e);
}

.whatsapp-widget-user {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.whatsapp-widget-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.12);
}

.whatsapp-widget-name {
  font-size: 1.4rem;
  line-height: 1;
  font-weight: 800;
  color: #ffffff;
}

.whatsapp-widget-body {
  padding: 1rem 1rem 1.25rem;
  background: linear-gradient(180deg, #fdf8f4, #f8f4ef);
}

.whatsapp-widget-time {
  margin: 0 0 0.9rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(43, 44, 45, 0.45);
}

.whatsapp-widget-bubble {
  max-width: 82%;
  padding: 1rem 1.05rem;
  border-radius: 1.4rem;
  border-top-left-radius: 0.4rem;
  background: #ffffff;
  color: #2e2f34;
  font-size: 0.9rem;
}

.whatsapp-widget-bubble p+p {
  margin-top: 0.55rem;
}

.whatsapp-widget-composer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.8);
}

.whatsapp-widget-composer textarea {
  min-height: 5rem;
  resize: vertical;
  border-radius: 1.1rem;
  border: 1px solid rgba(116, 42, 119, 0.12);
  background: #ffffff;
  color: #2B2C2D;
  padding: 0.875rem 1rem;
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
}

.whatsapp-widget-composer textarea:focus {
  outline: none;
  border-color: rgba(116, 42, 119, 0.5);
}

.whatsapp-widget-send {
  width: 3.2rem;
  height: 3.2rem;
  border: 0;
  border-radius: 9999px;
  background: linear-gradient(135deg, #742A77, #9a3a9e);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.whatsapp-widget-send:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.whatsapp-widget-send .material-symbols-outlined {
  font-size: 1.4rem;
}

/* ── Gallery Grid ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
  border-radius: 0.85rem;
  overflow: hidden;
}

.gallery-item {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  cursor: pointer;
  background: #CEC4C1;
  border: 0;
  padding: 0;
}

.gallery-item img,
.gallery-item .gallery-item-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
  display: block;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(46, 12, 13, 0);
  transition: background 0.3s ease;
}

.gallery-item:hover::after {
  background: rgba(46, 12, 13, 0.3);
}

.gallery-item:hover img,
.gallery-item:hover .gallery-item-thumb {
  transform: scale(1.05);
}

.gallery-item-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  pointer-events: none;
}

.gallery-item-play-icon {
  width: 2.75rem;
  height: 2.75rem;
  background: rgba(116, 42, 119, 0.85);
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  backdrop-filter: blur(4px);
}

/* ── Gallery Lightbox ── */
#galleryLightbox {
  position: fixed;
  inset: 0;
  z-index: 9100;
  background: rgba(46, 12, 13, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

#galleryLightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-media-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: min(90vw, 960px);
  max-height: 85vh;
  width: 100%;
}

#galleryLightboxImg,
#galleryLightboxVideo {
  max-width: 100%;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 1rem;
  display: block;
}

#galleryLightboxVideo {
  width: min(90vw, 960px);
}

.lightbox-nav-btn {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  background: rgba(116, 42, 119, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 9999px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
  z-index: 9110;
}

.lightbox-nav-btn:hover {
  background: rgba(116, 42, 119, 1);
}

#lightboxPrev {
  left: 1.25rem;
}

#lightboxNext {
  right: 1.25rem;
}

#lightboxClose {
  position: fixed;
  top: 1rem;
  right: 1rem;
  width: 2.75rem;
  height: 2.75rem;
  background: rgba(116, 42, 119, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9110;
  transition: background 0.2s ease;
}

#lightboxClose:hover {
  background: rgba(116, 42, 119, 1);
}

#lightboxCounter {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.78rem;
  color: rgba(206, 196, 193, 0.7);
  font-weight: 700;
  letter-spacing: 0.15em;
  z-index: 9110;
  white-space: nowrap;
  pointer-events: none;
}

#lightboxMuteBtn {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  width: 2.25rem;
  height: 2.25rem;
  background: rgba(0, 0, 0, 0.45);
  border: none;
  border-radius: 9999px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(4px);
  z-index: 1;
  transition: background 0.2s ease;
}

#lightboxMuteBtn:hover {
  background: rgba(0, 0, 0, 0.65);
}

@media (max-width: 767px) {
  #lightboxPrev {
    left: 0.5rem;
  }

  #lightboxNext {
    right: 0.5rem;
  }

  .lightbox-nav-btn {
    width: 2.5rem;
    height: 2.5rem;
  }

  #galleryLightboxImg,
  #galleryLightboxVideo {
    border-radius: 0.75rem;
  }
}

/* ── Header scroll ── */
#site-header>div>div {
  transition: height 0.3s ease;
}


/* ── Header bottom flash ── */
@keyframes headerLineFlash {
  0% {
    transform: translateX(-100%);
    opacity: 1;
  }

  9% {
    transform: translateX(290%);
    opacity: 1;
  }

  10% {
    transform: translateX(290%);
    opacity: 0;
  }

  10.01% {
    transform: translateX(-100%);
    opacity: 0;
  }

  100% {
    transform: translateX(-100%);
    opacity: 0;
  }
}

#site-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30%;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, #742A77 50%, transparent);
  transform: translateX(-100%);
  animation: headerLineFlash 8s linear infinite;
  pointer-events: none;
}

/* ── Reveal on scroll ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ── Back to Top ── */
#backToTop {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: #FBF1E7;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  transform: scale(0);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  color: #742A77;
}

#backToTop.visible {
  transform: scale(1);
}

#backToTop .material-symbols-outlined {
  font-size: 20px;
}

#backToTop svg {
  position: absolute;
  inset: -4px;
  width: calc(100% + 8px);
  height: calc(100% + 8px);
  transform: rotate(-90deg);
  pointer-events: none;
}

@media screen and (max-width: 640px) {
  #backToTop {
    width: 2rem;
    height: 2rem;
    bottom: 1rem;
    right: 1rem;
  }

  #backToTop .material-symbols-outlined {
    font-size: 16px;
  }
}

/* ── Footer Social Icons ── */
.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.footer-social-link:hover {
  transform: translateY(-3px);
}

.footer-social-stack {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-social-base {
  transition: opacity 0.25s ease;
  opacity: 1;
}

.footer-social-hover {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.footer-social-link:hover .footer-social-base {
  opacity: 0;
}

.footer-social-link:hover .footer-social-hover {
  opacity: 1;
}

/* ── Carrossel "Sobre" ── */
.sobre-carousel {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border-radius: 1rem;
  padding-bottom: 2px;
}

.sobre-carousel::-webkit-scrollbar {
  display: none;
}

.sobre-carousel img {
  flex: 0 0 85%;
  width: 85%;
  height: 320px;
  object-fit: contain;
  background: #FBF1E7;
  border-radius: 1rem;
  scroll-snap-align: center;
  user-select: none;
  display: block;
  border: 2px solid rgba(116, 42, 119, 0.1);
  cursor: zoom-in;
}

/* ── Sobre Lightbox (fullscreen + pinch zoom) ── */
#sobreLightbox {
  position: fixed;
  inset: 0;
  z-index: 9200;
  background: rgba(46, 12, 13, 0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

#sobreLightbox.open {
  opacity: 1;
  visibility: visible;
}

.sobre-lightbox-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  touch-action: none;
  cursor: zoom-in;
}

.sobre-lightbox-wrap.is-zoomed {
  cursor: grab;
}

.sobre-lightbox-wrap.is-dragging {
  cursor: grabbing;
}

#sobreLightboxImg {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 1rem;
  transform-origin: center;
  transition: transform 0.08s ease;
  user-select: none;
  -webkit-user-drag: none;
  display: block;
}

#sobreLightboxClose {
  position: fixed;
  top: 1rem;
  right: 1rem;
  width: 2.75rem;
  height: 2.75rem;
  background: rgba(116, 42, 119, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9210;
  transition: background 0.2s ease;
}

#sobreLightboxClose:hover {
  background: rgba(116, 42, 119, 1);
}

.sobre-lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  background: rgba(116, 42, 119, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 9999px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
  z-index: 9210;
}

.sobre-lightbox-nav:hover {
  background: rgba(116, 42, 119, 1);
}

#sobreLightboxPrev {
  left: 1.25rem;
}

#sobreLightboxNext {
  right: 1.25rem;
}

#sobreLightboxCounter {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.78rem;
  color: rgba(206, 196, 193, 0.7);
  font-weight: 700;
  letter-spacing: 0.15em;
  z-index: 9210;
  white-space: nowrap;
  pointer-events: none;
}

@media (max-width: 767px) {
  #sobreLightboxPrev {
    left: 0.5rem;
  }

  #sobreLightboxNext {
    right: 0.5rem;
  }

  .sobre-lightbox-nav {
    width: 2.5rem;
    height: 2.5rem;
  }
}

/* ── Entrance Animations ── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.85);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-52px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(52px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes rippleOut {
  0% {
    transform: translateX(-50%) scale(1);
    opacity: 0.5;
  }

  100% {
    transform: translateX(-50%) scale(1.55);
    opacity: 0;
  }
}

.anim-fade-scale {
  animation: fadeInScale 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.anim-fade-up {
  animation: fadeInUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.anim-slide-left {
  animation: slideInLeft 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.anim-slide-right {
  animation: slideInRight 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.anim-d0 {
  animation-delay: 0.05s;
}

.anim-d1 {
  animation-delay: 0.18s;
}

.anim-d2 {
  animation-delay: 0.30s;
}

.anim-d3 {
  animation-delay: 0.42s;
}

.anim-d4 {
  animation-delay: 0.54s;
}

.anim-d5 {
  animation-delay: 0.65s;
}

.anim-d6 {
  animation-delay: 0.75s;
}

/* Avatar entrance + circular ripple via ::after */
.avatar-ring-anim {
  animation: fadeInScale 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.avatar-ring-anim::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  background: rgba(116, 42, 119, 0.28);
  animation: rippleOut 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.9s 3;
  pointer-events: none;
}

/* Gallery item entrance (applied via JS with stagger) */
.gallery-item-enter {
  animation: fadeInUp 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Spa icon rise */
@keyframes spaRise {
  0%   { transform: translateY(4px) scaleY(0.20); opacity: 0; }
  20%  { transform: translateY(0)   scaleY(1);    opacity: 1; }
  100% { transform: translateY(0)   scaleY(1);    opacity: 1; }
}

.spa-icon-anim {
  transform-origin: bottom center;
  animation: spaRise 8s cubic-bezier(0.22, 1, 0.36, 1) 1.9s infinite;
}

/* ── Footer Particles ── */
@keyframes footerDotRise {
  0% {
    transform: translateY(0) scaleY(1);
    opacity: 0;
  }

  12% {
    opacity: 1;
  }

  85% {
    opacity: 0.7;
  }

  100% {
    transform: translateY(-170px) scaleY(0.6);
    opacity: 0;
  }
}

.footer-dot {
  position: absolute;
  bottom: 0;
  border-radius: 50%;
  animation: footerDotRise linear infinite;
  will-change: transform, opacity;
}

/* ── Social embed container ── */
.social-embed-container iframe,
.social-embed-container blockquote {
  border-radius: 1rem !important;
}

/* ── Open Status Badge ── */
.open-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.open-status-badge.open {
  background: rgba(34, 197, 94, 0.12);
  color: #16a34a;
}

.open-status-badge.closed {
  background: rgba(116, 42, 119, 0.10);
  color: #742A77;
}

.open-status-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.open-status-badge.open .open-status-dot {
  background: #22c55e;
  animation: pulseDot 2s ease-in-out infinite;
}

.open-status-badge.closed .open-status-dot {
  background: #742A77;
}

@keyframes pulseDot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.55;
    transform: scale(0.75);
  }
}

/* ── Profile Status Button ── */
#profile-status-btn {
  display: none; /* shown by JS via .active */
  position: absolute;
  bottom: -2px;
  right: -2px;
  z-index: 10;
  align-items: center;
  justify-content: center;
  height: 1.5rem;
  max-width: 1.5rem;
  overflow: hidden;
  white-space: nowrap;
  border-radius: 9999px;
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  gap: 0;
  padding: 0;
  transition:
    max-width  0.4s cubic-bezier(0.4, 0, 0.2, 1),
    padding    0.4s cubic-bezier(0.4, 0, 0.2, 1),
    gap        0.3s ease,
    background-color 0.25s ease,
    color      0.25s ease,
    bottom     0.38s cubic-bezier(0.4, 0, 0.2, 1),
    right      0.38s cubic-bezier(0.4, 0, 0.2, 1),
    transform  0.38s cubic-bezier(0.4, 0, 0.2, 1);
}
#profile-status-btn.active { display: inline-flex; }

/* Expanded: desce e centraliza abaixo da foto */
#profile-status-btn.expanded {
  bottom: -1.25rem;
  right: 50%;
  transform: translateX(50%);
  max-width: 16rem;
  padding: 0.3rem 0.65rem 0.3rem 0.4rem;
  gap: 0.35rem;
  justify-content: center;
}

/* Cores */
#profile-status-btn.is-open   { background: #22c55e; color: white; }
#profile-status-btn.is-closed { background: #ef4444; color: white; }

#profile-status-btn.is-open.expanded   { background: rgba(34, 197, 94, 0.13); color: #16a34a; }
#profile-status-btn.is-closed.expanded { background: rgba(239, 68, 68, 0.12);  color: #dc2626; }

/* Dot */
#profile-status-btn .profile-status-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.2s ease 0.1s;
}
#profile-status-btn.expanded .profile-status-dot { opacity: 1; }
#profile-status-btn.is-open.expanded .profile-status-dot {
  background: #22c55e;
  animation: pulseDot 2s ease-in-out infinite;
}
#profile-status-btn.is-closed.expanded .profile-status-dot { background: #ef4444; }

/* Texto */
#profile-status-text {
  opacity: 0;
  transition: opacity 0.15s ease 0.2s;
}
#profile-status-btn.expanded #profile-status-text { opacity: 1; }

/* Dark mode */
.dark #profile-status-btn.is-closed         { background: #ef4444; border-color: rgba(255,255,255,0.6); }
.dark #profile-status-btn.is-closed.expanded { background: rgba(239,68,68,0.15); color: #fca5a5; }
.dark #profile-status-btn.is-closed.expanded .profile-status-dot { background: #ef4444; }

/* ── Schedule Grid ── */
.schedule-grid {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.schedule-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.85rem;
}

.schedule-row.today {
  background: rgba(116, 42, 119, 0.09);
  font-weight: 700;
}

.schedule-day {
  color: #2B2C2D;
}

.schedule-hours {
  color: #2B2C2D;
}

.schedule-hours.closed {
  color: rgba(43, 44, 45, 0.4);
  font-style: italic;
  font-weight: 400;
}

/* ── FAQ nested items ── */
.faq-item {
  border-radius: 0.75rem;
  border: 1px solid rgba(116, 42, 119, 0.08);
  overflow: hidden;
  background: #faf7f4;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.875rem 1rem;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  color: #2B2C2D;
  user-select: none;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-icon {
  flex-shrink: 0;
  font-size: 1.1rem;
  color: #742A77;
  transition: transform 0.25s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1rem 0.875rem;
  font-size: 0.875rem;
  color: rgba(43, 44, 45, 0.78);
  line-height: 1.65;
}

/* ── Depoimentos — Google-style scroll ── */
.reviews-scroll {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.reviews-scroll::-webkit-scrollbar {
  display: none;
}

.review-card {
  flex: 0 0 78%;
  background: #fff;
  border-radius: 1rem;
  border: 1px solid rgba(116, 42, 119, 0.1);
  padding: 0.9rem 1rem;
  scroll-snap-align: start;
}

.review-card-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.55rem;
}

.review-avatar {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(116, 42, 119, 0.15);
  flex-shrink: 0;
  background: #f3eef5;
}

.review-avatar-placeholder {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #742A77, #9a3a9e);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  flex-shrink: 0;
}

.review-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #2B2C2D;
}

.review-quote {
  font-size: 0.8rem;
  color: rgba(43, 44, 45, 0.75);
  font-style: italic;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Promo Popup ── */
#promoPopup {
  position: fixed;
  inset: 0;
  z-index: 9300;
  background: rgba(46, 12, 13, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

#promoPopup.open {
  opacity: 1;
  visibility: visible;
}

.promo-popup-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  max-width: min(90vw, 480px);
  padding: 0 0.5rem;
}

#promoPopupImg {
  max-width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 1.25rem;
  display: block;
}

#promoPopupClose {
  position: fixed;
  top: 1rem;
  right: 1rem;
  width: 2.75rem;
  height: 2.75rem;
  background: rgba(116, 42, 119, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9310;
  transition: background 0.2s ease;
}

#promoPopupClose:hover {
  background: rgba(116, 42, 119, 1);
}

.promo-popup-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2.5rem;
  background: linear-gradient(135deg, #742A77, #9a3a9e);
  color: #ffffff;
  border-radius: 0.875rem;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, filter 0.15s ease;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.promo-popup-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.promo-popup-btn:active {
  transform: scale(0.97);
}

/* ══════════════════════════════════════════════════════
   DARK MODE OVERRIDES
══════════════════════════════════════════════════════ */

/* Accordion cards */
.dark .accordion-card {
  background: #73246D;
  color: #F2C7AE;
}

.dark .accordion-card[open] {
}

.dark .linktree-btn:hover {
}

/* Header flash line → gold in dark */
.dark #site-header::after {
  background: linear-gradient(90deg, transparent, #F2D07C 50%, transparent);
}


/* Back to top */
.dark #backToTop {
  background: rgba(242, 208, 124, 0.12);
  color: #F2D07C;
}

.dark #backToTop:hover {
}

.dark #progressCircle {
  stroke: #F2D07C;
}

/* Avatar ripple */
.dark .avatar-ring-anim::after {
  background: rgba(242, 208, 124, 0.18);
}

/* Gallery item bg (loading placeholder) */
.dark .gallery-item {
  background: rgba(255, 255, 255, 0.12);
}

/* Sobre carousel image bg */
.dark .sobre-carousel img {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(242, 208, 124, 0.15);
}

/* WhatsApp widget */
.dark .whatsapp-widget-shell {
  background: #f5eef5;
}

.dark .whatsapp-widget-composer textarea {
  border-color: rgba(242, 208, 124, 0.2);
}

.dark .whatsapp-widget-composer textarea:focus {
  border-color: rgba(242, 208, 124, 0.5);
}

/* Accordion content: texto near-black → peach, text-muted → peach suave */
.dark .accordion-card [class*="text-near-black"]:not(.accordion-icon) {
  color: #F2C7AE;
}

.dark .accordion-card .text-muted {
  color: rgba(242, 199, 174, 0.6);
}

/* Horários */
.dark .schedule-day {
  color: #F2C7AE;
}

.dark .schedule-hours {
  color: #F2C7AE;
}

.dark .schedule-hours.closed {
  color: rgba(242, 199, 174, 0.45);
}

.dark .schedule-row.today {
  background: rgba(242, 199, 174, 0.08);
}

/* FAQ nested items */
.dark .faq-item {
  background: #592050;
  border-color: rgba(242, 208, 124, 0.12);
}

.dark .faq-question {
  color: #F2C7AE;
}

.dark .faq-answer {
  color: rgba(242, 199, 174, 0.75);
}

.dark .faq-icon {
  color: #F2C879;
}

/* Open status badge closed → gold tint */
.dark .open-status-badge.closed {
  background: rgba(242, 208, 124, 0.12);
  color: #F2D07C;
}

.dark .open-status-badge.closed .open-status-dot {
  background: #F2D07C;
}

/* Schedule row highlight */
.dark .schedule-row.today {
  background: rgba(242, 208, 124, 0.1);
}

/* Review cards */
.dark .review-card {
  background: #592050;
  border-color: rgba(242, 208, 124, 0.15);
}

.dark .review-name {
  color: #F2C7AE;
}

.dark .review-quote {
  color: rgba(242, 199, 174, 0.72);
}

/* Maps border */
.dark .aspect-\[4\/5\] {
  border-color: rgba(242, 208, 124, 0.15);
}

/* lg-accordions dark mode: border lines → gold tint */
@media (min-width: 1024px) {
  .dark .lg-accordions .accordion-card {
    border-bottom-color: rgba(242, 208, 124, 0.15);
    background: transparent;
  }

  .dark .lg-accordions .accordion-card:first-child {
    border-top-color: rgba(242, 208, 124, 0.15);
  }
}

/* ══════════════════════════════════════════════════════
   LARGE SCREEN LAYOUT (lg: 1024px+)
══════════════════════════════════════════════════════ */
@media (min-width: 1024px) {

  /* Largura do vídeo: ajuste lg:w-[X%] no index.html, linha do #main-media-section */
  #main-media-section {
    margin: 0 auto;
  }

  /* Galeria: 3 colunas */
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Depoimentos: cards mais largos */
  .review-card {
    flex: 0 0 52%;
  }

  /* Carrossel Sobre: imagens um pouco mais largas */
  .sobre-carousel img {
    flex: 0 0 70%;
    width: 70%;
  }

  /* ── Accordion: sem card, linha simples centrada ── */
  .lg-accordions .accordion-card {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(116, 42, 119, 0.12);
    border-radius: 0;
    overflow: visible;
  }

  .lg-accordions .accordion-card[open] {
    box-shadow: none;
  }

  .lg-accordions .accordion-card:first-child {
    border-top: 1px solid rgba(116, 42, 119, 0.12);
  }

  /* Título centralizado, seta posicionada à direita */
  .lg-accordions .accordion-summary {
    justify-content: center;
    padding: 1.35rem 3.5rem;
    position: relative;
  }

  .lg-accordions .accordion-summary>span:first-child {
    justify-content: center;
  }

  .lg-accordions .accordion-summary .accordion-icon {
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
  }

  .lg-accordions .accordion-card[open] .accordion-summary .accordion-icon {
    transform: translateY(-50%) rotate(180deg);
  }

  /* Em telas grandes: sempre aberto, sem interação de recolher */
  .lg-accordions .accordion-card> :not(summary) {
    display: block !important;
  }

  .lg-accordions .accordion-summary {
    pointer-events: none;
    cursor: default;
  }

  .lg-accordions .accordion-summary .accordion-icon {
    display: none;
  }
}