/* ============================================================
   BÚZIOS HEALTH CLUB — Quiet Luxury Styles (v2)
   Warmer palette • Display + sans pairing • Soft elevation
   Thin lines • Generous whitespace • Refined motion
   ============================================================ */

:root {
  /* Brand palette — warmer quiet luxury */
  --color-bg: #f7f4ef;
  --color-surface: #ffffff;
  --color-surface-soft: #f0ebe3;
  --color-text: #1c1917;
  --color-text-muted: #57534e;
  --color-text-soft: #8a847c;
  --color-primary: #1c1917;
  --color-accent: #c45c26;          /* warm terracotta */
  --color-accent-hover: #a34a1c;
  --color-accent-soft: rgba(196, 92, 38, 0.12);
  --color-border: rgba(28, 25, 23, 0.10);
  --color-border-strong: rgba(28, 25, 23, 0.20);
  --color-overlay: rgba(20, 16, 12, 0.48);
  --color-announce-bg: #1c1917;
  --color-announce-text: #f0ebe3;
  --color-hero-text: #ffffff;
  --color-shadow: rgba(28, 25, 23, 0.06);
  --color-shadow-lg: rgba(28, 25, 23, 0.10);

  /* Typography */
  --font-sans: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: "Cormorant Garamond", "Georgia", "Times New Roman", serif;
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;

  /* Spacing & radius */
  --radius-card: 16px;
  --radius-btn: 10px;
  --radius-input: 8px;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4.5rem;
  --space-2xl: 7rem;

  /* Layout */
  --header-h: 72px;
  --announce-h: 36px;
  --max-w: 1180px;
  --drawer-w: 300px;

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 0.22s var(--ease);
  --t-med: 0.35s var(--ease);
  --t-slow: 0.55s var(--ease-out);
}

/* Reset & base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-weight: var(--fw-regular);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; border: none; background: none; }
ul, ol { list-style: none; }
button { cursor: pointer; }

/* Utilities */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
@media (min-width: 768px) {
  .container { padding-left: 2rem; padding-right: 2rem; }
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ========== SCROLL REVEAL ========== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--t-slow), transform var(--t-slow);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* ========== ANNOUNCEMENT BAR ========== */
.announce-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1100;
  height: var(--announce-h);
  background: var(--color-announce-bg);
  color: var(--color-announce-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: var(--fw-regular);
  letter-spacing: 0.07em;
  text-align: center;
  transition: transform var(--t-med);
  cursor: pointer;
}
.announce-bar.hide {
  transform: translateY(-100%);
}
.announce-bar .accent {
  color: var(--color-accent);
  font-weight: var(--fw-medium);
}

/* ========== HEADER ========== */
.site-header {
  position: fixed;
  top: var(--announce-h);
  left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background var(--t-med), border-color var(--t-med), box-shadow var(--t-med), top var(--t-med);
  background: transparent;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  top: 0;
  background: rgba(247, 244, 239, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--color-border);
  box-shadow: 0 1px 16px var(--color-shadow);
}
.site-header.scrolled .brand-name,
.site-header.scrolled .brand-tag,
.site-header.scrolled .nav-link,
.site-header.scrolled .hamburger span {
  color: var(--color-text);
}
.site-header.scrolled .hamburger span {
  background: var(--color-text);
}

.header-inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  height: 100%;
}
@media (min-width: 900px) {
  .header-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0.4rem;
    padding: 0 2rem;
  }
}

/* Brand */
.brand {
  text-align: center;
  line-height: 1.12;
}
.brand-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-hero-text);
  transition: color var(--t-med);
}
.brand-tag {
  display: block;
  font-size: 0.58rem;
  font-weight: var(--fw-light);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  margin-top: 0.1rem;
  transition: color var(--t-med);
}
@media (min-width: 900px) {
  .brand-name { font-size: 1.65rem; letter-spacing: 0.1em; }
  .brand-tag { font-size: 0.62rem; letter-spacing: 0.32em; }
}

/* Desktop nav */
.desktop-nav {
  display: none;
}
@media (min-width: 900px) {
  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 1.85rem;
  }
  .nav-link {
    font-size: 0.7rem;
    font-weight: var(--fw-medium);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-hero-text);
    transition: color var(--t-fast), opacity var(--t-fast);
    position: relative;
  }
  .nav-link::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -4px;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--t-fast);
  }
  .nav-link:hover { opacity: 0.9; }
  .nav-link:hover::after { transform: scaleX(1); }
  .site-header.scrolled .nav-link { color: var(--color-text); }
  .site-header.scrolled .nav-link:hover { color: var(--color-accent); opacity: 1; }
}

/* Hamburger */
.hamburger {
  width: 28px;
  height: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
  z-index: 10;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--color-hero-text);
  transition: transform var(--t-med), opacity var(--t-med), background var(--t-med);
  transform-origin: center;
}
.hamburger.open span:nth-child(1) {
  transform: translateY(9.25px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-9.25px) rotate(-45deg);
}
@media (min-width: 900px) {
  .hamburger { display: none; }
}

/* Mobile drawer */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: var(--color-overlay);
  z-index: 1200;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-med), visibility var(--t-med);
}
.drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}
.drawer {
  position: fixed;
  top: 0; left: 0;
  width: 85%;
  max-width: var(--drawer-w);
  height: 100%;
  background: var(--color-surface);
  z-index: 1300;
  transform: translateX(-100%);
  transition: transform var(--t-med);
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.5rem;
  overflow-y: auto;
}
.drawer.open { transform: translateX(0); }
.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2.5rem;
}
.drawer-brand .brand-name {
  color: var(--color-text);
  font-size: 1.25rem;
}
.drawer-brand .brand-tag {
  color: var(--color-text-muted);
}
.drawer-close {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: var(--color-text-muted);
  line-height: 1;
}
.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.drawer-nav a {
  font-size: 0.78rem;
  font-weight: var(--fw-medium);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text);
  transition: color var(--t-fast);
}
.drawer-nav a:hover { color: var(--color-accent); }
.drawer-footer {
  margin-top: auto;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

body.drawer-open { overflow: hidden; }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.85rem;
  font-size: 0.8rem;
  font-weight: var(--fw-medium);
  letter-spacing: 0.05em;
  text-transform: none;
  border-radius: var(--radius-btn);
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast),
              box-shadow var(--t-fast), transform var(--t-fast);
  cursor: pointer;
  line-height: 1.2;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 2px 8px var(--color-shadow);
}
.btn-primary:hover {
  background: #2d2926;
  box-shadow: 0 4px 14px var(--color-shadow-lg);
}
.btn-accent {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 2px 10px rgba(196, 92, 38, 0.28);
}
.btn-accent:hover {
  background: var(--color-accent-hover);
  box-shadow: 0 4px 16px rgba(196, 92, 38, 0.35);
}
.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border-strong);
}
.btn-outline:hover {
  border-color: var(--color-text);
  background: rgba(28, 25, 23, 0.03);
  box-shadow: 0 2px 10px var(--color-shadow);
}
.btn-light {
  background: #fff;
  color: var(--color-text);
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.btn-light:hover {
  background: #faf8f5;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.btn-sm {
  padding: 0.62rem 1.25rem;
  font-size: 0.74rem;
}
.btn-block { width: 100%; }

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  color: var(--color-hero-text);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img,
.hero-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0;
  transition: opacity 1.2s ease, transform 12s var(--ease-out);
  transform: scale(1.02);
}
.hero-media img.is-active,
.hero-media video.is-active {
  opacity: 1;
  z-index: 1;
}
.hero-media img[hidden],
.hero-media img[src=""] {
  display: none;
}
.hero:hover .hero-media img.is-active,
.hero:hover .hero-media video.is-active {
  transform: scale(1.06);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(18, 14, 10, 0.78) 0%, rgba(18, 14, 10, 0.38) 42%, rgba(18, 14, 10, 0.22) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 1.25rem 4.75rem;
  max-width: var(--max-w);
  margin: 0 auto;
}
@media (min-width: 768px) {
  .hero-content { padding: 0 2rem 6.5rem; }
}
.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: var(--fw-medium);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
  opacity: 0.88;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 7vw, 3.65rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
  max-width: 14ch;
  margin-bottom: 1.3rem;
}
.hero-sub {
  font-size: 0.98rem;
  font-weight: var(--fw-light);
  max-width: 34ch;
  opacity: 0.9;
  margin-bottom: 2.1rem;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* ========== SECTIONS ========== */
.section {
  padding: var(--space-xl) 0;
}
@media (min-width: 768px) {
  .section { padding: var(--space-2xl) 0; }
}
.section-services {
  position: relative;
  overflow: hidden;
  background: var(--color-surface-soft);
  background-size: cover;
  background-position: center 25%;
}
.section-services > .container {
  position: relative;
  z-index: 1;
}
.section-services[style*="background-image"] .section-header {
  background: rgba(247, 244, 239, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1.35rem 1.4rem 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 10px 36px rgba(28, 25, 23, 0.10);
  max-width: 640px;
}
.section-services[style*="background-image"] .section-title {
  color: var(--color-text);
}
.section-services[style*="background-image"] .section-desc {
  color: var(--color-text);
  font-weight: var(--fw-regular);
  opacity: 0.88;
  text-shadow: none;
}
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}
.section-eyebrow {
  font-size: 0.68rem;
  font-weight: var(--fw-medium);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4.2vw, 2.55rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.22;
  margin-bottom: 0.95rem;
  position: relative;
}
.section-header .section-title::after {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  background: var(--color-accent);
  margin: 1rem auto 0;
  border-radius: 1px;
  opacity: 0.85;
}
.section-desc {
  font-size: 0.98rem;
  color: var(--color-text-muted);
  font-weight: var(--fw-light);
  line-height: 1.7;
}

/* ========== CARDS ========== */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition:
    border-color var(--t-med),
    box-shadow var(--t-med),
    transform var(--t-med);
  box-shadow: 0 1px 3px var(--color-shadow);
  will-change: transform;
}
.card:hover {
  border-color: rgba(196, 92, 38, 0.28);
  box-shadow:
    0 16px 40px rgba(28, 25, 23, 0.10),
    0 4px 12px rgba(196, 92, 38, 0.06);
  transform: translateY(-6px);
}
.card:hover .card-icon {
  background: rgba(196, 92, 38, 0.16);
  border-color: rgba(196, 92, 38, 0.22);
  color: var(--color-accent-hover);
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 8px 20px rgba(196, 92, 38, 0.18);
}
.card:hover .card-icon svg {
  transform: scale(1.06);
}
.card:hover .card-title {
  color: var(--color-primary);
}
.card-body {
  padding: 1.6rem 1.4rem;
}
@media (min-width: 768px) {
  .card-body { padding: 1.85rem 1.7rem; }
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(196, 92, 38, 0.14) 0%, rgba(196, 92, 38, 0.06) 100%);
  border: 1px solid rgba(196, 92, 38, 0.14);
  color: var(--color-accent);
  margin-bottom: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(196, 92, 38, 0.06);
  transition:
    transform var(--t-med),
    background var(--t-med),
    border-color var(--t-med),
    color var(--t-med),
    box-shadow var(--t-med);
}
.card-icon svg {
  width: 1.35rem;
  height: 1.35rem;
  display: block;
  stroke-width: 1.6;
  transition: transform var(--t-med);
}
.plan-card.featured .card-icon {
  background:
    linear-gradient(145deg, rgba(196, 92, 38, 0.22) 0%, rgba(196, 92, 38, 0.10) 100%);
  border-color: rgba(196, 92, 38, 0.24);
}
.info-item .card-icon {
  margin-bottom: 0.95rem;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.45rem;
  letter-spacing: 0.01em;
  line-height: 1.25;
}
.card-text {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-weight: var(--fw-light);
  line-height: 1.65;
}
.card-price {
  font-size: 1.35rem;
  font-weight: var(--fw-medium);
  margin-top: 1.1rem;
  letter-spacing: -0.02em;
}
.card-price span {
  font-size: 0.75rem;
  font-weight: var(--fw-regular);
  color: var(--color-text-muted);
}

/* Grid helpers */
.grid-2 {
  display: grid;
  gap: 1.35rem;
}
@media (min-width: 700px) {
  .grid-2 { grid-template-columns: 1fr 1fr; gap: 1.65rem; }
}
.grid-3 {
  display: grid;
  gap: 1.35rem;
}
@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 1.65rem; }
}

/* ========== FEATURE / INTRO ========== */
.intro-grid {
  display: grid;
  gap: 2.75rem;
  align-items: center;
}
@media (min-width: 900px) {
  .intro-grid { grid-template-columns: 1fr 1fr; gap: 4.5rem; }
  .intro-media { aspect-ratio: 16 / 10; }
}
.intro-media {
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--color-border);
  aspect-ratio: 4/3;
  box-shadow: 0 8px 28px var(--color-shadow);
  position: relative;
}
.intro-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28,25,23,0.12), transparent 45%);
  pointer-events: none;
}
.intro-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.intro-content .section-title {
  text-align: left;
  font-family: var(--font-display);
}
.intro-content .section-title::after {
  margin-left: 0;
  margin-right: auto;
}
.intro-content .section-desc { text-align: left; margin-bottom: 1.6rem; }
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 1.85rem;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.92rem;
  color: var(--color-text-muted);
  font-weight: var(--fw-light);
}
.feature-list li::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--color-accent);
  margin-top: 0.48rem;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px var(--color-accent-soft);
}
.feature-list--icons {
  gap: 1.05rem;
}
.feature-list--icons li {
  align-items: center;
  gap: 1rem;
}
.feature-list--icons li::before {
  display: none;
}
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(196, 92, 38, 0.14) 0%, rgba(196, 92, 38, 0.06) 100%);
  border: 1px solid rgba(196, 92, 38, 0.14);
  color: var(--color-accent);
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(196, 92, 38, 0.06);
  transition: transform var(--t-med), background var(--t-med), box-shadow var(--t-med);
}
.feature-icon svg {
  width: 1.2rem;
  height: 1.2rem;
  display: block;
}
.feature-list--icons li:hover .feature-icon {
  background: rgba(196, 92, 38, 0.16);
  transform: scale(1.06);
  box-shadow: 0 6px 16px rgba(196, 92, 38, 0.16);
}

/* ========== EQUIP CAROUSEL (Ginásio) ========== */
.equip-carousel {
  position: relative;
  margin: 0 auto 2.5rem;
  max-width: 640px;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--color-surface-soft);
  border: 1px solid var(--color-border);
  box-shadow: 0 8px 28px var(--color-shadow);
  aspect-ratio: 16 / 10;
}
@media (min-width: 900px) {
  .equip-carousel {
    max-width: 900px;
    aspect-ratio: 16 / 9;
  }
}
.equip-carousel-track {
  position: absolute;
  inset: 0;
}
.equip-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s var(--ease);
  pointer-events: none;
}
.equip-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}
.equip-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
.equip-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(28, 25, 23, 0.42);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background var(--t-fast), transform var(--t-fast);
}
.equip-nav:hover {
  background: rgba(28, 25, 23, 0.62);
}
.equip-nav svg {
  width: 1.1rem;
  height: 1.1rem;
}
.equip-prev { left: 0.75rem; }
.equip-next { right: 0.75rem; }
.equip-dots {
  position: absolute;
  bottom: 0.85rem;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 0.45rem;
}
.equip-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: transform var(--t-fast), background var(--t-fast);
}
.equip-dot.is-active {
  background: #fff;
  transform: scale(1.25);
  box-shadow: 0 0 0 2px rgba(196, 92, 38, 0.45);
}

/* ========== PLANS ========== */
.plan-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.plan-card .card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.plan-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: var(--fw-medium);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.7rem;
}
.plan-features {
  margin: 1.3rem 0 1.85rem;
  flex: 1;
}
.plan-features li {
  font-size: 0.86rem;
  color: var(--color-text-muted);
  font-weight: var(--fw-light);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--color-border);
}
.plan-features li:last-child { border-bottom: none; }
.plan-card.featured {
  border-color: var(--color-accent);
  box-shadow: 0 8px 32px rgba(196, 92, 38, 0.14);
  position: relative;
}
.plan-card.featured:hover {
  box-shadow: 0 14px 40px rgba(196, 92, 38, 0.2);
}
.plan-card.featured::before {
  content: "Popular";
  position: absolute;
  top: 1.1rem; right: 1.1rem;
  font-size: 0.62rem;
  font-weight: var(--fw-medium);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--color-accent);
  padding: 0.28rem 0.55rem;
  border-radius: 4px;
}

/* ========== CTA BAND ========== */
.cta-band {
  background: linear-gradient(160deg, #1c1917 0%, #2a2520 100%);
  background-size: cover;
  background-position: center 25%;
  color: #fff;
  text-align: center;
  padding: 4rem 1.25rem;
  position: relative;
  overflow: hidden;
}
.cta-band-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(28, 25, 23, 0.55) 0%, rgba(42, 37, 32, 0.48) 100%),
    radial-gradient(ellipse at 70% 20%, rgba(196, 92, 38, 0.1), transparent 55%);
  pointer-events: none;
  z-index: 0;
}
.cta-band .container {
  position: relative;
  z-index: 1;
}
.cta-band .section-title {
  color: #fff;
  position: relative;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45), 0 4px 18px rgba(0, 0, 0, 0.35);
}
.cta-band .section-title::after {
  background: var(--color-accent);
  margin-left: auto;
  margin-right: auto;
}
.cta-band .section-desc {
  color: rgba(255,255,255,0.72);
  margin-bottom: 1.85rem;
  position: relative;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4), 0 3px 14px rgba(0, 0, 0, 0.3);
}
@media (min-width: 768px) {
  .cta-band { padding: 5.25rem 2rem; }
}

/* ========== CONTACT / INFO ========== */
.info-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 700px) {
  .info-grid { grid-template-columns: repeat(3, 1fr); }
}
.info-item {
  text-align: center;
  padding: 1.75rem 1.15rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  transition:
    box-shadow var(--t-med),
    border-color var(--t-med),
    transform var(--t-med);
  will-change: transform;
}
.info-item:hover {
  border-color: rgba(196, 92, 38, 0.28);
  box-shadow:
    0 16px 40px rgba(28, 25, 23, 0.10),
    0 4px 12px rgba(196, 92, 38, 0.06);
  transform: translateY(-6px);
}
.info-item:hover .card-icon {
  background: rgba(196, 92, 38, 0.16);
  border-color: rgba(196, 92, 38, 0.22);
  color: var(--color-accent-hover);
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 8px 20px rgba(196, 92, 38, 0.18);
}
.info-item:hover .card-icon svg {
  transform: scale(1.06);
}
.info-item h3 {
  font-size: 0.72rem;
  font-weight: var(--fw-medium);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
  color: var(--color-text);
}
.info-item p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-weight: var(--fw-light);
  line-height: 1.6;
}
.info-item a { color: var(--color-accent); transition: color var(--t-fast); }
.info-item a:hover { color: var(--color-accent-hover); }

/* ========== FOOTER ========== */
.site-footer {
  background: var(--color-surface-soft);
  padding: 4rem 0 2.25rem;
  border-top: 1px solid var(--color-border);
}
@media (min-width: 768px) {
  .site-footer { padding: 5.5rem 0 2.75rem; }
}
.footer-inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  padding: 0 1.25rem;
}

.footer-newsletter {
  margin-bottom: 2.75rem;
}
.footer-newsletter label {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 0.95rem;
}
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
@media (min-width: 520px) {
  .newsletter-form {
    flex-direction: row;
    gap: 0.55rem;
  }
}
.newsletter-form input {
  flex: 1;
  height: 48px;
  padding: 0 1.1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-input);
  background: var(--color-surface);
  font-size: 0.9rem;
  color: var(--color-text);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.newsletter-form input::placeholder { color: var(--color-text-soft); }
.newsletter-form input:focus {
  outline: none;
  border-color: var(--color-border-strong);
  box-shadow: 0 0 0 3px var(--color-accent-soft);
}
.newsletter-form .btn {
  height: 48px;
  padding-left: 1.45rem;
  padding-right: 1.45rem;
  white-space: nowrap;
}
.newsletter-note {
  font-size: 0.72rem;
  color: var(--color-text-soft);
  margin-top: 0.7rem;
}
.newsletter-note a { text-decoration: underline; }

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2.4rem;
}
.footer-social a {
  color: var(--color-text-muted);
  transition: color var(--t-fast), transform var(--t-fast);
}
.footer-social a:hover {
  color: var(--color-accent);
  transform: translateY(-2px);
}
.footer-social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  margin-bottom: 1.3rem;
}
.footer-links a {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  transition: color var(--t-fast);
}
.footer-links a:hover { color: var(--color-accent); }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1.25rem;
  margin-bottom: 1.85rem;
}
.footer-legal a {
  font-size: 0.72rem;
  color: var(--color-text-soft);
}
.footer-legal a:hover { color: var(--color-text-muted); }

.footer-copy {
  font-size: 0.7rem;
  color: var(--color-text-soft);
  letter-spacing: 0.02em;
}

/* ========== LANGUAGE TOGGLE ========== */
.lang-toggle {
  display: inline-flex;
  gap: 0.35rem;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.lang-toggle button {
  color: inherit;
  opacity: 0.55;
  font-weight: var(--fw-medium);
  transition: opacity var(--t-fast);
}
.lang-toggle button.active,
.lang-toggle button:hover {
  opacity: 1;
}

/* ========== PLANOS PAGE — section split ========== */
.section-plans-swim {
  background: var(--color-surface-soft);
  border-top: 1px solid var(--color-border);
}
.plan-card--swim .card-icon {
  background: linear-gradient(145deg, rgba(37, 99, 140, 0.12) 0%, rgba(37, 99, 140, 0.05) 100%);
  border-color: rgba(37, 99, 140, 0.14);
  color: #25638c;
}
.plan-card--swim .plan-badge {
  color: #25638c;
}

/* ========== PAGE HERO (inner pages) ========== */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--announce-h) + var(--header-h) + 3.5rem) 0 3.25rem;
  text-align: center;
  background-color: var(--color-surface-soft);
  background-size: cover;
  background-position: center 25%;
  border-bottom: 1px solid var(--color-border);
}
.page-hero-overlay {
  display: none;
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(28, 25, 23, 0.58) 0%, rgba(42, 37, 32, 0.5) 100%),
    radial-gradient(ellipse at 70% 20%, rgba(196, 92, 38, 0.1), transparent 55%);
  pointer-events: none;
  z-index: 0;
}
.page-hero .container {
  position: relative;
  z-index: 1;
}
.page-hero.has-photo {
  border-bottom-color: transparent;
}
.page-hero.has-photo .page-hero-overlay {
  display: block;
}
.page-hero.has-photo .section-eyebrow {
  color: rgba(255, 255, 255, 0.72);
}
.page-hero.has-photo .section-title {
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4), 0 4px 18px rgba(0, 0, 0, 0.3);
}
.page-hero.has-photo .section-title::after {
  background: var(--color-accent);
}
.page-hero.has-photo .section-desc {
  color: rgba(255, 255, 255, 0.78);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}
.page-hero .section-title {
  margin-bottom: 0.55rem;
}
.page-hero .section-title::after {
  margin-left: auto;
  margin-right: auto;
}
.page-hero .section-desc {
  max-width: 480px;
  margin: 0 auto;
}

/* ========== HOURS / SCHEDULE ========== */
.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: var(--color-surface);
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--color-border);
}
.hours-table th,
.hours-table td {
  padding: 0.95rem 1.15rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  font-weight: var(--fw-light);
}
.hours-table tr:last-child th,
.hours-table tr:last-child td { border-bottom: none; }
.hours-table th {
  font-weight: var(--fw-medium);
  letter-spacing: 0.04em;
  width: 40%;
}
.hours-table td { color: var(--color-text-muted); }

/* ========== WHATSAPP FLOAT ========== */
.wa-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 900;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.38);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.wa-float:hover {
  transform: scale(1.07);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.48);
}
.wa-float svg { width: 26px; height: 26px; fill: currentColor; }

/* Safe area */
@supports (padding: max(0px)) {
  .site-header { padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
  .wa-float { bottom: max(1.5rem, env(safe-area-inset-bottom)); right: max(1.5rem, env(safe-area-inset-right)); }
}

/* ========== RESPONSIVE TWEAKS ========== */
@media (max-width: 899px) {
  .desktop-nav { display: none !important; }
}
@media (max-width: 600px) {
  .hero { min-height: 92vh; min-height: 92dvh; }
  .hero-content { padding-bottom: 3.75rem; }
}

/* Desktop: gentler crop + keep subjects higher in frame */
@media (min-width: 900px) {
  .hero {
    min-height: 85vh;
    min-height: 85dvh;
  }
  .hero-media img,
  .hero-media video {
    object-position: center 28%;
  }
  .intro-media img,
  .equip-slide img {
    object-position: center 28%;
  }
  .cta-band,
  .page-hero,
  .section-services {
    background-position: center 22%;
  }
}

/* Thin dividers */
.divider {
  height: 1px;
  background: var(--color-border);
  border: none;
  margin: 0;
}

/* Form elements */
.form-group {
  margin-bottom: 1.3rem;
}
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: var(--fw-medium);
  letter-spacing: 0.04em;
  margin-bottom: 0.45rem;
  color: var(--color-text);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem 1.05rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-input);
  background: var(--color-surface);
  font-size: 16px;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-border-strong);
  box-shadow: 0 0 0 3px var(--color-accent-soft);
}
.form-group textarea { min-height: 130px; resize: vertical; }

/* Misc */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.muted { color: var(--color-text-muted); }
.soft { color: var(--color-text-soft); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-media img,
  .hero-media video {
    transition: none;
  }
  .card,
  .info-item,
  .card-icon,
  .card-icon svg {
    transition: none !important;
  }
  .card:hover,
  .info-item:hover,
  .card:hover .card-icon,
  .info-item:hover .card-icon,
  .card:hover .card-icon svg,
  .info-item:hover .card-icon svg {
    transform: none;
  }
}
