/* ═════════════════════════════════════════════════════════════
   Dani Vaz Fisio e Pilates — RESTRAINT MODE
   Effect Budget: 2 (subtle fade-in, hover lift)
   ═════════════════════════════════════════════════════════════ */

/* ── Tokens ── */
:root {
  --bg: #FFFFFF;
  --surface: #F5F5F7;
  --surface-warm: #FAFAFA;
  --ink: #0F172A;
  --muted: #6B7280;
  --muted-light: #9CA3AF;
  --border: rgba(15, 23, 42, 0.08);
  --border-strong: rgba(15, 23, 42, 0.12);

  --accent: #1F7A5C;
  --accent-rgb: 31, 122, 92;
  --accent-dark: #16593F;
  --accent-light: #E8F5F0;

  --font-display: 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --r-sm: 0.5rem;
  --r-md: 0.75rem;
  --r-lg: 1rem;
  --r-xl: 1.5rem;
  --r-2xl: 2rem;
  --r-pill: 9999px;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* Shadow scale (Agent 3 recommendation — tokenize hardcoded values) */
  --shadow-1: 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow-2: 0 4px 12px rgba(15, 23, 42, 0.06);
  --shadow-3: 0 12px 32px rgba(15, 23, 42, 0.06), 0 4px 12px rgba(15, 23, 42, 0.04);
  --shadow-4: 0 24px 48px rgba(15, 23, 42, 0.10), 0 8px 16px rgba(15, 23, 42, 0.06);
  --shadow-glow: 0 8px 20px rgba(var(--accent-rgb), 0.25);
  --shadow-hover: var(--shadow-3); /* alias for backward compat */

  /* Light accent for dark backgrounds (was hardcoded #6EE7B7) */
  --accent-on-dark: #6EE7B7;

  --container: 72rem;
  --container-wide: 80rem;
}

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ═════════════════════════════════════════════════════════════
   ACCESSIBILITY — focus-visible (WCAG 2.4.7)
   ═════════════════════════════════════════════════════════════ */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible,
.tab-btn:focus-visible,
.nav-link:focus-visible,
.contact-link:focus-visible {
  outline-offset: 4px;
}

/* Skip to content link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 100;
  padding: 0.625rem 1rem;
  background: var(--ink);
  color: white;
  border-radius: var(--r-md);
  font-size: 0.875rem;
  font-weight: 500;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 1rem; }

/* ═════════════════════════════════════════════════════════════
   TYPOGRAPHY
   ═════════════════════════════════════════════════════════════ */
.display-1 {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 5.25vw, 4.5rem); /* d1: 4.5rem (1.5x d2) */
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--ink);
  text-wrap: balance;
  hyphens: none;
  overflow-wrap: break-word;
}
@media (max-width: 480px) {
  .display-1 {
    font-size: 1.625rem;
    letter-spacing: -0.015em;
    line-height: 1.15;
    word-break: normal;
    overflow-wrap: anywhere;
  }
  .hero-headline br { display: none; }
}
.display-2 {
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 3.75vw, 3rem); /* d2: 3rem (1.5x d3) */
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-wrap: balance;
}
.display-3 {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 2.5vw, 2rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: balance;
}
.lead { text-wrap: pretty; }
.lead {
  font-size: clamp(1rem, 1.4vw, 1.25rem); /* lead: 1.25rem (1.25x body) */
  line-height: 1.6;
  color: var(--muted);
  font-weight: 400;
  text-wrap: pretty;
  overflow-wrap: break-word;
  hyphens: none;
}
@media (max-width: 480px) {
  .lead { font-size: 0.9375rem; line-height: 1.6; }
}
.body { font-size: 1rem; line-height: 1.7; color: var(--ink); }
.body-muted { font-size: 1rem; line-height: 1.7; color: var(--muted); }
.small { font-size: 0.875rem; line-height: 1.6; color: var(--muted); }
.label {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted-light);
}
.label-accent {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
}
.text-accent { color: var(--accent); }
.text-muted { color: var(--muted); }
.text-ink { color: var(--ink); }

/* ═════════════════════════════════════════════════════════════
   LAYOUT
   ═════════════════════════════════════════════════════════════ */
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.container-wide { max-width: var(--container-wide); margin: 0 auto; padding: 0 1.5rem; }
.section { padding-block: clamp(4rem, 10vw, 8rem); }
.section-tight { padding-block: clamp(3rem, 6vw, 5rem); }

/* ═════════════════════════════════════════════════════════════
   ANIMATIONS — fade + rise only
   Above-the-fold (.hero .reveal) anima no load via CSS animation.
   Below-the-fold (.reveal) anima via IntersectionObserver.
   ═════════════════════════════════════════════════════════════ */

/* Hero — fire on page load */
@keyframes fadeRise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero .reveal {
  opacity: 0;
  animation: fadeRise 0.8s var(--ease-out-expo) forwards;
}

/* Below the fold — fire on intersection */
section:not(.hero) .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
section:not(.hero) .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { animation-delay: 0.1s; transition-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; transition-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; transition-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; transition-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; transition-delay: 0.5s; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ═════════════════════════════════════════════════════════════
   BUTTONS
   ═════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: all 0.25s var(--ease-out-smooth);
  white-space: nowrap;
}
.btn-nav { padding: 0.5rem 1.125rem; font-size: 0.875rem; }
.btn-primary {
  background: var(--accent);
  color: white;
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover {
  background: var(--surface);
  border-color: var(--ink);
}
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
  transition: gap 0.2s ease, color 0.2s ease;
}
.btn-link:hover { gap: 0.75rem; color: var(--accent); }
.btn-link i { font-size: 0.75rem; transition: transform 0.2s; }
.btn-link:hover i { transform: translateX(2px); }

/* ═════════════════════════════════════════════════════════════
   NAV
   ═════════════════════════════════════════════════════════════ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}
.nav.scrolled {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.95);
}
.nav-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0.875rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.nav-brand img { width: 2rem; height: 2rem; }
.nav-brand-text {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.nav-links {
  display: none;
  gap: 1.75rem;
  font-size: 0.875rem;
}
@media (min-width: 1024px) { .nav-links { display: flex; } }
.nav-link {
  color: var(--muted);
  font-weight: 500;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--ink); }

/* Nav dropdown — Esportiva */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger { cursor: pointer; display: inline-flex; align-items: center; }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 50%;
  transform: translate(-50%, -8px);
  min-width: 220px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s var(--ease-out-expo);
  z-index: 60;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown-menu[data-open="true"] {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.dropdown-item {
  display: block;
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}
.dropdown-item:hover,
.dropdown-item:focus-visible { background: var(--surface-warm, #f6f3ee); color: var(--ink); }

/* Mobile submenu (sub-itens dentro do mobile-menu) */
.mobile-submenu {
  display: flex;
  flex-direction: column;
  padding-left: 1rem;
  border-left: 2px solid var(--border);
  margin-left: 0.25rem;
}
.mobile-submenu-link {
  display: block;
  padding: 0.875rem 0;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--muted);
  transition: color 0.2s;
}
.mobile-submenu-link:hover { color: var(--accent); }

/* ═════════════════════════════════════════════════════════════
   HERO — chess 50/50 split
   ═════════════════════════════════════════════════════════════ */
.hero {
  padding-block: clamp(3rem, 6vw, 6rem);
  overflow: hidden;
}
.hero-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 480px) {
  .hero-inner { padding: 0 1.5rem; }
}
@media (min-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1.05fr 1fr;
    gap: 5rem;
    align-items: center;
  }
}
.hero-text {
  max-width: 36rem;
  width: 100%;
  min-width: 0; /* allow shrinking inside grid */
}
.hero-headline {
  margin-block: 1.5rem 1.5rem;
  word-break: normal;
  overflow-wrap: break-word;
}
.hero-cta {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
}
.hero-trust {
  margin-top: 2.5rem;
  font-size: 0.8125rem;
  color: var(--muted-light);
  letter-spacing: 0.01em;
  text-wrap: pretty;
  line-height: 1.55;
}
@media (max-width: 480px) {
  .hero-trust {
    font-size: 0.75rem;
  }
}
.hero-photo {
  position: relative;
  aspect-ratio: 4/5;
  max-width: 30rem;
  margin-inline: auto;
  border-radius: var(--r-2xl);
  overflow: hidden;
  background: var(--accent-light);
  box-shadow: var(--shadow-2);
  isolation: isolate;
}
.hero-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(15,23,42,0.18) 100%);
  pointer-events: none;
  z-index: 1;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}
.hero-photo-meta {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.875rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 0.875rem 1.125rem;
  border-radius: var(--r-lg);
  box-shadow: 0 8px 24px rgba(15,23,42,0.10);
}
.hero-photo-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--r-sm);
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9375rem;
}

/* ═════════════════════════════════════════════════════════════
   TRUST STRIP
   ═════════════════════════════════════════════════════════════ */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 2rem;
  padding-block: 2.5rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
@media (min-width: 768px) {
  .trust-strip {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding-block: 3rem;
  }
}
.trust-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.trust-num {
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 2.5vw, 2.125rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}
.trust-label {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.4;
}

/* ═════════════════════════════════════════════════════════════
   SECTION HEADER (reusable)
   ═════════════════════════════════════════════════════════════ */
.section-header {
  max-width: 42rem;
  margin: 0 auto clamp(3rem, 6vw, 4.5rem);
  text-align: center;
}
.section-header .label-accent {
  margin-bottom: 1rem;
  display: block;
}
.section-header .display-2 {
  margin-bottom: 1.25rem;
}
.section-sub {
  max-width: 36rem;
  margin: 0 auto;
}

/* Section header left-aligned variant */
.section-header-left {
  max-width: 42rem;
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
  text-align: left;
}
.section-header-left .label-accent {
  margin-bottom: 1rem;
  display: block;
}
.section-header-left .display-2 { margin-bottom: 1.25rem; }
.section-header-left .section-sub { margin: 0; }

/* ═════════════════════════════════════════════════════════════
   SERVICE GRID
   ═════════════════════════════════════════════════════════════ */
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .service-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }

.service-card {
  position: relative;
  display: block;
  background: var(--surface);
  border-radius: var(--r-xl);
  padding: 2rem 1.875rem 2.25rem;
  transition: background 0.3s var(--ease-out-smooth),
              transform 0.4s var(--ease-out-smooth),
              box-shadow 0.4s var(--ease-out-smooth);
  text-decoration: none;
  color: inherit;
}
.service-card:hover {
  background: white;
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.service-card::after {
  content: "→";
  position: absolute;
  top: 2rem;
  right: 1.875rem;
  font-size: 1.125rem;
  color: var(--muted-light);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease;
}
.service-card:hover::after {
  opacity: 1;
  transform: translateX(0);
  color: var(--accent);
}
.service-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--r-md);
  background: white;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.0625rem;
  margin-bottom: 1.5rem;
  transition: background 0.3s var(--ease-out-smooth), color 0.3s var(--ease-out-smooth);
}
.service-card:hover .service-icon {
  background: var(--ink);
  color: white;
}
.service-title {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 0.625rem;
  line-height: 1.25;
}
.service-desc {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--muted);
}

/* ═════════════════════════════════════════════════════════════
   BACKGROUND VARIANTS (alternating sections)
   ═════════════════════════════════════════════════════════════ */
.bg-surface { background: var(--surface); }
.bg-surface-warm { background: var(--surface-warm); }
.bg-ink { background: var(--ink); color: white; }
.bg-ink .display-1, .bg-ink .display-2, .bg-ink .display-3 { color: white; }
.bg-ink .lead, .bg-ink .body-muted { color: rgba(255,255,255,0.65); }
.bg-ink .label-accent { color: var(--accent-on-dark); } /* lighter green for dark bg readability */
.bg-ink .body { color: rgba(255,255,255,0.85); }

/* ═════════════════════════════════════════════════════════════
   FISIO ESPORTIVA — modality rows (chess)
   ═════════════════════════════════════════════════════════════ */
.modality-list {
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 6vw, 5rem);
}
.modality-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 768px) {
  .modality-row {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
  .modality-row.reversed .modality-photo { order: 2; }
  .modality-row.reversed .modality-text { order: 1; }
}
.modality-photo {
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--surface);
  aspect-ratio: 4/3;
}
.modality-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out-smooth);
}
.modality-row:hover .modality-photo img { transform: scale(1.02); }

.modality-text { max-width: 32rem; }
.modality-text .display-3 { margin-bottom: 1rem; }
.modality-text-wide {
  grid-column: 1 / -1;
  background: var(--surface);
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: var(--r-xl);
  max-width: none;
}

/* ═════════════════════════════════════════════════════════════
   TRATAMENTOS — tabs
   ═════════════════════════════════════════════════════════════ */
.tab-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  justify-content: center;
}
.tab-btn {
  padding: 0.625rem 1.25rem;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}
.tab-btn:hover { color: var(--ink); border-color: var(--ink); }
.tab-btn.active {
  background: white;
  color: var(--ink);
  border-color: var(--ink);
  box-shadow: var(--shadow-1);
}
.tab-panels {
  background: var(--surface);
  border-radius: var(--r-2xl);
  padding: clamp(2rem, 4vw, 3rem);
}
.tab-panel.hidden { display: none; }
.tab-intro {
  margin-bottom: 1.75rem;
  max-width: 48rem;
}
.pathology-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 640px) { .pathology-list { grid-template-columns: repeat(2, 1fr); column-gap: 2rem; } }
@media (min-width: 1024px) { .pathology-list { grid-template-columns: repeat(3, 1fr); column-gap: 2rem; } }
.pathology-item {
  padding: 0.875rem 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  font-size: 0.9375rem;
  color: var(--ink);
}

/* ═════════════════════════════════════════════════════════════
   CHESS — sobre + contato shared
   ═════════════════════════════════════════════════════════════ */
.grid-chess {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .grid-chess {
    grid-template-columns: 1fr 1.1fr;
    gap: 5rem;
  }
}
.chess-photo {
  border-radius: var(--r-xl);
  overflow: visible;
  background: transparent;
  aspect-ratio: 1/1;
  max-width: 26rem;
  margin-inline: auto;
}
.chess-photo img {
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center;
}
.chess-text { max-width: 36rem; }

/* ─── About photo frame (mesmo estilo do fisio-run) ─── */
.about-photo-frame {
  position: relative;
  background: var(--accent-light);
  border-radius: var(--r-2xl);
  padding: 1.25rem;
  max-width: 26rem;
  margin-inline: auto;
  box-shadow: var(--shadow-2);
}
.about-photo-frame img {
  width: 100%; height: auto;
  aspect-ratio: 1/1;
  object-fit: contain;
  object-position: center;
  border-radius: var(--r-xl);
  display: block;
}
.about-photo-frame .about-city-pill {
  position: absolute;
  bottom: -0.9rem;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.82rem; font-weight: 500;
  background: #fff; color: var(--accent-dark);
  padding: 0.45rem 0.95rem;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-2);
  white-space: nowrap;
}
.about-photo-frame .about-city-pill i { color: var(--accent); font-size: 0.78rem; }

/* ── Creds list (sobre) ── */
.creds-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.creds-list li {
  font-size: 0.9375rem;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
}
.creds-list i {
  color: var(--accent);
  font-size: 0.75rem;
}

/* ═════════════════════════════════════════════════════════════
   GALERIA — varied grid (mosaic-like)
   ═════════════════════════════════════════════════════════════ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-areas:
    "a b"
    "c d"
    "e f";
  gap: 1rem;
}
@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-areas:
      "a b c"
      "a d e"
      "f d e";
    gap: 1rem;
  }
  .gallery-item:nth-child(1) { grid-row: span 2; }
}
@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-areas:
      "a b c"
      "a d e"
      "f d e";
    gap: 1.25rem;
  }
}
.gallery-item {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--surface);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-smooth);
}
.gallery-item:hover img { transform: scale(1.04); }

/* ═════════════════════════════════════════════════════════════
   DEPOIMENTOS
   ═════════════════════════════════════════════════════════════ */
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) { .testimonial-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .testimonial-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }

.testimonial {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2.25rem 1.875rem;
  transition: all 0.4s var(--ease-out-smooth);
}
.testimonial:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}
.bg-surface-warm .testimonial { background: white; }
.testimonial-quote {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 1.75rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}
.testimonial-avatar {
  width: 2.5rem; height: 2.5rem;
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.testimonial-name {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
}
.testimonial-meta {
  font-size: 0.8125rem;
  color: var(--muted);
  margin: 0;
}

/* ═════════════════════════════════════════════════════════════
   FAQ
   ═════════════════════════════════════════════════════════════ */
.faq-container { max-width: 48rem; }
.faq-list { display: flex; flex-direction: column; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.0625rem;
  color: var(--ink);
  list-style: none;
  transition: color 0.2s;
  letter-spacing: -0.01em;
}
.faq-summary::-webkit-details-marker { display: none; }
.faq-summary:hover { color: var(--accent); }
.faq-icon {
  font-size: 0.875rem;
  color: var(--muted);
  transition: transform 0.3s ease, color 0.2s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}
details[open] .faq-icon { transform: rotate(45deg); color: var(--accent); }
.faq-content {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--muted);
  padding: 0 0 1.5rem 0;
  max-width: 60ch;
}

/* ═════════════════════════════════════════════════════════════
   CONTATO
   ═════════════════════════════════════════════════════════════ */
.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact-item > i {
  width: 2.5rem; height: 2.5rem;
  border-radius: var(--r-md);
  background: white;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9375rem;
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.contact-item .label { display: block; margin-bottom: 0.25rem; }
.contact-link {
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  transition: color 0.2s;
}
.contact-link:hover { color: var(--accent); }
.contact-text {
  font-size: 0.9375rem;
  color: var(--ink);
  line-height: 1.5;
}
.social-row {
  display: flex;
  gap: 0.625rem;
}
.social-row a {
  width: 2.5rem; height: 2.5rem;
  border-radius: var(--r-pill);
  background: white;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9375rem;
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}
.social-row a:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.chess-map {
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 1/1;
  background: var(--surface);
  border: 1px solid var(--border);
}
@media (min-width: 1024px) { .chess-map { aspect-ratio: 4/5; max-height: 36rem; } }
.chess-map iframe {
  width: 100%; height: 100%;
  border: 0;
}

/* ═════════════════════════════════════════════════════════════
   MOBILE MENU
   ═════════════════════════════════════════════════════════════ */
.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border-radius: var(--r-md);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  background: transparent;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.75px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s ease;
}
.nav-toggle:hover { background: var(--surface); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(5.75px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-5.75px) rotate(-45deg);
}

@media (max-width: 1023px) {
  .nav-toggle { display: inline-flex; }
  /* Hide the desktop "Agendar" CTA on small screens (use mobile menu CTA instead) */
  .nav-inner > .btn-nav { display: none; }
}

.mobile-menu {
  position: fixed;
  top: 64px; /* approximate nav height */
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 49;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 1.5rem;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s var(--ease-out-expo), opacity 0.25s ease;
  overflow-y: auto;
}
.mobile-menu[data-open="true"] {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-link {
  display: block;
  padding: 1.125rem 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.mobile-menu-link:hover { color: var(--accent); }
.mobile-menu-cta {
  margin-top: 1.5rem;
  width: 100%;
  justify-content: center;
}

/* Body scroll lock when menu open */
body.menu-open { overflow: hidden; }

/* ═════════════════════════════════════════════════════════════
   FOOTER
   ═════════════════════════════════════════════════════════════ */
.footer {
  margin-top: 6rem;
  padding-block: 3rem;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.footer-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--muted);
}
@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ═════════════════════════════════════════════════════════════
   WHATSAPP FLOATING
   ═════════════════════════════════════════════════════════════ */
.wa-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 40;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: var(--r-pill);
  background: #25D366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35);
  transition: transform 0.25s ease;
}
.wa-float:hover { transform: scale(1.06); }

/* ═════════════════════════════════════════════════════════════
   CTA STICKY MOBILE
   ═════════════════════════════════════════════════════════════ */
.cta-sticky {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 45;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-top: 1px solid var(--border);
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0));
  transform: translateY(120%);
  transition: transform 0.4s var(--ease-out-expo);
  display: none;
}
.cta-sticky.visible { transform: translateY(0); }
.cta-sticky-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  width: 100%;
  padding: 1rem 1.5rem;
  background: var(--accent);
  color: white;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  box-shadow: var(--shadow-glow);
  transition: background 0.25s var(--ease-out-smooth);
}
.cta-sticky-btn:hover { background: var(--accent-dark); }
.cta-sticky-btn i { font-size: 1.125rem; }

@media (max-width: 1023px) {
  .cta-sticky { display: block; }
  .wa-float { display: none; }
}

/* ═════════════════════════════════════════════════════════════
   RESPONSIVE FIXES — narrow viewports (<=480px)
   ═════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  /* Reduce gutter padding to recover ~16px of content width on small phones */
  .container,
  .container-wide,
  .nav-inner { padding-left: 1rem; padding-right: 1rem; }
  .hero-inner { padding-left: 1rem; padding-right: 1rem; }

  /* Make sure long pt-BR words don't overflow the hero copy */
  .hero-headline,
  .hero-trust,
  .lead { overflow-wrap: anywhere; word-break: break-word; }
  .display-1, .display-2, .display-3 { text-wrap: wrap; }

  /* Stats row: tighten gap so 2-col fits without clipping CWB/Jardim das Américas */
  .trust-strip { gap: 1.25rem 1rem; padding-block: 2rem; }
  .trust-num { font-size: 1.5rem; }
  .trust-label { font-size: 0.75rem; }

  /* CTA buttons: allow shrinking + slightly smaller padding so both CTAs fit */
  .hero-cta { gap: 0.75rem; }
  .hero-cta .btn { padding: 0.8125rem 1.25rem; font-size: 0.9rem; }
  .btn { white-space: normal; text-align: center; }

  /* Hero image: cap height on tiny screens so above-the-fold isn't all photo */
  .hero-photo { max-width: 22rem; }

  /* Force minimum-content min-width = 0 down through grid + flex chains.
     Prevents the hero-text column from inflating to its longest unbreakable
     run and pushing siblings past the viewport. */
  .hero, .hero-inner, .hero-text, .hero-cta { min-width: 0; }
  .hero-cta .btn { max-width: 100%; }
}

/* Extra-narrow phones (<=360px) — older iPhone SE, fold devices */
@media (max-width: 360px) {
  .display-1, .hero-headline { font-size: 1.4375rem; line-height: 1.18; }
  .lead { font-size: 0.875rem; }
  .container, .container-wide, .nav-inner, .hero-inner {
    padding-left: 0.875rem; padding-right: 0.875rem;
  }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .trust-strip { grid-template-columns: 1fr 1fr; gap: 1rem 0.75rem; }
  .trust-num { font-size: 1.375rem; }

  /* Section header: avoid title clip on narrow */
  .section-header,
  .section-header-left { padding-inline: 0.25rem; }
}

/* Touch targets — guarantee 44px minimum on phones (WCAG 2.5.5) */
@media (max-width: 1023px) {
  .nav-link,
  .btn-link,
  .contact-link { min-height: 44px; display: inline-flex; align-items: center; }
}

/* Tablet (768) — give the hero photo room without going huge */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero-photo { max-width: 26rem; }
  .chess-photo { max-width: 24rem; }
}

/* Wide desktops — keep content from feeling lost in whitespace */
@media (min-width: 1600px) {
  .hero-photo { max-width: 32rem; }
}

/* ─────────────────────────────────────────────────────────────
   Equipe — sub-bloco dentro de #sobre
   ───────────────────────────────────────────────────────────── */
/* ═══════════════════════════════════════════════════════════════
   EQUIPE — premium team section
   ═══════════════════════════════════════════════════════════════ */
.team-block {
  margin-top: 5rem;
  padding-top: 4rem;
  border-top: 1px solid var(--border);
  scroll-margin-top: 5rem;
}
.team-header { text-align: left; margin-bottom: 2.5rem; }

/* Grid: 2 col desktop, 1 col mobile */
.team-members {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 880px) {
  .team-members { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}

/* Card horizontal */
.team-member {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.5rem;
  padding: 1.75rem;
  background: var(--surface-warm);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  transition: transform 0.3s var(--ease-out-smooth),
              box-shadow 0.3s var(--ease-out-smooth),
              border-color 0.3s;
}
.team-member:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-3);
  border-color: rgba(var(--accent-rgb), 0.25);
}
@media (max-width: 540px) {
  .team-member {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.5rem;
    text-align: center;
  }
  .team-member .team-member-tags { justify-content: center; }
}

/* Foto / placeholder verde */
.team-member-photo {
  position: relative;
  width: 200px; height: 200px;
  border-radius: 50%;
  overflow: visible;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(var(--accent-rgb), 0.18);
}
@media (max-width: 540px) {
  .team-member-photo { margin-inline: auto; }
}
.team-member-photo img {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.team-member-photo--placeholder::before {
  content: ""; position: absolute; inset: 6px;
  border: 2px dashed rgba(255,255,255,0.25);
  border-radius: 50%;
  pointer-events: none;
}
.team-member-initial {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1;
}
.team-member-badge {
  position: absolute;
  bottom: -4px; right: -4px;
  width: 38px; height: 38px;
  background: #fff;
  color: var(--accent);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 0.95rem;
  border: 3px solid var(--surface-warm);
  box-shadow: var(--shadow-2);
}

/* Conteúdo */
.team-member-content { display: flex; flex-direction: column; }
.team-member-tag {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.4rem;
}
.team-member-tag i { font-size: 0.7rem; }
.team-member-name {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 0.65rem;
  line-height: 1.15;
}
.team-member-bio {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 1rem;
  text-wrap: pretty;
}
.team-member-tags {
  list-style: none; padding: 0; margin: auto 0 0;
  display: flex; flex-wrap: wrap; gap: 0.4rem;
}
.team-member-tags li {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.78rem; font-weight: 500;
  color: var(--accent-dark);
  background: var(--accent-light);
  padding: 0.3rem 0.7rem;
  border-radius: var(--r-pill);
}
.team-member-tags i { font-size: 0.65rem; color: var(--accent); }

/* Nota inferior */
.team-note {
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted);
  text-wrap: pretty;
}
.team-note i { color: var(--accent); margin-right: 0.4rem; }
.team-note strong { color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  .team-member { transition: none; }
  .team-member:hover { transform: none; }
}


/* ============================================================
   Plan pages — refinamentos (Fisio Run plano-1..6)
   ============================================================ */

/* HERO */
.plan-page-hero {
  position: relative;
  background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
  color: #fff;
  margin-top: 4rem;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 5vw, 3.5rem);
  overflow: hidden;
}
.plan-page-hero .container { word-wrap: break-word; overflow-wrap: break-word; }
.plan-page-hero h1, .plan-page-hero .plan-page-sub, .plan-page-hero .plan-page-desc { max-width: 100%; }
.plan-page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 88% 18%, rgba(110,231,183,0.14), transparent 55%);
  pointer-events: none;
}
.plan-page-hero .container { position: relative; }

.plan-back {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem; font-weight: 500;
  margin-bottom: 1.5rem;
  transition: color 0.2s ease, gap 0.2s ease;
}
.plan-back:hover { color: var(--accent-on-dark); gap: 0.6rem; }
.plan-back:focus-visible { outline: 2px solid var(--accent-on-dark); outline-offset: 3px; border-radius: 4px; }

.plan-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  max-width: 100%;
  font-family: 'Inter', sans-serif; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-on-dark);
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(110, 231, 183, 0.4);
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--r-pill);
  margin-bottom: 1.25rem;
  white-space: normal;
}
@media (max-width: 480px) {
  .plan-eyebrow {
    font-size: 0.62rem; letter-spacing: 0.08em; padding: 0.32rem 0.7rem;
    display: inline-flex; flex-wrap: wrap; justify-content: flex-start;
  }
  .plan-page-hero .plan-page-desc { font-size: 0.95rem; }
  .plan-meta li { font-size: 0.72rem; }
  .plan-stepper { flex-wrap: wrap; }
}

.plan-page-hero h1 {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 500; letter-spacing: -0.025em; line-height: 1.05;
  margin-bottom: 0.5rem;
  max-width: 22ch;
  text-wrap: balance;
}
.plan-page-hero .plan-page-sub {
  color: var(--accent-on-dark);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem); font-weight: 500;
  margin-bottom: 1.25rem;
  text-wrap: balance;
}

.plan-meta {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-bottom: 1.75rem;
  list-style: none; padding: 0;
}
.plan-meta li {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.78rem; font-weight: 500;
  color: rgba(255,255,255,0.92);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  padding: 0.35rem 0.75rem;
  border-radius: var(--r-pill);
}
.plan-meta li i { color: var(--accent-on-dark); font-size: 0.72rem; }

.plan-page-hero .plan-page-desc {
  color: rgba(255,255,255,0.88);
  font-size: clamp(0.98rem, 1.2vw, 1.08rem); line-height: 1.6;
  max-width: 56ch; margin-bottom: 2rem;
  text-wrap: pretty;
}
.plan-page-hero .btn-primary { background: #fff; color: var(--accent-dark); }
.plan-page-hero .btn-primary:hover { background: var(--accent-on-dark); color: var(--accent-dark); }

/* STEPPER 1-6 */
.plan-stepper {
  display: flex; align-items: center; gap: 0.5rem;
  margin: 2rem 0 0;
  list-style: none; padding: 0;
}
.plan-stepper li {
  width: 1.6rem; height: 1.6rem;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.72rem; font-weight: 600;
  font-family: 'Inter', sans-serif;
  color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  transition: transform 0.2s ease;
}
.plan-stepper li.is-active {
  color: var(--accent-dark);
  background: var(--accent-on-dark);
  border-color: var(--accent-on-dark);
  font-weight: 700;
  transform: scale(1.08);
  box-shadow: 0 0 0 4px rgba(110,231,183,0.18);
}
.plan-stepper li a {
  width: 100%; height: 100%;
  display: inline-flex; align-items: center; justify-content: center;
  color: inherit; border-radius: 50%;
}
.plan-stepper li a:hover { color: var(--accent-on-dark); background: rgba(255,255,255,0.12); }
.plan-stepper li a:focus-visible { outline: 2px solid var(--accent-on-dark); outline-offset: 2px; }

/* HIGHLIGHTS */
.plan-highlights {
  display: grid; grid-template-columns: 1fr; gap: 1rem;
  margin-top: 2.25rem;
}
@media (min-width: 720px) {
  .plan-highlights { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
}
.plan-highlight {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.5rem;
  background: var(--surface-warm);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--r-md);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.plan-highlight:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06), 0 4px 8px rgba(15, 23, 42, 0.04);
  border-left-color: var(--accent-dark);
}
.plan-highlight-icon {
  flex-shrink: 0;
  width: 2.4rem; height: 2.4rem;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-light);
  color: var(--accent-dark);
  border-radius: var(--r-md);
  font-size: 0.95rem;
}
.plan-highlight-body { flex: 1; min-width: 0; }
.plan-highlight h3 {
  font-family: var(--font-display);
  font-size: 1.08rem; font-weight: 500;
  color: var(--ink); margin: 0 0 0.4rem;
  text-wrap: balance;
}
.plan-highlight p {
  font-size: 0.92rem; line-height: 1.55;
  color: var(--muted); margin: 0;
  text-wrap: pretty;
  overflow-wrap: anywhere;
}
@media (max-width: 480px) {
  .plan-highlight { padding: 1.15rem; gap: 0.75rem; }
  .plan-highlight-icon { width: 2rem; height: 2rem; font-size: 0.85rem; }
}

/* "Pra você se" */
.plan-foryou-list {
  list-style: none; padding: 0; margin: 1.75rem 0 0;
  display: grid; grid-template-columns: 1fr; gap: 0.75rem;
}
@media (min-width: 720px) {
  .plan-foryou-list { grid-template-columns: repeat(2, 1fr); }
}
.plan-foryou-list li {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 1rem 1.15rem;
  background: var(--accent-light);
  border-radius: var(--r-md);
  font-size: 0.95rem; line-height: 1.5;
  color: var(--ink);
  transition: transform 0.25s ease, background 0.25s ease;
  text-wrap: pretty;
}
.plan-foryou-list li:hover {
  transform: translateY(-1px);
  background: #DCEFE6;
}
.plan-foryou-list li i {
  color: var(--accent); font-size: 1rem;
  margin-top: 0.15rem; flex-shrink: 0;
}

/* PRICE BOX */
.plan-price-box {
  position: relative;
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  color: #fff;
  border-radius: var(--r-2xl);
  padding: clamp(2rem, 4vw, 3rem) clamp(1.25rem, 3vw, 2.5rem);
  text-align: center;
  margin-top: 3rem;
  overflow: hidden;
}
.plan-price-box::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 12% 100%, rgba(110,231,183,0.18), transparent 55%);
  pointer-events: none;
}
.plan-price-box > * { position: relative; }
.plan-price-box .price-badge {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-family: 'Inter', sans-serif; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-on-dark);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(110,231,183,0.4);
  padding: 0.35rem 0.85rem;
  border-radius: var(--r-pill);
  margin-bottom: 1.25rem;
}
.plan-price-box h2 {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 1.95rem);
  font-weight: 500;
  margin-bottom: 0.6rem;
  text-wrap: balance;
}
.plan-price-box p {
  color: rgba(255,255,255,0.88);
  max-width: 52ch; margin: 0 auto 1.75rem;
  font-size: 1rem; line-height: 1.6;
  text-wrap: pretty;
}
.plan-price-box .btn-primary { background: #fff; color: var(--accent-dark); }
.plan-price-box .btn-primary:hover { background: var(--accent-on-dark); color: var(--accent-dark); }

/* OTHER PLANS — mini-cards numerados */
.other-plans {
  margin-top: 3rem;
}
.other-plans h3 {
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 500;
  color: var(--ink);
  margin-bottom: 1.25rem;
  text-align: center;
}
.other-plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
  list-style: none; padding: 0; margin: 0;
}
.other-plans-grid li { display: flex; }
.other-plans-grid a,
.other-plans-grid .is-current {
  position: relative;
  display: flex; flex-direction: column; gap: 0.25rem;
  width: 100%;
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.other-plans-grid a:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  border-color: var(--accent);
}
.other-plans-grid a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.other-plans-grid .step-num {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent-dark);
  text-transform: uppercase;
}
.other-plans-grid .step-title {
  font-family: var(--font-display);
  font-size: 0.98rem; font-weight: 500;
  color: var(--ink);
}
.other-plans-grid .step-meta {
  font-size: 0.78rem;
  color: var(--muted);
}
.other-plans-grid .is-current {
  background: var(--accent-light);
  border-color: var(--accent);
  cursor: default;
}
.other-plans-grid .is-current::after {
  content: "Você está aqui";
  position: absolute; top: 0.55rem; right: 0.6rem;
  font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent-dark);
  background: #fff;
  padding: 0.2rem 0.45rem;
  border-radius: var(--r-pill);
}

/* SCROLL ANCHOR offset */
.plan-section { scroll-margin-top: 5rem; }

@media (prefers-reduced-motion: reduce) {
  .plan-highlight, .plan-foryou-list li, .other-plans-grid a, .plan-stepper li {
    transition: none;
  }
  .plan-highlight:hover, .plan-foryou-list li:hover, .other-plans-grid a:hover {
    transform: none;
  }
}
