/* ==========================================================================
   MVI SOLUÇÕES DIGITAIS - LINK DA BIO
   Design System Exclusivo, Mobile-First & Acabamento Premium
   ========================================================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@500;600;700;800&display=swap');

:root {
  /* Cores Oficiais da Marca */
  --color-primary: #1c90f3;
  --color-primary-hover: #0070e0;
  --color-primary-light: #60b5ff;
  --color-primary-subtle: rgba(28, 144, 243, 0.09);
  --color-primary-border: rgba(28, 144, 243, 0.38);
  --color-primary-glow: rgba(28, 144, 243, 0.22);
  --color-whatsapp: #25D366;

  /* Neutros Escuros / Grafite */
  --bg-page: #06080d;
  --bg-container: #0b0f17;
  --bg-card: rgba(255, 255, 255, 0.025);
  --border-subtle: rgba(255, 255, 255, 0.065);
  --border-hover: rgba(28, 144, 243, 0.35);

  /* Tipografia */
  --text-pure-white: #ffffff;
  --text-heading: #f8fafc;
  --text-body: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Transição Refinada */
  --ease-smooth: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  overflow-x: hidden;
}

/* Ambient Background Glow (Sutil e Elegante) */
.ambient-glow {
  position: fixed;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(95px);
  pointer-events: none;
}

.ambient-orb-1 {
  width: 360px;
  height: 360px;
  top: -80px;
  left: -100px;
  background: radial-gradient(circle, rgba(28, 144, 243, 0.09) 0%, transparent 70%);
}

.ambient-orb-2 {
  width: 420px;
  height: 420px;
  top: 40%;
  right: -140px;
  background: radial-gradient(circle, rgba(0, 112, 224, 0.05) 0%, transparent 70%);
}

.ambient-orb-3 {
  width: 320px;
  height: 320px;
  bottom: -40px;
  left: -80px;
  background: radial-gradient(circle, rgba(28, 144, 243, 0.05) 0%, transparent 70%);
}

/* --------------------------------------------------------------------------
   LAYOUT CONTAINER (MOBILE-FIRST)
   -------------------------------------------------------------------------- */
.bio-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  background: var(--bg-container);
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.7);
  border-left: 1px solid rgba(255, 255, 255, 0.04);
  border-right: 1px solid rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   1. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  width: 100%;
  padding-bottom: 0.85rem;
}

.hero-cover {
  position: relative;
  width: 100%;
  height: 235px;
  overflow: hidden;
}

.hero-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  transform: scale(1.01);
}

.hero-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom,
      rgba(6, 8, 13, 0.15) 0%,
      rgba(6, 8, 13, 0.45) 50%,
      rgba(11, 15, 23, 0.88) 82%,
      var(--bg-container) 100%);
}

.hero-content {
  position: relative;
  margin-top: -58px;
  padding: 0 1.35rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 2;
}

/* Logo Oficial com moldura sutil */
.logo-frame {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 90px;
  background: rgba(11, 15, 23, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(28, 144, 243, 0.28);
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6), 0 0 20px rgba(28, 144, 243, 0.18);
  margin-bottom: 0.9rem;
  padding: 8px;
  transition: var(--ease-smooth);
}

.logo-frame:hover {
  border-color: var(--color-primary);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.7), 0 0 30px rgba(28, 144, 243, 0.32);
  transform: translateY(-2px);
}

.hero-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Tagline de Posicionamento */
.hero-tagline {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-primary-light);
  margin-bottom: 0.55rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.tagline-bullet {
  width: 3px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 50%;
  opacity: 0.75;
}

/* Título */
.hero-title {
  font-family: var(--font-heading);
  font-size: 1.68rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-pure-white);
  margin-bottom: 0.65rem;
  letter-spacing: -0.02em;
}

/* Copy Principal */
.hero-description {
  font-size: 0.95rem;
  font-weight: 400;
  color: #e2e8f0;
  line-height: 1.55;
  max-width: 390px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   2. MAIN ACTION BUTTONS (CTAs)
   -------------------------------------------------------------------------- */
.main-actions {
  padding: 1.2rem 1.25rem 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.action-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.92rem 1.15rem;
  border-radius: 14px;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  transition: var(--ease-smooth);
  -webkit-tap-highlight-color: transparent;
}

.action-btn:active {
  transform: scale(0.985);
}

.action-left {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  text-align: left;
}

.action-info {
  display: flex;
  flex-direction: column;
}

.action-title {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.action-caption {
  font-size: 0.77rem;
  margin-top: 2px;
}

/* Ícone de Seta Discreto */
.action-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform 0.25s ease, color 0.25s ease;
}

.action-btn:hover .action-arrow {
  transform: translateX(3px);
}

/* CTA 1: WhatsApp (CTA Azul Premium Inspirado na Referência) */
.action-whatsapp {
  background: linear-gradient(135deg, #087fe8 0%, #1c90f3 50%, #168de9 100%);
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow:
    0 4px 14px -2px rgba(28, 144, 243, 0.42),
    0 1px 4px rgba(0, 0, 0, 0.18),
    inset 0 1px 1px rgba(255, 255, 255, 0.38),
    inset 0 -1px 2px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.action-whatsapp::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 48%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.16) 0%, transparent 100%);
  pointer-events: none;
  border-top-left-radius: 13px;
  border-top-right-radius: 13px;
}

.action-whatsapp .action-title {
  color: var(--text-pure-white);
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.action-whatsapp .action-caption {
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

.action-whatsapp .action-arrow {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.action-whatsapp:hover {
  background: linear-gradient(135deg, #0774d4 0%, #1886e5 50%, #1280d8 100%);
  border-color: rgba(255, 255, 255, 0.48);
  box-shadow:
    0 8px 20px -2px rgba(28, 144, 243, 0.55),
    0 2px 8px rgba(0, 0, 0, 0.22),
    inset 0 1px 1px rgba(255, 255, 255, 0.48);
  transform: translateY(-2px);
}

.action-whatsapp:hover .action-arrow {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateX(3px);
}

/* Badge Ícone WhatsApp (Proporcional ao ícone do site, SVG Branco, sem fundo verde) */
.whatsapp-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.25);
  transition: var(--ease-smooth);
}

.whatsapp-badge svg {
  display: block;
}

/* CTA 2: Site Institucional */
.action-site {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0%, rgba(13, 19, 29, 0.7) 100%), #090d15;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
}

.action-site .action-title {
  color: var(--text-heading);
}

.action-site .action-caption {
  color: var(--text-dim);
}

.action-site .action-arrow {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-dim);
}

.action-site:hover {
  border-color: var(--border-hover);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transform: translateY(-2px);
}

.action-site:hover .action-arrow {
  color: var(--color-primary-light);
  border-color: rgba(28, 144, 243, 0.25);
}

/* Badge Ícone Site */
.site-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--color-primary-subtle);
  border: 1px solid rgba(28, 144, 243, 0.2);
  color: var(--color-primary);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   DIVISOR VISUAL COM RESPIRO
   -------------------------------------------------------------------------- */
.section-divider {
  height: 1px;
  width: 86%;
  margin: 1.4rem auto 1.4rem;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.07), transparent);
}

/* --------------------------------------------------------------------------
   3. NOSSAS SOLUÇÕES (VITRINE PREMIUM)
   -------------------------------------------------------------------------- */
.solutions-section {
  padding: 0 1.25rem 1.65rem;
}

.solutions-header {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.15rem;
  padding: 0 0.15rem;
}

.solutions-header-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.header-kicker {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-primary);
}

.solutions-title {
  font-family: var(--font-heading);
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: -0.01em;
}

.header-line {
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), transparent);
  border-radius: 2px;
  margin-top: 0.45rem;
}

/* Grid de Serviços */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

/* Card Individual Vitrine */
.solution-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0%, rgba(13, 18, 27, 0.75) 100%), #0b0f17;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 1.1rem 0.95rem;
  text-decoration: none;
  min-height: 156px;
  transition: var(--ease-smooth);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  -webkit-tap-highlight-color: transparent;
}

.solution-item:hover {
  border-color: var(--border-hover);
  transform: translateY(-2.5px);
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.45), 0 0 16px -4px var(--color-primary-glow);
}

.solution-item:active {
  transform: scale(0.975);
}

.item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.item-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--color-primary-subtle);
  border: 1px solid rgba(28, 144, 243, 0.18);
  color: var(--color-primary);
  transition: var(--ease-smooth);
}

.solution-item:hover .item-icon-box {
  background: rgba(28, 144, 243, 0.15);
  border-color: rgba(28, 144, 243, 0.35);
  color: var(--color-primary-light);
}

.item-link-arrow {
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--ease-smooth);
}

.solution-item:hover .item-link-arrow {
  color: var(--color-primary);
  transform: translateX(2px);
}

.item-content {
  display: flex;
  flex-direction: column;
}

.item-title {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-heading);
  line-height: 1.28;
}

.item-desc {
  font-size: 0.73rem;
  color: #8c9cb0;
  line-height: 1.45;
  margin-top: 0.35rem;
}

/* --------------------------------------------------------------------------
   4. FINAL CTA SHOWCASE
   -------------------------------------------------------------------------- */
.final-cta-container {
  padding: 0 1.25rem 1.75rem;
}

.cta-spotlight-box {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  border-radius: 18px;
  background: #0a0e16;
  border: 1px solid rgba(28, 144, 243, 0.35);
  padding: 1.15rem 1.1rem;
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35), 0 0 22px -6px rgba(28, 144, 243, 0.35);
  transition: var(--ease-smooth);
  -webkit-tap-highlight-color: transparent;
}

/* Imagem tecnológica sutil (notebook/teclado/mãos digitando) no lado direito do card,
   com overlay escuro forte por cima para manter o texto perfeitamente legível. */
.cta-spotlight-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../imagens/imagem-ultimo-botao.png');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  opacity: 0.14;
  filter: blur(0.5px) saturate(0.9);
  z-index: 0;
}

.cta-spotlight-box::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 14, 22, 0.97) 0%, rgba(10, 14, 22, 0.94) 45%, rgba(10, 14, 22, 0.72) 100%);
  z-index: 0;
}

.spotlight-icon-circle,
.spotlight-text-wrap,
.spotlight-chevron {
  position: relative;
  z-index: 1;
}

.spotlight-icon-circle {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(28, 144, 243, 0.24) 0%, rgba(13, 19, 29, 0.9) 100%);
  border: 1px solid rgba(28, 144, 243, 0.42);
  color: var(--color-primary-light);
  box-shadow: 0 0 16px -2px rgba(28, 144, 243, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.08);
}

.spotlight-text-wrap {
  flex: 1;
  text-align: left;
  min-width: 0;
}

.spotlight-title {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-pure-white);
  line-height: 1.3;
  margin-bottom: 0.3rem;
  letter-spacing: -0.01em;
}

.spotlight-text {
  font-size: 0.78rem;
  color: var(--text-body);
  line-height: 1.45;
}

.spotlight-chevron {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(28, 144, 243, 0.1);
  border: 1px solid rgba(28, 144, 243, 0.3);
  color: var(--color-primary-light);
  transition: transform 0.25s ease, background 0.25s ease;
}

.cta-spotlight-box:hover {
  border-color: rgba(28, 144, 243, 0.65);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.4), 0 0 30px -4px rgba(28, 144, 243, 0.5);
  transform: translateY(-2px);
}

.cta-spotlight-box:hover .spotlight-chevron {
  background: rgba(28, 144, 243, 0.22);
  transform: translateX(3px);
}

.cta-spotlight-box:active {
  transform: scale(0.985);
}

/* --------------------------------------------------------------------------
   5. FOOTER
   -------------------------------------------------------------------------- */
.bio-footer {
  position: relative;
  overflow: hidden;
  margin-top: auto;
  padding: 1.5rem 1.25rem 2.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-main {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

/* Detalhes Geométricos no Canto Inferior Direito (Inspirado na Referência) */
.footer-geom-accent {
  position: absolute;
  bottom: -18px;
  right: -10px;
  width: 90px;
  height: 90px;
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 6px;
  transform: rotate(-35deg);
  opacity: 0.6;
  z-index: 1;
}

.geom-stripe {
  border-radius: 4px;
  display: block;
}

.geom-stripe-1 {
  width: 8px;
  height: 46px;
  opacity: 0.35;
  background: linear-gradient(180deg, #1c90f3 0%, #0056b3 100%);
}

.geom-stripe-2 {
  width: 10px;
  height: 70px;
  opacity: 0.7;
  background: linear-gradient(180deg, #38bdf8 0%, #1c90f3 50%, #0056b3 100%);
}

.geom-stripe-3 {
  width: 12px;
  height: 94px;
  opacity: 0.95;
  background: linear-gradient(180deg, #60b5ff 0%, #1c90f3 50%, #004c9e 100%);
}

.footer-logo-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
  opacity: 0.92;
}

.footer-divider {
  width: 1px;
  align-self: stretch;
  min-height: 38px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  flex-shrink: 0;
}

.footer-tagline-vertical {
  font-family: var(--font-heading);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   RESPONSIVIDADE & APRESENTAÇÃO DESKTOP
   -------------------------------------------------------------------------- */
@media (max-width: 350px) {
  .solutions-grid {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .solution-item {
    min-height: auto;
  }

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

@media (min-width: 481px) {
  body {
    padding: 32px 0;
  }

  .bio-wrapper {
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85), 0 0 40px rgba(28, 144, 243, 0.08);
    overflow: hidden;
  }

  .hero-cover {
    height: 245px;
  }
}