/* =========================================================
   Integrating Technologies — Portfolio Styles
   Luciano Bandeira Marinho
   ========================================================= */

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, sans-serif;
  background: oklch(0.14 0.05 260);
  color: oklch(0.97 0.01 240);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }

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

/* -------------------------------------------------------
   Utilities & Tokens
   ------------------------------------------------------- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }

.brand-blue   { color: #60a5fa; }
.brand-amber  { color: #fbbf24; }
.brand-emerald{ color: #34d399; }
.brand-violet { color: #a78bfa; }
.brand-warm   { color: #f59e0b; }
.brand-red    { color: #f87171; }

.panel {
  background: linear-gradient(180deg, rgba(60, 60, 100, 0.55), rgba(40, 40, 80, 0.55));
  border: 1px solid rgba(120, 140, 255, 0.18);
  border-radius: 18px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.glow-ring {
  box-shadow: 0 0 0 1px rgba(120, 140, 255, 0.25), 0 0 30px rgba(100, 130, 255, 0.15);
}

.section { margin-top: 2.5rem; }

.section-title-wrap {
  display: flex; align-items: center; justify-content: center; gap: 0.75rem; margin-bottom: 1.5rem;
}
.section-title {
  font-family: "Orbitron", "Inter", sans-serif;
  font-size: 1.25rem; font-weight: 700; letter-spacing: 0.15em;
}
.title-line {
  height: 1px; width: 64px;
  background: linear-gradient(to right, transparent, #60a5fa);
}
.title-line:last-child {
  background: linear-gradient(to left, transparent, #60a5fa);
}
.section-subtitle {
  text-align: center; font-size: 0.875rem; color: rgba(200, 210, 255, 0.65); margin-bottom: 3rem;
}

.panel-title {
  font-family: "Orbitron", "Inter", sans-serif;
  text-align: center; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
}

.accent-text { color: #fbbf24; }

.icon-sm { width: 16px; height: 16px; }
.icon-blue { color: #60a5fa; }

/* -------------------------------------------------------
   Header / Navigation
   ------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  background: rgba(30, 30, 60, 0.88);
  border-bottom: 1px solid rgba(120, 140, 255, 0.15);
}

.nav-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-top: 0.75rem; padding-bottom: 0.75rem;
}

.logo-link { display: flex; align-items: center; gap: 0.75rem; }
.logo-img { height: 44px; width: 44px; object-fit: contain; }
.logo-text { line-height: 1.15; }
.logo-line1 {
  font-family: "Orbitron", "Inter", sans-serif; font-weight: 900;
  font-size: 0.875rem; letter-spacing: 0.04em;
}
.logo-line2 {
  font-family: "Orbitron", "Inter", sans-serif; font-weight: 900;
  font-size: 0.875rem; letter-spacing: 0.04em; color: #60a5fa;
}

.desktop-nav { display: none; align-items: center; gap: 1.5rem; }
.nav-link {
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.15em;
  color: rgba(220, 225, 255, 0.8); transition: color 0.2s;
  padding-bottom: 0.25rem; border-bottom: 2px solid transparent;
}
.nav-link:hover, .nav-link.active { color: #60a5fa; }
.nav-link.active { color: #fbbf24; border-bottom-color: #fbbf24; }

.social-links { display: flex; align-items: center; gap: 0.5rem; }
.social-btn {
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 6px;
  border: 1px solid rgba(120, 140, 255, 0.3);
  color: rgba(220, 225, 255, 0.9); transition: background 0.2s;
}
.social-btn:hover { background: rgba(80, 90, 160, 0.35); }

/* -------------------------------------------------------
   Hero
   ------------------------------------------------------- */
.hero { position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg-img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }
.hero-overlay1 {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(10, 12, 30, 0.95), rgba(10, 12, 30, 0.65), transparent);
}
.hero-overlay2 {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent, transparent, rgba(15, 18, 45, 1));
}

.hero-inner {
  position: relative; display: grid; gap: 2rem; align-items: center;
  padding-top: 3rem; padding-bottom: 4rem; min-height: 680px;
}

.hero-content { space: y 1.5rem; z-index: 10; }
.hero-title {
  font-family: "Orbitron", "Inter", sans-serif; font-weight: 900; line-height: 0.95;
}
.hero-title-line { display: block; font-size: 3rem; }
.hero-title-line.accent { color: #60a5fa; }

.hero-subtitle {
  font-family: "Orbitron", "Inter", sans-serif; font-weight: 700;
  letter-spacing: 0.2em; color: #fbbf24; font-size: 0.875rem; margin-top: 1rem;
}

.hero-lead {
  font-size: 1.125rem; font-weight: 600; line-height: 1.35; margin-top: 1.25rem;
}

.hero-name { margin-top: 1.25rem; }
.name-script {
  font-family: "Great Vibes", cursive; font-size: 2.5rem; color: #fbbf24; line-height: 1;
}
.name-underline { height: 1px; width: 176px; background: rgba(251, 191, 36, 0.5); margin-top: 0.5rem; }

.hero-desc {
  font-size: 0.875rem; color: rgba(200, 210, 255, 0.7); max-width: 640px;
  line-height: 1.7; margin-top: 1.25rem;
}

.hero-contact { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; }
.contact-link {
  display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem;
  color: rgba(220, 225, 255, 0.85); transition: color 0.2s;
}
.contact-link:hover { color: #60a5fa; }

.hero-portrait {
  position: relative; display: flex; align-items: flex-end; justify-content: center;
}
.hero-img {
  max-height: 560px; object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(10, 12, 30, 0.85));
}

/* -------------------------------------------------------
   Stats
   ------------------------------------------------------- */
.stats-section { margin-top: -1.5rem; position: relative; z-index: 20; }
.stats-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; padding: 1.5rem;
}
.stat-item { display: flex; align-items: center; gap: 1rem; }
.stat-icon { flex-shrink: 0; }
.stat-value {
  font-family: "Orbitron", "Inter", sans-serif; font-weight: 900;
  font-size: 1.5rem; line-height: 1;
}
.stat-label {
  font-size: 0.625rem; font-weight: 600; letter-spacing: 0.1em;
  color: rgba(200, 210, 255, 0.6); margin-top: 0.25rem; line-height: 1.3;
}

/* -------------------------------------------------------
   Journey
   ------------------------------------------------------- */
.journey-panel { padding: 2rem 1.5rem; }
.journey-wrap { position: relative; }
.journey-line {
  display: none; position: absolute; top: 40px; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, #60a5fa, #fbbf24, #f87171); opacity: 0.35;
}
.journey-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
}
.journey-card { display: flex; flex-direction: column; align-items: center; text-align: center; }
.journey-icon {
  position: relative; width: 80px; height: 80px; border-radius: 50%;
  background: radial-gradient(circle, var(--c) 0%, rgba(45, 48, 80) 75%);
  box-shadow: 0 0 25px var(--c);
  display: grid; place-items: center;
}
.journey-icon-inner { color: #fff; }
.journey-num {
  font-family: "Orbitron", "Inter", sans-serif; font-weight: 700; font-size: 1.125rem; margin-top: 0.75rem;
}
.journey-title {
  font-family: "Orbitron", "Inter", sans-serif; font-weight: 700; font-size: 0.6875rem;
  letter-spacing: 0.1em; margin-top: 0.25rem; min-height: 32px;
}
.journey-years {
  font-size: 0.75rem; font-weight: 700; margin-top: 0.25rem;
}
.journey-desc {
  font-size: 0.6875rem; color: rgba(200, 210, 255, 0.65); margin-top: 0.75rem; line-height: 1.6;
}

/* -------------------------------------------------------
   Ecosystem
   ------------------------------------------------------- */
.ecosystem {
  position: relative; aspect-ratio: 1 / 1; max-width: 360px; margin: 0 auto;
}
.eco-logo {
  position: absolute; inset: 0; margin: auto; width: 96px; height: 96px;
  object-fit: contain; opacity: 0.9;
}
.eco-item {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-140px) rotate(calc(var(--angle) * -1));
  display: flex; flex-direction: column; align-items: center; width: 96px;
}
.eco-dot {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(60, 70, 130, 0.55);
  border: 1px solid rgba(120, 140, 255, 0.35);
  box-shadow: 0 0 0 1px rgba(120, 140, 255, 0.25), 0 0 30px rgba(100, 130, 255, 0.12);
  display: grid; place-items: center;
}
.eco-icon { color: #60a5fa; }
.eco-item span {
  font-size: 0.5625rem; font-weight: 700; letter-spacing: 0.08em;
  text-align: center; margin-top: 0.25rem; line-height: 1.3;
}

/* -------------------------------------------------------
   Results
   ------------------------------------------------------- */
.results-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; padding: 0 0.5rem; }
.result-item { display: flex; gap: 0.75rem; align-items: flex-start; }
.result-badge {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 8px;
  display: grid; place-items: center;
}
.result-badge.green { background: rgba(52, 211, 153, 0.12); border: 1px solid rgba(52, 211, 153, 0.3); color: #34d399; }
.result-badge.blue { background: rgba(96, 165, 250, 0.12); border: 1px solid rgba(96, 165, 250, 0.3); color: #60a5fa; }
.result-badge.amber { background: rgba(245, 158, 11, 0.12); border: 1px solid rgba(245, 158, 11, 0.3); color: #f59e0b; }
.result-badge.violet { background: rgba(167, 139, 250, 0.12); border: 1px solid rgba(167, 139, 250, 0.3); color: #a78bfa; }
.result-item p { font-size: 0.875rem; color: rgba(220, 225, 255, 0.9); line-height: 1.6; }

/* -------------------------------------------------------
   Tech Grid
   ------------------------------------------------------- */
.tech-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem;
}
.tech-card {
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  padding: 0.75rem; border-radius: 8px;
  background: rgba(50, 55, 90, 0.45);
  border: 1px solid rgba(120, 140, 255, 0.15);
  transition: border-color 0.25s;
}
.tech-card:hover { border-color: rgba(96, 165, 250, 0.5); }
.tech-icon { color: #60a5fa; }
.tech-card span { font-size: 0.625rem; font-weight: 600; text-align: center; }

/* -------------------------------------------------------
   Education
   ------------------------------------------------------- */
.edu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
.edu-card {
  border-radius: 12px; padding: 1rem; text-align: center; border: 1px solid;
}
.edu-card.blue  { background: linear-gradient(180deg, rgba(96, 165, 250, 0.1), rgba(40, 45, 80, 0.55)); border-color: rgba(96, 165, 250, 0.25); }
.edu-card.violet{ background: linear-gradient(180deg, rgba(167, 139, 250, 0.1), rgba(40, 45, 80, 0.55)); border-color: rgba(167, 139, 250, 0.25); }
.edu-card.red   { background: linear-gradient(180deg, rgba(248, 113, 113, 0.1), rgba(40, 45, 80, 0.55)); border-color: rgba(248, 113, 113, 0.25); }
.edu-card.green { background: linear-gradient(180deg, rgba(52, 211, 153, 0.1), rgba(40, 45, 80, 0.55)); border-color: rgba(52, 211, 153, 0.25); }
.edu-icon { margin: 0 auto; }
.edu-card.blue .edu-icon { color: #60a5fa; }
.edu-card.violet .edu-icon { color: #a78bfa; }
.edu-card.red .edu-icon { color: #f87171; }
.edu-card.green .edu-icon { color: #34d399; }
.edu-title {
  font-family: "Orbitron", "Inter", sans-serif; font-weight: 700; font-size: 1rem; margin-top: 0.75rem;
}
.edu-desc { font-size: 0.6875rem; color: rgba(200, 210, 255, 0.65); margin-top: 0.5rem; line-height: 1.5; }

/* -------------------------------------------------------
   Solutions
   ------------------------------------------------------- */
.solutions-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
.solution-card {
  position: relative; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden;
  border: 1px solid rgba(120, 140, 255, 0.2);
}
.solution-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s;
}
.solution-card:hover img { transform: scale(1.05); }
.solution-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10, 12, 30, 0.95), rgba(10, 12, 30, 0.35), transparent);
}
.solution-label {
  position: absolute; bottom: 8px; left: 8px; right: 8px;
  font-family: "Orbitron", "Inter", sans-serif; font-weight: 700; font-size: 0.625rem;
  letter-spacing: 0.1em; text-align: center; color: rgba(220, 225, 255, 0.95);
}

/* -------------------------------------------------------
   Quote
   ------------------------------------------------------- */
.quote-panel {
  display: flex; align-items: center; gap: 1.5rem; padding: 2rem 1.5rem;
}
.quote-icon { color: #fbbf24; flex-shrink: 0; }
.quote-text {
  font-family: "Orbitron", "Inter", sans-serif; font-weight: 700;
  font-size: 1.125rem; line-height: 1.35; flex: 1;
}
.quote-icons {
  display: none; align-items: center; gap: 0.75rem;
  color: rgba(96, 165, 250, 0.45); margin-left: auto; flex-shrink: 0;
}

/* -------------------------------------------------------
   Footer
   ------------------------------------------------------- */
.footer {
  margin-top: 4rem;
  border-top: 1px solid rgba(120, 140, 255, 0.15);
  background: rgba(25, 25, 50, 1);
}
.footer-grid {
  display: grid; gap: 2rem; align-items: start; padding-top: 2.5rem; padding-bottom: 2.5rem;
}
.footer-brand { display: flex; align-items: center; gap: 0.75rem; }
.footer-logo { width: 56px; height: 56px; object-fit: contain; }
.footer-name1 {
  font-family: "Orbitron", "Inter", sans-serif; font-weight: 900; font-size: 1rem;
}
.footer-name2 {
  font-family: "Orbitron", "Inter", sans-serif; font-weight: 900; font-size: 1rem; color: #60a5fa;
}
.footer-tag {
  font-size: 0.625rem; letter-spacing: 0.15em; color: #fbbf24; margin-top: 0.25rem;
}
.footer-mission {
  font-size: 0.875rem; color: rgba(200, 210, 255, 0.65); line-height: 1.7;
}
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-link {
  display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem;
  color: rgba(220, 225, 255, 0.85); transition: color 0.2s;
}
.footer-link:hover { color: #60a5fa; }
.footer-copy {
  border-top: 1px solid rgba(120, 140, 255, 0.1); padding: 1rem;
  text-align: center; font-size: 0.75rem; color: rgba(200, 210, 255, 0.5);
}

/* -------------------------------------------------------
   Responsive
   ------------------------------------------------------- */
@media (min-width: 768px) {
  .desktop-nav { display: flex; }
  .hero-inner { grid-template-columns: 1fr 1fr; }
  .hero-title-line { font-size: 3.75rem; }
  .name-script { font-size: 3rem; }
  .stats-grid { grid-template-columns: repeat(5, 1fr); padding: 2rem; }
  .stat-value { font-size: 1.875rem; }
  .journey-grid { grid-template-columns: repeat(6, 1fr); }
  .journey-line { display: block; }
  .journey-panel { padding: 2.5rem; }
  .solutions-grid { grid-template-columns: repeat(3, 1fr); }
  .quote-text { font-size: 1.5rem; }
  .quote-icons { display: flex; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .two-col { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

@media (max-width: 767px) {
  .eco-item { transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-110px) rotate(calc(var(--angle) * -1)); }
  .eco-dot { width: 38px; height: 38px; }
  .eco-item span { font-size: 0.5rem; }
  .hero-img { max-height: 400px; }
}
