:root {
  --verde-escuro: #1E3D2C;
  --verde-medio: #3E6350;
  --creme: #F5F2EA;
  --branco: #FFFFFF;
  --font-display: "Parkinsans", sans-serif;
  --font-body: "Montserrat", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }

body {
  margin: 0;
  background: var(--creme);
  color: var(--verde-escuro);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 5vw, 4.2rem); line-height: 1.05; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1.1; margin-bottom: 1.5rem; }
h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }

p { margin: 0 0 1rem; }

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-narrow { max-width: 760px; }

.section-dark .body-text-light { color: rgba(245,242,234,0.7); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(30, 61, 44, 0.92);
  backdrop-filter: blur(6px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  flex-shrink: 0;
}

.logo-main {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--branco);
  letter-spacing: -0.01em;
}

.logo-sub {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(245,242,234,0.6);
  margin-top: 3px;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: nowrap;
}

.main-nav a {
  font-family: var(--font-display);
  color: var(--creme);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.main-nav a:hover { color: var(--branco); }

.nav-cta { white-space: nowrap; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--creme);
  transform-origin: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.9rem 1.8rem;
  border-radius: 2px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--verde-medio);
  color: var(--branco);
}
.btn-primary:hover { background: #4d7a63; transform: translateY(-2px); }

.btn-primary-inverse {
  background: var(--creme);
  color: var(--verde-escuro);
}
.btn-primary-inverse:hover { background: var(--branco); transform: translateY(-2px); }

.btn-ghost-light {
  color: var(--branco);
  border-color: rgba(245,242,234,0.5);
  padding: 0.9rem 1.8rem;
}
.btn-ghost-light:hover { border-color: var(--branco); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--verde-escuro);
  border-color: rgba(30,61,44,0.3);
}
.btn-outline:hover { border-color: var(--verde-escuro); background: rgba(30,61,44,0.04); transform: translateY(-2px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  color: var(--branco);
}

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

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30,61,44,0.35) 0%, rgba(30,61,44,0.85) 100%);
}

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

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: var(--branco);
  animation: scroll-bounce 2.2s ease-in-out infinite;
}

.scroll-indicator svg {
  width: 22px;
  height: 22px;
}

@keyframes scroll-bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-bottom: 6rem;
  padding-top: 12rem;
}

.hero-sub {
  max-width: 42ch;
  font-size: 1.1rem;
  color: rgba(245,242,234,0.9);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

/* ---------- Media ---------- */
.media-photo {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}

.instructor-photo-lg {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  display: block;
}

/* ---------- Marquee ---------- */
.marquee {
  background: var(--verde-escuro);
  color: var(--creme);
  overflow: hidden;
  white-space: nowrap;
  padding: 1.1rem 0;
}

.marquee-track {
  display: inline-flex;
  width: max-content;
  animation: marquee 24s linear infinite;
}

.marquee-track span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding-right: 1rem;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Section divider (brand mark) ---------- */
.section-divider {
  display: flex;
  justify-content: center;
  padding: 3rem 0;
  background: var(--creme);
}

.brand-mark {
  width: 34px;
  height: 34px;
  color: var(--verde-medio);
  opacity: 0.5;
}

/* ---------- Sections ---------- */
.section { padding: 7rem 0; }

.section-dark {
  background: var(--verde-escuro);
  color: var(--creme);
}
.section-dark h2, .section-dark h3 { color: var(--branco); }

.section-creme-alt { background: #EFEBDF; }

.body-text { max-width: 48ch; font-size: 1.05rem; }
.body-text-muted { color: var(--verde-medio); font-weight: 500; }
.body-text-light { max-width: 48ch; font-size: 1.05rem; color: rgba(245,242,234,0.85); }

.link-arrow {
  display: inline-block;
  margin-top: 0.5rem;
  font-weight: 600;
  color: var(--verde-medio);
  border-bottom: 1px solid transparent;
}
.link-arrow:hover { border-color: var(--verde-medio); }

/* split layout */
.split-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-reverse .split-inner { direction: rtl; }
.split-reverse .split-inner > * { direction: ltr; }

/* services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  border-top: 1px solid rgba(245,242,234,0.25);
  padding-top: 1.5rem;
}

.service-card p { color: rgba(245,242,234,0.8); }

/* pain cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem 2rem;
  margin-top: 2.5rem;
}

.pain-card { max-width: 320px; }

.pain-icon {
  width: 40px;
  height: 40px;
  color: var(--verde-medio);
  margin-bottom: 1rem;
}

.pain-card p { color: var(--verde-medio); font-size: 0.95rem; }

/* instructors */
.instructor-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}

.instructor-label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--verde-medio);
  margin-bottom: 0.6rem;
}

.instructor-name { margin-bottom: 0.4rem; }

.instructor-role {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--verde-medio);
  margin-bottom: 1.4rem;
}

.instructor-quote {
  font-size: 1.1rem;
  font-style: italic;
  max-width: 46ch;
  margin-bottom: 2rem;
}

.instructor-credentials {
  list-style: none;
  padding: 0;
  margin: 0;
}

.instructor-credentials li {
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(30,61,44,0.15);
  color: var(--verde-medio);
  font-weight: 500;
}

/* gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 1.2rem;
  margin-top: 2.5rem;
}

.gallery-item {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-item-lg { grid-row: span 2; }

/* plans */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  max-width: 1000px;
}

.plan-card {
  position: relative;
  background: var(--branco);
  border: 1px solid rgba(30,61,44,0.12);
  border-radius: 4px;
  padding: 2.5rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.plan-card h3 { font-size: 1.15rem; margin-bottom: 1.4rem; }

.plan-price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--verde-medio);
  margin: 0 0 0.8rem;
}

.plan-unit {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(30,61,44,0.55);
  margin-left: 2px;
}

.plan-desc {
  color: rgba(30,61,44,0.65);
  font-size: 0.95rem;
  margin-bottom: 1.8rem;
}

.plan-card .btn { width: 100%; }

.plan-card-featured {
  border: 2px solid var(--verde-medio);
  box-shadow: 0 16px 32px rgba(30,61,44,0.1);
}

.plan-featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--verde-medio);
  color: var(--branco);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  white-space: nowrap;
}

.highlight-badge {
  display: inline-block;
  background: var(--verde-medio);
  color: var(--branco);
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 2px;
  margin-top: 1rem;
}

/* testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.testimonial-card {
  border-top: 1px solid rgba(30,61,44,0.15);
  padding-top: 1.5rem;
}

.testimonial-stars {
  color: var(--verde-medio);
  letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
}

.testimonial-text {
  font-size: 1.05rem;
  color: var(--verde-escuro);
}

.testimonial-name {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--verde-medio);
  margin-bottom: 0;
}

.google-rating {
  display: inline-block;
  margin-top: 1.5rem;
  font-weight: 600;
  color: var(--verde-medio);
  border-bottom: 1px solid transparent;
}
.google-rating:hover { border-color: var(--verde-medio); }

/* FAQ accordion */
.accordion { margin-top: 2rem; }

.accordion-item { border-bottom: 1px solid rgba(30,61,44,0.15); }

.accordion-trigger {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.4rem 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--verde-escuro);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.accordion-icon { font-size: 1.4rem; color: var(--verde-medio); transition: transform 0.25s ease; }

.accordion-item.open .accordion-icon { transform: rotate(45deg); }

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-item.open .accordion-panel { max-height: 240px; }

.accordion-panel p { padding-bottom: 1.4rem; color: var(--verde-medio); }

/* agenda */
.agenda-section { text-align: left; }

.empty-state {
  border: 1px dashed rgba(245,242,234,0.35);
  padding: 2.5rem;
  margin-top: 2.5rem;
  max-width: 560px;
}

.empty-state p {
  color: rgba(245,242,234,0.85);
  font-weight: 500;
  margin-bottom: 1.2rem;
}

/* contact */
.contact-info {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}
.contact-info li { margin-bottom: 0.6rem; }

.map-embed { margin-top: 2rem; filter: grayscale(0.2); }

.contact-form {
  background: var(--branco);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--verde-escuro);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(30,61,44,0.2);
  border-radius: 2px;
  background: var(--creme);
  color: var(--verde-escuro);
}

.contact-form button { margin-top: 0.5rem; }

.form-message { color: var(--verde-medio); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--verde-escuro);
  color: var(--creme);
  padding-top: 5rem;
  overflow: hidden;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(245,242,234,0.15);
}

.footer-col { display: flex; flex-direction: column; gap: 0.7rem; }

.footer-label {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  color: rgba(245,242,234,0.5);
  margin-bottom: 0.3rem;
}

.footer-col a { font-family: var(--font-display); color: var(--branco); font-weight: 700; }
.footer-col a:hover { color: var(--verde-medio); }

.footer-wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(5rem, 18vw, 13rem);
  color: rgba(245,242,234,0.06);
  text-align: center;
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
  margin: 1.5rem 0;
  user-select: none;
}

.footer-bottom {
  padding: 1.5rem 2rem 2rem;
  font-size: 0.85rem;
  color: rgba(245,242,234,0.5);
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .main-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--verde-escuro);
    padding: 1.5rem 2rem;
    gap: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    pointer-events: none;
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
  }
  .main-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
  .main-nav a {
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.25s ease, transform 0.25s ease, color 0.2s ease;
  }
  .main-nav.open a {
    opacity: 1;
    transform: translateY(0);
  }
  .main-nav.open a:nth-child(1) { transition-delay: 0.06s; }
  .main-nav.open a:nth-child(2) { transition-delay: 0.1s; }
  .main-nav.open a:nth-child(3) { transition-delay: 0.14s; }
  .main-nav.open a:nth-child(4) { transition-delay: 0.18s; }
  .main-nav.open a:nth-child(5) { transition-delay: 0.22s; }
  .main-nav.open a:nth-child(6) { transition-delay: 0.26s; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .split-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .split-reverse .split-inner { direction: ltr; }

  .services-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .instructor-layout { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .plans-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .section { padding: 4.5rem 0; }
  .cards-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery-item-lg { grid-row: span 1; }
  .plans-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 1.5rem; }
}

/* ---------- WhatsApp float button ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.28);
  z-index: 200;
  transition: transform 0.2s ease;
}

.whatsapp-float:hover { transform: scale(1.08); }

@media (max-width: 560px) {
  .whatsapp-float { width: 52px; height: 52px; bottom: 16px; right: 16px; }
}
