/* ==========================================================================
   SITE IDEIAEXATA.COM.BR - FERRAMENTAS & UTILIDADES
   Design System: Clean, Modern, White Theme, Teal & Slate Accents
   ========================================================================== */

:root {
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8FAFC;
  --bg-card: #FFFFFF;
  --border-color: #E2E8F0;
  --border-focus: #24533E;
  
  --teal-primary: #24533E;
  --teal-dark: #173A2B;
  --teal-light: #F2F6F3;
  --teal-container: #D5E2D9;
  --teal-hover: #1C4433;

  --slate-dark: #0F172A;
  --slate-text: #1E293B;
  --slate-secondary: #64748B;
  --slate-light: #F1F5F9;

  --green-gain: #24533E;
  --green-bg: #EAF2EC;
  --red-deduction: #B91C1C;
  --red-bg: #FEE2E2;
  --amber-warning: #B45309;
  --amber-bg: #FEF3C7;
  --amber-border: #FDE68A;

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.08), 0 2px 4px -2px rgb(0 0 0 / 0.06);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.04);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

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

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--slate-text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--teal-primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--teal-hover);
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.site-header {
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 8px 0;
  gap: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
  position: relative;
}

.brand-logo-frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #0B0F17;
  border: 1.5px solid rgba(212, 175, 55, 0.45);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(13, 148, 136, 0.1);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  user-select: none;
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.logo-protect-shield {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: transparent;
  pointer-events: auto;
  cursor: pointer;
  z-index: 2;
}

.logo-micro-tag {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 6.5px;
  line-height: 1.1;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(15, 23, 42, 0.85);
  padding: 1px 2px;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
  letter-spacing: -0.2px;
  z-index: 3;
}

.brand-logo-frame:hover .logo-micro-tag {
  opacity: 1;
  color: #38BDF8;
}

.brand-logo:hover .brand-logo-frame {
  transform: scale(1.05);
  border-color: rgba(212, 175, 55, 0.9);
  box-shadow: 0 6px 18px rgba(13, 148, 136, 0.25), 0 0 12px rgba(212, 175, 55, 0.2);
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-title {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.15;
  margin: 0;
  white-space: nowrap;
  letter-spacing: -0.3px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.brand-prefix {
  font-size: 14px;
  font-weight: 600;
  color: #64748B;
  letter-spacing: 0.2px;
  text-transform: lowercase;
}

.brand-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.4px;
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 70%, #24533E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-suffix {
  font-size: 16px;
  font-weight: 700;
  color: #24533E;
}

.logo-micro-sig {
  font-size: 8.5px;
  color: #64748B;
  opacity: 0.75;
  letter-spacing: -0.1px;
  line-height: 1.2;
  margin-top: 2px;
  user-select: none;
  cursor: default;
  transition: opacity 0.25s ease, color 0.25s ease;
}

.brand-logo:hover .logo-micro-sig {
  opacity: 1;
  color: #24533E;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  flex-wrap: nowrap;
  justify-content: flex-end;
}

.nav-links li {
  white-space: nowrap !important;
  flex-shrink: 0;
}

.nav-links a {
  color: var(--slate-text);
  font-weight: 500;
  font-size: 11.5px;
  padding: 4px 6px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  white-space: nowrap !important;
  word-break: keep-all;
  display: inline-block;
  letter-spacing: 0.1px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--teal-primary);
  background: var(--teal-light);
  font-weight: 600;
}

.btn-header {
  background: var(--teal-primary);
  color: #fff !important;
  padding: 4px 10px !important;
  font-size: 11px !important;
  border-radius: var(--radius-full) !important;
  box-shadow: var(--shadow-sm);
}

.btn-header:hover {
  background: var(--teal-hover) !important;
  color: #fff !important;
}

/* ==========================================================================
   ADSENSE BANNER WRAPPER
   ========================================================================== */
.ad-slot {
  margin: 24px 0;
  padding: 16px;
  background: var(--bg-secondary);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-md);
  text-align: center;
  min-height: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ad-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--slate-secondary);
  margin-bottom: 6px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  padding: 60px 0 40px;
  text-align: center;
  background: radial-gradient(circle at 50% 20%, #F0FDFA 0%, #FFFFFF 70%);
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--teal-container);
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.hero h2 {
  font-size: 42px;
  font-weight: 800;
  color: var(--slate-dark);
  letter-spacing: -1px;
  max-width: 800px;
  margin: 0 auto 16px;
  line-height: 1.2;
}

.hero p {
  font-size: 19px;
  color: var(--slate-secondary);
  max-width: 680px;
  margin: 0 auto 32px;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--teal-primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25);
}

.btn-primary:hover {
  background: var(--teal-hover);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline {
  background: #fff;
  color: var(--slate-text);
  border: 1px solid var(--border-color);
}

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

/* ==========================================================================
   FEATURED TOOL CARD (Calculadora Saúde MG)
   ========================================================================== */
.featured-tool {
  margin: 40px 0 60px;
}

.tool-banner {
  background: linear-gradient(135deg, #24533E 0%, #173A2B 100%);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.tool-banner::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.tool-content {
  max-width: 620px;
}

.tool-badge {
  display: inline-block;
  background: var(--teal-container);
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tool-content h3 {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 12px;
  color: #fff;
}

.tool-content p {
  font-size: 16px;
  color: #E6FFFA;
  margin-bottom: 24px;
  line-height: 1.5;
}

.tool-icon-preview {
  width: 96px;
  height: 96px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.tool-icon-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: transparent;
  z-index: 5;
  pointer-events: auto;
}

.tool-icon-preview img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

/* ==========================================================================
   SECTION HEADINGS
   ========================================================================== */
.section-title {
  margin-bottom: 32px;
  text-align: center;
}

.section-title h3 {
  font-size: 28px;
  font-weight: 800;
  color: var(--slate-dark);
  margin-bottom: 8px;
}

.section-title p {
  font-size: 16px;
  color: var(--slate-secondary);
}

/* ==========================================================================
   FEATURED SPOTLIGHT
   ========================================================================== */
.games-section {
  padding: 40px 0 60px;
}

.game-card-large {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 360px 1fr;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s, box-shadow 0.2s;
  max-width: 960px;
  margin: 0 auto;
}

.game-card-large:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.game-media {
  background: #0b1120;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  max-height: 250px;
  padding: 12px;
}

.game-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 5;
  pointer-events: auto;
}

.game-media::before {
  content: "Arte Ilustrativa Gerada por IA";
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 6;
  font-size: 10.5px;
  font-weight: 700;
  color: #fff;
  background: rgba(15, 23, 42, 0.82);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(2px);
  pointer-events: none;
  letter-spacing: 0.3px;
}

.game-media img {
  max-width: 100%;
  max-height: 226px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s;
  user-select: none;
  -webkit-user-drag: none;
}

.game-card-large:hover .game-media img {
  transform: scale(1.02);
}

.game-info {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.game-tag {
  display: inline-block;
  background: #FEF3C7;
  color: #B45309;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  align-self: flex-start;
}

.game-info h4 {
  font-size: 26px;
  font-weight: 800;
  color: var(--slate-dark);
  margin-bottom: 12px;
}

.game-info p {
  color: var(--slate-secondary);
  margin-bottom: 24px;
}

.game-features {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.feature-pill {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 13px;
  color: var(--slate-text);
  font-weight: 600;
}

/* ==========================================================================
   APP SHOWCASE GRID (Concursos, Gestão Financeira, Gerenciador de Entretenimento)
   ========================================================================== */
.apps-section {
  padding: 40px 0 60px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
}

.app-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.app-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal-primary);
}

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

.app-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.app-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 5;
  pointer-events: auto;
}

.app-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}

.app-card-title h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--slate-dark);
}

.app-card-title span {
  font-size: 12px;
  color: var(--slate-secondary);
  font-weight: 500;
}

.app-card p {
  font-size: 14px;
  color: var(--slate-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

.app-card-footer {
  margin-top: auto;
  border-top: 1px solid var(--border-color);
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.badge-platform {
  font-size: 11px;
  font-weight: 700;
  color: var(--teal-dark);
  background: var(--teal-container);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   ABOUT / TRUST SECTION
   ========================================================================== */
.about-section {
  padding: 60px 0;
  text-align: center;
}

.about-card {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.about-card h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--slate-dark);
  margin-bottom: 14px;
}

.about-card p {
  font-size: 16px;
  color: var(--slate-secondary);
  margin-bottom: 20px;
  line-height: 1.7;
}

/* ==========================================================================
   CALCULATOR PAGE (saude-mg.html) SPECIFIC STYLES
   ========================================================================== */
.calc-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  margin: 32px 0 60px;
  align-items: start;
}

.calc-inputs-card,
.calc-results-card {
  background: #fff;
  border: 1px solid rgba(203, 213, 225, 0.85);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.05), 0 4px 12px -2px rgba(15, 23, 42, 0.02);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.calc-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16.5px;
  font-weight: 800;
  color: var(--teal-dark);
  padding: 10px 14px;
  background: linear-gradient(90deg, #F0FDFA 0%, #FFFFFF 100%);
  border-left: 4px solid var(--teal-primary);
  border-radius: 0 10px 10px 0;
  margin: 24px 0 16px;
  letter-spacing: -0.2px;
}

.calc-section-title:first-child {
  margin-top: 0;
}

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

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-dark);
  margin-bottom: 6px;
}

.form-group .form-help {
  font-size: 12px;
  color: var(--slate-secondary);
  margin-top: 4px;
}

.form-control {
  width: 100%;
  padding: 11px 15px;
  font-size: 15px;
  border: 1.5px solid #CBD5E1;
  border-radius: 10px;
  background: #FFFFFF;
  color: var(--slate-text);
  transition: all 0.2s ease;
  outline: none;
}

.form-control:hover {
  border-color: #94A3B8;
}

.form-control:focus {
  border-color: var(--teal-primary);
  box-shadow: 0 0 0 3.5px rgba(13, 148, 136, 0.18);
}

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

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

.toggle-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  margin-bottom: 12px;
  transition: background 0.2s;
}

.toggle-group:hover {
  background: #F1F5F9;
}

.toggle-info h5 {
  font-size: 14px;
  font-weight: 700;
  color: var(--slate-dark);
}

.toggle-info p {
  font-size: 12px;
  color: var(--slate-secondary);
}

/* Switch Switcher */
.switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #CBD5E1;
  transition: .3s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--teal-primary);
}

input:checked + .slider:before {
  transform: translateX(22px);
}

/* Holerite Results Preview */
.calc-results-card {
  position: sticky;
  top: 96px;
}

.result-hero-box {
  background: linear-gradient(135deg, #1C4433 0%, #24533E 50%, #132D22 100%);
  color: #fff;
  border-radius: 16px;
  padding: 26px 20px;
  text-align: center;
  margin-bottom: 22px;
  box-shadow: 0 10px 25px -4px rgba(36, 83, 62, 0.35);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.result-hero-box::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

.result-hero-box span {
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  opacity: 0.95;
  font-weight: 700;
}

.result-hero-box .net-salary {
  font-size: 38px;
  font-weight: 900;
  margin: 8px 0;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
}

.result-hero-box small {
  font-size: 12px;
  opacity: 0.85;
}

.holerite-summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.summary-pill {
  padding: 14px 12px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.2s;
}

.summary-pill.gain {
  background: #F0FDF4;
  border: 1px solid #86EFAC;
  box-shadow: 0 2px 6px rgba(22, 101, 52, 0.05);
}

.summary-pill.gain span {
  font-size: 11px;
  font-weight: 800;
  color: #15803D;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.summary-pill.gain h4 {
  font-size: 19px;
  font-weight: 900;
  color: #166534;
  margin-top: 2px;
}

.summary-pill.deduction {
  background: #FEF2F2;
  border: 1px solid #FCA5A5;
  box-shadow: 0 2px 6px rgba(185, 28, 28, 0.05);
}

.summary-pill.deduction span {
  font-size: 11px;
  font-weight: 800;
  color: #B91C1C;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.summary-pill.deduction h4 {
  font-size: 19px;
  font-weight: 900;
  color: #991B1B;
  margin-top: 2px;
}

.holerite-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13.5px;
  margin-bottom: 20px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #E2E8F0;
}

.holerite-table th {
  background: #F8FAFC;
  padding: 11px 12px;
  border-bottom: 2px solid #E2E8F0;
  color: #475569;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.holerite-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #F1F5F9;
  color: #1E293B;
}

.holerite-table tr:nth-child(even) td {
  background-color: #FAFAFC;
}

.holerite-table tr:hover td {
  background-color: #F0FDFA;
}

.holerite-table td.val-gain {
  color: var(--green-gain);
  font-weight: 800;
  text-align: right;
}

.holerite-table td.val-deduction {
  color: var(--red-deduction);
  font-weight: 800;
  text-align: right;
}

.alert-box {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.alert-amber {
  background: var(--amber-bg);
  border: 1px solid var(--amber-border);
  color: var(--amber-warning);
}

.btn-print {
  width: 100%;
  background: var(--slate-light);
  color: var(--slate-dark);
  border: 1px solid var(--border-color);
  padding: 10px;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.btn-print:hover {
  background: var(--border-color);
}

/* Article / SEO text on Calculator page */
.article-section {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin: 40px 0;
}

.article-section h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--slate-dark);
  margin-bottom: 16px;
}

.article-section h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--teal-dark);
  margin: 24px 0 10px;
}

.article-section p {
  color: var(--slate-text);
  margin-bottom: 14px;
  line-height: 1.7;
}

.article-section ul {
  margin-left: 20px;
  margin-bottom: 16px;
  color: var(--slate-text);
}

.article-section li {
  margin-bottom: 6px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--slate-dark);
  color: #94A3B8;
  padding: 50px 0 30px;
  font-size: 14px;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h4 {
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
}

.footer-brand p {
  line-height: 1.6;
  max-width: 380px;
}

.footer-col h5 {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: #94A3B8;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: #64748B;
}

/* ==========================================================================
   RESPONSIVE DESIGN (Mobile Friendly & Proportional on All Screens)
   ========================================================================== */
@media (max-width: 992px) {
  .calc-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .game-card-large {
    grid-template-columns: 1fr;
  }
  
  .tool-banner {
    flex-direction: column-reverse;
    text-align: center;
    padding: 28px 20px;
    gap: 20px;
  }
  
  .tool-content {
    max-width: 100%;
  }

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

@media (max-width: 1024px) {
  .navbar {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 10px 0;
  }
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 10px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  /* Compact Touch Navbar */
  .navbar {
    height: auto;
    padding: 12px 0 10px;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .brand-logo {
    justify-content: center;
    text-align: center;
  }

  .brand-logo-frame {
    width: 44px;
    height: 44px;
  }

  .brand-title {
    font-size: 18px;
  }

  .brand-name {
    font-size: 18px;
  }

  .brand-suffix {
    font-size: 15px;
  }

  .brand-prefix {
    font-size: 13px;
  }

  .nav-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px 8px;
    width: 100%;
    padding: 0;
    margin: 0;
  }

  .nav-links li {
    display: inline-block;
  }

  .nav-links a {
    font-size: 13px;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    display: inline-block;
    white-space: nowrap;
  }

  .nav-links a:hover,
  .nav-links a.active {
    background: var(--teal-container);
    color: var(--teal-dark);
    border-color: var(--teal-primary);
  }

  .btn-header {
    background: var(--teal-primary) !important;
    color: #fff !important;
    border-color: var(--teal-primary) !important;
    padding: 6px 14px !important;
  }

  /* Hero Section */
  .hero {
    padding: 32px 0 20px;
  }

  .hero-pill {
    font-size: 12px;
    padding: 5px 12px;
    margin-bottom: 14px;
  }

  .hero h2 {
    font-size: 24px;
    letter-spacing: -0.5px;
    line-height: 1.25;
    margin-bottom: 12px;
  }

  .hero p {
    font-size: 15px;
    margin-bottom: 22px;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .hero-cta .btn {
    width: 100%;
    text-align: center;
    padding: 12px 16px;
    font-size: 15px;
  }

  /* Tool Banner */
  .tool-banner {
    padding: 24px 16px;
    border-radius: var(--radius-md);
  }

  .tool-content h3 {
    font-size: 21px;
  }

  .tool-content p {
    font-size: 14px;
  }

  .tool-content .btn {
    width: 100%;
    text-align: center;
  }

  .tool-icon-preview img {
    max-width: 90px;
  }

  /* Games & Apps Grid */
  .game-card-large {
    margin: 16px 0;
  }

  .game-info {
    padding: 20px 16px;
  }

  .game-info h4 {
    font-size: 22px;
  }

  .game-info .btn {
    width: 100%;
    text-align: center;
  }

  .apps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .app-card {
    padding: 18px;
  }

  .app-card-title h4 {
    font-size: 16px;
  }

  /* Calculadora Saúde MG */
  .calc-container {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 16px 0 36px;
  }

  .calc-inputs-card,
  .calc-results-card {
    padding: 18px 14px;
    border-radius: var(--radius-md);
  }

  .calc-section-title {
    font-size: 15px;
    margin-top: 18px;
    padding-bottom: 6px;
  }

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

  .form-control {
    font-size: 16px;
    padding: 11px 12px;
  }

  .toggle-group {
    padding: 10px 12px;
    gap: 10px;
  }

  .toggle-info h5 {
    font-size: 13.5px;
  }

  .toggle-info p {
    font-size: 11.5px;
  }

  .result-hero-box {
    padding: 18px 12px;
    margin-bottom: 16px;
  }

  .result-hero-box span {
    font-size: 12px;
  }

  .result-hero-box .net-salary {
    font-size: clamp(24px, 7vw, 32px);
    margin: 4px 0;
    word-break: break-word;
  }

  .result-hero-box small {
    font-size: 11px;
  }

  .holerite-summary-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 16px;
  }

  .summary-pill {
    padding: 10px 6px;
  }

  .summary-pill span {
    font-size: 10.5px;
  }

  .summary-pill h4 {
    font-size: clamp(14px, 4vw, 17px);
  }

  .holerite-table th,
  .holerite-table td {
    padding: 8px 4px;
    font-size: 13px;
  }

  /* Artigos, Sobre e Contato */
  .article-section {
    padding: 22px 14px;
    margin: 20px 0;
    border-radius: var(--radius-md);
  }

  .article-section h2 {
    font-size: 22px;
  }

  .article-section h3 {
    font-size: 18px;
  }

  .article-section p,
  .article-section li {
    font-size: 14.5px;
  }

  #contactForm {
    padding: 18px 12px !important;
  }

  .about-card {
    padding: 24px 16px;
  }

  .about-card h3 {
    font-size: 20px;
  }

  .about-card p {
    font-size: 14.5px;
  }

  .about-card .btn {
    width: 100%;
    text-align: center;
  }

  .ad-slot {
    margin: 16px 0;
    padding: 12px 8px;
    min-height: 70px;
  }
}

@media (max-width: 420px) {
  .holerite-summary-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hero h2 {
    font-size: 22px;
  }

  .brand-logo-frame {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .brand-title {
    font-size: 16px;
    gap: 3px;
  }

  .brand-name {
    font-size: 16px;
  }

  .brand-suffix {
    font-size: 13.5px;
  }

  .brand-prefix {
    font-size: 12px;
  }

  .logo-micro-sig {
    font-size: 7px;
  }

  .btn {
    padding: 11px 16px;
    font-size: 14px;
  }
}

/* Print styles for Holerite & Anti-Scraping */
@media print {
  .site-header, .site-footer, .calc-inputs-card, .article-section, .ad-slot, .btn-print, .btn-header, #btnInstallAndroid, #btnInstallAndroidCard, #pwaModal, #ieWatermarkNotice {
    display: none !important;
  }
  img, .game-media, .app-icon, .tool-icon-preview {
    display: none !important;
    visibility: hidden !important;
  }
  .calc-container {
    display: block;
    margin: 0;
  }
  .calc-results-card {
    border: none;
    box-shadow: none;
    padding: 0;
    width: 100% !important;
    max-width: 100% !important;
  }
  .holerite-legal-notice {
    display: block !important;
    margin-top: 14px !important;
    padding: 10px 12px !important;
    border: 1px solid #cbd5e1 !important;
    border-left: 4px solid #475569 !important;
    background: #f8fafc !important;
    color: #1e293b !important;
    font-size: 11px !important;
    line-height: 1.4 !important;
    page-break-inside: avoid !important;
  }
}

/* Proteção global de imagens contra cópia e arrasto */
img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -moz-user-select: none;
  -webkit-touch-callout: none;
}


/* ==========================================================================
   CARROSSEL DINÂMICO DA HOME ("PASSANDO A PÁGINA")
   ========================================================================== */
.hero-slider-section {
  padding: 20px 0 10px;
}

.slider-wrapper {
  position: relative;
  background: linear-gradient(135deg, var(--teal-light) 0%, #FFFFFF 60%, var(--teal-light) 100%);
  border: 1px solid var(--teal-container);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  min-height: 290px;
  display: flex;
  align-items: center;
}

.slide-item {
  display: none;
  width: 100%;
  padding: 36px 56px;
  animation: slideFadeIn 0.4s ease-out;
}

.slide-item.active {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

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

.slide-content {
  flex: 1;
  max-width: 660px;
}

.slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  border: 1px solid var(--teal-container);
  color: var(--teal-primary);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.slide-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--slate-dark);
  line-height: 1.25;
  margin-bottom: 8px;
}

.slide-desc {
  font-size: 14px;
  color: var(--slate-text);
  line-height: 1.55;
  margin-bottom: 18px;
}

.slide-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.slide-media {
  flex-shrink: 0;
  width: 130px;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  border: 1px solid var(--teal-container);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 12px;
}

.slide-media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--teal-container);
  color: var(--teal-dark);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
  z-index: 5;
  user-select: none;
}

.slider-btn:hover {
  background: var(--teal-primary);
  color: #FFFFFF;
  border-color: var(--teal-primary);
  box-shadow: var(--shadow-md);
}

.slider-btn.prev {
  left: 10px;
}

.slider-btn.next {
  right: 10px;
}

.slider-dots {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  z-index: 5;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--teal-container);
  cursor: pointer;
  transition: all 0.25s ease;
}

.slider-dot.active {
  width: 24px;
  background: var(--teal-primary);
}

/* ==========================================================================
   FRASE DO DIA (MINIMALISTA, SÓBRIA E ELEGANTE)
   ========================================================================== */
.daily-quote-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--teal-primary);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin: 14px auto 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: border-color 0.2s ease;
}

.daily-quote-card:hover {
  border-color: var(--teal-container);
}

.quote-left {
  flex: 1;
}

.quote-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.quote-badge {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--teal-primary);
  background: var(--teal-light);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.quote-content {
  font-size: 14.5px;
  font-weight: 600;
  font-style: italic;
  color: var(--slate-text);
  line-height: 1.5;
  transition: opacity 0.2s ease;
}

.quote-author {
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  color: var(--slate-secondary);
  margin-top: 3px;
  display: block;
}

.quote-refresh-btn {
  background: var(--teal-light);
  border: 1px solid var(--teal-container);
  color: var(--teal-primary);
  font-size: 11.5px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.quote-refresh-btn:hover {
  background: var(--teal-primary);
  color: #FFFFFF;
  border-color: var(--teal-primary);
}

/* ==========================================================================
   LINKS RÁPIDOS PARA AS ABAS DO SITE
   ========================================================================== */
.quick-tabs-section {
  padding: 8px 0 28px;
}

.quick-tabs-header {
  margin-bottom: 14px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.quick-tabs-header h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--slate-dark);
}

.quick-tabs-header span {
  font-size: 12px;
  color: var(--slate-secondary);
}

.quick-tabs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.quick-tab-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.quick-tab-card:hover {
  transform: translateY(-2px);
  border-color: var(--teal-primary);
  box-shadow: var(--shadow-md);
}

.tab-icon-box {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--teal-light);
  border: 1px solid var(--teal-container);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--teal-primary);
  transition: all 0.2s ease;
}

.quick-tab-card:hover .tab-icon-box {
  background: var(--teal-primary);
  color: #FFFFFF;
  border-color: var(--teal-primary);
}

.tab-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--slate-dark);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tab-card-desc {
  font-size: 12.5px;
  color: var(--slate-secondary);
  line-height: 1.45;
  margin-bottom: 10px;
  flex: 1;
}

.tab-card-action {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--teal-primary);
  display: flex;
  align-items: center;
  gap: 3px;
  margin-top: auto;
}

.quick-tab-card:hover .tab-card-action {
  color: var(--teal-hover);
}

/* ==========================================================================
   MODAIS RÁPIDOS PARA JOGOS E APPS (SEM POLUIR A HOME)
   ========================================================================== */
.clean-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(3px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.clean-modal-card {
  background: #FFFFFF;
  max-width: 520px;
  width: 100%;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideFadeIn 0.25s ease-out;
}

.clean-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

.clean-modal-header h4 {
  font-size: 17px;
  font-weight: 800;
  color: var(--slate-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.clean-modal-close {
  background: transparent;
  border: none;
  font-size: 20px;
  line-height: 1;
  color: var(--slate-secondary);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}

.clean-modal-close:hover {
  background: var(--slate-light);
  color: var(--slate-dark);
}

/* Responsividade Mobile */
@media (max-width: 768px) {
  .slide-item.active {
    flex-direction: column;
    text-align: center;
    padding: 24px 18px 36px;
    gap: 16px;
  }
  .slide-content {
    max-width: 100%;
  }
  .slide-actions {
    justify-content: center;
  }
  .slide-media {
    width: 80px;
    height: 80px;
    padding: 8px;
  }
  .slide-title {
    font-size: 19px;
  }
  .daily-quote-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .quick-tabs-grid {
    grid-template-columns: 1fr;
  }
}
