/* ==========================================================================
   PORT2040.AI — Home Page Institucional & Manifesto Visionário (welcome_home.css)
   Design System: Dark Oceanic Glassmorphism, Neo-Brutalist Elegance, Deep Contrast
   ========================================================================== */

:root {
  --w-bg-deep: #030712;
  --w-bg-card: rgba(15, 23, 42, 0.72);
  --w-bg-card-hover: rgba(30, 41, 59, 0.85);
  --w-border: rgba(56, 189, 248, 0.18);
  --w-border-glow: rgba(0, 229, 255, 0.45);
  --w-border-gold: rgba(245, 158, 11, 0.35);

  --w-cyan: #00e5ff;
  --w-blue: #38bdf8;
  --w-emerald: #00e676;
  --w-amber: #f59e0b;
  --w-purple: #a855f7;
  --w-gold: #fbbf24;

  --w-text-white: #f8fafc;
  --w-text-gray: #94a3b8;
  --w-text-dim: #64748b;

  --w-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --w-font-display: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Base resets & typography for manifesto sections */
.manifesto-flow {
  width: 100%;
  color: var(--w-text-white);
  font-family: var(--w-font-sans);
  position: relative;
  z-index: 1;
}

/* Floating Navigation Header (Manifesto) */
.manifesto-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(4, 9, 20, 0.85);
  border: 1px solid var(--w-border);
  backdrop-filter: blur(16px);
  border-radius: 16px;
  padding: 12px 24px;
  margin-bottom: 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 229, 255, 0.05);
}

.manifesto-nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.manifesto-nav-logo {
  height: 38px;
  width: auto;
  border-radius: 8px;
  filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.4));
}

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

.manifesto-brand-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 40%, var(--w-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.manifesto-brand-tag {
  font-size: 10px;
  font-weight: 700;
  color: var(--w-emerald);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.manifesto-nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.manifesto-nav-links a {
  color: var(--w-text-gray);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s ease;
  padding: 6px 10px;
  border-radius: 8px;
}

.manifesto-nav-links a:hover {
  color: var(--w-cyan);
  background: rgba(0, 229, 255, 0.08);
}

.manifesto-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #0284c7 0%, #00e5ff 100%);
  color: #040914 !important;
  font-size: 13px;
  font-weight: 800;
  padding: 9px 18px;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 229, 255, 0.35);
  transition: all 0.25s ease;
}

.manifesto-nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 229, 255, 0.6);
  filter: brightness(1.1);
}

/* ==========================================================================
   HERO VISIONÁRIO & IDENTIDADE
   ========================================================================== */
.manifesto-hero {
  text-align: center;
  padding: 40px 20px 60px;
  max-width: 1060px;
  margin: 0 auto;
  position: relative;
}

.manifesto-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid var(--w-border-glow);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--w-cyan);
  margin-bottom: 24px;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.15);
  animation: badgeGlow 3s infinite alternate ease-in-out;
}

@keyframes badgeGlow {
  0% { box-shadow: 0 0 10px rgba(0, 229, 255, 0.2); }
  100% { box-shadow: 0 0 25px rgba(0, 229, 255, 0.5); }
}

.manifesto-title {
  font-size: 52px;
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #ffffff 30%, #93c5fd 70%, var(--w-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.manifesto-subtitle {
  font-size: 26px;
  font-weight: 700;
  color: var(--w-blue);
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

.manifesto-lead {
  font-size: 18px;
  line-height: 1.65;
  color: #cbd5e1;
  max-width: 820px;
  margin: 0 auto 36px;
  font-weight: 400;
}

.manifesto-lead strong {
  color: #ffffff;
  font-weight: 700;
}

/* Hero CTAs */
.manifesto-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.m-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.m-btn-primary {
  background: linear-gradient(135deg, #0284c7 0%, #00e5ff 100%);
  color: #030712;
  box-shadow: 0 8px 24px rgba(0, 229, 255, 0.35);
  border: none;
}

.m-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0, 229, 255, 0.55);
}

.m-btn-secondary {
  background: rgba(15, 23, 42, 0.85);
  color: var(--w-text-white);
  border: 1px solid var(--w-border);
}

.m-btn-secondary:hover {
  border-color: var(--w-cyan);
  background: rgba(30, 41, 59, 0.95);
  transform: translateY(-2px);
}

.m-btn-gold {
  background: rgba(245, 158, 11, 0.12);
  color: #fef08a;
  border: 1px solid var(--w-border-gold);
}

.m-btn-gold:hover {
  background: rgba(245, 158, 11, 0.25);
  border-color: #fbbf24;
  transform: translateY(-2px);
}

/* Quick Proof Badges */
.manifesto-proof-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.m-proof-item {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: border-color 0.2s;
}

.m-proof-item:hover {
  border-color: var(--w-border-glow);
}

.m-proof-icon {
  font-size: 22px;
  margin-bottom: 6px;
}

.m-proof-title {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

.m-proof-desc {
  font-size: 11px;
  color: var(--w-text-gray);
  line-height: 1.4;
}

/* ==========================================================================
   SEÇÃO 1: CONSTRUINDO A INTELIGÊNCIA & PIaaS
   ========================================================================== */
.section-manifesto-block {
  margin: 60px 0;
  padding: 40px;
  background: var(--w-bg-card);
  border: 1px solid var(--w-border);
  border-radius: 24px;
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.section-manifesto-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--w-cyan), transparent);
}

.m-section-header {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 40px;
}

.m-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--w-emerald);
  margin-bottom: 12px;
}

.m-section-title {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 16px;
}

.m-section-lead {
  font-size: 16px;
  color: var(--w-text-gray);
  line-height: 1.6;
}

/* Category PIaaS Highlight Box */
.piaas-category-box {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.12) 0%, rgba(168, 85, 247, 0.12) 100%);
  border: 1px solid var(--w-border-glow);
  border-radius: 18px;
  padding: 30px;
  margin-bottom: 40px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.piaas-cat-badge {
  font-size: 12px;
  font-weight: 800;
  color: var(--w-cyan);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}

.piaas-cat-title {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 12px;
}

.piaas-cat-text {
  font-size: 16px;
  line-height: 1.6;
  color: #e2e8f0;
  max-width: 760px;
  margin: 0 auto;
}

/* 8 Stakeholders Micro-Grid */
.stakeholders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}

.stakeholder-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px 16px;
  transition: all 0.2s ease;
}

.stakeholder-chip:hover {
  background: rgba(30, 41, 59, 0.9);
  border-color: var(--w-cyan);
  transform: translateY(-2px);
}

.stakeholder-icon {
  font-size: 20px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 229, 255, 0.1);
  border-radius: 8px;
  color: var(--w-cyan);
}

.stakeholder-info h4 {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.stakeholder-info span {
  font-size: 11px;
  color: var(--w-text-gray);
}

/* Expansion Roadmap */
.roadmap-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.roadmap-card {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 22px;
  position: relative;
}

.roadmap-step {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--w-cyan);
  background: rgba(0, 229, 255, 0.1);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.roadmap-card h3 {
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.roadmap-card p {
  font-size: 13px;
  color: var(--w-text-gray);
  line-height: 1.5;
}

/* ==========================================================================
   SEÇÃO 2: AS 5 PERGUNTAS ESTRATÉGICAS
   ========================================================================== */
.questions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.question-card {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 26px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.question-card:hover {
  border-color: var(--w-cyan);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 229, 255, 0.15);
  background: rgba(30, 41, 59, 0.85);
}

.question-num {
  font-size: 12px;
  font-weight: 900;
  color: var(--w-cyan);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.question-title {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
  color: #ffffff;
  margin-bottom: 14px;
}

.question-desc {
  font-size: 13px;
  color: var(--w-text-gray);
  line-height: 1.6;
}

.question-tag {
  display: inline-block;
  margin-top: 16px;
  font-size: 11px;
  font-weight: 700;
  color: var(--w-emerald);
}

/* Strategic Mission Banner */
.mission-callout-banner {
  background: radial-gradient(circle at 50% 50%, rgba(2, 132, 199, 0.25) 0%, rgba(4, 9, 20, 0.95) 100%);
  border: 1px solid var(--w-border-glow);
  border-radius: 20px;
  padding: 34px;
  text-align: center;
  margin-top: 40px;
}

.mission-callout-banner h3 {
  font-size: 24px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 10px;
}

.mission-callout-banner p {
  font-size: 16px;
  color: var(--w-cyan);
  font-weight: 600;
  max-width: 720px;
  margin: 0 auto;
}

/* ==========================================================================
   SEÇÃO 3: MANIFESTO DOS FUNDADORES (HUMAN-CENTRIC AI)
   ========================================================================== */
.founder-manifesto-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(12, 74, 110, 0.2) 100%);
  border: 1px solid var(--w-border-glow);
  border-radius: 24px;
  padding: 48px 40px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 229, 255, 0.08);
}

.manifesto-quote-mark {
  font-size: 80px;
  line-height: 1;
  font-family: Georgia, serif;
  color: var(--w-cyan);
  opacity: 0.3;
  position: absolute;
  top: 24px;
  left: 32px;
}

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

.founder-manifesto-title {
  font-size: 28px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.founder-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 17px;
  line-height: 1.75;
  color: #e2e8f0;
}

.founder-paragraphs p {
  margin: 0;
}

.founder-highlight-phrase {
  font-size: 20px;
  font-weight: 800;
  color: var(--w-cyan);
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin: 8px 0;
}

.founder-signature {
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.founder-sig-line {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.founder-sig-name {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
}

.founder-sig-role {
  font-size: 12px;
  color: var(--w-emerald);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ==========================================================================
   SEÇÃO 4: A LEITURA DOS SINAIS MARÍTIMOS
   ========================================================================== */
.maritime-signals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin: 36px 0;
}

.signal-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 22px 18px;
  text-align: center;
  transition: all 0.25s ease;
}

.signal-card:hover {
  background: rgba(30, 41, 59, 0.85);
  border-color: var(--w-cyan);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 229, 255, 0.12);
}

.signal-icon {
  font-size: 28px;
  margin-bottom: 10px;
}

.signal-title {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.signal-desc {
  font-size: 11px;
  color: var(--w-text-gray);
  line-height: 1.45;
}

.signal-conclusion {
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  padding: 20px;
  background: rgba(0, 229, 255, 0.06);
  border: 1px solid var(--w-border);
  border-radius: 14px;
}

.signal-conclusion span {
  color: var(--w-cyan);
}

/* ==========================================================================
   SEÇÃO 5: MODELO DE RETORNO FINANCEIRO (ROI)
   ========================================================================== */
.roi-highlight-banner {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(16, 185, 129, 0.15) 100%);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  margin: 50px 0;
  box-shadow: 0 10px 40px rgba(245, 158, 11, 0.15);
}

.roi-badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fef08a;
  margin-bottom: 12px;
}

.roi-headline {
  font-size: 28px;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #ffffff;
  max-width: 860px;
  margin: 0 auto 20px;
  text-transform: uppercase;
}

.roi-headline span {
  color: #facc15;
  text-shadow: 0 0 20px rgba(250, 204, 21, 0.4);
}

.roi-subtext {
  font-size: 15px;
  color: #cbd5e1;
  max-width: 780px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

.roi-metrics-trio {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  max-width: 860px;
  margin: 0 auto;
}

.roi-metric-chip {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}

.roi-metric-num {
  font-size: 20px;
  font-weight: 900;
  color: #00e676;
  margin-bottom: 4px;
}

.roi-metric-lbl {
  font-size: 12px;
  color: var(--w-text-gray);
  line-height: 1.35;
}

/* ==========================================================================
   TRANSIÇÃO PARA A PLATAFORMA OPERACIONAL (#plataforma)
   ========================================================================== */
.platform-transition-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 0 20px;
  position: relative;
}

.platform-jump-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #0284c7 0%, #00e5ff 100%);
  color: #030712;
  font-size: 16px;
  font-weight: 900;
  padding: 16px 36px;
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 229, 255, 0.4);
  transition: all 0.25s ease;
  letter-spacing: -0.01em;
}

.platform-jump-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 45px rgba(0, 229, 255, 0.7);
  filter: brightness(1.1);
}

.platform-divider-label {
  margin-top: 14px;
  font-size: 11px;
  font-weight: 700;
  color: var(--w-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ==========================================================================
   RESPONSIVIDADE (MOBILE & TABLET)
   ========================================================================== */
@media (max-width: 900px) {
  .manifesto-title {
    font-size: 38px;
  }
  .manifesto-subtitle {
    font-size: 20px;
  }
  .manifesto-nav-links {
    display: none;
  }
  .manifesto-nav-bar {
    padding: 10px 16px;
  }
  .section-manifesto-block {
    padding: 24px 16px;
    border-radius: 16px;
  }
  .founder-manifesto-card {
    padding: 32px 20px;
  }
  .roi-headline {
    font-size: 22px;
  }
}
