/* ==========================================
   DESCULPA AÍ! — STYLE SYSTEM & CSS
   ========================================== */

/* --- ROOT VARIABLES & DESIGN TOKENS --- */
:root {
  --color-navy-dark: #0f172a;
  --color-navy: #1e293b;
  --color-navy-light: #334155;
  
  --color-paper-bg: #fdfbf7;
  --color-paper-card: #fffdf9;
  --color-paper-border: #e2d9c8;
  
  --color-yellow: #f59e0b;
  --color-yellow-light: #fbbf24;
  --color-yellow-bg: #fef3c7;
  
  --color-red: #dc2626;
  --color-red-light: #ef4444;
  --color-red-bg: #fee2e2;
  
  --color-green: #059669;
  --color-green-light: #10b981;
  --color-green-bg: #ecfdf5;
  
  --color-purple: #7c3aed;
  --color-purple-light: #8b5cf6;
  
  --color-text-main: #1e293b;
  --color-text-muted: #64748b;
  
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-scribble: 'Caveat', cursive, sans-serif;
  
  --shadow-retro: 4px 4px 0px var(--color-navy-dark);
  --shadow-retro-lg: 6px 6px 0px var(--color-navy-dark);
  --shadow-soft: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- RESET & BASE STYLES --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  background-color: var(--color-paper-bg);
  color: var(--color-text-main);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(#e2d9c8 0.75px, transparent 0.75px),
    radial-gradient(#e2d9c8 0.75px, #fdfbf7 0.75px);
  background-size: 30px 30px;
  background-position: 0 0, 15px 15px;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
  color: var(--color-navy-dark);
  font-weight: 800;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
}

/* --- LAYOUT CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 80px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px auto;
}

.section-tag {
  display: inline-block;
  background-color: var(--color-yellow-bg);
  color: var(--color-navy-dark);
  font-size: 0.85rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 50px;
  border: 1.5px solid var(--color-navy-dark);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--color-text-muted);
  font-size: 1.1rem;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: 2px solid var(--color-navy-dark);
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
  box-shadow: var(--shadow-retro);
  user-select: none;
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px var(--color-navy-dark);
}

.btn:active {
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0px var(--color-navy-dark);
}

.btn-yellow {
  background-color: var(--color-yellow);
  color: var(--color-navy-dark);
}

.btn-yellow:hover {
  background-color: var(--color-yellow-light);
}

.btn-outline {
  background-color: #ffffff;
  color: var(--color-navy-dark);
}

.btn-outline:hover {
  background-color: #f8fafc;
}

.btn-purple {
  background-color: var(--color-purple);
  color: #ffffff;
}

.btn-purple:hover {
  background-color: var(--color-purple-light);
}

.btn-danger {
  background-color: var(--color-red);
  color: #ffffff;
}

.btn-danger:hover {
  background-color: var(--color-red-light);
}

.btn-pulse {
  animation: pulse-shadow 2.5s infinite;
}

@keyframes pulse-shadow {
  0%, 100% { box-shadow: 4px 4px 0px var(--color-navy-dark); }
  50% { box-shadow: 4px 4px 15px rgba(245, 158, 11, 0.6), 6px 6px 0px var(--color-navy-dark); }
}

/* --- TAPE & POST-IT EFFECTS --- */
.paper-tape {
  position: absolute;
  width: 110px;
  height: 28px;
  background-color: rgba(254, 243, 199, 0.75);
  border: 1px dashed rgba(245, 158, 11, 0.5);
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  z-index: 5;
  pointer-events: none;
}

.tape-top-left {
  top: 15px;
  left: 20px;
  transform: rotate(-8deg);
}

.tape-top-right {
  top: 15px;
  right: 20px;
  transform: rotate(6deg);
}

.tape-card {
  top: -12px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
}

.tape-result {
  top: -14px;
  right: 40px;
  transform: rotate(4deg);
}

/* --- STAMPS --- */
.stamp-badge {
  display: inline-block;
  padding: 6px 16px;
  font-family: var(--font-main);
  font-weight: 900;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 3px dashed var(--color-red);
  color: var(--color-red);
  border-radius: var(--radius-sm);
  transform: rotate(-6deg);
  background-color: rgba(254, 226, 226, 0.4);
}

.stamp-chaos {
  margin-bottom: 20px;
}

.stamp-result {
  position: absolute;
  top: 24px;
  right: 24px;
  border: 3px double var(--color-navy-dark);
  color: var(--color-navy-dark);
  padding: 8px 16px;
  font-weight: 900;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  transform: rotate(12deg);
  background: var(--color-yellow-bg);
  border-radius: 4px;
  pointer-events: none;
}

/* --- HEADER & NAVBAR --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-navy-dark);
  color: #ffffff;
  z-index: 1000;
  border-bottom: 3px solid var(--color-yellow);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 24px;
}

.brand {
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-size: 1.6rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.logo-highlight {
  color: var(--color-yellow);
}

.tagline {
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 600;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-item {
  color: #cbd5e1;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-item:hover {
  color: var(--color-yellow);
}

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

.badge-confidential {
  font-size: 0.75rem;
  font-weight: 700;
  background-color: var(--color-yellow);
  color: var(--color-navy-dark);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid var(--color-navy-dark);
}

.btn-emergency-nav {
  background-color: var(--color-red);
  color: #ffffff;
  border: 1.5px solid #ffffff;
  padding: 6px 14px;
  font-weight: 800;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
}

.hamburger span {
  width: 24px;
  height: 3px;
  background-color: #ffffff;
  border-radius: 2px;
}

/* --- SECTION 1: HERO --- */
.hero-section {
  padding-top: 140px;
  padding-bottom: 90px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.highlight-underline {
  position: relative;
  color: var(--color-navy-dark);
  z-index: 1;
}

.highlight-underline::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 14px;
  background-color: var(--color-yellow-light);
  z-index: -1;
  transform: rotate(-1deg);
  border-radius: 4px;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.hero-stats-card {
  display: inline-block;
  background: #ffffff;
  border: 2px solid var(--color-navy-dark);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-retro);
  margin-bottom: 30px;
}

.stat-number {
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-navy-dark);
  line-height: 1;
}

.stat-desc {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text-main);
}

.stat-footnote {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-style: italic;
}

.target-audience {
  margin-bottom: 24px;
}

.target-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.pills-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  background: #ffffff;
  border: 1.5px solid var(--color-navy-dark);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
}

.warning-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: var(--color-red-bg);
  border: 1.5px solid var(--color-red);
  color: var(--color-red);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
}

/* Hero Desk Graphic (CSS Illustration) */
.hero-illustration {
  position: relative;
}

.desk-container {
  background: #ffffff;
  border: 3px solid var(--color-navy-dark);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-retro-lg);
  position: relative;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.siren-light {
  position: absolute;
  top: -15px;
  right: 30px;
  width: 30px;
  height: 30px;
  background: var(--color-red);
  border-radius: 50% 50% 0 0;
  border: 2px solid var(--color-navy-dark);
  box-shadow: 0 0 15px var(--color-red);
  animation: blink-siren 1.2s infinite;
}

@keyframes blink-siren {
  0%, 100% { opacity: 1; box-shadow: 0 0 20px var(--color-red); }
  50% { opacity: 0.4; box-shadow: 0 0 2px var(--color-red); }
}

.post-it {
  position: absolute;
  background: #fef08a;
  border: 1.5px solid var(--color-navy-dark);
  padding: 12px;
  font-family: var(--font-scribble);
  font-size: 1.2rem;
  font-weight: 700;
  box-shadow: 3px 3px 0px rgba(0,0,0,0.15);
  z-index: 10;
}

.post-it-1 {
  top: -20px;
  left: -20px;
  transform: rotate(-6deg);
  max-width: 160px;
}

.post-it-2 {
  bottom: -15px;
  right: -10px;
  transform: rotate(5deg);
  background: #bae6fd;
  max-width: 150px;
}

.desk-surface {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-bottom: 8px solid var(--color-navy-dark);
  padding-bottom: 10px;
}

.laptop {
  width: 180px;
}

.laptop-screen {
  height: 110px;
  background: var(--color-navy-dark);
  border: 3px solid var(--color-navy-dark);
  border-radius: 6px 6px 0 0;
  padding: 10px;
  color: var(--color-green-light);
  font-family: monospace;
  font-size: 0.65rem;
}

.screen-code span {
  display: block;
}

.loader-bar {
  height: 6px;
  background: var(--color-yellow);
  margin-top: 15px;
  border-radius: 3px;
  animation: load-stripes 2s infinite linear;
}

.laptop-keyboard {
  height: 12px;
  background: #cbd5e1;
  border: 2px solid var(--color-navy-dark);
  border-radius: 0 0 8px 8px;
}

.coffee-mug {
  font-size: 2.2rem;
  position: relative;
}

.steam {
  position: absolute;
  top: -15px;
  left: 10px;
  width: 6px;
  height: 15px;
  background: rgba(100, 116, 139, 0.4);
  border-radius: 10px;
  animation: steam-rise 2s infinite;
}

@keyframes steam-rise {
  0% { transform: translateY(0) scaleX(1); opacity: 0.8; }
  100% { transform: translateY(-15px) scaleX(1.5); opacity: 0; }
}

.paper-stack {
  position: relative;
}

.paper {
  background: #ffffff;
  border: 1.5px solid var(--color-navy-dark);
  padding: 4px 8px;
  font-size: 0.6rem;
  font-weight: 800;
  margin-bottom: 2px;
}

.crumpled-paper {
  font-size: 1.5rem;
}

.alarm-clock {
  font-weight: 800;
  font-size: 0.9rem;
  background: var(--color-red-bg);
  color: var(--color-red);
  padding: 4px 8px;
  border: 1.5px solid var(--color-red);
  border-radius: 6px;
}

/* --- SECTION 2: GERADOR --- */
.generator-section {
  background-color: var(--color-paper-card);
  border-top: 2px dashed var(--color-paper-border);
  border-bottom: 2px dashed var(--color-paper-border);
}

.clipboard-card {
  background: #ffffff;
  border: 3px solid var(--color-navy-dark);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: var(--shadow-retro-lg);
  position: relative;
}

.paperclip {
  position: absolute;
  top: -24px;
  left: 40px;
  font-size: 2.5rem;
  transform: rotate(-15deg);
}

.excuse-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.form-group label {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: var(--color-yellow);
  color: var(--color-navy-dark);
  border-radius: 50%;
  font-size: 0.85rem;
  margin-right: 6px;
  border: 1px solid var(--color-navy-dark);
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  font-size: 1rem;
  font-family: var(--font-main);
  font-weight: 600;
  color: var(--color-navy-dark);
  background-color: var(--color-paper-bg);
  border: 2px solid var(--color-navy-dark);
  border-radius: var(--radius-md);
  outline: none;
  cursor: pointer;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  border-color: var(--color-yellow);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.3);
}

.impossible-warning {
  margin-top: 10px;
  padding: 10px 14px;
  background-color: var(--color-red-bg);
  border: 1.5px solid var(--color-red);
  color: var(--color-red);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  animation: shake 0.5s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-5px); }
  40%, 80% { transform: translateX(5px); }
}

.btn-large {
  padding: 18px 32px;
  font-size: 1.15rem;
}

.btn-block {
  width: 100%;
}

/* Loading Overlay */
.loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 253, 249, 0.95);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  backdrop-filter: blur(4px);
}

.spinner-box {
  text-align: center;
  max-width: 400px;
  padding: 20px;
}

.gear-spinner {
  font-size: 3.5rem;
  display: inline-block;
  animation: spin 2s infinite linear;
  margin-bottom: 16px;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

.loading-msg {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--color-navy-dark);
  margin-bottom: 20px;
  min-height: 54px;
}

.progress-line {
  height: 8px;
  width: 100%;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--color-navy-dark);
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: var(--color-yellow);
  animation: fill-progress 2.5s ease-in-out forwards;
}

@keyframes fill-progress {
  0% { width: 0%; }
  100% { width: 100%; }
}

/* --- SECTION 3: RESULTADO --- */
.result-section {
  padding: 60px 0;
}

.result-card {
  background: #ffffff;
  border: 3px solid var(--color-navy-dark);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 860px;
  margin: 0 auto;
  box-shadow: var(--shadow-retro-lg);
  position: relative;
}

.result-header {
  text-align: center;
  margin-bottom: 30px;
}

.result-badge {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  background: var(--color-paper-bg);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid var(--color-paper-border);
}

.result-header h3 {
  font-size: 2.2rem;
  margin-top: 8px;
}

.excuse-box {
  background: var(--color-paper-bg);
  border: 2px dashed var(--color-navy-dark);
  padding: 30px;
  border-radius: var(--radius-md);
  margin-bottom: 30px;
  position: relative;
}

.excuse-text {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-navy-dark);
  line-height: 1.6;
  quotes: "“" "”";
}

.excuse-text::before { content: open-quote; font-size: 2rem; color: var(--color-yellow); }
.excuse-text::after { content: close-quote; font-size: 2rem; color: var(--color-yellow); }

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-bottom: 36px;
  background: #f8fafc;
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-paper-border);
}

.metric-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.metric-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text-muted);
}

.meter-bar {
  height: 12px;
  background: #e2e8f0;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--color-navy-dark);
}

.meter-fill {
  height: 100%;
  transition: width 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.credibility-fill { background: var(--color-green); }
.creativity-fill { background: var(--color-yellow); }
.risk-fill { background: var(--color-red); }

.metric-val {
  font-size: 0.9rem;
  font-weight: 800;
}

.badge-tier {
  display: inline-block;
  font-weight: 900;
  font-size: 0.9rem;
  padding: 6px 14px;
  border-radius: 6px;
  border: 1.5px solid var(--color-navy-dark);
  text-align: center;
}

.tier-bronze { background: #fed7aa; color: #7c2d12; }
.tier-silver { background: #e2e8f0; color: #334155; }
.tier-gold { background: var(--color-yellow-bg); color: #78350f; }
.tier-legendary { background: #fbcfe8; color: #831843; }
.tier-cosmic { background: #ddd6fe; color: #4c1d95; }

.result-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.toast {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-navy-dark);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
  z-index: 100;
  transition: opacity 0.3s;
}

/* --- SECTION 4: PLANOS --- */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.plan-card {
  background: #ffffff;
  border: 3px solid var(--color-navy-dark);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  box-shadow: var(--shadow-retro);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform var(--transition-fast);
}

.plan-card:hover {
  transform: translateY(-5px);
}

.plan-featured {
  background: var(--color-yellow-bg);
  border-color: var(--color-navy-dark);
  box-shadow: var(--shadow-retro-lg);
}

.featured-badge {
  position: absolute;
  top: -14px;
  right: 20px;
  background: var(--color-red);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid var(--color-navy-dark);
}

.plan-dark {
  background: var(--color-navy-dark);
  color: #ffffff;
}

.plan-dark h3, .plan-dark .plan-desc {
  color: #ffffff;
}

.plan-header {
  margin-bottom: 20px;
}

.plan-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 10px;
}

.plan-header h3 {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.plan-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.plan-features {
  list-style: none;
  margin-bottom: 24px;
}

.plan-features li {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.plan-header-notice {
  display: inline-block;
  background: var(--color-yellow);
  color: var(--color-navy-dark);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 6px 16px;
  border-radius: 20px;
  border: 1.5px solid var(--color-navy-dark);
  margin-top: 12px;
}

.plan-value-box {
  background: var(--color-paper-bg);
  border: 2px dashed var(--color-navy-dark);
  padding: 14px 12px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  text-align: center;
}

.plan-dark .plan-value-box {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-yellow);
}

.plan-value-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.plan-dark .plan-value-label {
  color: #cbd5e1;
}

.plan-value-text {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--color-navy-dark);
  line-height: 1.3;
  margin-bottom: 6px;
}

.plan-dark .plan-value-text {
  color: var(--color-yellow);
}

.plan-value-note {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-text-muted);
  font-style: italic;
  line-height: 1.25;
}

.plan-dark .plan-value-note {
  color: #94a3b8;
}

.plans-bottom-note {
  text-align: center;
  margin-top: 36px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-navy-dark);
  background: #ffffff;
  border: 2px solid var(--color-navy-dark);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-retro);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn-plan {
  width: 100%;
  background: var(--color-paper-bg);
  color: var(--color-navy-dark);
}

.btn-plan-dark {
  width: 100%;
  background: var(--color-yellow);
  color: var(--color-navy-dark);
}

.disclaimer-ribbon {
  margin-top: 20px;
  background: #ffffff;
  border: 1.5px solid var(--color-navy-dark);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  display: inline-block;
}

/* --- SECTION 5: EQUIPE --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 24px;
}

.team-card {
  background: #ffffff;
  border: 2px solid var(--color-navy-dark);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-retro);
  transition: transform var(--transition-fast);
}

.team-card:hover {
  transform: translateY(-4px);
}

.avatar-box {
  position: relative;
  width: 110px;
  height: 110px;
  background: var(--color-yellow-bg);
  border: 3px solid var(--color-navy-dark);
  border-radius: 50%;
  margin: 0 auto 16px auto;
  box-shadow: 2px 2px 0px var(--color-navy-dark);
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.avatar-emoji {
  font-size: 2.4rem;
}

.avatar-badge {
  position: absolute;
  bottom: -4px;
  right: -4px;
  background: var(--color-navy-dark);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 6px;
  border: 1.5px solid #ffffff;
  z-index: 5;
}

.team-card h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.role-title {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-yellow-light);
  background: var(--color-navy-dark);
  padding: 2px 8px;
  border-radius: 12px;
  margin-bottom: 12px;
}

.team-bio {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* --- SECTION 6: DEPOIMENTOS (CORKBOARD) --- */
.corkboard {
  background: #d97706;
  background-image: radial-gradient(#b45309 15%, transparent 16%);
  background-size: 20px 20px;
  border: 4px solid var(--color-navy-dark);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  box-shadow: var(--shadow-retro-lg);
  position: relative;
}

.pushpin {
  position: absolute;
  font-size: 1.5rem;
  z-index: 10;
}

.pin-1 { top: 15px; left: 30px; }
.pin-2 { top: 15px; right: 30px; }
.pin-3 { bottom: 15px; left: 50%; }

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

.postit-card {
  padding: 20px;
  border: 1.5px solid var(--color-navy-dark);
  box-shadow: 4px 4px 10px rgba(0,0,0,0.15);
  font-family: var(--font-scribble);
  transition: transform var(--transition-fast);
}

.postit-card:hover {
  transform: scale(1.04) rotate(0deg) !important;
  z-index: 20;
}

.postit-yellow { background: #fef08a; transform: rotate(-2deg); }
.postit-pink { background: #fbcfe8; transform: rotate(3deg); }
.postit-blue { background: #bae6fd; transform: rotate(-1deg); }
.postit-green { background: #bbf7d0; transform: rotate(2deg); }
.postit-orange { background: #fed7aa; transform: rotate(-3deg); }

.stars {
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.quote {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
  color: #0f172a;
}

.author {
  font-size: 1rem;
  font-weight: 700;
  color: #334155;
  text-align: right;
  line-height: 1.3;
  word-break: break-word;
}

/* --- SECTION 7: EMERGENCY & ELUSIVE BUTTON --- */
.emergency-banner {
  background: var(--color-red-bg);
  border: 3px solid var(--color-red);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow-retro-lg);
}

.siren-icon-pulse {
  font-size: 3.5rem;
  display: inline-block;
  animation: pulse-red 1s infinite;
  margin-bottom: 10px;
}

.emergency-text h2 {
  color: var(--color-red);
  font-size: 2.4rem;
  margin-bottom: 8px;
}

.emergency-text p {
  font-size: 1.1rem;
  color: var(--color-navy-dark);
  font-weight: 600;
  margin-bottom: 30px;
}

.emergency-buttons-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.btn-emergency-huge {
  background: var(--color-red);
  color: #ffffff;
  font-size: 1.3rem;
  padding: 18px 36px;
  border-radius: var(--radius-md);
  border: 2px solid var(--color-navy-dark);
  box-shadow: var(--shadow-retro);
  cursor: pointer;
}

.btn-emergency-huge:hover {
  background: var(--color-red-light);
}

.elusive-wrapper {
  position: relative;
  min-height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.btn-responsibility {
  background: #ffffff;
  color: var(--color-navy-dark);
  border: 2px solid var(--color-navy-dark);
  padding: 10px 20px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: top 0.2s ease, left 0.2s ease;
}

.elusive-hint {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 6px;
}

/* ACADEMIC EMERGENCY OVERLAY */
.academic-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #ffffff;
  z-index: 99999;
  overflow-y: auto;
  padding: 40px 20px;
  font-family: 'Times New Roman', Times, serif;
  color: #000000;
}

.academic-paper {
  max-width: 800px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #ccc;
  padding: 50px;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.academic-header {
  border-bottom: 2px solid #000;
  padding-bottom: 15px;
  margin-bottom: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.institution-logo {
  font-weight: bold;
  font-size: 0.9rem;
}

.paper-meta {
  font-size: 0.75rem;
  color: #555;
}

.academic-title {
  font-size: 1.8rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  font-family: serif;
}

.authors {
  text-align: center;
  font-size: 0.9rem;
  font-style: italic;
  margin-bottom: 30px;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
}

.academic-body h3 {
  font-size: 1.1rem;
  font-weight: bold;
  margin-top: 24px;
  margin-bottom: 10px;
  font-family: serif;
  color: #000;
}

.academic-body p {
  font-size: 1rem;
  line-height: 1.6;
  text-align: justify;
  margin-bottom: 16px;
  text-indent: 30px;
}

.academic-chart-placeholder {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  height: 150px;
  border-left: 2px solid #000;
  border-bottom: 2px solid #000;
  padding: 10px;
  margin: 20px auto;
  max-width: 300px;
}

.academic-chart-placeholder .bar {
  flex: 1;
  background: #444;
  color: #fff;
  font-size: 0.75rem;
  text-align: center;
  font-family: sans-serif;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 4px;
}

.bar-1 { height: 85%; }
.bar-2 { height: 92%; }
.bar-3 { height: 78%; }
.bar-4 { height: 96%; }

.chart-caption {
  font-size: 0.8rem;
  font-style: italic;
  text-align: center;
  margin-bottom: 20px;
}

.academic-footer {
  margin-top: 40px;
  text-align: center;
  border-top: 1px solid #ccc;
  padding-top: 20px;
}

.btn-academic-exit {
  background: #333;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-family: sans-serif;
  font-size: 0.9rem;
  cursor: pointer;
  border-radius: 4px;
}

/* --- MODAL DIALOG --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.7);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(3px);
}

.modal-card {
  background: #ffffff;
  border: 3px solid var(--color-navy-dark);
  border-radius: var(--radius-lg);
  padding: 30px;
  max-width: 480px;
  width: 100%;
  box-shadow: var(--shadow-retro-lg);
  position: relative;
  text-align: center;
}

.modal-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.modal-card p {
  color: var(--color-text-muted);
  font-size: 1rem;
  margin-bottom: 24px;
}

/* --- FOOTER --- */
.footer {
  background-color: var(--color-navy-dark);
  color: #ffffff;
  padding-top: 60px;
  border-top: 4px solid var(--color-yellow);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.3fr;
  gap: 30px;
  padding-bottom: 40px;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--color-yellow);
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: 1rem;
  color: #cbd5e1;
  margin-bottom: 12px;
}

.footer-disclaimer {
  font-size: 0.8rem;
  color: #94a3b8;
  max-width: 450px;
}

.footer-links-group h4 {
  color: var(--color-yellow);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.footer-links-group ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-group a {
  color: #cbd5e1;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-links-group a:hover {
  color: var(--color-yellow);
  text-decoration: underline;
}

/* FOOTER CREDITS CARD */
.footer-credits-card {
  background: var(--color-paper-card);
  border: 2px solid var(--color-navy-dark);
  border-radius: var(--radius-md);
  padding: 20px;
  position: relative;
  box-shadow: var(--shadow-retro);
  color: var(--color-navy-dark);
}

.tape-credits {
  top: -12px;
  right: 20px;
  width: 90px;
  height: 22px;
  transform: rotate(4deg);
}

.badge-credits {
  display: inline-block;
  background: var(--color-yellow);
  color: var(--color-navy-dark);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
  border: 1px solid var(--color-navy-dark);
}

.footer-credits-card h4 {
  color: var(--color-navy-dark);
  font-size: 1.1rem;
  font-weight: 900;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.credits-warning {
  font-size: 0.85rem;
  color: #475569;
  font-style: italic;
  margin-bottom: 14px;
  line-height: 1.4;
  border-left: 3px solid var(--color-yellow);
  padding-left: 10px;
}

.credits-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.88rem;
  border-top: 1.5px dashed var(--color-paper-border);
  padding-top: 10px;
}

.author-name {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--color-navy-dark);
}

.author-class {
  font-weight: 700;
  color: var(--color-purple);
}

.author-school {
  font-weight: 600;
  color: var(--color-navy-light);
  font-size: 0.82rem;
}

.credits-year {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--color-text-muted);
}

.footer-bottom {
  background-color: #0b1120;
  padding: 16px 0;
  text-align: center;
  font-size: 0.8rem;
  color: #64748b;
}

/* --- UTILITY CLASSES --- */
.hidden {
  display: none !important;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2.4rem;
  }

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

  .hamburger {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--color-navy-dark);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    border-bottom: 2px solid var(--color-yellow);
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .badge-confidential {
    display: none;
  }
}

@media (max-width: 480px) {
  section {
    padding: 50px 0;
  }

  .hero-section {
    padding-top: 110px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .clipboard-card, .result-card, .emergency-banner {
    padding: 24px 16px;
  }

  .result-actions {
    flex-direction: column;
  }

  .btn-large {
    font-size: 1rem;
  }
}

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
