/* ===================================================
   DANCE SOUL ACADEMY — Main Stylesheet
   Fonts: Style Script (headings) + Inter (body)
   Logo colors: #e01060 (pink) · #40c0e0 (cyan)
   Background: off-white #faf8f5
   =================================================== */

/* Fonts loaded via <link> in index.php — @import removed (render-blocking) */

/* ---- VARIABLES ---- */
:root {
  --pink:         #e01060;
  --pink-dark:    #b5004d;
  --pink-light:   #f04a89;
  --pink-pale:    #fce8f2;
  --cyan:         #40c0e0;
  --cyan-dark:    #1a9abf;
  --cyan-pale:    #e0f6fc;
  --bg:           #faf8f5;
  --bg-alt:       #f3f0eb;
  --bg-card:      #ffffff;
  --text:         #1a1a1a;
  --text-mid:     #444444;
  --text-muted:   #666666; /* was #777777 — darkened for WCAG 4.5:1 on off-white */
  --border:       #e4e0d8;
  --border-hover: rgba(224, 16, 96, 0.35);
  --shadow:       0 2px 12px rgba(0, 0, 0, 0.07);
  --shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.13);
  --nav-h:        70px;
  --ease:         0.3s ease;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; }
a { color: inherit; }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 {
  font-family: 'Style Script', cursive;
  font-weight: 400;
  line-height: 1.2;
}

/* ---- ACCESSIBILITY ---- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--pink);
  color: #fff;
  padding: .5rem 1.25rem;
  border-radius: 0 0 4px 4px;
  font-size: .85rem;
  font-weight: 700;
  z-index: 9999;
  text-decoration: none;
}
.skip-link:focus { top: 0; }

/* ---- LAYOUT ---- */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}
@media (max-width: 560px) { .container { padding: 0 1.25rem; } }

.section { padding: 90px 0; }
.section-alt { background: var(--bg-alt); }

.section-label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: .85rem;
}

.section-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: var(--text);
  margin-bottom: .75rem;
}

.section-lead {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 58ch;
  line-height: 1.85;
}

/* ---- BUTTONS ---- */
.btn-pink {
  display: inline-block;
  padding: .8rem 2.25rem;
  background: var(--pink);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--pink);
  border-radius: 3px;
  transition: background var(--ease), color var(--ease);
  white-space: nowrap;
}
.btn-pink:hover { background: var(--pink-dark); border-color: var(--pink-dark); color: #fff; }

.btn-outline {
  display: inline-block;
  padding: .8rem 2.25rem;
  background: transparent;
  color: var(--pink);
  font-family: 'Inter', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--pink);
  border-radius: 3px;
  transition: background var(--ease), color var(--ease);
  white-space: nowrap;
}
.btn-outline:hover { background: var(--pink); color: #fff; }

.btn-cyan {
  display: inline-block;
  padding: .8rem 2.25rem;
  background: var(--cyan);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--cyan);
  border-radius: 3px;
  transition: background var(--ease), color var(--ease);
  white-space: nowrap;
}
.btn-cyan:hover { background: var(--cyan-dark); border-color: var(--cyan-dark); }

/* ==============================================
   NAVBAR
   ============================================== */
.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 2rem;
  background: transparent;
  transition: background .35s ease, box-shadow .35s ease;
}
/* Over hero (dark photo): white text */
.site-nav .nav-links a   { color: rgba(255,255,255,.75); }
.site-nav .nav-logo img  { filter: brightness(0) invert(1); }
.site-nav .nav-social a  { color: rgba(255,255,255,.65); }
.site-nav .nav-toggle span { background: #fff; }

/* After scroll: solid white, dark text.
   backdrop-filter is on a ::before pseudo-element instead of the nav itself,
   because backdrop-filter on a positioned ancestor creates a new containing block
   for position:fixed children — which would trap the mobile nav panel inside
   the 70px navbar height and make it invisible. */
.site-nav.scrolled {
  background: rgba(250, 248, 245, 0.90);
  box-shadow: 0 1px 0 var(--border);
}
.site-nav.scrolled::before {
  content: '';
  position: absolute;
  inset: 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: -1;
}
.site-nav.scrolled .nav-links a  { color: var(--text-muted); }
.site-nav.scrolled .nav-logo img { filter: none; }
.site-nav.scrolled .nav-social a { color: var(--text-muted); }
.site-nav.scrolled .nav-toggle span { background: var(--text); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}
.nav-logo img { height: 40px; width: auto; display: block; transition: filter var(--ease); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a,
.nav-links button {
  font-family: 'Inter', sans-serif;
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: color var(--ease), border-color var(--ease), background var(--ease);
}
.nav-links button {
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  cursor: pointer;
  color: inherit;
}
.site-nav.scrolled .nav-links a:hover,
.site-nav.scrolled .nav-links a.active,
.site-nav.scrolled .nav-links button:hover {
  color: var(--pink);
  border-bottom-color: var(--pink);
}
.site-nav:not(.scrolled) .nav-links a:hover,
.site-nav:not(.scrolled) .nav-links a.active,
.site-nav:not(.scrolled) .nav-links button:hover {
  color: #fff;
  border-bottom-color: rgba(255,255,255,.6);
}

.nav-links .nav-cta {
  border-bottom: none !important;
  padding: .4rem 1.2rem;
  background: var(--pink);
  color: #fff !important;
  border-radius: 3px;
  transition: background var(--ease);
}
.nav-links .nav-cta:hover { background: var(--pink-dark) !important; }

/* Horário — a modal trigger, styled like "Experimentar Aula" but in the
   academy blue so the two pills read as distinct actions. */
.nav-links .nav-cta--schedule {
  margin-left: .75rem;
  background: var(--cyan-dark);
}
.nav-links .nav-cta--schedule:hover { background: var(--cyan) !important; }

.nav-social { display: flex; align-items: center; gap: .75rem; margin-left: 1.25rem; }
.nav-social a { font-size: 1.1rem; line-height: 1; transition: color var(--ease); }
.site-nav.scrolled .nav-social a:hover { color: var(--pink); }

/* Login icon — sits in nav-social, separated by a subtle divider */
.nav-login-icon {
  font-size: 1.05rem;
  opacity: .55;
  margin-left: .75rem;
  padding-left: 1rem;
  border-left: 1px solid currentColor;
  transition: opacity var(--ease);
}
.site-nav:not(.scrolled) .nav-login-icon { border-left-color: rgba(255,255,255,.25); }
.site-nav.scrolled       .nav-login-icon { border-left-color: var(--border); }
.nav-login-icon:hover { opacity: 1; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: .5rem;
  z-index: 1100;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease, background var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .nav-social { display: none; }
  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    background: rgba(250, 248, 245, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.25rem;
    transform: translateX(100%);
    transition: transform .35s ease;
    pointer-events: none;
  }
  .nav-links.open { transform: translateX(0); pointer-events: all; }
  .nav-links a,
  .nav-links button,
  .site-nav:not(.scrolled) .nav-links a,
  .site-nav:not(.scrolled) .nav-links button { color: var(--text-muted) !important; font-size: .9rem; }
  .nav-links .nav-cta--schedule { margin-left: 0; }
  .site-nav .nav-toggle span { background: #fff; }
  .site-nav.scrolled .nav-toggle span { background: var(--text); }
  .site-nav.scrolled .nav-toggle.open span { background: var(--text); }
  .site-nav:not(.scrolled) .nav-toggle.open span { background: var(--text); }
}

/* ==============================================
   HERO
   ============================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 90px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/site/about.jpg');
  background-size: cover;
  background-position: center 25%;
  transform: scale(1.06);
  transition: transform 9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.hero.loaded .hero-bg { transform: scale(1); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0.1)  40%,
    rgba(0, 0, 0, 0.72) 100%
  );
}
.hero-content {
  position: relative;
  text-align: center;
  padding: 0 1.5rem;
  max-width: 720px;
}
.hero-logo {
  width: min(300px, 68vw);
  height: auto;
  display: block;
  margin: 0 auto 1.75rem;
  filter: drop-shadow(0 3px 20px rgba(0,0,0,.5));
}
.hero-tagline {
  font-family: 'Inter', sans-serif;
  font-size: .74rem;
  font-weight: 300;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  margin-bottom: 2.25rem;
}
.hero-cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
/* Hero buttons stay pink/outline-white */
.hero .btn-pink  { background: var(--pink); border-color: var(--pink); }
.hero .btn-outline { color: #fff; border-color: rgba(255,255,255,.7); }
.hero .btn-outline:hover { background: rgba(255,255,255,.15); color: #fff; }

.hero-scroll {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  color: rgba(255,255,255,.80); /* was .65 — raised for WCAG 4.5:1 */
  font-family: 'Inter', sans-serif;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  animation: float-y 2.6s ease-in-out infinite;
  text-decoration: none;
}
.hero-scroll svg { width: 18px; height: 18px; }
@keyframes float-y {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(7px); }
}

/* ==============================================
   ABOUT
   ============================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: stretch;
}
.about-text p {
  font-family: 'Inter', sans-serif;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 1.25rem;
}
.about-text p:last-of-type { margin-bottom: 0; }

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 1.5rem 1.25rem;
  text-align: center;
  border-radius: 6px;
  box-shadow: var(--shadow);
  transition: border-color var(--ease), box-shadow var(--ease);
}
.stat-card:hover { border-color: var(--pink); box-shadow: var(--shadow-hover); }
.stat-number {
  display: block;
  font-family: 'Style Script', cursive;
  font-size: 3rem;
  font-weight: 400;
  color: var(--pink);
  line-height: 1;
}
.stat-label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: .5rem;
}

.about-image { position: relative; height: 100%; min-height: 500px; }
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  border-radius: 6px;
  box-shadow: var(--shadow-hover);
}
.about-image::before {
  content: '';
  position: absolute;
  top: -12px; left: -12px;
  right: 12px; bottom: 12px;
  border: 2px solid var(--pink);
  border-radius: 6px;
  z-index: -1;
  opacity: .4;
}
.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 6px;
  background: linear-gradient(160deg, rgba(224,16,96,.16) 0%, rgba(64,192,224,.10) 55%, transparent 85%);
  pointer-events: none;
}

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-image::before { display: none; }
  .about-image { min-height: 0; }
  .about-image img { height: 340px; }
}

/* ==============================================
   SPACE / STUDIOS
   ============================================== */
.space-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.studio-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.studio-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--pink);
}
.studio-gallery {
  position: relative;
  overflow: hidden;
  height: 270px;
}
.studio-gallery img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity .5s ease;
}
.studio-gallery::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(224,16,96,.14) 0%, transparent 45%, rgba(64,192,224,.12) 100%);
  pointer-events: none;
}
.studio-gallery .img-primary  { opacity: 1; }
.studio-gallery .img-secondary { opacity: 0; }
.studio-card:hover .img-primary  { opacity: 0; }
.studio-card:hover .img-secondary { opacity: 1; }

.studio-body { padding: 1.75rem 2rem 2rem; }
.studio-name {
  font-size: 2rem;
  color: var(--pink);
  margin-bottom: 1.25rem;
}
.studio-specs {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.studio-specs li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  color: var(--text-mid);
  line-height: 1.5;
}
.studio-specs li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  flex-shrink: 0;
  margin-top: .5rem;
}

@media (max-width: 700px) { .space-grid { grid-template-columns: 1fr; } }

/* ==============================================
   MODALITIES
   ============================================== */
.modalities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.modality-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.modality-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--pink);
}
.modality-thumb {
  position: relative;
  overflow: hidden;
  height: 210px;
  flex-shrink: 0;
}
.modality-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(160deg, rgba(224,16,96,.18) 0%, transparent 50%, rgba(64,192,224,.14) 100%);
  pointer-events: none;
}
.modality-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .55s ease;
}
.modality-card:hover .modality-thumb img { transform: scale(1.07); }

.modality-body {
  padding: 1.4rem 1.5rem 1.6rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.modality-name {
  font-size: 1.5rem;
  color: var(--pink);
  margin-bottom: .6rem;
}
.modality-desc {
  font-family: 'Inter', sans-serif;
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.8;
  flex: 1;
}

@media (max-width: 900px)  { .modalities-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .modalities-grid { grid-template-columns: 1fr; } }

/* ==============================================
   INSTRUCTORS
   ============================================== */
.instructors-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}
.instructor-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.75rem 1rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}
.instructor-card:hover {
  transform: translateY(-4px);
  border-color: var(--pink);
  box-shadow: var(--shadow-hover);
}
.instructor-photo-wrap {
  position: relative;
  width: 110px;
  height: 110px;
  margin: 0 auto 1.1rem;
}
.instructor-photo-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  z-index: 1;
  background: linear-gradient(160deg, rgba(224,16,96,.06) 0%, transparent 60%, rgba(64,192,224,.05) 100%);
  pointer-events: none;
}
.instructor-photo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 3px solid var(--pink);
  display: block;
  margin: 0;
  transition: border-color var(--ease);
}
.instructor-card:hover .instructor-photo { border-color: var(--cyan); }
.instructor-name {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: .4rem;
}
.instructor-role {
  font-family: 'Inter', sans-serif;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--pink);
  line-height: 1.6;
}
.instructor-bio {
  font-family: 'Inter', sans-serif;
  font-size: .8rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-top: .5rem;
  margin-bottom: 0;
}

@media (max-width: 1100px) { .instructors-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 800px)  { .instructors-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px)  { .instructors-grid { grid-template-columns: repeat(2, 1fr); } }

/* ==============================================
   CONTACT
   ============================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 4rem;
  align-items: start;
}
.contact-block { margin-bottom: 2.25rem; }
.contact-block:last-child { margin-bottom: 0; }
.contact-block-title {
  font-family: 'Inter', sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 1.1rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid var(--border);
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  margin-bottom: .9rem;
  font-family: 'Inter', sans-serif;
  font-size: .93rem;
  color: var(--text-mid);
}
.contact-item:last-child { margin-bottom: 0; }
.contact-item i {
  color: var(--cyan);
  font-size: 1rem;
  margin-top: .15rem;
  flex-shrink: 0;
  width: 1.1rem;
  text-align: center;
}
.contact-item a { text-decoration: none; transition: color var(--ease); }
.contact-item a:hover { color: var(--pink); }

.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td {
  padding: .55rem 0;
  font-family: 'Inter', sans-serif;
  font-size: .88rem;
  color: var(--text-mid);
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.hours-table tr:last-child td { border-bottom: none; }
.hours-table td:first-child {
  color: var(--text);
  font-weight: 700;
  padding-right: 1.5rem;
  white-space: nowrap;
}

.contact-note {
  font-family: 'Inter', sans-serif;
  font-size: .78rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 1rem;
}

.contact-cta {
  display: flex;
  gap: .85rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.map-block { margin-top: 3.5rem; }
.map-wrap {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  height: 380px;
}
.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .map-block { margin-top: 2.5rem; }
  .map-wrap { height: 280px; }
}

/* ---- CONTACT FORM ---- */
.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem 2rem 1.75rem;
  box-shadow: var(--shadow);
}

.contact-form-field {
  margin-bottom: 1.1rem;
}
.contact-form-field label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .4rem;
}
.contact-form-field label span { color: var(--pink); }

.contact-form-field input,
.contact-form-field select,
.contact-form-field textarea {
  width: 100%;
  padding: .65rem .9rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: .92rem;
  color: var(--text);
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.contact-form-field textarea { resize: vertical; min-height: 5rem; }
.contact-form-field select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23888' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right .75rem center;
  background-size: 12px;
  padding-right: 2.25rem;
  cursor: pointer;
}
.contact-form-field input:focus,
.contact-form-field select:focus,
.contact-form-field textarea:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(224, 16, 96, .12);
}
.contact-form-field input::placeholder,
.contact-form-field textarea::placeholder { color: #bbb; }

.contact-form-check {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  margin: 1.25rem 0 1rem;
  font-family: 'Inter', sans-serif;
  font-size: .8rem;
  line-height: 1.5;
  color: var(--text-mid);
}
.contact-form-check input { margin-top: .2rem; flex-shrink: 0; width: 16px; height: 16px; accent-color: var(--pink); }
.contact-form-check a { color: var(--pink); text-decoration: underline; }

.contact-form-submit {
  width: 100%;
  margin-top: .5rem;
  justify-content: center;
}

/* Flash message inside the form */
.contact-flash {
  display: flex;
  align-items: center;
  padding: .75rem 1rem;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: .88rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
}
.contact-flash--success {
  background: #ecfdf3;
  border: 1px solid #6ee7a0;
  color: #166534;
}
.contact-flash--danger {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
}

@media (max-width: 480px) {
  .contact-form-card { padding: 1.5rem 1.25rem 1.25rem; }
}

/* ==============================================
   FOOTER
   ============================================== */
.site-footer {
  background: var(--text);
  border-top: 1px solid var(--border);
  padding: 3rem 2rem 2rem;
  text-align: center;
}
.footer-logo {
  height: 34px;
  width: auto;
  display: block;
  margin: 0 auto 2rem;
  filter: brightness(0) invert(1);
  opacity: .7;
}
.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.75rem;
  list-style: none;
  margin-bottom: 1.75rem;
}
.footer-nav a {
  font-family: 'Inter', sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  text-decoration: none;
  transition: color var(--ease);
}
.footer-nav a:hover { color: var(--pink-light); }

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.footer-social a {
  color: rgba(255,255,255,.45);
  font-size: 1.3rem;
  line-height: 1;
  transition: color var(--ease);
  text-decoration: none;
}
.footer-social a:hover { color: var(--cyan); }

.footer-copy {
  font-family: 'Inter', sans-serif;
  font-size: .74rem;
  color: rgba(255,255,255,.35);
}
.footer-copy a { color: var(--pink-light); text-decoration: none; }

/* ==============================================
   ANIMATIONS
   ============================================== */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s ease, transform .65s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

.fade-up:nth-child(2)  { transition-delay: .07s; }
.fade-up:nth-child(3)  { transition-delay: .14s; }
.fade-up:nth-child(4)  { transition-delay: .21s; }
.fade-up:nth-child(5)  { transition-delay: .28s; }
.fade-up:nth-child(6)  { transition-delay: .35s; }
.fade-up:nth-child(7)  { transition-delay: .42s; }
.fade-up:nth-child(8)  { transition-delay: .49s; }
.fade-up:nth-child(9)  { transition-delay: .56s; }
.fade-up:nth-child(10) { transition-delay: .63s; }

/* ---- WHATSAPP FLOAT ---- */
/* Em mobile a barra CTA substitui o botão flutuante */
@media (max-width: 767px) { .wa-float { display: none; } }

.wa-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  box-shadow: 0 4px 16px rgba(37, 211, 102, .4);
  z-index: 900;
  transition: transform var(--ease), box-shadow var(--ease);
  text-decoration: none;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, .55);
  color: #fff;
}

/* ==============================================
   CTA STICKY BAR (mobile only — < 768px)
   ============================================== */
.cta-bar {
  display: none; /* desktop: escondida */
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 950;
  padding: .75rem 1rem;
  background: #fff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, .10);
  align-items: center;
  gap: .6rem;
  transform: translateY(0);
  transition: transform .35s cubic-bezier(.4, 0, .2, 1);
}

@media (max-width: 767px) {
  .cta-bar { display: flex; }
}

.cta-bar--hidden {
  transform: translateY(110%);
  pointer-events: none;
}

.cta-bar__primary {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  min-height: 48px;
  padding: .7rem 1rem;
  background: var(--pink);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  border: 2px solid var(--pink);
  transition: background var(--ease);
}
.cta-bar__primary:hover { background: var(--pink-dark); border-color: var(--pink-dark); color: #fff; }

.cta-bar__wa {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  font-size: 1.4rem;
  text-decoration: none;
  transition: background var(--ease);
}
.cta-bar__wa:hover { background: #1da851; color: #fff; }

.cta-bar__close {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  padding: 0;
  transition: background var(--ease), color var(--ease);
}
.cta-bar__close:hover { background: var(--bg-alt); color: var(--text); }

/* ==============================================
   SHARED HELPERS (trial form, legal pages, admin-style dots on the public site)
   ============================================== */
.modality-dot {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
}
.text-muted-inline {
  font-size: .78rem;
  color: var(--text-muted);
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
}
.field-error {
  display: block;
  margin-top: .35rem;
  font-family: 'Inter', sans-serif;
  font-size: .78rem;
  color: #b02a37;
}

/* ==============================================
   TRIAL CLASS FORM (trial.php)
   ============================================== */
.trial-note {
  margin-bottom: 2rem;
  padding: .9rem 1.1rem;
  background: var(--cyan-pale);
  border: 1px solid rgba(64, 192, 224, .35);
  border-radius: 8px;
  font-size: .85rem;
  color: var(--text-mid);
  line-height: 1.6;
}
.trial-note i { color: var(--cyan-dark); margin-right: .5rem; }

.trial-page .section-lead { max-width: none; }

.trial-form { max-width: 100%; }
.trial-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.5rem;
}
.trial-form-grid .contact-form-field { min-width: 0; }

.trial-radio-row { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.trial-radio {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-family: 'Inter', sans-serif;
  font-size: .88rem;
  font-weight: 400;
  color: var(--text-mid);
  cursor: pointer;
  text-transform: none;
  letter-spacing: normal;
}
.trial-radio input { accent-color: var(--pink); width: 16px; height: 16px; }

.trial-classes-title { margin-top: 1.75rem; margin-bottom: .25rem; }
.trial-schedule-link {
  display: inline-flex;
  align-items: center;
  background: none;
  border: none;
  padding: 0;
  font-family: 'Inter', sans-serif;
  font-size: .82rem;
  font-weight: 600;
  color: var(--cyan-dark);
  cursor: pointer;
  transition: color var(--ease);
}
.trial-schedule-link:hover { color: var(--cyan); }

.trial-class-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: .6rem;
}
.trial-modality-grid .modality-dot { margin-right: .4rem; vertical-align: middle; }
.trial-class-option {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  padding: .6rem .75rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  font-size: .85rem;
  color: var(--text-mid);
  transition: border-color var(--ease), background var(--ease);
}
.trial-class-option:hover { border-color: var(--border-hover); }
.trial-class-option:has(input:checked) {
  border-color: var(--pink);
  background: var(--pink-pale);
}
.trial-class-option input { margin-top: .2rem; accent-color: var(--pink); flex-shrink: 0; }
.trial-class-option strong { display: block; color: var(--text); font-size: .88rem; }
.trial-class-schedule { display: block; font-size: .76rem; color: var(--text-muted); margin-top: .15rem; }

.trial-ack { margin-top: 1.5rem; }
.trial-check {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  margin-bottom: 1.1rem;
  font-family: 'Inter', sans-serif;
  font-size: .8rem;
  line-height: 1.55;
  color: var(--text-mid);
  cursor: pointer;
}
.trial-check input { margin-top: .2rem; flex-shrink: 0; width: 16px; height: 16px; accent-color: var(--pink); }
.trial-check a { color: var(--pink); text-decoration: underline; }

@media (max-width: 720px) {
  .trial-form-grid { grid-template-columns: 1fr; }
  .trial-class-grid { grid-template-columns: 1fr; }
}

/* ==============================================
   SITE MODAL (public "Horário" modal, etc.)
   ============================================== */
.site-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 15, 20, .55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 1200;
}
.site-modal-overlay[hidden] { display: none; }
.site-modal {
  background: var(--bg-card);
  border-radius: 16px;
  max-width: 640px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-hover);
}
.site-modal--wide { max-width: 980px; }
@media (min-width: 992px) {
  .site-modal--wide { max-width: 1240px; }
  .site-modal { max-height: 90vh; }
}
.site-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.3rem 1.5rem;
  background: linear-gradient(135deg, var(--cyan-dark) 0%, var(--pink) 65%, var(--pink-dark) 100%);
  background-size: 200% 200%;
  animation: schedule-header-shift 8s ease-in-out infinite;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}
@keyframes schedule-header-shift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
.site-modal-header h2 {
  font-family: 'Style Script', cursive;
  font-weight: 400;
  font-size: 1.9rem;
  color: #fff;
}
.site-modal-close {
  background: rgba(255, 255, 255, .12);
  border: none;
  font-size: 1.1rem;
  color: #fff;
  cursor: pointer;
  padding: .45rem;
  line-height: 1;
  border-radius: 50%;
  transition: background var(--ease), color var(--ease);
}
.site-modal-close:hover { background: rgba(255, 255, 255, .3); color: #fff; }
.site-modal-body {
  padding: 1.2rem 1.4rem 1.4rem;
  overflow-y: auto;
}

/* Modality filter chips */
.schedule-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--border);
}
.schedule-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .8rem;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  background: #fff;
  font-family: 'Inter', sans-serif;
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color var(--ease), color var(--ease), background var(--ease), box-shadow var(--ease);
}
.schedule-filter-chip.active {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, var(--pink-light), var(--pink-dark));
  box-shadow: 0 3px 10px rgba(224, 16, 96, .3);
}
.schedule-filter-chip:hover { border-color: var(--border-hover); }

/* Mobile-first: day-by-day list (default view) */
.schedule-day-list { display: block; }
.schedule-simple-view { display: none; }

.schedule-export-bar { display: flex; justify-content: flex-end; margin-bottom: .9rem; }
.schedule-download-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .4rem .9rem;
  border: 1.5px solid var(--cyan-dark);
  border-radius: 999px;
  background: #fff;
  font-family: 'Inter', sans-serif;
  font-size: .78rem;
  font-weight: 600;
  color: var(--cyan-dark);
  cursor: pointer;
  transition: background var(--ease), color var(--ease), box-shadow var(--ease);
}
.schedule-download-btn:hover {
  background: var(--cyan-dark);
  color: #fff;
  box-shadow: 0 3px 10px rgba(26, 154, 191, .3);
}
.schedule-download-btn:disabled { opacity: .6; cursor: wait; }

.schedule-modal-day { margin-bottom: 1.4rem; }
.schedule-modal-day:last-child { margin-bottom: 0; }
.schedule-modal-day.is-empty,
.schedule-simple-day.is-empty { display: none; }
.schedule-modal-day h3,
.schedule-simple-day-title {
  font-family: 'Style Script', cursive;
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--pink);
  margin-bottom: .3rem;
}
.schedule-modal-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: .85rem;
}
.schedule-modal-item:last-child { border-bottom: none; }
.schedule-modal-item.is-filtered-out { display: none; }
.schedule-modal-time {
  flex-shrink: 0;
  font-weight: 700;
  color: var(--cyan-dark);
  min-width: 6.5rem;
}
.schedule-modal-info { display: flex; flex-direction: column; gap: .1rem; }
.schedule-modal-modality {
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--text-muted);
}
.schedule-modal-class { font-weight: 600; color: var(--text); }

/* Desktop (lg+): every day with classes shown at once as a card, all cards
   in one centered horizontal-scrolling row instead of the old tab-per-day /
   time-axis grid */
.schedule-simple-view {
  display: flex;
  flex-wrap: nowrap;
  /* flex-start, not stretch (the default): a single busy room/day
     shouldn't force every other day-card to inflate to match its height */
  align-items: flex-start;
  justify-content: center;
  /* "safe" keeps it centered when everything fits, but falls back to
     start-alignment once it overflows — plain "center" would otherwise
     make the first day unreachable by scrolling in some browsers */
  justify-content: safe center;
  gap: 1.25rem;
  overflow-x: auto;
  padding-bottom: .6rem;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}
.schedule-simple-day {
  position: relative;
  flex: 0 0 340px;
  scroll-snap-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  /* Caps how tall a single day-card can get — if one room's class list is
     long enough to hit this, that card scrolls internally (below) instead
     of forcing the whole modal to scroll. */
  max-height: calc(90vh - 270px);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.2rem 1.1rem 1rem;
  background: #fff;
  box-shadow: var(--shadow);
  transition: box-shadow var(--ease), transform var(--ease);
}
.schedule-simple-day:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.schedule-simple-day::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--cyan-dark), var(--pink));
  background-size: 200% 100%;
  animation: schedule-header-shift 6s ease-in-out infinite;
}
.schedule-simple-day-title { text-align: center; flex-shrink: 0; }
.schedule-simple-rooms { display: grid; gap: 0; overflow-y: auto; min-height: 0; }
.schedule-simple-col { padding: 0 .7rem; min-width: 0; }
.schedule-simple-col:not(:first-child) {
  /* Plain solid border, not border-image: html2canvas (used for the JPG
     export) has known performance/hang issues rendering border-image. */
  border-left: 2px solid var(--border);
}
/* Two-column "facing" layout: the left room's items align right, the right
   room's items align left, so both sides read toward the shared divider */
.schedule-simple-col:first-child { text-align: right; }
.schedule-simple-col:first-child .schedule-simple-item { flex-direction: row-reverse; }
.schedule-simple-room-title {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: .15rem .55rem;
  border-radius: 999px;
  margin-bottom: .6rem;
}
.schedule-simple-col:first-child .schedule-simple-room-title { background: var(--pink-pale); color: var(--pink-dark); }
.schedule-simple-col:last-child .schedule-simple-room-title { background: var(--cyan-pale); color: var(--cyan-dark); }
.schedule-simple-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem 0;
  border-bottom: 1px solid var(--border);
}
.schedule-simple-item:last-child { border-bottom: none; }
.schedule-simple-item.is-filtered-out { display: none; }
.schedule-simple-info { display: flex; flex-direction: column; gap: .1rem; flex: 1; min-width: 0; }
.schedule-simple-modality {
  font-size: .62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.schedule-simple-name {
  font-weight: 600;
  color: var(--text);
  font-size: .8rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.schedule-simple-time { font-size: .72rem; font-weight: 600; color: var(--cyan-dark); }

/* Temporary state applied only while generating the JPG download — a static
   (non-animated, it's a still image) brand gradient behind the schedule,
   with the mobile list's plain day blocks turned into readable white cards
   to match the desktop view's cards against that background. */
.schedule-export-bg {
  background: linear-gradient(135deg, var(--cyan-dark) 0%, var(--pink) 60%, var(--pink-dark) 100%);
  padding: 1.5rem;
  border-radius: 14px;
}
.schedule-export-bg .schedule-modal-day {
  background: #fff;
  padding: .85rem 1.1rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

@media (min-width: 992px) {
  .schedule-day-list { display: none; }
  .schedule-simple-view { display: flex; }
}

@media (max-width: 480px) {
  .site-modal { max-height: 90vh; }
  .schedule-modal-item { flex-wrap: wrap; }
  .schedule-modal-time { min-width: 0; }
}

/* ---- PREFERS-REDUCED-MOTION ---- */
@media (prefers-reduced-motion: reduce) {
  /* Disable the bouncing scroll arrow */
  .hero-scroll { animation: none; }

  /* Make fade-up elements immediately visible — no slide-in */
  .fade-up {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  /* Strip all transitions from interactive elements */
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
