/* ===== Home — hero e conteúdo, design alto padrão ===== */

.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* ----- Redes sociais: vertical, glass robusto, lateral esquerda ----- */
.hero-social {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  padding-left: 0;
  pointer-events: none;
}

.hero-social-glass {
  position: relative;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 0.5rem 0.45rem; /* menos padding para unificar */
  min-width: 56px;
  background: rgba(12, 12, 13, 0.72);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-left: none;
  border-radius: 0 12px 12px 0;
  box-shadow: 4px 0 18px rgba(0, 0, 0, 0.22);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.hero-social-glass:hover {
  background: rgba(18, 18, 19, 0.78);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 6px 0 32px rgba(0, 0, 0, 0.35);
}

.hero-social-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.hero-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.25s ease, transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  -webkit-tap-highlight-color: transparent;
  position: relative;
}

.hero-social-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  transform: scale(1.06);
}

.hero-social-link:active {
  transform: scale(1.02);
}

.hero-social-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.4);
}

.hero-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-social-link:hover .hero-social-icon {
  transform: scale(1.05);
}

.hero-social-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Redes sociais: tamanho maior em tablet/desktop */
@media (min-width: 768px) {
  .hero-social-glass {
    padding: 0.6em 0.65rem; /* reduzido para unificar experiência */
    min-width: 72px;
    border-radius: 0 14px 14px 0;
    box-shadow: 6px 0 26px rgba(0, 0, 0, 0.22);
  }

  .hero-social-list {
    gap: 0.65rem;
  }

  .hero-social-link {
    width: 52px;
    height: 52px;
    min-width: 52px;
    min-height: 52px;
  }

  .hero-social-icon {
    width: 26px;
    height: 26px;
  }
}

.hero-video {
  display: none;
}

.hero-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 85vh;
  background: #030304;
  border-radius: 0;
}

.hero-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.hero-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-btn {
  position: absolute;
  top: auto;
  bottom: 1.2rem;
  z-index: 2;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.56); /* mais escuro para melhor visibilidade */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.98);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease, transform 0.12s ease, box-shadow 0.18s ease;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.48);
}

.hero-btn:hover {
  background: rgba(0, 0, 0, 0.72);
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.56);
}

.hero-btn:active {
  transform: translateY(0) scale(0.98);
}

.hero-btn svg {
  width: 20px;
  height: 20px;
}

.hero-prev {
  left: 1.25rem; /* move to the left corner area */
  right: auto;
}

.hero-next {
  right: 1.25rem; /* move to the right corner area */
  left: auto;
}

.hero-dots {
  position: absolute;
  bottom: 4.6rem; /* elevated above the action buttons */
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 0 0.5rem;
}

.hero-dot {
  width: 6px;
  height: 6px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: background 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.5);
}

.hero-dot.is-active {
  background: #fff;
  transform: scale(1.4);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
}

@media (min-width: 900px) {
  .hero {
    margin: 0;
    max-width: none;
  }

  .hero-video {
    display: block;
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    height: 100vh;
    min-height: 100vh;
    background: #030304;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
  }

  .hero-video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* manter o slider visível no desktop para experiência unificada */
  .hero-slider {
    display: none;
  }
}

/* Responsive tweaks for carousel action buttons */
@media (min-width: 768px) {
  .hero-btn {
    width: 64px;
    height: 64px;
    border-radius: 14px;
  }

  .hero-btn svg {
    width: 24px;
    height: 24px;
  }

  .hero-prev { left: 1.5rem; }
  .hero-next { right: 1.5rem; }
}

/* Hide slider controls on desktop where video is used */
@media (min-width: 900px) {
  .hero-btn { display: none !important; }
  .hero-dots { bottom: 1.5rem; } /* restore original placement for desktop (if shown) */
}

/* ===== Bloco Saúde e Longevidade (abaixo da hero) — design editorial, fundo preto ===== */
/* ===== About Intro — editorial, alto impacto ===== */
.about-intro {
  background: #000;
  color: #fff;
  padding: 6rem 1.5rem 5.5rem;
  position: relative;
  overflow: hidden;
}

.about-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 55% at 50% 0%, rgba(196, 176, 131, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.about-intro-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.about-intro-eyebrow {
  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem; /* um pouco maior para melhor leitura */
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #be9b5fbb; /* tom dourado mais escuro para contraste */
  margin: 0 0 1.5rem;
}

.about-intro-title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.15rem, 2.6vw, 1.65rem);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 2rem;
}

.about-intro-divider {
  display: block;
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #c4b083, transparent);
  margin: 0 auto 2rem;
  border-radius: 2px;
}

.about-intro-lead {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.25rem, 2.8vw, 1.75rem);
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.about-intro-lead em {
  font-style: normal;
  color: #c4b083;
}

.about-dr-name {
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, sans-serif;
}

@media (min-width: 768px) {
  .about-intro {
    padding: 3rem 2rem 2.5rem;
  }
}

/* ===== Weather strip (previsão do tempo) ===== */
.weather-strip {
  display: none;
  background-color: #000;
  color: #fff;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.weather-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}
.weather-strip .weather-widget {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 24px;
  font-size: 0.8rem;
  font-weight: 300;
}
.weather-strip .weather-widget-loading,
.weather-strip .weather-widget-error {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
}
.weather-strip-content {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 20px;
}
.weather-strip-city {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.75;
  margin-right: 4px;
}
.weather-strip-temp { font-size: 1.25rem; font-weight: 400; }
.weather-strip-unit { font-size: 0.85rem; opacity: 0.8; }
.weather-strip-desc { opacity: 0.85; }
.weather-strip-days {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-left: 8px;
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.75rem;
}
.weather-strip-day { opacity: 0.9; }
.weather-strip-day strong { font-weight: 500; opacity: 1; }

/* Show weather strip only on narrow viewports (below 760px) */
@media (max-width: 759px) {
  .weather-strip { display: block; }
}

/* ===== Bloco Sobre — Dr. Luís Gonzaga ===== */
.about-dr {
  background: #080809;
  color: rgba(255, 255, 255, 0.9);
  padding: 3rem 1.5rem 4rem;
}

.about-dr-inner {
  max-width: min(920px, 94vw);
  margin: 0 auto;
}

.about-dr-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-line, rgba(212, 195, 165, 0.6));
  margin-bottom: 0.5rem;
}

.about-dr-name {
  font-size: clamp(1.5rem, 3.5vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 2rem 0;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
}

.about-dr-name::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 80px;
  height: 1px;
  background: var(--accent-line, rgba(212, 195, 165, 0.4));
}

.about-dr-bio {
  font-size: 1rem;
  line-height: 1.8;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.82);
  text-align: justify;
}

.about-dr-bio p {
  margin: 0 0 1.35rem 0;
  text-align: justify;
}

@media (max-width: 767px) {
  .about-dr-bio,
  .about-dr-bio p {
    text-align: left;
  }
}

.about-dr-bio p:last-child {
  margin-bottom: 0;
}

/* ----- Widget glass "Siga-nos" Instagram ----- */
.about-dr-follow-wrap {
  text-align: center;
  margin-top: 2.5rem;
}

.about-dr-follow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0;
  min-width: 280px;
  padding: 1rem 1.5rem;
  text-decoration: none;
  color: inherit;
  border-radius: 14px;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, background 0.35s ease, border-color 0.35s ease;
  -webkit-tap-highlight-color: transparent;
}

.about-dr-follow-glass {
  background: rgba(12, 12, 13, 0.72);
  backdrop-filter: blur(28px) saturate(1.3);
  -webkit-backdrop-filter: blur(28px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.about-dr-follow:hover {
  background: rgba(18, 18, 19, 0.78);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  transform: translateY(-2px);
}

.about-dr-follow-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgb(197, 197, 197);
}

.about-dr-follow-handle {
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.95);
  transition: color 0.3s ease;
}

.about-dr-follow:hover .about-dr-follow-handle {
  color: #fff;
}

.about-dr-follow-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-dr-follow:hover .about-dr-follow-icon {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
  transform: scale(1.06);
}

.about-dr-follow-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

@media (min-width: 768px) {
  .about-dr {
    padding: 4rem 2rem 5rem;
  }

  .about-dr-inner {
    max-width: min(960px, 92vw);
  }

  .about-dr-bio {
    font-size: 1.05rem;
    line-height: 1.85;
  }

  .about-dr-bio p {
    margin-bottom: 1.5rem;
  }

  .about-dr-follow-wrap {
    margin-top: 3rem;
  }

  .about-dr-follow {
    min-width: 320px;
    padding: 1.15rem 1.75rem;
    gap: 0.9rem;
  }

  .about-dr-follow-label {
    font-size: 0.68rem;
    letter-spacing: 0.22em;
  }

  .about-dr-follow-handle {
    font-size: 1.12rem;
  }

  .about-dr-follow-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
  }

  .about-dr-follow-icon svg {
    width: 24px;
    height: 24px;
  }
}

/* ===== Zoom button (mobile) and image lightbox ===== */
.hero-slide { position: relative; }

/* Fixed zoom button positioned relative to .hero-slider */
.hero-slider { position: relative; }
.hero-zoom-fixed {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  z-index: 5;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.56); /* escurecido para consistência */
  color: rgba(255, 255, 255, 0.92);
  display: flex; /* ensure visible when slider is visible */
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.22s ease, transform 0.16s ease, box-shadow 0.18s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,0.45);
}
/* remove default focus/tap highlight (blue) when clicking/tapping */
.hero-zoom-fixed,
.hero-zoom-fixed:focus,
.hero-zoom-fixed:active,
.hero-zoom-fixed:focus-visible {
  outline: none;
  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}
.hero-zoom-fixed svg { width: 16px; height: 16px; stroke: currentColor; }
.hero-zoom-fixed:hover { background: rgba(0,0,0,0.72); }
.hero-zoom-fixed:active { transform: translateY(0) scale(0.96); box-shadow: 0 12px 28px rgba(0,0,0,0.56); }

/* Lightbox overlay */
.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.94);
  padding: 0.6rem; /* smaller padding so image can fill more */
}
.image-lightbox.hidden { display: none; }
.image-lightbox img {
  width: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 14px 48px rgba(0,0,0,0.6);
}
.image-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 42px;
  height: 42px;
  z-index: 10001;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.image-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.45);
}
.image-lightbox-close svg { width: 22px; height: 22px; }

/* Show zoom button only on mobile (carousel visible) */
@media (max-width: 767px) {
  .image-lightbox-close {
    top: 0.75rem;
    right: 0.75rem;
    width: 38px;
    height: 38px;
  }
}

@media (min-width: 900px) {
  /* hide zoom when desktop video is used */
  .hero-zoom { display: none !important; }
}
