/* ---------- base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: oklch(97% 0.014 80);
  color: oklch(22% 0.02 60);
  font-family: 'Work Sans', sans-serif;
  font-weight: 400;
  line-height: 1.5;
}
h1, h2, h3 { font-family: 'Newsreader', serif; font-weight: 500; }

.page {
  position: relative;
  z-index: 1;
  background: transparent;
  overflow-x: hidden;
}

/* ---------- decorative layers ---------- */
#plant-layer {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  will-change: transform;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
#flyers-back  { position: fixed; inset: 0; z-index: 0;  pointer-events: none; overflow: hidden; }
#flyers-front { position: fixed; inset: 0; z-index: 20; pointer-events: none; overflow: hidden; }


@keyframes leafFly {
  0%   { transform: translate(-9vw, 0) rotate(0deg) scale(var(--sc,1)); opacity: 0; }
  7%   { opacity: var(--op, 0.85); }
  28%  { transform: translate(24vw, calc(var(--bob,26px) * -1)) rotate(150deg) scale(var(--sc,1)); }
  55%  { transform: translate(55vw, calc(var(--bob,26px) * 0.7)) rotate(320deg) scale(var(--sc,1)); }
  80%  { transform: translate(82vw, calc(var(--bob,26px) * -0.5)) rotate(520deg) scale(var(--sc,1)); }
  93%  { opacity: var(--op, 0.85); }
  100% { transform: translate(116vw, 10px) rotate(680deg) scale(var(--sc,1)); opacity: 0; }
}
.flyer {
  position: absolute;
  left: 0;
  width: 34px; height: 34px;
  will-change: transform, opacity;
  animation: leafFly var(--dur, 12s) linear forwards;
}
.flyer svg { overflow: visible; }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 56px;
  background: oklch(97% 0.014 92 / 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid oklch(85% 0.02 90);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.nav-brand img { width: 52px; height: 52px; display: block; }
.nav-brand span {
  font-family: 'Newsreader', serif;
  font-size: 22px;
  letter-spacing: 0.04em;
  font-weight: 600;
  white-space: nowrap;
}
.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-link {
  color: inherit;
  text-decoration: none;
  font-size: 15px;
  letter-spacing: 0.02em;
}
/* hamburger — hidden on desktop, shown on mobile */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 0 auto;
  background: oklch(25% 0.02 90);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* "wind in the grass" button — adapted from Uiverse.io (MuhammadHasann / pritamjoardar) */
.nav-cta {
  position: relative;
  display: inline-block;
  padding: 16px 28px;
  background: oklch(98% 0.01 90);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: oklch(20% 0.02 90);
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid oklch(85% 0.02 90);
  transition: background 0.25s ease, border-color 0.25s ease;
}
.nav-cta .nav-cta-text { position: relative; z-index: 2; }
.nav-cta:hover {
  background: oklch(94% 0.02 85);
  border-color: oklch(78% 0.03 85);
}
/* grass blades sprouting from the top edge of the button */
.nav-cta .icon-1,
.nav-cta .icon-2,
.nav-cta .icon-3 {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}
.nav-cta .icon-1 svg,
.nav-cta .icon-2 svg,
.nav-cta .icon-3 svg { display: block; width: 100%; height: auto; transform: scaleY(-1); }
.nav-cta .fil0 { fill: #4f7a37; }
.nav-cta .icon-2 .fil0 { fill: #6fa050; }
.nav-cta .icon-3 .fil0 { fill: #5e8c42; }
.nav-cta .icon-1 {
  top: 0; right: 8px; width: 18px;
  transform-origin: 50% 0; transform: rotate(10deg);
  transition: all 0.5s ease-in-out;
  filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, 0.3));
}
.nav-cta .icon-2 {
  top: 0; left: 22px; width: 10px;
  transform-origin: 50% 0; transform: rotate(10deg);
  transition: all 1s ease-in-out;
  filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, 0.5));
}
.nav-cta .icon-3 {
  top: 0; left: 8px; width: 15px;
  transform-origin: 50% 0; transform: rotate(-5deg);
  transition: all 1s ease-in-out;
  filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, 0.5));
}
.nav-cta:hover .icon-1 { animation: slay-1 3s cubic-bezier(0.52, 0, 0.58, 1) infinite; transform: rotate(10deg); }
.nav-cta:hover .icon-2 { animation: slay-2 3s cubic-bezier(0.52, 0, 0.58, 1) 1s infinite; transform: rotate(0); }
.nav-cta:hover .icon-3 { animation: slay-3 2s cubic-bezier(0.52, 0, 0.58, 1) 1s infinite; transform: rotate(0); }
@keyframes slay-1 { 0% { transform: rotate(10deg); } 50% { transform: rotate(-5deg); } 100% { transform: rotate(10deg); } }
@keyframes slay-2 { 0% { transform: rotate(0deg); }  50% { transform: rotate(15deg); } 100% { transform: rotate(0deg); } }
@keyframes slay-3 { 0% { transform: rotate(0deg); }  50% { transform: rotate(-5deg); } 100% { transform: rotate(0deg); } }

/* ---------- hero ---------- */
.hero {
  position: relative;
  height: 88vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, oklch(15% 0.02 90 / 0.55) 0%, oklch(15% 0.02 90 / 0.05) 55%);
  z-index: 1;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 56px 72px;
  max-width: 820px;
}
.hero-kicker {
  color: oklch(96% 0.01 90);
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 18px;
}
.hero h1 {
  font-style: italic;
  color: oklch(98% 0.005 90);
  font-size: 56px;
  line-height: 1.12;
  margin: 0 0 26px;
  text-wrap: pretty;
}
.hero-btn {
  display: inline-block;
  background: oklch(98% 0.01 90);
  color: oklch(20% 0.02 90);
  text-decoration: none;
  padding: 16px 32px;
  font-size: 15px;
  letter-spacing: 0.03em;
}

/* ---------- shared section bits ---------- */
.kicker {
  color: oklch(52% 0.14 42);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 18px;
}
.section-head { max-width: 640px; margin: 0 0 64px; }
.section-head h2 { font-size: 38px; margin: 0; line-height: 1.2; }
.section-sub { font-size: 17px; color: oklch(35% 0.02 90); margin: 20px 0 0; }

/* ---------- sobre ---------- */
.sobre {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
  padding: 140px 56px;
  max-width: 1280px;
  margin: 0 auto;
}
.sobre-img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}
.sobre-card {
  background: oklch(97% 0.014 80 / 0.86);
  backdrop-filter: blur(3px);
  border: 1px solid oklch(52% 0.14 42 / 0.12);
  border-radius: 4px;
  padding: 44px 48px;
  box-shadow: 0 18px 50px -28px oklch(30% 0.05 60 / 0.4);
}
.sobre-card h2 { font-size: 38px; margin: 0 0 28px; line-height: 1.2; }
.sobre-text { font-size: 17px; color: oklch(35% 0.02 90); margin: 0 0 20px; text-wrap: pretty; }
.sobre-text.last { margin: 0; }

/* ---------- modalidades ---------- */
.modalidades { background: transparent; padding: 120px 56px; }
.section-inner { max-width: 1280px; margin: 0 auto; }
.modalidades-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.modalidade-card {
  background: oklch(98% 0.008 90);
  padding: 40px 32px;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.modalidade-tag {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-size: 15px;
  color: oklch(52% 0.14 42);
}
.modalidade-card h3 { font-size: 24px; margin: 0; }
.modalidade-card p { font-size: 15px; color: oklch(38% 0.02 90); margin: 0; line-height: 1.6; }

/* ---------- servicos ---------- */
.servicos { padding: 140px 56px; max-width: 1280px; margin: 0 auto; }
.pacotes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.pacote-card {
  border: 1px solid oklch(85% 0.02 90);
  padding: 36px 28px;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: oklch(98% 0.008 90);
}
.pacote-card.highlight { background: oklch(95% 0.03 60); }
.pacote-card h3 { font-size: 20px; margin: 0; }
.pacote-original {
  font-size: 14px;
  color: oklch(50% 0.02 90);
  text-decoration: line-through;
}
.pacote-price { font-family: 'Newsreader', serif; font-size: 30px; margin-top: 4px; }
.pacote-card p { font-size: 14px; color: oklch(38% 0.02 90); margin: 0; line-height: 1.55; flex: 1; }

/* ---------- cta ---------- */
.cta {
  background: oklch(20% 0.025 50);
  color: oklch(96% 0.01 90);
  padding: 110px 56px;
  text-align: center;
}
.cta-kicker {
  color: oklch(72% 0.10 55);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 18px;
}
.cta h2 {
  font-style: italic;
  font-size: 40px;
  margin: 0 auto 34px;
  max-width: 640px;
  line-height: 1.25;
}
.cta-btn {
  display: inline-block;
  background: oklch(98% 0.01 90);
  color: oklch(20% 0.02 90);
  text-decoration: none;
  padding: 17px 36px;
  font-size: 15px;
  letter-spacing: 0.03em;
}

/* ---------- footer ---------- */
.footer { padding: 80px 56px 40px; max-width: 1280px; margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid oklch(85% 0.02 90);
}
.footer-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.footer-brand img { width: 64px; height: 64px; display: block; }
.footer-brand span {
  font-family: 'Newsreader', serif;
  font-size: 22px;
  letter-spacing: 0.04em;
  font-weight: 600;
}
.footer-addr {
  font-size: 14px;
  color: oklch(42% 0.02 90);
  max-width: 280px;
  line-height: 1.6;
  margin: 0;
}
.footer-label {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: oklch(50% 0.02 90);
  margin: 0 0 14px;
}
.footer-line { font-size: 15px; margin: 0 0 8px; }
.footer-line a { color: inherit; text-decoration: none; }
.footer-nav { display: flex; flex-direction: column; gap: 8px; }
.footer-nav a { color: inherit; text-decoration: none; font-size: 15px; }
.footer-copy {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: oklch(55% 0.02 90);
  padding-top: 28px;
  padding-right: 64px; /* keep "By Seiji" clear of the floating WhatsApp button */
  margin: 0;
}

/* ---------- whatsapp button ---------- */
@keyframes waPulse {
  0%   { transform: scale(1); opacity: 0.5; }
  70%  { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}
@keyframes waBreathe {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-3px); }
}
.wa-btn {
  position: fixed;
  right: 26px; bottom: 26px;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 9px;
  border-radius: 50%;
  background: oklch(52% 0.14 42);
  color: oklch(97% 0.014 80);
  border: 1.5px solid oklch(97% 0.014 80 / 0.55);
  box-shadow: 0 12px 30px -10px oklch(30% 0.05 60 / 0.5), inset 0 0 0 3px oklch(52% 0.14 42);
  text-decoration: none;
  animation: waBreathe 4.5s ease-in-out infinite;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wa-btn:hover {
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 16px 36px -10px oklch(30% 0.05 60 / 0.6), inset 0 0 0 3px oklch(52% 0.14 42);
}
.wa-wrap {
  position: relative;
  width: 38px; height: 38px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wa-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: oklch(97% 0.014 80);
  animation: waPulse 2.6s ease-out infinite;
}
.wa-disc {
  position: relative;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: oklch(97% 0.014 80);
  display: flex;
  align-items: center;
  justify-content: center;
}
.wa-disc svg { fill: oklch(52% 0.14 42); }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .pacotes-grid { grid-template-columns: repeat(2, 1fr); }
  .sobre { gap: 40px; padding: 100px 40px; }
}

@media (max-width: 900px) {
  .nav { padding: 16px 24px; }
  .nav-links { gap: 20px; }
  .sobre { grid-template-columns: 1fr; padding: 80px 24px; }
  .sobre-img { height: 400px; }
  .sobre-card { padding: 32px 28px; }
  .modalidades { padding: 80px 24px; }
  .modalidades-grid { grid-template-columns: 1fr; gap: 20px; }
  .servicos { padding: 80px 24px; }
  .hero-content { padding: 0 24px 56px; }
  .hero h1 { font-size: 40px; }
  .section-head h2, .sobre-card h2 { font-size: 30px; }
  .cta { padding: 80px 24px; }
  .cta h2 { font-size: 30px; }
  .footer { padding: 60px 24px 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  /* on small screens the tree stays visible, so cards go glassy (like .sobre-card)
     to let the animation read through behind them */
  .modalidade-card,
  .pacote-card {
    background: oklch(97% 0.014 80 / 0.82);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid oklch(52% 0.14 42 / 0.12);
    box-shadow: 0 18px 50px -28px oklch(30% 0.05 60 / 0.4);
  }
  .pacote-card.highlight {
    background: oklch(95% 0.03 60 / 0.82);
  }
}

@media (max-width: 720px) {
  /* nav collapses into a hamburger-triggered dropdown */
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 0 12px;
    background: oklch(97% 0.014 92 / 0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid oklch(85% 0.02 90);
    box-shadow: 0 20px 44px -26px oklch(30% 0.05 60 / 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }
  .nav.open .nav-links {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav-link {
    display: block;
    padding: 15px 24px;
    font-size: 16px;
  }
  /* "Agendar aula" leads the menu as the primary action; leaves are a desktop flourish */
  .nav-cta {
    order: -1;
    display: block;
    margin: 6px 16px 10px;
    padding: 15px 24px;
    text-align: center;
    background: oklch(52% 0.14 42);
    color: oklch(98% 0.01 90);
    border-color: transparent;
  }
  .nav-cta:hover { background: oklch(47% 0.14 42); border-color: transparent; }
  .nav-cta .icon-1,
  .nav-cta .icon-2,
  .nav-cta .icon-3 { display: none; }

  .hero { height: 76vh; min-height: 480px; }
  .hero h1 { font-size: 32px; }
  .nav-brand img { width: 44px; height: 44px; }
  .nav-brand span { font-size: 19px; }

  /* pricing cards become a swipeable, snap-scrolling carousel */
  .pacotes-grid {
    display: flex;
    grid-template-columns: none;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-padding-left: 24px;
    /* bleed to the screen edges so cards can peek in from the sides */
    margin: 0 -24px;
    padding: 4px 24px 16px;
  }
  .pacote-card {
    flex: 0 0 80%;
    scroll-snap-align: center;
  }
  /* slim, unobtrusive scrollbar as a scroll affordance */
  .pacotes-grid::-webkit-scrollbar { height: 4px; }
  .pacotes-grid::-webkit-scrollbar-thumb {
    background: oklch(80% 0.02 90);
    border-radius: 4px;
  }
}
