/* ============================================================================
   DESIGN SYSTEM - Academia da Contratação com Excelência
   ============================================================================
   Paleta: Laranja/Azul | Moderno, Vibrante, Profissional
   ============================================================================ */

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

html, body { overflow-x: hidden; }

:root {
  /* ── Cores Primárias ── */
  --primary:        #F05A02;
  --primary-dark:   #D14E00;
  --primary-light:  #FF7A2E;
  --primary-50:     rgba(240, 90, 2, 0.08);
  --primary-100:    rgba(240, 90, 2, 0.15);

  --secondary:      #6C7EC5;
  --secondary-dark:  #5568B0;
  --secondary-light: #8A9AD6;

  /* ── Accent ── */
  --accent-brown:   #994F08;
  --accent-purple:  #7B68EE;
  --accent-blue:    #B4D5FF;
  --accent-yellow:  #FFB627;
  --accent-gold:    #FFAF4E;

  /* ── Semânticas ── */
  --success:        #4CAF50;
  --success-light:  rgba(76, 175, 80, 0.12);
  --error:          #EF4444;
  --error-light:    rgba(239, 68, 68, 0.1);
  --warning:        #FFB627;

  /* ── Texto ── */
  --text-primary:   #1a1a1a;
  --text-secondary: #4B5563;
  --text-muted:     #6B7280;
  --text-inverse:   #FFFFFF;

  /* ── Background ── */
  --bg-primary:     #FFFFFF;
  --bg-secondary:   #EDEEF2;
  --bg-beige:       #F5F1E8;
  --bg-beige-dark:  #EBE5D8;
  --bg-tertiary:    #F3F4F6;
  --bg-dark:        #1a1a1a;
  --bg-dark-soft:   #2D2D2D;

  /* ── Borders ── */
  --border-light:   #E5E7EB;
  --border-medium:  #D1D5DB;
  --border-focus:   var(--primary);

  /* ── Sombras ── */
  --shadow-xs:      0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm:      0 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-md:      0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg:      0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-xl:      0 16px 48px rgba(0, 0, 0, 0.16);
  --shadow-primary: 0 4px 14px rgba(240, 90, 2, 0.3);
  --shadow-card:    0 2px 8px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.02);

  /* ── Radius ── */
  --radius-sm:   6px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   16px;
  --radius-2xl:  24px;
  --radius-full: 9999px;

  /* ── Tipografia ── */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-size-xs:   0.75rem;    /* 12px */
  --font-size-sm:   0.875rem;   /* 14px */
  --font-size-base: 1rem;       /* 16px */
  --font-size-lg:   1.125rem;   /* 18px */
  --font-size-xl:   1.25rem;    /* 20px */
  --font-size-2xl:  1.5rem;     /* 24px */
  --font-size-3xl:  1.875rem;   /* 30px */
  --font-size-4xl:  2.25rem;    /* 36px */
  --font-size-5xl:  3rem;       /* 48px */

  /* ── Transições ── */
  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
  --transition-slow: 0.4s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  color: var(--text-primary);
  line-height: 1.6;
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow var(--transition-base);
}

.header:hover {
  box-shadow: var(--shadow-sm);
}

.header-content {
  display: flex;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 300px;
}

.logo-img {
  height: 56px;
  width: auto;
  max-width: 350px;
  transition: opacity var(--transition-fast);
}

.logo-img:hover {
  opacity: 0.85;
}

/* Menu centralizado */
.nav-menu {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex: 1;
}

.nav-menu a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: var(--font-size-sm);
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
  padding: 4px 0;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
  transition: width var(--transition-base);
}

.nav-menu a:hover {
  color: var(--primary);
}

.nav-menu a:hover::after {
  width: 100%;
}

/* User Menu Wrapper */
.user-menu-wrapper {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  width: 300px;
}

/* Login Link */
.user-menu-wrapper > a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: var(--font-size-sm);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.user-menu-wrapper > a:hover {
  color: var(--primary);
}

.btn-header {
  padding: 10px 24px;
  background: var(--primary);
  color: var(--text-inverse);
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: var(--font-size-sm);
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-primary);
}

.btn-header:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(240, 90, 2, 0.35);
}

.btn-header:active {
  transform: translateY(0);
}

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

.hero-section {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
}

.hero-image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.5)),
    url('../images/Image_home_academia.png');
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.hero-content {
  max-width: 700px;
  color: var(--text-inverse);
  text-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.hero-title {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: var(--font-size-xl);
  font-weight: 400;
  margin-bottom: 20px;
  opacity: 0.95;
}

.hero-description {
  font-size: var(--font-size-base);
  line-height: 1.7;
  opacity: 0.9;
}

/* ============================================================================
   FEATURED TOPICS
   ============================================================================ */

.featured-section {
  padding: 40px 0 60px;
  background: var(--bg-primary);
  scroll-margin-top: 20px;
}

.section-title {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 40px;
  letter-spacing: -0.01em;
}

.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  margin-top: 12px;
}

.featured-scroll {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 20px;
  scrollbar-width: thin;
  cursor: grab;
  user-select: none;
}

.featured-scroll.dragging {
  cursor: grabbing;
}

.featured-scroll::-webkit-scrollbar { height: 6px; }
.featured-scroll::-webkit-scrollbar-track { background: var(--bg-secondary); border-radius: 3px; }
.featured-scroll::-webkit-scrollbar-thumb { background: var(--border-medium); border-radius: 3px; }
.featured-scroll::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

.topic-card {
  position: relative;
  min-width: 280px;
  height: 380px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.topic-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.topic-card-image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.75)),
    url('https://images.unsplash.com/photo-1557804506-669a67965ba0?w=800&q=80');
  background-size: cover;
  background-position: center;
  transition: transform var(--transition-slow);
}

.topic-card:hover .topic-card-image {
  transform: scale(1.05);
}

/* variações */
.topic-card:nth-child(2n) .topic-card-image {
  background-image:
    linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.75)),
    url('https://images.unsplash.com/photo-1573496359142-b8d87734a5a2?w=800&q=80');
}
.topic-card:nth-child(3n) .topic-card-image {
  background-image:
    linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.75)),
    url('https://images.unsplash.com/photo-1521737711867-e3b97375f902?w=800&q=80');
}
.topic-card:nth-child(4n) .topic-card-image {
  background-image:
    linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.75)),
    url('https://images.unsplash.com/photo-1600880292203-757bb62b4baf?w=800&q=80');
}

.topic-card-content {
  position: relative;
  height: 100%;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--text-inverse);
}

.topic-card-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.topic-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-sm);
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border: 1px solid rgba(255,255,255,0.1);
  white-space: nowrap;
}

.topic-card-title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  line-height: 1.3;
  margin-top: 12px;
}

.topic-card-description {
  font-size: var(--font-size-sm);
  font-weight: 400;
  line-height: 1.5;
  margin-top: 8px;
  opacity: 0.85;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.topic-card-footer { display: flex; justify-content: flex-end; }

/* Badge Variations */
.topic-badge.coming-soon {
  background: rgba(255, 175, 78, 0.95);
  color: #7A3D00;
  border-color: rgba(240, 130, 0, 0.4);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-shadow: 0 1px 0 rgba(255,255,255,0.3);
  box-shadow: 0 2px 6px rgba(240, 130, 0, 0.35);
}

.topic-badge.completed {
  background: rgba(76, 175, 80, 0.9);
  color: var(--text-inverse);
  border-color: transparent;
}

.topic-badge.in-progress {
  background: rgba(255, 182, 39, 0.9);
  color: var(--text-primary);
  border-color: transparent;
}

.topic-badge.not-started {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text-inverse);
}

/* Play Button */
.play-button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text-inverse);
  transition: all var(--transition-base);
  box-shadow: 0 4px 12px rgba(240, 90, 2, 0.4);
}

.play-button::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 12px solid var(--text-inverse);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  margin-left: 3px;
}

.topic-card:hover .play-button {
  background: var(--primary-light);
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(240, 90, 2, 0.5);
}

/* Locked cards */
.topic-card.locked {
  opacity: 0.8;
}

.topic-card.locked .topic-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
}

/* ============================================================================
   WELCOME SECTION
   ============================================================================ */

.welcome-section {
  padding: 40px 0 40px;
  background: var(--bg-beige);
}

.welcome-content {
  max-width: 800px;
  margin-left: 0;
  margin-right: auto;
  text-align: left;
}

.welcome-title {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 32px;
  line-height: 1.4;
}

.welcome-text {
  font-size: var(--font-size-base);
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

/* ============================================================================
   TEXT SECTIONS
   ============================================================================ */

.why-section {
  padding: 10px 0;
  background: var(--bg-primary);
}

.learn-section {
  padding: 10px 0;
  background: var(--bg-primary);
}

.objective-section {
  padding: 10px 0;
  background: var(--bg-primary);
}

.section-subtitle {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.text-content {
  font-size: var(--font-size-base);
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 20px;
  max-width: 900px;
}

.text-content strong {
  color: var(--text-primary);
  font-weight: 600;
}

.learn-list {
  list-style: none;
  margin: 24px 0 40px;
  max-width: 900px;
}

.learn-list li {
  font-size: var(--font-size-base);
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 12px;
  padding-left: 28px;
  position: relative;
}

.learn-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

/* Objective highlight */
.objective-highlight {
  background: linear-gradient(135deg, var(--bg-dark), var(--bg-dark-soft));
  padding: 40px;
  border-radius: var(--radius-xl);
  margin-top: 10px;
  border-left: 4px solid var(--primary);
}

.objective-highlight,
.objective-highlight p,
.objective-highlight .text-content,
.objective-highlight strong {
  color: #ffffff !important;
}

.objective-highlight p {
  font-size: var(--font-size-lg);
  line-height: 1.75;
  margin: 0 0 18px 0;
}

.objective-highlight p:last-child { margin-bottom: 0; }

/* ============================================================================
   PROCESS SECTION
   ============================================================================ */

.process-section {
  padding: 20px 0;
  background: var(--bg-secondary);
  scroll-margin-top: 20px;
}

.process-scroll {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 20px;
  scrollbar-width: thin;
  cursor: grab;
  user-select: none;
}

.process-scroll.dragging {
  cursor: grabbing;
}

.process-scroll::-webkit-scrollbar { height: 6px; }
.process-scroll::-webkit-scrollbar-track { background: var(--bg-tertiary); border-radius: 3px; }
.process-scroll::-webkit-scrollbar-thumb { background: var(--border-medium); border-radius: 3px; }
.process-scroll::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ============================================================================
   ABOUT MARCELO
   ============================================================================ */

.about-section {
  padding: 20px 0;
  background: var(--bg-beige);
  scroll-margin-top: 20px;
}

.about-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 50px;
  align-items: start;
}

.about-image { width: 100%; }

.image-placeholder {
  width: 100%;
  aspect-ratio: 3 / 4;
  background:
    linear-gradient(135deg, rgba(0,0,0,0.1), rgba(0,0,0,0.03)),
    url('../images/foto_marcelo.png');
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* ============================================================================
   CONTENT HOURS
   ============================================================================ */

.content-hours-section {
  padding: 20px 0;
  background: var(--bg-secondary);
}

.hours-title {
  font-size: var(--font-size-5xl);
  font-weight: 300;
  color: var(--text-primary);
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}

/* Banner full width */
.content-hours-banner {
  display: block;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  height: 420px;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.25), rgba(0,0,0,0.45)),
    url('../images/studing.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  background-color: var(--bg-dark);
  margin-top: 32px;
  margin-bottom: 32px;
}

.content-hours-after-banner {
  margin-top: 0;
}

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

.footer {
  background: var(--bg-dark);
  padding: 60px 0 40px;
  color: var(--text-inverse);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
  align-items: center;
}

.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-logo {
  height: 70px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-newsletter h3 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--text-inverse);
  margin-bottom: 8px;
}

.footer-newsletter p {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 20px;
}

.newsletter-form { display: flex; gap: 12px; }

.newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-inverse);
  transition: border-color var(--transition-fast);
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.12);
}

.newsletter-form button {
  padding: 12px 32px;
  background: var(--primary);
  color: var(--text-inverse);
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: var(--font-size-sm);
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.newsletter-form button:hover {
  background: var(--primary-light);
  box-shadow: var(--shadow-primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--font-size-sm);
}

/* ============================================================================
   MODALS
   ============================================================================ */

.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.modal-overlay.active { opacity: 1; pointer-events: auto; }

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-base);
}

.modal.active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.modal-content {
  background: var(--bg-primary);
  border-radius: var(--radius-xl);
  padding: 40px;
  width: 90vw;
  max-width: 480px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #1a1a1a;
  border: none;
  font-size: 22px;
  color: #ffffff;
  cursor: pointer;
  line-height: 1;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  z-index: 10;
  font-weight: 300;
}

.modal-close:hover {
  background: #444;
  color: #ffffff;
  transform: scale(1.1);
}

.modal h2 {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
}

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

.modal input {
  padding: 14px 16px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  font-family: var(--font-main);
}

.modal input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-50);
}

.btn-submit {
  padding: 14px;
  background: var(--primary);
  color: var(--text-inverse);
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: var(--font-size-sm);
  cursor: pointer;
  transition: all var(--transition-base);
  margin-top: 8px;
  font-family: var(--font-main);
}

.btn-submit:hover {
  background: var(--primary-dark);
  box-shadow: var(--shadow-primary);
  transform: translateY(-1px);
}

.btn-submit:active {
  transform: translateY(0);
}

.modal-footer {
  text-align: center;
  margin-top: 24px;
  color: var(--text-muted);
  font-size: var(--font-size-sm);
}

.modal-footer a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.modal-footer a:hover {
  color: var(--primary-dark);
}

/* Modal overlay/modal active states */
.modal-overlay.active {
  display: block;
}

.modal.active {
  display: flex;
}

/* ============================================================================
   COMING SOON MODAL - EMAIL OPTION
   ============================================================================ */

.coming-soon-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0 16px;
}

.coming-soon-divider::before,
.coming-soon-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-light);
}

.coming-soon-divider span {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  white-space: nowrap;
}

.coming-soon-email-label {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.coming-soon-email-form {
  display: block;
}

.coming-soon-email-row {
  display: flex;
  gap: 8px;
}

.coming-soon-email-row input {
  flex: 1;
  padding: 12px 16px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  font-family: var(--font-main);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.coming-soon-email-row input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-50);
}

.coming-soon-email-row input:disabled {
  background: var(--bg-secondary);
  opacity: 0.7;
}

.btn-coming-soon-send {
  padding: 12px 20px;
  background: var(--secondary);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: var(--font-size-sm);
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  font-family: var(--font-main);
}

.btn-coming-soon-send:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-coming-soon-send:disabled {
  opacity: 0.5;
  cursor: default;
  transform: none;
}

.coming-soon-email-note {
  font-size: var(--font-size-xs);
  margin-top: 8px;
  min-height: 20px;
  color: var(--text-muted);
}

.coming-soon-email-note.success {
  color: #16a34a;
  font-weight: 600;
}

/* ============================================================================
   SOCIAL LOGIN BUTTONS
   ============================================================================ */

.social-login {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0;
}

.btn-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--bg-primary);
  font-size: var(--font-size-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  font-family: var(--font-main);
}

.btn-social:hover {
  border-color: var(--border-medium);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn-social .social-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}

.btn-google .social-icon { color: #DB4437; }
.btn-facebook .social-icon { color: #1877F2; }
.btn-apple .social-icon { color: #000; font-size: 20px; }
.btn-apple .social-icon::before { content: ''; }

.divider {
  display: flex;
  align-items: center;
  margin: 24px 0;
  color: var(--text-muted);
  font-size: var(--font-size-sm);
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-light);
}

.divider span {
  padding: 0 16px;
}

/* ============================================================================
   SOCIAL BUTTONS (REGISTER MODAL)
   ============================================================================ */

.social-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 20px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--bg-primary);
  font-size: var(--font-size-base);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  width: 100%;
  font-family: var(--font-main);
}

.social-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.social-btn.google {
  border-color: #DB4437;
  color: #DB4437;
}

.social-btn.google:hover {
  background: #DB4437;
  color: var(--text-inverse);
}

.social-btn.facebook {
  border-color: #1877F2;
  color: #1877F2;
}

.social-btn.facebook:hover {
  background: #1877F2;
  color: var(--text-inverse);
}

.social-btn.apple {
  border-color: #000;
  color: #000;
}

.social-btn.apple:hover {
  background: #000;
  color: var(--text-inverse);
}

.social-icon {
  font-size: 1.5rem;
  font-weight: 700;
}

/* ============================================================================
   USER MENU & PROFILE
   ============================================================================ */

.user-menu {
  position: relative;
}

.user-menu-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: transparent;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-base);
}

.user-menu-trigger:hover {
  border-color: var(--primary);
  background: var(--primary-50);
}

.user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--text-inverse);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: var(--font-size-xs);
}

.user-name {
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--text-primary);
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dropdown-arrow {
  font-size: 10px;
  color: var(--text-muted);
  transition: transform var(--transition-base);
}

.user-menu.active .dropdown-arrow {
  transform: rotate(180deg);
}

/* User Dropdown */
.user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 280px;
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-base);
  z-index: 1000;
}

.user-menu.active .user-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-header {
  padding: 20px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.user-avatar-large {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--text-inverse);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--font-size-xl);
  flex-shrink: 0;
}

.user-info {
  flex: 1;
  min-width: 0;
}

.user-name-large {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-email {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 2px;
}

.dropdown-divider {
  height: 1px;
  background: var(--border-light);
  margin: 4px 0;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: var(--text-primary);
  text-decoration: none;
  font-size: var(--font-size-sm);
  font-weight: 500;
  transition: background var(--transition-fast);
}

.dropdown-item:hover {
  background: var(--bg-secondary);
}

.dropdown-item.danger {
  color: var(--error);
}

.dropdown-item.danger:hover {
  background: var(--error-light);
}

.dropdown-icon {
  font-size: 18px;
  width: 24px;
  text-align: center;
}

/* Profile Modal */
.modal-profile {
  max-width: 580px;
  width: 92%;
  padding: 32px;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.profile-header h2 {
  margin-bottom: 2px !important;
  font-size: var(--font-size-xl) !important;
}

.profile-header-info {
  flex: 1;
}

.profile-avatar-large {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--text-inverse);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 22px;
  flex-shrink: 0;
}

.profile-avatar-label {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
}

.profile-form {
  width: 100%;
}

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

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 5px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  font-family: var(--font-main);
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-50);
}

.form-group input[type="checkbox"] {
  width: auto;
  margin-right: 8px;
  cursor: pointer;
  accent-color: var(--primary);
}

.form-group label:has(input[type="checkbox"]) {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: 500;
}

.form-divider {
  height: 1px;
  background: var(--border-light);
  margin: 18px 0;
}

.form-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.btn-primary,
.btn-secondary {
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  border: none;
  font-family: var(--font-main);
}

.btn-primary {
  background: var(--primary);
  color: var(--text-inverse);
}

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

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-light);
}

.btn-secondary:hover {
  background: var(--bg-secondary);
  border-color: var(--border-medium);
}

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

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .hero-title { font-size: var(--font-size-3xl); }
  .topic-card { min-width: 240px; }

  .hero-image { background-position: left center; }

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

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

  .newsletter-form { flex-direction: column; }
  .hours-title { font-size: var(--font-size-4xl); }
  .content-hours-banner { height: 300px; }

  .user-name { display: none; }
  .user-dropdown { width: 260px; }
  .modal-profile { width: 95%; padding: 24px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }

  .section-title { font-size: var(--font-size-2xl); }
  .welcome-section { padding: 20px 0 30px; }
  .featured-section { padding: 20px 0 40px; }

  .objective-highlight { padding: 28px; }
  .modal-content { padding: 28px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-title { font-size: var(--font-size-2xl); }
  .hero-subtitle { font-size: var(--font-size-base); }
  .hero-section { min-height: 400px; padding-bottom: 60px; }
  .topic-card { min-width: 220px; height: 340px; }
  .content-hours-banner { height: 220px; }
}

/* ============================================================================
   LOGIN REQUIRED MODAL
   ============================================================================ */

.login-required-modal {
  text-align: center;
  max-width: 440px;
}

.login-required-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: var(--primary-50);
  border-radius: 50%;
  color: var(--primary);
}

.login-required-title {
  font-size: var(--font-size-xl) !important;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px !important;
}

.login-required-subtitle {
  font-size: var(--font-size-sm);
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 16px;
}

.login-required-message {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

.login-required-message strong {
  color: var(--success);
}

.login-required-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.login-required-btn-primary {
  width: 100%;
  padding: 14px !important;
  font-size: var(--font-size-base) !important;
}

.btn-login-required-secondary {
  width: 100%;
  padding: 14px;
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: var(--font-size-base);
  cursor: pointer;
  transition: all var(--transition-base);
  font-family: var(--font-main);
}

.btn-login-required-secondary:hover {
  background: var(--primary-50);
  transform: translateY(-1px);
}

.login-required-footer {
  margin-top: 20px;
  font-size: var(--font-size-xs);
  color: var(--text-muted);
}

.login-required-footer a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.login-required-footer a:hover {
  color: var(--primary-dark);
}

/* ============================================================================
   SUCCESS MODAL (Login / Cadastro)
   ============================================================================ */

.success-modal {
  text-align: center;
  max-width: 440px;
}

.success-modal-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--success-light);
  color: var(--success);
}

.success-modal-icon.welcome {
  background: var(--primary-50);
  color: var(--primary);
}

.success-modal-title {
  font-size: var(--font-size-xl) !important;
  font-weight: 700;
  margin-bottom: 8px !important;
}

.success-modal-title.register {
  color: var(--success);
}

.success-modal-title.welcome {
  color: var(--primary);
}

.success-modal-subtitle {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.success-modal-message {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

.success-modal-btn {
  width: 100%;
  padding: 14px !important;
  font-size: var(--font-size-base) !important;
}

/* ============================================================================
   SOCIAL SIGNUP MODAL (Complete Social)
   ============================================================================ */

.social-success-title {
  color: var(--success) !important;
  margin-bottom: 8px !important;
}

.social-success-subtitle {
  color: var(--text-muted);
  margin-bottom: 32px;
}

.social-user-info-card {
  background: var(--bg-secondary);
  padding: 20px;
  border-radius: var(--radius-md);
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-user-info-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-user-info-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.social-user-info-label {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
}

.social-user-info-value {
  font-weight: 600;
  color: var(--text-primary);
}
