/* ═══════════════════════════════════════
   BASE
═══════════════════════════════════════ */

body {
  font-family: var(--font-body);
  font-size: var(--text-body-md);
  color: var(--creme-text);
  background: var(--creme-light);
  overflow-x: hidden;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: 0.5rem 1rem;
  background: var(--marsala);
  color: var(--white);
  font-family: var(--font-body);
  font-size: var(--text-body-sm);
  border-radius: var(--radius-sm);
  z-index: 9999;
  transition: top var(--dur-fast);
}
.skip-link:focus {
  top: 1rem;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* Focus ring */
:focus-visible {
  outline: 2px solid oklch(55% 0.12 8);
  outline-offset: 3px;
}

/* ═══════════════════════════════════════
   TIPOGRAFIA — utilitários
═══════════════════════════════════════ */

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-eyebrow);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.3;
}

.ornament {
  font-family: var(--font-ornament);
  font-size: var(--text-ornament-lg);
  line-height: 1.2;
}

.nowrap {
  white-space: nowrap;
}

/* ═══════════════════════════════════════
   BOTÕES
═══════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  height: 52px;
  padding-inline: 1.75rem;
  font-family: var(--font-body);
  font-size: var(--text-body-md);
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: background var(--dur-fast), color var(--dur-fast), transform var(--dur-fast), border-color var(--dur-fast);
  white-space: nowrap;
}

.btn-primary {
  background: var(--marsala);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--marsala-hover);
  transform: scale(1.02);
}

.btn-outline-creme {
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--white);
}
.btn-outline-creme:hover {
  background: oklch(100% 0 0 / 0.1);
  transform: scale(1.02);
}

.btn-outline-marsala {
  background: transparent;
  color: var(--marsala);
  border: 1.5px solid var(--marsala);
}
.btn-outline-marsala:hover {
  background: oklch(35% 0.12 8 / 0.06);
  transform: scale(1.02);
}

.btn-whatsapp {
  background: var(--marsala);
  color: var(--white);
}
.btn-whatsapp:hover {
  background: var(--marsala-hover);
  transform: scale(1.02);
}

.btn svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════
   TOPBAR  (seção 1)
═══════════════════════════════════════ */

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 84px;
  display: flex;
  align-items: center;
  transition: background var(--dur-mid), box-shadow var(--dur-mid);
}

.topbar--scrolled {
  background: var(--creme-light);
  box-shadow: var(--shadow-1);
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.topbar__logo {
  font-family: var(--font-ornament);
  font-size: 2.125rem;
  color: var(--white);
  line-height: 1;
  flex-shrink: 0;
  transition: color var(--dur-mid);
}

.topbar--scrolled .topbar__logo {
  color: var(--marsala);
}

.topbar__nav {
  display: none;
}

.topbar__nav a {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 400;
  color: oklch(100% 0 0 / 0.9);
  position: relative;
  padding-bottom: 2px;
  transition: color var(--dur-fast);
}

.topbar__nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 100%;
  height: 1px;
  background: currentColor;
  transition: right var(--dur-mid) var(--ease-out);
}

.topbar__nav a:hover::after {
  right: 0;
}

.topbar--scrolled .topbar__nav a {
  color: var(--creme-text);
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.topbar__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  color: var(--white);
  transition: color var(--dur-mid);
}

.topbar--scrolled .topbar__hamburger {
  color: var(--marsala);
}

.topbar__hamburger span {
  display: block;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--dur-mid), opacity var(--dur-mid);
}

.topbar__hamburger.is-open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.topbar__hamburger.is-open span:nth-child(2) {
  opacity: 0;
}
.topbar__hamburger.is-open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Drawer mobile */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--creme-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  transform: translateX(100%);
  transition: transform var(--dur-slow) var(--ease-out);
}

.drawer.is-open {
  transform: translateX(0);
}

.drawer__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.drawer__nav a {
  font-family: var(--font-display);
  font-size: var(--text-display-md);
  color: var(--creme-text);
}

/* Desktop nav */
@media (min-width: 1024px) {
  .topbar {
    height: 84px;
  }

  .topbar__nav {
    display: flex;
    align-items: center;
    gap: 2.25rem;
  }

  .topbar__hamburger {
    display: none;
  }

  .topbar .btn {
    height: 46px;
    padding-inline: 1.5rem;
    font-size: 1rem;
  }

  .topbar .btn svg {
    width: 20px;
    height: 20px;
  }
}

/* ═══════════════════════════════════════
   HERO  (seção 2)
═══════════════════════════════════════ */

.hero {
  position: relative;
  height: 100dvh;
  min-height: 720px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,
      oklch(35% 0.12 8 / 0.72) 0%,
      oklch(35% 0.12 8 / 0.40) 55%,
      oklch(35% 0.12 8 / 0.10) 100%
    ),
    linear-gradient(to bottom,
      oklch(35% 0.12 8 / 0.45) 0%,
      transparent 50%
    );
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero__inner {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero__eyebrow {
  color: oklch(100% 0 0 / 0.85);
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-display-xl);
  font-weight: 400;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.hero__sub {
  font-family: var(--font-body);
  font-size: var(--text-body-lg);
  color: oklch(100% 0 0 / 0.85);
  line-height: 1.5;
  max-width: 460px;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  color: oklch(100% 0 0 / 0.6);
  animation: scroll-bounce 2s ease-in-out infinite;
}

.hero__scroll-hint span {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* Hero scroll reveal classes */
.hero__eyebrow,
.hero__title,
.hero__sub,
.hero__ctas {
  opacity: 0;
  transform: translateY(16px);
  animation: hero-fade-up var(--dur-mid) var(--ease-out) forwards;
}
.hero__eyebrow { animation-delay: 100ms; }
.hero__title   { animation-delay: 200ms; }
.hero__sub     { animation-delay: 300ms; }
.hero__ctas    { animation-delay: 400ms; }

@keyframes hero-fade-up {
  to { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════
   MANIFESTO  (seção 3)
═══════════════════════════════════════ */

.manifesto {
  background: var(--creme-light);
  padding-block: var(--space-section-pad);
}

.manifesto__inner {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.manifesto__kicker {
  color: var(--marsala);
}

.manifesto__text {
  font-family: var(--font-display);
  font-size: var(--text-display-sm);
  font-weight: 400;
  line-height: 1.5;
  color: var(--creme-text);
  letter-spacing: -0.005em;
}

.manifesto__signature {
  font-family: var(--font-body);
  font-size: var(--text-body-sm);
  color: var(--creme-muted);
  letter-spacing: 0.04em;
}

/* ═══════════════════════════════════════
   SERVIÇOS  (seção 4)
═══════════════════════════════════════ */

.services {
  background: var(--creme-mid);
  padding-block: var(--space-section-pad);
}

.services__header {
  text-align: center;
  margin-bottom: 3rem;
}

.services__label {
  color: var(--marsala);
  margin-bottom: 0.5rem;
}

.services__title {
  font-family: var(--font-display);
  font-size: var(--text-display-md);
  font-weight: 400;
  color: var(--creme-text);
}

.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.service-card {
  background: var(--creme-light);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-1);
  transition: box-shadow var(--dur-mid), transform var(--dur-mid);
}

.service-card:hover {
  box-shadow: var(--shadow-2);
  transform: translateY(-4px);
}

.service-card__img {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.service-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}

.service-card:hover .service-card__img img {
  transform: scale(1.04);
}

#pilates .service-card__img img {
  filter: brightness(1.1);
}

.service-card__placeholder {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--marsala) 0%, var(--marsala-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card__placeholder-icon {
  width: 80px;
  height: 80px;
  opacity: 0.4;
  color: var(--white);
}

.service-card__body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.service-card__title {
  font-family: var(--font-display);
  font-size: var(--text-display-md);
  font-weight: 400;
  color: var(--creme-text);
  line-height: 1.15;
}

.service-card__desc {
  font-size: var(--text-body-md);
  color: var(--creme-muted);
  line-height: 1.55;
  flex: 1;
}

.service-card__link {
  font-family: var(--font-body);
  font-size: var(--text-body-sm);
  font-weight: 600;
  color: var(--marsala);
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  position: relative;
  padding-bottom: 1px;
}

.service-card__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  left: 100%;
  height: 1px;
  background: var(--marsala);
  transition: left var(--dur-mid) var(--ease-out);
}

.service-card:hover .service-card__link::after {
  left: 0;
}

@media (min-width: 768px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .service-card__img,
  .service-card__placeholder {
    aspect-ratio: 1/1;
  }
}

/* ═══════════════════════════════════════
   EQUIPE  (seção 5)
═══════════════════════════════════════ */

.team {
  background: var(--marsala);
  padding-block: var(--space-section-pad);
}

.team__header {
  text-align: center;
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.team__kicker {
  color: oklch(100% 0 0 / 0.75);
}

.team__title {
  font-family: var(--font-display);
  font-size: var(--text-display-md);
  font-weight: 400;
  color: var(--white);
}

.team__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.team-card {
  background: var(--creme-light);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.team-card__img {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.team-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform var(--dur-slow) var(--ease-out);
}

.team-card:hover .team-card__img img {
  transform: scale(1.04);
}

.team-card--yasmin .team-card__img img {
  transform: scale(1.38);
}

.team-card--yasmin:hover .team-card__img img {
  transform: scale(1.42);
}

.team-card__placeholder {
  aspect-ratio: 4/3;
  background: var(--creme-mid);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-card__placeholder-initial {
  font-family: var(--font-display);
  font-size: 5rem;
  color: oklch(35% 0.12 8 / 0.4);
  font-weight: 400;
  line-height: 1;
}

.team-card__body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.team-card__name {
  font-family: var(--font-display);
  font-size: var(--text-display-md);
  font-weight: 400;
  color: var(--creme-text);
  line-height: 1.15;
}

.team-card__role {
  font-family: var(--font-body);
  font-size: var(--text-body-sm);
  color: var(--marsala);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.team-card__bio {
  font-size: var(--text-body-md);
  color: var(--creme-muted);
  line-height: 1.55;
  margin-top: 0.25rem;
}

/* Fisio pélvica — sub-bloco */
.team__pelvic {
  margin-top: 3rem;
  border-top: 1px solid oklch(100% 0 0 / 0.2);
  padding-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.team__pelvic-label {
  font-family: var(--font-ornament);
  font-size: var(--text-ornament-lg);
  color: var(--white);
}

.team__pelvic-intro {
  max-width: 760px;
  font-size: var(--text-body-md);
  color: oklch(100% 0 0 / 0.82);
  line-height: 1.6;
}

.team__pelvic-text {
  max-width: 540px;
  font-size: var(--text-body-md);
  color: oklch(100% 0 0 / 0.82);
  line-height: 1.6;
}

.team__pelvic-text strong {
  color: var(--white);
  font-weight: 500;
}

@media (min-width: 600px) {
  .team__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .team__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .team-card__img,
  .team-card__placeholder {
    aspect-ratio: 1/1;
  }
}

/* ═══════════════════════════════════════
   DEPOIMENTOS  (seção 6)
═══════════════════════════════════════ */

.testimonials {
  background: var(--creme-mid);
  padding-block: var(--space-section-pad);
  overflow: hidden;
}

.testimonials__header {
  text-align: center;
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.testimonials__kicker {
  color: var(--marsala);
}

.testimonials__title {
  font-family: var(--font-display);
  font-size: var(--text-display-md);
  font-weight: 400;
  color: var(--creme-text);
}

.testimonials__stars {
  font-size: var(--text-body-md);
  color: var(--creme-muted);
  letter-spacing: 0.02em;
}

.testimonials__stars strong {
  color: var(--creme-text);
  font-weight: 600;
}

/* Carrossel */
.testimonials__track-wrapper {
  position: relative;
}

.testimonials__track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-inline: var(--container-pad);
  padding-bottom: 1rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

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

.testimonial-card {
  flex-shrink: 0;
  width: min(360px, 85vw);
  background: var(--creme-light);
  border-radius: var(--radius-card);
  border-top: 3px solid var(--marsala);
  padding: 2rem 2rem 1.75rem;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.testimonial-card__quote {
  font-family: var(--font-ornament);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  color: var(--marsala);
  line-height: 1.2;
}

.testimonial-card__body {
  font-size: var(--text-body-md);
  color: var(--creme-muted);
  line-height: 1.65;
  flex: 1;
}

.testimonial-card__sig {
  font-size: var(--text-body-sm);
  color: var(--creme-text);
  font-weight: 500;
}

/* Controles */
.testimonials__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.testimonials__btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid oklch(35% 0.12 8 / 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--marsala);
  transition: background var(--dur-fast), border-color var(--dur-fast);
}

.testimonials__btn:hover {
  background: oklch(35% 0.12 8 / 0.08);
  border-color: var(--marsala);
}

.testimonials__btn svg {
  width: 16px;
  height: 16px;
}

.testimonials__dots {
  display: flex;
  gap: 0.5rem;
}

.testimonials__dots button {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: oklch(35% 0.12 8 / 0.25);
  transition: background var(--dur-fast), transform var(--dur-fast);
}

.testimonials__dots button.is-active {
  background: var(--marsala);
  transform: scale(1.4);
}

/* ═══════════════════════════════════════
   ESPAÇO  (seção 7)
═══════════════════════════════════════ */

.space {
  background: var(--creme-light);
  padding-block: var(--space-section-pad);
}

.space__header {
  text-align: center;
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.space__kicker {
  color: var(--marsala);
}

.space__title {
  font-family: var(--font-display);
  font-size: var(--text-display-md);
  font-weight: 400;
  color: var(--creme-text);
}

.space__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.space__img {
  border-radius: var(--radius-card);
  overflow: hidden;
}

.space__img:focus-visible {
  outline: 2px solid var(--marsala);
  outline-offset: 3px;
}

.space__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}

.space__img:hover img {
  transform: scale(1.03);
}

.space__img--wide { aspect-ratio: 16/9; }
.space__img--mid  { aspect-ratio: 4/3; }

@media (min-width: 768px) {
  .space__grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 1.25rem;
  }

  .space__img--wide {
    grid-column: 1 / -1;
    aspect-ratio: 16/9;
  }

  .space__img--mid {
    grid-column: span 2;
    aspect-ratio: 4/3;
  }
}

/* ═══════════════════════════════════════
   CONTATO  (seção 8)
═══════════════════════════════════════ */

.contact {
  background: var(--creme-mid);
  padding-block: var(--space-section-pad);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact__title {
  font-family: var(--font-display);
  font-size: var(--text-display-lg);
  font-weight: 400;
  color: var(--creme-text);
  line-height: 1.15;
}

.contact__block {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.contact__block-label {
  font-size: var(--text-body-sm);
  color: var(--marsala);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact__block-value {
  font-size: var(--text-body-md);
  color: var(--creme-text);
  line-height: 1.55;
}

.contact__ctas {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact__social {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-body-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--marsala);
  transition: color var(--dur-fast);
}

.contact__social:hover {
  color: var(--marsala-hover);
}

.contact__social svg {
  width: 18px;
  height: 18px;
}

.contact__map {
  border-radius: var(--radius-card);
  overflow: hidden;
  height: 320px;
  background: oklch(90% 0.015 50);
  border: 1px solid oklch(35% 0.12 8 / 0.18);
  box-shadow: var(--shadow-1);
  position: relative;
  isolation: isolate;
}

.contact__map::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 4px var(--creme-light);
  border-radius: var(--radius-card);
  z-index: 1;
}

.contact__map iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  filter: saturate(0.7) contrast(0.95) sepia(0.12) brightness(1.02);
}

@media (min-width: 1024px) {
  .contact__inner {
    grid-template-columns: 5fr 7fr;
    gap: 4rem;
    align-items: start;
  }

  .contact__ctas {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .contact__map {
    height: 480px;
  }
}

/* ═══════════════════════════════════════
   FOOTER  (seção 9)
═══════════════════════════════════════ */

.footer {
  background: var(--marsala);
  padding-block: 3rem;
  color: oklch(100% 0 0 / 0.75);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  text-align: center;
}

.footer__logo {
  width: clamp(200px, 38vw, 240px);
  height: auto;
  opacity: 0.95;
  filter: brightness(0) invert(1);
}

.footer__credentials {
  font-size: var(--text-body-sm);
  line-height: 1.6;
  color: oklch(100% 0 0 / 0.6);
}

.footer__socials {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer__socials a {
  color: oklch(100% 0 0 / 0.6);
  transition: color var(--dur-fast);
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: var(--text-body-sm);
}

.footer__socials a:hover {
  color: var(--white);
}

.footer__socials svg {
  width: 18px;
  height: 18px;
}

.footer__copy {
  font-size: 0.75rem;
  color: oklch(100% 0 0 / 0.4);
}

/* ═══════════════════════════════════════
   LIGHTBOX (fotos do espaço)
═══════════════════════════════════════ */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: oklch(22% 0.08 8 / 0);
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  transition: background 420ms var(--ease-out), backdrop-filter 420ms var(--ease-out);
  pointer-events: none;
}

.lightbox[hidden] {
  display: none;
}

.lightbox.is-open {
  background: oklch(22% 0.08 8 / 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: auto;
}

.lightbox__img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-card);
  box-shadow: 0 20px 60px oklch(0% 0 0 / 0.5);
  will-change: transform;
}

.lightbox__close {
  position: fixed;
  top: clamp(1rem, 3vw, 1.5rem);
  right: clamp(1rem, 3vw, 1.5rem);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: oklch(100% 0 0 / 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid oklch(100% 0 0 / 0.25);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: background var(--dur-fast), transform var(--dur-fast), opacity 380ms var(--ease-out);
  z-index: 10;
}

.lightbox.is-open .lightbox__close {
  opacity: 1;
}

.lightbox__close:hover {
  background: oklch(100% 0 0 / 0.22);
  transform: scale(1.05);
}

.lightbox__close:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

.lightbox__close svg {
  width: 22px;
  height: 22px;
}

body.lightbox-open {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .lightbox,
  .lightbox__img,
  .lightbox__close {
    transition-duration: 0.01ms !important;
  }
}

/* ═══════════════════════════════════════
   SCROLL REVEAL
═══════════════════════════════════════ */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--dur-mid) var(--ease-out), transform var(--dur-mid) var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.reveal[data-delay="1"] { transition-delay: 80ms; }
.reveal[data-delay="2"] { transition-delay: 160ms; }
.reveal[data-delay="3"] { transition-delay: 240ms; }
.reveal[data-delay="4"] { transition-delay: 320ms; }

/* ═══════════════════════════════════════
   REDUCED MOTION
═══════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .hero__eyebrow,
  .hero__title,
  .hero__sub,
  .hero__ctas {
    opacity: 1;
    transform: none;
    animation: none;
  }

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