/* ==========================================================================
   IMPERIUM 22 JIU-JITSU ACADEMY - MAIN STYLESHEET
   Design Fidelity with Figma Export (site final.pdf) & Responsive Architecture
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS VARIABLES & RESET
   -------------------------------------------------------------------------- */
:root {
  --color-black: #000000;
  --color-dark: #121212;
  --color-dark-surface: #1e1e1e;
  --color-gray-dark: #27272a;
  --color-gray-medium: #71717a;
  --color-gray-light: #e4e4e7;
  --color-gray-bg: #f9f9fb;
  --color-white: #ffffff;
  --color-whatsapp: #25d366;
  --color-whatsapp-dark: #1ea952;
  
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  
  --header-height: 80px;
  --container-max: 1320px;
  --section-spacing: 96px;
  
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: var(--font-body);
  color: var(--color-dark);
  background-color: var(--color-white);
  line-height: 1.6;
  padding-top: var(--header-height);
  position: relative;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

/* --------------------------------------------------------------------------
   2. REUSABLE UTILITIES & LAYOUT
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  margin-bottom: 40px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  text-transform: uppercase;
  color: var(--color-black);
  letter-spacing: 0.02em;
  line-height: 1.05;
  margin: 0;
}

.text-center {
  text-align: center;
}

/* --------------------------------------------------------------------------
   3. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: 4px;
  transition: all var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  gap: 8px;
  max-width: 100%;
  text-align: center;
  white-space: normal;
}

.btn-primary {
  background-color: var(--color-black);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: var(--color-dark-surface);
  transform: translateY(-1px);
}

.btn-outline {
  border: 1.5px solid var(--color-black);
  color: var(--color-black);
  background-color: transparent;
}

.btn-outline:hover {
  background-color: var(--color-black);
  color: var(--color-white);
}

.btn-dark-pill {
  background-color: var(--color-dark-surface);
  color: var(--color-white);
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-transform: none;
  font-weight: 500;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.btn-dark-pill:hover {
  background-color: var(--color-black);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-hero {
  background-color: var(--color-black);
  color: var(--color-white);
  padding: 15px 30px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.btn-hero:hover {
  background-color: var(--color-dark-surface);
  transform: translateY(-2px);
}

.btn-hero-secondary {
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--color-black);
  border: 1px solid var(--color-black);
  padding: 15px 30px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.btn-hero-secondary:hover {
  background-color: var(--color-white);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: var(--color-whatsapp);
  color: var(--color-white);
  border-radius: 50px;
  padding: 14px 28px;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background-color: var(--color-whatsapp-dark);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   4. HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #eeeeee;
  z-index: 1000;
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
  background-color: rgba(255, 255, 255, 0.98);
}

.nav-container {
  width: 100%;
  max-width: var(--container-max);
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-logo img {
  height: 44px;
  width: 44px;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.nav-logo:hover img {
  transform: scale(1.05);
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  color: var(--color-black);
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-black);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--color-black);
  transition: width var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.nav-cta-mobile {
  display: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  padding: 0;
  z-index: 1010;
}

.hamburger-bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-black);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

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

.nav-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  z-index: 998;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* --------------------------------------------------------------------------
   5. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  height: clamp(650px, 92vh, 960px);
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
  overflow: hidden;
  background-color: var(--color-white);
}

.hero-bg-container {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: contrast(1.04) brightness(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 0.3) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1050px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 6.5vw, 4.4rem);
  line-height: 1.1;
  color: var(--color-black);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 28px;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8);
  word-wrap: break-word;
  max-width: 100%;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  width: 100%;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  opacity: 0.7;
  transition: opacity var(--transition-fast);
}

.hero-scroll-indicator:hover {
  opacity: 1;
}

.mouse-icon {
  width: 24px;
  height: 38px;
  border: 2px solid var(--color-black);
  border-radius: 12px;
  display: block;
  position: relative;
}

.mouse-icon::before {
  content: '';
  width: 4px;
  height: 8px;
  background: var(--color-black);
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
  animation: scrollAnim 1.6s infinite ease-in-out;
}

@keyframes scrollAnim {
  0% { transform: translate(-50%, 0); opacity: 1; }
  50% { transform: translate(-50%, 10px); opacity: 0.2; }
  100% { transform: translate(-50%, 0); opacity: 1; }
}

/* --------------------------------------------------------------------------
   6. SOBRE NÓS SECTION
   -------------------------------------------------------------------------- */
.about-section {
  padding: var(--section-spacing) 0;
  background-color: var(--color-white);
}

.about-image-wrapper {
  width: 100%;
  margin-bottom: 40px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.about-team-img {
  width: 100%;
  max-height: 600px;
  object-fit: cover;
  object-position: center 40%;
}

.about-text-content {
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-lead {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-dark);
  line-height: 1.7;
}

.about-text-content p {
  font-size: 1.1rem;
  color: #333333;
  line-height: 1.75;
}

/* --------------------------------------------------------------------------
   7. PROGRAMA SECTION
   -------------------------------------------------------------------------- */
.program-section {
  padding: var(--section-spacing) 0;
  background-color: var(--color-white);
  border-top: 1px solid #f0f0f0;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  align-items: stretch;
}

.program-card {
  display: flex;
  flex-direction: column;
}

.program-card-media {
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: 3px;
  overflow: hidden;
  background-color: #111111;
}

.program-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.program-card:hover .program-card-media img {
  transform: scale(1.04);
}

.sui-clinic-banner {
  background-color: var(--color-black);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.sui-clinic-text {
  font-family: var(--font-display);
  font-size: 3.2rem;
  color: var(--color-white);
  letter-spacing: 0.08em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  white-space: nowrap;
}

.program-card-divider {
  width: 100%;
  height: 5px;
  background-color: var(--color-black);
  margin: 18px 0 16px;
}

.program-card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.program-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.program-card-desc {
  font-size: 0.95rem;
  color: #444444;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   8. AULA EXPERIMENTAL SECTION
   -------------------------------------------------------------------------- */
.trial-section {
  padding: var(--section-spacing) 0;
  background-color: var(--color-white);
  border-top: 1px solid #f0f0f0;
}

.trial-image-wrapper {
  width: 100%;
  margin-bottom: 40px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.trial-img {
  width: 100%;
  max-height: 580px;
  object-fit: cover;
  object-position: center 30%;
}

.trial-text-content {
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 48px;
}

.trial-highlight {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-black);
  line-height: 1.7;
}

.trial-text-content p {
  font-size: 1.1rem;
  color: #333333;
  line-height: 1.75;
}

.trial-cta-wrapper {
  display: flex;
  justify-content: center;
  padding: 10px 0;
}

/* --------------------------------------------------------------------------
   9. HORÁRIOS SECTION
   -------------------------------------------------------------------------- */
.schedule-section {
  padding: var(--section-spacing) 0;
  background-color: var(--color-white);
  border-top: 1px solid #f0f0f0;
}

.schedule-tabs {
  display: flex;
  gap: 48px;
  margin-bottom: 40px;
  border-bottom: 2px solid #e0e0e0;
}

.tab-button {
  font-size: 1.25rem;
  font-weight: 600;
  color: #777777;
  padding-bottom: 16px;
  margin-bottom: -2px;
  border-bottom: 3px solid transparent;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.tab-button:hover {
  color: var(--color-black);
}

.tab-button.active {
  color: var(--color-black);
  border-bottom-color: var(--color-black);
}

.schedule-pane {
  display: none;
  animation: fadeIn 0.3s ease;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.schedule-pane.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.schedule-table-wrapper {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 20px;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  min-width: 800px;
  border: 2px solid var(--color-black);
}

.schedule-table th,
.schedule-table td {
  border: 1.5px solid var(--color-black);
  padding: 16px 12px;
  text-align: center;
  vertical-align: middle;
  height: 95px;
}

.schedule-table th {
  font-family: var(--font-display);
  font-size: 2.3rem;
  letter-spacing: 0.04em;
  color: var(--color-black);
  background-color: #ffffff;
  padding: 12px;
  height: auto;
}

.empty-cell {
  background-color: #ffffff;
}

.class-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.class-time {
  font-size: 0.9rem;
  color: #333333;
  font-weight: 500;
}

.class-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-black);
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-black);
  text-transform: uppercase;
}

.class-studio {
  display: inline-block;
  font-size: 0.75rem;
  background-color: #efefef;
  padding: 2px 8px;
  border-radius: 4px;
  color: #555;
  margin-top: 4px;
  align-self: center;
}

.schedule-location-sub {
  font-size: 0.95rem;
  color: #666666;
  margin-top: 12px;
  font-weight: 500;
}

/* Mangualde Card */
.schedule-mangualde-card {
  border: 2px solid var(--color-black);
  border-radius: 4px;
  padding: 48px 32px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  background-color: #fafafa;
}

.mangualde-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.schedule-mangualde-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--color-black);
}

.schedule-mangualde-card p {
  font-size: 1.05rem;
  color: #444;
  margin-bottom: 12px;
}

.mangualde-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

/* --------------------------------------------------------------------------
   10. INSTAGRAM SECTION
   -------------------------------------------------------------------------- */
.instagram-section {
  padding: var(--section-spacing) 0;
  background-color: var(--color-white);
  border-top: 1px solid #f0f0f0;
}

.instagram-mockup-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
}

.mockup-link {
  position: relative;
  display: inline-block;
  max-width: min(420px, 90vw);
  transition: transform var(--transition-normal);
}

.mockup-link:hover {
  transform: translateY(-8px);
}

.phone-mockup-img {
  width: 100%;
  height: auto;
  filter: none;
}

.mockup-hover-badge {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-black);
  color: var(--color-white);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.95;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.mockup-link:hover .mockup-hover-badge {
  background-color: #e1306c;
  opacity: 1;
  transform: translateX(-50%) scale(1.05);
}

/* --------------------------------------------------------------------------
   11. LOCALIZAÇÃO SECTION
   -------------------------------------------------------------------------- */
.location-section {
  padding: var(--section-spacing) 0;
  background-color: var(--color-white);
  border-top: 1px solid #f0f0f0;
}

.map-wrapper {
  width: 100%;
  margin-bottom: 48px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid #eeeeee;
}

.regional-map-img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  object-position: center;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.location-card {
  display: flex;
  flex-direction: column;
}

.location-city {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.location-address {
  font-size: 1.1rem;
  color: #333333;
  line-height: 1.6;
  margin-bottom: 16px;
}

.location-coords {
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-size: 1rem;
  color: #666666;
  margin-bottom: 16px;
}

.location-map-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-black);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  transition: transform var(--transition-fast);
}

.location-map-link:hover {
  text-decoration: underline;
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   12. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: #0d0d0d;
  color: #ffffff;
  padding: 80px 0 0;
  border-top: 1px solid #222222;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 50px;
  padding-bottom: 60px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.footer-logo img {
  filter: brightness(0) invert(1);
}

.footer-brand-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 0.05em;
  color: #ffffff;
  line-height: 1;
}

.footer-brand-sub {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: #888888;
  text-transform: uppercase;
}

.footer-tagline {
  color: #a1a1aa;
  font-size: 0.95rem;
  max-width: 380px;
  line-height: 1.6;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: #ffffff;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: #a1a1aa;
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: #ffffff;
}

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

.contact-list li {
  font-size: 0.95rem;
  color: #a1a1aa;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-list strong {
  color: #ffffff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-list a {
  color: #d4d4d8;
  transition: color var(--transition-fast);
}

.contact-list a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid #1f1f23;
  padding: 24px 0;
  background-color: #080808;
}

.footer-bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #71717a;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-legal a {
  color: #a1a1aa;
}

.footer-legal a:hover {
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   13. FLOATING WHATSAPP
   -------------------------------------------------------------------------- */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background-color: var(--color-whatsapp);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 990;
  transition: all var(--transition-fast);
}

.floating-whatsapp:hover {
  background-color: var(--color-whatsapp-dark);
  transform: scale(1.1) rotate(6deg);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
}

.whatsapp-tooltip {
  position: absolute;
  right: 72px;
  background-color: var(--color-black);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  pointer-events: none;
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -5px;
  transform: translateY(-50%);
  border-width: 5px 0 5px 5px;
  border-style: solid;
  border-color: transparent transparent transparent var(--color-black);
}

.floating-whatsapp:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  right: 76px;
}

/* --------------------------------------------------------------------------
   14. MODAL
   -------------------------------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.modal-dialog {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 520px;
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px) scale(0.96);
  transition: all var(--transition-fast);
}

.modal.active .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-content {
  padding: 36px 32px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 1.8rem;
  line-height: 1;
  color: #71717a;
  padding: 6px;
  transition: color var(--transition-fast);
}

.modal-close:hover {
  color: var(--color-black);
}

.modal-header {
  margin-bottom: 24px;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--color-black);
  letter-spacing: 0.03em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.modal-desc {
  font-size: 0.95rem;
  color: #666666;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #27272a;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #d4d4d8;
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color var(--transition-fast);
  background-color: #fafafa;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-black);
  background-color: #ffffff;
}

.btn-whatsapp-submit {
  width: 100%;
  background-color: var(--color-whatsapp);
  color: #ffffff;
  padding: 14px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  transition: all var(--transition-fast);
}

.btn-whatsapp-submit:hover {
  background-color: var(--color-whatsapp-dark);
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   15. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  :root {
    --section-spacing: 80px;
  }
  
  .program-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (max-width: 992px) {
  :root {
    --header-height: 70px;
    --section-spacing: 70px;
  }

  .nav-btn-desktop {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    background-color: #ffffff;
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    align-items: flex-start;
    padding: 90px 30px 40px;
    z-index: 1005;
    transform: translateX(105%);
    visibility: hidden;
    pointer-events: none;
    transition: transform var(--transition-normal), visibility var(--transition-normal);
  }

  .nav-menu.open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    width: 100%;
  }

  .nav-link {
    font-size: 1.1rem;
  }

  .nav-cta-mobile {
    display: block;
    margin-top: 32px;
    width: 100%;
  }

  .nav-cta-mobile .btn {
    width: 100%;
  }

  .location-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-spacing: 60px;
  }

  .container {
    padding: 0 16px;
    width: 100%;
    max-width: 100%;
  }

  .nav-container {
    padding: 0 16px;
    width: 100%;
  }

  .logo-text {
    font-size: 1.35rem;
  }

  .program-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .schedule-tabs {
    gap: 20px;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 12px;
  }

  .tab-button {
    font-size: 1.1rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .modal-content {
    padding: 28px 20px;
  }

  .floating-whatsapp {
    bottom: 20px;
    right: 20px;
    width: 54px;
    height: 54px;
  }
}

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

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    padding: 12px 14px;
    font-size: 0.88rem;
  }

  .schedule-table th {
    font-size: 1.6rem;
    padding: 10px 6px;
  }

  .schedule-table td {
    padding: 12px 6px;
  }

  .class-time {
    font-size: 0.8rem;
  }

  .class-name {
    font-size: 0.9rem;
  }
}
