/* ==========================================================================
   PAJO TECNOLOGIA — DESIGN SYSTEM
   Ponto Eletrônico EZPoint Web (RWTECH)
   ========================================================================== */

:root {
  /* Dark Theme (Default) */
  --bg-main: #0b0f19;
  --bg-surface: #111827;
  --bg-card: rgba(17, 24, 39, 0.85);
  --bg-card-hover: rgba(31, 41, 55, 0.95);
  --bg-input: #1e293b;
  --bg-tag: rgba(16, 185, 129, 0.12);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: #10b981;

  --brand-green: #10b981;
  --brand-green-hover: #059669;
  --brand-blue: #3b82f6;
  --brand-purple: #8b5cf6;
  --brand-amber: #f59e0b;
  --brand-rose: #f43f5e;
  --brand-teal: #14b8a6;
  --brand-yt: #ff0000;

  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 0 25px rgba(16, 185, 129, 0.2);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 9999px;

  --header-height: 74px;
  --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] {
  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-input: #f1f5f9;
  --bg-tag: rgba(16, 185, 129, 0.15);

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;

  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-focus: #10b981;

  --shadow-card: 0 4px 20px rgba(15, 23, 42, 0.06);
  --shadow-glow: 0 0 20px rgba(16, 185, 129, 0.15);
}

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

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.25s ease, color 0.25s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.gradient-text {
  background: linear-gradient(135deg, #10b981 0%, #38bdf8 50%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

/* ==========================================================================
   TOPBAR
   ========================================================================== */
.topbar {
  background: #064e3b;
  color: #ecfdf5;
  font-size: 0.82rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(16, 185, 129, 0.3);
}

[data-theme="light"] .topbar {
  background: #ecfdf5;
  color: #065f46;
  border-bottom: 1px solid rgba(16, 185, 129, 0.4);
}

.topbar-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.compliance-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.15);
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.75rem;
}

.compliance-pill i {
  width: 14px;
  height: 14px;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.topbar-action {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
}

.topbar-action:hover {
  text-decoration: underline;
}

.topbar-action i {
  width: 14px;
  height: 14px;
}

.yt-action {
  color: #fecdd3;
}

[data-theme="light"] .yt-action {
  color: #b91c1c;
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 15, 25, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  height: var(--header-height);
  display: flex;
  align-items: center;
}

[data-theme="light"] .header {
  background: rgba(255, 255, 255, 0.94);
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-box {
  display: flex;
  align-items: center;
  height: 38px;
}

.pajo-brand-img {
  height: 36px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  display: block;
  transition: var(--transition);
}

[data-theme="dark"] .pajo-brand-img {
  filter: brightness(0) invert(1);
}

[data-theme="light"] .pajo-brand-img {
  filter: none;
}

.partner-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--bg-tag);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand-green);
  white-space: nowrap;
}

.partner-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-green);
  box-shadow: 0 0 8px var(--brand-green);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-item {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-item:hover, .nav-item.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .nav-item:hover, [data-theme="light"] .nav-item.active {
  background: rgba(0, 0, 0, 0.04);
}

.nav-highlight-pill {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: var(--brand-green) !important;
  font-weight: 700;
}

.nav-highlight-pill i {
  width: 16px;
  height: 16px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.btn-theme {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.btn-theme:hover {
  border-color: var(--brand-green);
  color: var(--brand-green);
}

[data-theme="dark"] .icon-sun { display: block; }
[data-theme="dark"] .icon-moon { display: none; }
[data-theme="light"] .icon-sun { display: none; }
[data-theme="light"] .icon-moon { display: block; }

.mobile-toggle-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn i {
  width: 17px;
  height: 17px;
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.85rem 1.6rem;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

.btn-primary {
  background: var(--brand-green);
  color: #062419;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
  background: var(--brand-green-hover);
  color: #000;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
}

.btn-outline:hover {
  border-color: var(--brand-green);
  color: var(--brand-green);
  transform: translateY(-2px);
}

/* ==========================================================================
   HERO SECTION (Limpo & Centralizado)
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 5rem 0 4rem;
  overflow: hidden;
  text-align: center;
}

.hero-ambient-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.14) 0%, rgba(59, 130, 246, 0.06) 60%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

.hero-centered-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-tag);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: var(--brand-green);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-green);
  box-shadow: 0 0 10px var(--brand-green);
}

.hero-heading {
  font-size: 3.2rem;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-description {
  font-size: 1.12rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-pills-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-subtle);
}

.h-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.h-pill i {
  width: 16px;
  height: 16px;
  color: var(--brand-green);
  flex-shrink: 0;
}

/* ==========================================================================
   COMMON SECTIONS
   ========================================================================== */
.section {
  padding: 4.5rem 0;
  position: relative;
}

.section-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--bg-tag);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--brand-green);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.85rem;
}

.highlight-tag {
  background: rgba(16, 185, 129, 0.18);
  border-color: rgba(16, 185, 129, 0.45);
}

.compliance-tag {
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.4);
  color: #60a5fa;
}

.section-heading h2 {
  font-size: 2.2rem;
  margin-bottom: 0.85rem;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.section-subtitle-left {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

/* ==========================================================================
   FEATURES GRID (SOLUÇÃO EZPOINT WEB)
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-box {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}

.highlight-box {
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: var(--shadow-card), 0 0 20px rgba(16, 185, 129, 0.12);
}

.feat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
  color: #fff;
}

.feat-icon i {
  width: 24px;
  height: 24px;
}

.feat-blue { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.feat-green { background: linear-gradient(135deg, #10b981, #047857); color: #000 !important; }
.feat-purple { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.feat-amber { background: linear-gradient(135deg, #f59e0b, #b45309); }
.feat-teal { background: linear-gradient(135deg, #14b8a6, #0f766e); }
.feat-rose { background: linear-gradient(135deg, #f43f5e, #be123c); }

.feature-box h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.feature-box p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.15rem;
  flex-grow: 1;
}

.feat-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-subtle);
}

.feat-list li {
  font-size: 0.82rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.feat-list li i {
  width: 14px;
  height: 14px;
  color: var(--brand-green);
  flex-shrink: 0;
}

/* ==========================================================================
   CENTRAL DE TREINAMENTOS EM VÍDEO RWTECH
   ========================================================================== */
.training-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.yt-channel-banner {
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  flex-wrap: wrap;
}

.btn-yt {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 0, 0, 0.12);
  border: 1px solid rgba(255, 0, 0, 0.35);
  color: #ff4444;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
}

.btn-yt:hover {
  background: #ff0000;
  color: #ffffff;
}

.btn-yt i {
  width: 16px;
  height: 16px;
}

.search-filter-card {
  padding: 1.15rem;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input-wrap i {
  position: absolute;
  left: 1rem;
  width: 18px;
  height: 18px;
  color: var(--text-muted);
}

.search-input-wrap input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 0.75rem 2.6rem;
  border-radius: var(--radius-md);
  outline: none;
  font-size: 0.92rem;
  transition: var(--transition);
}

.search-input-wrap input:focus {
  border-color: var(--brand-green);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.btn-clear {
  position: absolute;
  right: 0.8rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
}

.btn-clear.show {
  display: flex;
}

.category-tabs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.cat-tab {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition);
}

.cat-tab i {
  width: 14px;
  height: 14px;
}

.cat-tab:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.2);
}

.cat-tab.active {
  background: var(--brand-green);
  border-color: var(--brand-green);
  color: #062419;
  font-weight: 700;
}

.video-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.click-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--brand-blue);
}

.click-hint i {
  width: 14px;
  height: 14px;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.video-card-item {
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.video-card-item:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.v-thumb-box {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
  overflow: hidden;
  cursor: pointer;
}

.v-thumb-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.video-card-item:hover .v-thumb-img {
  transform: scale(1.05);
}

.v-play-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.v-play-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--brand-green);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.6);
  transition: transform 0.2s ease;
}

.video-card-item:hover .v-play-icon {
  transform: scale(1.1);
}

.v-play-icon i {
  width: 20px;
  height: 20px;
  margin-left: 2px;
}

.v-dur {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.4rem;
  border-radius: var(--radius-sm);
}

.v-info {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.v-cat-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brand-green);
  margin-bottom: 0.35rem;
}

.v-title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  cursor: pointer;
}

.v-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 0.85rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.v-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.65rem;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.v-author {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 600;
}

.v-author i {
  width: 13px;
  height: 13px;
  color: #ff0000;
}

.v-link-yt {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--brand-blue);
  font-weight: 600;
}

.v-link-yt:hover {
  text-decoration: underline;
}

.v-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem;
  color: var(--text-muted);
}

.onboarding-banner {
  padding: 2rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.75rem;
  align-items: center;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(59, 130, 246, 0.08) 100%);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.onboard-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--brand-green);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.onboard-icon i {
  width: 28px;
  height: 28px;
}

.onboard-text h3 {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.onboard-text p {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

/* ==========================================================================
   PORTARIA 671 MTE SECTION
   ========================================================================== */
.portaria-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.rep-types-stack {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.rep-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.rep-badge {
  background: rgba(16, 185, 129, 0.15);
  color: var(--brand-green);
  font-weight: 800;
  font-size: 0.78rem;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  margin-top: 2px;
}

.rep-content h4 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.rep-content p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0;
}

.file-warning-box {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 1rem 1.15rem;
  border-radius: var(--radius-md);
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.file-warning-box i {
  width: 22px;
  height: 22px;
  color: var(--brand-amber);
  flex-shrink: 0;
  margin-top: 2px;
}

.file-warning-box strong {
  display: block;
  font-size: 0.92rem;
  color: #fbbf24;
  margin-bottom: 0.2rem;
}

.file-warning-box p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin: 0;
}

.cert-box {
  padding: 1.75rem;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.cert-top {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.25rem;
}

.cert-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--brand-green);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-icon-wrap i {
  width: 24px;
  height: 24px;
}

.cert-top h3 {
  font-size: 1.15rem;
}

.cert-top span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.cert-checklist {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.c-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.icon-ok {
  width: 18px;
  height: 18px;
  color: var(--brand-green);
  flex-shrink: 0;
  margin-top: 2px;
}

.c-item strong {
  display: block;
  font-size: 0.9rem;
}

.c-item span {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   CONTACT SECTION (Limpo & Direto)
   ========================================================================== */
.contact-clean-wrapper {
  max-width: 680px;
  margin: 0 auto;
}

.form-card {
  padding: 2.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
}

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

.form-card input,
.form-card select {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 0.8rem 1rem;
  border-radius: var(--radius-md);
  outline: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.form-card select {
  cursor: pointer;
}

.form-card input:focus,
.form-card select:focus {
  border-color: var(--brand-green);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

/* ==========================================================================
   FOOTER (Limpo)
   ========================================================================== */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 3.5rem 0 1.5rem;
}

.footer-grid-clean {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-logo-box {
  margin-bottom: 0.85rem;
}

.f-brand-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.f-col h4 {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.f-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.f-col a, .f-col span {
  font-size: 0.82rem;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.f-col a:hover {
  color: var(--brand-green);
}

.f-col i {
  width: 13px;
  height: 13px;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   VIDEO MODAL
   ========================================================================== */
.modal-layer {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-layer.active {
  display: flex;
}

.modal-card {
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  background: var(--bg-surface);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid var(--border-subtle);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
}

.modal-close:hover {
  background: #ff0000;
}

.modal-video-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
}

.modal-video-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.modal-video-details {
  padding: 1.5rem;
}

.modal-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.65rem;
}

.modal-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand-green);
  text-transform: uppercase;
  display: block;
}

.modal-title {
  font-size: 1.25rem;
}

.modal-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1rem;
}

.modal-bullet-box {
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

/* Floating WhatsApp */
.float-whatsapp {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  z-index: 999;
  transition: var(--transition);
}

.float-whatsapp:hover {
  transform: scale(1.08);
}

.float-whatsapp i {
  width: 28px;
  height: 28px;
}

.float-pulse {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: ripple 2s infinite ease-out;
  pointer-events: none;
}

@keyframes ripple {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1080px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .videos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .portaria-layout {
    grid-template-columns: 1fr;
  }
  .footer-grid-clean {
    grid-template-columns: 1fr 1fr;
  }
  .onboarding-banner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .onboard-icon {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-subtle);
    flex-direction: column;
    padding: 1.25rem;
    gap: 0.5rem;
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-card);
  }
  .nav-links.open {
    transform: translateY(0);
  }
  .mobile-toggle-btn {
    display: flex;
  }
  .header-actions .btn {
    display: none;
  }
  .hero-heading {
    font-size: 2.2rem;
  }
  .features-grid, .videos-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-grid-clean {
    grid-template-columns: 1fr;
  }
  .topbar {
    display: none;
  }
}
