/* ===================================================
   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;
}

/* ---- SECTION DIVIDER (CSS ornament) ---- */
.section-rule {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0;
  padding: 0 2rem;
}
.section-rule::before,
.section-rule::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.section-rule-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink);
  flex-shrink: 0;
}

/* ---- 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 {
  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);
}
.site-nav.scrolled .nav-links a:hover,
.site-nav.scrolled .nav-links a.active {
  color: var(--pink);
  border-bottom-color: var(--pink);
}
.site-nav:not(.scrolled) .nav-links a:hover,
.site-nav:not(.scrolled) .nav-links a.active {
  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; }

.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,
  .site-nav:not(.scrolled) .nav-links a { color: var(--text-muted) !important; font-size: .9rem; }
  .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: center;
}
.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; }
.about-image img {
  width: 100%;
  height: 500px;
  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;
}

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-image::before { display: none; }
  .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 .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 {
  overflow: hidden;
  height: 210px;
  flex-shrink: 0;
}
.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 {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 3px solid var(--pink);
  display: block;
  margin: 0 auto 1.1rem;
  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.1fr;
  gap: 4.5rem;
  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-wrap {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  min-height: 420px;
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
}
.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  display: block;
}

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

/* ---- CONTACT FORM ---- */
.contact-form-card {
  background: var(--surface);
  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 {
  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 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 {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(224, 16, 96, .12);
}
.contact-form-field input::placeholder { color: #bbb; }

.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); }

/* ---- 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;
  }
}
