/* ============================================
   JOYZ — Global Stylesheet
   ============================================ */

/* --- Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap');
@font-face {
  font-family: 'Season Mix';
  src: url('../fonts/SeasonMix-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Season Mix';
  src: url('../fonts/SeasonMix-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 400;
  color: #1a1a2e;
  background: #fff;
  caret-color: #000;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img {
  max-width: 100%;
  display: block;
}

/* ============================================
   TOP BANNER
   ============================================ */

.top-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1001;
  background: #d9edf7;
  padding: 10px 24px;
  text-align: center;
  font-family: 'Inter Tight', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #1a4a6e;
}

.top-banner a {
  color: #1a4a6e;
  font-weight: 500;
  text-decoration: underline;
}

.top-banner__link {
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

.top-banner__link:hover {
  text-decoration: none !important;
}

/* Banner label: long copy on desktop, short CTA on mobile */
.top-banner__label--mobile {
  display: none;
}

/* ============================================
   HEADER
   ============================================ */

.header {
  position: fixed;
  top: 40px;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 72px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: padding 0.4s ease;
  pointer-events: none;
}

.header.scrolled {
  padding: 32px 80px;
}

/* --- Pill bar (collapsed) --- */
.header__pill {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
  pointer-events: auto;
}

.header__glass-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% + 20px);
  height: calc(100% + 12px);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
}

.header.scrolled .header__glass-bg { opacity: 1; }

.header__logo-wrap {
  position: relative;
  height: 80px;
  width: 80px;
  flex-shrink: 0;
  z-index: 1;
}

.header__logo {
  height: 80px;
  width: auto;
  position: relative;
  z-index: 1;
  transition: opacity 0.4s ease;
}

.header__logo--white { opacity: 1; }
.header__logo--color { position: absolute; top: 0; left: 0; opacity: 0; }
.header.scrolled .header__logo--white { opacity: 0; }
.header.scrolled .header__logo--color { opacity: 1; }

.header__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  position: relative;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  margin-left: 8px;
}

.header.scrolled .header__hamburger { opacity: 1; pointer-events: auto; }

.header__hamburger span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: #1a1a2e;
  border-radius: 2px;
}

/* ============================================
   MEGA MENU
   ============================================ */

.megamenu {
  position: absolute;
  top: 16px;
  left: 40px;
  right: 40px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
  border-radius: 24px;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
  z-index: 999;
  overflow: hidden;
}

.header.scrolled .header__pill:hover ~ .megamenu,
.header.scrolled .megamenu:hover {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}


.megamenu__inner {
  padding: 36px 48px 44px;
  min-height: 420px;
}

.megamenu__logo {
  height: 80px;
  width: auto;
  margin-bottom: 28px;
}

/* Tab row */
.megamenu__tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.megamenu__tab {
  font-family: 'Inter Tight', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: rgba(26, 26, 46, 0.5);
  background: transparent;
  border: none;
  padding: 10px 24px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.megamenu__tab-icon {
  font-size: 24px;
  vertical-align: middle;
  margin-right: 4px;
}

.megamenu__tab:hover { color: #1a1a2e; }

.megamenu__tab--active {
  background: rgba(0, 0, 0, 0.08);
  color: #1a1a2e;
}

/* Divider */
.megamenu__divider {
  height: 2px;
  background: rgba(0, 0, 0, 0.1);
  margin-bottom: 32px;
}

/* Content panels */
.megamenu__panel {
  display: none;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.megamenu__panel--active { display: grid; }

.megamenu__links-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
}


.megamenu__title {
  display: none;
}

.megamenu__text {
  font-family: 'Season Mix', serif;
  font-size: 30px;
  font-weight: 400;
  color: rgba(26, 26, 46, 0.6);
  line-height: 1.4;
}

.megamenu__links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.megamenu__links a {
  font-family: 'Inter Tight', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: rgba(26, 26, 46, 0.55);
  text-decoration: none;
  width: fit-content;
  transition: text-decoration-color 0.2s ease;
  text-underline-offset: 3px;
}

.megamenu__links a:hover {
  text-decoration: underline;
  text-decoration-color: #1a1a2e;
}

.megamenu__image {
  border-radius: 16px;
  overflow: hidden;
  height: 220px;
}

.megamenu__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- CTA Button --- */
.header__cta {
  position: relative;
  z-index: 1;
  transition: opacity 0.3s ease;
  pointer-events: auto;
}

.header.scrolled .header__pill:hover ~ .header__cta,
.header.scrolled .megamenu:hover ~ .header__cta {
  opacity: 0;
  pointer-events: none;
}

.btn-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  border-radius: 999px;
  font-family: 'Inter Tight', sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-cta__text {
  transition: transform 0.45s cubic-bezier(0.19, 1, 0.22, 1);
}

.btn-cta__icon {
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  transform: scaleX(-1) rotate(45deg);
  transition: transform 0.3s ease;
}

.btn-cta:hover .btn-cta__icon {
  transform: scaleX(-1) rotate(-45deg);
}

.btn-cta--green {
  background: #2563eb;
  color: #fff;
  border-color: transparent;
}

.btn-cta--green:hover {
  background: #2563eb;
  border-color: transparent;
  color: #fff;
}

.header.scrolled .btn-cta--green:hover {
  background: #2563eb;
  border-color: transparent;
  color: #fff;
}

.btn-cta--whatsapp-green {
  background: #25d366;
  color: #fff;
  border-color: transparent;
}

.btn-cta--whatsapp-green:hover {
  background: #25d366;
  border-color: transparent;
  color: #fff;
}

/* Hide header & banner when footer is in view */
.header.footer-visible,
.top-banner.footer-visible {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

/* pointer-events: none on the parent does NOT stop a descendant that sets
   pointer-events: auto — and .header__pill, .header__cta and (on mobile, with
   !important) .header__hamburger all do. Without this rule the invisible header
   keeps capturing taps over whatever sits beneath it: scroll so the footer's
   first accordion row lands under the hidden pill and tapping it opens the
   menu instead of expanding the accordion. */
.header.footer-visible *,
.top-banner.footer-visible * {
  pointer-events: none !important;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    rgba(0, 0, 0, 0.65) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: left;
  max-width: 80%;
  padding: 0 24px;
}

.hero__title {
  font-family: 'Season Mix', serif;
  font-weight: 700;
  font-size: clamp(52px, 8vw, 120px);
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.05;
  text-shadow:
    0 0 40px rgba(0, 0, 0, 0.4),
    0 2px 8px rgba(0, 0, 0, 0.3);
}

/* ============================================
   CONTENT SECTION
   ============================================ */

.content-section {
  position: relative;
  min-height: 100vh;
  padding: 120px 0;
  background: #fff;
}

.content-section .therapies-intro {
  padding: 0 clamp(24px, 5vw, 80px);
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about-section {
  position: relative;
  padding: 160px 48px 80px;
  background: #fff;
}

.about__inner {
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
  padding: 0 24px;
}

.about__logo-text {
  font-family: 'Season Mix', serif;
  font-weight: 700;
  font-size: 64px;
  display: block;
  margin-bottom: 40px;
  color: #0263e0;
}

.about__title {
  font-family: 'Season Mix', serif;
  font-weight: 400;
  font-size: clamp(32px, 4vw, 52px);
  color: #1a1a2e;
  line-height: 1.15;
  max-width: 800px;
  margin: 0 auto 24px;
}

.about__title em {
  font-style: italic;
}

/* Toggle buttons */
.about__toggles {
  display: flex;
  justify-content: center;
  width: fit-content;
  margin: 12px auto 48px;
  border: 2px solid #f0f0f3;
  border-radius: 999px;
  padding: 4px;
}

.about__toggle {
  padding: 10px 32px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: rgba(26, 26, 46, 0.5);
  font-family: 'Inter Tight', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.about__toggle--active {
  background: #0263e0;
  color: #fff;
}

/* Content panels */
.about__panel {
  display: none;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  text-align: left;
  max-width: 100%;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
}

.about__panel--active {
  display: block;
}

.about__panel-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.about__panel-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Dark overlay */
.about__panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.15) 60%, transparent 100%);
  pointer-events: none;
}

.about__panel-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 40px;
}

.about__panel-title {
  font-family: 'Season Mix', serif;
  font-weight: 400;
  font-size: clamp(28px, 3vw, 40px);
  color: #fff;
  line-height: 1.25;
  margin-bottom: 16px;
}

.about__panel-text {
  font-family: 'Inter Tight', sans-serif;
  font-size: 17px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 28px;
}

.about__panel-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  border-radius: 999px;
  font-family: 'Inter Tight', sans-serif;
  font-size: 15px;
  font-weight: 600;
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  transition: none !important;
}

.about__panel-cta:hover {
  background: #fff;
  color: #1a1a2e;
}

/* ============================================
   THERAPIES INTRO + CAROUSEL
   ============================================ */

.therapies-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.therapies-intro__label {
  display: block;
  font-family: 'Inter Tight', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #0263e0;
  margin-bottom: 40px;
}

.therapies-intro__title {
  font-family: 'Season Mix', serif;
  font-weight: 400;
  font-size: clamp(32px, 4vw, 52px);
  color: #1a1a2e;
  line-height: 1.15;
  margin-bottom: 24px;
}

.therapies-intro__text {
  font-family: 'Inter Tight', sans-serif;
  font-size: 19px;
  font-weight: 400;
  color: rgba(26, 26, 46, 0.6);
  line-height: 1.7;
}

/* Carousel */
.carousel-wrapper {
  position: relative;
}

.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  min-height: 560px;
}

.carousel__track {
  display: flex;
  gap: 24px;
  overflow: hidden;
  padding: 0;
  align-items: center;
  justify-content: center;
  margin: 0 -60px;
}

.carousel__track::-webkit-scrollbar { display: none; }

.carousel__card {
  flex: 0 0 22vw;
  height: 480px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  display: block;
  text-decoration: none;
  min-width: 0;
}

.carousel__card--active {
  flex: 0 0 50vw;
  height: 540px;
}

.carousel__card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.carousel__card[style*="order: 1"] {
  border-radius: 0 20px 20px 0;
}

.carousel__card[style*="order: 1"] .carousel__card-img {
  object-position: right center;
}

.carousel__card[style*="order: 3"] {
  border-radius: 20px 0 0 20px;
}

.carousel__card[style*="order: 3"] .carousel__card-img {
  object-position: left center;
}

.carousel__card[style*="order: 1"] .carousel__card-overlay {
  align-items: flex-end;
  padding-right: 36px;
}

.carousel__card[style*="order: 3"] .carousel__card-overlay {
  align-items: flex-start;
  padding-left: 36px;
}


.carousel__card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0 36px;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 36px;
}

.carousel__card-name {
  font-family: 'Season Mix', serif;
  font-size: 20px;
  font-weight: 400;
  color: #fff;
  line-height: 1.1;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.carousel__card--active .carousel__card-name {
  font-size: clamp(36px, 3.5vw, 52px);
}

.carousel__card-cta {
  font-family: 'Inter Tight', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

.carousel__card--active .carousel__card-cta {
  pointer-events: auto;
}

.carousel__card-cta:hover {
  text-decoration: none;
}

/* Carousel nav buttons */
.carousel__nav-group {
  position: absolute;
  top: -56px;
  right: 48px;
  display: flex;
  gap: 8px;
  z-index: 10;
}

.carousel__btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: none;
  background: #e8e6e1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  position: relative;
  z-index: 2;
}

.carousel__btn:hover {
  background: #e8e6e1;
}

.carousel__btn .material-symbols-outlined {
  font-size: 24px;
  font-weight: 300;
  color: #1a1a2e;
}

/* ============================================
   HIGHLIGHT SECTION
   ============================================ */

.highlight-section {
  position: relative;
  padding: 160px 48px;
  background: linear-gradient(180deg, #fff 0%, #edf1fa 25%, #e8ecf7 50%, #edf1fa 75%, #fff 100%);
}

.highlight__inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.highlight__label {
  display: block;
  font-family: 'Inter Tight', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #1a1a2e;
  margin-bottom: 40px;
}

.highlight__title {
  font-family: 'Season Mix', serif;
  font-weight: 400;
  font-size: clamp(32px, 4vw, 52px);
  color: #1a1a2e;
  line-height: 1.15;
  margin-bottom: 24px;
}

.highlight__text {
  font-family: 'Inter Tight', sans-serif;
  font-size: 17px;
  font-weight: 400;
  color: rgba(26, 26, 46, 0.6);
  line-height: 1.7;
}

.highlight__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  margin-top: 72px;
  text-align: left;
}

.highlight__card {
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0) 100%);
  border-radius: 24px;
  padding: 24px 24px 40px;
}

.highlight__card-img {
  border-radius: 16px;
  overflow: hidden;
  height: 400px;
  margin-bottom: 32px;
}

.highlight__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.highlight__card-title {
  font-family: 'Season Mix', serif;
  font-weight: 400;
  font-size: 28px;
  color: #1a1a2e;
  margin-bottom: 16px;
}

.highlight__card-text {
  font-family: 'Inter Tight', sans-serif;
  font-size: 17px;
  font-weight: 400;
  color: rgba(26, 26, 46, 0.6);
  line-height: 1.7;
  margin-bottom: 24px;
}

.highlight__card-cta {
  font-family: 'Inter Tight', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #0263e0;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.highlight__card-cta:hover {
  text-decoration: none;
}

/* ============================================
   EDUCATION HERO SECTION
   ============================================ */

.edu-hero-section {
  position: relative;
  padding: 160px 80px;
  background: linear-gradient(180deg, #fff 0%, #edf1fa 25%, #e8ecf7 50%, #edf1fa 75%, #fff 100%);
  overflow: hidden;
}

.edu-hero__inner {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: 48px;
  max-width: 1400px;
  margin: 0 auto;
  align-items: center;
}

.edu-hero__label {
  display: block;
  font-family: 'Inter Tight', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #0263e0;
  margin-bottom: 32px;
}

.edu-hero__title {
  font-family: 'Season Mix', serif;
  font-weight: 400;
  font-size: clamp(36px, 4vw, 56px);
  color: #1a1a2e;
  line-height: 1.1;
  margin-bottom: 24px;
}

.edu-hero__subtitle {
  font-family: 'Inter Tight', sans-serif;
  font-size: 19px;
  font-weight: 400;
  color: rgba(26, 26, 46, 0.55);
  line-height: 1.7;
  margin-bottom: 40px;
}

.edu-hero__links {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.edu-hero__link {
  display: block;
  text-decoration: none;
}

.edu-hero__link-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  flex-wrap: wrap;
}

.edu-hero__link-icon {
  font-size: 40px;
  color: #0263e0;
  flex-shrink: 0;
}

.edu-hero__link-label {
  font-family: 'Inter Tight', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #1a1a2e;
}

.edu-hero__link-desc {
  font-family: 'Inter Tight', sans-serif;
  font-size: 17px;
  font-weight: 400;
  color: rgba(26, 26, 46, 0.6);
}

.edu-hero__link-cta {
  display: inline-block;
  margin-top: 6px;
  margin-left: 0;
  font-family: 'Inter Tight', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #0263e0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.edu-hero__link:hover .edu-hero__link-cta {
  text-decoration: underline;
}

.edu-hero__cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  border-radius: 999px;
  font-family: 'Inter Tight', sans-serif;
  font-size: 15px;
  font-weight: 600;
  background: #0263e0;
  color: #fff;
  text-decoration: none;
  margin-top: 32px;
}

/* Image grid: 1 large top, 2 small bottom */
.edu-hero__images {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0) 100%);
  border-radius: 24px;
  padding: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr auto;
  gap: 8px;
}

.edu-hero__img-large {
  grid-column: 1 / -1;
  border-radius: 16px;
  overflow: hidden;
  height: 480px;
}

.edu-hero__img-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.edu-hero__img-small {
  border-radius: 16px;
  overflow: hidden;
  height: 280px;
}

.edu-hero__img-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   TESTIMONIAL SECTION
   ============================================ */

.testimonial-section {
  position: relative;
  padding: 160px 80px;
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.testimonial__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 90%;
  z-index: 0;
}

.testimonial__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.testimonial__inner {
  position: relative;
  z-index: 2;
  max-width: 560px;
  text-align: left;
}

.testimonial__label {
  display: block;
  font-family: 'Inter Tight', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
}

.testimonial__title {
  font-family: 'Season Mix', serif;
  font-weight: 400;
  font-size: clamp(40px, 5vw, 72px);
  color: #fff;
  line-height: 1.05;
  margin-bottom: 28px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.testimonial__text {
  font-family: 'Inter Tight', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  line-height: 1.7;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
}

.testimonial__cta {
  background: transparent !important;
  border: 2px solid #fff !important;
  color: #fff !important;
  margin-top: 32px;
  transition: none !important;
}

.testimonial__cta:hover {
  background: #fff !important;
  color: #1a1a2e !important;
}

/* ============================================
   FOOTER
   ============================================ */

/* ---- Footer: base ---- */
.footer {
  background:
    radial-gradient(ellipse at 70% 20%, rgba(0, 210, 235, 0.45) 0%, transparent 50%),
    radial-gradient(ellipse at 30% 80%, rgba(0, 150, 220, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 70%, rgba(50, 200, 240, 0.25) 0%, transparent 45%),
    linear-gradient(160deg, #0a4a8a 0%, #0263e0 30%, #0078c8 55%, #005a9e 80%, #0a3060 100%);
  color: #fff;
  padding: 96px 80px 80px;
  font-family: 'Inter Tight', sans-serif;
}

/* ---- 5-column grid (desktop) ---- */
.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 0.8fr 1.6fr;
  gap: 32px;
  max-width: 1400px;
  margin: 0 auto;
}

.footer__col {
  display: flex;
  flex-direction: column;
}


/* Accordion toggle: on desktop show as plain heading, hide button chrome */
.footer__col-toggle {
  display: block;
  background: none;
  border: none;
  padding: 0;
  cursor: default;
  color: #fff;
  width: 100%;
  text-align: left;
}

.footer__chevron {
  display: none;
}

/* Column body (always visible on desktop) */
.footer__col-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Headings */
.footer__nav-heading {
  font-family: 'Season Mix', serif;
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}

/* Links */
.footer__nav-link {
  font-size: 14px;
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 3px;
  width: fit-content;
  color: #fff;
}

.footer__nav-link:hover {
  text-decoration: none;
}

/* Contact column */
.footer__col--contact {
}

.footer__help-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer__help-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-family: 'Inter Tight', sans-serif;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  transition: color 0.2s;
}

.footer__help-item:hover {
  color: #fff;
}

.footer__help-item .material-symbols-outlined {
  font-size: 20px;
  color: #fff;
  flex-shrink: 0;
  font-variation-settings: 'wght' 300;
}

.footer__help-item strong {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Social icons */
.footer__socials {
  display: flex;
  gap: 20px;
  margin-top: 24px;
}

.footer__social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: opacity 0.2s ease;
}

.footer__social-btn svg {
  width: 32px;
  height: 32px;
}

/* Legal text (full-width bar below footer) */
.footer__legal {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  background: #f0f0f0;
  color: #555;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.7;
  padding: 24px 80px;
  max-width: none;
  margin: 64px -80px -80px;
  overflow: hidden;
}

.footer__legal-logo {
  width: 280px;
  height: 280px;
  flex-shrink: 0;
  opacity: 0.03;
  margin-top: -150px;
  margin-bottom: -110px;
}


.footer__legal-text {
  text-align: right;
  flex: 1;
}

/* ---- Tablet: brand + 2 cols (≤768px) ---- */
@media (max-width: 768px) {
  .footer {
    padding: 48px 24px 36px;
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
  }

  .footer__col--contact {
    grid-column: 1 / -1;
  }

  .footer__nav-link {
    font-size: 15px;
  }

  .footer__help-item {
    font-size: 15px;
  }

  .footer__legal {
    font-size: 12px;
    padding: 20px 24px;
    margin: 36px -24px -36px;
  }

  .footer__legal {
    flex-direction: column;
  }

  .footer__legal-logo {
    display: none;
  }

  .footer__legal-text {
    text-align: center;
    order: 1;
  }

  .footer__cnpj {
    display: block;
  }
}

/* ---- Mobile: accordion (≤540px) ---- */
@media (max-width: 540px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }


  /* Show accordion toggles */
  .footer__col--accordion .footer__col-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    padding: 16px 0;
    cursor: pointer;
    color: #fff;
  }

  .footer__col--accordion .footer__nav-heading {
    margin-bottom: 0;
    pointer-events: none;
  }

  .footer__col--accordion .footer__chevron {
    display: block;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
  }

  .footer__col--accordion .footer__col-toggle[aria-expanded="true"] .footer__chevron {
    transform: rotate(180deg);
  }

  /* Collapse body by default */
  .footer__col--accordion .footer__col-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding-bottom: 0;
  }

  .footer__col--accordion .footer__col-body {
    gap: 12px;
  }

  .footer__col--accordion .footer__nav-link {
    padding: 4px 0;
    font-size: 16px;
  }

  .footer__col--accordion .footer__col-body.is-open {
    max-height: 600px;
    padding-bottom: 16px;
  }

  /* Contact column stays always visible, reset grid-column from tablet */
  .footer__col--contact {
    grid-column: auto;
    margin-top: 24px;
    padding-top: 24px;
  }

  .footer__socials {
    justify-content: center;
    gap: 28px;
    margin-top: 32px;
  }

  .footer__social-btn svg {
    width: 36px;
    height: 36px;
  }

  .footer__legal {
    padding: 20px 24px;
    margin: 24px -24px -36px;
  }

  .footer__legal-text {
    text-align: left;
  }
}


/* ============================================
   WHATSAPP FLOAT
   ============================================ */

.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 1000;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
  transition: opacity 0.4s ease;
}

.whatsapp-float:hover {
  transform: none;
}

.whatsapp-float.footer-visible {
  opacity: 0;
  pointer-events: none;
}

@keyframes whatsapp-pulse {
  0%, 100% {
    box-shadow: 0 4px 16px rgba(85, 170, 66, 0.4);
  }
  50% {
    box-shadow: 0 4px 24px rgba(85, 170, 66, 0.7), 0 0 0 12px rgba(85, 170, 66, 0.15);
  }
}

/* ============================================
   MOBILE MENU
   ============================================ */

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.mobile-menu.is-open {
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  flex-shrink: 0;
}

.mobile-menu__logo {
  height: 88px;
}

.mobile-menu__close {
  background: none;
  border: none;
  color: #1a1a2e;
  cursor: pointer;
  padding: 0;
}

.mobile-menu__close .material-symbols-outlined {
  font-size: 28px;
}

/* Main nav items */
.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  gap: 0;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease;
}

.mobile-menu__nav.is-hidden {
  transform: translateX(-30%);
  opacity: 0;
  pointer-events: none;
}

.mobile-menu__top {
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease;
}

.mobile-menu__top.is-hidden {
  transform: translateX(-30%);
  opacity: 0;
  pointer-events: none;
}

.mobile-menu__bottom {
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease;
}

.mobile-menu__bottom.is-hidden {
  transform: translateX(-30%);
  opacity: 0;
  pointer-events: none;
}

.mobile-menu__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(26, 26, 46, 0.1);
  color: #1a1a2e;
  font-family: 'Season Mix', serif;
  font-size: 24px;
  font-weight: 400;
  padding: 22px 0;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  width: 100%;
}

.mobile-menu__item--plain {
  border-bottom: 1px solid rgba(26, 26, 46, 0.1);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.mobile-menu__item-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-menu__item-icon {
  font-size: 32px;
  color: rgba(26, 26, 46, 0.8);
  font-variation-settings: 'wght' 400;
}

.mobile-menu__chevron {
  font-size: 24px;
  color: rgba(26, 26, 46, 0.4);
}

/* Bottom: contact + legal */
.mobile-menu__bottom {
  margin-top: auto;
  padding: 32px 28px 40px;
}

.mobile-menu__bottom-title {
  font-family: 'Season Mix', serif;
  font-size: 20px;
  font-weight: 500;
  color: #1a1a2e;
  margin-bottom: 16px;
}

.mobile-menu__bottom-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(26, 26, 46, 0.7);
  font-family: 'Season Mix', serif;
  font-size: 16px;
  text-decoration: none;
  margin-bottom: 24px;
}

.mobile-menu__bottom-link .material-symbols-outlined {
  font-size: 32px;
  color: rgba(26, 26, 46, 0.8);
  font-variation-settings: 'wght' 400;
}

.mobile-menu__bottom-link strong {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mobile-menu__bottom-link--wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 24px;
  border-radius: 999px;
  background: #1a1a2e;
  color: #fff;
  font-family: 'Inter Tight', sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}

.mobile-menu__bottom-link--wa svg {
  width: 20px;
  height: 20px;
}

.mobile-menu__bottom-legal {
  font-family: 'Inter Tight', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: rgba(26, 26, 46, 0.7);
  line-height: 1.6;
}

.mobile-menu__sub-link--drill {
  -webkit-appearance: none;
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(26, 26, 46, 0.07);
  cursor: pointer;
  text-align: left;
  margin: 0 !important;
  font-family: 'Inter Tight', sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: #1a1a2e;
  padding: 18px 0 !important;
  -webkit-padding-start: 0 !important;
  -moz-padding-start: 0 !important;
  padding-inline-start: 0 !important;
  letter-spacing: normal;
  text-indent: 0;
}

.mobile-menu__sub-group {
  font-family: 'Inter Tight', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(26, 26, 46, 0.4);
  margin-top: 8px;
  margin-bottom: 8px;
}

.mobile-menu__sub-img {
  margin-top: 32px;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  width: 100%;
}

.mobile-menu__sub-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Sub-panels (drill-down) */
.mobile-menu__sub {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  display: flex;
  flex-direction: column;
  padding: 0 28px 40px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.mobile-menu__sub.is-open {
  transform: translateX(0);
  pointer-events: auto;
}

.mobile-menu__sub-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  flex-shrink: 0;
}

.mobile-menu__back {
  background: none;
  border: none;
  color: #1a1a2e;
  cursor: pointer;
  padding: 0;
}

.mobile-menu__back .material-symbols-outlined {
  font-size: 28px;
}

.mobile-menu__sub-title {
  font-family: 'Season Mix', serif;
  font-size: 28px;
  font-weight: 400;
  color: #1a1a2e;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(26, 26, 46, 0.1);
}

.mobile-menu__sub-link {
  display: block;
  font-family: 'Inter Tight', sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: #1a1a2e;
  text-decoration: none;
  padding: 18px 0;
  border-bottom: 1px solid rgba(26, 26, 46, 0.07);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  .megamenu {
    display: none !important;
  }

  /* Mobile: always show glass pill + color logo + hamburger */
  .header__glass-bg {
    opacity: 1 !important;
  }

  .header__logo--white {
    opacity: 0 !important;
  }

  .header__logo--color {
    opacity: 1 !important;
  }

  .header__hamburger {
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .header__hamburger span {
    background: #1a1a2e;
  }

  /* Sem top banner no mobile: o header assume o topo da viewport.
     padding igual nos tres lados = margem visual igual do chip. */
  .top-banner {
    display: none;
  }

  .header,
  .header.scrolled {
    top: 0;
    padding: 24px;
  }

  .btn-cta {
    padding: 14px 40px;
    font-size: 15px;
  }

  /* No header CTA on mobile — the banner carries the "Agendar visita" action */
  .header__cta {
    display: none;
  }

  /* Menu chip spans the full container width. O respiro vertical vira padding
     do pill (antes vinha do glass extrapolando 6px acima e abaixo), assim a
     borda visual do chip coincide com a caixa do pill e as margens esquerda,
     direita e superior sao exatamente o padding do header. */
  .header__pill {
    width: 100%;
    justify-content: space-between;
    padding: 6px 14px;
  }

  .header__glass-bg {
    width: 100%;
    height: 100%;
  }

  .header__hamburger {
    margin-left: 0;
  }

  .header.scrolled .header__pill:hover ~ .header__cta,
  .header.scrolled .megamenu:hover ~ .header__cta {
    opacity: 1;
  }

  .hero__content {
    max-width: 100%;
    padding: 0 24px;
  }

  .hero__title {
    font-size: clamp(48px, 12vw, 72px);
  }

  .about-section {
    padding: 60px 16px 60px;
  }

  .about__inner {
    padding: 0;
  }

  .about__toggles {
    flex-wrap: nowrap;
    gap: 4px;
    padding: 5px;
    border-radius: 20px;
    justify-content: center;
  }

  .about__toggle {
    padding: 10px 16px;
    font-size: 16px;
    white-space: normal;
    line-height: 1.2;
    text-align: center;
    flex: 1;
    border-radius: 14px;
  }

  .about__toggle--active {
    border-radius: 14px;
  }

  .about__panel {
    aspect-ratio: 9 / 16;
  }

  .about__panel-content {
    padding: 28px 24px;
  }

  .about__panel-title {
    font-size: 24px;
  }

  .about__panel-cta {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  /* Education hero: stack vertically */
  .edu-hero-section {
    padding: 100px 24px 80px;
  }

  .edu-hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .edu-hero__title {
    font-size: clamp(32px, 8vw, 48px);
  }

  .edu-hero__cta-btn {
    width: 100%;
    text-align: center;
  }

  /* Testimonial section — text at the top of the image, CTA pinned to the bottom */
  .testimonial-section {
    padding: 80px 24px 48px;
    align-items: stretch;
  }

  .testimonial__inner {
    max-width: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  .testimonial__cta {
    display: flex;
    width: 100%;
    /* auto margin absorbs the free space, pushing the button to the bottom while
       the label/title/quote stay grouped at the top */
    margin-top: auto;
  }

  /* Guarantees a gap above the button if the quote ever grows tall enough
     to consume all the free space that margin-top: auto relies on */
  .testimonial__text {
    margin-bottom: 32px;
  }


  /* Carousel section */
  .therapies-intro__title {
    font-size: clamp(28px, 7vw, 44px);
  }

  .therapies-intro__text {
    font-size: 17px;
  }

  .carousel__track {
    margin: 0;
    gap: 12px;
  }

  .carousel {
    overflow: visible;
  }

  .carousel__card {
    display: none !important;
  }

  .carousel__card--active {
    display: block !important;
    flex: 0 0 calc(100% - 24px);
    height: 70vh;
    margin: 0 auto;
    border-radius: 20px;
  }

  .carousel__card--active .carousel__card-overlay {
    justify-content: flex-end;
    padding-bottom: 48px;
  }

  .carousel__track {
    padding: 0;
  }

  .carousel__nav-group {
    position: relative;
    top: auto;
    right: auto;
    justify-content: center;
    margin-bottom: 24px;
  }

  .carousel__btn {
    width: 72px;
    height: 72px;
  }
}
