/* ============================================================
   Coach Wilson — Luxury Dark Theme
   Mobile-first · Thin lines · Pure CSS
   ============================================================ */

:root {
  --bg: #0a0a0a;
  --surface: #111111;
  --surface-2: #181818;
  --text: #f5f0e6;
  --text-muted: #9c9689;
  --gold: #c9a84c;
  --gold-soft: rgba(201, 168, 76, 0.35);
  --gold-dim: rgba(201, 168, 76, 0.15);
  --border: rgba(201, 168, 76, 0.22);
  --radius: 14px;
  --radius-btn: 10px;
  --header-h: 72px;
  --announce-h: 36px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --transition: 0.3s ease;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* Safe areas for notched phones */
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4rem 0;
}

@media (min-width: 640px) {
  .section {
    padding: 5.5rem 0;
  }
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 540px;
  line-height: 1.7;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.9rem 1.75rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: none;
  border-radius: var(--radius-btn);
  transition: background var(--transition), color var(--transition), transform 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.btn-primary {
  background: var(--gold);
  color: #0a0a0a;
}

.btn-primary:hover {
  background: #d4b45e;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ---------- Announcement Bar ---------- */
.announce {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  height: calc(var(--announce-h) + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) max(0.75rem, env(safe-area-inset-right)) 0 max(0.75rem, env(safe-area-inset-left));
  box-sizing: border-box;
  background: var(--gold);
  color: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  transition: transform var(--transition);
}

.announce.hide {
  transform: translateY(-100%);
}

.announce strong {
  font-weight: 600;
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: calc(var(--announce-h) + env(safe-area-inset-top, 0px));
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background var(--transition), border-color var(--transition), top var(--transition), box-shadow var(--transition);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  top: 0;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.header-inner {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

/* Hamburger — 44×44 touch target, icon stays compact */
.hamburger {
  position: relative;
  width: 44px;
  height: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  z-index: 1002;
  margin-left: -8px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s ease, opacity 0.3s ease, background var(--transition);
  border-radius: 1px;
}

.header:not(.scrolled) .hamburger span {
  background: var(--text);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Brand */
.brand {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  line-height: 1.2;
}

.brand-name {
  display: block;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  transition: color var(--transition);
}

.brand-tag {
  display: block;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 3px;
  transition: color var(--transition);
}

/* Desktop Nav */
.nav-desktop {
  display: none;
}

.lang-toggle {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  min-height: 40px;
  min-width: 40px;
  padding: 0.35rem 0.6rem;
  border: 1px solid transparent;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition), border-color var(--transition);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.lang-toggle:hover {
  color: var(--gold);
}

/* ---------- Mobile Drawer ---------- */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 82%;
  max-width: 320px;
  height: 100%;
  height: 100dvh;
  background: var(--surface);
  z-index: 1102;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  padding: max(1.75rem, env(safe-area-inset-top)) max(1.5rem, env(safe-area-inset-right)) max(2rem, env(safe-area-inset-bottom)) max(1.5rem, env(safe-area-inset-left));
  border-right: 1px solid var(--border);
}

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

/* When menu open: lock header state so top-of-page matches scrolled pages */
body.menu-open .announce {
  transform: translateY(-100%);
  pointer-events: none;
}

body.menu-open .header {
  top: 0 !important;
  z-index: 1090;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
}

body.menu-open .brand {
  opacity: 0;
  pointer-events: none;
}

/* Hide hamburger while drawer is open — close via Fechar / overlay / swipe */
body.menu-open .hamburger {
  opacity: 0;
  pointer-events: none;
}

.drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.75rem;
  padding-top: 0.35rem;
  min-height: 32px;
}

.drawer-brand {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
}

.drawer-close {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  min-height: 44px;
  min-width: 44px;
  padding: 0.65rem 0.75rem;
  margin: -0.5rem -0.65rem -0.5rem 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.drawer-close:hover {
  color: var(--gold);
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.drawer-nav a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  min-height: 48px;
  padding: 1.05rem 0;
  display: flex;
  align-items: center;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(201, 168, 76, 0.08);
  transition: color 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.drawer-nav a:last-child {
  border-bottom: none;
}

.drawer-nav a:hover {
  color: var(--gold);
}

.drawer-footer {
  margin-top: auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.drawer-footer p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--announce-h) + var(--header-h) + 2.5rem + env(safe-area-inset-top, 0px)) 1.25rem max(4rem, env(safe-area-inset-bottom, 0px));
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--bg) center top / cover no-repeat;
  overflow: hidden;
}

/* Static poster fallback for mobile / reduced data */
.hero-bg picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

@media (min-width: 900px) {
  .hero-poster,
  .hero-video {
    object-fit: cover;
    object-position: center top;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(10, 10, 10, 0.55) 0%, rgba(10, 10, 10, 0.72) 45%, rgba(10, 10, 10, 0.88) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  width: 100%;
}

.hero-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-soft);
  padding: 0.42rem 1rem;
  border-radius: 3px;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(0.95rem, 3.2vw, 1.1rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1.65;
  margin: 0 auto 2rem;
  max-width: 440px;
  color: var(--text-muted);
  padding: 0 0.25rem;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  max-width: 320px;
  margin: 0 auto;
}

.hero-cta .btn {
  width: 100%;
}

@media (min-width: 480px) {
  .hero-cta {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    max-width: none;
  }

  .hero-cta .btn {
    width: auto;
  }
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin-top: 2.5rem;
}

.service-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  background: var(--surface-2);
  border-color: var(--gold-soft);
}

.service-card--featured {
  border-color: var(--gold-soft);
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.08) 0%, var(--surface) 60%);
}

.service-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  background: rgba(201, 168, 76, 0.06);
}

.service-body {
  min-width: 0;
  flex: 1;
}

.service-card h3 {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 0.3rem;
}

.service-card p {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ---------- Packages ---------- */
.packages-header {
  text-align: center;
  margin-bottom: 2.75rem;
}

.packages-header .section-desc {
  margin: 0 auto;
}

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

/* On mobile, show Popular (Prata) first for conversion */
.packages-grid .package-card:nth-child(1) { order: 2; } /* Bronze */
.packages-grid .package-card:nth-child(2) { order: 1; } /* Prata popular */
.packages-grid .package-card:nth-child(3) { order: 3; } /* Ouro */

@media (min-width: 900px) {
  .packages-grid .package-card:nth-child(1),
  .packages-grid .package-card:nth-child(2),
  .packages-grid .package-card:nth-child(3) {
    order: unset;
  }
}

.package-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.35rem 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.25s ease;
}

.package-card:hover {
  border-color: var(--gold-soft);
}

.package-card.popular {
  border-color: var(--gold);
}

.package-badge {
  position: absolute;
  top: -1px;
  right: 1.25rem;
  background: var(--gold);
  color: #0a0a0a;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 0 0 6px 6px;
}

.package-tier {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.package-name {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.package-desc {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.package-features {
  flex: 1;
  margin-bottom: 1.75rem;
}

.package-features li {
  font-size: 0.88rem;
  font-weight: 300;
  padding: 0.45rem 0;
  padding-left: 1.15rem;
  position: relative;
  color: var(--text);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.package-features li:last-child {
  border-bottom: none;
}

.package-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.7;
}

.package-price {
  font-size: 1.65rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.package-price span {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.package-card .btn {
  width: 100%;
  margin-top: 1.25rem;
  min-height: 52px;
}

/* Sticky mobile CTA bar on packages page */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 0.85rem 1.25rem max(0.85rem, env(safe-area-inset-bottom));
  background: rgba(10, 10, 10, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.4);
}

.mobile-cta-bar.visible {
  display: block;
}

.mobile-cta-bar .btn {
  width: 100%;
  min-height: 50px;
}

@media (min-width: 900px) {
  .mobile-cta-bar {
    display: none !important;
  }
}

body.has-mobile-cta {
  padding-bottom: calc(72px + env(safe-area-inset-bottom));
}

/* ---------- Presencial ---------- */
.presencial {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.presencial-header {
  margin-bottom: 2rem;
}

.presencial-header .section-title {
  margin-bottom: 0.75rem;
}

.presencial-header .section-desc {
  margin: 0;
  max-width: 540px;
}

.presencial-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.presencial-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.25rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.presencial-item:hover {
  border-color: var(--gold-soft);
  background: var(--surface-2);
}

.presencial-item-body {
  min-width: 0;
  flex: 1;
}

.presencial-item h4 {
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  letter-spacing: 0.02em;
}

.presencial-item p {
  font-size: 0.84rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.5;
}

.presencial-tag {
  flex-shrink: 0;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-soft);
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  white-space: nowrap;
  background: rgba(201, 168, 76, 0.06);
}

/* ---------- Quote (side-by-side from mobile, Thurston-style) ---------- */
.section-quote {
  border-top: 1px solid var(--border);
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.quote-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0.85rem 1rem;
  align-items: center;
}

.quote-photo {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  aspect-ratio: 3 / 4;
  width: 100%;
  margin: 0;
}

.quote-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.quote-body {
  margin: 0;
  text-align: left;
  min-width: 0;
}

.quote-icon {
  color: var(--gold);
  margin-bottom: 0.65rem;
  opacity: 0.9;
}

.quote-icon svg {
  width: 22px;
  height: 22px;
}

.quote-text {
  font-size: clamp(0.72rem, 2.8vw, 0.92rem);
  font-weight: 300;
  line-height: 1.55;
  color: var(--text);
  letter-spacing: 0.01em;
  margin-bottom: 0.85rem;
}

.quote-author {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

@media (min-width: 480px) {
  .quote-grid {
    gap: 1.25rem 1.5rem;
  }

  .quote-text {
    font-size: clamp(0.85rem, 2.4vw, 1.05rem);
    line-height: 1.65;
  }

  .quote-icon svg {
    width: 28px;
    height: 28px;
  }
}

@media (min-width: 800px) {
  .quote-grid {
    grid-template-columns: 1.05fr 1fr;
    gap: 3.5rem;
  }

  .quote-photo {
    border-radius: var(--radius);
  }

  .quote-icon {
    margin-bottom: 1.25rem;
  }

  .quote-icon svg {
    width: 36px;
    height: 36px;
  }

  .quote-text {
    font-size: clamp(1.05rem, 2.2vw, 1.35rem);
    line-height: 1.7;
    margin-bottom: 1.5rem;
  }

  .quote-author {
    font-size: 0.78rem;
    letter-spacing: 0.14em;
  }

  .section-quote {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

/* ---------- Feature video (Kylie-style split) ---------- */
.section-metodo {
  padding: 0;
  margin: 0;
}

.metodo-layout {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.metodo-video {
  width: 100%;
  flex-shrink: 0;
}

.metodo-content {
  width: 100%;
  padding: 3.5rem 1.25rem 4rem;
}

.metodo-content-inner {
  max-width: 560px;
  margin: 0 auto;
}

.metodo-content .section-desc {
  margin-bottom: 0;
}

.feature-video-wrap {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  border: none;
  background: #000;
  /* Mobile: tall portrait, fills most of the viewport under the header */
  aspect-ratio: 9 / 14;
  max-height: 85vh;
}

.feature-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #000;
  pointer-events: none;
}

.video-play-btn {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  left: auto;
  top: auto;
  transform: none;
  z-index: 3;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(10, 10, 10, 0.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.2s ease, opacity 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  opacity: 1;
}

.video-play-btn:hover {
  background: rgba(201, 168, 76, 0.35);
  border-color: var(--gold-soft);
}

/* Keep play/pause visible in the corner while playing */
.feature-video-wrap.is-playing .video-play-btn {
  opacity: 0.85;
}

.feature-video-wrap.is-playing:hover .video-play-btn,
.feature-video-wrap.is-playing:focus-within .video-play-btn {
  opacity: 1;
}

.feature-video-wrap.is-playing .icon-play {
  display: none;
}

.feature-video-wrap.is-playing .icon-pause {
  display: block !important;
}

.feature-video-wrap:not(.is-playing) .icon-pause {
  display: none !important;
}

@media (min-width: 900px) {
  .metodo-layout {
    flex-direction: row;
    align-items: center;
    min-height: 0;
  }

  .metodo-video {
    flex: 0 0 50%;
    width: 50%;
    max-width: 50%;
  }

  .feature-video-wrap {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 5;
    max-height: 72vh;
    border-radius: 0;
    border: none;
  }

  .metodo-content {
    flex: 0 0 50%;
    width: 50%;
    max-width: 50%;
    display: flex;
    align-items: center;
    padding: 3.5rem 3.5rem;
  }

  .metodo-content-inner {
    max-width: 480px;
    margin: 0;
  }

  .metodo-content .diff-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 2rem;
  }
}

@media (min-width: 1200px) {
  .metodo-content {
    padding: 5rem 4.5rem;
  }

  .metodo-content-inner {
    max-width: 520px;
  }
}

/* ---------- Portfolio carousel (Kylie-style) ---------- */
.carousel {
  position: relative;
  margin-top: 2.5rem;
  width: 100%;
}

.carousel-track {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 0 1.25rem 1rem;
  scrollbar-width: none;
}

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

.carousel-slide {
  flex: 0 0 72%;
  max-width: 280px;
  scroll-snap-align: start;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  aspect-ratio: 3 / 4;
  position: relative;
}

.carousel-slide img,
.carousel-slide video,
.carousel-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
  background: #0a0a0a;
  /* Safari: encourage compositor to paint the first frame */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.carousel-slide:hover img,
.carousel-slide:hover video {
  transform: scale(1.02);
}

.carousel-slide video {
  pointer-events: auto;
  cursor: pointer;
}

.carousel-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease;
  pointer-events: auto;
}
.carousel-play:hover {
  background: rgba(212, 175, 55, 0.9);
  color: #111;
  transform: translate(-50%, -50%) scale(1.06);
}
.carousel-play svg {
  margin-left: 3px; /* optical center for triangle */
}
.carousel-slide.is-playing .carousel-play {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.85);
}
.carousel-slide:not(.is-playing):hover .carousel-play {
  background: rgba(0, 0, 0, 0.7);
}

.carousel-btn {
  display: flex;
  position: absolute;
  top: 50%;
  transform: translateY(-55%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(245, 240, 230, 0.92);
  border: none;
  color: #0a0a0a;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  transition: background 0.2s, transform 0.2s, opacity 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.carousel-btn:hover {
  background: var(--gold);
  color: #0a0a0a;
}

.carousel-btn:active {
  transform: translateY(-55%) scale(0.96);
}

.carousel-prev {
  left: 0.35rem;
}

.carousel-next {
  right: 0.35rem;
}

.carousel-track {
  padding: 0 2.75rem 1rem;
}

@media (min-width: 640px) {
  .carousel-slide {
    flex: 0 0 42%;
    max-width: 300px;
  }

  .carousel-track {
    padding: 0 3.25rem 1rem;
  }

  .carousel-prev {
    left: 0.75rem;
  }

  .carousel-next {
    right: 0.75rem;
  }
}

@media (min-width: 900px) {
  .carousel-slide {
    flex: 0 0 28%;
    max-width: 320px;
  }

  .carousel-track {
    gap: 1rem;
  }
}

@media (min-width: 1100px) {
  .carousel-slide {
    flex: 0 0 22%;
  }
}

/* ---------- Diferencial ---------- */
.diff-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin-top: 2rem;
}

.diff-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.diff-card:hover {
  background: var(--surface-2);
  border-color: var(--gold-soft);
}

.diff-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.95rem;
}

.diff-icon {
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  background: rgba(201, 168, 76, 0.06);
}

.diff-num {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--gold);
  opacity: 0.7;
}

.diff-card h3 {
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
  letter-spacing: 0.02em;
}

.diff-card p {
  font-size: 0.84rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ---------- Payment ---------- */
.payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.payment-tag {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-muted);
}

.payment-note {
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--text-muted);
  margin-top: 0.85rem;
  font-style: italic;
}

.payment-compact {
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.payment-compact-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.payment-compact .payment-methods {
  justify-content: center;
}

.payment-compact .payment-note {
  margin-top: 0.85rem;
}

/* ---------- Final CTA ---------- */
.final-cta {
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 90vh;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.final-cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #0a0a0a;
}

.final-cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* real full-bleed — fills entire section */
  object-position: center 20%;
}

.final-cta-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(10, 10, 10, 0.92) 0%,
      rgba(10, 10, 10, 0.55) 40%,
      rgba(10, 10, 10, 0.25) 70%,
      rgba(10, 10, 10, 0.35) 100%
    );
  pointer-events: none;
}

.final-cta-content {
  position: relative;
  z-index: 1;
  padding: 4rem 1.25rem 5rem;
  width: 100%;
}

.final-cta .section-title {
  margin-bottom: 0.85rem;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.7);
}

.final-cta .section-desc {
  margin: 0 auto 2.25rem;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6);
}

@media (min-width: 900px) {
  .final-cta {
    min-height: 100vh;
    align-items: flex-end;
  }

  .final-cta-bg img {
    object-position: center top;
  }

  .final-cta-content {
    padding: 4rem 1.25rem 5.5rem;
  }

  .final-cta-overlay {
    background:
      linear-gradient(
        to top,
        rgba(10, 10, 10, 0.88) 0%,
        rgba(10, 10, 10, 0.5) 35%,
        rgba(10, 10, 10, 0.25) 60%,
        rgba(10, 10, 10, 0.3) 100%
      );
  }
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
}

.footer-brand {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-tag {
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 0.3rem;
}

.footer-socials {
  display: flex;
  gap: 1.25rem;
}

.footer-socials a {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  transition: color 0.2s;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.25rem;
}

.footer-socials a:hover {
  color: var(--gold);
}

.footer-copy {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 300;
}

.footer-location {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 300;
}

/* ---------- Desktop ---------- */
@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .packages-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .diff-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .hamburger {
    display: none;
  }

  .header-inner {
    flex-direction: column;
    justify-content: center;
    gap: 0.6rem;
    height: auto;
    padding-top: 1rem;
    padding-bottom: 0.85rem;
  }

  .header {
    height: auto;
    min-height: var(--header-h);
  }

  .brand {
    position: static;
    transform: none;
  }

  .brand-name {
    font-size: 1.25rem;
    letter-spacing: 0.16em;
  }

  .brand-tag {
    font-size: 0.68rem;
    letter-spacing: 0.24em;
    margin-top: 4px;
  }

  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 1.75rem;
  }

  .nav-desktop a {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: color 0.2s;
  }

  .nav-desktop a:hover {
    color: var(--text);
  }

  .header:not(.scrolled) .nav-desktop a {
    color: var(--text-muted);
  }

  .lang-toggle {
    margin-left: 0.5rem;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .service-card {
    flex-direction: column;
    padding: 1.75rem 1.5rem;
    min-height: 160px;
  }

  .packages-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }

  .diff-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .presencial-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .presencial-header {
    margin-bottom: 2.5rem;
  }
}

@media (min-width: 1100px) {
  .section {
    padding: 7rem 0;
  }
}

/* ---------- Inner pages (programas / checkout) ---------- */
.page-inner .header {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
}

.nav-active {
  color: var(--text) !important;
}

.page-hero {
  padding: calc(var(--announce-h) + var(--header-h) + 3rem + env(safe-area-inset-top, 0px)) 0 2rem;
  text-align: center;
}

.page-hero .section-desc {
  margin: 0 auto;
}

.package-card.selected {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold-soft);
}

.package-card .btn-select {
  width: 100%;
  margin-top: 1.25rem;
}

.checkout-section {
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.checkout-grid {
  display: grid;
  gap: 2.5rem;
}

.checkout-summary {
  margin-top: 1.75rem;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
}

.checkout-summary.has-package {
  border-color: var(--gold-soft);
  box-shadow: 0 0 0 1px var(--gold-dim);
}

.summary-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}

.summary-empty {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-muted);
}

.summary-name {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.2rem;
}

.summary-price {
  font-size: 0.95rem;
  color: var(--gold);
  font-weight: 400;
}

.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.form-group .optional {
  font-weight: 300;
  opacity: 0.7;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.85rem 0.95rem;
  font-family: inherit;
  font-size: 16px; /* prevents iOS zoom on focus */
  font-weight: 300;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold-soft);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%239c9689' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.2rem;
}

.form-group select option {
  background: var(--surface);
  color: var(--text);
}

.form-group textarea {
  resize: vertical;
  min-height: 90px;
}

.form-note {
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.5;
}

.form-error {
  font-size: 0.82rem;
  color: #c97a7a;
}

.btn-block {
  width: 100%;
  min-height: 52px;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

/* (footer-socials touch targets merged into base footer rules below) */

.checkout-success {
  text-align: center;
  padding: 2rem 0 1rem;
}

.success-card {
  max-width: 480px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
}

.success-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1.25rem;
  border: 1px solid var(--gold-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.25rem;
}

.success-card .section-desc {
  margin: 0 auto 1.75rem;
}

@media (min-width: 900px) {
  .checkout-grid {
    grid-template-columns: 1fr 1.05fr;
    gap: 3.5rem;
    align-items: start;
  }

  .page-hero {
    padding-top: calc(var(--announce-h) + 7rem);
    text-align: left;
  }

  .page-hero .section-desc {
    margin: 0;
  }
}

/* ---------- Auth pages (login / signup) ---------- */
.auth-section.section,
.auth-section {
  min-height: calc(100vh - var(--announce-h) - var(--header-h) - 80px);
  display: flex;
  align-items: center;
  /* Clear fixed announce + header; ignore generic .section padding */
  padding: calc(var(--announce-h) + var(--header-h) + 3.5rem + env(safe-area-inset-top, 0px)) 0 4rem;
}

.auth-container {
  max-width: 440px;
  margin: 0 auto;
  width: 100%;
}

.auth-card {
  width: 100%;
  text-align: center;
}

.auth-card .section-label {
  display: block;
  margin-bottom: 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  opacity: 1;
  color: var(--gold);
}

.auth-card .section-title {
  margin-bottom: 0.65rem;
}

.auth-card .section-desc {
  margin-bottom: 1.75rem;
  margin-left: auto;
  margin-right: auto;
}

.auth-card .auth-form,
.auth-card .auth-switch {
  text-align: left;
}

.auth-card .auth-switch {
  text-align: center;
}

@media (min-width: 900px) {
  .auth-section.section,
  .auth-section {
    padding-top: calc(var(--announce-h) + var(--header-h) + 4.5rem + env(safe-area-inset-top, 0px));
    padding-bottom: 5rem;
  }
}

.auth-form {
  margin-bottom: 1.5rem;
}

.auth-switch {
  text-align: center;
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-muted);
}

.auth-switch a {
  color: var(--gold);
  font-weight: 400;
  margin-left: 0.25rem;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.auth-switch a:hover {
  border-bottom-color: var(--gold);
}

/* Member area placeholder */
.conta-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.conta-plan {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}

.conta-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ---------- Password show/hide toggle ---------- */
.password-field {
  position: relative;
  display: flex;
  align-items: center;
}

.password-field input {
  width: 100%;
  padding-right: 2.75rem;
}

.password-toggle {
  position: absolute;
  right: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  color: var(--text-muted);
  border-radius: 8px;
  transition: color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.password-toggle:hover {
  color: var(--gold);
}

.password-toggle svg {
  display: block;
  pointer-events: none;
}


/* ---------- Admin tabs + CMS ---------- */
.admin-tabs {
  display: flex;
  gap: 0.5rem;
  margin: 1.5rem 0 1.25rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
}

.admin-tab {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.admin-tab:hover {
  color: var(--text);
}

.admin-tab.is-active {
  color: var(--gold);
  border-color: var(--gold-soft);
  background: rgba(201, 168, 76, 0.08);
}

.admin-tab-panel {
  margin-top: 0.5rem;
}

.admin-content-heading {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 1.75rem 0 1rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

.admin-content-heading:first-of-type {
  margin-top: 0;
  border-top: none;
  padding-top: 0;
}

.admin-pkg-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1rem 0 1.5rem;
}

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

.admin-pkg-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.1rem;
}

.admin-pkg-card h4 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--gold);
}

.admin-pkg-card .form-group {
  margin-bottom: 0.85rem;
}

.admin-pkg-card textarea {
  min-height: 100px;
  font-size: 0.85rem;
}

/* ---------- Admin search ---------- */
.admin-search-wrap {
  margin: 1.25rem 0 0.25rem;
}

.admin-search-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.admin-search {
  position: relative;
  display: flex;
  align-items: center;
}

.admin-search-icon {
  position: absolute;
  left: 0.9rem;
  color: var(--text-muted);
  pointer-events: none;
}

.admin-search-input {
  width: 100%;
  min-height: 44px;
  padding: 0.65rem 2.5rem 0.65rem 2.65rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.admin-search-input::placeholder {
  color: var(--text-muted);
  opacity: 0.85;
}

.admin-search-input:focus {
  border-color: var(--gold-soft);
}

.admin-search-clear {
  position: absolute;
  right: 0.55rem;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--text-muted);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-search-clear:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.admin-search-clear[hidden] {
  display: none !important;
}

/* ---------- Admin table ---------- */
.admin-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-top: 1.25rem;
  position: relative;
  /* Always show horizontal scrollbar when content overflows */
  scrollbar-width: thin;
  scrollbar-color: var(--gold) rgba(255, 255, 255, 0.08);
}

.admin-table-wrap::-webkit-scrollbar {
  height: 8px;
}

.admin-table-wrap::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 0 0 var(--radius) var(--radius);
}

.admin-table-wrap::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 999px;
}

.admin-table-wrap::-webkit-scrollbar-thumb:hover {
  background: #d4b84a;
}

.admin-table {
  width: 100%;
  min-width: 640px; /* force horizontal scroll on narrow screens */
  border-collapse: collapse;
  font-size: 0.88rem;
  font-weight: 300;
}

.admin-table th,
.admin-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.admin-table th {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--surface);
}

.admin-table tbody tr:last-child td {
  border-bottom: none;
}

.admin-table tbody tr:hover td {
  background: rgba(201, 168, 76, 0.04);
}

.admin-plan-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--gold);
  border: 1px solid var(--border);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}

.admin-plan-select {
  min-height: 36px;
  padding: 0.35rem 0.6rem;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  outline: none;
  cursor: pointer;
}

.admin-plan-select:focus {
  border-color: var(--gold-soft);
}

.admin-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.admin-delete-btn {
  min-height: 36px;
  padding: 0.35rem 0.75rem;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #f0b4b4;
  background: transparent;
  border: 1px solid rgba(180, 70, 70, 0.45);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.admin-delete-btn:hover {
  background: rgba(180, 70, 70, 0.15);
  border-color: rgba(200, 90, 90, 0.7);
  color: #ffd0d0;
}

.admin-delete-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ---------- Admin delete modal ---------- */
.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.admin-modal[hidden] {
  display: none !important;
}

.admin-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.admin-modal-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 400px;
  padding: 1.75rem 1.5rem 1.5rem;
  background: #121212;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  text-align: center;
}

.admin-modal-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e8a0a0;
  background: rgba(180, 70, 70, 0.12);
  border: 1px solid rgba(180, 70, 70, 0.35);
}

.admin-modal-title {
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin: 0 0 0.75rem;
  color: var(--text);
}

.admin-modal-text {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0 0 0.5rem;
}

.admin-modal-text strong {
  display: block;
  margin-top: 0.35rem;
  font-weight: 500;
  color: var(--text);
}

.admin-modal-email {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.82rem;
  color: var(--gold);
  word-break: break-all;
}

.admin-modal-note {
  font-size: 0.78rem;
  font-weight: 300;
  font-style: italic;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}

.admin-modal-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

.admin-modal-actions .btn {
  min-height: 44px;
  padding: 0.55rem 1.25rem;
  font-size: 0.8rem;
  flex: 1;
}

.admin-modal-confirm {
  background: rgba(160, 50, 50, 0.85);
  border: 1px solid rgba(200, 80, 80, 0.5);
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: background 0.2s, border-color 0.2s;
}

.admin-modal-confirm:hover {
  background: rgba(190, 60, 60, 0.95);
  border-color: rgba(220, 100, 100, 0.7);
}

.admin-modal-confirm:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

body.admin-modal-open {
  overflow: hidden;
}



/* ---------- Conta pending package ---------- */
.conta-pending {
  margin-bottom: 1.75rem;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--gold-soft);
  border-radius: 12px;
  background: rgba(201, 168, 76, 0.06);
  text-align: left;
}

.conta-pending-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.45rem;
}

.conta-pending-title {
  font-size: 1.15rem;
  font-weight: 500;
  margin: 0 0 0.4rem;
  color: var(--text);
}

.conta-pending-text {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
}

.conta-pending-note {
  font-size: 0.78rem;
  font-weight: 300;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
}


/* ---------- Google auth button ---------- */
.btn-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  min-height: 52px;
  padding: 0.85rem 1.25rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  color: #1f1f1f;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn-google:hover {
  background: #f7f7f7;
  border-color: var(--gold-soft);
  transform: translateY(-1px);
}
.btn-google svg {
  flex-shrink: 0;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.15rem 0 0.25rem;
  color: var(--text-muted);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}
