/* ==========================================================================
   AMERICAN NEWS INFORMÁTICA - STYLESHEET (PERFECT EDITION)
   Dark Theme & Red Glow Accent + Cyber Grid + Floating Smooth Cards
   ========================================================================== */

/* 1. IMPORTS & CSS VARIABLES */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Limelight&display=swap');

:root {
  /* Dark Base Colors — Deepened for maximum contrast */
  --bg-main: #030305;
  --bg-secondary: #07070c;
  --bg-card: #0d0d15;
  --bg-card-hover: #141420;
  --bg-glass: rgba(7, 7, 12, 0.94);

  /* Primary Brand Red (American News) */
  --brand-red: #e30613;
  --brand-red-hover: #ff1a27;
  --brand-red-light: #ff4d57;
  --brand-red-glow: rgba(227, 6, 19, 0.45);
  --brand-red-subtle: rgba(227, 6, 19, 0.12);

  /* Multi-color Accents for Icons & Badges */
  --accent-purple: #8b5cf6;
  --accent-pink: #ec4899;
  --accent-cyan: #06b6d4;
  --accent-amber: #f59e0b;
  --accent-emerald: #10b981;
  --accent-gold: #eab308;
  --accent-blue: #3b82f6;

  /* Text Colors — High Contrast */
  --text-white: #ffffff;
  --text-silver: #f1f5f9;
  --text-muted: #cbd5e1;
  /* High contrast silver-gray for outstanding legibility */

  /* Borders & Shadows */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-red: rgba(227, 6, 19, 0.35);
  --border-red-bright: rgba(227, 6, 19, 0.75);
  --shadow-card: 0 12px 35px -10px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 25px rgba(227, 6, 19, 0.4);
  --shadow-glow-lg: 0 0 50px rgba(227, 6, 19, 0.6);

  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-limelight: 'Limelight', cursive;

  /* Transitions & Radii */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 9999px;

  --max-width: 1240px;
}

/* 2. BASE & GLOBAL BACKGROUND CYBER GRID */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  background-image:
    radial-gradient(circle at 50% 0%, rgba(227, 6, 19, 0.12) 0%, transparent 60%),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 56px 56px, 56px 56px;
  color: var(--text-silver);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--text-white);
  line-height: 1.2;
  font-weight: 800;
}

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

ul {
  list-style: none;
}

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

/* 3. REUSABLE UTILITIES & BRAND STYLING */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 480px) {
  .container {
    padding: 0 1.5rem;
  }
}

/* MANDATORY RULE: "American News" ALWAYS RED */
.brand-red {
  color: var(--brand-red) !important;
  font-weight: 900;
  text-shadow: 0 0 14px var(--brand-red-glow);
}

.section-title-wrapper {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--brand-red-light);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: var(--brand-red-subtle);
  padding: 0.45rem 1.25rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-red);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.8rem, 6vw, 2.5rem);
  font-weight: 900;
  color: var(--text-white);
  letter-spacing: -0.5px;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3.2rem;
  }
}

/* BUTTONS & CTAS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition-normal);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

@media (min-width: 640px) {
  .btn {
    font-size: 0.95rem;
    padding: 1rem 2rem;
  }
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-red) 0%, #b8040e 100%);
  color: var(--text-white);
  box-shadow: 0 6px 25px var(--brand-red-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--brand-red-hover) 0%, var(--brand-red) 100%);
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-glow-lg);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: 0.6s;
}

.btn-primary:hover::after {
  left: 100%;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-white);
  border-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: var(--brand-red-subtle);
  border-color: var(--brand-red);
  color: var(--text-white);
  box-shadow: 0 0 20px var(--brand-red-glow);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--text-white);
  color: var(--brand-red);
  font-weight: 900;
  box-shadow: 0 6px 25px rgba(255, 255, 255, 0.25);
}

.btn-white:hover {
  background: #ffffff;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 35px rgba(255, 255, 255, 0.4);
}

.btn-pulse {
  animation: pulse-red-btn 2.2s infinite;
}

@keyframes pulse-red-btn {
  0% {
    box-shadow: 0 0 0 0 rgba(227, 6, 19, 0.8);
  }

  70% {
    box-shadow: 0 0 0 18px rgba(227, 6, 19, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(227, 6, 19, 0);
  }
}

/* 4. HEADER & NAVBAR */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  transition: all var(--transition-normal);
  padding: 1.25rem 0;
}

.header.scrolled {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-white);
}

@media (min-width: 480px) {
  .logo {
    font-size: 1.2rem;
  }
}

@media (min-width: 768px) {
  .logo {
    font-size: 1.35rem;
    gap: 0.75rem;
  }
}

.logo-badge {
  background: var(--brand-red);
  color: var(--text-white);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.2rem;
  box-shadow: 0 0 18px var(--brand-red-glow);
}

/* Logo image replacing the AN badge */
.logo-image {
  width: 80px !important;
  height: 60px !important;
  object-fit: contain !important;
  display: block;
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px var(--brand-red-glow));
}

/* Logo text wrapper — compact 2-line stack */
.logo-text-wrapper {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  gap: 0;
}

.logo-brand-name {
  font-size: 0.82rem;
  color: var(--brand-red) !important;
  text-shadow: 0 0 10px var(--brand-red-glow);
  letter-spacing: 1.5px;
}

.logo-brand-sub {
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.80);
  letter-spacing: 2.5px;
}

@media (min-width: 480px) {
  .logo-brand-name {
    font-size: 0.9rem;
  }

  .logo-brand-sub {
    font-size: 0.65rem;
  }
}

/* Logo text hidden on very small screens, show icon only */
@media (max-width: 360px) {
  .logo-text-wrapper {
    display: none;
  }
}

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

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-silver);
  position: relative;
  padding: 0.25rem 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-white);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2.5px;
  background: var(--brand-red);
  border-radius: 2px;
  transition: var(--transition-normal);
  box-shadow: 0 0 10px var(--brand-red);
}

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

.nav-link-kids {
  color: #facc15 !important;
  font-weight: 800;
}

.nav-link-kids::after {
  background: #facc15 !important;
  box-shadow: 0 0 10px #facc15 !important;
}

.nav-cta {
  display: none;
}

@media (min-width: 992px) {
  .nav-cta {
    display: inline-flex;
  }
}

/* HAMBURGER MENU BUTTON FIX: Hidden on Desktop (>= 992px) */
.hamburger {
  display: none !important;
  /* FIXED: Hidden on desktop */
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 100%;
  height: 3px;
  background-color: var(--text-white);
  border-radius: 3px;
  transition: all var(--transition-normal);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
  background-color: var(--brand-red);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
  background-color: var(--brand-red);
}

@media (max-width: 991px) {
  .hamburger {
    display: flex !important;
    /* Visible ONLY on mobile/tablet */
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 380px;
    height: 100vh;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border-red);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    transition: right var(--transition-normal);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.85);
    z-index: 1000;
  }

  .nav-menu.active {
    right: 0;
  }

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

/* 5. HERO SECTION */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 110px;
  padding-bottom: 60px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero {
    padding-top: 140px;
    padding-bottom: 80px;
  }
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(to bottom, rgba(3, 3, 5, 0.72) 0%, rgba(3, 3, 5, 0.75) 60%, rgba(3, 3, 5, 1) 100%),
    url('../assets/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.9;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
}

.hero-badges-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.hero-badge-tradition {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(227, 6, 19, 0.15);
  border: 1px solid var(--border-red);
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-pill);
  color: var(--brand-red-light);
  font-size: 0.825rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pulse-dot {
  position: relative;
  display: flex;
  width: 8px;
  height: 8px;
}

.pulse-dot span:nth-child(1) {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--brand-red);
  opacity: 0.75;
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.pulse-dot span:nth-child(2) {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--brand-red);
}

@keyframes ping {

  75%,
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

.hero-badge-kids-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(234, 179, 8, 0.15);
  border: 1px solid rgba(234, 179, 8, 0.4);
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-pill);
  color: #facc15;
  font-size: 0.825rem;
  font-weight: 700;
  transition: all var(--transition-fast);
}

.hero-badge-kids-btn:hover {
  background: rgba(234, 179, 8, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(234, 179, 8, 0.4);
}

.hero-title {
  font-size: clamp(2rem, 8vw, 3rem);
  font-weight: 900;
  letter-spacing: -1px;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  line-height: 1.1;
}

/* Limelight font — applied to brand name spans in the hero title */
.brand-limelight {
  font-family: var(--font-limelight) !important;
  font-weight: 400 !important;
  /* Limelight only has weight 400 */
  letter-spacing: 1px;
  display: inline;
  word-break: break-word;
}

@media (min-width: 480px) {
  .hero-title {
    font-size: clamp(2.2rem, 7vw, 3.5rem);
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: clamp(3rem, 6vw, 4.5rem);
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 5.2rem;
  }
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-white);
  font-weight: 700;
  margin-bottom: 1rem;
}

@media (min-width: 480px) {
  .hero-subtitle {
    font-size: 1.3rem;
  }
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.8rem;
  }
}

.hero-description {
  font-size: 0.95rem;
  color: var(--text-silver);
  max-width: 700px;
  margin: 0 auto 2rem auto;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95);
}

@media (min-width: 640px) {
  .hero-description {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
  }
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.hero-actions .btn {
  width: 100%;
  max-width: 380px;
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
  }

  .hero-actions .btn {
    width: auto;
    max-width: none;
  }
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

@media (min-width: 480px) {
  .hero-stats {
    gap: 1.5rem;
    margin-top: 4rem;
    padding-top: 2.5rem;
  }
}

@media (min-width: 768px) {
  .hero-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  transition: var(--transition-normal);
}

.stat-item:hover {
  border-color: var(--border-red);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--text-white);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Bottom Smooth Fade Transition for Hero */
.hero-bottom-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 140px;
  background: linear-gradient(to bottom, rgba(6, 6, 8, 0) 0%, var(--bg-main) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Scroll Down Animated Arrow Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(18, 18, 28, 0.85);
  border: 1px solid var(--border-red);
  color: var(--brand-red-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 0 15px var(--brand-red-subtle);
  transition: all var(--transition-normal);
  animation: hero-bounce 2s infinite;
}

.hero-scroll-indicator:hover {
  background: var(--brand-red);
  color: var(--text-white);
  box-shadow: 0 0 25px var(--brand-red-glow);
  border-color: var(--brand-red);
}

@keyframes hero-bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  40% {
    transform: translateX(-50%) translateY(-10px);
  }

  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* 6. COURSES SECTION & CARDS WITHOUT BADGE CLIPPING */
.courses-section {
  padding: 6rem 0;
  position: relative;
}


.courses-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem 2rem;
}

@media (min-width: 768px) {
  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .courses-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* COURSE CARD DESIGN (SMOOTH HOVER & OVERFLOW VISIBLE) */
.course-card {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 2.25rem 2rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
    box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
    border-color 0.4s ease,
    background-color 0.4s ease;
  overflow: visible !important;
  /* FIXED: Prevents badge clipping */
  box-shadow: var(--shadow-card);
}

.course-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-red-bright);
  background: var(--bg-card-hover);
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.85), 0 0 30px var(--brand-red-subtle);
}

/* FEATURED BADGE ("MAIS PROCURADO") FIX: Visible on top without clipping */
.featured-badge {
  position: absolute;
  top: -12px;
  left: 2rem;
  background: linear-gradient(135deg, var(--brand-red) 0%, #b8040e 100%);
  color: var(--text-white);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 0.725rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.3rem 0.95rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 15px var(--brand-red-glow);
  z-index: 10;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* PRICE TAG IN TOP RIGHT CORNER */
.price-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: linear-gradient(135deg, var(--brand-red) 0%, #b8040e 100%);
  color: var(--text-white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 15px var(--brand-red-glow);
  letter-spacing: 0.3px;
  z-index: 5;
}

/* MULTI-COLOR COURSE ICON BADGES */
.course-icon-badge {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  transition: transform var(--transition-normal);
}

.course-card:hover .course-icon-badge {
  transform: scale(1.1) rotate(3deg);
}

.icon-purple {
  background: rgba(139, 92, 246, 0.18);
  border: 1px solid rgba(139, 92, 246, 0.4);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.25);
}

.icon-pink {
  background: rgba(236, 72, 153, 0.18);
  border: 1px solid rgba(236, 72, 153, 0.4);
  box-shadow: 0 0 20px rgba(236, 72, 153, 0.25);
}

.icon-cyan {
  background: rgba(6, 182, 212, 0.18);
  border: 1px solid rgba(6, 182, 212, 0.4);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.25);
}

.icon-amber {
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(245, 158, 11, 0.4);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.25);
}

.icon-emerald {
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.4);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.25);
}

.icon-gold {
  background: rgba(234, 179, 8, 0.18);
  border: 1px solid rgba(234, 179, 8, 0.4);
  box-shadow: 0 0 20px rgba(234, 179, 8, 0.25);
}

.icon-blue {
  background: rgba(59, 130, 246, 0.18);
  border: 1px solid rgba(59, 130, 246, 0.4);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.25);
}

.course-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
  padding-right: 4.5rem;
  color: var(--text-white);
  line-height: 1.2;
}

.course-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.course-topics {
  margin-bottom: 2rem;
  flex-grow: 1;
}

.course-topics li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.65rem;
  font-size: 0.925rem;
  color: var(--text-silver);
}

.course-topics li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand-red-light);
  font-weight: 900;
  font-size: 1rem;
}

.course-card-footer {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

.course-card-footer .btn {
  width: 100%;
  font-size: 0.9rem;
  padding: 0.8rem 1.2rem;
}

/* CARD CONSULTOR (CARD 6 IN GRID) */
.course-card-consultant {
  border: 2px dashed rgba(227, 6, 19, 0.45);
  background: linear-gradient(180deg, rgba(227, 6, 19, 0.08) 0%, var(--bg-card) 100%);
  text-align: center;
  align-items: center;
  justify-content: center;
}

.course-card-consultant:hover {
  border-color: var(--brand-red);
  box-shadow: 0 0 35px rgba(227, 6, 19, 0.4);
}

/* 7. DEDICATED KIDS SECTION (#kids) */
.kids-section {
  position: relative;
  padding: 7rem 0;
  overflow: hidden;
}

.kids-ambient-glow-left {
  position: absolute;
  top: 20%;
  left: -100px;
  width: 400px;
  height: 400px;
  background: rgba(234, 179, 8, 0.12);
  filter: blur(120px);
  border-radius: 50%;
  pointer-events: none;
}

.kids-ambient-glow-right {
  position: absolute;
  bottom: 10%;
  right: -100px;
  width: 400px;
  height: 400px;
  background: var(--brand-red-subtle);
  filter: blur(120px);
  border-radius: 50%;
  pointer-events: none;
}

.kids-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .kids-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4.5rem;
  }
}

.kids-image-container {
  position: relative;
}

.kids-image-glow-wrapper {
  position: absolute;
  inset: -12px;
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.4), var(--brand-red-glow), transparent);
  border-radius: var(--radius-lg);
  filter: blur(20px);
}

.kids-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
}

.kids-age-badge {
  position: absolute;
  bottom: -15px;
  right: 15px;
  background: linear-gradient(135deg, var(--brand-red) 0%, #b8040e 100%);
  color: var(--text-white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 10px 25px var(--brand-red-glow);
}

.kids-text-wrapper .section-subtitle {
  background: rgba(234, 179, 8, 0.15);
  color: #facc15;
  border-color: rgba(234, 179, 8, 0.4);
}

.kids-title {
  font-size: 2.3rem;
  font-weight: 900;
  margin-top: 1rem;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  line-height: 1.15;
}

@media (min-width: 768px) {
  .kids-title {
    font-size: 3rem;
  }
}

.kids-description {
  font-size: 1.05rem;
  color: var(--text-silver);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.kids-checklist {
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.kids-checklist-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-white);
}

.kids-check-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(234, 179, 8, 0.2);
  color: #facc15;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  border: 1px solid rgba(234, 179, 8, 0.4);
}

/* 8. HORÁRIOS DE AULAS SECTION (FIDELIDADE SCHEDULE.TSX) */
.schedules-section {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.schedule-tabs-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.schedule-tab-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-silver);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.875rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all var(--transition-normal);
}

.schedule-tab-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--text-white);
}

.schedule-tab-btn.active {
  background: var(--brand-red);
  color: var(--text-white);
  border-color: var(--brand-red);
  box-shadow: 0 0 25px var(--brand-red-glow);
}

.schedule-group-block {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-card);
}

.schedule-group-header {
  background: linear-gradient(90deg, var(--brand-red) 0%, #a8030b 100%);
  padding: 1.1rem 1.5rem;
  text-align: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.schedule-group-title {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--text-white);
  letter-spacing: 1px;
  text-transform: uppercase;
  flex-grow: 1;
}

.schedule-group-deco {
  font-weight: 900;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: -2px;
  font-size: 1.2rem;
}

@media (max-width: 640px) {
  .schedule-group-deco {
    display: none;
  }
}

.turnos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .turnos-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.turnos-grid.grid-sabado {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .turnos-grid.grid-sabado {
    grid-template-columns: repeat(2, 1fr);
  }
}

.turno-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.turno-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  border-color: rgba(255, 255, 255, 0.2);
}

.turno-header {
  padding: 0.75rem 1rem;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--text-white);
}

.turno-header-manha {
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.85), rgba(234, 88, 12, 0.85));
  border-bottom: 1px solid rgba(245, 158, 11, 0.4);
}

.turno-header-tarde {
  background: linear-gradient(90deg, rgba(234, 88, 12, 0.85), rgba(225, 29, 72, 0.85));
  border-bottom: 1px solid rgba(234, 88, 12, 0.4);
}

.turno-header-noite {
  background: linear-gradient(90deg, #0f2847, #1a3a6b);
  border-bottom: 1px solid rgba(59, 130, 246, 0.4);
}

.slots-list {
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.slot-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--text-silver);
  font-weight: 700;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.slot-item:hover {
  background: var(--brand-red-subtle);
  border-color: var(--brand-red);
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: 0 0 15px var(--brand-red-subtle);
}

.slot-clock-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(227, 6, 19, 0.18);
  color: var(--brand-red-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.slot-item:hover .slot-clock-icon {
  background: var(--brand-red);
  color: var(--text-white);
}

/* Saturday Special Box */
.sabado-tarde-box {
  padding: 1.5rem 1rem;
  text-align: center;
}

.sabado-badge {
  display: inline-block;
  background: #f59e0b;
  color: #000000;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.75rem;
}

.sabado-slot-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: rgba(245, 158, 11, 0.12);
  border: 2px solid rgba(245, 158, 11, 0.4);
  padding: 1rem;
  border-radius: var(--radius-md);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.25rem;
  transition: all var(--transition-normal);
}

.sabado-slot-btn:hover {
  background: #f59e0b;
  color: #000000;
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.6);
  transform: translateY(-2px);
}

/* Highlights Grid — mobile-first: single column on xs, 2-col on sm+, 4-col on lg+ */
.schedule-highlights-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin-top: 2.5rem;
}

@media (min-width: 480px) {
  .schedule-highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .schedule-highlights-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.schedule-highlight-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  transition: var(--transition-normal);
  /* Ensure content doesn't overflow on narrow screens */
  min-width: 0;
}

.schedule-highlight-card:hover {
  border-color: var(--border-red);
  transform: translateY(-3px);
}

.schedule-highlight-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .schedule-highlight-icon {
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
  }
}

.schedule-highlight-title {
  font-size: 0.8rem;
  font-weight: 900;
  color: var(--brand-red-light);
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.schedule-highlight-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 480px) {
  .schedule-highlight-title {
    font-size: 0.85rem;
  }

  .schedule-highlight-sub {
    font-size: 0.75rem;
  }
}

/* Slogan Banner Bottom */
.schedule-bottom-banner {
  margin-top: 2.5rem;
  background: linear-gradient(135deg, rgba(227, 6, 19, 0.25) 0%, var(--bg-card) 100%);
  border: 1px solid var(--border-red);
  border-radius: var(--radius-md);
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  text-align: center;
}

@media (min-width: 992px) {
  .schedule-bottom-banner {
    flex-direction: row;
    text-align: left;
  }
}

.schedule-bottom-slogan {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--text-white);
  text-transform: uppercase;
}


/* 9. DIFFERENTIALS SECTION */
.differentials-section {
  padding: 6rem 0;
  position: relative;
}

.differentials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .differentials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .differentials-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.diff-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.diff-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-red);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 20px var(--brand-red-subtle);
}

.diff-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
}

.diff-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  color: var(--text-white);
}

.diff-text {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* 10. CTA BANNER SECTION */
.cta-section {
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .cta-section {
    padding: 5rem 0;
  }
}

.cta-banner {
  background: linear-gradient(135deg, #e30613 0%, #8b0007 100%);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-glow-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

@media (min-width: 768px) {
  .cta-banner {
    padding: 4rem 2rem;
  }
}

.cta-heading {
  font-size: clamp(1.5rem, 5vw, 2.2rem);
  font-weight: 900;
  color: var(--text-white);
  margin-bottom: 1rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

@media (min-width: 768px) {
  .cta-heading {
    font-size: 3.2rem;
  }
}

.cta-subheading {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.92);
  max-width: 680px;
  margin: 0 auto 2rem auto;
}

@media (min-width: 640px) {
  .cta-subheading {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
  }
}

/* 11. CONTACT & FOOTER SECTION WITH CLICKABLE MAPS & EMAIL */
.footer-contact-section {
  background: var(--bg-secondary);
  padding-top: 5rem;
  padding-bottom: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  transition: var(--transition-normal);
  display: block;
}

.contact-card:hover {
  border-color: var(--border-red);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px var(--brand-red-subtle);
}

.contact-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 1.25rem auto;
}

.contact-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.contact-detail {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition-fast);
}

.social-icon:hover {
  background: var(--brand-red);
  border-color: var(--brand-red);
  box-shadow: 0 0 15px var(--brand-red-glow);
  transform: translateY(-3px);
}

.copyright {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* 12. FLOATING WHATSAPP BUTTON */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 9999;
  display: flex;
  align-items: center;
}

.whatsapp-btn {
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  transition: all var(--transition-normal);
  position: relative;
  animation: pulse-green 2.5s infinite;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.65);
}

.whatsapp-tooltip {
  position: absolute;
  right: 72px;
  background: var(--bg-card);
  color: var(--text-white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
  pointer-events: none;
}

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

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  right: 75px;
}

@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.75);
  }

  70% {
    box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* 13. SCROLL REVEAL ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* 14. DEVELOPER CREDIT — NylSystems */
.developer-credit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

.dev-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--brand-red-light);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

.dev-link i {
  font-size: 0.75rem;
}

.dev-link:hover {
  color: var(--brand-red-hover);
  text-shadow: 0 0 10px rgba(227, 6, 19, 0.6);
}

/* 15. BOTÃO VOLTAR AO TOPO */
.back-to-top {
  position: fixed;
  bottom: 100px;
  /* acima do botão do WhatsApp */
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-red) 0%, #b80010 100%);
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 20px rgba(227, 6, 19, 0.55);
  z-index: 998;

  /* Começa escondido */
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.85);
  transition: opacity 0.35s ease, visibility 0.35s ease,
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.3s ease, background 0.3s ease;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  background: linear-gradient(135deg, var(--brand-red-hover) 0%, var(--brand-red) 100%);
  box-shadow: 0 6px 28px rgba(227, 6, 19, 0.75), 0 0 0 4px rgba(227, 6, 19, 0.18);
  transform: translateY(-3px) scale(1.08);
}

.back-to-top:active {
  transform: translateY(0) scale(0.96);
}

.back-to-top i {
  line-height: 1;
}