/* ============================================================
   ACADEMIA DE MÚSICA DE MIRAFLORES — Os Músicos
   style.css  ·  Dark gold theme  ·  All 9 pages
   ============================================================ */

/* ────────────────────────────────────────────────────────────
   CSS CUSTOM PROPERTIES
   ──────────────────────────────────────────────────────────── */

:root {
  /* Brand palette */
  --gold:           #E9B220;
  --gold-dark:      #C89A1A;
  --gold-shadow:    rgba(233, 178, 32, 0.4);
  --gold-shadow-sm: rgba(233, 178, 32, 0.2);

  /* Backgrounds */
  --bg-dark:   #212125;
  --bg-card:   #2A2A30;
  --bg-deep:   #1A1A1F;
  --bg-glass:  rgba(42, 42, 48, 0.85);

  /* Text */
  --text-primary: #FFFFFF;
  --text-body:    #CCCCCC;
  --text-muted:   #6B6B70;     /* CHANGED from #888888 — mais muted, mais hierarquia */
  --text-secondary: #BCBCBC;   /* metadados, captions */

  /* Borders */
  --border-color: rgba(233, 178, 32, 0.15);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --hairline:     #45454C;     /* borders 1px, dividers */

  /* Typography */
  --font-display:   'Inter', 'Segoe UI', sans-serif;
  --font-body:      'Inter', 'Segoe UI', sans-serif;
  --font-mono:      'JetBrains Mono', 'Consolas', monospace;
  --font-editorial: 'Playfair Display', Georgia, serif;

  /* Legacy font vars — kept as aliases until all refs migrated */
  --font-heading: var(--font-display);
  --font-stack:   var(--font-body);

  /* Font-size scale (mobile-first; desktop via media queries).
     clamp evita que palavras longas em Inter 900 (ex: "modalidades.")
     transbordem em ecrãs estreitos (<400px). */
  --fs-display:   clamp(2.25rem, 12vw, 3rem);  /* 48px mobile · 72px desktop */
  --fs-h1:        2.25rem;  /* 36px mobile · 48px desktop */
  --fs-h2:        1.5rem;   /* 24px mobile · 32px desktop */
  --fs-h3:        1.125rem; /* 18px mobile · 20px desktop */
  --fs-body:      1rem;     /* 16px */
  --fs-small:     0.8125rem;/* 13px */
  --fs-mono:      0.6875rem;/* 11px — mono labels */
  --fs-editorial: 2rem;     /* 32px mobile · 44px desktop */

  /* Layout */
  --container-max:    1200px;
  --container-narrow: 820px;
  --header-h:         72px;

  /* Radius — brutalist reduced scale */
  --radius-none: 0;
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-pill: 100px;

  /* Transitions */
  --ease-out:  cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-snap: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast:    0.18s var(--ease-snap);
  --t-base:    0.35s var(--ease-out);
  --t-slow:    0.6s var(--ease-out);

  /* Spacing scale — 8pt grid */
  --sp-2xs: 0.25rem; /* 4px */
  --sp-xs:  0.5rem;  /* 8px */
  --sp-sm:  0.75rem; /* 12px */
  --sp-md:  1rem;    /* 16px */
  --sp-lg:  1.5rem;  /* 24px */
  --sp-xl:  2rem;    /* 32px */
  --sp-2xl: 3rem;    /* 48px */
  --sp-3xl: 4rem;    /* 64px */
  --sp-4xl: 6rem;    /* 96px */
  --sp-5xl: 8rem;    /* 128px */
}

@media (min-width: 901px) {
  :root {
    --fs-display:   4.5rem;  /* 72px */
    --fs-h1:        3rem;    /* 48px */
    --fs-h2:        2rem;    /* 32px */
    --fs-h3:        1.25rem; /* 20px */
    --fs-editorial: 2.75rem; /* 44px */
  }
}


/* ────────────────────────────────────────────────────────────
   RESET & BASE
   ──────────────────────────────────────────────────────────── */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-body);
  background-color: var(--bg-dark);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}

ul, ol {
  list-style: none;
}

::selection {
  background-color: var(--gold);
  color: var(--bg-dark);
}


/* ────────────────────────────────────────────────────────────
   LAYOUT UTILITIES
   ──────────────────────────────────────────────────────────── */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--sp-lg);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: var(--sp-3xl) 0;
}

.section--sm {
  padding: var(--sp-xl) 0;
}


/* ────────────────────────────────────────────────────────────
   TYPOGRAPHY
   ──────────────────────────────────────────────────────────── */

h1, h2, h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
}

h1 { font-size: var(--fs-display); font-weight: 900; letter-spacing: -0.03em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); text-transform: none; font-weight: 700; letter-spacing: 0; }
h4 { font-size: 1.125rem; font-weight: 700; letter-spacing: 0; }

p { color: var(--text-body); }

.text-gold   { color: var(--gold); }
.text-muted  { color: var(--text-muted); }
.text-white  { color: var(--text-primary); }
.text-center { text-align: center; }


/* ────────────────────────────────────────────────────────────
   SECTION HEADINGS
   ──────────────────────────────────────────────────────────── */

.mono-label,
.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-sm);
}

.section-title {
  margin-bottom: var(--sp-md);
}

.section-title span {
  color: var(--gold);
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-body);
  max-width: 640px;
  line-height: 1.75;
}

.section-header {
  margin-bottom: var(--sp-xl);
}

.section-header--center {
  text-align: center;
}

.section-header--center .section-subtitle {
  margin: 0 auto;
}


/* ────────────────────────────────────────────────────────────
   BUTTONS
   ──────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-stack);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  transition: all var(--t-fast);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
}

/* Gold filled */
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--bg-dark);
  border-color: transparent;
  box-shadow: 0 4px 20px var(--gold-shadow-sm);
}

.btn-gold:hover {
  box-shadow: 0 6px 28px var(--gold-shadow);
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.btn-gold:active {
  transform: translateY(0);
  box-shadow: 0 2px 12px var(--gold-shadow-sm);
}

/* Outlined */
.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--bg-dark);
  box-shadow: 0 4px 20px var(--gold-shadow);
  transform: translateY(-2px);
}

/* Ghost (white outlined) */
.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-subtle);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Sizes */
.btn-sm {
  font-size: 0.8125rem;
  padding: 0.6rem 1.25rem;
}

.btn-lg {
  font-size: 1.0625rem;
  padding: 1rem 2.25rem;
}

.btn-full {
  width: 100%;
}


/* ────────────────────────────────────────────────────────────
   CARDS
   ──────────────────────────────────────────────────────────── */

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}

.card:hover,
.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px var(--border-color);
  border-color: var(--border-color);
}

.card-body {
  padding: var(--sp-lg);
}

.card-footer {
  padding: var(--sp-md) var(--sp-lg);
  border-top: 1px solid var(--border-subtle);
}

/* Gold-accented card */
.card-gold {
  border-color: var(--border-color);
  box-shadow: 0 0 0 1px var(--border-color), inset 0 0 40px rgba(233, 178, 32, 0.03);
}

.card-gold:hover {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(233, 178, 32, 0.4);
}


/* ────────────────────────────────────────────────────────────
   HEADER (fixed, backdrop blur)
   ──────────────────────────────────────────────────────────── */

#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background var(--t-base), box-shadow var(--t-base);
}

#site-header.scrolled {
  background: rgba(15, 15, 26, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-lg);
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--sp-lg);
}

/* Logo */
.header-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  z-index: 1001;
  flex-shrink: 0;
}

.header-logo-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.header-logo-text span {
  color: var(--gold);
}

/* Desktop nav */
.header-nav {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  flex: 1;
  justify-content: center;
}

/* Nav link (desktop) */
.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-body);
  padding: 0.45rem 0.7rem;
  border-radius: var(--radius-sm);
  transition: color var(--t-fast), background var(--t-fast);
  white-space: nowrap;
  position: relative;
}

.nav-link:hover {
  color: var(--gold);
  background: rgba(233, 178, 32, 0.06);
}

.nav-link.active {
  color: var(--gold);
  font-weight: 600;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0.7rem;
  right: 0.7rem;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

/* Lang toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 0.25rem;
  flex-shrink: 0;
}

.lang-btn {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-pill);
  transition: all var(--t-fast);
  cursor: pointer;
  border: none;
  background: none;
  line-height: 1;
}

.lang-btn.active {
  background: var(--gold);
  color: var(--bg-dark);
}

/* Header CTA */
.header-cta {
  flex-shrink: 0;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  z-index: 1001;
  border-radius: var(--radius-sm);
  transition: background var(--t-fast);
  flex-shrink: 0;
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.06);
}

.hamburger-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--t-fast);
  transform-origin: center;
}

.hamburger.open .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open .hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* ────────────────────────────────────────────────────────────
   MOBILE MENU
   ──────────────────────────────────────────────────────────── */

#mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: var(--header-h) var(--sp-lg) var(--sp-xl);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-base), visibility var(--t-base);
}

#mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-xl);
}

.mobile-nav-link {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-body);
  transition: color var(--t-fast);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--t-base), transform var(--t-base), color var(--t-fast);
}

#mobile-menu.open .mobile-nav-link {
  opacity: 1;
  transform: translateY(0);
}

#mobile-menu.open .mobile-nav-link:nth-child(1)  { transition-delay: 0.04s; }
#mobile-menu.open .mobile-nav-link:nth-child(2)  { transition-delay: 0.08s; }
#mobile-menu.open .mobile-nav-link:nth-child(3)  { transition-delay: 0.12s; }
#mobile-menu.open .mobile-nav-link:nth-child(4)  { transition-delay: 0.16s; }
#mobile-menu.open .mobile-nav-link:nth-child(5)  { transition-delay: 0.20s; }
#mobile-menu.open .mobile-nav-link:nth-child(6)  { transition-delay: 0.24s; }
#mobile-menu.open .mobile-nav-link:nth-child(7)  { transition-delay: 0.28s; }
#mobile-menu.open .mobile-nav-link:nth-child(8)  { transition-delay: 0.32s; }
#mobile-menu.open .mobile-nav-link:nth-child(9)  { transition-delay: 0.36s; }

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--gold);
}

.mobile-menu-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-sm);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--t-base) 0.4s, transform var(--t-base) 0.4s;
}

#mobile-menu.open .mobile-menu-footer {
  opacity: 1;
  transform: translateY(0);
}


/* ────────────────────────────────────────────────────────────
   FADE-IN SCROLL ANIMATION
   ──────────────────────────────────────────────────────────── */

.fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity var(--t-slow), transform var(--t-slow);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in--left {
  transform: translateX(-32px);
}

.fade-in--left.visible {
  transform: translateX(0);
}

.fade-in--right {
  transform: translateX(32px);
}

.fade-in--right.visible {
  transform: translateX(0);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }
.delay-5 { transition-delay: 0.40s; }
.delay-6 { transition-delay: 0.48s; }


/* ────────────────────────────────────────────────────────────
   FAQ ACCORDION
   ──────────────────────────────────────────────────────────── */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--t-fast);
}

.faq-item.open {
  border-color: var(--border-color);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-md);
  padding: var(--sp-md) var(--sp-lg);
  cursor: pointer;
  transition: background var(--t-fast);
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.03);
}

.faq-question-text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  flex: 1;
  text-align: left;
}

.faq-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: transform var(--t-fast);
  font-style: normal;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 var(--sp-lg) var(--sp-md);
  color: var(--text-body);
  font-size: 0.9375rem;
  line-height: 1.8;
}


/* ────────────────────────────────────────────────────────────
   WHATSAPP FLOATING BUTTON
   ──────────────────────────────────────────────────────────── */

.whatsapp-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 900;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: #ffffff;
}


/* ────────────────────────────────────────────────────────────
   FOOTER
   ──────────────────────────────────────────────────────────── */

#site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border-subtle);
  padding: var(--sp-2xl) 0 var(--sp-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--sp-xl);
  margin-bottom: var(--sp-xl);
}

.footer-brand-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--sp-xs);
}

.footer-brand-name span {
  color: var(--gold);
}

.footer-brand-sub {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: var(--sp-md);
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  transition: all var(--t-fast);
}

.footer-social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.footer-social-link svg {
  width: 17px;
  height: 17px;
}

.footer-col-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-md);
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-nav-list a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--t-fast);
}

.footer-nav-list a:hover {
  color: var(--text-primary);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
  line-height: 1.5;
}

.footer-contact-item svg {
  width: 15px;
  height: 15px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item a {
  color: var(--text-muted);
  transition: color var(--t-fast);
}

.footer-contact-item a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: var(--sp-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-md);
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: var(--sp-md);
}

.footer-bottom-links a {
  font-size: 0.8125rem;
  color: var(--text-muted);
  transition: color var(--t-fast);
}

.footer-bottom-links a:hover {
  color: var(--text-primary);
}


/* ────────────────────────────────────────────────────────────
   HERO (shared)
   ──────────────────────────────────────────────────────────── */

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: calc(var(--header-h) + var(--sp-xl)) var(--sp-lg) var(--sp-xl);
  position: relative;
  overflow: hidden;
}

.hero--center {
  align-items: center;
  text-align: center;
}

.hero-eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-sm);
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.8s var(--ease-out) 0.1s forwards;
}

.hero-title {
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: var(--sp-md);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.9s var(--ease-out) 0.25s forwards;
}

.hero-title .accent {
  color: var(--gold);
}

.hero-desc {
  font-size: clamp(1rem, 1.8vw, 1.175rem);
  color: var(--text-body);
  max-width: 560px;
  line-height: 1.8;
  margin-bottom: var(--sp-xl);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.9s var(--ease-out) 0.4s forwards;
}

.hero--center .hero-desc {
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.9s var(--ease-out) 0.55s forwards;
}

.hero--center .hero-actions {
  justify-content: center;
}

/* Decorative gold glow behind hero */
.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 178, 32, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  to { opacity: 1; }
}


/* ────────────────────────────────────────────────────────────
   FORMS
   ──────────────────────────────────────────────────────────── */

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-body);
  letter-spacing: 0.02em;
}

.form-input,
.form-select,
.form-textarea {
  font-family: var(--font-stack);
  font-size: 0.9375rem;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  color: var(--text-primary);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  outline: none;
  -webkit-appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(233, 178, 32, 0.12);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23E9B220' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-select option {
  background: var(--bg-card);
  color: var(--text-primary);
}


/* ────────────────────────────────────────────────────────────
   UTILITY CLASSES
   ──────────────────────────────────────────────────────────── */

.gold-line {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  border-radius: 2px;
  margin-bottom: var(--sp-sm);
}

.gold-line--center {
  margin-left: auto;
  margin-right: auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-gold {
  background: rgba(233, 178, 32, 0.12);
  color: var(--gold);
  border: 1px solid rgba(233, 178, 32, 0.25);
}

.divider {
  width: 100%;
  height: 1px;
  background: var(--border-subtle);
  margin: var(--sp-xl) 0;
}

/* Page top offset for fixed header */
.page-top {
  padding-top: var(--header-h);
}

/* body lock */
body.no-scroll {
  overflow: hidden;
}


/* ────────────────────────────────────────────────────────────
   GRID HELPERS
   ──────────────────────────────────────────────────────────── */

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-lg); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-lg); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-lg); }


/* ────────────────────────────────────────────────────────────
   ACCESSIBILITY — Focus visible & Skip link
   ──────────────────────────────────────────────────────────── */

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--gold);
  color: #000;
  padding: 8px 16px;
  z-index: 9999;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  border-radius: 0 0 var(--radius-sm) 0;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}


/* ────────────────────────────────────────────────────────────
   RESPONSIVE — TABLET (≤ 1024px)
   ──────────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .header-nav  { display: none; }
  .header-cta  { display: none; }
  .hamburger   { display: flex; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }

  /* Gallery grid: 2 cols on tablet */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* escola.html: ensure order doesn't confuse layout at tablet */
  .grid-2 [style*="order:2"],
  .grid-2 [style*="order: 2"] {
    order: unset;
  }
  .grid-2 [style*="order:1"],
  .grid-2 [style*="order: 1"] {
    order: unset;
  }
}


/* ────────────────────────────────────────────────────────────
   RESPONSIVE — MOBILE (≤ 640px)
   ──────────────────────────────────────────────────────────── */

@media (max-width: 640px) {
  /* NB: Scale 8pt base values are already mobile-first. No need to override
     --sp-2xl or --sp-3xl here — previously this block was INVERTING them
     (inflating mobile spacing), which was wrong after adopting the 8pt scale. */

  .container {
    padding: 0 var(--sp-md);
  }

  .hero {
    padding-left: var(--sp-md);
    padding-right: var(--sp-md);
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 44px;
  }

  /* Buttons in general should be at least 44px tall on mobile */
  .btn {
    min-height: 44px;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-lg);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .section {
    padding: var(--sp-2xl) 0;
  }

  .whatsapp-float {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 50px;
    height: 50px;
  }

  /* Event rows: stack on mobile so badge doesn't overflow */
  .card[style*="display:flex"] {
    flex-wrap: wrap;
  }

  /* Gallery grid: single column on mobile */
  .gallery-grid {
    grid-template-columns: 1fr !important;
  }

  /* Contact grid: single column on mobile */
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: var(--sp-lg) !important;
  }

  /* Ensure iframe maps don't overflow */
  iframe {
    max-width: 100%;
  }

  /* Escola programme sections: remove order on mobile */
  .grid-2 .fade-in[style*="order:2"],
  .grid-2 .fade-in[style*="order: 2"] {
    order: unset !important;
  }
  .grid-2 .fade-in[style*="order:1"],
  .grid-2 .fade-in[style*="order: 1"] {
    order: unset !important;
  }
}


/* ────────────────────────────────────────────────────────────
   UI/UX POLISH — CURSORS, TRANSITIONS, ACCESSIBILITY
   ──────────────────────────────────────────────────────────── */

/* cursor pointer on all interactive elements */
a, button, [role="button"], .btn, .card-hover, .faq-question, .filter-btn, .nav-link {
  cursor: pointer;
}

/* smooth hover transitions on cards and buttons */
.btn, .card, .nav-link, .filter-btn {
  transition: all 0.2s ease;
}

/* prefers-reduced-motion — respect user preference for reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .fade-in {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Icon base styles */
.icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}
.icon-sm {
  width: 18px;
  height: 18px;
}
.icon-lg {
  width: 32px;
  height: 32px;
}
.icon-xl {
  width: 48px;
  height: 48px;
}


/* ────────────────────────────────────────────────────────────
   HERO HOME (brutalist)
   ──────────────────────────────────────────────────────────── */

.hero-home {
  padding-top: calc(var(--header-h) + var(--sp-4xl));
  padding-bottom: var(--sp-4xl);
  background: var(--bg-deep);
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  padding: var(--sp-xs) var(--sp-md);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  margin-bottom: var(--sp-lg);
}

.hero-home h1 {
  max-width: 12ch;
  margin-bottom: var(--sp-xl);
}

.hero-home h1 em {
  font-style: italic;
  font-weight: inherit;
  color: var(--gold);
}

.hero-home .lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-body);
  max-width: 52ch;
  margin-bottom: var(--sp-2xl);
}

/* Lead reutilizável em qualquer hero */
.lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-body);
  max-width: 52ch;
}

/* Reset the legacy fadeUp animation from old .hero-actions (line ~987)
   — brutalist hero is instant, no entry animation */
.hero-home .hero-actions {
  display: flex;
  gap: var(--sp-lg);
  flex-wrap: wrap;
  align-items: center;
  opacity: 1;
  transform: none;
  animation: none;
}

/* Text-only tertiary CTA (subordinate to btn-gold/btn-outline) */
.btn-text {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: color var(--t-fast);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-xs);
}

.btn-text:hover {
  color: var(--text-primary);
}

@media (max-width: 640px) {
  .hero-home {
    padding-top: calc(var(--header-h) + var(--sp-2xl));
    padding-bottom: var(--sp-2xl);
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .hero-actions .btn-text {
    justify-content: center;
    padding-top: var(--sp-sm);
  }
}


/* ────────────────────────────────────────────────────────────
   AULAS PREVIEW (// 01 — O QUE ENSINAMOS)
   ──────────────────────────────────────────────────────────── */

.aulas-preview {
  background: var(--bg-dark);
  padding: var(--sp-4xl) 0;
}

.aulas-preview h2 {
  max-width: 18ch;
  margin-bottom: var(--sp-md);
}

.aulas-preview .lead {
  margin-bottom: var(--sp-2xl);
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-md);
  margin-top: var(--sp-xl);
}

@media (min-width: 641px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 901px) {
  .card-grid { grid-template-columns: repeat(4, 1fr); gap: var(--sp-lg); }
}

.card-aula {
  background: var(--bg-card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: var(--sp-lg);
  transition: border-color var(--t-fast), transform var(--t-fast);
  display: block;
  text-decoration: none;
  color: inherit;
}

.card-aula:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.card-aula-icon {
  color: var(--gold);
  margin-bottom: var(--sp-md);
}

.card-aula .mono-label {
  margin-bottom: var(--sp-xs);
}

.card-aula h3 {
  margin-bottom: var(--sp-sm);
  color: var(--text-primary);
}

.card-aula p {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  margin: 0;
}

.section-cta {
  margin-top: var(--sp-2xl);
}


/* ────────────────────────────────────────────────────────────
   POR NÚMEROS (// 02 — stats grid de prova social)
   ──────────────────────────────────────────────────────────── */

.por-numeros {
  background: var(--bg-dark);
  padding: var(--sp-4xl) 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.por-numeros h2 {
  max-width: 18ch;
  margin-bottom: var(--sp-2xl);
}

.por-numeros h2 em {
  font-style: italic;
  color: var(--gold);
  font-weight: inherit;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-xl);
}

@media (min-width: 901px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

.stat-cell {
  text-align: left;
  border-left: 2px solid var(--gold);
  padding-left: var(--sp-lg);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 900;
  line-height: 1;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-sm);
}

.stat-label {
  margin-bottom: 0;
  color: var(--text-secondary);
}


/* ────────────────────────────────────────────────────────────
   PLANOS PREVIEW (// 03 — dual pricing +9 anos)
   ──────────────────────────────────────────────────────────── */

.planos-preview {
  background: var(--bg-deep);
  padding: var(--sp-4xl) 0;
}

.planos-preview h2 {
  max-width: 20ch;
  margin-bottom: var(--sp-md);
}

.planos-preview h2 em {
  font-style: italic;
  color: var(--gold);
  font-weight: inherit;
}

.plan-age-note {
  color: var(--text-muted);
  margin-top: var(--sp-lg);
  margin-bottom: var(--sp-lg);
}

.plan-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-md);
  margin-top: var(--sp-xl);
}

@media (min-width: 641px) {
  .plan-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 901px) {
  .plan-grid { grid-template-columns: repeat(4, 1fr); gap: var(--sp-lg); }
}

.plan-cell {
  background: var(--bg-card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: var(--sp-xl) var(--sp-lg);
  position: relative;
  transition: border-color var(--t-fast);
  display: flex;
  flex-direction: column;
}

.plan-cell:hover {
  border-color: var(--gold);
}

.plan-cell--popular {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(233,178,32,0.08) 0%, var(--bg-card) 100%);
}

.plan-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--bg-dark);
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  margin: 0;
}

.plan-cell .mono-label {
  margin-bottom: var(--sp-sm);
}

.plan-price-dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-sm);
  margin: var(--sp-sm) 0 var(--sp-xs);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: var(--sp-md) 0;
}

.plan-price-dual > div {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2xs);
}

.plan-price-dual .price-label {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.plan-price-dual .plan-price {
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 0;
}

.plan-meta {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  margin: 0 0 var(--sp-md);
  text-align: center;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.plan-features li {
  font-size: var(--fs-small);
  padding: var(--sp-xs) 0;
  border-top: 1px solid var(--hairline);
  color: var(--text-body);
}

.plan-features li:first-child {
  border-top: none;
}

.plan-disclaimer {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  color: var(--text-secondary);
  text-align: center;
  letter-spacing: 0.08em;
  margin-top: var(--sp-xl);
  text-transform: uppercase;
}


/* ────────────────────────────────────────────────────────────
   TESTEMUNHOS (// 04)
   ──────────────────────────────────────────────────────────── */

.testemunhos {
  background: var(--bg-dark);
  padding: var(--sp-4xl) 0;
}

.testemunhos h2 {
  margin-bottom: var(--sp-2xl);
}

.testemunhos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-lg);
}

@media (min-width: 901px) {
  .testemunhos-grid { grid-template-columns: repeat(3, 1fr); }
}

.testemunho {
  background: var(--bg-card);
  border-left: 3px solid var(--gold);
  padding: var(--sp-lg);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 0;
}

.testemunho p {
  font-size: 1.0625rem;
  line-height: 1.7;
  font-style: italic;
  color: var(--text-body);
  margin-bottom: var(--sp-md);
}

.testemunho footer {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  color: var(--gold);
  letter-spacing: 0.08em;
}


/* ────────────────────────────────────────────────────────────
   EVENTOS PREVIEW (// 05)
   ──────────────────────────────────────────────────────────── */

.eventos-preview {
  background: var(--bg-deep);
  padding: var(--sp-4xl) 0;
}

.eventos-preview h2 {
  margin-bottom: var(--sp-2xl);
}

.eventos-preview h2 em {
  font-style: italic;
  color: var(--gold);
  font-weight: inherit;
}

.eventos-list {
  list-style: none;
  padding: 0;
  margin-top: var(--sp-xl);
}

.evento-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: var(--sp-lg);
  align-items: center;
  padding: var(--sp-lg);
  background: var(--bg-card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  margin-bottom: var(--sp-md);
}

.evento-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 64px;
  background: rgba(233,178,32,0.12);
  border: 1px solid rgba(233,178,32,0.25);
  border-radius: var(--radius-sm);
}

.evento-date .dia {
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

.evento-date .mes {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

.evento-info h3 {
  margin-bottom: var(--sp-xs);
  font-size: 1.0625rem;
  text-transform: none;
  letter-spacing: 0;
}

.evento-info p {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  margin: 0;
}

@media (max-width: 640px) {
  .evento-item {
    grid-template-columns: 64px 1fr;
    gap: var(--sp-md);
  }
  .evento-item .btn {
    grid-column: 1 / -1;
    width: 100%;
  }
}


/* ────────────────────────────────────────────────────────────
   PARCEIROS (// 06)
   ──────────────────────────────────────────────────────────── */

.parceiros {
  background: var(--bg-dark);
  padding: var(--sp-2xl) 0;
}

.parceiros-lead {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  max-width: 52ch;
  margin: var(--sp-md) 0 var(--sp-xl);
}

.parceiros-logos {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--sp-lg) var(--sp-2xl);
  flex-wrap: wrap;
}

.parceiros-logos span {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}


/* ────────────────────────────────────────────────────────────
   FAQ (// 07) — reuso do componente com refinamentos
   ──────────────────────────────────────────────────────────── */

.faq {
  background: var(--bg-deep);
  padding: var(--sp-4xl) 0;
}

.faq h2 {
  margin-bottom: var(--sp-xl);
}

.faq h2 em {
  font-style: italic;
  color: var(--gold);
  font-weight: inherit;
}

.faq-list {
  margin-top: var(--sp-xl);
}

.faq-item {
  border-top: 1px solid var(--hairline);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--hairline);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--sp-lg) 0;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
}

.faq-question:hover {
  color: var(--gold);
}

.faq-icon {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  color: var(--gold);
  transition: transform var(--t-fast);
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-base);
}

.faq-question[aria-expanded="true"] + .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding-bottom: var(--sp-lg);
  color: var(--text-body);
  line-height: 1.7;
}


/* ────────────────────────────────────────────────────────────
   PLANOS POR IDADE (// 02 — tabs de idade em aulas-planos.html)
   ──────────────────────────────────────────────────────────── */

.planos-idade {
  background: var(--bg-deep);
  padding: var(--sp-4xl) 0;
}

.planos-idade h2 {
  max-width: 20ch;
  margin-bottom: var(--sp-md);
}

.planos-idade h2 em {
  font-style: italic;
  color: var(--gold);
  font-weight: inherit;
}

.planos-idade .lead {
  margin-bottom: var(--sp-xl);
}

/* Tabs de idade */
.age-tabs {
  display: flex;
  gap: var(--sp-sm);
  margin: var(--sp-xl) 0 var(--sp-2xl);
  border-bottom: 1px solid var(--hairline);
}

@media (max-width: 640px) {
  .age-tabs { gap: 0; }
  .age-tabs .age-tab {
    flex: 1;
    padding: var(--sp-md) var(--sp-xs);
    white-space: nowrap;
    text-align: center;
  }
}

.age-tab {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  padding: var(--sp-md) var(--sp-lg);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color var(--t-fast), border-color var(--t-fast);
  white-space: nowrap;
}

.age-tab:hover {
  color: var(--gold);
}

.age-tab.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.plans-panel[hidden] { display: none; }

.plan-grid--single {
  grid-template-columns: 1fr !important;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.plan-price-single {
  grid-template-columns: 1fr !important;
}

.plan-price-single > div {
  flex-direction: column;
  gap: var(--sp-xs);
}

.plan-features .feat-off {
  color: var(--text-muted);
  text-decoration: line-through;
  text-decoration-color: var(--hairline);
  opacity: 0.6;
}

.plan-description {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.6;
  margin-top: var(--sp-md);
  padding-top: var(--sp-md);
  border-top: 1px solid var(--hairline);
}


/* ════════════════════════════════════════════════════════════
   ESCOLA.HTML — B2B sections (voz "vós")
   ════════════════════════════════════════════════════════════ */

.programas {
  background: var(--bg-dark);
  padding: var(--sp-4xl) 0;
}

.programas h2 em {
  font-style: italic;
  color: var(--gold);
  font-weight: inherit;
}

.programas .lead {
  margin-bottom: var(--sp-2xl);
}

.programas-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-md);
  margin-top: var(--sp-xl);
}

@media (min-width: 901px) {
  .programas-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-lg); }
}

.programa-card {
  background: var(--bg-card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: var(--sp-xl);
  transition: border-color var(--t-fast);
}

.programa-card:hover {
  border-color: var(--gold);
}

.programa-card .mono-label {
  margin-bottom: var(--sp-sm);
}

.programa-card h3 {
  margin-bottom: var(--sp-md);
  text-transform: none;
  letter-spacing: 0;
  font-size: 1.375rem;
  color: var(--text-primary);
}

.programa-resumo {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-md);
  padding-bottom: var(--sp-md);
  border-bottom: 1px solid var(--hairline);
}

.programa-card p:last-child {
  font-size: var(--fs-small);
  color: var(--text-body);
  line-height: 1.7;
  margin: 0;
}


/* Instituições parceiras */
.parceiros-b2b {
  background: var(--bg-deep);
  padding: var(--sp-4xl) 0;
}

.parceiros-b2b h2 em {
  font-style: italic;
  color: var(--gold);
  font-weight: inherit;
}

.parceiros-b2b .lead {
  margin-bottom: var(--sp-2xl);
}

.instituicoes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-sm);
  margin-top: var(--sp-xl);
}

@media (min-width: 641px) {
  .instituicoes-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 901px) {
  .instituicoes-grid { grid-template-columns: repeat(3, 1fr); gap: var(--sp-md); }
}

.instituicao-card {
  background: var(--bg-card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  padding: var(--sp-lg);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  text-align: center;
}


/* Como funciona — passos */
.como-funciona {
  background: var(--bg-dark);
  padding: var(--sp-4xl) 0;
}

.como-funciona h2 em {
  font-style: italic;
  color: var(--gold);
  font-weight: inherit;
}

.passos-list {
  list-style: none;
  padding: 0;
  margin-top: var(--sp-2xl);
  display: flex;
  flex-direction: column;
  gap: var(--sp-xl);
}

.passo-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--sp-xl);
  align-items: start;
}

@media (max-width: 640px) {
  .passo-item {
    grid-template-columns: 56px 1fr;
    gap: var(--sp-md);
  }
}

.passo-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: -0.03em;
  line-height: 1;
}

@media (max-width: 640px) {
  .passo-num { font-size: 2rem; }
}

.passo-body .mono-label {
  margin-bottom: var(--sp-xs);
}

.passo-body h3 {
  margin-bottom: var(--sp-sm);
  text-transform: none;
  letter-spacing: 0;
  font-size: 1.125rem;
  color: var(--text-primary);
}

.passo-body p {
  font-size: var(--fs-small);
  color: var(--text-body);
  line-height: 1.7;
  margin: 0;
}


/* ════════════════════════════════════════════════════════════
   NOTAS.HTML — editorial Playfair Display
   ════════════════════════════════════════════════════════════ */

.editorial-title {
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  text-transform: none;
  max-width: 24ch;
}

.editorial-title em {
  color: var(--gold);
  font-style: italic;
  font-weight: inherit;
}

.editorial-empty {
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--text-primary);
  margin-top: var(--sp-lg);
  margin-bottom: var(--sp-md);
}

.hero-notas h1 {
  /* override the default Inter h1 to use Playfair on this page */
  font-family: var(--font-editorial);
  font-weight: 400;
  text-transform: none;
}

.artigos {
  background: var(--bg-deep);
  padding: var(--sp-4xl) 0;
}

.artigos-empty {
  text-align: center;
  padding: var(--sp-2xl) 0;
}

.artigos-empty .fermata-lg {
  color: var(--gold);
  margin: 0 auto var(--sp-lg);
  display: block;
}

.artigos-empty .lead {
  margin: 0 auto;
  text-align: center;
}

.nota-article {
  padding-bottom: var(--sp-3xl);
  border-bottom: 1px solid var(--hairline);
}

.nota-meta {
  margin-bottom: var(--sp-md);
}

.nota-article .lead {
  font-size: 1.25rem;
  margin-bottom: var(--sp-lg);
}


/* Instagram feed */
.instagram-feed {
  background: var(--bg-dark);
  padding: var(--sp-4xl) 0;
}

.instagram-feed h2 {
  margin-bottom: var(--sp-md);
}

.instagram-feed .lead {
  margin-bottom: var(--sp-2xl);
}

.ig-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-sm);
  margin-top: var(--sp-xl);
}

@media (min-width: 641px) {
  .ig-grid { grid-template-columns: repeat(4, 1fr); }
}

.ig-tile {
  aspect-ratio: 1;
  background: var(--bg-card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: border-color var(--t-fast);
}

.ig-tile:hover {
  border-color: var(--gold);
}

.ig-placeholder {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.ig-cta {
  text-align: center;
  margin-top: var(--sp-2xl);
}


/* ════════════════════════════════════════════════════════════
   CONTACTOS.HTML — sections specific
   ════════════════════════════════════════════════════════════ */

.contactos-grid-section {
  background: var(--bg-dark);
  padding: var(--sp-4xl) 0;
}

.contactos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-2xl);
}

@media (min-width: 901px) {
  .contactos-grid { grid-template-columns: 1.5fr 1fr; gap: var(--sp-3xl); }
}

.contactos-form-col h2,
.contactos-info-col h2 {
  margin-bottom: var(--sp-md);
  text-transform: none;
  letter-spacing: 0;
  font-size: 1.5rem;
}

.contactos-form-col .lead {
  margin-bottom: var(--sp-2xl);
}

/* Form */
.contactos-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: var(--sp-xs);
}

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-md);
}

@media (min-width: 641px) {
  .form-row-2col { grid-template-columns: 1fr 1fr; }
}

.form-row label {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.form-row input,
.form-row select,
.form-row textarea {
  background: var(--bg-card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  padding: var(--sp-sm) var(--sp-md);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--t-fast);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-row .field-error {
  border-color: #ff6b6b;
}

.form-row textarea {
  resize: vertical;
  min-height: 120px;
  font-family: var(--font-body);
  line-height: 1.6;
}

.form-note {
  margin-top: var(--sp-md);
  text-align: center;
  color: var(--text-muted);
}

/* Info column */
.info-block {
  margin-bottom: var(--sp-xl);
}

.info-block .mono-label {
  margin-bottom: var(--sp-xs);
}

.info-content {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-body);
  margin: 0;
}

.info-content a {
  color: var(--text-primary);
  text-decoration: none;
  border-bottom: 1px dashed var(--hairline);
  transition: color var(--t-fast), border-color var(--t-fast);
}

.info-content a:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* Mapa */
.mapa-section {
  background: var(--bg-deep);
  padding: var(--sp-4xl) 0;
}

.mapa-section h2 {
  margin-bottom: var(--sp-2xl);
  text-transform: none;
  letter-spacing: 0;
  font-size: 1.5rem;
}

.mapa-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
}

#mapa-academia {
  width: 100%;
  height: 100%;
  background: var(--bg-card);
}

#mapa-academia .leaflet-popup-content-wrapper,
#mapa-academia .leaflet-popup-tip {
  background: var(--bg-card);
  color: var(--text-primary);
}

.mapa-note {
  margin-top: var(--sp-md);
  text-align: right;
  font-size: var(--fs-small);
}

.mapa-note a {
  color: var(--gold);
  text-decoration: none;
}

.mapa-note a:hover {
  color: var(--text-primary);
}


/* ════════════════════════════════════════════════════════════
   EVENTOS.HTML — sections specific
   ════════════════════════════════════════════════════════════ */

.filtros-eventos {
  background: var(--bg-dark);
}

.evento-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
  margin-top: var(--sp-md);
}

.evento-filter {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  padding: var(--sp-sm) var(--sp-md);
  cursor: pointer;
  transition: all var(--t-fast);
}

.evento-filter:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.evento-filter.active {
  background: var(--gold);
  color: var(--bg-dark);
  border-color: var(--gold);
}

.agenda {
  background: var(--bg-deep);
  padding: var(--sp-4xl) 0;
}

.agenda h2 em {
  font-style: italic;
  color: var(--gold);
  font-weight: inherit;
}

.agenda h2 {
  margin-bottom: var(--sp-2xl);
}

.agenda-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
  margin-top: var(--sp-xl);
}

.month-label {
  margin-top: var(--sp-xl);
  margin-bottom: var(--sp-sm);
  color: var(--gold);
}

.month-label:first-child {
  margin-top: 0;
}

.evento-card {
  background: var(--bg-card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: var(--sp-lg);
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--sp-lg);
  align-items: start;
  transition: border-color var(--t-fast);
}

.evento-card:hover {
  border-color: var(--gold);
}

.evento-card[hidden] {
  display: none;
}

.evento-date-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 80px;
  background: rgba(233,178,32,0.12);
  border: 1px solid rgba(233,178,32,0.25);
  border-radius: var(--radius-sm);
}

.evento-date-box .dia {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

.evento-date-box .mes {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

.evento-body .evento-type {
  margin-bottom: var(--sp-xs);
}

.evento-body h3 {
  margin-bottom: var(--sp-xs);
  font-size: 1.125rem;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-primary);
}

.evento-meta {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  margin-bottom: var(--sp-sm);
}

.evento-body p:last-child {
  font-size: var(--fs-small);
  color: var(--text-body);
  margin: 0;
  line-height: 1.6;
}

.agenda-empty {
  text-align: center;
  color: var(--text-muted);
  margin-top: var(--sp-xl);
  padding: var(--sp-lg);
  border-top: 1px dashed var(--hairline);
}

@media (max-width: 640px) {
  .evento-card {
    grid-template-columns: 64px 1fr;
    gap: var(--sp-md);
    padding: var(--sp-md);
  }
  .evento-date-box {
    height: 64px;
  }
  .evento-date-box .dia {
    font-size: 1.5rem;
  }
}


/* Galeria de eventos passados */
.galeria {
  background: var(--bg-dark);
  padding: var(--sp-4xl) 0;
}

.galeria h2 em {
  font-style: italic;
  color: var(--gold);
  font-weight: inherit;
}

.galeria .lead {
  margin-bottom: var(--sp-2xl);
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-flow: dense;
  gap: var(--sp-md);
  margin-top: var(--sp-xl);
}

@media (min-width: 901px) {
  .galeria-grid { grid-template-columns: repeat(3, 1fr); gap: var(--sp-lg); }
}

.galeria-item {
  margin: 0;
  background: var(--bg-card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.galeria-item img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

.galeria-item--wide {
  grid-column: span 2;
}

.galeria-item--wide img {
  aspect-ratio: 8 / 5;
}

.galeria-item figcaption {
  padding: var(--sp-sm) var(--sp-md);
  color: var(--text-muted);
}


/* ────────────────────────────────────────────────────────────
   FOTO COMUNIDADE (// 02 index.html, abaixo das stats)
   ──────────────────────────────────────────────────────────── */

.foto-comunidade {
  margin: var(--sp-2xl) 0 0;
}

.foto-comunidade img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
  border: 1px solid var(--hairline);
}

.foto-comunidade figcaption {
  margin-top: var(--sp-sm);
  color: var(--text-muted);
}


/* ────────────────────────────────────────────────────────────
   GALERIA DO ESPAÇO (// 03 academia.html)
   ──────────────────────────────────────────────────────────── */

.espaco-galeria {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-md);
  margin-top: var(--sp-2xl);
}

@media (min-width: 901px) {
  .espaco-galeria { grid-template-columns: repeat(3, 1fr); gap: var(--sp-lg); }
}

.espaco-foto {
  margin: 0;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.espaco-foto img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}


/* ════════════════════════════════════════════════════════════
   ACADEMIA.HTML — sections specific
   ════════════════════════════════════════════════════════════ */

/* ────────────────────────────────────────────────────────────
   FUNDADORES (// 01 academia.html)
   ──────────────────────────────────────────────────────────── */

.fundadores {
  background: var(--bg-dark);
  padding: var(--sp-4xl) 0;
}

.fundadores h2 em {
  font-style: italic;
  color: var(--gold);
  font-weight: inherit;
}

.fundadores .lead {
  margin-bottom: var(--sp-2xl);
}

.fundadores-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-2xl);
  margin-top: var(--sp-xl);
}

@media (min-width: 901px) {
  .fundadores-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-3xl); }
}

.founder-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-lg);
}

@media (min-width: 641px) {
  .founder-card { grid-template-columns: 200px 1fr; gap: var(--sp-xl); }
}

.founder-photo {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--hairline);
  background: var(--bg-card);
  aspect-ratio: 1;
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.founder-info .mono-label {
  margin-bottom: var(--sp-sm);
}

.founder-info h3 {
  margin-bottom: var(--sp-xs);
  text-transform: none;
  letter-spacing: 0;
}

.founder-role {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-md);
}

.founder-bio {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-body);
  margin: 0;
}


/* ────────────────────────────────────────────────────────────
   METODOLOGIA · 6 PILARES (// 02 academia.html)
   ──────────────────────────────────────────────────────────── */

.metodologia {
  background: var(--bg-deep);
  padding: var(--sp-4xl) 0;
}

.metodologia .lead {
  margin-bottom: var(--sp-2xl);
}

.pilares-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-md);
  margin-top: var(--sp-xl);
}

@media (min-width: 641px) {
  .pilares-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 901px) {
  .pilares-grid { grid-template-columns: repeat(3, 1fr); gap: var(--sp-lg); }
}

.pilar-card {
  background: var(--bg-card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: var(--sp-lg);
}

.pilar-card .mono-label {
  margin-bottom: var(--sp-sm);
}

.pilar-card h3 {
  margin-bottom: var(--sp-md);
  color: var(--text-primary);
  text-transform: none;
  letter-spacing: 0;
}

.pilar-card p {
  font-size: var(--fs-small);
  line-height: 1.7;
  color: var(--text-body);
  margin: 0;
}


/* ────────────────────────────────────────────────────────────
   ESPAÇO (// 03 academia.html)
   ──────────────────────────────────────────────────────────── */

.espaco {
  background: var(--bg-dark);
  padding: var(--sp-4xl) 0;
}

.espaco h2 em {
  font-style: italic;
  color: var(--gold);
  font-weight: inherit;
}

.espaco .lead {
  margin-bottom: var(--sp-2xl);
}

.espaco-features {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-md);
  margin-top: var(--sp-xl);
}

@media (min-width: 641px) {
  .espaco-features { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 901px) {
  .espaco-features { grid-template-columns: repeat(3, 1fr); gap: var(--sp-lg); }
}

.espaco-features li {
  background: var(--bg-card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: var(--sp-lg);
}

.espaco-features li .mono-label {
  margin-bottom: var(--sp-sm);
}

.espaco-features li h3 {
  margin-bottom: var(--sp-sm);
  color: var(--text-primary);
  text-transform: none;
  letter-spacing: 0;
  font-size: 1.0625rem;
}

.espaco-features li p {
  font-size: var(--fs-small);
  color: var(--text-body);
  line-height: 1.6;
  margin: 0;
}


/* ────────────────────────────────────────────────────────────
   EQUIPA · grid de professores (// 04 academia.html)
   ──────────────────────────────────────────────────────────── */

.equipa {
  background: var(--bg-deep);
  padding: var(--sp-4xl) 0;
}

.equipa h2 em {
  font-style: italic;
  color: var(--gold);
  font-weight: inherit;
}

.equipa .lead {
  margin-bottom: var(--sp-2xl);
}

.prof-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-md);
  margin-top: var(--sp-xl);
}

@media (min-width: 641px) {
  .prof-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 901px) {
  .prof-grid { grid-template-columns: repeat(3, 1fr); gap: var(--sp-lg); }
}

.prof-card {
  background: var(--bg-card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: var(--sp-lg);
  display: flex;
  flex-direction: column;
  transition: border-color var(--t-fast);
}

.prof-card:hover {
  border-color: var(--gold);
}

.prof-photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--sp-md);
  background: var(--bg-deep);
}

.prof-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.prof-mod {
  margin-bottom: var(--sp-xs);
}

.prof-card h3 {
  margin-bottom: var(--sp-sm);
  color: var(--text-primary);
  text-transform: none;
  letter-spacing: 0;
  font-size: 1.0625rem;
}

.prof-bio {
  font-size: var(--fs-small);
  color: var(--text-body);
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.prof-bio--placeholder {
  font-style: italic;
  color: var(--text-secondary);
}

/* Cards clicáveis (modal de detalhe) */
.prof-card[data-prof] {
  cursor: pointer;
}

.prof-card[data-prof]:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.prof-more {
  margin: var(--sp-sm) 0 0;
  color: var(--gold);
}

/* Avatar de iniciais para professores sem foto */
.prof-avatar {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 2.5rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  background: var(--bg-deep);
}

/* Modal de detalhe do professor */
.prof-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-md);
  animation: fadeUp 0.25s ease forwards;
}

.prof-modal {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}

.prof-modal-body {
  padding: var(--sp-lg) var(--sp-xl) var(--sp-xl);
}

@media (max-width: 640px) {
  .prof-modal-overlay { padding: 0; align-items: flex-end; }
  .prof-modal {
    max-height: 94vh;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
  }
}

.prof-modal-close {
  position: absolute;
  top: var(--sp-sm);
  right: var(--sp-sm);
  width: 44px;
  height: 44px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-primary);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color var(--t-fast);
}

.prof-modal-close:hover,
.prof-modal-close:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
}

.prof-modal-header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: var(--sp-lg);
  padding: var(--sp-md) var(--sp-xl);
  background: var(--bg-card);
  border-bottom: 1px solid var(--hairline);
}

.prof-modal-photo {
  width: 96px;
  height: 96px;
  flex: 0 0 96px;
  aspect-ratio: 1;
  margin-bottom: 0;
}

.prof-modal-header h3 {
  margin: 0;
  text-transform: none;
  letter-spacing: 0;
}

.prof-modal-bio {
  font-size: var(--fs-small);
  line-height: 1.7;
  color: var(--text-body);
  margin: 0 0 var(--sp-lg);
}

.prof-modal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-md);
  border-top: 1px solid var(--hairline);
  padding-top: var(--sp-lg);
}

@media (min-width: 641px) {
  .prof-modal-grid { grid-template-columns: 1fr 1fr; }
}

.prof-modal-q .mono-label {
  margin-bottom: 2px;
}

.prof-modal-q p:not(.mono-label) {
  margin: 0;
  font-size: var(--fs-small);
  line-height: 1.6;
  color: var(--text-body);
}


/* ────────────────────────────────────────────────────────────
   LINHA DO TEMPO (// 05 academia.html)
   ──────────────────────────────────────────────────────────── */

.linha-tempo {
  background: var(--bg-dark);
  padding: var(--sp-4xl) 0;
}

.linha-tempo h2 em {
  font-style: italic;
  color: var(--gold);
  font-weight: inherit;
}

.linha-tempo .lead {
  margin-bottom: var(--sp-2xl);
}

.timeline-list {
  list-style: none;
  padding: 0;
  margin-top: var(--sp-xl);
  position: relative;
}

.timeline-list::before {
  content: '';
  position: absolute;
  left: 80px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--hairline);
}

@media (max-width: 640px) {
  .timeline-list::before { left: 16px; }
}

.timeline-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--sp-lg);
  padding: var(--sp-lg) 0;
  position: relative;
}

@media (max-width: 640px) {
  /* Em mobile o ano passa para cima do conteúdo; a bola fica na linha à esquerda */
  .timeline-item {
    grid-template-columns: 1fr;
    gap: var(--sp-xs);
    padding-left: 40px;
  }
}

.timeline-year {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: -0.02em;
  position: relative;
  padding-right: var(--sp-md);
  line-height: 1.2;
}

.timeline-year::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 8px;
  width: 16px;
  height: 16px;
  border: 2px solid var(--gold);
  background: var(--bg-dark);
  border-radius: 50%;
}

@media (max-width: 640px) {
  .timeline-year { font-size: 1.125rem; padding-right: 0; }
  .timeline-year::after {
    right: auto;
    left: -30px;
    top: 5px;
    width: 12px;
    height: 12px;
  }
}

.timeline-content h3 {
  margin-bottom: var(--sp-xs);
  text-transform: none;
  letter-spacing: 0;
  font-size: 1.125rem;
  color: var(--text-primary);
}

.timeline-content p {
  font-size: var(--fs-small);
  color: var(--text-body);
  line-height: 1.6;
  margin: 0;
}


/* ════════════════════════════════════════════════════════════
   END academia.html sections
   ════════════════════════════════════════════════════════════ */


/* ────────────────────────────────────────────────────────────
   DESCONTOS (// 03 — descontos familiares em aulas-planos.html)
   ──────────────────────────────────────────────────────────── */

.descontos {
  background: var(--bg-dark);
  padding: var(--sp-4xl) 0;
}

.descontos h2 em {
  font-style: italic;
  color: var(--gold);
  font-weight: inherit;
}

.desconto-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-md);
  margin-top: var(--sp-2xl);
}

@media (min-width: 901px) {
  .desconto-grid { grid-template-columns: repeat(3, 1fr); gap: var(--sp-lg); }
}

.desconto-card {
  background: var(--bg-card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: var(--sp-xl) var(--sp-lg);
}

.desconto-valor {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 4.5rem);
  font-weight: 900;
  color: var(--gold);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: var(--sp-sm);
}

.desconto-label {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-bottom: var(--sp-md);
}

.desconto-desc {
  font-size: var(--fs-small);
  color: var(--text-body);
  margin: 0;
}

.desconto-notas {
  list-style: none;
  padding: 0;
  margin: var(--sp-2xl) 0 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-xs);
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}

.desconto-notas li::before {
  content: '// ';
  color: var(--gold);
}


/* ────────────────────────────────────────────────────────────
   TAXAS (// 05 — matrículas e aulas complementares)
   ──────────────────────────────────────────────────────────── */

.taxas {
  background: var(--bg-dark);
  padding: var(--sp-4xl) 0;
}

.taxas h2 em {
  font-style: italic;
  color: var(--gold);
  font-weight: inherit;
}

.taxas-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-2xl);
  margin-top: var(--sp-2xl);
}

@media (min-width: 901px) {
  .taxas-grid { grid-template-columns: 1fr 2fr; }
}

.taxa-group {
  background: var(--bg-card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: var(--sp-lg);
}

.taxa-group-title {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-md);
  padding-bottom: var(--sp-md);
  border-bottom: 1px solid var(--hairline);
}

.taxa-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sp-md);
  align-items: center;
  padding: var(--sp-md) 0;
  border-bottom: 1px solid var(--hairline);
}

.taxa-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.taxa-item strong {
  display: block;
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: var(--sp-2xs);
}

.taxa-item p {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  margin: 0;
}

.taxa-preco {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: -0.02em;
  white-space: nowrap;
}


/* ────────────────────────────────────────────────────────────
   CTA FINAL (aulas-planos.html)
   ──────────────────────────────────────────────────────────── */

.cta-final {
  background: var(--bg-deep);
  padding: var(--sp-4xl) 0;
  text-align: center;
}

.cta-final h2 {
  margin-bottom: var(--sp-md);
}

.cta-final h2 em {
  font-style: italic;
  color: var(--gold);
  font-weight: inherit;
}

.cta-final .lead {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--sp-xl);
}

.cta-final .hero-actions {
  justify-content: center;
}


/* ────────────────────────────────────────────────────────────
   MODALIDADES (// 01 — grid de 11 cards em aulas-planos.html)
   ──────────────────────────────────────────────────────────── */

.modalidades {
  background: var(--bg-dark);
  padding: var(--sp-4xl) 0;
}

.modalidades h2 {
  max-width: 22ch;
  margin-bottom: var(--sp-md);
}

.modalidades .lead {
  margin-bottom: var(--sp-2xl);
}

.modalidades-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-md);
  margin-top: var(--sp-xl);
}

@media (min-width: 641px) {
  .modalidades-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 901px) {
  .modalidades-grid { grid-template-columns: repeat(3, 1fr); gap: var(--sp-lg); }
}

.modalidade-card {
  background: var(--bg-card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: var(--sp-lg);
  transition: border-color var(--t-fast), transform var(--t-fast);
  scroll-margin-top: calc(var(--header-h) + var(--sp-lg));
}

.modalidade-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.modalidade-card:target {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}

.modalidade-card .mono-label {
  margin-bottom: var(--sp-sm);
}

.modalidade-card h3 {
  margin-bottom: var(--sp-xs);
  color: var(--text-primary);
}

.modalidade-meta {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-md);
}

.modalidade-card p:last-child {
  font-size: var(--fs-small);
  color: var(--text-body);
  margin: 0;
}


/* ────────────────────────────────────────────────────────────
   FERMATA — metáfora visual da marca
   Uso: separador entre secções, header wordmark, footer,
        abertura de artigos, estados vazios.
   ──────────────────────────────────────────────────────────── */

.fermata {
  display: inline-block;
  width: 32px;
  height: 32px;
  color: var(--gold);
  vertical-align: middle;
  flex-shrink: 0;
}

.fermata-sm { width: 20px; height: 20px; }
.fermata-lg { width: 48px; height: 48px; }

/* Separator divider entre secções */
.section-divider {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--sp-2xl) 0;
  background: transparent;
}

.section-divider .fermata {
  transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .section-divider:not(.visible) .fermata {
    opacity: 0;
    transform: translateY(8px);
  }
}

@media (max-width: 640px) {
  .section-divider {
    padding: var(--sp-xl) 0;
  }
  .section-divider .fermata {
    width: 24px;
    height: 24px;
  }
}


/* ────────────────────────────────────────────────────────────
   /novosite2 — ADDITIONS (novas classes introduzidas na revisão)
   ──────────────────────────────────────────────────────────── */

/* Hero — link secundário discreto por baixo dos 2 CTAs primários */
.hero-secondary-link {
  margin-top: var(--sp-lg);
  text-align: center;
}
.hero-secondary-link .btn-text {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color var(--t-fast);
}
.hero-secondary-link .btn-text:hover,
.hero-secondary-link .btn-text:focus {
  color: var(--gold);
}

/* Modalidades — linha extra a referir Baixo, Violino, MPF, Coros, Classes */
.modalidades-extra {
  max-width: 760px;
  margin: var(--sp-xl) auto 0;
  font-size: var(--fs-small);
  line-height: 1.7;
  color: var(--text-muted);
  text-align: center;
  font-style: italic;
}

/* Prova social — contexto da Medalha + range etário */
.prova-social-context {
  max-width: 760px;
  margin: var(--sp-xl) auto 0;
  font-size: var(--fs-small);
  line-height: 1.7;
  color: var(--text-body);
  text-align: center;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: var(--sp-lg) 0;
}

/* Footer — selo Medalha por baixo do nome da Academia */
.footer-brand-award {
  margin-top: var(--sp-sm);
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
  line-height: 1.5;
}

/* FAQ — link interno (ex: regulamento) */
.faq-answer-inner a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.faq-answer-inner a:hover,
.faq-answer-inner a:focus {
  color: var(--text-primary);
}

/* Planos minimal — cards só com preços (detalhe vive em /planos20262027) */
.plan-grid--minimal .plan-cell {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 200px;
}
.plan-grid--minimal .plan-cell .plan-price-dual {
  margin-top: var(--sp-sm);
}
.plan-grid--minimal .plan-cell .plan-meta {
  margin-top: var(--sp-xs);
}

/* Link Google Maps dentro do info-block de Morada */
.info-content .info-maps-link {
  display: inline-block;
  margin-top: var(--sp-xs);
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.info-content .info-maps-link:hover,
.info-content .info-maps-link:focus {
  color: var(--text-primary);
}

/* Link "Ver planos 2026/2027" — destacado por baixo do lead */
.planos-link-externo {
  margin: var(--sp-md) 0 var(--sp-xl);
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.planos-link-externo a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.planos-link-externo a:hover,
.planos-link-externo a:focus {
  color: var(--text-primary);
}

/* Link no plan-disclaimer (mantém estilo mono mas com sublinhado dourado) */
.plan-disclaimer a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.plan-disclaimer a:hover,
.plan-disclaimer a:focus {
  color: var(--text-primary);
}



